@zitadel/api 1.0.0-alpha.21 → 1.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +471 -56
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +30 -6
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2082 -576
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1889 -294
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1837 -333
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +448 -79
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-BK4Q468Q.d.mts → index-ruwZ9xDe.d.mts} +20529 -11466
- package/dist/index-ruwZ9xDe.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/{zitadelNextGen-C8m49W5h.d.mts → zitadelNextGen-DPyZep6V.d.mts} +259 -37
- package/dist/zitadelNextGen-DPyZep6V.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +3264 -452
- package/src/generated/endpoints/zitadelNextGen.ts +623 -60
- package/src/generated/endpoints/zitadelNextGen.zod.ts +6812 -2003
- package/src/generated/model/completeClaim410.ts +21 -16
- package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/createBranding201.ts +8 -7
- package/src/generated/model/createBranding201Branding.ts +50 -24
- package/src/generated/model/createBranding201BrandingLayout.ts +8 -4
- package/src/generated/model/createBranding201BrandingShape.ts +31 -0
- package/src/generated/model/createBranding201BrandingShapeDensity.ts +19 -0
- package/src/generated/model/createBranding201BrandingTheme.ts +37 -0
- package/src/generated/model/createBranding201BrandingThemeDark.ts +33 -0
- package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/createBranding201BrandingThemeLight.ts +33 -0
- package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/createBranding201BrandingThemeMode.ts +20 -0
- package/src/generated/model/createBranding201BrandingTypography.ts +49 -0
- package/src/generated/model/createBrandingBody.ts +50 -24
- package/src/generated/model/createBrandingBodyLayout.ts +8 -4
- package/src/generated/model/createBrandingBodyShape.ts +31 -0
- package/src/generated/model/createBrandingBodyShapeDensity.ts +19 -0
- package/src/generated/model/createBrandingBodyTheme.ts +37 -0
- package/src/generated/model/createBrandingBodyThemeDark.ts +33 -0
- package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +222 -0
- package/src/generated/model/createBrandingBodyThemeLight.ts +33 -0
- package/src/generated/model/createBrandingBodyThemeLightPalette.ts +222 -0
- package/src/generated/model/createBrandingBodyThemeMode.ts +20 -0
- package/src/generated/model/createBrandingBodyTypography.ts +49 -0
- package/src/generated/model/createFlow201.ts +8 -7
- package/src/generated/model/createFlow201Branding.ts +50 -24
- package/src/generated/model/createFlow201BrandingLayout.ts +8 -4
- package/src/generated/model/createFlow201BrandingShape.ts +31 -0
- package/src/generated/model/createFlow201BrandingShapeDensity.ts +19 -0
- package/src/generated/model/createFlow201BrandingTheme.ts +37 -0
- package/src/generated/model/createFlow201BrandingThemeDark.ts +33 -0
- package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/createFlow201BrandingThemeLight.ts +33 -0
- package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/createFlow201BrandingThemeMode.ts +20 -0
- package/src/generated/model/createFlow201BrandingTypography.ts +49 -0
- package/src/generated/model/createFlow201StepActionsItem.ts +17 -20
- package/src/generated/model/createFlow201StepActionsItemKind.ts +7 -10
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +6 -6
- package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +1 -3
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/createFlowDefinition201UserSchema.ts +9 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +6 -6
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +1 -3
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/createFlowDefinitionDefault.ts +4 -4
- package/src/generated/model/createGrant201.ts +19 -6
- package/src/generated/model/createGrant201Team.ts +35 -0
- package/src/generated/model/createGrant201TeamStatus.ts +22 -0
- package/src/generated/model/createGrant201User.ts +48 -0
- package/src/generated/model/createGrant201UserAttributes.ts +14 -0
- package/src/generated/model/createGrant201UserMetadata.ts +43 -0
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/createGrant201UserMetadataStatus.ts +20 -0
- package/src/generated/model/createGrantBody.ts +18 -10
- package/src/generated/model/createGrantBodyTeam.ts +25 -0
- package/src/generated/model/createGrantBodyUser.ts +29 -0
- package/src/generated/model/createIdp200.ts +35 -0
- package/src/generated/model/createIdp200Definition.ts +47 -0
- package/src/generated/model/createIdp200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOauth2.ts +52 -0
- package/src/generated/model/createIdp200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdp200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp200DefinitionOidc.ts +64 -0
- package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp200DefinitionProtocol.ts +18 -0
- package/src/generated/model/createIdp200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/createIdp201.ts +35 -0
- package/src/generated/model/createIdp201Definition.ts +47 -0
- package/src/generated/model/createIdp201DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOauth2.ts +52 -0
- package/src/generated/model/createIdp201DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdp201DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp201DefinitionOidc.ts +64 -0
- package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp201DefinitionProtocol.ts +18 -0
- package/src/generated/model/createIdp201DefinitionProvisioning.ts +15 -0
- package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/{createSchema409.ts → createIdp400.ts} +3 -3
- package/src/generated/model/{createSchema400Details.ts → createIdp400Details.ts} +1 -1
- package/src/generated/model/{createSchema400.ts → createIdp401.ts} +3 -3
- package/src/generated/model/{createSchema409Details.ts → createIdp401Details.ts} +1 -1
- package/src/generated/model/createIdp403.ts +20 -0
- package/src/generated/model/createIdp403Details.ts +12 -0
- package/src/generated/model/createIdp404.ts +20 -0
- package/src/generated/model/createIdp404Details.ts +12 -0
- package/src/generated/model/createIdpBody.ts +15 -0
- package/src/generated/model/createIdpBodyIdp.ts +47 -0
- package/src/generated/model/createIdpBodyIdpClaimMapping.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOauth2.ts +52 -0
- package/src/generated/model/createIdpBodyIdpOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdpBodyIdpOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdpBodyIdpOidc.ts +64 -0
- package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdpBodyIdpProtocol.ts +18 -0
- package/src/generated/model/createIdpBodyIdpProvisioning.ts +15 -0
- package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +12 -0
- package/src/generated/model/createIdpDefault.ts +39 -0
- package/src/generated/model/{createFlowDefinition409Details.ts → createIdpParams.ts} +7 -4
- package/src/generated/model/createRelease200.ts +3 -1
- package/src/generated/model/createRelease201.ts +3 -1
- package/src/generated/model/createReleaseBody.ts +8 -0
- package/src/generated/model/createReleaseDefault.ts +70 -0
- package/src/generated/model/createSchemaBody.ts +9 -1
- package/src/generated/model/createSchemaDefault.ts +141 -12
- package/src/generated/model/createSession201Session.ts +1 -0
- package/src/generated/model/createSession201SessionFactorsItemPayload.ts +8 -1
- package/src/generated/model/createSession201SessionUser.ts +1 -0
- package/src/generated/model/deleteTeam409.ts +20 -0
- package/src/generated/model/deleteTeam409Details.ts +12 -0
- package/src/generated/model/deleteVariableDefault.ts +69 -0
- package/src/generated/model/deleteVariableParams.ts +26 -0
- package/src/generated/model/exchangeHandoff200Session.ts +1 -0
- package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +8 -1
- package/src/generated/model/exchangeHandoff200SessionUser.ts +1 -0
- package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/getBrandingById200.ts +8 -7
- package/src/generated/model/getBrandingById200Branding.ts +50 -24
- package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -4
- package/src/generated/model/getBrandingById200BrandingShape.ts +31 -0
- package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/getBrandingById200BrandingTheme.ts +37 -0
- package/src/generated/model/getBrandingById200BrandingThemeDark.ts +33 -0
- package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/getBrandingById200BrandingThemeLight.ts +33 -0
- package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/getBrandingById200BrandingThemeMode.ts +20 -0
- package/src/generated/model/getBrandingById200BrandingTypography.ts +49 -0
- package/src/generated/model/getClaimStatus410.ts +21 -16
- package/src/generated/model/getClaimWindow200.ts +23 -0
- package/src/generated/model/getClaimWindow404.ts +20 -0
- package/src/generated/model/getClaimWindow404Details.ts +12 -0
- package/src/generated/model/getClaimWindow429.ts +20 -0
- package/src/generated/model/getClaimWindow429Details.ts +12 -0
- package/src/generated/model/getClaimWindowDefault.ts +20 -0
- package/src/generated/model/getClaimWindowDefaultDetails.ts +12 -0
- package/src/generated/model/getClaimWindowParams.ts +15 -0
- package/src/generated/model/getEvent200.ts +79 -4
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +6 -6
- package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +1 -3
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/getFlowDefinition200UserSchema.ts +9 -1
- package/src/generated/model/getFlowStep200.ts +8 -7
- package/src/generated/model/getFlowStep200Branding.ts +50 -24
- package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -4
- package/src/generated/model/getFlowStep200BrandingShape.ts +31 -0
- package/src/generated/model/getFlowStep200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/getFlowStep200BrandingTheme.ts +37 -0
- package/src/generated/model/getFlowStep200BrandingThemeDark.ts +33 -0
- package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/getFlowStep200BrandingThemeLight.ts +33 -0
- package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/getFlowStep200BrandingThemeMode.ts +20 -0
- package/src/generated/model/getFlowStep200BrandingTypography.ts +49 -0
- package/src/generated/model/getFlowStep200StepActionsItem.ts +17 -20
- package/src/generated/model/getFlowStep200StepActionsItemKind.ts +7 -10
- package/src/generated/model/getGrant200.ts +19 -6
- package/src/generated/model/getGrant200Team.ts +35 -0
- package/src/generated/model/getGrant200TeamStatus.ts +22 -0
- package/src/generated/model/getGrant200User.ts +48 -0
- package/src/generated/model/getGrant200UserAttributes.ts +14 -0
- package/src/generated/model/getGrant200UserMetadata.ts +43 -0
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/getGrant200UserMetadataStatus.ts +20 -0
- package/src/generated/model/getGrantDefault.ts +20 -0
- package/src/generated/model/getGrantExpandItem.ts +29 -0
- package/src/generated/model/getGrantParams.ts +7 -0
- package/src/generated/model/getIdpById200.ts +35 -0
- package/src/generated/model/getIdpById200Definition.ts +47 -0
- package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOauth2.ts +52 -0
- package/src/generated/model/getIdpById200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/getIdpById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionOidc.ts +64 -0
- package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionProtocol.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/getIdpById401.ts +20 -0
- package/src/generated/model/getIdpById401Details.ts +12 -0
- package/src/generated/model/getIdpById403.ts +20 -0
- package/src/generated/model/getIdpById403Details.ts +12 -0
- package/src/generated/model/getIdpById404.ts +20 -0
- package/src/generated/model/getIdpById404Details.ts +12 -0
- package/src/generated/model/getIdpByIdDefault.ts +39 -0
- package/src/generated/model/getIdpByIdParams.ts +15 -0
- package/src/generated/model/getIdpRevisionById200.ts +35 -0
- package/src/generated/model/getIdpRevisionById200Definition.ts +47 -0
- package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2.ts +52 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +64 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/getIdpRevisionById401.ts +20 -0
- package/src/generated/model/getIdpRevisionById401Details.ts +12 -0
- package/src/generated/model/getIdpRevisionById403.ts +20 -0
- package/src/generated/model/getIdpRevisionById403Details.ts +12 -0
- package/src/generated/model/getIdpRevisionById404.ts +20 -0
- package/src/generated/model/getIdpRevisionById404Details.ts +12 -0
- package/src/generated/model/getIdpRevisionByIdDefault.ts +39 -0
- package/src/generated/model/getIdpRevisionByIdParams.ts +15 -0
- package/src/generated/model/getMySession200.ts +1 -0
- package/src/generated/model/getMySession200FactorsItemPayload.ts +8 -1
- package/src/generated/model/getMySession200User.ts +1 -0
- package/src/generated/model/getReleaseById200.ts +3 -1
- package/src/generated/model/getReleaseByIdDefault.ts +20 -0
- package/src/generated/model/getSchemaById200Schema.ts +9 -1
- package/src/generated/model/getSchemaByIdDefault.ts +51 -12
- package/src/generated/model/getSession200.ts +1 -0
- package/src/generated/model/getSession200FactorsItemPayload.ts +8 -1
- package/src/generated/model/getSession200User.ts +1 -0
- package/src/generated/model/getVariable200.ts +25 -0
- package/src/generated/model/getVariableDefault.ts +69 -0
- package/src/generated/model/getVariableParams.ts +26 -0
- package/src/generated/model/getVariables200.ts +29 -0
- package/src/generated/model/getVariablesDefault.ts +69 -0
- package/src/generated/model/getVariablesParams.ts +26 -0
- package/src/generated/model/index.ts +328 -57
- package/src/generated/model/{createFlowDefinition409.ts → initClaim410.ts} +8 -4
- package/src/generated/model/listEvents200DataItem.ts +79 -4
- package/src/generated/model/listFlowDefinitions200.ts +3 -0
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +6 -6
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +1 -3
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +9 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +23 -0
- package/src/generated/model/listFlowDefinitionsRevisions.ts +15 -0
- package/src/generated/model/listIdpRevisions200.ts +21 -0
- package/src/generated/model/listIdpRevisions200RevisionsItem.ts +35 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +47 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +12 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2.ts +52 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +64 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProtocol.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +15 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +14 -0
- package/src/generated/model/listIdpRevisions401.ts +20 -0
- package/src/generated/model/{createSchemaDefaultDetails.ts → listIdpRevisions401Details.ts} +1 -1
- package/src/generated/model/listIdpRevisions403.ts +20 -0
- package/src/generated/model/listIdpRevisions403Details.ts +12 -0
- package/src/generated/model/listIdpRevisions404.ts +20 -0
- package/src/generated/model/listIdpRevisions404Details.ts +12 -0
- package/src/generated/model/listIdpRevisionsDefault.ts +39 -0
- package/src/generated/model/listIdpRevisionsParams.ts +29 -0
- package/src/generated/model/listMyProjects200.ts +20 -0
- package/src/generated/model/listMyProjects200ProjectsItem.ts +24 -0
- package/src/generated/model/listMyProjects400.ts +20 -0
- package/src/generated/model/listMyProjects400Details.ts +12 -0
- package/src/generated/model/listMyProjects401.ts +24 -0
- package/src/generated/model/listMyProjects500.ts +20 -0
- package/src/generated/model/listMyProjects500Details.ts +12 -0
- package/src/generated/model/listMyProjectsDefault.ts +39 -0
- package/src/generated/model/listMyProjectsParams.ts +24 -0
- package/src/generated/model/listReleasesDefault.ts +20 -0
- package/src/generated/model/listSchemas200SchemasItemSchema.ts +9 -1
- package/src/generated/model/listSchemasDefault.ts +51 -12
- package/src/generated/model/patchMyUser200.ts +71 -0
- package/src/generated/model/patchMyUser200Attributes.ts +14 -0
- package/src/generated/model/patchMyUser200Metadata.ts +43 -0
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/patchMyUser200MetadataStatus.ts +20 -0
- package/src/generated/model/patchMyUser200TeamsItem.ts +33 -0
- package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +21 -0
- package/src/generated/model/patchMyUser400.ts +20 -0
- package/src/generated/model/patchMyUser400Details.ts +12 -0
- package/src/generated/model/patchMyUser401.ts +20 -0
- package/src/generated/model/patchMyUser401Details.ts +12 -0
- package/src/generated/model/patchMyUser404.ts +24 -0
- package/src/generated/model/patchMyUser409.ts +20 -0
- package/src/generated/model/patchMyUser409Details.ts +12 -0
- package/src/generated/model/patchMyUserBody.ts +25 -0
- package/src/generated/model/{listSchemasDefaultDetails.ts → patchMyUserBodyAttributes.ts} +4 -2
- package/src/generated/model/{deleteFlowDefinitionDefault.ts → patchMyUserDefault.ts} +8 -8
- package/src/generated/model/patchUserByID200.ts +71 -0
- package/src/generated/model/patchUserByID200Attributes.ts +14 -0
- package/src/generated/model/patchUserByID200Metadata.ts +43 -0
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/patchUserByID200MetadataStatus.ts +20 -0
- package/src/generated/model/patchUserByID200TeamsItem.ts +33 -0
- package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +21 -0
- package/src/generated/model/{getSchemaById400.ts → patchUserByID400.ts} +3 -3
- package/src/generated/model/{getSchemaById400Details.ts → patchUserByID400Details.ts} +1 -1
- package/src/generated/model/{getSchemaById404.ts → patchUserByID401.ts} +3 -3
- package/src/generated/model/{getSchemaById404Details.ts → patchUserByID401Details.ts} +1 -1
- package/src/generated/model/patchUserByID403.ts +20 -0
- package/src/generated/model/patchUserByID403Details.ts +12 -0
- package/src/generated/model/patchUserByID404.ts +20 -0
- package/src/generated/model/patchUserByID404Details.ts +12 -0
- package/src/generated/model/patchUserByID409.ts +20 -0
- package/src/generated/model/patchUserByID409Details.ts +12 -0
- package/src/generated/model/patchUserByIDBody.ts +39 -0
- package/src/generated/model/{getSchemaByIdDefaultDetails.ts → patchUserByIDBodyAttributes.ts} +4 -2
- package/src/generated/model/patchUserByIDDefault.ts +89 -0
- package/src/generated/model/queryGrants200.ts +20 -0
- package/src/generated/model/queryGrants200GrantsItem.ts +47 -0
- package/src/generated/model/queryGrants200GrantsItemObjectType.ts +17 -0
- package/src/generated/model/queryGrants200GrantsItemRelation.ts +19 -0
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +35 -0
- package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +22 -0
- package/src/generated/model/queryGrants200GrantsItemUser.ts +48 -0
- package/src/generated/model/queryGrants200GrantsItemUserAttributes.ts +14 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +43 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadataStatus.ts +20 -0
- package/src/generated/model/queryGrants400.ts +20 -0
- package/src/generated/model/queryGrants400Details.ts +12 -0
- package/src/generated/model/queryGrants401.ts +20 -0
- package/src/generated/model/queryGrants401Details.ts +12 -0
- package/src/generated/model/queryGrants403.ts +20 -0
- package/src/generated/model/queryGrants403Details.ts +12 -0
- package/src/generated/model/queryGrantsBody.ts +34 -0
- package/src/generated/model/queryGrantsBodyExpandItem.ts +30 -0
- package/src/generated/model/queryGrantsBodyFilterItem.ts +33 -0
- package/src/generated/model/queryGrantsBodyFilterItemField.ts +27 -0
- package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +30 -0
- package/src/generated/model/queryGrantsBodySorting.ts +17 -0
- package/src/generated/model/queryGrantsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryGrantsBodySortingField.ts +21 -0
- package/src/generated/model/queryGrantsDefault.ts +99 -0
- package/src/generated/model/queryGrantsParams.ts +15 -0
- package/src/generated/model/queryIdps200.ts +21 -0
- package/src/generated/model/queryIdps200IdpsItem.ts +35 -0
- package/src/generated/model/queryIdps200IdpsItemDefinition.ts +47 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +12 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2.ts +52 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +64 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProtocol.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +15 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/queryIdps400.ts +20 -0
- package/src/generated/model/queryIdps400Details.ts +12 -0
- package/src/generated/model/queryIdps401.ts +20 -0
- package/src/generated/model/queryIdps401Details.ts +12 -0
- package/src/generated/model/queryIdps403.ts +20 -0
- package/src/generated/model/queryIdps403Details.ts +12 -0
- package/src/generated/model/queryIdps404.ts +20 -0
- package/src/generated/model/queryIdps404Details.ts +12 -0
- package/src/generated/model/queryIdpsBody.ts +29 -0
- package/src/generated/model/queryIdpsBodyFilterItem.ts +31 -0
- package/src/generated/model/queryIdpsBodyFilterItemField.ts +22 -0
- package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +30 -0
- package/src/generated/model/queryIdpsBodySorting.ts +22 -0
- package/src/generated/model/queryIdpsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryIdpsBodySortingField.ts +22 -0
- package/src/generated/model/queryIdpsDefault.ts +39 -0
- package/src/generated/model/queryIdpsParams.ts +15 -0
- package/src/generated/model/querySessions200SessionsItem.ts +1 -0
- package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +8 -1
- package/src/generated/model/querySessions200SessionsItemUser.ts +1 -0
- package/src/generated/model/submitFlowStep200.ts +8 -7
- package/src/generated/model/submitFlowStep200Branding.ts +50 -24
- package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -4
- package/src/generated/model/submitFlowStep200BrandingShape.ts +31 -0
- package/src/generated/model/submitFlowStep200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/submitFlowStep200BrandingTheme.ts +37 -0
- package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +33 -0
- package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +33 -0
- package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/submitFlowStep200BrandingThemeMode.ts +20 -0
- package/src/generated/model/submitFlowStep200BrandingTypography.ts +49 -0
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +17 -20
- package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +7 -10
- package/src/generated/model/submitFlowStep400.ts +8 -7
- package/src/generated/model/submitFlowStep400Branding.ts +50 -24
- package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -4
- package/src/generated/model/submitFlowStep400BrandingShape.ts +31 -0
- package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +19 -0
- package/src/generated/model/submitFlowStep400BrandingTheme.ts +37 -0
- package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +33 -0
- package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +33 -0
- package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +20 -0
- package/src/generated/model/submitFlowStep400BrandingTypography.ts +49 -0
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +17 -20
- package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +7 -10
- package/src/generated/model/updateVariables200.ts +29 -0
- package/src/generated/model/updateVariablesBody.ts +60 -0
- package/src/generated/model/{updateFlowDefinitionDefault.ts → updateVariablesDefault.ts} +22 -12
- package/src/generated/model/updateVariablesParams.ts +26 -0
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/verifyChallengeProofBody.ts +1 -1
- package/src/generated/model/verifyChallengeProofDefault.ts +10 -0
- package/dist/index-BK4Q468Q.d.mts.map +0 -1
- package/dist/zitadelNextGen-C8m49W5h.d.mts.map +0 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/createGrant201PrincipalType.ts +0 -18
- package/src/generated/model/createGrantBodyPrincipalType.ts +0 -18
- package/src/generated/model/deleteFlowDefinition409.ts +0 -20
- package/src/generated/model/deleteFlowDefinition409Details.ts +0 -12
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/getGrant200PrincipalType.ts +0 -18
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinition200.ts +0 -34
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +0 -71
- package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStatus.ts +0 -26
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +0 -71
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +0 -42
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +0 -31
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +0 -35
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +0 -14
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +0 -20
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +0 -46
- package/src/generated/model/updateFlowDefinition200UserSchema.ts +0 -103
- package/src/generated/model/updateFlowDefinition400.ts +0 -20
- package/src/generated/model/updateFlowDefinition400Details.ts +0 -12
- package/src/generated/model/updateFlowDefinition404.ts +0 -20
- package/src/generated/model/updateFlowDefinition404Details.ts +0 -12
- package/src/generated/model/updateFlowDefinitionBody.ts +0 -30
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +0 -71
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionAudience.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStatus.ts +0 -26
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -71
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -42
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -31
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -35
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -14
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -46
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Semantic colours for one theme side. An omitted key uses the maintained
|
|
11
|
+
default for this side, never the other side's value.
|
|
12
|
+
|
|
13
|
+
Every value is a `BrandingColor`, which is where the accepted forms and the
|
|
14
|
+
reason for them live; what each key paints is below.
|
|
15
|
+
|
|
16
|
+
*/
|
|
17
|
+
export type CreateFlow201BrandingThemeLightPalette = {
|
|
18
|
+
/**
|
|
19
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
20
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
21
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
22
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
23
|
+
to a colour are stored.
|
|
24
|
+
|
|
25
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
26
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
27
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
28
|
+
one is stored and paints nothing, rather than being refused here.
|
|
29
|
+
|
|
30
|
+
* @minLength 1
|
|
31
|
+
* @maxLength 128
|
|
32
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
33
|
+
*/
|
|
34
|
+
primary?: string;
|
|
35
|
+
/**
|
|
36
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
37
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
38
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
39
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
40
|
+
to a colour are stored.
|
|
41
|
+
|
|
42
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
43
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
44
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
45
|
+
one is stored and paints nothing, rather than being refused here.
|
|
46
|
+
|
|
47
|
+
* @minLength 1
|
|
48
|
+
* @maxLength 128
|
|
49
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
50
|
+
*/
|
|
51
|
+
on_primary?: string;
|
|
52
|
+
/**
|
|
53
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
54
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
55
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
56
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
57
|
+
to a colour are stored.
|
|
58
|
+
|
|
59
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
60
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
61
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
62
|
+
one is stored and paints nothing, rather than being refused here.
|
|
63
|
+
|
|
64
|
+
* @minLength 1
|
|
65
|
+
* @maxLength 128
|
|
66
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
67
|
+
*/
|
|
68
|
+
background?: string;
|
|
69
|
+
/**
|
|
70
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
71
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
72
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
73
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
74
|
+
to a colour are stored.
|
|
75
|
+
|
|
76
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
77
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
78
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
79
|
+
one is stored and paints nothing, rather than being refused here.
|
|
80
|
+
|
|
81
|
+
* @minLength 1
|
|
82
|
+
* @maxLength 128
|
|
83
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
84
|
+
*/
|
|
85
|
+
surface?: string;
|
|
86
|
+
/**
|
|
87
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
88
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
89
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
90
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
91
|
+
to a colour are stored.
|
|
92
|
+
|
|
93
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
94
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
95
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
96
|
+
one is stored and paints nothing, rather than being refused here.
|
|
97
|
+
|
|
98
|
+
* @minLength 1
|
|
99
|
+
* @maxLength 128
|
|
100
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
101
|
+
*/
|
|
102
|
+
muted?: string;
|
|
103
|
+
/**
|
|
104
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
105
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
106
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
107
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
108
|
+
to a colour are stored.
|
|
109
|
+
|
|
110
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
111
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
112
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
113
|
+
one is stored and paints nothing, rather than being refused here.
|
|
114
|
+
|
|
115
|
+
* @minLength 1
|
|
116
|
+
* @maxLength 128
|
|
117
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
118
|
+
*/
|
|
119
|
+
border?: string;
|
|
120
|
+
/**
|
|
121
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
122
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
123
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
124
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
125
|
+
to a colour are stored.
|
|
126
|
+
|
|
127
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
128
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
129
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
130
|
+
one is stored and paints nothing, rather than being refused here.
|
|
131
|
+
|
|
132
|
+
* @minLength 1
|
|
133
|
+
* @maxLength 128
|
|
134
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
135
|
+
*/
|
|
136
|
+
text?: string;
|
|
137
|
+
/**
|
|
138
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
139
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
140
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
141
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
142
|
+
to a colour are stored.
|
|
143
|
+
|
|
144
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
145
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
146
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
147
|
+
one is stored and paints nothing, rather than being refused here.
|
|
148
|
+
|
|
149
|
+
* @minLength 1
|
|
150
|
+
* @maxLength 128
|
|
151
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
152
|
+
*/
|
|
153
|
+
text_muted?: string;
|
|
154
|
+
/**
|
|
155
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
156
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
157
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
158
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
159
|
+
to a colour are stored.
|
|
160
|
+
|
|
161
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
162
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
163
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
164
|
+
one is stored and paints nothing, rather than being refused here.
|
|
165
|
+
|
|
166
|
+
* @minLength 1
|
|
167
|
+
* @maxLength 128
|
|
168
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
169
|
+
*/
|
|
170
|
+
link?: string;
|
|
171
|
+
/**
|
|
172
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
173
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
174
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
175
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
176
|
+
to a colour are stored.
|
|
177
|
+
|
|
178
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
179
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
180
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
181
|
+
one is stored and paints nothing, rather than being refused here.
|
|
182
|
+
|
|
183
|
+
* @minLength 1
|
|
184
|
+
* @maxLength 128
|
|
185
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
186
|
+
*/
|
|
187
|
+
success?: string;
|
|
188
|
+
/**
|
|
189
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
190
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
191
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
192
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
193
|
+
to a colour are stored.
|
|
194
|
+
|
|
195
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
196
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
197
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
198
|
+
one is stored and paints nothing, rather than being refused here.
|
|
199
|
+
|
|
200
|
+
* @minLength 1
|
|
201
|
+
* @maxLength 128
|
|
202
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
203
|
+
*/
|
|
204
|
+
warning?: string;
|
|
205
|
+
/**
|
|
206
|
+
* A colour on a theme side: hex (`#4F46E5`), a CSS colour name, or a colour
|
|
207
|
+
function — `rgb()`, `rgba()`, `hsl()`, `hsla()`, `hwb()`, `lab()`, `lch()`,
|
|
208
|
+
`oklab()`, `oklch()`, `color()` or `color-mix()`. `url()` and `var()` are
|
|
209
|
+
rejected: the value is written into a stylesheet, so only forms that resolve
|
|
210
|
+
to a colour are stored.
|
|
211
|
+
|
|
212
|
+
The pattern pins the shape — no semicolons, braces, comment markers or
|
|
213
|
+
backslashes, so a value cannot leave its declaration whatever it spells.
|
|
214
|
+
Which names CSS actually knows is the browser's business: an unrecognised
|
|
215
|
+
one is stored and paints nothing, rather than being refused here.
|
|
216
|
+
|
|
217
|
+
* @minLength 1
|
|
218
|
+
* @maxLength 128
|
|
219
|
+
* @pattern ^(?:#(?:[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%.,+/# -]*\))*\))$
|
|
220
|
+
*/
|
|
221
|
+
error?: string;
|
|
222
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Which published side may run. `auto` follows the operating system.
|
|
11
|
+
|
|
12
|
+
*/
|
|
13
|
+
export type CreateFlow201BrandingThemeMode =
|
|
14
|
+
(typeof CreateFlow201BrandingThemeMode)[keyof typeof CreateFlow201BrandingThemeMode];
|
|
15
|
+
|
|
16
|
+
export const CreateFlow201BrandingThemeMode = {
|
|
17
|
+
light: "light",
|
|
18
|
+
dark: "dark",
|
|
19
|
+
auto: "auto",
|
|
20
|
+
} as const;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The typeface the login surface renders in. One face covers both body and
|
|
11
|
+
headings; separate heading and mono faces are not modelled yet.
|
|
12
|
+
|
|
13
|
+
*/
|
|
14
|
+
export type CreateFlow201BrandingTypography = {
|
|
15
|
+
/**
|
|
16
|
+
* CSS font stack for body and heading text. Include a generic family so
|
|
17
|
+
the surface still renders when the named face is unavailable.
|
|
18
|
+
|
|
19
|
+
Comma-separated family names, each either an identifier (`Inter`,
|
|
20
|
+
`ui-sans-serif`, `Helvetica Neue`) or a quoted name (`"APK Futural"`).
|
|
21
|
+
Anything else is rejected — the stack is written into a stylesheet, so
|
|
22
|
+
only names are stored, and a quoted name must close the quote it opened.
|
|
23
|
+
|
|
24
|
+
* @minLength 1
|
|
25
|
+
* @maxLength 256
|
|
26
|
+
* @pattern ^ *(?:"[^"\\;{}]*"|'[^'\\;{}]*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)*)(?: *, *(?:"[^"\\;{}]*"|'[^'\\;{}]*'|[A-Za-z0-9_-]+(?: [A-Za-z0-9_-]+)*))* *$
|
|
27
|
+
*/
|
|
28
|
+
font_family?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Stylesheet that loads `font_family` — a Google Fonts CSS URL, for
|
|
31
|
+
example. Must be https; unlike the logo and hero assets there is no
|
|
32
|
+
loopback carve-out. Rejected without `font_family`, which would name
|
|
33
|
+
nothing to paint with.
|
|
34
|
+
|
|
35
|
+
Stored but not applied to an embedded widget: the embedding page loads
|
|
36
|
+
the face, and Zitadel does not inject a stylesheet into a document it
|
|
37
|
+
does not own.
|
|
38
|
+
|
|
39
|
+
* @maxLength 2048
|
|
40
|
+
* @pattern ^[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]))?(?:[/?#]|$)
|
|
41
|
+
*/
|
|
42
|
+
font_url?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Multiplier on the base text sizes, `1` when omitted.
|
|
45
|
+
* @minimum 0.75
|
|
46
|
+
* @maximum 1.25
|
|
47
|
+
*/
|
|
48
|
+
scale?: number;
|
|
49
|
+
};
|
|
@@ -8,35 +8,32 @@
|
|
|
8
8
|
import type { CreateFlow201StepActionsItemKind } from "./createFlow201StepActionsItemKind";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
* An action the engine offers on a runtime step. Every declared action of the
|
|
12
|
+
definition's step appears here, plus the engine-injected `back` whenever
|
|
13
|
+
returning to the previous step is possible.
|
|
14
14
|
|
|
15
15
|
*/
|
|
16
16
|
export type CreateFlow201StepActionsItem = {
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Action identifier. Sent back in the submit request as `action`.
|
|
19
|
+
* @minLength 1
|
|
20
|
+
*/
|
|
18
21
|
name: string;
|
|
19
|
-
/**
|
|
20
|
-
- `submit`: collect the step's fields and
|
|
21
|
-
- `passkey`:
|
|
22
|
-
|
|
23
|
-
- `
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
-
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
-
when going back is available.
|
|
22
|
+
/** How the client should treat the action:
|
|
23
|
+
- `submit`: collect the step's fields and submit.
|
|
24
|
+
- `passkey`: run a WebAuthn assertion, then submit the result.
|
|
25
|
+
- `passkey_register`: run a WebAuthn registration, then submit the result.
|
|
26
|
+
- `navigate`: submit without collecting fields; pure routing.
|
|
27
|
+
- `back`: return the user to the previous step. Engine-injected, never
|
|
28
|
+
declared in a flow definition.
|
|
29
29
|
*/
|
|
30
30
|
kind: CreateFlow201StepActionsItemKind;
|
|
31
31
|
/** Marks this as the default/primary action. The runtime template uses
|
|
32
|
-
this hint to choose visual emphasis.
|
|
33
|
-
should be primary; this is not enforced here.
|
|
32
|
+
this hint to choose visual emphasis.
|
|
34
33
|
*/
|
|
35
34
|
primary?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
Display text is resolved client-side from a locale dictionary, never
|
|
39
|
-
by the engine.
|
|
35
|
+
/** Localization key for the action's label, resolved client-side from a
|
|
36
|
+
locale dictionary.
|
|
40
37
|
*/
|
|
41
38
|
text_key?: string;
|
|
42
39
|
};
|
|
@@ -7,16 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
- `submit`: collect the step's fields and
|
|
12
|
-
- `passkey`:
|
|
13
|
-
|
|
14
|
-
- `
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
-
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
-
when going back is available.
|
|
10
|
+
* How the client should treat the action:
|
|
11
|
+
- `submit`: collect the step's fields and submit.
|
|
12
|
+
- `passkey`: run a WebAuthn assertion, then submit the result.
|
|
13
|
+
- `passkey_register`: run a WebAuthn registration, then submit the result.
|
|
14
|
+
- `navigate`: submit without collecting fields; pure routing.
|
|
15
|
+
- `back`: return the user to the previous step. Engine-injected, never
|
|
16
|
+
declared in a flow definition.
|
|
20
17
|
|
|
21
18
|
*/
|
|
22
19
|
export type CreateFlow201StepActionsItemKind =
|
|
@@ -23,9 +23,11 @@ the purpose + audience when a flow is created via POST /flow.
|
|
|
23
23
|
export type CreateFlowDefinition201FlowDefinition = {
|
|
24
24
|
/**
|
|
25
25
|
* Stable identifier for this flow, used as the target of cross-flow
|
|
26
|
-
`switch` and `pivot` transitions.
|
|
27
|
-
`name
|
|
28
|
-
|
|
26
|
+
`switch` and `pivot` transitions. Every revision of a flow shares its
|
|
27
|
+
`name`; publishing a definition under an existing `name` adds a
|
|
28
|
+
revision to that flow. Renaming is not supported — the `name` is part
|
|
29
|
+
of the public contract another definition may reference. Acts as the
|
|
30
|
+
human display label as well; no separate slug.
|
|
29
31
|
|
|
30
32
|
* @pattern ^[a-z][a-z0-9-]*$
|
|
31
33
|
*/
|
|
@@ -35,9 +37,7 @@ export type CreateFlowDefinition201FlowDefinition = {
|
|
|
35
37
|
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
36
38
|
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
- draft -> active: To activate the flow definition.
|
|
40
|
-
- active -> draft: To remove the flow definition from active use immediately.
|
|
40
|
+
A revision's status is fixed at creation. Publish a new revision to change it.
|
|
41
41
|
*/
|
|
42
42
|
status: CreateFlowDefinition201FlowDefinitionStatus;
|
|
43
43
|
/** Server-assigned identifier of the user schema this flow operates on,
|
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
13
13
|
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
- draft -> active: To activate the flow definition.
|
|
17
|
-
- active -> draft: To remove the flow definition from active use immediately.
|
|
15
|
+
A revision's status is fixed at creation. Publish a new revision to change it.
|
|
18
16
|
|
|
19
17
|
*/
|
|
20
18
|
export type CreateFlowDefinition201FlowDefinitionStatus =
|
|
@@ -9,7 +9,6 @@ import type { CreateFlowDefinition201FlowDefinitionStepsItemActionsItem } from "
|
|
|
9
9
|
import type { CreateFlowDefinition201FlowDefinitionStepsItemComplete } from "./createFlowDefinition201FlowDefinitionStepsItemComplete";
|
|
10
10
|
import type { CreateFlowDefinition201FlowDefinitionStepsItemGates } from "./createFlowDefinition201FlowDefinitionStepsItemGates";
|
|
11
11
|
import type { CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess } from "./createFlowDefinition201FlowDefinitionStepsItemOnSuccess";
|
|
12
|
-
import type { CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem } from "./createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem";
|
|
13
12
|
import type { CreateFlowDefinition201FlowDefinitionStepsItemTransitions } from "./createFlowDefinition201FlowDefinitionStepsItemTransitions";
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -25,9 +24,12 @@ rendered to the frontend as capability payloads.
|
|
|
25
24
|
|
|
26
25
|
*/
|
|
27
26
|
export type CreateFlowDefinition201FlowDefinitionStepsItem = {
|
|
28
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Unique step identifier within this flow. Used as transition targets
|
|
29
29
|
and returned in the API response as `step.name`.
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
* @pattern ^[a-z][a-z0-9_-]*$
|
|
32
|
+
*/
|
|
31
33
|
name: string;
|
|
32
34
|
/** Schema property names to collect from the user. Each entry references
|
|
33
35
|
a property in the flow's user schema. The engine resolves field type,
|
|
@@ -47,8 +49,13 @@ export type CreateFlowDefinition201FlowDefinitionStepsItem = {
|
|
|
47
49
|
policy.
|
|
48
50
|
*/
|
|
49
51
|
gates?: CreateFlowDefinition201FlowDefinitionStepsItemGates;
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
+
/** Slugs of the identity provider connections this step offers, in display
|
|
53
|
+
order. Each names the `slug` of a connection under `.zitadel/idps/`; the
|
|
54
|
+
connection carries the display name and template, so a rename there
|
|
55
|
+
reaches every step without editing the flow. The rendered step the client
|
|
56
|
+
receives carries the resolved `{id, name, template}` objects instead.
|
|
57
|
+
*/
|
|
58
|
+
sso_providers?: string[];
|
|
52
59
|
/** Server-side mutation to execute when this step completes successfully.
|
|
53
60
|
Runs after field validation passes, before the transition fires.
|
|
54
61
|
|
|
@@ -8,15 +8,20 @@
|
|
|
8
8
|
import type { CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind } from "./createFlowDefinition201FlowDefinitionStepsItemActionsItemKind";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
back in the submit request as `action`; the engine resolves
|
|
13
|
-
declared `kind` to decide how to handle the submission.
|
|
11
|
+
* An action a flow author declares on a step of a flow definition. The
|
|
12
|
+
`name` is sent back in the submit request as `action`; the engine resolves
|
|
13
|
+
the action's declared `kind` to decide how to handle the submission.
|
|
14
14
|
|
|
15
15
|
*/
|
|
16
16
|
export type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Action identifier. Sent back in the submit request as `action`.
|
|
19
|
+
* @minLength 1
|
|
20
|
+
*/
|
|
18
21
|
name: string;
|
|
19
|
-
/** Classifies how the engine handles this action:
|
|
22
|
+
/** Classifies how the engine handles this action. `back` is not declarable:
|
|
23
|
+
the engine injects it into runtime steps (see `flow-step-action.yaml`)
|
|
24
|
+
whenever going back is available.
|
|
20
25
|
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
26
|
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
27
|
fires once the returned assertion verifies.
|
|
@@ -24,8 +29,6 @@ export type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
|
|
|
24
29
|
transition fires once the returned attestation verifies.
|
|
25
30
|
- `navigate`: route through the transition without running the input
|
|
26
31
|
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
-
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
-
when going back is available.
|
|
29
32
|
*/
|
|
30
33
|
kind: CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind;
|
|
31
34
|
/** Marks this as the default/primary action. The runtime template uses
|
package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Classifies how the engine handles this action:
|
|
10
|
+
* Classifies how the engine handles this action. `back` is not declarable:
|
|
11
|
+
the engine injects it into runtime steps (see `flow-step-action.yaml`)
|
|
12
|
+
whenever going back is available.
|
|
11
13
|
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
14
|
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
15
|
fires once the returned assertion verifies.
|
|
@@ -15,8 +17,6 @@
|
|
|
15
17
|
transition fires once the returned attestation verifies.
|
|
16
18
|
- `navigate`: route through the transition without running the input
|
|
17
19
|
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
-
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
-
when going back is available.
|
|
20
20
|
|
|
21
21
|
*/
|
|
22
22
|
export type CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind =
|
|
@@ -27,5 +27,4 @@ export const CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind = {
|
|
|
27
27
|
passkey: "passkey",
|
|
28
28
|
passkey_register: "passkey_register",
|
|
29
29
|
navigate: "navigate",
|
|
30
|
-
back: "back",
|
|
31
30
|
} as const;
|
|
@@ -28,7 +28,10 @@ export type CreateFlowDefinition201UserSchema = {
|
|
|
28
28
|
objectType?: string;
|
|
29
29
|
/** Discriminator value for a user schema create request. */
|
|
30
30
|
kind: "user-schema";
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* The user Schema version used for this schema.
|
|
33
|
+
* @maxLength 1024
|
|
34
|
+
*/
|
|
32
35
|
metaSchema: string;
|
|
33
36
|
/** A list of authentication methods supported by the user definition. */
|
|
34
37
|
"x-auth-methods": {
|
|
@@ -47,6 +50,11 @@ export type CreateFlowDefinition201UserSchema = {
|
|
|
47
50
|
sso?: {
|
|
48
51
|
/** Whether the authentication method is enabled or not */
|
|
49
52
|
enabled: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
* @minItems 1
|
|
56
|
+
*/
|
|
57
|
+
providers?: string[];
|
|
50
58
|
};
|
|
51
59
|
otp?: {
|
|
52
60
|
/** Whether the authentication method is enabled or not */
|
|
@@ -23,9 +23,11 @@ the purpose + audience when a flow is created via POST /flow.
|
|
|
23
23
|
export type CreateFlowDefinitionBodyFlowDefinition = {
|
|
24
24
|
/**
|
|
25
25
|
* Stable identifier for this flow, used as the target of cross-flow
|
|
26
|
-
`switch` and `pivot` transitions.
|
|
27
|
-
`name
|
|
28
|
-
|
|
26
|
+
`switch` and `pivot` transitions. Every revision of a flow shares its
|
|
27
|
+
`name`; publishing a definition under an existing `name` adds a
|
|
28
|
+
revision to that flow. Renaming is not supported — the `name` is part
|
|
29
|
+
of the public contract another definition may reference. Acts as the
|
|
30
|
+
human display label as well; no separate slug.
|
|
29
31
|
|
|
30
32
|
* @pattern ^[a-z][a-z0-9-]*$
|
|
31
33
|
*/
|
|
@@ -35,9 +37,7 @@ export type CreateFlowDefinitionBodyFlowDefinition = {
|
|
|
35
37
|
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
36
38
|
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
- draft -> active: To activate the flow definition.
|
|
40
|
-
- active -> draft: To remove the flow definition from active use immediately.
|
|
40
|
+
A revision's status is fixed at creation. Publish a new revision to change it.
|
|
41
41
|
*/
|
|
42
42
|
status: CreateFlowDefinitionBodyFlowDefinitionStatus;
|
|
43
43
|
/** Server-assigned identifier of the user schema this flow operates on,
|
|
@@ -12,9 +12,7 @@
|
|
|
12
12
|
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
13
13
|
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
- draft -> active: To activate the flow definition.
|
|
17
|
-
- active -> draft: To remove the flow definition from active use immediately.
|
|
15
|
+
A revision's status is fixed at creation. Publish a new revision to change it.
|
|
18
16
|
|
|
19
17
|
*/
|
|
20
18
|
export type CreateFlowDefinitionBodyFlowDefinitionStatus =
|
|
@@ -9,7 +9,6 @@ import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem } from
|
|
|
9
9
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete } from "./createFlowDefinitionBodyFlowDefinitionStepsItemComplete";
|
|
10
10
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemGates } from "./createFlowDefinitionBodyFlowDefinitionStepsItemGates";
|
|
11
11
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess } from "./createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess";
|
|
12
|
-
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem } from "./createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem";
|
|
13
12
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions } from "./createFlowDefinitionBodyFlowDefinitionStepsItemTransitions";
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -25,9 +24,12 @@ rendered to the frontend as capability payloads.
|
|
|
25
24
|
|
|
26
25
|
*/
|
|
27
26
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
28
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Unique step identifier within this flow. Used as transition targets
|
|
29
29
|
and returned in the API response as `step.name`.
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
* @pattern ^[a-z][a-z0-9_-]*$
|
|
32
|
+
*/
|
|
31
33
|
name: string;
|
|
32
34
|
/** Schema property names to collect from the user. Each entry references
|
|
33
35
|
a property in the flow's user schema. The engine resolves field type,
|
|
@@ -47,8 +49,13 @@ export type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
|
47
49
|
policy.
|
|
48
50
|
*/
|
|
49
51
|
gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates;
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
+
/** Slugs of the identity provider connections this step offers, in display
|
|
53
|
+
order. Each names the `slug` of a connection under `.zitadel/idps/`; the
|
|
54
|
+
connection carries the display name and template, so a rename there
|
|
55
|
+
reaches every step without editing the flow. The rendered step the client
|
|
56
|
+
receives carries the resolved `{id, name, template}` objects instead.
|
|
57
|
+
*/
|
|
58
|
+
sso_providers?: string[];
|
|
52
59
|
/** Server-side mutation to execute when this step completes successfully.
|
|
53
60
|
Runs after field validation passes, before the transition fires.
|
|
54
61
|
|
|
@@ -8,15 +8,20 @@
|
|
|
8
8
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind } from "./createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
back in the submit request as `action`; the engine resolves
|
|
13
|
-
declared `kind` to decide how to handle the submission.
|
|
11
|
+
* An action a flow author declares on a step of a flow definition. The
|
|
12
|
+
`name` is sent back in the submit request as `action`; the engine resolves
|
|
13
|
+
the action's declared `kind` to decide how to handle the submission.
|
|
14
14
|
|
|
15
15
|
*/
|
|
16
16
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Action identifier. Sent back in the submit request as `action`.
|
|
19
|
+
* @minLength 1
|
|
20
|
+
*/
|
|
18
21
|
name: string;
|
|
19
|
-
/** Classifies how the engine handles this action:
|
|
22
|
+
/** Classifies how the engine handles this action. `back` is not declarable:
|
|
23
|
+
the engine injects it into runtime steps (see `flow-step-action.yaml`)
|
|
24
|
+
whenever going back is available.
|
|
20
25
|
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
26
|
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
27
|
fires once the returned assertion verifies.
|
|
@@ -24,8 +29,6 @@ export type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
|
|
|
24
29
|
transition fires once the returned attestation verifies.
|
|
25
30
|
- `navigate`: route through the transition without running the input
|
|
26
31
|
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
-
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
-
when going back is available.
|
|
29
32
|
*/
|
|
30
33
|
kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind;
|
|
31
34
|
/** Marks this as the default/primary action. The runtime template uses
|