@zitadel/api 1.0.0-alpha.20 → 1.0.0-alpha.22

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 (94) hide show
  1. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  2. package/dist/generated/endpoints/zitadelNextGen.mjs +75 -4
  3. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  4. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +6 -2
  5. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +745 -41
  7. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +432 -47
  9. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  10. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +403 -43
  11. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  12. package/dist/generated/model/index.d.mts +2 -2
  13. package/dist/generated/model/index.mjs +54 -1
  14. package/dist/generated/model/index.mjs.map +1 -1
  15. package/dist/{index-BpCgp2NY.d.mts → index-DtExHu2p.d.mts} +1818 -299
  16. package/dist/index-DtExHu2p.d.mts.map +1 -0
  17. package/dist/runtime/api-factory.d.mts +1 -1
  18. package/dist/{zitadelNextGen-C4IZjGCT.d.mts → zitadelNextGen-C79YSuEo.d.mts} +45 -7
  19. package/dist/zitadelNextGen-C79YSuEo.d.mts.map +1 -0
  20. package/package.json +1 -1
  21. package/src/generated/endpoints/zitadelNextGen.msw.ts +887 -85
  22. package/src/generated/endpoints/zitadelNextGen.ts +98 -3
  23. package/src/generated/endpoints/zitadelNextGen.zod.ts +1314 -421
  24. package/src/generated/model/completeClaim410.ts +21 -16
  25. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +5 -3
  26. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +5 -3
  27. package/src/generated/model/createFlowDefinitionDefault.ts +0 -10
  28. package/src/generated/model/createGrant201.ts +32 -0
  29. package/src/generated/model/createGrant201Principal.ts +147 -0
  30. package/src/generated/model/createGrant201Team.ts +22 -0
  31. package/src/generated/model/createGrant201User.ts +38 -0
  32. package/src/generated/model/createSession201Session.ts +8 -16
  33. package/src/generated/model/createSession201SessionUser.ts +38 -0
  34. package/src/generated/model/createUser201.ts +18 -0
  35. package/src/generated/model/exchangeHandoff200Session.ts +8 -16
  36. package/src/generated/model/exchangeHandoff200SessionUser.ts +38 -0
  37. package/src/generated/model/getClaimStatus410.ts +21 -16
  38. package/src/generated/model/getClaimWindow200.ts +23 -0
  39. package/src/generated/model/{createFlowDefinition409.ts → getClaimWindow404.ts} +3 -3
  40. package/src/generated/model/{createFlowDefinition409Details.ts → getClaimWindow404Details.ts} +1 -1
  41. package/src/generated/model/getClaimWindow429.ts +20 -0
  42. package/src/generated/model/getClaimWindow429Details.ts +12 -0
  43. package/src/generated/model/getClaimWindowDefault.ts +20 -0
  44. package/src/generated/model/getClaimWindowDefaultDetails.ts +12 -0
  45. package/src/generated/model/getClaimWindowParams.ts +15 -0
  46. package/src/generated/model/getEvent200.ts +75 -0
  47. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +5 -3
  48. package/src/generated/model/getGrant200.ts +32 -0
  49. package/src/generated/model/getGrant200Principal.ts +147 -0
  50. package/src/generated/model/getGrant200Team.ts +22 -0
  51. package/src/generated/model/getGrant200User.ts +38 -0
  52. package/src/generated/model/getMySession200.ts +8 -16
  53. package/src/generated/model/getMySession200User.ts +38 -0
  54. package/src/generated/model/getMyUser200.ts +18 -0
  55. package/src/generated/model/getSession200.ts +8 -16
  56. package/src/generated/model/getSession200User.ts +38 -0
  57. package/src/generated/model/getUserByID200.ts +18 -0
  58. package/src/generated/model/index.ts +44 -2
  59. package/src/generated/model/initClaim410.ts +24 -0
  60. package/src/generated/model/listEvents200DataItem.ts +75 -0
  61. package/src/generated/model/listFlowDefinitions200.ts +3 -0
  62. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +5 -3
  63. package/src/generated/model/listFlowDefinitionsParams.ts +8 -0
  64. package/src/generated/model/queryGrants200.ts +20 -0
  65. package/src/generated/model/queryGrants200GrantsItem.ts +66 -0
  66. package/src/generated/model/queryGrants200GrantsItemObjectType.ts +17 -0
  67. package/src/generated/model/queryGrants200GrantsItemPrincipal.ts +147 -0
  68. package/src/generated/model/queryGrants200GrantsItemPrincipalType.ts +18 -0
  69. package/src/generated/model/queryGrants200GrantsItemRelation.ts +19 -0
  70. package/src/generated/model/queryGrants200GrantsItemTeam.ts +22 -0
  71. package/src/generated/model/queryGrants200GrantsItemUser.ts +38 -0
  72. package/src/generated/model/queryGrants400.ts +20 -0
  73. package/src/generated/model/queryGrants400Details.ts +12 -0
  74. package/src/generated/model/queryGrants401.ts +20 -0
  75. package/src/generated/model/queryGrants401Details.ts +12 -0
  76. package/src/generated/model/queryGrants403.ts +20 -0
  77. package/src/generated/model/queryGrants403Details.ts +12 -0
  78. package/src/generated/model/queryGrantsBody.ts +33 -0
  79. package/src/generated/model/queryGrantsBodyExpandItem.ts +30 -0
  80. package/src/generated/model/queryGrantsBodyFilterItem.ts +33 -0
  81. package/src/generated/model/queryGrantsBodyFilterItemField.ts +27 -0
  82. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +30 -0
  83. package/src/generated/model/queryGrantsBodySorting.ts +17 -0
  84. package/src/generated/model/queryGrantsBodySortingDirection.ts +15 -0
  85. package/src/generated/model/queryGrantsBodySortingField.ts +21 -0
  86. package/src/generated/model/queryGrantsDefault.ts +99 -0
  87. package/src/generated/model/queryGrantsParams.ts +15 -0
  88. package/src/generated/model/querySessions200SessionsItem.ts +8 -16
  89. package/src/generated/model/querySessions200SessionsItemUser.ts +38 -0
  90. package/src/generated/model/queryUsers200UsersItem.ts +18 -0
  91. package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +5 -3
  92. package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +5 -3
  93. package/dist/index-BpCgp2NY.d.mts.map +0 -1
  94. package/dist/zitadelNextGen-C4IZjGCT.d.mts.map +0 -1
@@ -96,6 +96,9 @@ const QueryUsersResponse = zod.object({
96
96
  updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
97
97
  }).describe("Details of a team."), zod.null()]).optional().describe("The team named by `lifecycle_owner_team_id`, present only when the\nrequest asked for it with `expand: [\"lifecycle_owner_team\"]` (ADR 059).\nAbsent means it was not requested; `null` means the user is self-owned\nand there is no owner to resolve.\n\nRequesting it does not guarantee it is present on every user. Today\n`team.read` is checked once for the whole request, so it is; once that\ncheck is per team, a page may contain a user whose owner the caller may\nnot read, and such a row answers with neither the team nor `null` —\n`null` already means self-owned. What it answers with instead is decided\nwith the granular scopes (#420); do not read the two cases above as the\ncomplete set.\n\nThis is the same representation `GET /teams/{team_id}` serves. It is a\nsingle team, not a collection, so it carries no cap and no truncation\nflag.\n")
98
98
  }),
99
+ identifier: zod.string().optional().describe("The current value of the user schema's designated identifier\n(`x-identifier`), resolved live at read time. Absent when the schema\ndesignates no identifier or the user carries no value for it.\n"),
100
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
101
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order, resolved live at read time. Purely presentational.\nAbsent when the schema designates no display properties or the user\ncarries no values for them. Clients render `display`, falling back\nto `identifier`, then `id`.\n"),
99
102
  teams: zod.array(zod.object({
100
103
  id: zod.string().describe("The unique identifier of the team."),
101
104
  name: zod.string().describe("The name of the team."),
@@ -141,6 +144,9 @@ const GetUserByIDResponse = zod.object({
141
144
  updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
142
145
  }).describe("Details of a team."), zod.null()]).optional().describe("The team named by `lifecycle_owner_team_id`, present only when the\nrequest asked for it with `expand: [\"lifecycle_owner_team\"]` (ADR 059).\nAbsent means it was not requested; `null` means the user is self-owned\nand there is no owner to resolve.\n\nRequesting it does not guarantee it is present on every user. Today\n`team.read` is checked once for the whole request, so it is; once that\ncheck is per team, a page may contain a user whose owner the caller may\nnot read, and such a row answers with neither the team nor `null` —\n`null` already means self-owned. What it answers with instead is decided\nwith the granular scopes (#420); do not read the two cases above as the\ncomplete set.\n\nThis is the same representation `GET /teams/{team_id}` serves. It is a\nsingle team, not a collection, so it carries no cap and no truncation\nflag.\n")
143
146
  }),
147
+ identifier: zod.string().optional().describe("The current value of the user schema's designated identifier\n(`x-identifier`), resolved live at read time. Absent when the schema\ndesignates no identifier or the user carries no value for it.\n"),
148
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
149
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order, resolved live at read time. Purely presentational.\nAbsent when the schema designates no display properties or the user\ncarries no values for them. Clients render `display`, falling back\nto `identifier`, then `id`.\n"),
144
150
  teams: zod.array(zod.object({
145
151
  id: zod.string().describe("The unique identifier of the team."),
146
152
  name: zod.string().describe("The name of the team."),
@@ -282,6 +288,9 @@ const GetMyUserResponse = zod.object({
282
288
  updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
283
289
  }).describe("Details of a team."), zod.null()]).optional().describe("The team named by `lifecycle_owner_team_id`, present only when the\nrequest asked for it with `expand: [\"lifecycle_owner_team\"]` (ADR 059).\nAbsent means it was not requested; `null` means the user is self-owned\nand there is no owner to resolve.\n\nRequesting it does not guarantee it is present on every user. Today\n`team.read` is checked once for the whole request, so it is; once that\ncheck is per team, a page may contain a user whose owner the caller may\nnot read, and such a row answers with neither the team nor `null` —\n`null` already means self-owned. What it answers with instead is decided\nwith the granular scopes (#420); do not read the two cases above as the\ncomplete set.\n\nThis is the same representation `GET /teams/{team_id}` serves. It is a\nsingle team, not a collection, so it carries no cap and no truncation\nflag.\n")
284
290
  }),
