@zitadel/api 1.0.0-alpha.25 → 1.0.0-alpha.28
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/README.md +3 -1
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +609 -147
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +22 -6
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2124 -959
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1750 -465
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1747 -594
- 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 +312 -119
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-C1weUrQx.d.mts → index-Csm0c4Kk.d.mts} +23554 -16767
- package/dist/index-Csm0c4Kk.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +2 -2
- package/dist/runtime/api-factory.mjs +1 -1
- package/dist/runtime/api-factory.mjs.map +1 -1
- package/dist/{zitadelNextGen-KWjI2Uyj.d.mts → zitadelNextGen-DdcvpXYL.d.mts} +376 -115
- package/dist/zitadelNextGen-DdcvpXYL.d.mts.map +1 -0
- package/package.json +9 -8
- package/src/generated/endpoints/zitadelNextGen.faker.ts +75 -70
- package/src/generated/endpoints/zitadelNextGen.msw.ts +162 -34
- package/src/generated/endpoints/zitadelNextGen.ts +795 -177
- package/src/generated/endpoints/zitadelNextGen.zod.ts +1877 -637
- package/src/generated/model/addOrigin201.ts +13 -0
- package/src/generated/model/addOrigin201Kind.ts +15 -0
- package/src/generated/model/addOriginBody.ts +23 -0
- package/src/generated/model/addOriginBodyKind.ts +15 -0
- package/src/generated/model/addOriginDefault.ts +108 -0
- package/src/generated/model/beginUserPasskeyRegistration201.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration400.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration401.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration403.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration404.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration500.ts +1 -1
- package/src/generated/model/buildRelease200.ts +96 -0
- package/src/generated/model/buildRelease200Metadata.ts +43 -0
- package/src/generated/model/buildRelease200MetadataCreatedByType.ts +20 -0
- package/src/generated/model/buildRelease200PointersItem.ts +58 -0
- package/src/generated/model/buildRelease200PointersItemKind.ts +27 -0
- package/src/generated/model/buildRelease201.ts +96 -0
- package/src/generated/model/buildRelease201Metadata.ts +43 -0
- package/src/generated/model/buildRelease201MetadataCreatedByType.ts +20 -0
- package/src/generated/model/buildRelease201PointersItem.ts +58 -0
- package/src/generated/model/buildRelease201PointersItemKind.ts +27 -0
- package/src/generated/model/buildRelease400.ts +31 -0
- package/src/generated/model/buildRelease400Details.ts +13 -0
- package/src/generated/model/buildRelease400DetailsResourcesItem.ts +41 -0
- package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +27 -0
- package/src/generated/model/buildReleaseBody.ts +62 -0
- package/src/generated/model/buildReleaseBodyBundle.ts +82 -0
- package/src/generated/model/buildReleaseBodyBundleBranding.ts +78 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +26 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +30 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingShapeDensity.ts +19 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +43 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +34 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +209 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +34 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +209 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeMode.ts +19 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +47 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +74 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +20 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +23 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +91 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +47 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +29 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemComplete.ts +20 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +35 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +13 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +19 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemOnSuccess.ts +25 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +48 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +25 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +30 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +44 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +12 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +65 -0
- package/src/generated/model/{createIdp200DefinitionOauth2StaticAuthorizeParameters.ts → buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts} +1 -1
- package/src/generated/model/{createIdpBodyIdpOauth2TokenEndpointAuthMethod.ts → buildReleaseBodyBundleIdpsItemOidcTokenEndpointAuthMethod.ts} +2 -2
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProtocol.ts +17 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +15 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioningCreation.ts +15 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +12 -0
- package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +85 -0
- package/src/generated/model/buildReleaseDefault.ts +189 -0
- package/src/generated/model/{getEnvironmentByNameParams.ts → buildReleaseParams.ts} +1 -1
- package/src/generated/model/completeClaim400.ts +1 -1
- package/src/generated/model/completeClaim404.ts +1 -1
- package/src/generated/model/completeClaim409.ts +1 -1
- package/src/generated/model/completeClaim429.ts +1 -1
- package/src/generated/model/completeClaimDefault.ts +1 -1
- package/src/generated/model/createAuthAttempt201.ts +4 -4
- package/src/generated/model/createAuthAttempt201ChallengesItem.ts +3 -3
- package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
- package/src/generated/model/createBranding201.ts +1 -1
- package/src/generated/model/createBranding201Branding.ts +4 -4
- package/src/generated/model/createBranding201BrandingShape.ts +1 -1
- package/src/generated/model/createBranding201BrandingTheme.ts +3 -3
- package/src/generated/model/createBranding201BrandingThemeDark.ts +1 -1
- package/src/generated/model/createBranding201BrandingThemeLight.ts +1 -1
- package/src/generated/model/createBranding400.ts +1 -1
- package/src/generated/model/createBrandingBody.ts +4 -4
- package/src/generated/model/createBrandingBodyShape.ts +1 -1
- package/src/generated/model/createBrandingBodyTheme.ts +3 -3
- package/src/generated/model/createBrandingBodyThemeDark.ts +1 -1
- package/src/generated/model/createBrandingBodyThemeLight.ts +1 -1
- package/src/generated/model/createBrandingDefault.ts +1 -1
- package/src/generated/model/createDeployment200.ts +29 -20
- package/src/generated/model/createDeployment200Metadata.ts +18 -27
- package/src/generated/model/createDeployment200MetadataReason.ts +6 -7
- package/src/generated/model/createDeployment200Release.ts +56 -4
- package/src/generated/model/createDeployment200ReleaseMetadata.ts +1 -1
- package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
- package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/createDeployment200TargetsItem.ts +32 -0
- package/src/generated/model/createDeployment201.ts +29 -20
- package/src/generated/model/createDeployment201Metadata.ts +18 -27
- package/src/generated/model/createDeployment201MetadataReason.ts +6 -7
- package/src/generated/model/createDeployment201Release.ts +56 -4
- package/src/generated/model/createDeployment201ReleaseMetadata.ts +1 -1
- package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
- package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/createDeployment201TargetsItem.ts +32 -0
- package/src/generated/model/createDeployment400.ts +27 -0
- package/src/generated/model/createDeployment400Details.ts +22 -0
- package/src/generated/model/createDeployment400DetailsKind.ts +19 -0
- package/src/generated/model/createDeployment409.ts +271 -0
- package/src/generated/model/createDeploymentBody.ts +79 -37
- package/src/generated/model/createDeploymentBodyReason.ts +6 -7
- package/src/generated/model/createDeploymentDefault.ts +2 -29
- package/src/generated/model/createFlow201.ts +2 -2
- package/src/generated/model/createFlow201Branding.ts +4 -4
- package/src/generated/model/createFlow201BrandingShape.ts +1 -1
- package/src/generated/model/createFlow201BrandingTheme.ts +3 -3
- package/src/generated/model/createFlow201BrandingThemeDark.ts +1 -1
- package/src/generated/model/createFlow201BrandingThemeLight.ts +1 -1
- package/src/generated/model/createFlow201Step.ts +12 -11
- package/src/generated/model/createFlow201StepActionsItem.ts +1 -1
- package/src/generated/model/createFlow201StepChallenge.ts +2 -2
- package/src/generated/model/createFlow201StepFieldsItem.ts +11 -2
- package/src/generated/model/createFlow201StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/createFlow201StepGates.ts +2 -2
- package/src/generated/model/createFlow201StepTexts.ts +6 -1
- package/src/generated/model/createFlow400.ts +1 -1
- package/src/generated/model/createFlowBody.ts +2 -2
- package/src/generated/model/createFlowBodyHint.ts +1 -1
- package/src/generated/model/createFlowDefinition201.ts +2 -2
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +11 -7
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
- package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +5 -19
- package/src/generated/model/createFlowDefinition400.ts +1 -1
- package/src/generated/model/createFlowDefinitionBody.ts +1 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +11 -7
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/createGrant201.ts +4 -4
- package/src/generated/model/createGrant201Team.ts +1 -1
- package/src/generated/model/createGrant201User.ts +2 -2
- package/src/generated/model/createGrant201UserMetadata.ts +2 -2
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/createGrant400.ts +1 -1
- package/src/generated/model/createGrant401.ts +1 -1
- package/src/generated/model/createGrant403.ts +1 -1
- package/src/generated/model/createGrant404.ts +1 -1
- package/src/generated/model/createGrant409.ts +1 -1
- package/src/generated/model/createGrant429.ts +1 -1
- package/src/generated/model/createGrantBody.ts +3 -3
- package/src/generated/model/createIdp200.ts +1 -1
- package/src/generated/model/createIdp200Definition.ts +10 -13
- package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/createIdp200DefinitionOidc.ts +3 -3
- package/src/generated/model/createIdp200DefinitionProtocol.ts +1 -2
- package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdp201.ts +1 -1
- package/src/generated/model/createIdp201Definition.ts +10 -13
- package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/createIdp201DefinitionOidc.ts +3 -3
- package/src/generated/model/createIdp201DefinitionProtocol.ts +1 -2
- package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
- package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdp400.ts +1 -1
- package/src/generated/model/createIdp401.ts +1 -1
- package/src/generated/model/createIdp403.ts +1 -1
- package/src/generated/model/createIdp404.ts +1 -1
- package/src/generated/model/createIdpBody.ts +1 -1
- package/src/generated/model/createIdpBodyIdp.ts +10 -13
- package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
- package/src/generated/model/createIdpBodyIdpOidc.ts +3 -3
- package/src/generated/model/createIdpBodyIdpProtocol.ts +1 -2
- package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
- package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdpDefault.ts +9 -0
- package/src/generated/model/createProject201.ts +7 -2
- package/src/generated/model/createProject201OriginsItem.ts +23 -0
- package/src/generated/model/createProject201OriginsItemKind.ts +15 -0
- package/src/generated/model/createProject429.ts +1 -1
- package/src/generated/model/createProjectBody.ts +7 -2
- package/src/generated/model/createProjectBodyOriginsItem.ts +23 -0
- package/src/generated/model/createProjectBodyOriginsItemKind.ts +15 -0
- package/src/generated/model/createProjectDefault.ts +27 -0
- package/src/generated/model/createRelease200.ts +56 -4
- package/src/generated/model/createRelease200Metadata.ts +1 -1
- package/src/generated/model/createRelease200PointersItem.ts +3 -1
- package/src/generated/model/createRelease200PointersItemKind.ts +1 -0
- package/src/generated/model/createRelease201.ts +56 -4
- package/src/generated/model/createRelease201Metadata.ts +1 -1
- package/src/generated/model/createRelease201PointersItem.ts +3 -1
- package/src/generated/model/createRelease201PointersItemKind.ts +1 -0
- package/src/generated/model/createReleaseBody.ts +1 -1
- package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
- package/src/generated/model/createReleaseBodyPointersItemKind.ts +1 -0
- package/src/generated/model/createReleaseDefault.ts +9 -0
- package/src/generated/model/createSchemaBody.ts +5 -19
- package/src/generated/model/createSession201.ts +1 -1
- package/src/generated/model/createSession201Session.ts +5 -5
- package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
- package/src/generated/model/createSession400.ts +1 -1
- package/src/generated/model/createSessionBody.ts +1 -1
- package/src/generated/model/createTeam201.ts +1 -1
- package/src/generated/model/createTeam400.ts +1 -1
- package/src/generated/model/createTeam401.ts +1 -1
- package/src/generated/model/createTeam403.ts +1 -1
- package/src/generated/model/createTeam404.ts +1 -1
- package/src/generated/model/createTeam409.ts +1 -1
- package/src/generated/model/createTeam429.ts +1 -1
- package/src/generated/model/createTeamDefault.ts +1 -1
- package/src/generated/model/createUser201.ts +3 -3
- package/src/generated/model/createUser201Metadata.ts +2 -2
- package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/createUser201TeamsItem.ts +1 -1
- package/src/generated/model/createUser400.ts +1 -1
- package/src/generated/model/createUser401.ts +1 -1
- package/src/generated/model/createUser403.ts +1 -1
- package/src/generated/model/createUser409.ts +1 -1
- package/src/generated/model/createUser500.ts +1 -1
- package/src/generated/model/createUserBody.ts +1 -1
- package/src/generated/model/deleteGrant401.ts +1 -1
- package/src/generated/model/deleteGrant403.ts +1 -1
- package/src/generated/model/deleteGrant404.ts +1 -1
- package/src/generated/model/deleteTeam400.ts +1 -1
- package/src/generated/model/deleteTeam401.ts +1 -1
- package/src/generated/model/deleteTeam403.ts +1 -1
- package/src/generated/model/deleteTeam409.ts +1 -1
- package/src/generated/model/deleteTeamDefault.ts +1 -1
- package/src/generated/model/deleteUserByID401.ts +1 -1
- package/src/generated/model/deleteUserByID404.ts +1 -1
- package/src/generated/model/deleteVariableDefault.ts +1 -1
- package/src/generated/model/deleteVariableKind.ts +15 -0
- package/src/generated/model/deleteVariableParams.ts +4 -8
- package/src/generated/model/exchangeHandoff200.ts +1 -1
- package/src/generated/model/exchangeHandoff200Session.ts +5 -5
- package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
- package/src/generated/model/exchangeHandoff400.ts +1 -1
- package/src/generated/model/exchangeHandoff401.ts +1 -1
- package/src/generated/model/exchangeHandoffBody.ts +2 -1
- package/src/generated/model/finishUserPasskeyRegistration400.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration401.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration403.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration404.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration500.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
- package/src/generated/model/getAuthAttempt200.ts +4 -4
- package/src/generated/model/getAuthAttempt200ChallengesItem.ts +3 -3
- package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
- package/src/generated/model/getBrandingById200.ts +1 -1
- package/src/generated/model/getBrandingById200Branding.ts +4 -4
- package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
- package/src/generated/model/getBrandingById200BrandingTheme.ts +3 -3
- package/src/generated/model/getBrandingById200BrandingThemeDark.ts +1 -1
- package/src/generated/model/getBrandingById200BrandingThemeLight.ts +1 -1
- package/src/generated/model/getBrandingById404.ts +1 -1
- package/src/generated/model/getBrandingByIdDefault.ts +1 -1
- package/src/generated/model/getClaimStatus401.ts +1 -1
- package/src/generated/model/getClaimStatus404.ts +1 -1
- package/src/generated/model/getClaimStatus429.ts +1 -1
- package/src/generated/model/getClaimStatusDefault.ts +1 -1
- package/src/generated/model/getClaimWindow404.ts +1 -1
- package/src/generated/model/getClaimWindow429.ts +1 -1
- package/src/generated/model/getClaimWindowDefault.ts +1 -1
- package/src/generated/model/getDeploymentById200.ts +29 -20
- package/src/generated/model/getDeploymentById200Metadata.ts +18 -27
- package/src/generated/model/getDeploymentById200MetadataReason.ts +6 -7
- package/src/generated/model/getDeploymentById200Release.ts +56 -4
- package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +1 -1
- package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +3 -1
- package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/getDeploymentById200TargetsItem.ts +32 -0
- package/src/generated/model/getDeploymentByIdDefault.ts +9 -0
- package/src/generated/model/getDeploymentVariables200.ts +17 -0
- package/src/generated/model/getDeploymentVariablesDefault.ts +81 -0
- package/src/generated/model/getDeploymentVariablesParams.ts +15 -0
- package/src/generated/model/getEvent200.ts +373 -62
- package/src/generated/model/getEvent401.ts +1 -1
- package/src/generated/model/getEvent403.ts +1 -1
- package/src/generated/model/getEvent404.ts +1 -1
- package/src/generated/model/getEventDefault.ts +1 -1
- package/src/generated/model/getFlowDefinition200.ts +2 -2
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +11 -7
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
- package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +5 -19
- package/src/generated/model/getFlowStep200.ts +2 -2
- package/src/generated/model/getFlowStep200Branding.ts +4 -4
- package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
- package/src/generated/model/getFlowStep200BrandingTheme.ts +3 -3
- package/src/generated/model/getFlowStep200BrandingThemeDark.ts +1 -1
- package/src/generated/model/getFlowStep200BrandingThemeLight.ts +1 -1
- package/src/generated/model/getFlowStep200Step.ts +12 -11
- package/src/generated/model/getFlowStep200StepActionsItem.ts +1 -1
- package/src/generated/model/getFlowStep200StepChallenge.ts +2 -2
- package/src/generated/model/getFlowStep200StepFieldsItem.ts +11 -2
- package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/getFlowStep200StepGates.ts +2 -2
- package/src/generated/model/getFlowStep200StepTexts.ts +6 -1
- package/src/generated/model/getFlowStep404.ts +1 -1
- package/src/generated/model/getFlowStep409.ts +1 -1
- package/src/generated/model/getFlowStep410.ts +1 -1
- package/src/generated/model/getFlowStepDefault.ts +28 -10
- package/src/generated/model/getGrant200.ts +4 -4
- package/src/generated/model/getGrant200Team.ts +1 -1
- package/src/generated/model/getGrant200User.ts +2 -2
- package/src/generated/model/getGrant200UserMetadata.ts +2 -2
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/getGrant401.ts +1 -1
- package/src/generated/model/getGrant403.ts +1 -1
- package/src/generated/model/getGrant404.ts +1 -1
- package/src/generated/model/getGrantParams.ts +1 -1
- package/src/generated/model/getHealth4xx.ts +1 -1
- package/src/generated/model/getHealthDefault.ts +1 -1
- package/src/generated/model/getIdpById200.ts +1 -1
- package/src/generated/model/getIdpById200Definition.ts +10 -13
- package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionOidc.ts +3 -3
- package/src/generated/model/getIdpById200DefinitionProtocol.ts +1 -2
- package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/getIdpById401.ts +1 -1
- package/src/generated/model/getIdpById403.ts +1 -1
- package/src/generated/model/getIdpById404.ts +1 -1
- package/src/generated/model/getIdpRevisionById200.ts +1 -1
- package/src/generated/model/getIdpRevisionById200Definition.ts +10 -13
- package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +3 -3
- package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +1 -2
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/getIdpRevisionById401.ts +1 -1
- package/src/generated/model/getIdpRevisionById403.ts +1 -1
- package/src/generated/model/getIdpRevisionById404.ts +1 -1
- package/src/generated/model/getLive4xx.ts +1 -1
- package/src/generated/model/getLiveDefault.ts +1 -1
- package/src/generated/model/getMySession200.ts +5 -5
- package/src/generated/model/getMySession200FactorsItem.ts +2 -2
- package/src/generated/model/getMySession403.ts +23 -0
- package/src/generated/model/getMySessionCsrfToken403.ts +23 -0
- package/src/generated/model/getMySessionCsrfTokenDefault.ts +54 -0
- package/src/generated/model/getMySessionCsrfTokenParams.ts +26 -0
- package/src/generated/model/getMySessionDefault.ts +9 -0
- package/src/generated/model/getMySessionParams.ts +26 -0
- package/src/generated/model/getMyUser200.ts +3 -3
- package/src/generated/model/getMyUser200Metadata.ts +2 -2
- package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/getMyUser200TeamsItem.ts +1 -1
- package/src/generated/model/getMyUser401.ts +1 -1
- package/src/generated/model/getMyUser403.ts +23 -0
- package/src/generated/model/getMyUserDefault.ts +1 -1
- package/src/generated/model/getMyUserParams.ts +26 -0
- package/src/generated/model/getMyUserSchema200.ts +31 -0
- package/src/generated/model/getMyUserSchema200Metadata.ts +12 -0
- package/src/generated/model/getMyUserSchema200Schema.ts +83 -0
- package/src/generated/model/getMyUserSchema401.ts +23 -0
- package/src/generated/model/getMyUserSchema403.ts +23 -0
- package/src/generated/model/getMyUserSchema404.ts +23 -0
- package/src/generated/model/{listEnvironmentsDefault.ts → getMyUserSchemaDefault.ts} +5 -5
- package/src/generated/model/getMyUserSchemaParams.ts +26 -0
- package/src/generated/model/getProject200.ts +8 -3
- package/src/generated/model/getProject200OriginsItem.ts +23 -0
- package/src/generated/model/getProject200OriginsItemKind.ts +15 -0
- package/src/generated/model/getProject200PasswordHash.ts +2 -2
- package/src/generated/model/getProject200PasswordHashParams.ts +1 -1
- package/src/generated/model/getProject401.ts +1 -1
- package/src/generated/model/getProject404.ts +1 -1
- package/src/generated/model/getReady4xx.ts +1 -1
- package/src/generated/model/getReadyDefault.ts +1 -1
- package/src/generated/model/getReleaseById200.ts +56 -4
- package/src/generated/model/getReleaseById200Metadata.ts +1 -1
- package/src/generated/model/getReleaseById200PointersItem.ts +3 -1
- package/src/generated/model/getReleaseById200PointersItemKind.ts +1 -0
- package/src/generated/model/getSchemaById200.ts +2 -2
- package/src/generated/model/getSchemaById200Schema.ts +5 -19
- package/src/generated/model/getSession200.ts +5 -5
- package/src/generated/model/getSession200FactorsItem.ts +2 -2
- package/src/generated/model/getSession401.ts +1 -1
- package/src/generated/model/getSession403.ts +1 -1
- package/src/generated/model/getSession404.ts +1 -1
- package/src/generated/model/getTeam200.ts +1 -1
- package/src/generated/model/getTeam401.ts +1 -1
- package/src/generated/model/getTeam404.ts +1 -1
- package/src/generated/model/getTeamDefault.ts +1 -1
- package/src/generated/model/getUserByID200.ts +3 -3
- package/src/generated/model/getUserByID200Metadata.ts +2 -2
- package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/getUserByID200TeamsItem.ts +1 -1
- package/src/generated/model/getUserByID401.ts +1 -1
- package/src/generated/model/getUserByID404.ts +1 -1
- package/src/generated/model/getVariable200.ts +22 -9
- package/src/generated/model/getVariable200Preview.ts +20 -0
- package/src/generated/model/getVariable200Primary.ts +20 -0
- package/src/generated/model/getVariableDefault.ts +0 -9
- package/src/generated/model/getVariableKind.ts +15 -0
- package/src/generated/model/getVariableParams.ts +4 -8
- package/src/generated/model/getVariables200.ts +23 -10
- package/src/generated/model/getVariables200Preview.ts +20 -0
- package/src/generated/model/getVariables200Primary.ts +20 -0
- package/src/generated/model/getVariablesDefault.ts +0 -9
- package/src/generated/model/getVariablesKind.ts +15 -0
- package/src/generated/model/getVariablesParams.ts +4 -8
- package/src/generated/model/index.ts +1299 -1155
- package/src/generated/model/initClaim401.ts +1 -1
- package/src/generated/model/initClaim409.ts +1 -1
- package/src/generated/model/initClaimDefault.ts +1 -1
- package/src/generated/model/issueChallenge201.ts +3 -3
- package/src/generated/model/issueChallengeBody.ts +2 -2
- package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +1 -1
- package/src/generated/model/listBrandingDefault.ts +1 -1
- package/src/generated/model/listDeployments200.ts +4 -5
- package/src/generated/model/listDeployments200DeploymentsItem.ts +29 -20
- package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +18 -27
- package/src/generated/model/listDeployments200DeploymentsItemMetadataReason.ts +6 -7
- package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +56 -4
- package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +1 -1
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +1 -0
- package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +32 -0
- package/src/generated/model/listDeploymentsDefault.ts +2 -2
- package/src/generated/model/listDeploymentsParams.ts +14 -9
- package/src/generated/model/listEvents200.ts +1 -1
- package/src/generated/model/listEvents200DataItem.ts +373 -62
- package/src/generated/model/listEvents400.ts +1 -1
- package/src/generated/model/listEvents401.ts +1 -1
- package/src/generated/model/listEvents403.ts +1 -1
- package/src/generated/model/listEventsDefault.ts +1 -1
- package/src/generated/model/listEventsParams.ts +2 -2
- package/src/generated/model/listFlowDefinitions200.ts +1 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +11 -7
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +5 -19
- package/src/generated/model/listFlowDefinitions400.ts +1 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +4 -4
- package/src/generated/model/listIdpRevisions200.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItem.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +10 -13
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +3 -3
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProtocol.ts +1 -2
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/listIdpRevisions401.ts +1 -1
- package/src/generated/model/listIdpRevisions403.ts +1 -1
- package/src/generated/model/listIdpRevisions404.ts +1 -1
- package/src/generated/model/listMyProjects200.ts +1 -1
- package/src/generated/model/listMyProjects200ProjectsItem.ts +8 -3
- package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +23 -0
- package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +15 -0
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +2 -2
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +1 -1
- package/src/generated/model/listMyProjects400.ts +1 -1
- package/src/generated/model/listMyProjects403.ts +23 -0
- package/src/generated/model/listMyProjects500.ts +1 -1
- package/src/generated/model/listMyProjectsDefault.ts +9 -0
- package/src/generated/model/listMyProjectsParams.ts +16 -0
- package/src/generated/model/{listEnvironments200.ts → listMyTeams200.ts} +4 -4
- package/src/generated/model/listMyTeams200TeamsItem.ts +33 -0
- package/src/generated/model/listMyTeams200TeamsItemMembershipStatus.ts +20 -0
- package/src/generated/model/{exchangeHandoff410.ts → listMyTeams400.ts} +3 -3
- package/src/generated/model/listMyTeams400Details.ts +12 -0
- package/src/generated/model/listMyTeams401.ts +23 -0
- package/src/generated/model/listMyTeams403.ts +23 -0
- package/src/generated/model/{getEnvironmentByNameDefault.ts → listMyTeamsDefault.ts} +5 -5
- package/src/generated/model/listMyTeamsParams.ts +39 -0
- package/src/generated/model/listPreviews200.ts +20 -0
- package/src/generated/model/listPreviews200PreviewsItem.ts +38 -0
- package/src/generated/model/listPreviewsDefault.ts +63 -0
- package/src/generated/model/{listEnvironmentsParams.ts → listPreviewsParams.ts} +1 -6
- package/src/generated/model/listReleases200.ts +1 -1
- package/src/generated/model/listReleases200ReleasesItem.ts +43 -1
- package/src/generated/model/listReleases200ReleasesItemMetadata.ts +1 -1
- package/src/generated/model/listReleasesParams.ts +40 -0
- package/src/generated/model/listSchemas200.ts +1 -1
- package/src/generated/model/listSchemas200SchemasItem.ts +2 -2
- package/src/generated/model/listSchemas200SchemasItemSchema.ts +5 -19
- package/src/generated/model/listSchemasParams.ts +2 -2
- package/src/generated/model/listUserIdentityLinks200.ts +20 -0
- package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +22 -0
- package/src/generated/model/listUserIdentityLinks400.ts +20 -0
- package/src/generated/model/listUserIdentityLinks400Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks401.ts +20 -0
- package/src/generated/model/listUserIdentityLinks401Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks403.ts +20 -0
- package/src/generated/model/listUserIdentityLinks403Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks404.ts +20 -0
- package/src/generated/model/listUserIdentityLinks404Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks500.ts +20 -0
- package/src/generated/model/listUserIdentityLinks500Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinksDefault.ts +54 -0
- package/src/generated/model/listUserIdentityLinksParams.ts +23 -0
- package/src/generated/model/listUserPasskeys200.ts +1 -1
- package/src/generated/model/listUserPasskeys400.ts +1 -1
- package/src/generated/model/listUserPasskeys401.ts +1 -1
- package/src/generated/model/listUserPasskeys403.ts +1 -1
- package/src/generated/model/listUserPasskeys404.ts +1 -1
- package/src/generated/model/listUserPasskeys500.ts +1 -1
- package/src/generated/model/listUserTeams200.ts +1 -1
- package/src/generated/model/listUserTeams200TeamsItem.ts +1 -1
- package/src/generated/model/listUserTeams400.ts +1 -1
- package/src/generated/model/listUserTeams401.ts +1 -1
- package/src/generated/model/listUserTeams403.ts +1 -1
- package/src/generated/model/listUserTeams404.ts +1 -1
- package/src/generated/model/listUserTeams500.ts +1 -1
- package/src/generated/model/patchMyUser200.ts +3 -3
- package/src/generated/model/patchMyUser200Metadata.ts +2 -2
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/patchMyUser200TeamsItem.ts +1 -1
- package/src/generated/model/patchMyUser400.ts +1 -1
- package/src/generated/model/patchMyUser401.ts +1 -1
- package/src/generated/model/patchMyUser403.ts +20 -0
- package/src/generated/model/patchMyUser403Details.ts +12 -0
- package/src/generated/model/patchMyUser409.ts +1 -1
- package/src/generated/model/patchMyUserBody.ts +1 -1
- package/src/generated/model/patchMyUserDefault.ts +1 -1
- package/src/generated/model/patchMyUserParams.ts +26 -0
- package/src/generated/model/patchProject200.ts +8 -3
- package/src/generated/model/patchProject200OriginsItem.ts +23 -0
- package/src/generated/model/patchProject200OriginsItemKind.ts +15 -0
- package/src/generated/model/patchProject200PasswordHash.ts +2 -2
- package/src/generated/model/patchProject200PasswordHashParams.ts +1 -1
- package/src/generated/model/patchProject400.ts +1 -1
- package/src/generated/model/patchProject401.ts +1 -1
- package/src/generated/model/patchProject404.ts +1 -1
- package/src/generated/model/patchProjectBody.ts +1 -1
- package/src/generated/model/patchProjectBodyPasswordHash.ts +2 -2
- package/src/generated/model/patchProjectBodyPasswordHashParams.ts +1 -1
- package/src/generated/model/patchUserByID200.ts +3 -3
- package/src/generated/model/patchUserByID200Metadata.ts +2 -2
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/patchUserByID200TeamsItem.ts +1 -1
- package/src/generated/model/patchUserByID400.ts +1 -1
- package/src/generated/model/patchUserByID401.ts +1 -1
- package/src/generated/model/patchUserByID403.ts +1 -1
- package/src/generated/model/patchUserByID404.ts +1 -1
- package/src/generated/model/patchUserByID409.ts +1 -1
- package/src/generated/model/patchUserByIDBody.ts +12 -5
- package/src/generated/model/patchUserByIDDefault.ts +9 -0
- package/src/generated/model/queryGrants200.ts +1 -1
- package/src/generated/model/queryGrants200GrantsItem.ts +4 -4
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +1 -1
- package/src/generated/model/queryGrants200GrantsItemUser.ts +2 -2
- package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +2 -2
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/queryGrants400.ts +1 -1
- package/src/generated/model/queryGrants401.ts +1 -1
- package/src/generated/model/queryGrants403.ts +1 -1
- package/src/generated/model/queryGrantsBody.ts +3 -3
- package/src/generated/model/queryGrantsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryGrantsBodySorting.ts +2 -2
- package/src/generated/model/queryIdps200.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItem.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinition.ts +10 -13
- package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +3 -3
- package/src/generated/model/queryIdps200IdpsItemDefinitionProtocol.ts +1 -2
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/queryIdps400.ts +1 -1
- package/src/generated/model/queryIdps401.ts +1 -1
- package/src/generated/model/queryIdps403.ts +1 -1
- package/src/generated/model/queryIdps404.ts +1 -1
- package/src/generated/model/queryIdpsBody.ts +2 -2
- package/src/generated/model/queryIdpsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryIdpsBodySorting.ts +2 -2
- package/src/generated/model/queryIdpsDefault.ts +9 -0
- package/src/generated/model/queryProjects200.ts +1 -1
- package/src/generated/model/queryProjects200ProjectsItem.ts +8 -3
- package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +23 -0
- package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +15 -0
- package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +2 -2
- package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +1 -1
- package/src/generated/model/queryProjects400.ts +1 -1
- package/src/generated/model/queryProjects401.ts +1 -1
- package/src/generated/model/queryProjects403.ts +1 -1
- package/src/generated/model/queryProjects429.ts +1 -1
- package/src/generated/model/queryProjectsBody.ts +2 -2
- package/src/generated/model/queryProjectsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryProjectsBodySorting.ts +2 -2
- package/src/generated/model/querySessions200.ts +1 -1
- package/src/generated/model/querySessions200SessionsItem.ts +5 -5
- package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
- package/src/generated/model/querySessions400.ts +1 -1
- package/src/generated/model/querySessions401.ts +1 -1
- package/src/generated/model/querySessions403.ts +1 -1
- package/src/generated/model/querySessionsBody.ts +2 -2
- package/src/generated/model/querySessionsBodyFilterItem.ts +2 -2
- package/src/generated/model/querySessionsBodySorting.ts +2 -2
- package/src/generated/model/queryTeams200.ts +1 -1
- package/src/generated/model/queryTeams200TeamsItem.ts +1 -1
- package/src/generated/model/queryTeams400.ts +1 -1
- package/src/generated/model/queryTeams401.ts +1 -1
- package/src/generated/model/queryTeams403.ts +1 -1
- package/src/generated/model/queryTeams404.ts +1 -1
- package/src/generated/model/queryTeams429.ts +1 -1
- package/src/generated/model/queryTeamsBody.ts +2 -2
- package/src/generated/model/queryTeamsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryTeamsBodySorting.ts +2 -2
- package/src/generated/model/queryTeamsDefault.ts +1 -1
- package/src/generated/model/queryUsers200.ts +1 -1
- package/src/generated/model/queryUsers200UsersItem.ts +3 -3
- package/src/generated/model/queryUsers200UsersItemMetadata.ts +2 -2
- package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +1 -1
- package/src/generated/model/queryUsers400.ts +1 -1
- package/src/generated/model/queryUsers401.ts +1 -1
- package/src/generated/model/queryUsers403.ts +1 -1
- package/src/generated/model/queryUsersBody.ts +3 -3
- package/src/generated/model/queryUsersBodyFilterItem.ts +2 -2
- package/src/generated/model/queryUsersBodySorting.ts +2 -2
- package/src/generated/model/removeOriginBody.ts +15 -0
- package/src/generated/model/removeOriginDefault.ts +81 -0
- package/src/generated/model/removePreviewBody.ts +23 -0
- package/src/generated/model/removePreviewDefault.ts +72 -0
- package/src/generated/model/revokeMySession403.ts +20 -0
- package/src/generated/model/{exchangeHandoff410Details.ts → revokeMySession403Details.ts} +1 -1
- package/src/generated/model/revokeMySessionDefault.ts +9 -0
- package/src/generated/model/revokeMySessionParams.ts +26 -0
- package/src/generated/model/revokeRelease200.ts +96 -0
- package/src/generated/model/revokeRelease200Metadata.ts +43 -0
- package/src/generated/model/revokeRelease200MetadataCreatedByType.ts +20 -0
- package/src/generated/model/revokeRelease200PointersItem.ts +58 -0
- package/src/generated/model/revokeRelease200PointersItemKind.ts +27 -0
- package/src/generated/model/revokeRelease409.ts +19 -0
- package/src/generated/model/revokeRelease409Details.ts +16 -0
- package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +17 -0
- package/src/generated/model/revokeReleaseDefault.ts +45 -0
- package/src/generated/model/revokeReleaseParams.ts +15 -0
- package/src/generated/model/revokeSession401.ts +1 -1
- package/src/generated/model/revokeSession403.ts +1 -1
- package/src/generated/model/rollbackDeployment200.ts +71 -0
- package/src/generated/model/rollbackDeployment200Metadata.ts +49 -0
- package/src/generated/model/rollbackDeployment200MetadataDeployedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment200MetadataReason.ts +25 -0
- package/src/generated/model/rollbackDeployment200Release.ts +96 -0
- package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +43 -0
- package/src/generated/model/rollbackDeployment200ReleaseMetadataCreatedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +58 -0
- package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +27 -0
- package/src/generated/model/rollbackDeployment200TargetsItem.ts +32 -0
- package/src/generated/model/rollbackDeployment201.ts +71 -0
- package/src/generated/model/rollbackDeployment201Metadata.ts +49 -0
- package/src/generated/model/rollbackDeployment201MetadataDeployedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment201MetadataReason.ts +25 -0
- package/src/generated/model/rollbackDeployment201Release.ts +96 -0
- package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +43 -0
- package/src/generated/model/rollbackDeployment201ReleaseMetadataCreatedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +58 -0
- package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +27 -0
- package/src/generated/model/rollbackDeployment201TargetsItem.ts +32 -0
- package/src/generated/model/rollbackDeployment400.ts +20 -0
- package/src/generated/model/rollbackDeployment400Details.ts +12 -0
- package/src/generated/model/rollbackDeployment403.ts +20 -0
- package/src/generated/model/rollbackDeployment403Details.ts +12 -0
- package/src/generated/model/rollbackDeployment409.ts +271 -0
- package/src/generated/model/rollbackDeploymentBody.ts +25 -0
- package/src/generated/model/rollbackDeploymentDefault.ts +72 -0
- package/src/generated/model/rollbackDeploymentParams.ts +15 -0
- package/src/generated/model/setUserPassword400.ts +1 -1
- package/src/generated/model/setUserPassword404.ts +1 -1
- package/src/generated/model/setUserPassword500.ts +1 -1
- package/src/generated/model/submitFlowStep200.ts +2 -2
- package/src/generated/model/submitFlowStep200Branding.ts +4 -4
- package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
- package/src/generated/model/submitFlowStep200BrandingTheme.ts +3 -3
- package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +1 -1
- package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +1 -1
- package/src/generated/model/submitFlowStep200Step.ts +12 -11
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +1 -1
- package/src/generated/model/submitFlowStep200StepChallenge.ts +2 -2
- package/src/generated/model/submitFlowStep200StepFieldsItem.ts +11 -2
- package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/submitFlowStep200StepGates.ts +2 -2
- package/src/generated/model/submitFlowStep200StepTexts.ts +6 -1
- package/src/generated/model/submitFlowStep400.ts +2 -2
- package/src/generated/model/submitFlowStep400Branding.ts +4 -4
- package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
- package/src/generated/model/submitFlowStep400BrandingTheme.ts +3 -3
- package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +1 -1
- package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +1 -1
- package/src/generated/model/submitFlowStep400Step.ts +12 -11
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +1 -1
- package/src/generated/model/submitFlowStep400StepChallenge.ts +2 -2
- package/src/generated/model/submitFlowStep400StepFieldsItem.ts +11 -2
- package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/submitFlowStep400StepGates.ts +2 -2
- package/src/generated/model/submitFlowStep400StepTexts.ts +6 -1
- package/src/generated/model/submitFlowStep409.ts +1 -1
- package/src/generated/model/submitFlowStepBody.ts +8 -3
- package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +1 -1
- package/src/generated/model/submitFlowStepDefault.ts +45 -0
- package/src/generated/model/updateTeam200.ts +1 -1
- package/src/generated/model/updateTeam400.ts +1 -1
- package/src/generated/model/updateTeam401.ts +1 -1
- package/src/generated/model/updateTeam403.ts +1 -1
- package/src/generated/model/updateTeam404.ts +1 -1
- package/src/generated/model/updateTeam409.ts +1 -1
- package/src/generated/model/updateTeamDefault.ts +1 -1
- package/src/generated/model/updateVariables200.ts +23 -10
- package/src/generated/model/updateVariables200Preview.ts +20 -0
- package/src/generated/model/updateVariables200Primary.ts +20 -0
- package/src/generated/model/updateVariablesBody.ts +8 -14
- package/src/generated/model/updateVariablesDefault.ts +19 -1
- package/src/generated/model/updateVariablesKind.ts +15 -0
- package/src/generated/model/updateVariablesParams.ts +4 -8
- package/src/generated/model/userProperty.ts +39 -0
- package/src/generated/model/userPropertyProperties.ts +14 -0
- package/src/generated/model/userPropertyXUnique.ts +19 -0
- package/src/generated/model/verifyChallengeProof200.ts +4 -4
- package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +3 -3
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
- package/src/runtime/api-factory.ts +1 -1
- package/src/runtime/base-url.spec.ts +2 -2
- package/dist/index-C1weUrQx.d.mts.map +0 -1
- package/dist/zitadelNextGen-KWjI2Uyj.d.mts.map +0 -1
- package/src/generated/model/createIdp200DefinitionOauth2.ts +0 -55
- package/src/generated/model/createIdp200DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/createIdp200DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/createIdp201DefinitionOauth2.ts +0 -55
- package/src/generated/model/createIdp201DefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/createIdp201DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/createIdp201DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/createIdpBodyIdpOauth2.ts +0 -55
- package/src/generated/model/createIdpBodyIdpOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/createIdpBodyIdpOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/getEnvironmentByName200.ts +0 -41
- package/src/generated/model/getEnvironmentByName200CurrentDeployment.ts +0 -38
- package/src/generated/model/getEnvironmentByName200CurrentDeploymentReason.ts +0 -26
- package/src/generated/model/getIdpById200DefinitionOauth2.ts +0 -55
- package/src/generated/model/getIdpById200DefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/getIdpById200DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/getIdpById200DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2.ts +0 -55
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/listEnvironments200EnvironmentsItem.ts +0 -41
- package/src/generated/model/listEnvironments200EnvironmentsItemCurrentDeployment.ts +0 -38
- package/src/generated/model/listEnvironments200EnvironmentsItemCurrentDeploymentReason.ts +0 -26
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2.ts +0 -55
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2.ts +0 -55
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
|
@@ -23,6 +23,11 @@ const GetLiveResponse = zod.string();
|
|
|
23
23
|
*/
|
|
24
24
|
const GetReadyResponse = zod.string();
|
|
25
25
|
/**
|
|
26
|
+
* Creates a user whose attributes satisfy the user schema the request names.
|
|
27
|
+
*
|
|
28
|
+
* The server assigns the user's id. With `team_id`, the user also becomes an
|
|
29
|
+
* active member of that team. A value the schema marks unique that another
|
|
30
|
+
* user already holds is refused with `409`.
|
|
26
31
|
* @summary Create user
|
|
27
32
|
*/
|
|
28
33
|
const createUserQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -173,10 +178,14 @@ const QueryUsersResponse = zod.object({
|
|
|
173
178
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
174
179
|
}).describe("Paginated list of users.");
|
|
175
180
|
/**
|
|
181
|
+
* Returns a user by its id, with the attributes its schema defines.
|
|
182
|
+
*
|
|
183
|
+
* With `team_id`, the user is returned only while they are an active member of
|
|
184
|
+
* that team.
|
|
176
185
|
* @summary Get user by ID
|
|
177
186
|
*/
|
|
178
187
|
const getUserByIDPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
179
|
-
const GetUserByIDParams = zod.object({ "user_id": zod.string().regex(getUserByIDPathUserIdRegExp) });
|
|
188
|
+
const GetUserByIDParams = zod.object({ "user_id": zod.string().regex(getUserByIDPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
180
189
|
const getUserByIDQueryTeamIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
181
190
|
const GetUserByIDQueryParams = zod.strictObject({ "team_id": zod.string().regex(getUserByIDQueryTeamIdRegExp).optional().describe("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\nIt reads the user's memberships, so it takes the same permission as the\n`team_id` filter on `POST /users/query`: `team_membership.read` for a\nproject secret, read on the whole project for a Console session.\nOtherwise the answer is `403 user.permission_denied`.\n") });
|
|
182
191
|
const getUserByIDResponseIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
@@ -226,11 +235,11 @@ const GetUserByIDResponse = zod.object({
|
|
|
226
235
|
* @summary Update user by ID
|
|
227
236
|
*/
|
|
228
237
|
const patchUserByIDPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
229
|
-
const PatchUserByIDParams = zod.object({ "user_id": zod.string().regex(patchUserByIDPathUserIdRegExp) });
|
|
238
|
+
const PatchUserByIDParams = zod.object({ "user_id": zod.string().regex(patchUserByIDPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
230
239
|
const PatchUserByIDBody = zod.object({
|
|
231
|
-
"schema": zod.string().min(1).optional().describe("The schema the user follows after this patch. Omit it to keep the\ncurrent schema. The schema must already be registered via `/schemas
|
|
240
|
+
"schema": zod.string().min(1).optional().describe("The schema the user follows after this patch. Omit it to keep the\ncurrent schema. The schema must already be registered via `/schemas`\nand be a revision of the user's current schema.\n"),
|
|
232
241
|
"attributes": zod.record(zod.string(), zod.unknown()).optional().describe("The changed attributes only. `null` deletes an attribute; omitted\nkeys are untouched.\n")
|
|
233
|
-
}).describe("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
|
|
242
|
+
}).describe("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 target must be a revision of the user's current\nschema (the same `objectType`), newer or older; a schema of another\n`objectType` is rejected with `user.invalid`. A schema stored without an\n`objectType` is a revision of nothing, so a user cannot move to or from\none. The request must be\nself-contained: merged attributes are validated against the new schema\nbefore commit, and every uniqueness claim is recomputed under the new\nschema's annotations. Values removed by an earlier move are not restored\nby moving back.\n");
|
|
234
243
|
const patchUserByIDResponseIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
235
244
|
const PatchUserByIDResponse = zod.object({
|
|
236
245
|
"id": zod.string().regex(patchUserByIDResponseIdRegExp),
|
|
@@ -271,16 +280,47 @@ const PatchUserByIDResponse = zod.object({
|
|
|
271
280
|
"teams_truncated": zod.boolean().optional().describe("True when the user is on more teams than the embedded list carries. The\nembedded list is capped and cannot be paged; read them all at\n`GET /users/{user_id}/teams`. Present only alongside `teams`.\n")
|
|
272
281
|
}).describe("A user represents an individual identity in the system. It can be used to\nrepresent a human user, but also a service account or any other type of\nidentity.\n\n`attributes` is the document that satisfies the user schema named by\n`schema`: its property names and types are defined entirely by that schema,\nand it is what the schema validates. The rest of the object — `id`,\n`schema`, `metadata` — is the server-owned envelope. Keeping the two apart\nmeans a schema may name a property `id` or `metadata` without colliding with\nthe envelope, and closed-world keywords (`additionalProperties: false`,\n`propertyNames`, `unevaluatedProperties`) behave as their author expects.\n");
|
|
273
282
|
/**
|
|
283
|
+
* Deletes a user and removes them from every team they belong to.
|
|
284
|
+
*
|
|
285
|
+
* The user is removed, not deactivated, and the deletion emits `user.deleted`.
|
|
286
|
+
* With a project secret the request is idempotent: deleting a user that exists
|
|
287
|
+
* in no project succeeds without changing anything.
|
|
274
288
|
* @summary Delete user by ID
|
|
275
289
|
*/
|
|
276
290
|
const deleteUserByIDPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
277
|
-
const DeleteUserByIDParams = zod.object({ "user_id": zod.string().regex(deleteUserByIDPathUserIdRegExp) });
|
|
291
|
+
const DeleteUserByIDParams = zod.object({ "user_id": zod.string().regex(deleteUserByIDPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
278
292
|
const DeleteUserByIDResponse = zod.void();
|
|
279
293
|
/**
|
|
294
|
+
* The identity provider accounts a sign-in linked to the user, oldest first.
|
|
295
|
+
* The provider's subject and claims are never returned.
|
|
296
|
+
* @summary List the provider accounts linked to a user
|
|
297
|
+
*/
|
|
298
|
+
const listUserIdentityLinksPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
299
|
+
const ListUserIdentityLinksParams = zod.object({ "user_id": zod.string().regex(listUserIdentityLinksPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
300
|
+
const listUserIdentityLinksQueryLimitDefault = 20;
|
|
301
|
+
const listUserIdentityLinksQueryLimitMax = 100;
|
|
302
|
+
const ListUserIdentityLinksQueryParams = zod.strictObject({
|
|
303
|
+
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
304
|
+
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n")
|
|
305
|
+
});
|
|
306
|
+
const ListUserIdentityLinksResponse = zod.object({
|
|
307
|
+
"identity_links": zod.array(zod.object({
|
|
308
|
+
"id": zod.string().describe("The unique identifier of the link."),
|
|
309
|
+
"connection_id": zod.string().describe("The IdP connection the account signs in through, by its id rather than a\nrevision id; `GET /idps/{id}` resolves it.\n"),
|
|
310
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the account was linked to the user.")
|
|
311
|
+
}).describe("One provider account linked to the user.")),
|
|
312
|
+
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
313
|
+
}).describe("Response containing the provider accounts linked to the user.");
|
|
314
|
+
/**
|
|
315
|
+
* Returns the passkeys registered for a user, newest first, paginated with a
|
|
316
|
+
* cursor.
|
|
317
|
+
*
|
|
318
|
+
* Each passkey carries its id, its name and when it was registered, never the
|
|
319
|
+
* credential itself.
|
|
280
320
|
* @summary List user passkeys
|
|
281
321
|
*/
|
|
282
322
|
const listUserPasskeysPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
283
|
-
const ListUserPasskeysParams = zod.object({ "user_id": zod.string().regex(listUserPasskeysPathUserIdRegExp) });
|
|
323
|
+
const ListUserPasskeysParams = zod.object({ "user_id": zod.string().regex(listUserPasskeysPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
284
324
|
const listUserPasskeysQueryLimitDefault = 20;
|
|
285
325
|
const listUserPasskeysQueryLimitMax = 100;
|
|
286
326
|
const ListUserPasskeysQueryParams = zod.strictObject({
|
|
@@ -304,7 +344,7 @@ const ListUserPasskeysResponse = zod.object({
|
|
|
304
344
|
* @summary Begin passkey registration
|
|
305
345
|
*/
|
|
306
346
|
const beginUserPasskeyRegistrationPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
307
|
-
const BeginUserPasskeyRegistrationParams = zod.object({ "user_id": zod.string().regex(beginUserPasskeyRegistrationPathUserIdRegExp) });
|
|
347
|
+
const BeginUserPasskeyRegistrationParams = zod.object({ "user_id": zod.string().regex(beginUserPasskeyRegistrationPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
308
348
|
const BeginUserPasskeyRegistrationBody = zod.object({
|
|
309
349
|
"rp_id": zod.string().min(1).describe("Relying Party ID the credential is scoped to."),
|
|
310
350
|
"rp_origins": zod.array(zod.url()).min(1).describe("Allowed origins for this ceremony's attestation."),
|
|
@@ -326,8 +366,8 @@ const BeginUserPasskeyRegistrationResponse = zod.object({
|
|
|
326
366
|
*/
|
|
327
367
|
const finishUserPasskeyRegistrationPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
328
368
|
const FinishUserPasskeyRegistrationParams = zod.object({
|
|
329
|
-
"user_id": zod.string().regex(finishUserPasskeyRegistrationPathUserIdRegExp),
|
|
330
|
-
"registration_id": zod.string()
|
|
369
|
+
"user_id": zod.string().regex(finishUserPasskeyRegistrationPathUserIdRegExp).describe("The unique identifier of the user."),
|
|
370
|
+
"registration_id": zod.string().describe("The ceremony identifier returned by begin.")
|
|
331
371
|
});
|
|
332
372
|
const FinishUserPasskeyRegistrationBody = zod.object({
|
|
333
373
|
"attestation": zod.record(zod.string(), zod.unknown()).describe("The WebAuthn AttestationResponse object from `navigator.credentials.create()`."),
|
|
@@ -339,10 +379,15 @@ const FinishUserPasskeyRegistrationResponse = zod.object({
|
|
|
339
379
|
"created_at": zod.iso.datetime({ "offset": true }).describe("The timestamp when the passkey was created.")
|
|
340
380
|
}).describe("The registered passkey.");
|
|
341
381
|
/**
|
|
382
|
+
* Sets a user's password, hashed with the project's current password hashing
|
|
383
|
+
* policy.
|
|
384
|
+
*
|
|
385
|
+
* The new password replaces the current one, and setting it emits
|
|
386
|
+
* `auth.factor.password.set`.
|
|
342
387
|
* @summary Set user password
|
|
343
388
|
*/
|
|
344
389
|
const setUserPasswordPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
345
|
-
const SetUserPasswordParams = zod.object({ "user_id": zod.string().regex(setUserPasswordPathUserIdRegExp) });
|
|
390
|
+
const SetUserPasswordParams = zod.object({ "user_id": zod.string().regex(setUserPasswordPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
346
391
|
const SetUserPasswordBody = zod.object({ "password": zod.string().describe("The new password for the user.") }).describe("Request to update the user's password.");
|
|
347
392
|
const SetUserPasswordResponse = zod.void();
|
|
348
393
|
/**
|
|
@@ -356,7 +401,7 @@ const SetUserPasswordResponse = zod.void();
|
|
|
356
401
|
* @summary List the teams a user belongs to
|
|
357
402
|
*/
|
|
358
403
|
const listUserTeamsPathUserIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
359
|
-
const ListUserTeamsParams = zod.object({ "user_id": zod.string().regex(listUserTeamsPathUserIdRegExp) });
|
|
404
|
+
const ListUserTeamsParams = zod.object({ "user_id": zod.string().regex(listUserTeamsPathUserIdRegExp).describe("The unique identifier of the user.") });
|
|
360
405
|
const listUserTeamsQueryLimitDefault = 20;
|
|
361
406
|
const listUserTeamsQueryLimitMax = 100;
|
|
362
407
|
const ListUserTeamsQueryParams = zod.strictObject({
|
|
@@ -378,8 +423,17 @@ const ListUserTeamsResponse = zod.object({
|
|
|
378
423
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
379
424
|
}).describe("Paginated list of the teams a user belongs to.");
|
|
380
425
|
/**
|
|
426
|
+
* Returns the user signed in to the session that authenticates the request.
|
|
427
|
+
*
|
|
428
|
+
* The project and the user both come from the session cookie, so a caller only
|
|
429
|
+
* ever reads their own user.
|
|
430
|
+
*
|
|
431
|
+
* With `project_id`, the user is returned only when the session belongs to
|
|
432
|
+
* that project.
|
|
381
433
|
* @summary Get my user information
|
|
382
434
|
*/
|
|
435
|
+
const getMyUserQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
436
|
+
const GetMyUserQueryParams = zod.strictObject({ "project_id": zod.string().regex(getMyUserQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n") });
|
|
383
437
|
const getMyUserResponseIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
384
438
|
const GetMyUserResponse = zod.object({
|
|
385
439
|
"id": zod.string().regex(getMyUserResponseIdRegExp),
|
|
@@ -423,8 +477,13 @@ const GetMyUserResponse = zod.object({
|
|
|
423
477
|
* Partially updates the caller's own schema-defined attributes. The merged
|
|
424
478
|
* result is validated against the user's schema before commit. Concurrent
|
|
425
479
|
* writes are last-write-wins.
|
|
480
|
+
*
|
|
481
|
+
* With `project_id`, the user is updated only when the session belongs to
|
|
482
|
+
* that project.
|
|
426
483
|
* @summary Update my user information
|
|
427
484
|
*/
|
|
485
|
+
const patchMyUserQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
486
|
+
const PatchMyUserQueryParams = zod.strictObject({ "project_id": zod.string().regex(patchMyUserQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n") });
|
|
428
487
|
const PatchMyUserBody = zod.object({ "attributes": zod.record(zod.string(), zod.unknown()).describe("The changed attributes only. `null` deletes an attribute; omitted\nkeys are untouched.\n") }).describe("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");
|
|
429
488
|
const patchMyUserResponseIdRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
430
489
|
const PatchMyUserResponse = zod.object({
|
|
@@ -473,19 +532,28 @@ const PatchMyUserResponse = zod.object({
|
|
|
473
532
|
* This is not the same question as `queryProjects`, which answers with the one
|
|
474
533
|
* project the calling credential is bound to. Here the session is the caller
|
|
475
534
|
* and the grants are the answer, so the list spans projects.
|
|
535
|
+
*
|
|
536
|
+
* With `project_id`, the projects are listed only when the session belongs to
|
|
537
|
+
* that project. It names the project the session was signed in to, not one to
|
|
538
|
+
* list.
|
|
476
539
|
* @summary List the projects I can act on
|
|
477
540
|
*/
|
|
478
541
|
const listMyProjectsQueryLimitDefault = 20;
|
|
479
542
|
const listMyProjectsQueryLimitMax = 100;
|
|
543
|
+
const listMyProjectsQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
480
544
|
const ListMyProjectsQueryParams = zod.strictObject({
|
|
481
545
|
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
482
|
-
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n")
|
|
546
|
+
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n"),
|
|
547
|
+
"project_id": zod.string().regex(listMyProjectsQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n")
|
|
483
548
|
});
|
|
484
549
|
const ListMyProjectsResponse = zod.object({
|
|
485
550
|
"projects": zod.array(zod.object({
|
|
486
551
|
"id": zod.string().describe("The unique identifier of the project."),
|
|
487
552
|
"name": zod.string().describe("The name of the project."),
|
|
488
|
-
"
|
|
553
|
+
"origins": zod.array(zod.object({
|
|
554
|
+
"pattern": zod.string(),
|
|
555
|
+
"kind": zod.enum(["primary", "preview"])
|
|
556
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).describe("The project's origins. An empty list means every origin is admitted\nuntil the first pattern is added. Loopback origins are admitted without\na pattern.\n"),
|
|
489
557
|
"created_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was created."),
|
|
490
558
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was last updated."),
|
|
491
559
|
"password_hash": zod.union([zod.object({
|
|
@@ -516,6 +584,80 @@ const ListMyProjectsResponse = zod.object({
|
|
|
516
584
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nPresent when the page was full. A following request may return an empty page\nand no token, which ends the listing.\n")
|
|
517
585
|
}).describe("Paginated list of projects, ordered by project id.");
|
|
518
586
|
/**
|
|
587
|
+
* The schema the signed-in user's own record is validated against.
|
|
588
|
+
*
|
|
589
|
+
* With `project_id`, the schema is returned only when the session belongs to
|
|
590
|
+
* that project.
|
|
591
|
+
* @summary Get my user schema
|
|
592
|
+
*/
|
|
593
|
+
const getMyUserSchemaQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
594
|
+
const GetMyUserSchemaQueryParams = zod.strictObject({ "project_id": zod.string().regex(getMyUserSchemaQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n") });
|
|
595
|
+
const getMyUserSchemaResponseSchemaOneObjectTypeMax = 256;
|
|
596
|
+
const getMyUserSchemaResponseSchemaOneMetaSchemaMax = 1024;
|
|
597
|
+
const getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemMax = 64;
|
|
598
|
+
const getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9][a-z0-9_-]*$");
|
|
599
|
+
const getMyUserSchemaResponseSchemaOnePropertiesXAuditDefault = false;
|
|
600
|
+
const GetMyUserSchemaResponse = zod.object({
|
|
601
|
+
"id": zod.string().describe("The resource id: the server-minted `sch_*` identifier, or the\ncustomer-supplied `$id` URI when the document declared one at creation.\n"),
|
|
602
|
+
"schema": zod.object({
|
|
603
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
604
|
+
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
605
|
+
"metaSchema": zod.url().max(getMyUserSchemaResponseSchemaOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
606
|
+
"x-auth-methods": zod.object({
|
|
607
|
+
"password": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional(),
|
|
608
|
+
"passkey": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional(),
|
|
609
|
+
"magic_link": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional(),
|
|
610
|
+
"sso": zod.object({
|
|
611
|
+
"enabled": zod.boolean().describe("Whether the authentication method is enabled or not"),
|
|
612
|
+
"providers": zod.array(zod.string().max(64).regex(getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp)).min(1).optional().describe("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.")
|
|
613
|
+
}).optional(),
|
|
614
|
+
"otp": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional()
|
|
615
|
+
}).describe("A list of authentication methods supported by the user definition."),
|
|
616
|
+
"x-identifier": zod.string().min(1).optional().describe("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"),
|
|
617
|
+
"x-display": zod.array(zod.string().min(1)).min(1).optional().describe("Ordered leaf property paths whose values, joined with a space, render\nthe user's display name.\n"),
|
|
618
|
+
"properties": zod.record(zod.string(), zod.object({
|
|
619
|
+
"x-unique": zod.union([zod.enum([
|
|
620
|
+
"unspecified",
|
|
621
|
+
"project",
|
|
622
|
+
"team"
|
|
623
|
+
]), zod.null()]).optional().describe("The level of uniqueness for this property, if applicable"),
|
|
624
|
+
"x-claim": zod.union([zod.string(), zod.null()]).optional().describe("The claim name for this property, if applicable"),
|
|
625
|
+
"x-audit": zod.boolean().default(false).describe("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"),
|
|
626
|
+
"properties": zod.record(zod.string(), zod.unknown()).optional().describe("A map of additional properties for the user definition, where the key is\nthe property name and the value is the property schema.\n")
|
|
627
|
+
}).describe("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")).optional().describe("A map of additional properties for the user definition, where the\nkey is the property name and the value is the property schema\n")
|
|
628
|
+
}).describe("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").describe("The customer-authored JSON Schema document, served verbatim."),
|
|
629
|
+
"metadata": zod.object({ "created_at": zod.iso.datetime({ "offset": true }).describe("The time when the schema was created.") })
|
|
630
|
+
}).describe("A schema resource: the server-owned envelope around a customer-authored\nJSON Schema document.\n\n`schema` is the customer-authored document, served verbatim: its keys and\ncontents are defined entirely by its author. The rest of the object — `id`,\n`metadata` — is the server-owned envelope. Keeping the two apart means the\ndocument may declare any property (including `id` or `metadata`) without\ncolliding with the envelope, and the resource `id` stays distinguishable\nfrom the document's own `$id`.\n");
|
|
631
|
+
/**
|
|
632
|
+
* The signed-in user's own team roster, ordered by team name.
|
|
633
|
+
*
|
|
634
|
+
* With `project_id`, the teams are listed only when the session belongs to
|
|
635
|
+
* that project.
|
|
636
|
+
* @summary List the teams I belong to
|
|
637
|
+
*/
|
|
638
|
+
const listMyTeamsQueryLimitDefault = 20;
|
|
639
|
+
const listMyTeamsQueryLimitMax = 100;
|
|
640
|
+
const listMyTeamsQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
641
|
+
const ListMyTeamsQueryParams = zod.strictObject({
|
|
642
|
+
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
643
|
+
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n"),
|
|
644
|
+
"project_id": zod.string().regex(listMyTeamsQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n")
|
|
645
|
+
});
|
|
646
|
+
const ListMyTeamsResponse = zod.object({
|
|
647
|
+
"teams": zod.array(zod.object({
|
|
648
|
+
"id": zod.string().describe("The unique identifier of the team."),
|
|
649
|
+
"name": zod.string().describe("The name of the team."),
|
|
650
|
+
"membership_status": zod.enum([
|
|
651
|
+
"pending",
|
|
652
|
+
"active",
|
|
653
|
+
"inactive"
|
|
654
|
+
]).describe("The user's participation state on this team. Memberships the user was\nremoved from are not returned.\n"),
|
|
655
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("The time when the user joined this team."),
|
|
656
|
+
"updated_at": zod.iso.datetime({ "offset": true }).describe("The time when this membership was last changed.")
|
|
657
|
+
}).describe("One entry of a user's team roster: a team the user belongs to, with the\nmembership's participation state. The team's `name` travels with the entry, so\na page renders without a follow-up `POST /teams/query` per row.\n\nRoster membership is not lifecycle ownership. A user can belong to many teams\nwhile still owning their own lifecycle — that single owning team is reported\nas `metadata.lifecycle_owner_team_id` on the user itself.\n")),
|
|
658
|
+
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
659
|
+
}).describe("Paginated list of the teams a user belongs to.");
|
|
660
|
+
/**
|
|
519
661
|
* Resolves a flow definition based on purpose + audience context and returns
|
|
520
662
|
* the first capability step. Creates a new session implicitly unless
|
|
521
663
|
* `session_id` is provided (for step-up / reauth on an existing session).
|
|
@@ -553,11 +695,12 @@ const CreateFlowBody = zod.object({
|
|
|
553
695
|
"hint": zod.object({
|
|
554
696
|
"login_name": zod.string().optional().describe("Auto-submits identifier step (maps to OIDC login_hint)."),
|
|
555
697
|
"team_id": zod.string().optional().describe("Scopes flow resolution to a team."),
|
|
556
|
-
"user_schema_id": zod.string().optional().describe("Scopes to a specific user type."),
|
|
698
|
+
"user_schema_id": zod.string().optional().describe("Scopes to a specific user type, the `objectType` of a user schema."),
|
|
557
699
|
"app_id": zod.string().optional().describe("Scopes to a specific application.")
|
|
558
700
|
}).optional()
|
|
559
701
|
});
|
|
560
702
|
const createFlowResponseStepFieldsItemRequiredDefault = false;
|
|
703
|
+
const createFlowResponseStepFieldsItemReadOnlyDefault = false;
|
|
561
704
|
const createFlowResponseStepFieldsItemValidationMinLengthMin = 0;
|
|
562
705
|
const createFlowResponseStepFieldsItemValidationMaxLengthMin = 0;
|
|
563
706
|
const createFlowResponseStepFieldsDefault = [];
|
|
@@ -641,9 +784,9 @@ const CreateFlowResponse = zod.object({
|
|
|
641
784
|
"name": zod.string().describe("Step name from the flow definition."),
|
|
642
785
|
"texts": zod.object({
|
|
643
786
|
"title_key": zod.string().optional().describe("Localization key for the step heading."),
|
|
644
|
-
"description_key": zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text.")
|
|
787
|
+
"description_key": zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text: `<step>.description`, or\n`<step>.description.sso` when the step offers sign-in providers\n(`sso_providers`). A client without the `.sso` key falls back to\n`<step>.description`.\n")
|
|
645
788
|
}).optional().describe("Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\nThe backend never sends display text — only semantic keys.\n"),
|
|
646
|
-
"error": zod.union([zod.string(), zod.null()]).optional().describe("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`)
|
|
789
|
+
"error": zod.union([zod.string(), zod.null()]).optional().describe("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`). An outcome\nthe step has no transition for sends `error.user_not_found`,\n`error.user_already_exists`, `error.sso_user_not_found`, or\n`error.outcome_unhandled` for any other outcome.\n"),
|
|
647
790
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
648
791
|
"redirect_url": zod.url().optional().describe("URL to navigate to (e.g., SSO provider redirect)."),
|
|
649
792
|
"fields": zod.array(zod.object({
|
|
@@ -664,6 +807,7 @@ const CreateFlowResponse = zod.object({
|
|
|
664
807
|
"autocomplete": zod.string().optional().describe("Value for the HTML `autocomplete` attribute of the input rendered\nfor this field, so password managers and browser autofill\nrecognise it. A space-separated token list; put it on the\nattribute verbatim and do not reinterpret it.\n\nThe engine emits `username` on the field carrying the user's\nidentifier, whatever that field's `type` is: `username` is the\ntoken a password manager pairs with a password, while `email`\nmeans contact information, so an email-typed identifier still\ntakes `username` and matches the `identifier` a later password\nstep carries. On a password field it emits `current-password`\nwhere the submitted value is verified against the stored\ncredential, and `new-password` where the value is saved as the\nuser's password — so a manager offers to fill on sign-in and to\ngenerate on registration. A journey whose purpose does not\nestablish or verify a password yet emits neither.\n\nOmitted when no token applies, in which case render no attribute\nrather than an empty one.\n\nAutofill only: it says nothing about validation, and the input's\n`type` still comes from `type`.\n"),
|
|
665
808
|
"required": zod.boolean().default(false).describe("The field MUST be present and non-empty on submit. Mirrors the\nschema's top-level `required` array.\n"),
|
|
666
809
|
"value": zod.unknown().optional().describe("Pre-filled value (e.g., an identifier carried over from a pivot)."),
|
|
810
|
+
"read_only": zod.boolean().default(false).describe("The server refuses a submitted value that differs from `value`, so\nrender the input read-only. Submit the value unchanged: a read-only\ninput is still sent with the form, unlike a disabled one.\n\nSet on a step that creates the user from an SSO identity, for a\nfield prefilled from a provider claim that is verified and unique.\n"),
|
|
667
811
|
"validation": zod.object({
|
|
668
812
|
"format": zod.enum([
|
|
669
813
|
"email",
|
|
@@ -786,6 +930,7 @@ const CreateFlowResponse = zod.object({
|
|
|
786
930
|
*/
|
|
787
931
|
const GetFlowStepParams = zod.object({ "id": zod.string().describe("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") });
|
|
788
932
|
const getFlowStepResponseStepFieldsItemRequiredDefault = false;
|
|
933
|
+
const getFlowStepResponseStepFieldsItemReadOnlyDefault = false;
|
|
789
934
|
const getFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;
|
|
790
935
|
const getFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;
|
|
791
936
|
const getFlowStepResponseStepFieldsDefault = [];
|
|
@@ -869,9 +1014,9 @@ const GetFlowStepResponse = zod.object({
|
|
|
869
1014
|
"name": zod.string().describe("Step name from the flow definition."),
|
|
870
1015
|
"texts": zod.object({
|
|
871
1016
|
"title_key": zod.string().optional().describe("Localization key for the step heading."),
|
|
872
|
-
"description_key": zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text.")
|
|
1017
|
+
"description_key": zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text: `<step>.description`, or\n`<step>.description.sso` when the step offers sign-in providers\n(`sso_providers`). A client without the `.sso` key falls back to\n`<step>.description`.\n")
|
|
873
1018
|
}).optional().describe("Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\nThe backend never sends display text — only semantic keys.\n"),
|
|
874
|
-
"error": zod.union([zod.string(), zod.null()]).optional().describe("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`)
|
|
1019
|
+
"error": zod.union([zod.string(), zod.null()]).optional().describe("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`). An outcome\nthe step has no transition for sends `error.user_not_found`,\n`error.user_already_exists`, `error.sso_user_not_found`, or\n`error.outcome_unhandled` for any other outcome.\n"),
|
|
875
1020
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
876
1021
|
"redirect_url": zod.url().optional().describe("URL to navigate to (e.g., SSO provider redirect)."),
|
|
877
1022
|
"fields": zod.array(zod.object({
|
|
@@ -892,6 +1037,7 @@ const GetFlowStepResponse = zod.object({
|
|
|
892
1037
|
"autocomplete": zod.string().optional().describe("Value for the HTML `autocomplete` attribute of the input rendered\nfor this field, so password managers and browser autofill\nrecognise it. A space-separated token list; put it on the\nattribute verbatim and do not reinterpret it.\n\nThe engine emits `username` on the field carrying the user's\nidentifier, whatever that field's `type` is: `username` is the\ntoken a password manager pairs with a password, while `email`\nmeans contact information, so an email-typed identifier still\ntakes `username` and matches the `identifier` a later password\nstep carries. On a password field it emits `current-password`\nwhere the submitted value is verified against the stored\ncredential, and `new-password` where the value is saved as the\nuser's password — so a manager offers to fill on sign-in and to\ngenerate on registration. A journey whose purpose does not\nestablish or verify a password yet emits neither.\n\nOmitted when no token applies, in which case render no attribute\nrather than an empty one.\n\nAutofill only: it says nothing about validation, and the input's\n`type` still comes from `type`.\n"),
|
|
893
1038
|
"required": zod.boolean().default(false).describe("The field MUST be present and non-empty on submit. Mirrors the\nschema's top-level `required` array.\n"),
|
|
894
1039
|
"value": zod.unknown().optional().describe("Pre-filled value (e.g., an identifier carried over from a pivot)."),
|
|
1040
|
+
"read_only": zod.boolean().default(false).describe("The server refuses a submitted value that differs from `value`, so\nrender the input read-only. Submit the value unchanged: a read-only\ninput is still sent with the form, unlike a disabled one.\n\nSet on a step that creates the user from an SSO identity, for a\nfield prefilled from a provider claim that is verified and unique.\n"),
|
|
895
1041
|
"validation": zod.object({
|
|
896
1042
|
"format": zod.enum([
|
|
897
1043
|
"email",
|
|
@@ -1063,7 +1209,7 @@ const SubmitFlowStepHeader = zod.strictObject({ "Origin": zod.url().optional().d
|
|
|
1063
1209
|
const submitFlowStepBodyReturnTargetMax = 2048;
|
|
1064
1210
|
const SubmitFlowStepBody = zod.object({
|
|
1065
1211
|
"session_token": zod.string().optional().describe("Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today."),
|
|
1066
|
-
"action": zod.string().describe("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"),
|
|
1212
|
+
"action": zod.string().describe("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\nA name the current step does not declare is refused with 400\n(`flow.invalid_action`). That includes the outcome names the engine\nroutes on its own (`user_not_found`, `user_already_exists`,\n`sso_user_not_found`, `sso_authenticated`), which are never actions.\n"),
|
|
1067
1213
|
"fields": zod.record(zod.string(), zod.unknown()).optional().describe("User input values. Keys match field names from the step's `fields` dictionary.\n"),
|
|
1068
1214
|
"gate_proofs": zod.record(zod.string(), zod.string()).optional().describe("Solutions for security gates. Keys match gate names from the step's `gates` dictionary.\nThe orchestrator collects these from `<zl-captcha>` component events.\n"),
|
|
1069
1215
|
"challenge_response": zod.object({
|
|
@@ -1075,6 +1221,7 @@ const SubmitFlowStepBody = zod.object({
|
|
|
1075
1221
|
"return_target": zod.string().max(submitFlowStepBodyReturnTargetMax).optional().describe("The page hosting the orchestrator, where the flow resumes after an\nexternal sign-in: the callback sends the browser here unchanged, and\nthe page loads `GET /flow/{id}` to render the next step. The client\nputs the flow id in it; the orchestrator reads `?flow=<id>` on the\nreload. Required when `action` is \"sso\". An absolute URL; the server\nparses it and keeps a fragment, so a hash-routed page returns to its\nroute. Its origin must equal the request origin; any other origin is\nrejected and no sign-in is started.\n")
|
|
1076
1222
|
});
|
|
1077
1223
|
const submitFlowStepResponseStepFieldsItemRequiredDefault = false;
|
|
1224
|
+
const submitFlowStepResponseStepFieldsItemReadOnlyDefault = false;
|
|
1078
1225
|
const submitFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;
|
|
1079
1226
|
const submitFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;
|
|
1080
1227
|
const submitFlowStepResponseStepFieldsDefault = [];
|
|
@@ -1158,9 +1305,9 @@ const SubmitFlowStepResponse = zod.object({
|
|
|
1158
1305
|
"name": zod.string().describe("Step name from the flow definition."),
|
|
1159
1306
|
"texts": zod.object({
|
|
1160
1307
|
"title_key": zod.string().optional().describe("Localization key for the step heading."),
|
|
1161
|
-
"description_key": zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text.")
|
|
1308
|
+
"description_key": zod.union([zod.string(), zod.null()]).optional().describe("Localization key for explanatory text: `<step>.description`, or\n`<step>.description.sso` when the step offers sign-in providers\n(`sso_providers`). A client without the `.sso` key falls back to\n`<step>.description`.\n")
|
|
1162
1309
|
}).optional().describe("Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.\nThe backend never sends display text — only semantic keys.\n"),
|
|
1163
|
-
"error": zod.union([zod.string(), zod.null()]).optional().describe("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`)
|
|
1310
|
+
"error": zod.union([zod.string(), zod.null()]).optional().describe("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`). An outcome\nthe step has no transition for sends `error.user_not_found`,\n`error.user_already_exists`, `error.sso_user_not_found`, or\n`error.outcome_unhandled` for any other outcome.\n"),
|
|
1164
1311
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
1165
1312
|
"redirect_url": zod.url().optional().describe("URL to navigate to (e.g., SSO provider redirect)."),
|
|
1166
1313
|
"fields": zod.array(zod.object({
|
|
@@ -1181,6 +1328,7 @@ const SubmitFlowStepResponse = zod.object({
|
|
|
1181
1328
|
"autocomplete": zod.string().optional().describe("Value for the HTML `autocomplete` attribute of the input rendered\nfor this field, so password managers and browser autofill\nrecognise it. A space-separated token list; put it on the\nattribute verbatim and do not reinterpret it.\n\nThe engine emits `username` on the field carrying the user's\nidentifier, whatever that field's `type` is: `username` is the\ntoken a password manager pairs with a password, while `email`\nmeans contact information, so an email-typed identifier still\ntakes `username` and matches the `identifier` a later password\nstep carries. On a password field it emits `current-password`\nwhere the submitted value is verified against the stored\ncredential, and `new-password` where the value is saved as the\nuser's password — so a manager offers to fill on sign-in and to\ngenerate on registration. A journey whose purpose does not\nestablish or verify a password yet emits neither.\n\nOmitted when no token applies, in which case render no attribute\nrather than an empty one.\n\nAutofill only: it says nothing about validation, and the input's\n`type` still comes from `type`.\n"),
|
|
1182
1329
|
"required": zod.boolean().default(false).describe("The field MUST be present and non-empty on submit. Mirrors the\nschema's top-level `required` array.\n"),
|
|
1183
1330
|
"value": zod.unknown().optional().describe("Pre-filled value (e.g., an identifier carried over from a pivot)."),
|
|
1331
|
+
"read_only": zod.boolean().default(false).describe("The server refuses a submitted value that differs from `value`, so\nrender the input read-only. Submit the value unchanged: a read-only\ninput is still sent with the form, unlike a disabled one.\n\nSet on a step that creates the user from an SSO identity, for a\nfield prefilled from a provider claim that is verified and unique.\n"),
|
|
1184
1332
|
"validation": zod.object({
|
|
1185
1333
|
"format": zod.enum([
|
|
1186
1334
|
"email",
|
|
@@ -1677,12 +1825,21 @@ const CreateHandoffResponse = zod.object({
|
|
|
1677
1825
|
"expires_at": zod.iso.datetime({ "offset": true }).describe("When this handoff token expires")
|
|
1678
1826
|
}).describe("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");
|
|
1679
1827
|
/**
|
|
1828
|
+
* Creates a project and returns its project secret and preview secret, which no
|
|
1829
|
+
* other endpoint returns.
|
|
1830
|
+
*
|
|
1831
|
+
* The request needs no credential and is rate-limited. Unless `seed_defaults` is
|
|
1832
|
+
* `false`, the project starts with a default user schema and flow; the CLI turns
|
|
1833
|
+
* that off and uploads its own from `.zitadel/`.
|
|
1680
1834
|
* @summary Create project
|
|
1681
1835
|
*/
|
|
1682
1836
|
const createProjectBodySeedDefaultsDefault = true;
|
|
1683
1837
|
const CreateProjectBody = zod.object({
|
|
1684
1838
|
"name": zod.string().describe("The name of the project."),
|
|
1685
|
-
"
|
|
1839
|
+
"origins": zod.array(zod.object({
|
|
1840
|
+
"pattern": zod.string(),
|
|
1841
|
+
"kind": zod.enum(["primary", "preview"])
|
|
1842
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).optional().describe("The origins the project starts with. An omitted or empty list means\nevery origin is admitted until the first pattern is added. Loopback\norigins are admitted without a pattern.\n"),
|
|
1686
1843
|
"seed_defaults": zod.boolean().default(true).describe("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")
|
|
1687
1844
|
});
|
|
1688
1845
|
const CreateProjectResponse = zod.object({
|
|
@@ -1690,10 +1847,19 @@ const CreateProjectResponse = zod.object({
|
|
|
1690
1847
|
"name": zod.string().describe("The name of the project."),
|
|
1691
1848
|
"project_secret": zod.string().describe("Secret which can be used for authentication when modifying the project.\n"),
|
|
1692
1849
|
"preview_secret": zod.string().describe("Secret which can be used for previewing and testing the project.\n"),
|
|
1693
|
-
"
|
|
1850
|
+
"origins": zod.array(zod.object({
|
|
1851
|
+
"pattern": zod.string(),
|
|
1852
|
+
"kind": zod.enum(["primary", "preview"])
|
|
1853
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).describe("The project's origins. An empty list means every origin is admitted\nuntil the first pattern is added. Loopback origins are admitted without\na pattern.\n"),
|
|
1694
1854
|
"created_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was created.")
|
|
1695
1855
|
});
|
|
1696
1856
|
/**
|
|
1857
|
+
* Returns the project the project secret belongs to, as a page of at most one
|
|
1858
|
+
* project.
|
|
1859
|
+
*
|
|
1860
|
+
* A credential is scoped to one project until ADR 036 widens it, so the filters
|
|
1861
|
+
* and sorting apply to that project alone. The projects a signed-in person can
|
|
1862
|
+
* act on are listed by `GET /users/me/projects`.
|
|
1697
1863
|
* @summary Query projects
|
|
1698
1864
|
*/
|
|
1699
1865
|
const queryProjectsBodyLimitDefault = 20;
|
|
@@ -1729,7 +1895,10 @@ const QueryProjectsResponse = zod.object({
|
|
|
1729
1895
|
"projects": zod.array(zod.object({
|
|
1730
1896
|
"id": zod.string().describe("The unique identifier of the project."),
|
|
1731
1897
|
"name": zod.string().describe("The name of the project."),
|
|
1732
|
-
"
|
|
1898
|
+
"origins": zod.array(zod.object({
|
|
1899
|
+
"pattern": zod.string(),
|
|
1900
|
+
"kind": zod.enum(["primary", "preview"])
|
|
1901
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).describe("The project's origins. An empty list means every origin is admitted\nuntil the first pattern is added. Loopback origins are admitted without\na pattern.\n"),
|
|
1733
1902
|
"created_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was created."),
|
|
1734
1903
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was last updated."),
|
|
1735
1904
|
"password_hash": zod.union([zod.object({
|
|
@@ -1764,11 +1933,14 @@ const QueryProjectsResponse = zod.object({
|
|
|
1764
1933
|
* @summary Get project
|
|
1765
1934
|
*/
|
|
1766
1935
|
const getProjectPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1767
|
-
const GetProjectParams = zod.object({ "project_id": zod.string().regex(getProjectPathProjectIdRegExp) });
|
|
1936
|
+
const GetProjectParams = zod.object({ "project_id": zod.string().regex(getProjectPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
1768
1937
|
const GetProjectResponse = zod.object({
|
|
1769
1938
|
"id": zod.string().describe("The unique identifier of the project."),
|
|
1770
1939
|
"name": zod.string().describe("The name of the project."),
|
|
1771
|
-
"
|
|
1940
|
+
"origins": zod.array(zod.object({
|
|
1941
|
+
"pattern": zod.string(),
|
|
1942
|
+
"kind": zod.enum(["primary", "preview"])
|
|
1943
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).describe("The project's origins. An empty list means every origin is admitted\nuntil the first pattern is added. Loopback origins are admitted without\na pattern.\n"),
|
|
1772
1944
|
"created_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was created."),
|
|
1773
1945
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was last updated."),
|
|
1774
1946
|
"password_hash": zod.union([zod.object({
|
|
@@ -1801,7 +1973,7 @@ const GetProjectResponse = zod.object({
|
|
|
1801
1973
|
* @summary Update project
|
|
1802
1974
|
*/
|
|
1803
1975
|
const patchProjectPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1804
|
-
const PatchProjectParams = zod.object({ "project_id": zod.string().regex(patchProjectPathProjectIdRegExp) });
|
|
1976
|
+
const PatchProjectParams = zod.object({ "project_id": zod.string().regex(patchProjectPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
1805
1977
|
const PatchProjectBody = zod.object({
|
|
1806
1978
|
"name": zod.union([zod.null(), zod.string()]).optional().describe("The name of the project."),
|
|
1807
1979
|
"password_hash": zod.union([zod.object({
|
|
@@ -1832,7 +2004,10 @@ const PatchProjectBody = zod.object({
|
|
|
1832
2004
|
const PatchProjectResponse = zod.object({
|
|
1833
2005
|
"id": zod.string().describe("The unique identifier of the project."),
|
|
1834
2006
|
"name": zod.string().describe("The name of the project."),
|
|
1835
|
-
"
|
|
2007
|
+
"origins": zod.array(zod.object({
|
|
2008
|
+
"pattern": zod.string(),
|
|
2009
|
+
"kind": zod.enum(["primary", "preview"])
|
|
2010
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).describe("The project's origins. An empty list means every origin is admitted\nuntil the first pattern is added. Loopback origins are admitted without\na pattern.\n"),
|
|
1836
2011
|
"created_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was created."),
|
|
1837
2012
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("The time when the project was last updated."),
|
|
1838
2013
|
"password_hash": zod.union([zod.object({
|
|
@@ -1869,7 +2044,7 @@ const PatchProjectResponse = zod.object({
|
|
|
1869
2044
|
* @summary Initialize a project claim
|
|
1870
2045
|
*/
|
|
1871
2046
|
const initClaimPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1872
|
-
const InitClaimParams = zod.object({ "project_id": zod.string().regex(initClaimPathProjectIdRegExp) });
|
|
2047
|
+
const InitClaimParams = zod.object({ "project_id": zod.string().regex(initClaimPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
1873
2048
|
const initClaimResponseChallengeIdRegExp = /* @__PURE__ */ new RegExp("^ch_[a-zA-Z0-9_-]+$");
|
|
1874
2049
|
const InitClaimResponse = zod.object({
|
|
1875
2050
|
"claim_url": zod.url().describe("The browser URL a developer opens to complete the claim. It embeds the\n`challenge_id` so the browser leg does not need the project secret.\n"),
|
|
@@ -1888,9 +2063,9 @@ const InitClaimResponse = zod.object({
|
|
|
1888
2063
|
* @summary Get claim status
|
|
1889
2064
|
*/
|
|
1890
2065
|
const getClaimStatusPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1891
|
-
const GetClaimStatusParams = zod.object({ "project_id": zod.string().regex(getClaimStatusPathProjectIdRegExp) });
|
|
2066
|
+
const GetClaimStatusParams = zod.object({ "project_id": zod.string().regex(getClaimStatusPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
1892
2067
|
const getClaimStatusQueryChallengeIdRegExp = /* @__PURE__ */ new RegExp("^ch_[a-zA-Z0-9_-]+$");
|
|
1893
|
-
const GetClaimStatusQueryParams = zod.strictObject({ "challenge_id": zod.string().regex(getClaimStatusQueryChallengeIdRegExp).describe("The challenge minted by the matching claim init
|
|
2068
|
+
const GetClaimStatusQueryParams = zod.strictObject({ "challenge_id": zod.string().regex(getClaimStatusQueryChallengeIdRegExp).describe("The challenge minted by the matching claim init, as the claim URL carries\nit.\n") });
|
|
1894
2069
|
const getClaimStatusResponseTwoTeamIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1895
2070
|
const GetClaimStatusResponse = zod.union([zod.object({ "status": zod.enum(["pending"]).describe("The claim has not completed yet.") }).describe("A claim challenge that is still awaiting the browser leg."), zod.object({
|
|
1896
2071
|
"status": zod.enum(["completed"]).describe("The claim has completed."),
|
|
@@ -1906,7 +2081,7 @@ const GetClaimStatusResponse = zod.union([zod.object({ "status": zod.enum(["pend
|
|
|
1906
2081
|
* @summary Complete a project claim
|
|
1907
2082
|
*/
|
|
1908
2083
|
const completeClaimPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1909
|
-
const CompleteClaimParams = zod.object({ "project_id": zod.string().regex(completeClaimPathProjectIdRegExp) });
|
|
2084
|
+
const CompleteClaimParams = zod.object({ "project_id": zod.string().regex(completeClaimPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
1910
2085
|
const completeClaimBodyChallengeIdRegExp = /* @__PURE__ */ new RegExp("^ch_[a-zA-Z0-9_-]+$");
|
|
1911
2086
|
const CompleteClaimBody = zod.object({ "challenge_id": zod.string().regex(completeClaimBodyChallengeIdRegExp).describe("Unique identifier for this challenge (dialect-minted prefixed opaque string).") }).describe("The request to complete a project claim.");
|
|
1912
2087
|
const completeClaimResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -1926,14 +2101,84 @@ const CompleteClaimResponse = zod.object({
|
|
|
1926
2101
|
* @summary Get the claim window for a project
|
|
1927
2102
|
*/
|
|
1928
2103
|
const getClaimWindowPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
1929
|
-
const GetClaimWindowParams = zod.object({ "project_id": zod.string().regex(getClaimWindowPathProjectIdRegExp) });
|
|
2104
|
+
const GetClaimWindowParams = zod.object({ "project_id": zod.string().regex(getClaimWindowPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
1930
2105
|
const getClaimWindowQueryChallengeIdRegExp = /* @__PURE__ */ new RegExp("^ch_[a-zA-Z0-9_-]+$");
|
|
1931
|
-
const GetClaimWindowQueryParams = zod.strictObject({ "challenge_id": zod.string().regex(getClaimWindowQueryChallengeIdRegExp).describe("The challenge
|
|
2106
|
+
const GetClaimWindowQueryParams = zod.strictObject({ "challenge_id": zod.string().regex(getClaimWindowQueryChallengeIdRegExp).describe("The challenge minted by the matching claim init, as the claim URL carries\nit.\n") });
|
|
1932
2107
|
const GetClaimWindowResponse = zod.object({
|
|
1933
2108
|
"expires_at": zod.iso.datetime({ "offset": true }).describe("The time when the project's claim window closes."),
|
|
1934
2109
|
"expired": zod.boolean().describe("Whether the window has already closed. Reported alongside `expires_at`\nrather than left to the client so a skewed browser clock cannot show a\nclaimable project as expired, or the reverse.\n")
|
|
1935
2110
|
}).describe("How long the project can still be claimed. Derived from the project's\ncreation time and the fixed 14-day claim window (ADR 046); it does not\ndepend on the challenge, which has its own much shorter expiry.\n");
|
|
1936
2111
|
/**
|
|
2112
|
+
* Adds one `{pattern, kind}` to the project's origins. A primary pattern
|
|
2113
|
+
* must be an exact URL (no wildcard). Preview patterns may include a single
|
|
2114
|
+
* DNS-label wildcard. Adding a pattern that already exists with the same
|
|
2115
|
+
* kind is idempotent and answers 201 with the stored origin.
|
|
2116
|
+
* @summary Add an origin pattern
|
|
2117
|
+
*/
|
|
2118
|
+
const addOriginPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2119
|
+
const AddOriginParams = zod.object({ "project_id": zod.string().regex(addOriginPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
2120
|
+
const AddOriginBody = zod.object({
|
|
2121
|
+
"pattern": zod.string(),
|
|
2122
|
+
"kind": zod.enum(["primary", "preview"])
|
|
2123
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n");
|
|
2124
|
+
const AddOriginResponse = zod.object({
|
|
2125
|
+
"pattern": zod.string(),
|
|
2126
|
+
"kind": zod.enum(["primary", "preview"])
|
|
2127
|
+
});
|
|
2128
|
+
/**
|
|
2129
|
+
* Removes one pattern from the project's origins. Requests from URLs only
|
|
2130
|
+
* that pattern admitted are refused from then on; live previews and
|
|
2131
|
+
* deployment history are untouched. Removing a pattern that is already
|
|
2132
|
+
* absent is idempotent and answers 204.
|
|
2133
|
+
* @summary Remove an origin pattern
|
|
2134
|
+
*/
|
|
2135
|
+
const removeOriginPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2136
|
+
const RemoveOriginParams = zod.object({ "project_id": zod.string().regex(removeOriginPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
2137
|
+
const RemoveOriginBody = zod.object({ "pattern": zod.string().describe("The origin pattern exactly as stored on the project (same\nstring returned by create/get or addOrigin).\n") });
|
|
2138
|
+
const RemoveOriginResponse = zod.void();
|
|
2139
|
+
/**
|
|
2140
|
+
* Lists the project's live previews, newest first by `created_at`. An
|
|
2141
|
+
* expired or removed preview is not listed; what was deployed to it stays
|
|
2142
|
+
* in `GET /deployments`.
|
|
2143
|
+
* @summary List previews
|
|
2144
|
+
*/
|
|
2145
|
+
const listPreviewsPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2146
|
+
const ListPreviewsParams = zod.object({ "project_id": zod.string().regex(listPreviewsPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
2147
|
+
const listPreviewsQueryLimitDefault = 20;
|
|
2148
|
+
const listPreviewsQueryLimitMax = 100;
|
|
2149
|
+
const ListPreviewsQueryParams = zod.strictObject({
|
|
2150
|
+
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
2151
|
+
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n")
|
|
2152
|
+
});
|
|
2153
|
+
const listPreviewsResponsePreviewsItemOriginMax = 2048;
|
|
2154
|
+
const listPreviewsResponsePreviewsItemOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
2155
|
+
const ListPreviewsResponse = zod.object({
|
|
2156
|
+
"previews": zod.array(zod.object({
|
|
2157
|
+
"origin": zod.string().max(listPreviewsResponsePreviewsItemOriginMax).regex(listPreviewsResponsePreviewsItemOriginRegExp).describe("A web origin: `http` or `https`, a lowercase host (a DNS name or a\nbracketed IPv6 address) and, when it is not the scheme's default, a port\nfrom 1 to 65535. No user info, path, query or fragment, and no trailing\nslash. Compared exactly, so `https://app.acme.com` and\n`https://app.acme.com:443` are different strings.\n"),
|
|
2158
|
+
"expires_at": zod.iso.datetime({ "offset": true }).describe("When the preview stops being served. Every deployment to it sets this\nagain from its `ttl`.\n"),
|
|
2159
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the first deployment to the URL created the preview.")
|
|
2160
|
+
}).describe("A preview URL that is live: an origin matching one of the project's\npreview patterns, with something deployed to it, until it expires.\n\nThere is no create operation. A deployment whose targets are preview URLs\ncreates the preview for each of them, or renews it when it exists, in the\nsame transaction, so a preview with nothing deployed to it cannot exist.\nA preview ends when it expires or is removed with\n`POST /projects/{project_id}/previews/remove`;\nthe deployments to it stay in the history either way.\n")),
|
|
2161
|
+
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
2162
|
+
}).describe("The project's live previews, newest first.");
|
|
2163
|
+
/**
|
|
2164
|
+
* Ends a preview before it expires: the URL stops being served at once.
|
|
2165
|
+
* The deployments to it stay in the history.
|
|
2166
|
+
*
|
|
2167
|
+
* Idempotent: a URL with no live preview, including one that has already
|
|
2168
|
+
* expired or was removed before, answers `204` too, so a cleanup that
|
|
2169
|
+
* races the expiry still succeeds.
|
|
2170
|
+
*
|
|
2171
|
+
* The URL travels in the body rather than the path because an origin
|
|
2172
|
+
* contains `/`.
|
|
2173
|
+
* @summary Remove a preview
|
|
2174
|
+
*/
|
|
2175
|
+
const removePreviewPathProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2176
|
+
const RemovePreviewParams = zod.object({ "project_id": zod.string().regex(removePreviewPathProjectIdRegExp).describe("The unique identifier of the project.") });
|
|
2177
|
+
const removePreviewBodyOriginMax = 2048;
|
|
2178
|
+
const removePreviewBodyOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
2179
|
+
const RemovePreviewBody = zod.object({ "origin": zod.string().max(removePreviewBodyOriginMax).regex(removePreviewBodyOriginRegExp).describe("A web origin: `http` or `https`, a lowercase host (a DNS name or a\nbracketed IPv6 address) and, when it is not the scheme's default, a port\nfrom 1 to 65535. No user info, path, query or fragment, and no trailing\nslash. Compared exactly, so `https://app.acme.com` and\n`https://app.acme.com:443` are different strings.\n") }).describe("The preview to remove.");
|
|
2180
|
+
const RemovePreviewResponse = zod.void();
|
|
2181
|
+
/**
|
|
1937
2182
|
* Creates an anonymous session shell with no user and no factors (`state: building`).
|
|
1938
2183
|
*
|
|
1939
2184
|
* This is optional — an `auth_attempt` will create a session implicitly if none is provided.
|
|
@@ -2143,7 +2388,7 @@ const exchangeHandoffQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z
|
|
|
2143
2388
|
const ExchangeHandoffQueryParams = zod.strictObject({ "project_id": zod.string().regex(exchangeHandoffQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
2144
2389
|
const ExchangeHandoffHeader = zod.strictObject({ "Idempotency-Key": zod.string().optional().describe("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") });
|
|
2145
2390
|
const ExchangeHandoffBody = zod.object({
|
|
2146
|
-
"handoff_token": zod.string().describe("The one-time handoff token minted by `POST /auth_attempts/{id}/handoff`.\nSingle-use — replaying it after a successful exchange returns `
|
|
2391
|
+
"handoff_token": zod.string().describe("The one-time handoff token minted by `POST /auth_attempts/{id}/handoff`.\nSingle-use — replaying it after a successful exchange returns `400` with\n`sess.invalid_handoff_token`, the same answer as an unknown or expired token.\n"),
|
|
2147
2392
|
"ttl": zod.string().optional().describe("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")
|
|
2148
2393
|
}).describe("Request to exchange a handoff token for a session and session_token.");
|
|
2149
2394
|
const exchangeHandoffResponseSessionSessionIdRegExp = /* @__PURE__ */ new RegExp("^sess_[a-zA-Z0-9_-]+$");
|
|
@@ -2285,11 +2530,15 @@ const RevokeSessionResponse = zod.void();
|
|
|
2285
2530
|
* Returns the current state of the current session including its factors and all currently
|
|
2286
2531
|
* satisfied assurance levels.
|
|
2287
2532
|
*
|
|
2533
|
+
* With `project_id`, the session is returned only when it belongs to that project.
|
|
2534
|
+
*
|
|
2288
2535
|
* `assurance_levels[]` may shrink over time as factor freshness windows expire,
|
|
2289
2536
|
* without the session itself expiring. Use step-up authentication (a new `auth_attempt`
|
|
2290
2537
|
* against the same `session_id`) to restore a dropped assurance level.
|
|
2291
2538
|
* @summary Get my session state
|
|
2292
2539
|
*/
|
|
2540
|
+
const getMySessionQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2541
|
+
const GetMySessionQueryParams = zod.strictObject({ "project_id": zod.string().regex(getMySessionQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n") });
|
|
2293
2542
|
const getMySessionResponseSessionIdRegExp = /* @__PURE__ */ new RegExp("^sess_[a-zA-Z0-9_-]+$");
|
|
2294
2543
|
const getMySessionResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2295
2544
|
const getMySessionResponseUserIdOneRegExp = /* @__PURE__ */ new RegExp("^user_[a-zA-Z0-9_-]+$");
|
|
@@ -2347,11 +2596,17 @@ const GetMySessionResponse = zod.object({
|
|
|
2347
2596
|
* Logs out by permanently deleting the session.
|
|
2348
2597
|
*
|
|
2349
2598
|
* The `__nextgen_session` cookie issued at creation (or superseded by a handoff
|
|
2350
|
-
* exchange) is required
|
|
2351
|
-
*
|
|
2352
|
-
*
|
|
2599
|
+
* exchange) is required, with the session's token from `GET /sessions/me/csrf`
|
|
2600
|
+
* in the `X-Zitadel-CSRF` header. Idempotent: if the session is already gone
|
|
2601
|
+
* this still returns 204. Any tokens derived from the session are invalidated,
|
|
2602
|
+
* and the cookie itself is cleared in the response.
|
|
2603
|
+
*
|
|
2604
|
+
* With `project_id`, only a session of that project is deleted. A session of
|
|
2605
|
+
* another project is left alone, and so is its cookie.
|
|
2353
2606
|
* @summary Revoke my session
|
|
2354
2607
|
*/
|
|
2608
|
+
const revokeMySessionQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2609
|
+
const RevokeMySessionQueryParams = zod.strictObject({ "project_id": zod.string().regex(revokeMySessionQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n") });
|
|
2355
2610
|
const RevokeMySessionResponse = zod.void();
|
|
2356
2611
|
/**
|
|
2357
2612
|
* Returns the session-bound token for cross-site request forgery protection
|
|
@@ -2361,8 +2616,13 @@ const RevokeMySessionResponse = zod.void();
|
|
|
2361
2616
|
* HttpOnly cookie is still the credential, and a cross-site page cannot
|
|
2362
2617
|
* read this response. It stays the same for the life of the session, so a
|
|
2363
2618
|
* client fetches it once per session.
|
|
2619
|
+
*
|
|
2620
|
+
* With `project_id`, the token is returned only when the session belongs to
|
|
2621
|
+
* that project.
|
|
2364
2622
|
* @summary Get my session's CSRF token
|
|
2365
2623
|
*/
|
|
2624
|
+
const getMySessionCsrfTokenQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2625
|
+
const GetMySessionCsrfTokenQueryParams = zod.strictObject({ "project_id": zod.string().regex(getMySessionCsrfTokenQueryProjectIdRegExp).optional().describe("The project the caller signs its users in to. The cookie's session is used\nonly when it belongs to this project; a session of any other project answers\n`403` with `sess.project_mismatch`.\n\nA session belongs to one project, while a browser sends its cookie to every\napp on the same host. An app passes its own project, so that a session of\nanother project never reads or acts as one of its users, and signing out of\nthe app never ends it. The SDKs pass it when they read the session or sign\nout.\n\n`sess.project_mismatch` does not mean the session is invalid: it is live in\nits own project, so keep its cookie.\n") });
|
|
2366
2626
|
const GetMySessionCsrfTokenResponse = zod.object({ "csrf_token": zod.string().describe("Send it in the `X-Zitadel-CSRF` header on state-changing requests the\nsession cookie authenticates.\n") }).describe("The session-bound CSRF token (ADR 053 §5).");
|
|
2367
2627
|
/**
|
|
2368
2628
|
* Create a new schema. The optional `$id` field is the JSON Schema document
|
|
@@ -2388,7 +2648,7 @@ const createSchemaBodyOneXAuthMethodsSsoProvidersItemMax = 64;
|
|
|
2388
2648
|
const createSchemaBodyOneXAuthMethodsSsoProvidersItemRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9][a-z0-9_-]*$");
|
|
2389
2649
|
const createSchemaBodyOnePropertiesXAuditDefault = false;
|
|
2390
2650
|
const CreateSchemaBody = zod.union([zod.object({
|
|
2391
|
-
"objectType": zod.string().max(256).
|
|
2651
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
2392
2652
|
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
2393
2653
|
"metaSchema": zod.url().max(createSchemaBodyOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
2394
2654
|
"x-auth-methods": zod.object({
|
|
@@ -2445,7 +2705,7 @@ const ListSchemasResponse = zod.object({
|
|
|
2445
2705
|
"schemas": zod.array(zod.object({
|
|
2446
2706
|
"id": zod.string().describe("The resource id: the server-minted `sch_*` identifier, or the\ncustomer-supplied `$id` URI when the document declared one at creation.\n"),
|
|
2447
2707
|
"schema": zod.object({
|
|
2448
|
-
"objectType": zod.string().max(256).
|
|
2708
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
2449
2709
|
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
2450
2710
|
"metaSchema": zod.url().max(listSchemasResponseSchemasItemSchemaOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
2451
2711
|
"x-auth-methods": zod.object({
|
|
@@ -2488,7 +2748,7 @@ const ListSchemasResponse = zod.object({
|
|
|
2488
2748
|
* own project and ignores `project_id`.
|
|
2489
2749
|
* @summary Get schema by ID
|
|
2490
2750
|
*/
|
|
2491
|
-
const GetSchemaByIdParams = zod.object({ "id": zod.string() });
|
|
2751
|
+
const GetSchemaByIdParams = zod.object({ "id": zod.string().describe("The unique identifier of the schema.") });
|
|
2492
2752
|
const getSchemaByIdQueryTeamIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2493
2753
|
const getSchemaByIdQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
2494
2754
|
const GetSchemaByIdQueryParams = zod.strictObject({
|
|
@@ -2503,7 +2763,7 @@ const getSchemaByIdResponseSchemaOnePropertiesXAuditDefault = false;
|
|
|
2503
2763
|
const GetSchemaByIdResponse = zod.object({
|
|
2504
2764
|
"id": zod.string().describe("The resource id: the server-minted `sch_*` identifier, or the\ncustomer-supplied `$id` URI when the document declared one at creation.\n"),
|
|
2505
2765
|
"schema": zod.object({
|
|
2506
|
-
"objectType": zod.string().max(256).
|
|
2766
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
2507
2767
|
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
2508
2768
|
"metaSchema": zod.url().max(getSchemaByIdResponseSchemaOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
2509
2769
|
"x-auth-methods": zod.object({
|
|
@@ -2561,7 +2821,7 @@ const CreateFlowDefinitionBody = zod.object({
|
|
|
2561
2821
|
"flow_definition": zod.object({
|
|
2562
2822
|
"name": zod.string().regex(createFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
|
|
2563
2823
|
"status": zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nA revision's status is fixed at creation. Publish a new revision to change it.\n"),
|
|
2564
|
-
"user_schema": zod.string().describe("
|
|
2824
|
+
"user_schema": zod.string().describe("The user schema this flow operates on, named by its `objectType`. The\nflow runs against the project's newest revision of that schema, so\npublishing a schema revision needs no change to the flow. A schema id\nas returned by `POST /schemas` is also accepted and is stored as that\nschema's `objectType`; reading the definition back returns the\n`objectType`. A value naming no schema of the project is refused with\n`flowdef.invalid`. Step `fields` reference properties defined in the\nresolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
|
|
2565
2825
|
"purposes": zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
|
|
2566
2826
|
"audience": zod.object({
|
|
2567
2827
|
"team_ids": zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
|
|
@@ -2587,7 +2847,7 @@ const CreateFlowDefinitionBody = zod.object({
|
|
|
2587
2847
|
"config": zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
|
|
2588
2848
|
}).describe("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")).default(createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault).describe("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"),
|
|
2589
2849
|
"sso_providers": zod.array(zod.string().max(64).regex(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemRegExp)).max(20).default(createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault).describe("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. A\nstep offers at most 20 providers.\n"),
|
|
2590
|
-
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned
|
|
2850
|
+
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned and the values the step collected, and\n links it to that identity. A unique value another user holds binds\n that user and routes user_already_exists instead.\n"),
|
|
2591
2851
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
2592
2852
|
"transitions": zod.record(zod.string(), zod.object({
|
|
2593
2853
|
"target": zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
|
|
@@ -2625,7 +2885,7 @@ const CreateFlowDefinitionResponse = zod.object({
|
|
|
2625
2885
|
"flow_definition": zod.object({
|
|
2626
2886
|
"name": zod.string().regex(createFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
|
|
2627
2887
|
"status": zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nA revision's status is fixed at creation. Publish a new revision to change it.\n"),
|
|
2628
|
-
"user_schema": zod.string().describe("
|
|
2888
|
+
"user_schema": zod.string().describe("The user schema this flow operates on, named by its `objectType`. The\nflow runs against the project's newest revision of that schema, so\npublishing a schema revision needs no change to the flow. A schema id\nas returned by `POST /schemas` is also accepted and is stored as that\nschema's `objectType`; reading the definition back returns the\n`objectType`. A value naming no schema of the project is refused with\n`flowdef.invalid`. Step `fields` reference properties defined in the\nresolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
|
|
2629
2889
|
"purposes": zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
|
|
2630
2890
|
"audience": zod.object({
|
|
2631
2891
|
"team_ids": zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
|
|
@@ -2651,7 +2911,7 @@ const CreateFlowDefinitionResponse = zod.object({
|
|
|
2651
2911
|
"config": zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
|
|
2652
2912
|
}).describe("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")).default(createFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault).describe("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"),
|
|
2653
2913
|
"sso_providers": zod.array(zod.string().max(64).regex(createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp)).max(20).default(createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault).describe("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. A\nstep offers at most 20 providers.\n"),
|
|
2654
|
-
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned
|
|
2914
|
+
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned and the values the step collected, and\n links it to that identity. A unique value another user holds binds\n that user and routes user_already_exists instead.\n"),
|
|
2655
2915
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
2656
2916
|
"transitions": zod.record(zod.string(), zod.object({
|
|
2657
2917
|
"target": zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
|
|
@@ -2670,7 +2930,7 @@ const CreateFlowDefinitionResponse = zod.object({
|
|
|
2670
2930
|
"user_schema": zod.union([zod.object({
|
|
2671
2931
|
"id": zod.string().describe("The resource id: the server-minted `sch_*` identifier, or the\ncustomer-supplied `$id` URI when the document declared one at creation.\n"),
|
|
2672
2932
|
"schema": zod.object({
|
|
2673
|
-
"objectType": zod.string().max(256).
|
|
2933
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
2674
2934
|
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
2675
2935
|
"metaSchema": zod.url().max(createFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
2676
2936
|
"x-auth-methods": zod.object({
|
|
@@ -2715,7 +2975,7 @@ const listFlowDefinitionsQueryRevisionsDefault = `all`;
|
|
|
2715
2975
|
const ListFlowDefinitionsQueryParams = zod.strictObject({
|
|
2716
2976
|
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
2717
2977
|
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n"),
|
|
2718
|
-
"project_id": zod.string().regex(listFlowDefinitionsQueryProjectIdRegExp).describe("The
|
|
2978
|
+
"project_id": zod.string().regex(listFlowDefinitionsQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
2719
2979
|
"purpose": zod.enum([
|
|
2720
2980
|
"login",
|
|
2721
2981
|
"register",
|
|
@@ -2750,7 +3010,7 @@ const ListFlowDefinitionsResponse = zod.object({
|
|
|
2750
3010
|
"flow_definition": zod.object({
|
|
2751
3011
|
"name": zod.string().regex(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
|
|
2752
3012
|
"status": zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nA revision's status is fixed at creation. Publish a new revision to change it.\n"),
|
|
2753
|
-
"user_schema": zod.string().describe("
|
|
3013
|
+
"user_schema": zod.string().describe("The user schema this flow operates on, named by its `objectType`. The\nflow runs against the project's newest revision of that schema, so\npublishing a schema revision needs no change to the flow. A schema id\nas returned by `POST /schemas` is also accepted and is stored as that\nschema's `objectType`; reading the definition back returns the\n`objectType`. A value naming no schema of the project is refused with\n`flowdef.invalid`. Step `fields` reference properties defined in the\nresolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
|
|
2754
3014
|
"purposes": zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
|
|
2755
3015
|
"audience": zod.object({
|
|
2756
3016
|
"team_ids": zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
|
|
@@ -2776,7 +3036,7 @@ const ListFlowDefinitionsResponse = zod.object({
|
|
|
2776
3036
|
"config": zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
|
|
2777
3037
|
}).describe("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")).default(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault).describe("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"),
|
|
2778
3038
|
"sso_providers": zod.array(zod.string().max(64).regex(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemRegExp)).max(20).default(listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault).describe("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. A\nstep offers at most 20 providers.\n"),
|
|
2779
|
-
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned
|
|
3039
|
+
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned and the values the step collected, and\n links it to that identity. A unique value another user holds binds\n that user and routes user_already_exists instead.\n"),
|
|
2780
3040
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
2781
3041
|
"transitions": zod.record(zod.string(), zod.object({
|
|
2782
3042
|
"target": zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
|
|
@@ -2795,7 +3055,7 @@ const ListFlowDefinitionsResponse = zod.object({
|
|
|
2795
3055
|
"user_schema": zod.union([zod.object({
|
|
2796
3056
|
"id": zod.string().describe("The resource id: the server-minted `sch_*` identifier, or the\ncustomer-supplied `$id` URI when the document declared one at creation.\n"),
|
|
2797
3057
|
"schema": zod.object({
|
|
2798
|
-
"objectType": zod.string().max(256).
|
|
3058
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
2799
3059
|
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
2800
3060
|
"metaSchema": zod.url().max(listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
2801
3061
|
"x-auth-methods": zod.object({
|
|
@@ -2854,7 +3114,7 @@ const GetFlowDefinitionResponse = zod.object({
|
|
|
2854
3114
|
"flow_definition": zod.object({
|
|
2855
3115
|
"name": zod.string().regex(getFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
|
|
2856
3116
|
"status": zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nA revision's status is fixed at creation. Publish a new revision to change it.\n"),
|
|
2857
|
-
"user_schema": zod.string().describe("
|
|
3117
|
+
"user_schema": zod.string().describe("The user schema this flow operates on, named by its `objectType`. The\nflow runs against the project's newest revision of that schema, so\npublishing a schema revision needs no change to the flow. A schema id\nas returned by `POST /schemas` is also accepted and is stored as that\nschema's `objectType`; reading the definition back returns the\n`objectType`. A value naming no schema of the project is refused with\n`flowdef.invalid`. Step `fields` reference properties defined in the\nresolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
|
|
2858
3118
|
"purposes": zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
|
|
2859
3119
|
"audience": zod.object({
|
|
2860
3120
|
"team_ids": zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
|
|
@@ -2880,7 +3140,7 @@ const GetFlowDefinitionResponse = zod.object({
|
|
|
2880
3140
|
"config": zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
|
|
2881
3141
|
}).describe("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")).default(getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault).describe("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"),
|
|
2882
3142
|
"sso_providers": zod.array(zod.string().max(64).regex(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp)).max(20).default(getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault).describe("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. A\nstep offers at most 20 providers.\n"),
|
|
2883
|
-
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned
|
|
3143
|
+
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned and the values the step collected, and\n links it to that identity. A unique value another user holds binds\n that user and routes user_already_exists instead.\n"),
|
|
2884
3144
|
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
2885
3145
|
"transitions": zod.record(zod.string(), zod.object({
|
|
2886
3146
|
"target": zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
|
|
@@ -2899,7 +3159,7 @@ const GetFlowDefinitionResponse = zod.object({
|
|
|
2899
3159
|
"user_schema": zod.union([zod.object({
|
|
2900
3160
|
"id": zod.string().describe("The resource id: the server-minted `sch_*` identifier, or the\ncustomer-supplied `$id` URI when the document declared one at creation.\n"),
|
|
2901
3161
|
"schema": zod.object({
|
|
2902
|
-
"objectType": zod.string().max(256).
|
|
3162
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
2903
3163
|
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
2904
3164
|
"metaSchema": zod.url().max(getFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
2905
3165
|
"x-auth-methods": zod.object({
|
|
@@ -2931,6 +3191,10 @@ const GetFlowDefinitionResponse = zod.object({
|
|
|
2931
3191
|
"updated_at": zod.iso.datetime({ "offset": true })
|
|
2932
3192
|
});
|
|
2933
3193
|
/**
|
|
3194
|
+
* Creates a team in the project, with a name no other team in the project has.
|
|
3195
|
+
*
|
|
3196
|
+
* A taken name is refused with `409 team.already_exists`. The new team has no
|
|
3197
|
+
* members yet.
|
|
2934
3198
|
* @summary Create team
|
|
2935
3199
|
*/
|
|
2936
3200
|
const createTeamQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -3002,7 +3266,7 @@ const QueryTeamsResponse = zod.object({
|
|
|
3002
3266
|
* @summary Get team
|
|
3003
3267
|
*/
|
|
3004
3268
|
const getTeamPathTeamIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3005
|
-
const GetTeamParams = zod.object({ "team_id": zod.string().regex(getTeamPathTeamIdRegExp) });
|
|
3269
|
+
const GetTeamParams = zod.object({ "team_id": zod.string().regex(getTeamPathTeamIdRegExp).describe("The unique identifier of the team.") });
|
|
3006
3270
|
const GetTeamResponse = zod.object({
|
|
3007
3271
|
"id": zod.string().describe("The unique identifier of the team."),
|
|
3008
3272
|
"name": zod.string().describe("The name of the team."),
|
|
@@ -3027,14 +3291,14 @@ const GetTeamResponse = zod.object({
|
|
|
3027
3291
|
* @summary Delete team
|
|
3028
3292
|
*/
|
|
3029
3293
|
const deleteTeamPathTeamIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3030
|
-
const DeleteTeamParams = zod.object({ "team_id": zod.string().regex(deleteTeamPathTeamIdRegExp) });
|
|
3294
|
+
const DeleteTeamParams = zod.object({ "team_id": zod.string().regex(deleteTeamPathTeamIdRegExp).describe("The unique identifier of the team.") });
|
|
3031
3295
|
const DeleteTeamResponse = zod.void();
|
|
3032
3296
|
/**
|
|
3033
3297
|
* Update team. Only active teams can be updated.
|
|
3034
3298
|
* @summary Update team
|
|
3035
3299
|
*/
|
|
3036
3300
|
const updateTeamPathTeamIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3037
|
-
const UpdateTeamParams = zod.object({ "team_id": zod.string().regex(updateTeamPathTeamIdRegExp) });
|
|
3301
|
+
const UpdateTeamParams = zod.object({ "team_id": zod.string().regex(updateTeamPathTeamIdRegExp).describe("The unique identifier of the team.") });
|
|
3038
3302
|
const updateTeamBodyNameMax = 200;
|
|
3039
3303
|
const UpdateTeamBody = zod.object({ "name": zod.string().min(1).max(200).optional().describe("The name of the team. Must be unique within the project.") });
|
|
3040
3304
|
const UpdateTeamResponse = zod.object({
|
|
@@ -3045,75 +3309,6 @@ const UpdateTeamResponse = zod.object({
|
|
|
3045
3309
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("The time when the team was last updated.")
|
|
3046
3310
|
}).describe("Details of a team.");
|
|
3047
3311
|
/**
|
|
3048
|
-
* Lists the project's environments ordered by name.
|
|
3049
|
-
* @summary List environments
|
|
3050
|
-
*/
|
|
3051
|
-
const listEnvironmentsQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3052
|
-
const listEnvironmentsQueryLimitDefault = 20;
|
|
3053
|
-
const listEnvironmentsQueryLimitMax = 100;
|
|
3054
|
-
const ListEnvironmentsQueryParams = zod.strictObject({
|
|
3055
|
-
"project_id": zod.string().regex(listEnvironmentsQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
3056
|
-
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
3057
|
-
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n")
|
|
3058
|
-
});
|
|
3059
|
-
const listEnvironmentsResponseEnvironmentsItemProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3060
|
-
const listEnvironmentsResponseEnvironmentsItemNameMax = 63;
|
|
3061
|
-
const listEnvironmentsResponseEnvironmentsItemNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
3062
|
-
const listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
3063
|
-
const listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
3064
|
-
const ListEnvironmentsResponse = zod.object({
|
|
3065
|
-
"environments": zod.array(zod.object({
|
|
3066
|
-
"id": zod.string().describe("The opaque, immutable resource id."),
|
|
3067
|
-
"project_id": zod.string().regex(listEnvironmentsResponseEnvironmentsItemProjectIdRegExp),
|
|
3068
|
-
"name": zod.string().max(63).regex(listEnvironmentsResponseEnvironmentsItemNameRegExp).describe("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"),
|
|
3069
|
-
"created_at": zod.iso.datetime({ "offset": true }).describe("When the environment was created."),
|
|
3070
|
-
"current_deployment": zod.union([zod.object({
|
|
3071
|
-
"id": zod.string().regex(listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneIdRegExp).describe("The opaque, immutable identifier of a deployment."),
|
|
3072
|
-
"release_id": zod.string().regex(listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneReleaseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
3073
|
-
"reason": zod.enum([
|
|
3074
|
-
"deploy",
|
|
3075
|
-
"promote",
|
|
3076
|
-
"rollback"
|
|
3077
|
-
]).describe("Why the deployment was created. All three are the same operation — a new\ndeployment pointing the environment at a release — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the environment.\n- `promote` — a release that already runs on another environment goes live\n here; `source_environment_id` records where it came from.\n- `rollback` — a release the environment ran earlier goes live again.\n"),
|
|
3078
|
-
"deployed_at": zod.iso.datetime({ "offset": true }).describe("When the release went live here.")
|
|
3079
|
-
}).describe("The deployment an environment currently runs: enough to say which release\nis live, since when, and why. The full record — who deployed, and where a\npromotion came from — is at `GET /deployments/{deployment_id}`.\n"), zod.null()]).describe("The deployment this environment currently runs, or `null` while nothing\nhas been deployed to it yet.\n")
|
|
3080
|
-
}).describe("A runtime slot on a project (ADR 035).\n\nIdentity plus what runs there: `current_deployment` names the release the\nenvironment currently runs. The deployment history lives at\n`GET /deployments`; environment lifecycle (create, rename, retire) arrives\nwith its own ADR. Until then every project is seeded with a fixed set of\nenvironments at creation and the set cannot be changed.\n")),
|
|
3081
|
-
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
3082
|
-
}).describe("The project's environments, ordered by name.");
|
|
3083
|
-
/**
|
|
3084
|
-
* Reads one environment of the project by its name.
|
|
3085
|
-
*
|
|
3086
|
-
* The lookup is scoped to the project in `project_id`: a name that exists in
|
|
3087
|
-
* another project answers `env.not_found` exactly as an unused name does.
|
|
3088
|
-
* @summary Get an environment by name
|
|
3089
|
-
*/
|
|
3090
|
-
const getEnvironmentByNamePathNameMax = 63;
|
|
3091
|
-
const getEnvironmentByNamePathNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
3092
|
-
const GetEnvironmentByNameParams = zod.object({ "name": zod.string().max(63).regex(getEnvironmentByNamePathNameRegExp).describe("The name of the environment, unique within the project.") });
|
|
3093
|
-
const getEnvironmentByNameQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3094
|
-
const GetEnvironmentByNameQueryParams = zod.strictObject({ "project_id": zod.string().regex(getEnvironmentByNameQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
3095
|
-
const getEnvironmentByNameResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
3096
|
-
const getEnvironmentByNameResponseNameMax = 63;
|
|
3097
|
-
const getEnvironmentByNameResponseNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
3098
|
-
const getEnvironmentByNameResponseCurrentDeploymentOneIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
3099
|
-
const getEnvironmentByNameResponseCurrentDeploymentOneReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
3100
|
-
const GetEnvironmentByNameResponse = zod.object({
|
|
3101
|
-
"id": zod.string().describe("The opaque, immutable resource id."),
|
|
3102
|
-
"project_id": zod.string().regex(getEnvironmentByNameResponseProjectIdRegExp),
|
|
3103
|
-
"name": zod.string().max(63).regex(getEnvironmentByNameResponseNameRegExp).describe("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"),
|
|
3104
|
-
"created_at": zod.iso.datetime({ "offset": true }).describe("When the environment was created."),
|
|
3105
|
-
"current_deployment": zod.union([zod.object({
|
|
3106
|
-
"id": zod.string().regex(getEnvironmentByNameResponseCurrentDeploymentOneIdRegExp).describe("The opaque, immutable identifier of a deployment."),
|
|
3107
|
-
"release_id": zod.string().regex(getEnvironmentByNameResponseCurrentDeploymentOneReleaseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
3108
|
-
"reason": zod.enum([
|
|
3109
|
-
"deploy",
|
|
3110
|
-
"promote",
|
|
3111
|
-
"rollback"
|
|
3112
|
-
]).describe("Why the deployment was created. All three are the same operation — a new\ndeployment pointing the environment at a release — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the environment.\n- `promote` — a release that already runs on another environment goes live\n here; `source_environment_id` records where it came from.\n- `rollback` — a release the environment ran earlier goes live again.\n"),
|
|
3113
|
-
"deployed_at": zod.iso.datetime({ "offset": true }).describe("When the release went live here.")
|
|
3114
|
-
}).describe("The deployment an environment currently runs: enough to say which release\nis live, since when, and why. The full record — who deployed, and where a\npromotion came from — is at `GET /deployments/{deployment_id}`.\n"), zod.null()]).describe("The deployment this environment currently runs, or `null` while nothing\nhas been deployed to it yet.\n")
|
|
3115
|
-
}).describe("A runtime slot on a project (ADR 035).\n\nIdentity plus what runs there: `current_deployment` names the release the\nenvironment currently runs. The deployment history lives at\n`GET /deployments`; environment lifecycle (create, rename, retire) arrives\nwith its own ADR. Until then every project is seeded with a fixed set of\nenvironments at creation and the set cannot be changed.\n");
|
|
3116
|
-
/**
|
|
3117
3312
|
* Publishes a new immutable branding revision for the project. Branding
|
|
3118
3313
|
* revisions cannot be updated or deleted; every edit publishes a new
|
|
3119
3314
|
* revision, and flow responses resolve the latest revision per project.
|
|
@@ -3419,7 +3614,7 @@ const ListBrandingResponse = zod.array(ListBrandingResponseItem);
|
|
|
3419
3614
|
* Retrieves a single branding revision, including its stored configuration.
|
|
3420
3615
|
* @summary Get a branding revision by ID
|
|
3421
3616
|
*/
|
|
3422
|
-
const GetBrandingByIdParams = zod.object({ "id": zod.string() });
|
|
3617
|
+
const GetBrandingByIdParams = zod.object({ "id": zod.string().describe("The unique identifier of the branding revision.") });
|
|
3423
3618
|
const getBrandingByIdResponseBrandingLayoutDefault = `centered`;
|
|
3424
3619
|
const getBrandingByIdResponseBrandingLiquidTemplateMax = 131072;
|
|
3425
3620
|
const getBrandingByIdResponseBrandingLogoUrlMax = 2048;
|
|
@@ -3569,19 +3764,29 @@ const GetBrandingByIdResponse = zod.object({
|
|
|
3569
3764
|
* releases and auth attempts stay pinned to the revision they captured.
|
|
3570
3765
|
*
|
|
3571
3766
|
* Identity fields are fixed for the life of the connection and a revision
|
|
3572
|
-
* that changes one is rejected: `protocol`, `subject_claim`, and
|
|
3573
|
-
*
|
|
3574
|
-
* and `userinfo_endpoint` for OAuth 2.0). Their values decide which provider
|
|
3767
|
+
* that changes one is rejected: `protocol`, `subject_claim`, and `issuer`,
|
|
3768
|
+
* the field that names the authority. Their values decide which provider
|
|
3575
3769
|
* account a stored subject belongs to, so changing one would silently
|
|
3576
3770
|
* repoint existing identities at a different provider.
|
|
3577
3771
|
*
|
|
3578
|
-
* `subject_claim` is optional
|
|
3579
|
-
*
|
|
3580
|
-
*
|
|
3581
|
-
*
|
|
3772
|
+
* `subject_claim` is optional, and `sub` is used as the default value. If a
|
|
3773
|
+
* revision updates `subject_claim` to a different value than the one set
|
|
3774
|
+
* during creation, the request is rejected.
|
|
3775
|
+
*
|
|
3776
|
+
* OIDC is the only protocol.
|
|
3582
3777
|
*
|
|
3583
3778
|
* The document is validated against the `idp-connection.json` schema before
|
|
3584
|
-
* anything is stored.
|
|
3779
|
+
* anything is stored. The rules the engine applies when it starts a sign-in
|
|
3780
|
+
* then run on the document, so a connection that could never start one is
|
|
3781
|
+
* refused here instead with `idp.endpoints_partial`: the OIDC block sets an
|
|
3782
|
+
* endpoint without the others. It either sets no endpoint, and discovery
|
|
3783
|
+
* fills them, or sets `authorization_endpoint`, `token_endpoint`, `jwks_uri`,
|
|
3784
|
+
* and `userinfo_endpoint`. `userinfo_endpoint` may be left out when
|
|
3785
|
+
* `id_token_mapping` is on, but setting it alone still counts as setting an
|
|
3786
|
+
* endpoint. The details list the missing endpoints.
|
|
3787
|
+
*
|
|
3788
|
+
* A refused document stores nothing, and on a revise the current revision
|
|
3789
|
+
* stays unchanged.
|
|
3585
3790
|
* @summary Create or revise an identity provider connection
|
|
3586
3791
|
*/
|
|
3587
3792
|
const createIdpQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -3606,21 +3811,14 @@ const createIdpBodyIdpOidcScopesDefault = [
|
|
|
3606
3811
|
`email`
|
|
3607
3812
|
];
|
|
3608
3813
|
const createIdpBodyIdpOidcPkceEnabledDefault = true;
|
|
3609
|
-
const createIdpBodyIdpOauth2AuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3610
|
-
const createIdpBodyIdpOauth2TokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3611
|
-
const createIdpBodyIdpOauth2UserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3612
|
-
const createIdpBodyIdpOauth2ClientIdMax = 512;
|
|
3613
|
-
const createIdpBodyIdpOauth2ClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
3614
|
-
const createIdpBodyIdpOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
3615
|
-
const createIdpBodyIdpOauth2PkceEnabledDefault = true;
|
|
3616
3814
|
const CreateIdpBody = zod.object({ "idp": zod.object({
|
|
3617
3815
|
"slug": zod.string().max(64).regex(createIdpBodyIdpSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
3618
|
-
"protocol": zod.enum(["oidc"
|
|
3816
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
3619
3817
|
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
3620
3818
|
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
3621
|
-
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional
|
|
3622
|
-
"claim_mapping": zod.record(zod.string(), zod.string().regex(createIdpBodyIdpClaimMappingRegExpOne)).optional().describe("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
|
|
3623
|
-
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim)
|
|
3819
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
3820
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(createIdpBodyIdpClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
3821
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
3624
3822
|
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(createIdpBodyIdpProvisioningCreationDefault) }).optional().describe("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."),
|
|
3625
3823
|
"oidc": zod.object({
|
|
3626
3824
|
"issuer": zod.string().regex(createIdpBodyIdpOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
@@ -3635,19 +3833,7 @@ const CreateIdpBody = zod.object({ "idp": zod.object({
|
|
|
3635
3833
|
"scopes": zod.array(zod.string().min(1)).min(1).default(createIdpBodyIdpOidcScopesDefault).describe("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."),
|
|
3636
3834
|
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3637
3835
|
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
3638
|
-
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting
|
|
3639
|
-
"oauth2": zod.object({
|
|
3640
|
-
"authorization_endpoint": zod.string().regex(createIdpBodyIdpOauth2AuthorizationEndpointRegExp).describe("Where the user is sent to authorize."),
|
|
3641
|
-
"token_endpoint": zod.string().regex(createIdpBodyIdpOauth2TokenEndpointRegExp).describe("Where the authorization code is exchanged."),
|
|
3642
|
-
"userinfo_endpoint": zod.string().regex(createIdpBodyIdpOauth2UserinfoEndpointRegExp).describe("Where the authenticated user's profile is fetched."),
|
|
3643
|
-
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
3644
|
-
"client_secret": zod.string().regex(createIdpBodyIdpOauth2ClientSecretRegExp).describe("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."),
|
|
3645
|
-
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(createIdpBodyIdpOauth2TokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
3646
|
-
"scopes": zod.array(zod.string().min(1)).optional().describe("Provider-specific; OAuth 2.0 defines no universal scope."),
|
|
3647
|
-
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3648
|
-
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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."),
|
|
3649
|
-
"supplementary_fetch": zod.enum(["github_primary_email"]).optional().describe("Provider-specific follow-up call after userinfo. New values are non-breaking.")
|
|
3650
|
-
}).optional().describe("OAuth 2.0 connection details.")
|
|
3836
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
3651
3837
|
}) }).describe("Creates or revises an identity provider connection document.");
|
|
3652
3838
|
const createIdpResponseDefinitionSlugMax = 64;
|
|
3653
3839
|
const createIdpResponseDefinitionSlugRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9][a-z0-9_-]*$");
|
|
@@ -3669,13 +3855,6 @@ const createIdpResponseDefinitionOidcScopesDefault = [
|
|
|
3669
3855
|
`email`
|
|
3670
3856
|
];
|
|
3671
3857
|
const createIdpResponseDefinitionOidcPkceEnabledDefault = true;
|
|
3672
|
-
const createIdpResponseDefinitionOauth2AuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3673
|
-
const createIdpResponseDefinitionOauth2TokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3674
|
-
const createIdpResponseDefinitionOauth2UserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3675
|
-
const createIdpResponseDefinitionOauth2ClientIdMax = 512;
|
|
3676
|
-
const createIdpResponseDefinitionOauth2ClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
3677
|
-
const createIdpResponseDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
3678
|
-
const createIdpResponseDefinitionOauth2PkceEnabledDefault = true;
|
|
3679
3858
|
const CreateIdpResponse = zod.object({
|
|
3680
3859
|
"id": zod.string().describe("A unique connection id, generated when the connection is created, and shared by\nevery revision. This id is referenced by the identity links.\n"),
|
|
3681
3860
|
"revision_id": zod.string().describe("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"),
|
|
@@ -3684,12 +3863,12 @@ const CreateIdpResponse = zod.object({
|
|
|
3684
3863
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("When this revision was created. On the newest revision, that is when\nthe connection was last revised.\n"),
|
|
3685
3864
|
"definition": zod.object({
|
|
3686
3865
|
"slug": zod.string().max(64).regex(createIdpResponseDefinitionSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
3687
|
-
"protocol": zod.enum(["oidc"
|
|
3866
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
3688
3867
|
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
3689
3868
|
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
3690
|
-
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional
|
|
3691
|
-
"claim_mapping": zod.record(zod.string(), zod.string().regex(createIdpResponseDefinitionClaimMappingRegExpOne)).optional().describe("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
|
|
3692
|
-
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim)
|
|
3869
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
3870
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(createIdpResponseDefinitionClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
3871
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
3693
3872
|
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(createIdpResponseDefinitionProvisioningCreationDefault) }).optional().describe("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."),
|
|
3694
3873
|
"oidc": zod.object({
|
|
3695
3874
|
"issuer": zod.string().regex(createIdpResponseDefinitionOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
@@ -3704,19 +3883,7 @@ const CreateIdpResponse = zod.object({
|
|
|
3704
3883
|
"scopes": zod.array(zod.string().min(1)).min(1).default(createIdpResponseDefinitionOidcScopesDefault).describe("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."),
|
|
3705
3884
|
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3706
3885
|
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
3707
|
-
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting
|
|
3708
|
-
"oauth2": zod.object({
|
|
3709
|
-
"authorization_endpoint": zod.string().regex(createIdpResponseDefinitionOauth2AuthorizationEndpointRegExp).describe("Where the user is sent to authorize."),
|
|
3710
|
-
"token_endpoint": zod.string().regex(createIdpResponseDefinitionOauth2TokenEndpointRegExp).describe("Where the authorization code is exchanged."),
|
|
3711
|
-
"userinfo_endpoint": zod.string().regex(createIdpResponseDefinitionOauth2UserinfoEndpointRegExp).describe("Where the authenticated user's profile is fetched."),
|
|
3712
|
-
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
3713
|
-
"client_secret": zod.string().regex(createIdpResponseDefinitionOauth2ClientSecretRegExp).describe("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."),
|
|
3714
|
-
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(createIdpResponseDefinitionOauth2TokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
3715
|
-
"scopes": zod.array(zod.string().min(1)).optional().describe("Provider-specific; OAuth 2.0 defines no universal scope."),
|
|
3716
|
-
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3717
|
-
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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."),
|
|
3718
|
-
"supplementary_fetch": zod.enum(["github_primary_email"]).optional().describe("Provider-specific follow-up call after userinfo. New values are non-breaking.")
|
|
3719
|
-
}).optional().describe("OAuth 2.0 connection details.")
|
|
3886
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
3720
3887
|
})
|
|
3721
3888
|
}).describe("An identity provider connection.\n");
|
|
3722
3889
|
/**
|
|
@@ -3775,13 +3942,6 @@ const queryIdpsResponseIdpsItemDefinitionOidcScopesDefault = [
|
|
|
3775
3942
|
`email`
|
|
3776
3943
|
];
|
|
3777
3944
|
const queryIdpsResponseIdpsItemDefinitionOidcPkceEnabledDefault = true;
|
|
3778
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2AuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3779
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3780
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2UserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3781
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2ClientIdMax = 512;
|
|
3782
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2ClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
3783
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
3784
|
-
const queryIdpsResponseIdpsItemDefinitionOauth2PkceEnabledDefault = true;
|
|
3785
3945
|
const QueryIdpsResponse = zod.object({
|
|
3786
3946
|
"idps": zod.array(zod.object({
|
|
3787
3947
|
"id": zod.string().describe("A unique connection id, generated when the connection is created, and shared by\nevery revision. This id is referenced by the identity links.\n"),
|
|
@@ -3791,12 +3951,12 @@ const QueryIdpsResponse = zod.object({
|
|
|
3791
3951
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("When this revision was created. On the newest revision, that is when\nthe connection was last revised.\n"),
|
|
3792
3952
|
"definition": zod.object({
|
|
3793
3953
|
"slug": zod.string().max(64).regex(queryIdpsResponseIdpsItemDefinitionSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
3794
|
-
"protocol": zod.enum(["oidc"
|
|
3954
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
3795
3955
|
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
3796
3956
|
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
3797
|
-
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional
|
|
3798
|
-
"claim_mapping": zod.record(zod.string(), zod.string().regex(queryIdpsResponseIdpsItemDefinitionClaimMappingRegExpOne)).optional().describe("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
|
|
3799
|
-
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim)
|
|
3957
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
3958
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(queryIdpsResponseIdpsItemDefinitionClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
3959
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
3800
3960
|
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(queryIdpsResponseIdpsItemDefinitionProvisioningCreationDefault) }).optional().describe("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."),
|
|
3801
3961
|
"oidc": zod.object({
|
|
3802
3962
|
"issuer": zod.string().regex(queryIdpsResponseIdpsItemDefinitionOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
@@ -3811,19 +3971,7 @@ const QueryIdpsResponse = zod.object({
|
|
|
3811
3971
|
"scopes": zod.array(zod.string().min(1)).min(1).default(queryIdpsResponseIdpsItemDefinitionOidcScopesDefault).describe("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."),
|
|
3812
3972
|
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3813
3973
|
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
3814
|
-
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting
|
|
3815
|
-
"oauth2": zod.object({
|
|
3816
|
-
"authorization_endpoint": zod.string().regex(queryIdpsResponseIdpsItemDefinitionOauth2AuthorizationEndpointRegExp).describe("Where the user is sent to authorize."),
|
|
3817
|
-
"token_endpoint": zod.string().regex(queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointRegExp).describe("Where the authorization code is exchanged."),
|
|
3818
|
-
"userinfo_endpoint": zod.string().regex(queryIdpsResponseIdpsItemDefinitionOauth2UserinfoEndpointRegExp).describe("Where the authenticated user's profile is fetched."),
|
|
3819
|
-
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
3820
|
-
"client_secret": zod.string().regex(queryIdpsResponseIdpsItemDefinitionOauth2ClientSecretRegExp).describe("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."),
|
|
3821
|
-
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
3822
|
-
"scopes": zod.array(zod.string().min(1)).optional().describe("Provider-specific; OAuth 2.0 defines no universal scope."),
|
|
3823
|
-
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3824
|
-
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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."),
|
|
3825
|
-
"supplementary_fetch": zod.enum(["github_primary_email"]).optional().describe("Provider-specific follow-up call after userinfo. New values are non-breaking.")
|
|
3826
|
-
}).optional().describe("OAuth 2.0 connection details.")
|
|
3974
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
3827
3975
|
})
|
|
3828
3976
|
}).describe("An identity provider connection.\n")),
|
|
3829
3977
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results. The follow-up request must repeat the\nsame `sorting` that produced this token (omit only when both pages use the default).\n")
|
|
@@ -3858,13 +4006,6 @@ const getIdpByIdResponseDefinitionOidcScopesDefault = [
|
|
|
3858
4006
|
`email`
|
|
3859
4007
|
];
|
|
3860
4008
|
const getIdpByIdResponseDefinitionOidcPkceEnabledDefault = true;
|
|
3861
|
-
const getIdpByIdResponseDefinitionOauth2AuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3862
|
-
const getIdpByIdResponseDefinitionOauth2TokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3863
|
-
const getIdpByIdResponseDefinitionOauth2UserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3864
|
-
const getIdpByIdResponseDefinitionOauth2ClientIdMax = 512;
|
|
3865
|
-
const getIdpByIdResponseDefinitionOauth2ClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
3866
|
-
const getIdpByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
3867
|
-
const getIdpByIdResponseDefinitionOauth2PkceEnabledDefault = true;
|
|
3868
4009
|
const GetIdpByIdResponse = zod.object({
|
|
3869
4010
|
"id": zod.string().describe("A unique connection id, generated when the connection is created, and shared by\nevery revision. This id is referenced by the identity links.\n"),
|
|
3870
4011
|
"revision_id": zod.string().describe("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"),
|
|
@@ -3873,12 +4014,12 @@ const GetIdpByIdResponse = zod.object({
|
|
|
3873
4014
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("When this revision was created. On the newest revision, that is when\nthe connection was last revised.\n"),
|
|
3874
4015
|
"definition": zod.object({
|
|
3875
4016
|
"slug": zod.string().max(64).regex(getIdpByIdResponseDefinitionSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
3876
|
-
"protocol": zod.enum(["oidc"
|
|
4017
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
3877
4018
|
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
3878
4019
|
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
3879
|
-
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional
|
|
3880
|
-
"claim_mapping": zod.record(zod.string(), zod.string().regex(getIdpByIdResponseDefinitionClaimMappingRegExpOne)).optional().describe("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
|
|
3881
|
-
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim)
|
|
4020
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
4021
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(getIdpByIdResponseDefinitionClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
4022
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
3882
4023
|
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(getIdpByIdResponseDefinitionProvisioningCreationDefault) }).optional().describe("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."),
|
|
3883
4024
|
"oidc": zod.object({
|
|
3884
4025
|
"issuer": zod.string().regex(getIdpByIdResponseDefinitionOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
@@ -3893,19 +4034,7 @@ const GetIdpByIdResponse = zod.object({
|
|
|
3893
4034
|
"scopes": zod.array(zod.string().min(1)).min(1).default(getIdpByIdResponseDefinitionOidcScopesDefault).describe("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."),
|
|
3894
4035
|
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3895
4036
|
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
3896
|
-
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting
|
|
3897
|
-
"oauth2": zod.object({
|
|
3898
|
-
"authorization_endpoint": zod.string().regex(getIdpByIdResponseDefinitionOauth2AuthorizationEndpointRegExp).describe("Where the user is sent to authorize."),
|
|
3899
|
-
"token_endpoint": zod.string().regex(getIdpByIdResponseDefinitionOauth2TokenEndpointRegExp).describe("Where the authorization code is exchanged."),
|
|
3900
|
-
"userinfo_endpoint": zod.string().regex(getIdpByIdResponseDefinitionOauth2UserinfoEndpointRegExp).describe("Where the authenticated user's profile is fetched."),
|
|
3901
|
-
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
3902
|
-
"client_secret": zod.string().regex(getIdpByIdResponseDefinitionOauth2ClientSecretRegExp).describe("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."),
|
|
3903
|
-
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(getIdpByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
3904
|
-
"scopes": zod.array(zod.string().min(1)).optional().describe("Provider-specific; OAuth 2.0 defines no universal scope."),
|
|
3905
|
-
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3906
|
-
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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."),
|
|
3907
|
-
"supplementary_fetch": zod.enum(["github_primary_email"]).optional().describe("Provider-specific follow-up call after userinfo. New values are non-breaking.")
|
|
3908
|
-
}).optional().describe("OAuth 2.0 connection details.")
|
|
4037
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
3909
4038
|
})
|
|
3910
4039
|
}).describe("An identity provider connection.\n");
|
|
3911
4040
|
/**
|
|
@@ -3944,13 +4073,6 @@ const listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault = [
|
|
|
3944
4073
|
`email`
|
|
3945
4074
|
];
|
|
3946
4075
|
const listIdpRevisionsResponseRevisionsItemDefinitionOidcPkceEnabledDefault = true;
|
|
3947
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2AuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3948
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3949
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2UserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
3950
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientIdMax = 512;
|
|
3951
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
3952
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
3953
|
-
const listIdpRevisionsResponseRevisionsItemDefinitionOauth2PkceEnabledDefault = true;
|
|
3954
4076
|
const ListIdpRevisionsResponse = zod.object({
|
|
3955
4077
|
"revisions": zod.array(zod.object({
|
|
3956
4078
|
"id": zod.string().describe("A unique connection id, generated when the connection is created, and shared by\nevery revision. This id is referenced by the identity links.\n"),
|
|
@@ -3960,12 +4082,12 @@ const ListIdpRevisionsResponse = zod.object({
|
|
|
3960
4082
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("When this revision was created. On the newest revision, that is when\nthe connection was last revised.\n"),
|
|
3961
4083
|
"definition": zod.object({
|
|
3962
4084
|
"slug": zod.string().max(64).regex(listIdpRevisionsResponseRevisionsItemDefinitionSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
3963
|
-
"protocol": zod.enum(["oidc"
|
|
4085
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
3964
4086
|
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
3965
4087
|
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
3966
|
-
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional
|
|
3967
|
-
"claim_mapping": zod.record(zod.string(), zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionClaimMappingRegExpOne)).optional().describe("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
|
|
3968
|
-
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim)
|
|
4088
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
4089
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
4090
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
3969
4091
|
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(listIdpRevisionsResponseRevisionsItemDefinitionProvisioningCreationDefault) }).optional().describe("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."),
|
|
3970
4092
|
"oidc": zod.object({
|
|
3971
4093
|
"issuer": zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
@@ -3980,19 +4102,7 @@ const ListIdpRevisionsResponse = zod.object({
|
|
|
3980
4102
|
"scopes": zod.array(zod.string().min(1)).min(1).default(listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault).describe("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."),
|
|
3981
4103
|
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3982
4104
|
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
3983
|
-
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting
|
|
3984
|
-
"oauth2": zod.object({
|
|
3985
|
-
"authorization_endpoint": zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionOauth2AuthorizationEndpointRegExp).describe("Where the user is sent to authorize."),
|
|
3986
|
-
"token_endpoint": zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointRegExp).describe("Where the authorization code is exchanged."),
|
|
3987
|
-
"userinfo_endpoint": zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionOauth2UserinfoEndpointRegExp).describe("Where the authenticated user's profile is fetched."),
|
|
3988
|
-
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
3989
|
-
"client_secret": zod.string().regex(listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientSecretRegExp).describe("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."),
|
|
3990
|
-
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
3991
|
-
"scopes": zod.array(zod.string().min(1)).optional().describe("Provider-specific; OAuth 2.0 defines no universal scope."),
|
|
3992
|
-
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
3993
|
-
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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."),
|
|
3994
|
-
"supplementary_fetch": zod.enum(["github_primary_email"]).optional().describe("Provider-specific follow-up call after userinfo. New values are non-breaking.")
|
|
3995
|
-
}).optional().describe("OAuth 2.0 connection details.")
|
|
4105
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
3996
4106
|
})
|
|
3997
4107
|
}).describe("An identity provider connection.\n")),
|
|
3998
4108
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following\npage. Absent when there are no more results.\n")
|
|
@@ -4027,13 +4137,6 @@ const getIdpRevisionByIdResponseDefinitionOidcScopesDefault = [
|
|
|
4027
4137
|
`email`
|
|
4028
4138
|
];
|
|
4029
4139
|
const getIdpRevisionByIdResponseDefinitionOidcPkceEnabledDefault = true;
|
|
4030
|
-
const getIdpRevisionByIdResponseDefinitionOauth2AuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4031
|
-
const getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4032
|
-
const getIdpRevisionByIdResponseDefinitionOauth2UserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4033
|
-
const getIdpRevisionByIdResponseDefinitionOauth2ClientIdMax = 512;
|
|
4034
|
-
const getIdpRevisionByIdResponseDefinitionOauth2ClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
4035
|
-
const getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
4036
|
-
const getIdpRevisionByIdResponseDefinitionOauth2PkceEnabledDefault = true;
|
|
4037
4140
|
const GetIdpRevisionByIdResponse = zod.object({
|
|
4038
4141
|
"id": zod.string().describe("A unique connection id, generated when the connection is created, and shared by\nevery revision. This id is referenced by the identity links.\n"),
|
|
4039
4142
|
"revision_id": zod.string().describe("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"),
|
|
@@ -4042,12 +4145,12 @@ const GetIdpRevisionByIdResponse = zod.object({
|
|
|
4042
4145
|
"updated_at": zod.iso.datetime({ "offset": true }).describe("When this revision was created. On the newest revision, that is when\nthe connection was last revised.\n"),
|
|
4043
4146
|
"definition": zod.object({
|
|
4044
4147
|
"slug": zod.string().max(64).regex(getIdpRevisionByIdResponseDefinitionSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
4045
|
-
"protocol": zod.enum(["oidc"
|
|
4148
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
4046
4149
|
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
4047
4150
|
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
4048
|
-
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional
|
|
4049
|
-
"claim_mapping": zod.record(zod.string(), zod.string().regex(getIdpRevisionByIdResponseDefinitionClaimMappingRegExpOne)).optional().describe("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
|
|
4050
|
-
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim)
|
|
4151
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
4152
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(getIdpRevisionByIdResponseDefinitionClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
4153
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
4051
4154
|
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(getIdpRevisionByIdResponseDefinitionProvisioningCreationDefault) }).optional().describe("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."),
|
|
4052
4155
|
"oidc": zod.object({
|
|
4053
4156
|
"issuer": zod.string().regex(getIdpRevisionByIdResponseDefinitionOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
@@ -4062,37 +4165,29 @@ const GetIdpRevisionByIdResponse = zod.object({
|
|
|
4062
4165
|
"scopes": zod.array(zod.string().min(1)).min(1).default(getIdpRevisionByIdResponseDefinitionOidcScopesDefault).describe("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."),
|
|
4063
4166
|
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
4064
4167
|
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
4065
|
-
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting
|
|
4066
|
-
"oauth2": zod.object({
|
|
4067
|
-
"authorization_endpoint": zod.string().regex(getIdpRevisionByIdResponseDefinitionOauth2AuthorizationEndpointRegExp).describe("Where the user is sent to authorize."),
|
|
4068
|
-
"token_endpoint": zod.string().regex(getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointRegExp).describe("Where the authorization code is exchanged."),
|
|
4069
|
-
"userinfo_endpoint": zod.string().regex(getIdpRevisionByIdResponseDefinitionOauth2UserinfoEndpointRegExp).describe("Where the authenticated user's profile is fetched."),
|
|
4070
|
-
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
4071
|
-
"client_secret": zod.string().regex(getIdpRevisionByIdResponseDefinitionOauth2ClientSecretRegExp).describe("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."),
|
|
4072
|
-
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
4073
|
-
"scopes": zod.array(zod.string().min(1)).optional().describe("Provider-specific; OAuth 2.0 defines no universal scope."),
|
|
4074
|
-
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
4075
|
-
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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."),
|
|
4076
|
-
"supplementary_fetch": zod.enum(["github_primary_email"]).optional().describe("Provider-specific follow-up call after userinfo. New values are non-breaking.")
|
|
4077
|
-
}).optional().describe("OAuth 2.0 connection details.")
|
|
4168
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
4078
4169
|
})
|
|
4079
4170
|
}).describe("An identity provider connection.\n");
|
|
4080
4171
|
/**
|
|
4081
|
-
*
|
|
4082
|
-
* `(kind, revision_id)` pairs.
|
|
4083
|
-
*
|
|
4172
|
+
* Assembles a release from existing revisions, given as
|
|
4173
|
+
* `(kind, revision_id)` pairs. To build one from files on disk, use
|
|
4174
|
+
* `POST /releases/build`.
|
|
4084
4175
|
*
|
|
4085
|
-
*
|
|
4086
|
-
*
|
|
4087
|
-
* is always pinned under the identity it declares.
|
|
4176
|
+
* Each revision must exist in the project and is recorded under the handle
|
|
4177
|
+
* it declares. The release must be complete and consistent:
|
|
4088
4178
|
*
|
|
4089
|
-
*
|
|
4090
|
-
* and the
|
|
4091
|
-
*
|
|
4179
|
+
* - Every handle its revisions name must be in the release: a flow's
|
|
4180
|
+
* `user_schema`, and the IDP connections named by a flow step's
|
|
4181
|
+
* `sso_providers` or a schema's `x-auth-methods.sso.providers`. A missing
|
|
4182
|
+
* one answers `rel.unresolved_reference`, naming the resource and the
|
|
4183
|
+
* handle, e.g. `flow_definition default-login: user_schema human-user not found`.
|
|
4184
|
+
* - Every flow is validated as on save, against the user schema revision
|
|
4185
|
+
* in the release. A flow that fails answers `rel.invalid`, with the
|
|
4186
|
+
* reason in `details`.
|
|
4092
4187
|
*
|
|
4093
|
-
* Idempotent on the
|
|
4094
|
-
*
|
|
4095
|
-
*
|
|
4188
|
+
* Idempotent on the set of revisions: the same revisions with a different
|
|
4189
|
+
* `message` answer `200` with the existing release. A new release answers
|
|
4190
|
+
* `201`. Creating a release does not deploy it.
|
|
4096
4191
|
* @summary Create a release
|
|
4097
4192
|
*/
|
|
4098
4193
|
const createReleaseQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -4107,7 +4202,8 @@ const CreateReleaseBody = zod.object({
|
|
|
4107
4202
|
"kind": zod.enum([
|
|
4108
4203
|
"schema",
|
|
4109
4204
|
"flow_definition",
|
|
4110
|
-
"branding"
|
|
4205
|
+
"branding",
|
|
4206
|
+
"idp"
|
|
4111
4207
|
]).describe("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"),
|
|
4112
4208
|
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
4113
4209
|
}).describe("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")).min(1).max(50).describe("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"),
|
|
@@ -4117,6 +4213,9 @@ const CreateReleaseBody = zod.object({
|
|
|
4117
4213
|
}).describe("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");
|
|
4118
4214
|
const createReleaseResponseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
4119
4215
|
const createReleaseResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4216
|
+
const createReleaseResponseContentHashMin = 71;
|
|
4217
|
+
const createReleaseResponseContentHashMax = 71;
|
|
4218
|
+
const createReleaseResponseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4120
4219
|
const createReleaseResponseMetadataMessageOneMax = 1024;
|
|
4121
4220
|
const createReleaseResponseMetadataGitShaOneMax = 64;
|
|
4122
4221
|
const createReleaseResponseMetadataGitDirtyDefault = false;
|
|
@@ -4126,6 +4225,7 @@ const createReleaseResponsePointersMax = 50;
|
|
|
4126
4225
|
const CreateReleaseResponse = zod.object({
|
|
4127
4226
|
"id": zod.string().regex(createReleaseResponseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
4128
4227
|
"project_id": zod.string().regex(createReleaseResponseProjectIdRegExp),
|
|
4228
|
+
"content_hash": zod.string().min(71).max(71).regex(createReleaseResponseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
4129
4229
|
"metadata": zod.object({
|
|
4130
4230
|
"message": zod.union([zod.string().max(createReleaseResponseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
4131
4231
|
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
@@ -4139,33 +4239,49 @@ const CreateReleaseResponse = zod.object({
|
|
|
4139
4239
|
"agent"
|
|
4140
4240
|
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
4141
4241
|
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
4242
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
4142
4243
|
"pointers": zod.array(zod.object({
|
|
4143
4244
|
"kind": zod.enum([
|
|
4144
4245
|
"schema",
|
|
4145
4246
|
"flow_definition",
|
|
4146
|
-
"branding"
|
|
4247
|
+
"branding",
|
|
4248
|
+
"idp"
|
|
4147
4249
|
]).describe("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"),
|
|
4148
|
-
"handle": zod.string().min(1).max(256).describe("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"),
|
|
4250
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
4149
4251
|
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
4150
4252
|
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
4151
|
-
}).describe("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
|
|
4253
|
+
}).describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n");
|
|
4152
4254
|
/**
|
|
4153
4255
|
* Lists the project's releases, newest first.
|
|
4154
4256
|
*
|
|
4155
|
-
* Entries carry metadata
|
|
4156
|
-
*
|
|
4257
|
+
* Entries carry the digest, the metadata and `revoked_at` — the pinned set
|
|
4258
|
+
* is omitted.
|
|
4259
|
+
* Read one release with `GET /releases/{release_id}` to get its pointers.
|
|
4260
|
+
*
|
|
4261
|
+
* `content_hash` looks a release up by its content, as the CLI does when a
|
|
4262
|
+
* person types the digest a transcript printed. The project holds at most
|
|
4263
|
+
* one release per digest, so the filtered list has one entry or none, and
|
|
4264
|
+
* an unknown digest is an empty list rather than an error. Paths take the
|
|
4265
|
+
* `rel_` id only; the matched entry's `id` is what to use there.
|
|
4157
4266
|
* @summary List releases
|
|
4158
4267
|
*/
|
|
4159
4268
|
const listReleasesQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4269
|
+
const listReleasesQueryContentHashMin = 71;
|
|
4270
|
+
const listReleasesQueryContentHashMax = 71;
|
|
4271
|
+
const listReleasesQueryContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4160
4272
|
const listReleasesQueryLimitDefault = 20;
|
|
4161
4273
|
const listReleasesQueryLimitMax = 100;
|
|
4162
4274
|
const ListReleasesQueryParams = zod.strictObject({
|
|
4163
4275
|
"project_id": zod.string().regex(listReleasesQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
4276
|
+
"content_hash": zod.string().min(71).max(71).regex(listReleasesQueryContentHashRegExp).optional().describe("Narrows the list to the release with this content digest, given in full\nwith its `sha256:` prefix. A project holds at most one release per digest,\nso the result has one entry or none.\n\nA digest no release of the project carries answers an empty list, not an\nerror: the filter asks which release has this content, and \"none\" is a\nvalid answer. Paths never take a digest; read the matched entry's `id`\nand use that.\n"),
|
|
4164
4277
|
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
4165
4278
|
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n")
|
|
4166
4279
|
});
|
|
4167
4280
|
const listReleasesResponseReleasesItemIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
4168
4281
|
const listReleasesResponseReleasesItemProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4282
|
+
const listReleasesResponseReleasesItemContentHashMin = 71;
|
|
4283
|
+
const listReleasesResponseReleasesItemContentHashMax = 71;
|
|
4284
|
+
const listReleasesResponseReleasesItemContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4169
4285
|
const listReleasesResponseReleasesItemMetadataMessageOneMax = 1024;
|
|
4170
4286
|
const listReleasesResponseReleasesItemMetadataGitShaOneMax = 64;
|
|
4171
4287
|
const listReleasesResponseReleasesItemMetadataGitDirtyDefault = false;
|
|
@@ -4173,6 +4289,7 @@ const ListReleasesResponse = zod.object({
|
|
|
4173
4289
|
"releases": zod.array(zod.object({
|
|
4174
4290
|
"id": zod.string().regex(listReleasesResponseReleasesItemIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
4175
4291
|
"project_id": zod.string().regex(listReleasesResponseReleasesItemProjectIdRegExp),
|
|
4292
|
+
"content_hash": zod.string().min(71).max(71).regex(listReleasesResponseReleasesItemContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
4176
4293
|
"metadata": zod.object({
|
|
4177
4294
|
"message": zod.union([zod.string().max(listReleasesResponseReleasesItemMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
4178
4295
|
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
@@ -4185,13 +4302,374 @@ const ListReleasesResponse = zod.object({
|
|
|
4185
4302
|
"system",
|
|
4186
4303
|
"agent"
|
|
4187
4304
|
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
4188
|
-
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n")
|
|
4305
|
+
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
4306
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not.")
|
|
4189
4307
|
}).describe("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")),
|
|
4190
4308
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
4191
4309
|
}).describe("The project's releases, newest first.");
|
|
4192
4310
|
/**
|
|
4193
|
-
*
|
|
4194
|
-
*
|
|
4311
|
+
* Builds a release from the resources of `.zitadel/` as authored on disk,
|
|
4312
|
+
* grouped by kind, in one transaction: a failure anywhere leaves no
|
|
4313
|
+
* revision and no release. The caller records nothing.
|
|
4314
|
+
*
|
|
4315
|
+
* If the project already holds a release with the same content, the same
|
|
4316
|
+
* `content_hash`, the request answers `200` with that release and
|
|
4317
|
+
* allocates nothing, however long ago it was built. Otherwise every resource is compared against the
|
|
4318
|
+
* project's newest revision of the same handle: unchanged content reuses
|
|
4319
|
+
* that revision, changed content allocates a new one, and the request
|
|
4320
|
+
* answers `201` with the new release. Metadata is excluded from the
|
|
4321
|
+
* comparison, so the same content under a different `message` is the same
|
|
4322
|
+
* release.
|
|
4323
|
+
*
|
|
4324
|
+
* A structurally malformed request is refused while decoding with
|
|
4325
|
+
* `req.invalid`, naming the offending fields. A well-formed bundle is then
|
|
4326
|
+
* checked resource by resource, as each kind's create endpoint checks it,
|
|
4327
|
+
* and every failure is reported at once: the request answers `400` with
|
|
4328
|
+
* `rel.invalid`, and `details.resources` lists each resource that failed.
|
|
4329
|
+
* A handle that resolves neither in the bundle nor in the project answers
|
|
4330
|
+
* `rel.unresolved_reference`, naming the pointer and the handle.
|
|
4331
|
+
*
|
|
4332
|
+
* Building writes revisions, so besides `release.write` it needs the write
|
|
4333
|
+
* scope of every kind the bundle carries a resource of: `schema.write`,
|
|
4334
|
+
* `flow_definition.write`, `branding.write` and `idp.write`, as the
|
|
4335
|
+
* per-kind create endpoints do. A missing scope answers `403` with `rel.permission_denied`,
|
|
4336
|
+
* naming the kind. An empty kind needs no scope.
|
|
4337
|
+
*
|
|
4338
|
+
* Building a release does not deploy it. A release is not tied to an
|
|
4339
|
+
* origin, and the same release can later be deployed to any number of
|
|
4340
|
+
* origins unchanged.
|
|
4341
|
+
* @summary Build a release from files
|
|
4342
|
+
*/
|
|
4343
|
+
const buildReleaseQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4344
|
+
const BuildReleaseQueryParams = zod.strictObject({ "project_id": zod.string().regex(buildReleaseQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
4345
|
+
const buildReleaseBodyBundleSchemasItemOneObjectTypeMax = 256;
|
|
4346
|
+
const buildReleaseBodyBundleSchemasItemOneMetaSchemaMax = 1024;
|
|
4347
|
+
const buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemMax = 64;
|
|
4348
|
+
const buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9][a-z0-9_-]*$");
|
|
4349
|
+
const buildReleaseBodyBundleSchemasItemOnePropertiesXAuditDefault = false;
|
|
4350
|
+
const buildReleaseBodyBundleSchemasMax = 50;
|
|
4351
|
+
const buildReleaseBodyBundleFlowDefinitionsItemNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9-]*$");
|
|
4352
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9_-]*$");
|
|
4353
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemFieldsDefault = [];
|
|
4354
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemPrimaryDefault = false;
|
|
4355
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsDefault = [];
|
|
4356
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesDefault = {};
|
|
4357
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemMax = 64;
|
|
4358
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9][a-z0-9_-]*$");
|
|
4359
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersDefault = [];
|
|
4360
|
+
const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersMax = 20;
|
|
4361
|
+
const buildReleaseBodyBundleFlowDefinitionsMax = 50;
|
|
4362
|
+
const buildReleaseBodyBundleIdpsItemSlugMax = 64;
|
|
4363
|
+
const buildReleaseBodyBundleIdpsItemSlugRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9][a-z0-9_-]*$");
|
|
4364
|
+
const buildReleaseBodyBundleIdpsItemDisplayNameMax = 256;
|
|
4365
|
+
const buildReleaseBodyBundleIdpsItemClaimMappingRegExpOne = /* @__PURE__ */ new RegExp("^[^$]");
|
|
4366
|
+
const buildReleaseBodyBundleIdpsItemProvisioningCreationDefault = `auto`;
|
|
4367
|
+
const buildReleaseBodyBundleIdpsItemOidcIssuerRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)(/[^\\s?#]*)?$");
|
|
4368
|
+
const buildReleaseBodyBundleIdpsItemOidcJwksUriRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4369
|
+
const buildReleaseBodyBundleIdpsItemOidcIdTokenMappingDefault = false;
|
|
4370
|
+
const buildReleaseBodyBundleIdpsItemOidcAuthorizationEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4371
|
+
const buildReleaseBodyBundleIdpsItemOidcTokenEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4372
|
+
const buildReleaseBodyBundleIdpsItemOidcUserinfoEndpointRegExp = /* @__PURE__ */ new RegExp("^(https://[^\\s/?#]+|http://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?)([/?][^\\s#]*)?$");
|
|
4373
|
+
const buildReleaseBodyBundleIdpsItemOidcClientIdMax = 512;
|
|
4374
|
+
const buildReleaseBodyBundleIdpsItemOidcClientSecretRegExp = /* @__PURE__ */ new RegExp("^\\$\\{\\{ *[A-Za-z0-9_]+ *\\}\\}$");
|
|
4375
|
+
const buildReleaseBodyBundleIdpsItemOidcTokenEndpointAuthMethodDefault = `client_secret_basic`;
|
|
4376
|
+
const buildReleaseBodyBundleIdpsItemOidcScopesDefault = [
|
|
4377
|
+
`openid`,
|
|
4378
|
+
`profile`,
|
|
4379
|
+
`email`
|
|
4380
|
+
];
|
|
4381
|
+
const buildReleaseBodyBundleIdpsItemOidcPkceEnabledDefault = true;
|
|
4382
|
+
const buildReleaseBodyBundleIdpsMax = 50;
|
|
4383
|
+
const buildReleaseBodyBundleBrandingLayoutDefault = `centered`;
|
|
4384
|
+
const buildReleaseBodyBundleBrandingLiquidTemplateMax = 131072;
|
|
4385
|
+
const buildReleaseBodyBundleBrandingLogoUrlMax = 2048;
|
|
4386
|
+
const buildReleaseBodyBundleBrandingLogoUrlRegExp = /* @__PURE__ */ new RegExp("^([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]))?([/?#]|$))");
|
|
4387
|
+
const buildReleaseBodyBundleBrandingHeroUrlMax = 2048;
|
|
4388
|
+
const buildReleaseBodyBundleBrandingHeroUrlRegExp = /* @__PURE__ */ new RegExp("^([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]))?([/?#]|$))");
|
|
4389
|
+
const buildReleaseBodyBundleBrandingThemeLightLogoUrlMax = 2048;
|
|
4390
|
+
const buildReleaseBodyBundleBrandingThemeLightLogoUrlRegExp = /* @__PURE__ */ new RegExp("^([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]))?([/?#]|$))");
|
|
4391
|
+
const buildReleaseBodyBundleBrandingThemeLightPalettePrimaryMax = 128;
|
|
4392
|
+
const buildReleaseBodyBundleBrandingThemeLightPalettePrimaryRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4393
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryMax = 128;
|
|
4394
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4395
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundMax = 128;
|
|
4396
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4397
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceMax = 128;
|
|
4398
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4399
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteMutedMax = 128;
|
|
4400
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteMutedRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4401
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteBorderMax = 128;
|
|
4402
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteBorderRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4403
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteTextMax = 128;
|
|
4404
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteTextRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4405
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedMax = 128;
|
|
4406
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4407
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteLinkMax = 128;
|
|
4408
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteLinkRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4409
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteSuccessMax = 128;
|
|
4410
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteSuccessRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4411
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteWarningMax = 128;
|
|
4412
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteWarningRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4413
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteErrorMax = 128;
|
|
4414
|
+
const buildReleaseBodyBundleBrandingThemeLightPaletteErrorRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4415
|
+
const buildReleaseBodyBundleBrandingThemeDarkLogoUrlMax = 2048;
|
|
4416
|
+
const buildReleaseBodyBundleBrandingThemeDarkLogoUrlRegExp = /* @__PURE__ */ new RegExp("^([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]))?([/?#]|$))");
|
|
4417
|
+
const buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryMax = 128;
|
|
4418
|
+
const buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4419
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryMax = 128;
|
|
4420
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4421
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundMax = 128;
|
|
4422
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4423
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceMax = 128;
|
|
4424
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4425
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteMutedMax = 128;
|
|
4426
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteMutedRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4427
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteBorderMax = 128;
|
|
4428
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteBorderRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4429
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteTextMax = 128;
|
|
4430
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteTextRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4431
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedMax = 128;
|
|
4432
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4433
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteLinkMax = 128;
|
|
4434
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteLinkRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4435
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessMax = 128;
|
|
4436
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4437
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteWarningMax = 128;
|
|
4438
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteWarningRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4439
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteErrorMax = 128;
|
|
4440
|
+
const buildReleaseBodyBundleBrandingThemeDarkPaletteErrorRegExp = /* @__PURE__ */ new RegExp("^(?:#(?:[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%.,+/# -]*\\))*\\))$");
|
|
4441
|
+
const buildReleaseBodyBundleBrandingTypographyFontFamilyMax = 256;
|
|
4442
|
+
const buildReleaseBodyBundleBrandingTypographyFontFamilyRegExp = /* @__PURE__ */ new RegExp("^ *(?:\"[^\"\\\\;{}]*\"|'[^'\\\\;{}]*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)*)(?: *, *(?:\"[^\"\\\\;{}]*\"|'[^'\\\\;{}]*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)*))* *$");
|
|
4443
|
+
const buildReleaseBodyBundleBrandingTypographyFontUrlMax = 2048;
|
|
4444
|
+
const buildReleaseBodyBundleBrandingTypographyFontUrlRegExp = /* @__PURE__ */ new RegExp("^[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]))?(?:[/?#]|$)");
|
|
4445
|
+
const buildReleaseBodyBundleBrandingTypographyScaleMin = .75;
|
|
4446
|
+
const buildReleaseBodyBundleBrandingTypographyScaleMax = 1.25;
|
|
4447
|
+
const buildReleaseBodyBundleBrandingShapeRadiusTwoMin = 0;
|
|
4448
|
+
const buildReleaseBodyBundleBrandingShapeRadiusTwoMax = 32;
|
|
4449
|
+
const buildReleaseBodyBundleBrandingShapeLogoScaleMin = .5;
|
|
4450
|
+
const buildReleaseBodyBundleBrandingShapeLogoScaleMax = 2;
|
|
4451
|
+
const buildReleaseBodyMessageMax = 1024;
|
|
4452
|
+
const buildReleaseBodyGitShaMax = 64;
|
|
4453
|
+
const buildReleaseBodyGitDirtyDefault = false;
|
|
4454
|
+
const BuildReleaseBody = zod.object({
|
|
4455
|
+
"bundle": zod.object({
|
|
4456
|
+
"schemas": zod.array(zod.union([zod.object({
|
|
4457
|
+
"objectType": zod.string().max(256).describe("The type of user this schema describes. This is a customer chosen name.\nEvery revision of a schema shares its `objectType`, and flow\ndefinitions name the schema they operate on by it.\n"),
|
|
4458
|
+
"kind": zod.literal("user-schema").describe("Discriminator value for a user schema create request."),
|
|
4459
|
+
"metaSchema": zod.url().max(buildReleaseBodyBundleSchemasItemOneMetaSchemaMax).describe("The user Schema version used for this schema."),
|
|
4460
|
+
"x-auth-methods": zod.object({
|
|
4461
|
+
"password": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional(),
|
|
4462
|
+
"passkey": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional(),
|
|
4463
|
+
"magic_link": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional(),
|
|
4464
|
+
"sso": zod.object({
|
|
4465
|
+
"enabled": zod.boolean().describe("Whether the authentication method is enabled or not"),
|
|
4466
|
+
"providers": zod.array(zod.string().max(64).regex(buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemRegExp)).min(1).optional().describe("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.")
|
|
4467
|
+
}).optional(),
|
|
4468
|
+
"otp": zod.object({ "enabled": zod.boolean().describe("Whether the authentication method is enabled or not") }).optional()
|
|
4469
|
+
}).describe("A list of authentication methods supported by the user definition."),
|
|
4470
|
+
"x-identifier": zod.string().min(1).optional().describe("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"),
|
|
4471
|
+
"x-display": zod.array(zod.string().min(1)).min(1).optional().describe("Ordered leaf property paths whose values, joined with a space, render\nthe user's display name.\n"),
|
|
4472
|
+
"properties": zod.record(zod.string(), zod.object({
|
|
4473
|
+
"x-unique": zod.union([zod.enum([
|
|
4474
|
+
"unspecified",
|
|
4475
|
+
"project",
|
|
4476
|
+
"team"
|
|
4477
|
+
]), zod.null()]).optional().describe("The level of uniqueness for this property, if applicable"),
|
|
4478
|
+
"x-claim": zod.union([zod.string(), zod.null()]).optional().describe("The claim name for this property, if applicable"),
|
|
4479
|
+
"x-audit": zod.boolean().default(false).describe("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"),
|
|
4480
|
+
"properties": zod.record(zod.string(), zod.unknown()).optional().describe("A map of additional properties for the user definition, where the key is\nthe property name and the value is the property schema.\n")
|
|
4481
|
+
}).describe("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")).optional().describe("A map of additional properties for the user definition, where the\nkey is the property name and the value is the property schema\n")
|
|
4482
|
+
}).describe("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"), zod.object({
|
|
4483
|
+
"kind": zod.literal("schema-url").describe("Discriminator value for a user schema create request."),
|
|
4484
|
+
"url": zod.url().describe("URL to the schema definition.")
|
|
4485
|
+
}).describe("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")])).max(50).optional().describe("User schemas, one per `.zitadel/schemas/*.json`, in either form\n`POST /schemas` takes.\n\nAn inline `user-schema` must not declare `$id`: a schema's `$id` is\nits revision's identity, so a changed schema under the same `$id`\ncould never become a new revision. Such a schema gets a `rel.invalid`\nentry.\n\nA `schema-url` entry's handle is the `objectType` of the document the\nURL serves. Its revision is identified by the URL, so the release\nreuses the project's revision for a URL the project already holds and\nfetches the document only for a URL it does not.\n"),
|
|
4486
|
+
"flow_definitions": zod.array(zod.object({
|
|
4487
|
+
"name": zod.string().regex(buildReleaseBodyBundleFlowDefinitionsItemNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Every revision of a flow shares its\n`name`; publishing a definition under an existing `name` adds a\nrevision to that flow. Renaming is not supported — the `name` is part\nof the public contract another definition may reference. Acts as the\nhuman display label as well; no separate slug.\n"),
|
|
4488
|
+
"status": zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nA revision's status is fixed at creation. Publish a new revision to change it.\n"),
|
|
4489
|
+
"user_schema": zod.string().describe("The user schema this flow operates on, named by its `objectType`. The\nflow runs against the project's newest revision of that schema, so\npublishing a schema revision needs no change to the flow. A schema id\nas returned by `POST /schemas` is also accepted and is stored as that\nschema's `objectType`; reading the definition back returns the\n`objectType`. A value naming no schema of the project is refused with\n`flowdef.invalid`. Step `fields` reference properties defined in the\nresolved schema; the engine resolves field types, validation, and\nimplicit outcomes from schema annotations at runtime.\n"),
|
|
4490
|
+
"purposes": zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
|
|
4491
|
+
"audience": zod.object({
|
|
4492
|
+
"team_ids": zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
|
|
4493
|
+
"app_ids": zod.array(zod.string()).optional().describe("Restrict to specific applications. Empty means no app restriction.")
|
|
4494
|
+
}).optional().describe("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"),
|
|
4495
|
+
"steps": zod.array(zod.object({
|
|
4496
|
+
"name": zod.string().regex(buildReleaseBodyBundleFlowDefinitionsItemStepsItemNameRegExp).describe("Unique step identifier within this flow. Used as transition targets\nand returned in the API response as `step.name`.\n"),
|
|
4497
|
+
"fields": zod.array(zod.string()).default(buildReleaseBodyBundleFlowDefinitionsItemStepsItemFieldsDefault).describe("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"),
|
|
4498
|
+
"actions": zod.array(zod.object({
|
|
4499
|
+
"name": zod.string().min(1).describe("Action identifier. Sent back in the submit request as `action`."),
|
|
4500
|
+
"kind": zod.enum([
|
|
4501
|
+
"submit",
|
|
4502
|
+
"passkey",
|
|
4503
|
+
"passkey_register",
|
|
4504
|
+
"navigate"
|
|
4505
|
+
]).describe("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"),
|
|
4506
|
+
"primary": zod.boolean().default(false).describe("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"),
|
|
4507
|
+
"text_key": zod.string().optional().describe("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")
|
|
4508
|
+
}).describe("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")).default(buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsDefault).describe("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"),
|
|
4509
|
+
"gates": zod.record(zod.string(), zod.object({
|
|
4510
|
+
"kind": zod.enum(["captcha"]).describe("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"),
|
|
4511
|
+
"provider": zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
|
|
4512
|
+
"config": zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
|
|
4513
|
+
}).describe("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")).default(buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesDefault).describe("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"),
|
|
4514
|
+
"sso_providers": zod.array(zod.string().max(64).regex(buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemRegExp)).max(20).default(buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersDefault).describe("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. A\nstep offers at most 20 providers.\n"),
|
|
4515
|
+
"on_success": zod.enum(["create_user", "create_user_with_sso"]).optional().describe("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- create_user_with_sso: creates the user record from the identity an\n external provider returned and the values the step collected, and\n links it to that identity. A unique value another user holds binds\n that user and routes user_already_exists instead.\n"),
|
|
4516
|
+
"complete": zod.enum(["redirect", "show"]).optional().describe("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"),
|
|
4517
|
+
"transitions": zod.record(zod.string(), zod.object({
|
|
4518
|
+
"target": zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
|
|
4519
|
+
"action": zod.union([zod.enum(["switch", "pivot"]), zod.null()]).optional().describe("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"),
|
|
4520
|
+
"purpose": zod.union([zod.enum([
|
|
4521
|
+
"login",
|
|
4522
|
+
"register",
|
|
4523
|
+
"recovery",
|
|
4524
|
+
"profiling",
|
|
4525
|
+
"reauth",
|
|
4526
|
+
"link_account"
|
|
4527
|
+
]), zod.null()]).optional().describe("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")
|
|
4528
|
+
})).optional().describe("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_authenticated`, `sso_user_not_found`).\n")
|
|
4529
|
+
}).describe("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")).min(1).describe("Ordered list of steps in this flow. The order is for human readability —\nactual step sequencing is determined by transitions.\n")
|
|
4530
|
+
}).describe("A flow definition is the server-side configuration that describes a complete\nauthentication or identity flow. It is NOT sent to the frontend — the flow\nengine evaluates it and produces FlowResponse payloads (steps with capability\ndictionaries) for the client.\n\nFlow definitions are created by administrators and stored in the project/team\nconfiguration hierarchy. The engine selects the matching definition based on\nthe purpose + audience when a flow is created via POST /flow.\n")).max(50).optional().describe("Flow definitions, one per `.zitadel/flows/*.json`."),
|
|
4531
|
+
"idps": zod.array(zod.object({
|
|
4532
|
+
"slug": zod.string().max(64).regex(buildReleaseBodyBundleIdpsItemSlugRegExp).describe("Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project."),
|
|
4533
|
+
"protocol": zod.enum(["oidc"]).describe("The protocol used by the identity provider. OIDC is the only protocol."),
|
|
4534
|
+
"template": zod.string().optional().describe("Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks."),
|
|
4535
|
+
"display_name": zod.string().min(1).max(256).describe("Shown to the user on the sign-in button."),
|
|
4536
|
+
"subject_claim": zod.string().min(1).optional().describe("Claim carrying the provider's stable subject identifier. Optional; the engine uses `sub` per spec. Override it where `sub` is pairwise, e.g. Entra `oid`."),
|
|
4537
|
+
"claim_mapping": zod.record(zod.string(), zod.string().regex(buildReleaseBodyBundleIdpsItemClaimMappingRegExpOne)).optional().describe("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`) 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."),
|
|
4538
|
+
"verified_claims": zod.record(zod.string(), zod.union([zod.boolean(), zod.string()])).optional().describe("Maps a verifiable user-schema property to its verification source: a claim name (read the claim) or the literal `true` (trust this provider unconditionally). Values starting with `$` are reserved for future sources. Distinct from claim_mapping, which carries values, not verification state."),
|
|
4539
|
+
"provisioning": zod.object({ "creation": zod.enum(["disabled", "auto"]).default(buildReleaseBodyBundleIdpsItemProvisioningCreationDefault) }).optional().describe("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."),
|
|
4540
|
+
"oidc": zod.object({
|
|
4541
|
+
"issuer": zod.string().regex(buildReleaseBodyBundleIdpsItemOidcIssuerRegExp).describe("Discovery base. Endpoints are resolved from its .well-known document unless the connection names them all."),
|
|
4542
|
+
"jwks_uri": zod.string().regex(buildReleaseBodyBundleIdpsItemOidcJwksUriRegExp).optional().describe("JWKS endpoint, for a provider that exposes no .well-known document. Set together with the other endpoints."),
|
|
4543
|
+
"id_token_mapping": zod.boolean().default(false).describe("Read user claims from the id_token instead of the userinfo endpoint, for providers that populate only the former."),
|
|
4544
|
+
"authorization_endpoint": zod.string().regex(buildReleaseBodyBundleIdpsItemOidcAuthorizationEndpointRegExp).optional().describe("For a provider that exposes no .well-known document. Set together with the other endpoints."),
|
|
4545
|
+
"token_endpoint": zod.string().regex(buildReleaseBodyBundleIdpsItemOidcTokenEndpointRegExp).optional().describe("For a provider that exposes no .well-known document. Set together with the other endpoints."),
|
|
4546
|
+
"userinfo_endpoint": zod.string().regex(buildReleaseBodyBundleIdpsItemOidcUserinfoEndpointRegExp).optional().describe("For a provider that exposes no .well-known document. Set together with the other endpoints; not needed when id_token_mapping is set."),
|
|
4547
|
+
"client_id": zod.string().min(1).max(512).describe("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."),
|
|
4548
|
+
"client_secret": zod.string().regex(buildReleaseBodyBundleIdpsItemOidcClientSecretRegExp).describe("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."),
|
|
4549
|
+
"token_endpoint_auth_method": zod.enum(["client_secret_basic", "client_secret_post"]).default(buildReleaseBodyBundleIdpsItemOidcTokenEndpointAuthMethodDefault).describe("How the client authenticates at the token endpoint."),
|
|
4550
|
+
"scopes": zod.array(zod.string().min(1)).min(1).default(buildReleaseBodyBundleIdpsItemOidcScopesDefault).describe("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."),
|
|
4551
|
+
"pkce_enabled": zod.boolean().default(true).describe("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."),
|
|
4552
|
+
"static_authorize_parameters": zod.record(zod.string(), zod.string()).optional().describe("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.")
|
|
4553
|
+
}).optional().describe("OIDC connection details. Endpoints come from the issuer's discovery document. A provider that exposes no .well-known document names them all instead: authorization_endpoint, token_endpoint, jwks_uri, and userinfo_endpoint unless id_token_mapping is set. Setting any endpoint without the others is rejected with idp.endpoints_partial.")
|
|
4554
|
+
})).max(50).optional().describe("IDP connections, one per `.zitadel/idps/<slug>.json`, each the\nconnection document `POST /idps` takes as `idp`. Secrets appear only\nas `${{ NAME }}` references to variables, never as values, so a bundle\ncarries no credentials.\n"),
|
|
4555
|
+
"branding": zod.object({
|
|
4556
|
+
"layout": zod.enum(["centered", "split"]).default(buildReleaseBodyBundleBrandingLayoutDefault).describe("Layout preset the revision declares, `centered` or `split`. It is\nvalidated on publish and handed to the template as `branding.layout`.\nThe bundled default template does not read it, so changing it alone\nchanges nothing on screen, and it is not an appearance control.\nNot a design catalog: the ejectable designs (`centered`, `minimal`)\nship as templates and both carry `centered`; switch designs with\n`zitadel branding eject --design <name>` instead of editing this field.\n`split` is carried by revisions published from the earlier split\ndesigns.\n"),
|
|
4557
|
+
"liquid_template": zod.string().max(buildReleaseBodyBundleBrandingLiquidTemplateMax).optional().describe("The LiquidJS template for rendering this step. The orchestrator renders\nit into its Shadow DOM with the capability dictionaries as context.\n"),
|
|
4558
|
+
"logo_url": zod.url().max(buildReleaseBodyBundleBrandingLogoUrlMax).regex(buildReleaseBodyBundleBrandingLogoUrlRegExp).optional().describe("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"),
|
|
4559
|
+
"hero_url": zod.url().max(buildReleaseBodyBundleBrandingHeroUrlMax).regex(buildReleaseBodyBundleBrandingHeroUrlRegExp).optional().describe("Hero image URL, for templates that reference `branding.hero_url`. The\nbundled default template does not use it.\n"),
|
|
4560
|
+
"theme": zod.object({
|
|
4561
|
+
"mode": zod.enum([
|
|
4562
|
+
"light",
|
|
4563
|
+
"dark",
|
|
4564
|
+
"auto"
|
|
4565
|
+
]).optional().describe("Which published side may run. `auto` follows the operating system.\n"),
|
|
4566
|
+
"light": zod.object({
|
|
4567
|
+
"logo_url": zod.url().max(buildReleaseBodyBundleBrandingThemeLightLogoUrlMax).regex(buildReleaseBodyBundleBrandingThemeLightLogoUrlRegExp).optional().describe("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"),
|
|
4568
|
+
"palette": zod.object({
|
|
4569
|
+
"primary": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPalettePrimaryRegExp).optional().describe("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"),
|
|
4570
|
+
"on_primary": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryRegExp).optional().describe("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"),
|
|
4571
|
+
"background": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundRegExp).optional().describe("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"),
|
|
4572
|
+
"surface": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceRegExp).optional().describe("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"),
|
|
4573
|
+
"muted": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteMutedRegExp).optional().describe("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"),
|
|
4574
|
+
"border": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteBorderRegExp).optional().describe("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"),
|
|
4575
|
+
"text": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteTextRegExp).optional().describe("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"),
|
|
4576
|
+
"text_muted": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedRegExp).optional().describe("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"),
|
|
4577
|
+
"link": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteLinkRegExp).optional().describe("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"),
|
|
4578
|
+
"success": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteSuccessRegExp).optional().describe("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"),
|
|
4579
|
+
"warning": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteWarningRegExp).optional().describe("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"),
|
|
4580
|
+
"error": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeLightPaletteErrorRegExp).optional().describe("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")
|
|
4581
|
+
}).optional().describe("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")
|
|
4582
|
+
}).optional().describe("One complete theme side. Light and dark are independent surfaces — neither\ninherits from the other. When a revision publishes one side, the absent\nside is never used, whatever `mode` or the operating system asks for. When\nit publishes neither, either side can resolve and paints the maintained\ndefaults.\n"),
|
|
4583
|
+
"dark": zod.object({
|
|
4584
|
+
"logo_url": zod.url().max(buildReleaseBodyBundleBrandingThemeDarkLogoUrlMax).regex(buildReleaseBodyBundleBrandingThemeDarkLogoUrlRegExp).optional().describe("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"),
|
|
4585
|
+
"palette": zod.object({
|
|
4586
|
+
"primary": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryRegExp).optional().describe("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"),
|
|
4587
|
+
"on_primary": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryRegExp).optional().describe("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"),
|
|
4588
|
+
"background": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundRegExp).optional().describe("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"),
|
|
4589
|
+
"surface": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceRegExp).optional().describe("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"),
|
|
4590
|
+
"muted": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteMutedRegExp).optional().describe("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"),
|
|
4591
|
+
"border": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteBorderRegExp).optional().describe("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"),
|
|
4592
|
+
"text": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteTextRegExp).optional().describe("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"),
|
|
4593
|
+
"text_muted": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedRegExp).optional().describe("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"),
|
|
4594
|
+
"link": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteLinkRegExp).optional().describe("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"),
|
|
4595
|
+
"success": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessRegExp).optional().describe("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"),
|
|
4596
|
+
"warning": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteWarningRegExp).optional().describe("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"),
|
|
4597
|
+
"error": zod.string().min(1).max(128).regex(buildReleaseBodyBundleBrandingThemeDarkPaletteErrorRegExp).optional().describe("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")
|
|
4598
|
+
}).optional().describe("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")
|
|
4599
|
+
}).optional().describe("One complete theme side. Light and dark are independent surfaces — neither\ninherits from the other. When a revision publishes one side, the absent\nside is never used, whatever `mode` or the operating system asks for. When\nit publishes neither, either side can resolve and paints the maintained\ndefaults.\n")
|
|
4600
|
+
}).optional().describe("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`. When one side is\npublished it cannot select the other. Publishing neither side leaves\n`mode`, the `theme` property and the operating system to pick one, painted\nwith the maintained defaults.\n"),
|
|
4601
|
+
"typography": zod.object({
|
|
4602
|
+
"font_family": zod.string().min(1).max(256).regex(buildReleaseBodyBundleBrandingTypographyFontFamilyRegExp).optional().describe("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"),
|
|
4603
|
+
"font_url": zod.url().max(buildReleaseBodyBundleBrandingTypographyFontUrlMax).regex(buildReleaseBodyBundleBrandingTypographyFontUrlRegExp).optional().describe("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\nLoaded only when the login component runs as `variant=\"page\"`, the\nfull-page login. In the default `variant=\"widget\"` it is stored but not\nloaded: the component injects no stylesheet, and the embedding page\nloads the face.\n"),
|
|
4604
|
+
"scale": zod.number().min(buildReleaseBodyBundleBrandingTypographyScaleMin).max(buildReleaseBodyBundleBrandingTypographyScaleMax).optional().describe("Multiplier on the base text sizes, `1` when omitted.")
|
|
4605
|
+
}).optional().describe("The typeface the login surface renders in. One face covers both body and\nheadings; separate heading and mono faces are not modelled yet.\n"),
|
|
4606
|
+
"shape": zod.object({
|
|
4607
|
+
"radius": zod.union([zod.enum([
|
|
4608
|
+
"none",
|
|
4609
|
+
"sm",
|
|
4610
|
+
"md",
|
|
4611
|
+
"lg",
|
|
4612
|
+
"full"
|
|
4613
|
+
]).describe("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"), zod.int().min(0).max(32)]).optional().describe("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"),
|
|
4614
|
+
"density": zod.enum([
|
|
4615
|
+
"compact",
|
|
4616
|
+
"regular",
|
|
4617
|
+
"comfortable"
|
|
4618
|
+
]).optional().describe("Spacing and control height."),
|
|
4619
|
+
"logo_scale": zod.number().min(buildReleaseBodyBundleBrandingShapeLogoScaleMin).max(2).optional().describe("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")
|
|
4620
|
+
}).optional().describe("Corner rounding, spacing and logo size. Shared across theme sides.\n")
|
|
4621
|
+
}).optional().describe("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")
|
|
4622
|
+
}).describe("The resources of a project's `.zitadel/` directory as authored on disk,\ngrouped by kind.\n\nResources reference each other by handle: a flow definition's\n`user_schema` names a schema by its `objectType`, and a flow step's\n`sso_providers`, like a schema's `x-auth-methods.sso.providers`, name IDP\nconnections by `slug`. A reference resolves to\nthe resource with that handle in this bundle; failing that, to the\nproject's newest revision of it, which the release then pins as well. A\nhandle that neither holds refuses the release, naming the pointer and the\nhandle. A bundle that references only resources it carries builds the\nsame release on any project.\n\nA handle names one resource of its kind in a bundle. Two schemas with the\nsame `objectType`, two flow definitions with the same `name`, two IDP\nconnections with the same `slug`, or a schema without an `objectType`\nrefuse the release with `rel.invalid`, with an\nentry for each such resource.\n\nEach kind is optional, and the arrays may be empty: a project that never\nejected its branding omits `branding`. The bundle carries at least one\nresource, and the release it builds pins at most 50, the most a release\npins: the resources the bundle carries plus those resolved from the\nproject. The server refuses anything outside that with `rel.invalid`.\nUnknown keys are refused. More kinds join as they become release kinds.\n"),
|
|
4623
|
+
"message": zod.string().max(buildReleaseBodyMessageMax).optional().describe("A short summary of what the release changes, analogous to a git commit\nmessage. Recorded on the release and shown when listing releases.\n"),
|
|
4624
|
+
"git_sha": zod.string().max(64).optional().describe("The source commit the caller was operating from."),
|
|
4625
|
+
"git_dirty": zod.boolean().default(false).describe("Set when the working tree had uncommitted changes, so the release content\ndoes not correspond exactly to `git_sha`.\n")
|
|
4626
|
+
}).describe("The resources to build a release from, 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");
|
|
4627
|
+
const buildReleaseResponseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
4628
|
+
const buildReleaseResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4629
|
+
const buildReleaseResponseContentHashMin = 71;
|
|
4630
|
+
const buildReleaseResponseContentHashMax = 71;
|
|
4631
|
+
const buildReleaseResponseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4632
|
+
const buildReleaseResponseMetadataMessageOneMax = 1024;
|
|
4633
|
+
const buildReleaseResponseMetadataGitShaOneMax = 64;
|
|
4634
|
+
const buildReleaseResponseMetadataGitDirtyDefault = false;
|
|
4635
|
+
const buildReleaseResponsePointersItemHandleMax = 256;
|
|
4636
|
+
const buildReleaseResponsePointersItemRevisionIdMax = 512;
|
|
4637
|
+
const buildReleaseResponsePointersMax = 50;
|
|
4638
|
+
const BuildReleaseResponse = zod.object({
|
|
4639
|
+
"id": zod.string().regex(buildReleaseResponseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
4640
|
+
"project_id": zod.string().regex(buildReleaseResponseProjectIdRegExp),
|
|
4641
|
+
"content_hash": zod.string().min(71).max(71).regex(buildReleaseResponseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
4642
|
+
"metadata": zod.object({
|
|
4643
|
+
"message": zod.union([zod.string().max(buildReleaseResponseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
4644
|
+
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
4645
|
+
"git_dirty": zod.boolean().default(false).describe("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"),
|
|
4646
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the release was assembled."),
|
|
4647
|
+
"created_by": zod.union([zod.string(), zod.null()]).optional().describe("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"),
|
|
4648
|
+
"created_by_type": zod.union([zod.enum([
|
|
4649
|
+
"human",
|
|
4650
|
+
"service",
|
|
4651
|
+
"system",
|
|
4652
|
+
"agent"
|
|
4653
|
+
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
4654
|
+
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
4655
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
4656
|
+
"pointers": zod.array(zod.object({
|
|
4657
|
+
"kind": zod.enum([
|
|
4658
|
+
"schema",
|
|
4659
|
+
"flow_definition",
|
|
4660
|
+
"branding",
|
|
4661
|
+
"idp"
|
|
4662
|
+
]).describe("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"),
|
|
4663
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
4664
|
+
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
4665
|
+
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
4666
|
+
}).describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n");
|
|
4667
|
+
/**
|
|
4668
|
+
* Reads one release: its digest, its metadata, whether it was revoked, and
|
|
4669
|
+
* the `(kind, handle, revision_id)` tuples it pins.
|
|
4670
|
+
*
|
|
4671
|
+
* The path takes the `rel_` id only. To find a release from its digest,
|
|
4672
|
+
* list with the `content_hash` filter and read the matched entry's `id`.
|
|
4195
4673
|
*
|
|
4196
4674
|
* Does not embed resource content. Resolve each `revision_id` through the
|
|
4197
4675
|
* per-kind read endpoints when the bytes are needed.
|
|
@@ -4208,6 +4686,9 @@ const getReleaseByIdQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0
|
|
|
4208
4686
|
const GetReleaseByIdQueryParams = zod.strictObject({ "project_id": zod.string().regex(getReleaseByIdQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
4209
4687
|
const getReleaseByIdResponseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
4210
4688
|
const getReleaseByIdResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4689
|
+
const getReleaseByIdResponseContentHashMin = 71;
|
|
4690
|
+
const getReleaseByIdResponseContentHashMax = 71;
|
|
4691
|
+
const getReleaseByIdResponseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4211
4692
|
const getReleaseByIdResponseMetadataMessageOneMax = 1024;
|
|
4212
4693
|
const getReleaseByIdResponseMetadataGitShaOneMax = 64;
|
|
4213
4694
|
const getReleaseByIdResponseMetadataGitDirtyDefault = false;
|
|
@@ -4217,6 +4698,7 @@ const getReleaseByIdResponsePointersMax = 50;
|
|
|
4217
4698
|
const GetReleaseByIdResponse = zod.object({
|
|
4218
4699
|
"id": zod.string().regex(getReleaseByIdResponseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
4219
4700
|
"project_id": zod.string().regex(getReleaseByIdResponseProjectIdRegExp),
|
|
4701
|
+
"content_hash": zod.string().min(71).max(71).regex(getReleaseByIdResponseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
4220
4702
|
"metadata": zod.object({
|
|
4221
4703
|
"message": zod.union([zod.string().max(getReleaseByIdResponseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
4222
4704
|
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
@@ -4230,16 +4712,84 @@ const GetReleaseByIdResponse = zod.object({
|
|
|
4230
4712
|
"agent"
|
|
4231
4713
|
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
4232
4714
|
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
4715
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
4716
|
+
"pointers": zod.array(zod.object({
|
|
4717
|
+
"kind": zod.enum([
|
|
4718
|
+
"schema",
|
|
4719
|
+
"flow_definition",
|
|
4720
|
+
"branding",
|
|
4721
|
+
"idp"
|
|
4722
|
+
]).describe("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"),
|
|
4723
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
4724
|
+
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
4725
|
+
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
4726
|
+
}).describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n");
|
|
4727
|
+
/**
|
|
4728
|
+
* Marks the release revoked, so that its content is never served again.
|
|
4729
|
+
* From then on the release cannot be deployed and is refused on every path
|
|
4730
|
+
* that would serve it, including to a build that pins its digest, with
|
|
4731
|
+
* `rel.revoked`.
|
|
4732
|
+
*
|
|
4733
|
+
* A release that any origin still serves cannot be revoked. An origin
|
|
4734
|
+
* serves the release of the newest deployment to it, so the call answers
|
|
4735
|
+
* `409` with `rel.in_use`, naming each such origin and that deployment.
|
|
4736
|
+
* Deploy another release there or roll back first, then revoke. Revoking
|
|
4737
|
+
* therefore never takes an origin down. Deployments that named the release
|
|
4738
|
+
* earlier stay in the history.
|
|
4739
|
+
*
|
|
4740
|
+
* Idempotent: revoking a release that is already revoked answers `200`
|
|
4741
|
+
* with the release unchanged, `revoked_at` still naming the first
|
|
4742
|
+
* revocation. There is no un-revoke; build a new release instead.
|
|
4743
|
+
*
|
|
4744
|
+
* Takes no body. The lookup is scoped to the project in `project_id`, so a
|
|
4745
|
+
* release id of another project answers not found exactly as an unknown id
|
|
4746
|
+
* does.
|
|
4747
|
+
* @summary Revoke a release
|
|
4748
|
+
*/
|
|
4749
|
+
const revokeReleasePathReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
4750
|
+
const RevokeReleaseParams = zod.object({ "release_id": zod.string().regex(revokeReleasePathReleaseIdRegExp).describe("The unique identifier of the release.") });
|
|
4751
|
+
const revokeReleaseQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4752
|
+
const RevokeReleaseQueryParams = zod.strictObject({ "project_id": zod.string().regex(revokeReleaseQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
4753
|
+
const revokeReleaseResponseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
4754
|
+
const revokeReleaseResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4755
|
+
const revokeReleaseResponseContentHashMin = 71;
|
|
4756
|
+
const revokeReleaseResponseContentHashMax = 71;
|
|
4757
|
+
const revokeReleaseResponseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4758
|
+
const revokeReleaseResponseMetadataMessageOneMax = 1024;
|
|
4759
|
+
const revokeReleaseResponseMetadataGitShaOneMax = 64;
|
|
4760
|
+
const revokeReleaseResponseMetadataGitDirtyDefault = false;
|
|
4761
|
+
const revokeReleaseResponsePointersItemHandleMax = 256;
|
|
4762
|
+
const revokeReleaseResponsePointersItemRevisionIdMax = 512;
|
|
4763
|
+
const revokeReleaseResponsePointersMax = 50;
|
|
4764
|
+
const RevokeReleaseResponse = zod.object({
|
|
4765
|
+
"id": zod.string().regex(revokeReleaseResponseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
4766
|
+
"project_id": zod.string().regex(revokeReleaseResponseProjectIdRegExp),
|
|
4767
|
+
"content_hash": zod.string().min(71).max(71).regex(revokeReleaseResponseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
4768
|
+
"metadata": zod.object({
|
|
4769
|
+
"message": zod.union([zod.string().max(revokeReleaseResponseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
4770
|
+
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
4771
|
+
"git_dirty": zod.boolean().default(false).describe("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"),
|
|
4772
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the release was assembled."),
|
|
4773
|
+
"created_by": zod.union([zod.string(), zod.null()]).optional().describe("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"),
|
|
4774
|
+
"created_by_type": zod.union([zod.enum([
|
|
4775
|
+
"human",
|
|
4776
|
+
"service",
|
|
4777
|
+
"system",
|
|
4778
|
+
"agent"
|
|
4779
|
+
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
4780
|
+
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
4781
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
4233
4782
|
"pointers": zod.array(zod.object({
|
|
4234
4783
|
"kind": zod.enum([
|
|
4235
4784
|
"schema",
|
|
4236
4785
|
"flow_definition",
|
|
4237
|
-
"branding"
|
|
4786
|
+
"branding",
|
|
4787
|
+
"idp"
|
|
4238
4788
|
]).describe("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"),
|
|
4239
|
-
"handle": zod.string().min(1).max(256).describe("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"),
|
|
4789
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
4240
4790
|
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
4241
4791
|
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
4242
|
-
}).describe("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
|
|
4792
|
+
}).describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n");
|
|
4243
4793
|
/**
|
|
4244
4794
|
* Bind a user or team to `project.viewer`, `project.editor`, or
|
|
4245
4795
|
* `project.admin` on the project identified by the `project-id` header.
|
|
@@ -4601,11 +5151,14 @@ const listEventsResponseDataItemTwofourOneProjectIdRegExp = /* @__PURE__ */ new
|
|
|
4601
5151
|
const listEventsResponseDataItemTwofiveOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4602
5152
|
const listEventsResponseDataItemTwosixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4603
5153
|
const listEventsResponseDataItemTwosevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4604
|
-
const listEventsResponseDataItemTwosevenTwoPayloadStatusMin = 100;
|
|
4605
|
-
const listEventsResponseDataItemTwosevenTwoPayloadStatusMax = 599;
|
|
4606
|
-
const listEventsResponseDataItemTwosevenTwoPayloadDurationMsMin = 0;
|
|
4607
5154
|
const listEventsResponseDataItemTwoeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
5155
|
+
const listEventsResponseDataItemTwoeightTwoPayloadContentHashMin = 71;
|
|
5156
|
+
const listEventsResponseDataItemTwoeightTwoPayloadContentHashMax = 71;
|
|
5157
|
+
const listEventsResponseDataItemTwoeightTwoPayloadContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
4608
5158
|
const listEventsResponseDataItemTwonineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
5159
|
+
const listEventsResponseDataItemTwonineTwoPayloadStatusMin = 100;
|
|
5160
|
+
const listEventsResponseDataItemTwonineTwoPayloadStatusMax = 599;
|
|
5161
|
+
const listEventsResponseDataItemTwonineTwoPayloadDurationMsMin = 0;
|
|
4609
5162
|
const listEventsResponseDataItemThreezeroOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4610
5163
|
const listEventsResponseDataItemThreeoneOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4611
5164
|
const listEventsResponseDataItemThreetwoOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -4614,6 +5167,10 @@ const listEventsResponseDataItemThreefourOneProjectIdRegExp = /* @__PURE__ */ ne
|
|
|
4614
5167
|
const listEventsResponseDataItemThreefiveOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4615
5168
|
const listEventsResponseDataItemThreesixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4616
5169
|
const listEventsResponseDataItemThreesevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
5170
|
+
const listEventsResponseDataItemThreeeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
5171
|
+
const listEventsResponseDataItemThreenineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
5172
|
+
const listEventsResponseDataItemFourzeroOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
5173
|
+
const listEventsResponseDataItemFouroneOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
4617
5174
|
const ListEventsResponse = zod.object({
|
|
4618
5175
|
"data": zod.array(zod.union([
|
|
4619
5176
|
zod.object({
|
|
@@ -5359,12 +5916,12 @@ const ListEventsResponse = zod.object({
|
|
|
5359
5916
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5360
5917
|
"event_type": zod.literal("deployment.created"),
|
|
5361
5918
|
"payload": zod.object({
|
|
5362
|
-
"environment_id": zod.string().optional(),
|
|
5363
5919
|
"release_id": zod.string().optional(),
|
|
5920
|
+
"targets": zod.array(zod.string()).optional().describe("The origins the release went live on, sorted."),
|
|
5364
5921
|
"reason": zod.string().optional(),
|
|
5365
5922
|
"message": zod.string().optional(),
|
|
5366
|
-
"
|
|
5367
|
-
}).describe("Allowlisted fields for `deployment.created`. The deployment id is already\nthe event's `entity_id`; the
|
|
5923
|
+
"rollback_to": zod.string().optional()
|
|
5924
|
+
}).describe("Allowlisted fields for `deployment.created`. The deployment id is already\nthe event's `entity_id`; the fields here say what went live where.\n")
|
|
5368
5925
|
})).describe("Wide event with event_type=deployment.created.\n"),
|
|
5369
5926
|
zod.object({
|
|
5370
5927
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
@@ -5410,9 +5967,18 @@ const ListEventsResponse = zod.object({
|
|
|
5410
5967
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5411
5968
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5412
5969
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5413
|
-
"event_type": zod.literal("
|
|
5414
|
-
"payload": zod.object({
|
|
5415
|
-
|
|
5970
|
+
"event_type": zod.literal("flowdef.created"),
|
|
5971
|
+
"payload": zod.object({
|
|
5972
|
+
"name": zod.string().optional(),
|
|
5973
|
+
"status": zod.string().optional(),
|
|
5974
|
+
"user_schema": zod.string().optional(),
|
|
5975
|
+
"purposes": zod.record(zod.string(), zod.string()).optional(),
|
|
5976
|
+
"audience": zod.object({
|
|
5977
|
+
"app_ids": zod.array(zod.string()).optional(),
|
|
5978
|
+
"team_ids": zod.array(zod.string()).optional()
|
|
5979
|
+
}).optional()
|
|
5980
|
+
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
5981
|
+
})).describe("Wide event with event_type=flowdef.created.\n"),
|
|
5416
5982
|
zod.object({
|
|
5417
5983
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5418
5984
|
"project_id": zod.string().regex(listEventsResponseDataItemOnesevenOneProjectIdRegExp),
|
|
@@ -5457,18 +6023,9 @@ const ListEventsResponse = zod.object({
|
|
|
5457
6023
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5458
6024
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5459
6025
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5460
|
-
"event_type": zod.literal("flowdef.
|
|
5461
|
-
"payload": zod.object({
|
|
5462
|
-
|
|
5463
|
-
"status": zod.string().optional(),
|
|
5464
|
-
"user_schema": zod.string().optional(),
|
|
5465
|
-
"purposes": zod.record(zod.string(), zod.string()).optional(),
|
|
5466
|
-
"audience": zod.object({
|
|
5467
|
-
"app_ids": zod.array(zod.string()).optional(),
|
|
5468
|
-
"team_ids": zod.array(zod.string()).optional()
|
|
5469
|
-
}).optional()
|
|
5470
|
-
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
5471
|
-
})).describe("Wide event with event_type=flowdef.created.\n"),
|
|
6026
|
+
"event_type": zod.literal("flowdef.deleted"),
|
|
6027
|
+
"payload": zod.object({}).describe("Empty payload for event types with no typed fields\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\n")
|
|
6028
|
+
})).describe("Wide event with event_type=flowdef.deleted.\n"),
|
|
5472
6029
|
zod.object({
|
|
5473
6030
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5474
6031
|
"project_id": zod.string().regex(listEventsResponseDataItemOneeightOneProjectIdRegExp),
|
|
@@ -5513,9 +6070,18 @@ const ListEventsResponse = zod.object({
|
|
|
5513
6070
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5514
6071
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5515
6072
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5516
|
-
"event_type": zod.literal("flowdef.
|
|
5517
|
-
"payload": zod.object({
|
|
5518
|
-
|
|
6073
|
+
"event_type": zod.literal("flowdef.updated"),
|
|
6074
|
+
"payload": zod.object({
|
|
6075
|
+
"name": zod.string().optional(),
|
|
6076
|
+
"status": zod.string().optional(),
|
|
6077
|
+
"user_schema": zod.string().optional(),
|
|
6078
|
+
"purposes": zod.record(zod.string(), zod.string()).optional(),
|
|
6079
|
+
"audience": zod.object({
|
|
6080
|
+
"app_ids": zod.array(zod.string()).optional(),
|
|
6081
|
+
"team_ids": zod.array(zod.string()).optional()
|
|
6082
|
+
}).optional()
|
|
6083
|
+
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
6084
|
+
})).describe("Wide event with event_type=flowdef.updated.\n"),
|
|
5519
6085
|
zod.object({
|
|
5520
6086
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5521
6087
|
"project_id": zod.string().regex(listEventsResponseDataItemOnenineOneProjectIdRegExp),
|
|
@@ -5560,18 +6126,15 @@ const ListEventsResponse = zod.object({
|
|
|
5560
6126
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5561
6127
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5562
6128
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5563
|
-
"event_type": zod.literal("
|
|
6129
|
+
"event_type": zod.literal("idp.created"),
|
|
5564
6130
|
"payload": zod.object({
|
|
5565
|
-
"
|
|
5566
|
-
"
|
|
5567
|
-
"
|
|
5568
|
-
"
|
|
5569
|
-
"
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
}).optional()
|
|
5573
|
-
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
5574
|
-
})).describe("Wide event with event_type=flowdef.updated.\n"),
|
|
6131
|
+
"slug": zod.string().optional(),
|
|
6132
|
+
"protocol": zod.string().optional(),
|
|
6133
|
+
"template": zod.string().optional().describe("The rendering template hint. On `idp.updated`, the empty string means\nthe revision removed it.\n"),
|
|
6134
|
+
"display_name": zod.string().optional(),
|
|
6135
|
+
"revision_id": zod.string().describe("The revision the write appended.")
|
|
6136
|
+
}).describe("Shared allowlisted fields for `idp.created` (snapshot) and `idp.updated`\n(delta: only changed fields present, plus the new `revision_id`). The\nconnection id is the event's `entity_id`. The connection document, and with\nit the `client_secret` reference, is never included.\n")
|
|
6137
|
+
})).describe("Wide event with event_type=idp.created.\n"),
|
|
5575
6138
|
zod.object({
|
|
5576
6139
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5577
6140
|
"project_id": zod.string().regex(listEventsResponseDataItemTwozeroOneProjectIdRegExp),
|
|
@@ -5616,7 +6179,57 @@ const ListEventsResponse = zod.object({
|
|
|
5616
6179
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5617
6180
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5618
6181
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5619
|
-
"event_type": zod.literal("idp.created"),
|
|
6182
|
+
"event_type": zod.literal("idp.identity_link.created"),
|
|
6183
|
+
"payload": zod.object({
|
|
6184
|
+
"connection_id": zod.string().describe("The IdP connection the account signed in through."),
|
|
6185
|
+
"user_id": zod.string().describe("The user the provider account is linked to.")
|
|
6186
|
+
}).describe("Snapshot for `idp.identity_link.created`, written when a sign-in creates a\nuser and links the provider account to it. The link id is the event's\n`entity_id`. The provider's subject and claims are never included.\n")
|
|
6187
|
+
})).describe("Wide event with event_type=idp.identity_link.created.\n"),
|
|
6188
|
+
zod.object({
|
|
6189
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6190
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwooneOneProjectIdRegExp),
|
|
6191
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6192
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6193
|
+
"category": zod.enum([
|
|
6194
|
+
"request",
|
|
6195
|
+
"auth",
|
|
6196
|
+
"session",
|
|
6197
|
+
"admin",
|
|
6198
|
+
"entity",
|
|
6199
|
+
"signal"
|
|
6200
|
+
]).describe("Wide-event category."),
|
|
6201
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
6202
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
6203
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
6204
|
+
"actor_type": zod.union([zod.enum([
|
|
6205
|
+
"human",
|
|
6206
|
+
"service",
|
|
6207
|
+
"system",
|
|
6208
|
+
"agent"
|
|
6209
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
6210
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
6211
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
6212
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
6213
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
6214
|
+
"delegation_type": zod.enum([
|
|
6215
|
+
"direct",
|
|
6216
|
+
"delegated",
|
|
6217
|
+
"pat_shared",
|
|
6218
|
+
"exchanged"
|
|
6219
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
6220
|
+
"delegation_id": zod.string().optional(),
|
|
6221
|
+
"grantor": zod.string().optional(),
|
|
6222
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
6223
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
6224
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
6225
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
6226
|
+
"metadata": zod.object({ "client": zod.object({
|
|
6227
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
6228
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
6229
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
6230
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
6231
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
6232
|
+
"event_type": zod.literal("idp.updated"),
|
|
5620
6233
|
"payload": zod.object({
|
|
5621
6234
|
"slug": zod.string().optional(),
|
|
5622
6235
|
"protocol": zod.string().optional(),
|
|
@@ -5624,10 +6237,10 @@ const ListEventsResponse = zod.object({
|
|
|
5624
6237
|
"display_name": zod.string().optional(),
|
|
5625
6238
|
"revision_id": zod.string().describe("The revision the write appended.")
|
|
5626
6239
|
}).describe("Shared allowlisted fields for `idp.created` (snapshot) and `idp.updated`\n(delta: only changed fields present, plus the new `revision_id`). The\nconnection id is the event's `entity_id`. The connection document, and with\nit the `client_secret` reference, is never included.\n")
|
|
5627
|
-
})).describe("Wide event with event_type=idp.
|
|
6240
|
+
})).describe("Wide event with event_type=idp.updated.\n"),
|
|
5628
6241
|
zod.object({
|
|
5629
6242
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5630
|
-
"project_id": zod.string().regex(
|
|
6243
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwotwoOneProjectIdRegExp),
|
|
5631
6244
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5632
6245
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5633
6246
|
"category": zod.enum([
|
|
@@ -5669,15 +6282,15 @@ const ListEventsResponse = zod.object({
|
|
|
5669
6282
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5670
6283
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5671
6284
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5672
|
-
"event_type": zod.literal("
|
|
6285
|
+
"event_type": zod.literal("origin.added"),
|
|
5673
6286
|
"payload": zod.object({
|
|
5674
|
-
"
|
|
5675
|
-
"
|
|
5676
|
-
}).describe("
|
|
5677
|
-
})).describe("Wide event with event_type=
|
|
6287
|
+
"pattern": zod.string(),
|
|
6288
|
+
"kind": zod.enum(["primary", "preview"])
|
|
6289
|
+
}).describe("Allowlisted fields for `origin.added` and `origin.removed`.\n")
|
|
6290
|
+
})).describe("Wide event with event_type=origin.added.\n"),
|
|
5678
6291
|
zod.object({
|
|
5679
6292
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5680
|
-
"project_id": zod.string().regex(
|
|
6293
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwothreeOneProjectIdRegExp),
|
|
5681
6294
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5682
6295
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5683
6296
|
"category": zod.enum([
|
|
@@ -5719,18 +6332,15 @@ const ListEventsResponse = zod.object({
|
|
|
5719
6332
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
5720
6333
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
5721
6334
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
5722
|
-
"event_type": zod.literal("
|
|
6335
|
+
"event_type": zod.literal("origin.removed"),
|
|
5723
6336
|
"payload": zod.object({
|
|
5724
|
-
"
|
|
5725
|
-
"
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
"revision_id": zod.string().describe("The revision the write appended.")
|
|
5729
|
-
}).describe("Shared allowlisted fields for `idp.created` (snapshot) and `idp.updated`\n(delta: only changed fields present, plus the new `revision_id`). The\nconnection id is the event's `entity_id`. The connection document, and with\nit the `client_secret` reference, is never included.\n")
|
|
5730
|
-
})).describe("Wide event with event_type=idp.updated.\n"),
|
|
6337
|
+
"pattern": zod.string(),
|
|
6338
|
+
"kind": zod.enum(["primary", "preview"])
|
|
6339
|
+
}).describe("Allowlisted fields for `origin.added` and `origin.removed`.\n")
|
|
6340
|
+
})).describe("Wide event with event_type=origin.removed.\n"),
|
|
5731
6341
|
zod.object({
|
|
5732
6342
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5733
|
-
"project_id": zod.string().regex(
|
|
6343
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwofourOneProjectIdRegExp),
|
|
5734
6344
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5735
6345
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5736
6346
|
"category": zod.enum([
|
|
@@ -5775,13 +6385,16 @@ const ListEventsResponse = zod.object({
|
|
|
5775
6385
|
"event_type": zod.literal("project.created"),
|
|
5776
6386
|
"payload": zod.object({
|
|
5777
6387
|
"name": zod.string().optional(),
|
|
5778
|
-
"
|
|
6388
|
+
"origins": zod.array(zod.object({
|
|
6389
|
+
"pattern": zod.string(),
|
|
6390
|
+
"kind": zod.enum(["primary", "preview"])
|
|
6391
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).optional(),
|
|
5779
6392
|
"password_hash_algorithm": zod.string().optional().describe("The password hashing algorithm the project switched to. The empty string\nmeans it was handed back to the server default. Absent when the update\ndid not touch hashing.\n")
|
|
5780
6393
|
}).describe("Shared allowlisted fields for `project.created` (full snapshot) and\n`project.updated` (delta: only changed fields present).\n")
|
|
5781
6394
|
})).describe("Wide event with event_type=project.created.\n"),
|
|
5782
6395
|
zod.object({
|
|
5783
6396
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5784
|
-
"project_id": zod.string().regex(
|
|
6397
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwofiveOneProjectIdRegExp),
|
|
5785
6398
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5786
6399
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5787
6400
|
"category": zod.enum([
|
|
@@ -5828,7 +6441,7 @@ const ListEventsResponse = zod.object({
|
|
|
5828
6441
|
})).describe("Wide event with event_type=project.deleted.\n"),
|
|
5829
6442
|
zod.object({
|
|
5830
6443
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5831
|
-
"project_id": zod.string().regex(
|
|
6444
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwosixOneProjectIdRegExp),
|
|
5832
6445
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5833
6446
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5834
6447
|
"category": zod.enum([
|
|
@@ -5873,13 +6486,16 @@ const ListEventsResponse = zod.object({
|
|
|
5873
6486
|
"event_type": zod.literal("project.updated"),
|
|
5874
6487
|
"payload": zod.object({
|
|
5875
6488
|
"name": zod.string().optional(),
|
|
5876
|
-
"
|
|
6489
|
+
"origins": zod.array(zod.object({
|
|
6490
|
+
"pattern": zod.string(),
|
|
6491
|
+
"kind": zod.enum(["primary", "preview"])
|
|
6492
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).optional(),
|
|
5877
6493
|
"password_hash_algorithm": zod.string().optional().describe("The password hashing algorithm the project switched to. The empty string\nmeans it was handed back to the server default. Absent when the update\ndid not touch hashing.\n")
|
|
5878
6494
|
}).describe("Shared allowlisted fields for `project.created` (full snapshot) and\n`project.updated` (delta: only changed fields present).\n")
|
|
5879
6495
|
})).describe("Wide event with event_type=project.updated.\n"),
|
|
5880
6496
|
zod.object({
|
|
5881
6497
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5882
|
-
"project_id": zod.string().regex(
|
|
6498
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwosevenOneProjectIdRegExp),
|
|
5883
6499
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5884
6500
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5885
6501
|
"category": zod.enum([
|
|
@@ -5936,7 +6552,54 @@ const ListEventsResponse = zod.object({
|
|
|
5936
6552
|
})).describe("Wide event with event_type=release.created.\n"),
|
|
5937
6553
|
zod.object({
|
|
5938
6554
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
5939
|
-
"project_id": zod.string().regex(
|
|
6555
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwoeightOneProjectIdRegExp),
|
|
6556
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6557
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6558
|
+
"category": zod.enum([
|
|
6559
|
+
"request",
|
|
6560
|
+
"auth",
|
|
6561
|
+
"session",
|
|
6562
|
+
"admin",
|
|
6563
|
+
"entity",
|
|
6564
|
+
"signal"
|
|
6565
|
+
]).describe("Wide-event category."),
|
|
6566
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
6567
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
6568
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
6569
|
+
"actor_type": zod.union([zod.enum([
|
|
6570
|
+
"human",
|
|
6571
|
+
"service",
|
|
6572
|
+
"system",
|
|
6573
|
+
"agent"
|
|
6574
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
6575
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
6576
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
6577
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
6578
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
6579
|
+
"delegation_type": zod.enum([
|
|
6580
|
+
"direct",
|
|
6581
|
+
"delegated",
|
|
6582
|
+
"pat_shared",
|
|
6583
|
+
"exchanged"
|
|
6584
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
6585
|
+
"delegation_id": zod.string().optional(),
|
|
6586
|
+
"grantor": zod.string().optional(),
|
|
6587
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
6588
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
6589
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
6590
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
6591
|
+
"metadata": zod.object({ "client": zod.object({
|
|
6592
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
6593
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
6594
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
6595
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
6596
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
6597
|
+
"event_type": zod.literal("release.revoked"),
|
|
6598
|
+
"payload": zod.object({ "content_hash": zod.string().min(71).max(71).regex(listEventsResponseDataItemTwoeightTwoPayloadContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n") }).describe("Allowlisted fields for `release.revoked`. The release id is already the\nevent's `entity_id`; the digest is repeated so the audit stream names the\nrelease the way the CLI prints it and builds pin it.\n")
|
|
6599
|
+
})).describe("Wide event with event_type=release.revoked.\n"),
|
|
6600
|
+
zod.object({
|
|
6601
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6602
|
+
"project_id": zod.string().regex(listEventsResponseDataItemTwonineOneProjectIdRegExp),
|
|
5940
6603
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
5941
6604
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
5942
6605
|
"category": zod.enum([
|
|
@@ -5997,7 +6660,7 @@ const ListEventsResponse = zod.object({
|
|
|
5997
6660
|
})).describe("Wide event with event_type=request.api.\n"),
|
|
5998
6661
|
zod.object({
|
|
5999
6662
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6000
|
-
"project_id": zod.string().regex(
|
|
6663
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreezeroOneProjectIdRegExp),
|
|
6001
6664
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6002
6665
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6003
6666
|
"category": zod.enum([
|
|
@@ -6047,7 +6710,7 @@ const ListEventsResponse = zod.object({
|
|
|
6047
6710
|
})).describe("Wide event with event_type=schema.created.\n"),
|
|
6048
6711
|
zod.object({
|
|
6049
6712
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6050
|
-
"project_id": zod.string().regex(
|
|
6713
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreeoneOneProjectIdRegExp),
|
|
6051
6714
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6052
6715
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6053
6716
|
"category": zod.enum([
|
|
@@ -6094,7 +6757,7 @@ const ListEventsResponse = zod.object({
|
|
|
6094
6757
|
})).describe("Wide event with event_type=session.deleted.\n"),
|
|
6095
6758
|
zod.object({
|
|
6096
6759
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6097
|
-
"project_id": zod.string().regex(
|
|
6760
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreetwoOneProjectIdRegExp),
|
|
6098
6761
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6099
6762
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6100
6763
|
"category": zod.enum([
|
|
@@ -6141,7 +6804,7 @@ const ListEventsResponse = zod.object({
|
|
|
6141
6804
|
})).describe("Wide event with event_type=session.established.\n"),
|
|
6142
6805
|
zod.object({
|
|
6143
6806
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6144
|
-
"project_id": zod.string().regex(
|
|
6807
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreethreeOneProjectIdRegExp),
|
|
6145
6808
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6146
6809
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6147
6810
|
"category": zod.enum([
|
|
@@ -6188,7 +6851,7 @@ const ListEventsResponse = zod.object({
|
|
|
6188
6851
|
})).describe("Wide event with event_type=team.created.\n"),
|
|
6189
6852
|
zod.object({
|
|
6190
6853
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6191
|
-
"project_id": zod.string().regex(
|
|
6854
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreefourOneProjectIdRegExp),
|
|
6192
6855
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6193
6856
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6194
6857
|
"category": zod.enum([
|
|
@@ -6235,7 +6898,7 @@ const ListEventsResponse = zod.object({
|
|
|
6235
6898
|
})).describe("Wide event with event_type=team.deactivated.\n"),
|
|
6236
6899
|
zod.object({
|
|
6237
6900
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6238
|
-
"project_id": zod.string().regex(
|
|
6901
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreefiveOneProjectIdRegExp),
|
|
6239
6902
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6240
6903
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6241
6904
|
"category": zod.enum([
|
|
@@ -6282,7 +6945,7 @@ const ListEventsResponse = zod.object({
|
|
|
6282
6945
|
})).describe("Wide event with event_type=team.updated.\n"),
|
|
6283
6946
|
zod.object({
|
|
6284
6947
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6285
|
-
"project_id": zod.string().regex(
|
|
6948
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreesixOneProjectIdRegExp),
|
|
6286
6949
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6287
6950
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6288
6951
|
"category": zod.enum([
|
|
@@ -6329,7 +6992,7 @@ const ListEventsResponse = zod.object({
|
|
|
6329
6992
|
})).describe("Wide event with event_type=user.create.failed.\n"),
|
|
6330
6993
|
zod.object({
|
|
6331
6994
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6332
|
-
"project_id": zod.string().regex(
|
|
6995
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreesevenOneProjectIdRegExp),
|
|
6333
6996
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6334
6997
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6335
6998
|
"category": zod.enum([
|
|
@@ -6380,7 +7043,7 @@ const ListEventsResponse = zod.object({
|
|
|
6380
7043
|
})).describe("Wide event with event_type=user.created.\n"),
|
|
6381
7044
|
zod.object({
|
|
6382
7045
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6383
|
-
"project_id": zod.string().regex(
|
|
7046
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreeeightOneProjectIdRegExp),
|
|
6384
7047
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6385
7048
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6386
7049
|
"category": zod.enum([
|
|
@@ -6427,7 +7090,7 @@ const ListEventsResponse = zod.object({
|
|
|
6427
7090
|
})).describe("Wide event with event_type=user.deleted.\n"),
|
|
6428
7091
|
zod.object({
|
|
6429
7092
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
6430
|
-
"project_id": zod.string().regex(
|
|
7093
|
+
"project_id": zod.string().regex(listEventsResponseDataItemThreenineOneProjectIdRegExp),
|
|
6431
7094
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
6432
7095
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
6433
7096
|
"category": zod.enum([
|
|
@@ -6474,7 +7137,104 @@ const ListEventsResponse = zod.object({
|
|
|
6474
7137
|
"attribute_keys": zod.array(zod.string()).optional(),
|
|
6475
7138
|
"attributes": zod.record(zod.string(), zod.unknown()).optional()
|
|
6476
7139
|
}).describe("Payload for `user.updated`. Same attribute rules as create: keys touched\nplus `x-audit` values only.\n")
|
|
6477
|
-
})).describe("Wide event with event_type=user.updated.\n")
|
|
7140
|
+
})).describe("Wide event with event_type=user.updated.\n"),
|
|
7141
|
+
zod.object({
|
|
7142
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7143
|
+
"project_id": zod.string().regex(listEventsResponseDataItemFourzeroOneProjectIdRegExp),
|
|
7144
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7145
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7146
|
+
"category": zod.enum([
|
|
7147
|
+
"request",
|
|
7148
|
+
"auth",
|
|
7149
|
+
"session",
|
|
7150
|
+
"admin",
|
|
7151
|
+
"entity",
|
|
7152
|
+
"signal"
|
|
7153
|
+
]).describe("Wide-event category."),
|
|
7154
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
7155
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
7156
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
7157
|
+
"actor_type": zod.union([zod.enum([
|
|
7158
|
+
"human",
|
|
7159
|
+
"service",
|
|
7160
|
+
"system",
|
|
7161
|
+
"agent"
|
|
7162
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
7163
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
7164
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
7165
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
7166
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
7167
|
+
"delegation_type": zod.enum([
|
|
7168
|
+
"direct",
|
|
7169
|
+
"delegated",
|
|
7170
|
+
"pat_shared",
|
|
7171
|
+
"exchanged"
|
|
7172
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
7173
|
+
"delegation_id": zod.string().optional(),
|
|
7174
|
+
"grantor": zod.string().optional(),
|
|
7175
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
7176
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
7177
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
7178
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
7179
|
+
"metadata": zod.object({ "client": zod.object({
|
|
7180
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
7181
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
7182
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7183
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7184
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7185
|
+
"event_type": zod.literal("variable.removed"),
|
|
7186
|
+
"payload": zod.object({ "kind": zod.enum(["primary", "preview"]).optional() }).describe("Payload for `variable.removed` events, one row removed.")
|
|
7187
|
+
})).describe("Wide event with event_type=variable.removed.\n"),
|
|
7188
|
+
zod.object({
|
|
7189
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7190
|
+
"project_id": zod.string().regex(listEventsResponseDataItemFouroneOneProjectIdRegExp),
|
|
7191
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7192
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7193
|
+
"category": zod.enum([
|
|
7194
|
+
"request",
|
|
7195
|
+
"auth",
|
|
7196
|
+
"session",
|
|
7197
|
+
"admin",
|
|
7198
|
+
"entity",
|
|
7199
|
+
"signal"
|
|
7200
|
+
]).describe("Wide-event category."),
|
|
7201
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
7202
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
7203
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
7204
|
+
"actor_type": zod.union([zod.enum([
|
|
7205
|
+
"human",
|
|
7206
|
+
"service",
|
|
7207
|
+
"system",
|
|
7208
|
+
"agent"
|
|
7209
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
7210
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
7211
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
7212
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
7213
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
7214
|
+
"delegation_type": zod.enum([
|
|
7215
|
+
"direct",
|
|
7216
|
+
"delegated",
|
|
7217
|
+
"pat_shared",
|
|
7218
|
+
"exchanged"
|
|
7219
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
7220
|
+
"delegation_id": zod.string().optional(),
|
|
7221
|
+
"grantor": zod.string().optional(),
|
|
7222
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
7223
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
7224
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
7225
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
7226
|
+
"metadata": zod.object({ "client": zod.object({
|
|
7227
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
7228
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
7229
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7230
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7231
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7232
|
+
"event_type": zod.literal("variable.set"),
|
|
7233
|
+
"payload": zod.object({
|
|
7234
|
+
"kind": zod.enum(["primary", "preview"]).optional(),
|
|
7235
|
+
"secret": zod.boolean().optional()
|
|
7236
|
+
}).describe("Payload for `variable.set` events: one row entered or replaced. The value\nis never included, plain or encrypted.\n")
|
|
7237
|
+
})).describe("Wide event with event_type=variable.set.\n")
|
|
6478
7238
|
]).describe("Discriminated wide-event union (ADR 048 / ADR 049). Clients select the\nmember via event_type; each member carries a typed payload.\n")),
|
|
6479
7239
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
6480
7240
|
}).describe("Paginated list of events (ADR 027 / ADR 049).");
|
|
@@ -6516,11 +7276,14 @@ const getEventResponseTwofourOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[
|
|
|
6516
7276
|
const getEventResponseTwofiveOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6517
7277
|
const getEventResponseTwosixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6518
7278
|
const getEventResponseTwosevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6519
|
-
const getEventResponseTwosevenTwoPayloadStatusMin = 100;
|
|
6520
|
-
const getEventResponseTwosevenTwoPayloadStatusMax = 599;
|
|
6521
|
-
const getEventResponseTwosevenTwoPayloadDurationMsMin = 0;
|
|
6522
7279
|
const getEventResponseTwoeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
7280
|
+
const getEventResponseTwoeightTwoPayloadContentHashMin = 71;
|
|
7281
|
+
const getEventResponseTwoeightTwoPayloadContentHashMax = 71;
|
|
7282
|
+
const getEventResponseTwoeightTwoPayloadContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
6523
7283
|
const getEventResponseTwonineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
7284
|
+
const getEventResponseTwonineTwoPayloadStatusMin = 100;
|
|
7285
|
+
const getEventResponseTwonineTwoPayloadStatusMax = 599;
|
|
7286
|
+
const getEventResponseTwonineTwoPayloadDurationMsMin = 0;
|
|
6524
7287
|
const getEventResponseThreezeroOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6525
7288
|
const getEventResponseThreeoneOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6526
7289
|
const getEventResponseThreetwoOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
@@ -6529,6 +7292,10 @@ const getEventResponseThreefourOneProjectIdRegExp = /* @__PURE__ */ new RegExp("
|
|
|
6529
7292
|
const getEventResponseThreefiveOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6530
7293
|
const getEventResponseThreesixOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6531
7294
|
const getEventResponseThreesevenOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
7295
|
+
const getEventResponseThreeeightOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
7296
|
+
const getEventResponseThreenineOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
7297
|
+
const getEventResponseFourzeroOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
7298
|
+
const getEventResponseFouroneOneProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
6532
7299
|
const GetEventResponse = zod.union([
|
|
6533
7300
|
zod.object({
|
|
6534
7301
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
@@ -7273,12 +8040,12 @@ const GetEventResponse = zod.union([
|
|
|
7273
8040
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7274
8041
|
"event_type": zod.literal("deployment.created"),
|
|
7275
8042
|
"payload": zod.object({
|
|
7276
|
-
"environment_id": zod.string().optional(),
|
|
7277
8043
|
"release_id": zod.string().optional(),
|
|
8044
|
+
"targets": zod.array(zod.string()).optional().describe("The origins the release went live on, sorted."),
|
|
7278
8045
|
"reason": zod.string().optional(),
|
|
7279
8046
|
"message": zod.string().optional(),
|
|
7280
|
-
"
|
|
7281
|
-
}).describe("Allowlisted fields for `deployment.created`. The deployment id is already\nthe event's `entity_id`; the
|
|
8047
|
+
"rollback_to": zod.string().optional()
|
|
8048
|
+
}).describe("Allowlisted fields for `deployment.created`. The deployment id is already\nthe event's `entity_id`; the fields here say what went live where.\n")
|
|
7282
8049
|
})).describe("Wide event with event_type=deployment.created.\n"),
|
|
7283
8050
|
zod.object({
|
|
7284
8051
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
@@ -7324,9 +8091,18 @@ const GetEventResponse = zod.union([
|
|
|
7324
8091
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7325
8092
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7326
8093
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7327
|
-
"event_type": zod.literal("
|
|
7328
|
-
"payload": zod.object({
|
|
7329
|
-
|
|
8094
|
+
"event_type": zod.literal("flowdef.created"),
|
|
8095
|
+
"payload": zod.object({
|
|
8096
|
+
"name": zod.string().optional(),
|
|
8097
|
+
"status": zod.string().optional(),
|
|
8098
|
+
"user_schema": zod.string().optional(),
|
|
8099
|
+
"purposes": zod.record(zod.string(), zod.string()).optional(),
|
|
8100
|
+
"audience": zod.object({
|
|
8101
|
+
"app_ids": zod.array(zod.string()).optional(),
|
|
8102
|
+
"team_ids": zod.array(zod.string()).optional()
|
|
8103
|
+
}).optional()
|
|
8104
|
+
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
8105
|
+
})).describe("Wide event with event_type=flowdef.created.\n"),
|
|
7330
8106
|
zod.object({
|
|
7331
8107
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7332
8108
|
"project_id": zod.string().regex(getEventResponseOnesevenOneProjectIdRegExp),
|
|
@@ -7371,7 +8147,54 @@ const GetEventResponse = zod.union([
|
|
|
7371
8147
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7372
8148
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7373
8149
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7374
|
-
"event_type": zod.literal("flowdef.
|
|
8150
|
+
"event_type": zod.literal("flowdef.deleted"),
|
|
8151
|
+
"payload": zod.object({}).describe("Empty payload for event types with no typed fields\n(e.g. `project.deleted`, `user.deleted`, `session.expired`).\n")
|
|
8152
|
+
})).describe("Wide event with event_type=flowdef.deleted.\n"),
|
|
8153
|
+
zod.object({
|
|
8154
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8155
|
+
"project_id": zod.string().regex(getEventResponseOneeightOneProjectIdRegExp),
|
|
8156
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8157
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8158
|
+
"category": zod.enum([
|
|
8159
|
+
"request",
|
|
8160
|
+
"auth",
|
|
8161
|
+
"session",
|
|
8162
|
+
"admin",
|
|
8163
|
+
"entity",
|
|
8164
|
+
"signal"
|
|
8165
|
+
]).describe("Wide-event category."),
|
|
8166
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
8167
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
8168
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
8169
|
+
"actor_type": zod.union([zod.enum([
|
|
8170
|
+
"human",
|
|
8171
|
+
"service",
|
|
8172
|
+
"system",
|
|
8173
|
+
"agent"
|
|
8174
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
8175
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
8176
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
8177
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
8178
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
8179
|
+
"delegation_type": zod.enum([
|
|
8180
|
+
"direct",
|
|
8181
|
+
"delegated",
|
|
8182
|
+
"pat_shared",
|
|
8183
|
+
"exchanged"
|
|
8184
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
8185
|
+
"delegation_id": zod.string().optional(),
|
|
8186
|
+
"grantor": zod.string().optional(),
|
|
8187
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
8188
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
8189
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
8190
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
8191
|
+
"metadata": zod.object({ "client": zod.object({
|
|
8192
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
8193
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
8194
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
8195
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
8196
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
8197
|
+
"event_type": zod.literal("flowdef.updated"),
|
|
7375
8198
|
"payload": zod.object({
|
|
7376
8199
|
"name": zod.string().optional(),
|
|
7377
8200
|
"status": zod.string().optional(),
|
|
@@ -7382,10 +8205,10 @@ const GetEventResponse = zod.union([
|
|
|
7382
8205
|
"team_ids": zod.array(zod.string()).optional()
|
|
7383
8206
|
}).optional()
|
|
7384
8207
|
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
7385
|
-
})).describe("Wide event with event_type=flowdef.
|
|
8208
|
+
})).describe("Wide event with event_type=flowdef.updated.\n"),
|
|
7386
8209
|
zod.object({
|
|
7387
8210
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7388
|
-
"project_id": zod.string().regex(
|
|
8211
|
+
"project_id": zod.string().regex(getEventResponseOnenineOneProjectIdRegExp),
|
|
7389
8212
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7390
8213
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7391
8214
|
"category": zod.enum([
|
|
@@ -7427,12 +8250,18 @@ const GetEventResponse = zod.union([
|
|
|
7427
8250
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7428
8251
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7429
8252
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7430
|
-
"event_type": zod.literal("
|
|
7431
|
-
"payload": zod.object({
|
|
7432
|
-
|
|
8253
|
+
"event_type": zod.literal("idp.created"),
|
|
8254
|
+
"payload": zod.object({
|
|
8255
|
+
"slug": zod.string().optional(),
|
|
8256
|
+
"protocol": zod.string().optional(),
|
|
8257
|
+
"template": zod.string().optional().describe("The rendering template hint. On `idp.updated`, the empty string means\nthe revision removed it.\n"),
|
|
8258
|
+
"display_name": zod.string().optional(),
|
|
8259
|
+
"revision_id": zod.string().describe("The revision the write appended.")
|
|
8260
|
+
}).describe("Shared allowlisted fields for `idp.created` (snapshot) and `idp.updated`\n(delta: only changed fields present, plus the new `revision_id`). The\nconnection id is the event's `entity_id`. The connection document, and with\nit the `client_secret` reference, is never included.\n")
|
|
8261
|
+
})).describe("Wide event with event_type=idp.created.\n"),
|
|
7433
8262
|
zod.object({
|
|
7434
8263
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7435
|
-
"project_id": zod.string().regex(
|
|
8264
|
+
"project_id": zod.string().regex(getEventResponseTwozeroOneProjectIdRegExp),
|
|
7436
8265
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7437
8266
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7438
8267
|
"category": zod.enum([
|
|
@@ -7470,25 +8299,19 @@ const GetEventResponse = zod.union([
|
|
|
7470
8299
|
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
7471
8300
|
"metadata": zod.object({ "client": zod.object({
|
|
7472
8301
|
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
7473
|
-
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
7474
|
-
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7475
|
-
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7476
|
-
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7477
|
-
"event_type": zod.literal("
|
|
7478
|
-
"payload": zod.object({
|
|
7479
|
-
"
|
|
7480
|
-
"
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
"audience": zod.object({
|
|
7484
|
-
"app_ids": zod.array(zod.string()).optional(),
|
|
7485
|
-
"team_ids": zod.array(zod.string()).optional()
|
|
7486
|
-
}).optional()
|
|
7487
|
-
}).describe("Allowlisted fields of the created revision. Retired `flowdef.updated`\nrows carry a delta in the same shape. Steps are omitted.\n")
|
|
7488
|
-
})).describe("Wide event with event_type=flowdef.updated.\n"),
|
|
8302
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
8303
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
8304
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
8305
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
8306
|
+
"event_type": zod.literal("idp.identity_link.created"),
|
|
8307
|
+
"payload": zod.object({
|
|
8308
|
+
"connection_id": zod.string().describe("The IdP connection the account signed in through."),
|
|
8309
|
+
"user_id": zod.string().describe("The user the provider account is linked to.")
|
|
8310
|
+
}).describe("Snapshot for `idp.identity_link.created`, written when a sign-in creates a\nuser and links the provider account to it. The link id is the event's\n`entity_id`. The provider's subject and claims are never included.\n")
|
|
8311
|
+
})).describe("Wide event with event_type=idp.identity_link.created.\n"),
|
|
7489
8312
|
zod.object({
|
|
7490
8313
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7491
|
-
"project_id": zod.string().regex(
|
|
8314
|
+
"project_id": zod.string().regex(getEventResponseTwooneOneProjectIdRegExp),
|
|
7492
8315
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7493
8316
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7494
8317
|
"category": zod.enum([
|
|
@@ -7530,7 +8353,7 @@ const GetEventResponse = zod.union([
|
|
|
7530
8353
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7531
8354
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7532
8355
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7533
|
-
"event_type": zod.literal("idp.
|
|
8356
|
+
"event_type": zod.literal("idp.updated"),
|
|
7534
8357
|
"payload": zod.object({
|
|
7535
8358
|
"slug": zod.string().optional(),
|
|
7536
8359
|
"protocol": zod.string().optional(),
|
|
@@ -7538,10 +8361,10 @@ const GetEventResponse = zod.union([
|
|
|
7538
8361
|
"display_name": zod.string().optional(),
|
|
7539
8362
|
"revision_id": zod.string().describe("The revision the write appended.")
|
|
7540
8363
|
}).describe("Shared allowlisted fields for `idp.created` (snapshot) and `idp.updated`\n(delta: only changed fields present, plus the new `revision_id`). The\nconnection id is the event's `entity_id`. The connection document, and with\nit the `client_secret` reference, is never included.\n")
|
|
7541
|
-
})).describe("Wide event with event_type=idp.
|
|
8364
|
+
})).describe("Wide event with event_type=idp.updated.\n"),
|
|
7542
8365
|
zod.object({
|
|
7543
8366
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7544
|
-
"project_id": zod.string().regex(
|
|
8367
|
+
"project_id": zod.string().regex(getEventResponseTwotwoOneProjectIdRegExp),
|
|
7545
8368
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7546
8369
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7547
8370
|
"category": zod.enum([
|
|
@@ -7583,15 +8406,15 @@ const GetEventResponse = zod.union([
|
|
|
7583
8406
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7584
8407
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7585
8408
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7586
|
-
"event_type": zod.literal("
|
|
8409
|
+
"event_type": zod.literal("origin.added"),
|
|
7587
8410
|
"payload": zod.object({
|
|
7588
|
-
"
|
|
7589
|
-
"
|
|
7590
|
-
}).describe("
|
|
7591
|
-
})).describe("Wide event with event_type=
|
|
8411
|
+
"pattern": zod.string(),
|
|
8412
|
+
"kind": zod.enum(["primary", "preview"])
|
|
8413
|
+
}).describe("Allowlisted fields for `origin.added` and `origin.removed`.\n")
|
|
8414
|
+
})).describe("Wide event with event_type=origin.added.\n"),
|
|
7592
8415
|
zod.object({
|
|
7593
8416
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7594
|
-
"project_id": zod.string().regex(
|
|
8417
|
+
"project_id": zod.string().regex(getEventResponseTwothreeOneProjectIdRegExp),
|
|
7595
8418
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7596
8419
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7597
8420
|
"category": zod.enum([
|
|
@@ -7633,18 +8456,15 @@ const GetEventResponse = zod.union([
|
|
|
7633
8456
|
"origin": zod.string().optional().describe("Origin header when present.")
|
|
7634
8457
|
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
7635
8458
|
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
7636
|
-
"event_type": zod.literal("
|
|
8459
|
+
"event_type": zod.literal("origin.removed"),
|
|
7637
8460
|
"payload": zod.object({
|
|
7638
|
-
"
|
|
7639
|
-
"
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
"revision_id": zod.string().describe("The revision the write appended.")
|
|
7643
|
-
}).describe("Shared allowlisted fields for `idp.created` (snapshot) and `idp.updated`\n(delta: only changed fields present, plus the new `revision_id`). The\nconnection id is the event's `entity_id`. The connection document, and with\nit the `client_secret` reference, is never included.\n")
|
|
7644
|
-
})).describe("Wide event with event_type=idp.updated.\n"),
|
|
8461
|
+
"pattern": zod.string(),
|
|
8462
|
+
"kind": zod.enum(["primary", "preview"])
|
|
8463
|
+
}).describe("Allowlisted fields for `origin.added` and `origin.removed`.\n")
|
|
8464
|
+
})).describe("Wide event with event_type=origin.removed.\n"),
|
|
7645
8465
|
zod.object({
|
|
7646
8466
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7647
|
-
"project_id": zod.string().regex(
|
|
8467
|
+
"project_id": zod.string().regex(getEventResponseTwofourOneProjectIdRegExp),
|
|
7648
8468
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7649
8469
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7650
8470
|
"category": zod.enum([
|
|
@@ -7689,13 +8509,16 @@ const GetEventResponse = zod.union([
|
|
|
7689
8509
|
"event_type": zod.literal("project.created"),
|
|
7690
8510
|
"payload": zod.object({
|
|
7691
8511
|
"name": zod.string().optional(),
|
|
7692
|
-
"
|
|
8512
|
+
"origins": zod.array(zod.object({
|
|
8513
|
+
"pattern": zod.string(),
|
|
8514
|
+
"kind": zod.enum(["primary", "preview"])
|
|
8515
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).optional(),
|
|
7693
8516
|
"password_hash_algorithm": zod.string().optional().describe("The password hashing algorithm the project switched to. The empty string\nmeans it was handed back to the server default. Absent when the update\ndid not touch hashing.\n")
|
|
7694
8517
|
}).describe("Shared allowlisted fields for `project.created` (full snapshot) and\n`project.updated` (delta: only changed fields present).\n")
|
|
7695
8518
|
})).describe("Wide event with event_type=project.created.\n"),
|
|
7696
8519
|
zod.object({
|
|
7697
8520
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7698
|
-
"project_id": zod.string().regex(
|
|
8521
|
+
"project_id": zod.string().regex(getEventResponseTwofiveOneProjectIdRegExp),
|
|
7699
8522
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7700
8523
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7701
8524
|
"category": zod.enum([
|
|
@@ -7742,7 +8565,7 @@ const GetEventResponse = zod.union([
|
|
|
7742
8565
|
})).describe("Wide event with event_type=project.deleted.\n"),
|
|
7743
8566
|
zod.object({
|
|
7744
8567
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7745
|
-
"project_id": zod.string().regex(
|
|
8568
|
+
"project_id": zod.string().regex(getEventResponseTwosixOneProjectIdRegExp),
|
|
7746
8569
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7747
8570
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7748
8571
|
"category": zod.enum([
|
|
@@ -7787,13 +8610,16 @@ const GetEventResponse = zod.union([
|
|
|
7787
8610
|
"event_type": zod.literal("project.updated"),
|
|
7788
8611
|
"payload": zod.object({
|
|
7789
8612
|
"name": zod.string().optional(),
|
|
7790
|
-
"
|
|
8613
|
+
"origins": zod.array(zod.object({
|
|
8614
|
+
"pattern": zod.string(),
|
|
8615
|
+
"kind": zod.enum(["primary", "preview"])
|
|
8616
|
+
}).describe("One of a project's origins: a pattern and what it is for. A `primary`\npattern is an exact origin (scheme and host, no `*`) that admits requests\nfrom the URLs it matches. A `preview` pattern only bounds which URLs a\npreview deploy may register; it may include at most one `*` inside a single\nhost label (`*` matches one or more characters, none of them a dot). A\nliteral beats a wildcard. Unknown hosts are accepted as written. An empty\nlist means every origin is admitted until the first pattern is added.\nLoopback origins are admitted without a pattern.\n")).optional(),
|
|
7791
8617
|
"password_hash_algorithm": zod.string().optional().describe("The password hashing algorithm the project switched to. The empty string\nmeans it was handed back to the server default. Absent when the update\ndid not touch hashing.\n")
|
|
7792
8618
|
}).describe("Shared allowlisted fields for `project.created` (full snapshot) and\n`project.updated` (delta: only changed fields present).\n")
|
|
7793
8619
|
})).describe("Wide event with event_type=project.updated.\n"),
|
|
7794
8620
|
zod.object({
|
|
7795
8621
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7796
|
-
"project_id": zod.string().regex(
|
|
8622
|
+
"project_id": zod.string().regex(getEventResponseTwosevenOneProjectIdRegExp),
|
|
7797
8623
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7798
8624
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7799
8625
|
"category": zod.enum([
|
|
@@ -7850,7 +8676,54 @@ const GetEventResponse = zod.union([
|
|
|
7850
8676
|
})).describe("Wide event with event_type=release.created.\n"),
|
|
7851
8677
|
zod.object({
|
|
7852
8678
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7853
|
-
"project_id": zod.string().regex(
|
|
8679
|
+
"project_id": zod.string().regex(getEventResponseTwoeightOneProjectIdRegExp),
|
|
8680
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8681
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8682
|
+
"category": zod.enum([
|
|
8683
|
+
"request",
|
|
8684
|
+
"auth",
|
|
8685
|
+
"session",
|
|
8686
|
+
"admin",
|
|
8687
|
+
"entity",
|
|
8688
|
+
"signal"
|
|
8689
|
+
]).describe("Wide-event category."),
|
|
8690
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
8691
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
8692
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
8693
|
+
"actor_type": zod.union([zod.enum([
|
|
8694
|
+
"human",
|
|
8695
|
+
"service",
|
|
8696
|
+
"system",
|
|
8697
|
+
"agent"
|
|
8698
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
8699
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
8700
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
8701
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
8702
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
8703
|
+
"delegation_type": zod.enum([
|
|
8704
|
+
"direct",
|
|
8705
|
+
"delegated",
|
|
8706
|
+
"pat_shared",
|
|
8707
|
+
"exchanged"
|
|
8708
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
8709
|
+
"delegation_id": zod.string().optional(),
|
|
8710
|
+
"grantor": zod.string().optional(),
|
|
8711
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
8712
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
8713
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
8714
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
8715
|
+
"metadata": zod.object({ "client": zod.object({
|
|
8716
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
8717
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
8718
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
8719
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
8720
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
8721
|
+
"event_type": zod.literal("release.revoked"),
|
|
8722
|
+
"payload": zod.object({ "content_hash": zod.string().min(71).max(71).regex(getEventResponseTwoeightTwoPayloadContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n") }).describe("Allowlisted fields for `release.revoked`. The release id is already the\nevent's `entity_id`; the digest is repeated so the audit stream names the\nrelease the way the CLI prints it and builds pin it.\n")
|
|
8723
|
+
})).describe("Wide event with event_type=release.revoked.\n"),
|
|
8724
|
+
zod.object({
|
|
8725
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8726
|
+
"project_id": zod.string().regex(getEventResponseTwonineOneProjectIdRegExp),
|
|
7854
8727
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7855
8728
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7856
8729
|
"category": zod.enum([
|
|
@@ -7911,7 +8784,7 @@ const GetEventResponse = zod.union([
|
|
|
7911
8784
|
})).describe("Wide event with event_type=request.api.\n"),
|
|
7912
8785
|
zod.object({
|
|
7913
8786
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7914
|
-
"project_id": zod.string().regex(
|
|
8787
|
+
"project_id": zod.string().regex(getEventResponseThreezeroOneProjectIdRegExp),
|
|
7915
8788
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7916
8789
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7917
8790
|
"category": zod.enum([
|
|
@@ -7961,7 +8834,7 @@ const GetEventResponse = zod.union([
|
|
|
7961
8834
|
})).describe("Wide event with event_type=schema.created.\n"),
|
|
7962
8835
|
zod.object({
|
|
7963
8836
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
7964
|
-
"project_id": zod.string().regex(
|
|
8837
|
+
"project_id": zod.string().regex(getEventResponseThreeoneOneProjectIdRegExp),
|
|
7965
8838
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
7966
8839
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
7967
8840
|
"category": zod.enum([
|
|
@@ -8008,7 +8881,7 @@ const GetEventResponse = zod.union([
|
|
|
8008
8881
|
})).describe("Wide event with event_type=session.deleted.\n"),
|
|
8009
8882
|
zod.object({
|
|
8010
8883
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8011
|
-
"project_id": zod.string().regex(
|
|
8884
|
+
"project_id": zod.string().regex(getEventResponseThreetwoOneProjectIdRegExp),
|
|
8012
8885
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8013
8886
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8014
8887
|
"category": zod.enum([
|
|
@@ -8055,7 +8928,7 @@ const GetEventResponse = zod.union([
|
|
|
8055
8928
|
})).describe("Wide event with event_type=session.established.\n"),
|
|
8056
8929
|
zod.object({
|
|
8057
8930
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8058
|
-
"project_id": zod.string().regex(
|
|
8931
|
+
"project_id": zod.string().regex(getEventResponseThreethreeOneProjectIdRegExp),
|
|
8059
8932
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8060
8933
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8061
8934
|
"category": zod.enum([
|
|
@@ -8102,7 +8975,7 @@ const GetEventResponse = zod.union([
|
|
|
8102
8975
|
})).describe("Wide event with event_type=team.created.\n"),
|
|
8103
8976
|
zod.object({
|
|
8104
8977
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8105
|
-
"project_id": zod.string().regex(
|
|
8978
|
+
"project_id": zod.string().regex(getEventResponseThreefourOneProjectIdRegExp),
|
|
8106
8979
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8107
8980
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8108
8981
|
"category": zod.enum([
|
|
@@ -8149,7 +9022,7 @@ const GetEventResponse = zod.union([
|
|
|
8149
9022
|
})).describe("Wide event with event_type=team.deactivated.\n"),
|
|
8150
9023
|
zod.object({
|
|
8151
9024
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8152
|
-
"project_id": zod.string().regex(
|
|
9025
|
+
"project_id": zod.string().regex(getEventResponseThreefiveOneProjectIdRegExp),
|
|
8153
9026
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8154
9027
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8155
9028
|
"category": zod.enum([
|
|
@@ -8196,7 +9069,7 @@ const GetEventResponse = zod.union([
|
|
|
8196
9069
|
})).describe("Wide event with event_type=team.updated.\n"),
|
|
8197
9070
|
zod.object({
|
|
8198
9071
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8199
|
-
"project_id": zod.string().regex(
|
|
9072
|
+
"project_id": zod.string().regex(getEventResponseThreesixOneProjectIdRegExp),
|
|
8200
9073
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8201
9074
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8202
9075
|
"category": zod.enum([
|
|
@@ -8243,7 +9116,7 @@ const GetEventResponse = zod.union([
|
|
|
8243
9116
|
})).describe("Wide event with event_type=user.create.failed.\n"),
|
|
8244
9117
|
zod.object({
|
|
8245
9118
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8246
|
-
"project_id": zod.string().regex(
|
|
9119
|
+
"project_id": zod.string().regex(getEventResponseThreesevenOneProjectIdRegExp),
|
|
8247
9120
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8248
9121
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8249
9122
|
"category": zod.enum([
|
|
@@ -8294,7 +9167,7 @@ const GetEventResponse = zod.union([
|
|
|
8294
9167
|
})).describe("Wide event with event_type=user.created.\n"),
|
|
8295
9168
|
zod.object({
|
|
8296
9169
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8297
|
-
"project_id": zod.string().regex(
|
|
9170
|
+
"project_id": zod.string().regex(getEventResponseThreeeightOneProjectIdRegExp),
|
|
8298
9171
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8299
9172
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8300
9173
|
"category": zod.enum([
|
|
@@ -8341,7 +9214,7 @@ const GetEventResponse = zod.union([
|
|
|
8341
9214
|
})).describe("Wide event with event_type=user.deleted.\n"),
|
|
8342
9215
|
zod.object({
|
|
8343
9216
|
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
8344
|
-
"project_id": zod.string().regex(
|
|
9217
|
+
"project_id": zod.string().regex(getEventResponseThreenineOneProjectIdRegExp),
|
|
8345
9218
|
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
8346
9219
|
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
8347
9220
|
"category": zod.enum([
|
|
@@ -8388,60 +9261,157 @@ const GetEventResponse = zod.union([
|
|
|
8388
9261
|
"attribute_keys": zod.array(zod.string()).optional(),
|
|
8389
9262
|
"attributes": zod.record(zod.string(), zod.unknown()).optional()
|
|
8390
9263
|
}).describe("Payload for `user.updated`. Same attribute rules as create: keys touched\nplus `x-audit` values only.\n")
|
|
8391
|
-
})).describe("Wide event with event_type=user.updated.\n")
|
|
9264
|
+
})).describe("Wide event with event_type=user.updated.\n"),
|
|
9265
|
+
zod.object({
|
|
9266
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
9267
|
+
"project_id": zod.string().regex(getEventResponseFourzeroOneProjectIdRegExp),
|
|
9268
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
9269
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
9270
|
+
"category": zod.enum([
|
|
9271
|
+
"request",
|
|
9272
|
+
"auth",
|
|
9273
|
+
"session",
|
|
9274
|
+
"admin",
|
|
9275
|
+
"entity",
|
|
9276
|
+
"signal"
|
|
9277
|
+
]).describe("Wide-event category."),
|
|
9278
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
9279
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
9280
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
9281
|
+
"actor_type": zod.union([zod.enum([
|
|
9282
|
+
"human",
|
|
9283
|
+
"service",
|
|
9284
|
+
"system",
|
|
9285
|
+
"agent"
|
|
9286
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
9287
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
9288
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
9289
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
9290
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
9291
|
+
"delegation_type": zod.enum([
|
|
9292
|
+
"direct",
|
|
9293
|
+
"delegated",
|
|
9294
|
+
"pat_shared",
|
|
9295
|
+
"exchanged"
|
|
9296
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
9297
|
+
"delegation_id": zod.string().optional(),
|
|
9298
|
+
"grantor": zod.string().optional(),
|
|
9299
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
9300
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
9301
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
9302
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
9303
|
+
"metadata": zod.object({ "client": zod.object({
|
|
9304
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
9305
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
9306
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
9307
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
9308
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
9309
|
+
"event_type": zod.literal("variable.removed"),
|
|
9310
|
+
"payload": zod.object({ "kind": zod.enum(["primary", "preview"]).optional() }).describe("Payload for `variable.removed` events, one row removed.")
|
|
9311
|
+
})).describe("Wide event with event_type=variable.removed.\n"),
|
|
9312
|
+
zod.object({
|
|
9313
|
+
"id": zod.string().describe("Managed event id (`evt_<opaque>`)."),
|
|
9314
|
+
"project_id": zod.string().regex(getEventResponseFouroneOneProjectIdRegExp),
|
|
9315
|
+
"team_id": zod.union([zod.string(), zod.null()]).optional().describe("Emit-time team scope, when the actor operated under a team."),
|
|
9316
|
+
"event_type": zod.string().describe("Semantic event name (dot-separated). Discriminator for the Event union —\nsee docs/design/api/events-catalog.md.\n"),
|
|
9317
|
+
"category": zod.enum([
|
|
9318
|
+
"request",
|
|
9319
|
+
"auth",
|
|
9320
|
+
"session",
|
|
9321
|
+
"admin",
|
|
9322
|
+
"entity",
|
|
9323
|
+
"signal"
|
|
9324
|
+
]).describe("Wide-event category."),
|
|
9325
|
+
"occurred_at": zod.iso.datetime({ "offset": true }).describe("When the action happened (server/storage clock, dialect-owned)."),
|
|
9326
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the row was inserted (server/storage clock, dialect-owned)."),
|
|
9327
|
+
"actor_id": zod.union([zod.string(), zod.null()]).optional().describe("Who triggered the event."),
|
|
9328
|
+
"actor_type": zod.union([zod.enum([
|
|
9329
|
+
"human",
|
|
9330
|
+
"service",
|
|
9331
|
+
"system",
|
|
9332
|
+
"agent"
|
|
9333
|
+
]), zod.null()]).optional().describe("Actor kind."),
|
|
9334
|
+
"entity_type": zod.union([zod.string(), zod.null()]).optional().describe("Resource type affected."),
|
|
9335
|
+
"entity_id": zod.union([zod.string(), zod.null()]).optional().describe("Resource id affected."),
|
|
9336
|
+
"client_id": zod.string().describe("Application or agent that produced the event."),
|
|
9337
|
+
"token_id": zod.string().optional().describe("Token id present at emit time, when any."),
|
|
9338
|
+
"delegation_type": zod.enum([
|
|
9339
|
+
"direct",
|
|
9340
|
+
"delegated",
|
|
9341
|
+
"pat_shared",
|
|
9342
|
+
"exchanged"
|
|
9343
|
+
]).optional().describe("Delegation kind (omit when unset)."),
|
|
9344
|
+
"delegation_id": zod.string().optional(),
|
|
9345
|
+
"grantor": zod.string().optional(),
|
|
9346
|
+
"fingerprint": zod.string().optional().describe("Device fingerprint correlation id."),
|
|
9347
|
+
"request_id": zod.union([zod.string(), zod.null()]).optional().describe("HTTP request correlation id."),
|
|
9348
|
+
"session_id": zod.union([zod.string(), zod.null()]).optional().describe("Session correlation id."),
|
|
9349
|
+
"flow_id": zod.union([zod.string(), zod.null()]).optional().describe("Login flow correlation id."),
|
|
9350
|
+
"metadata": zod.object({ "client": zod.object({
|
|
9351
|
+
"ip": zod.string().optional().describe("Client IP from the first X-Forwarded-For hop or RemoteAddr."),
|
|
9352
|
+
"user_agent": zod.string().optional().describe("Observed User-Agent header."),
|
|
9353
|
+
"origin": zod.string().optional().describe("Origin header when present.")
|
|
9354
|
+
}).optional().describe("Observed HTTP requestor context on Path A request.api only.") }).optional().describe("Emit-time metadata, already redacted at write. Path A request.api may\nset client (ip, user_agent, origin) for SIEM join on request_id. Not a\nlive risk-evaluator input.\n")
|
|
9355
|
+
}).describe("Shared wide-event envelope (ADR 048 / ADR 049). Concrete events are\n`allOf` this schema plus a `const` `event_type` and a typed `payload`.\n").and(zod.object({
|
|
9356
|
+
"event_type": zod.literal("variable.set"),
|
|
9357
|
+
"payload": zod.object({
|
|
9358
|
+
"kind": zod.enum(["primary", "preview"]).optional(),
|
|
9359
|
+
"secret": zod.boolean().optional()
|
|
9360
|
+
}).describe("Payload for `variable.set` events: one row entered or replaced. The value\nis never included, plain or encrypted.\n")
|
|
9361
|
+
})).describe("Wide event with event_type=variable.set.\n")
|
|
8392
9362
|
]).describe("Discriminated wide-event union (ADR 048 / ADR 049). Clients select the\nmember via event_type; each member carries a typed payload.\n");
|
|
8393
9363
|
/**
|
|
8394
|
-
* Returns the variables
|
|
8395
|
-
*
|
|
8396
|
-
* level itself without it.
|
|
8397
|
-
*
|
|
8398
|
-
* Owners are separate, not a ladder: an environment does not inherit the
|
|
8399
|
-
* project's variables and the project does not see its environments'. Reading
|
|
8400
|
-
* everything a project holds therefore means reading each owner in turn.
|
|
9364
|
+
* Returns the project's variables, keyed by name, each with its value per
|
|
9365
|
+
* kind. With `kind`, only that kind's values are returned.
|
|
8401
9366
|
*
|
|
8402
9367
|
* Secret values are not returned. A secret appears as `{"secret": true}`,
|
|
8403
9368
|
* which says a value is held without disclosing it.
|
|
8404
9369
|
* @summary Get variables
|
|
8405
9370
|
*/
|
|
8406
9371
|
const getVariablesQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8407
|
-
const getVariablesQueryEnvironmentNameMax = 63;
|
|
8408
|
-
const getVariablesQueryEnvironmentNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
8409
9372
|
const GetVariablesQueryParams = zod.strictObject({
|
|
8410
9373
|
"project_id": zod.string().regex(getVariablesQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
8411
|
-
"
|
|
9374
|
+
"kind": zod.enum(["primary", "preview"]).optional().describe("The kind of value to address. Omit it for both kinds.\n")
|
|
8412
9375
|
});
|
|
8413
|
-
const
|
|
8414
|
-
const
|
|
8415
|
-
|
|
8416
|
-
zod.
|
|
8417
|
-
|
|
8418
|
-
|
|
9376
|
+
const getVariablesResponsePrimaryOneOneMax = 16384;
|
|
9377
|
+
const getVariablesResponsePreviewOneOneMax = 16384;
|
|
9378
|
+
const GetVariablesResponse = zod.record(zod.string(), zod.object({
|
|
9379
|
+
"primary": zod.union([zod.union([
|
|
9380
|
+
zod.string().max(getVariablesResponsePrimaryOneOneMax),
|
|
9381
|
+
zod.number(),
|
|
9382
|
+
zod.boolean()
|
|
9383
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).optional().describe("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"),
|
|
9384
|
+
"preview": zod.union([zod.union([
|
|
9385
|
+
zod.string().max(getVariablesResponsePreviewOneOneMax),
|
|
9386
|
+
zod.number(),
|
|
9387
|
+
zod.boolean()
|
|
9388
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).optional().describe("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")
|
|
9389
|
+
}).describe("One variable's values, per kind. A kind with no value is absent.\n")).describe("The project's variables, keyed by name, each with its value per kind.\n\nAn empty object is an ordinary answer, not an error.\n");
|
|
8419
9390
|
/**
|
|
8420
|
-
* Enters, replaces and removes variables
|
|
8421
|
-
*
|
|
9391
|
+
* Enters, replaces and removes the project's variables for the requested
|
|
9392
|
+
* kind. Names not in the body are untouched. Existing deployments keep the
|
|
9393
|
+
* values they froze.
|
|
8422
9394
|
*
|
|
8423
|
-
*
|
|
8424
|
-
*
|
|
8425
|
-
*
|
|
9395
|
+
* Without `kind`, a plain value is written for both kinds. A secret is
|
|
9396
|
+
* written for `primary` only and removes the name's `preview` value, so a
|
|
9397
|
+
* preview never keeps a plaintext copy; set a preview secret with
|
|
9398
|
+
* `kind=preview`. `null` removes the name from both.
|
|
8426
9399
|
*
|
|
8427
9400
|
* A bare scalar enters a non-secret value. `{"value": …, "secret": true}`
|
|
8428
9401
|
* stores the value encrypted under the project's active `secret` key, after
|
|
8429
|
-
* which it can be referenced but not read back. `null` removes the name
|
|
8430
|
-
*
|
|
8431
|
-
*
|
|
8432
|
-
* error.
|
|
9402
|
+
* which it can be referenced but not read back. `null` removes the name
|
|
9403
|
+
* (RFC 7386), which is how several variables are removed in one request;
|
|
9404
|
+
* removing a name the project does not hold is a no-op rather than an error.
|
|
8433
9405
|
*
|
|
8434
9406
|
* The body is applied whole or not at all, so a rejected request leaves the
|
|
8435
|
-
*
|
|
8436
|
-
* value rather than duplicating it, which makes a retry safe.
|
|
9407
|
+
* project's variables exactly as they were. Writing the same name twice
|
|
9408
|
+
* replaces the value rather than duplicating it, which makes a retry safe.
|
|
8437
9409
|
* @summary Update variables
|
|
8438
9410
|
*/
|
|
8439
9411
|
const updateVariablesQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8440
|
-
const updateVariablesQueryEnvironmentNameMax = 63;
|
|
8441
|
-
const updateVariablesQueryEnvironmentNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
8442
9412
|
const UpdateVariablesQueryParams = zod.strictObject({
|
|
8443
9413
|
"project_id": zod.string().regex(updateVariablesQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
8444
|
-
"
|
|
9414
|
+
"kind": zod.enum(["primary", "preview"]).optional().describe("The kind of value to address. Omit it for both kinds.\n")
|
|
8445
9415
|
});
|
|
8446
9416
|
const updateVariablesBodyTwoOneMax = 16384;
|
|
8447
9417
|
const updateVariablesBodyThreeValueOneMax = 16384;
|
|
@@ -8451,121 +9421,157 @@ const UpdateVariablesBody = zod.record(zod.string(), zod.union([
|
|
|
8451
9421
|
zod.string().max(updateVariablesBodyTwoOneMax),
|
|
8452
9422
|
zod.number(),
|
|
8453
9423
|
zod.boolean()
|
|
8454
|
-
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean
|
|
9424
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"),
|
|
8455
9425
|
zod.object({
|
|
8456
9426
|
"value": zod.union([
|
|
8457
9427
|
zod.string().max(updateVariablesBodyThreeValueOneMax),
|
|
8458
9428
|
zod.number(),
|
|
8459
9429
|
zod.boolean()
|
|
8460
|
-
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean
|
|
8461
|
-
"secret": zod.boolean().describe("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
|
|
8462
|
-
}).describe("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
|
|
8463
|
-
]).describe("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
|
|
8464
|
-
const
|
|
8465
|
-
const
|
|
8466
|
-
|
|
8467
|
-
zod.
|
|
8468
|
-
|
|
8469
|
-
|
|
9430
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"),
|
|
9431
|
+
"secret": zod.boolean().describe("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.\n")
|
|
9432
|
+
}).describe("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 and\nnever reads back; the bare-scalar form is the same write with\n`secret: false`.\n")
|
|
9433
|
+
]).describe("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, which is\nwhat lets one request enter, replace and remove names together. Removing a\nname the project does not hold is not an error, because a patch states what\nthe project holds afterwards and 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")).describe("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, replacing whatever the\nproject held under it, and a name absent here is left alone. A name whose\nvalue is `null` is removed (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 project does not hold is not an error: a patch states\nwhat the project 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");
|
|
9434
|
+
const updateVariablesResponsePrimaryOneOneMax = 16384;
|
|
9435
|
+
const updateVariablesResponsePreviewOneOneMax = 16384;
|
|
9436
|
+
const UpdateVariablesResponse = zod.record(zod.string(), zod.object({
|
|
9437
|
+
"primary": zod.union([zod.union([
|
|
9438
|
+
zod.string().max(updateVariablesResponsePrimaryOneOneMax),
|
|
9439
|
+
zod.number(),
|
|
9440
|
+
zod.boolean()
|
|
9441
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).optional().describe("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"),
|
|
9442
|
+
"preview": zod.union([zod.union([
|
|
9443
|
+
zod.string().max(updateVariablesResponsePreviewOneOneMax),
|
|
9444
|
+
zod.number(),
|
|
9445
|
+
zod.boolean()
|
|
9446
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).optional().describe("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")
|
|
9447
|
+
}).describe("One variable's values, per kind. A kind with no value is absent.\n")).describe("The project's variables, keyed by name, each with its value per kind.\n\nAn empty object is an ordinary answer, not an error.\n");
|
|
8470
9448
|
/**
|
|
8471
|
-
* Reads one variable by name
|
|
8472
|
-
*
|
|
8473
|
-
*
|
|
8474
|
-
*
|
|
8475
|
-
* A name that owner has not entered answers `var.not_found`, even when
|
|
8476
|
-
* another owner of the same project holds it: nothing is inherited. A secret
|
|
8477
|
-
* is found but not disclosed: the response is `{"secret": true}`.
|
|
9449
|
+
* Reads one variable by name, with its value per kind. A name with no
|
|
9450
|
+
* value for the requested kind answers `var.not_found`. A secret reads
|
|
9451
|
+
* back as `{"secret": true}`.
|
|
8478
9452
|
* @summary Get a variable
|
|
8479
9453
|
*/
|
|
8480
9454
|
const getVariablePathVariableNameMax = 255;
|
|
8481
9455
|
const getVariablePathVariableNameRegExp = /* @__PURE__ */ new RegExp("^\\w+$");
|
|
8482
9456
|
const GetVariableParams = zod.object({ "variable_name": zod.string().min(1).max(255).regex(getVariablePathVariableNameRegExp).describe("The name of the variable.") });
|
|
8483
9457
|
const getVariableQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8484
|
-
const getVariableQueryEnvironmentNameMax = 63;
|
|
8485
|
-
const getVariableQueryEnvironmentNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
8486
9458
|
const GetVariableQueryParams = zod.strictObject({
|
|
8487
9459
|
"project_id": zod.string().regex(getVariableQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
8488
|
-
"
|
|
9460
|
+
"kind": zod.enum(["primary", "preview"]).optional().describe("The kind of value to address. Omit it for both kinds.\n")
|
|
8489
9461
|
});
|
|
8490
|
-
const
|
|
8491
|
-
const
|
|
8492
|
-
|
|
8493
|
-
zod.
|
|
8494
|
-
|
|
8495
|
-
|
|
9462
|
+
const getVariableResponsePrimaryOneOneMax = 16384;
|
|
9463
|
+
const getVariableResponsePreviewOneOneMax = 16384;
|
|
9464
|
+
const GetVariableResponse = zod.object({
|
|
9465
|
+
"primary": zod.union([zod.union([
|
|
9466
|
+
zod.string().max(getVariableResponsePrimaryOneOneMax),
|
|
9467
|
+
zod.number(),
|
|
9468
|
+
zod.boolean()
|
|
9469
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).optional().describe("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"),
|
|
9470
|
+
"preview": zod.union([zod.union([
|
|
9471
|
+
zod.string().max(getVariableResponsePreviewOneOneMax),
|
|
9472
|
+
zod.number(),
|
|
9473
|
+
zod.boolean()
|
|
9474
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).optional().describe("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")
|
|
9475
|
+
}).describe("One variable's values, per kind. A kind with no value is absent.\n");
|
|
8496
9476
|
/**
|
|
8497
|
-
* Removes
|
|
8498
|
-
*
|
|
8499
|
-
*
|
|
8500
|
-
* another owner of the same project holds answers `var.not_found` and leaves
|
|
8501
|
-
* that owner's value standing.
|
|
9477
|
+
* Removes a variable for the requested kind, or for both kinds without
|
|
9478
|
+
* `kind`. A name with no value for that kind answers `var.not_found`.
|
|
9479
|
+
* Existing deployments keep the values they froze.
|
|
8502
9480
|
* @summary Delete a variable
|
|
8503
9481
|
*/
|
|
8504
9482
|
const deleteVariablePathVariableNameMax = 255;
|
|
8505
9483
|
const deleteVariablePathVariableNameRegExp = /* @__PURE__ */ new RegExp("^\\w+$");
|
|
8506
9484
|
const DeleteVariableParams = zod.object({ "variable_name": zod.string().min(1).max(255).regex(deleteVariablePathVariableNameRegExp).describe("The name of the variable.") });
|
|
8507
9485
|
const deleteVariableQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8508
|
-
const deleteVariableQueryEnvironmentNameMax = 63;
|
|
8509
|
-
const deleteVariableQueryEnvironmentNameRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
8510
9486
|
const DeleteVariableQueryParams = zod.strictObject({
|
|
8511
9487
|
"project_id": zod.string().regex(deleteVariableQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
8512
|
-
"
|
|
9488
|
+
"kind": zod.enum(["primary", "preview"]).optional().describe("The kind of value to address. Omit it for both kinds.\n")
|
|
8513
9489
|
});
|
|
8514
9490
|
const DeleteVariableResponse = zod.void();
|
|
8515
9491
|
/**
|
|
8516
|
-
* Makes a release live on
|
|
8517
|
-
* happen atomically: when the call returns,
|
|
8518
|
-
* release and the record exists; on any failure
|
|
8519
|
-
*
|
|
9492
|
+
* Makes a release live on a set of targets by recording a deployment. The
|
|
9493
|
+
* two happen atomically: when the call returns, every target serves the
|
|
9494
|
+
* named release and the record exists; on any failure every target keeps
|
|
9495
|
+
* serving what it served and no record is written.
|
|
9496
|
+
*
|
|
9497
|
+
* The release is named by exactly one of `release_id` or `content_hash`
|
|
9498
|
+
* (both or neither answers `400` with `dep.invalid`), and must already
|
|
9499
|
+
* exist in the project: deploying never assembles a release. An
|
|
9500
|
+
* unknown release id or digest answers `404` with `rel.not_found`, and a
|
|
9501
|
+
* revoked release answers `409` with `rel.revoked`.
|
|
9502
|
+
*
|
|
9503
|
+
* `targets` lists `primary`, which expands to every primary origin of the
|
|
9504
|
+
* project, and exact origins. An origin that is neither a primary origin
|
|
9505
|
+
* of the project nor matches one of its preview patterns answers `403`
|
|
9506
|
+
* with `proj.origin_not_allowed`, and `primary` on a project with no
|
|
9507
|
+
* primary origin answers `400` with `dep.invalid`. The deployment records
|
|
9508
|
+
* the resolved origins, sorted, never the keyword.
|
|
9509
|
+
*
|
|
9510
|
+
* A deployment to preview URLs creates the preview for each of them, or
|
|
9511
|
+
* renews it when it exists, in the same transaction, with the expiry set
|
|
9512
|
+
* from `ttl`; each target in the response carries that expiry. It always
|
|
9513
|
+
* writes a new deployment, answering `201`, even when the URLs already
|
|
9514
|
+
* serve the release: that record is the renewal. Primary origins and
|
|
9515
|
+
* preview URLs cannot be mixed in one deployment: that answers `400` with
|
|
9516
|
+
* `dep.invalid`.
|
|
8520
9517
|
*
|
|
8521
|
-
*
|
|
8522
|
-
*
|
|
8523
|
-
*
|
|
8524
|
-
*
|
|
9518
|
+
* A deployment freezes the variable values the project stores for its
|
|
9519
|
+
* kind: primary origins use the primary values, preview URLs the preview
|
|
9520
|
+
* values, with no fallback from one to the other. A release that
|
|
9521
|
+
* references a variable with no value for that kind answers `400` with
|
|
9522
|
+
* `dep.variables_missing`, naming the kind and every missing variable, and
|
|
9523
|
+
* nothing is written.
|
|
8525
9524
|
*
|
|
8526
|
-
*
|
|
8527
|
-
*
|
|
8528
|
-
*
|
|
8529
|
-
*
|
|
8530
|
-
* content
|
|
8531
|
-
*
|
|
8532
|
-
*
|
|
9525
|
+
* A deployment to primary origins is idempotent on what is served: when
|
|
9526
|
+
* every resolved target already serves the release with the same frozen
|
|
9527
|
+
* variable values, nothing changes and the call answers `200` with the
|
|
9528
|
+
* newest deployment to those targets, so a re-run of `zitadel deploy` on
|
|
9529
|
+
* unchanged content is a no-op end to end. The same release with a
|
|
9530
|
+
* changed variable value is a new deployment.
|
|
9531
|
+
* Anything else writes a new record covering all of the resolved targets,
|
|
9532
|
+
* including the same release returning after something else was served in
|
|
9533
|
+
* between: the log is append-only, and each record is one act of making a
|
|
9534
|
+
* release live.
|
|
8533
9535
|
*
|
|
8534
|
-
* `
|
|
8535
|
-
*
|
|
8536
|
-
*
|
|
8537
|
-
*
|
|
9536
|
+
* `expected_deployment_id` guards against racing another deploy: when
|
|
9537
|
+
* present, the write only happens if the newest deployment to any of the
|
|
9538
|
+
* resolved targets still is the one named, and a mismatch answers `409`
|
|
9539
|
+
* with `dep.conflict`, carrying the actual newest deployment.
|
|
8538
9540
|
* @summary Create a deployment
|
|
8539
9541
|
*/
|
|
8540
9542
|
const createDeploymentQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8541
9543
|
const CreateDeploymentQueryParams = zod.strictObject({ "project_id": zod.string().regex(createDeploymentQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
8542
|
-
const createDeploymentBodyEnvironmentMax = 63;
|
|
8543
|
-
const createDeploymentBodyEnvironmentRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
8544
9544
|
const createDeploymentBodyReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
8545
|
-
const
|
|
8546
|
-
const
|
|
9545
|
+
const createDeploymentBodyContentHashMin = 71;
|
|
9546
|
+
const createDeploymentBodyContentHashMax = 71;
|
|
9547
|
+
const createDeploymentBodyContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
9548
|
+
const createDeploymentBodyTargetsItemMax = 2048;
|
|
9549
|
+
const createDeploymentBodyTargetsItemRegExp = /* @__PURE__ */ new RegExp("^(primary|https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?)$");
|
|
9550
|
+
const createDeploymentBodyTargetsMax = 50;
|
|
9551
|
+
const createDeploymentBodyTtlRegExp = /* @__PURE__ */ new RegExp("^[1-9][0-9]{0,5}[mhd]$");
|
|
8547
9552
|
const createDeploymentBodyMessageMax = 1024;
|
|
8548
|
-
const
|
|
9553
|
+
const createDeploymentBodyExpectedDeploymentIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8549
9554
|
const CreateDeploymentBody = zod.object({
|
|
8550
|
-
"
|
|
8551
|
-
"
|
|
8552
|
-
"
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
"rollback"
|
|
8556
|
-
]).optional().describe("Why the deployment was created. All three are the same operation — a new\ndeployment pointing the environment at a release — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the environment.\n- `promote` — a release that already runs on another environment goes live\n here; `source_environment_id` records where it came from.\n- `rollback` — a release the environment ran earlier goes live again.\n"),
|
|
8557
|
-
"source_environment": zod.union([zod.string().max(63).regex(createDeploymentBodySourceEnvironmentOneRegExp).describe("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"), zod.null()]).optional().describe("The name of the environment the release is promoted from. Required when\n`reason` is `promote`, rejected otherwise — before the name is\nresolved, so a source on a non-promotion answers `400` whether or not\nthe name exists.\n"),
|
|
9555
|
+
"release_id": zod.string().regex(createDeploymentBodyReleaseIdRegExp).optional().describe("The opaque, immutable identifier of a release."),
|
|
9556
|
+
"content_hash": zod.string().min(71).max(71).regex(createDeploymentBodyContentHashRegExp).optional().describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
9557
|
+
"targets": zod.array(zod.string().max(createDeploymentBodyTargetsItemMax).regex(createDeploymentBodyTargetsItemRegExp)).min(1).max(50).describe("Where the release goes live. Each entry is one of:\n\n- `primary` — every primary origin of the project, expanded when the\n deployment is created. The deployment records the origins it expanded\n to, so a primary origin added later is not part of it.\n- An exact origin, such as `https://app.acme.com`, in the form `Origin`\n describes, which must be one of the project's primary origins or match\n one of its preview patterns.\n\nA deployment goes either to primary origins or to preview URLs, never to\nboth. It covers every target in one transaction: either all of them serve\nthe release afterwards or none does.\n"),
|
|
9558
|
+
"ttl": zod.string().regex(createDeploymentBodyTtlRegExp).optional().describe("How long a preview stays live after the deployment that writes it: a\npositive whole number followed by `m` for minutes, `h` for hours or `d`\nfor days.\n"),
|
|
9559
|
+
"reason": zod.enum(["deploy", "rollback"]).optional().describe("Why the deployment was created. Both are the same operation — a new\ndeployment making a release live on its targets — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the targets.\n- `rollback` — a release the targets served earlier goes live again.\n `POST /deployments/{deployment_id}/rollback` records it, and so may\n `POST /deployments` when the caller picks the earlier release itself.\n"),
|
|
8558
9560
|
"message": zod.string().max(createDeploymentBodyMessageMax).optional().describe("A short free-form summary of why this deployment happened, analogous to\na git commit message. Recorded on the deployment's metadata and shown\nwhen listing the history.\n"),
|
|
8559
|
-
"
|
|
8560
|
-
}).describe("The release to make live and the
|
|
9561
|
+
"expected_deployment_id": zod.string().regex(createDeploymentBodyExpectedDeploymentIdRegExp).optional().describe("The opaque, immutable identifier of a deployment.")
|
|
9562
|
+
}).describe("The release to make live and the targets to make it live on. The release\nis named by exactly one of `release_id` or `content_hash`; a request with\nboth or neither answers `400` with `dep.invalid`.\n\n`deployed_at` and `deployed_by` are derived server-side from the caller's\nauthentication context and are not accepted here.\n");
|
|
8561
9563
|
const createDeploymentResponseIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8562
9564
|
const createDeploymentResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8563
9565
|
const createDeploymentResponseReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
9566
|
+
const createDeploymentResponseTargetsItemOriginMax = 2048;
|
|
9567
|
+
const createDeploymentResponseTargetsItemOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
8564
9568
|
const createDeploymentResponseMetadataMessageOneMax = 1024;
|
|
8565
|
-
const
|
|
8566
|
-
const createDeploymentResponseMetadataSourceEnvironmentNameOneRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
9569
|
+
const createDeploymentResponseMetadataRollbackToOneRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8567
9570
|
const createDeploymentResponseReleaseIdRegExpOne = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
8568
9571
|
const createDeploymentResponseReleaseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9572
|
+
const createDeploymentResponseReleaseContentHashMin = 71;
|
|
9573
|
+
const createDeploymentResponseReleaseContentHashMax = 71;
|
|
9574
|
+
const createDeploymentResponseReleaseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
8569
9575
|
const createDeploymentResponseReleaseMetadataMessageOneMax = 1024;
|
|
8570
9576
|
const createDeploymentResponseReleaseMetadataGitShaOneMax = 64;
|
|
8571
9577
|
const createDeploymentResponseReleaseMetadataGitDirtyDefault = false;
|
|
@@ -8575,18 +9581,16 @@ const createDeploymentResponseReleasePointersMax = 50;
|
|
|
8575
9581
|
const CreateDeploymentResponse = zod.object({
|
|
8576
9582
|
"id": zod.string().regex(createDeploymentResponseIdRegExp).describe("The opaque, immutable identifier of a deployment."),
|
|
8577
9583
|
"project_id": zod.string().regex(createDeploymentResponseProjectIdRegExp),
|
|
8578
|
-
"environment_id": zod.string().describe("The environment this deployment made the release live on."),
|
|
8579
9584
|
"release_id": zod.string().regex(createDeploymentResponseReleaseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
9585
|
+
"targets": zod.array(zod.object({
|
|
9586
|
+
"origin": zod.string().max(createDeploymentResponseTargetsItemOriginMax).regex(createDeploymentResponseTargetsItemOriginRegExp).describe("A web origin: `http` or `https`, a lowercase host (a DNS name or a\nbracketed IPv6 address) and, when it is not the scheme's default, a port\nfrom 1 to 65535. No user info, path, query or fragment, and no trailing\nslash. Compared exactly, so `https://app.acme.com` and\n`https://app.acme.com:443` are different strings.\n"),
|
|
9587
|
+
"expires_at": zod.iso.datetime({ "offset": true }).optional().describe("Present only on a target that is a preview URL: the expiry this\ndeployment set for its preview. Fixed when the deployment is created,\nlike the rest of the record: a later deployment to the URL renews the\npreview and records its own expiry, and removing the preview or\nletting it expire leaves this value as it was. Absent on a primary\norigin, which does not expire.\n")
|
|
9588
|
+
}).describe("One origin a deployment made its release live on.")).min(1).describe("The origins this deployment made the release live on, as resolved when\nit was created: `primary` appears here as the origins it expanded to.\nSorted by origin.\n"),
|
|
8580
9589
|
"deployed_at": zod.iso.datetime({ "offset": true }).describe("When the deployment was created."),
|
|
8581
9590
|
"metadata": zod.object({
|
|
8582
|
-
"reason": zod.enum([
|
|
8583
|
-
"deploy",
|
|
8584
|
-
"promote",
|
|
8585
|
-
"rollback"
|
|
8586
|
-
]).optional().describe("Why the deployment was created. All three are the same operation — a new\ndeployment pointing the environment at a release — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the environment.\n- `promote` — a release that already runs on another environment goes live\n here; `source_environment_id` records where it came from.\n- `rollback` — a release the environment ran earlier goes live again.\n"),
|
|
9591
|
+
"reason": zod.enum(["deploy", "rollback"]).describe("Why the deployment was created. Both are the same operation — a new\ndeployment making a release live on its targets — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the targets.\n- `rollback` — a release the targets served earlier goes live again.\n `POST /deployments/{deployment_id}/rollback` records it, and so may\n `POST /deployments` when the caller picks the earlier release itself.\n"),
|
|
8587
9592
|
"message": zod.union([zod.string().max(createDeploymentResponseMetadataMessageOneMax), zod.null()]).optional().describe("The caller-supplied summary of why this deployment happened, analogous\nto a git commit message.\n"),
|
|
8588
|
-
"
|
|
8589
|
-
"source_environment_name": zod.union([zod.string().max(63).regex(createDeploymentResponseMetadataSourceEnvironmentNameOneRegExp).describe("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"), zod.null()]).optional().describe("The name the source environment had at deployment time, set exactly\nwhen `source_environment_id` is. A snapshot for reading the history,\nnot an address: a later rename does not update it, and the id is what\nidentifies the environment.\n"),
|
|
9593
|
+
"rollback_to": zod.union([zod.string().regex(createDeploymentResponseMetadataRollbackToOneRegExp).describe("The opaque, immutable identifier of a deployment."), zod.null()]).optional().describe("The deployment `POST /deployments/{deployment_id}/rollback` re-applied,\nwith its release and its targets. Null or absent for every other\ndeployment, including one created by `POST /deployments` with\n`reason: rollback`.\n"),
|
|
8590
9594
|
"deployed_by": zod.union([zod.string(), zod.null()]).optional().describe("The identity that created the deployment. Absent when the caller is a\nmachine principal carrying no user identity, which is the common case\nfor deployments made from CI.\n"),
|
|
8591
9595
|
"deployed_by_type": zod.union([zod.enum([
|
|
8592
9596
|
"human",
|
|
@@ -8594,10 +9598,11 @@ const CreateDeploymentResponse = zod.object({
|
|
|
8594
9598
|
"system",
|
|
8595
9599
|
"agent"
|
|
8596
9600
|
]), zod.null()]).optional().describe("What kind of principal `deployed_by` names.")
|
|
8597
|
-
}).describe("Why the release went live
|
|
9601
|
+
}).describe("Why the release went live and who made it happen. Set when the deployment\nis created and never mutated afterwards — enrichment of the record, while\nthe release, targets and timestamp on the deployment itself say what ran\nwhere and when.\n"),
|
|
8598
9602
|
"release": zod.object({
|
|
8599
9603
|
"id": zod.string().regex(createDeploymentResponseReleaseIdRegExpOne).describe("The opaque, immutable identifier of a release."),
|
|
8600
9604
|
"project_id": zod.string().regex(createDeploymentResponseReleaseProjectIdRegExp),
|
|
9605
|
+
"content_hash": zod.string().min(71).max(71).regex(createDeploymentResponseReleaseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
8601
9606
|
"metadata": zod.object({
|
|
8602
9607
|
"message": zod.union([zod.string().max(createDeploymentResponseReleaseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
8603
9608
|
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
@@ -8611,24 +9616,35 @@ const CreateDeploymentResponse = zod.object({
|
|
|
8611
9616
|
"agent"
|
|
8612
9617
|
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
8613
9618
|
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
9619
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
8614
9620
|
"pointers": zod.array(zod.object({
|
|
8615
9621
|
"kind": zod.enum([
|
|
8616
9622
|
"schema",
|
|
8617
9623
|
"flow_definition",
|
|
8618
|
-
"branding"
|
|
9624
|
+
"branding",
|
|
9625
|
+
"idp"
|
|
8619
9626
|
]).describe("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"),
|
|
8620
|
-
"handle": zod.string().min(1).max(256).describe("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"),
|
|
9627
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
8621
9628
|
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
8622
9629
|
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
8623
|
-
}).optional().describe("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
|
|
8624
|
-
}).describe("An immutable record of a release being made live on
|
|
9630
|
+
}).optional().describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n")
|
|
9631
|
+
}).describe("An immutable record of a release being made live on a set of targets.\n\nDeploying and rolling back both create a deployment. The record is what\nran where and when — the release, the targets and the timestamp — plus\nmetadata saying why and who. It is append-only: written once, in one\ntransaction for all of its targets, and never changed afterwards, so the\ndeployment log is the audit trail of what ran where.\n\nA target serves the release of the newest deployment that targeted it.\nAn older deployment stays in the history after a newer one replaces it on\nsome or all of its targets.\n");
|
|
8625
9632
|
/**
|
|
8626
9633
|
* Lists deployments newest first: what ran where, and when.
|
|
8627
9634
|
*
|
|
8628
|
-
*
|
|
8629
|
-
*
|
|
8630
|
-
*
|
|
8631
|
-
*
|
|
9635
|
+
* By default the list is the history: every deployment of the project, each
|
|
9636
|
+
* with every target it made the release live on. With `origin`, it is the
|
|
9637
|
+
* history of that origin alone, and its first row is the deployment the
|
|
9638
|
+
* origin serves.
|
|
9639
|
+
*
|
|
9640
|
+
* With `live=true`, the list is what is served now: the newest deployment
|
|
9641
|
+
* to each target, each carrying only the targets it still serves. A
|
|
9642
|
+
* preview URL is served only while its preview is live, and its
|
|
9643
|
+
* `expires_at` is the expiry its newest deployment set, which is the
|
|
9644
|
+
* preview's current one. A deployment every target of which has since
|
|
9645
|
+
* been replaced, or whose previews have all expired or been removed, does
|
|
9646
|
+
* not appear. Combined with `origin`, the live view is the one deployment
|
|
9647
|
+
* that origin serves, or empty.
|
|
8632
9648
|
*
|
|
8633
9649
|
* `expand: ["release"]` embeds the release each deployment made live, so a
|
|
8634
9650
|
* history renders with each entry's content without resolving `release_id`
|
|
@@ -8637,13 +9653,15 @@ const CreateDeploymentResponse = zod.object({
|
|
|
8637
9653
|
* @summary List deployments
|
|
8638
9654
|
*/
|
|
8639
9655
|
const listDeploymentsQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8640
|
-
const
|
|
8641
|
-
const
|
|
9656
|
+
const listDeploymentsQueryOriginMax = 2048;
|
|
9657
|
+
const listDeploymentsQueryOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
9658
|
+
const listDeploymentsQueryLiveDefault = false;
|
|
8642
9659
|
const listDeploymentsQueryLimitDefault = 20;
|
|
8643
9660
|
const listDeploymentsQueryLimitMax = 100;
|
|
8644
9661
|
const ListDeploymentsQueryParams = zod.strictObject({
|
|
8645
9662
|
"project_id": zod.string().regex(listDeploymentsQueryProjectIdRegExp).describe("The unique identifier of the project"),
|
|
8646
|
-
"
|
|
9663
|
+
"origin": zod.string().max(listDeploymentsQueryOriginMax).regex(listDeploymentsQueryOriginRegExp).optional().describe("Narrows the list to the deployments that targeted this origin, given\nexactly as the deployment records it. An origin no deployment targeted\nanswers an empty list, not an error.\n"),
|
|
9664
|
+
"live": zod.boolean().default(false).describe("Lists what each target serves now instead of the history. Defaults\nto `false`.\n"),
|
|
8647
9665
|
"expand": zod.array(zod.enum(["release"]).describe("A related object to embed on each returned deployment.\n\n- `release`: the release this deployment made live, as `release` on each\n deployment — the same representation `GET /releases/{release_id}` serves.\n The property is omitted entirely when not requested, so \"did not ask\" is\n distinguishable from asked-for content. One release per deployment, so no\n cap and no truncation flag.\n\n Requires `release.read` in addition to `deployment.read`.\n")).optional().describe("Related objects to embed on each returned deployment."),
|
|
8648
9666
|
"limit": zod.int().min(1).max(100).default(20).describe("Maximum number of items to return."),
|
|
8649
9667
|
"page_token": zod.string().optional().describe("Token for fetching the next page of results.\nObtain this value from `next_page_token` in the previous response.\nOmit to start from the beginning.\nIts format is opaque and may change between releases.\n")
|
|
@@ -8651,11 +9669,15 @@ const ListDeploymentsQueryParams = zod.strictObject({
|
|
|
8651
9669
|
const listDeploymentsResponseDeploymentsItemIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8652
9670
|
const listDeploymentsResponseDeploymentsItemProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8653
9671
|
const listDeploymentsResponseDeploymentsItemReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
9672
|
+
const listDeploymentsResponseDeploymentsItemTargetsItemOriginMax = 2048;
|
|
9673
|
+
const listDeploymentsResponseDeploymentsItemTargetsItemOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
8654
9674
|
const listDeploymentsResponseDeploymentsItemMetadataMessageOneMax = 1024;
|
|
8655
|
-
const
|
|
8656
|
-
const listDeploymentsResponseDeploymentsItemMetadataSourceEnvironmentNameOneRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
9675
|
+
const listDeploymentsResponseDeploymentsItemMetadataRollbackToOneRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8657
9676
|
const listDeploymentsResponseDeploymentsItemReleaseIdRegExpOne = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
8658
9677
|
const listDeploymentsResponseDeploymentsItemReleaseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9678
|
+
const listDeploymentsResponseDeploymentsItemReleaseContentHashMin = 71;
|
|
9679
|
+
const listDeploymentsResponseDeploymentsItemReleaseContentHashMax = 71;
|
|
9680
|
+
const listDeploymentsResponseDeploymentsItemReleaseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
8659
9681
|
const listDeploymentsResponseDeploymentsItemReleaseMetadataMessageOneMax = 1024;
|
|
8660
9682
|
const listDeploymentsResponseDeploymentsItemReleaseMetadataGitShaOneMax = 64;
|
|
8661
9683
|
const listDeploymentsResponseDeploymentsItemReleaseMetadataGitDirtyDefault = false;
|
|
@@ -8666,18 +9688,16 @@ const ListDeploymentsResponse = zod.object({
|
|
|
8666
9688
|
"deployments": zod.array(zod.object({
|
|
8667
9689
|
"id": zod.string().regex(listDeploymentsResponseDeploymentsItemIdRegExp).describe("The opaque, immutable identifier of a deployment."),
|
|
8668
9690
|
"project_id": zod.string().regex(listDeploymentsResponseDeploymentsItemProjectIdRegExp),
|
|
8669
|
-
"environment_id": zod.string().describe("The environment this deployment made the release live on."),
|
|
8670
9691
|
"release_id": zod.string().regex(listDeploymentsResponseDeploymentsItemReleaseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
9692
|
+
"targets": zod.array(zod.object({
|
|
9693
|
+
"origin": zod.string().max(listDeploymentsResponseDeploymentsItemTargetsItemOriginMax).regex(listDeploymentsResponseDeploymentsItemTargetsItemOriginRegExp).describe("A web origin: `http` or `https`, a lowercase host (a DNS name or a\nbracketed IPv6 address) and, when it is not the scheme's default, a port\nfrom 1 to 65535. No user info, path, query or fragment, and no trailing\nslash. Compared exactly, so `https://app.acme.com` and\n`https://app.acme.com:443` are different strings.\n"),
|
|
9694
|
+
"expires_at": zod.iso.datetime({ "offset": true }).optional().describe("Present only on a target that is a preview URL: the expiry this\ndeployment set for its preview. Fixed when the deployment is created,\nlike the rest of the record: a later deployment to the URL renews the\npreview and records its own expiry, and removing the preview or\nletting it expire leaves this value as it was. Absent on a primary\norigin, which does not expire.\n")
|
|
9695
|
+
}).describe("One origin a deployment made its release live on.")).min(1).describe("The origins this deployment made the release live on, as resolved when\nit was created: `primary` appears here as the origins it expanded to.\nSorted by origin.\n"),
|
|
8671
9696
|
"deployed_at": zod.iso.datetime({ "offset": true }).describe("When the deployment was created."),
|
|
8672
9697
|
"metadata": zod.object({
|
|
8673
|
-
"reason": zod.enum([
|
|
8674
|
-
"deploy",
|
|
8675
|
-
"promote",
|
|
8676
|
-
"rollback"
|
|
8677
|
-
]).optional().describe("Why the deployment was created. All three are the same operation — a new\ndeployment pointing the environment at a release — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the environment.\n- `promote` — a release that already runs on another environment goes live\n here; `source_environment_id` records where it came from.\n- `rollback` — a release the environment ran earlier goes live again.\n"),
|
|
9698
|
+
"reason": zod.enum(["deploy", "rollback"]).describe("Why the deployment was created. Both are the same operation — a new\ndeployment making a release live on its targets — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the targets.\n- `rollback` — a release the targets served earlier goes live again.\n `POST /deployments/{deployment_id}/rollback` records it, and so may\n `POST /deployments` when the caller picks the earlier release itself.\n"),
|
|
8678
9699
|
"message": zod.union([zod.string().max(listDeploymentsResponseDeploymentsItemMetadataMessageOneMax), zod.null()]).optional().describe("The caller-supplied summary of why this deployment happened, analogous\nto a git commit message.\n"),
|
|
8679
|
-
"
|
|
8680
|
-
"source_environment_name": zod.union([zod.string().max(63).regex(listDeploymentsResponseDeploymentsItemMetadataSourceEnvironmentNameOneRegExp).describe("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"), zod.null()]).optional().describe("The name the source environment had at deployment time, set exactly\nwhen `source_environment_id` is. A snapshot for reading the history,\nnot an address: a later rename does not update it, and the id is what\nidentifies the environment.\n"),
|
|
9700
|
+
"rollback_to": zod.union([zod.string().regex(listDeploymentsResponseDeploymentsItemMetadataRollbackToOneRegExp).describe("The opaque, immutable identifier of a deployment."), zod.null()]).optional().describe("The deployment `POST /deployments/{deployment_id}/rollback` re-applied,\nwith its release and its targets. Null or absent for every other\ndeployment, including one created by `POST /deployments` with\n`reason: rollback`.\n"),
|
|
8681
9701
|
"deployed_by": zod.union([zod.string(), zod.null()]).optional().describe("The identity that created the deployment. Absent when the caller is a\nmachine principal carrying no user identity, which is the common case\nfor deployments made from CI.\n"),
|
|
8682
9702
|
"deployed_by_type": zod.union([zod.enum([
|
|
8683
9703
|
"human",
|
|
@@ -8685,10 +9705,11 @@ const ListDeploymentsResponse = zod.object({
|
|
|
8685
9705
|
"system",
|
|
8686
9706
|
"agent"
|
|
8687
9707
|
]), zod.null()]).optional().describe("What kind of principal `deployed_by` names.")
|
|
8688
|
-
}).describe("Why the release went live
|
|
9708
|
+
}).describe("Why the release went live and who made it happen. Set when the deployment\nis created and never mutated afterwards — enrichment of the record, while\nthe release, targets and timestamp on the deployment itself say what ran\nwhere and when.\n"),
|
|
8689
9709
|
"release": zod.object({
|
|
8690
9710
|
"id": zod.string().regex(listDeploymentsResponseDeploymentsItemReleaseIdRegExpOne).describe("The opaque, immutable identifier of a release."),
|
|
8691
9711
|
"project_id": zod.string().regex(listDeploymentsResponseDeploymentsItemReleaseProjectIdRegExp),
|
|
9712
|
+
"content_hash": zod.string().min(71).max(71).regex(listDeploymentsResponseDeploymentsItemReleaseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
8692
9713
|
"metadata": zod.object({
|
|
8693
9714
|
"message": zod.union([zod.string().max(listDeploymentsResponseDeploymentsItemReleaseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
8694
9715
|
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
@@ -8702,19 +9723,21 @@ const ListDeploymentsResponse = zod.object({
|
|
|
8702
9723
|
"agent"
|
|
8703
9724
|
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
8704
9725
|
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
9726
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
8705
9727
|
"pointers": zod.array(zod.object({
|
|
8706
9728
|
"kind": zod.enum([
|
|
8707
9729
|
"schema",
|
|
8708
9730
|
"flow_definition",
|
|
8709
|
-
"branding"
|
|
9731
|
+
"branding",
|
|
9732
|
+
"idp"
|
|
8710
9733
|
]).describe("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"),
|
|
8711
|
-
"handle": zod.string().min(1).max(256).describe("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"),
|
|
9734
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
8712
9735
|
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
8713
9736
|
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
8714
|
-
}).optional().describe("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
|
|
8715
|
-
}).describe("An immutable record of a release being made live on
|
|
9737
|
+
}).optional().describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n")
|
|
9738
|
+
}).describe("An immutable record of a release being made live on a set of targets.\n\nDeploying and rolling back both create a deployment. The record is what\nran where and when — the release, the targets and the timestamp — plus\nmetadata saying why and who. It is append-only: written once, in one\ntransaction for all of its targets, and never changed afterwards, so the\ndeployment log is the audit trail of what ran where.\n\nA target serves the release of the newest deployment that targeted it.\nAn older deployment stays in the history after a newer one replaces it on\nsome or all of its targets.\n")),
|
|
8716
9739
|
"next_page_token": zod.union([zod.string(), zod.null()]).optional().describe("Token to pass as `page_token` in the next request to fetch the following page.\nAbsent when there are no more results.\n")
|
|
8717
|
-
}).describe("Deployments, newest first.\n\
|
|
9740
|
+
}).describe("Deployments, newest first.\n\nIn the history (the default), each deployment carries every target it\nmade the release live on. In the live view (`live=true`), each deployment\ncarries only the targets it still serves.\n");
|
|
8718
9741
|
/**
|
|
8719
9742
|
* Reads one deployment record.
|
|
8720
9743
|
*
|
|
@@ -8731,11 +9754,15 @@ const GetDeploymentByIdQueryParams = zod.strictObject({ "project_id": zod.string
|
|
|
8731
9754
|
const getDeploymentByIdResponseIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8732
9755
|
const getDeploymentByIdResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
8733
9756
|
const getDeploymentByIdResponseReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
9757
|
+
const getDeploymentByIdResponseTargetsItemOriginMax = 2048;
|
|
9758
|
+
const getDeploymentByIdResponseTargetsItemOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
8734
9759
|
const getDeploymentByIdResponseMetadataMessageOneMax = 1024;
|
|
8735
|
-
const
|
|
8736
|
-
const getDeploymentByIdResponseMetadataSourceEnvironmentNameOneRegExp = /* @__PURE__ */ new RegExp("^[a-z0-9]([a-z0-9-]*[a-z0-9])?$");
|
|
9760
|
+
const getDeploymentByIdResponseMetadataRollbackToOneRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
8737
9761
|
const getDeploymentByIdResponseReleaseIdRegExpOne = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
8738
9762
|
const getDeploymentByIdResponseReleaseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9763
|
+
const getDeploymentByIdResponseReleaseContentHashMin = 71;
|
|
9764
|
+
const getDeploymentByIdResponseReleaseContentHashMax = 71;
|
|
9765
|
+
const getDeploymentByIdResponseReleaseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
8739
9766
|
const getDeploymentByIdResponseReleaseMetadataMessageOneMax = 1024;
|
|
8740
9767
|
const getDeploymentByIdResponseReleaseMetadataGitShaOneMax = 64;
|
|
8741
9768
|
const getDeploymentByIdResponseReleaseMetadataGitDirtyDefault = false;
|
|
@@ -8745,18 +9772,16 @@ const getDeploymentByIdResponseReleasePointersMax = 50;
|
|
|
8745
9772
|
const GetDeploymentByIdResponse = zod.object({
|
|
8746
9773
|
"id": zod.string().regex(getDeploymentByIdResponseIdRegExp).describe("The opaque, immutable identifier of a deployment."),
|
|
8747
9774
|
"project_id": zod.string().regex(getDeploymentByIdResponseProjectIdRegExp),
|
|
8748
|
-
"environment_id": zod.string().describe("The environment this deployment made the release live on."),
|
|
8749
9775
|
"release_id": zod.string().regex(getDeploymentByIdResponseReleaseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
9776
|
+
"targets": zod.array(zod.object({
|
|
9777
|
+
"origin": zod.string().max(getDeploymentByIdResponseTargetsItemOriginMax).regex(getDeploymentByIdResponseTargetsItemOriginRegExp).describe("A web origin: `http` or `https`, a lowercase host (a DNS name or a\nbracketed IPv6 address) and, when it is not the scheme's default, a port\nfrom 1 to 65535. No user info, path, query or fragment, and no trailing\nslash. Compared exactly, so `https://app.acme.com` and\n`https://app.acme.com:443` are different strings.\n"),
|
|
9778
|
+
"expires_at": zod.iso.datetime({ "offset": true }).optional().describe("Present only on a target that is a preview URL: the expiry this\ndeployment set for its preview. Fixed when the deployment is created,\nlike the rest of the record: a later deployment to the URL renews the\npreview and records its own expiry, and removing the preview or\nletting it expire leaves this value as it was. Absent on a primary\norigin, which does not expire.\n")
|
|
9779
|
+
}).describe("One origin a deployment made its release live on.")).min(1).describe("The origins this deployment made the release live on, as resolved when\nit was created: `primary` appears here as the origins it expanded to.\nSorted by origin.\n"),
|
|
8750
9780
|
"deployed_at": zod.iso.datetime({ "offset": true }).describe("When the deployment was created."),
|
|
8751
9781
|
"metadata": zod.object({
|
|
8752
|
-
"reason": zod.enum([
|
|
8753
|
-
"deploy",
|
|
8754
|
-
"promote",
|
|
8755
|
-
"rollback"
|
|
8756
|
-
]).optional().describe("Why the deployment was created. All three are the same operation — a new\ndeployment pointing the environment at a release — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the environment.\n- `promote` — a release that already runs on another environment goes live\n here; `source_environment_id` records where it came from.\n- `rollback` — a release the environment ran earlier goes live again.\n"),
|
|
9782
|
+
"reason": zod.enum(["deploy", "rollback"]).describe("Why the deployment was created. Both are the same operation — a new\ndeployment making a release live on its targets — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the targets.\n- `rollback` — a release the targets served earlier goes live again.\n `POST /deployments/{deployment_id}/rollback` records it, and so may\n `POST /deployments` when the caller picks the earlier release itself.\n"),
|
|
8757
9783
|
"message": zod.union([zod.string().max(getDeploymentByIdResponseMetadataMessageOneMax), zod.null()]).optional().describe("The caller-supplied summary of why this deployment happened, analogous\nto a git commit message.\n"),
|
|
8758
|
-
"
|
|
8759
|
-
"source_environment_name": zod.union([zod.string().max(63).regex(getDeploymentByIdResponseMetadataSourceEnvironmentNameOneRegExp).describe("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"), zod.null()]).optional().describe("The name the source environment had at deployment time, set exactly\nwhen `source_environment_id` is. A snapshot for reading the history,\nnot an address: a later rename does not update it, and the id is what\nidentifies the environment.\n"),
|
|
9784
|
+
"rollback_to": zod.union([zod.string().regex(getDeploymentByIdResponseMetadataRollbackToOneRegExp).describe("The opaque, immutable identifier of a deployment."), zod.null()]).optional().describe("The deployment `POST /deployments/{deployment_id}/rollback` re-applied,\nwith its release and its targets. Null or absent for every other\ndeployment, including one created by `POST /deployments` with\n`reason: rollback`.\n"),
|
|
8760
9785
|
"deployed_by": zod.union([zod.string(), zod.null()]).optional().describe("The identity that created the deployment. Absent when the caller is a\nmachine principal carrying no user identity, which is the common case\nfor deployments made from CI.\n"),
|
|
8761
9786
|
"deployed_by_type": zod.union([zod.enum([
|
|
8762
9787
|
"human",
|
|
@@ -8764,10 +9789,11 @@ const GetDeploymentByIdResponse = zod.object({
|
|
|
8764
9789
|
"system",
|
|
8765
9790
|
"agent"
|
|
8766
9791
|
]), zod.null()]).optional().describe("What kind of principal `deployed_by` names.")
|
|
8767
|
-
}).describe("Why the release went live
|
|
9792
|
+
}).describe("Why the release went live and who made it happen. Set when the deployment\nis created and never mutated afterwards — enrichment of the record, while\nthe release, targets and timestamp on the deployment itself say what ran\nwhere and when.\n"),
|
|
8768
9793
|
"release": zod.object({
|
|
8769
9794
|
"id": zod.string().regex(getDeploymentByIdResponseReleaseIdRegExpOne).describe("The opaque, immutable identifier of a release."),
|
|
8770
9795
|
"project_id": zod.string().regex(getDeploymentByIdResponseReleaseProjectIdRegExp),
|
|
9796
|
+
"content_hash": zod.string().min(71).max(71).regex(getDeploymentByIdResponseReleaseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
8771
9797
|
"metadata": zod.object({
|
|
8772
9798
|
"message": zod.union([zod.string().max(getDeploymentByIdResponseReleaseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
8773
9799
|
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
@@ -8781,18 +9807,145 @@ const GetDeploymentByIdResponse = zod.object({
|
|
|
8781
9807
|
"agent"
|
|
8782
9808
|
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
8783
9809
|
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
9810
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
9811
|
+
"pointers": zod.array(zod.object({
|
|
9812
|
+
"kind": zod.enum([
|
|
9813
|
+
"schema",
|
|
9814
|
+
"flow_definition",
|
|
9815
|
+
"branding",
|
|
9816
|
+
"idp"
|
|
9817
|
+
]).describe("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"),
|
|
9818
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
9819
|
+
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
9820
|
+
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
9821
|
+
}).optional().describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n")
|
|
9822
|
+
}).describe("An immutable record of a release being made live on a set of targets.\n\nDeploying and rolling back both create a deployment. The record is what\nran where and when — the release, the targets and the timestamp — plus\nmetadata saying why and who. It is append-only: written once, in one\ntransaction for all of its targets, and never changed afterwards, so the\ndeployment log is the audit trail of what ran where.\n\nA target serves the release of the newest deployment that targeted it.\nAn older deployment stays in the history after a newer one replaces it on\nsome or all of its targets.\n");
|
|
9823
|
+
/**
|
|
9824
|
+
* Re-deploys the deployment named in the path: a new deployment with the
|
|
9825
|
+
* same `release_id` and the same `targets`, `reason: rollback`, and
|
|
9826
|
+
* `rollback_to` in its metadata naming the deployment it re-applied. The
|
|
9827
|
+
* variable values that deployment resolved are re-applied with it, so the
|
|
9828
|
+
* targets serve exactly what they served then. The history is append-only,
|
|
9829
|
+
* so the deployments in between stay in it.
|
|
9830
|
+
*
|
|
9831
|
+
* Only a deployment to primary origins can be rolled back. One whose
|
|
9832
|
+
* targets were preview URLs answers `400` with `dep.invalid`; deploy to
|
|
9833
|
+
* the preview again instead. Every target must still be a primary origin
|
|
9834
|
+
* of the project, as `POST /deployments` requires of an exact origin:
|
|
9835
|
+
* when one is not, the request answers `403` with
|
|
9836
|
+
* `proj.origin_not_allowed` naming it, and nothing changes. There is no
|
|
9837
|
+
* narrowing to some of the targets: to roll back one origin, deploy the
|
|
9838
|
+
* earlier release to it with `POST /deployments`.
|
|
9839
|
+
*
|
|
9840
|
+
* When every target already serves the deployment's release, nothing
|
|
9841
|
+
* changes and the call answers `200` with the newest deployment to the
|
|
9842
|
+
* targets.
|
|
9843
|
+
*
|
|
9844
|
+
* The release must not be revoked: a revoked one answers `409` with
|
|
9845
|
+
* `rel.revoked`. An unknown deployment id, or one of another project,
|
|
9846
|
+
* answers `404` with `dep.not_found`.
|
|
9847
|
+
*
|
|
9848
|
+
* A rollback never answers `dep.variables_missing`: the release and the
|
|
9849
|
+
* frozen values it re-applies passed that check together when the named
|
|
9850
|
+
* deployment was made.
|
|
9851
|
+
* @summary Roll back to a deployment
|
|
9852
|
+
*/
|
|
9853
|
+
const rollbackDeploymentPathDeploymentIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
9854
|
+
const RollbackDeploymentParams = zod.object({ "deployment_id": zod.string().regex(rollbackDeploymentPathDeploymentIdRegExp).describe("The unique identifier of the deployment.") });
|
|
9855
|
+
const rollbackDeploymentQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9856
|
+
const RollbackDeploymentQueryParams = zod.strictObject({ "project_id": zod.string().regex(rollbackDeploymentQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
9857
|
+
const rollbackDeploymentBodyMessageMax = 1024;
|
|
9858
|
+
const rollbackDeploymentBodyExpectedDeploymentIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
9859
|
+
const RollbackDeploymentBody = zod.object({
|
|
9860
|
+
"message": zod.string().max(rollbackDeploymentBodyMessageMax).optional().describe("A short free-form summary of why the rollback happened. Recorded on\nthe new deployment's metadata.\n"),
|
|
9861
|
+
"expected_deployment_id": zod.string().regex(rollbackDeploymentBodyExpectedDeploymentIdRegExp).optional().describe("The opaque, immutable identifier of a deployment.")
|
|
9862
|
+
}).describe("What to record alongside the rollback. The release and the targets come\nfrom the deployment named in the path and cannot be changed here.\n");
|
|
9863
|
+
const rollbackDeploymentResponseIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
9864
|
+
const rollbackDeploymentResponseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9865
|
+
const rollbackDeploymentResponseReleaseIdRegExp = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
9866
|
+
const rollbackDeploymentResponseTargetsItemOriginMax = 2048;
|
|
9867
|
+
const rollbackDeploymentResponseTargetsItemOriginRegExp = /* @__PURE__ */ new RegExp("^https?://(\\[[0-9a-f:.]+\\]|[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*)(:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$");
|
|
9868
|
+
const rollbackDeploymentResponseMetadataMessageOneMax = 1024;
|
|
9869
|
+
const rollbackDeploymentResponseMetadataRollbackToOneRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
9870
|
+
const rollbackDeploymentResponseReleaseIdRegExpOne = /* @__PURE__ */ new RegExp("^rel_[a-zA-Z0-9_-]+$");
|
|
9871
|
+
const rollbackDeploymentResponseReleaseProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9872
|
+
const rollbackDeploymentResponseReleaseContentHashMin = 71;
|
|
9873
|
+
const rollbackDeploymentResponseReleaseContentHashMax = 71;
|
|
9874
|
+
const rollbackDeploymentResponseReleaseContentHashRegExp = /* @__PURE__ */ new RegExp("^sha256:[0-9a-f]{64}$");
|
|
9875
|
+
const rollbackDeploymentResponseReleaseMetadataMessageOneMax = 1024;
|
|
9876
|
+
const rollbackDeploymentResponseReleaseMetadataGitShaOneMax = 64;
|
|
9877
|
+
const rollbackDeploymentResponseReleaseMetadataGitDirtyDefault = false;
|
|
9878
|
+
const rollbackDeploymentResponseReleasePointersItemHandleMax = 256;
|
|
9879
|
+
const rollbackDeploymentResponseReleasePointersItemRevisionIdMax = 512;
|
|
9880
|
+
const rollbackDeploymentResponseReleasePointersMax = 50;
|
|
9881
|
+
const RollbackDeploymentResponse = zod.object({
|
|
9882
|
+
"id": zod.string().regex(rollbackDeploymentResponseIdRegExp).describe("The opaque, immutable identifier of a deployment."),
|
|
9883
|
+
"project_id": zod.string().regex(rollbackDeploymentResponseProjectIdRegExp),
|
|
9884
|
+
"release_id": zod.string().regex(rollbackDeploymentResponseReleaseIdRegExp).describe("The opaque, immutable identifier of a release."),
|
|
9885
|
+
"targets": zod.array(zod.object({
|
|
9886
|
+
"origin": zod.string().max(rollbackDeploymentResponseTargetsItemOriginMax).regex(rollbackDeploymentResponseTargetsItemOriginRegExp).describe("A web origin: `http` or `https`, a lowercase host (a DNS name or a\nbracketed IPv6 address) and, when it is not the scheme's default, a port\nfrom 1 to 65535. No user info, path, query or fragment, and no trailing\nslash. Compared exactly, so `https://app.acme.com` and\n`https://app.acme.com:443` are different strings.\n"),
|
|
9887
|
+
"expires_at": zod.iso.datetime({ "offset": true }).optional().describe("Present only on a target that is a preview URL: the expiry this\ndeployment set for its preview. Fixed when the deployment is created,\nlike the rest of the record: a later deployment to the URL renews the\npreview and records its own expiry, and removing the preview or\nletting it expire leaves this value as it was. Absent on a primary\norigin, which does not expire.\n")
|
|
9888
|
+
}).describe("One origin a deployment made its release live on.")).min(1).describe("The origins this deployment made the release live on, as resolved when\nit was created: `primary` appears here as the origins it expanded to.\nSorted by origin.\n"),
|
|
9889
|
+
"deployed_at": zod.iso.datetime({ "offset": true }).describe("When the deployment was created."),
|
|
9890
|
+
"metadata": zod.object({
|
|
9891
|
+
"reason": zod.enum(["deploy", "rollback"]).describe("Why the deployment was created. Both are the same operation — a new\ndeployment making a release live on its targets — and the reason records\nthe caller's intent:\n\n- `deploy` — a release goes live on the targets.\n- `rollback` — a release the targets served earlier goes live again.\n `POST /deployments/{deployment_id}/rollback` records it, and so may\n `POST /deployments` when the caller picks the earlier release itself.\n"),
|
|
9892
|
+
"message": zod.union([zod.string().max(rollbackDeploymentResponseMetadataMessageOneMax), zod.null()]).optional().describe("The caller-supplied summary of why this deployment happened, analogous\nto a git commit message.\n"),
|
|
9893
|
+
"rollback_to": zod.union([zod.string().regex(rollbackDeploymentResponseMetadataRollbackToOneRegExp).describe("The opaque, immutable identifier of a deployment."), zod.null()]).optional().describe("The deployment `POST /deployments/{deployment_id}/rollback` re-applied,\nwith its release and its targets. Null or absent for every other\ndeployment, including one created by `POST /deployments` with\n`reason: rollback`.\n"),
|
|
9894
|
+
"deployed_by": zod.union([zod.string(), zod.null()]).optional().describe("The identity that created the deployment. Absent when the caller is a\nmachine principal carrying no user identity, which is the common case\nfor deployments made from CI.\n"),
|
|
9895
|
+
"deployed_by_type": zod.union([zod.enum([
|
|
9896
|
+
"human",
|
|
9897
|
+
"service",
|
|
9898
|
+
"system",
|
|
9899
|
+
"agent"
|
|
9900
|
+
]), zod.null()]).optional().describe("What kind of principal `deployed_by` names.")
|
|
9901
|
+
}).describe("Why the release went live and who made it happen. Set when the deployment\nis created and never mutated afterwards — enrichment of the record, while\nthe release, targets and timestamp on the deployment itself say what ran\nwhere and when.\n"),
|
|
9902
|
+
"release": zod.object({
|
|
9903
|
+
"id": zod.string().regex(rollbackDeploymentResponseReleaseIdRegExpOne).describe("The opaque, immutable identifier of a release."),
|
|
9904
|
+
"project_id": zod.string().regex(rollbackDeploymentResponseReleaseProjectIdRegExp),
|
|
9905
|
+
"content_hash": zod.string().min(71).max(71).regex(rollbackDeploymentResponseReleaseContentHashRegExp).describe("The content digest of a release: `sha256:` followed by 64 lowercase hex\ncharacters. Always the full digest; no short form is accepted anywhere.\n\nThe digest covers the content of the resources the release pins and\nnothing else. Revision ids, metadata and the project are not part of it.\nA bundle that carries every resource it references therefore has the same\ndigest on every project, and a client can compute it before sending\nanything. When a bundle leaves a referenced resource to the project, the\nrelease pins the project's revision of it too, and the digest covers that\nresource as the project holds it.\n\nTo compute it:\n\n1. Take every resource in the release as the `bundle` of\n `POST /releases/build` carries it, with `kind` set to `schema`,\n `flow_definition`, `branding` or `idp`, and `handle` set to the\n schema's `objectType`, the flow definition's `name`, `default` for\n branding, or the IDP connection's `slug`.\n A `schema-url` entry's content is the entry as written, and its handle\n is the `objectType` of the document the URL serves.\n2. Build the JSON document\n `{\"version\": 1, \"resources\": [{\"kind\": …, \"handle\": …, \"content\": …}, …]}`,\n with `resources` sorted by `kind`, then by `handle`.\n3. Serialise that document as canonical JSON (RFC 8785).\n4. The digest is the SHA-256 of those bytes, written as `sha256:` and\n lowercase hex.\n\nA release built from `pointers` has the digest its pinned revisions would\nhave if they were sent as a bundle.\n\nThe digest identifies a release on the wire but never appears in a path,\nwhich takes the `rel_` id. Fields that look a release up by content say\nso by name: the `content_hash` filter of `GET /releases`, and\n`content_hash` in place of `release_id` on `POST /deployments`.\n"),
|
|
9906
|
+
"metadata": zod.object({
|
|
9907
|
+
"message": zod.union([zod.string().max(rollbackDeploymentResponseReleaseMetadataMessageOneMax), zod.null()]).optional().describe("A short caller-supplied summary of what the release changes, analogous to\na git commit message.\n"),
|
|
9908
|
+
"git_sha": zod.union([zod.string().max(64), zod.null()]).optional().describe("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"),
|
|
9909
|
+
"git_dirty": zod.boolean().default(false).describe("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"),
|
|
9910
|
+
"created_at": zod.iso.datetime({ "offset": true }).describe("When the release was assembled."),
|
|
9911
|
+
"created_by": zod.union([zod.string(), zod.null()]).optional().describe("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"),
|
|
9912
|
+
"created_by_type": zod.union([zod.enum([
|
|
9913
|
+
"human",
|
|
9914
|
+
"service",
|
|
9915
|
+
"system",
|
|
9916
|
+
"agent"
|
|
9917
|
+
]), zod.null()]).optional().describe("What kind of principal `created_by` names.")
|
|
9918
|
+
}).describe("Who assembled the release, when, and from what source. Set when the release\nis assembled and never mutated afterwards.\n"),
|
|
9919
|
+
"revoked_at": zod.union([zod.iso.datetime({ "offset": true }), zod.null()]).describe("When the release was revoked, or null while it is not. A revoked\nrelease cannot be deployed and is refused on every path that would\nserve it, including to a build that pins its digest. No origin serves\na revoked release, since a release an origin still serves cannot be\nrevoked; earlier deployments that named it stay in the history.\n"),
|
|
8784
9920
|
"pointers": zod.array(zod.object({
|
|
8785
9921
|
"kind": zod.enum([
|
|
8786
9922
|
"schema",
|
|
8787
9923
|
"flow_definition",
|
|
8788
|
-
"branding"
|
|
9924
|
+
"branding",
|
|
9925
|
+
"idp"
|
|
8789
9926
|
]).describe("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"),
|
|
8790
|
-
"handle": zod.string().min(1).max(256).describe("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"),
|
|
9927
|
+
"handle": zod.string().min(1).max(256).describe("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- `idp` — the connection's `slug`, so `google` and `github` are\n separate resources a release pins separately\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"),
|
|
8791
9928
|
"revision_id": zod.string().min(1).max(512).describe("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")
|
|
8792
9929
|
}).describe("One entry of the set a release pins: the revision of a single resource that\nthis release includes.\n")).min(1).max(50).describe("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")
|
|
8793
|
-
}).optional().describe("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
|
|
8794
|
-
}).describe("An immutable record of a release being made live on
|
|
9930
|
+
}).optional().describe("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 origin. Deploying it is a\nseparate call.\n\nTwo identifiers: `id` is the one paths and `release_id` fields take;\n`content_hash` is the digest of the content the release pins, printed by\nthe CLI and pinned by builds, and looked up through fields that name it.\n")
|
|
9931
|
+
}).describe("An immutable record of a release being made live on a set of targets.\n\nDeploying and rolling back both create a deployment. The record is what\nran where and when — the release, the targets and the timestamp — plus\nmetadata saying why and who. It is append-only: written once, in one\ntransaction for all of its targets, and never changed afterwards, so the\ndeployment log is the audit trail of what ran where.\n\nA target serves the release of the newest deployment that targeted it.\nAn older deployment stays in the history after a newer one replaces it on\nsome or all of its targets.\n");
|
|
9932
|
+
/**
|
|
9933
|
+
* Returns the variable values the deployment froze when it was made. Later
|
|
9934
|
+
* changes to the project's variables do not affect them. A secret reads
|
|
9935
|
+
* back as `{"secret": true}`.
|
|
9936
|
+
* @summary Get a deployment's variables
|
|
9937
|
+
*/
|
|
9938
|
+
const getDeploymentVariablesPathDeploymentIdRegExp = /* @__PURE__ */ new RegExp("^dep_[a-zA-Z0-9_-]+$");
|
|
9939
|
+
const GetDeploymentVariablesParams = zod.object({ "deployment_id": zod.string().regex(getDeploymentVariablesPathDeploymentIdRegExp).describe("The unique identifier of the deployment.") });
|
|
9940
|
+
const getDeploymentVariablesQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
|
|
9941
|
+
const GetDeploymentVariablesQueryParams = zod.strictObject({ "project_id": zod.string().regex(getDeploymentVariablesQueryProjectIdRegExp).describe("The unique identifier of the project") });
|
|
9942
|
+
const getDeploymentVariablesResponseOneOneMax = 16384;
|
|
9943
|
+
const GetDeploymentVariablesResponse = zod.record(zod.string(), zod.union([zod.union([
|
|
9944
|
+
zod.string().max(getDeploymentVariablesResponseOneOneMax),
|
|
9945
|
+
zod.number(),
|
|
9946
|
+
zod.boolean()
|
|
9947
|
+
]).describe("A variable's value. JSON scalars only — a string, a number, or a boolean.\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.\n"), zod.object({ "secret": zod.literal(true).describe("Always `true`. A non-secret variable is returned as a bare scalar instead.") }).describe("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.\n\nSecrets are still usable without being readable: a configuration document\nreferencing `${{ NAME }}` resolves against the decrypted value when it is\nserved.\n")]).describe("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")).describe("The variables a deployment froze, keyed by name.\n\nAn empty object is an ordinary answer, not an error.\n");
|
|
8795
9948
|
//#endregion
|
|
8796
|
-
export { BeginUserPasskeyRegistrationBody, BeginUserPasskeyRegistrationParams, BeginUserPasskeyRegistrationResponse, CompleteClaimBody, CompleteClaimParams, CompleteClaimResponse, CreateAuthAttemptBody, CreateAuthAttemptResponse, CreateBrandingBody, CreateBrandingQueryParams, CreateBrandingResponse, CreateDeploymentBody, CreateDeploymentQueryParams, CreateDeploymentResponse, CreateFlowBody, CreateFlowDefinitionBody, CreateFlowDefinitionResponse, CreateFlowResponse, CreateGrantBody, CreateGrantQueryParams, CreateGrantResponse, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateIdpBody, CreateIdpQueryParams, CreateIdpResponse, CreateProjectBody, CreateProjectResponse, CreateReleaseBody, CreateReleaseQueryParams, CreateReleaseResponse, CreateSchemaBody, CreateSchemaQueryParams, CreateSchemaResponse, CreateSessionBody, CreateSessionResponse, CreateTeamBody, CreateTeamQueryParams, CreateTeamResponse, CreateUserBody, CreateUserQueryParams, CreateUserResponse, DeleteGrantParams, DeleteGrantQueryParams, DeleteGrantResponse, DeleteTeamParams, DeleteTeamResponse, DeleteUserByIDParams, DeleteUserByIDResponse, DeleteVariableParams, DeleteVariableQueryParams, DeleteVariableResponse, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, FinishUserPasskeyRegistrationBody, FinishUserPasskeyRegistrationParams, FinishUserPasskeyRegistrationResponse, GetAuthAttemptParams, GetAuthAttemptResponse, GetBrandingByIdParams, GetBrandingByIdResponse, GetClaimStatusParams, GetClaimStatusQueryParams, GetClaimStatusResponse, GetClaimWindowParams, GetClaimWindowQueryParams, GetClaimWindowResponse, GetDeploymentByIdParams, GetDeploymentByIdQueryParams, GetDeploymentByIdResponse, GetEnvironmentByNameParams, GetEnvironmentByNameQueryParams, GetEnvironmentByNameResponse, GetEventParams, GetEventQueryParams, GetEventResponse, GetFlowDefinitionParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetGrantParams, GetGrantQueryParams, GetGrantResponse, GetHealthResponse, GetIdpByIdParams, GetIdpByIdQueryParams, GetIdpByIdResponse, GetIdpRevisionByIdParams, GetIdpRevisionByIdQueryParams, GetIdpRevisionByIdResponse, GetLiveResponse, GetMySessionCsrfTokenResponse, GetMySessionResponse, GetMyUserResponse, GetProjectParams, GetProjectResponse, GetReadyResponse, GetReleaseByIdParams, GetReleaseByIdQueryParams, GetReleaseByIdResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionResponse, GetTeamParams, GetTeamResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, GetVariableParams, GetVariableQueryParams, GetVariableResponse, GetVariablesQueryParams, GetVariablesResponse, InitClaimParams, InitClaimResponse, IssueChallengeBody, IssueChallengeParams, IssueChallengeResponse, ListBrandingQueryParams, ListBrandingResponse, ListBrandingResponseItem, ListDeploymentsQueryParams, ListDeploymentsResponse, ListEnvironmentsQueryParams, ListEnvironmentsResponse, ListEventsQueryParams, ListEventsResponse, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListIdpRevisionsParams, ListIdpRevisionsQueryParams, ListIdpRevisionsResponse, ListMyProjectsQueryParams, ListMyProjectsResponse, ListReleasesQueryParams, ListReleasesResponse, ListSchemasQueryParams, ListSchemasResponse, ListUserPasskeysParams, ListUserPasskeysQueryParams, ListUserPasskeysResponse, ListUserTeamsParams, ListUserTeamsQueryParams, ListUserTeamsResponse, PatchMyUserBody, PatchMyUserResponse, PatchProjectBody, PatchProjectParams, PatchProjectResponse, PatchUserByIDBody, PatchUserByIDParams, PatchUserByIDResponse, QueryGrantsBody, QueryGrantsQueryParams, QueryGrantsResponse, QueryIdpsBody, QueryIdpsQueryParams, QueryIdpsResponse, QueryProjectsBody, QueryProjectsResponse, QuerySessionsBody, QuerySessionsQueryParams, QuerySessionsResponse, QueryTeamsBody, QueryTeamsQueryParams, QueryTeamsResponse, QueryUsersBody, QueryUsersQueryParams, QueryUsersResponse, RevokeMySessionResponse, RevokeSessionParams, RevokeSessionResponse, SetUserPasswordBody, SetUserPasswordParams, SetUserPasswordResponse, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateTeamBody, UpdateTeamParams, UpdateTeamResponse, UpdateVariablesBody, UpdateVariablesQueryParams, UpdateVariablesResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, beginUserPasskeyRegistrationPathUserIdRegExp, completeClaimBodyChallengeIdRegExp, completeClaimPathProjectIdRegExp, completeClaimResponseProjectIdRegExp, completeClaimResponseTeamIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createAuthAttemptResponseAttemptIdRegExp, createAuthAttemptResponseChallengesItemChallengeIdRegExp, createAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, createAuthAttemptResponseProjectIdRegExp, createAuthAttemptResponseSessionIdOneRegExp, createAuthAttemptResponseUserIdOneRegExp, createBrandingBodyHeroUrlMax, createBrandingBodyHeroUrlRegExp, createBrandingBodyLayoutDefault, createBrandingBodyLiquidTemplateMax, createBrandingBodyLogoUrlMax, createBrandingBodyLogoUrlRegExp, createBrandingBodyShapeLogoScaleMax, createBrandingBodyShapeLogoScaleMin, createBrandingBodyShapeRadiusTwoMax, createBrandingBodyShapeRadiusTwoMin, createBrandingBodyThemeDarkLogoUrlMax, createBrandingBodyThemeDarkLogoUrlRegExp, createBrandingBodyThemeDarkPaletteBackgroundMax, createBrandingBodyThemeDarkPaletteBackgroundRegExp, createBrandingBodyThemeDarkPaletteBorderMax, createBrandingBodyThemeDarkPaletteBorderRegExp, createBrandingBodyThemeDarkPaletteErrorMax, createBrandingBodyThemeDarkPaletteErrorRegExp, createBrandingBodyThemeDarkPaletteLinkMax, createBrandingBodyThemeDarkPaletteLinkRegExp, createBrandingBodyThemeDarkPaletteMutedMax, createBrandingBodyThemeDarkPaletteMutedRegExp, createBrandingBodyThemeDarkPaletteOnPrimaryMax, createBrandingBodyThemeDarkPaletteOnPrimaryRegExp, createBrandingBodyThemeDarkPalettePrimaryMax, createBrandingBodyThemeDarkPalettePrimaryRegExp, createBrandingBodyThemeDarkPaletteSuccessMax, createBrandingBodyThemeDarkPaletteSuccessRegExp, createBrandingBodyThemeDarkPaletteSurfaceMax, createBrandingBodyThemeDarkPaletteSurfaceRegExp, createBrandingBodyThemeDarkPaletteTextMax, createBrandingBodyThemeDarkPaletteTextMutedMax, createBrandingBodyThemeDarkPaletteTextMutedRegExp, createBrandingBodyThemeDarkPaletteTextRegExp, createBrandingBodyThemeDarkPaletteWarningMax, createBrandingBodyThemeDarkPaletteWarningRegExp, createBrandingBodyThemeLightLogoUrlMax, createBrandingBodyThemeLightLogoUrlRegExp, createBrandingBodyThemeLightPaletteBackgroundMax, createBrandingBodyThemeLightPaletteBackgroundRegExp, createBrandingBodyThemeLightPaletteBorderMax, createBrandingBodyThemeLightPaletteBorderRegExp, createBrandingBodyThemeLightPaletteErrorMax, createBrandingBodyThemeLightPaletteErrorRegExp, createBrandingBodyThemeLightPaletteLinkMax, createBrandingBodyThemeLightPaletteLinkRegExp, createBrandingBodyThemeLightPaletteMutedMax, createBrandingBodyThemeLightPaletteMutedRegExp, createBrandingBodyThemeLightPaletteOnPrimaryMax, createBrandingBodyThemeLightPaletteOnPrimaryRegExp, createBrandingBodyThemeLightPalettePrimaryMax, createBrandingBodyThemeLightPalettePrimaryRegExp, createBrandingBodyThemeLightPaletteSuccessMax, createBrandingBodyThemeLightPaletteSuccessRegExp, createBrandingBodyThemeLightPaletteSurfaceMax, createBrandingBodyThemeLightPaletteSurfaceRegExp, createBrandingBodyThemeLightPaletteTextMax, createBrandingBodyThemeLightPaletteTextMutedMax, createBrandingBodyThemeLightPaletteTextMutedRegExp, createBrandingBodyThemeLightPaletteTextRegExp, createBrandingBodyThemeLightPaletteWarningMax, createBrandingBodyThemeLightPaletteWarningRegExp, createBrandingBodyTypographyFontFamilyMax, createBrandingBodyTypographyFontFamilyRegExp, createBrandingBodyTypographyFontUrlMax, createBrandingBodyTypographyFontUrlRegExp, createBrandingBodyTypographyScaleMax, createBrandingBodyTypographyScaleMin, createBrandingQueryProjectIdRegExp, createBrandingResponseBrandingHeroUrlMax, createBrandingResponseBrandingHeroUrlRegExp, createBrandingResponseBrandingLayoutDefault, createBrandingResponseBrandingLiquidTemplateMax, createBrandingResponseBrandingLogoUrlMax, createBrandingResponseBrandingLogoUrlRegExp, createBrandingResponseBrandingShapeLogoScaleMax, createBrandingResponseBrandingShapeLogoScaleMin, createBrandingResponseBrandingShapeRadiusTwoMax, createBrandingResponseBrandingShapeRadiusTwoMin, createBrandingResponseBrandingThemeDarkLogoUrlMax, createBrandingResponseBrandingThemeDarkLogoUrlRegExp, createBrandingResponseBrandingThemeDarkPaletteBackgroundMax, createBrandingResponseBrandingThemeDarkPaletteBackgroundRegExp, createBrandingResponseBrandingThemeDarkPaletteBorderMax, createBrandingResponseBrandingThemeDarkPaletteBorderRegExp, createBrandingResponseBrandingThemeDarkPaletteErrorMax, createBrandingResponseBrandingThemeDarkPaletteErrorRegExp, createBrandingResponseBrandingThemeDarkPaletteLinkMax, createBrandingResponseBrandingThemeDarkPaletteLinkRegExp, createBrandingResponseBrandingThemeDarkPaletteMutedMax, createBrandingResponseBrandingThemeDarkPaletteMutedRegExp, createBrandingResponseBrandingThemeDarkPaletteOnPrimaryMax, createBrandingResponseBrandingThemeDarkPaletteOnPrimaryRegExp, createBrandingResponseBrandingThemeDarkPalettePrimaryMax, createBrandingResponseBrandingThemeDarkPalettePrimaryRegExp, createBrandingResponseBrandingThemeDarkPaletteSuccessMax, createBrandingResponseBrandingThemeDarkPaletteSuccessRegExp, createBrandingResponseBrandingThemeDarkPaletteSurfaceMax, createBrandingResponseBrandingThemeDarkPaletteSurfaceRegExp, createBrandingResponseBrandingThemeDarkPaletteTextMax, createBrandingResponseBrandingThemeDarkPaletteTextMutedMax, createBrandingResponseBrandingThemeDarkPaletteTextMutedRegExp, createBrandingResponseBrandingThemeDarkPaletteTextRegExp, createBrandingResponseBrandingThemeDarkPaletteWarningMax, createBrandingResponseBrandingThemeDarkPaletteWarningRegExp, createBrandingResponseBrandingThemeLightLogoUrlMax, createBrandingResponseBrandingThemeLightLogoUrlRegExp, createBrandingResponseBrandingThemeLightPaletteBackgroundMax, createBrandingResponseBrandingThemeLightPaletteBackgroundRegExp, createBrandingResponseBrandingThemeLightPaletteBorderMax, createBrandingResponseBrandingThemeLightPaletteBorderRegExp, createBrandingResponseBrandingThemeLightPaletteErrorMax, createBrandingResponseBrandingThemeLightPaletteErrorRegExp, createBrandingResponseBrandingThemeLightPaletteLinkMax, createBrandingResponseBrandingThemeLightPaletteLinkRegExp, createBrandingResponseBrandingThemeLightPaletteMutedMax, createBrandingResponseBrandingThemeLightPaletteMutedRegExp, createBrandingResponseBrandingThemeLightPaletteOnPrimaryMax, createBrandingResponseBrandingThemeLightPaletteOnPrimaryRegExp, createBrandingResponseBrandingThemeLightPalettePrimaryMax, createBrandingResponseBrandingThemeLightPalettePrimaryRegExp, createBrandingResponseBrandingThemeLightPaletteSuccessMax, createBrandingResponseBrandingThemeLightPaletteSuccessRegExp, createBrandingResponseBrandingThemeLightPaletteSurfaceMax, createBrandingResponseBrandingThemeLightPaletteSurfaceRegExp, createBrandingResponseBrandingThemeLightPaletteTextMax, createBrandingResponseBrandingThemeLightPaletteTextMutedMax, createBrandingResponseBrandingThemeLightPaletteTextMutedRegExp, createBrandingResponseBrandingThemeLightPaletteTextRegExp, createBrandingResponseBrandingThemeLightPaletteWarningMax, createBrandingResponseBrandingThemeLightPaletteWarningRegExp, createBrandingResponseBrandingTypographyFontFamilyMax, createBrandingResponseBrandingTypographyFontFamilyRegExp, createBrandingResponseBrandingTypographyFontUrlMax, createBrandingResponseBrandingTypographyFontUrlRegExp, createBrandingResponseBrandingTypographyScaleMax, createBrandingResponseBrandingTypographyScaleMin, createDeploymentBodyEnvironmentMax, createDeploymentBodyEnvironmentRegExp, createDeploymentBodyExpectedCurrentDeploymentIdOneRegExp, createDeploymentBodyMessageMax, createDeploymentBodyReleaseIdRegExp, createDeploymentBodySourceEnvironmentOneMax, createDeploymentBodySourceEnvironmentOneRegExp, createDeploymentQueryProjectIdRegExp, createDeploymentResponseIdRegExp, createDeploymentResponseMetadataMessageOneMax, createDeploymentResponseMetadataSourceEnvironmentNameOneMax, createDeploymentResponseMetadataSourceEnvironmentNameOneRegExp, createDeploymentResponseProjectIdRegExp, createDeploymentResponseReleaseIdRegExp, createDeploymentResponseReleaseIdRegExpOne, createDeploymentResponseReleaseMetadataGitDirtyDefault, createDeploymentResponseReleaseMetadataGitShaOneMax, createDeploymentResponseReleaseMetadataMessageOneMax, createDeploymentResponseReleasePointersItemHandleMax, createDeploymentResponseReleasePointersItemRevisionIdMax, createDeploymentResponseReleasePointersMax, createDeploymentResponseReleaseProjectIdRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemMax, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersMax, createFlowDefinitionBodyProjectIdRegExp, createFlowDefinitionResponseFlowDefinitionNameRegExp, createFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, createFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, createFlowDefinitionResponseFlowDefinitionStepsItemNameRegExp, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemMax, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersMax, createFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax, createFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, createFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, createFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax, createFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp, createFlowResponseBrandingHeroUrlMax, createFlowResponseBrandingHeroUrlRegExp, createFlowResponseBrandingLayoutDefault, createFlowResponseBrandingLiquidTemplateMax, createFlowResponseBrandingLogoUrlMax, createFlowResponseBrandingLogoUrlRegExp, createFlowResponseBrandingShapeLogoScaleMax, createFlowResponseBrandingShapeLogoScaleMin, createFlowResponseBrandingShapeRadiusTwoMax, createFlowResponseBrandingShapeRadiusTwoMin, createFlowResponseBrandingThemeDarkLogoUrlMax, createFlowResponseBrandingThemeDarkLogoUrlRegExp, createFlowResponseBrandingThemeDarkPaletteBackgroundMax, createFlowResponseBrandingThemeDarkPaletteBackgroundRegExp, createFlowResponseBrandingThemeDarkPaletteBorderMax, createFlowResponseBrandingThemeDarkPaletteBorderRegExp, createFlowResponseBrandingThemeDarkPaletteErrorMax, createFlowResponseBrandingThemeDarkPaletteErrorRegExp, createFlowResponseBrandingThemeDarkPaletteLinkMax, createFlowResponseBrandingThemeDarkPaletteLinkRegExp, createFlowResponseBrandingThemeDarkPaletteMutedMax, createFlowResponseBrandingThemeDarkPaletteMutedRegExp, createFlowResponseBrandingThemeDarkPaletteOnPrimaryMax, createFlowResponseBrandingThemeDarkPaletteOnPrimaryRegExp, createFlowResponseBrandingThemeDarkPalettePrimaryMax, createFlowResponseBrandingThemeDarkPalettePrimaryRegExp, createFlowResponseBrandingThemeDarkPaletteSuccessMax, createFlowResponseBrandingThemeDarkPaletteSuccessRegExp, createFlowResponseBrandingThemeDarkPaletteSurfaceMax, createFlowResponseBrandingThemeDarkPaletteSurfaceRegExp, createFlowResponseBrandingThemeDarkPaletteTextMax, createFlowResponseBrandingThemeDarkPaletteTextMutedMax, createFlowResponseBrandingThemeDarkPaletteTextMutedRegExp, createFlowResponseBrandingThemeDarkPaletteTextRegExp, createFlowResponseBrandingThemeDarkPaletteWarningMax, createFlowResponseBrandingThemeDarkPaletteWarningRegExp, createFlowResponseBrandingThemeLightLogoUrlMax, createFlowResponseBrandingThemeLightLogoUrlRegExp, createFlowResponseBrandingThemeLightPaletteBackgroundMax, createFlowResponseBrandingThemeLightPaletteBackgroundRegExp, createFlowResponseBrandingThemeLightPaletteBorderMax, createFlowResponseBrandingThemeLightPaletteBorderRegExp, createFlowResponseBrandingThemeLightPaletteErrorMax, createFlowResponseBrandingThemeLightPaletteErrorRegExp, createFlowResponseBrandingThemeLightPaletteLinkMax, createFlowResponseBrandingThemeLightPaletteLinkRegExp, createFlowResponseBrandingThemeLightPaletteMutedMax, createFlowResponseBrandingThemeLightPaletteMutedRegExp, createFlowResponseBrandingThemeLightPaletteOnPrimaryMax, createFlowResponseBrandingThemeLightPaletteOnPrimaryRegExp, createFlowResponseBrandingThemeLightPalettePrimaryMax, createFlowResponseBrandingThemeLightPalettePrimaryRegExp, createFlowResponseBrandingThemeLightPaletteSuccessMax, createFlowResponseBrandingThemeLightPaletteSuccessRegExp, createFlowResponseBrandingThemeLightPaletteSurfaceMax, createFlowResponseBrandingThemeLightPaletteSurfaceRegExp, createFlowResponseBrandingThemeLightPaletteTextMax, createFlowResponseBrandingThemeLightPaletteTextMutedMax, createFlowResponseBrandingThemeLightPaletteTextMutedRegExp, createFlowResponseBrandingThemeLightPaletteTextRegExp, createFlowResponseBrandingThemeLightPaletteWarningMax, createFlowResponseBrandingThemeLightPaletteWarningRegExp, createFlowResponseBrandingTypographyFontFamilyMax, createFlowResponseBrandingTypographyFontFamilyRegExp, createFlowResponseBrandingTypographyFontUrlMax, createFlowResponseBrandingTypographyFontUrlRegExp, createFlowResponseBrandingTypographyScaleMax, createFlowResponseBrandingTypographyScaleMin, createFlowResponseStepActionsDefault, createFlowResponseStepActionsItemPrimaryDefault, createFlowResponseStepFieldsDefault, createFlowResponseStepFieldsItemRequiredDefault, createFlowResponseStepFieldsItemValidationMaxLengthMin, createFlowResponseStepFieldsItemValidationMinLengthMin, createFlowResponseStepGatesDefault, createFlowResponseStepSsoProvidersDefault, createGrantBodyTeamTeamIdRegExp, createGrantBodyUserUserIdRegExp, createGrantQueryProjectIdRegExp, createGrantResponseUserOneUserIdRegExp, createHandoffPathAttemptIdRegExp, createIdpBodyIdpClaimMappingRegExpOne, createIdpBodyIdpDisplayNameMax, createIdpBodyIdpOauth2AuthorizationEndpointRegExp, createIdpBodyIdpOauth2ClientIdMax, createIdpBodyIdpOauth2ClientSecretRegExp, createIdpBodyIdpOauth2PkceEnabledDefault, createIdpBodyIdpOauth2TokenEndpointAuthMethodDefault, createIdpBodyIdpOauth2TokenEndpointRegExp, createIdpBodyIdpOauth2UserinfoEndpointRegExp, createIdpBodyIdpOidcAuthorizationEndpointRegExp, createIdpBodyIdpOidcClientIdMax, createIdpBodyIdpOidcClientSecretRegExp, createIdpBodyIdpOidcIdTokenMappingDefault, createIdpBodyIdpOidcIssuerRegExp, createIdpBodyIdpOidcJwksUriRegExp, createIdpBodyIdpOidcPkceEnabledDefault, createIdpBodyIdpOidcScopesDefault, createIdpBodyIdpOidcTokenEndpointAuthMethodDefault, createIdpBodyIdpOidcTokenEndpointRegExp, createIdpBodyIdpOidcUserinfoEndpointRegExp, createIdpBodyIdpProvisioningCreationDefault, createIdpBodyIdpSlugMax, createIdpBodyIdpSlugRegExp, createIdpQueryProjectIdRegExp, createIdpResponseDefinitionClaimMappingRegExpOne, createIdpResponseDefinitionDisplayNameMax, createIdpResponseDefinitionOauth2AuthorizationEndpointRegExp, createIdpResponseDefinitionOauth2ClientIdMax, createIdpResponseDefinitionOauth2ClientSecretRegExp, createIdpResponseDefinitionOauth2PkceEnabledDefault, createIdpResponseDefinitionOauth2TokenEndpointAuthMethodDefault, createIdpResponseDefinitionOauth2TokenEndpointRegExp, createIdpResponseDefinitionOauth2UserinfoEndpointRegExp, createIdpResponseDefinitionOidcAuthorizationEndpointRegExp, createIdpResponseDefinitionOidcClientIdMax, createIdpResponseDefinitionOidcClientSecretRegExp, createIdpResponseDefinitionOidcIdTokenMappingDefault, createIdpResponseDefinitionOidcIssuerRegExp, createIdpResponseDefinitionOidcJwksUriRegExp, createIdpResponseDefinitionOidcPkceEnabledDefault, createIdpResponseDefinitionOidcScopesDefault, createIdpResponseDefinitionOidcTokenEndpointAuthMethodDefault, createIdpResponseDefinitionOidcTokenEndpointRegExp, createIdpResponseDefinitionOidcUserinfoEndpointRegExp, createIdpResponseDefinitionProvisioningCreationDefault, createIdpResponseDefinitionSlugMax, createIdpResponseDefinitionSlugRegExp, createProjectBodySeedDefaultsDefault, createReleaseBodyGitDirtyDefault, createReleaseBodyGitShaMax, createReleaseBodyMessageMax, createReleaseBodyPointersItemRevisionIdMax, createReleaseBodyPointersMax, createReleaseQueryProjectIdRegExp, createReleaseResponseIdRegExp, createReleaseResponseMetadataGitDirtyDefault, createReleaseResponseMetadataGitShaOneMax, createReleaseResponseMetadataMessageOneMax, createReleaseResponsePointersItemHandleMax, createReleaseResponsePointersItemRevisionIdMax, createReleaseResponsePointersMax, createReleaseResponseProjectIdRegExp, createSchemaBodyOneMetaSchemaMax, createSchemaBodyOneObjectTypeMax, createSchemaBodyOnePropertiesXAuditDefault, createSchemaBodyOneXAuthMethodsSsoProvidersItemMax, createSchemaBodyOneXAuthMethodsSsoProvidersItemRegExp, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createSessionResponseSessionFactorsItemPayloadOneUserIdRegExp, createSessionResponseSessionProjectIdRegExp, createSessionResponseSessionSessionIdRegExp, createSessionResponseSessionUserIdOneRegExp, createSessionResponseSessionUserUserIdRegExp, createTeamBodyNameMax, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, createUserResponseIdRegExp, deleteGrantQueryProjectIdRegExp, deleteTeamPathTeamIdRegExp, deleteUserByIDPathUserIdRegExp, deleteVariablePathVariableNameMax, deleteVariablePathVariableNameRegExp, deleteVariableQueryEnvironmentNameMax, deleteVariableQueryEnvironmentNameRegExp, deleteVariableQueryProjectIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, exchangeHandoffResponseSessionUserUserIdRegExp, finishUserPasskeyRegistrationPathUserIdRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getBrandingByIdResponseBrandingHeroUrlMax, getBrandingByIdResponseBrandingHeroUrlRegExp, getBrandingByIdResponseBrandingLayoutDefault, getBrandingByIdResponseBrandingLiquidTemplateMax, getBrandingByIdResponseBrandingLogoUrlMax, getBrandingByIdResponseBrandingLogoUrlRegExp, getBrandingByIdResponseBrandingShapeLogoScaleMax, getBrandingByIdResponseBrandingShapeLogoScaleMin, getBrandingByIdResponseBrandingShapeRadiusTwoMax, getBrandingByIdResponseBrandingShapeRadiusTwoMin, getBrandingByIdResponseBrandingThemeDarkLogoUrlMax, getBrandingByIdResponseBrandingThemeDarkLogoUrlRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundMax, getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteBorderMax, getBrandingByIdResponseBrandingThemeDarkPaletteBorderRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteErrorMax, getBrandingByIdResponseBrandingThemeDarkPaletteErrorRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteLinkMax, getBrandingByIdResponseBrandingThemeDarkPaletteLinkRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteMutedMax, getBrandingByIdResponseBrandingThemeDarkPaletteMutedRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryMax, getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryRegExp, getBrandingByIdResponseBrandingThemeDarkPalettePrimaryMax, getBrandingByIdResponseBrandingThemeDarkPalettePrimaryRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteSuccessMax, getBrandingByIdResponseBrandingThemeDarkPaletteSuccessRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceMax, getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteTextMax, getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedMax, getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteTextRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteWarningMax, getBrandingByIdResponseBrandingThemeDarkPaletteWarningRegExp, getBrandingByIdResponseBrandingThemeLightLogoUrlMax, getBrandingByIdResponseBrandingThemeLightLogoUrlRegExp, getBrandingByIdResponseBrandingThemeLightPaletteBackgroundMax, getBrandingByIdResponseBrandingThemeLightPaletteBackgroundRegExp, getBrandingByIdResponseBrandingThemeLightPaletteBorderMax, getBrandingByIdResponseBrandingThemeLightPaletteBorderRegExp, getBrandingByIdResponseBrandingThemeLightPaletteErrorMax, getBrandingByIdResponseBrandingThemeLightPaletteErrorRegExp, getBrandingByIdResponseBrandingThemeLightPaletteLinkMax, getBrandingByIdResponseBrandingThemeLightPaletteLinkRegExp, getBrandingByIdResponseBrandingThemeLightPaletteMutedMax, getBrandingByIdResponseBrandingThemeLightPaletteMutedRegExp, getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryMax, getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryRegExp, getBrandingByIdResponseBrandingThemeLightPalettePrimaryMax, getBrandingByIdResponseBrandingThemeLightPalettePrimaryRegExp, getBrandingByIdResponseBrandingThemeLightPaletteSuccessMax, getBrandingByIdResponseBrandingThemeLightPaletteSuccessRegExp, getBrandingByIdResponseBrandingThemeLightPaletteSurfaceMax, getBrandingByIdResponseBrandingThemeLightPaletteSurfaceRegExp, getBrandingByIdResponseBrandingThemeLightPaletteTextMax, getBrandingByIdResponseBrandingThemeLightPaletteTextMutedMax, getBrandingByIdResponseBrandingThemeLightPaletteTextMutedRegExp, getBrandingByIdResponseBrandingThemeLightPaletteTextRegExp, getBrandingByIdResponseBrandingThemeLightPaletteWarningMax, getBrandingByIdResponseBrandingThemeLightPaletteWarningRegExp, getBrandingByIdResponseBrandingTypographyFontFamilyMax, getBrandingByIdResponseBrandingTypographyFontFamilyRegExp, getBrandingByIdResponseBrandingTypographyFontUrlMax, getBrandingByIdResponseBrandingTypographyFontUrlRegExp, getBrandingByIdResponseBrandingTypographyScaleMax, getBrandingByIdResponseBrandingTypographyScaleMin, getClaimStatusPathProjectIdRegExp, getClaimStatusQueryChallengeIdRegExp, getClaimStatusResponseTwoTeamIdRegExp, getClaimWindowPathProjectIdRegExp, getClaimWindowQueryChallengeIdRegExp, getDeploymentByIdPathDeploymentIdRegExp, getDeploymentByIdQueryProjectIdRegExp, getDeploymentByIdResponseIdRegExp, getDeploymentByIdResponseMetadataMessageOneMax, getDeploymentByIdResponseMetadataSourceEnvironmentNameOneMax, getDeploymentByIdResponseMetadataSourceEnvironmentNameOneRegExp, getDeploymentByIdResponseProjectIdRegExp, getDeploymentByIdResponseReleaseIdRegExp, getDeploymentByIdResponseReleaseIdRegExpOne, getDeploymentByIdResponseReleaseMetadataGitDirtyDefault, getDeploymentByIdResponseReleaseMetadataGitShaOneMax, getDeploymentByIdResponseReleaseMetadataMessageOneMax, getDeploymentByIdResponseReleasePointersItemHandleMax, getDeploymentByIdResponseReleasePointersItemRevisionIdMax, getDeploymentByIdResponseReleasePointersMax, getDeploymentByIdResponseReleaseProjectIdRegExp, getEnvironmentByNamePathNameMax, getEnvironmentByNamePathNameRegExp, getEnvironmentByNameQueryProjectIdRegExp, getEnvironmentByNameResponseCurrentDeploymentOneIdRegExp, getEnvironmentByNameResponseCurrentDeploymentOneReleaseIdRegExp, getEnvironmentByNameResponseNameMax, getEnvironmentByNameResponseNameRegExp, getEnvironmentByNameResponseProjectIdRegExp, getEventQueryProjectIdRegExp, getEventResponseEightOneProjectIdRegExp, getEventResponseFiveOneProjectIdRegExp, getEventResponseFourOneProjectIdRegExp, getEventResponseNineOneProjectIdRegExp, getEventResponseOneOneProjectIdRegExp, getEventResponseOneeightOneProjectIdRegExp, getEventResponseOnefiveOneProjectIdRegExp, getEventResponseOnefourOneProjectIdRegExp, getEventResponseOnenineOneProjectIdRegExp, getEventResponseOneoneOneProjectIdRegExp, getEventResponseOnesevenOneProjectIdRegExp, getEventResponseOnesixOneProjectIdRegExp, getEventResponseOnethreeOneProjectIdRegExp, getEventResponseOnetwoOneProjectIdRegExp, getEventResponseOnezeroOneProjectIdRegExp, getEventResponseSevenOneProjectIdRegExp, getEventResponseSixOneProjectIdRegExp, getEventResponseThreeOneProjectIdRegExp, getEventResponseThreefiveOneProjectIdRegExp, getEventResponseThreefourOneProjectIdRegExp, getEventResponseThreeoneOneProjectIdRegExp, getEventResponseThreesevenOneProjectIdRegExp, getEventResponseThreesixOneProjectIdRegExp, getEventResponseThreethreeOneProjectIdRegExp, getEventResponseThreetwoOneProjectIdRegExp, getEventResponseThreezeroOneProjectIdRegExp, getEventResponseTwoOneProjectIdRegExp, getEventResponseTwoeightOneProjectIdRegExp, getEventResponseTwofiveOneProjectIdRegExp, getEventResponseTwofourOneProjectIdRegExp, getEventResponseTwonineOneProjectIdRegExp, getEventResponseTwooneOneProjectIdRegExp, getEventResponseTwosevenOneProjectIdRegExp, getEventResponseTwosevenTwoPayloadDurationMsMin, getEventResponseTwosevenTwoPayloadStatusMax, getEventResponseTwosevenTwoPayloadStatusMin, getEventResponseTwosixOneProjectIdRegExp, getEventResponseTwothreeOneProjectIdRegExp, getEventResponseTwotwoOneProjectIdRegExp, getEventResponseTwozeroOneProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemMax, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersMax, getFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax, getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax, getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp, getFlowStepResponseBrandingHeroUrlMax, getFlowStepResponseBrandingHeroUrlRegExp, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseBrandingLiquidTemplateMax, getFlowStepResponseBrandingLogoUrlMax, getFlowStepResponseBrandingLogoUrlRegExp, getFlowStepResponseBrandingShapeLogoScaleMax, getFlowStepResponseBrandingShapeLogoScaleMin, getFlowStepResponseBrandingShapeRadiusTwoMax, getFlowStepResponseBrandingShapeRadiusTwoMin, getFlowStepResponseBrandingThemeDarkLogoUrlMax, getFlowStepResponseBrandingThemeDarkLogoUrlRegExp, getFlowStepResponseBrandingThemeDarkPaletteBackgroundMax, getFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp, getFlowStepResponseBrandingThemeDarkPaletteBorderMax, getFlowStepResponseBrandingThemeDarkPaletteBorderRegExp, getFlowStepResponseBrandingThemeDarkPaletteErrorMax, getFlowStepResponseBrandingThemeDarkPaletteErrorRegExp, getFlowStepResponseBrandingThemeDarkPaletteLinkMax, getFlowStepResponseBrandingThemeDarkPaletteLinkRegExp, getFlowStepResponseBrandingThemeDarkPaletteMutedMax, getFlowStepResponseBrandingThemeDarkPaletteMutedRegExp, getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax, getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp, getFlowStepResponseBrandingThemeDarkPalettePrimaryMax, getFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp, getFlowStepResponseBrandingThemeDarkPaletteSuccessMax, getFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp, getFlowStepResponseBrandingThemeDarkPaletteSurfaceMax, getFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp, getFlowStepResponseBrandingThemeDarkPaletteTextMax, getFlowStepResponseBrandingThemeDarkPaletteTextMutedMax, getFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp, getFlowStepResponseBrandingThemeDarkPaletteTextRegExp, getFlowStepResponseBrandingThemeDarkPaletteWarningMax, getFlowStepResponseBrandingThemeDarkPaletteWarningRegExp, getFlowStepResponseBrandingThemeLightLogoUrlMax, getFlowStepResponseBrandingThemeLightLogoUrlRegExp, getFlowStepResponseBrandingThemeLightPaletteBackgroundMax, getFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp, getFlowStepResponseBrandingThemeLightPaletteBorderMax, getFlowStepResponseBrandingThemeLightPaletteBorderRegExp, getFlowStepResponseBrandingThemeLightPaletteErrorMax, getFlowStepResponseBrandingThemeLightPaletteErrorRegExp, getFlowStepResponseBrandingThemeLightPaletteLinkMax, getFlowStepResponseBrandingThemeLightPaletteLinkRegExp, getFlowStepResponseBrandingThemeLightPaletteMutedMax, getFlowStepResponseBrandingThemeLightPaletteMutedRegExp, getFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax, getFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp, getFlowStepResponseBrandingThemeLightPalettePrimaryMax, getFlowStepResponseBrandingThemeLightPalettePrimaryRegExp, getFlowStepResponseBrandingThemeLightPaletteSuccessMax, getFlowStepResponseBrandingThemeLightPaletteSuccessRegExp, getFlowStepResponseBrandingThemeLightPaletteSurfaceMax, getFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp, getFlowStepResponseBrandingThemeLightPaletteTextMax, getFlowStepResponseBrandingThemeLightPaletteTextMutedMax, getFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp, getFlowStepResponseBrandingThemeLightPaletteTextRegExp, getFlowStepResponseBrandingThemeLightPaletteWarningMax, getFlowStepResponseBrandingThemeLightPaletteWarningRegExp, getFlowStepResponseBrandingTypographyFontFamilyMax, getFlowStepResponseBrandingTypographyFontFamilyRegExp, getFlowStepResponseBrandingTypographyFontUrlMax, getFlowStepResponseBrandingTypographyFontUrlRegExp, getFlowStepResponseBrandingTypographyScaleMax, getFlowStepResponseBrandingTypographyScaleMin, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getGrantQueryProjectIdRegExp, getGrantResponseUserOneUserIdRegExp, getIdpByIdQueryProjectIdRegExp, getIdpByIdResponseDefinitionClaimMappingRegExpOne, getIdpByIdResponseDefinitionDisplayNameMax, getIdpByIdResponseDefinitionOauth2AuthorizationEndpointRegExp, getIdpByIdResponseDefinitionOauth2ClientIdMax, getIdpByIdResponseDefinitionOauth2ClientSecretRegExp, getIdpByIdResponseDefinitionOauth2PkceEnabledDefault, getIdpByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault, getIdpByIdResponseDefinitionOauth2TokenEndpointRegExp, getIdpByIdResponseDefinitionOauth2UserinfoEndpointRegExp, getIdpByIdResponseDefinitionOidcAuthorizationEndpointRegExp, getIdpByIdResponseDefinitionOidcClientIdMax, getIdpByIdResponseDefinitionOidcClientSecretRegExp, getIdpByIdResponseDefinitionOidcIdTokenMappingDefault, getIdpByIdResponseDefinitionOidcIssuerRegExp, getIdpByIdResponseDefinitionOidcJwksUriRegExp, getIdpByIdResponseDefinitionOidcPkceEnabledDefault, getIdpByIdResponseDefinitionOidcScopesDefault, getIdpByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault, getIdpByIdResponseDefinitionOidcTokenEndpointRegExp, getIdpByIdResponseDefinitionOidcUserinfoEndpointRegExp, getIdpByIdResponseDefinitionProvisioningCreationDefault, getIdpByIdResponseDefinitionSlugMax, getIdpByIdResponseDefinitionSlugRegExp, getIdpRevisionByIdQueryProjectIdRegExp, getIdpRevisionByIdResponseDefinitionClaimMappingRegExpOne, getIdpRevisionByIdResponseDefinitionDisplayNameMax, getIdpRevisionByIdResponseDefinitionOauth2AuthorizationEndpointRegExp, getIdpRevisionByIdResponseDefinitionOauth2ClientIdMax, getIdpRevisionByIdResponseDefinitionOauth2ClientSecretRegExp, getIdpRevisionByIdResponseDefinitionOauth2PkceEnabledDefault, getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault, getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointRegExp, getIdpRevisionByIdResponseDefinitionOauth2UserinfoEndpointRegExp, getIdpRevisionByIdResponseDefinitionOidcAuthorizationEndpointRegExp, getIdpRevisionByIdResponseDefinitionOidcClientIdMax, getIdpRevisionByIdResponseDefinitionOidcClientSecretRegExp, getIdpRevisionByIdResponseDefinitionOidcIdTokenMappingDefault, getIdpRevisionByIdResponseDefinitionOidcIssuerRegExp, getIdpRevisionByIdResponseDefinitionOidcJwksUriRegExp, getIdpRevisionByIdResponseDefinitionOidcPkceEnabledDefault, getIdpRevisionByIdResponseDefinitionOidcScopesDefault, getIdpRevisionByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault, getIdpRevisionByIdResponseDefinitionOidcTokenEndpointRegExp, getIdpRevisionByIdResponseDefinitionOidcUserinfoEndpointRegExp, getIdpRevisionByIdResponseDefinitionProvisioningCreationDefault, getIdpRevisionByIdResponseDefinitionSlugMax, getIdpRevisionByIdResponseDefinitionSlugRegExp, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getMySessionResponseUserUserIdRegExp, getMyUserResponseIdRegExp, getProjectPathProjectIdRegExp, getReleaseByIdPathReleaseIdRegExp, getReleaseByIdQueryProjectIdRegExp, getReleaseByIdResponseIdRegExp, getReleaseByIdResponseMetadataGitDirtyDefault, getReleaseByIdResponseMetadataGitShaOneMax, getReleaseByIdResponseMetadataMessageOneMax, getReleaseByIdResponsePointersItemHandleMax, getReleaseByIdResponsePointersItemRevisionIdMax, getReleaseByIdResponsePointersMax, getReleaseByIdResponseProjectIdRegExp, getSchemaByIdQueryProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseSchemaOneMetaSchemaMax, getSchemaByIdResponseSchemaOneObjectTypeMax, getSchemaByIdResponseSchemaOnePropertiesXAuditDefault, getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemMax, getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp, getSessionPathSessionIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getSessionResponseUserUserIdRegExp, getTeamPathTeamIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryTeamIdRegExp, getUserByIDResponseIdRegExp, getVariablePathVariableNameMax, getVariablePathVariableNameRegExp, getVariableQueryEnvironmentNameMax, getVariableQueryEnvironmentNameRegExp, getVariableQueryProjectIdRegExp, getVariableResponseOneOneMax, getVariablesQueryEnvironmentNameMax, getVariablesQueryEnvironmentNameRegExp, getVariablesQueryProjectIdRegExp, getVariablesResponseOneOneMax, initClaimPathProjectIdRegExp, initClaimResponseChallengeIdRegExp, issueChallengePathAttemptIdRegExp, issueChallengeResponseChallengeIdRegExp, listBrandingQueryProjectIdRegExp, listDeploymentsQueryEnvironmentNameMax, listDeploymentsQueryEnvironmentNameRegExp, listDeploymentsQueryLimitDefault, listDeploymentsQueryLimitMax, listDeploymentsQueryProjectIdRegExp, listDeploymentsResponseDeploymentsItemIdRegExp, listDeploymentsResponseDeploymentsItemMetadataMessageOneMax, listDeploymentsResponseDeploymentsItemMetadataSourceEnvironmentNameOneMax, listDeploymentsResponseDeploymentsItemMetadataSourceEnvironmentNameOneRegExp, listDeploymentsResponseDeploymentsItemProjectIdRegExp, listDeploymentsResponseDeploymentsItemReleaseIdRegExp, listDeploymentsResponseDeploymentsItemReleaseIdRegExpOne, listDeploymentsResponseDeploymentsItemReleaseMetadataGitDirtyDefault, listDeploymentsResponseDeploymentsItemReleaseMetadataGitShaOneMax, listDeploymentsResponseDeploymentsItemReleaseMetadataMessageOneMax, listDeploymentsResponseDeploymentsItemReleasePointersItemHandleMax, listDeploymentsResponseDeploymentsItemReleasePointersItemRevisionIdMax, listDeploymentsResponseDeploymentsItemReleasePointersMax, listDeploymentsResponseDeploymentsItemReleaseProjectIdRegExp, listEnvironmentsQueryLimitDefault, listEnvironmentsQueryLimitMax, listEnvironmentsQueryProjectIdRegExp, listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneIdRegExp, listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneReleaseIdRegExp, listEnvironmentsResponseEnvironmentsItemNameMax, listEnvironmentsResponseEnvironmentsItemNameRegExp, listEnvironmentsResponseEnvironmentsItemProjectIdRegExp, listEventsQueryLimitDefault, listEventsQueryLimitMax, listEventsQueryOrderDefault, listEventsQueryProjectIdRegExp, listEventsResponseDataItemEightOneProjectIdRegExp, listEventsResponseDataItemFiveOneProjectIdRegExp, listEventsResponseDataItemFourOneProjectIdRegExp, listEventsResponseDataItemNineOneProjectIdRegExp, listEventsResponseDataItemOneOneProjectIdRegExp, listEventsResponseDataItemOneeightOneProjectIdRegExp, listEventsResponseDataItemOnefiveOneProjectIdRegExp, listEventsResponseDataItemOnefourOneProjectIdRegExp, listEventsResponseDataItemOnenineOneProjectIdRegExp, listEventsResponseDataItemOneoneOneProjectIdRegExp, listEventsResponseDataItemOnesevenOneProjectIdRegExp, listEventsResponseDataItemOnesixOneProjectIdRegExp, listEventsResponseDataItemOnethreeOneProjectIdRegExp, listEventsResponseDataItemOnetwoOneProjectIdRegExp, listEventsResponseDataItemOnezeroOneProjectIdRegExp, listEventsResponseDataItemSevenOneProjectIdRegExp, listEventsResponseDataItemSixOneProjectIdRegExp, listEventsResponseDataItemThreeOneProjectIdRegExp, listEventsResponseDataItemThreefiveOneProjectIdRegExp, listEventsResponseDataItemThreefourOneProjectIdRegExp, listEventsResponseDataItemThreeoneOneProjectIdRegExp, listEventsResponseDataItemThreesevenOneProjectIdRegExp, listEventsResponseDataItemThreesixOneProjectIdRegExp, listEventsResponseDataItemThreethreeOneProjectIdRegExp, listEventsResponseDataItemThreetwoOneProjectIdRegExp, listEventsResponseDataItemThreezeroOneProjectIdRegExp, listEventsResponseDataItemTwoOneProjectIdRegExp, listEventsResponseDataItemTwoeightOneProjectIdRegExp, listEventsResponseDataItemTwofiveOneProjectIdRegExp, listEventsResponseDataItemTwofourOneProjectIdRegExp, listEventsResponseDataItemTwonineOneProjectIdRegExp, listEventsResponseDataItemTwooneOneProjectIdRegExp, listEventsResponseDataItemTwosevenOneProjectIdRegExp, listEventsResponseDataItemTwosevenTwoPayloadDurationMsMin, listEventsResponseDataItemTwosevenTwoPayloadStatusMax, listEventsResponseDataItemTwosevenTwoPayloadStatusMin, listEventsResponseDataItemTwosixOneProjectIdRegExp, listEventsResponseDataItemTwothreeOneProjectIdRegExp, listEventsResponseDataItemTwotwoOneProjectIdRegExp, listEventsResponseDataItemTwozeroOneProjectIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryNameRegExp, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsQueryRevisionsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemNameRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemMax, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneMetaSchemaMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp, listIdpRevisionsQueryLimitDefault, listIdpRevisionsQueryLimitMax, listIdpRevisionsQueryProjectIdRegExp, listIdpRevisionsResponseRevisionsItemDefinitionClaimMappingRegExpOne, listIdpRevisionsResponseRevisionsItemDefinitionDisplayNameMax, listIdpRevisionsResponseRevisionsItemDefinitionOauth2AuthorizationEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientIdMax, listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientSecretRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOauth2PkceEnabledDefault, listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointAuthMethodDefault, listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOauth2UserinfoEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcAuthorizationEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcClientIdMax, listIdpRevisionsResponseRevisionsItemDefinitionOidcClientSecretRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcIdTokenMappingDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcIssuerRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcJwksUriRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcPkceEnabledDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointAuthMethodDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcUserinfoEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionProvisioningCreationDefault, listIdpRevisionsResponseRevisionsItemDefinitionSlugMax, listIdpRevisionsResponseRevisionsItemDefinitionSlugRegExp, listMyProjectsQueryLimitDefault, listMyProjectsQueryLimitMax, listReleasesQueryLimitDefault, listReleasesQueryLimitMax, listReleasesQueryProjectIdRegExp, listReleasesResponseReleasesItemIdRegExp, listReleasesResponseReleasesItemMetadataGitDirtyDefault, listReleasesResponseReleasesItemMetadataGitShaOneMax, listReleasesResponseReleasesItemMetadataMessageOneMax, listReleasesResponseReleasesItemProjectIdRegExp, listSchemasQueryLimitDefault, listSchemasQueryLimitMax, listSchemasQueryObjectTypeMax, listSchemasQueryProjectIdRegExp, listSchemasQueryRevisionsDefault, listSchemasResponseSchemasItemSchemaOneMetaSchemaMax, listSchemasResponseSchemasItemSchemaOneObjectTypeMax, listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault, listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemMax, listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemRegExp, listUserPasskeysPathUserIdRegExp, listUserPasskeysQueryLimitDefault, listUserPasskeysQueryLimitMax, listUserTeamsPathUserIdRegExp, listUserTeamsQueryLimitDefault, listUserTeamsQueryLimitMax, patchMyUserResponseIdRegExp, patchProjectPathProjectIdRegExp, patchUserByIDPathUserIdRegExp, patchUserByIDResponseIdRegExp, queryGrantsBodyLimitDefault, queryGrantsBodyLimitMax, queryGrantsQueryProjectIdRegExp, queryGrantsResponseGrantsItemUserOneUserIdRegExp, queryIdpsBodyLimitDefault, queryIdpsBodyLimitMax, queryIdpsQueryProjectIdRegExp, queryIdpsResponseIdpsItemDefinitionClaimMappingRegExpOne, queryIdpsResponseIdpsItemDefinitionDisplayNameMax, queryIdpsResponseIdpsItemDefinitionOauth2AuthorizationEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOauth2ClientIdMax, queryIdpsResponseIdpsItemDefinitionOauth2ClientSecretRegExp, queryIdpsResponseIdpsItemDefinitionOauth2PkceEnabledDefault, queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointAuthMethodDefault, queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOauth2UserinfoEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOidcAuthorizationEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOidcClientIdMax, queryIdpsResponseIdpsItemDefinitionOidcClientSecretRegExp, queryIdpsResponseIdpsItemDefinitionOidcIdTokenMappingDefault, queryIdpsResponseIdpsItemDefinitionOidcIssuerRegExp, queryIdpsResponseIdpsItemDefinitionOidcJwksUriRegExp, queryIdpsResponseIdpsItemDefinitionOidcPkceEnabledDefault, queryIdpsResponseIdpsItemDefinitionOidcScopesDefault, queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointAuthMethodDefault, queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOidcUserinfoEndpointRegExp, queryIdpsResponseIdpsItemDefinitionProvisioningCreationDefault, queryIdpsResponseIdpsItemDefinitionSlugMax, queryIdpsResponseIdpsItemDefinitionSlugRegExp, queryProjectsBodyLimitDefault, queryProjectsBodyLimitMax, querySessionsBodyLimitDefault, querySessionsBodyLimitMax, querySessionsQueryProjectIdRegExp, querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, querySessionsResponseSessionsItemProjectIdRegExp, querySessionsResponseSessionsItemSessionIdRegExp, querySessionsResponseSessionsItemUserIdOneRegExp, querySessionsResponseSessionsItemUserUserIdRegExp, queryTeamsBodyLimitDefault, queryTeamsBodyLimitMax, queryTeamsQueryProjectIdRegExp, queryUsersBodyLimitDefault, queryUsersBodyLimitMax, queryUsersQueryProjectIdRegExp, queryUsersResponseUsersItemIdRegExp, revokeSessionPathSessionIdRegExp, setUserPasswordPathUserIdRegExp, submitFlowStepBodyReturnTargetMax, submitFlowStepResponseBrandingHeroUrlMax, submitFlowStepResponseBrandingHeroUrlRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseBrandingLiquidTemplateMax, submitFlowStepResponseBrandingLogoUrlMax, submitFlowStepResponseBrandingLogoUrlRegExp, submitFlowStepResponseBrandingShapeLogoScaleMax, submitFlowStepResponseBrandingShapeLogoScaleMin, submitFlowStepResponseBrandingShapeRadiusTwoMax, submitFlowStepResponseBrandingShapeRadiusTwoMin, submitFlowStepResponseBrandingThemeDarkLogoUrlMax, submitFlowStepResponseBrandingThemeDarkLogoUrlRegExp, submitFlowStepResponseBrandingThemeDarkPaletteBackgroundMax, submitFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp, submitFlowStepResponseBrandingThemeDarkPaletteBorderMax, submitFlowStepResponseBrandingThemeDarkPaletteBorderRegExp, submitFlowStepResponseBrandingThemeDarkPaletteErrorMax, submitFlowStepResponseBrandingThemeDarkPaletteErrorRegExp, submitFlowStepResponseBrandingThemeDarkPaletteLinkMax, submitFlowStepResponseBrandingThemeDarkPaletteLinkRegExp, submitFlowStepResponseBrandingThemeDarkPaletteMutedMax, submitFlowStepResponseBrandingThemeDarkPaletteMutedRegExp, submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax, submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp, submitFlowStepResponseBrandingThemeDarkPalettePrimaryMax, submitFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp, submitFlowStepResponseBrandingThemeDarkPaletteSuccessMax, submitFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp, submitFlowStepResponseBrandingThemeDarkPaletteSurfaceMax, submitFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp, submitFlowStepResponseBrandingThemeDarkPaletteTextMax, submitFlowStepResponseBrandingThemeDarkPaletteTextMutedMax, submitFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp, submitFlowStepResponseBrandingThemeDarkPaletteTextRegExp, submitFlowStepResponseBrandingThemeDarkPaletteWarningMax, submitFlowStepResponseBrandingThemeDarkPaletteWarningRegExp, submitFlowStepResponseBrandingThemeLightLogoUrlMax, submitFlowStepResponseBrandingThemeLightLogoUrlRegExp, submitFlowStepResponseBrandingThemeLightPaletteBackgroundMax, submitFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp, submitFlowStepResponseBrandingThemeLightPaletteBorderMax, submitFlowStepResponseBrandingThemeLightPaletteBorderRegExp, submitFlowStepResponseBrandingThemeLightPaletteErrorMax, submitFlowStepResponseBrandingThemeLightPaletteErrorRegExp, submitFlowStepResponseBrandingThemeLightPaletteLinkMax, submitFlowStepResponseBrandingThemeLightPaletteLinkRegExp, submitFlowStepResponseBrandingThemeLightPaletteMutedMax, submitFlowStepResponseBrandingThemeLightPaletteMutedRegExp, submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax, submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp, submitFlowStepResponseBrandingThemeLightPalettePrimaryMax, submitFlowStepResponseBrandingThemeLightPalettePrimaryRegExp, submitFlowStepResponseBrandingThemeLightPaletteSuccessMax, submitFlowStepResponseBrandingThemeLightPaletteSuccessRegExp, submitFlowStepResponseBrandingThemeLightPaletteSurfaceMax, submitFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp, submitFlowStepResponseBrandingThemeLightPaletteTextMax, submitFlowStepResponseBrandingThemeLightPaletteTextMutedMax, submitFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp, submitFlowStepResponseBrandingThemeLightPaletteTextRegExp, submitFlowStepResponseBrandingThemeLightPaletteWarningMax, submitFlowStepResponseBrandingThemeLightPaletteWarningRegExp, submitFlowStepResponseBrandingTypographyFontFamilyMax, submitFlowStepResponseBrandingTypographyFontFamilyRegExp, submitFlowStepResponseBrandingTypographyFontUrlMax, submitFlowStepResponseBrandingTypographyFontUrlRegExp, submitFlowStepResponseBrandingTypographyScaleMax, submitFlowStepResponseBrandingTypographyScaleMin, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateTeamBodyNameMax, updateTeamPathTeamIdRegExp, updateVariablesBodyThreeValueOneMax, updateVariablesBodyTwoOneMax, updateVariablesQueryEnvironmentNameMax, updateVariablesQueryEnvironmentNameRegExp, updateVariablesQueryProjectIdRegExp, updateVariablesResponseOneOneMax, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
|
|
9949
|
+
export { AddOriginBody, AddOriginParams, AddOriginResponse, BeginUserPasskeyRegistrationBody, BeginUserPasskeyRegistrationParams, BeginUserPasskeyRegistrationResponse, BuildReleaseBody, BuildReleaseQueryParams, BuildReleaseResponse, CompleteClaimBody, CompleteClaimParams, CompleteClaimResponse, CreateAuthAttemptBody, CreateAuthAttemptResponse, CreateBrandingBody, CreateBrandingQueryParams, CreateBrandingResponse, CreateDeploymentBody, CreateDeploymentQueryParams, CreateDeploymentResponse, CreateFlowBody, CreateFlowDefinitionBody, CreateFlowDefinitionResponse, CreateFlowResponse, CreateGrantBody, CreateGrantQueryParams, CreateGrantResponse, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateIdpBody, CreateIdpQueryParams, CreateIdpResponse, CreateProjectBody, CreateProjectResponse, CreateReleaseBody, CreateReleaseQueryParams, CreateReleaseResponse, CreateSchemaBody, CreateSchemaQueryParams, CreateSchemaResponse, CreateSessionBody, CreateSessionResponse, CreateTeamBody, CreateTeamQueryParams, CreateTeamResponse, CreateUserBody, CreateUserQueryParams, CreateUserResponse, DeleteGrantParams, DeleteGrantQueryParams, DeleteGrantResponse, DeleteTeamParams, DeleteTeamResponse, DeleteUserByIDParams, DeleteUserByIDResponse, DeleteVariableParams, DeleteVariableQueryParams, DeleteVariableResponse, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, FinishUserPasskeyRegistrationBody, FinishUserPasskeyRegistrationParams, FinishUserPasskeyRegistrationResponse, GetAuthAttemptParams, GetAuthAttemptResponse, GetBrandingByIdParams, GetBrandingByIdResponse, GetClaimStatusParams, GetClaimStatusQueryParams, GetClaimStatusResponse, GetClaimWindowParams, GetClaimWindowQueryParams, GetClaimWindowResponse, GetDeploymentByIdParams, GetDeploymentByIdQueryParams, GetDeploymentByIdResponse, GetDeploymentVariablesParams, GetDeploymentVariablesQueryParams, GetDeploymentVariablesResponse, GetEventParams, GetEventQueryParams, GetEventResponse, GetFlowDefinitionParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetGrantParams, GetGrantQueryParams, GetGrantResponse, GetHealthResponse, GetIdpByIdParams, GetIdpByIdQueryParams, GetIdpByIdResponse, GetIdpRevisionByIdParams, GetIdpRevisionByIdQueryParams, GetIdpRevisionByIdResponse, GetLiveResponse, GetMySessionCsrfTokenQueryParams, GetMySessionCsrfTokenResponse, GetMySessionQueryParams, GetMySessionResponse, GetMyUserQueryParams, GetMyUserResponse, GetMyUserSchemaQueryParams, GetMyUserSchemaResponse, GetProjectParams, GetProjectResponse, GetReadyResponse, GetReleaseByIdParams, GetReleaseByIdQueryParams, GetReleaseByIdResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionResponse, GetTeamParams, GetTeamResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, GetVariableParams, GetVariableQueryParams, GetVariableResponse, GetVariablesQueryParams, GetVariablesResponse, InitClaimParams, InitClaimResponse, IssueChallengeBody, IssueChallengeParams, IssueChallengeResponse, ListBrandingQueryParams, ListBrandingResponse, ListBrandingResponseItem, ListDeploymentsQueryParams, ListDeploymentsResponse, ListEventsQueryParams, ListEventsResponse, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListIdpRevisionsParams, ListIdpRevisionsQueryParams, ListIdpRevisionsResponse, ListMyProjectsQueryParams, ListMyProjectsResponse, ListMyTeamsQueryParams, ListMyTeamsResponse, ListPreviewsParams, ListPreviewsQueryParams, ListPreviewsResponse, ListReleasesQueryParams, ListReleasesResponse, ListSchemasQueryParams, ListSchemasResponse, ListUserIdentityLinksParams, ListUserIdentityLinksQueryParams, ListUserIdentityLinksResponse, ListUserPasskeysParams, ListUserPasskeysQueryParams, ListUserPasskeysResponse, ListUserTeamsParams, ListUserTeamsQueryParams, ListUserTeamsResponse, PatchMyUserBody, PatchMyUserQueryParams, PatchMyUserResponse, PatchProjectBody, PatchProjectParams, PatchProjectResponse, PatchUserByIDBody, PatchUserByIDParams, PatchUserByIDResponse, QueryGrantsBody, QueryGrantsQueryParams, QueryGrantsResponse, QueryIdpsBody, QueryIdpsQueryParams, QueryIdpsResponse, QueryProjectsBody, QueryProjectsResponse, QuerySessionsBody, QuerySessionsQueryParams, QuerySessionsResponse, QueryTeamsBody, QueryTeamsQueryParams, QueryTeamsResponse, QueryUsersBody, QueryUsersQueryParams, QueryUsersResponse, RemoveOriginBody, RemoveOriginParams, RemoveOriginResponse, RemovePreviewBody, RemovePreviewParams, RemovePreviewResponse, RevokeMySessionQueryParams, RevokeMySessionResponse, RevokeReleaseParams, RevokeReleaseQueryParams, RevokeReleaseResponse, RevokeSessionParams, RevokeSessionResponse, RollbackDeploymentBody, RollbackDeploymentParams, RollbackDeploymentQueryParams, RollbackDeploymentResponse, SetUserPasswordBody, SetUserPasswordParams, SetUserPasswordResponse, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateTeamBody, UpdateTeamParams, UpdateTeamResponse, UpdateVariablesBody, UpdateVariablesQueryParams, UpdateVariablesResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, addOriginPathProjectIdRegExp, beginUserPasskeyRegistrationPathUserIdRegExp, buildReleaseBodyBundleBrandingHeroUrlMax, buildReleaseBodyBundleBrandingHeroUrlRegExp, buildReleaseBodyBundleBrandingLayoutDefault, buildReleaseBodyBundleBrandingLiquidTemplateMax, buildReleaseBodyBundleBrandingLogoUrlMax, buildReleaseBodyBundleBrandingLogoUrlRegExp, buildReleaseBodyBundleBrandingShapeLogoScaleMax, buildReleaseBodyBundleBrandingShapeLogoScaleMin, buildReleaseBodyBundleBrandingShapeRadiusTwoMax, buildReleaseBodyBundleBrandingShapeRadiusTwoMin, buildReleaseBodyBundleBrandingThemeDarkLogoUrlMax, buildReleaseBodyBundleBrandingThemeDarkLogoUrlRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundMax, buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteBorderMax, buildReleaseBodyBundleBrandingThemeDarkPaletteBorderRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteErrorMax, buildReleaseBodyBundleBrandingThemeDarkPaletteErrorRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteLinkMax, buildReleaseBodyBundleBrandingThemeDarkPaletteLinkRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteMutedMax, buildReleaseBodyBundleBrandingThemeDarkPaletteMutedRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryMax, buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryRegExp, buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryMax, buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessMax, buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceMax, buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteTextMax, buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedMax, buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteTextRegExp, buildReleaseBodyBundleBrandingThemeDarkPaletteWarningMax, buildReleaseBodyBundleBrandingThemeDarkPaletteWarningRegExp, buildReleaseBodyBundleBrandingThemeLightLogoUrlMax, buildReleaseBodyBundleBrandingThemeLightLogoUrlRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundMax, buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteBorderMax, buildReleaseBodyBundleBrandingThemeLightPaletteBorderRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteErrorMax, buildReleaseBodyBundleBrandingThemeLightPaletteErrorRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteLinkMax, buildReleaseBodyBundleBrandingThemeLightPaletteLinkRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteMutedMax, buildReleaseBodyBundleBrandingThemeLightPaletteMutedRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryMax, buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryRegExp, buildReleaseBodyBundleBrandingThemeLightPalettePrimaryMax, buildReleaseBodyBundleBrandingThemeLightPalettePrimaryRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteSuccessMax, buildReleaseBodyBundleBrandingThemeLightPaletteSuccessRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceMax, buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteTextMax, buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedMax, buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteTextRegExp, buildReleaseBodyBundleBrandingThemeLightPaletteWarningMax, buildReleaseBodyBundleBrandingThemeLightPaletteWarningRegExp, buildReleaseBodyBundleBrandingTypographyFontFamilyMax, buildReleaseBodyBundleBrandingTypographyFontFamilyRegExp, buildReleaseBodyBundleBrandingTypographyFontUrlMax, buildReleaseBodyBundleBrandingTypographyFontUrlRegExp, buildReleaseBodyBundleBrandingTypographyScaleMax, buildReleaseBodyBundleBrandingTypographyScaleMin, buildReleaseBodyBundleFlowDefinitionsItemNameRegExp, buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsDefault, buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemPrimaryDefault, buildReleaseBodyBundleFlowDefinitionsItemStepsItemFieldsDefault, buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesDefault, buildReleaseBodyBundleFlowDefinitionsItemStepsItemNameRegExp, buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersDefault, buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemMax, buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemRegExp, buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersMax, buildReleaseBodyBundleFlowDefinitionsMax, buildReleaseBodyBundleIdpsItemClaimMappingRegExpOne, buildReleaseBodyBundleIdpsItemDisplayNameMax, buildReleaseBodyBundleIdpsItemOidcAuthorizationEndpointRegExp, buildReleaseBodyBundleIdpsItemOidcClientIdMax, buildReleaseBodyBundleIdpsItemOidcClientSecretRegExp, buildReleaseBodyBundleIdpsItemOidcIdTokenMappingDefault, buildReleaseBodyBundleIdpsItemOidcIssuerRegExp, buildReleaseBodyBundleIdpsItemOidcJwksUriRegExp, buildReleaseBodyBundleIdpsItemOidcPkceEnabledDefault, buildReleaseBodyBundleIdpsItemOidcScopesDefault, buildReleaseBodyBundleIdpsItemOidcTokenEndpointAuthMethodDefault, buildReleaseBodyBundleIdpsItemOidcTokenEndpointRegExp, buildReleaseBodyBundleIdpsItemOidcUserinfoEndpointRegExp, buildReleaseBodyBundleIdpsItemProvisioningCreationDefault, buildReleaseBodyBundleIdpsItemSlugMax, buildReleaseBodyBundleIdpsItemSlugRegExp, buildReleaseBodyBundleIdpsMax, buildReleaseBodyBundleSchemasItemOneMetaSchemaMax, buildReleaseBodyBundleSchemasItemOneObjectTypeMax, buildReleaseBodyBundleSchemasItemOnePropertiesXAuditDefault, buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemMax, buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemRegExp, buildReleaseBodyBundleSchemasMax, buildReleaseBodyGitDirtyDefault, buildReleaseBodyGitShaMax, buildReleaseBodyMessageMax, buildReleaseQueryProjectIdRegExp, buildReleaseResponseContentHashMax, buildReleaseResponseContentHashMin, buildReleaseResponseContentHashRegExp, buildReleaseResponseIdRegExp, buildReleaseResponseMetadataGitDirtyDefault, buildReleaseResponseMetadataGitShaOneMax, buildReleaseResponseMetadataMessageOneMax, buildReleaseResponsePointersItemHandleMax, buildReleaseResponsePointersItemRevisionIdMax, buildReleaseResponsePointersMax, buildReleaseResponseProjectIdRegExp, completeClaimBodyChallengeIdRegExp, completeClaimPathProjectIdRegExp, completeClaimResponseProjectIdRegExp, completeClaimResponseTeamIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createAuthAttemptResponseAttemptIdRegExp, createAuthAttemptResponseChallengesItemChallengeIdRegExp, createAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, createAuthAttemptResponseProjectIdRegExp, createAuthAttemptResponseSessionIdOneRegExp, createAuthAttemptResponseUserIdOneRegExp, createBrandingBodyHeroUrlMax, createBrandingBodyHeroUrlRegExp, createBrandingBodyLayoutDefault, createBrandingBodyLiquidTemplateMax, createBrandingBodyLogoUrlMax, createBrandingBodyLogoUrlRegExp, createBrandingBodyShapeLogoScaleMax, createBrandingBodyShapeLogoScaleMin, createBrandingBodyShapeRadiusTwoMax, createBrandingBodyShapeRadiusTwoMin, createBrandingBodyThemeDarkLogoUrlMax, createBrandingBodyThemeDarkLogoUrlRegExp, createBrandingBodyThemeDarkPaletteBackgroundMax, createBrandingBodyThemeDarkPaletteBackgroundRegExp, createBrandingBodyThemeDarkPaletteBorderMax, createBrandingBodyThemeDarkPaletteBorderRegExp, createBrandingBodyThemeDarkPaletteErrorMax, createBrandingBodyThemeDarkPaletteErrorRegExp, createBrandingBodyThemeDarkPaletteLinkMax, createBrandingBodyThemeDarkPaletteLinkRegExp, createBrandingBodyThemeDarkPaletteMutedMax, createBrandingBodyThemeDarkPaletteMutedRegExp, createBrandingBodyThemeDarkPaletteOnPrimaryMax, createBrandingBodyThemeDarkPaletteOnPrimaryRegExp, createBrandingBodyThemeDarkPalettePrimaryMax, createBrandingBodyThemeDarkPalettePrimaryRegExp, createBrandingBodyThemeDarkPaletteSuccessMax, createBrandingBodyThemeDarkPaletteSuccessRegExp, createBrandingBodyThemeDarkPaletteSurfaceMax, createBrandingBodyThemeDarkPaletteSurfaceRegExp, createBrandingBodyThemeDarkPaletteTextMax, createBrandingBodyThemeDarkPaletteTextMutedMax, createBrandingBodyThemeDarkPaletteTextMutedRegExp, createBrandingBodyThemeDarkPaletteTextRegExp, createBrandingBodyThemeDarkPaletteWarningMax, createBrandingBodyThemeDarkPaletteWarningRegExp, createBrandingBodyThemeLightLogoUrlMax, createBrandingBodyThemeLightLogoUrlRegExp, createBrandingBodyThemeLightPaletteBackgroundMax, createBrandingBodyThemeLightPaletteBackgroundRegExp, createBrandingBodyThemeLightPaletteBorderMax, createBrandingBodyThemeLightPaletteBorderRegExp, createBrandingBodyThemeLightPaletteErrorMax, createBrandingBodyThemeLightPaletteErrorRegExp, createBrandingBodyThemeLightPaletteLinkMax, createBrandingBodyThemeLightPaletteLinkRegExp, createBrandingBodyThemeLightPaletteMutedMax, createBrandingBodyThemeLightPaletteMutedRegExp, createBrandingBodyThemeLightPaletteOnPrimaryMax, createBrandingBodyThemeLightPaletteOnPrimaryRegExp, createBrandingBodyThemeLightPalettePrimaryMax, createBrandingBodyThemeLightPalettePrimaryRegExp, createBrandingBodyThemeLightPaletteSuccessMax, createBrandingBodyThemeLightPaletteSuccessRegExp, createBrandingBodyThemeLightPaletteSurfaceMax, createBrandingBodyThemeLightPaletteSurfaceRegExp, createBrandingBodyThemeLightPaletteTextMax, createBrandingBodyThemeLightPaletteTextMutedMax, createBrandingBodyThemeLightPaletteTextMutedRegExp, createBrandingBodyThemeLightPaletteTextRegExp, createBrandingBodyThemeLightPaletteWarningMax, createBrandingBodyThemeLightPaletteWarningRegExp, createBrandingBodyTypographyFontFamilyMax, createBrandingBodyTypographyFontFamilyRegExp, createBrandingBodyTypographyFontUrlMax, createBrandingBodyTypographyFontUrlRegExp, createBrandingBodyTypographyScaleMax, createBrandingBodyTypographyScaleMin, createBrandingQueryProjectIdRegExp, createBrandingResponseBrandingHeroUrlMax, createBrandingResponseBrandingHeroUrlRegExp, createBrandingResponseBrandingLayoutDefault, createBrandingResponseBrandingLiquidTemplateMax, createBrandingResponseBrandingLogoUrlMax, createBrandingResponseBrandingLogoUrlRegExp, createBrandingResponseBrandingShapeLogoScaleMax, createBrandingResponseBrandingShapeLogoScaleMin, createBrandingResponseBrandingShapeRadiusTwoMax, createBrandingResponseBrandingShapeRadiusTwoMin, createBrandingResponseBrandingThemeDarkLogoUrlMax, createBrandingResponseBrandingThemeDarkLogoUrlRegExp, createBrandingResponseBrandingThemeDarkPaletteBackgroundMax, createBrandingResponseBrandingThemeDarkPaletteBackgroundRegExp, createBrandingResponseBrandingThemeDarkPaletteBorderMax, createBrandingResponseBrandingThemeDarkPaletteBorderRegExp, createBrandingResponseBrandingThemeDarkPaletteErrorMax, createBrandingResponseBrandingThemeDarkPaletteErrorRegExp, createBrandingResponseBrandingThemeDarkPaletteLinkMax, createBrandingResponseBrandingThemeDarkPaletteLinkRegExp, createBrandingResponseBrandingThemeDarkPaletteMutedMax, createBrandingResponseBrandingThemeDarkPaletteMutedRegExp, createBrandingResponseBrandingThemeDarkPaletteOnPrimaryMax, createBrandingResponseBrandingThemeDarkPaletteOnPrimaryRegExp, createBrandingResponseBrandingThemeDarkPalettePrimaryMax, createBrandingResponseBrandingThemeDarkPalettePrimaryRegExp, createBrandingResponseBrandingThemeDarkPaletteSuccessMax, createBrandingResponseBrandingThemeDarkPaletteSuccessRegExp, createBrandingResponseBrandingThemeDarkPaletteSurfaceMax, createBrandingResponseBrandingThemeDarkPaletteSurfaceRegExp, createBrandingResponseBrandingThemeDarkPaletteTextMax, createBrandingResponseBrandingThemeDarkPaletteTextMutedMax, createBrandingResponseBrandingThemeDarkPaletteTextMutedRegExp, createBrandingResponseBrandingThemeDarkPaletteTextRegExp, createBrandingResponseBrandingThemeDarkPaletteWarningMax, createBrandingResponseBrandingThemeDarkPaletteWarningRegExp, createBrandingResponseBrandingThemeLightLogoUrlMax, createBrandingResponseBrandingThemeLightLogoUrlRegExp, createBrandingResponseBrandingThemeLightPaletteBackgroundMax, createBrandingResponseBrandingThemeLightPaletteBackgroundRegExp, createBrandingResponseBrandingThemeLightPaletteBorderMax, createBrandingResponseBrandingThemeLightPaletteBorderRegExp, createBrandingResponseBrandingThemeLightPaletteErrorMax, createBrandingResponseBrandingThemeLightPaletteErrorRegExp, createBrandingResponseBrandingThemeLightPaletteLinkMax, createBrandingResponseBrandingThemeLightPaletteLinkRegExp, createBrandingResponseBrandingThemeLightPaletteMutedMax, createBrandingResponseBrandingThemeLightPaletteMutedRegExp, createBrandingResponseBrandingThemeLightPaletteOnPrimaryMax, createBrandingResponseBrandingThemeLightPaletteOnPrimaryRegExp, createBrandingResponseBrandingThemeLightPalettePrimaryMax, createBrandingResponseBrandingThemeLightPalettePrimaryRegExp, createBrandingResponseBrandingThemeLightPaletteSuccessMax, createBrandingResponseBrandingThemeLightPaletteSuccessRegExp, createBrandingResponseBrandingThemeLightPaletteSurfaceMax, createBrandingResponseBrandingThemeLightPaletteSurfaceRegExp, createBrandingResponseBrandingThemeLightPaletteTextMax, createBrandingResponseBrandingThemeLightPaletteTextMutedMax, createBrandingResponseBrandingThemeLightPaletteTextMutedRegExp, createBrandingResponseBrandingThemeLightPaletteTextRegExp, createBrandingResponseBrandingThemeLightPaletteWarningMax, createBrandingResponseBrandingThemeLightPaletteWarningRegExp, createBrandingResponseBrandingTypographyFontFamilyMax, createBrandingResponseBrandingTypographyFontFamilyRegExp, createBrandingResponseBrandingTypographyFontUrlMax, createBrandingResponseBrandingTypographyFontUrlRegExp, createBrandingResponseBrandingTypographyScaleMax, createBrandingResponseBrandingTypographyScaleMin, createDeploymentBodyContentHashMax, createDeploymentBodyContentHashMin, createDeploymentBodyContentHashRegExp, createDeploymentBodyExpectedDeploymentIdRegExp, createDeploymentBodyMessageMax, createDeploymentBodyReleaseIdRegExp, createDeploymentBodyTargetsItemMax, createDeploymentBodyTargetsItemRegExp, createDeploymentBodyTargetsMax, createDeploymentBodyTtlRegExp, createDeploymentQueryProjectIdRegExp, createDeploymentResponseIdRegExp, createDeploymentResponseMetadataMessageOneMax, createDeploymentResponseMetadataRollbackToOneRegExp, createDeploymentResponseProjectIdRegExp, createDeploymentResponseReleaseContentHashMax, createDeploymentResponseReleaseContentHashMin, createDeploymentResponseReleaseContentHashRegExp, createDeploymentResponseReleaseIdRegExp, createDeploymentResponseReleaseIdRegExpOne, createDeploymentResponseReleaseMetadataGitDirtyDefault, createDeploymentResponseReleaseMetadataGitShaOneMax, createDeploymentResponseReleaseMetadataMessageOneMax, createDeploymentResponseReleasePointersItemHandleMax, createDeploymentResponseReleasePointersItemRevisionIdMax, createDeploymentResponseReleasePointersMax, createDeploymentResponseReleaseProjectIdRegExp, createDeploymentResponseTargetsItemOriginMax, createDeploymentResponseTargetsItemOriginRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemMax, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItemRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersMax, createFlowDefinitionBodyProjectIdRegExp, createFlowDefinitionResponseFlowDefinitionNameRegExp, createFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, createFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, createFlowDefinitionResponseFlowDefinitionStepsItemNameRegExp, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemMax, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp, createFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersMax, createFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax, createFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, createFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, createFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax, createFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp, createFlowResponseBrandingHeroUrlMax, createFlowResponseBrandingHeroUrlRegExp, createFlowResponseBrandingLayoutDefault, createFlowResponseBrandingLiquidTemplateMax, createFlowResponseBrandingLogoUrlMax, createFlowResponseBrandingLogoUrlRegExp, createFlowResponseBrandingShapeLogoScaleMax, createFlowResponseBrandingShapeLogoScaleMin, createFlowResponseBrandingShapeRadiusTwoMax, createFlowResponseBrandingShapeRadiusTwoMin, createFlowResponseBrandingThemeDarkLogoUrlMax, createFlowResponseBrandingThemeDarkLogoUrlRegExp, createFlowResponseBrandingThemeDarkPaletteBackgroundMax, createFlowResponseBrandingThemeDarkPaletteBackgroundRegExp, createFlowResponseBrandingThemeDarkPaletteBorderMax, createFlowResponseBrandingThemeDarkPaletteBorderRegExp, createFlowResponseBrandingThemeDarkPaletteErrorMax, createFlowResponseBrandingThemeDarkPaletteErrorRegExp, createFlowResponseBrandingThemeDarkPaletteLinkMax, createFlowResponseBrandingThemeDarkPaletteLinkRegExp, createFlowResponseBrandingThemeDarkPaletteMutedMax, createFlowResponseBrandingThemeDarkPaletteMutedRegExp, createFlowResponseBrandingThemeDarkPaletteOnPrimaryMax, createFlowResponseBrandingThemeDarkPaletteOnPrimaryRegExp, createFlowResponseBrandingThemeDarkPalettePrimaryMax, createFlowResponseBrandingThemeDarkPalettePrimaryRegExp, createFlowResponseBrandingThemeDarkPaletteSuccessMax, createFlowResponseBrandingThemeDarkPaletteSuccessRegExp, createFlowResponseBrandingThemeDarkPaletteSurfaceMax, createFlowResponseBrandingThemeDarkPaletteSurfaceRegExp, createFlowResponseBrandingThemeDarkPaletteTextMax, createFlowResponseBrandingThemeDarkPaletteTextMutedMax, createFlowResponseBrandingThemeDarkPaletteTextMutedRegExp, createFlowResponseBrandingThemeDarkPaletteTextRegExp, createFlowResponseBrandingThemeDarkPaletteWarningMax, createFlowResponseBrandingThemeDarkPaletteWarningRegExp, createFlowResponseBrandingThemeLightLogoUrlMax, createFlowResponseBrandingThemeLightLogoUrlRegExp, createFlowResponseBrandingThemeLightPaletteBackgroundMax, createFlowResponseBrandingThemeLightPaletteBackgroundRegExp, createFlowResponseBrandingThemeLightPaletteBorderMax, createFlowResponseBrandingThemeLightPaletteBorderRegExp, createFlowResponseBrandingThemeLightPaletteErrorMax, createFlowResponseBrandingThemeLightPaletteErrorRegExp, createFlowResponseBrandingThemeLightPaletteLinkMax, createFlowResponseBrandingThemeLightPaletteLinkRegExp, createFlowResponseBrandingThemeLightPaletteMutedMax, createFlowResponseBrandingThemeLightPaletteMutedRegExp, createFlowResponseBrandingThemeLightPaletteOnPrimaryMax, createFlowResponseBrandingThemeLightPaletteOnPrimaryRegExp, createFlowResponseBrandingThemeLightPalettePrimaryMax, createFlowResponseBrandingThemeLightPalettePrimaryRegExp, createFlowResponseBrandingThemeLightPaletteSuccessMax, createFlowResponseBrandingThemeLightPaletteSuccessRegExp, createFlowResponseBrandingThemeLightPaletteSurfaceMax, createFlowResponseBrandingThemeLightPaletteSurfaceRegExp, createFlowResponseBrandingThemeLightPaletteTextMax, createFlowResponseBrandingThemeLightPaletteTextMutedMax, createFlowResponseBrandingThemeLightPaletteTextMutedRegExp, createFlowResponseBrandingThemeLightPaletteTextRegExp, createFlowResponseBrandingThemeLightPaletteWarningMax, createFlowResponseBrandingThemeLightPaletteWarningRegExp, createFlowResponseBrandingTypographyFontFamilyMax, createFlowResponseBrandingTypographyFontFamilyRegExp, createFlowResponseBrandingTypographyFontUrlMax, createFlowResponseBrandingTypographyFontUrlRegExp, createFlowResponseBrandingTypographyScaleMax, createFlowResponseBrandingTypographyScaleMin, createFlowResponseStepActionsDefault, createFlowResponseStepActionsItemPrimaryDefault, createFlowResponseStepFieldsDefault, createFlowResponseStepFieldsItemReadOnlyDefault, createFlowResponseStepFieldsItemRequiredDefault, createFlowResponseStepFieldsItemValidationMaxLengthMin, createFlowResponseStepFieldsItemValidationMinLengthMin, createFlowResponseStepGatesDefault, createFlowResponseStepSsoProvidersDefault, createGrantBodyTeamTeamIdRegExp, createGrantBodyUserUserIdRegExp, createGrantQueryProjectIdRegExp, createGrantResponseUserOneUserIdRegExp, createHandoffPathAttemptIdRegExp, createIdpBodyIdpClaimMappingRegExpOne, createIdpBodyIdpDisplayNameMax, createIdpBodyIdpOidcAuthorizationEndpointRegExp, createIdpBodyIdpOidcClientIdMax, createIdpBodyIdpOidcClientSecretRegExp, createIdpBodyIdpOidcIdTokenMappingDefault, createIdpBodyIdpOidcIssuerRegExp, createIdpBodyIdpOidcJwksUriRegExp, createIdpBodyIdpOidcPkceEnabledDefault, createIdpBodyIdpOidcScopesDefault, createIdpBodyIdpOidcTokenEndpointAuthMethodDefault, createIdpBodyIdpOidcTokenEndpointRegExp, createIdpBodyIdpOidcUserinfoEndpointRegExp, createIdpBodyIdpProvisioningCreationDefault, createIdpBodyIdpSlugMax, createIdpBodyIdpSlugRegExp, createIdpQueryProjectIdRegExp, createIdpResponseDefinitionClaimMappingRegExpOne, createIdpResponseDefinitionDisplayNameMax, createIdpResponseDefinitionOidcAuthorizationEndpointRegExp, createIdpResponseDefinitionOidcClientIdMax, createIdpResponseDefinitionOidcClientSecretRegExp, createIdpResponseDefinitionOidcIdTokenMappingDefault, createIdpResponseDefinitionOidcIssuerRegExp, createIdpResponseDefinitionOidcJwksUriRegExp, createIdpResponseDefinitionOidcPkceEnabledDefault, createIdpResponseDefinitionOidcScopesDefault, createIdpResponseDefinitionOidcTokenEndpointAuthMethodDefault, createIdpResponseDefinitionOidcTokenEndpointRegExp, createIdpResponseDefinitionOidcUserinfoEndpointRegExp, createIdpResponseDefinitionProvisioningCreationDefault, createIdpResponseDefinitionSlugMax, createIdpResponseDefinitionSlugRegExp, createProjectBodySeedDefaultsDefault, createReleaseBodyGitDirtyDefault, createReleaseBodyGitShaMax, createReleaseBodyMessageMax, createReleaseBodyPointersItemRevisionIdMax, createReleaseBodyPointersMax, createReleaseQueryProjectIdRegExp, createReleaseResponseContentHashMax, createReleaseResponseContentHashMin, createReleaseResponseContentHashRegExp, createReleaseResponseIdRegExp, createReleaseResponseMetadataGitDirtyDefault, createReleaseResponseMetadataGitShaOneMax, createReleaseResponseMetadataMessageOneMax, createReleaseResponsePointersItemHandleMax, createReleaseResponsePointersItemRevisionIdMax, createReleaseResponsePointersMax, createReleaseResponseProjectIdRegExp, createSchemaBodyOneMetaSchemaMax, createSchemaBodyOneObjectTypeMax, createSchemaBodyOnePropertiesXAuditDefault, createSchemaBodyOneXAuthMethodsSsoProvidersItemMax, createSchemaBodyOneXAuthMethodsSsoProvidersItemRegExp, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createSessionResponseSessionFactorsItemPayloadOneUserIdRegExp, createSessionResponseSessionProjectIdRegExp, createSessionResponseSessionSessionIdRegExp, createSessionResponseSessionUserIdOneRegExp, createSessionResponseSessionUserUserIdRegExp, createTeamBodyNameMax, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, createUserResponseIdRegExp, deleteGrantQueryProjectIdRegExp, deleteTeamPathTeamIdRegExp, deleteUserByIDPathUserIdRegExp, deleteVariablePathVariableNameMax, deleteVariablePathVariableNameRegExp, deleteVariableQueryProjectIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, exchangeHandoffResponseSessionUserUserIdRegExp, finishUserPasskeyRegistrationPathUserIdRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getBrandingByIdResponseBrandingHeroUrlMax, getBrandingByIdResponseBrandingHeroUrlRegExp, getBrandingByIdResponseBrandingLayoutDefault, getBrandingByIdResponseBrandingLiquidTemplateMax, getBrandingByIdResponseBrandingLogoUrlMax, getBrandingByIdResponseBrandingLogoUrlRegExp, getBrandingByIdResponseBrandingShapeLogoScaleMax, getBrandingByIdResponseBrandingShapeLogoScaleMin, getBrandingByIdResponseBrandingShapeRadiusTwoMax, getBrandingByIdResponseBrandingShapeRadiusTwoMin, getBrandingByIdResponseBrandingThemeDarkLogoUrlMax, getBrandingByIdResponseBrandingThemeDarkLogoUrlRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundMax, getBrandingByIdResponseBrandingThemeDarkPaletteBackgroundRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteBorderMax, getBrandingByIdResponseBrandingThemeDarkPaletteBorderRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteErrorMax, getBrandingByIdResponseBrandingThemeDarkPaletteErrorRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteLinkMax, getBrandingByIdResponseBrandingThemeDarkPaletteLinkRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteMutedMax, getBrandingByIdResponseBrandingThemeDarkPaletteMutedRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryMax, getBrandingByIdResponseBrandingThemeDarkPaletteOnPrimaryRegExp, getBrandingByIdResponseBrandingThemeDarkPalettePrimaryMax, getBrandingByIdResponseBrandingThemeDarkPalettePrimaryRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteSuccessMax, getBrandingByIdResponseBrandingThemeDarkPaletteSuccessRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceMax, getBrandingByIdResponseBrandingThemeDarkPaletteSurfaceRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteTextMax, getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedMax, getBrandingByIdResponseBrandingThemeDarkPaletteTextMutedRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteTextRegExp, getBrandingByIdResponseBrandingThemeDarkPaletteWarningMax, getBrandingByIdResponseBrandingThemeDarkPaletteWarningRegExp, getBrandingByIdResponseBrandingThemeLightLogoUrlMax, getBrandingByIdResponseBrandingThemeLightLogoUrlRegExp, getBrandingByIdResponseBrandingThemeLightPaletteBackgroundMax, getBrandingByIdResponseBrandingThemeLightPaletteBackgroundRegExp, getBrandingByIdResponseBrandingThemeLightPaletteBorderMax, getBrandingByIdResponseBrandingThemeLightPaletteBorderRegExp, getBrandingByIdResponseBrandingThemeLightPaletteErrorMax, getBrandingByIdResponseBrandingThemeLightPaletteErrorRegExp, getBrandingByIdResponseBrandingThemeLightPaletteLinkMax, getBrandingByIdResponseBrandingThemeLightPaletteLinkRegExp, getBrandingByIdResponseBrandingThemeLightPaletteMutedMax, getBrandingByIdResponseBrandingThemeLightPaletteMutedRegExp, getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryMax, getBrandingByIdResponseBrandingThemeLightPaletteOnPrimaryRegExp, getBrandingByIdResponseBrandingThemeLightPalettePrimaryMax, getBrandingByIdResponseBrandingThemeLightPalettePrimaryRegExp, getBrandingByIdResponseBrandingThemeLightPaletteSuccessMax, getBrandingByIdResponseBrandingThemeLightPaletteSuccessRegExp, getBrandingByIdResponseBrandingThemeLightPaletteSurfaceMax, getBrandingByIdResponseBrandingThemeLightPaletteSurfaceRegExp, getBrandingByIdResponseBrandingThemeLightPaletteTextMax, getBrandingByIdResponseBrandingThemeLightPaletteTextMutedMax, getBrandingByIdResponseBrandingThemeLightPaletteTextMutedRegExp, getBrandingByIdResponseBrandingThemeLightPaletteTextRegExp, getBrandingByIdResponseBrandingThemeLightPaletteWarningMax, getBrandingByIdResponseBrandingThemeLightPaletteWarningRegExp, getBrandingByIdResponseBrandingTypographyFontFamilyMax, getBrandingByIdResponseBrandingTypographyFontFamilyRegExp, getBrandingByIdResponseBrandingTypographyFontUrlMax, getBrandingByIdResponseBrandingTypographyFontUrlRegExp, getBrandingByIdResponseBrandingTypographyScaleMax, getBrandingByIdResponseBrandingTypographyScaleMin, getClaimStatusPathProjectIdRegExp, getClaimStatusQueryChallengeIdRegExp, getClaimStatusResponseTwoTeamIdRegExp, getClaimWindowPathProjectIdRegExp, getClaimWindowQueryChallengeIdRegExp, getDeploymentByIdPathDeploymentIdRegExp, getDeploymentByIdQueryProjectIdRegExp, getDeploymentByIdResponseIdRegExp, getDeploymentByIdResponseMetadataMessageOneMax, getDeploymentByIdResponseMetadataRollbackToOneRegExp, getDeploymentByIdResponseProjectIdRegExp, getDeploymentByIdResponseReleaseContentHashMax, getDeploymentByIdResponseReleaseContentHashMin, getDeploymentByIdResponseReleaseContentHashRegExp, getDeploymentByIdResponseReleaseIdRegExp, getDeploymentByIdResponseReleaseIdRegExpOne, getDeploymentByIdResponseReleaseMetadataGitDirtyDefault, getDeploymentByIdResponseReleaseMetadataGitShaOneMax, getDeploymentByIdResponseReleaseMetadataMessageOneMax, getDeploymentByIdResponseReleasePointersItemHandleMax, getDeploymentByIdResponseReleasePointersItemRevisionIdMax, getDeploymentByIdResponseReleasePointersMax, getDeploymentByIdResponseReleaseProjectIdRegExp, getDeploymentByIdResponseTargetsItemOriginMax, getDeploymentByIdResponseTargetsItemOriginRegExp, getDeploymentVariablesPathDeploymentIdRegExp, getDeploymentVariablesQueryProjectIdRegExp, getDeploymentVariablesResponseOneOneMax, getEventQueryProjectIdRegExp, getEventResponseEightOneProjectIdRegExp, getEventResponseFiveOneProjectIdRegExp, getEventResponseFourOneProjectIdRegExp, getEventResponseFouroneOneProjectIdRegExp, getEventResponseFourzeroOneProjectIdRegExp, getEventResponseNineOneProjectIdRegExp, getEventResponseOneOneProjectIdRegExp, getEventResponseOneeightOneProjectIdRegExp, getEventResponseOnefiveOneProjectIdRegExp, getEventResponseOnefourOneProjectIdRegExp, getEventResponseOnenineOneProjectIdRegExp, getEventResponseOneoneOneProjectIdRegExp, getEventResponseOnesevenOneProjectIdRegExp, getEventResponseOnesixOneProjectIdRegExp, getEventResponseOnethreeOneProjectIdRegExp, getEventResponseOnetwoOneProjectIdRegExp, getEventResponseOnezeroOneProjectIdRegExp, getEventResponseSevenOneProjectIdRegExp, getEventResponseSixOneProjectIdRegExp, getEventResponseThreeOneProjectIdRegExp, getEventResponseThreeeightOneProjectIdRegExp, getEventResponseThreefiveOneProjectIdRegExp, getEventResponseThreefourOneProjectIdRegExp, getEventResponseThreenineOneProjectIdRegExp, getEventResponseThreeoneOneProjectIdRegExp, getEventResponseThreesevenOneProjectIdRegExp, getEventResponseThreesixOneProjectIdRegExp, getEventResponseThreethreeOneProjectIdRegExp, getEventResponseThreetwoOneProjectIdRegExp, getEventResponseThreezeroOneProjectIdRegExp, getEventResponseTwoOneProjectIdRegExp, getEventResponseTwoeightOneProjectIdRegExp, getEventResponseTwoeightTwoPayloadContentHashMax, getEventResponseTwoeightTwoPayloadContentHashMin, getEventResponseTwoeightTwoPayloadContentHashRegExp, getEventResponseTwofiveOneProjectIdRegExp, getEventResponseTwofourOneProjectIdRegExp, getEventResponseTwonineOneProjectIdRegExp, getEventResponseTwonineTwoPayloadDurationMsMin, getEventResponseTwonineTwoPayloadStatusMax, getEventResponseTwonineTwoPayloadStatusMin, getEventResponseTwooneOneProjectIdRegExp, getEventResponseTwosevenOneProjectIdRegExp, getEventResponseTwosixOneProjectIdRegExp, getEventResponseTwothreeOneProjectIdRegExp, getEventResponseTwotwoOneProjectIdRegExp, getEventResponseTwozeroOneProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemMax, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersItemRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersMax, getFlowDefinitionResponseUserSchemaOneSchemaOneMetaSchemaMax, getFlowDefinitionResponseUserSchemaOneSchemaOneObjectTypeMax, getFlowDefinitionResponseUserSchemaOneSchemaOnePropertiesXAuditDefault, getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax, getFlowDefinitionResponseUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp, getFlowStepResponseBrandingHeroUrlMax, getFlowStepResponseBrandingHeroUrlRegExp, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseBrandingLiquidTemplateMax, getFlowStepResponseBrandingLogoUrlMax, getFlowStepResponseBrandingLogoUrlRegExp, getFlowStepResponseBrandingShapeLogoScaleMax, getFlowStepResponseBrandingShapeLogoScaleMin, getFlowStepResponseBrandingShapeRadiusTwoMax, getFlowStepResponseBrandingShapeRadiusTwoMin, getFlowStepResponseBrandingThemeDarkLogoUrlMax, getFlowStepResponseBrandingThemeDarkLogoUrlRegExp, getFlowStepResponseBrandingThemeDarkPaletteBackgroundMax, getFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp, getFlowStepResponseBrandingThemeDarkPaletteBorderMax, getFlowStepResponseBrandingThemeDarkPaletteBorderRegExp, getFlowStepResponseBrandingThemeDarkPaletteErrorMax, getFlowStepResponseBrandingThemeDarkPaletteErrorRegExp, getFlowStepResponseBrandingThemeDarkPaletteLinkMax, getFlowStepResponseBrandingThemeDarkPaletteLinkRegExp, getFlowStepResponseBrandingThemeDarkPaletteMutedMax, getFlowStepResponseBrandingThemeDarkPaletteMutedRegExp, getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax, getFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp, getFlowStepResponseBrandingThemeDarkPalettePrimaryMax, getFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp, getFlowStepResponseBrandingThemeDarkPaletteSuccessMax, getFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp, getFlowStepResponseBrandingThemeDarkPaletteSurfaceMax, getFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp, getFlowStepResponseBrandingThemeDarkPaletteTextMax, getFlowStepResponseBrandingThemeDarkPaletteTextMutedMax, getFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp, getFlowStepResponseBrandingThemeDarkPaletteTextRegExp, getFlowStepResponseBrandingThemeDarkPaletteWarningMax, getFlowStepResponseBrandingThemeDarkPaletteWarningRegExp, getFlowStepResponseBrandingThemeLightLogoUrlMax, getFlowStepResponseBrandingThemeLightLogoUrlRegExp, getFlowStepResponseBrandingThemeLightPaletteBackgroundMax, getFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp, getFlowStepResponseBrandingThemeLightPaletteBorderMax, getFlowStepResponseBrandingThemeLightPaletteBorderRegExp, getFlowStepResponseBrandingThemeLightPaletteErrorMax, getFlowStepResponseBrandingThemeLightPaletteErrorRegExp, getFlowStepResponseBrandingThemeLightPaletteLinkMax, getFlowStepResponseBrandingThemeLightPaletteLinkRegExp, getFlowStepResponseBrandingThemeLightPaletteMutedMax, getFlowStepResponseBrandingThemeLightPaletteMutedRegExp, getFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax, getFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp, getFlowStepResponseBrandingThemeLightPalettePrimaryMax, getFlowStepResponseBrandingThemeLightPalettePrimaryRegExp, getFlowStepResponseBrandingThemeLightPaletteSuccessMax, getFlowStepResponseBrandingThemeLightPaletteSuccessRegExp, getFlowStepResponseBrandingThemeLightPaletteSurfaceMax, getFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp, getFlowStepResponseBrandingThemeLightPaletteTextMax, getFlowStepResponseBrandingThemeLightPaletteTextMutedMax, getFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp, getFlowStepResponseBrandingThemeLightPaletteTextRegExp, getFlowStepResponseBrandingThemeLightPaletteWarningMax, getFlowStepResponseBrandingThemeLightPaletteWarningRegExp, getFlowStepResponseBrandingTypographyFontFamilyMax, getFlowStepResponseBrandingTypographyFontFamilyRegExp, getFlowStepResponseBrandingTypographyFontUrlMax, getFlowStepResponseBrandingTypographyFontUrlRegExp, getFlowStepResponseBrandingTypographyScaleMax, getFlowStepResponseBrandingTypographyScaleMin, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemReadOnlyDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getGrantQueryProjectIdRegExp, getGrantResponseUserOneUserIdRegExp, getIdpByIdQueryProjectIdRegExp, getIdpByIdResponseDefinitionClaimMappingRegExpOne, getIdpByIdResponseDefinitionDisplayNameMax, getIdpByIdResponseDefinitionOidcAuthorizationEndpointRegExp, getIdpByIdResponseDefinitionOidcClientIdMax, getIdpByIdResponseDefinitionOidcClientSecretRegExp, getIdpByIdResponseDefinitionOidcIdTokenMappingDefault, getIdpByIdResponseDefinitionOidcIssuerRegExp, getIdpByIdResponseDefinitionOidcJwksUriRegExp, getIdpByIdResponseDefinitionOidcPkceEnabledDefault, getIdpByIdResponseDefinitionOidcScopesDefault, getIdpByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault, getIdpByIdResponseDefinitionOidcTokenEndpointRegExp, getIdpByIdResponseDefinitionOidcUserinfoEndpointRegExp, getIdpByIdResponseDefinitionProvisioningCreationDefault, getIdpByIdResponseDefinitionSlugMax, getIdpByIdResponseDefinitionSlugRegExp, getIdpRevisionByIdQueryProjectIdRegExp, getIdpRevisionByIdResponseDefinitionClaimMappingRegExpOne, getIdpRevisionByIdResponseDefinitionDisplayNameMax, getIdpRevisionByIdResponseDefinitionOidcAuthorizationEndpointRegExp, getIdpRevisionByIdResponseDefinitionOidcClientIdMax, getIdpRevisionByIdResponseDefinitionOidcClientSecretRegExp, getIdpRevisionByIdResponseDefinitionOidcIdTokenMappingDefault, getIdpRevisionByIdResponseDefinitionOidcIssuerRegExp, getIdpRevisionByIdResponseDefinitionOidcJwksUriRegExp, getIdpRevisionByIdResponseDefinitionOidcPkceEnabledDefault, getIdpRevisionByIdResponseDefinitionOidcScopesDefault, getIdpRevisionByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault, getIdpRevisionByIdResponseDefinitionOidcTokenEndpointRegExp, getIdpRevisionByIdResponseDefinitionOidcUserinfoEndpointRegExp, getIdpRevisionByIdResponseDefinitionProvisioningCreationDefault, getIdpRevisionByIdResponseDefinitionSlugMax, getIdpRevisionByIdResponseDefinitionSlugRegExp, getMySessionCsrfTokenQueryProjectIdRegExp, getMySessionQueryProjectIdRegExp, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getMySessionResponseUserUserIdRegExp, getMyUserQueryProjectIdRegExp, getMyUserResponseIdRegExp, getMyUserSchemaQueryProjectIdRegExp, getMyUserSchemaResponseSchemaOneMetaSchemaMax, getMyUserSchemaResponseSchemaOneObjectTypeMax, getMyUserSchemaResponseSchemaOnePropertiesXAuditDefault, getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemMax, getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp, getProjectPathProjectIdRegExp, getReleaseByIdPathReleaseIdRegExp, getReleaseByIdQueryProjectIdRegExp, getReleaseByIdResponseContentHashMax, getReleaseByIdResponseContentHashMin, getReleaseByIdResponseContentHashRegExp, getReleaseByIdResponseIdRegExp, getReleaseByIdResponseMetadataGitDirtyDefault, getReleaseByIdResponseMetadataGitShaOneMax, getReleaseByIdResponseMetadataMessageOneMax, getReleaseByIdResponsePointersItemHandleMax, getReleaseByIdResponsePointersItemRevisionIdMax, getReleaseByIdResponsePointersMax, getReleaseByIdResponseProjectIdRegExp, getSchemaByIdQueryProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseSchemaOneMetaSchemaMax, getSchemaByIdResponseSchemaOneObjectTypeMax, getSchemaByIdResponseSchemaOnePropertiesXAuditDefault, getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemMax, getSchemaByIdResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp, getSessionPathSessionIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getSessionResponseUserUserIdRegExp, getTeamPathTeamIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryTeamIdRegExp, getUserByIDResponseIdRegExp, getVariablePathVariableNameMax, getVariablePathVariableNameRegExp, getVariableQueryProjectIdRegExp, getVariableResponsePreviewOneOneMax, getVariableResponsePrimaryOneOneMax, getVariablesQueryProjectIdRegExp, getVariablesResponsePreviewOneOneMax, getVariablesResponsePrimaryOneOneMax, initClaimPathProjectIdRegExp, initClaimResponseChallengeIdRegExp, issueChallengePathAttemptIdRegExp, issueChallengeResponseChallengeIdRegExp, listBrandingQueryProjectIdRegExp, listDeploymentsQueryLimitDefault, listDeploymentsQueryLimitMax, listDeploymentsQueryLiveDefault, listDeploymentsQueryOriginMax, listDeploymentsQueryOriginRegExp, listDeploymentsQueryProjectIdRegExp, listDeploymentsResponseDeploymentsItemIdRegExp, listDeploymentsResponseDeploymentsItemMetadataMessageOneMax, listDeploymentsResponseDeploymentsItemMetadataRollbackToOneRegExp, listDeploymentsResponseDeploymentsItemProjectIdRegExp, listDeploymentsResponseDeploymentsItemReleaseContentHashMax, listDeploymentsResponseDeploymentsItemReleaseContentHashMin, listDeploymentsResponseDeploymentsItemReleaseContentHashRegExp, listDeploymentsResponseDeploymentsItemReleaseIdRegExp, listDeploymentsResponseDeploymentsItemReleaseIdRegExpOne, listDeploymentsResponseDeploymentsItemReleaseMetadataGitDirtyDefault, listDeploymentsResponseDeploymentsItemReleaseMetadataGitShaOneMax, listDeploymentsResponseDeploymentsItemReleaseMetadataMessageOneMax, listDeploymentsResponseDeploymentsItemReleasePointersItemHandleMax, listDeploymentsResponseDeploymentsItemReleasePointersItemRevisionIdMax, listDeploymentsResponseDeploymentsItemReleasePointersMax, listDeploymentsResponseDeploymentsItemReleaseProjectIdRegExp, listDeploymentsResponseDeploymentsItemTargetsItemOriginMax, listDeploymentsResponseDeploymentsItemTargetsItemOriginRegExp, listEventsQueryLimitDefault, listEventsQueryLimitMax, listEventsQueryOrderDefault, listEventsQueryProjectIdRegExp, listEventsResponseDataItemEightOneProjectIdRegExp, listEventsResponseDataItemFiveOneProjectIdRegExp, listEventsResponseDataItemFourOneProjectIdRegExp, listEventsResponseDataItemFouroneOneProjectIdRegExp, listEventsResponseDataItemFourzeroOneProjectIdRegExp, listEventsResponseDataItemNineOneProjectIdRegExp, listEventsResponseDataItemOneOneProjectIdRegExp, listEventsResponseDataItemOneeightOneProjectIdRegExp, listEventsResponseDataItemOnefiveOneProjectIdRegExp, listEventsResponseDataItemOnefourOneProjectIdRegExp, listEventsResponseDataItemOnenineOneProjectIdRegExp, listEventsResponseDataItemOneoneOneProjectIdRegExp, listEventsResponseDataItemOnesevenOneProjectIdRegExp, listEventsResponseDataItemOnesixOneProjectIdRegExp, listEventsResponseDataItemOnethreeOneProjectIdRegExp, listEventsResponseDataItemOnetwoOneProjectIdRegExp, listEventsResponseDataItemOnezeroOneProjectIdRegExp, listEventsResponseDataItemSevenOneProjectIdRegExp, listEventsResponseDataItemSixOneProjectIdRegExp, listEventsResponseDataItemThreeOneProjectIdRegExp, listEventsResponseDataItemThreeeightOneProjectIdRegExp, listEventsResponseDataItemThreefiveOneProjectIdRegExp, listEventsResponseDataItemThreefourOneProjectIdRegExp, listEventsResponseDataItemThreenineOneProjectIdRegExp, listEventsResponseDataItemThreeoneOneProjectIdRegExp, listEventsResponseDataItemThreesevenOneProjectIdRegExp, listEventsResponseDataItemThreesixOneProjectIdRegExp, listEventsResponseDataItemThreethreeOneProjectIdRegExp, listEventsResponseDataItemThreetwoOneProjectIdRegExp, listEventsResponseDataItemThreezeroOneProjectIdRegExp, listEventsResponseDataItemTwoOneProjectIdRegExp, listEventsResponseDataItemTwoeightOneProjectIdRegExp, listEventsResponseDataItemTwoeightTwoPayloadContentHashMax, listEventsResponseDataItemTwoeightTwoPayloadContentHashMin, listEventsResponseDataItemTwoeightTwoPayloadContentHashRegExp, listEventsResponseDataItemTwofiveOneProjectIdRegExp, listEventsResponseDataItemTwofourOneProjectIdRegExp, listEventsResponseDataItemTwonineOneProjectIdRegExp, listEventsResponseDataItemTwonineTwoPayloadDurationMsMin, listEventsResponseDataItemTwonineTwoPayloadStatusMax, listEventsResponseDataItemTwonineTwoPayloadStatusMin, listEventsResponseDataItemTwooneOneProjectIdRegExp, listEventsResponseDataItemTwosevenOneProjectIdRegExp, listEventsResponseDataItemTwosixOneProjectIdRegExp, listEventsResponseDataItemTwothreeOneProjectIdRegExp, listEventsResponseDataItemTwotwoOneProjectIdRegExp, listEventsResponseDataItemTwozeroOneProjectIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryNameRegExp, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsQueryRevisionsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionNameRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemActionsItemPrimaryDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemFieldsDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemGatesDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemNameRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersDefault, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemMax, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItemRegExp, listFlowDefinitionsResponseFlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneMetaSchemaMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneObjectTypeMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOnePropertiesXAuditDefault, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemMax, listFlowDefinitionsResponseFlowDefinitionsItemUserSchemaOneSchemaOneXAuthMethodsSsoProvidersItemRegExp, listIdpRevisionsQueryLimitDefault, listIdpRevisionsQueryLimitMax, listIdpRevisionsQueryProjectIdRegExp, listIdpRevisionsResponseRevisionsItemDefinitionClaimMappingRegExpOne, listIdpRevisionsResponseRevisionsItemDefinitionDisplayNameMax, listIdpRevisionsResponseRevisionsItemDefinitionOidcAuthorizationEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcClientIdMax, listIdpRevisionsResponseRevisionsItemDefinitionOidcClientSecretRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcIdTokenMappingDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcIssuerRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcJwksUriRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcPkceEnabledDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointAuthMethodDefault, listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionOidcUserinfoEndpointRegExp, listIdpRevisionsResponseRevisionsItemDefinitionProvisioningCreationDefault, listIdpRevisionsResponseRevisionsItemDefinitionSlugMax, listIdpRevisionsResponseRevisionsItemDefinitionSlugRegExp, listMyProjectsQueryLimitDefault, listMyProjectsQueryLimitMax, listMyProjectsQueryProjectIdRegExp, listMyTeamsQueryLimitDefault, listMyTeamsQueryLimitMax, listMyTeamsQueryProjectIdRegExp, listPreviewsPathProjectIdRegExp, listPreviewsQueryLimitDefault, listPreviewsQueryLimitMax, listPreviewsResponsePreviewsItemOriginMax, listPreviewsResponsePreviewsItemOriginRegExp, listReleasesQueryContentHashMax, listReleasesQueryContentHashMin, listReleasesQueryContentHashRegExp, listReleasesQueryLimitDefault, listReleasesQueryLimitMax, listReleasesQueryProjectIdRegExp, listReleasesResponseReleasesItemContentHashMax, listReleasesResponseReleasesItemContentHashMin, listReleasesResponseReleasesItemContentHashRegExp, listReleasesResponseReleasesItemIdRegExp, listReleasesResponseReleasesItemMetadataGitDirtyDefault, listReleasesResponseReleasesItemMetadataGitShaOneMax, listReleasesResponseReleasesItemMetadataMessageOneMax, listReleasesResponseReleasesItemProjectIdRegExp, listSchemasQueryLimitDefault, listSchemasQueryLimitMax, listSchemasQueryObjectTypeMax, listSchemasQueryProjectIdRegExp, listSchemasQueryRevisionsDefault, listSchemasResponseSchemasItemSchemaOneMetaSchemaMax, listSchemasResponseSchemasItemSchemaOneObjectTypeMax, listSchemasResponseSchemasItemSchemaOnePropertiesXAuditDefault, listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemMax, listSchemasResponseSchemasItemSchemaOneXAuthMethodsSsoProvidersItemRegExp, listUserIdentityLinksPathUserIdRegExp, listUserIdentityLinksQueryLimitDefault, listUserIdentityLinksQueryLimitMax, listUserPasskeysPathUserIdRegExp, listUserPasskeysQueryLimitDefault, listUserPasskeysQueryLimitMax, listUserTeamsPathUserIdRegExp, listUserTeamsQueryLimitDefault, listUserTeamsQueryLimitMax, patchMyUserQueryProjectIdRegExp, patchMyUserResponseIdRegExp, patchProjectPathProjectIdRegExp, patchUserByIDPathUserIdRegExp, patchUserByIDResponseIdRegExp, queryGrantsBodyLimitDefault, queryGrantsBodyLimitMax, queryGrantsQueryProjectIdRegExp, queryGrantsResponseGrantsItemUserOneUserIdRegExp, queryIdpsBodyLimitDefault, queryIdpsBodyLimitMax, queryIdpsQueryProjectIdRegExp, queryIdpsResponseIdpsItemDefinitionClaimMappingRegExpOne, queryIdpsResponseIdpsItemDefinitionDisplayNameMax, queryIdpsResponseIdpsItemDefinitionOidcAuthorizationEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOidcClientIdMax, queryIdpsResponseIdpsItemDefinitionOidcClientSecretRegExp, queryIdpsResponseIdpsItemDefinitionOidcIdTokenMappingDefault, queryIdpsResponseIdpsItemDefinitionOidcIssuerRegExp, queryIdpsResponseIdpsItemDefinitionOidcJwksUriRegExp, queryIdpsResponseIdpsItemDefinitionOidcPkceEnabledDefault, queryIdpsResponseIdpsItemDefinitionOidcScopesDefault, queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointAuthMethodDefault, queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointRegExp, queryIdpsResponseIdpsItemDefinitionOidcUserinfoEndpointRegExp, queryIdpsResponseIdpsItemDefinitionProvisioningCreationDefault, queryIdpsResponseIdpsItemDefinitionSlugMax, queryIdpsResponseIdpsItemDefinitionSlugRegExp, queryProjectsBodyLimitDefault, queryProjectsBodyLimitMax, querySessionsBodyLimitDefault, querySessionsBodyLimitMax, querySessionsQueryProjectIdRegExp, querySessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, querySessionsResponseSessionsItemProjectIdRegExp, querySessionsResponseSessionsItemSessionIdRegExp, querySessionsResponseSessionsItemUserIdOneRegExp, querySessionsResponseSessionsItemUserUserIdRegExp, queryTeamsBodyLimitDefault, queryTeamsBodyLimitMax, queryTeamsQueryProjectIdRegExp, queryUsersBodyLimitDefault, queryUsersBodyLimitMax, queryUsersQueryProjectIdRegExp, queryUsersResponseUsersItemIdRegExp, removeOriginPathProjectIdRegExp, removePreviewBodyOriginMax, removePreviewBodyOriginRegExp, removePreviewPathProjectIdRegExp, revokeMySessionQueryProjectIdRegExp, revokeReleasePathReleaseIdRegExp, revokeReleaseQueryProjectIdRegExp, revokeReleaseResponseContentHashMax, revokeReleaseResponseContentHashMin, revokeReleaseResponseContentHashRegExp, revokeReleaseResponseIdRegExp, revokeReleaseResponseMetadataGitDirtyDefault, revokeReleaseResponseMetadataGitShaOneMax, revokeReleaseResponseMetadataMessageOneMax, revokeReleaseResponsePointersItemHandleMax, revokeReleaseResponsePointersItemRevisionIdMax, revokeReleaseResponsePointersMax, revokeReleaseResponseProjectIdRegExp, revokeSessionPathSessionIdRegExp, rollbackDeploymentBodyExpectedDeploymentIdRegExp, rollbackDeploymentBodyMessageMax, rollbackDeploymentPathDeploymentIdRegExp, rollbackDeploymentQueryProjectIdRegExp, rollbackDeploymentResponseIdRegExp, rollbackDeploymentResponseMetadataMessageOneMax, rollbackDeploymentResponseMetadataRollbackToOneRegExp, rollbackDeploymentResponseProjectIdRegExp, rollbackDeploymentResponseReleaseContentHashMax, rollbackDeploymentResponseReleaseContentHashMin, rollbackDeploymentResponseReleaseContentHashRegExp, rollbackDeploymentResponseReleaseIdRegExp, rollbackDeploymentResponseReleaseIdRegExpOne, rollbackDeploymentResponseReleaseMetadataGitDirtyDefault, rollbackDeploymentResponseReleaseMetadataGitShaOneMax, rollbackDeploymentResponseReleaseMetadataMessageOneMax, rollbackDeploymentResponseReleasePointersItemHandleMax, rollbackDeploymentResponseReleasePointersItemRevisionIdMax, rollbackDeploymentResponseReleasePointersMax, rollbackDeploymentResponseReleaseProjectIdRegExp, rollbackDeploymentResponseTargetsItemOriginMax, rollbackDeploymentResponseTargetsItemOriginRegExp, setUserPasswordPathUserIdRegExp, submitFlowStepBodyReturnTargetMax, submitFlowStepResponseBrandingHeroUrlMax, submitFlowStepResponseBrandingHeroUrlRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseBrandingLiquidTemplateMax, submitFlowStepResponseBrandingLogoUrlMax, submitFlowStepResponseBrandingLogoUrlRegExp, submitFlowStepResponseBrandingShapeLogoScaleMax, submitFlowStepResponseBrandingShapeLogoScaleMin, submitFlowStepResponseBrandingShapeRadiusTwoMax, submitFlowStepResponseBrandingShapeRadiusTwoMin, submitFlowStepResponseBrandingThemeDarkLogoUrlMax, submitFlowStepResponseBrandingThemeDarkLogoUrlRegExp, submitFlowStepResponseBrandingThemeDarkPaletteBackgroundMax, submitFlowStepResponseBrandingThemeDarkPaletteBackgroundRegExp, submitFlowStepResponseBrandingThemeDarkPaletteBorderMax, submitFlowStepResponseBrandingThemeDarkPaletteBorderRegExp, submitFlowStepResponseBrandingThemeDarkPaletteErrorMax, submitFlowStepResponseBrandingThemeDarkPaletteErrorRegExp, submitFlowStepResponseBrandingThemeDarkPaletteLinkMax, submitFlowStepResponseBrandingThemeDarkPaletteLinkRegExp, submitFlowStepResponseBrandingThemeDarkPaletteMutedMax, submitFlowStepResponseBrandingThemeDarkPaletteMutedRegExp, submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryMax, submitFlowStepResponseBrandingThemeDarkPaletteOnPrimaryRegExp, submitFlowStepResponseBrandingThemeDarkPalettePrimaryMax, submitFlowStepResponseBrandingThemeDarkPalettePrimaryRegExp, submitFlowStepResponseBrandingThemeDarkPaletteSuccessMax, submitFlowStepResponseBrandingThemeDarkPaletteSuccessRegExp, submitFlowStepResponseBrandingThemeDarkPaletteSurfaceMax, submitFlowStepResponseBrandingThemeDarkPaletteSurfaceRegExp, submitFlowStepResponseBrandingThemeDarkPaletteTextMax, submitFlowStepResponseBrandingThemeDarkPaletteTextMutedMax, submitFlowStepResponseBrandingThemeDarkPaletteTextMutedRegExp, submitFlowStepResponseBrandingThemeDarkPaletteTextRegExp, submitFlowStepResponseBrandingThemeDarkPaletteWarningMax, submitFlowStepResponseBrandingThemeDarkPaletteWarningRegExp, submitFlowStepResponseBrandingThemeLightLogoUrlMax, submitFlowStepResponseBrandingThemeLightLogoUrlRegExp, submitFlowStepResponseBrandingThemeLightPaletteBackgroundMax, submitFlowStepResponseBrandingThemeLightPaletteBackgroundRegExp, submitFlowStepResponseBrandingThemeLightPaletteBorderMax, submitFlowStepResponseBrandingThemeLightPaletteBorderRegExp, submitFlowStepResponseBrandingThemeLightPaletteErrorMax, submitFlowStepResponseBrandingThemeLightPaletteErrorRegExp, submitFlowStepResponseBrandingThemeLightPaletteLinkMax, submitFlowStepResponseBrandingThemeLightPaletteLinkRegExp, submitFlowStepResponseBrandingThemeLightPaletteMutedMax, submitFlowStepResponseBrandingThemeLightPaletteMutedRegExp, submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryMax, submitFlowStepResponseBrandingThemeLightPaletteOnPrimaryRegExp, submitFlowStepResponseBrandingThemeLightPalettePrimaryMax, submitFlowStepResponseBrandingThemeLightPalettePrimaryRegExp, submitFlowStepResponseBrandingThemeLightPaletteSuccessMax, submitFlowStepResponseBrandingThemeLightPaletteSuccessRegExp, submitFlowStepResponseBrandingThemeLightPaletteSurfaceMax, submitFlowStepResponseBrandingThemeLightPaletteSurfaceRegExp, submitFlowStepResponseBrandingThemeLightPaletteTextMax, submitFlowStepResponseBrandingThemeLightPaletteTextMutedMax, submitFlowStepResponseBrandingThemeLightPaletteTextMutedRegExp, submitFlowStepResponseBrandingThemeLightPaletteTextRegExp, submitFlowStepResponseBrandingThemeLightPaletteWarningMax, submitFlowStepResponseBrandingThemeLightPaletteWarningRegExp, submitFlowStepResponseBrandingTypographyFontFamilyMax, submitFlowStepResponseBrandingTypographyFontFamilyRegExp, submitFlowStepResponseBrandingTypographyFontUrlMax, submitFlowStepResponseBrandingTypographyFontUrlRegExp, submitFlowStepResponseBrandingTypographyScaleMax, submitFlowStepResponseBrandingTypographyScaleMin, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemReadOnlyDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateTeamBodyNameMax, updateTeamPathTeamIdRegExp, updateVariablesBodyThreeValueOneMax, updateVariablesBodyTwoOneMax, updateVariablesQueryProjectIdRegExp, updateVariablesResponsePreviewOneOneMax, updateVariablesResponsePrimaryOneOneMax, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
|
|
8797
9950
|
|
|
8798
9951
|
//# sourceMappingURL=zitadelNextGen.zod.mjs.map
|