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

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 (34) hide show
  1. package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
  2. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
  3. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  4. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +123 -40
  5. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +53 -24
  7. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +38 -9
  9. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  10. package/dist/generated/model/index.d.mts +2 -2
  11. package/dist/{index-BpCgp2NY.d.mts → index-BK4Q468Q.d.mts} +289 -82
  12. package/dist/index-BK4Q468Q.d.mts.map +1 -0
  13. package/dist/runtime/api-factory.d.mts +1 -1
  14. package/dist/{zitadelNextGen-C4IZjGCT.d.mts → zitadelNextGen-C8m49W5h.d.mts} +2 -2
  15. package/dist/{zitadelNextGen-C4IZjGCT.d.mts.map → zitadelNextGen-C8m49W5h.d.mts.map} +1 -1
  16. package/package.json +1 -1
  17. package/src/generated/endpoints/zitadelNextGen.msw.ts +128 -30
  18. package/src/generated/endpoints/zitadelNextGen.zod.ts +152 -36
  19. package/src/generated/model/createSession201Session.ts +7 -16
  20. package/src/generated/model/createSession201SessionUser.ts +37 -0
  21. package/src/generated/model/createUser201.ts +18 -0
  22. package/src/generated/model/exchangeHandoff200Session.ts +7 -16
  23. package/src/generated/model/exchangeHandoff200SessionUser.ts +37 -0
  24. package/src/generated/model/getMySession200.ts +7 -16
  25. package/src/generated/model/getMySession200User.ts +37 -0
  26. package/src/generated/model/getMyUser200.ts +18 -0
  27. package/src/generated/model/getSession200.ts +7 -16
  28. package/src/generated/model/getSession200User.ts +37 -0
  29. package/src/generated/model/getUserByID200.ts +18 -0
  30. package/src/generated/model/index.ts +5 -0
  31. package/src/generated/model/querySessions200SessionsItem.ts +7 -16
  32. package/src/generated/model/querySessions200SessionsItemUser.ts +37 -0
  33. package/src/generated/model/queryUsers200UsersItem.ts +18 -0
  34. package/dist/index-BpCgp2NY.d.mts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"zitadelNextGen.zod.mjs","names":[],"sources":["../../../src/generated/endpoints/zitadelNextGen.zod.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Zitadel NextGen\n * This is the next generation of the Zitadel identity platform.\n * OpenAPI spec version: 0.0.1\n */\nimport * as zod from \"zod\";\n\n/**\n * @summary Create user\n */\nexport const createUserQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createUserQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateUserQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createUserQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n team_id: zod\n .string()\n .regex(createUserQueryTeamIdRegExp)\n .optional()\n .describe(\n \"Adds the new user to this team: creating the user also creates an\\nactive membership in it. Omit it to create a user with no memberships.\\n\\nThis is team membership, not lifecycle ownership. It does not decide\\nwho may deprovision the user, and the created user stays self-owned\\neither way. The owning team is reported on reads as\\n`metadata.lifecycle_owner_team_id` and cannot be set through this API.\\nSee ADR 024.\\n\\nThe team also scopes team-unique attributes for this create: an\\nattribute the schema marks unique per team is checked against this\\nteam's members.\\n\",\n ),\n});\n\nexport const CreateUserBody = zod\n .object({\n schema: zod\n .string()\n .min(1)\n .describe(\n \"The schema that defines the content of `attributes`. These schemas can be\\ncreated using the `\\/schemas` endpoint. A default schema is provided.\\n\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's schema-defined content. Validated against `schema`; a\\nproperty the schema does not permit is rejected with `user.invalid`.\\n\",\n ),\n })\n .describe(\n \"`attributes` is the document that must satisfy the user schema named by\\n`schema`.\\n\\nThe resource primary key is server-assigned and returned in the response, so\\nthe request carries no `id`; `metadata` is server-owned for the same reason.\\nNeither is part of this schema, which is what frees a user schema to declare\\nproperties of those names.\\n\\nA request carrying any other top-level property is rejected rather than\\nignored. `attributes` stays open, since the user schema is what determines\\nwhat belongs in it.\\n\",\n );\n\n/**\n * Returns the users of a project, paginated with a cursor.\n\nThe project comes from the credential, not from a parameter: the operation\nis bound to the token's own project by construction. This is why it takes\nno `project_id`, unlike the other query endpoints.\n\n * @summary Query users\n */\nexport const queryUsersBodyLimitDefault = 20;\nexport const queryUsersBodyLimitMax = 100;\n\nexport const QueryUsersBody = zod\n .object({\n limit: zod.number().min(1).max(queryUsersBodyLimitMax).default(queryUsersBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n expand: zod\n .array(\n zod\n .enum([\"teams\", \"lifecycle_owner_team\"])\n .describe(\n 'A related object to embed on each returned user (ADR 059).\\n\\n- `teams`: the user\\'s team memberships, as `teams` on each user. The property\\n is omitted entirely when not requested and `[]` when the user has none, so\\n \\\"did not ask\\\" is distinguishable from \\\"there are none\\\". Embedded lists are\\n capped and are not paginated: past the cap the user carries\\n `teams_truncated: true` and the whole list is read at\\n `GET \\/users\\/{user_id}\\/teams`.\\n\\n Membership is team participation, not lifecycle ownership — the\\n owning team stays at `metadata.lifecycle_owner_team_id` (ADR 024).\\n\\n Requires `team_membership.read` in addition to `user.read`.\\n\\n- `lifecycle_owner_team`: the team that owns the user\\'s identity lifecycle,\\n as `metadata.lifecycle_owner_team`. It resolves the id already carried at\\n `metadata.lifecycle_owner_team_id`, and serves the same representation as\\n `GET \\/teams\\/{team_id}`. The property is omitted when not requested and\\n `null` when the user is self-owned. One team, so no cap and no truncation\\n flag.\\n\\n Requires `team.read` in addition to `user.read`.\\n\\nThe two are independent: asking for one says nothing about the other, and\\nneither implies the other\\'s permission.\\n',\n ),\n )\n .optional()\n .describe(\n \"Related collections to embed on each user (ADR 059). Omit it and no\\nembedded collection is returned. An unrecognised value is rejected.\\n\",\n ),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"id\", \"schema\", \"status\", \"lifecycle_owner_team_id\"])\n .describe(\n \"Field to sort users by. Only stored columns are sortable: the keyset cursor\\nholds the last row's sort values, so a value computed per request would skip\\nor duplicate rows between pages.\\n\\nSorting by `lifecycle_owner_team_id` groups self-owned users together, since\\nthe column is null for them.\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"created_at\", \"id\", \"schema\", \"status\", \"team_id\", \"lifecycle_owner_team_id\"])\n .describe(\n \"Field to filter users by:\\n- `created_at`: RFC3339 timestamp\\n- `id`: user id\\n- `schema`: the schema the user's attributes satisfy, matched against the\\n value the user carries as `schema`\\n- `status`: one of `active`, `suspended`, `deactivated`, `pending_purge`\\n- `team_id`: restricts the result to users holding an \\*\\*active\\*\\* membership\\n in that team. A user who has been invited but has not accepted does not\\n match. `equals` is the only operation, and the field may be given once —\\n this names one team, not a set.\\n- `lifecycle_owner_team_id`: the team that owns the user's identity\\n lifecycle. The column is nullable for self-owned users, and a null filter\\n value is rejected, so self-owned users cannot be selected by this field.\\n\\n\\*\\*The two team fields answer different questions.\\*\\* `team_id` is membership:\\nwhich team the user collaborates in, readable per user at\\n`GET \\/users\\/{user_id}\\/teams`. `lifecycle_owner_team_id` is ownership: which\\nteam may deprovision the user. A user can belong to many teams while owning\\ntheir own lifecycle, so the two disagree often and neither implies the other\\n(ADR 024).\\n\\n`team_id` is filterable but not sortable — it is not a column on the user, so\\nit is absent from the sort-field enum.\\n\\nFiltering on `team_id` requires `team_membership.read` in addition to\\n`user.read`: it reads the same memberships that `expand: [\\\"teams\\\"]` embeds.\\n\",\n ),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying users. Criteria are combined with AND.\"),\n })\n .describe(\"Request to query the users of a project.\");\n\nexport const queryUsersResponseUsersItemIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const QueryUsersResponse = zod\n .object({\n users: zod.array(\n zod\n .object({\n id: zod.string().regex(queryUsersResponseUsersItemIdRegExp),\n schema: zod\n .string()\n .describe(\n \"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\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's content, satisfying the schema named by `schema`. Property\\nnames and types are determined entirely by that schema.\\n\",\n ),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was last updated.\"),\n status: zod\n .enum([\"active\", \"suspended\", \"deactivated\", \"pending_purge\"])\n .describe(\"The status of the user.\"),\n lifecycle_owner_team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n lifecycle_owner_team: zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n zod.null(),\n ])\n .optional()\n .describe(\n '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',\n ),\n }),\n teams: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n )\n .optional()\n .describe(\n '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',\n ),\n teams_truncated: zod\n .boolean()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of users.\");\n\n/**\n * @summary Get user by ID\n */\nexport const getUserByIDPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const GetUserByIDParams = zod.object({\n user_id: zod.string().regex(getUserByIDPathUserIdRegExp),\n});\n\nexport const getUserByIDQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetUserByIDQueryParams = zod.strictObject({\n team_id: zod\n .string()\n .regex(getUserByIDQueryTeamIdRegExp)\n .optional()\n .describe(\n \"Serves the user only when they hold an active membership in this team,\\nand answers `404` otherwise.\\n\\nThis is team membership, not lifecycle ownership: it asks which team\\nthe user collaborates in, not which team may deprovision them. The\\nowning team is reported separately as\\n`metadata.lifecycle_owner_team_id`, and a user can belong to many teams\\nwhile owning their own lifecycle. See ADR 024.\\n\\nOnly active memberships match. A user who has been invited but has not\\naccepted is not served.\\n\",\n ),\n});\n\nexport const getUserByIDResponseIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const GetUserByIDResponse = zod\n .object({\n id: zod.string().regex(getUserByIDResponseIdRegExp),\n schema: zod\n .string()\n .describe(\n \"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\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's content, satisfying the schema named by `schema`. Property\\nnames and types are determined entirely by that schema.\\n\",\n ),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was last updated.\"),\n status: zod\n .enum([\"active\", \"suspended\", \"deactivated\", \"pending_purge\"])\n .describe(\"The status of the user.\"),\n lifecycle_owner_team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n lifecycle_owner_team: zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n zod.null(),\n ])\n .optional()\n .describe(\n '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',\n ),\n }),\n teams: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n )\n .optional()\n .describe(\n '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',\n ),\n teams_truncated: zod\n .boolean()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n );\n\n/**\n * @summary Delete user by ID\n */\nexport const deleteUserByIDPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const DeleteUserByIDParams = zod.object({\n user_id: zod.string().regex(deleteUserByIDPathUserIdRegExp),\n});\n\n/**\n * @summary List user passkeys\n */\nexport const listUserPasskeysPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const ListUserPasskeysParams = zod.object({\n user_id: zod.string().regex(listUserPasskeysPathUserIdRegExp),\n});\n\nexport const listUserPasskeysQueryLimitDefault = 20;\nexport const listUserPasskeysQueryLimitMax = 100;\n\nexport const ListUserPasskeysQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listUserPasskeysQueryLimitMax)\n .default(listUserPasskeysQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const ListUserPasskeysResponse = zod\n .object({\n passkeys: zod.array(\n zod.object({\n id: zod.string().describe(\"The unique identifier of the passkey.\"),\n name: zod.string().describe(\"The name of the passkey.\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The timestamp when the passkey was created.\"),\n }),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Response containing the user's passkeys.\");\n\n/**\n * Starts a WebAuthn registration ceremony for the user and returns the\ncreation options for `navigator.credentials.create()`. Complete the\nceremony with `POST /users/{user_id}/passkeys/registrations/{registration_id}` within\nfive minutes. Credentials already registered for the user are excluded\nautomatically.\n\n * @summary Begin passkey registration\n */\nexport const beginUserPasskeyRegistrationPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const BeginUserPasskeyRegistrationParams = zod.object({\n user_id: zod.string().regex(beginUserPasskeyRegistrationPathUserIdRegExp),\n});\n\nexport const BeginUserPasskeyRegistrationBody = zod\n .object({\n rp_id: zod.string().min(1).describe(\"Relying Party ID the credential is scoped to.\"),\n rp_origins: zod\n .array(zod.url())\n .min(1)\n .describe(\"Allowed origins for this ceremony's attestation.\"),\n username: zod\n .string()\n .optional()\n .describe(\n \"Browser-visible account label for the credential picker. Optional: when\\nomitted, a neutral default is used.\\n\",\n ),\n display_name: zod\n .string()\n .optional()\n .describe(\"Browser-visible display name. Optional; defaults to the username.\"),\n })\n .describe(\n \"Request to begin a WebAuthn registration ceremony for the user.\\n\\nManagement callers are not browsers, so the relying-party parameters cannot\\nbe derived from an Origin header and must be supplied explicitly.\\n\",\n );\n\n/**\n * Verifies the attestation against the ceremony started by\n`POST /users/{user_id}/passkeys/registrations` and persists the new credential. A\nrejected attestation counts against the ceremony's failure budget and the\nceremony stays open for a retry. An expired ceremony surfaces as\n`att.stale_challenge`; an unknown or already-consumed registration id\nsurfaces as `att.not_found`.\n\n * @summary Finish passkey registration\n */\nexport const finishUserPasskeyRegistrationPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const FinishUserPasskeyRegistrationParams = zod.object({\n user_id: zod.string().regex(finishUserPasskeyRegistrationPathUserIdRegExp),\n registration_id: zod.string(),\n});\n\nexport const FinishUserPasskeyRegistrationBody = zod\n .object({\n attestation: zod\n .record(zod.string(), zod.unknown())\n .describe(\"The WebAuthn AttestationResponse object from `navigator.credentials.create()`.\"),\n name: zod\n .string()\n .optional()\n .describe(\n \"Label for the credential in passkey management surfaces. Optional: when\\nomitted, a name is derived from the credential itself.\\n\",\n ),\n })\n .describe(\"Request to complete a WebAuthn registration ceremony.\");\n\n/**\n * @summary Set user password\n */\nexport const setUserPasswordPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const SetUserPasswordParams = zod.object({\n user_id: zod.string().regex(setUserPasswordPathUserIdRegExp),\n});\n\nexport const SetUserPasswordBody = zod\n .object({\n password: zod.string().describe(\"The new password for the user.\"),\n is_change_required: zod\n .boolean()\n .optional()\n .describe(\n \"Whether the user is required to change their password on the next login.\\nIf not provided, it will default to false.\\n\",\n ),\n })\n .describe(\"Request to update the user's password.\");\n\n/**\n * The user's team roster, ordered by team name. Each entry carries the\nteam's name, so a client renders a page without resolving ids one by one.\n\nThis is the N:N roster and it is not lifecycle ownership: the single team\nthat owns the user's lifecycle is reported as `metadata.lifecycle_owner_team_id`\non the user read endpoints. Memberships the user was removed from are not\nreturned.\n\n * @summary List the teams a user belongs to\n */\nexport const listUserTeamsPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const ListUserTeamsParams = zod.object({\n user_id: zod.string().regex(listUserTeamsPathUserIdRegExp),\n});\n\nexport const listUserTeamsQueryLimitDefault = 20;\nexport const listUserTeamsQueryLimitMax = 100;\n\nexport const ListUserTeamsQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listUserTeamsQueryLimitMax)\n .default(listUserTeamsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const ListUserTeamsResponse = zod\n .object({\n teams: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of the teams a user belongs to.\");\n\n/**\n * @summary Get my user information\n */\nexport const getMyUserResponseIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const GetMyUserResponse = zod\n .object({\n id: zod.string().regex(getMyUserResponseIdRegExp),\n schema: zod\n .string()\n .describe(\n \"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\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's content, satisfying the schema named by `schema`. Property\\nnames and types are determined entirely by that schema.\\n\",\n ),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was last updated.\"),\n status: zod\n .enum([\"active\", \"suspended\", \"deactivated\", \"pending_purge\"])\n .describe(\"The status of the user.\"),\n lifecycle_owner_team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n lifecycle_owner_team: zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n zod.null(),\n ])\n .optional()\n .describe(\n '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',\n ),\n }),\n teams: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n )\n .optional()\n .describe(\n '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',\n ),\n teams_truncated: zod\n .boolean()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n );\n\n/**\n * Resolves a flow definition based on purpose + audience context and returns\nthe first capability step. Creates a new session implicitly unless\n`session_id` is provided (for step-up / reauth on an existing session).\n\nThe response contains an `id` field — the flow handle. Use it as the path\nparameter for all subsequent `/flow/{id}/submit` calls.\n\nThe response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing\nthe flow's orchestration state (current step, collected data, history).\nThe server is stateless between requests — all flow state lives in this\ncookie. The browser sends it automatically on subsequent requests.\n\n * @summary Start a new flow\n */\nexport const createFlowBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createFlowBodyFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const createFlowBodyDryRunDefault = false;\nexport const createFlowBodySchemaVersionRegExp = new RegExp(\"^\\\\d+\\\\.\\\\d+\\\\.\\\\d+$\");\n\nexport const CreateFlowBody = zod.object({\n project_id: zod.string().regex(createFlowBodyProjectIdRegExp),\n purpose: zod.enum([\"login\", \"register\", \"recovery\", \"profiling\", \"reauth\", \"link_account\"]),\n flow_definition_name: zod\n .string()\n .regex(createFlowBodyFlowDefinitionNameRegExp)\n .optional()\n .describe(\n \"Name of a specific flow definition to use.\\nWhen omitted, the engine selects the best-matching definition\\nbased on purpose + audience context.\\n\",\n ),\n dry_run: zod\n .boolean()\n .default(createFlowBodyDryRunDefault)\n .describe(\n \"Set to true to simulate the flow without actually creating any\\nuser or session. Useful for testing and validation of flow definitions.\\nThis requires setting the `flow_definition_name` property as well.\\n\",\n ),\n schema_version: zod\n .string()\n .regex(createFlowBodySchemaVersionRegExp)\n .optional()\n .describe(\n \"Semver version of the flow definition JSON Schema to use.\\nWhen omitted, the latest version is used.\\n\",\n ),\n challenge_nonce: zod\n .string()\n .optional()\n .describe(\n \"Origin-bound, single-use nonce obtained from `POST \\/bootstrap\\/challenge`.\\nBinds the request to the browser that initiated the flow, preventing\\ncross-origin replay.\\n\",\n ),\n session_id: zod\n .string()\n .optional()\n .describe(\n \"Existing session to attach to (for step-up \\/ reauth).\\nOmit to let the flow create a new session implicitly.\\n\",\n ),\n auth_request_id: zod\n .string()\n .optional()\n .describe(\"OIDC\\/SAML auth request ID (links flow to protocol request).\"),\n redirect_uri: zod.url().optional(),\n hint: zod\n .object({\n login_name: zod\n .string()\n .optional()\n .describe(\"Auto-submits identifier step (maps to OIDC login_hint).\"),\n team_id: zod.string().optional().describe(\"Scopes flow resolution to a team.\"),\n user_schema_id: zod.string().optional().describe(\"Scopes to a specific user type.\"),\n app_id: zod.string().optional().describe(\"Scopes to a specific application.\"),\n })\n .optional(),\n});\n\n/**\n * Returns the current capability step without advancing the state machine.\nUseful for page reloads or re-rendering after a network error.\n\n * @summary Get current step (re-render)\n */\nexport const GetFlowStepParams = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow ID returned by POST \\/flow or the latest POST \\/flow\\/{id}\\/submit.\\nUsed to look up the correct flow state from the encrypted cookie,\\nwhich can hold multiple concurrent flows. May change between responses\\nwhen a flow pivot or pop occurs — always use the `id` from the latest response.\\n\",\n ),\n});\n\nexport const getFlowStepResponseStepFieldsItemRequiredDefault = false;\nexport const getFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;\n\nexport const getFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;\n\nexport const getFlowStepResponseStepFieldsDefault = [];\nexport const getFlowStepResponseStepActionsItemPrimaryDefault = false;\nexport const getFlowStepResponseStepActionsDefault = [];\nexport const getFlowStepResponseStepGatesDefault = {} as const;\nexport const getFlowStepResponseStepSsoProvidersDefault = [];\nexport const getFlowStepResponseBrandingLayoutDefault = `centered`;\nexport const getFlowStepResponseBrandingLiquidTemplateMax = 131072;\n\nexport const GetFlowStepResponse = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow handle. Use this as the path parameter for subsequent\\nsubmit\\/event calls. May change between responses when a\\nflow pivot or pop occurs.\\n\",\n ),\n session_id: zod.string().describe(\"Underlying session ID. Stable across all stacked flows.\"),\n session_token: zod\n .string()\n .optional()\n .describe(\n \"Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.\",\n ),\n step: zod\n .object({\n name: zod.string().describe(\"Step name from the flow definition.\"),\n texts: zod\n .object({\n title_key: zod.string().optional().describe(\"Localization key for the step heading.\"),\n description_key: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Localization key for explanatory text.\"),\n })\n .optional()\n .describe(\n \"Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\\nThe backend never sends display text — only semantic keys.\\n\",\n ),\n error: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n 'Error from a previous failed submission. Field-validation failures\\ncarry localisation text keys: `error.<field>_<rule>` per violation\\n(e.g. `error.email_required`; the `format` rule is spelled\\n`error.<field>_invalid`), multiple violations joined with `\\\"; \\\"`.\\nField names appear verbatim, so clients localise unknown keys via\\nthe generic `error.field_<rule>` catalog entries. Other engine\\nfailures carry `error.\\*` catalog keys as well (e.g.\\n`error.invalid_credentials`, `error.passkey_invalid`); a\\nnon-`error.` payload is an outcome token (e.g. `user_not_found`)\\nthat clients keep verbatim.\\n',\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Present only on terminal steps. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri immediately (OIDC\\/SAML done)\\n- show: render the step as a success screen (e.g., registration confirmed)\\n\",\n ),\n redirect_url: zod\n .url()\n .optional()\n .describe(\"URL to navigate to (e.g., SSO provider redirect).\"),\n fields: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Field name, matching a property in the flow's user schema. Carries\\nthe submitted value back to the engine.\\n\",\n ),\n type: zod\n .enum([\n \"text\",\n \"email\",\n \"password\",\n \"tel\",\n \"number\",\n \"url\",\n \"date\",\n \"hidden\",\n \"checkbox\",\n \"select\",\n ])\n .describe(\n \"The input kind the client should render. Encodes the formats and\\nJSON types that map to a familiar HTML input: `email`, `url`,\\n`date` come from `format`; `checkbox` from JSON `type: boolean`;\\n`select` from a closed `enum`. For other formats (e.g. uuid) the\\ntype is `text` and `validation.format` carries the rule.\\n\",\n ),\n text_key: zod.string().describe(\"Localization key for the field label.\"),\n required: zod\n .boolean()\n .default(getFlowStepResponseStepFieldsItemRequiredDefault)\n .describe(\n \"The field MUST be present and non-empty on submit. Mirrors the\\nschema's top-level `required` array.\\n\",\n ),\n value: zod\n .unknown()\n .optional()\n .describe(\"Pre-filled value (e.g., an identifier carried over from a pivot).\"),\n validation: zod\n .object({\n format: zod\n .enum([\"email\", \"date-time\", \"uuid\", \"uri\"])\n .optional()\n .describe(\n \"Semantic format the value must match. Values mirror the user\\nmeta-schema. When `type` already encodes the format (email,\\nurl, date), this key is informative and the input type is\\nsufficient for client-side validation. When `type` is `text`\\n(e.g. `format: uuid`), this key is the only signal.\\n\",\n ),\n min_length: zod\n .number()\n .min(getFlowStepResponseStepFieldsItemValidationMinLengthMin)\n .optional()\n .describe(\"Minimum length in characters (inclusive). Mirrors `minLength`.\"),\n max_length: zod\n .number()\n .min(getFlowStepResponseStepFieldsItemValidationMaxLengthMin)\n .optional()\n .describe(\"Maximum length in characters (inclusive). Mirrors `maxLength`.\"),\n enum: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Closed list of allowed values. Mirrors the JSON Schema `enum`\\nkeyword on the underlying user property. When `type` is\\n`select` the client renders these as options; for other types\\nthe rule still applies as a membership check.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Schema-derived rules the frontend SHOULD apply at input time. The\\nserver runs the same rules on submit and is the only authority on\\nwhether the step advances — these rules are a UX hint to reduce\\nround trips, not a contract guarantee.\\n\\nOmitted entirely when the field has no rules beyond its `type`.\\nEach key mirrors a JSON Schema keyword on the underlying user\\nproperty; absent keys mean no rule.\\n\",\n ),\n })\n .describe(\n \"A data input capability. Describes what the user must provide.\\nDoes not contain display text — only a `text_key` resolved client-side.\\n\",\n ),\n )\n .default(getFlowStepResponseStepFieldsDefault)\n .describe(\n \"Ordered list of input fields to collect. Field metadata (type, validation)\\nis resolved by the engine from the flow's user schema. The LiquidJS\\ntemplate iterates this array; for keyed lookup it builds a name-indexed\\nmap locally.\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\"Action identifier. Sent back in the submit request as `action`.\"),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(getFlowStepResponseStepActionsItemPrimaryDefault)\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(getFlowStepResponseStepActionsDefault)\n .describe(\n \"Ordered list of available user actions. The LiquidJS template iterates\\nthis array and builds a name-indexed map locally for keyed lookup.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(getFlowStepResponseStepGatesDefault)\n .describe(\n \"Security gates that must be satisfied before the step can be submitted.\\nThe engine injects gates dynamically based on policy, even if they\\nare not declared in the flow definition.\\n\",\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod.string().describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(getFlowStepResponseStepSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n challenge: zod\n .object({\n method: zod\n .enum([\"passkey\", \"passkey_register\"])\n .optional()\n .describe(\"Challenge method. Determines which component handles the ceremony.\"),\n challenge_id: zod\n .string()\n .optional()\n .describe(\n \"Server-side challenge identifier. Included in the proof submission\\nso the server can match the response to the original challenge.\\n\",\n ),\n options: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Protocol-specific challenge options. For passkey, this is the\\n`PublicKeyCredentialRequestOptions` (authenticate) or\\n`PublicKeyCredentialCreationOptions` (register). Passed directly\\nto the browser's `navigator.credentials` API.\\n\",\n ),\n })\n .optional()\n .describe(\n 'A pending authentication challenge issued by the server. Present when the\\nflow engine has issued a challenge via auth_attempts (e.g., after the user\\nsubmits `action: \\\"passkey\\\"`). The `<zl-passkey>` component reads this and\\ntriggers the appropriate WebAuthn ceremony.\\n\\nThe challenge is NOT present on the initial step — it appears only after\\nthe user explicitly selects a ceremony-based action.\\n',\n ),\n })\n .describe(\n \"A step contains ordered capability arrays: what to collect (fields),\\nwhat the user can do (actions), and what security gates must be satisfied (gates).\\nThe LiquidJS template in `branding.liquid_template` iterates these arrays in order\\nand builds name-keyed indexes locally for lookup.\\n\",\n ),\n branding: zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(getFlowStepResponseBrandingLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(getFlowStepResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod.url().optional().describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .optional()\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n ),\n redirect_uri: zod.url().optional().describe(\"Present when `step.complete` is `redirect`.\"),\n handoff_token: zod\n .string()\n .optional()\n .describe(\n \"Short-lived, audience-bound token produced on flow completion.\\nExchange it for a session via `POST \\/sessions\\/exchange`.\\nOnly present when `step.complete` is set.\\n\",\n ),\n handoff_token_expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Expiry timestamp for `handoff_token`. Only present when\\n`handoff_token` is set.\\n\"),\n});\n\n/**\n * Submits user input for the current step. The server validates,\nprocesses (e.g., verifies a credential), advances the state machine\nthrough any invisible steps, and returns the next visible step.\n\nThe response sets an updated encrypted `HttpOnly` cookie (`_zflow`)\nwith the new flow state. The server is stateless — all orchestration\nstate is carried in this cookie between requests.\n\n**Important:** The `id` in the response may differ from the `id` used in\nthe request. This happens when a flow pivots (pushes a new flow onto the\nstack) or when a stacked flow completes (auto-pops to the parent flow).\nAlways use the `id` from the latest response for the next request.\n\n## Flow completion\n\nWhen `step.type` is `complete`, the flow is terminal. The `step.behavior`\nfield tells the frontend what to do:\n\n| `behavior` | Action |\n|------------- |------------------------------------------------------------|\n| `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |\n| `show` | Render the step as a success screen (e.g., registration). |\n\nA `complete` step is only returned when the **entire flow stack** is done.\nIf a stacked flow (e.g., recovery pivoted from login) finishes, the server\nauto-pops to the parent flow and returns the parent's next step — the\nfrontend never sees a `complete` for intermediate flows.\n\n * @summary Submit step data and advance\n */\nexport const SubmitFlowStepParams = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow ID returned by POST \\/flow or the latest POST \\/flow\\/{id}\\/submit.\\nUsed to look up the correct flow state from the encrypted cookie,\\nwhich can hold multiple concurrent flows. May change between responses\\nwhen a flow pivot or pop occurs — always use the `id` from the latest response.\\n\",\n ),\n});\n\nexport const SubmitFlowStepHeader = zod.strictObject({\n Origin: zod\n .url()\n .optional()\n .describe(\n \"Standard browser `Origin` header. When a step issues a passkey\\nchallenge, the server derives the WebAuthn relying-party id and the\\nallowed origin from this value. Browsers send it automatically on the\\nfetch POST; no client action is required.\\n\",\n ),\n});\n\nexport const SubmitFlowStepBody = zod.object({\n session_token: zod\n .string()\n .optional()\n .describe(\n \"Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.\",\n ),\n action: zod\n .string()\n .describe(\n 'Which action to take. Must be a key from the step\\'s `actions` dictionary:\\n- A regular action (e.g., \\\"submit\\\", \\\"register\\\", \\\"back\\\")\\n- The reserved value \\\"sso\\\" — triggers SSO redirect (requires `sso_provider_id`)\\n',\n ),\n fields: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\"User input values. Keys match field names from the step's `fields` dictionary.\\n\"),\n gate_proofs: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Solutions for security gates. Keys match gate names from the step's `gates` dictionary.\\nThe orchestrator collects these from `<zl-captcha>` component events.\\n\",\n ),\n challenge_response: zod\n .object({\n challenge_id: zod\n .string()\n .optional()\n .describe(\n \"The challenge identifier from `step.challenge.challenge_id`.\\nMatches the server-side challenge for verification.\\n\",\n ),\n method: zod\n .string()\n .optional()\n .describe(\"Which auth method this response is for (e.g., 'passkey').\"),\n proof: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Method-specific proof payload.\\nFor passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Response to a pending challenge on the step. Required when the step has a\\n`challenge` property (e.g., after submitting a passkey action).\\nThe `<zl-passkey>` component populates this after the WebAuthn ceremony.\\n\",\n ),\n sso_provider_id: zod\n .string()\n .optional()\n .describe(\n 'ID of the selected SSO provider (from `sso_providers[].id`).\\nRequired when `action` is \\\"sso\\\".\\n',\n ),\n});\n\nexport const submitFlowStepResponseStepFieldsItemRequiredDefault = false;\nexport const submitFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;\n\nexport const submitFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;\n\nexport const submitFlowStepResponseStepFieldsDefault = [];\nexport const submitFlowStepResponseStepActionsItemPrimaryDefault = false;\nexport const submitFlowStepResponseStepActionsDefault = [];\nexport const submitFlowStepResponseStepGatesDefault = {} as const;\nexport const submitFlowStepResponseStepSsoProvidersDefault = [];\nexport const submitFlowStepResponseBrandingLayoutDefault = `centered`;\nexport const submitFlowStepResponseBrandingLiquidTemplateMax = 131072;\n\nexport const SubmitFlowStepResponse = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow handle. Use this as the path parameter for subsequent\\nsubmit\\/event calls. May change between responses when a\\nflow pivot or pop occurs.\\n\",\n ),\n session_id: zod.string().describe(\"Underlying session ID. Stable across all stacked flows.\"),\n session_token: zod\n .string()\n .optional()\n .describe(\n \"Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.\",\n ),\n step: zod\n .object({\n name: zod.string().describe(\"Step name from the flow definition.\"),\n texts: zod\n .object({\n title_key: zod.string().optional().describe(\"Localization key for the step heading.\"),\n description_key: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Localization key for explanatory text.\"),\n })\n .optional()\n .describe(\n \"Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\\nThe backend never sends display text — only semantic keys.\\n\",\n ),\n error: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n 'Error from a previous failed submission. Field-validation failures\\ncarry localisation text keys: `error.<field>_<rule>` per violation\\n(e.g. `error.email_required`; the `format` rule is spelled\\n`error.<field>_invalid`), multiple violations joined with `\\\"; \\\"`.\\nField names appear verbatim, so clients localise unknown keys via\\nthe generic `error.field_<rule>` catalog entries. Other engine\\nfailures carry `error.\\*` catalog keys as well (e.g.\\n`error.invalid_credentials`, `error.passkey_invalid`); a\\nnon-`error.` payload is an outcome token (e.g. `user_not_found`)\\nthat clients keep verbatim.\\n',\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Present only on terminal steps. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri immediately (OIDC\\/SAML done)\\n- show: render the step as a success screen (e.g., registration confirmed)\\n\",\n ),\n redirect_url: zod\n .url()\n .optional()\n .describe(\"URL to navigate to (e.g., SSO provider redirect).\"),\n fields: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Field name, matching a property in the flow's user schema. Carries\\nthe submitted value back to the engine.\\n\",\n ),\n type: zod\n .enum([\n \"text\",\n \"email\",\n \"password\",\n \"tel\",\n \"number\",\n \"url\",\n \"date\",\n \"hidden\",\n \"checkbox\",\n \"select\",\n ])\n .describe(\n \"The input kind the client should render. Encodes the formats and\\nJSON types that map to a familiar HTML input: `email`, `url`,\\n`date` come from `format`; `checkbox` from JSON `type: boolean`;\\n`select` from a closed `enum`. For other formats (e.g. uuid) the\\ntype is `text` and `validation.format` carries the rule.\\n\",\n ),\n text_key: zod.string().describe(\"Localization key for the field label.\"),\n required: zod\n .boolean()\n .default(submitFlowStepResponseStepFieldsItemRequiredDefault)\n .describe(\n \"The field MUST be present and non-empty on submit. Mirrors the\\nschema's top-level `required` array.\\n\",\n ),\n value: zod\n .unknown()\n .optional()\n .describe(\"Pre-filled value (e.g., an identifier carried over from a pivot).\"),\n validation: zod\n .object({\n format: zod\n .enum([\"email\", \"date-time\", \"uuid\", \"uri\"])\n .optional()\n .describe(\n \"Semantic format the value must match. Values mirror the user\\nmeta-schema. When `type` already encodes the format (email,\\nurl, date), this key is informative and the input type is\\nsufficient for client-side validation. When `type` is `text`\\n(e.g. `format: uuid`), this key is the only signal.\\n\",\n ),\n min_length: zod\n .number()\n .min(submitFlowStepResponseStepFieldsItemValidationMinLengthMin)\n .optional()\n .describe(\"Minimum length in characters (inclusive). Mirrors `minLength`.\"),\n max_length: zod\n .number()\n .min(submitFlowStepResponseStepFieldsItemValidationMaxLengthMin)\n .optional()\n .describe(\"Maximum length in characters (inclusive). Mirrors `maxLength`.\"),\n enum: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Closed list of allowed values. Mirrors the JSON Schema `enum`\\nkeyword on the underlying user property. When `type` is\\n`select` the client renders these as options; for other types\\nthe rule still applies as a membership check.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Schema-derived rules the frontend SHOULD apply at input time. The\\nserver runs the same rules on submit and is the only authority on\\nwhether the step advances — these rules are a UX hint to reduce\\nround trips, not a contract guarantee.\\n\\nOmitted entirely when the field has no rules beyond its `type`.\\nEach key mirrors a JSON Schema keyword on the underlying user\\nproperty; absent keys mean no rule.\\n\",\n ),\n })\n .describe(\n \"A data input capability. Describes what the user must provide.\\nDoes not contain display text — only a `text_key` resolved client-side.\\n\",\n ),\n )\n .default(submitFlowStepResponseStepFieldsDefault)\n .describe(\n \"Ordered list of input fields to collect. Field metadata (type, validation)\\nis resolved by the engine from the flow's user schema. The LiquidJS\\ntemplate iterates this array; for keyed lookup it builds a name-indexed\\nmap locally.\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\"Action identifier. Sent back in the submit request as `action`.\"),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(submitFlowStepResponseStepActionsItemPrimaryDefault)\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(submitFlowStepResponseStepActionsDefault)\n .describe(\n \"Ordered list of available user actions. The LiquidJS template iterates\\nthis array and builds a name-indexed map locally for keyed lookup.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(submitFlowStepResponseStepGatesDefault)\n .describe(\n \"Security gates that must be satisfied before the step can be submitted.\\nThe engine injects gates dynamically based on policy, even if they\\nare not declared in the flow definition.\\n\",\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod.string().describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(submitFlowStepResponseStepSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n challenge: zod\n .object({\n method: zod\n .enum([\"passkey\", \"passkey_register\"])\n .optional()\n .describe(\"Challenge method. Determines which component handles the ceremony.\"),\n challenge_id: zod\n .string()\n .optional()\n .describe(\n \"Server-side challenge identifier. Included in the proof submission\\nso the server can match the response to the original challenge.\\n\",\n ),\n options: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Protocol-specific challenge options. For passkey, this is the\\n`PublicKeyCredentialRequestOptions` (authenticate) or\\n`PublicKeyCredentialCreationOptions` (register). Passed directly\\nto the browser's `navigator.credentials` API.\\n\",\n ),\n })\n .optional()\n .describe(\n 'A pending authentication challenge issued by the server. Present when the\\nflow engine has issued a challenge via auth_attempts (e.g., after the user\\nsubmits `action: \\\"passkey\\\"`). The `<zl-passkey>` component reads this and\\ntriggers the appropriate WebAuthn ceremony.\\n\\nThe challenge is NOT present on the initial step — it appears only after\\nthe user explicitly selects a ceremony-based action.\\n',\n ),\n })\n .describe(\n \"A step contains ordered capability arrays: what to collect (fields),\\nwhat the user can do (actions), and what security gates must be satisfied (gates).\\nThe LiquidJS template in `branding.liquid_template` iterates these arrays in order\\nand builds name-keyed indexes locally for lookup.\\n\",\n ),\n branding: zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(submitFlowStepResponseBrandingLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(submitFlowStepResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod.url().optional().describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .optional()\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n ),\n redirect_uri: zod.url().optional().describe(\"Present when `step.complete` is `redirect`.\"),\n handoff_token: zod\n .string()\n .optional()\n .describe(\n \"Short-lived, audience-bound token produced on flow completion.\\nExchange it for a session via `POST \\/sessions\\/exchange`.\\nOnly present when `step.complete` is set.\\n\",\n ),\n handoff_token_expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Expiry timestamp for `handoff_token`. Only present when\\n`handoff_token` is set.\\n\"),\n});\n\n/**\n * Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.\n\nAn attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.\nIt accepts factor challenges, verifies proofs, and completes into a session or handoff token.\n\nAccepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,\nalso include session_id to add factors to an existing session.\n\n * @summary Create a new authentication attempt\n */\nexport const createAuthAttemptBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createAuthAttemptBodySessionIdOneRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\n\nexport const CreateAuthAttemptBody = zod\n .object({\n project_id: zod.string().regex(createAuthAttemptBodyProjectIdRegExp),\n challenge_nonce: zod\n .string()\n .optional()\n .describe(\n \"Origin-bound, single-use nonce obtained from `POST \\/bootstrap\\/challenge`.\\nBinds the request to the browser that initiated the flow, preventing\\ncross-origin replay.\\n\",\n ),\n session_id: zod\n .union([\n zod\n .string()\n .regex(createAuthAttemptBodySessionIdOneRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Optional. If provided, this attempt adds factors to an existing session (step-up auth).\\nIf omitted, a new session is created implicitly on successful handoff.\\n\",\n ),\n })\n .describe(\"Request to create a new authentication attempt\");\n\n/**\n * Polls the current state of an authentication attempt.\n\nReturns the attempt's state, available factors for the next challenge,\nchallenges issued so far, and any errors preventing progress.\n\nUse this for polling during long-running factor verifications (e.g., waiting for\na federated IdP callback or a device flow).\n\n * @summary Get authentication attempt state\n */\nexport const getAuthAttemptPathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\n\nexport const GetAuthAttemptParams = zod.object({\n attempt_id: zod\n .string()\n .regex(getAuthAttemptPathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n});\n\nexport const getAuthAttemptResponseAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseSessionIdOneRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\nexport const getAuthAttemptResponseChallengesItemChallengeIdRegExp = new RegExp(\n \"^ch_[a-zA-Z0-9_-]+$\",\n);\n\nexport const GetAuthAttemptResponse = zod\n .object({\n attempt_id: zod\n .string()\n .regex(getAuthAttemptResponseAttemptIdRegExp)\n .describe(\n \"Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).\",\n ),\n project_id: zod.string().regex(getAuthAttemptResponseProjectIdRegExp),\n state: zod\n .enum([\"in_progress\", \"completed\", \"failed\", \"expired\"])\n .describe(\n \"Overall state of the authentication attempt:\\n- `in_progress`: factors are still being collected; continue issuing challenges.\\n- `completed`: all required factors have been verified; the attempt is ready for handoff.\\n- `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.\\n- `expired`: the 15-minute TTL has been exceeded.\\n\",\n ),\n session_id: zod\n .union([\n zod\n .string()\n .regex(getAuthAttemptResponseSessionIdOneRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The session being authenticated into. Either newly created or passed in on POST.\\nFor step-up (re-auth), this is the existing session_id provided on creation.\\n\",\n ),\n user_id: zod\n .union([zod.string().regex(getAuthAttemptResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The user ID, if known at this point in the flow.\\nNull until an identifier challenge has been verified.\\n\",\n ),\n required_factors: zod\n .array(\n zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n )\n .optional()\n .describe(\n \"The authentication factor methods that the project policy requires in order\\nto complete this attempt. Computed by the server from the project's auth policy.\\nClients should use this to determine which challenges still need to be issued.\\n\",\n ),\n completed_factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .optional()\n .describe(\n \"The factors that have been successfully verified in this attempt so far.\\nEach item includes method-specific metadata in the payload field.\\n\\nThe flow engine uses verified_at timestamps to enforce time-based policies, such as\\nrequiring password verification within the last 5 minutes for step-up auth to\\naccess sensitive operations.\\n\\nA factor appears here once its challenge reaches `verified` state.\\n\",\n ),\n challenges: zod\n .array(\n zod\n .object({\n challenge_id: zod\n .string()\n .regex(getAuthAttemptResponseChallengesItemChallengeIdRegExp)\n .describe(\n \"Unique identifier for this challenge (dialect-minted prefixed opaque string).\",\n ),\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n state: zod\n .enum([\"pending\", \"failed\", \"expired\"])\n .describe(\n \"Current state of this challenge:\\n- `pending`: awaiting proof submission\\n- `failed`: proof rejected (invalid credential, wrong code, etc.)\\n- `expired`: challenge TTL exceeded without verification\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this challenge was issued\"),\n expires_at: zod\n .union([zod.iso.datetime({ offset: true }), zod.null()])\n .optional()\n .describe(\"When this challenge expires\"),\n payload: zod\n .union([\n zod\n .object({})\n .describe(\n \"Identifier challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({})\n .describe(\n \"Password challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({\n public_key: zod\n .object({\n challenge: zod.string().describe(\"Base64-encoded WebAuthn challenge\"),\n allowed_credentials: zod\n .array(\n zod.object({\n id: zod.string().describe(\"Base64-encoded credential ID\"),\n type: zod.enum([\"public-key\"]),\n }),\n )\n .optional()\n .describe(\n \"List of credential IDs that can be used for this authentication\",\n ),\n user_verification: zod\n .enum([\"required\", \"preferred\", \"discouraged\"])\n .optional()\n .describe(\"User verification requirement for this challenge\"),\n rp_id: zod.string().optional().describe(\"Relying Party ID for WebAuthn\"),\n })\n .describe(\n \"Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).\\nSee also: https:\\/\\/www.w3.org\\/TR\\/webauthn\\/#dictdef-publickeycredentialrequestoptions\\n\",\n ),\n })\n .describe(\"WebAuthn-specific challenge data for passkey authentication\"),\n ])\n .optional()\n .describe(\n \"Method-specific challenge data. Structure depends on the `method` field.\\n- `identifier`, `password`: null (no additional data needed)\\n- `passkey`: WebAuthn challenge and credential options\\n- `idp`: Authorization URL and provider information\\n\",\n ),\n })\n .describe(\n \"A factor challenge issued within an authentication attempt.\\n\\nA challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.).\\nThe client verifies the proof by POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify.\\n\",\n ),\n )\n .optional()\n .describe(\n \"All challenges issued within this attempt, in creation order.\\nUse this to track the state of each factor challenge (pending, verified, failed, expired).\\n\",\n ),\n expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"When this attempt expires (15-minute TTL from creation)\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this attempt was created\"),\n })\n .describe(\n \"The current state of an authentication attempt.\\n\\nAn attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.\\nIt accepts factor challenges, verifies proofs, and completes into a handoff token.\\nClients drive the attempt by:\\n1. Issuing challenges: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\n2. Verifying proofs: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify\\n3. Completing: POST \\/auth_attempts\\/{attempt_id}\\/handoff\\n\",\n );\n\n/**\n * Issues a single-factor verification challenge within an auth attempt.\n\nThis advances the authentication state machine by requesting a specific factor method\n(password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details\nincluding method, metadata, and any UI hints. The client then verifies the proof\nby calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.\n\n * @summary Issue a factor challenge\n */\nexport const issueChallengePathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\n\nexport const IssueChallengeParams = zod.object({\n attempt_id: zod\n .string()\n .regex(issueChallengePathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n});\n\nexport const IssueChallengeBody = zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n passkey_options: zod\n .object({\n rp_id: zod\n .string()\n .optional()\n .describe(\n \"Relying Party ID for WebAuthn. Optional; if not provided, the server may use a default value.\",\n ),\n rp_origins: zod\n .array(zod.url())\n .optional()\n .describe(\n \"List of allowed origins for this WebAuthn challenge. Optional; if not provided, the server may use a default value.\",\n ),\n user_verification: zod.enum([\"required\", \"preferred\", \"discouraged\"]).optional(),\n })\n .optional()\n .describe(\"Optional WebAuthn ceremony options. Only relevant when `method` is `passkey`.\"),\n })\n .describe(\n \"Request to issue a factor challenge.\\n\\nThe `method` field selects which factor to challenge. Additional fields are\\nonly relevant for specific methods:\\n- `passkey_options` is optional and only used when `method` is `passkey`.\\n- `idp_provider` is required when `method` is `idp` and must be omitted otherwise.\\n This conditional requirement is enforced server-side.\\n\",\n );\n\n/**\n * Submits a proof (credential, code, assertion) to verify a factor challenge.\n\nThe proof format depends on the challenge method. For example:\n- `password` method: { password: \"…\" }\n- `totp` method: { totp: { code: \"123456\" } }\n- `passkey` method: { passkey: { assertion: \"…\" } }\n- `recovery_code` method: { recovery_code: \"…\" }\n\nOn successful verification, the factor is written to the auth attempt.\nThe attempt moves to the next pending challenge or completes if all required factors are verified.\n\n * @summary Verify a factor proof\n */\nexport const verifyChallengeProofPathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofPathChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const VerifyChallengeProofParams = zod.object({\n attempt_id: zod\n .string()\n .regex(verifyChallengeProofPathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n challenge_id: zod\n .string()\n .regex(verifyChallengeProofPathChallengeIdRegExp)\n .describe(\"The unique identifier of this challenge.\"),\n});\n\nexport const VerifyChallengeProofHeader = zod.strictObject({\n \"Idempotency-Key\": zod\n .string()\n .optional()\n .describe(\n \"Optional retry key for safe retries of the call.\\nRetries carrying the same key within the call window return the cached\\npayload without creating a new resource. See details in the endpoint description.\\n\",\n ),\n});\n\nexport const VerifyChallengeProofBody = zod\n .union([\n zod\n .object({\n login_name: zod.string().describe(\"The login name or email being identified\"),\n })\n .describe(\"Proof for `identifier` method\"),\n zod\n .object({\n password: zod.string().describe(\"The password being verified\"),\n })\n .describe(\"Proof for `password` method\"),\n zod\n .object({\n passkey: zod\n .object({\n assertion: zod\n .record(zod.string(), zod.unknown())\n .describe(\"The WebAuthn AssertionResponse object\"),\n })\n .describe(\"WebAuthn passkey assertion\"),\n })\n .describe(\"Proof for `passkey` method\"),\n ])\n .describe(\n \"Proof for verifying a factor challenge.\\n\\nThe exact format depends on the challenge method. The proof object should contain\\nonly the credential\\/code\\/assertion relevant to the challenge method being verified.\\n\",\n );\n\nexport const verifyChallengeProofResponseAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseSessionIdOneRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\nexport const verifyChallengeProofResponseChallengesItemChallengeIdRegExp = new RegExp(\n \"^ch_[a-zA-Z0-9_-]+$\",\n);\n\nexport const VerifyChallengeProofResponse = zod\n .object({\n attempt_id: zod\n .string()\n .regex(verifyChallengeProofResponseAttemptIdRegExp)\n .describe(\n \"Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).\",\n ),\n project_id: zod.string().regex(verifyChallengeProofResponseProjectIdRegExp),\n state: zod\n .enum([\"in_progress\", \"completed\", \"failed\", \"expired\"])\n .describe(\n \"Overall state of the authentication attempt:\\n- `in_progress`: factors are still being collected; continue issuing challenges.\\n- `completed`: all required factors have been verified; the attempt is ready for handoff.\\n- `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.\\n- `expired`: the 15-minute TTL has been exceeded.\\n\",\n ),\n session_id: zod\n .union([\n zod\n .string()\n .regex(verifyChallengeProofResponseSessionIdOneRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The session being authenticated into. Either newly created or passed in on POST.\\nFor step-up (re-auth), this is the existing session_id provided on creation.\\n\",\n ),\n user_id: zod\n .union([zod.string().regex(verifyChallengeProofResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The user ID, if known at this point in the flow.\\nNull until an identifier challenge has been verified.\\n\",\n ),\n required_factors: zod\n .array(\n zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n )\n .optional()\n .describe(\n \"The authentication factor methods that the project policy requires in order\\nto complete this attempt. Computed by the server from the project's auth policy.\\nClients should use this to determine which challenges still need to be issued.\\n\",\n ),\n completed_factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(\n verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp,\n ),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .optional()\n .describe(\n \"The factors that have been successfully verified in this attempt so far.\\nEach item includes method-specific metadata in the payload field.\\n\\nThe flow engine uses verified_at timestamps to enforce time-based policies, such as\\nrequiring password verification within the last 5 minutes for step-up auth to\\naccess sensitive operations.\\n\\nA factor appears here once its challenge reaches `verified` state.\\n\",\n ),\n challenges: zod\n .array(\n zod\n .object({\n challenge_id: zod\n .string()\n .regex(verifyChallengeProofResponseChallengesItemChallengeIdRegExp)\n .describe(\n \"Unique identifier for this challenge (dialect-minted prefixed opaque string).\",\n ),\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n state: zod\n .enum([\"pending\", \"failed\", \"expired\"])\n .describe(\n \"Current state of this challenge:\\n- `pending`: awaiting proof submission\\n- `failed`: proof rejected (invalid credential, wrong code, etc.)\\n- `expired`: challenge TTL exceeded without verification\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this challenge was issued\"),\n expires_at: zod\n .union([zod.iso.datetime({ offset: true }), zod.null()])\n .optional()\n .describe(\"When this challenge expires\"),\n payload: zod\n .union([\n zod\n .object({})\n .describe(\n \"Identifier challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({})\n .describe(\n \"Password challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({\n public_key: zod\n .object({\n challenge: zod.string().describe(\"Base64-encoded WebAuthn challenge\"),\n allowed_credentials: zod\n .array(\n zod.object({\n id: zod.string().describe(\"Base64-encoded credential ID\"),\n type: zod.enum([\"public-key\"]),\n }),\n )\n .optional()\n .describe(\n \"List of credential IDs that can be used for this authentication\",\n ),\n user_verification: zod\n .enum([\"required\", \"preferred\", \"discouraged\"])\n .optional()\n .describe(\"User verification requirement for this challenge\"),\n rp_id: zod.string().optional().describe(\"Relying Party ID for WebAuthn\"),\n })\n .describe(\n \"Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).\\nSee also: https:\\/\\/www.w3.org\\/TR\\/webauthn\\/#dictdef-publickeycredentialrequestoptions\\n\",\n ),\n })\n .describe(\"WebAuthn-specific challenge data for passkey authentication\"),\n ])\n .optional()\n .describe(\n \"Method-specific challenge data. Structure depends on the `method` field.\\n- `identifier`, `password`: null (no additional data needed)\\n- `passkey`: WebAuthn challenge and credential options\\n- `idp`: Authorization URL and provider information\\n\",\n ),\n })\n .describe(\n \"A factor challenge issued within an authentication attempt.\\n\\nA challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.).\\nThe client verifies the proof by POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify.\\n\",\n ),\n )\n .optional()\n .describe(\n \"All challenges issued within this attempt, in creation order.\\nUse this to track the state of each factor challenge (pending, verified, failed, expired).\\n\",\n ),\n expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"When this attempt expires (15-minute TTL from creation)\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this attempt was created\"),\n })\n .describe(\n \"The current state of an authentication attempt.\\n\\nAn attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.\\nIt accepts factor challenges, verifies proofs, and completes into a handoff token.\\nClients drive the attempt by:\\n1. Issuing challenges: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\n2. Verifying proofs: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify\\n3. Completing: POST \\/auth_attempts\\/{attempt_id}\\/handoff\\n\",\n );\n\n/**\n * Completes the authentication attempt and mints a `handoff_token`.\n\nCall this after all required factors have been verified and the attempt is in `completed` state.\nThe handoff token is short-lived (≤60 seconds) and must be exchanged at\nPOST /sessions/exchange to receive the final session and session_token.\n\nThe handoff token is:\n- Single-use (atomic exchange, no retry)\n- Audience-bound (requires matching project key for exchange)\n- Idempotency-safe within a 5-minute window (see conventions)\n\n * @summary Complete authentication and create handoff token\n */\nexport const createHandoffPathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\n\nexport const CreateHandoffParams = zod.object({\n attempt_id: zod\n .string()\n .regex(createHandoffPathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n});\n\nexport const CreateHandoffHeader = zod.strictObject({\n \"Idempotency-Key\": zod\n .string()\n .optional()\n .describe(\n \"Optional retry key for safe retries of the call.\\nRetries carrying the same key within the call window return the cached\\npayload without creating a new resource. See details in the endpoint description.\\n\",\n ),\n});\n\nexport const CreateHandoffResponse = zod\n .object({\n handoff_token: zod\n .string()\n .describe(\n \"The short-lived handoff token for session exchange.\\n\\nExchange at: POST \\/sessions\\/exchange\\n\\nRequirements:\\n- Single-use (atomic GETDEL on exchange)\\n- TTL ≤ 60 seconds\\n- Audience-bound to project (exchange requires sk_proj_… for matching project)\\n- Idempotency-safe (Category B, 5-minute window)\\n\",\n ),\n expires_at: zod.iso.datetime({ offset: true }).describe(\"When this handoff token expires\"),\n })\n .describe(\n \"The handoff token and metadata for session exchange.\\n\\nThis is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange\\nat POST \\/sessions\\/exchange to receive the final session and session_token.\\nThe handoff token is single-use and audience-bound to the project.\\n\",\n );\n\n/**\n * @summary Create project\n */\nexport const createProjectBodySeedDefaultsDefault = true;\n\nexport const CreateProjectBody = zod.object({\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n seed_defaults: zod\n .boolean()\n .default(createProjectBodySeedDefaultsDefault)\n .describe(\n \"Whether the server should provision fallback default user schema and flow\\nresources for the project. CLI-managed projects set this to false and\\nupload their local .zitadel config files through the schema and flow APIs.\\n\",\n ),\n});\n\n/**\n * @summary Query projects\n */\nexport const queryProjectsBodyLimitDefault = 20;\nexport const queryProjectsBodyLimitMax = 100;\n\nexport const QueryProjectsBody = zod\n .object({\n limit: zod\n .number()\n .min(1)\n .max(queryProjectsBodyLimitMax)\n .default(queryProjectsBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n sorting: zod\n .object({\n field: zod.enum([\"created_at\"]),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod.enum([\"created_at\"]),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying projects.\"),\n })\n .describe(\"Request to query projects.\");\n\nexport const QueryProjectsResponse = zod\n .object({\n projects: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the project.\"),\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was last updated.\"),\n })\n .describe(\"The current state of a project.\"),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\"Paginated list of projects.\");\n\n/**\n * Returns the current state of a project.\n\n * @summary Get project\n */\nexport const getProjectPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetProjectParams = zod.object({\n project_id: zod.string().regex(getProjectPathProjectIdRegExp),\n});\n\nexport const GetProjectResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the project.\"),\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was last updated.\"),\n })\n .describe(\"The current state of a project.\");\n\n/**\n * Updates the state of a project.\n\n * @summary Update project\n */\nexport const patchProjectPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const PatchProjectParams = zod.object({\n project_id: zod.string().regex(patchProjectPathProjectIdRegExp),\n});\n\nexport const PatchProjectBody = zod.object({\n name: zod.union([zod.null(), zod.string()]).optional().describe(\"The name of the project.\"),\n});\n\nexport const PatchProjectResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the project.\"),\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was last updated.\"),\n })\n .describe(\"The current state of a project.\");\n\n/**\n * Starts a claim challenge for an unclaimed project. Authenticated by the\nproject secret, this mints a single-use, short-lived challenge and returns\nthe `claim_url` the developer opens in a browser to complete the claim,\ntogether with the `challenge_id` the CLI polls with. The exact expiry is\ncarried by `expires_at` on the response.\n\n * @summary Initialize a project claim\n */\nexport const initClaimPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const InitClaimParams = zod.object({\n project_id: zod.string().regex(initClaimPathProjectIdRegExp),\n});\n\n/**\n * Polled by the CLI while a browser completes the claim. Authorized by the\nproject secret that initiated the challenge. Returns `pending`, or\n`completed` with the owning team, the claim timestamp, and the dashboard\nURL once the browser leg has finished.\n\n * @summary Get claim status\n */\nexport const getClaimStatusPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimStatusParams = zod.object({\n project_id: zod.string().regex(getClaimStatusPathProjectIdRegExp),\n});\n\nexport const getClaimStatusQueryChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimStatusQueryParams = zod.strictObject({\n challenge_id: zod\n .string()\n .regex(getClaimStatusQueryChallengeIdRegExp)\n .describe(\"The challenge minted by the matching claim init.\"),\n});\n\nexport const getClaimStatusResponseTwoTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimStatusResponse = zod\n .union([\n zod\n .object({\n status: zod.enum([\"pending\"]).describe(\"The claim has not completed yet.\"),\n })\n .describe(\"A claim challenge that is still awaiting the browser leg.\"),\n zod\n .object({\n status: zod.enum([\"completed\"]).describe(\"The claim has completed.\"),\n team_id: zod.string().regex(getClaimStatusResponseTwoTeamIdRegExp),\n claimed_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was claimed.\"),\n dashboard_url: zod.url().describe(\"The dashboard URL for the owning team.\"),\n })\n .describe(\n \"A completed claim. Carries the owning team, when the claim landed, and the\\ndashboard where it can be managed, so a generated client can rely on those\\nfields being present whenever `status` is `completed`.\\n\",\n ),\n ])\n .describe(\n \"The state of a claim challenge. While pending it carries only `status`; once\\ncompleted it also carries the owning team, the claim timestamp, and the\\ndashboard URL. Modelled as discriminated variants so a `pending` response can\\nnever carry stale completion fields and a `completed` response always carries\\nthem.\\n\",\n );\n\n/**\n * Called by the browser after the developer authenticates on the claim page.\nAuthenticated by the `__nextgen_session` cookie, it attaches the project to\nthe developer's personal team using the `challenge_id` from the claim URL as\nits single-use, browser-safe authorization.\n\n * @summary Complete a project claim\n */\nexport const completeClaimPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CompleteClaimParams = zod.object({\n project_id: zod.string().regex(completeClaimPathProjectIdRegExp),\n});\n\nexport const completeClaimBodyChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const CompleteClaimBody = zod\n .object({\n challenge_id: zod\n .string()\n .regex(completeClaimBodyChallengeIdRegExp)\n .describe(\"Unique identifier for this challenge (dialect-minted prefixed opaque string).\"),\n })\n .describe(\"The request to complete a project claim.\");\n\nexport const completeClaimResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const completeClaimResponseTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CompleteClaimResponse = zod\n .object({\n project_id: zod.string().regex(completeClaimResponseProjectIdRegExp),\n team_id: zod.string().regex(completeClaimResponseTeamIdRegExp),\n claimed_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was claimed.\"),\n })\n .describe(\"The result of a completed project claim.\");\n\n/**\n * Creates an anonymous session shell with no user and no factors (`state: building`).\n\nThis is optional — an `auth_attempt` will create a session implicitly if none is provided.\nUse this explicitly when you want to:\n- Pre-allocate a `session_id` before the user is known, so device/telemetry signals\n can be correlated with the eventual authenticated session from the start.\n- Track anonymous state (bot detection, device fingerprint) that survives until authentication.\n\nCreating a session is an app-plane operation on the project credential\n(`session.write`). The returned `session_token` is a session credential for the\nend-user client, not a management scope: it is delivered as the\n`__nextgen_session` cookie and authorises the self-service operations\n`GET /sessions/me` and `DELETE /sessions/me` (`nextgenSession` scheme). The\nby-id operations `GET /sessions/{session_id}` and `DELETE /sessions/{session_id}`\nare operator endpoints and require `session.read` / `session.delete` instead.\n\nThe `session_token` is superseded when a handoff exchange completes — clients must\nreplace it at that point.\n\nAnonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured\nfull session TTL when the first authentication factor is written via a completing `auth_attempt`.\n\n * @summary Create an anonymous session shell\n */\nexport const createSessionBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateSessionBody = zod\n .object({\n project_id: zod.string().regex(createSessionBodyProjectIdRegExp),\n user_agent: zod\n .object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client.\"),\n })\n .optional()\n .describe(\n \"Optional user agent \\/ device context to attach to the session.\\nUseful for correlating telemetry and device signals with the eventual\\nauthenticated session from the start.\\n\",\n ),\n })\n .describe(\"Request to create an anonymous session shell.\");\n\n/**\n * Returns the sessions of a project, paginated with a cursor.\nSessions of every lifecycle state are returned; each carries its `state`.\nRequires `session.read` permission.\n\n * @summary Query sessions\n */\nexport const querySessionsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const QuerySessionsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(querySessionsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const querySessionsBodyLimitDefault = 20;\nexport const querySessionsBodyLimitMax = 100;\n\nexport const QuerySessionsBody = zod\n .object({\n limit: zod\n .number()\n .min(1)\n .max(querySessionsBodyLimitMax)\n .default(querySessionsBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Token to retrieve the next page of results.\"),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"user_id\"])\n .describe(\n \"Field to sort sessions by. Only stored columns are sortable: the keyset\\ncursor holds the last row's sort values, so a computed value such as\\n`state` would skip or duplicate rows between pages.\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"created_at\", \"user_id\", \"state\", \"lifecycle_owner_team_id\"])\n .describe(\n \"Field to filter sessions by:\\n- `created_at`: RFC3339 timestamp\\n- `user_id`: user id\\n- `state`: one of `building`, `active`, `expired`. State is computed at read\\n time, so a session expiring mid-request can match `active` but return `expired`.\\n- `lifecycle_owner_team_id`: team id. Matches the sessions of the users whose\\n lifecycle that team owns — the same users it can deactivate and whose\\n sessions it can revoke. Roster membership does not match: a collaborator on\\n the team's roster whose lifecycle another team (or the user themselves)\\n owns is not returned. A session is project-scoped and is not bound to a\\n team, so the link is read from the user at query time; a session of a\\n self-owned user, and a session with no user, match no team. Only `equals`\\n is supported.\\n\",\n ),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying sessions.\"),\n })\n .describe(\"Request to query the sessions of a project.\");\n\nexport const querySessionsResponseSessionsItemSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const querySessionsResponseSessionsItemProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const querySessionsResponseSessionsItemUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const QuerySessionsResponse = zod\n .object({\n sessions: zod.array(\n zod\n .object({\n session_id: zod\n .string()\n .regex(querySessionsResponseSessionsItemSessionIdRegExp)\n .describe(\n \"Unique identifier for this session (dialect-minted prefixed opaque string).\",\n ),\n project_id: zod.string().regex(querySessionsResponseSessionsItemProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([\n zod.string().regex(querySessionsResponseSessionsItemUserIdOneRegExp),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n name: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n email: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(\n querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp,\n ),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod\n .string()\n .optional()\n .describe(\"Client-supplied device fingerprint.\"),\n ip: zod\n .string()\n .optional()\n .describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of sessions.\");\n\n/**\n * Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`\nand returns the resulting session and a `session_token`.\n\nThe server resolves the originating `auth_attempt` from the token and then:\n\n| Originating auth_attempt | Outcome |\n|---|---|\n| No `session_id` | A new authenticated session is **created**. |\n| `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. |\n| `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. |\n\nThe response shape is identical in all three cases.\n\nThe `session_token` supersedes any previously issued `session_token` for the same session.\nClients must replace their stored token at this point.\n\nRequires a project service key (OAuth2 client credentials).\n\n * @summary Exchange handoff token for a session\n */\nexport const exchangeHandoffQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ExchangeHandoffQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(exchangeHandoffQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const ExchangeHandoffHeader = zod.strictObject({\n \"Idempotency-Key\": zod\n .string()\n .optional()\n .describe(\n \"Optional retry key for safe retries of the call.\\nRetries carrying the same key within the call window return the cached\\npayload without creating a new resource. See details in the endpoint description.\\n\",\n ),\n});\n\nexport const ExchangeHandoffBody = zod\n .object({\n handoff_token: zod\n .string()\n .describe(\n \"The one-time handoff token minted by `POST \\/auth_attempts\\/{id}\\/handoff`.\\nSingle-use — replaying it after a successful exchange returns `410 Gone`.\\n\",\n ),\n ttl: zod\n .string()\n .optional()\n .describe(\n \"Optional session lifetime after exchange as an ISO-8601 duration. When omitted, the server\\nuses the configured default. Must not exceed the configured maximum.\\n\",\n ),\n })\n .describe(\"Request to exchange a handoff token for a session and session_token.\");\n\nexport const exchangeHandoffResponseSessionSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const ExchangeHandoffResponse = zod\n .object({\n session: zod\n .object({\n session_id: zod\n .string()\n .regex(exchangeHandoffResponseSessionSessionIdRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n project_id: zod.string().regex(exchangeHandoffResponseSessionProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([zod.string().regex(exchangeHandoffResponseSessionUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n name: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n email: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n ),\n session_token: zod\n .string()\n .describe(\n \"Bearer token authorising management of this session (GET and DELETE).\\nFor anonymous sessions this token is superseded when a handoff exchange completes —\\nclients must replace their stored token at that point.\\n\",\n ),\n })\n .describe(\n \"Response for session creation and handoff exchange.\\nIncludes the session state and the session_token required to manage it.\\n\",\n );\n\n/**\n * Returns the current state of a session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get session state\n */\nexport const getSessionPathSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\n\nexport const GetSessionParams = zod.object({\n session_id: zod\n .string()\n .regex(getSessionPathSessionIdRegExp)\n .describe(\"The unique identifier of the session.\"),\n});\n\nexport const getSessionResponseSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const GetSessionResponse = zod\n .object({\n session_id: zod\n .string()\n .regex(getSessionResponseSessionIdRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n project_id: zod.string().regex(getSessionResponseProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([zod.string().regex(getSessionResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n name: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n email: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(getSessionResponseFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n );\n\n/**\n * Permanently deletes the session, terminating it immediately.\n\nThis is the operator revoke path and requires the `session.delete` scope on a\nproject-bound credential. End-user logout with the `__nextgen_session` cookie is\n`DELETE /sessions/me` (`nextgenSession` scheme).\n\nIdempotent: deleting a session that does not exist (or was already deleted)\nstill returns 204. After deletion, any tokens derived from the session are\ninvalidated.\n\n * @summary Revoke session\n */\nexport const revokeSessionPathSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\n\nexport const RevokeSessionParams = zod.object({\n session_id: zod\n .string()\n .regex(revokeSessionPathSessionIdRegExp)\n .describe(\"The unique identifier of the session.\"),\n});\n\n/**\n * Returns the current state of the current session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get my session state\n */\nexport const getMySessionResponseSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const GetMySessionResponse = zod\n .object({\n session_id: zod\n .string()\n .regex(getMySessionResponseSessionIdRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n project_id: zod.string().regex(getMySessionResponseProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([zod.string().regex(getMySessionResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n name: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n email: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(getMySessionResponseFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n );\n\n/**\n * Create a new schema. The optional `$id` field is the JSON Schema document\nURI used to identify the schema in future requests (GitOps-stable identity,\nnot a free-form resource primary key). When `$id` is omitted, the server\ngenerates a `sch_*` URL. When provided, `$id` must be unique within the\nproject and should ideally be a valid URI pointing at where the schema can\nbe accessed.\n\nThe schema can either be a concrete schema, e.g. a user schema, or a\nschema-url which will be resolved by the server.\n\n * @summary Create new schema\n */\nexport const createSchemaQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createSchemaQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateSchemaQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createSchemaQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n team_id: zod\n .string()\n .regex(createSchemaQueryTeamIdRegExp)\n .optional()\n .describe(\"The unique identifier of the team\"),\n});\n\nexport const createSchemaBodyOneObjectTypeMax = 256;\n\nexport const createSchemaBodyOnePropertiesXAuditDefault = false;\n\nexport const CreateSchemaBody = zod.union([\n zod\n .object({\n objectType: zod\n .string()\n .max(createSchemaBodyOneObjectTypeMax)\n .optional()\n .describe(\"The type of user this schema describes. This is a customer chosen name.\\n\"),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(createSchemaBodyOnePropertiesXAuditDefault)\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n ),\n zod\n .object({\n kind: zod\n .literal(\"schema-url\")\n .describe(\"Discriminator value for a user schema create request.\"),\n url: zod.url().describe(\"URL to the schema definition.\"),\n })\n .describe(\n \"A schema definition that references an external schema via a URL. It is \\non creation, validated against its metaschema and cached in the database.\\n\",\n ),\n]);\n\n/**\n * Retrieve a list of all schemas available in the system. This endpoint\nsupports pagination and filtering based on schema attributes.\n\n * @summary List all schemas\n */\nexport const listSchemasQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listSchemasQueryLimitDefault = 20;\nexport const listSchemasQueryLimitMax = 100;\n\nexport const listSchemasQueryObjectTypeMax = 256;\n\nexport const listSchemasQueryRevisionsDefault = `all`;\n\nexport const ListSchemasQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listSchemasQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listSchemasQueryLimitMax)\n .default(listSchemasQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n object_type: zod\n .string()\n .max(listSchemasQueryObjectTypeMax)\n .optional()\n .describe(\"The type of object of the schema to filter by.\"),\n revisions: zod\n .enum([\"all\", \"latest\"])\n .default(listSchemasQueryRevisionsDefault)\n .describe(\n \"Which revisions to return. Schemas are immutable and versioned by URL,\\nso editing one mints a new row sharing its `objectType`.\\n\\n`all` (the default) returns every revision — the full history an\\nexport, an audit or a GitOps diff needs. `latest` returns the newest\\nrevision of each `objectType`, which is one row per schema.\\n\\nA schema stored without an `objectType` is a revision of nothing, and\\nis returned by both.\\n\\nA `page_token` is bound to the mode it was issued in and is rejected by\\nthe other.\\n\",\n ),\n kind: zod\n .enum([\"user-schema\"])\n .optional()\n .describe(\n \"The kind of schema to filter by, read from the stored document's\\n`kind` property.\\n\\n`schema-url` is not a kind: it discriminates the create request body,\\nnot a stored schema. A schema registered by URL is stored as whatever\\ndocument the URL served, and declares its own kind.\\n\\nA schema stored without its document being parsed has no kind that\\ncould be read, and is excluded from every filtered result.\\n\",\n ),\n});\n\nexport const listSchemasResponseSchemasItemSchemaOneObjectTypeMax = 256;\n\nexport const listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault = false;\n\nexport const ListSchemasResponse = zod\n .object({\n schemas: zod.array(\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(listSchemasResponseSchemasItemSchemaOneObjectTypeMax)\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault)\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"List of schemas, newest first.\");\n\n/**\n * Get a schema by its ID. A schema ID identifies one immutable revision, so\nthis returns exactly that revision. To find the current revision of an\nobject type, list with `revisions=latest`.\n\n * @summary Get schema by ID\n */\nexport const GetSchemaByIdParams = zod.object({\n id: zod.string(),\n});\n\nexport const getSchemaByIdQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetSchemaByIdQueryParams = zod.strictObject({\n team_id: zod\n .string()\n .regex(getSchemaByIdQueryTeamIdRegExp)\n .optional()\n .describe(\"The unique identifier of the team\"),\n});\n\nexport const getSchemaByIdResponseSchemaOneObjectTypeMax = 256;\n\nexport const getSchemaByIdResponseSchemaOnePropertiesXAuditDefault = false;\n\nexport const GetSchemaByIdResponse = zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(getSchemaByIdResponseSchemaOneObjectTypeMax)\n .optional()\n .describe(\"The type of user this schema describes. This is a customer chosen name.\\n\"),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(getSchemaByIdResponseSchemaOnePropertiesXAuditDefault)\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n );\n\n/**\n * Creates a new flow definition.\nFlow definitions are templates that define the sequence of steps (capabilities)\nfor a particular user journey (e.g., registration, login, password reset).\n\nFlow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.\n\n * @summary Create a new flow definition\n */\nexport const createFlowDefinitionBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createFlowDefinitionBodyFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault = [];\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault = [];\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault = [];\n\nexport const CreateFlowDefinitionBody = zod\n .object({\n project_id: zod.string().regex(createFlowDefinitionBodyProjectIdRegExp),\n schema_uri: zod\n .url()\n .optional()\n .describe(\n \"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\",\n ),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(createFlowDefinitionBodyFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n );\n\n/**\n * Retrieves a list of all flow definitions.\nThis endpoint can be used to view existing flow definitions and their configurations.\n\n * @summary List flow definitions\n */\nexport const listFlowDefinitionsQueryLimitDefault = 20;\nexport const listFlowDefinitionsQueryLimitMax = 100;\n\nexport const listFlowDefinitionsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ListFlowDefinitionsQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listFlowDefinitionsQueryLimitMax)\n .default(listFlowDefinitionsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n project_id: zod\n .string()\n .regex(listFlowDefinitionsQueryProjectIdRegExp)\n .describe(\"The project id to filter by.\"),\n purpose: zod\n .enum([\"login\", \"register\", \"recovery\", \"profiling\", \"reauth\", \"link_account\"])\n .optional()\n .describe(\"Filter flow definitions by purpose (e.g., registration, login).\"),\n expand: zod\n .array(\n zod\n .enum([\"user_schema\"])\n .describe(\n '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',\n ),\n )\n .optional()\n .describe(\"Related entities to embed on each returned flow definition.\"),\n});\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp = new RegExp(\n \"^[a-z][a-z0-9-]\\*$\",\n);\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault =\n {} as const;\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const ListFlowDefinitionsResponse = zod.object({\n flow_definitions: zod.array(\n zod.object({\n id: zod.string().describe(\"Unique identifier for the flow definition.\"),\n project_id: zod\n .string()\n .describe(\"Identifier of the project this flow definition belongs to.\"),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault,\n )\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault,\n )\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault,\n )\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault,\n )\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n user_schema: zod\n .union([\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax,\n )\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault,\n )\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The user schema this flow operates on: the same object\\n`GET \\/schemas\\/{id}` returns. Present only when the request asked for it\\nwith `expand=user_schema`; `null` when it was requested but the\\nreferenced schema no longer resolves or the caller may not read it.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }),\n updated_at: zod.iso.datetime({ offset: true }),\n }),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The token to retrieve the next page of results. Absent if there are no more results.\",\n ),\n});\n\n/**\n * Get a flow definition by id\n * @summary Get a flow definition by id\n */\nexport const GetFlowDefinitionParams = zod.object({\n id: zod.string().describe(\"The id returned by the POST \\/flow_definitions endpoint.\\n\"),\n});\n\nexport const getFlowDefinitionResponseFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault = [];\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault = [];\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [];\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const GetFlowDefinitionResponse = zod.object({\n id: zod.string().describe(\"Unique identifier for the flow definition.\"),\n project_id: zod.string().describe(\"Identifier of the project this flow definition belongs to.\"),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(getFlowDefinitionResponseFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n user_schema: zod\n .union([\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax)\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(\n getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault,\n )\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The user schema this flow operates on: the same object\\n`GET \\/schemas\\/{id}` returns. Present only when the request asked for it\\nwith `expand=user_schema`; `null` when it was requested but the\\nreferenced schema no longer resolves or the caller may not read it.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }),\n updated_at: zod.iso.datetime({ offset: true }),\n});\n\n/**\n * Update a flow definition by id. This endpoint replaces the existing flow definition.\nIf `flow_definition.status` is omitted, the current status is preserved\n\n * @summary Update a flow definition by id\n */\nexport const UpdateFlowDefinitionParams = zod.object({\n id: zod.string().describe(\"The id returned by the POST \\/flow_definitions endpoint.\\n\"),\n});\n\nexport const updateFlowDefinitionBodyFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault = [];\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault = [];\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault = [];\n\nexport const UpdateFlowDefinitionBody = zod\n .object({\n schema_uri: zod\n .url()\n .optional()\n .describe(\n \"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\",\n ),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(updateFlowDefinitionBodyFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n })\n .describe(\"Replaces the existing flow definition.\\n\");\n\nexport const updateFlowDefinitionResponseFlowDefinitionNameRegExp = new RegExp(\n \"^[a-z][a-z0-9-]\\*$\",\n);\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault = [];\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault = [];\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [];\nexport const updateFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const updateFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const UpdateFlowDefinitionResponse = zod.object({\n id: zod.string().describe(\"Unique identifier for the flow definition.\"),\n project_id: zod.string().describe(\"Identifier of the project this flow definition belongs to.\"),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(updateFlowDefinitionResponseFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n user_schema: zod\n .union([\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(updateFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax)\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(\n updateFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault,\n )\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The user schema this flow operates on: the same object\\n`GET \\/schemas\\/{id}` returns. Present only when the request asked for it\\nwith `expand=user_schema`; `null` when it was requested but the\\nreferenced schema no longer resolves or the caller may not read it.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }),\n updated_at: zod.iso.datetime({ offset: true }),\n});\n\n/**\n * Delete a flow definition by id.\nIf the flow definition is currently being used by a flow, the deletion will fail.\nIf the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.\n\n * @summary Delete a flow definition by id\n */\nexport const DeleteFlowDefinitionParams = zod.object({\n id: zod.string().describe(\"The id returned by the POST \\/flow_definitions endpoint.\\n\"),\n});\n\n/**\n * @summary Create team\n */\nexport const createTeamQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateTeamQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createTeamQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createTeamBodyNameMax = 200;\n\nexport const CreateTeamBody = zod.object({\n name: zod\n .string()\n .min(1)\n .max(createTeamBodyNameMax)\n .describe(\"The name of the team. Must be unique within the project.\"),\n});\n\n/**\n * Returns the teams of a project, paginated with a cursor.\n\n * @summary Query teams\n */\nexport const queryTeamsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const QueryTeamsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(queryTeamsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const queryTeamsBodyLimitDefault = 20;\nexport const queryTeamsBodyLimitMax = 100;\n\nexport const QueryTeamsBody = zod\n .object({\n limit: zod.number().min(1).max(queryTeamsBodyLimitMax).default(queryTeamsBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"name\", \"status\"])\n .describe(\n \"Field to filter or sort teams by.\\n\\nTeam names are unique per project case-insensitively, so `name` is matched\\ncase-insensitively by `equals` as well as by `contains`.\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"created_at\", \"name\", \"status\"])\n .describe(\n \"Field to filter or sort teams by.\\n\\nTeam names are unique per project case-insensitively, so `name` is matched\\ncase-insensitively by `equals` as well as by `contains`.\\n\",\n ),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying teams.\"),\n })\n .describe(\"Request to query the teams of a project.\");\n\nexport const QueryTeamsResponse = zod\n .object({\n teams: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\"Paginated list of teams.\");\n\n/**\n * Returns a Team by its id.\n\n * @summary Get team\n */\nexport const getTeamPathTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetTeamParams = zod.object({\n team_id: zod.string().regex(getTeamPathTeamIdRegExp),\n});\n\nexport const GetTeamResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\");\n\n/**\n * Deactivates the team.\n\nThe team is tombstoned rather than erased: it stays readable through\ngetTeam with status `deactivated`. Its memberships are removed and the\nusers whose lifecycle it owns are deactivated with it.\n\nThe request is idempotent. Deleting a team that is already deactivated\nor doesn't exist succeeds without changing anything.\n\n * @summary Delete team\n */\nexport const deleteTeamPathTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const DeleteTeamParams = zod.object({\n team_id: zod.string().regex(deleteTeamPathTeamIdRegExp),\n});\n\n/**\n * Update team. Only active teams can be updated.\n\n * @summary Update team\n */\nexport const updateTeamPathTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const UpdateTeamParams = zod.object({\n team_id: zod.string().regex(updateTeamPathTeamIdRegExp),\n});\n\nexport const updateTeamBodyNameMax = 200;\n\nexport const UpdateTeamBody = zod.object({\n name: zod\n .string()\n .min(1)\n .max(updateTeamBodyNameMax)\n .optional()\n .describe(\"The name of the team. Must be unique within the project.\"),\n});\n\nexport const UpdateTeamResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\");\n\n/**\n * Lists the project's environments ordered by name.\n\n * @summary List environments\n */\nexport const listEnvironmentsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEnvironmentsQueryLimitDefault = 20;\nexport const listEnvironmentsQueryLimitMax = 100;\n\nexport const ListEnvironmentsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listEnvironmentsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listEnvironmentsQueryLimitMax)\n .default(listEnvironmentsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const listEnvironmentsResponseEnvironmentsItemProjectIdRegExp = new RegExp(\n \"^[a-zA-Z0-9_-]+$\",\n);\nexport const listEnvironmentsResponseEnvironmentsItemNameMax = 63;\n\nexport const listEnvironmentsResponseEnvironmentsItemNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const ListEnvironmentsResponse = zod\n .object({\n environments: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The opaque, immutable resource id.\"),\n project_id: zod.string().regex(listEnvironmentsResponseEnvironmentsItemProjectIdRegExp),\n name: zod\n .string()\n .max(listEnvironmentsResponseEnvironmentsItemNameMax)\n .regex(listEnvironmentsResponseEnvironmentsItemNameRegExp)\n .describe(\n \"An environment's public handle, unique within its project and immutable.\\n\\nIt addresses the environment on the wire and names a deploy target in the\\nCLI, so it is a lowercase DNS-style label: letters, digits, and hyphens\\nbetween them.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the environment was created.\"),\n })\n .describe(\n \"A runtime slot on a project (ADR 035).\\n\\nThis is identity only. The release an environment currently runs, and its\\ndeployment history, arrive with the deployments endpoints; environment\\nlifecycle (create, rename, retire) arrives with its own ADR. Until then\\nevery project is seeded with a fixed set of environments at creation and\\nthe set cannot be changed.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"The project's environments, ordered by name.\");\n\n/**\n * Reads one environment of the project by its name.\n\nThe lookup is scoped to the project in `project_id`: a name that exists in\nanother project answers `env.not_found` exactly as an unused name does.\n\n * @summary Get an environment by name\n */\nexport const getEnvironmentByNamePathNameMax = 63;\n\nexport const getEnvironmentByNamePathNameRegExp = new RegExp(\"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\");\n\nexport const GetEnvironmentByNameParams = zod.object({\n name: zod\n .string()\n .max(getEnvironmentByNamePathNameMax)\n .regex(getEnvironmentByNamePathNameRegExp)\n .describe(\"The name of the environment, unique within the project.\"),\n});\n\nexport const getEnvironmentByNameQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetEnvironmentByNameQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getEnvironmentByNameQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getEnvironmentByNameResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEnvironmentByNameResponseNameMax = 63;\n\nexport const getEnvironmentByNameResponseNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const GetEnvironmentByNameResponse = zod\n .object({\n id: zod.string().describe(\"The opaque, immutable resource id.\"),\n project_id: zod.string().regex(getEnvironmentByNameResponseProjectIdRegExp),\n name: zod\n .string()\n .max(getEnvironmentByNameResponseNameMax)\n .regex(getEnvironmentByNameResponseNameRegExp)\n .describe(\n \"An environment's public handle, unique within its project and immutable.\\n\\nIt addresses the environment on the wire and names a deploy target in the\\nCLI, so it is a lowercase DNS-style label: letters, digits, and hyphens\\nbetween them.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the environment was created.\"),\n })\n .describe(\n \"A runtime slot on a project (ADR 035).\\n\\nThis is identity only. The release an environment currently runs, and its\\ndeployment history, arrive with the deployments endpoints; environment\\nlifecycle (create, rename, retire) arrives with its own ADR. Until then\\nevery project is seeded with a fixed set of environments at creation and\\nthe set cannot be changed.\\n\",\n );\n\n/**\n * Publishes a new immutable branding revision for the project. Branding\nrevisions cannot be updated or deleted; every edit publishes a new\nrevision, and flow responses resolve the latest revision per project\n(see ADR 040).\n\nThe `liquid_template` is validated lexically on save (size, encoding,\nbanned patterns such as `<script>` tags, inline event handlers, and the\n`| raw` filter). Authoritative LiquidJS validation runs at authoring\ntime via `zitadel plan` / `zitadel apply`.\n\n * @summary Publish a new branding revision\n */\nexport const createBrandingQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateBrandingQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createBrandingQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createBrandingBodyLayoutDefault = `centered`;\nexport const createBrandingBodyLiquidTemplateMax = 131072;\n\nexport const CreateBrandingBody = zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(createBrandingBodyLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(createBrandingBodyLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod.url().optional().describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n );\n\n/**\n * Lists branding revisions for the project, newest first, capped at the\n100 most recent. The first entry is the revision flow responses\ncurrently resolve. Deliberately unpaginated in v1 — list endpoints\ngain a real query mechanism together (ADR 031); advertising pagination\nparameters the server ignores would be worse than none.\n\n * @summary List branding revisions\n */\nexport const listBrandingQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ListBrandingQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listBrandingQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const ListBrandingResponseItem = zod.object({\n id: zod.string().describe(\"The unique identifier of this branding revision.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this revision was published.\"),\n});\nexport const ListBrandingResponse = zod.array(ListBrandingResponseItem);\n\n/**\n * Retrieves a single branding revision, including its stored configuration.\n * @summary Get a branding revision by ID\n */\nexport const GetBrandingByIdParams = zod.object({\n id: zod.string(),\n});\n\nexport const getBrandingByIdResponseBrandingLayoutDefault = `centered`;\nexport const getBrandingByIdResponseBrandingLiquidTemplateMax = 131072;\n\nexport const GetBrandingByIdResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of this branding revision.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this revision was published.\"),\n branding: zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(getBrandingByIdResponseBrandingLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(getBrandingByIdResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod\n .url()\n .optional()\n .describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n ),\n })\n .describe(\n \"A stored branding revision. `branding` echoes the canonical stored\\nconfiguration so clients (e.g. the CLI sync engine) can reconcile local\\nfiles with the server's stored state.\\n\",\n );\n\n/**\n * Bundles a release from revisions that already exist, supplied as\n`(kind, revision_id)` pairs. No new revisions are allocated — use the\nper-kind create endpoints for that, then pin the ids here.\n\nEvery referenced `revision_id` must exist in the project. Each one's handle\nis read from the revision itself and recorded on the release, so a resource\nis always pinned under the identity it declares.\n\nCreating a release does not deploy it. A release is environment-agnostic\nand the same release can later be deployed to any number of environments\nunchanged.\n\nIdempotent on the pinned set: metadata is excluded from the comparison, so\nre-submitting the same revisions with a different `message` returns the\nrelease that already pins them rather than creating a second one.\n\n * @summary Create a release\n */\nexport const createReleaseQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateReleaseQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createReleaseQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createReleaseBodyPointersItemRevisionIdMax = 512;\n\nexport const createReleaseBodyMessageMax = 1024;\n\nexport const createReleaseBodyGitShaMax = 64;\n\nexport const createReleaseBodyGitDirtyDefault = false;\n\nexport const CreateReleaseBody = zod\n .object({\n pointers: zod\n .array(\n zod\n .object({\n kind: zod\n .enum([\"schema\", \"flow_definition\", \"branding\"])\n .describe(\n \"The kind of resource a release pointer pins.\\n\\nCarried explicitly rather than inferred from `revision_id`, because a\\nrevision id is not always shaped distinctly enough to identify its kind: a\\nschema's is its `$id`, which may be any URL.\\n\\n`flow_definition` rather than `flow`: a release pins the definitions served\\nat `\\/flow_definitions`, not the runtime flows at `\\/flow`.\\n\",\n ),\n revision_id: zod\n .string()\n .min(1)\n .max(createReleaseBodyPointersItemRevisionIdMax)\n .describe(\n \"The revision of that resource to pin. Must already exist in the project —\\nthis endpoint pins revisions, it does not create them.\\n\\nDeliberately not constrained to a prefixed id: for `kind: schema` this is\\nthe schema's `$id`, which is a URL whenever the document supplied one and\\nonly a generated `sch_\\*` value otherwise.\\n\",\n ),\n })\n .describe(\n \"One revision to pin. The handle is not supplied: it is the resource's own\\nidentifying field, so the server reads it from the revision being pinned and\\nrecords it on the release.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"The revisions to pin. Must not be empty.\\n\\nA kind usually appears more than once: a project has several user schemas\\nand several flow definitions, and each is pinned on its own. What it\\ncannot do is\\npin two revisions of the \\*same\\* resource — a second revision of the\\n`human-user` schema is rejected rather than ordered, since a release\\ndescribes one state of the project.\\n\",\n ),\n message: zod\n .string()\n .max(createReleaseBodyMessageMax)\n .optional()\n .describe(\n \"A short summary of what the release changes, analogous to a git commit\\nmessage. Recorded on the release and shown when listing releases.\\n\",\n ),\n git_sha: zod\n .string()\n .max(createReleaseBodyGitShaMax)\n .optional()\n .describe(\"The source commit the caller was operating from.\"),\n git_dirty: zod\n .boolean()\n .default(createReleaseBodyGitDirtyDefault)\n .describe(\n \"Set when the working tree had uncommitted changes, so the release content\\ndoes not correspond exactly to `git_sha`.\\n\",\n ),\n })\n .describe(\n \"The set of revisions to bundle into a release, plus the metadata to record\\nalongside it.\\n\\n`created_at` and `created_by` are derived server-side from the caller's\\nauthentication context and are not accepted here.\\n\",\n );\n\nexport const createReleaseResponseIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\nexport const createReleaseResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createReleaseResponseMetadataMessageOneMax = 1024;\n\nexport const createReleaseResponseMetadataGitShaOneMax = 64;\n\nexport const createReleaseResponseMetadataGitDirtyDefault = false;\nexport const createReleaseResponsePointersItemHandleMax = 256;\n\nexport const createReleaseResponsePointersItemRevisionIdMax = 512;\n\nexport const CreateReleaseResponse = zod\n .object({\n id: zod\n .string()\n .regex(createReleaseResponseIdRegExp)\n .describe(\"The opaque, immutable identifier of a release.\"),\n project_id: zod.string().regex(createReleaseResponseProjectIdRegExp),\n metadata: zod\n .object({\n message: zod\n .union([zod.string().max(createReleaseResponseMetadataMessageOneMax), zod.null()])\n .optional()\n .describe(\n \"A short caller-supplied summary of what the release changes, analogous to\\na git commit message.\\n\",\n ),\n git_sha: zod\n .union([zod.string().max(createReleaseResponseMetadataGitShaOneMax), zod.null()])\n .optional()\n .describe(\n \"The source commit the caller was operating from. Recording it on both\\nreleases is what lets two releases be diffed at field level in the\\nsource repository they were built from.\\n\",\n ),\n git_dirty: zod\n .boolean()\n .default(createReleaseResponseMetadataGitDirtyDefault)\n .describe(\n \"True when the working tree had uncommitted changes at construction time.\\n`git_sha` still points at HEAD, but the release content does not\\ncorrespond to that commit exactly, so consumers of the git-diff mechanism\\nshould skip it when either side is dirty.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the release was assembled.\"),\n created_by: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The identity that assembled the release. Absent when the caller is a\\nmachine principal carrying no user identity, which is the common case for\\nreleases constructed from CI or the CLI.\\n\",\n ),\n created_by_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"What kind of principal `created_by` names.\"),\n })\n .describe(\n \"Who assembled the release, when, and from what source. Set when the release\\nis assembled and never mutated afterwards.\\n\",\n ),\n pointers: zod\n .array(\n zod\n .object({\n kind: zod\n .enum([\"schema\", \"flow_definition\", \"branding\"])\n .describe(\n \"The kind of resource a release pointer pins.\\n\\nCarried explicitly rather than inferred from `revision_id`, because a\\nrevision id is not always shaped distinctly enough to identify its kind: a\\nschema's is its `$id`, which may be any URL.\\n\\n`flow_definition` rather than `flow`: a release pins the definitions served\\nat `\\/flow_definitions`, not the runtime flows at `\\/flow`.\\n\",\n ),\n handle: zod\n .string()\n .min(1)\n .max(createReleaseResponsePointersItemHandleMax)\n .describe(\n \"Which resource this pointer pins, independent of which revision of it.\\n`revision_id` chooses the revision; `handle` says what the revision is a\\nrevision \\*of\\*. Determined when the release is assembled, not supplied by\\nthe caller:\\n\\n- `schema` — the document's `objectType`, so `human-user` and\\n `machine-user` are separate resources a release pins separately\\n- `flow_definition` — the definition's `name`, likewise for\\n `default-login` and `b2b-login`\\n- `branding` — always `default`. A project has one branding, so there is\\n nothing to distinguish; it is revisioned like everything else, and\\n `revision_id` is what varies between releases.\\n\\nResources inside a release reference each other by handle rather than by\\nrevision id, so the same handle names the same resource in every release.\\n\",\n ),\n revision_id: zod\n .string()\n .min(1)\n .max(createReleaseResponsePointersItemRevisionIdMax)\n .describe(\n \"The revision of that resource this release pins.\\n\\nDeliberately not constrained to a prefixed id: for `kind: schema` this is\\nthe schema's `$id`, which is a URL whenever the document supplied one and\\nonly a generated `sch_\\*` value otherwise.\\n\",\n ),\n })\n .describe(\n \"One entry of the set a release pins: the revision of a single resource that\\nthis release includes.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"The revisions this release pins, one entry per `(kind, handle)`. Never\\nempty: a release must contain at least one resource.\\n\",\n ),\n })\n .describe(\n \"An immutable, project-scoped snapshot that pins one revision of every\\nresource it includes.\\n\\nA release owns pointers and metadata, not content — it records \\*which\\*\\nrevisions belong together. Callers that need the resource bytes resolve each\\n`revision_id` through the per-kind read endpoints (`GET \\/schemas\\/{id}`,\\n`GET \\/flow_definitions\\/{id}`, …).\\n\\nA release exists on its own and is not tied to an environment. Deploying it\\nis a separate call.\\n\",\n );\n\n/**\n * Lists the project's releases, newest first.\n\nEntries carry metadata only — the pinned set is omitted. Read one release\nwith `GET /releases/{release_id}` to get its pointers.\n\n * @summary List releases\n */\nexport const listReleasesQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listReleasesQueryLimitDefault = 20;\nexport const listReleasesQueryLimitMax = 100;\n\nexport const ListReleasesQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listReleasesQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listReleasesQueryLimitMax)\n .default(listReleasesQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const listReleasesResponseReleasesItemIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\nexport const listReleasesResponseReleasesItemProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listReleasesResponseReleasesItemMetadataMessageOneMax = 1024;\n\nexport const listReleasesResponseReleasesItemMetadataGitShaOneMax = 64;\n\nexport const listReleasesResponseReleasesItemMetadataGitDirtyDefault = false;\n\nexport const ListReleasesResponse = zod\n .object({\n releases: zod.array(\n zod\n .object({\n id: zod\n .string()\n .regex(listReleasesResponseReleasesItemIdRegExp)\n .describe(\"The opaque, immutable identifier of a release.\"),\n project_id: zod.string().regex(listReleasesResponseReleasesItemProjectIdRegExp),\n metadata: zod\n .object({\n message: zod\n .union([\n zod.string().max(listReleasesResponseReleasesItemMetadataMessageOneMax),\n zod.null(),\n ])\n .optional()\n .describe(\n \"A short caller-supplied summary of what the release changes, analogous to\\na git commit message.\\n\",\n ),\n git_sha: zod\n .union([\n zod.string().max(listReleasesResponseReleasesItemMetadataGitShaOneMax),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The source commit the caller was operating from. Recording it on both\\nreleases is what lets two releases be diffed at field level in the\\nsource repository they were built from.\\n\",\n ),\n git_dirty: zod\n .boolean()\n .default(listReleasesResponseReleasesItemMetadataGitDirtyDefault)\n .describe(\n \"True when the working tree had uncommitted changes at construction time.\\n`git_sha` still points at HEAD, but the release content does not\\ncorrespond to that commit exactly, so consumers of the git-diff mechanism\\nshould skip it when either side is dirty.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the release was assembled.\"),\n created_by: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The identity that assembled the release. Absent when the caller is a\\nmachine principal carrying no user identity, which is the common case for\\nreleases constructed from CI or the CLI.\\n\",\n ),\n created_by_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"What kind of principal `created_by` names.\"),\n })\n .describe(\n \"Who assembled the release, when, and from what source. Set when the release\\nis assembled and never mutated afterwards.\\n\",\n ),\n })\n .describe(\n \"A release without its pinned set — the shape `GET \\/releases` returns.\\n\\nPointers are omitted rather than optional so that a list entry can never be\\nmistaken for a release that pins nothing; fetch them with\\n`GET \\/releases\\/{release_id}`.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"The project's releases, newest first.\");\n\n/**\n * Reads one release: its metadata and the `(kind, handle, revision_id)`\ntuples it pins.\n\nDoes not embed resource content. Resolve each `revision_id` through the\nper-kind read endpoints when the bytes are needed.\n\nThe lookup is scoped to the project in `project_id`: a release id belonging\nto another project answers not found exactly as an unknown id does, so the\nendpoint cannot be used to probe for releases in projects the caller cannot\nread.\n\n * @summary Get a release by id\n */\nexport const getReleaseByIdPathReleaseIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\n\nexport const GetReleaseByIdParams = zod.object({\n release_id: zod\n .string()\n .regex(getReleaseByIdPathReleaseIdRegExp)\n .describe(\"The unique identifier of the release.\"),\n});\n\nexport const getReleaseByIdQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetReleaseByIdQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getReleaseByIdQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getReleaseByIdResponseIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\nexport const getReleaseByIdResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getReleaseByIdResponseMetadataMessageOneMax = 1024;\n\nexport const getReleaseByIdResponseMetadataGitShaOneMax = 64;\n\nexport const getReleaseByIdResponseMetadataGitDirtyDefault = false;\nexport const getReleaseByIdResponsePointersItemHandleMax = 256;\n\nexport const getReleaseByIdResponsePointersItemRevisionIdMax = 512;\n\nexport const GetReleaseByIdResponse = zod\n .object({\n id: zod\n .string()\n .regex(getReleaseByIdResponseIdRegExp)\n .describe(\"The opaque, immutable identifier of a release.\"),\n project_id: zod.string().regex(getReleaseByIdResponseProjectIdRegExp),\n metadata: zod\n .object({\n message: zod\n .union([zod.string().max(getReleaseByIdResponseMetadataMessageOneMax), zod.null()])\n .optional()\n .describe(\n \"A short caller-supplied summary of what the release changes, analogous to\\na git commit message.\\n\",\n ),\n git_sha: zod\n .union([zod.string().max(getReleaseByIdResponseMetadataGitShaOneMax), zod.null()])\n .optional()\n .describe(\n \"The source commit the caller was operating from. Recording it on both\\nreleases is what lets two releases be diffed at field level in the\\nsource repository they were built from.\\n\",\n ),\n git_dirty: zod\n .boolean()\n .default(getReleaseByIdResponseMetadataGitDirtyDefault)\n .describe(\n \"True when the working tree had uncommitted changes at construction time.\\n`git_sha` still points at HEAD, but the release content does not\\ncorrespond to that commit exactly, so consumers of the git-diff mechanism\\nshould skip it when either side is dirty.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the release was assembled.\"),\n created_by: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The identity that assembled the release. Absent when the caller is a\\nmachine principal carrying no user identity, which is the common case for\\nreleases constructed from CI or the CLI.\\n\",\n ),\n created_by_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"What kind of principal `created_by` names.\"),\n })\n .describe(\n \"Who assembled the release, when, and from what source. Set when the release\\nis assembled and never mutated afterwards.\\n\",\n ),\n pointers: zod\n .array(\n zod\n .object({\n kind: zod\n .enum([\"schema\", \"flow_definition\", \"branding\"])\n .describe(\n \"The kind of resource a release pointer pins.\\n\\nCarried explicitly rather than inferred from `revision_id`, because a\\nrevision id is not always shaped distinctly enough to identify its kind: a\\nschema's is its `$id`, which may be any URL.\\n\\n`flow_definition` rather than `flow`: a release pins the definitions served\\nat `\\/flow_definitions`, not the runtime flows at `\\/flow`.\\n\",\n ),\n handle: zod\n .string()\n .min(1)\n .max(getReleaseByIdResponsePointersItemHandleMax)\n .describe(\n \"Which resource this pointer pins, independent of which revision of it.\\n`revision_id` chooses the revision; `handle` says what the revision is a\\nrevision \\*of\\*. Determined when the release is assembled, not supplied by\\nthe caller:\\n\\n- `schema` — the document's `objectType`, so `human-user` and\\n `machine-user` are separate resources a release pins separately\\n- `flow_definition` — the definition's `name`, likewise for\\n `default-login` and `b2b-login`\\n- `branding` — always `default`. A project has one branding, so there is\\n nothing to distinguish; it is revisioned like everything else, and\\n `revision_id` is what varies between releases.\\n\\nResources inside a release reference each other by handle rather than by\\nrevision id, so the same handle names the same resource in every release.\\n\",\n ),\n revision_id: zod\n .string()\n .min(1)\n .max(getReleaseByIdResponsePointersItemRevisionIdMax)\n .describe(\n \"The revision of that resource this release pins.\\n\\nDeliberately not constrained to a prefixed id: for `kind: schema` this is\\nthe schema's `$id`, which is a URL whenever the document supplied one and\\nonly a generated `sch_\\*` value otherwise.\\n\",\n ),\n })\n .describe(\n \"One entry of the set a release pins: the revision of a single resource that\\nthis release includes.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"The revisions this release pins, one entry per `(kind, handle)`. Never\\nempty: a release must contain at least one resource.\\n\",\n ),\n })\n .describe(\n \"An immutable, project-scoped snapshot that pins one revision of every\\nresource it includes.\\n\\nA release owns pointers and metadata, not content — it records \\*which\\*\\nrevisions belong together. Callers that need the resource bytes resolve each\\n`revision_id` through the per-kind read endpoints (`GET \\/schemas\\/{id}`,\\n`GET \\/flow_definitions\\/{id}`, …).\\n\\nA release exists on its own and is not tied to an environment. Deploying it\\nis a separate call.\\n\",\n );\n\n/**\n * Bind a user or team to `project.viewer`, `project.editor`, or\n`project.admin` on the project identified by the `project-id` header.\nIDs are `asgn_<opaque>`. Owning-team (`project.team`) grants are not\ncreated here — claim owns that path. An unrevoked grant with the same\nprincipal and relation occupies the unique key even after `expires_at`;\nDELETE it before re-creating.\n\n * @summary Create grant\n */\nexport const createGrantQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateGrantQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createGrantQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const CreateGrantBody = zod.object({\n principal_type: zod\n .enum([\"user\", \"team\"])\n .describe(\"Kind of principal to bind. `sk_proj` and owning-team grants are not accepted.\"),\n principal_id: zod\n .string()\n .min(1)\n .describe(\n \"Principal id (`user_<opaque>` or `team_<opaque>`). The principal must\\nexist in the platform project when a platform project is configured.\\n\",\n ),\n relation: zod\n .enum([\"viewer\", \"editor\", \"admin\"])\n .describe(\"Catalog relation on `object_type` `project`. `team` (owning-team) is not allowed.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\n \"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\",\n ),\n});\n\n/**\n * Loads a grant by `(project_id, id)` that this API manages (user or team\nbound to viewer, editor, or admin) and that has not been revoked.\n\"Active\" here means not revoked: expired grants stay visible so the\nclient can DELETE before re-granting the same binding. Authorization\nstill ignores expired grants. Grants are not registered in\n`resource_scope_index`; project scope is required on the query (same as\nevents). Misses, revoked rows, project-secret setup (`sk_proj`),\nowning-team (`relation=team`) rows, and cross-project ids return 404.\n\n * @summary Get grant\n */\nexport const GetGrantParams = zod.object({\n id: zod.string().describe(\"Managed assignment id (`asgn_<opaque>`).\"),\n});\n\nexport const getGrantQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetGrantQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getGrantQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const GetGrantResponse = zod\n .object({\n id: zod.string().describe(\"Managed assignment id (`asgn_<opaque>`).\"),\n project_id: zod.string().describe(\"Project this grant is scoped to.\"),\n principal_type: zod.enum([\"user\", \"team\"]).describe(\"Kind of principal bound by this grant.\"),\n principal_id: zod.string().describe(\"Principal id (`user_<opaque>` or `team_<opaque>`).\"),\n object_type: zod\n .enum([\"project\"])\n .describe(\"Catalog object type. Always `project` for this API.\"),\n relation: zod.enum([\"viewer\", \"editor\", \"admin\"]).describe(\"Catalog relation on the project.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the grant was created.\"),\n expires_at: zod\n .union([zod.iso.datetime({ offset: true }), zod.null()])\n .optional()\n .describe(\n \"When the grant expires. Null when it does not expire. GET still\\nreturns expired unrevoked grants; authorization ignores them.\\n\",\n ),\n })\n .describe(\"A collaboration grant binding a principal to a project relation.\");\n\n/**\n * Soft-revokes a grant this API manages and emits `authz.revoked`.\nAlready-revoked, missing, project-secret setup, and owning-team grants\nreturn 404. The row is not un-revoked. Expired grants can still be\nrevoked so the unique binding can be reused.\n\n * @summary Revoke grant\n */\nexport const DeleteGrantParams = zod.object({\n id: zod.string().describe(\"Managed assignment id (`asgn_<opaque>`).\"),\n});\n\nexport const deleteGrantQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const DeleteGrantQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(deleteGrantQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\n/**\n * Returns project-scoped audit events, newest-first by keyset on\n`(created_at, id)` (ADR 027 / ADR 049). Pass `order=asc` for oldest-first.\nRequires `events.read`.\n\nPre-claim projects return an empty list (events are stored but not\nvisible until claim succeeds). Team-scoped credentials see only events\nwhose emit-time `team_id` matches the credential team (enforced when\nteam-scoped tokens exist).\n\nClients discriminate each item via `event_type` (OpenAPI Event oneOf) —\nsee docs/design/api/events-catalog.md.\n\n * @summary List events\n */\nexport const listEventsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsQueryOrderDefault = `desc`;\nexport const listEventsQueryLimitDefault = 20;\nexport const listEventsQueryLimitMax = 100;\n\nexport const ListEventsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listEventsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n category: zod\n .array(zod.enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"]))\n .optional()\n .describe(\"Filter by wide-event category. Repeatable (OR within the parameter).\\n\"),\n event_type: zod\n .array(zod.string())\n .optional()\n .describe(\"Exact-match filter on `event_type`. Repeatable (OR within the parameter).\\n\"),\n actor_id: zod.string().optional(),\n client_id: zod.string().optional(),\n session_id: zod.string().optional(),\n flow_id: zod.string().optional(),\n request_id: zod.string().optional(),\n fingerprint: zod.string().optional(),\n entity_type: zod.string().optional(),\n entity_id: zod.string().optional(),\n team_id: zod.string().optional().describe(\"Filter by emit-time team scope stored on the event.\"),\n created_after: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Inclusive lower bound on `created_at` (RFC 3339).\"),\n created_before: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Exclusive upper bound on `created_at` (RFC 3339).\"),\n order: zod\n .enum([\"asc\", \"desc\"])\n .default(listEventsQueryOrderDefault)\n .describe(\n \"Sort direction on `(created_at, id)`. Default `desc` (newest first)\\nfor audit UI. Pass `asc` for oldest-first.\\n\",\n ),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n limit: zod\n .number()\n .min(1)\n .max(listEventsQueryLimitMax)\n .default(listEventsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n});\n\nexport const listEventsResponseDataItemOneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemThreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemFourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemFiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemSixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemSevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemEightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemNineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnezeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOneoneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnetwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnethreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnefourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnefiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnesixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnesevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOneeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnenineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnenineTwoPayloadStatusMin = 100;\nexport const listEventsResponseDataItemOnenineTwoPayloadStatusMax = 599;\n\nexport const listEventsResponseDataItemOnenineTwoPayloadDurationMsMin = 0;\n\nexport const listEventsResponseDataItemTwozeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwooneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwotwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwothreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwofourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwofiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwosixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwosevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwoeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ListEventsResponse = zod\n .object({\n data: zod.array(\n zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.created\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.handed_off\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.handed_off.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemThreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.failed\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemFourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.succeeded\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.succeeded.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemFiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.passkey.enrolled\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.passkey.enrolled.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemSixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.password.set\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.password.set.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemSevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.issued\"),\n payload: zod\n .object({\n scopes: zod.array(zod.string()).optional(),\n })\n .describe(\"Payload for `auth.token.issued` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.issued.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemEightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.revoked\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemNineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.granted\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.granted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnezeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.revoked\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOneoneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"branding.created\"),\n payload: zod\n .object({\n layout: zod.string().optional(),\n logo_url: zod.string().optional(),\n font_url: zod.string().optional(),\n hero_url: zod.string().optional(),\n })\n .describe(\n \"Allowlisted fields for `branding.created`. Omits `liquid_template`.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=branding.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnetwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"environment.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Allowlisted fields for `environment.created`. The environment id is already\\nthe event's `entity_id`, so the name is the only field carried here.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=environment.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnethreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnefourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnefiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnesixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnesevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOneeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnenineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"request.api\"),\n payload: zod\n .object({\n operation_id: zod.string(),\n method: zod\n .enum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\", \"HEAD\", \"OPTIONS\"])\n .describe(\"HTTP method.\"),\n route_template: zod.string(),\n status: zod\n .number()\n .min(listEventsResponseDataItemOnenineTwoPayloadStatusMin)\n .max(listEventsResponseDataItemOnenineTwoPayloadStatusMax),\n duration_ms: zod\n .number()\n .min(listEventsResponseDataItemOnenineTwoPayloadDurationMsMin),\n })\n .describe(\"Payload for `request.api` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=request.api.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwozeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"schema.created\"),\n payload: zod\n .object({\n kind: zod\n .string()\n .optional()\n .describe(\n \"The kind the stored document declares. `unknown` when the schema was\\npersisted without its document being parsed.\\n\",\n ),\n object_type: zod\n .string()\n .optional()\n .describe(\n \"The customer-chosen object type the schema describes. Absent when the\\ndocument declares none.\\n\",\n ),\n })\n .describe(\n \"Allowlisted fields for `schema.created`. The schema document itself is\\nomitted — it is customer-authored and unbounded, and the event's `entity_id`\\nalready identifies which schema was created.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=schema.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwooneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.deleted\"),\n payload: zod\n .object({\n reason: zod.string().optional(),\n })\n .describe(\"Payload for `session.deleted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwotwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.established\"),\n payload: zod\n .object({\n user_id: zod.string().optional(),\n })\n .describe(\"Payload for `session.established` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.established.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwothreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwofourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.deactivated\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.deactivated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwofiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwosixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.create.failed\"),\n payload: zod\n .object({\n key_name: zod.string().optional(),\n })\n .describe(\"Payload for `user.create.failed` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=user.create.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwosevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.created\"),\n payload: zod\n .object({\n schema_id: zod.string().optional(),\n attribute_keys: zod.array(zod.string()).optional(),\n attributes: zod.record(zod.string(), zod.unknown()).optional(),\n })\n .describe(\n \"Payload for `user.created`. Identity is `entity_id`; attribute values\\nappear only for schema fields marked `x-audit`.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwoeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.deleted.\\n\"),\n ])\n .describe(\n \"Discriminated wide-event union (ADR 048 \\/ ADR 049). Clients select the\\nmember via event_type; each member carries a typed payload.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of events (ADR 027 \\/ ADR 049).\");\n\n/**\n * Loads a single event by `(project_id, id)`. Requires `events.read`.\nEvents are not registered in `resource_scope_index`; project scope is\nrequired on the query (ADR 049). Misses and cross-project ids return 404.\n\nPre-claim projects return 404 (stored events stay invisible until claim).\n\n * @summary Get event by ID\n */\nexport const GetEventParams = zod.object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n});\n\nexport const getEventQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetEventQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getEventQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getEventResponseOneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseThreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseFourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseFiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseSixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseSevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseEightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseNineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnezeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOneoneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnetwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnethreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnefourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnefiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnesixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnesevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOneeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnenineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnenineTwoPayloadStatusMin = 100;\nexport const getEventResponseOnenineTwoPayloadStatusMax = 599;\n\nexport const getEventResponseOnenineTwoPayloadDurationMsMin = 0;\n\nexport const getEventResponseTwozeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwooneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwotwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwothreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwofourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwofiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwosixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwosevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwoeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetEventResponse = zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.created\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.handed_off\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.handed_off.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseThreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.failed\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseFourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.succeeded\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.succeeded.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseFiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.passkey.enrolled\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.passkey.enrolled.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseSixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.password.set\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.password.set.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseSevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.issued\"),\n payload: zod\n .object({\n scopes: zod.array(zod.string()).optional(),\n })\n .describe(\"Payload for `auth.token.issued` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.issued.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseEightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.revoked\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseNineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.granted\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.granted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnezeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.revoked\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOneoneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"branding.created\"),\n payload: zod\n .object({\n layout: zod.string().optional(),\n logo_url: zod.string().optional(),\n font_url: zod.string().optional(),\n hero_url: zod.string().optional(),\n })\n .describe(\"Allowlisted fields for `branding.created`. Omits `liquid_template`.\\n\"),\n }),\n )\n .describe(\"Wide event with event_type=branding.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnetwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"environment.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Allowlisted fields for `environment.created`. The environment id is already\\nthe event's `entity_id`, so the name is the only field carried here.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=environment.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnethreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnefourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnefiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnesixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnesevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOneeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnenineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"request.api\"),\n payload: zod\n .object({\n operation_id: zod.string(),\n method: zod\n .enum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\", \"HEAD\", \"OPTIONS\"])\n .describe(\"HTTP method.\"),\n route_template: zod.string(),\n status: zod\n .number()\n .min(getEventResponseOnenineTwoPayloadStatusMin)\n .max(getEventResponseOnenineTwoPayloadStatusMax),\n duration_ms: zod.number().min(getEventResponseOnenineTwoPayloadDurationMsMin),\n })\n .describe(\"Payload for `request.api` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=request.api.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwozeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"schema.created\"),\n payload: zod\n .object({\n kind: zod\n .string()\n .optional()\n .describe(\n \"The kind the stored document declares. `unknown` when the schema was\\npersisted without its document being parsed.\\n\",\n ),\n object_type: zod\n .string()\n .optional()\n .describe(\n \"The customer-chosen object type the schema describes. Absent when the\\ndocument declares none.\\n\",\n ),\n })\n .describe(\n \"Allowlisted fields for `schema.created`. The schema document itself is\\nomitted — it is customer-authored and unbounded, and the event's `entity_id`\\nalready identifies which schema was created.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=schema.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwooneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.deleted\"),\n payload: zod\n .object({\n reason: zod.string().optional(),\n })\n .describe(\"Payload for `session.deleted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwotwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.established\"),\n payload: zod\n .object({\n user_id: zod.string().optional(),\n })\n .describe(\"Payload for `session.established` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.established.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwothreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwofourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.deactivated\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.deactivated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwofiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwosixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.create.failed\"),\n payload: zod\n .object({\n key_name: zod.string().optional(),\n })\n .describe(\"Payload for `user.create.failed` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=user.create.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwosevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.created\"),\n payload: zod\n .object({\n schema_id: zod.string().optional(),\n attribute_keys: zod.array(zod.string()).optional(),\n attributes: zod.record(zod.string(), zod.unknown()).optional(),\n })\n .describe(\n \"Payload for `user.created`. Identity is `entity_id`; attribute values\\nappear only for schema fields marked `x-audit`.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwoeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.deleted.\\n\"),\n ])\n .describe(\n \"Discriminated wide-event union (ADR 048 \\/ ADR 049). Clients select the\\nmember via event_type; each member carries a typed payload.\\n\",\n );\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,iDAAiC,IAAI,OAAO,mBAAmB;AAC5E,MAAa,8CAA8B,IAAI,OAAO,mBAAmB;AAEzE,MAAa,wBAAwB,IAAI,aAAa;CACpD,YAAY,IACT,QAAQ,C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AS,2CAA2C;EACtF,iBAAiB,IACd,KAAK;GAAC;GAAU;GAAa;GAAc;GAAY,CAAC,CACxD,UAAU,CACV,SAAS,qCAAqC;EACjD,eAAe,IAAI,QAAQ,CAAC,UAAU;EACtC,SAAS,IAAI,QAAQ,CAAC,UAAU;EAChC,aAAa,IAAI,QAAQ,CAAC,UAAU,CAAC,SAAS,qCAAqC;EACnF,YAAY,IACT,MAAM,CAAC,IAAI,QAAQ,EAAE,IAAI,MAAM,CAAC,CAAC,CACjC,UAAU,CACV,SAAS,+BAA+B;EAC3C,YAAY,IACT,MAAM,CAAC,IAAI,QAAQ,EAAE,IAAI,MAAM,CAAC,CAAC,CACjC,UAAU,CACV,SAAS,0BAA0B;EACtC,SAAS,IACN,MAAM,CAAC,IAAI,QAAQ,EAAE,IAAI,MAAM,CAAC,CAAC,CACjC,UAAU,CACV,SAAS,6BAA6B;EACzC,UAAU,IACP,OAAO,EACN,QAAQ,IACL,OAAO;GACN,IAAI,IACD,QAAQ,CACR,UAAU,CACV,SAAS,8DAA8D;GAC1E,YAAY,IAAI,QAAQ,CAAC,UAAU,CAAC,SAAS,8BAA8B;GAC3E,QAAQ,IAAI,QAAQ,CAAC,UAAU,CAAC,SAAS,8BAA8B;GACxE,CAAC,CACD,UAAU,CACV,SAAS,8DAA8D,EAC3E,CAAC,CACD,UAAU,CACV,SACC,8KACD;EACJ,CAAC,CACD,SACC,gJACD,CACA,IACC,IAAI,OAAO;EACT,YAAY,IAAI,QAAQ,eAAe;EACvC,SAAS,IACN,OAAO,EAAE,CAAC,CACV,SACC,qHACD;EACJ,CAAC,CACH,CACA,SAAS,6CAA6C;CAC1D,CAAC,CACD,SACC,wIACD"}
