@zitadel/api 1.0.0-alpha.21 → 1.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +471 -56
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +30 -6
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2082 -576
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1889 -294
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1837 -333
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +448 -79
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-BK4Q468Q.d.mts → index-ruwZ9xDe.d.mts} +20529 -11466
- package/dist/index-ruwZ9xDe.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/{zitadelNextGen-C8m49W5h.d.mts → zitadelNextGen-DPyZep6V.d.mts} +259 -37
- package/dist/zitadelNextGen-DPyZep6V.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +3264 -452
- package/src/generated/endpoints/zitadelNextGen.ts +623 -60
- package/src/generated/endpoints/zitadelNextGen.zod.ts +6812 -2003
- package/src/generated/model/completeClaim410.ts +21 -16
- package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/createBranding201.ts +8 -7
- package/src/generated/model/createBranding201Branding.ts +50 -24
- package/src/generated/model/createBranding201BrandingLayout.ts +8 -4
- package/src/generated/model/createBranding201BrandingShape.ts +31 -0
- package/src/generated/model/createBranding201BrandingShapeDensity.ts +19 -0
- package/src/generated/model/createBranding201BrandingTheme.ts +37 -0
- package/src/generated/model/createBranding201BrandingThemeDark.ts +33 -0
- package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/createBranding201BrandingThemeLight.ts +33 -0
- package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/createBranding201BrandingThemeMode.ts +20 -0
- package/src/generated/model/createBranding201BrandingTypography.ts +49 -0
- package/src/generated/model/createBrandingBody.ts +50 -24
- package/src/generated/model/createBrandingBodyLayout.ts +8 -4
- package/src/generated/model/createBrandingBodyShape.ts +31 -0
- package/src/generated/model/createBrandingBodyShapeDensity.ts +19 -0
- package/src/generated/model/createBrandingBodyTheme.ts +37 -0
- package/src/generated/model/createBrandingBodyThemeDark.ts +33 -0
- package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +222 -0
- package/src/generated/model/createBrandingBodyThemeLight.ts +33 -0
- package/src/generated/model/createBrandingBodyThemeLightPalette.ts +222 -0
- package/src/generated/model/createBrandingBodyThemeMode.ts +20 -0
- package/src/generated/model/createBrandingBodyTypography.ts +49 -0
- package/src/generated/model/createFlow201.ts +8 -7
- package/src/generated/model/createFlow201Branding.ts +50 -24
- package/src/generated/model/createFlow201BrandingLayout.ts +8 -4
- package/src/generated/model/createFlow201BrandingShape.ts +31 -0
- package/src/generated/model/createFlow201BrandingShapeDensity.ts +19 -0
- package/src/generated/model/createFlow201BrandingTheme.ts +37 -0
- package/src/generated/model/createFlow201BrandingThemeDark.ts +33 -0
- package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/createFlow201BrandingThemeLight.ts +33 -0
- package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/createFlow201BrandingThemeMode.ts +20 -0
- package/src/generated/model/createFlow201BrandingTypography.ts +49 -0
- package/src/generated/model/createFlow201StepActionsItem.ts +17 -20
- package/src/generated/model/createFlow201StepActionsItemKind.ts +7 -10
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +6 -6
- package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +1 -3
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/createFlowDefinition201UserSchema.ts +9 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +6 -6
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +1 -3
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/createFlowDefinitionDefault.ts +4 -4
- package/src/generated/model/createGrant201.ts +19 -6
- package/src/generated/model/createGrant201Team.ts +35 -0
- package/src/generated/model/createGrant201TeamStatus.ts +22 -0
- package/src/generated/model/createGrant201User.ts +48 -0
- package/src/generated/model/createGrant201UserAttributes.ts +14 -0
- package/src/generated/model/createGrant201UserMetadata.ts +43 -0
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/createGrant201UserMetadataStatus.ts +20 -0
- package/src/generated/model/createGrantBody.ts +18 -10
- package/src/generated/model/createGrantBodyTeam.ts +25 -0
- package/src/generated/model/createGrantBodyUser.ts +29 -0
- package/src/generated/model/createIdp200.ts +35 -0
- package/src/generated/model/createIdp200Definition.ts +47 -0
- package/src/generated/model/createIdp200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOauth2.ts +52 -0
- package/src/generated/model/createIdp200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdp200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp200DefinitionOidc.ts +64 -0
- package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp200DefinitionProtocol.ts +18 -0
- package/src/generated/model/createIdp200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/createIdp201.ts +35 -0
- package/src/generated/model/createIdp201Definition.ts +47 -0
- package/src/generated/model/createIdp201DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOauth2.ts +52 -0
- package/src/generated/model/createIdp201DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdp201DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp201DefinitionOidc.ts +64 -0
- package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp201DefinitionProtocol.ts +18 -0
- package/src/generated/model/createIdp201DefinitionProvisioning.ts +15 -0
- package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/{createSchema409.ts → createIdp400.ts} +3 -3
- package/src/generated/model/{createSchema400Details.ts → createIdp400Details.ts} +1 -1
- package/src/generated/model/{createSchema400.ts → createIdp401.ts} +3 -3
- package/src/generated/model/{createSchema409Details.ts → createIdp401Details.ts} +1 -1
- package/src/generated/model/createIdp403.ts +20 -0
- package/src/generated/model/createIdp403Details.ts +12 -0
- package/src/generated/model/createIdp404.ts +20 -0
- package/src/generated/model/createIdp404Details.ts +12 -0
- package/src/generated/model/createIdpBody.ts +15 -0
- package/src/generated/model/createIdpBodyIdp.ts +47 -0
- package/src/generated/model/createIdpBodyIdpClaimMapping.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOauth2.ts +52 -0
- package/src/generated/model/createIdpBodyIdpOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdpBodyIdpOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdpBodyIdpOidc.ts +64 -0
- package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdpBodyIdpProtocol.ts +18 -0
- package/src/generated/model/createIdpBodyIdpProvisioning.ts +15 -0
- package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +12 -0
- package/src/generated/model/createIdpDefault.ts +39 -0
- package/src/generated/model/{createFlowDefinition409Details.ts → createIdpParams.ts} +7 -4
- package/src/generated/model/createRelease200.ts +3 -1
- package/src/generated/model/createRelease201.ts +3 -1
- package/src/generated/model/createReleaseBody.ts +8 -0
- package/src/generated/model/createReleaseDefault.ts +70 -0
- package/src/generated/model/createSchemaBody.ts +9 -1
- package/src/generated/model/createSchemaDefault.ts +141 -12
- package/src/generated/model/createSession201Session.ts +1 -0
- package/src/generated/model/createSession201SessionFactorsItemPayload.ts +8 -1
- package/src/generated/model/createSession201SessionUser.ts +1 -0
- package/src/generated/model/deleteTeam409.ts +20 -0
- package/src/generated/model/deleteTeam409Details.ts +12 -0
- package/src/generated/model/deleteVariableDefault.ts +69 -0
- package/src/generated/model/deleteVariableParams.ts +26 -0
- package/src/generated/model/exchangeHandoff200Session.ts +1 -0
- package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +8 -1
- package/src/generated/model/exchangeHandoff200SessionUser.ts +1 -0
- package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/getBrandingById200.ts +8 -7
- package/src/generated/model/getBrandingById200Branding.ts +50 -24
- package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -4
- package/src/generated/model/getBrandingById200BrandingShape.ts +31 -0
- package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/getBrandingById200BrandingTheme.ts +37 -0
- package/src/generated/model/getBrandingById200BrandingThemeDark.ts +33 -0
- package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/getBrandingById200BrandingThemeLight.ts +33 -0
- package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/getBrandingById200BrandingThemeMode.ts +20 -0
- package/src/generated/model/getBrandingById200BrandingTypography.ts +49 -0
- package/src/generated/model/getClaimStatus410.ts +21 -16
- package/src/generated/model/getClaimWindow200.ts +23 -0
- package/src/generated/model/getClaimWindow404.ts +20 -0
- package/src/generated/model/getClaimWindow404Details.ts +12 -0
- package/src/generated/model/getClaimWindow429.ts +20 -0
- package/src/generated/model/getClaimWindow429Details.ts +12 -0
- package/src/generated/model/getClaimWindowDefault.ts +20 -0
- package/src/generated/model/getClaimWindowDefaultDetails.ts +12 -0
- package/src/generated/model/getClaimWindowParams.ts +15 -0
- package/src/generated/model/getEvent200.ts +79 -4
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +6 -6
- package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +1 -3
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/getFlowDefinition200UserSchema.ts +9 -1
- package/src/generated/model/getFlowStep200.ts +8 -7
- package/src/generated/model/getFlowStep200Branding.ts +50 -24
- package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -4
- package/src/generated/model/getFlowStep200BrandingShape.ts +31 -0
- package/src/generated/model/getFlowStep200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/getFlowStep200BrandingTheme.ts +37 -0
- package/src/generated/model/getFlowStep200BrandingThemeDark.ts +33 -0
- package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/getFlowStep200BrandingThemeLight.ts +33 -0
- package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/getFlowStep200BrandingThemeMode.ts +20 -0
- package/src/generated/model/getFlowStep200BrandingTypography.ts +49 -0
- package/src/generated/model/getFlowStep200StepActionsItem.ts +17 -20
- package/src/generated/model/getFlowStep200StepActionsItemKind.ts +7 -10
- package/src/generated/model/getGrant200.ts +19 -6
- package/src/generated/model/getGrant200Team.ts +35 -0
- package/src/generated/model/getGrant200TeamStatus.ts +22 -0
- package/src/generated/model/getGrant200User.ts +48 -0
- package/src/generated/model/getGrant200UserAttributes.ts +14 -0
- package/src/generated/model/getGrant200UserMetadata.ts +43 -0
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/getGrant200UserMetadataStatus.ts +20 -0
- package/src/generated/model/getGrantDefault.ts +20 -0
- package/src/generated/model/getGrantExpandItem.ts +29 -0
- package/src/generated/model/getGrantParams.ts +7 -0
- package/src/generated/model/getIdpById200.ts +35 -0
- package/src/generated/model/getIdpById200Definition.ts +47 -0
- package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOauth2.ts +52 -0
- package/src/generated/model/getIdpById200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/getIdpById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionOidc.ts +64 -0
- package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionProtocol.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/getIdpById401.ts +20 -0
- package/src/generated/model/getIdpById401Details.ts +12 -0
- package/src/generated/model/getIdpById403.ts +20 -0
- package/src/generated/model/getIdpById403Details.ts +12 -0
- package/src/generated/model/getIdpById404.ts +20 -0
- package/src/generated/model/getIdpById404Details.ts +12 -0
- package/src/generated/model/getIdpByIdDefault.ts +39 -0
- package/src/generated/model/getIdpByIdParams.ts +15 -0
- package/src/generated/model/getIdpRevisionById200.ts +35 -0
- package/src/generated/model/getIdpRevisionById200Definition.ts +47 -0
- package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2.ts +52 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +64 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/getIdpRevisionById401.ts +20 -0
- package/src/generated/model/getIdpRevisionById401Details.ts +12 -0
- package/src/generated/model/getIdpRevisionById403.ts +20 -0
- package/src/generated/model/getIdpRevisionById403Details.ts +12 -0
- package/src/generated/model/getIdpRevisionById404.ts +20 -0
- package/src/generated/model/getIdpRevisionById404Details.ts +12 -0
- package/src/generated/model/getIdpRevisionByIdDefault.ts +39 -0
- package/src/generated/model/getIdpRevisionByIdParams.ts +15 -0
- package/src/generated/model/getMySession200.ts +1 -0
- package/src/generated/model/getMySession200FactorsItemPayload.ts +8 -1
- package/src/generated/model/getMySession200User.ts +1 -0
- package/src/generated/model/getReleaseById200.ts +3 -1
- package/src/generated/model/getReleaseByIdDefault.ts +20 -0
- package/src/generated/model/getSchemaById200Schema.ts +9 -1
- package/src/generated/model/getSchemaByIdDefault.ts +51 -12
- package/src/generated/model/getSession200.ts +1 -0
- package/src/generated/model/getSession200FactorsItemPayload.ts +8 -1
- package/src/generated/model/getSession200User.ts +1 -0
- package/src/generated/model/getVariable200.ts +25 -0
- package/src/generated/model/getVariableDefault.ts +69 -0
- package/src/generated/model/getVariableParams.ts +26 -0
- package/src/generated/model/getVariables200.ts +29 -0
- package/src/generated/model/getVariablesDefault.ts +69 -0
- package/src/generated/model/getVariablesParams.ts +26 -0
- package/src/generated/model/index.ts +328 -57
- package/src/generated/model/{createFlowDefinition409.ts → initClaim410.ts} +8 -4
- package/src/generated/model/listEvents200DataItem.ts +79 -4
- package/src/generated/model/listFlowDefinitions200.ts +3 -0
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +6 -6
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +1 -3
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +9 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +23 -0
- package/src/generated/model/listFlowDefinitionsRevisions.ts +15 -0
- package/src/generated/model/listIdpRevisions200.ts +21 -0
- package/src/generated/model/listIdpRevisions200RevisionsItem.ts +35 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +47 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +12 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2.ts +52 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +64 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProtocol.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +15 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +14 -0
- package/src/generated/model/listIdpRevisions401.ts +20 -0
- package/src/generated/model/{createSchemaDefaultDetails.ts → listIdpRevisions401Details.ts} +1 -1
- package/src/generated/model/listIdpRevisions403.ts +20 -0
- package/src/generated/model/listIdpRevisions403Details.ts +12 -0
- package/src/generated/model/listIdpRevisions404.ts +20 -0
- package/src/generated/model/listIdpRevisions404Details.ts +12 -0
- package/src/generated/model/listIdpRevisionsDefault.ts +39 -0
- package/src/generated/model/listIdpRevisionsParams.ts +29 -0
- package/src/generated/model/listMyProjects200.ts +20 -0
- package/src/generated/model/listMyProjects200ProjectsItem.ts +24 -0
- package/src/generated/model/listMyProjects400.ts +20 -0
- package/src/generated/model/listMyProjects400Details.ts +12 -0
- package/src/generated/model/listMyProjects401.ts +24 -0
- package/src/generated/model/listMyProjects500.ts +20 -0
- package/src/generated/model/listMyProjects500Details.ts +12 -0
- package/src/generated/model/listMyProjectsDefault.ts +39 -0
- package/src/generated/model/listMyProjectsParams.ts +24 -0
- package/src/generated/model/listReleasesDefault.ts +20 -0
- package/src/generated/model/listSchemas200SchemasItemSchema.ts +9 -1
- package/src/generated/model/listSchemasDefault.ts +51 -12
- package/src/generated/model/patchMyUser200.ts +71 -0
- package/src/generated/model/patchMyUser200Attributes.ts +14 -0
- package/src/generated/model/patchMyUser200Metadata.ts +43 -0
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/patchMyUser200MetadataStatus.ts +20 -0
- package/src/generated/model/patchMyUser200TeamsItem.ts +33 -0
- package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +21 -0
- package/src/generated/model/patchMyUser400.ts +20 -0
- package/src/generated/model/patchMyUser400Details.ts +12 -0
- package/src/generated/model/patchMyUser401.ts +20 -0
- package/src/generated/model/patchMyUser401Details.ts +12 -0
- package/src/generated/model/patchMyUser404.ts +24 -0
- package/src/generated/model/patchMyUser409.ts +20 -0
- package/src/generated/model/patchMyUser409Details.ts +12 -0
- package/src/generated/model/patchMyUserBody.ts +25 -0
- package/src/generated/model/{listSchemasDefaultDetails.ts → patchMyUserBodyAttributes.ts} +4 -2
- package/src/generated/model/{deleteFlowDefinitionDefault.ts → patchMyUserDefault.ts} +8 -8
- package/src/generated/model/patchUserByID200.ts +71 -0
- package/src/generated/model/patchUserByID200Attributes.ts +14 -0
- package/src/generated/model/patchUserByID200Metadata.ts +43 -0
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/patchUserByID200MetadataStatus.ts +20 -0
- package/src/generated/model/patchUserByID200TeamsItem.ts +33 -0
- package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +21 -0
- package/src/generated/model/{getSchemaById400.ts → patchUserByID400.ts} +3 -3
- package/src/generated/model/{getSchemaById400Details.ts → patchUserByID400Details.ts} +1 -1
- package/src/generated/model/{getSchemaById404.ts → patchUserByID401.ts} +3 -3
- package/src/generated/model/{getSchemaById404Details.ts → patchUserByID401Details.ts} +1 -1
- package/src/generated/model/patchUserByID403.ts +20 -0
- package/src/generated/model/patchUserByID403Details.ts +12 -0
- package/src/generated/model/patchUserByID404.ts +20 -0
- package/src/generated/model/patchUserByID404Details.ts +12 -0
- package/src/generated/model/patchUserByID409.ts +20 -0
- package/src/generated/model/patchUserByID409Details.ts +12 -0
- package/src/generated/model/patchUserByIDBody.ts +39 -0
- package/src/generated/model/{getSchemaByIdDefaultDetails.ts → patchUserByIDBodyAttributes.ts} +4 -2
- package/src/generated/model/patchUserByIDDefault.ts +89 -0
- package/src/generated/model/queryGrants200.ts +20 -0
- package/src/generated/model/queryGrants200GrantsItem.ts +47 -0
- package/src/generated/model/queryGrants200GrantsItemObjectType.ts +17 -0
- package/src/generated/model/queryGrants200GrantsItemRelation.ts +19 -0
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +35 -0
- package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +22 -0
- package/src/generated/model/queryGrants200GrantsItemUser.ts +48 -0
- package/src/generated/model/queryGrants200GrantsItemUserAttributes.ts +14 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +43 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadataStatus.ts +20 -0
- package/src/generated/model/queryGrants400.ts +20 -0
- package/src/generated/model/queryGrants400Details.ts +12 -0
- package/src/generated/model/queryGrants401.ts +20 -0
- package/src/generated/model/queryGrants401Details.ts +12 -0
- package/src/generated/model/queryGrants403.ts +20 -0
- package/src/generated/model/queryGrants403Details.ts +12 -0
- package/src/generated/model/queryGrantsBody.ts +34 -0
- package/src/generated/model/queryGrantsBodyExpandItem.ts +30 -0
- package/src/generated/model/queryGrantsBodyFilterItem.ts +33 -0
- package/src/generated/model/queryGrantsBodyFilterItemField.ts +27 -0
- package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +30 -0
- package/src/generated/model/queryGrantsBodySorting.ts +17 -0
- package/src/generated/model/queryGrantsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryGrantsBodySortingField.ts +21 -0
- package/src/generated/model/queryGrantsDefault.ts +99 -0
- package/src/generated/model/queryGrantsParams.ts +15 -0
- package/src/generated/model/queryIdps200.ts +21 -0
- package/src/generated/model/queryIdps200IdpsItem.ts +35 -0
- package/src/generated/model/queryIdps200IdpsItemDefinition.ts +47 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +12 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2.ts +52 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +64 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProtocol.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +15 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/queryIdps400.ts +20 -0
- package/src/generated/model/queryIdps400Details.ts +12 -0
- package/src/generated/model/queryIdps401.ts +20 -0
- package/src/generated/model/queryIdps401Details.ts +12 -0
- package/src/generated/model/queryIdps403.ts +20 -0
- package/src/generated/model/queryIdps403Details.ts +12 -0
- package/src/generated/model/queryIdps404.ts +20 -0
- package/src/generated/model/queryIdps404Details.ts +12 -0
- package/src/generated/model/queryIdpsBody.ts +29 -0
- package/src/generated/model/queryIdpsBodyFilterItem.ts +31 -0
- package/src/generated/model/queryIdpsBodyFilterItemField.ts +22 -0
- package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +30 -0
- package/src/generated/model/queryIdpsBodySorting.ts +22 -0
- package/src/generated/model/queryIdpsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryIdpsBodySortingField.ts +22 -0
- package/src/generated/model/queryIdpsDefault.ts +39 -0
- package/src/generated/model/queryIdpsParams.ts +15 -0
- package/src/generated/model/querySessions200SessionsItem.ts +1 -0
- package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +8 -1
- package/src/generated/model/querySessions200SessionsItemUser.ts +1 -0
- package/src/generated/model/submitFlowStep200.ts +8 -7
- package/src/generated/model/submitFlowStep200Branding.ts +50 -24
- package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -4
- package/src/generated/model/submitFlowStep200BrandingShape.ts +31 -0
- package/src/generated/model/submitFlowStep200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/submitFlowStep200BrandingTheme.ts +37 -0
- package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +33 -0
- package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +33 -0
- package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/submitFlowStep200BrandingThemeMode.ts +20 -0
- package/src/generated/model/submitFlowStep200BrandingTypography.ts +49 -0
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +17 -20
- package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +7 -10
- package/src/generated/model/submitFlowStep400.ts +8 -7
- package/src/generated/model/submitFlowStep400Branding.ts +50 -24
- package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -4
- package/src/generated/model/submitFlowStep400BrandingShape.ts +31 -0
- package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +19 -0
- package/src/generated/model/submitFlowStep400BrandingTheme.ts +37 -0
- package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +33 -0
- package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +33 -0
- package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +20 -0
- package/src/generated/model/submitFlowStep400BrandingTypography.ts +49 -0
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +17 -20
- package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +7 -10
- package/src/generated/model/updateVariables200.ts +29 -0
- package/src/generated/model/updateVariablesBody.ts +60 -0
- package/src/generated/model/{updateFlowDefinitionDefault.ts → updateVariablesDefault.ts} +22 -12
- package/src/generated/model/updateVariablesParams.ts +26 -0
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/verifyChallengeProofBody.ts +1 -1
- package/src/generated/model/verifyChallengeProofDefault.ts +10 -0
- package/dist/index-BK4Q468Q.d.mts.map +0 -1
- package/dist/zitadelNextGen-C8m49W5h.d.mts.map +0 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/createGrant201PrincipalType.ts +0 -18
- package/src/generated/model/createGrantBodyPrincipalType.ts +0 -18
- package/src/generated/model/deleteFlowDefinition409.ts +0 -20
- package/src/generated/model/deleteFlowDefinition409Details.ts +0 -12
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/getGrant200PrincipalType.ts +0 -18
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinition200.ts +0 -34
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +0 -71
- package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStatus.ts +0 -26
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +0 -71
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +0 -42
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +0 -31
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +0 -35
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +0 -14
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +0 -20
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +0 -46
- package/src/generated/model/updateFlowDefinition200UserSchema.ts +0 -103
- package/src/generated/model/updateFlowDefinition400.ts +0 -20
- package/src/generated/model/updateFlowDefinition400Details.ts +0 -12
- package/src/generated/model/updateFlowDefinition404.ts +0 -20
- package/src/generated/model/updateFlowDefinition404Details.ts +0 -12
- package/src/generated/model/updateFlowDefinitionBody.ts +0 -30
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +0 -71
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionAudience.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStatus.ts +0 -26
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -71
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -42
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -31
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -35
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -14
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -46
|
@@ -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 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,CACJ,CACA,UAAU,CACV,SACC,6IACD;CACH,SAAS,IACN,OAAO;EACN,OAAO,IACJ,KAAK;GAAC;GAAc;GAAM;GAAU;GAAU;GAA0B,CAA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AA8B;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\noperation is bound to the credential's home project by construction\n(oauth2 secret or user-bound session). This is why it takes no\n`project_id`, unlike the other query endpoints.\n\nAccepts either a project secret (`oauth2`) or a user-bound Console\nsession cookie (`nextgenSession`). CSRF/Origin for cookie mutations\nis a follow-up (#1140).\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 * Partially updates a user's schema-defined attributes, and optionally\nmoves the user to another registered schema. The merged result is\nvalidated against the schema before commit. Concurrent writes are\nlast-write-wins.\n\n * @summary Update user by ID\n */\nexport const patchUserByIDPathUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const PatchUserByIDParams = zod.object({\n user_id: zod.string().regex(patchUserByIDPathUserIdRegExp),\n});\n\nexport const PatchUserByIDBody = zod\n .object({\n schema: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"The schema the user follows after this patch. Omit it to keep the\\ncurrent schema. The schema must already be registered via `\\/schemas`.\\n\",\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .optional()\n .describe(\n \"The changed attributes only. `null` deletes an attribute; omitted\\nkeys are untouched.\\n\",\n ),\n })\n .describe(\n \"A partial update, merged into the user's current state. At least one of\\n`schema` and `attributes` must be present; an empty patch is rejected with\\n`user.invalid`.\\n\\n`attributes` is merged key by key into the stored attributes: an omitted\\nkey stays untouched, an object merges recursively, `null` deletes the\\nattribute, and any other value replaces the stored one. The merged result\\nis validated as a whole against the user's schema, so a patch that deletes\\nor invalidates a required property is rejected with `user.invalid`.\\n\\n`schema` moves the user to another registered schema — the ADR 009 §4\\nupgrade mechanism. The request must be self-contained: merged attributes\\nare validated against the new schema before commit, and every uniqueness\\nclaim is recomputed under the new schema's annotations.\\n\",\n );\n\nexport const patchUserByIDResponseIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const PatchUserByIDResponse = zod\n .object({\n id: zod.string().regex(patchUserByIDResponseIdRegExp),\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 * Partially updates the caller's own schema-defined attributes. The merged\nresult is validated against the user's schema before commit. Concurrent\nwrites are last-write-wins.\n\n * @summary Update my user information\n */\nexport const PatchMyUserBody = zod\n .object({\n attributes: zod\n .record(zod.string(), zod.unknown())\n .describe(\n \"The changed attributes only. `null` deletes an attribute; omitted\\nkeys are untouched.\\n\",\n ),\n })\n .describe(\n \"A partial update of the caller's own attributes, merged into the current\\nstate: an omitted key stays untouched, an object merges recursively,\\n`null` deletes the attribute, and any other value replaces the stored one.\\nThe merged result is validated as a whole against the user's schema.\\n\\nUnlike `PATCH \\/users\\/{user_id}`, the schema pointer cannot be moved here:\\nschema upgrades are a management operation.\\n\",\n );\n\nexport const patchMyUserResponseIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const PatchMyUserResponse = zod\n .object({\n id: zod.string().regex(patchMyUserResponseIdRegExp),\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 * The projects the signed-in user holds an active grant on, either directly or\nthrough a team they are a member of. Ordered by project id and paged with an\nopaque cursor.\n\nThis is not the same question as `queryProjects`, which answers with the one\nproject the calling credential is bound to. Here the session is the caller\nand the grants are the answer, so the list spans projects.\n\n * @summary List the projects I can act on\n */\nexport const listMyProjectsQueryLimitDefault = 20;\nexport const listMyProjectsQueryLimitMax = 100;\n\nexport const ListMyProjectsQueryParams = zod.strictObject({\n limit: zod\n .number()\n .min(1)\n .max(listMyProjectsQueryLimitMax)\n .default(listMyProjectsQueryLimitDefault)\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 ListMyProjectsResponse = 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.\\nPresent when the page was full. A following request may return an empty page\\nand no token, which ends the listing.\\n\",\n ),\n })\n .describe(\"Paginated list of projects, ordered by project id.\");\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 getFlowStepResponseBrandingLogoUrlMax = 2048;\n\nexport const getFlowStepResponseBrandingLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getFlowStepResponseBrandingHeroUrlMax = 2048;\n\nexport const getFlowStepResponseBrandingHeroUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getFlowStepResponseBrandingThemeLightLogoUrlMax = 2048;\n\nexport const getFlowStepResponseBrandingThemeLightLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getFlowStepResponseBrandingThemeLightPalettePrimaryMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteBackgroundMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteSurfaceMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteMutedMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteBorderMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteTextMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteTextMutedMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteLinkMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteSuccessMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteWarningMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeLightPaletteErrorMax = 128;\n\nexport const getFlowStepResponseBrandingThemeLightPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkLogoUrlMax = 2048;\n\nexport const getFlowStepResponseBrandingThemeDarkLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPalettePrimaryMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteBackgroundMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteSurfaceMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteMutedMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteBorderMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteTextMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteTextMutedMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteLinkMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteSuccessMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteWarningMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingThemeDarkPaletteErrorMax = 128;\n\nexport const getFlowStepResponseBrandingThemeDarkPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getFlowStepResponseBrandingTypographyFontFamilyMax = 256;\n\nexport const getFlowStepResponseBrandingTypographyFontFamilyRegExp = new RegExp(\n \"^ \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*)(?: \\*, \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*))\\* \\*$\",\n);\nexport const getFlowStepResponseBrandingTypographyFontUrlMax = 2048;\n\nexport const getFlowStepResponseBrandingTypographyFontUrlRegExp = new RegExp(\n \"^[hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)\",\n);\nexport const getFlowStepResponseBrandingTypographyScaleMin = 0.75;\nexport const getFlowStepResponseBrandingTypographyScaleMax = 1.25;\n\nexport const getFlowStepResponseBrandingShapeRadiusTwoMin = 0;\nexport const getFlowStepResponseBrandingShapeRadiusTwoMax = 32;\n\nexport const getFlowStepResponseBrandingShapeLogoScaleMin = 0.5;\nexport const getFlowStepResponseBrandingShapeLogoScaleMax = 2;\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 .min(1)\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 \"How the client should treat the action:\\n- `submit`: collect the step's fields and submit.\\n- `passkey`: run a WebAuthn assertion, then submit the result.\\n- `passkey_register`: run a WebAuthn registration, then submit the result.\\n- `navigate`: submit without collecting fields; pure routing.\\n- `back`: return the user to the previous step. Engine-injected, never\\n declared in a flow definition.\\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.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Localization key for the action's label, resolved client-side from a\\nlocale dictionary.\\n\",\n ),\n })\n .describe(\n \"An action the engine offers on a runtime step. Every declared action of the\\ndefinition's step appears here, plus the engine-injected `back` whenever\\nreturning to the previous step is possible.\\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 \"Degrade preset (`centered` or `split`) the bundled default template\\nbranches on, and the fallback when a custom template fails validation.\\nNot the complete design catalog: all named designs (`centered`, `split`,\\n`split-right`, `hero`, `minimal`) ship as templates and map onto one of\\nthese two values; switch designs with\\n`zitadel branding eject --design <name>` instead of editing this field.\\nEjected templates may ignore it. Selects a template rather than restyling\\nthe widget, so it is not an appearance control.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(getFlowStepResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template for rendering this step. The orchestrator renders\\nit into its Shadow DOM with the capability dictionaries as context.\\n\",\n ),\n logo_url: zod\n .url()\n .max(getFlowStepResponseBrandingLogoUrlMax)\n .regex(getFlowStepResponseBrandingLogoUrlRegExp)\n .optional()\n .describe(\n \"Fallback mark, used only when neither `theme.light.logo_url` nor\\n`theme.dark.logo_url` is set. Prefer the per-side marks — one file\\ncannot serve both surfaces.\\n\",\n ),\n hero_url: zod\n .url()\n .max(getFlowStepResponseBrandingHeroUrlMax)\n .regex(getFlowStepResponseBrandingHeroUrlRegExp)\n .optional()\n .describe(\"Hero\\/background image URL, used by the split layout.\"),\n theme: zod\n .object({\n mode: zod\n .enum([\"light\", \"dark\", \"auto\"])\n .optional()\n .describe(\"Which published side may run. `auto` follows the operating system.\\n\"),\n light: zod\n .object({\n logo_url: zod\n .url()\n .max(getFlowStepResponseBrandingThemeLightLogoUrlMax)\n .regex(getFlowStepResponseBrandingThemeLightLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPalettePrimaryMax)\n .regex(getFlowStepResponseBrandingThemeLightPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteBackgroundMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteSurfaceMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteMutedMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteBorderMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteTextMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteTextMutedMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteLinkMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteSuccessMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteWarningMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeLightPaletteErrorMax)\n .regex(getFlowStepResponseBrandingThemeLightPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n dark: zod\n .object({\n logo_url: zod\n .url()\n .max(getFlowStepResponseBrandingThemeDarkLogoUrlMax)\n .regex(getFlowStepResponseBrandingThemeDarkLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPalettePrimaryMax)\n .regex(getFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteBackgroundMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteSurfaceMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteMutedMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteBorderMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteTextMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteTextMutedMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteLinkMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteSuccessMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteWarningMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingThemeDarkPaletteErrorMax)\n .regex(getFlowStepResponseBrandingThemeDarkPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n })\n .optional()\n .describe(\n \"The theme sides this project publishes, and which of them may run.\\n\\nPublishing one side makes it the only theme that resolves, even under `auto`\\nor an operating-system preference for the other. Publishing both lets `auto`\\nfollow the operating system, each side using its own logo and palette.\\n\\nThe element-level `theme` property overrides `mode`, but cannot select a\\nside the project never published.\\n\",\n ),\n typography: zod\n .object({\n font_family: zod\n .string()\n .min(1)\n .max(getFlowStepResponseBrandingTypographyFontFamilyMax)\n .regex(getFlowStepResponseBrandingTypographyFontFamilyRegExp)\n .optional()\n .describe(\n 'CSS font stack for body and heading text. Include a generic family so\\nthe surface still renders when the named face is unavailable.\\n\\nComma-separated family names, each either an identifier (`Inter`,\\n`ui-sans-serif`, `Helvetica Neue`) or a quoted name (`\\\"APK Futural\\\"`).\\nAnything else is rejected — the stack is written into a stylesheet, so\\nonly names are stored, and a quoted name must close the quote it opened.\\n',\n ),\n font_url: zod\n .url()\n .max(getFlowStepResponseBrandingTypographyFontUrlMax)\n .regex(getFlowStepResponseBrandingTypographyFontUrlRegExp)\n .optional()\n .describe(\n \"Stylesheet that loads `font_family` — a Google Fonts CSS URL, for\\nexample. Must be https; unlike the logo and hero assets there is no\\nloopback carve-out. Rejected without `font_family`, which would name\\nnothing to paint with.\\n\\nStored but not applied to an embedded widget: the embedding page loads\\nthe face, and Zitadel does not inject a stylesheet into a document it\\ndoes not own.\\n\",\n ),\n scale: zod\n .number()\n .min(getFlowStepResponseBrandingTypographyScaleMin)\n .max(getFlowStepResponseBrandingTypographyScaleMax)\n .optional()\n .describe(\"Multiplier on the base text sizes, `1` when omitted.\"),\n })\n .optional()\n .describe(\n \"The typeface the login surface renders in. One face covers both body and\\nheadings; separate heading and mono faces are not modelled yet.\\n\",\n ),\n shape: zod\n .object({\n radius: zod\n .union([\n zod\n .enum([\"none\", \"sm\", \"md\", \"lg\", \"full\"])\n .describe(\n \"A named corner rounding: `none` (0), `sm` (4), `md` (8), `lg` (12), and\\n`full` (pill). Send `full` for a pill rather than a large pixel value.\\n\",\n ),\n zod\n .number()\n .min(getFlowStepResponseBrandingShapeRadiusTwoMin)\n .max(getFlowStepResponseBrandingShapeRadiusTwoMax),\n ])\n .optional()\n .describe(\n \"Corner rounding for the card, inputs, buttons and alerts — either a\\npreset name or an integer number of pixels. One value scales the whole\\ncorner ramp in proportion, so the card stays rounder than the controls\\ninside it.\\n\",\n ),\n density: zod\n .enum([\"compact\", \"regular\", \"comfortable\"])\n .optional()\n .describe(\"Spacing and control height.\"),\n logo_scale: zod\n .number()\n .min(getFlowStepResponseBrandingShapeLogoScaleMin)\n .max(getFlowStepResponseBrandingShapeLogoScaleMax)\n .optional()\n .describe(\n \"Multiplier on the logo's maximum height, `1` when omitted. The image keeps its intrinsic\\naspect ratio inside that cap; no width, height or ratio is stored.\\n\",\n ),\n })\n .optional()\n .describe(\"Corner rounding, spacing and logo size. Shared across theme sides.\\n\"),\n })\n .optional()\n .describe(\n \"Branding configuration, used in two places with one shape: as the request\\nbody of `POST \\/branding`, which publishes it as a new immutable revision,\\nand as a read-only projection on flow responses, which carries the\\nproject's latest revision. Locally it is the `.zitadel\\/branding\\/` descriptor\\nthat `zitadel apply` publishes.\\n\\nEvery field is optional. An omitted key uses Zitadel's maintained default,\\nso a revision carrying one colour is as valid as one carrying the whole\\nobject.\\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 submitFlowStepResponseBrandingLogoUrlMax = 2048;\n\nexport const submitFlowStepResponseBrandingLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const submitFlowStepResponseBrandingHeroUrlMax = 2048;\n\nexport const submitFlowStepResponseBrandingHeroUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const submitFlowStepResponseBrandingThemeLightLogoUrlMax = 2048;\n\nexport const submitFlowStepResponseBrandingThemeLightLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPalettePrimaryMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteBackgroundMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteSurfaceMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteMutedMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteBorderMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteTextMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteTextMutedMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteLinkMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteSuccessMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteWarningMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeLightPaletteErrorMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeLightPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkLogoUrlMax = 2048;\n\nexport const submitFlowStepResponseBrandingThemeDarkLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPalettePrimaryMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteBackgroundMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteSurfaceMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteMutedMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteBorderMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteTextMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteTextMutedMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteLinkMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteSuccessMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteWarningMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingThemeDarkPaletteErrorMax = 128;\n\nexport const submitFlowStepResponseBrandingThemeDarkPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const submitFlowStepResponseBrandingTypographyFontFamilyMax = 256;\n\nexport const submitFlowStepResponseBrandingTypographyFontFamilyRegExp = new RegExp(\n \"^ \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*)(?: \\*, \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*))\\* \\*$\",\n);\nexport const submitFlowStepResponseBrandingTypographyFontUrlMax = 2048;\n\nexport const submitFlowStepResponseBrandingTypographyFontUrlRegExp = new RegExp(\n \"^[hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)\",\n);\nexport const submitFlowStepResponseBrandingTypographyScaleMin = 0.75;\nexport const submitFlowStepResponseBrandingTypographyScaleMax = 1.25;\n\nexport const submitFlowStepResponseBrandingShapeRadiusTwoMin = 0;\nexport const submitFlowStepResponseBrandingShapeRadiusTwoMax = 32;\n\nexport const submitFlowStepResponseBrandingShapeLogoScaleMin = 0.5;\nexport const submitFlowStepResponseBrandingShapeLogoScaleMax = 2;\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 .min(1)\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 \"How the client should treat the action:\\n- `submit`: collect the step's fields and submit.\\n- `passkey`: run a WebAuthn assertion, then submit the result.\\n- `passkey_register`: run a WebAuthn registration, then submit the result.\\n- `navigate`: submit without collecting fields; pure routing.\\n- `back`: return the user to the previous step. Engine-injected, never\\n declared in a flow definition.\\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.\\n\",\n ),\n text_key: zod\n .string()\n .optional()\n .describe(\n \"Localization key for the action's label, resolved client-side from a\\nlocale dictionary.\\n\",\n ),\n })\n .describe(\n \"An action the engine offers on a runtime step. Every declared action of the\\ndefinition's step appears here, plus the engine-injected `back` whenever\\nreturning to the previous step is possible.\\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 \"Degrade preset (`centered` or `split`) the bundled default template\\nbranches on, and the fallback when a custom template fails validation.\\nNot the complete design catalog: all named designs (`centered`, `split`,\\n`split-right`, `hero`, `minimal`) ship as templates and map onto one of\\nthese two values; switch designs with\\n`zitadel branding eject --design <name>` instead of editing this field.\\nEjected templates may ignore it. Selects a template rather than restyling\\nthe widget, so it is not an appearance control.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(submitFlowStepResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template for rendering this step. The orchestrator renders\\nit into its Shadow DOM with the capability dictionaries as context.\\n\",\n ),\n logo_url: zod\n .url()\n .max(submitFlowStepResponseBrandingLogoUrlMax)\n .regex(submitFlowStepResponseBrandingLogoUrlRegExp)\n .optional()\n .describe(\n \"Fallback mark, used only when neither `theme.light.logo_url` nor\\n`theme.dark.logo_url` is set. Prefer the per-side marks — one file\\ncannot serve both surfaces.\\n\",\n ),\n hero_url: zod\n .url()\n .max(submitFlowStepResponseBrandingHeroUrlMax)\n .regex(submitFlowStepResponseBrandingHeroUrlRegExp)\n .optional()\n .describe(\"Hero\\/background image URL, used by the split layout.\"),\n theme: zod\n .object({\n mode: zod\n .enum([\"light\", \"dark\", \"auto\"])\n .optional()\n .describe(\"Which published side may run. `auto` follows the operating system.\\n\"),\n light: zod\n .object({\n logo_url: zod\n .url()\n .max(submitFlowStepResponseBrandingThemeLightLogoUrlMax)\n .regex(submitFlowStepResponseBrandingThemeLightLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPalettePrimaryMax)\n .regex(submitFlowStepResponseBrandingThemeLightPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteBackgroundMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteSurfaceMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteMutedMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteBorderMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteTextMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteTextMutedMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteLinkMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteSuccessMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteWarningMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeLightPaletteErrorMax)\n .regex(submitFlowStepResponseBrandingThemeLightPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n dark: zod\n .object({\n logo_url: zod\n .url()\n .max(submitFlowStepResponseBrandingThemeDarkLogoUrlMax)\n .regex(submitFlowStepResponseBrandingThemeDarkLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPalettePrimaryMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteBackgroundMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteSurfaceMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteMutedMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteBorderMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteTextMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteTextMutedMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteLinkMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteSuccessMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteWarningMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingThemeDarkPaletteErrorMax)\n .regex(submitFlowStepResponseBrandingThemeDarkPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n })\n .optional()\n .describe(\n \"The theme sides this project publishes, and which of them may run.\\n\\nPublishing one side makes it the only theme that resolves, even under `auto`\\nor an operating-system preference for the other. Publishing both lets `auto`\\nfollow the operating system, each side using its own logo and palette.\\n\\nThe element-level `theme` property overrides `mode`, but cannot select a\\nside the project never published.\\n\",\n ),\n typography: zod\n .object({\n font_family: zod\n .string()\n .min(1)\n .max(submitFlowStepResponseBrandingTypographyFontFamilyMax)\n .regex(submitFlowStepResponseBrandingTypographyFontFamilyRegExp)\n .optional()\n .describe(\n 'CSS font stack for body and heading text. Include a generic family so\\nthe surface still renders when the named face is unavailable.\\n\\nComma-separated family names, each either an identifier (`Inter`,\\n`ui-sans-serif`, `Helvetica Neue`) or a quoted name (`\\\"APK Futural\\\"`).\\nAnything else is rejected — the stack is written into a stylesheet, so\\nonly names are stored, and a quoted name must close the quote it opened.\\n',\n ),\n font_url: zod\n .url()\n .max(submitFlowStepResponseBrandingTypographyFontUrlMax)\n .regex(submitFlowStepResponseBrandingTypographyFontUrlRegExp)\n .optional()\n .describe(\n \"Stylesheet that loads `font_family` — a Google Fonts CSS URL, for\\nexample. Must be https; unlike the logo and hero assets there is no\\nloopback carve-out. Rejected without `font_family`, which would name\\nnothing to paint with.\\n\\nStored but not applied to an embedded widget: the embedding page loads\\nthe face, and Zitadel does not inject a stylesheet into a document it\\ndoes not own.\\n\",\n ),\n scale: zod\n .number()\n .min(submitFlowStepResponseBrandingTypographyScaleMin)\n .max(submitFlowStepResponseBrandingTypographyScaleMax)\n .optional()\n .describe(\"Multiplier on the base text sizes, `1` when omitted.\"),\n })\n .optional()\n .describe(\n \"The typeface the login surface renders in. One face covers both body and\\nheadings; separate heading and mono faces are not modelled yet.\\n\",\n ),\n shape: zod\n .object({\n radius: zod\n .union([\n zod\n .enum([\"none\", \"sm\", \"md\", \"lg\", \"full\"])\n .describe(\n \"A named corner rounding: `none` (0), `sm` (4), `md` (8), `lg` (12), and\\n`full` (pill). Send `full` for a pill rather than a large pixel value.\\n\",\n ),\n zod\n .number()\n .min(submitFlowStepResponseBrandingShapeRadiusTwoMin)\n .max(submitFlowStepResponseBrandingShapeRadiusTwoMax),\n ])\n .optional()\n .describe(\n \"Corner rounding for the card, inputs, buttons and alerts — either a\\npreset name or an integer number of pixels. One value scales the whole\\ncorner ramp in proportion, so the card stays rounder than the controls\\ninside it.\\n\",\n ),\n density: zod\n .enum([\"compact\", \"regular\", \"comfortable\"])\n .optional()\n .describe(\"Spacing and control height.\"),\n logo_scale: zod\n .number()\n .min(submitFlowStepResponseBrandingShapeLogoScaleMin)\n .max(submitFlowStepResponseBrandingShapeLogoScaleMax)\n .optional()\n .describe(\n \"Multiplier on the logo's maximum height, `1` when omitted. The image keeps its intrinsic\\naspect ratio inside that cap; no width, height or ratio is stored.\\n\",\n ),\n })\n .optional()\n .describe(\"Corner rounding, spacing and logo size. Shared across theme sides.\\n\"),\n })\n .optional()\n .describe(\n \"Branding configuration, used in two places with one shape: as the request\\nbody of `POST \\/branding`, which publishes it as a new immutable revision,\\nand as a read-only projection on flow responses, which carries the\\nproject's latest revision. Locally it is the `.zitadel\\/branding\\/` descriptor\\nthat `zitadel apply` publishes.\\n\\nEvery field is optional. An omitted key uses Zitadel's maintained default,\\nso a revision carrying one colour is as valid as one carrying the whole\\nobject.\\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 method: zod\n .enum([\"identifier\"])\n .describe(\"Always `identifier`; the discriminator of the payload union.\"),\n user_id: zod\n .string()\n .regex(getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({\n method: zod\n .enum([\"password\"])\n .describe(\"Always `password`; the discriminator of the payload union.\"),\n })\n .describe(\n \"Password authentication carries no metadata beyond the discriminator the\\n`payload` union resolves on.\\n\",\n ),\n zod\n .object({\n method: zod\n .enum([\"passkey\"])\n .describe(\"Always `passkey`; the discriminator of the payload union.\"),\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 value being identified, as the user typed it.\"),\n })\n .describe(\n \"Proof for `identifier` method.\\n\\nThe login name is resolved against the designated identifier (`x-identifier`)\\nof every user schema in the project, and must identify exactly one user; none,\\nor users of more than one schema, rejects the proof. The caller does not name\\nthe property: which property identifies users is the project's decision, made\\nin its user schemas (ADR 058 §5).\\n\",\n ),\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 method: zod\n .enum([\"identifier\"])\n .describe(\"Always `identifier`; the discriminator of the payload union.\"),\n user_id: zod\n .string()\n .regex(\n verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp,\n ),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({\n method: zod\n .enum([\"password\"])\n .describe(\"Always `password`; the discriminator of the payload union.\"),\n })\n .describe(\n \"Password authentication carries no metadata beyond the discriminator the\\n`payload` union resolves on.\\n\",\n ),\n zod\n .object({\n method: zod\n .enum([\"passkey\"])\n .describe(\"Always `passkey`; the discriminator of the payload union.\"),\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 project is claimed. The claim grant, not the polled\nchallenge, is the source of truth: a project claimed through another\nconcurrent challenge also reports `completed`, and a completed claim\nkeeps reporting `completed` past this challenge's expiry and past the\nproject's claim window.\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 * Read by the claim page in the browser to show how long is left to claim the\nproject. Unauthenticated by design: the claim page runs this before the\ndeveloper has signed in, and holding the `challenge_id` from the claim URL\nis the authorization — the same capability `claim/complete` accepts. It\nreveals only the window, never the project itself, and unlike\n`claim/complete` it spends nothing, so a reload is free.\n\n * @summary Get the claim window for a project\n */\nexport const getClaimWindowPathProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimWindowParams = zod.object({\n project_id: zod.string().regex(getClaimWindowPathProjectIdRegExp),\n});\n\nexport const getClaimWindowQueryChallengeIdRegExp = new RegExp(\"^ch_[a-zA-Z0-9_-]+$\");\n\nexport const GetClaimWindowQueryParams = zod.strictObject({\n challenge_id: zod\n .string()\n .regex(getClaimWindowQueryChallengeIdRegExp)\n .describe(\"The challenge from the claim URL.\"),\n});\n\nexport const GetClaimWindowResponse = zod\n .object({\n expires_at: zod.iso\n .datetime({ offset: true })\n .describe(\"The time when the project's claim window closes.\"),\n expired: zod\n .boolean()\n .describe(\n \"Whether the window has already closed. Reported alongside `expires_at`\\nrather than left to the client so a skewed browser clock cannot show a\\nclaimable project as expired, or the reverse.\\n\",\n ),\n })\n .describe(\n \"How long the project can still be claimed. Derived from the project's\\ncreation time and the fixed 14-day claim window (ADR 046); it does not\\ndepend on the challenge, which has its own much shorter expiry.\\n\",\n );\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`.\\nMissing or deleted users degrade to `user_id` only.\\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 method: zod\n .enum([\"identifier\"])\n .describe(\n \"Always `identifier`; the discriminator of the payload union.\",\n ),\n user_id: zod\n .string()\n .regex(\n querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp,\n ),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({\n method: zod\n .enum([\"password\"])\n .describe(\"Always `password`; the discriminator of the payload union.\"),\n })\n .describe(\n \"Password authentication carries no metadata beyond the discriminator the\\n`payload` union resolves on.\\n\",\n ),\n zod\n .object({\n method: zod\n .enum([\"passkey\"])\n .describe(\"Always `passkey`; the discriminator of the payload union.\"),\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`.\\nMissing or deleted users degrade to `user_id` only.\\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 method: zod\n .enum([\"identifier\"])\n .describe(\"Always `identifier`; the discriminator of the payload union.\"),\n user_id: zod\n .string()\n .regex(exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({\n method: zod\n .enum([\"password\"])\n .describe(\"Always `password`; the discriminator of the payload union.\"),\n })\n .describe(\n \"Password authentication carries no metadata beyond the discriminator the\\n`payload` union resolves on.\\n\",\n ),\n zod\n .object({\n method: zod\n .enum([\"passkey\"])\n .describe(\"Always `passkey`; the discriminator of the payload union.\"),\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`.\\nMissing or deleted users degrade to `user_id` only.\\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 method: zod\n .enum([\"identifier\"])\n .describe(\"Always `identifier`; the discriminator of the payload union.\"),\n user_id: zod\n .string()\n .regex(getSessionResponseFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({\n method: zod\n .enum([\"password\"])\n .describe(\"Always `password`; the discriminator of the payload union.\"),\n })\n .describe(\n \"Password authentication carries no metadata beyond the discriminator the\\n`payload` union resolves on.\\n\",\n ),\n zod\n .object({\n method: zod\n .enum([\"passkey\"])\n .describe(\"Always `passkey`; the discriminator of the payload union.\"),\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`.\\nMissing or deleted users degrade to `user_id` only.\\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 method: zod\n .enum([\"identifier\"])\n .describe(\"Always `identifier`; the discriminator of the payload union.\"),\n user_id: zod\n .string()\n .regex(getMySessionResponseFactorsItemPayloadOneUserIdRegExp),\n })\n .describe(\"Identifier-specific factor metadata\"),\n zod\n .object({\n method: zod\n .enum([\"password\"])\n .describe(\"Always `password`; the discriminator of the payload union.\"),\n })\n .describe(\n \"Password authentication carries no metadata beyond the discriminator the\\n`payload` union resolves on.\\n\",\n ),\n zod\n .object({\n method: zod\n .enum([\"passkey\"])\n .describe(\"Always `passkey`; the discriminator of the payload union.\"),\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 createSchemaBodyOneMetaSchemaMax = 1024;\n\nexport const createSchemaBodyOneXAuthMethodsSsoProvidersItemMax = 64;\n\nexport const createSchemaBodyOneXAuthMethodsSsoProvidersItemRegExp = new RegExp(\n \"^[a-z0-9][a-z0-9_-]\\*$\",\n);\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\n .url()\n .max(createSchemaBodyOneMetaSchemaMax)\n .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 providers: zod\n .array(\n zod\n .string()\n .max(createSchemaBodyOneXAuthMethodsSsoProvidersItemMax)\n .regex(createSchemaBodyOneXAuthMethodsSsoProvidersItemRegExp),\n )\n .min(1)\n .optional()\n .describe(\n \"Slugs of the Project-level identity provider connections available to users of this schema. Each entry must match the `slug` of a connection under `.zitadel\\/idps\\/`; a connection existing does not by itself make it available here.\",\n ),\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 \"The meta-schema one property of a customer's user schema is validated\\nagainst. The generated `user-property.json` adds\\n`allOf: [{$ref: draft-2020-12}]`, which cannot live here because code\\ngenerators choke on it.\\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 \"The meta-schema a customer's user schema document is validated against.\\nThe generated `user-schema.json` adds `allOf: [{$ref: draft-2020-12}]`,\\nwhich cannot live here because code generators choke on it.\\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 listSchemasResponseSchemasItemSchemaOneMetaSchemaMax = 1024;\n\nexport const listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemMax = 64;\n\nexport const listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemRegExp = new RegExp(\n \"^[a-z0-9][a-z0-9_-]\\*$\",\n);\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\n .url()\n .max(listSchemasResponseSchemasItemSchemaOneMetaSchemaMax)\n .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 providers: zod\n .array(\n zod\n .string()\n .max(\n listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemMax,\n )\n .regex(\n listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemRegExp,\n ),\n )\n .min(1)\n .optional()\n .describe(\n \"Slugs of the Project-level identity provider connections available to users of this schema. Each entry must match the `slug` of a connection under `.zitadel\\/idps\\/`; a connection existing does not by itself make it available here.\",\n ),\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 \"The meta-schema one property of a customer's user schema is validated\\nagainst. The generated `user-property.json` adds\\n`allOf: [{$ref: draft-2020-12}]`, which cannot live here because code\\ngenerators choke on it.\\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 \"The meta-schema a customer's user schema document is validated against.\\nThe generated `user-schema.json` adds `allOf: [{$ref: draft-2020-12}]`,\\nwhich cannot live here because code generators choke on it.\\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 getSchemaByIdResponseSchemaOneMetaSchemaMax = 1024;\n\nexport const getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemMax = 64;\n\nexport const getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp = new RegExp(\n \"^[a-z0-9][a-z0-9_-]\\*$\",\n);\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\n .url()\n .max(getSchemaByIdResponseSchemaOneMetaSchemaMax)\n .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 providers: zod\n .array(\n zod\n .string()\n .max(getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemMax)\n .regex(getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp),\n )\n .min(1)\n .optional()\n .describe(\n \"Slugs of the Project-level identity provider connections available to users of this schema. Each entry must match the `slug` of a connection under `.zitadel\\/idps\\/`; a connection existing does not by itself make it available here.\",\n ),\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 \"The meta-schema one property of a customer's user schema is validated\\nagainst. The generated `user-property.json` adds\\n`allOf: [{$ref: draft-2020-12}]`, which cannot live here because code\\ngenerators choke on it.\\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 \"The meta-schema a customer's user schema document is validated against.\\nThe generated `user-schema.json` adds `allOf: [{$ref: draft-2020-12}]`,\\nwhich cannot live here because code generators choke on it.\\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 * Publishes a new flow definition revision.\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\nEvery call allocates a new opaque id. Revisions of one flow share its\n`name`; posting a definition under an existing `name` publishes a new\nrevision of that flow, it is not a conflict. List with `name` to see a\nflow's revisions, newest by creation time first.\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 createFlowDefinitionBodyFlowDefinitionStepsItemNameRegExp = new RegExp(\n \"^[a-z][a-z0-9_-]\\*$\",\n);\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault = [];\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault = [];\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemMax = 64;\n\nexport const createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemRegExp = new RegExp(\n \"^[a-z0-9][a-z0-9_-]\\*$\",\n);\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. Every revision of a flow shares its\\n`name`; publishing a definition under an existing `name` adds a\\nrevision to that flow. Renaming is not supported — the `name` is part\\nof the public contract another definition may reference. Acts as the\\nhuman display label as well; no separate slug.\\n\",\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\\nA revision's status is fixed at creation. Publish a new revision to change it.\\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 .regex(createFlowDefinitionBodyFlowDefinitionStepsItemNameRegExp)\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 .min(1)\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\"])\n .describe(\n \"Classifies how the engine handles this action. `back` is not declarable:\\nthe engine injects it into runtime steps (see `flow-step-action.yaml`)\\nwhenever going back is available.\\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\",\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 \"An action a flow author declares on a step of a flow definition. The\\n`name` is sent back in the submit request as `action`; the engine resolves\\nthe action's declared `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 .string()\n .max(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemMax)\n .regex(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemRegExp),\n )\n .default(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\n \"Slugs of the identity provider connections this step offers, in display\\norder. Each names the `slug` of a connection under `.zitadel\\/idps\\/`; the\\nconnection carries the display name and template, so a rename there\\nreaches every step without editing the flow. The rendered step the client\\nreceives carries the resolved `{id, name, template}` objects instead.\\n\",\n ),\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, newest by creation time first.\nThis endpoint can be used to view existing flow definitions and their configurations.\nFilter by `name` to list the revisions of one flow.\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_-]+$\");\nexport const listFlowDefinitionsQueryNameRegExp = new RegExp(\"^[a-z][a-z0-9-]\\*$\");\nexport const listFlowDefinitionsQueryRevisionsDefault = `all`;\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 name: zod\n .string()\n .regex(listFlowDefinitionsQueryNameRegExp)\n .optional()\n .describe(\n \"The flow name to filter by. Every revision of a flow shares its\\n`name`, so the result is that flow's revisions, newest by creation\\ntime first.\\n\",\n ),\n revisions: zod\n .enum([\"all\", \"latest\"])\n .default(listFlowDefinitionsQueryRevisionsDefault)\n .describe(\n \"Which revisions to return. Every revision of a flow shares its\\n`name`, so publishing a definition under an existing `name` generates\\na new row.\\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 `name`, which is one row per flow.\\n\\nA `page_token` is bound to the mode it was issued in and is rejected by\\nthe other.\\n\",\n ),\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 listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemNameRegExp =\n new RegExp(\"^[a-z][a-z0-9_-]\\*$\");\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault =\n {} as const;\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemMax = 64;\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemRegExp =\n new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\nexport const listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault =\n [];\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneMetaSchemaMax = 1024;\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax = 64;\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp =\n new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\n\nexport const listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault = false;\n\nexport const ListFlowDefinitionsResponse = zod\n .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. Every revision of a flow shares its\\n`name`; publishing a definition under an existing `name` adds a\\nrevision to that flow. Renaming is not supported — the `name` is part\\nof the public contract another definition may reference. Acts as the\\nhuman display label as well; no separate slug.\\n\",\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\\nA revision's status is fixed at creation. Publish a new revision to change it.\\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 .regex(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemNameRegExp,\n )\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 .min(1)\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\"])\n .describe(\n \"Classifies how the engine handles this action. `back` is not declarable:\\nthe engine injects it into runtime steps (see `flow-step-action.yaml`)\\nwhenever going back is available.\\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\",\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 \"An action a flow author declares on a step of a flow definition. The\\n`name` is sent back in the submit request as `action`; the engine resolves\\nthe action's declared `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 .string()\n .max(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemMax,\n )\n .regex(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemRegExp,\n ),\n )\n .default(\n listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault,\n )\n .describe(\n \"Slugs of the identity provider connections this step offers, in display\\norder. Each names the `slug` of a connection under `.zitadel\\/idps\\/`; the\\nconnection carries the display name and template, so a rename there\\nreaches every step without editing the flow. The rendered step the client\\nreceives carries the resolved `{id, name, template}` objects instead.\\n\",\n ),\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\n .url()\n .max(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneMetaSchemaMax,\n )\n .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 providers: zod\n .array(\n zod\n .string()\n .max(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax,\n )\n .regex(\n listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp,\n ),\n )\n .min(1)\n .optional()\n .describe(\n \"Slugs of the Project-level identity provider connections available to users of this schema. Each entry must match the `slug` of a connection under `.zitadel\\/idps\\/`; a connection existing does not by itself make it available here.\",\n ),\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(\n \"A list of authentication methods supported by the user definition.\",\n ),\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 \"The meta-schema one property of a customer's user schema is validated\\nagainst. The generated `user-property.json` adds\\n`allOf: [{$ref: draft-2020-12}]`, which cannot live here because code\\ngenerators choke on it.\\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 \"The meta-schema a customer's user schema document is validated against.\\nThe generated `user-schema.json` adds `allOf: [{$ref: draft-2020-12}]`,\\nwhich cannot live here because code generators choke on it.\\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 .describe(\"List of flow definitions, newest by creation time first.\");\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 getFlowDefinitionResponseFlowDefinitionStepsItemNameRegExp = new RegExp(\n \"^[a-z][a-z0-9_-]\\*$\",\n);\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault = [];\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault = [];\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault = {} as const;\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemMax = 64;\n\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp = new RegExp(\n \"^[a-z0-9][a-z0-9_-]\\*$\",\n);\nexport const getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [];\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax = 256;\n\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax = 1024;\n\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax = 64;\n\nexport const getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp =\n new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\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. Every revision of a flow shares its\\n`name`; publishing a definition under an existing `name` adds a\\nrevision to that flow. Renaming is not supported — the `name` is part\\nof the public contract another definition may reference. Acts as the\\nhuman display label as well; no separate slug.\\n\",\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\\nA revision's status is fixed at creation. Publish a new revision to change it.\\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 .regex(getFlowDefinitionResponseFlowDefinitionStepsItemNameRegExp)\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 .min(1)\n .describe(\n \"Action identifier. Sent back in the submit request as `action`.\",\n ),\n kind: zod\n .enum([\"submit\", \"passkey\", \"passkey_register\", \"navigate\"])\n .describe(\n \"Classifies how the engine handles this action. `back` is not declarable:\\nthe engine injects it into runtime steps (see `flow-step-action.yaml`)\\nwhenever going back is available.\\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\",\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 \"An action a flow author declares on a step of a flow definition. The\\n`name` is sent back in the submit request as `action`; the engine resolves\\nthe action's declared `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 .string()\n .max(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemMax)\n .regex(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp),\n )\n .default(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault)\n .describe(\n \"Slugs of the identity provider connections this step offers, in display\\norder. Each names the `slug` of a connection under `.zitadel\\/idps\\/`; the\\nconnection carries the display name and template, so a rename there\\nreaches every step without editing the flow. The rendered step the client\\nreceives carries the resolved `{id, name, template}` objects instead.\\n\",\n ),\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\n .url()\n .max(getFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax)\n .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 providers: zod\n .array(\n zod\n .string()\n .max(\n getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax,\n )\n .regex(\n getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp,\n ),\n )\n .min(1)\n .optional()\n .describe(\n \"Slugs of the Project-level identity provider connections available to users of this schema. Each entry must match the `slug` of a connection under `.zitadel\\/idps\\/`; a connection existing does not by itself make it available here.\",\n ),\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 \"The meta-schema one property of a customer's user schema is validated\\nagainst. The generated `user-property.json` adds\\n`allOf: [{$ref: draft-2020-12}]`, which cannot live here because code\\ngenerators choke on it.\\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 \"The meta-schema a customer's user schema document is validated against.\\nThe generated `user-schema.json` adds `allOf: [{$ref: draft-2020-12}]`,\\nwhich cannot live here because code generators choke on it.\\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 * @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\nA team that still owns a project is refused with `409\nteam.owns_project`: deactivating it would leave the project owned by a\ndead team and so unmanageable. No endpoint releases that ownership yet,\nso such a team cannot currently be deactivated through the API.\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\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 createBrandingBodyLogoUrlMax = 2048;\n\nexport const createBrandingBodyLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const createBrandingBodyHeroUrlMax = 2048;\n\nexport const createBrandingBodyHeroUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const createBrandingBodyThemeLightLogoUrlMax = 2048;\n\nexport const createBrandingBodyThemeLightLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const createBrandingBodyThemeLightPalettePrimaryMax = 128;\n\nexport const createBrandingBodyThemeLightPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteOnPrimaryMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteBackgroundMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteSurfaceMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteMutedMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteBorderMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteTextMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteTextMutedMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteLinkMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteSuccessMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteWarningMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeLightPaletteErrorMax = 128;\n\nexport const createBrandingBodyThemeLightPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkLogoUrlMax = 2048;\n\nexport const createBrandingBodyThemeDarkLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const createBrandingBodyThemeDarkPalettePrimaryMax = 128;\n\nexport const createBrandingBodyThemeDarkPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteOnPrimaryMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteBackgroundMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteSurfaceMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteMutedMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteBorderMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteTextMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteTextMutedMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteLinkMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteSuccessMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteWarningMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyThemeDarkPaletteErrorMax = 128;\n\nexport const createBrandingBodyThemeDarkPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const createBrandingBodyTypographyFontFamilyMax = 256;\n\nexport const createBrandingBodyTypographyFontFamilyRegExp = new RegExp(\n \"^ \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*)(?: \\*, \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*))\\* \\*$\",\n);\nexport const createBrandingBodyTypographyFontUrlMax = 2048;\n\nexport const createBrandingBodyTypographyFontUrlRegExp = new RegExp(\n \"^[hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)\",\n);\nexport const createBrandingBodyTypographyScaleMin = 0.75;\nexport const createBrandingBodyTypographyScaleMax = 1.25;\n\nexport const createBrandingBodyShapeRadiusTwoMin = 0;\nexport const createBrandingBodyShapeRadiusTwoMax = 32;\n\nexport const createBrandingBodyShapeLogoScaleMin = 0.5;\nexport const createBrandingBodyShapeLogoScaleMax = 2;\n\nexport const CreateBrandingBody = zod\n .object({\n layout: zod\n .enum([\"centered\", \"split\"])\n .default(createBrandingBodyLayoutDefault)\n .describe(\n \"Degrade preset (`centered` or `split`) the bundled default template\\nbranches on, and the fallback when a custom template fails validation.\\nNot the complete design catalog: all named designs (`centered`, `split`,\\n`split-right`, `hero`, `minimal`) ship as templates and map onto one of\\nthese two values; switch designs with\\n`zitadel branding eject --design <name>` instead of editing this field.\\nEjected templates may ignore it. Selects a template rather than restyling\\nthe widget, so it is not an appearance control.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(createBrandingBodyLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template for rendering this step. The orchestrator renders\\nit into its Shadow DOM with the capability dictionaries as context.\\n\",\n ),\n logo_url: zod\n .url()\n .max(createBrandingBodyLogoUrlMax)\n .regex(createBrandingBodyLogoUrlRegExp)\n .optional()\n .describe(\n \"Fallback mark, used only when neither `theme.light.logo_url` nor\\n`theme.dark.logo_url` is set. Prefer the per-side marks — one file\\ncannot serve both surfaces.\\n\",\n ),\n hero_url: zod\n .url()\n .max(createBrandingBodyHeroUrlMax)\n .regex(createBrandingBodyHeroUrlRegExp)\n .optional()\n .describe(\"Hero\\/background image URL, used by the split layout.\"),\n theme: zod\n .object({\n mode: zod\n .enum([\"light\", \"dark\", \"auto\"])\n .optional()\n .describe(\"Which published side may run. `auto` follows the operating system.\\n\"),\n light: zod\n .object({\n logo_url: zod\n .url()\n .max(createBrandingBodyThemeLightLogoUrlMax)\n .regex(createBrandingBodyThemeLightLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPalettePrimaryMax)\n .regex(createBrandingBodyThemeLightPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteOnPrimaryMax)\n .regex(createBrandingBodyThemeLightPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteBackgroundMax)\n .regex(createBrandingBodyThemeLightPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteSurfaceMax)\n .regex(createBrandingBodyThemeLightPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteMutedMax)\n .regex(createBrandingBodyThemeLightPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteBorderMax)\n .regex(createBrandingBodyThemeLightPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteTextMax)\n .regex(createBrandingBodyThemeLightPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteTextMutedMax)\n .regex(createBrandingBodyThemeLightPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteLinkMax)\n .regex(createBrandingBodyThemeLightPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteSuccessMax)\n .regex(createBrandingBodyThemeLightPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteWarningMax)\n .regex(createBrandingBodyThemeLightPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeLightPaletteErrorMax)\n .regex(createBrandingBodyThemeLightPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n dark: zod\n .object({\n logo_url: zod\n .url()\n .max(createBrandingBodyThemeDarkLogoUrlMax)\n .regex(createBrandingBodyThemeDarkLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPalettePrimaryMax)\n .regex(createBrandingBodyThemeDarkPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteOnPrimaryMax)\n .regex(createBrandingBodyThemeDarkPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteBackgroundMax)\n .regex(createBrandingBodyThemeDarkPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteSurfaceMax)\n .regex(createBrandingBodyThemeDarkPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteMutedMax)\n .regex(createBrandingBodyThemeDarkPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteBorderMax)\n .regex(createBrandingBodyThemeDarkPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteTextMax)\n .regex(createBrandingBodyThemeDarkPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteTextMutedMax)\n .regex(createBrandingBodyThemeDarkPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteLinkMax)\n .regex(createBrandingBodyThemeDarkPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteSuccessMax)\n .regex(createBrandingBodyThemeDarkPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteWarningMax)\n .regex(createBrandingBodyThemeDarkPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(createBrandingBodyThemeDarkPaletteErrorMax)\n .regex(createBrandingBodyThemeDarkPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n })\n .optional()\n .describe(\n \"The theme sides this project publishes, and which of them may run.\\n\\nPublishing one side makes it the only theme that resolves, even under `auto`\\nor an operating-system preference for the other. Publishing both lets `auto`\\nfollow the operating system, each side using its own logo and palette.\\n\\nThe element-level `theme` property overrides `mode`, but cannot select a\\nside the project never published.\\n\",\n ),\n typography: zod\n .object({\n font_family: zod\n .string()\n .min(1)\n .max(createBrandingBodyTypographyFontFamilyMax)\n .regex(createBrandingBodyTypographyFontFamilyRegExp)\n .optional()\n .describe(\n 'CSS font stack for body and heading text. Include a generic family so\\nthe surface still renders when the named face is unavailable.\\n\\nComma-separated family names, each either an identifier (`Inter`,\\n`ui-sans-serif`, `Helvetica Neue`) or a quoted name (`\\\"APK Futural\\\"`).\\nAnything else is rejected — the stack is written into a stylesheet, so\\nonly names are stored, and a quoted name must close the quote it opened.\\n',\n ),\n font_url: zod\n .url()\n .max(createBrandingBodyTypographyFontUrlMax)\n .regex(createBrandingBodyTypographyFontUrlRegExp)\n .optional()\n .describe(\n \"Stylesheet that loads `font_family` — a Google Fonts CSS URL, for\\nexample. Must be https; unlike the logo and hero assets there is no\\nloopback carve-out. Rejected without `font_family`, which would name\\nnothing to paint with.\\n\\nStored but not applied to an embedded widget: the embedding page loads\\nthe face, and Zitadel does not inject a stylesheet into a document it\\ndoes not own.\\n\",\n ),\n scale: zod\n .number()\n .min(createBrandingBodyTypographyScaleMin)\n .max(createBrandingBodyTypographyScaleMax)\n .optional()\n .describe(\"Multiplier on the base text sizes, `1` when omitted.\"),\n })\n .optional()\n .describe(\n \"The typeface the login surface renders in. One face covers both body and\\nheadings; separate heading and mono faces are not modelled yet.\\n\",\n ),\n shape: zod\n .object({\n radius: zod\n .union([\n zod\n .enum([\"none\", \"sm\", \"md\", \"lg\", \"full\"])\n .describe(\n \"A named corner rounding: `none` (0), `sm` (4), `md` (8), `lg` (12), and\\n`full` (pill). Send `full` for a pill rather than a large pixel value.\\n\",\n ),\n zod\n .number()\n .min(createBrandingBodyShapeRadiusTwoMin)\n .max(createBrandingBodyShapeRadiusTwoMax),\n ])\n .optional()\n .describe(\n \"Corner rounding for the card, inputs, buttons and alerts — either a\\npreset name or an integer number of pixels. One value scales the whole\\ncorner ramp in proportion, so the card stays rounder than the controls\\ninside it.\\n\",\n ),\n density: zod\n .enum([\"compact\", \"regular\", \"comfortable\"])\n .optional()\n .describe(\"Spacing and control height.\"),\n logo_scale: zod\n .number()\n .min(createBrandingBodyShapeLogoScaleMin)\n .max(createBrandingBodyShapeLogoScaleMax)\n .optional()\n .describe(\n \"Multiplier on the logo's maximum height, `1` when omitted. The image keeps its intrinsic\\naspect ratio inside that cap; no width, height or ratio is stored.\\n\",\n ),\n })\n .optional()\n .describe(\"Corner rounding, spacing and logo size. Shared across theme sides.\\n\"),\n })\n .describe(\n \"Branding configuration, used in two places with one shape: as the request\\nbody of `POST \\/branding`, which publishes it as a new immutable revision,\\nand as a read-only projection on flow responses, which carries the\\nproject's latest revision. Locally it is the `.zitadel\\/branding\\/` descriptor\\nthat `zitadel apply` publishes.\\n\\nEvery field is optional. An omitted key uses Zitadel's maintained default,\\nso a revision carrying one colour is as valid as one carrying the whole\\nobject.\\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 gain a\nreal query mechanism together; advertising pagination parameters the\nserver 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 getBrandingByIdResponseBrandingLogoUrlMax = 2048;\n\nexport const getBrandingByIdResponseBrandingLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getBrandingByIdResponseBrandingHeroUrlMax = 2048;\n\nexport const getBrandingByIdResponseBrandingHeroUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightLogoUrlMax = 2048;\n\nexport const getBrandingByIdResponseBrandingThemeLightLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPalettePrimaryMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteBackgroundMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteSurfaceMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteMutedMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteBorderMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteTextMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteTextMutedMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteLinkMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteSuccessMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteWarningMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeLightPaletteErrorMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeLightPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkLogoUrlMax = 2048;\n\nexport const getBrandingByIdResponseBrandingThemeDarkLogoUrlRegExp = new RegExp(\n \"^([hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)|[hH][tT][tT][pP]:\\/\\/([lL][oO][cC][aA][lL][hH][oO][sS][tT]|127\\\\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\\\\.){2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])|\\\\[::1\\\\])(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?([\\/?#]|$))\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPalettePrimaryMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPalettePrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteMutedMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteBorderMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteBorderRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteTextMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteTextRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteLinkMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteLinkRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteSuccessMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteSuccessRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteWarningMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteWarningRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteErrorMax = 128;\n\nexport const getBrandingByIdResponseBrandingThemeDarkPaletteErrorRegExp = new RegExp(\n \"^(?:#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|[a-zA-Z]{3,24}|[a-zA-Z][a-zA-Z-]{2,12}\\\\((?:[0-9a-zA-Z%.,+\\/# -]|[a-zA-Z][a-zA-Z-]{2,12}\\\\([0-9a-zA-Z%.,+\\/# -]\\*\\\\))\\*\\\\))$\",\n);\nexport const getBrandingByIdResponseBrandingTypographyFontFamilyMax = 256;\n\nexport const getBrandingByIdResponseBrandingTypographyFontFamilyRegExp = new RegExp(\n \"^ \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*)(?: \\*, \\*(?:\\\"[^\\\"\\\\\\\\;{}]\\*\\\"|'[^'\\\\\\\\;{}]\\*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)\\*))\\* \\*$\",\n);\nexport const getBrandingByIdResponseBrandingTypographyFontUrlMax = 2048;\n\nexport const getBrandingByIdResponseBrandingTypographyFontUrlRegExp = new RegExp(\n \"^[hH][tT][tT][pP][sS]:\\/\\/(?:\\\\[[0-9A-Fa-f:.]+\\\\]|[^\\/:?#@]+)(?::0\\*(?:[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[\\/?#]|$)\",\n);\nexport const getBrandingByIdResponseBrandingTypographyScaleMin = 0.75;\nexport const getBrandingByIdResponseBrandingTypographyScaleMax = 1.25;\n\nexport const getBrandingByIdResponseBrandingShapeRadiusTwoMin = 0;\nexport const getBrandingByIdResponseBrandingShapeRadiusTwoMax = 32;\n\nexport const getBrandingByIdResponseBrandingShapeLogoScaleMin = 0.5;\nexport const getBrandingByIdResponseBrandingShapeLogoScaleMax = 2;\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 \"Degrade preset (`centered` or `split`) the bundled default template\\nbranches on, and the fallback when a custom template fails validation.\\nNot the complete design catalog: all named designs (`centered`, `split`,\\n`split-right`, `hero`, `minimal`) ship as templates and map onto one of\\nthese two values; switch designs with\\n`zitadel branding eject --design <name>` instead of editing this field.\\nEjected templates may ignore it. Selects a template rather than restyling\\nthe widget, so it is not an appearance control.\\n\",\n ),\n liquid_template: zod\n .string()\n .max(getBrandingByIdResponseBrandingLiquidTemplateMax)\n .optional()\n .describe(\n \"The LiquidJS template for rendering this step. The orchestrator renders\\nit into its Shadow DOM with the capability dictionaries as context.\\n\",\n ),\n logo_url: zod\n .url()\n .max(getBrandingByIdResponseBrandingLogoUrlMax)\n .regex(getBrandingByIdResponseBrandingLogoUrlRegExp)\n .optional()\n .describe(\n \"Fallback mark, used only when neither `theme.light.logo_url` nor\\n`theme.dark.logo_url` is set. Prefer the per-side marks — one file\\ncannot serve both surfaces.\\n\",\n ),\n hero_url: zod\n .url()\n .max(getBrandingByIdResponseBrandingHeroUrlMax)\n .regex(getBrandingByIdResponseBrandingHeroUrlRegExp)\n .optional()\n .describe(\"Hero\\/background image URL, used by the split layout.\"),\n theme: zod\n .object({\n mode: zod\n .enum([\"light\", \"dark\", \"auto\"])\n .optional()\n .describe(\"Which published side may run. `auto` follows the operating system.\\n\"),\n light: zod\n .object({\n logo_url: zod\n .url()\n .max(getBrandingByIdResponseBrandingThemeLightLogoUrlMax)\n .regex(getBrandingByIdResponseBrandingThemeLightLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPalettePrimaryMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteBackgroundMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteSurfaceMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteMutedMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteBorderMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteTextMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteTextMutedMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteLinkMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteSuccessMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteWarningMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeLightPaletteErrorMax)\n .regex(getBrandingByIdResponseBrandingThemeLightPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n dark: zod\n .object({\n logo_url: zod\n .url()\n .max(getBrandingByIdResponseBrandingThemeDarkLogoUrlMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkLogoUrlRegExp)\n .optional()\n .describe(\n \"The mark for this surface. A logo is never recoloured, so each side\\ncarries its own file. Absent means no mark on this side, unless the\\ntop-level `logo_url` is the only one set.\\n\",\n ),\n palette: zod\n .object({\n primary: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPalettePrimaryMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPalettePrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n on_primary: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n background: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n surface: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n muted: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteMutedMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n border: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteBorderMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteBorderRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteTextMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteTextRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n text_muted: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n link: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteLinkMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteLinkRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n success: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteSuccessMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteSuccessRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n warning: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteWarningMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteWarningRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n error: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingThemeDarkPaletteErrorMax)\n .regex(getBrandingByIdResponseBrandingThemeDarkPaletteErrorRegExp)\n .optional()\n .describe(\n \"A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour\\nfunction — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,\\n`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are\\nrejected: the value is written into a stylesheet, so only forms that resolve\\nto a colour are stored.\\n\\nThe pattern pins the shape — no semicolons, braces, comment markers or\\nbackslashes, so a value cannot leave its declaration whatever it spells.\\nWhich names CSS actually knows is the browser's business: an unrecognised\\none is stored and paints nothing, rather than being refused here.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Semantic colours for one theme side. An omitted key uses the maintained\\ndefault for this side, never the other side's value.\\n\\nEvery value is a `BrandingColor`, which is where the accepted forms and the\\nreason for them live; what each key paints is below.\\n\",\n ),\n })\n .optional()\n .describe(\n \"One complete theme side. Light and dark are independent surfaces — neither\\ninherits from the other, and a side that is absent is never used, whatever\\n`mode` or the operating system asks for.\\n\",\n ),\n })\n .optional()\n .describe(\n \"The theme sides this project publishes, and which of them may run.\\n\\nPublishing one side makes it the only theme that resolves, even under `auto`\\nor an operating-system preference for the other. Publishing both lets `auto`\\nfollow the operating system, each side using its own logo and palette.\\n\\nThe element-level `theme` property overrides `mode`, but cannot select a\\nside the project never published.\\n\",\n ),\n typography: zod\n .object({\n font_family: zod\n .string()\n .min(1)\n .max(getBrandingByIdResponseBrandingTypographyFontFamilyMax)\n .regex(getBrandingByIdResponseBrandingTypographyFontFamilyRegExp)\n .optional()\n .describe(\n 'CSS font stack for body and heading text. Include a generic family so\\nthe surface still renders when the named face is unavailable.\\n\\nComma-separated family names, each either an identifier (`Inter`,\\n`ui-sans-serif`, `Helvetica Neue`) or a quoted name (`\\\"APK Futural\\\"`).\\nAnything else is rejected — the stack is written into a stylesheet, so\\nonly names are stored, and a quoted name must close the quote it opened.\\n',\n ),\n font_url: zod\n .url()\n .max(getBrandingByIdResponseBrandingTypographyFontUrlMax)\n .regex(getBrandingByIdResponseBrandingTypographyFontUrlRegExp)\n .optional()\n .describe(\n \"Stylesheet that loads `font_family` — a Google Fonts CSS URL, for\\nexample. Must be https; unlike the logo and hero assets there is no\\nloopback carve-out. Rejected without `font_family`, which would name\\nnothing to paint with.\\n\\nStored but not applied to an embedded widget: the embedding page loads\\nthe face, and Zitadel does not inject a stylesheet into a document it\\ndoes not own.\\n\",\n ),\n scale: zod\n .number()\n .min(getBrandingByIdResponseBrandingTypographyScaleMin)\n .max(getBrandingByIdResponseBrandingTypographyScaleMax)\n .optional()\n .describe(\"Multiplier on the base text sizes, `1` when omitted.\"),\n })\n .optional()\n .describe(\n \"The typeface the login surface renders in. One face covers both body and\\nheadings; separate heading and mono faces are not modelled yet.\\n\",\n ),\n shape: zod\n .object({\n radius: zod\n .union([\n zod\n .enum([\"none\", \"sm\", \"md\", \"lg\", \"full\"])\n .describe(\n \"A named corner rounding: `none` (0), `sm` (4), `md` (8), `lg` (12), and\\n`full` (pill). Send `full` for a pill rather than a large pixel value.\\n\",\n ),\n zod\n .number()\n .min(getBrandingByIdResponseBrandingShapeRadiusTwoMin)\n .max(getBrandingByIdResponseBrandingShapeRadiusTwoMax),\n ])\n .optional()\n .describe(\n \"Corner rounding for the card, inputs, buttons and alerts — either a\\npreset name or an integer number of pixels. One value scales the whole\\ncorner ramp in proportion, so the card stays rounder than the controls\\ninside it.\\n\",\n ),\n density: zod\n .enum([\"compact\", \"regular\", \"comfortable\"])\n .optional()\n .describe(\"Spacing and control height.\"),\n logo_scale: zod\n .number()\n .min(getBrandingByIdResponseBrandingShapeLogoScaleMin)\n .max(getBrandingByIdResponseBrandingShapeLogoScaleMax)\n .optional()\n .describe(\n \"Multiplier on the logo's maximum height, `1` when omitted. The image keeps its intrinsic\\naspect ratio inside that cap; no width, height or ratio is stored.\\n\",\n ),\n })\n .optional()\n .describe(\"Corner rounding, spacing and logo size. Shared across theme sides.\\n\"),\n })\n .describe(\n \"Branding configuration, used in two places with one shape: as the request\\nbody of `POST \\/branding`, which publishes it as a new immutable revision,\\nand as a read-only projection on flow responses, which carries the\\nproject's latest revision. Locally it is the `.zitadel\\/branding\\/` descriptor\\nthat `zitadel apply` publishes.\\n\\nEvery field is optional. An omitted key uses Zitadel's maintained default,\\nso a revision carrying one colour is as valid as one carrying the whole\\nobject.\\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 * Creates or revises a connection document. If the slug does not already\nexist, a new connection is created. If a connection with that slug already\nexists, a revision is created.\n\nA revision gets a new `revision_id` and does not modify the connection\n`id`, so identity links that reference the connection keep resolving while\nreleases and auth attempts stay pinned to the revision they captured.\n\nIdentity fields are fixed for the life of the connection and a revision\nthat changes one is rejected: `protocol`, `subject_claim`, and the\nendpoints that name the authority (`issuer` for OIDC, `token_endpoint`\nand `userinfo_endpoint` for OAuth 2.0). Their values decide which provider\naccount a stored subject belongs to, so changing one would silently\nrepoint existing identities at a different provider.\n\n`subject_claim` is optional for OIDC and required for OAuth 2.0. For an\nOIDC connection, `sub` is used as the default value. If a revision updates\n`subject_claim` to a different value than the one set during creation, the\nrequest is rejected.\n\nThe document is validated against the `idp-connection.json` schema before\nanything is stored.\n\n * @summary Create or revise an identity provider connection\n */\nexport const createIdpQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateIdpQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(createIdpQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const createIdpBodyIdpSlugMax = 64;\n\nexport const createIdpBodyIdpSlugRegExp = new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\nexport const createIdpBodyIdpDisplayNameMax = 256;\n\nexport const createIdpBodyIdpClaimMappingRegExpOne = new RegExp(\"^[^$]\");\nexport const createIdpBodyIdpProvisioningCreationDefault = `auto`;\nexport const createIdpBodyIdpOidcIssuerRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)(\\/[^\\\\s?#]\\*)?$\",\n);\nexport const createIdpBodyIdpOidcJwksUriRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOidcIdTokenMappingDefault = false;\nexport const createIdpBodyIdpOidcAuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOidcTokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOidcUserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOidcClientIdMax = 512;\n\nexport const createIdpBodyIdpOidcClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const createIdpBodyIdpOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const createIdpBodyIdpOidcScopesDefault = [`openid`, `profile`, `email`];\n\nexport const createIdpBodyIdpOidcPkceEnabledDefault = true;\nexport const createIdpBodyIdpOauth2AuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOauth2TokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOauth2UserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpBodyIdpOauth2ClientIdMax = 512;\n\nexport const createIdpBodyIdpOauth2ClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const createIdpBodyIdpOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const createIdpBodyIdpOauth2PkceEnabledDefault = true;\n\nexport const CreateIdpBody = zod\n .object({\n idp: zod.object({\n slug: zod\n .string()\n .max(createIdpBodyIdpSlugMax)\n .regex(createIdpBodyIdpSlugRegExp)\n .describe(\n \"Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.\",\n ),\n protocol: zod\n .enum([\"oidc\", \"oauth2\"])\n .describe(\"The protocol used by the identity provider.\"),\n template: zod\n .string()\n .optional()\n .describe(\n \"Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks.\",\n ),\n display_name: zod\n .string()\n .min(1)\n .max(createIdpBodyIdpDisplayNameMax)\n .describe(\"Shown to the user on the sign-in button.\"),\n subject_claim: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.\",\n ),\n claim_mapping: zod\n .record(zod.string(), zod.string().regex(createIdpBodyIdpClaimMappingRegExpOne))\n .optional()\n .describe(\n \"Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.\",\n ),\n verified_claims: zod\n .record(zod.string(), zod.union([zod.boolean(), zod.string()]))\n .optional()\n .describe(\n 'Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `\\\"$supplementary_fetch\\\"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state.',\n ),\n provisioning: zod\n .object({\n creation: zod\n .enum([\"disabled\", \"auto\"])\n .default(createIdpBodyIdpProvisioningCreationDefault),\n })\n .optional()\n .describe(\n \"How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.\",\n ),\n oidc: zod\n .object({\n issuer: zod\n .string()\n .regex(createIdpBodyIdpOidcIssuerRegExp)\n .describe(\n \"Discovery base. Endpoints are resolved from its .well-known document unless overridden below.\",\n ),\n jwks_uri: zod\n .string()\n .regex(createIdpBodyIdpOidcJwksUriRegExp)\n .optional()\n .describe(\n \"Overrides the JWKS endpoint from discovery. Required in practice when the provider exposes no .well-known document, since ID tokens cannot otherwise be validated.\",\n ),\n id_token_mapping: zod\n .boolean()\n .default(createIdpBodyIdpOidcIdTokenMappingDefault)\n .describe(\n \"Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former.\",\n ),\n authorization_endpoint: zod\n .string()\n .regex(createIdpBodyIdpOidcAuthorizationEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n token_endpoint: zod\n .string()\n .regex(createIdpBodyIdpOidcTokenEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n userinfo_endpoint: zod\n .string()\n .regex(createIdpBodyIdpOidcUserinfoEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n client_id: zod\n .string()\n .min(1)\n .max(createIdpBodyIdpOidcClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(createIdpBodyIdpOidcClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(createIdpBodyIdpOidcTokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .min(1)\n .default(createIdpBodyIdpOidcScopesDefault)\n .describe(\n \"Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.\",\n ),\n pkce_enabled: zod\n .boolean()\n .default(createIdpBodyIdpOidcPkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n })\n .optional()\n .describe(\n \"OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document.\",\n ),\n oauth2: zod\n .object({\n authorization_endpoint: zod\n .string()\n .regex(createIdpBodyIdpOauth2AuthorizationEndpointRegExp)\n .describe(\"Where the user is sent to authorize.\"),\n token_endpoint: zod\n .string()\n .regex(createIdpBodyIdpOauth2TokenEndpointRegExp)\n .describe(\"Where the authorization code is exchanged.\"),\n userinfo_endpoint: zod\n .string()\n .regex(createIdpBodyIdpOauth2UserinfoEndpointRegExp)\n .describe(\"Where the authenticated user's profile is fetched.\"),\n client_id: zod\n .string()\n .min(1)\n .max(createIdpBodyIdpOauth2ClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(createIdpBodyIdpOauth2ClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(createIdpBodyIdpOauth2TokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .optional()\n .describe(\"Provider-specific; OAuth 2.0 defines no universal scope.\"),\n pkce_enabled: zod\n .boolean()\n .default(createIdpBodyIdpOauth2PkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n supplementary_fetch: zod\n .enum([\"github_primary_email\"])\n .optional()\n .describe(\n \"Provider-specific follow-up call after userinfo. New values are non-breaking.\",\n ),\n })\n .optional()\n .describe(\"OAuth 2.0 connection details.\"),\n }),\n })\n .describe(\"Creates or revises an identity provider connection document.\");\n\nexport const createIdpResponseDefinitionSlugMax = 64;\n\nexport const createIdpResponseDefinitionSlugRegExp = new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\nexport const createIdpResponseDefinitionDisplayNameMax = 256;\n\nexport const createIdpResponseDefinitionClaimMappingRegExpOne = new RegExp(\"^[^$]\");\nexport const createIdpResponseDefinitionProvisioningCreationDefault = `auto`;\nexport const createIdpResponseDefinitionOidcIssuerRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)(\\/[^\\\\s?#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOidcJwksUriRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOidcIdTokenMappingDefault = false;\nexport const createIdpResponseDefinitionOidcAuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOidcTokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOidcUserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOidcClientIdMax = 512;\n\nexport const createIdpResponseDefinitionOidcClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const createIdpResponseDefinitionOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const createIdpResponseDefinitionOidcScopesDefault = [`openid`, `profile`, `email`];\n\nexport const createIdpResponseDefinitionOidcPkceEnabledDefault = true;\nexport const createIdpResponseDefinitionOauth2AuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOauth2TokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOauth2UserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const createIdpResponseDefinitionOauth2ClientIdMax = 512;\n\nexport const createIdpResponseDefinitionOauth2ClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const createIdpResponseDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const createIdpResponseDefinitionOauth2PkceEnabledDefault = true;\n\nexport const CreateIdpResponse = zod\n .object({\n id: zod\n .string()\n .describe(\n \"A unique connection id, generated when the connection is created, and shared by\\nevery revision. This id is referenced by the identity links.\\n\",\n ),\n revision_id: zod\n .string()\n .describe(\n \"The id of the revision this row holds, pinned by auth attempts and\\nreleases. `GET \\/idps\\/{id}` and the query return the newest one;\\n`GET \\/idps\\/revisions\\/{revision_id}` returns the requested revision.\\n\",\n ),\n slug: zod\n .string()\n .describe(\n \"The identifier by which user schemas and flow definitions reference the\\nconnection. Fixed for the life of the connection.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the connection was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this revision was created. On the newest revision, that is when\\nthe connection was last revised.\\n\",\n ),\n definition: zod.object({\n slug: zod\n .string()\n .max(createIdpResponseDefinitionSlugMax)\n .regex(createIdpResponseDefinitionSlugRegExp)\n .describe(\n \"Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.\",\n ),\n protocol: zod\n .enum([\"oidc\", \"oauth2\"])\n .describe(\"The protocol used by the identity provider.\"),\n template: zod\n .string()\n .optional()\n .describe(\n \"Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks.\",\n ),\n display_name: zod\n .string()\n .min(1)\n .max(createIdpResponseDefinitionDisplayNameMax)\n .describe(\"Shown to the user on the sign-in button.\"),\n subject_claim: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.\",\n ),\n claim_mapping: zod\n .record(zod.string(), zod.string().regex(createIdpResponseDefinitionClaimMappingRegExpOne))\n .optional()\n .describe(\n \"Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.\",\n ),\n verified_claims: zod\n .record(zod.string(), zod.union([zod.boolean(), zod.string()]))\n .optional()\n .describe(\n 'Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `\\\"$supplementary_fetch\\\"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state.',\n ),\n provisioning: zod\n .object({\n creation: zod\n .enum([\"disabled\", \"auto\"])\n .default(createIdpResponseDefinitionProvisioningCreationDefault),\n })\n .optional()\n .describe(\n \"How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.\",\n ),\n oidc: zod\n .object({\n issuer: zod\n .string()\n .regex(createIdpResponseDefinitionOidcIssuerRegExp)\n .describe(\n \"Discovery base. Endpoints are resolved from its .well-known document unless overridden below.\",\n ),\n jwks_uri: zod\n .string()\n .regex(createIdpResponseDefinitionOidcJwksUriRegExp)\n .optional()\n .describe(\n \"Overrides the JWKS endpoint from discovery. Required in practice when the provider exposes no .well-known document, since ID tokens cannot otherwise be validated.\",\n ),\n id_token_mapping: zod\n .boolean()\n .default(createIdpResponseDefinitionOidcIdTokenMappingDefault)\n .describe(\n \"Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former.\",\n ),\n authorization_endpoint: zod\n .string()\n .regex(createIdpResponseDefinitionOidcAuthorizationEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n token_endpoint: zod\n .string()\n .regex(createIdpResponseDefinitionOidcTokenEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n userinfo_endpoint: zod\n .string()\n .regex(createIdpResponseDefinitionOidcUserinfoEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n client_id: zod\n .string()\n .min(1)\n .max(createIdpResponseDefinitionOidcClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(createIdpResponseDefinitionOidcClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(createIdpResponseDefinitionOidcTokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .min(1)\n .default(createIdpResponseDefinitionOidcScopesDefault)\n .describe(\n \"Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.\",\n ),\n pkce_enabled: zod\n .boolean()\n .default(createIdpResponseDefinitionOidcPkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n })\n .optional()\n .describe(\n \"OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document.\",\n ),\n oauth2: zod\n .object({\n authorization_endpoint: zod\n .string()\n .regex(createIdpResponseDefinitionOauth2AuthorizationEndpointRegExp)\n .describe(\"Where the user is sent to authorize.\"),\n token_endpoint: zod\n .string()\n .regex(createIdpResponseDefinitionOauth2TokenEndpointRegExp)\n .describe(\"Where the authorization code is exchanged.\"),\n userinfo_endpoint: zod\n .string()\n .regex(createIdpResponseDefinitionOauth2UserinfoEndpointRegExp)\n .describe(\"Where the authenticated user's profile is fetched.\"),\n client_id: zod\n .string()\n .min(1)\n .max(createIdpResponseDefinitionOauth2ClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(createIdpResponseDefinitionOauth2ClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(createIdpResponseDefinitionOauth2TokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .optional()\n .describe(\"Provider-specific; OAuth 2.0 defines no universal scope.\"),\n pkce_enabled: zod\n .boolean()\n .default(createIdpResponseDefinitionOauth2PkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n supplementary_fetch: zod\n .enum([\"github_primary_email\"])\n .optional()\n .describe(\n \"Provider-specific follow-up call after userinfo. New values are non-breaking.\",\n ),\n })\n .optional()\n .describe(\"OAuth 2.0 connection details.\"),\n }),\n })\n .describe(\"An identity provider connection.\\n\");\n\n/**\n * Returns the identity provider connections of a project, paginated with a\ncursor. One row per connection, carrying its newest revision.\n\n * @summary Query identity provider connections\n */\nexport const queryIdpsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const QueryIdpsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(queryIdpsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const queryIdpsBodyLimitDefault = 20;\nexport const queryIdpsBodyLimitMax = 100;\n\nexport const QueryIdpsBody = zod\n .object({\n limit: zod.number().min(1).max(queryIdpsBodyLimitMax).default(queryIdpsBodyLimitDefault),\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([\"slug\", \"created_at\"])\n .describe(\n \"Field to filter or sort identity provider connections by:\\n- `slug`: unique within the project. `equals` returns the newest revision\\n of that connection\\n- `created_at`: RFC3339 timestamp\\n\",\n ),\n direction: zod.enum([\"asc\", \"desc\"]),\n })\n .optional()\n .describe(\"Sort order. Defaults to `created_at` ascending; `id` breaks ties either way.\"),\n filter: zod\n .array(\n zod.object({\n field: zod\n .enum([\"slug\", \"created_at\"])\n .describe(\n \"Field to filter or sort identity provider connections by:\\n- `slug`: unique within the project. `equals` returns the newest revision\\n of that connection\\n- `created_at`: RFC3339 timestamp\\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 connections. Combined with AND.\"),\n })\n .describe(\"Request to query the identity provider connections of a project.\");\n\nexport const queryIdpsResponseIdpsItemDefinitionSlugMax = 64;\n\nexport const queryIdpsResponseIdpsItemDefinitionSlugRegExp = new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\nexport const queryIdpsResponseIdpsItemDefinitionDisplayNameMax = 256;\n\nexport const queryIdpsResponseIdpsItemDefinitionClaimMappingRegExpOne = new RegExp(\"^[^$]\");\nexport const queryIdpsResponseIdpsItemDefinitionProvisioningCreationDefault = `auto`;\nexport const queryIdpsResponseIdpsItemDefinitionOidcIssuerRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)(\\/[^\\\\s?#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOidcJwksUriRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOidcIdTokenMappingDefault = false;\nexport const queryIdpsResponseIdpsItemDefinitionOidcAuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOidcUserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOidcClientIdMax = 512;\n\nexport const queryIdpsResponseIdpsItemDefinitionOidcClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const queryIdpsResponseIdpsItemDefinitionOidcScopesDefault = [`openid`, `profile`, `email`];\n\nexport const queryIdpsResponseIdpsItemDefinitionOidcPkceEnabledDefault = true;\nexport const queryIdpsResponseIdpsItemDefinitionOauth2AuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOauth2UserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOauth2ClientIdMax = 512;\n\nexport const queryIdpsResponseIdpsItemDefinitionOauth2ClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const queryIdpsResponseIdpsItemDefinitionOauth2PkceEnabledDefault = true;\n\nexport const QueryIdpsResponse = zod\n .object({\n idps: zod.array(\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"A unique connection id, generated when the connection is created, and shared by\\nevery revision. This id is referenced by the identity links.\\n\",\n ),\n revision_id: zod\n .string()\n .describe(\n \"The id of the revision this row holds, pinned by auth attempts and\\nreleases. `GET \\/idps\\/{id}` and the query return the newest one;\\n`GET \\/idps\\/revisions\\/{revision_id}` returns the requested revision.\\n\",\n ),\n slug: zod\n .string()\n .describe(\n \"The identifier by which user schemas and flow definitions reference the\\nconnection. Fixed for the life of the connection.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the connection was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this revision was created. On the newest revision, that is when\\nthe connection was last revised.\\n\",\n ),\n definition: zod.object({\n slug: zod\n .string()\n .max(queryIdpsResponseIdpsItemDefinitionSlugMax)\n .regex(queryIdpsResponseIdpsItemDefinitionSlugRegExp)\n .describe(\n \"Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.\",\n ),\n protocol: zod\n .enum([\"oidc\", \"oauth2\"])\n .describe(\"The protocol used by the identity provider.\"),\n template: zod\n .string()\n .optional()\n .describe(\n \"Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks.\",\n ),\n display_name: zod\n .string()\n .min(1)\n .max(queryIdpsResponseIdpsItemDefinitionDisplayNameMax)\n .describe(\"Shown to the user on the sign-in button.\"),\n subject_claim: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.\",\n ),\n claim_mapping: zod\n .record(\n zod.string(),\n zod.string().regex(queryIdpsResponseIdpsItemDefinitionClaimMappingRegExpOne),\n )\n .optional()\n .describe(\n \"Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.\",\n ),\n verified_claims: zod\n .record(zod.string(), zod.union([zod.boolean(), zod.string()]))\n .optional()\n .describe(\n 'Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `\\\"$supplementary_fetch\\\"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state.',\n ),\n provisioning: zod\n .object({\n creation: zod\n .enum([\"disabled\", \"auto\"])\n .default(queryIdpsResponseIdpsItemDefinitionProvisioningCreationDefault),\n })\n .optional()\n .describe(\n \"How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.\",\n ),\n oidc: zod\n .object({\n issuer: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOidcIssuerRegExp)\n .describe(\n \"Discovery base. Endpoints are resolved from its .well-known document unless overridden below.\",\n ),\n jwks_uri: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOidcJwksUriRegExp)\n .optional()\n .describe(\n \"Overrides the JWKS endpoint from discovery. Required in practice when the provider exposes no .well-known document, since ID tokens cannot otherwise be validated.\",\n ),\n id_token_mapping: zod\n .boolean()\n .default(queryIdpsResponseIdpsItemDefinitionOidcIdTokenMappingDefault)\n .describe(\n \"Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former.\",\n ),\n authorization_endpoint: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOidcAuthorizationEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n token_endpoint: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n userinfo_endpoint: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOidcUserinfoEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n client_id: zod\n .string()\n .min(1)\n .max(queryIdpsResponseIdpsItemDefinitionOidcClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOidcClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .min(1)\n .default(queryIdpsResponseIdpsItemDefinitionOidcScopesDefault)\n .describe(\n \"Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.\",\n ),\n pkce_enabled: zod\n .boolean()\n .default(queryIdpsResponseIdpsItemDefinitionOidcPkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n })\n .optional()\n .describe(\n \"OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document.\",\n ),\n oauth2: zod\n .object({\n authorization_endpoint: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOauth2AuthorizationEndpointRegExp)\n .describe(\"Where the user is sent to authorize.\"),\n token_endpoint: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointRegExp)\n .describe(\"Where the authorization code is exchanged.\"),\n userinfo_endpoint: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOauth2UserinfoEndpointRegExp)\n .describe(\"Where the authenticated user's profile is fetched.\"),\n client_id: zod\n .string()\n .min(1)\n .max(queryIdpsResponseIdpsItemDefinitionOauth2ClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(queryIdpsResponseIdpsItemDefinitionOauth2ClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .optional()\n .describe(\"Provider-specific; OAuth 2.0 defines no universal scope.\"),\n pkce_enabled: zod\n .boolean()\n .default(queryIdpsResponseIdpsItemDefinitionOauth2PkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n supplementary_fetch: zod\n .enum([\"github_primary_email\"])\n .optional()\n .describe(\n \"Provider-specific follow-up call after userinfo. New values are non-breaking.\",\n ),\n })\n .optional()\n .describe(\"OAuth 2.0 connection details.\"),\n }),\n })\n .describe(\"An identity provider connection.\\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. 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 identity provider connections.\\n\");\n\n/**\n * Reads a connection by its id, at its newest revision.\n`GET /idps/{id}/revisions` lists every revision of the connection.\n\nThe lookup is scoped to the project in `project_id`.\n\n * @summary Get an identity provider connection by id\n */\nexport const GetIdpByIdParams = zod.object({\n id: zod.string().describe(\"The connection id, allocated when the connection was created.\"),\n});\n\nexport const getIdpByIdQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetIdpByIdQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getIdpByIdQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getIdpByIdResponseDefinitionSlugMax = 64;\n\nexport const getIdpByIdResponseDefinitionSlugRegExp = new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\nexport const getIdpByIdResponseDefinitionDisplayNameMax = 256;\n\nexport const getIdpByIdResponseDefinitionClaimMappingRegExpOne = new RegExp(\"^[^$]\");\nexport const getIdpByIdResponseDefinitionProvisioningCreationDefault = `auto`;\nexport const getIdpByIdResponseDefinitionOidcIssuerRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)(\\/[^\\\\s?#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOidcJwksUriRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOidcIdTokenMappingDefault = false;\nexport const getIdpByIdResponseDefinitionOidcAuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOidcTokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOidcUserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOidcClientIdMax = 512;\n\nexport const getIdpByIdResponseDefinitionOidcClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const getIdpByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const getIdpByIdResponseDefinitionOidcScopesDefault = [`openid`, `profile`, `email`];\n\nexport const getIdpByIdResponseDefinitionOidcPkceEnabledDefault = true;\nexport const getIdpByIdResponseDefinitionOauth2AuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOauth2TokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOauth2UserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpByIdResponseDefinitionOauth2ClientIdMax = 512;\n\nexport const getIdpByIdResponseDefinitionOauth2ClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const getIdpByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const getIdpByIdResponseDefinitionOauth2PkceEnabledDefault = true;\n\nexport const GetIdpByIdResponse = zod\n .object({\n id: zod\n .string()\n .describe(\n \"A unique connection id, generated when the connection is created, and shared by\\nevery revision. This id is referenced by the identity links.\\n\",\n ),\n revision_id: zod\n .string()\n .describe(\n \"The id of the revision this row holds, pinned by auth attempts and\\nreleases. `GET \\/idps\\/{id}` and the query return the newest one;\\n`GET \\/idps\\/revisions\\/{revision_id}` returns the requested revision.\\n\",\n ),\n slug: zod\n .string()\n .describe(\n \"The identifier by which user schemas and flow definitions reference the\\nconnection. Fixed for the life of the connection.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the connection was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this revision was created. On the newest revision, that is when\\nthe connection was last revised.\\n\",\n ),\n definition: zod.object({\n slug: zod\n .string()\n .max(getIdpByIdResponseDefinitionSlugMax)\n .regex(getIdpByIdResponseDefinitionSlugRegExp)\n .describe(\n \"Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.\",\n ),\n protocol: zod\n .enum([\"oidc\", \"oauth2\"])\n .describe(\"The protocol used by the identity provider.\"),\n template: zod\n .string()\n .optional()\n .describe(\n \"Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks.\",\n ),\n display_name: zod\n .string()\n .min(1)\n .max(getIdpByIdResponseDefinitionDisplayNameMax)\n .describe(\"Shown to the user on the sign-in button.\"),\n subject_claim: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.\",\n ),\n claim_mapping: zod\n .record(zod.string(), zod.string().regex(getIdpByIdResponseDefinitionClaimMappingRegExpOne))\n .optional()\n .describe(\n \"Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.\",\n ),\n verified_claims: zod\n .record(zod.string(), zod.union([zod.boolean(), zod.string()]))\n .optional()\n .describe(\n 'Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `\\\"$supplementary_fetch\\\"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state.',\n ),\n provisioning: zod\n .object({\n creation: zod\n .enum([\"disabled\", \"auto\"])\n .default(getIdpByIdResponseDefinitionProvisioningCreationDefault),\n })\n .optional()\n .describe(\n \"How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.\",\n ),\n oidc: zod\n .object({\n issuer: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOidcIssuerRegExp)\n .describe(\n \"Discovery base. Endpoints are resolved from its .well-known document unless overridden below.\",\n ),\n jwks_uri: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOidcJwksUriRegExp)\n .optional()\n .describe(\n \"Overrides the JWKS endpoint from discovery. Required in practice when the provider exposes no .well-known document, since ID tokens cannot otherwise be validated.\",\n ),\n id_token_mapping: zod\n .boolean()\n .default(getIdpByIdResponseDefinitionOidcIdTokenMappingDefault)\n .describe(\n \"Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former.\",\n ),\n authorization_endpoint: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOidcAuthorizationEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n token_endpoint: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOidcTokenEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n userinfo_endpoint: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOidcUserinfoEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n client_id: zod\n .string()\n .min(1)\n .max(getIdpByIdResponseDefinitionOidcClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOidcClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(getIdpByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .min(1)\n .default(getIdpByIdResponseDefinitionOidcScopesDefault)\n .describe(\n \"Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.\",\n ),\n pkce_enabled: zod\n .boolean()\n .default(getIdpByIdResponseDefinitionOidcPkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n })\n .optional()\n .describe(\n \"OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document.\",\n ),\n oauth2: zod\n .object({\n authorization_endpoint: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOauth2AuthorizationEndpointRegExp)\n .describe(\"Where the user is sent to authorize.\"),\n token_endpoint: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOauth2TokenEndpointRegExp)\n .describe(\"Where the authorization code is exchanged.\"),\n userinfo_endpoint: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOauth2UserinfoEndpointRegExp)\n .describe(\"Where the authenticated user's profile is fetched.\"),\n client_id: zod\n .string()\n .min(1)\n .max(getIdpByIdResponseDefinitionOauth2ClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(getIdpByIdResponseDefinitionOauth2ClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(getIdpByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .optional()\n .describe(\"Provider-specific; OAuth 2.0 defines no universal scope.\"),\n pkce_enabled: zod\n .boolean()\n .default(getIdpByIdResponseDefinitionOauth2PkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n supplementary_fetch: zod\n .enum([\"github_primary_email\"])\n .optional()\n .describe(\n \"Provider-specific follow-up call after userinfo. New values are non-breaking.\",\n ),\n })\n .optional()\n .describe(\"OAuth 2.0 connection details.\"),\n }),\n })\n .describe(\"An identity provider connection.\\n\");\n\n/**\n * Returns every revision of one connection, newest first, paginated with a\ncursor. The order is fixed, so there is no `sorting`.\n\nThe lookup is scoped to the project in `project_id`.\n\n * @summary List the revisions of an identity provider connection\n */\nexport const ListIdpRevisionsParams = zod.object({\n id: zod.string().describe(\"The connection id, allocated when the connection was created.\"),\n});\n\nexport const listIdpRevisionsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listIdpRevisionsQueryLimitDefault = 20;\nexport const listIdpRevisionsQueryLimitMax = 100;\n\nexport const ListIdpRevisionsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(listIdpRevisionsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n limit: zod\n .number()\n .min(1)\n .max(listIdpRevisionsQueryLimitMax)\n .default(listIdpRevisionsQueryLimitDefault)\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 listIdpRevisionsResponseRevisionsItemDefinitionSlugMax = 64;\n\nexport const listIdpRevisionsResponseRevisionsItemDefinitionSlugRegExp = new RegExp(\n \"^[a-z0-9][a-z0-9_-]\\*$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionDisplayNameMax = 256;\n\nexport const listIdpRevisionsResponseRevisionsItemDefinitionClaimMappingRegExpOne = new RegExp(\n \"^[^$]\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionProvisioningCreationDefault = `auto`;\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcIssuerRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)(\\/[^\\\\s?#]\\*)?$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcJwksUriRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcIdTokenMappingDefault = false;\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcAuthorizationEndpointRegExp =\n new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n );\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcUserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcClientIdMax = 512;\n\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault = [\n `openid`,\n `profile`,\n `email`,\n];\n\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOidcPkceEnabledDefault = true;\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2AuthorizationEndpointRegExp =\n new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n );\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2UserinfoEndpointRegExp =\n new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n );\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientIdMax = 512;\n\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const listIdpRevisionsResponseRevisionsItemDefinitionOauth2PkceEnabledDefault = true;\n\nexport const ListIdpRevisionsResponse = zod\n .object({\n revisions: zod.array(\n zod\n .object({\n id: zod\n .string()\n .describe(\n \"A unique connection id, generated when the connection is created, and shared by\\nevery revision. This id is referenced by the identity links.\\n\",\n ),\n revision_id: zod\n .string()\n .describe(\n \"The id of the revision this row holds, pinned by auth attempts and\\nreleases. `GET \\/idps\\/{id}` and the query return the newest one;\\n`GET \\/idps\\/revisions\\/{revision_id}` returns the requested revision.\\n\",\n ),\n slug: zod\n .string()\n .describe(\n \"The identifier by which user schemas and flow definitions reference the\\nconnection. Fixed for the life of the connection.\\n\",\n ),\n created_at: zod.iso\n .datetime({ offset: true })\n .describe(\"When the connection was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this revision was created. On the newest revision, that is when\\nthe connection was last revised.\\n\",\n ),\n definition: zod.object({\n slug: zod\n .string()\n .max(listIdpRevisionsResponseRevisionsItemDefinitionSlugMax)\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionSlugRegExp)\n .describe(\n \"Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.\",\n ),\n protocol: zod\n .enum([\"oidc\", \"oauth2\"])\n .describe(\"The protocol used by the identity provider.\"),\n template: zod\n .string()\n .optional()\n .describe(\n \"Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks.\",\n ),\n display_name: zod\n .string()\n .min(1)\n .max(listIdpRevisionsResponseRevisionsItemDefinitionDisplayNameMax)\n .describe(\"Shown to the user on the sign-in button.\"),\n subject_claim: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.\",\n ),\n claim_mapping: zod\n .record(\n zod.string(),\n zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionClaimMappingRegExpOne),\n )\n .optional()\n .describe(\n \"Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.\",\n ),\n verified_claims: zod\n .record(zod.string(), zod.union([zod.boolean(), zod.string()]))\n .optional()\n .describe(\n 'Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `\\\"$supplementary_fetch\\\"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state.',\n ),\n provisioning: zod\n .object({\n creation: zod\n .enum([\"disabled\", \"auto\"])\n .default(\n listIdpRevisionsResponseRevisionsItemDefinitionProvisioningCreationDefault,\n ),\n })\n .optional()\n .describe(\n \"How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.\",\n ),\n oidc: zod\n .object({\n issuer: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOidcIssuerRegExp)\n .describe(\n \"Discovery base. Endpoints are resolved from its .well-known document unless overridden below.\",\n ),\n jwks_uri: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOidcJwksUriRegExp)\n .optional()\n .describe(\n \"Overrides the JWKS endpoint from discovery. Required in practice when the provider exposes no .well-known document, since ID tokens cannot otherwise be validated.\",\n ),\n id_token_mapping: zod\n .boolean()\n .default(listIdpRevisionsResponseRevisionsItemDefinitionOidcIdTokenMappingDefault)\n .describe(\n \"Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former.\",\n ),\n authorization_endpoint: zod\n .string()\n .regex(\n listIdpRevisionsResponseRevisionsItemDefinitionOidcAuthorizationEndpointRegExp,\n )\n .optional()\n .describe(\"Overrides discovery.\"),\n token_endpoint: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n userinfo_endpoint: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOidcUserinfoEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n client_id: zod\n .string()\n .min(1)\n .max(listIdpRevisionsResponseRevisionsItemDefinitionOidcClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOidcClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(\n listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointAuthMethodDefault,\n )\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .min(1)\n .default(listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault)\n .describe(\n \"Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.\",\n ),\n pkce_enabled: zod\n .boolean()\n .default(listIdpRevisionsResponseRevisionsItemDefinitionOidcPkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n })\n .optional()\n .describe(\n \"OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document.\",\n ),\n oauth2: zod\n .object({\n authorization_endpoint: zod\n .string()\n .regex(\n listIdpRevisionsResponseRevisionsItemDefinitionOauth2AuthorizationEndpointRegExp,\n )\n .describe(\"Where the user is sent to authorize.\"),\n token_endpoint: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointRegExp)\n .describe(\"Where the authorization code is exchanged.\"),\n userinfo_endpoint: zod\n .string()\n .regex(\n listIdpRevisionsResponseRevisionsItemDefinitionOauth2UserinfoEndpointRegExp,\n )\n .describe(\"Where the authenticated user's profile is fetched.\"),\n client_id: zod\n .string()\n .min(1)\n .max(listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(\n listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointAuthMethodDefault,\n )\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .optional()\n .describe(\"Provider-specific; OAuth 2.0 defines no universal scope.\"),\n pkce_enabled: zod\n .boolean()\n .default(listIdpRevisionsResponseRevisionsItemDefinitionOauth2PkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n supplementary_fetch: zod\n .enum([\"github_primary_email\"])\n .optional()\n .describe(\n \"Provider-specific follow-up call after userinfo. New values are non-breaking.\",\n ),\n })\n .optional()\n .describe(\"OAuth 2.0 connection details.\"),\n }),\n })\n .describe(\"An identity provider connection.\\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\\npage. Absent when there are no more results.\\n\",\n ),\n })\n .describe(\n \"Paginated list of the revisions of one identity provider connection, newest\\nfirst.\\n\",\n );\n\n/**\n * Reads one revision of a connection by its `revision_id`, the value an auth\nattempt or a release pins.\n\nThe lookup is scoped to the project in `project_id`.\n\n * @summary Get one revision of an identity provider connection\n */\nexport const GetIdpRevisionByIdParams = zod.object({\n revision_id: zod.string().describe(\"The revision id, allocated when the revision was written.\"),\n});\n\nexport const getIdpRevisionByIdQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const GetIdpRevisionByIdQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getIdpRevisionByIdQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const getIdpRevisionByIdResponseDefinitionSlugMax = 64;\n\nexport const getIdpRevisionByIdResponseDefinitionSlugRegExp = new RegExp(\"^[a-z0-9][a-z0-9_-]\\*$\");\nexport const getIdpRevisionByIdResponseDefinitionDisplayNameMax = 256;\n\nexport const getIdpRevisionByIdResponseDefinitionClaimMappingRegExpOne = new RegExp(\"^[^$]\");\nexport const getIdpRevisionByIdResponseDefinitionProvisioningCreationDefault = `auto`;\nexport const getIdpRevisionByIdResponseDefinitionOidcIssuerRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)(\\/[^\\\\s?#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOidcJwksUriRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOidcIdTokenMappingDefault = false;\nexport const getIdpRevisionByIdResponseDefinitionOidcAuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOidcTokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOidcUserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOidcClientIdMax = 512;\n\nexport const getIdpRevisionByIdResponseDefinitionOidcClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const getIdpRevisionByIdResponseDefinitionOidcScopesDefault = [`openid`, `profile`, `email`];\n\nexport const getIdpRevisionByIdResponseDefinitionOidcPkceEnabledDefault = true;\nexport const getIdpRevisionByIdResponseDefinitionOauth2AuthorizationEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOauth2UserinfoEndpointRegExp = new RegExp(\n \"^(https:\\/\\/[^\\\\s\\/?#]+|http:\\/\\/(localhost|127\\\\.0\\\\.0\\\\.1)(:[0-9]+)?)([\\/?][^\\\\s#]\\*)?$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOauth2ClientIdMax = 512;\n\nexport const getIdpRevisionByIdResponseDefinitionOauth2ClientSecretRegExp = new RegExp(\n \"^\\\\$\\\\{\\\\{ \\*[A-Za-z0-9_]+ \\*\\\\}\\\\}$\",\n);\nexport const getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;\nexport const getIdpRevisionByIdResponseDefinitionOauth2PkceEnabledDefault = true;\n\nexport const GetIdpRevisionByIdResponse = zod\n .object({\n id: zod\n .string()\n .describe(\n \"A unique connection id, generated when the connection is created, and shared by\\nevery revision. This id is referenced by the identity links.\\n\",\n ),\n revision_id: zod\n .string()\n .describe(\n \"The id of the revision this row holds, pinned by auth attempts and\\nreleases. `GET \\/idps\\/{id}` and the query return the newest one;\\n`GET \\/idps\\/revisions\\/{revision_id}` returns the requested revision.\\n\",\n ),\n slug: zod\n .string()\n .describe(\n \"The identifier by which user schemas and flow definitions reference the\\nconnection. Fixed for the life of the connection.\\n\",\n ),\n created_at: zod.iso.datetime({ offset: true }).describe(\"When the connection was created.\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .describe(\n \"When this revision was created. On the newest revision, that is when\\nthe connection was last revised.\\n\",\n ),\n definition: zod.object({\n slug: zod\n .string()\n .max(getIdpRevisionByIdResponseDefinitionSlugMax)\n .regex(getIdpRevisionByIdResponseDefinitionSlugRegExp)\n .describe(\n \"Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.\",\n ),\n protocol: zod\n .enum([\"oidc\", \"oauth2\"])\n .describe(\"The protocol used by the identity provider.\"),\n template: zod\n .string()\n .optional()\n .describe(\n \"Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks.\",\n ),\n display_name: zod\n .string()\n .min(1)\n .max(getIdpRevisionByIdResponseDefinitionDisplayNameMax)\n .describe(\"Shown to the user on the sign-in button.\"),\n subject_claim: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.\",\n ),\n claim_mapping: zod\n .record(\n zod.string(),\n zod.string().regex(getIdpRevisionByIdResponseDefinitionClaimMappingRegExpOne),\n )\n .optional()\n .describe(\n \"Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.\",\n ),\n verified_claims: zod\n .record(zod.string(), zod.union([zod.boolean(), zod.string()]))\n .optional()\n .describe(\n 'Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `\\\"$supplementary_fetch\\\"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state.',\n ),\n provisioning: zod\n .object({\n creation: zod\n .enum([\"disabled\", \"auto\"])\n .default(getIdpRevisionByIdResponseDefinitionProvisioningCreationDefault),\n })\n .optional()\n .describe(\n \"How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state.\",\n ),\n oidc: zod\n .object({\n issuer: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOidcIssuerRegExp)\n .describe(\n \"Discovery base. Endpoints are resolved from its .well-known document unless overridden below.\",\n ),\n jwks_uri: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOidcJwksUriRegExp)\n .optional()\n .describe(\n \"Overrides the JWKS endpoint from discovery. Required in practice when the provider exposes no .well-known document, since ID tokens cannot otherwise be validated.\",\n ),\n id_token_mapping: zod\n .boolean()\n .default(getIdpRevisionByIdResponseDefinitionOidcIdTokenMappingDefault)\n .describe(\n \"Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former.\",\n ),\n authorization_endpoint: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOidcAuthorizationEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n token_endpoint: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOidcTokenEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n userinfo_endpoint: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOidcUserinfoEndpointRegExp)\n .optional()\n .describe(\"Overrides discovery.\"),\n client_id: zod\n .string()\n .min(1)\n .max(getIdpRevisionByIdResponseDefinitionOidcClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOidcClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(getIdpRevisionByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .min(1)\n .default(getIdpRevisionByIdResponseDefinitionOidcScopesDefault)\n .describe(\n \"Must contain `openid` - without it the provider returns no id_token and the connection is not OIDC. Enforced by `required` + `contains`; the `default` is a UI-prefill hint only - validators never inject it, so an omitted `scopes` is rejected regardless.\",\n ),\n pkce_enabled: zod\n .boolean()\n .default(getIdpRevisionByIdResponseDefinitionOidcPkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n })\n .optional()\n .describe(\n \"OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document.\",\n ),\n oauth2: zod\n .object({\n authorization_endpoint: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOauth2AuthorizationEndpointRegExp)\n .describe(\"Where the user is sent to authorize.\"),\n token_endpoint: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointRegExp)\n .describe(\"Where the authorization code is exchanged.\"),\n userinfo_endpoint: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOauth2UserinfoEndpointRegExp)\n .describe(\"Where the authenticated user's profile is fetched.\"),\n client_id: zod\n .string()\n .min(1)\n .max(getIdpRevisionByIdResponseDefinitionOauth2ClientIdMax)\n .describe(\n \"Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.\",\n ),\n client_secret: zod\n .string()\n .regex(getIdpRevisionByIdResponseDefinitionOauth2ClientSecretRegExp)\n .describe(\n \"A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.\",\n ),\n token_endpoint_auth_method: zod\n .enum([\"client_secret_basic\", \"client_secret_post\"])\n .default(getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault)\n .describe(\"How the client authenticates at the token endpoint.\"),\n scopes: zod\n .array(zod.string().min(1))\n .optional()\n .describe(\"Provider-specific; OAuth 2.0 defines no universal scope.\"),\n pkce_enabled: zod\n .boolean()\n .default(getIdpRevisionByIdResponseDefinitionOauth2PkceEnabledDefault)\n .describe(\n \"Send PKCE (code_challenge\\/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them.\",\n ),\n static_authorize_parameters: zod\n .record(zod.string(), zod.string())\n .optional()\n .describe(\n \"Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.\",\n ),\n supplementary_fetch: zod\n .enum([\"github_primary_email\"])\n .optional()\n .describe(\n \"Provider-specific follow-up call after userinfo. New values are non-breaking.\",\n ),\n })\n .optional()\n .describe(\"OAuth 2.0 connection details.\"),\n }),\n })\n .describe(\"An identity provider connection.\\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 createReleaseBodyPointersMax = 50;\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 .max(createReleaseBodyPointersMax)\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\\nThe upper bound counts \\*resources\\*, not revisions — one release pins at\\nmost one revision of each — so it is a limit on how much a project\\nconfigures, not on how often it changes. It keeps the server's\\nper-pointer revision lookups bounded by the contract rather than by the\\nrequest, and is set conservatively: raising it is a spec change, and\\nwidening a bound breaks no client that was already inside it.\\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 createReleaseResponsePointersMax = 50;\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 .max(createReleaseResponsePointersMax)\n .describe(\n \"The revisions this release pins, one entry per `(kind, handle)`. Never\\nempty: a release must contain at least one resource, and never longer\\nthan the set `POST \\/releases` accepts.\\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 getReleaseByIdResponsePointersMax = 50;\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 .max(getReleaseByIdResponsePointersMax)\n .describe(\n \"The revisions this release pins, one entry per `(kind, handle)`. Never\\nempty: a release must contain at least one resource, and never longer\\nthan the set `POST \\/releases` accepts.\\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.\nName the principal with `user` (`user_id` or `identifier`) or `team`\n(`team_id` or `name`). IDs are `asgn_<opaque>`. Owning-team\n(`project.team`) grants are not created here — claim owns that path. An\nunrevoked grant with the same principal and relation occupies the unique\nkey even after `expires_at`; DELETE it before re-creating.\nCreate does not accept `expand`. The `user_id` and team locators\nreturn 201, whose `user` / `team` carry only `user_id` / `team_id`,\nand still 404 / 409 when the principal is missing or the tuple\nalready exists. Creating by `user.identifier` answers 202 with no\nbody on every outcome. Granting the session caller's own user is\n`grant.invalid` on either user locator. Read the grant back for\nidentifier and display.\n\nAccepts either a project secret (`oauth2`) or a user-bound Console\nsession cookie (`nextgenSession`). Session callers are authorized as\nthe human against the target project (home may differ). CSRF/Origin\nfor cookie mutations is a follow-up (#1140).\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 createGrantBodyUserUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const createGrantBodyTeamTeamIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const CreateGrantBody = zod\n .object({\n relation: zod\n .enum([\"viewer\", \"editor\", \"admin\"])\n .describe(\n \"Catalog relation on `object_type` `project`. `team` (owning-team) is not allowed.\",\n ),\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 user: zod\n .object({\n user_id: zod.string().regex(createGrantBodyUserUserIdRegExp).optional(),\n identifier: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"The user schema's designated identifier (`x-identifier`), looked\\nup in the platform project. Create answers 202 with no body on\\nevery outcome: a hit, a duplicate, a miss, and several matches are\\nindistinguishable, and a miss or several matches write nothing.\\nThe server logs the lookup outcome. Granting the session caller's\\nown resolved user is `grant.invalid`.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Name a user with exactly one of `user_id` or `identifier`. Sending both\\nor neither is `grant.invalid`. Unknown properties are rejected by\\n`additionalProperties: false` as `req.invalid` before the handler runs.\\n\",\n ),\n team: zod\n .object({\n team_id: zod.string().regex(createGrantBodyTeamTeamIdRegExp).optional(),\n name: zod\n .string()\n .min(1)\n .optional()\n .describe(\n \"Team name, unique per project case-insensitively. Looked up in\\nthe platform project. The team must be active.\\n\",\n ),\n })\n .optional()\n .describe(\n \"Name a team with exactly one of `team_id` or `name`. Sending both\\nor neither is `grant.invalid`. Unknown properties are rejected by\\n`additionalProperties: false` as `req.invalid` before the handler runs.\\n\",\n ),\n })\n .describe(\n \"Bind a user or a team. Exactly one of `user` or `team`. Shared fields are\\n`relation` and optional `expires_at`. Sending both locators or neither is\\n`grant.invalid`.\\n\",\n );\n\n/**\n * Returns the collaboration grants of a project, paginated with a cursor.\nOnly unrevoked grants this API manages are listed (user or team bound to\nviewer, editor, or admin), including expired grants so a client can\nDELETE before re-granting. Project-secret setup (`sk_proj`) and\nowning-team (`relation=team`) rows are not returned. Grants are not in\n`resource_scope_index`; project scope is required on the query (same as\nget). Requires `project.read`. `expand: [\"principal\"]` adds envelope\nfields on `user` / `team` and additionally requires `user.read` and\n`team.read` for project secrets (documented on the expand enum; those\nscopes cannot be ANDed onto this security block because they are\nbody-conditional). A user-bound Console session that already passed\nthe project Check may expand without those scopes.\n\nAccepts either a project secret (`oauth2`) or a user-bound Console\nsession cookie (`nextgenSession`). CSRF/Origin for cookie mutations\nis a follow-up (#1140).\n\n * @summary Query grants\n */\nexport const queryGrantsQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\n\nexport const QueryGrantsQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(queryGrantsQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n});\n\nexport const queryGrantsBodyLimitDefault = 20;\nexport const queryGrantsBodyLimitMax = 100;\n\nexport const QueryGrantsBody = zod\n .object({\n limit: zod.number().min(1).max(queryGrantsBodyLimitMax).default(queryGrantsBodyLimitDefault),\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([\"principal\"])\n .describe(\n \"Ask for extra fields on the bound user or team. Those extras land on\\n`user` or `team` themselves; there is no sibling `principal` object.\\n\\n`principal` adds `schema`, `attributes`, and `metadata` on `user`, or\\n`status`, `created_at`, and `updated_at` on `team`. The id (`user_id` \\/\\n`team_id`) is always present. If the user or team cannot be loaded, the\\nobject stays id-only — the same shape as not expanding.\\n\\nExpanding requires `user.read` and `team.read` in addition to\\n`project.read` for project secrets. Both are checked once for the whole\\nrequest. If the caller lacks either, the request is 403; extras are not\\nomitted silently. A user-bound Console session that already passed the\\nproject Check may expand without those scopes.\\n\",\n ),\n )\n .optional()\n .describe(\n \"Extra principal fields to add onto each grant's `user` or `team`\\n(ADR 059 grant exception). Omit it and those objects stay refs. An\\nunrecognised value is rejected.\\n\",\n ),\n sorting: zod\n .object({\n field: zod\n .enum([\"created_at\", \"expires_at\", \"id\"])\n .describe(\n \"Field to sort grants by. Default is `created_at` ascending with `id` as\\nthe tiebreaker.\\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\", \"team_id\", \"relation\", \"expires_at\"])\n .describe(\n \"Field to filter grants by:\\n- `created_at`: RFC3339 timestamp\\n- `user_id`: user principal id (`user_<opaque>`)\\n- `team_id`: team principal id (`team_<opaque>`)\\n- `relation`: `viewer`, `editor`, or `admin`\\n- `expires_at`: RFC3339 timestamp (null when the grant does not expire)\\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 grants. Combined with AND.\"),\n })\n .describe(\"Request to query the grants of a project.\");\n\nexport const queryGrantsResponseGrantsItemUserOneUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\n\nexport const QueryGrantsResponse = zod\n .object({\n grants: zod.array(\n 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 object_type: zod\n .enum([\"project\"])\n .describe(\"Catalog object type. Always `project` for this API.\"),\n relation: zod\n .enum([\"viewer\", \"editor\", \"admin\"])\n .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 user: zod\n .object({\n user_id: zod.string().regex(queryGrantsResponseGrantsItemUserOneUserIdRegExp),\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 .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`.\\nMissing or deleted users degrade to `user_id` only.\\n\",\n )\n .and(\n zod.object({\n schema: zod\n .string()\n .optional()\n .describe(\n 'The schema that defines `attributes`. Present only when the request\\nasked for `expand: [\\\"principal\\\"]` and the user could be loaded.\\n',\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .optional()\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\n .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 .optional(),\n }),\n )\n .optional()\n .describe(\n 'User bound by this grant. Always a user-ref (`user_id`, never `id`).\\n`expand: [\\\"principal\\\"]` adds the User envelope fields `schema`,\\n`attributes`, and `metadata` on this same object. Missing users degrade to\\n`user_id` only, with or without expand (ADR 059 grant exception).\\n',\n ),\n team: zod\n .object({\n team_id: zod\n .string()\n .describe(\"The referenced team's id (`team_<opaque>`). Always present.\"),\n name: zod\n .string()\n .optional()\n .describe(\"The team's name. Absent when the team can no longer be loaded.\"),\n })\n .describe(\n \"A resolved reference to a team. Carries the team's id and name so a grant\\nlist is readable without embedding the full Team body. Id and display ride\\n`project.read` (ADR 059 rule 8): a reference field carrying only the\\ntarget's id and display strings needs no gate of its own. Missing or\\ndeleted teams degrade to `team_id` only.\\n\",\n )\n .and(\n zod.object({\n status: zod\n .enum([\"active\", \"deactivated\"])\n .optional()\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 .optional()\n .describe(\n \"When the team was created. Present only when expand loaded the team.\\n\",\n ),\n updated_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\n \"When the team was last updated. Present only when expand loaded the team.\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n 'Team bound by this grant. Always a team-ref (`team_id`, never `id`).\\n`expand: [\\\"principal\\\"]` adds `status`, `created_at`, and `updated_at` on\\nthis same object. Missing teams degrade to `team_id` only, with or without\\nexpand (ADR 059 grant exception).\\n',\n ),\n })\n .describe(\n \"A collaboration grant binding a user or a team to a project relation.\\nDiscriminate on which of `user` or `team` is present. Those objects are\\nalways refs (`user_id` \\/ `team_id`); expand adds extra fields on the same\\nobject rather than a sibling.\\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. 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 grants.\");\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`expand=principal` adds envelope fields on `user` or `team` and requires\n`user.read` and `team.read` in addition to `project.read` for project\nsecrets. A user-bound Console session that already passed the project\nCheck may expand without those scopes.\n\nAccepts either a project secret (`oauth2`) or a user-bound Console\nsession cookie (`nextgenSession`). CSRF/Origin for cookie mutations\nis a follow-up (#1140).\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 expand: zod\n .array(\n zod\n .enum([\"principal\"])\n .describe(\n \"Ask for extra fields on the bound user or team. Those extras land on\\n`user` or `team` themselves; there is no sibling `principal` object.\\n\\n`principal` adds `schema`, `attributes`, and `metadata` on `user`, or\\n`status`, `created_at`, and `updated_at` on `team`. The id (`user_id` \\/\\n`team_id`) is always present. If the user or team cannot be loaded, the\\nobject stays id-only — the same shape as not expanding.\\n\\nExpanding requires `user.read` and `team.read` in addition to\\n`project.read` for project secrets. Both are checked once for the whole\\nrequest. If the caller lacks either, the request is 403; extras are not\\nomitted silently. A user-bound Console session that already passed the\\nproject Check may expand without those scopes.\\n\",\n ),\n )\n .optional()\n .describe(\n \"Extra principal fields to add onto `user` or `team`. Same enum and\\n`user.read` + `team.read` gate as `POST \\/grants\\/query`.\\n\",\n ),\n});\n\nexport const getGrantResponseUserOneUserIdRegExp = new RegExp(\"^user_[a-zA-Z0-9_-]+$\");\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 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 user: zod\n .object({\n user_id: zod.string().regex(getGrantResponseUserOneUserIdRegExp),\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 .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`.\\nMissing or deleted users degrade to `user_id` only.\\n\",\n )\n .and(\n zod.object({\n schema: zod\n .string()\n .optional()\n .describe(\n 'The schema that defines `attributes`. Present only when the request\\nasked for `expand: [\\\"principal\\\"]` and the user could be loaded.\\n',\n ),\n attributes: zod\n .record(zod.string(), zod.unknown())\n .optional()\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\n .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 .optional(),\n }),\n )\n .optional()\n .describe(\n 'User bound by this grant. Always a user-ref (`user_id`, never `id`).\\n`expand: [\\\"principal\\\"]` adds the User envelope fields `schema`,\\n`attributes`, and `metadata` on this same object. Missing users degrade to\\n`user_id` only, with or without expand (ADR 059 grant exception).\\n',\n ),\n team: zod\n .object({\n team_id: zod\n .string()\n .describe(\"The referenced team's id (`team_<opaque>`). Always present.\"),\n name: zod\n .string()\n .optional()\n .describe(\"The team's name. Absent when the team can no longer be loaded.\"),\n })\n .describe(\n \"A resolved reference to a team. Carries the team's id and name so a grant\\nlist is readable without embedding the full Team body. Id and display ride\\n`project.read` (ADR 059 rule 8): a reference field carrying only the\\ntarget's id and display strings needs no gate of its own. Missing or\\ndeleted teams degrade to `team_id` only.\\n\",\n )\n .and(\n zod.object({\n status: zod\n .enum([\"active\", \"deactivated\"])\n .optional()\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 .optional()\n .describe(\"When the team was created. Present only when expand loaded the team.\\n\"),\n updated_at: zod.iso\n .datetime({ offset: true })\n .optional()\n .describe(\n \"When the team was last updated. Present only when expand loaded the team.\\n\",\n ),\n }),\n )\n .optional()\n .describe(\n 'Team bound by this grant. Always a team-ref (`team_id`, never `id`).\\n`expand: [\\\"principal\\\"]` adds `status`, `created_at`, and `updated_at` on\\nthis same object. Missing teams degrade to `team_id` only, with or without\\nexpand (ADR 059 grant exception).\\n',\n ),\n })\n .describe(\n \"A collaboration grant binding a user or a team to a project relation.\\nDiscriminate on which of `user` or `team` is present. Those objects are\\nalways refs (`user_id` \\/ `team_id`); expand adds extra fields on the same\\nobject rather than a sibling.\\n\",\n );\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\nAccepts either a project secret (`oauth2`) or a user-bound Console\nsession cookie (`nextgenSession`). CSRF/Origin for cookie mutations\nis a follow-up (#1140).\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 listEventsResponseDataItemTwozeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const listEventsResponseDataItemTwozeroTwoPayloadStatusMin = 100;\nexport const listEventsResponseDataItemTwozeroTwoPayloadStatusMax = 599;\n\nexport const listEventsResponseDataItemTwozeroTwoPayloadDurationMsMin = 0;\n\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_-]+$\");\nexport const listEventsResponseDataItemTwonineOneProjectIdRegExp = 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 \"Allowlisted fields of the created revision. Retired `flowdef.updated`\\nrows carry a delta in the same shape. 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 \"Allowlisted fields of the created revision. Retired `flowdef.updated`\\nrows carry a delta in the same shape. 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(\"release.created\"),\n payload: zod\n .object({\n content_hash: zod.string().optional(),\n message: zod.string().optional(),\n git_sha: zod.string().optional(),\n git_dirty: zod.boolean().optional(),\n pointers: zod\n .array(\n zod.object({\n kind: zod.string().optional(),\n handle: zod.string().optional(),\n revision_id: zod.string().optional(),\n }),\n )\n .optional(),\n })\n .describe(\n \"Allowlisted fields for `release.created`. The release id is already the\\nevent's `entity_id`; the pinned set is repeated here so the audit stream\\nanswers what a release contained without reading the release itself.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=release.created.\\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(\"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(listEventsResponseDataItemTwozeroTwoPayloadStatusMin)\n .max(listEventsResponseDataItemTwozeroTwoPayloadStatusMax),\n duration_ms: zod\n .number()\n .min(listEventsResponseDataItemTwozeroTwoPayloadDurationMsMin),\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(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(\"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(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.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(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(\"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(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.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(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.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(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(\"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(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.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(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.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(listEventsResponseDataItemTwonineOneProjectIdRegExp),\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 getEventResponseTwozeroOneProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getEventResponseTwozeroTwoPayloadStatusMin = 100;\nexport const getEventResponseTwozeroTwoPayloadStatusMax = 599;\n\nexport const getEventResponseTwozeroTwoPayloadDurationMsMin = 0;\n\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_-]+$\");\nexport const getEventResponseTwonineOneProjectIdRegExp = 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 \"Allowlisted fields of the created revision. Retired `flowdef.updated`\\nrows carry a delta in the same shape. 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 \"Allowlisted fields of the created revision. Retired `flowdef.updated`\\nrows carry a delta in the same shape. 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(\"release.created\"),\n payload: zod\n .object({\n content_hash: zod.string().optional(),\n message: zod.string().optional(),\n git_sha: zod.string().optional(),\n git_dirty: zod.boolean().optional(),\n pointers: zod\n .array(\n zod.object({\n kind: zod.string().optional(),\n handle: zod.string().optional(),\n revision_id: zod.string().optional(),\n }),\n )\n .optional(),\n })\n .describe(\n \"Allowlisted fields for `release.created`. The release id is already the\\nevent's `entity_id`; the pinned set is repeated here so the audit stream\\nanswers what a release contained without reading the release itself.\\n\",\n ),\n }),\n )\n .describe(\"Wide event with event_type=release.created.\\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(\"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(getEventResponseTwozeroTwoPayloadStatusMin)\n .max(getEventResponseTwozeroTwoPayloadStatusMax),\n duration_ms: zod.number().min(getEventResponseTwozeroTwoPayloadDurationMsMin),\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(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(\"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(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.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(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(\"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(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.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(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.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(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(\"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(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.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(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.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(getEventResponseTwonineOneProjectIdRegExp),\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\n/**\n * Returns the variables entered at the owner this request addresses, keyed by\nname — one environment of the project with `environment_name`, the project\nlevel itself without it.\n\nOwners are separate, not a ladder: an environment does not inherit the\nproject's variables and the project does not see its environments'. Reading\neverything a project holds therefore means reading each owner in turn.\n\nSecret values are not returned. A secret appears as `{\"secret\": true}`,\nwhich says a value is held without disclosing it.\n\n * @summary Get variables\n */\nexport const getVariablesQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getVariablesQueryEnvironmentNameMax = 63;\n\nexport const getVariablesQueryEnvironmentNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const GetVariablesQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getVariablesQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n environment_name: zod\n .string()\n .max(getVariablesQueryEnvironmentNameMax)\n .regex(getVariablesQueryEnvironmentNameRegExp)\n .optional()\n .describe(\n \"Selects one environment of the project as the owner this request addresses.\\n\\nOmit it to address the project level instead. The two are separate owners,\\nnot a ladder: a variable entered on the project is not visible from an\\nenvironment, and an environment's variables are not visible from the project.\\nA value that has to hold in several environments is entered in each of them.\\n\",\n ),\n});\n\nexport const getVariablesResponseOneOneMax = 16384;\n\nexport const GetVariablesResponse = zod\n .record(\n zod.string(),\n zod\n .union([\n zod\n .union([zod.string().max(getVariablesResponseOneOneMax), zod.number(), zod.boolean()])\n .describe(\n \"A variable's value. JSON scalars only — a string, a number, or a boolean\\n(ADR 062 §1).\\n\\nThe value travels through JSON in both directions, so the set of types is\\nJSON's. A number always reads back as a JSON number however it was written;\\na type JSON has no scalar for (a timestamp, say) is rejected rather than\\nquietly coming back as the string it serialized to. Strings are capped at\\n16 KiB: a variable is a configuration value, not a payload (§8).\\n\",\n ),\n zod\n .object({\n secret: zod\n .boolean()\n .describe(\n \"Always `true`. A non-secret variable is returned as a bare scalar instead.\",\n ),\n })\n .describe(\n \"A secret, on the way out. It says that a value is held under this name and\\nthat the value is secret; it never carries the value itself.\\n\\nA secret is stored encrypted and reads back as ciphertext, so there is\\nnothing here that could be returned honestly: the plaintext would defeat the\\nencryption, and the ciphertext would be a value no caller can use. Whether\\nsecrets ever become readable — and if so under which permission — is left\\nopen by ADR 062 §9; this shape is what keeps that question open rather than\\nanswering it by accident.\\n\\nSecrets are still usable without being readable: a configuration document\\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\\nserved (§7).\\n\",\n ),\n ])\n .describe(\n \"One resolved variable. A non-secret variable is its value; a secret is an\\nobject saying so and withholding the value.\\n\\nThe two forms mirror the update body, so a value read here can be written\\nback unchanged — with the one asymmetry that a secret read back has no value\\nto write.\\n\",\n ),\n )\n .describe(\n \"The variables entered at the owner the request addresses, keyed by name.\\n\\nOnly that owner's own variables: the project level does not see into its\\nenvironments, and an environment does not inherit the project's. One name at\\nthat owner is one value, so nothing here had to be chosen between.\\n\\nAn empty object is an ordinary answer, not an error — it means nothing has\\nbeen entered at this owner.\\n\",\n );\n\n/**\n * Enters, replaces and removes variables at the owner this request\naddresses.\n\nEvery name in the body is applied at exactly that owner — the project, or\nthe environment named by `environment_name` — and reaches no other. Names\nnot in the body are untouched.\n\nA bare scalar enters a non-secret value. `{\"value\": …, \"secret\": true}`\nstores the value encrypted under the project's active `secret` key, after\nwhich it can be referenced but not read back. `null` removes the name from\nthis owner (RFC 7386), which is how several variables are removed in one\nrequest; removing a name this owner does not hold is a no-op rather than an\nerror.\n\nThe body is applied whole or not at all, so a rejected request leaves the\nowner exactly as it was. Writing the same name and owner twice replaces the\nvalue rather than duplicating it, which makes a retry safe.\n\n * @summary Update variables\n */\nexport const updateVariablesQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const updateVariablesQueryEnvironmentNameMax = 63;\n\nexport const updateVariablesQueryEnvironmentNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const UpdateVariablesQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(updateVariablesQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n environment_name: zod\n .string()\n .max(updateVariablesQueryEnvironmentNameMax)\n .regex(updateVariablesQueryEnvironmentNameRegExp)\n .optional()\n .describe(\n \"Selects one environment of the project as the owner this request addresses.\\n\\nOmit it to address the project level instead. The two are separate owners,\\nnot a ladder: a variable entered on the project is not visible from an\\nenvironment, and an environment's variables are not visible from the project.\\nA value that has to hold in several environments is entered in each of them.\\n\",\n ),\n});\n\nexport const updateVariablesBodyTwoOneMax = 16384;\n\nexport const updateVariablesBodyThreeValueOneMax = 16384;\n\nexport const UpdateVariablesBody = zod\n .record(\n zod.string(),\n zod\n .union([\n zod.null(),\n zod\n .union([zod.string().max(updateVariablesBodyTwoOneMax), zod.number(), zod.boolean()])\n .describe(\n \"A variable's value. JSON scalars only — a string, a number, or a boolean\\n(ADR 062 §1).\\n\\nThe value travels through JSON in both directions, so the set of types is\\nJSON's. A number always reads back as a JSON number however it was written;\\na type JSON has no scalar for (a timestamp, say) is rejected rather than\\nquietly coming back as the string it serialized to. Strings are capped at\\n16 KiB: a variable is a configuration value, not a payload (§8).\\n\",\n ),\n zod\n .object({\n value: zod\n .union([\n zod.string().max(updateVariablesBodyThreeValueOneMax),\n zod.number(),\n zod.boolean(),\n ])\n .describe(\n \"A variable's value. JSON scalars only — a string, a number, or a boolean\\n(ADR 062 §1).\\n\\nThe value travels through JSON in both directions, so the set of types is\\nJSON's. A number always reads back as a JSON number however it was written;\\na type JSON has no scalar for (a timestamp, say) is rejected rather than\\nquietly coming back as the string it serialized to. Strings are capped at\\n16 KiB: a variable is a configuration value, not a payload (§8).\\n\",\n ),\n secret: zod\n .boolean()\n .describe(\n \"Whether the value is stored encrypted. Changing it on an existing name\\nre-writes the value under the new flag — the documents referencing that\\nname do not change, because secrecy is a property of the value, not of\\nthe reference to it (ADR 062 §2).\\n\",\n ),\n })\n .describe(\n 'A variable written with its secrecy stated explicitly.\\n\\nUse this form to enter a secret. `{\\\"value\\\": \\\"s3cr3t\\\", \\\"secret\\\": true}` is\\nstored encrypted with the project\\'s active `secret` key (ADR 062 §7) and\\nnever reads back; the bare-scalar form is the same write with\\n`secret: false`.\\n',\n ),\n ])\n .describe(\n 'One entry of an update. A bare scalar enters a non-secret value, an object\\nstates the flag explicitly, and `null` removes the name.\\n\\nThe shorthand exists because most variables are not secrets and spelling\\n`{\\\"value\\\": …, \\\"secret\\\": false}` for each of them is noise. Making a value\\nsecret is therefore always deliberate: it cannot happen by writing a plain\\nscalar.\\n\\n`null` is the RFC 7386 merge-patch convention: the name is removed at the\\nowner this request addresses, and at no other, which is what lets one request\\nenter, replace and remove names together. Removing a name the owner does not\\nhold is not an error, because a patch states what the owner holds afterwards\\nand that name is already absent. `DELETE \\/variables\\/{variable_name}`\\naddresses one name deliberately and still answers `var.not_found` there.\\n\\nA null is a removal wherever it appears, so a body built from client state in\\nwhich an unset field serializes to `null` removes that variable instead of\\nleaving it alone. A secret removed this way cannot be recovered, since its\\nvalue reads back nowhere. Send only the names the request means to change.\\n',\n ),\n )\n .describe(\n \"The variables to enter, keyed by name. Each is either a bare scalar (a\\nnon-secret value), an object stating the `secret` flag, or `null` to remove\\nthe name.\\n\\nThis is a patch: a name present here is written at the owner the request\\naddresses, replacing whatever that owner held under it, and a name absent\\nhere is left alone. A name whose value is `null` is removed from that owner\\n(RFC 7386), so one request can enter, replace and remove names together —\\nwhich is also the way to remove several at once. `DELETE\\n\\/variables\\/{variable_name}` remains the way to remove exactly one name and\\nbe told whether it was there.\\n\\nRemoving a name the owner does not hold is not an error: a patch states what\\nthe owner holds afterwards, and that name is already absent. That makes a\\nretry safe, and it is the one place this body differs from `DELETE`, which\\nanswers `var.not_found`.\\n\\nThe body is applied whole or not at all. Every value is validated, and every\\nsecret encrypted, before anything is written, and the writes and removals\\nshare one transaction.\\n\\nNames are written at exactly the owner the request addresses, and reach no\\nfurther. Writing at the project level does not change what any environment\\nresolves, and writing on one environment does not touch another.\\n\",\n );\n\nexport const updateVariablesResponseOneOneMax = 16384;\n\nexport const UpdateVariablesResponse = zod\n .record(\n zod.string(),\n zod\n .union([\n zod\n .union([zod.string().max(updateVariablesResponseOneOneMax), zod.number(), zod.boolean()])\n .describe(\n \"A variable's value. JSON scalars only — a string, a number, or a boolean\\n(ADR 062 §1).\\n\\nThe value travels through JSON in both directions, so the set of types is\\nJSON's. A number always reads back as a JSON number however it was written;\\na type JSON has no scalar for (a timestamp, say) is rejected rather than\\nquietly coming back as the string it serialized to. Strings are capped at\\n16 KiB: a variable is a configuration value, not a payload (§8).\\n\",\n ),\n zod\n .object({\n secret: zod\n .boolean()\n .describe(\n \"Always `true`. A non-secret variable is returned as a bare scalar instead.\",\n ),\n })\n .describe(\n \"A secret, on the way out. It says that a value is held under this name and\\nthat the value is secret; it never carries the value itself.\\n\\nA secret is stored encrypted and reads back as ciphertext, so there is\\nnothing here that could be returned honestly: the plaintext would defeat the\\nencryption, and the ciphertext would be a value no caller can use. Whether\\nsecrets ever become readable — and if so under which permission — is left\\nopen by ADR 062 §9; this shape is what keeps that question open rather than\\nanswering it by accident.\\n\\nSecrets are still usable without being readable: a configuration document\\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\\nserved (§7).\\n\",\n ),\n ])\n .describe(\n \"One resolved variable. A non-secret variable is its value; a secret is an\\nobject saying so and withholding the value.\\n\\nThe two forms mirror the update body, so a value read here can be written\\nback unchanged — with the one asymmetry that a secret read back has no value\\nto write.\\n\",\n ),\n )\n .describe(\n \"The variables entered at the owner the request addresses, keyed by name.\\n\\nOnly that owner's own variables: the project level does not see into its\\nenvironments, and an environment does not inherit the project's. One name at\\nthat owner is one value, so nothing here had to be chosen between.\\n\\nAn empty object is an ordinary answer, not an error — it means nothing has\\nbeen entered at this owner.\\n\",\n );\n\n/**\n * Reads one variable by name from the owner this request addresses — one\nenvironment of the project with `environment_name`, the project level\nitself without it.\n\nA name that owner has not entered answers `var.not_found`, even when\nanother owner of the same project holds it: nothing is inherited. A secret\nis found but not disclosed: the response is `{\"secret\": true}`.\n\n * @summary Get a variable\n */\nexport const getVariablePathVariableNameMax = 255;\n\nexport const getVariablePathVariableNameRegExp = new RegExp(\"^\\\\w+$\");\n\nexport const GetVariableParams = zod.object({\n variable_name: zod\n .string()\n .min(1)\n .max(getVariablePathVariableNameMax)\n .regex(getVariablePathVariableNameRegExp)\n .describe(\"The name of the variable.\"),\n});\n\nexport const getVariableQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const getVariableQueryEnvironmentNameMax = 63;\n\nexport const getVariableQueryEnvironmentNameRegExp = new RegExp(\"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\");\n\nexport const GetVariableQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(getVariableQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n environment_name: zod\n .string()\n .max(getVariableQueryEnvironmentNameMax)\n .regex(getVariableQueryEnvironmentNameRegExp)\n .optional()\n .describe(\n \"Selects one environment of the project as the owner this request addresses.\\n\\nOmit it to address the project level instead. The two are separate owners,\\nnot a ladder: a variable entered on the project is not visible from an\\nenvironment, and an environment's variables are not visible from the project.\\nA value that has to hold in several environments is entered in each of them.\\n\",\n ),\n});\n\nexport const getVariableResponseOneOneMax = 16384;\n\nexport const GetVariableResponse = zod\n .union([\n zod\n .union([zod.string().max(getVariableResponseOneOneMax), zod.number(), zod.boolean()])\n .describe(\n \"A variable's value. JSON scalars only — a string, a number, or a boolean\\n(ADR 062 §1).\\n\\nThe value travels through JSON in both directions, so the set of types is\\nJSON's. A number always reads back as a JSON number however it was written;\\na type JSON has no scalar for (a timestamp, say) is rejected rather than\\nquietly coming back as the string it serialized to. Strings are capped at\\n16 KiB: a variable is a configuration value, not a payload (§8).\\n\",\n ),\n zod\n .object({\n secret: zod\n .boolean()\n .describe(\"Always `true`. A non-secret variable is returned as a bare scalar instead.\"),\n })\n .describe(\n \"A secret, on the way out. It says that a value is held under this name and\\nthat the value is secret; it never carries the value itself.\\n\\nA secret is stored encrypted and reads back as ciphertext, so there is\\nnothing here that could be returned honestly: the plaintext would defeat the\\nencryption, and the ciphertext would be a value no caller can use. Whether\\nsecrets ever become readable — and if so under which permission — is left\\nopen by ADR 062 §9; this shape is what keeps that question open rather than\\nanswering it by accident.\\n\\nSecrets are still usable without being readable: a configuration document\\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\\nserved (§7).\\n\",\n ),\n ])\n .describe(\n \"One resolved variable. A non-secret variable is its value; a secret is an\\nobject saying so and withholding the value.\\n\\nThe two forms mirror the update body, so a value read here can be written\\nback unchanged — with the one asymmetry that a secret read back has no value\\nto write.\\n\",\n );\n\n/**\n * Removes the variable this owner entered under this name.\n\nA variable is deletable only by the owner that entered it. Deleting a name\nanother owner of the same project holds answers `var.not_found` and leaves\nthat owner's value standing.\n\n * @summary Delete a variable\n */\nexport const deleteVariablePathVariableNameMax = 255;\n\nexport const deleteVariablePathVariableNameRegExp = new RegExp(\"^\\\\w+$\");\n\nexport const DeleteVariableParams = zod.object({\n variable_name: zod\n .string()\n .min(1)\n .max(deleteVariablePathVariableNameMax)\n .regex(deleteVariablePathVariableNameRegExp)\n .describe(\"The name of the variable.\"),\n});\n\nexport const deleteVariableQueryProjectIdRegExp = new RegExp(\"^[a-zA-Z0-9_-]+$\");\nexport const deleteVariableQueryEnvironmentNameMax = 63;\n\nexport const deleteVariableQueryEnvironmentNameRegExp = new RegExp(\n \"^[a-z0-9]([a-z0-9-]\\*[a-z0-9])?$\",\n);\n\nexport const DeleteVariableQueryParams = zod.strictObject({\n project_id: zod\n .string()\n .regex(deleteVariableQueryProjectIdRegExp)\n .describe(\"The unique identifier of the project\"),\n environment_name: zod\n .string()\n .max(deleteVariableQueryEnvironmentNameMax)\n .regex(deleteVariableQueryEnvironmentNameRegExp)\n .optional()\n .describe(\n \"Selects one environment of the project as the owner this request addresses.\\n\\nOmit it to address the project level instead. The two are separate owners,\\nnot a ladder: a variable entered on the project is not visible from an\\nenvironment, and an environment's variables are not visible from the project.\\nA value that has to hold in several environments is entered in each of them.\\n\",\n ),\n});\n"],"mappings":";;;;;;;;;;;;AAYA,MAAa,iDAAiC,IAAI,OAAO,mBAAmB;AAC5E,MAAa,8CAA8B,IAAI,OAAO,mBAAmB;AAEzE,MAAa,wBAAwB,IAAI,aAAa;CACpD,YAAY,IACT,QAA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ACC,oZACD;KACH,SAAS,IACN,MAAM,CACL,IAAI,KAAK;MACP;MACA;MACA;MACA;MACA;MACA;MACD,CAAC,EACF,IAAI,MAAM,CACX,CAAC,CACD,UAAU,CACV,SACC,ohBACD;KACJ,CAAC,CACH,CACA,UAAU,CACV,SACC,yRACD;IACJ,CAAC,CACD,SACC,kcACD,CACJ,CACA,IAAI,EAAE,CACN,SACC,mIACD;GACJ,CAAC,CACD,SACC,yeACD;EACH,aAAa,IACV,MAAM,CACL,IACG,OAAO;GACN,IAAI,IACD,QAAQ,CACR,SACC,2IACD;GACH,QAAQ,IACL,OAAO;IACN,YAAY,IACT,QAAQ,CACR,IAAA,IAEA,CACA,UAAU,CACV,SACC,4EACD;IACH,MAAM,IACH,QAAQ,cAAc,CACtB,SAAS,wDAAwD;IACpE,YAAY,IACT,KAAK,CACL,IACC,kFACD,CACA,SAAS,gDAAgD;IAC5D,kBAAkB,IACf,OAAO;KACN,UAAU,IACP,OAAO,EACN,SAAS,IACN,SAAS,CACT,SAAS,sDAAsD,EACnE,CAAC,CACD,UAAU;KACb,SAAS,IACN,OAAO,EACN,SAAS,IACN,SAAS,CACT,SAAS,sDAAsD,EACnE,CAAC,CACD,UAAU;KACb,YAAY,IACT,OAAO,EACN,SAAS,IACN,SAAS,CACT,SAAS,sDAAsD,EACnE,CAAC,CACD,UAAU;KACb,KAAK,IACF,OAAO;MACN,SAAS,IACN,SAAS,CACT,SAAS,sDAAsD;MAClE,WAAW,IACR,MACC,IACG,QAAQ,CACR,IAAA,GAEA,CACA,MACC,uGACD,CACJ,CACA,IAAI,EAAE,CACN,UAAU,CACV,SACC,wOACD;MACJ,CAAC,CACD,UAAU;KACb,KAAK,IACF,OAAO,EACN,SAAS,IACN,SAAS,CACT,SAAS,sDAAsD,EACnE,CAAC,CACD,UAAU;KACd,CAAC,CACD,SACC,qEACD;IACH,gBAAgB,IACb,QAAQ,CACR,IAAI,EAAE,CACN,UAAU,CACV,SACC,ofACD;IACH,aAAa,IACV,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