291
+ identifier: zod.string().optional().describe("The current value of the user schema's designated identifier\n(`x-identifier`), resolved live at read time. Absent when the schema\ndesignates no identifier or the user carries no value for it.\n"),
292
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
293
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order, resolved live at read time. Purely presentational.\nAbsent when the schema designates no display properties or the user\ncarries no values for them. Clients render `display`, falling back\nto `identifier`, then `id`.\n"),
285
294
  teams: zod.array(zod.object({
286
295
  id: zod.string().describe("The unique identifier of the team."),
287
296
  name: zod.string().describe("The name of the team."),
@@ -925,7 +934,11 @@ const InitClaimParams = zod.object({ project_id: zod.string().regex(initClaimPat
925
934
  * Polled by the CLI while a browser completes the claim. Authorized by the
926
935
  project secret that initiated the challenge. Returns `pending`, or
927
936
  `completed` with the owning team, the claim timestamp, and the dashboard
928
- URL once the browser leg has finished.
937
+ URL once the project is claimed. The claim grant, not the polled
938
+ challenge, is the source of truth: a project claimed through another
939
+ concurrent challenge also reports `completed`, and a completed claim
940
+ keeps reporting `completed` past this challenge's expiry and past the
941
+ project's claim window.
929
942
 
930
943
  * @summary Get claim status
931
944
  */
@@ -960,6 +973,24 @@ const CompleteClaimResponse = zod.object({
960
973
  claimed_at: zod.iso.datetime({ offset: true }).describe("The time when the project was claimed.")
961
974
  }).describe("The result of a completed project claim.");
962
975
  /**
976
+ * Read by the claim page in the browser to show how long is left to claim the
977
+ project. Unauthenticated by design: the claim page runs this before the
978
+ developer has signed in, and holding the `challenge_id` from the claim URL
979
+ is the authorization — the same capability `claim/complete` accepts. It
980
+ reveals only the window, never the project itself, and unlike
981
+ `claim/complete` it spends nothing, so a reload is free.
982
+
983
+ * @summary Get the claim window for a project
984
+ */
985
+ const getClaimWindowPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
986
+ const GetClaimWindowParams = zod.object({ project_id: zod.string().regex(getClaimWindowPathProjectIdRegExp) });
987
+ const getClaimWindowQueryChallengeIdRegExp = /* @__PURE__ */ new RegExp("^ch_[a-zA-Z0-9_-]+$");
988
+ const GetClaimWindowQueryParams = zod.strictObject({ challenge_id: zod.string().regex(getClaimWindowQueryChallengeIdRegExp).describe("The challenge from the claim URL.") });
989
+ const GetClaimWindowResponse = zod.object({
990
+ expires_at: zod.iso.datetime({ offset: true }).describe("The time when the project's claim window closes."),
991
+ expired: zod.boolean().describe("Whether the window has already closed. Reported alongside `expires_at`\nrather than left to the client so a skewed browser clock cannot show a\nclaimable project as expired, or the reverse.\n")
992
+ }).describe("How long the project can still be claimed. Derived from the project's\ncreation time and the fixed 14-day claim window (ADR 046); it does not\ndepend on the challenge, which has its own much shorter expiry.\n");
993
+ /**
963
994
  * Creates an anonymous session shell with no user and no factors (`state: building`).
964
995
 
965
996
  This is optional — an `auth_attempt` will create a session implicitly if none is provided.
@@ -1038,6 +1069,7 @@ const QuerySessionsBody = zod.object({
1038
1069
  const querySessionsResponseSessionsItemSessionIdRegExp = /* @__PURE__ */ new RegExp("^sess_[a-zA-Z0-9_-]+$");
1039
1070
  const querySessionsResponseSessionsItemProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1040
1071
  const querySessionsResponseSessionsItemUserIdOneRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1072
+ const querySessionsResponseSessionsItemUserUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1041
1073
  const querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1042
1074
  const QuerySessionsResponse = zod.object({
1043
1075
  sessions: zod.array(zod.object({
@@ -1049,8 +1081,12 @@ const QuerySessionsResponse = zod.object({
1049
1081
  "expired"
1050
1082
  ]).describe("Current lifecycle state of the session:\n- `building`: no verified authentication factors yet\n- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age\n- `expired`: TTL elapsed\n"),
1051
1083
  user_id: zod.union([zod.string().regex(querySessionsResponseSessionsItemUserIdOneRegExp), zod.null()]).optional().describe("The authenticated user. Null for anonymous sessions and until the `user`\nfactor has been verified through an `auth_attempt`.\n"),
1052
- name: zod.string().optional().describe("Human-readable name of the authenticated user, resolved from the\nconventional user-schema properties: `name` when defined, otherwise\nthe given and family name parts joined — `givenName`/`familyName`\n(the shipped presets' spelling) or `given_name`/`family_name`. Only\npresent on reads that hydrate the user's identity\n(`GET /sessions/me`) and only when the session has an authenticated\nuser whose schema carries those properties; clients fall back to\n`email`, then `user_id`.\n"),
1053
- email: zod.string().optional().describe("Email address of the authenticated user, resolved from the\nconventional `email` user-schema property. Only present on reads\nthat hydrate the user's identity (`GET /sessions/me`) and only when\nthe session has an authenticated user whose schema carries that\nproperty.\n"),
1084
+ user: zod.object({
1085
+ user_id: zod.string().regex(querySessionsResponseSessionsItemUserUserIdRegExp),
1086
+ identifier: zod.string().optional().describe("The current value of the schema's designated identifier\n(`x-identifier`). Absent when the schema designates no identifier or\nthe user carries no value for it.\n"),
1087
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
1088
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order. Purely presentational, with no source attribution.\nAbsent when the schema designates no display properties or the user\ncarries no values for them.\n")
1089
+ }).optional().describe("A resolved reference to a user (ADR 058 §3). Fields are role-named, not\nproperty-named, so responses can mix users from different schemas.\n`identifier` and `display` are resolved independently from the user\nschema's `x-identifier` and `x-display` designations, live at read time.\nClients render `display`, falling back to `identifier`, then `user_id`.\nMissing or deleted users degrade to `user_id` only.\n"),
1054
1090
  factors: zod.array(zod.object({
1055
1091
  method: zod.enum([
1056
1092
  "identifier",
@@ -1112,6 +1148,7 @@ const ExchangeHandoffBody = zod.object({
1112
1148
  const exchangeHandoffResponseSessionSessionIdRegExp = /* @__PURE__ */ new RegExp("^sess_[a-zA-Z0-9_-]+$");
1113
1149
  const exchangeHandoffResponseSessionProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1114
1150
  const exchangeHandoffResponseSessionUserIdOneRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1151
+ const exchangeHandoffResponseSessionUserUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1115
1152
  const exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1116
1153
  const ExchangeHandoffResponse = zod.object({
1117
1154
  session: zod.object({
@@ -1123,8 +1160,12 @@ const ExchangeHandoffResponse = zod.object({
1123
1160
  "expired"
1124
1161
  ]).describe("Current lifecycle state of the session:\n- `building`: no verified authentication factors yet\n- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age\n- `expired`: TTL elapsed\n"),
1125
1162
  user_id: zod.union([zod.string().regex(exchangeHandoffResponseSessionUserIdOneRegExp), zod.null()]).optional().describe("The authenticated user. Null for anonymous sessions and until the `user`\nfactor has been verified through an `auth_attempt`.\n"),
1126
- name: zod.string().optional().describe("Human-readable name of the authenticated user, resolved from the\nconventional user-schema properties: `name` when defined, otherwise\nthe given and family name parts joined — `givenName`/`familyName`\n(the shipped presets' spelling) or `given_name`/`family_name`. Only\npresent on reads that hydrate the user's identity\n(`GET /sessions/me`) and only when the session has an authenticated\nuser whose schema carries those properties; clients fall back to\n`email`, then `user_id`.\n"),
1127
- email: zod.string().optional().describe("Email address of the authenticated user, resolved from the\nconventional `email` user-schema property. Only present on reads\nthat hydrate the user's identity (`GET /sessions/me`) and only when\nthe session has an authenticated user whose schema carries that\nproperty.\n"),
1163
+ user: zod.object({
1164
+ user_id: zod.string().regex(exchangeHandoffResponseSessionUserUserIdRegExp),
1165
+ identifier: zod.string().optional().describe("The current value of the schema's designated identifier\n(`x-identifier`). Absent when the schema designates no identifier or\nthe user carries no value for it.\n"),
1166
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
1167
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order. Purely presentational, with no source attribution.\nAbsent when the schema designates no display properties or the user\ncarries no values for them.\n")
1168
+ }).optional().describe("A resolved reference to a user (ADR 058 §3). Fields are role-named, not\nproperty-named, so responses can mix users from different schemas.\n`identifier` and `display` are resolved independently from the user\nschema's `x-identifier` and `x-display` designations, live at read time.\nClients render `display`, falling back to `identifier`, then `user_id`.\nMissing or deleted users degrade to `user_id` only.\n"),
1128
1169
  factors: zod.array(zod.object({
1129
1170
  method: zod.enum([
1130
1171
  "identifier",
@@ -1170,6 +1211,7 @@ const GetSessionParams = zod.object({ session_id: zod.string().regex(getSessionP
1170
1211
  const getSessionResponseSessionIdRegExp = /* @__PURE__ */ new RegExp("^sess_[a-zA-Z0-9_-]+$");
1171
1212
  const getSessionResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1172
1213
  const getSessionResponseUserIdOneRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1214
+ const getSessionResponseUserUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1173
1215
  const getSessionResponseFactorsItemPayloadOneUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1174
1216
  const GetSessionResponse = zod.object({
1175
1217
  session_id: zod.string().regex(getSessionResponseSessionIdRegExp).describe("Unique identifier for this session (dialect-minted prefixed opaque string)."),
@@ -1180,8 +1222,12 @@ const GetSessionResponse = zod.object({
1180
1222
  "expired"
1181
1223
  ]).describe("Current lifecycle state of the session:\n- `building`: no verified authentication factors yet\n- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age\n- `expired`: TTL elapsed\n"),
1182
1224
  user_id: zod.union([zod.string().regex(getSessionResponseUserIdOneRegExp), zod.null()]).optional().describe("The authenticated user. Null for anonymous sessions and until the `user`\nfactor has been verified through an `auth_attempt`.\n"),
1183
- name: zod.string().optional().describe("Human-readable name of the authenticated user, resolved from the\nconventional user-schema properties: `name` when defined, otherwise\nthe given and family name parts joined — `givenName`/`familyName`\n(the shipped presets' spelling) or `given_name`/`family_name`. Only\npresent on reads that hydrate the user's identity\n(`GET /sessions/me`) and only when the session has an authenticated\nuser whose schema carries those properties; clients fall back to\n`email`, then `user_id`.\n"),
1184
- email: zod.string().optional().describe("Email address of the authenticated user, resolved from the\nconventional `email` user-schema property. Only present on reads\nthat hydrate the user's identity (`GET /sessions/me`) and only when\nthe session has an authenticated user whose schema carries that\nproperty.\n"),
1225
+ user: zod.object({
1226
+ user_id: zod.string().regex(getSessionResponseUserUserIdRegExp),
1227
+ identifier: zod.string().optional().describe("The current value of the schema's designated identifier\n(`x-identifier`). Absent when the schema designates no identifier or\nthe user carries no value for it.\n"),
1228
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
1229
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order. Purely presentational, with no source attribution.\nAbsent when the schema designates no display properties or the user\ncarries no values for them.\n")
1230
+ }).optional().describe("A resolved reference to a user (ADR 058 §3). Fields are role-named, not\nproperty-named, so responses can mix users from different schemas.\n`identifier` and `display` are resolved independently from the user\nschema's `x-identifier` and `x-display` designations, live at read time.\nClients render `display`, falling back to `identifier`, then `user_id`.\nMissing or deleted users degrade to `user_id` only.\n"),
1185
1231
  factors: zod.array(zod.object({
1186
1232
  method: zod.enum([
1187
1233
  "identifier",
@@ -1238,6 +1284,7 @@ against the same `session_id`) to restore a dropped assurance level.
1238
1284
  const getMySessionResponseSessionIdRegExp = /* @__PURE__ */ new RegExp("^sess_[a-zA-Z0-9_-]+$");
1239
1285
  const getMySessionResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1240
1286
  const getMySessionResponseUserIdOneRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1287
+ const getMySessionResponseUserUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1241
1288
  const getMySessionResponseFactorsItemPayloadOneUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
1242
1289
  const GetMySessionResponse = zod.object({
1243
1290
  session_id: zod.string().regex(getMySessionResponseSessionIdRegExp).describe("Unique identifier for this session (dialect-minted prefixed opaque string)."),
@@ -1248,8 +1295,12 @@ const GetMySessionResponse = zod.object({
1248
1295
  "expired"
1249
1296
  ]).describe("Current lifecycle state of the session:\n- `building`: no verified authentication factors yet\n- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age\n- `expired`: TTL elapsed\n"),
1250
1297
  user_id: zod.union([zod.string().regex(getMySessionResponseUserIdOneRegExp), zod.null()]).optional().describe("The authenticated user. Null for anonymous sessions and until the `user`\nfactor has been verified through an `auth_attempt`.\n"),
1251
- name: zod.string().optional().describe("Human-readable name of the authenticated user, resolved from the\nconventional user-schema properties: `name` when defined, otherwise\nthe given and family name parts joined — `givenName`/`familyName`\n(the shipped presets' spelling) or `given_name`/`family_name`. Only\npresent on reads that hydrate the user's identity\n(`GET /sessions/me`) and only when the session has an authenticated\nuser whose schema carries those properties; clients fall back to\n`email`, then `user_id`.\n"),
1252
- email: zod.string().optional().describe("Email address of the authenticated user, resolved from the\nconventional `email` user-schema property. Only present on reads\nthat hydrate the user's identity (`GET /sessions/me`) and only when\nthe session has an authenticated user whose schema carries that\nproperty.\n"),
1298
+ user: zod.object({
1299
+ user_id: zod.string().regex(getMySessionResponseUserUserIdRegExp),
1300
+ identifier: zod.string().optional().describe("The current value of the schema's designated identifier\n(`x-identifier`). Absent when the schema designates no identifier or\nthe user carries no value for it.\n"),
1301
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
1302
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order. Purely presentational, with no source attribution.\nAbsent when the schema designates no display properties or the user\ncarries no values for them.\n")
1303
+ }).optional().describe("A resolved reference to a user (ADR 058 §3). Fields are role-named, not\nproperty-named, so responses can mix users from different schemas.\n`identifier` and `display` are resolved independently from the user\nschema's `x-identifier` and `x-display` designations, live at read time.\nClients render `display`, falling back to `identifier`, then `user_id`.\nMissing or deleted users degrade to `user_id` only.\n"),
1253
1304
  factors: zod.array(zod.object({
1254
1305
  method: zod.enum([
1255
1306
  "identifier",
@@ -1419,12 +1470,17 @@ const GetSchemaByIdResponse = zod.object({
1419
1470
  metadata: zod.object({ created_at: zod.iso.datetime({ offset: true }).describe("The time when the schema was created.") })
1420
1471
  }).describe("A schema resource: the server-owned envelope around a customer-authored\nJSON Schema document.\n\n`schema` is the customer-authored document, served verbatim: its keys and\ncontents are defined entirely by its author. The rest of the object — `id`,\n`metadata` — is the server-owned envelope. Keeping the two apart means the\ndocument may declare any property (including `id` or `metadata`) without\ncolliding with the envelope, and the resource `id` stays distinguishable\nfrom the document's own `$id`.\n");
1421
1472
  /**
1422
- * Creates a new flow definition.
1473
+ * Publishes a new flow definition revision.
1423
1474
  Flow definitions are templates that define the sequence of steps (capabilities)
1424
1475
  for a particular user journey (e.g., registration, login, password reset).
1425
1476
 
1426
1477
  Flow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.
1427
1478
 
1479
+ Every call allocates a new opaque id. Revisions of one flow share its
1480
+ `name`; posting a definition under an existing `name` publishes a new
1481
+ revision of that flow, it is not a conflict. List with `name` to see a
1482
+ flow's revisions, newest by creation time first.
1483
+
1428
1484
  * @summary Create a new flow definition
1429
1485
  */
1430
1486
  const createFlowDefinitionBodyProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
@@ -1438,7 +1494,7 @@ const CreateFlowDefinitionBody = zod.object({
1438
1494
  project_id: zod.string().regex(createFlowDefinitionBodyProjectIdRegExp),
1439
1495
  schema_uri: zod.url().optional().describe("URI of the server-published flow definition schema this definition was\nauthored against. The server uses this to validate the definition.\nIf not provided, the engine will use the latest schema version for validation.\n"),
1440
1496
  flow_definition: zod.object({
1441
- name: zod.string().regex(createFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1497
+ name: zod.string().regex(createFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
1442
1498
  status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1443
1499
  user_schema: zod.string().describe("Server-assigned identifier of the user schema this flow operates on,\nas returned by `POST /schemas`. Opaque to the client — the shape is a\nserver implementation detail. Step `fields` reference properties\ndefined in the resolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
1444
1500
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
@@ -1489,14 +1545,16 @@ const CreateFlowDefinitionBody = zod.object({
1489
1545
  }).describe("A flow definition is the server-side configuration that describes a complete\nauthentication or identity flow. It is NOT sent to the frontend — the flow\nengine evaluates it and produces FlowResponse payloads (steps with capability\ndictionaries) for the client.\n\nFlow definitions are created by administrators and stored in the project/team\nconfiguration hierarchy. The engine selects the matching definition based on\nthe purpose + audience when a flow is created via POST /flow.\n")
1490
1546
  }).describe("Creates a flow definition.\nThe flow definition is created in an `active` state by default.\nThe status can also be set via the `status` attribute in the flow definition payload.\n");
1491
1547
  /**
1492
- * Retrieves a list of all flow definitions.
1548
+ * Retrieves a list of all flow definitions, newest by creation time first.
1493
1549
  This endpoint can be used to view existing flow definitions and their configurations.
1550
+ Filter by `name` to list the revisions of one flow.
1494
1551
 
1495
1552
  * @summary List flow definitions
1496
1553
  */
1497
1554
  const listFlowDefinitionsQueryLimitDefault = 20;
1498
1555
  const listFlowDefinitionsQueryLimitMax = 100;
1499
1556
  const listFlowDefinitionsQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1557
+ const listFlowDefinitionsQueryNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9-]*$");
1500
1558
  const ListFlowDefinitionsQueryParams = zod.strictObject({
1501
1559
  limit: zod.number().min(1).max(100).default(20).describe("Maximum number of items to return."),
1502
1560
  page_token: zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n"),
@@ -1509,6 +1567,7 @@ const ListFlowDefinitionsQueryParams = zod.strictObject({
1509
1567
  "reauth",
1510
1568
  "link_account"
1511
1569
  ]).optional().describe("Filter flow definitions by purpose (e.g., registration, login)."),
1570
+ name: zod.string().regex(listFlowDefinitionsQueryNameRegExp).optional().describe("The flow name to filter by. Every revision of a flow shares its\n`name`, so the result is that flow's revisions, newest by creation\ntime first.\n"),
1512
1571
  expand: zod.array(zod.enum(["user_schema"]).describe("A related entity to embed on each returned flow definition.\n\n- `user_schema`: the user schema the flow operates on, embedded as\n `user_schema` on each entry: the same object `GET /schemas/{id}` returns.\n The property is omitted entirely when not requested and `null` when the\n referenced schema no longer resolves or the caller may not read it, so\n \"did not ask\" stays distinguishable from \"cannot resolve\". Requesting it\n requires read access to schemas.\n")).optional().describe("Related entities to embed on each returned flow definition.")
1513
1572
  });
1514
1573
  const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9-]*$");
@@ -1524,7 +1583,7 @@ const ListFlowDefinitionsResponse = zod.object({
1524
1583
  id: zod.string().describe("Unique identifier for the flow definition."),
1525
1584
  project_id: zod.string().describe("Identifier of the project this flow definition belongs to."),
1526
1585
  flow_definition: zod.object({
1527
- name: zod.string().regex(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1586
+ name: zod.string().regex(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
1528
1587
  status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1529
1588
  user_schema: zod.string().describe("Server-assigned identifier of the user schema this flow operates on,\nas returned by `POST /schemas`. Opaque to the client — the shape is a\nserver implementation detail. Step `fields` reference properties\ndefined in the resolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
1530
1589
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
@@ -1605,7 +1664,7 @@ const ListFlowDefinitionsResponse = zod.object({
1605
1664
  updated_at: zod.iso.datetime({ offset: true })
1606
1665
  })),
1607
1666
  next_page_token: zod.union([zod.string(), zod.null()]).optional().describe("The token to retrieve the next page of results. Absent if there are no more results.")
1608
- });
1667
+ }).describe("List of flow definitions, newest by creation time first.");
1609
1668
  /**
1610
1669
  * Get a flow definition by id
1611
1670
  * @summary Get a flow definition by id
@@ -1623,7 +1682,7 @@ const GetFlowDefinitionResponse = zod.object({
1623
1682
  id: zod.string().describe("Unique identifier for the flow definition."),
1624
1683
  project_id: zod.string().describe("Identifier of the project this flow definition belongs to."),
1625
1684
  flow_definition: zod.object({
1626
- name: zod.string().regex(getFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1685
+ name: zod.string().regex(getFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
1627
1686
  status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1628
1687
  user_schema: zod.string().describe("Server-assigned identifier of the user schema this flow operates on,\nas returned by `POST /schemas`. Opaque to the client — the shape is a\nserver implementation detail. Step `fields` reference properties\ndefined in the resolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
1629
1688
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
@@ -1719,7 +1778,7 @@ const updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault = [];
1719
1778
  const UpdateFlowDefinitionBody = zod.object({
1720
1779
  schema_uri: zod.url().optional().describe("URI of the server-published flow definition schema this definition was\nauthored against. The server uses this to validate the definition.\nIf not provided, the engine will use the latest schema version for validation.\n"),
1721
1780
  flow_definition: zod.object({
1722
- name: zod.string().regex(updateFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1781
+ name: zod.string().regex(updateFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
1723
1782
  status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1724
1783
  user_schema: zod.string().describe("Server-assigned identifier of the user schema this flow operates on,\nas returned by `POST /schemas`. Opaque to the client — the shape is a\nserver implementation detail. Step `fields` reference properties\ndefined in the resolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
1725
1784
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
@@ -1781,7 +1840,7 @@ const UpdateFlowDefinitionResponse = zod.object({
1781
1840
  id: zod.string().describe("Unique identifier for the flow definition."),
1782
1841
  project_id: zod.string().describe("Identifier of the project this flow definition belongs to."),
1783
1842
  flow_definition: zod.object({
1784
- name: zod.string().regex(updateFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1843
+ name: zod.string().regex(updateFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
1785
1844
  status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1786
1845
  user_schema: zod.string().describe("Server-assigned identifier of the user schema this flow operates on,\nas returned by `POST /schemas`. Opaque to the client — the shape is a\nserver implementation detail. Step `fields` reference properties\ndefined in the resolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
1787
1846
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
@@ -2265,6 +2324,135 @@ const CreateGrantBody = zod.object({
2265
2324
  expires_at: zod.iso.datetime({ offset: true }).optional().describe("Optional expiry. Must be in the future when set. Expiry stops\nauthorization but does not free the unique binding; DELETE the grant\nbefore posting the same principal and relation again.\n")
2266
2325
  });
2267
2326
  /**
2327
+ * Returns the collaboration grants of a project, paginated with a cursor.
2328
+ Only unrevoked grants this API manages are listed (user or team bound to
2329
+ viewer, editor, or admin), including expired grants so a client can
2330
+ DELETE before re-granting. Project-secret setup (`sk_proj`) and
2331
+ owning-team (`relation=team`) rows are not returned. Grants are not in
2332
+ `resource_scope_index`; project scope is required on the query (same as
2333
+ get). Requires `project.read`. `expand: ["principal"]` additionally
2334
+ requires `user.read` and `team.read` (documented on the expand enum;
2335
+ those scopes cannot be ANDed onto this security block because they are
2336
+ body-conditional).
2337
+
2338
+ * @summary Query grants
2339
+ */
2340
+ const queryGrantsQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2341
+ const QueryGrantsQueryParams = zod.strictObject({ project_id: zod.string().regex(queryGrantsQueryProjectIdRegExp).describe("The unique identifier of the project") });
2342
+ const queryGrantsBodyLimitDefault = 20;
2343
+ const queryGrantsBodyLimitMax = 100;
2344
+ const QueryGrantsBody = zod.object({
2345
+ limit: zod.number().min(1).max(100).default(20),
2346
+ page_token: zod.union([zod.string(), zod.null()]).optional().describe("Token to retrieve the next page of results. Must be sent with the same\n`sorting` as the request that issued the token. Omitting `sorting` reuses\nthe default sort and only succeeds when that default matches the token.\n"),
2347
+ expand: zod.array(zod.enum(["principal"]).describe("A related object to embed on each returned grant (ADR 059).\n\n- `principal`: the principal named by `principal_id`, as `principal` on\n each grant. The property is omitted entirely when not requested. When\n requested, it is the same body `GET /users/{id}` serves for\n `principal_type=user`, or `GET /teams/{id}` for `principal_type=team`,\n and `null` when that principal cannot be loaded. Discriminate with the\n grant's existing `principal_type`.\n\n Requires `user.read` and `team.read` in addition to `project.read`.\n Both are checked on the whole request before the list, because a mixed\n page is the common case. A caller who may not read either resource\n receives 403 rather than a silently missing `principal`.\n")).optional().describe("Related objects to embed on each grant (ADR 059). Omit it and no\nembedded object is returned. An unrecognised value is rejected.\n"),
2348
+ sorting: zod.object({
2349
+ field: zod.enum([
2350
+ "created_at",
2351
+ "expires_at",
2352
+ "id"
2353
+ ]).describe("Field to sort grants by. Default is `created_at` ascending with `id` as\nthe tiebreaker.\n"),
2354
+ direction: zod.enum(["asc", "desc"])
2355
+ }).optional(),
2356
+ filter: zod.array(zod.object({
2357
+ field: zod.enum([
2358
+ "created_at",
2359
+ "principal_type",
2360
+ "principal_id",
2361
+ "relation",
2362
+ "expires_at"
2363
+ ]).describe("Field to filter grants by:\n- `created_at`: RFC3339 timestamp\n- `principal_type`: `user` or `team`\n- `principal_id`: principal id (`user_<opaque>` or `team_<opaque>`)\n- `relation`: `viewer`, `editor`, or `admin`\n- `expires_at`: RFC3339 timestamp (null when the grant does not expire)\n"),
2364
+ value: zod.union([
2365
+ zod.string(),
2366
+ zod.number(),
2367
+ zod.boolean(),
2368
+ zod.null()
2369
+ ]).optional().describe("Filter-value specifies which values can be filtered by a query endpoint. This\nis a union of types. When a value is specified which is not assignable to the\nfield which is being filtered, a 400 error will be returned.\n"),
2370
+ operation: zod.enum([
2371
+ "equals",
2372
+ "not_equals",
2373
+ "contains",
2374
+ "not_contains",
2375
+ "less_than",
2376
+ "less_than_or_equal",
2377
+ "greater_than",
2378
+ "greater_than_or_equal"
2379
+ ]).describe("Filter operation defines the operations which can be used when filtering on a\nquery endpoint.\n\nOn text fields, `contains` is a case-insensitive substring match. `equals`\ncompares the whole value and is case-sensitive unless the field documents\notherwise.\n")
2380
+ })).optional().describe("Filter criteria for querying grants. Combined with AND.")
2381
+ }).describe("Request to query the grants of a project.");
2382
+ const queryGrantsResponseGrantsItemUserUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
2383
+ const queryGrantsResponseGrantsItemPrincipalOneOneOneIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
2384
+ const QueryGrantsResponse = zod.object({
2385
+ grants: zod.array(zod.object({
2386
+ id: zod.string().describe("Managed assignment id (`asgn_<opaque>`)."),
2387
+ project_id: zod.string().describe("Project this grant is scoped to."),
2388
+ principal_type: zod.enum(["user", "team"]).describe("Kind of principal bound by this grant."),
2389
+ principal_id: zod.string().describe("Principal id (`user_<opaque>` or `team_<opaque>`)."),
2390
+ object_type: zod.enum(["project"]).describe("Catalog object type. Always `project` for this API."),
2391
+ relation: zod.enum([
2392
+ "viewer",
2393
+ "editor",
2394
+ "admin"
2395
+ ]).describe("Catalog relation on the project."),
2396
+ created_at: zod.iso.datetime({ offset: true }).describe("When the grant was created."),
2397
+ expires_at: zod.union([zod.iso.datetime({ offset: true }), zod.null()]).optional().describe("When the grant expires. Null when it does not expire. GET still\nreturns expired unrevoked grants; authorization ignores them.\n"),
2398
+ user: zod.object({
2399
+ user_id: zod.string().regex(queryGrantsResponseGrantsItemUserUserIdRegExp),
2400
+ identifier: zod.string().optional().describe("The current value of the schema's designated identifier\n(`x-identifier`). Absent when the schema designates no identifier or\nthe user carries no value for it.\n"),
2401
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
2402
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order. Purely presentational, with no source attribution.\nAbsent when the schema designates no display properties or the user\ncarries no values for them.\n")
2403
+ }).optional().describe("A resolved reference to a user (ADR 058 §3). Fields are role-named, not\nproperty-named, so responses can mix users from different schemas.\n`identifier` and `display` are resolved independently from the user\nschema's `x-identifier` and `x-display` designations, live at read time.\nClients render `display`, falling back to `identifier`, then `user_id`.\nMissing or deleted users degrade to `user_id` only.\n"),
2404
+ team: zod.object({
2405
+ team_id: zod.string().describe("The referenced team's id (`team_<opaque>`). Always present."),
2406
+ name: zod.string().optional().describe("The team's name. Absent when the team can no longer be loaded.")
2407
+ }).optional().describe("A resolved reference to a team. Carries the team's id and name so a grant\nlist is readable without embedding the full Team body. Id and display ride\n`project.read` (ADR 059 rule 8): a reference field carrying only the\ntarget's id and display strings needs no gate of its own. Missing or\ndeleted teams degrade to `team_id` only.\n"),
2408
+ principal: zod.union([zod.union([zod.object({
2409
+ id: zod.string().regex(queryGrantsResponseGrantsItemPrincipalOneOneOneIdRegExp),
2410
+ schema: zod.string().describe("The schema that defines the content of `attributes`. These schemas can be\ncreated using the `/schemas` endpoint. A default schema is provided.\nThis schema can be retrieved using the same endpoint.\n"),
2411
+ attributes: zod.record(zod.string(), zod.unknown()).describe("The user's content, satisfying the schema named by `schema`. Property\nnames and types are determined entirely by that schema.\n"),
2412
+ metadata: zod.object({
2413
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the user was created."),
2414
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when the user was last updated."),
2415
+ status: zod.enum([
2416
+ "active",
2417
+ "suspended",
2418
+ "deactivated",
2419
+ "pending_purge"
2420
+ ]).describe("The status of the user."),
2421
+ lifecycle_owner_team_id: zod.union([zod.string(), zod.null()]).optional().describe("The team that owns this user's identity lifecycle, or `null` when the\nuser is self-owned. This is a single team and a different concept from\nthe user's team memberships: it decides who may deprovision the user, not\nwhich teams the user collaborates in. Memberships are their own paginated\nresource — `GET /users/{user_id}/teams`.\n"),
2422
+ lifecycle_owner_team: zod.union([zod.object({
2423
+ id: zod.string().describe("The unique identifier of the team."),
2424
+ name: zod.string().describe("The name of the team."),
2425
+ status: zod.enum(["active", "deactivated"]).describe("The lifecycle state of a team.\n\nactive: The team is available for use.\ndeactivated: The team is no longer active but is retained for historical and audit purposes.\n"),
2426
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the team was created."),
2427
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
2428
+ }).describe("Details of a team."), zod.null()]).optional().describe("The team named by `lifecycle_owner_team_id`, present only when the\nrequest asked for it with `expand: [\"lifecycle_owner_team\"]` (ADR 059).\nAbsent means it was not requested; `null` means the user is self-owned\nand there is no owner to resolve.\n\nRequesting it does not guarantee it is present on every user. Today\n`team.read` is checked once for the whole request, so it is; once that\ncheck is per team, a page may contain a user whose owner the caller may\nnot read, and such a row answers with neither the team nor `null` —\n`null` already means self-owned. What it answers with instead is decided\nwith the granular scopes (#420); do not read the two cases above as the\ncomplete set.\n\nThis is the same representation `GET /teams/{team_id}` serves. It is a\nsingle team, not a collection, so it carries no cap and no truncation\nflag.\n")
2429
+ }),
2430
+ identifier: zod.string().optional().describe("The current value of the user schema's designated identifier\n(`x-identifier`), resolved live at read time. Absent when the schema\ndesignates no identifier or the user carries no value for it.\n"),
2431
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
2432
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order, resolved live at read time. Purely presentational.\nAbsent when the schema designates no display properties or the user\ncarries no values for them. Clients render `display`, falling back\nto `identifier`, then `id`.\n"),
2433
+ teams: zod.array(zod.object({
2434
+ id: zod.string().describe("The unique identifier of the team."),
2435
+ name: zod.string().describe("The name of the team."),
2436
+ membership_status: zod.enum([
2437
+ "pending",
2438
+ "active",
2439
+ "inactive"
2440
+ ]).describe("The user's participation state on this team. Memberships the user was\nremoved from are not returned.\n"),
2441
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the user joined this team."),
2442
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when this membership was last changed.")
2443
+ }).describe("One entry of a user's team roster: a team the user belongs to, with the\nmembership's participation state. The team's `name` travels with the entry, so\na page renders without a follow-up `POST /teams/query` per row.\n\nRoster membership is not lifecycle ownership. A user can belong to many teams\nwhile still owning their own lifecycle — that single owning team is reported\nas `metadata.lifecycle_owner_team_id` on the user itself.\n")).optional().describe("The user's team memberships, present only when the request asked for them with\n`expand: [\"teams\"]` (ADR 059). Absent means it was not requested; `[]`\nmeans the user has none.\n\nDeliberately outside `metadata`: memberships are a related collection, not\npart of the server-owned envelope, and it is a different concept from\n`metadata.lifecycle_owner_team_id` (ADR 024).\n"),
2444
+ teams_truncated: zod.boolean().optional().describe("True when the user is on more teams than the embedded list carries. The\nembedded list is capped and cannot be paged; read them all at\n`GET /users/{user_id}/teams`. Present only alongside `teams`.\n")
2445
+ }).describe("A user represents an individual identity in the system. It can be used to\nrepresent a human user, but also a service account or any other type of\nidentity.\n\n`attributes` is the document that satisfies the user schema named by\n`schema`: its property names and types are defined entirely by that schema,\nand it is what the schema validates. The rest of the object — `id`,\n`schema`, `metadata` — is the server-owned envelope. Keeping the two apart\nmeans a schema may name a property `id` or `metadata` without colliding with\nthe envelope, and closed-world keywords (`additionalProperties: false`,\n`propertyNames`, `unevaluatedProperties`) behave as their author expects.\n"), zod.object({
2446
+ id: zod.string().describe("The unique identifier of the team."),
2447
+ name: zod.string().describe("The name of the team."),
2448
+ status: zod.enum(["active", "deactivated"]).describe("The lifecycle state of a team.\n\nactive: The team is available for use.\ndeactivated: The team is no longer active but is retained for historical and audit purposes.\n"),
2449
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the team was created."),
2450
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
2451
+ }).describe("Details of a team.")]).describe("The principal bound by a grant: the User body when `principal_type` is\n`user`, or the Team body when `principal_type` is `team`. Same\nrepresentation as `GET /users/{id}` and `GET /teams/{id}` respectively.\nClients discriminate with the grant's existing `principal_type`.\n"), zod.null()]).optional().describe("The principal named by `principal_id`, present only when the request\nasked for it with `expand: [\"principal\"]` (ADR 059). Absent means it\nwas not requested; `null` means the principal cannot be loaded\n(deleted or missing). GET and create never set this field.\n\nWhen present, the body is the same representation `GET /users/{id}`\nserves for `principal_type=user`, or `GET /teams/{id}` for\n`principal_type=team`. Discriminate with the grant's existing\n`principal_type`.\n\nRequires `user.read` and `team.read` in addition to `project.read`.\nBoth are checked on the whole request before the list.\n")
2452
+ }).describe("A collaboration grant binding a principal to a project relation.")),
2453
+ next_page_token: zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results. The follow-up request must repeat the\nsame `sorting` that produced this token (omit only when both pages use the default).\n")
2454
+ }).describe("Paginated list of grants.");
2455
+ /**
2268
2456
  * Loads a grant by `(project_id, id)` that this API manages (user or team
2269
2457
  bound to viewer, editor, or admin) and that has not been revoked.
2270
2458
  "Active" here means not revoked: expired grants stay visible so the
@@ -2279,6 +2467,8 @@ owning-team (`relation=team`) rows, and cross-project ids return 404.
2279
2467
  const GetGrantParams = zod.object({ id: zod.string().describe("Managed assignment id (`asgn_<opaque>`).") });
2280
2468
  const getGrantQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2281
2469
  const GetGrantQueryParams = zod.strictObject({ project_id: zod.string().regex(getGrantQueryProjectIdRegExp).describe("The unique identifier of the project") });
2470
+ const getGrantResponseUserUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
2471
+ const getGrantResponsePrincipalOneOneOneIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
2282
2472
  const GetGrantResponse = zod.object({
2283
2473
  id: zod.string().describe("Managed assignment id (`asgn_<opaque>`)."),
2284
2474
  project_id: zod.string().describe("Project this grant is scoped to."),
@@ -2291,7 +2481,61 @@ const GetGrantResponse = zod.object({
2291
2481
  "admin"
2292
2482
  ]).describe("Catalog relation on the project."),
2293
2483
  created_at: zod.iso.datetime({ offset: true }).describe("When the grant was created."),
2294
- expires_at: zod.union([zod.iso.datetime({ offset: true }), zod.null()]).optional().describe("When the grant expires. Null when it does not expire. GET still\nreturns expired unrevoked grants; authorization ignores them.\n")
2484
+ expires_at: zod.union([zod.iso.datetime({ offset: true }), zod.null()]).optional().describe("When the grant expires. Null when it does not expire. GET still\nreturns expired unrevoked grants; authorization ignores them.\n"),
2485
+ user: zod.object({
2486
+ user_id: zod.string().regex(getGrantResponseUserUserIdRegExp),
2487
+ identifier: zod.string().optional().describe("The current value of the schema's designated identifier\n(`x-identifier`). Absent when the schema designates no identifier or\nthe user carries no value for it.\n"),
2488
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
2489
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order. Purely presentational, with no source attribution.\nAbsent when the schema designates no display properties or the user\ncarries no values for them.\n")
2490
+ }).optional().describe("A resolved reference to a user (ADR 058 §3). Fields are role-named, not\nproperty-named, so responses can mix users from different schemas.\n`identifier` and `display` are resolved independently from the user\nschema's `x-identifier` and `x-display` designations, live at read time.\nClients render `display`, falling back to `identifier`, then `user_id`.\nMissing or deleted users degrade to `user_id` only.\n"),
2491
+ team: zod.object({
2492
+ team_id: zod.string().describe("The referenced team's id (`team_<opaque>`). Always present."),
2493
+ name: zod.string().optional().describe("The team's name. Absent when the team can no longer be loaded.")
2494
+ }).optional().describe("A resolved reference to a team. Carries the team's id and name so a grant\nlist is readable without embedding the full Team body. Id and display ride\n`project.read` (ADR 059 rule 8): a reference field carrying only the\ntarget's id and display strings needs no gate of its own. Missing or\ndeleted teams degrade to `team_id` only.\n"),
2495
+ principal: zod.union([zod.union([zod.object({
2496
+ id: zod.string().regex(getGrantResponsePrincipalOneOneOneIdRegExp),
2497
+ schema: zod.string().describe("The schema that defines the content of `attributes`. These schemas can be\ncreated using the `/schemas` endpoint. A default schema is provided.\nThis schema can be retrieved using the same endpoint.\n"),
2498
+ attributes: zod.record(zod.string(), zod.unknown()).describe("The user's content, satisfying the schema named by `schema`. Property\nnames and types are determined entirely by that schema.\n"),
2499
+ metadata: zod.object({
2500
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the user was created."),
2501
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when the user was last updated."),
2502
+ status: zod.enum([
2503
+ "active",
2504
+ "suspended",
2505
+ "deactivated",
2506
+ "pending_purge"
2507
+ ]).describe("The status of the user."),
2508
+ lifecycle_owner_team_id: zod.union([zod.string(), zod.null()]).optional().describe("The team that owns this user's identity lifecycle, or `null` when the\nuser is self-owned. This is a single team and a different concept from\nthe user's team memberships: it decides who may deprovision the user, not\nwhich teams the user collaborates in. Memberships are their own paginated\nresource — `GET /users/{user_id}/teams`.\n"),
2509
+ lifecycle_owner_team: zod.union([zod.object({
2510
+ id: zod.string().describe("The unique identifier of the team."),
2511
+ name: zod.string().describe("The name of the team."),
2512
+ status: zod.enum(["active", "deactivated"]).describe("The lifecycle state of a team.\n\nactive: The team is available for use.\ndeactivated: The team is no longer active but is retained for historical and audit purposes.\n"),
2513
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the team was created."),
2514
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
2515
+ }).describe("Details of a team."), zod.null()]).optional().describe("The team named by `lifecycle_owner_team_id`, present only when the\nrequest asked for it with `expand: [\"lifecycle_owner_team\"]` (ADR 059).\nAbsent means it was not requested; `null` means the user is self-owned\nand there is no owner to resolve.\n\nRequesting it does not guarantee it is present on every user. Today\n`team.read` is checked once for the whole request, so it is; once that\ncheck is per team, a page may contain a user whose owner the caller may\nnot read, and such a row answers with neither the team nor `null` —\n`null` already means self-owned. What it answers with instead is decided\nwith the granular scopes (#420); do not read the two cases above as the\ncomplete set.\n\nThis is the same representation `GET /teams/{team_id}` serves. It is a\nsingle team, not a collection, so it carries no cap and no truncation\nflag.\n")
2516
+ }),
2517
+ identifier: zod.string().optional().describe("The current value of the user schema's designated identifier\n(`x-identifier`), resolved live at read time. Absent when the schema\ndesignates no identifier or the user carries no value for it.\n"),
2518
+ identifier_property: zod.string().optional().describe("The schema property `identifier` came from, so clients can reach the\nproperty's schema for semantics (a mailto link, a field label)\ninstead of guessing from the value. Present exactly when\n`identifier` is.\n"),
2519
+ display: zod.string().optional().describe("The `x-display` rendering — the designated properties' values joined\nin list order, resolved live at read time. Purely presentational.\nAbsent when the schema designates no display properties or the user\ncarries no values for them. Clients render `display`, falling back\nto `identifier`, then `id`.\n"),
2520
+ teams: zod.array(zod.object({
2521
+ id: zod.string().describe("The unique identifier of the team."),
2522
+ name: zod.string().describe("The name of the team."),
2523
+ membership_status: zod.enum([
2524
+ "pending",
2525
+ "active",
2526
+ "inactive"
2527
+ ]).describe("The user's participation state on this team. Memberships the user was\nremoved from are not returned.\n"),
2528
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the user joined this team."),
2529
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when this membership was last changed.")
2530
+ }).describe("One entry of a user's team roster: a team the user belongs to, with the\nmembership's participation state. The team's `name` travels with the entry, so\na page renders without a follow-up `POST /teams/query` per row.\n\nRoster membership is not lifecycle ownership. A user can belong to many teams\nwhile still owning their own lifecycle — that single owning team is reported\nas `metadata.lifecycle_owner_team_id` on the user itself.\n")).optional().describe("The user's team memberships, present only when the request asked for them with\n`expand: [\"teams\"]` (ADR 059). Absent means it was not requested; `[]`\nmeans the user has none.\n\nDeliberately outside `metadata`: memberships are a related collection, not\npart of the server-owned envelope, and it is a different concept from\n`metadata.lifecycle_owner_team_id` (ADR 024).\n"),
2531
+ teams_truncated: zod.boolean().optional().describe("True when the user is on more teams than the embedded list carries. The\nembedded list is capped and cannot be paged; read them all at\n`GET /users/{user_id}/teams`. Present only alongside `teams`.\n")
2532
+ }).describe("A user represents an individual identity in the system. It can be used to\nrepresent a human user, but also a service account or any other type of\nidentity.\n\n`attributes` is the document that satisfies the user schema named by\n`schema`: its property names and types are defined entirely by that schema,\nand it is what the schema validates. The rest of the object — `id`,\n`schema`, `metadata` — is the server-owned envelope. Keeping the two apart\nmeans a schema may name a property `id` or `metadata` without colliding with\nthe envelope, and closed-world keywords (`additionalProperties: false`,\n`propertyNames`, `unevaluatedProperties`) behave as their author expects.\n"), zod.object({
2533
+ id: zod.string().describe("The unique identifier of the team."),
2534
+ name: zod.string().describe("The name of the team."),
2535
+ status: zod.enum(["active", "deactivated"]).describe("The lifecycle state of a team.\n\nactive: The team is available for use.\ndeactivated: The team is no longer active but is retained for historical and audit purposes.\n"),
2536
+ created_at: zod.iso.datetime({ offset: true }).describe("The time when the team was created."),
2537
+ updated_at: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
2538
+ }).describe("Details of a team.")]).describe("The principal bound by a grant: the User body when `principal_type` is\n`user`, or the Team body when `principal_type` is `team`. Same\nrepresentation as `GET /users/{id}` and `GET /teams/{id}` respectively.\nClients discriminate with the grant's existing `principal_type`.\n"), zod.null()]).optional().describe("The principal named by `principal_id`, present only when the request\nasked for it with `expand: [\"principal\"]` (ADR 059). Absent means it\nwas not requested; `null` means the principal cannot be loaded\n(deleted or missing). GET and create never set this field.\n\nWhen present, the body is the same representation `GET /users/{id}`\nserves for `principal_type=user`, or `GET /teams/{id}` for\n`principal_type=team`. Discriminate with the grant's existing\n`principal_type`.\n\nRequires `user.read` and `team.read` in addition to `project.read`.\nBoth are checked on the whole request before the list.\n")
2295
2539
  }).describe("A collaboration grant binding a principal to a project relation.");
2296
2540
  /**
2297
2541
  * Soft-revokes a grant this API manages and emits `authz.revoked`.
@@ -2368,10 +2612,10 @@ const listEventsResponseDataItemOnesixOneProjectIdRegExp = /* @__PURE__ */ new R
2368
2612
  const listEventsResponseDataItemOnesevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2369
2613
  const listEventsResponseDataItemOneeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2370
2614
  const listEventsResponseDataItemOnenineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2371
- const listEventsResponseDataItemOnenineTwoPayloadStatusMin = 100;
2372
- const listEventsResponseDataItemOnenineTwoPayloadStatusMax = 599;
2373
- const listEventsResponseDataItemOnenineTwoPayloadDurationMsMin = 0;
2374
2615
  const listEventsResponseDataItemTwozeroOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2616
+ const listEventsResponseDataItemTwozeroTwoPayloadStatusMin = 100;
2617
+ const listEventsResponseDataItemTwozeroTwoPayloadStatusMax = 599;
2618
+ const listEventsResponseDataItemTwozeroTwoPayloadDurationMsMin = 0;
2375
2619
  const listEventsResponseDataItemTwooneOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2376
2620
  const listEventsResponseDataItemTwotwoOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2377
2621
  const listEventsResponseDataItemTwothreeOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
@@ -2380,6 +2624,7 @@ const listEventsResponseDataItemTwofiveOneProjectIdRegExp = /* @__PURE__ */ new
2380
2624
  const listEventsResponseDataItemTwosixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2381
2625
  const listEventsResponseDataItemTwosevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2382
2626
  const listEventsResponseDataItemTwoeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2627
+ const listEventsResponseDataItemTwonineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
2383
2628
  const ListEventsResponse = zod.object({
2384
2629
  data: zod.array(zod.union([
2385
2630
  zod.object({
@@ -3322,6 +3567,63 @@ const ListEventsResponse = zod.object({
3322
3567
  user_agent: zod.string().optional().describe("Observed User-Agent header."),
3323
3568
  origin: zod.string().optional().describe("Origin header when present.")
3324
3569
  }).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
3570
+ }).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
3571
+ event_type: zod.literal("release.created"),
3572
+ payload: zod.object({
3573
+ content_hash: zod.string().optional(),
3574
+ message: zod.string().optional(),
3575
+ git_sha: zod.string().optional(),
3576
+ git_dirty: zod.boolean().optional(),
3577
+ pointers: zod.array(zod.object({
3578
+ kind: zod.string().optional(),
3579
+ handle: zod.string().optional(),
3580
+ revision_id: zod.string().optional()
3581
+ })).optional()
3582
+ }).describe("Allowlisted fields for `release.created`. The release id is already the\nevent's `entity_id`; the pinned set is repeated here so the audit stream\nanswers what a release contained without reading the release itself.\n")
3583
+ })).describe("Wide event with event_type=release.created.\n"),
3584
+ zod.object({
3585
+ id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3586
+ project_id: zod.string().regex(listEventsResponseDataItemTwozeroOneProjectIdRegExp),
3587
+ team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3588
+ event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3589
+ category: zod.enum([
3590
+ "request",
3591
+ "auth",
3592
+ "session",
3593
+ "admin",
3594
+ "entity",
3595
+ "signal"
3596
+ ]).describe("Wide-event category."),
3597
+ occurred_at: zod.iso.datetime({ offset: true }).describe("When the action happened (server/storage clock, dialect-owned)."),
3598
+ created_at: zod.iso.datetime({ offset: true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
3599
+ actor_id: zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
3600
+ actor_type: zod.union([zod.enum([
3601
+ "human",
3602
+ "service",
3603
+ "system",
3604
+ "agent"
3605
+ ]), zod.null()]).optional().describe("Actor kind."),
3606
+ entity_type: zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
3607
+ entity_id: zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
3608
+ client_id: zod.string().describe("Application or agent that produced the event."),
3609
+ token_id: zod.string().optional().describe("Token id present at emit time, when any."),
3610
+ delegation_type: zod.enum([
3611
+ "direct",
3612
+ "delegated",
3613
+ "pat_shared",
3614
+ "exchanged"
3615
+ ]).optional().describe("Delegation kind (omit when unset)."),
3616
+ delegation_id: zod.string().optional(),
3617
+ grantor: zod.string().optional(),
3618
+ fingerprint: zod.string().optional().describe("Device fingerprint correlation id."),
3619
+ request_id: zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
3620
+ session_id: zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
3621
+ flow_id: zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
3622
+ metadata: zod.object({ client: zod.object({
3623
+ ip: zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
3624
+ user_agent: zod.string().optional().describe("Observed User-Agent header."),
3625
+ origin: zod.string().optional().describe("Origin header when present.")
3626
+ }).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
3325
3627
  }).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
3326
3628
  event_type: zod.literal("request.api"),
3327
3629
  payload: zod.object({
@@ -3342,7 +3644,7 @@ const ListEventsResponse = zod.object({
3342
3644
  })).describe("Wide event with event_type=request.api.\n"),
3343
3645
  zod.object({
3344
3646
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3345
- project_id: zod.string().regex(listEventsResponseDataItemTwozeroOneProjectIdRegExp),
3647
+ project_id: zod.string().regex(listEventsResponseDataItemTwooneOneProjectIdRegExp),
3346
3648
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3347
3649
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3348
3650
  category: zod.enum([
@@ -3392,7 +3694,7 @@ const ListEventsResponse = zod.object({
3392
3694
  })).describe("Wide event with event_type=schema.created.\n"),
3393
3695
  zod.object({
3394
3696
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3395
- project_id: zod.string().regex(listEventsResponseDataItemTwooneOneProjectIdRegExp),
3697
+ project_id: zod.string().regex(listEventsResponseDataItemTwotwoOneProjectIdRegExp),
3396
3698
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3397
3699
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3398
3700
  category: zod.enum([
@@ -3439,7 +3741,7 @@ const ListEventsResponse = zod.object({
3439
3741
  })).describe("Wide event with event_type=session.deleted.\n"),
3440
3742
  zod.object({
3441
3743
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3442
- project_id: zod.string().regex(listEventsResponseDataItemTwotwoOneProjectIdRegExp),
3744
+ project_id: zod.string().regex(listEventsResponseDataItemTwothreeOneProjectIdRegExp),
3443
3745
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3444
3746
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3445
3747
  category: zod.enum([
@@ -3486,7 +3788,7 @@ const ListEventsResponse = zod.object({
3486
3788
  })).describe("Wide event with event_type=session.established.\n"),
3487
3789
  zod.object({
3488
3790
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3489
- project_id: zod.string().regex(listEventsResponseDataItemTwothreeOneProjectIdRegExp),
3791
+ project_id: zod.string().regex(listEventsResponseDataItemTwofourOneProjectIdRegExp),
3490
3792
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3491
3793
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3492
3794
  category: zod.enum([
@@ -3533,7 +3835,7 @@ const ListEventsResponse = zod.object({
3533
3835
  })).describe("Wide event with event_type=team.created.\n"),
3534
3836
  zod.object({
3535
3837
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3536
- project_id: zod.string().regex(listEventsResponseDataItemTwofourOneProjectIdRegExp),
3838
+ project_id: zod.string().regex(listEventsResponseDataItemTwofiveOneProjectIdRegExp),
3537
3839
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3538
3840
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3539
3841
  category: zod.enum([
@@ -3580,7 +3882,7 @@ const ListEventsResponse = zod.object({
3580
3882
  })).describe("Wide event with event_type=team.deactivated.\n"),
3581
3883
  zod.object({
3582
3884
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3583
- project_id: zod.string().regex(listEventsResponseDataItemTwofiveOneProjectIdRegExp),
3885
+ project_id: zod.string().regex(listEventsResponseDataItemTwosixOneProjectIdRegExp),
3584
3886
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3585
3887
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3586
3888
  category: zod.enum([
@@ -3627,7 +3929,7 @@ const ListEventsResponse = zod.object({
3627
3929
  })).describe("Wide event with event_type=team.updated.\n"),
3628
3930
  zod.object({
3629
3931
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3630
- project_id: zod.string().regex(listEventsResponseDataItemTwosixOneProjectIdRegExp),
3932
+ project_id: zod.string().regex(listEventsResponseDataItemTwosevenOneProjectIdRegExp),
3631
3933
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3632
3934
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3633
3935
  category: zod.enum([
@@ -3674,7 +3976,7 @@ const ListEventsResponse = zod.object({
3674
3976
  })).describe("Wide event with event_type=user.create.failed.\n"),
3675
3977
  zod.object({
3676
3978
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3677
- project_id: zod.string().regex(listEventsResponseDataItemTwosevenOneProjectIdRegExp),
3979
+ project_id: zod.string().regex(listEventsResponseDataItemTwoeightOneProjectIdRegExp),
3678
3980
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3679
3981
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3680
3982
  category: zod.enum([
@@ -3725,7 +4027,7 @@ const ListEventsResponse = zod.object({
3725
4027
  })).describe("Wide event with event_type=user.created.\n"),
3726
4028
  zod.object({
3727
4029
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
3728
- project_id: zod.string().regex(listEventsResponseDataItemTwoeightOneProjectIdRegExp),
4030
+ project_id: zod.string().regex(listEventsResponseDataItemTwonineOneProjectIdRegExp),
3729
4031
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
3730
4032
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
3731
4033
  category: zod.enum([
@@ -3804,10 +4106,10 @@ const getEventResponseOnesixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a
3804
4106
  const getEventResponseOnesevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3805
4107
  const getEventResponseOneeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3806
4108
  const getEventResponseOnenineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3807
- const getEventResponseOnenineTwoPayloadStatusMin = 100;
3808
- const getEventResponseOnenineTwoPayloadStatusMax = 599;
3809
- const getEventResponseOnenineTwoPayloadDurationMsMin = 0;
3810
4109
  const getEventResponseTwozeroOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
4110
+ const getEventResponseTwozeroTwoPayloadStatusMin = 100;
4111
+ const getEventResponseTwozeroTwoPayloadStatusMax = 599;
4112
+ const getEventResponseTwozeroTwoPayloadDurationMsMin = 0;
3811
4113
  const getEventResponseTwooneOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3812
4114
  const getEventResponseTwotwoOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3813
4115
  const getEventResponseTwothreeOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
@@ -3816,6 +4118,7 @@ const getEventResponseTwofiveOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[
3816
4118
  const getEventResponseTwosixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3817
4119
  const getEventResponseTwosevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3818
4120
  const getEventResponseTwoeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
4121
+ const getEventResponseTwonineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
3819
4122
  const GetEventResponse = zod.union([
3820
4123
  zod.object({
3821
4124
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
@@ -4757,6 +5060,63 @@ const GetEventResponse = zod.union([
4757
5060
  user_agent: zod.string().optional().describe("Observed User-Agent header."),
4758
5061
  origin: zod.string().optional().describe("Origin header when present.")
4759
5062
  }).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
5063
+ }).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
5064
+ event_type: zod.literal("release.created"),
5065
+ payload: zod.object({
5066
+ content_hash: zod.string().optional(),
5067
+ message: zod.string().optional(),
5068
+ git_sha: zod.string().optional(),
5069
+ git_dirty: zod.boolean().optional(),
5070
+ pointers: zod.array(zod.object({
5071
+ kind: zod.string().optional(),
5072
+ handle: zod.string().optional(),
5073
+ revision_id: zod.string().optional()
5074
+ })).optional()
5075
+ }).describe("Allowlisted fields for `release.created`. The release id is already the\nevent's `entity_id`; the pinned set is repeated here so the audit stream\nanswers what a release contained without reading the release itself.\n")
5076
+ })).describe("Wide event with event_type=release.created.\n"),
5077
+ zod.object({
5078
+ id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
5079
+ project_id: zod.string().regex(getEventResponseTwozeroOneProjectIdRegExp),
5080
+ team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
5081
+ event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
5082
+ category: zod.enum([
5083
+ "request",
5084
+ "auth",
5085
+ "session",
5086
+ "admin",
5087
+ "entity",
5088
+ "signal"
5089
+ ]).describe("Wide-event category."),
5090
+ occurred_at: zod.iso.datetime({ offset: true }).describe("When the action happened (server/storage clock, dialect-owned)."),
5091
+ created_at: zod.iso.datetime({ offset: true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
5092
+ actor_id: zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
5093
+ actor_type: zod.union([zod.enum([
5094
+ "human",
5095
+ "service",
5096
+ "system",
5097
+ "agent"
5098
+ ]), zod.null()]).optional().describe("Actor kind."),
5099
+ entity_type: zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
5100
+ entity_id: zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
5101
+ client_id: zod.string().describe("Application or agent that produced the event."),
5102
+ token_id: zod.string().optional().describe("Token id present at emit time, when any."),
5103
+ delegation_type: zod.enum([
5104
+ "direct",
5105
+ "delegated",
5106
+ "pat_shared",
5107
+ "exchanged"
5108
+ ]).optional().describe("Delegation kind (omit when unset)."),
5109
+ delegation_id: zod.string().optional(),
5110
+ grantor: zod.string().optional(),
5111
+ fingerprint: zod.string().optional().describe("Device fingerprint correlation id."),
5112
+ request_id: zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
5113
+ session_id: zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
5114
+ flow_id: zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
5115
+ metadata: zod.object({ client: zod.object({
5116
+ ip: zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
5117
+ user_agent: zod.string().optional().describe("Observed User-Agent header."),
5118
+ origin: zod.string().optional().describe("Origin header when present.")
5119
+ }).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
4760
5120
  }).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
4761
5121
  event_type: zod.literal("request.api"),
4762
5122
  payload: zod.object({
@@ -4777,7 +5137,7 @@ const GetEventResponse = zod.union([
4777
5137
  })).describe("Wide event with event_type=request.api.\n"),
4778
5138
  zod.object({
4779
5139
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
4780
- project_id: zod.string().regex(getEventResponseTwozeroOneProjectIdRegExp),
5140
+ project_id: zod.string().regex(getEventResponseTwooneOneProjectIdRegExp),
4781
5141
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
4782
5142
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
4783
5143
  category: zod.enum([
@@ -4827,7 +5187,7 @@ const GetEventResponse = zod.union([
4827
5187
  })).describe("Wide event with event_type=schema.created.\n"),
4828
5188
  zod.object({
4829
5189
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
4830
- project_id: zod.string().regex(getEventResponseTwooneOneProjectIdRegExp),
5190
+ project_id: zod.string().regex(getEventResponseTwotwoOneProjectIdRegExp),
4831
5191
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
4832
5192
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
4833
5193
  category: zod.enum([
@@ -4874,7 +5234,7 @@ const GetEventResponse = zod.union([
4874
5234
  })).describe("Wide event with event_type=session.deleted.\n"),
4875
5235
  zod.object({
4876
5236
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
4877
- project_id: zod.string().regex(getEventResponseTwotwoOneProjectIdRegExp),
5237
+ project_id: zod.string().regex(getEventResponseTwothreeOneProjectIdRegExp),
4878
5238
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
4879
5239
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
4880
5240
  category: zod.enum([
@@ -4921,7 +5281,7 @@ const GetEventResponse = zod.union([
4921
5281
  })).describe("Wide event with event_type=session.established.\n"),
4922
5282
  zod.object({
4923
5283
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
4924
- project_id: zod.string().regex(getEventResponseTwothreeOneProjectIdRegExp),
5284
+ project_id: zod.string().regex(getEventResponseTwofourOneProjectIdRegExp),
4925
5285
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
4926
5286
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
4927
5287
  category: zod.enum([
@@ -4968,7 +5328,7 @@ const GetEventResponse = zod.union([
4968
5328
  })).describe("Wide event with event_type=team.created.\n"),
4969
5329
  zod.object({
4970
5330
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
4971
- project_id: zod.string().regex(getEventResponseTwofourOneProjectIdRegExp),
5331
+ project_id: zod.string().regex(getEventResponseTwofiveOneProjectIdRegExp),
4972
5332
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
4973
5333
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
4974
5334
  category: zod.enum([
@@ -5015,7 +5375,7 @@ const GetEventResponse = zod.union([
5015
5375
  })).describe("Wide event with event_type=team.deactivated.\n"),
5016
5376
  zod.object({
5017
5377
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
5018
- project_id: zod.string().regex(getEventResponseTwofiveOneProjectIdRegExp),
5378
+ project_id: zod.string().regex(getEventResponseTwosixOneProjectIdRegExp),
5019
5379
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
5020
5380
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
5021
5381
  category: zod.enum([
@@ -5062,7 +5422,7 @@ const GetEventResponse = zod.union([
5062
5422
  })).describe("Wide event with event_type=team.updated.\n"),
5063
5423
  zod.object({
5064
5424
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
5065
- project_id: zod.string().regex(getEventResponseTwosixOneProjectIdRegExp),
5425
+ project_id: zod.string().regex(getEventResponseTwosevenOneProjectIdRegExp),
5066
5426
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
5067
5427
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
5068
5428
  category: zod.enum([
@@ -5109,7 +5469,7 @@ const GetEventResponse = zod.union([
5109
5469
  })).describe("Wide event with event_type=user.create.failed.\n"),
5110
5470
  zod.object({
5111
5471
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
5112
- project_id: zod.string().regex(getEventResponseTwosevenOneProjectIdRegExp),
5472
+ project_id: zod.string().regex(getEventResponseTwoeightOneProjectIdRegExp),
5113
5473
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
5114
5474
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
5115
5475
  category: zod.enum([
@@ -5160,7 +5520,7 @@ const GetEventResponse = zod.union([
5160
5520
  })).describe("Wide event with event_type=user.created.\n"),
5161
5521
  zod.object({
5162
5522
  id: zod.string().describe("Managed event id (`evt_<opaque>`)."),
5163
- project_id: zod.string().regex(getEventResponseTwoeightOneProjectIdRegExp),
5523
+ project_id: zod.string().regex(getEventResponseTwonineOneProjectIdRegExp),
5164
5524
  team_id: zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
5165
5525
  event_type: zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
5166
5526
  category: zod.enum([
@@ -5207,6 +5567,6 @@ const GetEventResponse = zod.union([
5207
5567
  })).describe("Wide event with event_type=user.deleted.\n")
5208
5568
  ]).describe("Discriminated wide-event union (ADR 048 / ADR 049). Clients select the\nmember via event_type; each member carries a typed payload.\n");
5209
5569
  //#endregion
5210
- export { BeginUserPasskeyRegistrationBody, BeginUserPasskeyRegistrationParams, CompleteClaimBody, CompleteClaimParams, CompleteClaimResponse, CreateAuthAttemptBody, CreateBrandingBody, CreateBrandingQueryParams, CreateFlowBody, CreateFlowDefinitionBody, CreateGrantBody, CreateGrantQueryParams, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateProjectBody, CreateReleaseBody, CreateReleaseQueryParams, CreateReleaseResponse, CreateSchemaBody, CreateSchemaQueryParams, CreateSessionBody, CreateTeamBody, CreateTeamQueryParams, CreateUserBody, CreateUserQueryParams, DeleteFlowDefinitionParams, DeleteGrantParams, DeleteGrantQueryParams, DeleteTeamParams, DeleteUserByIDParams, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, FinishUserPasskeyRegistrationBody, FinishUserPasskeyRegistrationParams, GetAuthAttemptParams, GetAuthAttemptResponse, GetBrandingByIdParams, GetBrandingByIdResponse, GetClaimStatusParams, GetClaimStatusQueryParams, GetClaimStatusResponse, GetEnvironmentByNameParams, GetEnvironmentByNameQueryParams, GetEnvironmentByNameResponse, GetEventParams, GetEventQueryParams, GetEventResponse, GetFlowDefinitionParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetGrantParams, GetGrantQueryParams, GetGrantResponse, GetMySessionResponse, GetMyUserResponse, GetProjectParams, GetProjectResponse, GetReleaseByIdParams, GetReleaseByIdQueryParams, GetReleaseByIdResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionResponse, GetTeamParams, GetTeamResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, InitClaimParams, IssueChallengeBody, IssueChallengeParams, ListBrandingQueryParams, ListBrandingResponse, ListBrandingResponseItem, ListEnvironmentsQueryParams, ListEnvironmentsResponse, ListEventsQueryParams, ListEventsResponse, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListReleasesQueryParams, ListReleasesResponse, ListSchemasQueryParams, ListSchemasResponse, ListUserPasskeysParams, ListUserPasskeysQueryParams, ListUserPasskeysResponse, ListUserTeamsParams, ListUserTeamsQueryParams, ListUserTeamsResponse, PatchProjectBody, PatchProjectParams, PatchProjectResponse, QueryProjectsBody, QueryProjectsResponse, QuerySessionsBody, QuerySessionsQueryParams, QuerySessionsResponse, QueryTeamsBody, QueryTeamsQueryParams, QueryTeamsResponse, QueryUsersBody, QueryUsersResponse, RevokeSessionParams, SetUserPasswordBody, SetUserPasswordParams, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateFlowDefinitionBody, UpdateFlowDefinitionParams, UpdateFlowDefinitionResponse, UpdateTeamBody, UpdateTeamParams, UpdateTeamResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, beginUserPasskeyRegistrationPathUserIdRegExp, completeClaimBodyChallengeIdRegExp, completeClaimPathProjectIdRegExp, completeClaimResponseProjectIdRegExp, completeClaimResponseTeamIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createBrandingBodyLayoutDefault, createBrandingBodyLiquidTemplateMax, createBrandingQueryProjectIdRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyProjectIdRegExp, createGrantQueryProjectIdRegExp, createHandoffPathAttemptIdRegExp, createProjectBodySeedDefaultsDefault, createReleaseBodyGitDirtyDefault, createReleaseBodyGitShaMax, createReleaseBodyMessageMax, createReleaseBodyPointersItemRevisionIdMax, createReleaseQueryProjectIdRegExp, createReleaseResponseIdRegExp, createReleaseResponseMetadataGitDirtyDefault, createReleaseResponseMetadataGitShaOneMax, createReleaseResponseMetadataMessageOneMax, createReleaseResponsePointersItemHandleMax, createReleaseResponsePointersItemRevisionIdMax, createReleaseResponseProjectIdRegExp, createSchemaBodyOneObjectTypeMax, createSchemaBodyOnePropertiesXAuditDefault, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createTeamBodyNameMax, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, deleteGrantQueryProjectIdRegExp, deleteTeamPathTeamIdRegExp, deleteUserByIDPathUserIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, finishUserPasskeyRegistrationPathUserIdRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getBrandingByIdResponseBrandingLayoutDefault, getBrandingByIdResponseBrandingLiquidTemplateMax, getClaimStatusPathProjectIdRegExp, getClaimStatusQueryChallengeIdRegExp, getClaimStatusResponseTwoTeamIdRegExp, getEnvironmentByNamePathNameMax, getEnvironmentByNamePathNameRegExp, getEnvironmentByNameQueryProjectIdRegExp, getEnvironmentByNameResponseNameMax, getEnvironmentByNameResponseNameRegExp, getEnvironmentByNameResponseProjectIdRegExp, getEventQueryProjectIdRegExp, getEventResponseEightOneProjectIdRegExp, getEventResponseFiveOneProjectIdRegExp, getEventResponseFourOneProjectIdRegExp, getEventResponseNineOneProjectIdRegExp, getEventResponseOneOneProjectIdRegExp, getEventResponseOneeightOneProjectIdRegExp, getEventResponseOnefiveOneProjectIdRegExp, getEventResponseOnefourOneProjectIdRegExp, getEventResponseOnenineOneProjectIdRegExp, getEventResponseOnenineTwoPayloadDurationMsMin, getEventResponseOnenineTwoPayloadStatusMax, getEventResponseOnenineTwoPayloadStatusMin, getEventResponseOneoneOneProjectIdRegExp, getEventResponseOnesevenOneProjectIdRegExp, getEventResponseOnesixOneProjectIdRegExp, getEventResponseOnethreeOneProjectIdRegExp, getEventResponseOnetwoOneProjectIdRegExp, getEventResponseOnezeroOneProjectIdRegExp, getEventResponseSevenOneProjectIdRegExp, getEventResponseSixOneProjectIdRegExp, getEventResponseThreeOneProjectIdRegExp, getEventResponseTwoOneProjectIdRegExp, getEventResponseTwoeightOneProjectIdRegExp, getEventResponseTwofiveOneProjectIdRegExp, getEventResponseTwofourOneProjectIdRegExp, getEventResponseTwooneOneProjectIdRegExp, getEventResponseTwosevenOneProjectIdRegExp, getEventResponseTwosixOneProjectIdRegExp, getEventResponseTwothreeOneProjectIdRegExp, getEventResponseTwotwoOneProjectIdRegExp, getEventResponseTwozeroOneProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseBrandingLiquidTemplateMax, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getGrantQueryProjectIdRegExp, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getMyUserResponseIdRegExp, getProjectPathProjectIdRegExp, getReleaseByIdPathReleaseIdRegExp, getReleaseByIdQueryProjectIdRegExp, getReleaseByIdResponseIdRegExp, getReleaseByIdResponseMetadataGitDirtyDefault, getReleaseByIdResponseMetadataGitShaOneMax, getReleaseByIdResponseMetadataMessageOneMax, getReleaseByIdResponsePointersItemHandleMax, getReleaseByIdResponsePointersItemRevisionIdMax, getReleaseByIdResponseProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseSchemaOneObjectTypeMax, getSchemaByIdResponseSchemaOnePropertiesXAuditDefault, getSessionPathSessionIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getTeamPathTeamIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryTeamIdRegExp, getUserByIDResponseIdRegExp, initClaimPathProjectIdRegExp, issueChallengePathAttemptIdRegExp, listBrandingQueryProjectIdRegExp, listEnvironmentsQueryLimitDefault, listEnvironmentsQueryLimitMax, listEnvironmentsQueryProjectIdRegExp, listEnvironmentsResponseEnvironmentsItemNameMax, listEnvironmentsResponseEnvironmentsItemNameRegExp, listEnvironmentsResponseEnvironmentsItemProjectIdRegExp, listEventsQueryLimitDefault, listEventsQueryLimitMax, listEventsQueryOrderDefault, listEventsQueryProjectIdRegExp, listEventsResponseDataItemEightOneProjectIdRegExp, listEventsResponseDataItemFiveOneProjectIdRegExp, listEventsResponseDataItemFourOneProjectIdRegExp, listEventsResponseDataItemNineOneProjectIdRegExp, listEventsResponseDataItemOneOneProjectIdRegExp, listEventsResponseDataItemOneeightOneProjectIdRegExp, listEventsResponseDataItemOnefiveOneProjectIdRegExp, listEventsResponseDataItemOnefourOneProjectIdRegExp, listEventsResponseDataItemOnenineOneProjectIdRegExp, listEventsResponseDataItemOnenineTwoPayloadDurationMsMin, listEventsResponseDataItemOnenineTwoPayloadStatusMax, listEventsResponseDataItemOnenineTwoPayloadStatusMin, listEventsResponseDataItemOneoneOneProjectIdRegExp, listEventsResponseDataItemOnesevenOneProjectIdRegExp, listEventsResponseDataItemOnesixOneProjectIdRegExp, listEventsResponseDataItemOnethreeOneProjectIdRegExp, listEventsResponseDataItemOnetwoOneProjectIdRegExp, listEventsResponseDataItemOnezeroOneProjectIdRegExp, listEventsResponseDataItemSevenOneProjectIdRegExp, listEventsResponseDataItemSixOneProjectIdRegExp, listEventsResponseDataItemThreeOneProjectIdRegExp, listEventsResponseDataItemTwoOneProjectIdRegExp, listEventsResponseDataItemTwoeightOneProjectIdRegExp, listEventsResponseDataItemTwofiveOneProjectIdRegExp, listEventsResponseDataItemTwofourOneProjectIdRegExp, listEventsResponseDataItemTwooneOneProjectIdRegExp, listEventsResponseDataItemTwosevenOneProjectIdRegExp, listEventsResponseDataItemTwosixOneProjectIdRegExp, listEventsResponseDataItemTwothreeOneProjectIdRegExp, listEventsResponseDataItemTwotwoOneProjectIdRegExp, listEventsResponseDataItemTwozeroOneProjectIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault, listReleasesQueryLimitDefault, listReleasesQueryLimitMax, listReleasesQueryProjectIdRegExp, listReleasesResponseReleasesItemIdRegExp, listReleasesResponseReleasesItemMetadataGitDirtyDefault, listReleasesResponseReleasesItemMetadataGitShaOneMax, listReleasesResponseReleasesItemMetadataMessageOneMax, listReleasesResponseReleasesItemProjectIdRegExp, listSchemasQueryLimitDefault, listSchemasQueryLimitMax, listSchemasQueryObjectTypeMax, listSchemasQueryProjectIdRegExp, listSchemasQueryRevisionsDefault, listSchemasResponseSchemasItemSchemaOneObjectTypeMax, listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault, listUserPasskeysPathUserIdRegExp, listUserPasskeysQueryLimitDefault, listUserPasskeysQueryLimitMax, listUserTeamsPathUserIdRegExp, listUserTeamsQueryLimitDefault, listUserTeamsQueryLimitMax, patchProjectPathProjectIdRegExp, queryProjectsBodyLimitDefault, queryProjectsBodyLimitMax, querySessionsBodyLimitDefault, querySessionsBodyLimitMax, querySessionsQueryProjectIdRegExp, querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, querySessionsResponseSessionsItemProjectIdRegExp, querySessionsResponseSessionsItemSessionIdRegExp, querySessionsResponseSessionsItemUserIdOneRegExp, queryTeamsBodyLimitDefault, queryTeamsBodyLimitMax, queryTeamsQueryProjectIdRegExp, queryUsersBodyLimitDefault, queryUsersBodyLimitMax, queryUsersResponseUsersItemIdRegExp, revokeSessionPathSessionIdRegExp, setUserPasswordPathUserIdRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseBrandingLiquidTemplateMax, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateFlowDefinitionBodyFlowDefinitionNameRegExp, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionResponseFlowDefinitionNameRegExp, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, updateFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, updateTeamBodyNameMax, updateTeamPathTeamIdRegExp, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
5570
+ export { BeginUserPasskeyRegistrationBody, BeginUserPasskeyRegistrationParams, CompleteClaimBody, CompleteClaimParams, CompleteClaimResponse, CreateAuthAttemptBody, CreateBrandingBody, CreateBrandingQueryParams, CreateFlowBody, CreateFlowDefinitionBody, CreateGrantBody, CreateGrantQueryParams, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateProjectBody, CreateReleaseBody, CreateReleaseQueryParams, CreateReleaseResponse, CreateSchemaBody, CreateSchemaQueryParams, CreateSessionBody, CreateTeamBody, CreateTeamQueryParams, CreateUserBody, CreateUserQueryParams, DeleteFlowDefinitionParams, DeleteGrantParams, DeleteGrantQueryParams, DeleteTeamParams, DeleteUserByIDParams, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, FinishUserPasskeyRegistrationBody, FinishUserPasskeyRegistrationParams, GetAuthAttemptParams, GetAuthAttemptResponse, GetBrandingByIdParams, GetBrandingByIdResponse, GetClaimStatusParams, GetClaimStatusQueryParams, GetClaimStatusResponse, GetClaimWindowParams, GetClaimWindowQueryParams, GetClaimWindowResponse, GetEnvironmentByNameParams, GetEnvironmentByNameQueryParams, GetEnvironmentByNameResponse, GetEventParams, GetEventQueryParams, GetEventResponse, GetFlowDefinitionParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetGrantParams, GetGrantQueryParams, GetGrantResponse, GetMySessionResponse, GetMyUserResponse, GetProjectParams, GetProjectResponse, GetReleaseByIdParams, GetReleaseByIdQueryParams, GetReleaseByIdResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionResponse, GetTeamParams, GetTeamResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, InitClaimParams, IssueChallengeBody, IssueChallengeParams, ListBrandingQueryParams, ListBrandingResponse, ListBrandingResponseItem, ListEnvironmentsQueryParams, ListEnvironmentsResponse, ListEventsQueryParams, ListEventsResponse, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListReleasesQueryParams, ListReleasesResponse, ListSchemasQueryParams, ListSchemasResponse, ListUserPasskeysParams, ListUserPasskeysQueryParams, ListUserPasskeysResponse, ListUserTeamsParams, ListUserTeamsQueryParams, ListUserTeamsResponse, PatchProjectBody, PatchProjectParams, PatchProjectResponse, QueryGrantsBody, QueryGrantsQueryParams, QueryGrantsResponse, QueryProjectsBody, QueryProjectsResponse, QuerySessionsBody, QuerySessionsQueryParams, QuerySessionsResponse, QueryTeamsBody, QueryTeamsQueryParams, QueryTeamsResponse, QueryUsersBody, QueryUsersResponse, RevokeSessionParams, SetUserPasswordBody, SetUserPasswordParams, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateFlowDefinitionBody, UpdateFlowDefinitionParams, UpdateFlowDefinitionResponse, UpdateTeamBody, UpdateTeamParams, UpdateTeamResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, beginUserPasskeyRegistrationPathUserIdRegExp, completeClaimBodyChallengeIdRegExp, completeClaimPathProjectIdRegExp, completeClaimResponseProjectIdRegExp, completeClaimResponseTeamIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createBrandingBodyLayoutDefault, createBrandingBodyLiquidTemplateMax, createBrandingQueryProjectIdRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyProjectIdRegExp, createGrantQueryProjectIdRegExp, createHandoffPathAttemptIdRegExp, createProjectBodySeedDefaultsDefault, createReleaseBodyGitDirtyDefault, createReleaseBodyGitShaMax, createReleaseBodyMessageMax, createReleaseBodyPointersItemRevisionIdMax, createReleaseQueryProjectIdRegExp, createReleaseResponseIdRegExp, createReleaseResponseMetadataGitDirtyDefault, createReleaseResponseMetadataGitShaOneMax, createReleaseResponseMetadataMessageOneMax, createReleaseResponsePointersItemHandleMax, createReleaseResponsePointersItemRevisionIdMax, createReleaseResponseProjectIdRegExp, createSchemaBodyOneObjectTypeMax, createSchemaBodyOnePropertiesXAuditDefault, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createTeamBodyNameMax, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, deleteGrantQueryProjectIdRegExp, deleteTeamPathTeamIdRegExp, deleteUserByIDPathUserIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, exchangeHandoffResponseSessionUserUserIdRegExp, finishUserPasskeyRegistrationPathUserIdRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getBrandingByIdResponseBrandingLayoutDefault, getBrandingByIdResponseBrandingLiquidTemplateMax, getClaimStatusPathProjectIdRegExp, getClaimStatusQueryChallengeIdRegExp, getClaimStatusResponseTwoTeamIdRegExp, getClaimWindowPathProjectIdRegExp, getClaimWindowQueryChallengeIdRegExp, getEnvironmentByNamePathNameMax, getEnvironmentByNamePathNameRegExp, getEnvironmentByNameQueryProjectIdRegExp, getEnvironmentByNameResponseNameMax, getEnvironmentByNameResponseNameRegExp, getEnvironmentByNameResponseProjectIdRegExp, getEventQueryProjectIdRegExp, getEventResponseEightOneProjectIdRegExp, getEventResponseFiveOneProjectIdRegExp, getEventResponseFourOneProjectIdRegExp, getEventResponseNineOneProjectIdRegExp, getEventResponseOneOneProjectIdRegExp, getEventResponseOneeightOneProjectIdRegExp, getEventResponseOnefiveOneProjectIdRegExp, getEventResponseOnefourOneProjectIdRegExp, getEventResponseOnenineOneProjectIdRegExp, getEventResponseOneoneOneProjectIdRegExp, getEventResponseOnesevenOneProjectIdRegExp, getEventResponseOnesixOneProjectIdRegExp, getEventResponseOnethreeOneProjectIdRegExp, getEventResponseOnetwoOneProjectIdRegExp, getEventResponseOnezeroOneProjectIdRegExp, getEventResponseSevenOneProjectIdRegExp, getEventResponseSixOneProjectIdRegExp, getEventResponseThreeOneProjectIdRegExp, getEventResponseTwoOneProjectIdRegExp, getEventResponseTwoeightOneProjectIdRegExp, getEventResponseTwofiveOneProjectIdRegExp, getEventResponseTwofourOneProjectIdRegExp, getEventResponseTwonineOneProjectIdRegExp, getEventResponseTwooneOneProjectIdRegExp, getEventResponseTwosevenOneProjectIdRegExp, getEventResponseTwosixOneProjectIdRegExp, getEventResponseTwothreeOneProjectIdRegExp, getEventResponseTwotwoOneProjectIdRegExp, getEventResponseTwozeroOneProjectIdRegExp, getEventResponseTwozeroTwoPayloadDurationMsMin, getEventResponseTwozeroTwoPayloadStatusMax, getEventResponseTwozeroTwoPayloadStatusMin, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseBrandingLiquidTemplateMax, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getGrantQueryProjectIdRegExp, getGrantResponsePrincipalOneOneOneIdRegExp, getGrantResponseUserUserIdRegExp, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getMySessionResponseUserUserIdRegExp, getMyUserResponseIdRegExp, getProjectPathProjectIdRegExp, getReleaseByIdPathReleaseIdRegExp, getReleaseByIdQueryProjectIdRegExp, getReleaseByIdResponseIdRegExp, getReleaseByIdResponseMetadataGitDirtyDefault, getReleaseByIdResponseMetadataGitShaOneMax, getReleaseByIdResponseMetadataMessageOneMax, getReleaseByIdResponsePointersItemHandleMax, getReleaseByIdResponsePointersItemRevisionIdMax, getReleaseByIdResponseProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseSchemaOneObjectTypeMax, getSchemaByIdResponseSchemaOnePropertiesXAuditDefault, getSessionPathSessionIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getSessionResponseUserUserIdRegExp, getTeamPathTeamIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryTeamIdRegExp, getUserByIDResponseIdRegExp, initClaimPathProjectIdRegExp, issueChallengePathAttemptIdRegExp, listBrandingQueryProjectIdRegExp, listEnvironmentsQueryLimitDefault, listEnvironmentsQueryLimitMax, listEnvironmentsQueryProjectIdRegExp, listEnvironmentsResponseEnvironmentsItemNameMax, listEnvironmentsResponseEnvironmentsItemNameRegExp, listEnvironmentsResponseEnvironmentsItemProjectIdRegExp, listEventsQueryLimitDefault, listEventsQueryLimitMax, listEventsQueryOrderDefault, listEventsQueryProjectIdRegExp, listEventsResponseDataItemEightOneProjectIdRegExp, listEventsResponseDataItemFiveOneProjectIdRegExp, listEventsResponseDataItemFourOneProjectIdRegExp, listEventsResponseDataItemNineOneProjectIdRegExp, listEventsResponseDataItemOneOneProjectIdRegExp, listEventsResponseDataItemOneeightOneProjectIdRegExp, listEventsResponseDataItemOnefiveOneProjectIdRegExp, listEventsResponseDataItemOnefourOneProjectIdRegExp, listEventsResponseDataItemOnenineOneProjectIdRegExp, listEventsResponseDataItemOneoneOneProjectIdRegExp, listEventsResponseDataItemOnesevenOneProjectIdRegExp, listEventsResponseDataItemOnesixOneProjectIdRegExp, listEventsResponseDataItemOnethreeOneProjectIdRegExp, listEventsResponseDataItemOnetwoOneProjectIdRegExp, listEventsResponseDataItemOnezeroOneProjectIdRegExp, listEventsResponseDataItemSevenOneProjectIdRegExp, listEventsResponseDataItemSixOneProjectIdRegExp, listEventsResponseDataItemThreeOneProjectIdRegExp, listEventsResponseDataItemTwoOneProjectIdRegExp, listEventsResponseDataItemTwoeightOneProjectIdRegExp, listEventsResponseDataItemTwofiveOneProjectIdRegExp, listEventsResponseDataItemTwofourOneProjectIdRegExp, listEventsResponseDataItemTwonineOneProjectIdRegExp, listEventsResponseDataItemTwooneOneProjectIdRegExp, listEventsResponseDataItemTwosevenOneProjectIdRegExp, listEventsResponseDataItemTwosixOneProjectIdRegExp, listEventsResponseDataItemTwothreeOneProjectIdRegExp, listEventsResponseDataItemTwotwoOneProjectIdRegExp, listEventsResponseDataItemTwozeroOneProjectIdRegExp, listEventsResponseDataItemTwozeroTwoPayloadDurationMsMin, listEventsResponseDataItemTwozeroTwoPayloadStatusMax, listEventsResponseDataItemTwozeroTwoPayloadStatusMin, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryNameRegExp, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault, listReleasesQueryLimitDefault, listReleasesQueryLimitMax, listReleasesQueryProjectIdRegExp, listReleasesResponseReleasesItemIdRegExp, listReleasesResponseReleasesItemMetadataGitDirtyDefault, listReleasesResponseReleasesItemMetadataGitShaOneMax, listReleasesResponseReleasesItemMetadataMessageOneMax, listReleasesResponseReleasesItemProjectIdRegExp, listSchemasQueryLimitDefault, listSchemasQueryLimitMax, listSchemasQueryObjectTypeMax, listSchemasQueryProjectIdRegExp, listSchemasQueryRevisionsDefault, listSchemasResponseSchemasItemSchemaOneObjectTypeMax, listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault, listUserPasskeysPathUserIdRegExp, listUserPasskeysQueryLimitDefault, listUserPasskeysQueryLimitMax, listUserTeamsPathUserIdRegExp, listUserTeamsQueryLimitDefault, listUserTeamsQueryLimitMax, patchProjectPathProjectIdRegExp, queryGrantsBodyLimitDefault, queryGrantsBodyLimitMax, queryGrantsQueryProjectIdRegExp, queryGrantsResponseGrantsItemPrincipalOneOneOneIdRegExp, queryGrantsResponseGrantsItemUserUserIdRegExp, queryProjectsBodyLimitDefault, queryProjectsBodyLimitMax, querySessionsBodyLimitDefault, querySessionsBodyLimitMax, querySessionsQueryProjectIdRegExp, querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, querySessionsResponseSessionsItemProjectIdRegExp, querySessionsResponseSessionsItemSessionIdRegExp, querySessionsResponseSessionsItemUserIdOneRegExp, querySessionsResponseSessionsItemUserUserIdRegExp, queryTeamsBodyLimitDefault, queryTeamsBodyLimitMax, queryTeamsQueryProjectIdRegExp, queryUsersBodyLimitDefault, queryUsersBodyLimitMax, queryUsersResponseUsersItemIdRegExp, revokeSessionPathSessionIdRegExp, setUserPasswordPathUserIdRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseBrandingLiquidTemplateMax, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateFlowDefinitionBodyFlowDefinitionNameRegExp, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionResponseFlowDefinitionNameRegExp, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, updateFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, updateTeamBodyNameMax, updateTeamPathTeamIdRegExp, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
5211
5571
 
5212
5572
  //# sourceMappingURL=zitadelNextGen.zod.mjs.map