1
+ {"version":3,"file":"zitadelNextGen.zod.mjs","names":[],"sources":["../../../src/generated/endpoints/zitadelNextGen.zod.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Zitadel NextGen\n * This is the next generation of the Zitadel identity platform.\n * OpenAPI spec version: 0.0.1\n */\nimport * as zod from \"zod\";\n\n/**\n * @summary Create user\n */\nexport const createUserQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createUserQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateUserQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createUserQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n team_id: zod\n .string()\n .regex(createUserQueryTeamIdRegExp)\n .optional()\n .describe(\n \"Adds the new user to this team: creating the user also creates an\\nactive membership in it. Omit it to create a user with no memberships.\\n\\nThis is team membership, not lifecycle ownership. It does not decide\\nwho may deprovision the user, and the created user stays self-owned\\neither way. The owning team is reported on reads as\\n`metadata.lifecycle_owner_team_id` and cannot be set through this API.\\nSee ADR 024.\\n\\nThe team also scopes team-unique attributes for this create: an\\nattribute the schema marks unique per team is checked against this\\nteam's members.\\n\",\n ),\n});\n\nexport const CreateUserBody = zod\n .object({\n schema: zod\n .string()\n .min(1)\n .describe(\n \"The schema that defines the content of `attributes`. These schemas can be\\ncreated using the `\\/schemas` endpoint. A default schema is provided.\\n\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's schema-defined content. Validated against `schema`; a\\nproperty the schema does not permit is rejected with `user.invalid`.\\n\",\n ),\n })\n .describe(\n \"`attributes` is the document that must satisfy the user schema named by\\n`schema`.\\n\\nThe resource primary key is server-assigned and returned in the response, so\\nthe request carries no `id`; `metadata` is server-owned for the same reason.\\nNeither is part of this schema, which is what frees a user schema to declare\\nproperties of those names.\\n\\nA request carrying any other top-level property is rejected rather than\\nignored. `attributes` stays open, since the user schema is what determines\\nwhat belongs in it.\\n\",\n );\n\n/**\n * Returns the users of a project, paginated with a cursor.\n\nThe project comes from the credential, not from a parameter: the operation\nis bound to the token's own project by construction. This is why it takes\nno `project_id`, unlike the other query endpoints.\n\n * @summary Query users\n */\nexport const queryUsersBodyLimitDefault = 20;\nexport const queryUsersBodyLimitMax = 100;\n\nexport const QueryUsersBody = zod\n .object({\n limit: zod.number().min(1).max(queryUsersBodyLimitMax).default(queryUsersBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n expand: zod\n .array(\n zod\n .enum([\"teams\", \"lifecycle_owner_team\"])\n .describe(\n 'A related object to embed on each returned user (ADR 059).\\n\\n- `teams`: the user\\'s team memberships, as `teams` on each user. The property\\n is omitted entirely when not requested and `[]` when the user has none, so\\n \\\"did not ask\\\" is distinguishable from \\\"there are none\\\". Embedded lists are\\n capped and are not paginated: past the cap the user carries\\n `teams_truncated: true` and the whole list is read at\\n `GET \\/users\\/{user_id}\\/teams`.\\n\\n Membership is team participation, not lifecycle ownership — the\\n owning team stays at `metadata.lifecycle_owner_team_id` (ADR 024).\\n\\n Requires `team_membership.read` in addition to `user.read`.\\n\\n- `lifecycle_owner_team`: the team that owns the user\\'s identity lifecycle,\\n as `metadata.lifecycle_owner_team`. It resolves the id already carried at\\n `metadata.lifecycle_owner_team_id`, and serves the same representation as\\n `GET \\/teams\\/{team_id}`. The property is omitted when not requested and\\n `null` when the user is self-owned. One team, so no cap and no truncation\\n flag.\\n\\n Requires `team.read` in addition to `user.read`.\\n\\nThe two are independent: asking for one says nothing about the other, and\\nneither implies the other\\'s permission.\\n',\n ),\n )\n .optional()\n .describe(\n \"Related collections to embed on each user (ADR 059). Omit it and no\\nembedded collection is returned. An unrecognised value is rejected.\\n\",\n ),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"id\", \"schema\", \"status\", \"lifecycle_owner_team_id\"])\n .describe(\n \"Field to sort users by. Only stored columns are sortable: the keyset cursor\\nholds the last row's sort values, so a value computed per request would skip\\nor duplicate rows between pages.\\n\\nSorting by `lifecycle_owner_team_id` groups self-owned users together, since\\nthe column is null for them.\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"created_at\", \"id\", \"schema\", \"status\", \"team_id\", \"lifecycle_owner_team_id\"])\n .describe(\n \"Field to filter users by:\\n- `created_at`: RFC3339 timestamp\\n- `id`: user id\\n- `schema`: the schema the user's attributes satisfy, matched against the\\n value the user carries as `schema`\\n- `status`: one of `active`, `suspended`, `deactivated`, `pending_purge`\\n- `team_id`: restricts the result to users holding an \\*\\*active\\*\\* membership\\n in that team. A user who has been invited but has not accepted does not\\n match. `equals` is the only operation, and the field may be given once —\\n this names one team, not a set.\\n- `lifecycle_owner_team_id`: the team that owns the user's identity\\n lifecycle. The column is nullable for self-owned users, and a null filter\\n value is rejected, so self-owned users cannot be selected by this field.\\n\\n\\*\\*The two team fields answer different questions.\\*\\* `team_id` is membership:\\nwhich team the user collaborates in, readable per user at\\n`GET \\/users\\/{user_id}\\/teams`. `lifecycle_owner_team_id` is ownership: which\\nteam may deprovision the user. A user can belong to many teams while owning\\ntheir own lifecycle, so the two disagree often and neither implies the other\\n(ADR 024).\\n\\n`team_id` is filterable but not sortable — it is not a column on the user, so\\nit is absent from the sort-field enum.\\n\\nFiltering on `team_id` requires `team_membership.read` in addition to\\n`user.read`: it reads the same memberships that `expand: [\\\"teams\\\"]` embeds.\\n\",\n ),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying users. Criteria are combined with AND.\"),\n })\n .describe(\"Request to query the users of a project.\");\n\nexport const queryUsersResponseUsersItemIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const QueryUsersResponse = zod\n .object({\n users: zod.array(\n zod\n .object({\n id: zod.string().regex(queryUsersResponseUsersItemIdRegExp),\n schema: zod\n .string()\n .describe(\n \"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\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's content, satisfying the schema named by `schema`. Property\\nnames and types are determined entirely by that schema.\\n\",\n ),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was last updated.\"),\n status: zod\n .enum([\"active\", \"suspended\", \"deactivated\", \"pending_purge\"])\n .describe(\"The status of the user.\"),\n lifecycle_owner_team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n lifecycle_owner_team: zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n zod.null(),\n ])\n .optional()\n .describe(\n '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',\n ),\n }),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n teams: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n )\n .optional()\n .describe(\n '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',\n ),\n teams_truncated: zod\n .boolean()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of users.\");\n\n/**\n * @summary Get user by ID\n */\nexport const getUserByIDPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const GetUserByIDParams = zod.object({\n user_id: zod.string().regex(getUserByIDPathUserIdRegExp),\n});\n\nexport const getUserByIDQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetUserByIDQueryParams = zod.strictObject({\n team_id: zod\n .string()\n .regex(getUserByIDQueryTeamIdRegExp)\n .optional()\n .describe(\n \"Serves the user only when they hold an active membership in this team,\\nand answers `404` otherwise.\\n\\nThis is team membership, not lifecycle ownership: it asks which team\\nthe user collaborates in, not which team may deprovision them. The\\nowning team is reported separately as\\n`metadata.lifecycle_owner_team_id`, and a user can belong to many teams\\nwhile owning their own lifecycle. See ADR 024.\\n\\nOnly active memberships match. A user who has been invited but has not\\naccepted is not served.\\n\",\n ),\n});\n\nexport const getUserByIDResponseIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const GetUserByIDResponse = zod\n .object({\n id: zod.string().regex(getUserByIDResponseIdRegExp),\n schema: zod\n .string()\n .describe(\n \"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\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's content, satisfying the schema named by `schema`. Property\\nnames and types are determined entirely by that schema.\\n\",\n ),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was last updated.\"),\n status: zod\n .enum([\"active\", \"suspended\", \"deactivated\", \"pending_purge\"])\n .describe(\"The status of the user.\"),\n lifecycle_owner_team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n lifecycle_owner_team: zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n zod.null(),\n ])\n .optional()\n .describe(\n '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',\n ),\n }),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n teams: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n )\n .optional()\n .describe(\n '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',\n ),\n teams_truncated: zod\n .boolean()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n );\n\n/**\n * @summary Delete user by ID\n */\nexport const deleteUserByIDPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const DeleteUserByIDParams = zod.object({\n user_id: zod.string().regex(deleteUserByIDPathUserIdRegExp),\n});\n\n/**\n * @summary List user passkeys\n */\nexport const listUserPasskeysPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const ListUserPasskeysParams = zod.object({\n user_id: zod.string().regex(listUserPasskeysPathUserIdRegExp),\n});\n\nexport const listUserPasskeysQueryLimitDefault = 20;\nexport const listUserPasskeysQueryLimitMax = 100;\n\nexport const ListUserPasskeysQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listUserPasskeysQueryLimitMax)\n .default(listUserPasskeysQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const ListUserPasskeysResponse = zod\n .object({\n passkeys: zod.array(\n zod.object({\n id: zod.string().describe(\"The unique identifier of the passkey.\"),\n name: zod.string().describe(\"The name of the passkey.\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The timestamp when the passkey was created.\"),\n }),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Response containing the user's passkeys.\");\n\n/**\n * Starts a WebAuthn registration ceremony for the user and returns the\ncreation options for `navigator.credentials.create()`. Complete the\nceremony with `POST /users/{user_id}/passkeys/registrations/{registration_id}` within\nfive minutes. Credentials already registered for the user are excluded\nautomatically.\n\n * @summary Begin passkey registration\n */\nexport const beginUserPasskeyRegistrationPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const BeginUserPasskeyRegistrationParams = zod.object({\n user_id: zod.string().regex(beginUserPasskeyRegistrationPathUserIdRegExp),\n});\n\nexport const BeginUserPasskeyRegistrationBody = zod\n .object({\n rp_id: zod.string().min(1).describe(\"Relying Party ID the credential is scoped to.\"),\n rp_origins: zod\n .array(zod.url())\n .min(1)\n .describe(\"Allowed origins for this ceremony's attestation.\"),\n username: zod\n .string()\n .optional()\n .describe(\n \"Browser-visible account label for the credential picker. Optional: when\\nomitted, a neutral default is used.\\n\",\n ),\n display_name: zod\n .string()\n .optional()\n .describe(\"Browser-visible display name. Optional; defaults to the username.\"),\n })\n .describe(\n \"Request to begin a WebAuthn registration ceremony for the user.\\n\\nManagement callers are not browsers, so the relying-party parameters cannot\\nbe derived from an Origin header and must be supplied explicitly.\\n\",\n );\n\n/**\n * Verifies the attestation against the ceremony started by\n`POST /users/{user_id}/passkeys/registrations` and persists the new credential. A\nrejected attestation counts against the ceremony's failure budget and the\nceremony stays open for a retry. An expired ceremony surfaces as\n`att.stale_challenge`; an unknown or already-consumed registration id\nsurfaces as `att.not_found`.\n\n * @summary Finish passkey registration\n */\nexport const finishUserPasskeyRegistrationPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const FinishUserPasskeyRegistrationParams = zod.object({\n user_id: zod.string().regex(finishUserPasskeyRegistrationPathUserIdRegExp),\n registration_id: zod.string(),\n});\n\nexport const FinishUserPasskeyRegistrationBody = zod\n .object({\n attestation: zod\n .record(zod.string(), zod.unknown())\n .describe(\"The WebAuthn AttestationResponse object from `navigator.credentials.create()`.\"),\n name: zod\n .string()\n .optional()\n .describe(\n \"Label for the credential in passkey management surfaces. Optional: when\\nomitted, a name is derived from the credential itself.\\n\",\n ),\n })\n .describe(\"Request to complete a WebAuthn registration ceremony.\");\n\n/**\n * @summary Set user password\n */\nexport const setUserPasswordPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const SetUserPasswordParams = zod.object({\n user_id: zod.string().regex(setUserPasswordPathUserIdRegExp),\n});\n\nexport const SetUserPasswordBody = zod\n .object({\n password: zod.string().describe(\"The new password for the user.\"),\n is_change_required: zod\n .boolean()\n .optional()\n .describe(\n \"Whether the user is required to change their password on the next login.\\nIf not provided, it will default to false.\\n\",\n ),\n })\n .describe(\"Request to update the user's password.\");\n\n/**\n * The user's team roster, ordered by team name. Each entry carries the\nteam's name, so a client renders a page without resolving ids one by one.\n\nThis is the N:N roster and it is not lifecycle ownership: the single team\nthat owns the user's lifecycle is reported as `metadata.lifecycle_owner_team_id`\non the user read endpoints. Memberships the user was removed from are not\nreturned.\n\n * @summary List the teams a user belongs to\n */\nexport const listUserTeamsPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const ListUserTeamsParams = zod.object({\n user_id: zod.string().regex(listUserTeamsPathUserIdRegExp),\n});\n\nexport const listUserTeamsQueryLimitDefault = 20;\nexport const listUserTeamsQueryLimitMax = 100;\n\nexport const ListUserTeamsQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listUserTeamsQueryLimitMax)\n .default(listUserTeamsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const ListUserTeamsResponse = zod\n .object({\n teams: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of the teams a user belongs to.\");\n\n/**\n * @summary Get my user information\n */\nexport const getMyUserResponseIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const GetMyUserResponse = zod\n .object({\n id: zod.string().regex(getMyUserResponseIdRegExp),\n schema: zod\n .string()\n .describe(\n \"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\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The user's content, satisfying the schema named by `schema`. Property\\nnames and types are determined entirely by that schema.\\n\",\n ),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user was last updated.\"),\n status: zod\n .enum([\"active\", \"suspended\", \"deactivated\", \"pending_purge\"])\n .describe(\"The status of the user.\"),\n lifecycle_owner_team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n lifecycle_owner_team: zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n zod.null(),\n ])\n .optional()\n .describe(\n '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',\n ),\n }),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n teams: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n membership_status: zod\n .enum([\"pending\", \"active\", \"inactive\"])\n .describe(\n \"The user's participation state on this team. Memberships the user was\\nremoved from are not returned.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the user joined this team.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when this membership was last changed.\"),\n })\n .describe(\n \"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\",\n ),\n )\n .optional()\n .describe(\n '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',\n ),\n teams_truncated: zod\n .boolean()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n );\n\n/**\n * Resolves a flow definition based on purpose + audience context and returns\nthe first capability step. Creates a new session implicitly unless\n`session_id` is provided (for step-up / reauth on an existing session).\n\nThe response contains an `id` field — the flow handle. Use it as the path\nparameter for all subsequent `/flow/{id}/submit` calls.\n\nThe response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing\nthe flow's orchestration state (current step, collected data, history).\nThe server is stateless between requests — all flow state lives in this\ncookie. The browser sends it automatically on subsequent requests.\n\n * @summary Start a new flow\n */\nexport const createFlowBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createFlowBodyFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const createFlowBodyDryRunDefault = false;\nexport const createFlowBodySchemaVersionRegExp = new RegExp(\"^\\\\d+\\\\.\\\\d+\\\\.\\\\d+$\");\n\nexport const CreateFlowBody = zod.object({\n project_id: zod.string().regex(createFlowBodyProjectIdRegExp),\n purpose: zod.enum([\"login\", \"register\", \"recovery\", \"profiling\", \"reauth\", \"link_account\"]),\n flow_definition_name: zod\n .string()\n .regex(createFlowBodyFlowDefinitionNameRegExp)\n .optional()\n .describe(\n \"Name of a specific flow definition to use.\\nWhen omitted, the engine selects the best-matching definition\\nbased on purpose + audience context.\\n\",\n ),\n dry_run: zod\n .boolean()\n .default(createFlowBodyDryRunDefault)\n .describe(\n \"Set to true to simulate the flow without actually creating any\\nuser or session. Useful for testing and validation of flow definitions.\\nThis requires setting the `flow_definition_name` property as well.\\n\",\n ),\n schema_version: zod\n .string()\n .regex(createFlowBodySchemaVersionRegExp)\n .optional()\n .describe(\n \"Semver version of the flow definition JSON Schema to use.\\nWhen omitted, the latest version is used.\\n\",\n ),\n challenge_nonce: zod\n .string()\n .optional()\n .describe(\n \"Origin-bound, single-use nonce obtained from `POST \\/bootstrap\\/challenge`.\\nBinds the request to the browser that initiated the flow, preventing\\ncross-origin replay.\\n\",\n ),\n session_id: zod\n .string()\n .optional()\n .describe(\n \"Existing session to attach to (for step-up \\/ reauth).\\nOmit to let the flow create a new session implicitly.\\n\",\n ),\n auth_request_id: zod\n .string()\n .optional()\n .describe(\"OIDC\\/SAML auth request ID (links flow to protocol request).\"),\n redirect_uri: zod.url().optional(),\n hint: zod\n .object({\n login_name: zod\n .string()\n .optional()\n .describe(\"Auto-submits identifier step (maps to OIDC login_hint).\"),\n team_id: zod.string().optional().describe(\"Scopes flow resolution to a team.\"),\n user_schema_id: zod.string().optional().describe(\"Scopes to a specific user type.\"),\n app_id: zod.string().optional().describe(\"Scopes to a specific application.\"),\n })\n .optional(),\n});\n\n/**\n * Returns the current capability step without advancing the state machine.\nUseful for page reloads or re-rendering after a network error.\n\n * @summary Get current step (re-render)\n */\nexport const GetFlowStepParams = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow ID returned by POST \\/flow or the latest POST \\/flow\\/{id}\\/submit.\\nUsed to look up the correct flow state from the encrypted cookie,\\nwhich can hold multiple concurrent flows. May change between responses\\nwhen a flow pivot or pop occurs — always use the `id` from the latest response.\\n\",\n ),\n});\n\nexport const getFlowStepResponseStepFieldsItemRequiredDefault = false;\nexport const getFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;\n\nexport const getFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;\n\nexport const getFlowStepResponseStepFieldsDefault = [];\nexport const getFlowStepResponseStepActionsItemPrimaryDefault = false;\nexport const getFlowStepResponseStepActionsDefault = [];\nexport const getFlowStepResponseStepGatesDefault = {} as const;\nexport const getFlowStepResponseStepSsoProvidersDefault = [];\nexport const getFlowStepResponseBrandingLayoutDefault = `centered`;\nexport const getFlowStepResponseBrandingLiquidTemplateMax = 131072;\n\nexport const GetFlowStepResponse = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow handle. Use this as the path parameter for subsequent\\nsubmit\\/event calls. May change between responses when a\\nflow pivot or pop occurs.\\n\",\n ),\n session_id: zod.string().describe(\"Underlying session ID. Stable across all stacked flows.\"),\n session_token: zod\n .string()\n .optional()\n .describe(\n \"Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.\",\n ),\n step: zod\n .object({\n name: zod.string().describe(\"Step name from the flow definition.\"),\n texts: zod\n .object({\n title_key: zod.string().optional().describe(\"Localization key for the step heading.\"),\n description_key: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Localization key for explanatory text.\"),\n })\n .optional()\n .describe(\n \"Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\\nThe backend never sends display text — only semantic keys.\\n\",\n ),\n error: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n 'Error from a previous failed submission. Field-validation failures\\ncarry localisation text keys: `error.<field>_<rule>` per violation\\n(e.g. `error.email_required`; the `format` rule is spelled\\n`error.<field>_invalid`), multiple violations joined with `\\\"; \\\"`.\\nField names appear verbatim, so clients localise unknown keys via\\nthe generic `error.field_<rule>` catalog entries. Other engine\\nfailures carry `error.\\*` catalog keys as well (e.g.\\n`error.invalid_credentials`, `error.passkey_invalid`); a\\nnon-`error.` payload is an outcome token (e.g. `user_not_found`)\\nthat clients keep verbatim.\\n',\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Present only on terminal steps. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri immediately (OIDC\\/SAML done)\\n- show: render the step as a success screen (e.g., registration confirmed)\\n\",\n ),\n redirect_url: zod\n .url()\n .optional()\n .describe(\"URL to navigate to (e.g., SSO provider redirect).\"),\n fields: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Field name, matching a property in the flow's user schema. Carries\\nthe submitted value back to the engine.\\n\",\n ),\n type: zod\n .enum([\n \"text\",\n \"email\",\n \"password\",\n \"tel\",\n \"number\",\n \"url\",\n \"date\",\n \"hidden\",\n \"checkbox\",\n \"select\",\n ])\n .describe(\n \"The input kind the client should render. Encodes the formats and\\nJSON types that map to a familiar HTML input: `email`, `url`,\\n`date` come from `format`; `checkbox` from JSON `type: boolean`;\\n`select` from a closed `enum`. For other formats (e.g. uuid) the\\ntype is `text` and `validation.format` carries the rule.\\n\",\n ),\n text_key: zod.string().describe(\"Localization key for the field label.\"),\n required: zod\n .boolean()\n .default(getFlowStepResponseStepFieldsItemRequiredDefault)\n .describe(\n \"The field MUST be present and non-empty on submit. Mirrors the\\nschema's top-level `required` array.\\n\",\n ),\n value: zod\n .unknown()\n .optional()\n .describe(\"Pre-filled value (e.g., an identifier carried over from a pivot).\"),\n validation: zod\n .object({\n format: zod\n .enum([\"email\", \"date-time\", \"uuid\", \"uri\"])\n .optional()\n .describe(\n \"Semantic format the value must match. Values mirror the user\\nmeta-schema. When `type` already encodes the format (email,\\nurl, date), this key is informative and the input type is\\nsufficient for client-side validation. When `type` is `text`\\n(e.g. `format: uuid`), this key is the only signal.\\n\",\n ),\n min_length: zod\n .number()\n .min(getFlowStepResponseStepFieldsItemValidationMinLengthMin)\n .optional()\n .describe(\"Minimum length in characters (inclusive). Mirrors `minLength`.\"),\n max_length: zod\n .number()\n .min(getFlowStepResponseStepFieldsItemValidationMaxLengthMin)\n .optional()\n .describe(\"Maximum length in characters (inclusive). Mirrors `maxLength`.\"),\n enum: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Closed list of allowed values. Mirrors the JSON Schema `enum`\\nkeyword on the underlying user property. When `type` is\\n`select` the client renders these as options; for other types\\nthe rule still applies as a membership check.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Schema-derived rules the frontend SHOULD apply at input time. The\\nserver runs the same rules on submit and is the only authority on\\nwhether the step advances — these rules are a UX hint to reduce\\nround trips, not a contract guarantee.\\n\\nOmitted entirely when the field has no rules beyond its `type`.\\nEach key mirrors a JSON Schema keyword on the underlying user\\nproperty; absent keys mean no rule.\\n\",\n ),\n })\n .describe(\n \"A data input capability. Describes what the user must provide.\\nDoes not contain display text — only a `text_key` resolved client-side.\\n\",\n ),\n )\n .default(getFlowStepResponseStepFieldsDefault)\n .describe(\n \"Ordered list of input fields to collect. Field metadata (type, validation)\\nis resolved by the engine from the flow's user schema. The LiquidJS\\ntemplate iterates this array; for keyed lookup it builds a name-indexed\\nmap locally.\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\"Action identifier. Sent back in the submit request as `action`.\"),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(getFlowStepResponseStepActionsItemPrimaryDefault)\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(getFlowStepResponseStepActionsDefault)\n .describe(\n \"Ordered list of available user actions. The LiquidJS template iterates\\nthis array and builds a name-indexed map locally for keyed lookup.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(getFlowStepResponseStepGatesDefault)\n .describe(\n \"Security gates that must be satisfied before the step can be submitted.\\nThe engine injects gates dynamically based on policy, even if they\\nare not declared in the flow definition.\\n\",\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod.string().describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(getFlowStepResponseStepSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n challenge: zod\n .object({\n method: zod\n .enum([\"passkey\", \"passkey_register\"])\n .optional()\n .describe(\"Challenge method. Determines which component handles the ceremony.\"),\n challenge_id: zod\n .string()\n .optional()\n .describe(\n \"Server-side challenge identifier. Included in the proof submission\\nso the server can match the response to the original challenge.\\n\",\n ),\n options: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Protocol-specific challenge options. For passkey, this is the\\n`PublicKeyCredentialRequestOptions` (authenticate) or\\n`PublicKeyCredentialCreationOptions` (register). Passed directly\\nto the browser's `navigator.credentials` API.\\n\",\n ),\n })\n .optional()\n .describe(\n 'A pending authentication challenge issued by the server. Present when the\\nflow engine has issued a challenge via auth_attempts (e.g., after the user\\nsubmits `action: \\\"passkey\\\"`). The `<zl-passkey>` component reads this and\\ntriggers the appropriate WebAuthn ceremony.\\n\\nThe challenge is NOT present on the initial step — it appears only after\\nthe user explicitly selects a ceremony-based action.\\n',\n ),\n })\n .describe(\n \"A step contains ordered capability arrays: what to collect (fields),\\nwhat the user can do (actions), and what security gates must be satisfied (gates).\\nThe LiquidJS template in `branding.liquid_template` iterates these arrays in order\\nand builds name-keyed indexes locally for lookup.\\n\",\n ),\n branding: zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(getFlowStepResponseBrandingLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(getFlowStepResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod.url().optional().describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .optional()\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n ),\n redirect_uri: zod.url().optional().describe(\"Present when `step.complete` is `redirect`.\"),\n handoff_token: zod\n .string()\n .optional()\n .describe(\n \"Short-lived, audience-bound token produced on flow completion.\\nExchange it for a session via `POST \\/sessions\\/exchange`.\\nOnly present when `step.complete` is set.\\n\",\n ),\n handoff_token_expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Expiry timestamp for `handoff_token`. Only present when\\n`handoff_token` is set.\\n\"),\n});\n\n/**\n * Submits user input for the current step. The server validates,\nprocesses (e.g., verifies a credential), advances the state machine\nthrough any invisible steps, and returns the next visible step.\n\nThe response sets an updated encrypted `HttpOnly` cookie (`_zflow`)\nwith the new flow state. The server is stateless — all orchestration\nstate is carried in this cookie between requests.\n\n**Important:** The `id` in the response may differ from the `id` used in\nthe request. This happens when a flow pivots (pushes a new flow onto the\nstack) or when a stacked flow completes (auto-pops to the parent flow).\nAlways use the `id` from the latest response for the next request.\n\n## Flow completion\n\nWhen `step.type` is `complete`, the flow is terminal. The `step.behavior`\nfield tells the frontend what to do:\n\n| `behavior` | Action |\n|------------- |------------------------------------------------------------|\n| `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |\n| `show` | Render the step as a success screen (e.g., registration). |\n\nA `complete` step is only returned when the **entire flow stack** is done.\nIf a stacked flow (e.g., recovery pivoted from login) finishes, the server\nauto-pops to the parent flow and returns the parent's next step — the\nfrontend never sees a `complete` for intermediate flows.\n\n * @summary Submit step data and advance\n */\nexport const SubmitFlowStepParams = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow ID returned by POST \\/flow or the latest POST \\/flow\\/{id}\\/submit.\\nUsed to look up the correct flow state from the encrypted cookie,\\nwhich can hold multiple concurrent flows. May change between responses\\nwhen a flow pivot or pop occurs — always use the `id` from the latest response.\\n\",\n ),\n});\n\nexport const SubmitFlowStepHeader = zod.strictObject({\n Origin: zod\n .url()\n .optional()\n .describe(\n \"Standard browser `Origin` header. When a step issues a passkey\\nchallenge, the server derives the WebAuthn relying-party id and the\\nallowed origin from this value. Browsers send it automatically on the\\nfetch POST; no client action is required.\\n\",\n ),\n});\n\nexport const SubmitFlowStepBody = zod.object({\n session_token: zod\n .string()\n .optional()\n .describe(\n \"Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.\",\n ),\n action: zod\n .string()\n .describe(\n 'Which action to take. Must be a key from the step\\'s `actions` dictionary:\\n- A regular action (e.g., \\\"submit\\\", \\\"register\\\", \\\"back\\\")\\n- The reserved value \\\"sso\\\" — triggers SSO redirect (requires `sso_provider_id`)\\n',\n ),\n fields: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\"User input values. Keys match field names from the step's `fields` dictionary.\\n\"),\n gate_proofs: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Solutions for security gates. Keys match gate names from the step's `gates` dictionary.\\nThe orchestrator collects these from `<zl-captcha>` component events.\\n\",\n ),\n challenge_response: zod\n .object({\n challenge_id: zod\n .string()\n .optional()\n .describe(\n \"The challenge identifier from `step.challenge.challenge_id`.\\nMatches the server-side challenge for verification.\\n\",\n ),\n method: zod\n .string()\n .optional()\n .describe(\"Which auth method this response is for (e.g., 'passkey').\"),\n proof: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Method-specific proof payload.\\nFor passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Response to a pending challenge on the step. Required when the step has a\\n`challenge` property (e.g., after submitting a passkey action).\\nThe `<zl-passkey>` component populates this after the WebAuthn ceremony.\\n\",\n ),\n sso_provider_id: zod\n .string()\n .optional()\n .describe(\n 'ID of the selected SSO provider (from `sso_providers[].id`).\\nRequired when `action` is \\\"sso\\\".\\n',\n ),\n});\n\nexport const submitFlowStepResponseStepFieldsItemRequiredDefault = false;\nexport const submitFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;\n\nexport const submitFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;\n\nexport const submitFlowStepResponseStepFieldsDefault = [];\nexport const submitFlowStepResponseStepActionsItemPrimaryDefault = false;\nexport const submitFlowStepResponseStepActionsDefault = [];\nexport const submitFlowStepResponseStepGatesDefault = {} as const;\nexport const submitFlowStepResponseStepSsoProvidersDefault = [];\nexport const submitFlowStepResponseBrandingLayoutDefault = `centered`;\nexport const submitFlowStepResponseBrandingLiquidTemplateMax = 131072;\n\nexport const SubmitFlowStepResponse = zod.object({\n id: zod\n .string()\n .describe(\n \"Flow handle. Use this as the path parameter for subsequent\\nsubmit\\/event calls. May change between responses when a\\nflow pivot or pop occurs.\\n\",\n ),\n session_id: zod.string().describe(\"Underlying session ID. Stable across all stacked flows.\"),\n session_token: zod\n .string()\n .optional()\n .describe(\n \"Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today.\",\n ),\n step: zod\n .object({\n name: zod.string().describe(\"Step name from the flow definition.\"),\n texts: zod\n .object({\n title_key: zod.string().optional().describe(\"Localization key for the step heading.\"),\n description_key: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Localization key for explanatory text.\"),\n })\n .optional()\n .describe(\n \"Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\\nThe backend never sends display text — only semantic keys.\\n\",\n ),\n error: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n 'Error from a previous failed submission. Field-validation failures\\ncarry localisation text keys: `error.<field>_<rule>` per violation\\n(e.g. `error.email_required`; the `format` rule is spelled\\n`error.<field>_invalid`), multiple violations joined with `\\\"; \\\"`.\\nField names appear verbatim, so clients localise unknown keys via\\nthe generic `error.field_<rule>` catalog entries. Other engine\\nfailures carry `error.\\*` catalog keys as well (e.g.\\n`error.invalid_credentials`, `error.passkey_invalid`); a\\nnon-`error.` payload is an outcome token (e.g. `user_not_found`)\\nthat clients keep verbatim.\\n',\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Present only on terminal steps. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri immediately (OIDC\\/SAML done)\\n- show: render the step as a success screen (e.g., registration confirmed)\\n\",\n ),\n redirect_url: zod\n .url()\n .optional()\n .describe(\"URL to navigate to (e.g., SSO provider redirect).\"),\n fields: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Field name, matching a property in the flow's user schema. Carries\\nthe submitted value back to the engine.\\n\",\n ),\n type: zod\n .enum([\n \"text\",\n \"email\",\n \"password\",\n \"tel\",\n \"number\",\n \"url\",\n \"date\",\n \"hidden\",\n \"checkbox\",\n \"select\",\n ])\n .describe(\n \"The input kind the client should render. Encodes the formats and\\nJSON types that map to a familiar HTML input: `email`, `url`,\\n`date` come from `format`; `checkbox` from JSON `type: boolean`;\\n`select` from a closed `enum`. For other formats (e.g. uuid) the\\ntype is `text` and `validation.format` carries the rule.\\n\",\n ),\n text_key: zod.string().describe(\"Localization key for the field label.\"),\n required: zod\n .boolean()\n .default(submitFlowStepResponseStepFieldsItemRequiredDefault)\n .describe(\n \"The field MUST be present and non-empty on submit. Mirrors the\\nschema's top-level `required` array.\\n\",\n ),\n value: zod\n .unknown()\n .optional()\n .describe(\"Pre-filled value (e.g., an identifier carried over from a pivot).\"),\n validation: zod\n .object({\n format: zod\n .enum([\"email\", \"date-time\", \"uuid\", \"uri\"])\n .optional()\n .describe(\n \"Semantic format the value must match. Values mirror the user\\nmeta-schema. When `type` already encodes the format (email,\\nurl, date), this key is informative and the input type is\\nsufficient for client-side validation. When `type` is `text`\\n(e.g. `format: uuid`), this key is the only signal.\\n\",\n ),\n min_length: zod\n .number()\n .min(submitFlowStepResponseStepFieldsItemValidationMinLengthMin)\n .optional()\n .describe(\"Minimum length in characters (inclusive). Mirrors `minLength`.\"),\n max_length: zod\n .number()\n .min(submitFlowStepResponseStepFieldsItemValidationMaxLengthMin)\n .optional()\n .describe(\"Maximum length in characters (inclusive). Mirrors `maxLength`.\"),\n enum: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Closed list of allowed values. Mirrors the JSON Schema `enum`\\nkeyword on the underlying user property. When `type` is\\n`select` the client renders these as options; for other types\\nthe rule still applies as a membership check.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Schema-derived rules the frontend SHOULD apply at input time. The\\nserver runs the same rules on submit and is the only authority on\\nwhether the step advances — these rules are a UX hint to reduce\\nround trips, not a contract guarantee.\\n\\nOmitted entirely when the field has no rules beyond its `type`.\\nEach key mirrors a JSON Schema keyword on the underlying user\\nproperty; absent keys mean no rule.\\n\",\n ),\n })\n .describe(\n \"A data input capability. Describes what the user must provide.\\nDoes not contain display text — only a `text_key` resolved client-side.\\n\",\n ),\n )\n .default(submitFlowStepResponseStepFieldsDefault)\n .describe(\n \"Ordered list of input fields to collect. Field metadata (type, validation)\\nis resolved by the engine from the flow's user schema. The LiquidJS\\ntemplate iterates this array; for keyed lookup it builds a name-indexed\\nmap locally.\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\"Action identifier. Sent back in the submit request as `action`.\"),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(submitFlowStepResponseStepActionsItemPrimaryDefault)\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(submitFlowStepResponseStepActionsDefault)\n .describe(\n \"Ordered list of available user actions. The LiquidJS template iterates\\nthis array and builds a name-indexed map locally for keyed lookup.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(submitFlowStepResponseStepGatesDefault)\n .describe(\n \"Security gates that must be satisfied before the step can be submitted.\\nThe engine injects gates dynamically based on policy, even if they\\nare not declared in the flow definition.\\n\",\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod.string().describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(submitFlowStepResponseStepSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n challenge: zod\n .object({\n method: zod\n .enum([\"passkey\", \"passkey_register\"])\n .optional()\n .describe(\"Challenge method. Determines which component handles the ceremony.\"),\n challenge_id: zod\n .string()\n .optional()\n .describe(\n \"Server-side challenge identifier. Included in the proof submission\\nso the server can match the response to the original challenge.\\n\",\n ),\n options: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Protocol-specific challenge options. For passkey, this is the\\n`PublicKeyCredentialRequestOptions` (authenticate) or\\n`PublicKeyCredentialCreationOptions` (register). Passed directly\\nto the browser's `navigator.credentials` API.\\n\",\n ),\n })\n .optional()\n .describe(\n 'A pending authentication challenge issued by the server. Present when the\\nflow engine has issued a challenge via auth_attempts (e.g., after the user\\nsubmits `action: \\\"passkey\\\"`). The `<zl-passkey>` component reads this and\\ntriggers the appropriate WebAuthn ceremony.\\n\\nThe challenge is NOT present on the initial step — it appears only after\\nthe user explicitly selects a ceremony-based action.\\n',\n ),\n })\n .describe(\n \"A step contains ordered capability arrays: what to collect (fields),\\nwhat the user can do (actions), and what security gates must be satisfied (gates).\\nThe LiquidJS template in `branding.liquid_template` iterates these arrays in order\\nand builds name-keyed indexes locally for lookup.\\n\",\n ),\n branding: zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(submitFlowStepResponseBrandingLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(submitFlowStepResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod.url().optional().describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .optional()\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n ),\n redirect_uri: zod.url().optional().describe(\"Present when `step.complete` is `redirect`.\"),\n handoff_token: zod\n .string()\n .optional()\n .describe(\n \"Short-lived, audience-bound token produced on flow completion.\\nExchange it for a session via `POST \\/sessions\\/exchange`.\\nOnly present when `step.complete` is set.\\n\",\n ),\n handoff_token_expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Expiry timestamp for `handoff_token`. Only present when\\n`handoff_token` is set.\\n\"),\n});\n\n/**\n * Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.\n\nAn attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.\nIt accepts factor challenges, verifies proofs, and completes into a session or handoff token.\n\nAccepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,\nalso include session_id to add factors to an existing session.\n\n * @summary Create a new authentication attempt\n */\nexport const createAuthAttemptBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createAuthAttemptBodySessionIdOneRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\n\nexport const CreateAuthAttemptBody = zod\n .object({\n project_id: zod.string().regex(createAuthAttemptBodyProjectIdRegExp),\n challenge_nonce: zod\n .string()\n .optional()\n .describe(\n \"Origin-bound, single-use nonce obtained from `POST \\/bootstrap\\/challenge`.\\nBinds the request to the browser that initiated the flow, preventing\\ncross-origin replay.\\n\",\n ),\n session_id: zod\n .union([\n zod\n .string()\n .regex(createAuthAttemptBodySessionIdOneRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Optional. If provided, this attempt adds factors to an existing session (step-up auth).\\nIf omitted, a new session is created implicitly on successful handoff.\\n\",\n ),\n })\n .describe(\"Request to create a new authentication attempt\");\n\n/**\n * Polls the current state of an authentication attempt.\n\nReturns the attempt's state, available factors for the next challenge,\nchallenges issued so far, and any errors preventing progress.\n\nUse this for polling during long-running factor verifications (e.g., waiting for\na federated IdP callback or a device flow).\n\n * @summary Get authentication attempt state\n */\nexport const getAuthAttemptPathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\n\nexport const GetAuthAttemptParams = zod.object({\n attempt_id: zod\n .string()\n .regex(getAuthAttemptPathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n});\n\nexport const getAuthAttemptResponseAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseSessionIdOneRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\nexport const getAuthAttemptResponseChallengesItemChallengeIdRegExp = new RegExp(\n \"^ch_[a-zA-Z0-9_-]+$\",\n);\n\nexport const GetAuthAttemptResponse = zod\n .object({\n attempt_id: zod\n .string()\n .regex(getAuthAttemptResponseAttemptIdRegExp)\n .describe(\n \"Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).\",\n ),\n project_id: zod.string().regex(getAuthAttemptResponseProjectIdRegExp),\n state: zod\n .enum([\"in_progress\", \"completed\", \"failed\", \"expired\"])\n .describe(\n \"Overall state of the authentication attempt:\\n- `in_progress`: factors are still being collected; continue issuing challenges.\\n- `completed`: all required factors have been verified; the attempt is ready for handoff.\\n- `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.\\n- `expired`: the 15-minute TTL has been exceeded.\\n\",\n ),\n session_id: zod\n .union([\n zod\n .string()\n .regex(getAuthAttemptResponseSessionIdOneRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The session being authenticated into. Either newly created or passed in on POST.\\nFor step-up (re-auth), this is the existing session_id provided on creation.\\n\",\n ),\n user_id: zod\n .union([zod.string().regex(getAuthAttemptResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The user ID, if known at this point in the flow.\\nNull until an identifier challenge has been verified.\\n\",\n ),\n required_factors: zod\n .array(\n zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n )\n .optional()\n .describe(\n \"The authentication factor methods that the project policy requires in order\\nto complete this attempt. Computed by the server from the project's auth policy.\\nClients should use this to determine which challenges still need to be issued.\\n\",\n ),\n completed_factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .optional()\n .describe(\n \"The factors that have been successfully verified in this attempt so far.\\nEach item includes method-specific metadata in the payload field.\\n\\nThe flow engine uses verified_at timestamps to enforce time-based policies, such as\\nrequiring password verification within the last 5 minutes for step-up auth to\\naccess sensitive operations.\\n\\nA factor appears here once its challenge reaches `verified` state.\\n\",\n ),\n challenges: zod\n .array(\n zod\n .object({\n challenge_id: zod\n .string()\n .regex(getAuthAttemptResponseChallengesItemChallengeIdRegExp)\n .describe(\n \"Unique identifier for this challenge (dialect-minted prefixed opaque string).\",\n ),\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n state: zod\n .enum([\"pending\", \"failed\", \"expired\"])\n .describe(\n \"Current state of this challenge:\\n- `pending`: awaiting proof submission\\n- `failed`: proof rejected (invalid credential, wrong code, etc.)\\n- `expired`: challenge TTL exceeded without verification\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this challenge was issued\"),\n expires_at: zod\n .union([zod.iso.datetime({ offset: true }), zod.null()])\n .optional()\n .describe(\"When this challenge expires\"),\n payload: zod\n .union([\n zod\n .object({})\n .describe(\n \"Identifier challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({})\n .describe(\n \"Password challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({\n public_key: zod\n .object({\n challenge: zod.string().describe(\"Base64-encoded WebAuthn challenge\"),\n allowed_credentials: zod\n .array(\n zod.object({\n id: zod.string().describe(\"Base64-encoded credential ID\"),\n type: zod.enum([\"public-key\"]),\n }),\n )\n .optional()\n .describe(\n \"List of credential IDs that can be used for this authentication\",\n ),\n user_verification: zod\n .enum([\"required\", \"preferred\", \"discouraged\"])\n .optional()\n .describe(\"User verification requirement for this challenge\"),\n rp_id: zod.string().optional().describe(\"Relying Party ID for WebAuthn\"),\n })\n .describe(\n \"Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).\\nSee also: https:\\/\\/www.w3.org\\/TR\\/webauthn\\/#dictdef-publickeycredentialrequestoptions\\n\",\n ),\n })\n .describe(\"WebAuthn-specific challenge data for passkey authentication\"),\n ])\n .optional()\n .describe(\n \"Method-specific challenge data. Structure depends on the `method` field.\\n- `identifier`, `password`: null (no additional data needed)\\n- `passkey`: WebAuthn challenge and credential options\\n- `idp`: Authorization URL and provider information\\n\",\n ),\n })\n .describe(\n \"A factor challenge issued within an authentication attempt.\\n\\nA challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.).\\nThe client verifies the proof by POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify.\\n\",\n ),\n )\n .optional()\n .describe(\n \"All challenges issued within this attempt, in creation order.\\nUse this to track the state of each factor challenge (pending, verified, failed, expired).\\n\",\n ),\n expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"When this attempt expires (15-minute TTL from creation)\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this attempt was created\"),\n })\n .describe(\n \"The current state of an authentication attempt.\\n\\nAn attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.\\nIt accepts factor challenges, verifies proofs, and completes into a handoff token.\\nClients drive the attempt by:\\n1. Issuing challenges: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\n2. Verifying proofs: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify\\n3. Completing: POST \\/auth_attempts\\/{attempt_id}\\/handoff\\n\",\n );\n\n/**\n * Issues a single-factor verification challenge within an auth attempt.\n\nThis advances the authentication state machine by requesting a specific factor method\n(password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details\nincluding method, metadata, and any UI hints. The client then verifies the proof\nby calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.\n\n * @summary Issue a factor challenge\n */\nexport const issueChallengePathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\n\nexport const IssueChallengeParams = zod.object({\n attempt_id: zod\n .string()\n .regex(issueChallengePathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n});\n\nexport const IssueChallengeBody = zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n passkey_options: zod\n .object({\n rp_id: zod\n .string()\n .optional()\n .describe(\n \"Relying Party ID for WebAuthn. Optional; if not provided, the server may use a default value.\",\n ),\n rp_origins: zod\n .array(zod.url())\n .optional()\n .describe(\n \"List of allowed origins for this WebAuthn challenge. Optional; if not provided, the server may use a default value.\",\n ),\n user_verification: zod.enum([\"required\", \"preferred\", \"discouraged\"]).optional(),\n })\n .optional()\n .describe(\"Optional WebAuthn ceremony options. Only relevant when `method` is `passkey`.\"),\n })\n .describe(\n \"Request to issue a factor challenge.\\n\\nThe `method` field selects which factor to challenge. Additional fields are\\nonly relevant for specific methods:\\n- `passkey_options` is optional and only used when `method` is `passkey`.\\n- `idp_provider` is required when `method` is `idp` and must be omitted otherwise.\\n This conditional requirement is enforced server-side.\\n\",\n );\n\n/**\n * Submits a proof (credential, code, assertion) to verify a factor challenge.\n\nThe proof format depends on the challenge method. For example:\n- `password` method: { password: \"…\" }\n- `totp` method: { totp: { code: \"123456\" } }\n- `passkey` method: { passkey: { assertion: \"…\" } }\n- `recovery_code` method: { recovery_code: \"…\" }\n\nOn successful verification, the factor is written to the auth attempt.\nThe attempt moves to the next pending challenge or completes if all required factors are verified.\n\n * @summary Verify a factor proof\n */\nexport const verifyChallengeProofPathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofPathChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const VerifyChallengeProofParams = zod.object({\n attempt_id: zod\n .string()\n .regex(verifyChallengeProofPathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n challenge_id: zod\n .string()\n .regex(verifyChallengeProofPathChallengeIdRegExp)\n .describe(\"The unique identifier of this challenge.\"),\n});\n\nexport const VerifyChallengeProofHeader = zod.strictObject({\n \"Idempotency-Key\": zod\n .string()\n .optional()\n .describe(\n \"Optional retry key for safe retries of the call.\\nRetries carrying the same key within the call window return the cached\\npayload without creating a new resource. See details in the endpoint description.\\n\",\n ),\n});\n\nexport const VerifyChallengeProofBody = zod\n .union([\n zod\n .object({\n login_name: zod.string().describe(\"The login name or email being identified\"),\n })\n .describe(\"Proof for `identifier` method\"),\n zod\n .object({\n password: zod.string().describe(\"The password being verified\"),\n })\n .describe(\"Proof for `password` method\"),\n zod\n .object({\n passkey: zod\n .object({\n assertion: zod\n .record(zod.string(), zod.unknown())\n .describe(\"The WebAuthn AssertionResponse object\"),\n })\n .describe(\"WebAuthn passkey assertion\"),\n })\n .describe(\"Proof for `passkey` method\"),\n ])\n .describe(\n \"Proof for verifying a factor challenge.\\n\\nThe exact format depends on the challenge method. The proof object should contain\\nonly the credential\\/code\\/assertion relevant to the challenge method being verified.\\n\",\n );\n\nexport const verifyChallengeProofResponseAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseSessionIdOneRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\nexport const verifyChallengeProofResponseChallengesItemChallengeIdRegExp = new RegExp(\n \"^ch_[a-zA-Z0-9_-]+$\",\n);\n\nexport const VerifyChallengeProofResponse = zod\n .object({\n attempt_id: zod\n .string()\n .regex(verifyChallengeProofResponseAttemptIdRegExp)\n .describe(\n \"Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).\",\n ),\n project_id: zod.string().regex(verifyChallengeProofResponseProjectIdRegExp),\n state: zod\n .enum([\"in_progress\", \"completed\", \"failed\", \"expired\"])\n .describe(\n \"Overall state of the authentication attempt:\\n- `in_progress`: factors are still being collected; continue issuing challenges.\\n- `completed`: all required factors have been verified; the attempt is ready for handoff.\\n- `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.\\n- `expired`: the 15-minute TTL has been exceeded.\\n\",\n ),\n session_id: zod\n .union([\n zod\n .string()\n .regex(verifyChallengeProofResponseSessionIdOneRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The session being authenticated into. Either newly created or passed in on POST.\\nFor step-up (re-auth), this is the existing session_id provided on creation.\\n\",\n ),\n user_id: zod\n .union([zod.string().regex(verifyChallengeProofResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The user ID, if known at this point in the flow.\\nNull until an identifier challenge has been verified.\\n\",\n ),\n required_factors: zod\n .array(\n zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n )\n .optional()\n .describe(\n \"The authentication factor methods that the project policy requires in order\\nto complete this attempt. Computed by the server from the project's auth policy.\\nClients should use this to determine which challenges still need to be issued.\\n\",\n ),\n completed_factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(\n verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp,\n ),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .optional()\n .describe(\n \"The factors that have been successfully verified in this attempt so far.\\nEach item includes method-specific metadata in the payload field.\\n\\nThe flow engine uses verified_at timestamps to enforce time-based policies, such as\\nrequiring password verification within the last 5 minutes for step-up auth to\\naccess sensitive operations.\\n\\nA factor appears here once its challenge reaches `verified` state.\\n\",\n ),\n challenges: zod\n .array(\n zod\n .object({\n challenge_id: zod\n .string()\n .regex(verifyChallengeProofResponseChallengesItemChallengeIdRegExp)\n .describe(\n \"Unique identifier for this challenge (dialect-minted prefixed opaque string).\",\n ),\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n state: zod\n .enum([\"pending\", \"failed\", \"expired\"])\n .describe(\n \"Current state of this challenge:\\n- `pending`: awaiting proof submission\\n- `failed`: proof rejected (invalid credential, wrong code, etc.)\\n- `expired`: challenge TTL exceeded without verification\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this challenge was issued\"),\n expires_at: zod\n .union([zod.iso.datetime({ offset: true }), zod.null()])\n .optional()\n .describe(\"When this challenge expires\"),\n payload: zod\n .union([\n zod\n .object({})\n .describe(\n \"Identifier challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({})\n .describe(\n \"Password challenge has no additional data beyond base challenge fields\",\n ),\n zod\n .object({\n public_key: zod\n .object({\n challenge: zod.string().describe(\"Base64-encoded WebAuthn challenge\"),\n allowed_credentials: zod\n .array(\n zod.object({\n id: zod.string().describe(\"Base64-encoded credential ID\"),\n type: zod.enum([\"public-key\"]),\n }),\n )\n .optional()\n .describe(\n \"List of credential IDs that can be used for this authentication\",\n ),\n user_verification: zod\n .enum([\"required\", \"preferred\", \"discouraged\"])\n .optional()\n .describe(\"User verification requirement for this challenge\"),\n rp_id: zod.string().optional().describe(\"Relying Party ID for WebAuthn\"),\n })\n .describe(\n \"Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).\\nSee also: https:\\/\\/www.w3.org\\/TR\\/webauthn\\/#dictdef-publickeycredentialrequestoptions\\n\",\n ),\n })\n .describe(\"WebAuthn-specific challenge data for passkey authentication\"),\n ])\n .optional()\n .describe(\n \"Method-specific challenge data. Structure depends on the `method` field.\\n- `identifier`, `password`: null (no additional data needed)\\n- `passkey`: WebAuthn challenge and credential options\\n- `idp`: Authorization URL and provider information\\n\",\n ),\n })\n .describe(\n \"A factor challenge issued within an authentication attempt.\\n\\nA challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.).\\nThe client verifies the proof by POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify.\\n\",\n ),\n )\n .optional()\n .describe(\n \"All challenges issued within this attempt, in creation order.\\nUse this to track the state of each factor challenge (pending, verified, failed, expired).\\n\",\n ),\n expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"When this attempt expires (15-minute TTL from creation)\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this attempt was created\"),\n })\n .describe(\n \"The current state of an authentication attempt.\\n\\nAn attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.\\nIt accepts factor challenges, verifies proofs, and completes into a handoff token.\\nClients drive the attempt by:\\n1. Issuing challenges: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\n2. Verifying proofs: POST \\/auth_attempts\\/{attempt_id}\\/challenges\\/{challenge_id}\\/verify\\n3. Completing: POST \\/auth_attempts\\/{attempt_id}\\/handoff\\n\",\n );\n\n/**\n * Completes the authentication attempt and mints a `handoff_token`.\n\nCall this after all required factors have been verified and the attempt is in `completed` state.\nThe handoff token is short-lived (≤60 seconds) and must be exchanged at\nPOST /sessions/exchange to receive the final session and session_token.\n\nThe handoff token is:\n- Single-use (atomic exchange, no retry)\n- Audience-bound (requires matching project key for exchange)\n- Idempotency-safe within a 5-minute window (see conventions)\n\n * @summary Complete authentication and create handoff token\n */\nexport const createHandoffPathAttemptIdRegExp = new RegExp(\"^att_[a-zA-Z0-9_-]+$\");\n\nexport const CreateHandoffParams = zod.object({\n attempt_id: zod\n .string()\n .regex(createHandoffPathAttemptIdRegExp)\n .describe(\"The unique identifier of the authentication attempt\"),\n});\n\nexport const CreateHandoffHeader = zod.strictObject({\n \"Idempotency-Key\": zod\n .string()\n .optional()\n .describe(\n \"Optional retry key for safe retries of the call.\\nRetries carrying the same key within the call window return the cached\\npayload without creating a new resource. See details in the endpoint description.\\n\",\n ),\n});\n\nexport const CreateHandoffResponse = zod\n .object({\n handoff_token: zod\n .string()\n .describe(\n \"The short-lived handoff token for session exchange.\\n\\nExchange at: POST \\/sessions\\/exchange\\n\\nRequirements:\\n- Single-use (atomic GETDEL on exchange)\\n- TTL ≤ 60 seconds\\n- Audience-bound to project (exchange requires sk_proj_… for matching project)\\n- Idempotency-safe (Category B, 5-minute window)\\n\",\n ),\n expires_at: zod.iso.datetime({ offset: true }).describe(\"When this handoff token expires\"),\n })\n .describe(\n \"The handoff token and metadata for session exchange.\\n\\nThis is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange\\nat POST \\/sessions\\/exchange to receive the final session and session_token.\\nThe handoff token is single-use and audience-bound to the project.\\n\",\n );\n\n/**\n * @summary Create project\n */\nexport const createProjectBodySeedDefaultsDefault = true;\n\nexport const CreateProjectBody = zod.object({\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n seed_defaults: zod\n .boolean()\n .default(createProjectBodySeedDefaultsDefault)\n .describe(\n \"Whether the server should provision fallback default user schema and flow\\nresources for the project. CLI-managed projects set this to false and\\nupload their local .zitadel config files through the schema and flow APIs.\\n\",\n ),\n});\n\n/**\n * @summary Query projects\n */\nexport const queryProjectsBodyLimitDefault = 20;\nexport const queryProjectsBodyLimitMax = 100;\n\nexport const QueryProjectsBody = zod\n .object({\n limit: zod\n .number()\n .min(1)\n .max(queryProjectsBodyLimitMax)\n .default(queryProjectsBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n sorting: zod\n .object({\n field: zod.enum([\"created_at\"]),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod.enum([\"created_at\"]),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying projects.\"),\n })\n .describe(\"Request to query projects.\");\n\nexport const QueryProjectsResponse = zod\n .object({\n projects: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the project.\"),\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was last updated.\"),\n })\n .describe(\"The current state of a project.\"),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\"Paginated list of projects.\");\n\n/**\n * Returns the current state of a project.\n\n * @summary Get project\n */\nexport const getProjectPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetProjectParams = zod.object({\n project_id: zod.string().regex(getProjectPathProjectIdRegExp),\n});\n\nexport const GetProjectResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the project.\"),\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was last updated.\"),\n })\n .describe(\"The current state of a project.\");\n\n/**\n * Updates the state of a project.\n\n * @summary Update project\n */\nexport const patchProjectPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const PatchProjectParams = zod.object({\n project_id: zod.string().regex(patchProjectPathProjectIdRegExp),\n});\n\nexport const PatchProjectBody = zod.object({\n name: zod.union([zod.null(), zod.string()]).optional().describe(\"The name of the project.\"),\n});\n\nexport const PatchProjectResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the project.\"),\n name: zod.string().describe(\"The name of the project.\"),\n preview_origins: zod\n .array(zod.string())\n .optional()\n .describe(\"Origins which are allowed for previewing and testing the project.\\n\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was last updated.\"),\n })\n .describe(\"The current state of a project.\");\n\n/**\n * Starts a claim challenge for an unclaimed project. Authenticated by the\nproject secret, this mints a single-use, short-lived challenge and returns\nthe `claim_url` the developer opens in a browser to complete the claim,\ntogether with the `challenge_id` the CLI polls with. The exact expiry is\ncarried by `expires_at` on the response.\n\n * @summary Initialize a project claim\n */\nexport const initClaimPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const InitClaimParams = zod.object({\n project_id: zod.string().regex(initClaimPathProjectIdRegExp),\n});\n\n/**\n * Polled by the CLI while a browser completes the claim. Authorized by the\nproject secret that initiated the challenge. Returns `pending`, or\n`completed` with the owning team, the claim timestamp, and the dashboard\nURL once the browser leg has finished.\n\n * @summary Get claim status\n */\nexport const getClaimStatusPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimStatusParams = zod.object({\n project_id: zod.string().regex(getClaimStatusPathProjectIdRegExp),\n});\n\nexport const getClaimStatusQueryChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimStatusQueryParams = zod.strictObject({\n challenge_id: zod\n .string()\n .regex(getClaimStatusQueryChallengeIdRegExp)\n .describe(\"The challenge minted by the matching claim init.\"),\n});\n\nexport const getClaimStatusResponseTwoTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimStatusResponse = zod\n .union([\n zod\n .object({\n status: zod.enum([\"pending\"]).describe(\"The claim has not completed yet.\"),\n })\n .describe(\"A claim challenge that is still awaiting the browser leg.\"),\n zod\n .object({\n status: zod.enum([\"completed\"]).describe(\"The claim has completed.\"),\n team_id: zod.string().regex(getClaimStatusResponseTwoTeamIdRegExp),\n claimed_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was claimed.\"),\n dashboard_url: zod.url().describe(\"The dashboard URL for the owning team.\"),\n })\n .describe(\n \"A completed claim. Carries the owning team, when the claim landed, and the\\ndashboard where it can be managed, so a generated client can rely on those\\nfields being present whenever `status` is `completed`.\\n\",\n ),\n ])\n .describe(\n \"The state of a claim challenge. While pending it carries only `status`; once\\ncompleted it also carries the owning team, the claim timestamp, and the\\ndashboard URL. Modelled as discriminated variants so a `pending` response can\\nnever carry stale completion fields and a `completed` response always carries\\nthem.\\n\",\n );\n\n/**\n * Called by the browser after the developer authenticates on the claim page.\nAuthenticated by the `__nextgen_session` cookie, it attaches the project to\nthe developer's personal team using the `challenge_id` from the claim URL as\nits single-use, browser-safe authorization.\n\n * @summary Complete a project claim\n */\nexport const completeClaimPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CompleteClaimParams = zod.object({\n project_id: zod.string().regex(completeClaimPathProjectIdRegExp),\n});\n\nexport const completeClaimBodyChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const CompleteClaimBody = zod\n .object({\n challenge_id: zod\n .string()\n .regex(completeClaimBodyChallengeIdRegExp)\n .describe(\"Unique identifier for this challenge (dialect-minted prefixed opaque string).\"),\n })\n .describe(\"The request to complete a project claim.\");\n\nexport const completeClaimResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const completeClaimResponseTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CompleteClaimResponse = zod\n .object({\n project_id: zod.string().regex(completeClaimResponseProjectIdRegExp),\n team_id: zod.string().regex(completeClaimResponseTeamIdRegExp),\n claimed_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project was claimed.\"),\n })\n .describe(\"The result of a completed project claim.\");\n\n/**\n * Creates an anonymous session shell with no user and no factors (`state: building`).\n\nThis is optional — an `auth_attempt` will create a session implicitly if none is provided.\nUse this explicitly when you want to:\n- Pre-allocate a `session_id` before the user is known, so device/telemetry signals\n can be correlated with the eventual authenticated session from the start.\n- Track anonymous state (bot detection, device fingerprint) that survives until authentication.\n\nCreating a session is an app-plane operation on the project credential\n(`session.write`). The returned `session_token` is a session credential for the\nend-user client, not a management scope: it is delivered as the\n`__nextgen_session` cookie and authorises the self-service operations\n`GET /sessions/me` and `DELETE /sessions/me` (`nextgenSession` scheme). The\nby-id operations `GET /sessions/{session_id}` and `DELETE /sessions/{session_id}`\nare operator endpoints and require `session.read` / `session.delete` instead.\n\nThe `session_token` is superseded when a handoff exchange completes — clients must\nreplace it at that point.\n\nAnonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured\nfull session TTL when the first authentication factor is written via a completing `auth_attempt`.\n\n * @summary Create an anonymous session shell\n */\nexport const createSessionBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateSessionBody = zod\n .object({\n project_id: zod.string().regex(createSessionBodyProjectIdRegExp),\n user_agent: zod\n .object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client.\"),\n })\n .optional()\n .describe(\n \"Optional user agent \\/ device context to attach to the session.\\nUseful for correlating telemetry and device signals with the eventual\\nauthenticated session from the start.\\n\",\n ),\n })\n .describe(\"Request to create an anonymous session shell.\");\n\n/**\n * Returns the sessions of a project, paginated with a cursor.\nSessions of every lifecycle state are returned; each carries its `state`.\nRequires `session.read` permission.\n\n * @summary Query sessions\n */\nexport const querySessionsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const QuerySessionsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(querySessionsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const querySessionsBodyLimitDefault = 20;\nexport const querySessionsBodyLimitMax = 100;\n\nexport const QuerySessionsBody = zod\n .object({\n limit: zod\n .number()\n .min(1)\n .max(querySessionsBodyLimitMax)\n .default(querySessionsBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Token to retrieve the next page of results.\"),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"user_id\"])\n .describe(\n \"Field to sort sessions by. Only stored columns are sortable: the keyset\\ncursor holds the last row's sort values, so a computed value such as\\n`state` would skip or duplicate rows between pages.\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"created_at\", \"user_id\", \"state\", \"lifecycle_owner_team_id\"])\n .describe(\n \"Field to filter sessions by:\\n- `created_at`: RFC3339 timestamp\\n- `user_id`: user id\\n- `state`: one of `building`, `active`, `expired`. State is computed at read\\n time, so a session expiring mid-request can match `active` but return `expired`.\\n- `lifecycle_owner_team_id`: team id. Matches the sessions of the users whose\\n lifecycle that team owns — the same users it can deactivate and whose\\n sessions it can revoke. Roster membership does not match: a collaborator on\\n the team's roster whose lifecycle another team (or the user themselves)\\n owns is not returned. A session is project-scoped and is not bound to a\\n team, so the link is read from the user at query time; a session of a\\n self-owned user, and a session with no user, match no team. Only `equals`\\n is supported.\\n\",\n ),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying sessions.\"),\n })\n .describe(\"Request to query the sessions of a project.\");\n\nexport const querySessionsResponseSessionsItemSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const querySessionsResponseSessionsItemProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const querySessionsResponseSessionsItemUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const querySessionsResponseSessionsItemUserUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\nexport const querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const QuerySessionsResponse = zod\n .object({\n sessions: zod.array(\n zod\n .object({\n session_id: zod\n .string()\n .regex(querySessionsResponseSessionsItemSessionIdRegExp)\n .describe(\n \"Unique identifier for this session (dialect-minted prefixed opaque string).\",\n ),\n project_id: zod.string().regex(querySessionsResponseSessionsItemProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([\n zod.string().regex(querySessionsResponseSessionsItemUserIdOneRegExp),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n user: zod\n .object({\n user_id: zod.string().regex(querySessionsResponseSessionsItemUserUserIdRegExp),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .optional()\n .describe(\n \"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`.\\n\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(\n querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp,\n ),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod\n .string()\n .optional()\n .describe(\"Client-supplied device fingerprint.\"),\n ip: zod\n .string()\n .optional()\n .describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of sessions.\");\n\n/**\n * Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`\nand returns the resulting session and a `session_token`.\n\nThe server resolves the originating `auth_attempt` from the token and then:\n\n| Originating auth_attempt | Outcome |\n|---|---|\n| No `session_id` | A new authenticated session is **created**. |\n| `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. |\n| `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. |\n\nThe response shape is identical in all three cases.\n\nThe `session_token` supersedes any previously issued `session_token` for the same session.\nClients must replace their stored token at this point.\n\nRequires a project service key (OAuth2 client credentials).\n\n * @summary Exchange handoff token for a session\n */\nexport const exchangeHandoffQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ExchangeHandoffQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(exchangeHandoffQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const ExchangeHandoffHeader = zod.strictObject({\n \"Idempotency-Key\": zod\n .string()\n .optional()\n .describe(\n \"Optional retry key for safe retries of the call.\\nRetries carrying the same key within the call window return the cached\\npayload without creating a new resource. See details in the endpoint description.\\n\",\n ),\n});\n\nexport const ExchangeHandoffBody = zod\n .object({\n handoff_token: zod\n .string()\n .describe(\n \"The one-time handoff token minted by `POST \\/auth_attempts\\/{id}\\/handoff`.\\nSingle-use — replaying it after a successful exchange returns `410 Gone`.\\n\",\n ),\n ttl: zod\n .string()\n .optional()\n .describe(\n \"Optional session lifetime after exchange as an ISO-8601 duration. When omitted, the server\\nuses the configured default. Must not exceed the configured maximum.\\n\",\n ),\n })\n .describe(\"Request to exchange a handoff token for a session and session_token.\");\n\nexport const exchangeHandoffResponseSessionSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionUserUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const ExchangeHandoffResponse = zod\n .object({\n session: zod\n .object({\n session_id: zod\n .string()\n .regex(exchangeHandoffResponseSessionSessionIdRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n project_id: zod.string().regex(exchangeHandoffResponseSessionProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([zod.string().regex(exchangeHandoffResponseSessionUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n user: zod\n .object({\n user_id: zod.string().regex(exchangeHandoffResponseSessionUserUserIdRegExp),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .optional()\n .describe(\n \"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`.\\n\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n ),\n session_token: zod\n .string()\n .describe(\n \"Bearer token authorising management of this session (GET and DELETE).\\nFor anonymous sessions this token is superseded when a handoff exchange completes —\\nclients must replace their stored token at that point.\\n\",\n ),\n })\n .describe(\n \"Response for session creation and handoff exchange.\\nIncludes the session state and the session_token required to manage it.\\n\",\n );\n\n/**\n * Returns the current state of a session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get session state\n */\nexport const getSessionPathSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\n\nexport const GetSessionParams = zod.object({\n session_id: zod\n .string()\n .regex(getSessionPathSessionIdRegExp)\n .describe(\"The unique identifier of the session.\"),\n});\n\nexport const getSessionResponseSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseUserUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getSessionResponseFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const GetSessionResponse = zod\n .object({\n session_id: zod\n .string()\n .regex(getSessionResponseSessionIdRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n project_id: zod.string().regex(getSessionResponseProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([zod.string().regex(getSessionResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n user: zod\n .object({\n user_id: zod.string().regex(getSessionResponseUserUserIdRegExp),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .optional()\n .describe(\n \"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`.\\n\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(getSessionResponseFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n );\n\n/**\n * Permanently deletes the session, terminating it immediately.\n\nThis is the operator revoke path and requires the `session.delete` scope on a\nproject-bound credential. End-user logout with the `__nextgen_session` cookie is\n`DELETE /sessions/me` (`nextgenSession` scheme).\n\nIdempotent: deleting a session that does not exist (or was already deleted)\nstill returns 204. After deletion, any tokens derived from the session are\ninvalidated.\n\n * @summary Revoke session\n */\nexport const revokeSessionPathSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\n\nexport const RevokeSessionParams = zod.object({\n session_id: zod\n .string()\n .regex(revokeSessionPathSessionIdRegExp)\n .describe(\"The unique identifier of the session.\"),\n});\n\n/**\n * Returns the current state of the current session including its factors and all currently\nsatisfied assurance levels.\n\n`assurance_levels[]` may shrink over time as factor freshness windows expire,\nwithout the session itself expiring. Use step-up authentication (a new `auth_attempt`\nagainst the same `session_id`) to restore a dropped assurance level.\n\n * @summary Get my session state\n */\nexport const getMySessionResponseSessionIdRegExp = new RegExp(\"^sess_[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseUserIdOneRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseUserUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\nexport const getMySessionResponseFactorsItemPayloadOneUserIdRegExp = new RegExp(\n \"^user_[a-zA-Z0-9_-]+$\",\n);\n\nexport const GetMySessionResponse = zod\n .object({\n session_id: zod\n .string()\n .regex(getMySessionResponseSessionIdRegExp)\n .describe(\"Unique identifier for this session (dialect-minted prefixed opaque string).\"),\n project_id: zod.string().regex(getMySessionResponseProjectIdRegExp),\n state: zod\n .enum([\"building\", \"active\", \"expired\"])\n .describe(\n \"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\",\n ),\n user_id: zod\n .union([zod.string().regex(getMySessionResponseUserIdOneRegExp), zod.null()])\n .optional()\n .describe(\n \"The authenticated user. Null for anonymous sessions and until the `user`\\nfactor has been verified through an `auth_attempt`.\\n\",\n ),\n user: zod\n .object({\n user_id: zod.string().regex(getMySessionResponseUserUserIdRegExp),\n identifier: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n identifier_property: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n display: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n })\n .optional()\n .describe(\n \"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`.\\n\",\n ),\n factors: zod\n .array(\n zod\n .object({\n method: zod\n .enum([\"identifier\", \"password\", \"passkey\"])\n .describe(\"An authentication factor method.\"),\n verified_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When this factor was successfully verified\"),\n payload: zod\n .union([\n zod\n .object({\n user_id: zod\n .string()\n .regex(getMySessionResponseFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({})\n .describe(\n \"Password authentication has no additional metadata beyond the base factor fields\",\n ),\n zod\n .object({\n credential_id: zod.string().describe(\"The credential ID that was used\"),\n user_verified: zod\n .boolean()\n .describe(\"Whether user verification was performed (PIN\\/biometric)\"),\n backup_eligible: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is backup eligible (can be synced)\"),\n backup_state: zod\n .boolean()\n .optional()\n .describe(\"Whether the credential is currently backed up\"),\n authenticator_attachment: zod\n .enum([\"platform\", \"cross-platform\"])\n .optional()\n .describe(\"Authenticator attachment modality\"),\n })\n .describe(\n \"Passkey-specific factor metadata including credential and verification details\",\n ),\n ])\n .optional()\n .describe(\n \"Method-specific factor metadata. Structure depends on the `method` field.\\n- `identifier`: includes user_id\\n- `password`: no additional data\\n- `passkey`: includes credential details and verification flags\\n\",\n ),\n })\n .describe(\n \"A successfully verified authentication factor with verification metadata.\\nMethod-specific details are included in the `payload` field.\\n\",\n ),\n )\n .describe(\n \"Verified authentication factors accumulated by this session.\\nEach key is a factor type (e.g. `password`, `totp`, `passkey`).\\nEach value is a factor event object with at least `verified_at` and\\nmethod-specific properties (e.g. `user_verified`, `hardware` for passkeys).\\n\",\n ),\n assurance_levels: zod\n .array(zod.string())\n .optional()\n .describe(\n 'All assurance levels whose schemas the current session factors satisfy.\\nThis list shrinks as factor freshness windows expire and grows when step-up\\nauth_attempts add or refresh factors.\\nWhether any level is \\\"enough\\\" is determined by the request context, not the session.\\n',\n ),\n metadata: zod\n .union([zod.record(zod.string(), zod.unknown()), zod.null()])\n .optional()\n .describe(\"Arbitrary key\\/value metadata attached to the session.\"),\n user_agent: zod\n .union([\n zod.object({\n fingerprint: zod.string().optional().describe(\"Client-supplied device fingerprint.\"),\n ip: zod.string().optional().describe(\"IP address of the client at session creation.\"),\n }),\n zod.null(),\n ])\n .optional()\n .describe(\"User agent information captured at session creation.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this session was created.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this session expires. Short TTL (10 min) for anonymous sessions;\\nreset to the full configured session TTL once the first authentication factor is written.\\n\",\n ),\n })\n .describe(\n \"The current state of a session.\\n\\nA session is the durable post-auth primitive. It accumulates verified authentication\\nfactors and exposes `assurance_levels[]` — the set of assurance profiles its current\\nfactors satisfy. Sessions are read-only from the client's perspective: factors flow\\nin through `auth_attempts`.\\n\",\n );\n\n/**\n * Create a new schema. The optional `$id` field is the JSON Schema document\nURI used to identify the schema in future requests (GitOps-stable identity,\nnot a free-form resource primary key). When `$id` is omitted, the server\ngenerates a `sch_*` URL. When provided, `$id` must be unique within the\nproject and should ideally be a valid URI pointing at where the schema can\nbe accessed.\n\nThe schema can either be a concrete schema, e.g. a user schema, or a\nschema-url which will be resolved by the server.\n\n * @summary Create new schema\n */\nexport const createSchemaQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createSchemaQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateSchemaQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createSchemaQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n team_id: zod\n .string()\n .regex(createSchemaQueryTeamIdRegExp)\n .optional()\n .describe(\"The unique identifier of the team\"),\n});\n\nexport const createSchemaBodyOneObjectTypeMax = 256;\n\nexport const createSchemaBodyOnePropertiesXAuditDefault = false;\n\nexport const CreateSchemaBody = zod.union([\n zod\n .object({\n objectType: zod\n .string()\n .max(createSchemaBodyOneObjectTypeMax)\n .optional()\n .describe(\"The type of user this schema describes. This is a customer chosen name.\\n\"),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(createSchemaBodyOnePropertiesXAuditDefault)\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n ),\n zod\n .object({\n kind: zod\n .literal(\"schema-url\")\n .describe(\"Discriminator value for a user schema create request.\"),\n url: zod.url().describe(\"URL to the schema definition.\"),\n })\n .describe(\n \"A schema definition that references an external schema via a URL. It is \\non creation, validated against its metaschema and cached in the database.\\n\",\n ),\n]);\n\n/**\n * Retrieve a list of all schemas available in the system. This endpoint\nsupports pagination and filtering based on schema attributes.\n\n * @summary List all schemas\n */\nexport const listSchemasQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listSchemasQueryLimitDefault = 20;\nexport const listSchemasQueryLimitMax = 100;\n\nexport const listSchemasQueryObjectTypeMax = 256;\n\nexport const listSchemasQueryRevisionsDefault = `all`;\n\nexport const ListSchemasQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listSchemasQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listSchemasQueryLimitMax)\n .default(listSchemasQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n object_type: zod\n .string()\n .max(listSchemasQueryObjectTypeMax)\n .optional()\n .describe(\"The type of object of the schema to filter by.\"),\n revisions: zod\n .enum([\"all\", \"latest\"])\n .default(listSchemasQueryRevisionsDefault)\n .describe(\n \"Which revisions to return. Schemas are immutable and versioned by URL,\\nso editing one mints a new row sharing its `objectType`.\\n\\n`all` (the default) returns every revision — the full history an\\nexport, an audit or a GitOps diff needs. `latest` returns the newest\\nrevision of each `objectType`, which is one row per schema.\\n\\nA schema stored without an `objectType` is a revision of nothing, and\\nis returned by both.\\n\\nA `page_token` is bound to the mode it was issued in and is rejected by\\nthe other.\\n\",\n ),\n kind: zod\n .enum([\"user-schema\"])\n .optional()\n .describe(\n \"The kind of schema to filter by, read from the stored document's\\n`kind` property.\\n\\n`schema-url` is not a kind: it discriminates the create request body,\\nnot a stored schema. A schema registered by URL is stored as whatever\\ndocument the URL served, and declares its own kind.\\n\\nA schema stored without its document being parsed has no kind that\\ncould be read, and is excluded from every filtered result.\\n\",\n ),\n});\n\nexport const listSchemasResponseSchemasItemSchemaOneObjectTypeMax = 256;\n\nexport const listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault = false;\n\nexport const ListSchemasResponse = zod\n .object({\n schemas: zod.array(\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(listSchemasResponseSchemasItemSchemaOneObjectTypeMax)\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault)\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"List of schemas, newest first.\");\n\n/**\n * Get a schema by its ID. A schema ID identifies one immutable revision, so\nthis returns exactly that revision. To find the current revision of an\nobject type, list with `revisions=latest`.\n\n * @summary Get schema by ID\n */\nexport const GetSchemaByIdParams = zod.object({\n id: zod.string(),\n});\n\nexport const getSchemaByIdQueryTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetSchemaByIdQueryParams = zod.strictObject({\n team_id: zod\n .string()\n .regex(getSchemaByIdQueryTeamIdRegExp)\n .optional()\n .describe(\"The unique identifier of the team\"),\n});\n\nexport const getSchemaByIdResponseSchemaOneObjectTypeMax = 256;\n\nexport const getSchemaByIdResponseSchemaOnePropertiesXAuditDefault = false;\n\nexport const GetSchemaByIdResponse = zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(getSchemaByIdResponseSchemaOneObjectTypeMax)\n .optional()\n .describe(\"The type of user this schema describes. This is a customer chosen name.\\n\"),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(getSchemaByIdResponseSchemaOnePropertiesXAuditDefault)\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n );\n\n/**\n * Creates a new flow definition.\nFlow definitions are templates that define the sequence of steps (capabilities)\nfor a particular user journey (e.g., registration, login, password reset).\n\nFlow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.\n\n * @summary Create a new flow definition\n */\nexport const createFlowDefinitionBodyProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createFlowDefinitionBodyFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault = [];\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault = [];\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault = [];\n\nexport const CreateFlowDefinitionBody = zod\n .object({\n project_id: zod.string().regex(createFlowDefinitionBodyProjectIdRegExp),\n schema_uri: zod\n .url()\n .optional()\n .describe(\n \"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\",\n ),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(createFlowDefinitionBodyFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n );\n\n/**\n * Retrieves a list of all flow definitions.\nThis endpoint can be used to view existing flow definitions and their configurations.\n\n * @summary List flow definitions\n */\nexport const listFlowDefinitionsQueryLimitDefault = 20;\nexport const listFlowDefinitionsQueryLimitMax = 100;\n\nexport const listFlowDefinitionsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ListFlowDefinitionsQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listFlowDefinitionsQueryLimitMax)\n .default(listFlowDefinitionsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n project_id: zod\n .string()\n .regex(listFlowDefinitionsQueryProjectIdRegExp)\n .describe(\"The project id to filter by.\"),\n purpose: zod\n .enum([\"login\", \"register\", \"recovery\", \"profiling\", \"reauth\", \"link_account\"])\n .optional()\n .describe(\"Filter flow definitions by purpose (e.g., registration, login).\"),\n expand: zod\n .array(\n zod\n .enum([\"user_schema\"])\n .describe(\n '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',\n ),\n )\n .optional()\n .describe(\"Related entities to embed on each returned flow definition.\"),\n});\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp = new RegExp(\n \"^[a-z][a-z0-9-]\\*$\",\n);\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault =\n {} as const;\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const ListFlowDefinitionsResponse = zod.object({\n flow_definitions: zod.array(\n zod.object({\n id: zod.string().describe(\"Unique identifier for the flow definition.\"),\n project_id: zod\n .string()\n .describe(\"Identifier of the project this flow definition belongs to.\"),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault,\n )\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault,\n )\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault,\n )\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault,\n )\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n user_schema: zod\n .union([\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax,\n )\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault,\n )\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The user schema this flow operates on: the same object\\n`GET \\/schemas\\/{id}` returns. Present only when the request asked for it\\nwith `expand=user_schema`; `null` when it was requested but the\\nreferenced schema no longer resolves or the caller may not read it.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }),\n updated_at: zod.iso.datetime({ offset: true }),\n }),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The token to retrieve the next page of results. Absent if there are no more results.\",\n ),\n});\n\n/**\n * Get a flow definition by id\n * @summary Get a flow definition by id\n */\nexport const GetFlowDefinitionParams = zod.object({\n id: zod.string().describe(\"The id returned by the POST \\/flow_definitions endpoint.\\n\"),\n});\n\nexport const getFlowDefinitionResponseFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault = [];\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault = [];\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [];\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const GetFlowDefinitionResponse = zod.object({\n id: zod.string().describe(\"Unique identifier for the flow definition.\"),\n project_id: zod.string().describe(\"Identifier of the project this flow definition belongs to.\"),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(getFlowDefinitionResponseFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n user_schema: zod\n .union([\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax)\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(\n getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault,\n )\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The user schema this flow operates on: the same object\\n`GET \\/schemas\\/{id}` returns. Present only when the request asked for it\\nwith `expand=user_schema`; `null` when it was requested but the\\nreferenced schema no longer resolves or the caller may not read it.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }),\n updated_at: zod.iso.datetime({ offset: true }),\n});\n\n/**\n * Update a flow definition by id. This endpoint replaces the existing flow definition.\nIf `flow_definition.status` is omitted, the current status is preserved\n\n * @summary Update a flow definition by id\n */\nexport const UpdateFlowDefinitionParams = zod.object({\n id: zod.string().describe(\"The id returned by the POST \\/flow_definitions endpoint.\\n\"),\n});\n\nexport const updateFlowDefinitionBodyFlowDefinitionNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault = [];\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault = [];\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault = [];\n\nexport const UpdateFlowDefinitionBody = zod\n .object({\n schema_uri: zod\n .url()\n .optional()\n .describe(\n \"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\",\n ),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(updateFlowDefinitionBodyFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n })\n .describe(\"Replaces the existing flow definition.\\n\");\n\nexport const updateFlowDefinitionResponseFlowDefinitionNameRegExp = new RegExp(\n \"^[a-z][a-z0-9-]\\*$\",\n);\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault = [];\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault = [];\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [];\nexport const updateFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const updateFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const UpdateFlowDefinitionResponse = zod.object({\n id: zod.string().describe(\"Unique identifier for the flow definition.\"),\n project_id: zod.string().describe(\"Identifier of the project this flow definition belongs to.\"),\n flow_definition: zod\n .object({\n name: zod\n .string()\n .regex(updateFlowDefinitionResponseFlowDefinitionNameRegExp)\n .describe(\n \"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\",\n ),\n status: zod\n .enum([\"active\", \"draft\"])\n .describe(\n \"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\",\n ),\n user_schema: zod\n .string()\n .describe(\n \"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\",\n ),\n purposes: zod\n .record(zod.string(), zod.string())\n .describe(\n \"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\",\n ),\n audience: zod\n .object({\n team_ids: zod\n .array(zod.string())\n .optional()\n .describe(\n \"Restrict to specific teams (organizations). Empty means no team restriction.\",\n ),\n app_ids: zod\n .array(zod.string())\n .optional()\n .describe(\"Restrict to specific applications. Empty means no app restriction.\"),\n })\n .optional()\n .describe(\n 'Scopes which teams or apps this flow definition applies to. Empty or\\nomitted fields mean \\\"no restriction\\\"; when both are empty the definition\\nmatches every request in the project. The engine picks the most specific\\nmatching definition: app > team > project-wide.\\n',\n ),\n steps: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Unique step identifier within this flow. Used as transition targets\\nand returned in the API response as `step.name`.\\n\",\n ),\n fields: zod\n .array(zod.string())\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault)\n .describe(\n \"Schema property names to collect from the user. Each entry references\\na property in the flow's user schema. The engine resolves field type,\\nvalidation rules, and implicit outcomes from schema annotations\\n(e.g. a property with `x-unique` set implies a `user_not_found`\\ntransition outcome).\\n\",\n ),\n actions: zod\n .array(\n zod\n .object({\n name: zod\n .string()\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\", \"back\"])\n .describe(\n \"Classifies how the engine handles this action:\\n- `submit`: collect the step's fields and run validate\\/dispatch\\/on_success.\\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\\n fires once the returned assertion verifies.\\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\\n transition fires once the returned attestation verifies.\\n- `navigate`: route through the transition without running the input\\n pipeline. Used for pure-routing actions declared in the flow definition.\\n- `back`: return the user to the previous step. Surfaced by the engine\\n when going back is available.\\n\",\n ),\n primary: zod\n .boolean()\n .default(\n updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault,\n )\n .describe(\n \"Marks this as the default\\/primary action. The runtime template uses\\nthis hint to choose visual emphasis. At most one action per step\\nshould be primary; this is not enforced here.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Optional localization key override for the action's label. When\\nomitted, the engine derives a key from the step and action names.\\nDisplay text is resolved client-side from a locale dictionary, never\\nby the engine.\\n\",\n ),\n })\n .describe(\n \"Configuration for a user-invokable action on a step. The `name` is sent\\nback in the submit request as `action`; the engine resolves the action's\\ndeclared `kind` to decide how to handle the submission.\\n\",\n ),\n )\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault)\n .describe(\n \"Ordered list of actions the user can take. The action name is what the\\nfrontend sends back in the submit request. If omitted, the engine\\nprovides a default `submit` action.\\n\",\n ),\n gates: zod\n .record(\n zod.string(),\n zod\n .object({\n kind: zod\n .enum([\"captcha\"])\n .describe(\n \"The gate category. Only `captcha` is currently defined. Authenticator\\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\\n`x-credential` on a field, not as gates.\\n\",\n ),\n provider: zod\n .string()\n .describe(\n \"Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\\n`hcaptcha`. The engine looks up an implementation in its provider\\nregistry.\\n\",\n ),\n config: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"Provider-specific configuration consumed by the implementation when\\nissuing the per-render challenge. Opaque to the engine.\\n\",\n ),\n })\n .describe(\n \"A security challenge that must be satisfied before this step's submission\\nis accepted. The engine may also inject gates at runtime based on policy\\nor risk evaluation.\\n\",\n ),\n )\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault)\n .describe(\n 'Security gates that must be satisfied before submission. Keyed by gate\\nname. Each gate selects a kind (e.g. \\\"captcha\\\") and provider-specific\\nconfiguration. The engine may also inject gates dynamically based on\\npolicy.\\n',\n ),\n sso_providers: zod\n .array(\n zod\n .object({\n id: zod.string().describe(\"Provider instance identifier.\"),\n name: zod.string().describe(\"Display name for the provider.\"),\n template: zod\n .string()\n .describe(\"Template hint for rendering (logo, colors).\"),\n })\n .describe(\"An available SSO identity provider.\"),\n )\n .default(updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\"Available SSO identity providers for this step.\"),\n on_success: zod\n .enum([\"create_user\"])\n .optional()\n .describe(\n \"Server-side mutation to execute when this step completes successfully.\\nRuns after field validation passes, before the transition fires.\\n\\n- create_user: creates the user record (registration flows)\\n\",\n ),\n complete: zod\n .enum([\"redirect\", \"show\"])\n .optional()\n .describe(\n \"Marks this as a terminal step. Tells the frontend what to do:\\n- redirect: navigate to redirect_uri (OIDC\\/SAML callback done)\\n- show: render as a success\\/info screen\\n\",\n ),\n transitions: zod\n .record(\n zod.string(),\n zod.object({\n target: zod\n .string()\n .describe(\n \"Step name within this flow (when `action` is null), or the name\\nof another flow (when `action` is `switch` or `pivot`).\\n\",\n ),\n action: zod\n .union([zod.enum([\"switch\", \"pivot\"]), zod.null()])\n .optional()\n .describe(\n \"How to interpret `target`:\\n- null (omitted): transition to a step in the current flow.\\n- switch: replace the current flow with the target flow.\\n No return — the current flow is discarded.\\n Example: login ↔ register.\\n- pivot: push the target flow onto the stack. The current flow\\n is paused and resumes when the target flow completes (auto-pop).\\n Example: login → recovery → back to login.\\n\",\n ),\n purpose: zod\n .union([\n zod.enum([\n \"login\",\n \"register\",\n \"recovery\",\n \"profiling\",\n \"reauth\",\n \"link_account\",\n ]),\n zod.null(),\n ])\n .optional()\n .describe(\n \"Local re-purposing. When set, taking this transition changes the\\nflow's current purpose to this value — the dispatch mode a step's\\nchallenges run under — while the flow's original purpose stays\\npinned. Must be a purpose this definition serves, and `target`\\nmust be that purpose's entry step. Mutually exclusive with\\n`action`: a transition either re-purposes within this flow or\\ntargets another flow, never both.\\nExample: a \\\"Sign up\\\" navigation on the login identifier step\\n(`{ target: register, purpose: register }`).\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n \"Maps action\\/outcome names to their transition descriptor.\\n\\nKeys match action names from the `actions` array. Additional keys\\ncome from implicit outcomes based on schema annotations\\n(e.g. `user_not_found` from `x-unique` fields) and engine\\nevents (e.g. `sso`, `callback`).\\n\",\n ),\n })\n .describe(\n \"A step in a flow definition. This is the admin-authored configuration,\\nnot the runtime payload sent to the frontend.\\n\\nSteps are schema-driven: `fields` references properties from the flow's\\nuser schema, and the engine resolves field metadata (type, validation,\\nimplicit outcomes) from schema annotations at runtime.\\n\\nA step with only `complete` set is a terminal step. All other steps are\\nrendered to the frontend as capability payloads.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"Ordered list of steps in this flow. The order is for human readability —\\nactual step sequencing is determined by transitions.\\n\",\n ),\n })\n .describe(\n \"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\",\n ),\n user_schema: zod\n .union([\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"The resource id: the server-minted `sch_\\*` identifier, or the\\ncustomer-supplied `$id` URI when the document declared one at creation.\\n\",\n ),\n schema: zod\n .object({\n objectType: zod\n .string()\n .max(updateFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax)\n .optional()\n .describe(\n \"The type of user this schema describes. This is a customer chosen name.\\n\",\n ),\n kind: zod\n .literal(\"user-schema\")\n .describe(\"Discriminator value for a user schema create request.\"),\n metaSchema: zod.url().describe(\"The user Schema version used for this schema.\"),\n \"x-auth-methods\": zod\n .object({\n password: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n passkey: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n magic_link: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n sso: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n otp: zod\n .object({\n enabled: zod\n .boolean()\n .describe(\"Whether the authentication method is enabled or not\"),\n })\n .optional(),\n })\n .describe(\"A list of authentication methods supported by the user definition.\"),\n \"x-identifier\": zod\n .string()\n .min(1)\n .optional()\n .describe(\n 'Path of the leaf property whose value identifies a user (nested leaves\\nare addressed by their dot-joined attribute path). The property must\\ncarry `x-unique` \\\"project\\\". Required when an auth method needing\\nidentifier-first dispatch (password) is enabled. Passkey is exempt:\\ndiscoverable credentials identify the user through the assertion\\nitself, so passkey-only and API-managed schemas may designate nothing;\\nflows using identifier-first passkey are validated at the flow level\\ninstead.\\n',\n ),\n \"x-display\": zod\n .array(zod.string().min(1))\n .min(1)\n .optional()\n .describe(\n \"Ordered leaf property paths whose values, joined with a space, render\\nthe user's display name.\\n\",\n ),\n properties: zod\n .record(\n zod.string(),\n zod\n .object({\n \"x-unique\": zod\n .union([zod.enum([\"unspecified\", \"project\", \"team\"]), zod.null()])\n .optional()\n .describe(\"The level of uniqueness for this property, if applicable\"),\n \"x-claim\": zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"The claim name for this property, if applicable\"),\n \"x-audit\": zod\n .boolean()\n .default(\n updateFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault,\n )\n .describe(\n \"Whether this property's value may appear in audit event payloads. Audit\\npayloads are deny-by-default: a property without this annotation\\ncontributes its key but never its value.\\n\",\n ),\n properties: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the key is\\nthe property name and the value is the property schema.\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`.\\nThis is done because a lot of code generators cannot handle that.\\n\\nNative JSON Schema keywords such as `type`, `format`, `title` and `writeOnly`\\nare accepted without being listed below. `writeOnly: true` is reserved for a\\nvalue that may be written but is never returned by the read API; nothing\\nenforces it today, so responses still include write-only properties.\\n',\n ),\n )\n .optional()\n .describe(\n \"A map of additional properties for the user definition, where the\\nkey is the property name and the value is the property schema\\n\",\n ),\n })\n .describe(\n 'This schema is missing `\\\"allOf\\\": [{\\\"$ref\\\": \\\"https:\\/\\/json-schema.org\\/draft\\/2020-12\\/schema\\\"}],`. \\nThis is done because a lot of code generators cannot handle that.\\n',\n )\n .describe(\"The customer-authored JSON Schema document, served verbatim.\"),\n metadata: zod.object({\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the schema was created.\"),\n }),\n })\n .describe(\n \"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\",\n ),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The user schema this flow operates on: the same object\\n`GET \\/schemas\\/{id}` returns. Present only when the request asked for it\\nwith `expand=user_schema`; `null` when it was requested but the\\nreferenced schema no longer resolves or the caller may not read it.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }),\n updated_at: zod.iso.datetime({ offset: true }),\n});\n\n/**\n * Delete a flow definition by id.\nIf the flow definition is currently being used by a flow, the deletion will fail.\nIf the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.\n\n * @summary Delete a flow definition by id\n */\nexport const DeleteFlowDefinitionParams = zod.object({\n id: zod.string().describe(\"The id returned by the POST \\/flow_definitions endpoint.\\n\"),\n});\n\n/**\n * @summary Create team\n */\nexport const createTeamQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateTeamQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createTeamQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createTeamBodyNameMax = 200;\n\nexport const CreateTeamBody = zod.object({\n name: zod\n .string()\n .min(1)\n .max(createTeamBodyNameMax)\n .describe(\"The name of the team. Must be unique within the project.\"),\n});\n\n/**\n * Returns the teams of a project, paginated with a cursor.\n\n * @summary Query teams\n */\nexport const queryTeamsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const QueryTeamsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(queryTeamsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const queryTeamsBodyLimitDefault = 20;\nexport const queryTeamsBodyLimitMax = 100;\n\nexport const QueryTeamsBody = zod\n .object({\n limit: zod.number().min(1).max(queryTeamsBodyLimitMax).default(queryTeamsBodyLimitDefault),\n page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"name\", \"status\"])\n .describe(\n \"Field to filter or sort teams by.\\n\\nTeam names are unique per project case-insensitively, so `name` is matched\\ncase-insensitively by `equals` as well as by `contains`.\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional(),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"created_at\", \"name\", \"status\"])\n .describe(\n \"Field to filter or sort teams by.\\n\\nTeam names are unique per project case-insensitively, so `name` is matched\\ncase-insensitively by `equals` as well as by `contains`.\\n\",\n ),\n value: zod\n .union([zod.string(), zod.number(), zod.boolean(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n operation: zod\n .enum([\n \"equals\",\n \"not_equals\",\n \"contains\",\n \"not_contains\",\n \"less_than\",\n \"less_than_or_equal\",\n \"greater_than\",\n \"greater_than_or_equal\",\n ])\n .describe(\n \"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\",\n ),\n }),\n )\n .optional()\n .describe(\"Filter criteria for querying teams.\"),\n })\n .describe(\"Request to query the teams of a project.\");\n\nexport const QueryTeamsResponse = zod\n .object({\n teams: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\"),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\"Paginated list of teams.\");\n\n/**\n * Returns a Team by its id.\n\n * @summary Get team\n */\nexport const getTeamPathTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetTeamParams = zod.object({\n team_id: zod.string().regex(getTeamPathTeamIdRegExp),\n});\n\nexport const GetTeamResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\");\n\n/**\n * Deactivates the team.\n\nThe team is tombstoned rather than erased: it stays readable through\ngetTeam with status `deactivated`. Its memberships are removed and the\nusers whose lifecycle it owns are deactivated with it.\n\nThe request is idempotent. Deleting a team that is already deactivated\nor doesn't exist succeeds without changing anything.\n\n * @summary Delete team\n */\nexport const deleteTeamPathTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const DeleteTeamParams = zod.object({\n team_id: zod.string().regex(deleteTeamPathTeamIdRegExp),\n});\n\n/**\n * Update team. Only active teams can be updated.\n\n * @summary Update team\n */\nexport const updateTeamPathTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const UpdateTeamParams = zod.object({\n team_id: zod.string().regex(updateTeamPathTeamIdRegExp),\n});\n\nexport const updateTeamBodyNameMax = 200;\n\nexport const UpdateTeamBody = zod.object({\n name: zod\n .string()\n .min(1)\n .max(updateTeamBodyNameMax)\n .optional()\n .describe(\"The name of the team. Must be unique within the project.\"),\n});\n\nexport const UpdateTeamResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of the team.\"),\n name: zod.string().describe(\"The name of the team.\"),\n status: zod\n .enum([\"active\", \"deactivated\"])\n .describe(\n \"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\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"The time when the team was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the team was last updated.\"),\n })\n .describe(\"Details of a team.\");\n\n/**\n * Lists the project's environments ordered by name.\n\n * @summary List environments\n */\nexport const listEnvironmentsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEnvironmentsQueryLimitDefault = 20;\nexport const listEnvironmentsQueryLimitMax = 100;\n\nexport const ListEnvironmentsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listEnvironmentsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listEnvironmentsQueryLimitMax)\n .default(listEnvironmentsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const listEnvironmentsResponseEnvironmentsItemProjectIdRegExp = new RegExp(\n \"^[a-zA-Z0-9_-]+$\",\n);\nexport const listEnvironmentsResponseEnvironmentsItemNameMax = 63;\n\nexport const listEnvironmentsResponseEnvironmentsItemNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const ListEnvironmentsResponse = zod\n .object({\n environments: zod.array(\n zod\n .object({\n id: zod.string().describe(\"The opaque, immutable resource id.\"),\n project_id: zod.string().regex(listEnvironmentsResponseEnvironmentsItemProjectIdRegExp),\n name: zod\n .string()\n .max(listEnvironmentsResponseEnvironmentsItemNameMax)\n .regex(listEnvironmentsResponseEnvironmentsItemNameRegExp)\n .describe(\n \"An environment's public handle, unique within its project and immutable.\\n\\nIt addresses the environment on the wire and names a deploy target in the\\nCLI, so it is a lowercase DNS-style label: letters, digits, and hyphens\\nbetween them.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the environment was created.\"),\n })\n .describe(\n \"A runtime slot on a project (ADR 035).\\n\\nThis is identity only. The release an environment currently runs, and its\\ndeployment history, arrive with the deployments endpoints; environment\\nlifecycle (create, rename, retire) arrives with its own ADR. Until then\\nevery project is seeded with a fixed set of environments at creation and\\nthe set cannot be changed.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"The project's environments, ordered by name.\");\n\n/**\n * Reads one environment of the project by its name.\n\nThe lookup is scoped to the project in `project_id`: a name that exists in\nanother project answers `env.not_found` exactly as an unused name does.\n\n * @summary Get an environment by name\n */\nexport const getEnvironmentByNamePathNameMax = 63;\n\nexport const getEnvironmentByNamePathNameRegExp = new RegExp(\"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\");\n\nexport const GetEnvironmentByNameParams = zod.object({\n name: zod\n .string()\n .max(getEnvironmentByNamePathNameMax)\n .regex(getEnvironmentByNamePathNameRegExp)\n .describe(\"The name of the environment, unique within the project.\"),\n});\n\nexport const getEnvironmentByNameQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetEnvironmentByNameQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getEnvironmentByNameQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getEnvironmentByNameResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEnvironmentByNameResponseNameMax = 63;\n\nexport const getEnvironmentByNameResponseNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const GetEnvironmentByNameResponse = zod\n .object({\n id: zod.string().describe(\"The opaque, immutable resource id.\"),\n project_id: zod.string().regex(getEnvironmentByNameResponseProjectIdRegExp),\n name: zod\n .string()\n .max(getEnvironmentByNameResponseNameMax)\n .regex(getEnvironmentByNameResponseNameRegExp)\n .describe(\n \"An environment's public handle, unique within its project and immutable.\\n\\nIt addresses the environment on the wire and names a deploy target in the\\nCLI, so it is a lowercase DNS-style label: letters, digits, and hyphens\\nbetween them.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the environment was created.\"),\n })\n .describe(\n \"A runtime slot on a project (ADR 035).\\n\\nThis is identity only. The release an environment currently runs, and its\\ndeployment history, arrive with the deployments endpoints; environment\\nlifecycle (create, rename, retire) arrives with its own ADR. Until then\\nevery project is seeded with a fixed set of environments at creation and\\nthe set cannot be changed.\\n\",\n );\n\n/**\n * Publishes a new immutable branding revision for the project. Branding\nrevisions cannot be updated or deleted; every edit publishes a new\nrevision, and flow responses resolve the latest revision per project\n(see ADR 040).\n\nThe `liquid_template` is validated lexically on save (size, encoding,\nbanned patterns such as `<script>` tags, inline event handlers, and the\n`| raw` filter). Authoritative LiquidJS validation runs at authoring\ntime via `zitadel plan` / `zitadel apply`.\n\n * @summary Publish a new branding revision\n */\nexport const createBrandingQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateBrandingQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createBrandingQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createBrandingBodyLayoutDefault = `centered`;\nexport const createBrandingBodyLiquidTemplateMax = 131072;\n\nexport const CreateBrandingBody = zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(createBrandingBodyLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(createBrandingBodyLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod.url().optional().describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n );\n\n/**\n * Lists branding revisions for the project, newest first, capped at the\n100 most recent. The first entry is the revision flow responses\ncurrently resolve. Deliberately unpaginated in v1 — list endpoints\ngain a real query mechanism together (ADR 031); advertising pagination\nparameters the server ignores would be worse than none.\n\n * @summary List branding revisions\n */\nexport const listBrandingQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ListBrandingQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listBrandingQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const ListBrandingResponseItem = zod.object({\n id: zod.string().describe(\"The unique identifier of this branding revision.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this revision was published.\"),\n});\nexport const ListBrandingResponse = zod.array(ListBrandingResponseItem);\n\n/**\n * Retrieves a single branding revision, including its stored configuration.\n * @summary Get a branding revision by ID\n */\nexport const GetBrandingByIdParams = zod.object({\n id: zod.string(),\n});\n\nexport const getBrandingByIdResponseBrandingLayoutDefault = `centered`;\nexport const getBrandingByIdResponseBrandingLiquidTemplateMax = 131072;\n\nexport const GetBrandingByIdResponse = zod\n .object({\n id: zod.string().describe(\"The unique identifier of this branding revision.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When this revision was published.\"),\n branding: zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(getBrandingByIdResponseBrandingLayoutDefault)\n .describe(\n \"Layout preset selector. The default.liquid master template uses this\\nto branch into layout variants. Customers who eject the template\\ncan ignore this field entirely; it also serves as the degrade target\\nwhen a custom template fails component-side validation.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(getBrandingByIdResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template string for rendering this step. The orchestrator\\nparses this template, injects the capability dictionaries as context,\\nand renders the output HTML into its Shadow DOM.\\n\",\n ),\n logo_url: zod.url().optional().describe(\"Team logo URL.\"),\n font_url: zod\n .url()\n .optional()\n .describe(\n \"Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in\\nv1: `POST \\/branding` rejects a non-empty value, because the login\\ncomponent loads this stylesheet at document level (shadow-scoped\\n`@font-face` rules never register faces) and an arbitrary URL would\\ngrant `branding.write` page-wide CSS control over the embedding\\napplication. Safe tenant font delivery is an ADR 040 follow-up;\\nuntil then, load fonts from the embedding page.\\n\",\n ),\n hero_url: zod\n .url()\n .optional()\n .describe(\"Hero\\/background image URL (used by split layout).\"),\n })\n .describe(\n \"Branding configuration. Appears in two places with one shape:\\n\\n- On flow responses as a read-only projection: the server resolves the\\n latest branding revision for the project per step response (falling\\n back to built-in defaults when none is stored). Branding is configured\\n via the Branding API \\/ `zitadel apply`, not the Flow API.\\n- As the request body of `POST \\/branding`, which publishes the same\\n shape as a new immutable revision (see ADR 040).\\n\",\n ),\n })\n .describe(\n \"A stored branding revision. `branding` echoes the canonical stored\\nconfiguration so clients (e.g. the CLI sync engine) can reconcile local\\nfiles with the server's stored state.\\n\",\n );\n\n/**\n * Bundles a release from revisions that already exist, supplied as\n`(kind, revision_id)` pairs. No new revisions are allocated — use the\nper-kind create endpoints for that, then pin the ids here.\n\nEvery referenced `revision_id` must exist in the project. Each one's handle\nis read from the revision itself and recorded on the release, so a resource\nis always pinned under the identity it declares.\n\nCreating a release does not deploy it. A release is environment-agnostic\nand the same release can later be deployed to any number of environments\nunchanged.\n\nIdempotent on the pinned set: metadata is excluded from the comparison, so\nre-submitting the same revisions with a different `message` returns the\nrelease that already pins them rather than creating a second one.\n\n * @summary Create a release\n */\nexport const createReleaseQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateReleaseQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createReleaseQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createReleaseBodyPointersItemRevisionIdMax = 512;\n\nexport const createReleaseBodyMessageMax = 1024;\n\nexport const createReleaseBodyGitShaMax = 64;\n\nexport const createReleaseBodyGitDirtyDefault = false;\n\nexport const CreateReleaseBody = zod\n .object({\n pointers: zod\n .array(\n zod\n .object({\n kind: zod\n .enum([\"schema\", \"flow_definition\", \"branding\"])\n .describe(\n \"The kind of resource a release pointer pins.\\n\\nCarried explicitly rather than inferred from `revision_id`, because a\\nrevision id is not always shaped distinctly enough to identify its kind: a\\nschema's is its `$id`, which may be any URL.\\n\\n`flow_definition` rather than `flow`: a release pins the definitions served\\nat `\\/flow_definitions`, not the runtime flows at `\\/flow`.\\n\",\n ),\n revision_id: zod\n .string()\n .min(1)\n .max(createReleaseBodyPointersItemRevisionIdMax)\n .describe(\n \"The revision of that resource to pin. Must already exist in the project —\\nthis endpoint pins revisions, it does not create them.\\n\\nDeliberately not constrained to a prefixed id: for `kind: schema` this is\\nthe schema's `$id`, which is a URL whenever the document supplied one and\\nonly a generated `sch_\\*` value otherwise.\\n\",\n ),\n })\n .describe(\n \"One revision to pin. The handle is not supplied: it is the resource's own\\nidentifying field, so the server reads it from the revision being pinned and\\nrecords it on the release.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"The revisions to pin. Must not be empty.\\n\\nA kind usually appears more than once: a project has several user schemas\\nand several flow definitions, and each is pinned on its own. What it\\ncannot do is\\npin two revisions of the \\*same\\* resource — a second revision of the\\n`human-user` schema is rejected rather than ordered, since a release\\ndescribes one state of the project.\\n\",\n ),\n message: zod\n .string()\n .max(createReleaseBodyMessageMax)\n .optional()\n .describe(\n \"A short summary of what the release changes, analogous to a git commit\\nmessage. Recorded on the release and shown when listing releases.\\n\",\n ),\n git_sha: zod\n .string()\n .max(createReleaseBodyGitShaMax)\n .optional()\n .describe(\"The source commit the caller was operating from.\"),\n git_dirty: zod\n .boolean()\n .default(createReleaseBodyGitDirtyDefault)\n .describe(\n \"Set when the working tree had uncommitted changes, so the release content\\ndoes not correspond exactly to `git_sha`.\\n\",\n ),\n })\n .describe(\n \"The set of revisions to bundle into a release, plus the metadata to record\\nalongside it.\\n\\n`created_at` and `created_by` are derived server-side from the caller's\\nauthentication context and are not accepted here.\\n\",\n );\n\nexport const createReleaseResponseIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\nexport const createReleaseResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const createReleaseResponseMetadataMessageOneMax = 1024;\n\nexport const createReleaseResponseMetadataGitShaOneMax = 64;\n\nexport const createReleaseResponseMetadataGitDirtyDefault = false;\nexport const createReleaseResponsePointersItemHandleMax = 256;\n\nexport const createReleaseResponsePointersItemRevisionIdMax = 512;\n\nexport const CreateReleaseResponse = zod\n .object({\n id: zod\n .string()\n .regex(createReleaseResponseIdRegExp)\n .describe(\"The opaque, immutable identifier of a release.\"),\n project_id: zod.string().regex(createReleaseResponseProjectIdRegExp),\n metadata: zod\n .object({\n message: zod\n .union([zod.string().max(createReleaseResponseMetadataMessageOneMax), zod.null()])\n .optional()\n .describe(\n \"A short caller-supplied summary of what the release changes, analogous to\\na git commit message.\\n\",\n ),\n git_sha: zod\n .union([zod.string().max(createReleaseResponseMetadataGitShaOneMax), zod.null()])\n .optional()\n .describe(\n \"The source commit the caller was operating from. Recording it on both\\nreleases is what lets two releases be diffed at field level in the\\nsource repository they were built from.\\n\",\n ),\n git_dirty: zod\n .boolean()\n .default(createReleaseResponseMetadataGitDirtyDefault)\n .describe(\n \"True when the working tree had uncommitted changes at construction time.\\n`git_sha` still points at HEAD, but the release content does not\\ncorrespond to that commit exactly, so consumers of the git-diff mechanism\\nshould skip it when either side is dirty.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the release was assembled.\"),\n created_by: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The identity that assembled the release. Absent when the caller is a\\nmachine principal carrying no user identity, which is the common case for\\nreleases constructed from CI or the CLI.\\n\",\n ),\n created_by_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"What kind of principal `created_by` names.\"),\n })\n .describe(\n \"Who assembled the release, when, and from what source. Set when the release\\nis assembled and never mutated afterwards.\\n\",\n ),\n pointers: zod\n .array(\n zod\n .object({\n kind: zod\n .enum([\"schema\", \"flow_definition\", \"branding\"])\n .describe(\n \"The kind of resource a release pointer pins.\\n\\nCarried explicitly rather than inferred from `revision_id`, because a\\nrevision id is not always shaped distinctly enough to identify its kind: a\\nschema's is its `$id`, which may be any URL.\\n\\n`flow_definition` rather than `flow`: a release pins the definitions served\\nat `\\/flow_definitions`, not the runtime flows at `\\/flow`.\\n\",\n ),\n handle: zod\n .string()\n .min(1)\n .max(createReleaseResponsePointersItemHandleMax)\n .describe(\n \"Which resource this pointer pins, independent of which revision of it.\\n`revision_id` chooses the revision; `handle` says what the revision is a\\nrevision \\*of\\*. Determined when the release is assembled, not supplied by\\nthe caller:\\n\\n- `schema` — the document's `objectType`, so `human-user` and\\n `machine-user` are separate resources a release pins separately\\n- `flow_definition` — the definition's `name`, likewise for\\n `default-login` and `b2b-login`\\n- `branding` — always `default`. A project has one branding, so there is\\n nothing to distinguish; it is revisioned like everything else, and\\n `revision_id` is what varies between releases.\\n\\nResources inside a release reference each other by handle rather than by\\nrevision id, so the same handle names the same resource in every release.\\n\",\n ),\n revision_id: zod\n .string()\n .min(1)\n .max(createReleaseResponsePointersItemRevisionIdMax)\n .describe(\n \"The revision of that resource this release pins.\\n\\nDeliberately not constrained to a prefixed id: for `kind: schema` this is\\nthe schema's `$id`, which is a URL whenever the document supplied one and\\nonly a generated `sch_\\*` value otherwise.\\n\",\n ),\n })\n .describe(\n \"One entry of the set a release pins: the revision of a single resource that\\nthis release includes.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"The revisions this release pins, one entry per `(kind, handle)`. Never\\nempty: a release must contain at least one resource.\\n\",\n ),\n })\n .describe(\n \"An immutable, project-scoped snapshot that pins one revision of every\\nresource it includes.\\n\\nA release owns pointers and metadata, not content — it records \\*which\\*\\nrevisions belong together. Callers that need the resource bytes resolve each\\n`revision_id` through the per-kind read endpoints (`GET \\/schemas\\/{id}`,\\n`GET \\/flow_definitions\\/{id}`, …).\\n\\nA release exists on its own and is not tied to an environment. Deploying it\\nis a separate call.\\n\",\n );\n\n/**\n * Lists the project's releases, newest first.\n\nEntries carry metadata only — the pinned set is omitted. Read one release\nwith `GET /releases/{release_id}` to get its pointers.\n\n * @summary List releases\n */\nexport const listReleasesQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listReleasesQueryLimitDefault = 20;\nexport const listReleasesQueryLimitMax = 100;\n\nexport const ListReleasesQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listReleasesQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listReleasesQueryLimitMax)\n .default(listReleasesQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n});\n\nexport const listReleasesResponseReleasesItemIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\nexport const listReleasesResponseReleasesItemProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listReleasesResponseReleasesItemMetadataMessageOneMax = 1024;\n\nexport const listReleasesResponseReleasesItemMetadataGitShaOneMax = 64;\n\nexport const listReleasesResponseReleasesItemMetadataGitDirtyDefault = false;\n\nexport const ListReleasesResponse = zod\n .object({\n releases: zod.array(\n zod\n .object({\n id: zod\n .string()\n .regex(listReleasesResponseReleasesItemIdRegExp)\n .describe(\"The opaque, immutable identifier of a release.\"),\n project_id: zod.string().regex(listReleasesResponseReleasesItemProjectIdRegExp),\n metadata: zod\n .object({\n message: zod\n .union([\n zod.string().max(listReleasesResponseReleasesItemMetadataMessageOneMax),\n zod.null(),\n ])\n .optional()\n .describe(\n \"A short caller-supplied summary of what the release changes, analogous to\\na git commit message.\\n\",\n ),\n git_sha: zod\n .union([\n zod.string().max(listReleasesResponseReleasesItemMetadataGitShaOneMax),\n zod.null(),\n ])\n .optional()\n .describe(\n \"The source commit the caller was operating from. Recording it on both\\nreleases is what lets two releases be diffed at field level in the\\nsource repository they were built from.\\n\",\n ),\n git_dirty: zod\n .boolean()\n .default(listReleasesResponseReleasesItemMetadataGitDirtyDefault)\n .describe(\n \"True when the working tree had uncommitted changes at construction time.\\n`git_sha` still points at HEAD, but the release content does not\\ncorrespond to that commit exactly, so consumers of the git-diff mechanism\\nshould skip it when either side is dirty.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the release was assembled.\"),\n created_by: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The identity that assembled the release. Absent when the caller is a\\nmachine principal carrying no user identity, which is the common case for\\nreleases constructed from CI or the CLI.\\n\",\n ),\n created_by_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"What kind of principal `created_by` names.\"),\n })\n .describe(\n \"Who assembled the release, when, and from what source. Set when the release\\nis assembled and never mutated afterwards.\\n\",\n ),\n })\n .describe(\n \"A release without its pinned set — the shape `GET \\/releases` returns.\\n\\nPointers are omitted rather than optional so that a list entry can never be\\nmistaken for a release that pins nothing; fetch them with\\n`GET \\/releases\\/{release_id}`.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"The project's releases, newest first.\");\n\n/**\n * Reads one release: its metadata and the `(kind, handle, revision_id)`\ntuples it pins.\n\nDoes not embed resource content. Resolve each `revision_id` through the\nper-kind read endpoints when the bytes are needed.\n\nThe lookup is scoped to the project in `project_id`: a release id belonging\nto another project answers not found exactly as an unknown id does, so the\nendpoint cannot be used to probe for releases in projects the caller cannot\nread.\n\n * @summary Get a release by id\n */\nexport const getReleaseByIdPathReleaseIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\n\nexport const GetReleaseByIdParams = zod.object({\n release_id: zod\n .string()\n .regex(getReleaseByIdPathReleaseIdRegExp)\n .describe(\"The unique identifier of the release.\"),\n});\n\nexport const getReleaseByIdQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetReleaseByIdQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getReleaseByIdQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getReleaseByIdResponseIdRegExp = new RegExp(\"^rel_[a-zA-Z0-9_-]+$\");\nexport const getReleaseByIdResponseProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getReleaseByIdResponseMetadataMessageOneMax = 1024;\n\nexport const getReleaseByIdResponseMetadataGitShaOneMax = 64;\n\nexport const getReleaseByIdResponseMetadataGitDirtyDefault = false;\nexport const getReleaseByIdResponsePointersItemHandleMax = 256;\n\nexport const getReleaseByIdResponsePointersItemRevisionIdMax = 512;\n\nexport const GetReleaseByIdResponse = zod\n .object({\n id: zod\n .string()\n .regex(getReleaseByIdResponseIdRegExp)\n .describe(\"The opaque, immutable identifier of a release.\"),\n project_id: zod.string().regex(getReleaseByIdResponseProjectIdRegExp),\n metadata: zod\n .object({\n message: zod\n .union([zod.string().max(getReleaseByIdResponseMetadataMessageOneMax), zod.null()])\n .optional()\n .describe(\n \"A short caller-supplied summary of what the release changes, analogous to\\na git commit message.\\n\",\n ),\n git_sha: zod\n .union([zod.string().max(getReleaseByIdResponseMetadataGitShaOneMax), zod.null()])\n .optional()\n .describe(\n \"The source commit the caller was operating from. Recording it on both\\nreleases is what lets two releases be diffed at field level in the\\nsource repository they were built from.\\n\",\n ),\n git_dirty: zod\n .boolean()\n .default(getReleaseByIdResponseMetadataGitDirtyDefault)\n .describe(\n \"True when the working tree had uncommitted changes at construction time.\\n`git_sha` still points at HEAD, but the release content does not\\ncorrespond to that commit exactly, so consumers of the git-diff mechanism\\nshould skip it when either side is dirty.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the release was assembled.\"),\n created_by: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"The identity that assembled the release. Absent when the caller is a\\nmachine principal carrying no user identity, which is the common case for\\nreleases constructed from CI or the CLI.\\n\",\n ),\n created_by_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"What kind of principal `created_by` names.\"),\n })\n .describe(\n \"Who assembled the release, when, and from what source. Set when the release\\nis assembled and never mutated afterwards.\\n\",\n ),\n pointers: zod\n .array(\n zod\n .object({\n kind: zod\n .enum([\"schema\", \"flow_definition\", \"branding\"])\n .describe(\n \"The kind of resource a release pointer pins.\\n\\nCarried explicitly rather than inferred from `revision_id`, because a\\nrevision id is not always shaped distinctly enough to identify its kind: a\\nschema's is its `$id`, which may be any URL.\\n\\n`flow_definition` rather than `flow`: a release pins the definitions served\\nat `\\/flow_definitions`, not the runtime flows at `\\/flow`.\\n\",\n ),\n handle: zod\n .string()\n .min(1)\n .max(getReleaseByIdResponsePointersItemHandleMax)\n .describe(\n \"Which resource this pointer pins, independent of which revision of it.\\n`revision_id` chooses the revision; `handle` says what the revision is a\\nrevision \\*of\\*. Determined when the release is assembled, not supplied by\\nthe caller:\\n\\n- `schema` — the document's `objectType`, so `human-user` and\\n `machine-user` are separate resources a release pins separately\\n- `flow_definition` — the definition's `name`, likewise for\\n `default-login` and `b2b-login`\\n- `branding` — always `default`. A project has one branding, so there is\\n nothing to distinguish; it is revisioned like everything else, and\\n `revision_id` is what varies between releases.\\n\\nResources inside a release reference each other by handle rather than by\\nrevision id, so the same handle names the same resource in every release.\\n\",\n ),\n revision_id: zod\n .string()\n .min(1)\n .max(getReleaseByIdResponsePointersItemRevisionIdMax)\n .describe(\n \"The revision of that resource this release pins.\\n\\nDeliberately not constrained to a prefixed id: for `kind: schema` this is\\nthe schema's `$id`, which is a URL whenever the document supplied one and\\nonly a generated `sch_\\*` value otherwise.\\n\",\n ),\n })\n .describe(\n \"One entry of the set a release pins: the revision of a single resource that\\nthis release includes.\\n\",\n ),\n )\n .min(1)\n .describe(\n \"The revisions this release pins, one entry per `(kind, handle)`. Never\\nempty: a release must contain at least one resource.\\n\",\n ),\n })\n .describe(\n \"An immutable, project-scoped snapshot that pins one revision of every\\nresource it includes.\\n\\nA release owns pointers and metadata, not content — it records \\*which\\*\\nrevisions belong together. Callers that need the resource bytes resolve each\\n`revision_id` through the per-kind read endpoints (`GET \\/schemas\\/{id}`,\\n`GET \\/flow_definitions\\/{id}`, …).\\n\\nA release exists on its own and is not tied to an environment. Deploying it\\nis a separate call.\\n\",\n );\n\n/**\n * Bind a user or team to `project.viewer`, `project.editor`, or\n`project.admin` on the project identified by the `project-id` header.\nIDs are `asgn_<opaque>`. Owning-team (`project.team`) grants are not\ncreated here — claim owns that path. An unrevoked grant with the same\nprincipal and relation occupies the unique key even after `expires_at`;\nDELETE it before re-creating.\n\n * @summary Create grant\n */\nexport const createGrantQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateGrantQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createGrantQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const CreateGrantBody = zod.object({\n principal_type: zod\n .enum([\"user\", \"team\"])\n .describe(\"Kind of principal to bind. `sk_proj` and owning-team grants are not accepted.\"),\n principal_id: zod\n .string()\n .min(1)\n .describe(\n \"Principal id (`user_<opaque>` or `team_<opaque>`). The principal must\\nexist in the platform project when a platform project is configured.\\n\",\n ),\n relation: zod\n .enum([\"viewer\", \"editor\", \"admin\"])\n .describe(\"Catalog relation on `object_type` `project`. `team` (owning-team) is not allowed.\"),\n expires_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\n \"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\",\n ),\n});\n\n/**\n * Loads a grant by `(project_id, id)` that this API manages (user or team\nbound to viewer, editor, or admin) and that has not been revoked.\n\"Active\" here means not revoked: expired grants stay visible so the\nclient can DELETE before re-granting the same binding. Authorization\nstill ignores expired grants. Grants are not registered in\n`resource_scope_index`; project scope is required on the query (same as\nevents). Misses, revoked rows, project-secret setup (`sk_proj`),\nowning-team (`relation=team`) rows, and cross-project ids return 404.\n\n * @summary Get grant\n */\nexport const GetGrantParams = zod.object({\n id: zod.string().describe(\"Managed assignment id (`asgn_<opaque>`).\"),\n});\n\nexport const getGrantQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetGrantQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getGrantQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const GetGrantResponse = zod\n .object({\n id: zod.string().describe(\"Managed assignment id (`asgn_<opaque>`).\"),\n project_id: zod.string().describe(\"Project this grant is scoped to.\"),\n principal_type: zod.enum([\"user\", \"team\"]).describe(\"Kind of principal bound by this grant.\"),\n principal_id: zod.string().describe(\"Principal id (`user_<opaque>` or `team_<opaque>`).\"),\n object_type: zod\n .enum([\"project\"])\n .describe(\"Catalog object type. Always `project` for this API.\"),\n relation: zod.enum([\"viewer\", \"editor\", \"admin\"]).describe(\"Catalog relation on the project.\"),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the grant was created.\"),\n expires_at: zod\n .union([zod.iso.datetime({ offset: true }), zod.null()])\n .optional()\n .describe(\n \"When the grant expires. Null when it does not expire. GET still\\nreturns expired unrevoked grants; authorization ignores them.\\n\",\n ),\n })\n .describe(\"A collaboration grant binding a principal to a project relation.\");\n\n/**\n * Soft-revokes a grant this API manages and emits `authz.revoked`.\nAlready-revoked, missing, project-secret setup, and owning-team grants\nreturn 404. The row is not un-revoked. Expired grants can still be\nrevoked so the unique binding can be reused.\n\n * @summary Revoke grant\n */\nexport const DeleteGrantParams = zod.object({\n id: zod.string().describe(\"Managed assignment id (`asgn_<opaque>`).\"),\n});\n\nexport const deleteGrantQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const DeleteGrantQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(deleteGrantQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\n/**\n * Returns project-scoped audit events, newest-first by keyset on\n`(created_at, id)` (ADR 027 / ADR 049). Pass `order=asc` for oldest-first.\nRequires `events.read`.\n\nPre-claim projects return an empty list (events are stored but not\nvisible until claim succeeds). Team-scoped credentials see only events\nwhose emit-time `team_id` matches the credential team (enforced when\nteam-scoped tokens exist).\n\nClients discriminate each item via `event_type` (OpenAPI Event oneOf) —\nsee docs/design/api/events-catalog.md.\n\n * @summary List events\n */\nexport const listEventsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsQueryOrderDefault = `desc`;\nexport const listEventsQueryLimitDefault = 20;\nexport const listEventsQueryLimitMax = 100;\n\nexport const ListEventsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listEventsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n category: zod\n .array(zod.enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"]))\n .optional()\n .describe(\"Filter by wide-event category. Repeatable (OR within the parameter).\\n\"),\n event_type: zod\n .array(zod.string())\n .optional()\n .describe(\"Exact-match filter on `event_type`. Repeatable (OR within the parameter).\\n\"),\n actor_id: zod.string().optional(),\n client_id: zod.string().optional(),\n session_id: zod.string().optional(),\n flow_id: zod.string().optional(),\n request_id: zod.string().optional(),\n fingerprint: zod.string().optional(),\n entity_type: zod.string().optional(),\n entity_id: zod.string().optional(),\n team_id: zod.string().optional().describe(\"Filter by emit-time team scope stored on the event.\"),\n created_after: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Inclusive lower bound on `created_at` (RFC 3339).\"),\n created_before: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\"Exclusive upper bound on `created_at` (RFC 3339).\"),\n order: zod\n .enum([\"asc\", \"desc\"])\n .default(listEventsQueryOrderDefault)\n .describe(\n \"Sort direction on `(created_at, id)`. Default `desc` (newest first)\\nfor audit UI. Pass `asc` for oldest-first.\\n\",\n ),\n page_token: zod\n .string()\n .optional()\n .describe(\n \"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\",\n ),\n limit: zod\n .number()\n .min(1)\n .max(listEventsQueryLimitMax)\n .default(listEventsQueryLimitDefault)\n .describe(\"Maximum number of items to return.\"),\n});\n\nexport const listEventsResponseDataItemOneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemThreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemFourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemFiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemSixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemSevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemEightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemNineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnezeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOneoneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnetwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnethreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnefourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnefiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnesixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnesevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOneeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnenineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemOnenineTwoPayloadStatusMin = 100;\nexport const listEventsResponseDataItemOnenineTwoPayloadStatusMax = 599;\n\nexport const listEventsResponseDataItemOnenineTwoPayloadDurationMsMin = 0;\n\nexport const listEventsResponseDataItemTwozeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwooneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwotwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwothreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwofourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwofiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwosixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwosevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwoeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const ListEventsResponse = zod\n .object({\n data: zod.array(\n zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.created\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.handed_off\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.handed_off.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemThreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.failed\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemFourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.succeeded\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.succeeded.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemFiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.passkey.enrolled\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.passkey.enrolled.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemSixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.password.set\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.password.set.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemSevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.issued\"),\n payload: zod\n .object({\n scopes: zod.array(zod.string()).optional(),\n })\n .describe(\"Payload for `auth.token.issued` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.issued.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemEightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.revoked\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemNineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.granted\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.granted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnezeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.revoked\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOneoneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"branding.created\"),\n payload: zod\n .object({\n layout: zod.string().optional(),\n logo_url: zod.string().optional(),\n font_url: zod.string().optional(),\n hero_url: zod.string().optional(),\n })\n .describe(\n \"Allowlisted fields for `branding.created`. Omits `liquid_template`.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=branding.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnetwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"environment.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Allowlisted fields for `environment.created`. The environment id is already\\nthe event's `entity_id`, so the name is the only field carried here.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=environment.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnethreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnefourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnefiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnesixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnesevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOneeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemOnenineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"request.api\"),\n payload: zod\n .object({\n operation_id: zod.string(),\n method: zod\n .enum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\", \"HEAD\", \"OPTIONS\"])\n .describe(\"HTTP method.\"),\n route_template: zod.string(),\n status: zod\n .number()\n .min(listEventsResponseDataItemOnenineTwoPayloadStatusMin)\n .max(listEventsResponseDataItemOnenineTwoPayloadStatusMax),\n duration_ms: zod\n .number()\n .min(listEventsResponseDataItemOnenineTwoPayloadDurationMsMin),\n })\n .describe(\"Payload for `request.api` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=request.api.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwozeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"schema.created\"),\n payload: zod\n .object({\n kind: zod\n .string()\n .optional()\n .describe(\n \"The kind the stored document declares. `unknown` when the schema was\\npersisted without its document being parsed.\\n\",\n ),\n object_type: zod\n .string()\n .optional()\n .describe(\n \"The customer-chosen object type the schema describes. Absent when the\\ndocument declares none.\\n\",\n ),\n })\n .describe(\n \"Allowlisted fields for `schema.created`. The schema document itself is\\nomitted — it is customer-authored and unbounded, and the event's `entity_id`\\nalready identifies which schema was created.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=schema.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwooneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.deleted\"),\n payload: zod\n .object({\n reason: zod.string().optional(),\n })\n .describe(\"Payload for `session.deleted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwotwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.established\"),\n payload: zod\n .object({\n user_id: zod.string().optional(),\n })\n .describe(\"Payload for `session.established` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.established.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwothreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwofourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.deactivated\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.deactivated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwofiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwosixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.create.failed\"),\n payload: zod\n .object({\n key_name: zod.string().optional(),\n })\n .describe(\"Payload for `user.create.failed` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=user.create.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwosevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.created\"),\n payload: zod\n .object({\n schema_id: zod.string().optional(),\n attribute_keys: zod.array(zod.string()).optional(),\n attributes: zod.record(zod.string(), zod.unknown()).optional(),\n })\n .describe(\n \"Payload for `user.created`. Identity is `entity_id`; attribute values\\nappear only for schema fields marked `x-audit`.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(listEventsResponseDataItemTwoeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod\n .string()\n .optional()\n .describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.deleted.\\n\"),\n ])\n .describe(\n \"Discriminated wide-event union (ADR 048 \\/ ADR 049). Clients select the\\nmember via event_type; each member carries a typed payload.\\n\",\n ),\n ),\n next_page_token: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\n \"Token to pass as `page_token` in the next request to fetch the following page.\\nAbsent when there are no more results.\\n\",\n ),\n })\n .describe(\"Paginated list of events (ADR 027 \\/ ADR 049).\");\n\n/**\n * Loads a single event by `(project_id, id)`. Requires `events.read`.\nEvents are not registered in `resource_scope_index`; project scope is\nrequired on the query (ADR 049). Misses and cross-project ids return 404.\n\nPre-claim projects return 404 (stored events stay invisible until claim).\n\n * @summary Get event by ID\n */\nexport const GetEventParams = zod.object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n});\n\nexport const getEventQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetEventQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getEventQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getEventResponseOneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseThreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseFourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseFiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseSixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseSevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseEightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseNineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnezeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOneoneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnetwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnethreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnefourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnefiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnesixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnesevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOneeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnenineOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseOnenineTwoPayloadStatusMin = 100;\nexport const getEventResponseOnenineTwoPayloadStatusMax = 599;\n\nexport const getEventResponseOnenineTwoPayloadDurationMsMin = 0;\n\nexport const getEventResponseTwozeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwooneOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwotwoOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwothreeOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwofourOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwofiveOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwosixOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwosevenOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwoeightOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetEventResponse = zod\n .union([\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.created\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.attempt.handed_off\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.attempt.handed_off.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseThreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.failed\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseFourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.check.succeeded\"),\n payload: zod\n .object({\n check_id: zod.string(),\n check_type: zod.string().optional(),\n auth_attempt_id: zod.string().optional(),\n })\n .describe(\n \"Payload for `auth.check.failed` \\/ `auth.check.succeeded`.\\n`auth_attempt_id` joins the check to its attempt for SIEM correlation.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.check.succeeded.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseFiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.passkey.enrolled\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.passkey.enrolled.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseSixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.factor.password.set\"),\n payload: zod\n .object({\n user_id: zod.string(),\n factor_id: zod.string().optional(),\n })\n .describe(\"Payload for `auth.factor.\\*` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.factor.password.set.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseSevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.issued\"),\n payload: zod\n .object({\n scopes: zod.array(zod.string()).optional(),\n })\n .describe(\"Payload for `auth.token.issued` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.issued.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseEightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"auth.token.revoked\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=auth.token.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseNineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.granted\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.granted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnezeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"authz.revoked\"),\n payload: zod\n .object({\n principal_type: zod.string().optional(),\n principal_id: zod.string().optional(),\n relation: zod.string().optional(),\n })\n .describe(\"Payload for `authz.granted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=authz.revoked.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOneoneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"branding.created\"),\n payload: zod\n .object({\n layout: zod.string().optional(),\n logo_url: zod.string().optional(),\n font_url: zod.string().optional(),\n hero_url: zod.string().optional(),\n })\n .describe(\"Allowlisted fields for `branding.created`. Omits `liquid_template`.\\n\"),\n }),\n )\n .describe(\"Wide event with event_type=branding.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnetwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"environment.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Allowlisted fields for `environment.created`. The environment id is already\\nthe event's `entity_id`, so the name is the only field carried here.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=environment.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnethreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnefourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnefiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"flowdef.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n status: zod.string().optional(),\n user_schema: zod.string().optional(),\n purposes: zod.record(zod.string(), zod.string()).optional(),\n audience: zod\n .object({\n app_ids: zod.array(zod.string()).optional(),\n team_ids: zod.array(zod.string()).optional(),\n })\n .optional(),\n })\n .describe(\n \"Shared allowlisted fields for `flowdef.created` (full snapshot) and\\n`flowdef.updated` (delta: only changed fields present). Steps are omitted.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=flowdef.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnesixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnesevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOneeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"project.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n preview_origins: zod.array(zod.string()).optional(),\n })\n .describe(\n \"Shared allowlisted fields for `project.created` (full snapshot) and\\n`project.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=project.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseOnenineOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"request.api\"),\n payload: zod\n .object({\n operation_id: zod.string(),\n method: zod\n .enum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\", \"HEAD\", \"OPTIONS\"])\n .describe(\"HTTP method.\"),\n route_template: zod.string(),\n status: zod\n .number()\n .min(getEventResponseOnenineTwoPayloadStatusMin)\n .max(getEventResponseOnenineTwoPayloadStatusMax),\n duration_ms: zod.number().min(getEventResponseOnenineTwoPayloadDurationMsMin),\n })\n .describe(\"Payload for `request.api` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=request.api.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwozeroOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"schema.created\"),\n payload: zod\n .object({\n kind: zod\n .string()\n .optional()\n .describe(\n \"The kind the stored document declares. `unknown` when the schema was\\npersisted without its document being parsed.\\n\",\n ),\n object_type: zod\n .string()\n .optional()\n .describe(\n \"The customer-chosen object type the schema describes. Absent when the\\ndocument declares none.\\n\",\n ),\n })\n .describe(\n \"Allowlisted fields for `schema.created`. The schema document itself is\\nomitted — it is customer-authored and unbounded, and the event's `entity_id`\\nalready identifies which schema was created.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=schema.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwooneOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.deleted\"),\n payload: zod\n .object({\n reason: zod.string().optional(),\n })\n .describe(\"Payload for `session.deleted` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.deleted.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwotwoOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"session.established\"),\n payload: zod\n .object({\n user_id: zod.string().optional(),\n })\n .describe(\"Payload for `session.established` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=session.established.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwothreeOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.created\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwofourOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.deactivated\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.deactivated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwofiveOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"team.updated\"),\n payload: zod\n .object({\n name: zod.string().optional(),\n })\n .describe(\n \"Shared allowlisted fields for `team.created` (snapshot) and\\n`team.updated` (delta: only changed fields present).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=team.updated.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwosixOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.create.failed\"),\n payload: zod\n .object({\n key_name: zod.string().optional(),\n })\n .describe(\"Payload for `user.create.failed` events.\"),\n }),\n )\n .describe(\"Wide event with event_type=user.create.failed.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwosevenOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.created\"),\n payload: zod\n .object({\n schema_id: zod.string().optional(),\n attribute_keys: zod.array(zod.string()).optional(),\n attributes: zod.record(zod.string(), zod.unknown()).optional(),\n })\n .describe(\n \"Payload for `user.created`. Identity is `entity_id`; attribute values\\nappear only for schema fields marked `x-audit`.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.created.\\n\"),\n zod\n .object({\n id: zod.string().describe(\"Managed event id (`evt_<opaque>`).\"),\n project_id: zod.string().regex(getEventResponseTwoeightOneProjectIdRegExp),\n team_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Emit-time team scope, when the actor operated under a team.\"),\n event_type: zod\n .string()\n .describe(\n \"Semantic event name (dot-separated). Discriminator for the Event union —\\nsee docs\\/design\\/api\\/events-catalog.md.\\n\",\n ),\n category: zod\n .enum([\"request\", \"auth\", \"session\", \"admin\", \"entity\", \"signal\"])\n .describe(\"Wide-event category.\"),\n occurred_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the action happened (server\\/storage clock, dialect-owned).\"),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the row was inserted (server\\/storage clock, dialect-owned).\"),\n actor_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Who triggered the event.\"),\n actor_type: zod\n .union([zod.enum([\"human\", \"service\", \"system\", \"agent\"]), zod.null()])\n .optional()\n .describe(\"Actor kind.\"),\n entity_type: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource type affected.\"),\n entity_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Resource id affected.\"),\n client_id: zod.string().describe(\"Application or agent that produced the event.\"),\n token_id: zod.string().optional().describe(\"Token id present at emit time, when any.\"),\n delegation_type: zod\n .enum([\"direct\", \"delegated\", \"pat_shared\", \"exchanged\"])\n .optional()\n .describe(\"Delegation kind (omit when unset).\"),\n delegation_id: zod.string().optional(),\n grantor: zod.string().optional(),\n fingerprint: zod.string().optional().describe(\"Device fingerprint correlation id.\"),\n request_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"HTTP request correlation id.\"),\n session_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Session correlation id.\"),\n flow_id: zod\n .union([zod.string(), zod.null()])\n .optional()\n .describe(\"Login flow correlation id.\"),\n metadata: zod\n .object({\n client: zod\n .object({\n ip: zod\n .string()\n .optional()\n .describe(\"Client IP from the first X-Forwarded-For hop or RemoteAddr.\"),\n user_agent: zod.string().optional().describe(\"Observed User-Agent header.\"),\n origin: zod.string().optional().describe(\"Origin header when present.\"),\n })\n .optional()\n .describe(\"Observed HTTP requestor context on Path A request.api only.\"),\n })\n .optional()\n .describe(\n \"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\",\n ),\n })\n .describe(\n \"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\",\n )\n .and(\n zod.object({\n event_type: zod.literal(\"user.deleted\"),\n payload: zod\n .object({})\n .describe(\n \"Empty payload for event types with no typed fields\\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=user.deleted.\\n\"),\n ])\n .describe(\n \"Discriminated wide-event union (ADR 048 \\/ ADR 049). Clients select the\\nmember via event_type; each member carries a typed payload.\\n\",\n );\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,iDAAiC,IAAI,OAAO,mBAAmB;AAC5E,MAAa,8CAA8B,IAAI,OAAO,mBAAmB;AAEzE,MAAa,wBAAwB,IAAI,aAAa;CACpD,YAAY,IACT,QAAQ,CACR,MAAM,+BAA+B,CACrC,SAAS,uCAAuC;CACnD,SAAS,IACN,QAAQ,CACR,MAAM,4BAA4B,CAClC,UAAU,CACV,SACC,8jBACD;CACJ,CAAC;AAEF,MAAa,iBAAiB,IAC3B,OAAO;CACN,QAAQ,IACL,QAAQ,CACR,IAAI,EAAE,CACN,SACC,oJACD;CACH,YAAY,IACT,OAAO,IAAI,QAAQ,EAAE,IAAI,SAAS,CAAC,CACnC,SACC,2IACD;CACJ,CAAC,CACD,SACC,2gBACD;;;;;;;;;;AAWH,MAAa,6BAA6B;AAC1C,MAAa,yBAAyB;AAEtC,MAAa,iBAAiB,IAC3B,OAAO;CACN,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,IAAA,IAA2B,CAAC,QAAA,GAAmC;CAC1F,YAAY,IACT,MAAM,CAAC,IAAI,QAAQ,EAAE,IAAI,MAAM,CAAC,CAAC,CACjC,UAAU,CACV,SACC,+NACD;CACH,QAAQ,IACL,MACC,IACG,KAAK,CAAC,SAAS,uBAAuB,CAAC,CACvC,SACC,0sCACD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