@zitadel/api 0.4.0 → 0.5.0
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 +1 -1
- package/dist/{api-factory-C5b1Gqwv.mjs → api-factory-32Zz3s86.mjs} +8 -6
- package/dist/api-factory-32Zz3s86.mjs.map +1 -0
- package/dist/{api-factory-Dt5lUjyu.d.mts → api-factory-DbVEEqxe.d.mts} +8 -3
- package/dist/{api-factory-Dt5lUjyu.d.mts.map → api-factory-DbVEEqxe.d.mts.map} +1 -1
- package/dist/{fetch-B-lgjlrf.d.mts → fetch-BzLvdm6C.d.mts} +14 -1
- package/dist/fetch-BzLvdm6C.d.mts.map +1 -0
- package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
- package/dist/generated/endpoints/zitadelNextGen.mjs +984 -625
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +9 -9
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1024 -659
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4797 -4436
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +1 -1
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/generated/operations.d.mts +9 -0
- package/dist/generated/operations.d.mts.map +1 -1
- package/dist/generated/operations.mjs +266 -153
- package/dist/generated/operations.mjs.map +1 -1
- package/dist/{index-DGQY1rfH.d.mts → index-BX80Kl-8.d.mts} +9071 -7707
- package/dist/{index-DGQY1rfH.d.mts.map → index-BX80Kl-8.d.mts.map} +1 -1
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/api-factory.mjs +1 -1
- package/dist/runtime/config.d.mts +1 -1
- package/dist/runtime/config.mjs +1 -1
- package/dist/runtime/fetch.d.mts +1 -1
- package/dist/runtime/fetch.mjs +1 -0
- package/dist/runtime/fetch.mjs.map +1 -1
- package/dist/runtime/paging.d.mts +106 -23
- package/dist/runtime/paging.d.mts.map +1 -1
- package/dist/runtime/paging.mjs +132 -32
- package/dist/runtime/paging.mjs.map +1 -1
- package/dist/zitadelNextGen-CFrFhq_h.d.mts +1726 -0
- package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +1 -0
- package/package.json +3 -3
- package/src/generated/endpoints/zitadelNextGen.faker.ts +3 -3
- package/src/generated/endpoints/zitadelNextGen.ts +1009 -650
- package/src/generated/endpoints/zitadelNextGen.zod.ts +4812 -4443
- package/src/generated/model/addOrigin201.ts +5 -0
- package/src/generated/model/addOrigin201Kind.ts +3 -0
- package/src/generated/model/addOriginBody.ts +17 -5
- package/src/generated/model/addOriginBodyKind.ts +4 -0
- package/src/generated/model/beginUserPasskeyRegistration201.ts +3 -3
- package/src/generated/model/beginUserPasskeyRegistrationBody.ts +6 -6
- package/src/generated/model/buildRelease200.ts +15 -15
- package/src/generated/model/buildRelease200Metadata.ts +8 -8
- package/src/generated/model/buildRelease200PointersItem.ts +13 -12
- package/src/generated/model/buildRelease200PointersItemKind.ts +3 -3
- package/src/generated/model/buildRelease201.ts +15 -15
- package/src/generated/model/buildRelease201Metadata.ts +8 -8
- package/src/generated/model/buildRelease201PointersItem.ts +13 -12
- package/src/generated/model/buildRelease201PointersItemKind.ts +3 -3
- package/src/generated/model/buildRelease400.ts +1 -3
- package/src/generated/model/buildRelease400DetailsResourcesItem.ts +3 -3
- package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +3 -3
- package/src/generated/model/buildReleaseBody.ts +19 -16
- package/src/generated/model/buildReleaseBodyBundle.ts +31 -28
- package/src/generated/model/buildReleaseBodyBundleBranding.ts +24 -22
- package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +8 -7
- package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +5 -7
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +7 -7
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +7 -7
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +4 -4
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +47 -26
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +2 -2
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +46 -28
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +9 -7
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +2 -2
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +11 -10
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +4 -3
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +40 -20
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +8 -5
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +7 -8
- package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +7 -7
- package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +7 -7
- package/src/generated/model/buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +1 -1
- package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +3 -3
- package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +23 -22
- package/src/generated/model/buildReleaseParams.ts +3 -1
- package/src/generated/model/completeClaim409.ts +2 -2
- package/src/generated/model/completeClaimBody.ts +1 -1
- package/src/generated/model/createAuthAttempt201.ts +23 -22
- package/src/generated/model/createAuthAttempt201ChallengesItem.ts +9 -7
- package/src/generated/model/createAuthAttempt201ChallengesItemState.ts +1 -1
- package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
- package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +5 -5
- package/src/generated/model/createAuthAttempt201State.ts +2 -2
- package/src/generated/model/createAuthAttemptBody.ts +3 -3
- package/src/generated/model/createAuthAttemptDefault.ts +63 -0
- package/src/generated/model/createBranding201.ts +10 -10
- package/src/generated/model/createBranding201Branding.ts +24 -22
- package/src/generated/model/createBranding201BrandingLayout.ts +8 -7
- package/src/generated/model/createBranding201BrandingShape.ts +1 -1
- package/src/generated/model/createBranding201BrandingTheme.ts +5 -7
- package/src/generated/model/createBranding201BrandingThemeDark.ts +7 -7
- package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/createBranding201BrandingThemeLight.ts +7 -7
- package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/createBranding201BrandingTypography.ts +4 -4
- package/src/generated/model/createBrandingBody.ts +24 -22
- package/src/generated/model/createBrandingBodyLayout.ts +8 -7
- package/src/generated/model/createBrandingBodyShape.ts +1 -1
- package/src/generated/model/createBrandingBodyTheme.ts +5 -7
- package/src/generated/model/createBrandingBodyThemeDark.ts +7 -7
- package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +63 -62
- package/src/generated/model/createBrandingBodyThemeLight.ts +7 -7
- package/src/generated/model/createBrandingBodyThemeLightPalette.ts +63 -62
- package/src/generated/model/createBrandingBodyTypography.ts +4 -4
- package/src/generated/model/createBrandingParams.ts +3 -1
- package/src/generated/model/createDeployment200.ts +16 -14
- package/src/generated/model/createDeployment200Metadata.ts +1 -1
- package/src/generated/model/createDeployment200Release.ts +15 -15
- package/src/generated/model/createDeployment200ReleaseMetadata.ts +8 -8
- package/src/generated/model/createDeployment200ReleasePointersItem.ts +13 -12
- package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +3 -3
- package/src/generated/model/createDeployment200Status.ts +3 -3
- package/src/generated/model/createDeployment201.ts +16 -14
- package/src/generated/model/createDeployment201Metadata.ts +1 -1
- package/src/generated/model/createDeployment201Release.ts +15 -15
- package/src/generated/model/createDeployment201ReleaseMetadata.ts +8 -8
- package/src/generated/model/createDeployment201ReleasePointersItem.ts +13 -12
- package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +3 -3
- package/src/generated/model/createDeployment201Status.ts +3 -3
- package/src/generated/model/createDeployment409.ts +41 -40
- package/src/generated/model/createDeploymentBody.ts +4 -10
- package/src/generated/model/createDeploymentParams.ts +3 -1
- package/src/generated/model/createFlow201.ts +16 -12
- package/src/generated/model/createFlow201Branding.ts +24 -22
- package/src/generated/model/createFlow201BrandingLayout.ts +8 -7
- package/src/generated/model/createFlow201BrandingShape.ts +1 -1
- package/src/generated/model/createFlow201BrandingTheme.ts +5 -7
- package/src/generated/model/createFlow201BrandingThemeDark.ts +7 -7
- package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/createFlow201BrandingThemeLight.ts +7 -7
- package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/createFlow201BrandingTypography.ts +4 -4
- package/src/generated/model/createFlow201Step.ts +36 -31
- package/src/generated/model/createFlow201StepActionsItem.ts +3 -3
- package/src/generated/model/createFlow201StepActionsItemKind.ts +1 -1
- package/src/generated/model/createFlow201StepChallenge.ts +4 -3
- package/src/generated/model/createFlow201StepComplete.ts +1 -1
- package/src/generated/model/createFlow201StepFieldsItem.ts +14 -13
- package/src/generated/model/createFlow201StepFieldsItemType.ts +1 -1
- package/src/generated/model/createFlow201StepFieldsItemValidation.ts +2 -2
- package/src/generated/model/createFlow201StepFieldsItemValidationFormat.ts +1 -1
- package/src/generated/model/createFlow201StepGates.ts +10 -8
- package/src/generated/model/createFlow201StepGatesConfig.ts +1 -1
- package/src/generated/model/createFlow201StepGatesKind.ts +4 -3
- package/src/generated/model/createFlow201StepIdentifier.ts +6 -6
- package/src/generated/model/createFlow201StepSsoProvidersItem.ts +1 -1
- package/src/generated/model/createFlow201StepTexts.ts +1 -1
- package/src/generated/model/createFlowBody.ts +7 -2
- package/src/generated/model/createFlowBodyHint.ts +4 -1
- package/src/generated/model/createFlowBodyPurpose.ts +3 -0
- package/src/generated/model/createFlowDefault.ts +9 -0
- package/src/generated/model/createFlowDefinition201.ts +22 -10
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +47 -26
- package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +1 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +2 -2
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +46 -28
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +9 -7
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +2 -2
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +11 -10
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +1 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +4 -3
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +40 -20
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +8 -5
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
- package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
- package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +2 -1
- package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +21 -20
- package/src/generated/model/createFlowDefinitionBody.ts +22 -12
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +47 -26
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +1 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +2 -2
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +46 -28
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +9 -7
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +2 -2
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +11 -10
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +1 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +4 -3
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +40 -20
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +8 -5
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
- package/src/generated/model/createGrant201.ts +14 -14
- package/src/generated/model/createGrant201ObjectType.ts +1 -1
- package/src/generated/model/createGrant201Relation.ts +1 -1
- package/src/generated/model/createGrant201Team.ts +7 -7
- package/src/generated/model/createGrant201TeamStatus.ts +2 -2
- package/src/generated/model/createGrant201User.ts +5 -5
- package/src/generated/model/createGrant201UserMetadata.ts +10 -11
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/createGrantBody.ts +12 -12
- package/src/generated/model/createGrantBodyRelation.ts +1 -1
- package/src/generated/model/createGrantBodyTeam.ts +3 -3
- package/src/generated/model/createGrantBodyUser.ts +5 -5
- package/src/generated/model/createGrantDefault.ts +9 -0
- package/src/generated/model/createGrantParams.ts +3 -1
- package/src/generated/model/createHandoff200.ts +9 -10
- package/src/generated/model/createIdp200.ts +10 -9
- package/src/generated/model/createIdp200Definition.ts +7 -7
- package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/createIdp200DefinitionOidc.ts +7 -7
- package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdp201.ts +10 -9
- package/src/generated/model/createIdp201Definition.ts +7 -7
- package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/createIdp201DefinitionOidc.ts +7 -7
- package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
- package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdpBody.ts +1 -1
- package/src/generated/model/createIdpBodyIdp.ts +7 -7
- package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
- package/src/generated/model/createIdpBodyIdpOidc.ts +7 -7
- package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
- package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdpParams.ts +3 -1
- package/src/generated/model/createProject201.ts +10 -5
- package/src/generated/model/createProject201OriginsItem.ts +17 -5
- package/src/generated/model/createProject201OriginsItemKind.ts +4 -0
- package/src/generated/model/createProjectBody.ts +5 -6
- package/src/generated/model/createProjectBodyOriginsItem.ts +17 -5
- package/src/generated/model/createProjectBodyOriginsItemKind.ts +4 -0
- package/src/generated/model/createRelease200.ts +15 -15
- package/src/generated/model/createRelease200Metadata.ts +8 -8
- package/src/generated/model/createRelease200PointersItem.ts +13 -12
- package/src/generated/model/createRelease200PointersItemKind.ts +3 -3
- package/src/generated/model/createRelease201.ts +15 -15
- package/src/generated/model/createRelease201Metadata.ts +8 -8
- package/src/generated/model/createRelease201PointersItem.ts +13 -12
- package/src/generated/model/createRelease201PointersItemKind.ts +3 -3
- package/src/generated/model/createReleaseBody.ts +7 -11
- package/src/generated/model/createReleaseBodyPointersItem.ts +8 -8
- package/src/generated/model/createReleaseBodyPointersItemKind.ts +3 -3
- package/src/generated/model/createReleaseParams.ts +3 -1
- package/src/generated/model/createSchema201.ts +1 -1
- package/src/generated/model/createSchemaBody.ts +23 -22
- package/src/generated/model/createSchemaParams.ts +4 -2
- package/src/generated/model/createSession201.ts +8 -8
- package/src/generated/model/createSession201Session.ts +16 -16
- package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
- package/src/generated/model/createSession201SessionFactorsItemPayload.ts +5 -5
- package/src/generated/model/createSession201SessionState.ts +1 -1
- package/src/generated/model/createSession201SessionUser.ts +5 -5
- package/src/generated/model/createSessionBody.ts +1 -1
- package/src/generated/model/createTeam201.ts +2 -2
- package/src/generated/model/createTeam201Status.ts +2 -2
- package/src/generated/model/createTeamBody.ts +1 -1
- package/src/generated/model/createTeamParams.ts +3 -1
- package/src/generated/model/createUser201.ts +28 -29
- package/src/generated/model/createUser201Metadata.ts +10 -11
- package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/createUser201MetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/createUser201TeamsItem.ts +4 -4
- package/src/generated/model/createUserBody.ts +9 -8
- package/src/generated/model/createUserParams.ts +4 -2
- package/src/generated/model/deleteGrantParams.ts +3 -1
- package/src/generated/model/deleteVariableParams.ts +3 -1
- package/src/generated/model/evaluatePolicy200.ts +5 -4
- package/src/generated/model/evaluatePolicy200Violations.ts +4 -3
- package/src/generated/model/evaluatePolicyBody.ts +8 -9
- package/src/generated/model/evaluatePolicyParams.ts +3 -1
- package/src/generated/model/exchangeHandoff200.ts +8 -8
- package/src/generated/model/exchangeHandoff200Session.ts +16 -16
- package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
- package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +5 -5
- package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
- package/src/generated/model/exchangeHandoff200SessionUser.ts +5 -5
- package/src/generated/model/exchangeHandoffBody.ts +7 -5
- package/src/generated/model/exchangeHandoffParams.ts +3 -1
- package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
- package/src/generated/model/getAuthAttempt200.ts +23 -22
- package/src/generated/model/getAuthAttempt200ChallengesItem.ts +9 -7
- package/src/generated/model/getAuthAttempt200ChallengesItemState.ts +1 -1
- package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
- package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +5 -5
- package/src/generated/model/getAuthAttempt200State.ts +2 -2
- package/src/generated/model/getBrandingById200.ts +10 -10
- package/src/generated/model/getBrandingById200Branding.ts +24 -22
- package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -7
- package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
- package/src/generated/model/getBrandingById200BrandingTheme.ts +5 -7
- package/src/generated/model/getBrandingById200BrandingThemeDark.ts +7 -7
- package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/getBrandingById200BrandingThemeLight.ts +7 -7
- package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/getBrandingById200BrandingTypography.ts +4 -4
- package/src/generated/model/getClaimStatus200.ts +4 -5
- package/src/generated/model/getClaimStatusParams.ts +1 -1
- package/src/generated/model/getClaimWindow200.ts +6 -6
- package/src/generated/model/getClaimWindowParams.ts +1 -1
- package/src/generated/model/getDeploymentById200.ts +16 -14
- package/src/generated/model/getDeploymentById200Metadata.ts +1 -1
- package/src/generated/model/getDeploymentById200Release.ts +15 -15
- package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +8 -8
- package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +13 -12
- package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +3 -3
- package/src/generated/model/getDeploymentById200Status.ts +3 -3
- package/src/generated/model/getDeploymentByIdParams.ts +3 -1
- package/src/generated/model/getDeploymentVariablesParams.ts +3 -1
- package/src/generated/model/getEvent200.ts +1574 -1323
- package/src/generated/model/getEventParams.ts +3 -1
- package/src/generated/model/getFlowDefinition200.ts +22 -10
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +47 -26
- package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +1 -1
- package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +2 -2
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +46 -28
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +9 -7
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +2 -2
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +11 -10
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -1
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +4 -3
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +40 -20
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsAction.ts +8 -5
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
- package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
- package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +2 -1
- package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +21 -20
- package/src/generated/model/getFlowStep200.ts +16 -12
- package/src/generated/model/getFlowStep200Branding.ts +24 -22
- package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -7
- package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
- package/src/generated/model/getFlowStep200BrandingTheme.ts +5 -7
- package/src/generated/model/getFlowStep200BrandingThemeDark.ts +7 -7
- package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/getFlowStep200BrandingThemeLight.ts +7 -7
- package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/getFlowStep200BrandingTypography.ts +4 -4
- package/src/generated/model/getFlowStep200Step.ts +36 -31
- package/src/generated/model/getFlowStep200StepActionsItem.ts +3 -3
- package/src/generated/model/getFlowStep200StepActionsItemKind.ts +1 -1
- package/src/generated/model/getFlowStep200StepChallenge.ts +4 -3
- package/src/generated/model/getFlowStep200StepComplete.ts +1 -1
- package/src/generated/model/getFlowStep200StepFieldsItem.ts +14 -13
- package/src/generated/model/getFlowStep200StepFieldsItemType.ts +1 -1
- package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +2 -2
- package/src/generated/model/getFlowStep200StepFieldsItemValidationFormat.ts +1 -1
- package/src/generated/model/getFlowStep200StepGates.ts +10 -8
- package/src/generated/model/getFlowStep200StepGatesConfig.ts +1 -1
- package/src/generated/model/getFlowStep200StepGatesKind.ts +4 -3
- package/src/generated/model/getFlowStep200StepIdentifier.ts +6 -6
- package/src/generated/model/getFlowStep200StepSsoProvidersItem.ts +1 -1
- package/src/generated/model/getFlowStep200StepTexts.ts +1 -1
- package/src/generated/model/getFlowStepDefault.ts +18 -0
- package/src/generated/model/getGrant200.ts +14 -14
- package/src/generated/model/getGrant200ObjectType.ts +1 -1
- package/src/generated/model/getGrant200Relation.ts +1 -1
- package/src/generated/model/getGrant200Team.ts +7 -7
- package/src/generated/model/getGrant200TeamStatus.ts +2 -2
- package/src/generated/model/getGrant200User.ts +5 -5
- package/src/generated/model/getGrant200UserMetadata.ts +10 -11
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/getGrantDefault.ts +0 -9
- package/src/generated/model/getGrantExpandItem.ts +8 -5
- package/src/generated/model/getGrantParams.ts +6 -3
- package/src/generated/model/getIdpById200.ts +10 -9
- package/src/generated/model/getIdpById200Definition.ts +7 -7
- package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionOidc.ts +7 -7
- package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/getIdpByIdParams.ts +3 -1
- package/src/generated/model/getIdpRevisionById200.ts +10 -9
- package/src/generated/model/getIdpRevisionById200Definition.ts +7 -7
- package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +7 -7
- package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/getIdpRevisionByIdParams.ts +3 -1
- package/src/generated/model/getMyPasswordState200.ts +2 -2
- package/src/generated/model/getMySession200.ts +16 -16
- package/src/generated/model/getMySession200FactorsItem.ts +2 -2
- package/src/generated/model/getMySession200FactorsItemPayload.ts +5 -5
- package/src/generated/model/getMySession200State.ts +1 -1
- package/src/generated/model/getMySession200User.ts +5 -5
- package/src/generated/model/getMySessionCsrfToken200.ts +1 -1
- package/src/generated/model/getMyUser200.ts +28 -29
- package/src/generated/model/getMyUser200Metadata.ts +10 -11
- package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/getMyUser200TeamsItem.ts +4 -4
- package/src/generated/model/getMyUserSchema200.ts +4 -4
- package/src/generated/model/getMyUserSchema200Metadata.ts +2 -1
- package/src/generated/model/getMyUserSchema200Schema.ts +21 -20
- package/src/generated/model/getPolicy200.ts +3 -3
- package/src/generated/model/getPolicyParams.ts +3 -1
- package/src/generated/model/getPolicyRevision200.ts +3 -3
- package/src/generated/model/getPolicyRevisionParams.ts +3 -1
- package/src/generated/model/getProject200.ts +34 -30
- package/src/generated/model/getReleaseById200.ts +15 -15
- package/src/generated/model/getReleaseById200Metadata.ts +8 -8
- package/src/generated/model/getReleaseById200PointersItem.ts +13 -12
- package/src/generated/model/getReleaseById200PointersItemKind.ts +3 -3
- package/src/generated/model/getReleaseByIdParams.ts +3 -1
- package/src/generated/model/getSchemaById200.ts +4 -4
- package/src/generated/model/getSchemaById200Metadata.ts +2 -1
- package/src/generated/model/getSchemaById200Schema.ts +21 -20
- package/src/generated/model/getSchemaByIdParams.ts +3 -3
- package/src/generated/model/getSession200.ts +16 -16
- package/src/generated/model/getSession200FactorsItem.ts +2 -2
- package/src/generated/model/getSession200FactorsItemPayload.ts +5 -5
- package/src/generated/model/getSession200State.ts +1 -1
- package/src/generated/model/getSession200User.ts +5 -5
- package/src/generated/model/getTeam200.ts +2 -2
- package/src/generated/model/getTeam200Status.ts +2 -2
- package/src/generated/model/getUserByID200.ts +28 -29
- package/src/generated/model/getUserByID200Metadata.ts +10 -11
- package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/getUserByID200TeamsItem.ts +4 -4
- package/src/generated/model/getUserByIDParams.ts +4 -3
- package/src/generated/model/getUserPasswordState200.ts +2 -2
- package/src/generated/model/getVariable200.ts +4 -4
- package/src/generated/model/getVariable200Preview.ts +2 -2
- package/src/generated/model/getVariable200Primary.ts +2 -2
- package/src/generated/model/getVariableParams.ts +3 -1
- package/src/generated/model/getVariables200.ts +4 -4
- package/src/generated/model/getVariables200Preview.ts +2 -2
- package/src/generated/model/getVariables200Primary.ts +2 -2
- package/src/generated/model/getVariablesParams.ts +3 -1
- package/src/generated/model/initClaim201.ts +3 -3
- package/src/generated/model/initClaim409.ts +2 -2
- package/src/generated/model/issueChallenge201.ts +9 -7
- package/src/generated/model/issueChallenge201State.ts +1 -1
- package/src/generated/model/issueChallengeBody.ts +2 -2
- package/src/generated/model/listBrandingParams.ts +3 -1
- package/src/generated/model/listDeployments200DeploymentsItem.ts +16 -14
- package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +1 -1
- package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +15 -15
- package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +8 -8
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +13 -12
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +3 -3
- package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +3 -3
- package/src/generated/model/listDeploymentsExpandItem.ts +4 -4
- package/src/generated/model/listDeploymentsParams.ts +3 -1
- package/src/generated/model/listEvents200.ts +1 -1
- package/src/generated/model/listEvents200DataItem.ts +1574 -1323
- package/src/generated/model/listEventsParams.ts +34 -6
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +22 -10
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +47 -26
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionAudience.ts +1 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +46 -28
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +9 -7
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +11 -10
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesKind.ts +4 -3
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +40 -20
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsAction.ts +8 -5
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +2 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +21 -20
- package/src/generated/model/listFlowDefinitionsExpandItem.ts +2 -2
- package/src/generated/model/listFlowDefinitionsParams.ts +8 -6
- package/src/generated/model/listIdpRevisions200.ts +1 -2
- package/src/generated/model/listIdpRevisions200RevisionsItem.ts +10 -9
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +7 -7
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +7 -7
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/listIdpRevisionsParams.ts +3 -1
- package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +2 -2
- package/src/generated/model/listMyProjects200.ts +1 -1
- package/src/generated/model/listMyProjects200ProjectsItem.ts +2 -3
- package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +17 -5
- package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +4 -0
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +12 -15
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +15 -18
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
- package/src/generated/model/listMyTeams200TeamsItem.ts +4 -4
- package/src/generated/model/listPolicies200.ts +2 -2
- package/src/generated/model/listPolicies200PoliciesItem.ts +3 -3
- package/src/generated/model/listPoliciesParams.ts +3 -1
- package/src/generated/model/listPolicyRevisions200.ts +1 -1
- package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +3 -3
- package/src/generated/model/listPolicyRevisionsParams.ts +3 -1
- package/src/generated/model/listPreviews200PreviewsItem.ts +4 -5
- package/src/generated/model/listProjectAdmins200AdminsItem.ts +3 -3
- package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +13 -15
- package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +5 -5
- package/src/generated/model/listReleases200.ts +1 -1
- package/src/generated/model/listReleases200ReleasesItem.ts +4 -4
- package/src/generated/model/listReleases200ReleasesItemMetadata.ts +8 -8
- package/src/generated/model/listReleasesParams.ts +4 -2
- package/src/generated/model/listSchemas200.ts +1 -1
- package/src/generated/model/listSchemas200SchemasItem.ts +4 -4
- package/src/generated/model/listSchemas200SchemasItemMetadata.ts +2 -1
- package/src/generated/model/listSchemas200SchemasItemSchema.ts +21 -20
- package/src/generated/model/listSchemasExpandItem.ts +2 -2
- package/src/generated/model/listSchemasParams.ts +7 -5
- package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +2 -2
- package/src/generated/model/listUserTeams200TeamsItem.ts +4 -4
- package/src/generated/model/patchMyUser200.ts +28 -29
- package/src/generated/model/patchMyUser200Metadata.ts +10 -11
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/patchMyUser200TeamsItem.ts +4 -4
- package/src/generated/model/patchMyUserBody.ts +2 -2
- package/src/generated/model/patchProject200.ts +34 -30
- package/src/generated/model/patchProjectBody.ts +3 -3
- package/src/generated/model/patchProjectBodyPasswordHash.ts +15 -18
- package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +1 -1
- package/src/generated/model/patchProjectBodyPasswordHashParams.ts +15 -18
- package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +4 -4
- package/src/generated/model/patchUserByID200.ts +28 -29
- package/src/generated/model/patchUserByID200Metadata.ts +10 -11
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/patchUserByID200TeamsItem.ts +4 -4
- package/src/generated/model/patchUserByIDBody.ts +21 -13
- package/src/generated/model/publishPolicy201.ts +3 -3
- package/src/generated/model/publishPolicyBody.ts +3 -3
- package/src/generated/model/publishPolicyParams.ts +3 -1
- package/src/generated/model/queryGrants200GrantsItem.ts +14 -14
- package/src/generated/model/queryGrants200GrantsItemObjectType.ts +1 -1
- package/src/generated/model/queryGrants200GrantsItemRelation.ts +1 -1
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +7 -7
- package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +2 -2
- package/src/generated/model/queryGrants200GrantsItemUser.ts +5 -5
- package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +10 -11
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/queryGrantsBody.ts +2 -3
- package/src/generated/model/queryGrantsBodyExpandItem.ts +8 -5
- package/src/generated/model/queryGrantsBodyFilterItem.ts +3 -5
- package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +1 -2
- package/src/generated/model/queryGrantsDefault.ts +0 -9
- package/src/generated/model/queryGrantsParams.ts +3 -1
- package/src/generated/model/queryIdps200.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItem.ts +10 -9
- package/src/generated/model/queryIdps200IdpsItemDefinition.ts +7 -7
- package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +7 -7
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/queryIdpsBody.ts +2 -2
- package/src/generated/model/queryIdpsBodyFilterItem.ts +5 -7
- package/src/generated/model/queryIdpsBodyFilterItemField.ts +2 -2
- package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +1 -2
- package/src/generated/model/queryIdpsBodySorting.ts +2 -2
- package/src/generated/model/queryIdpsBodySortingField.ts +2 -2
- package/src/generated/model/queryIdpsParams.ts +3 -1
- package/src/generated/model/queryProjects200ProjectsItem.ts +2 -3
- package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +17 -5
- package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +4 -0
- package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +12 -15
- package/src/generated/model/queryProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
- package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +15 -18
- package/src/generated/model/queryProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
- package/src/generated/model/queryProjectsBodyFilterItem.ts +3 -5
- package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +1 -2
- package/src/generated/model/querySessions200SessionsItem.ts +16 -16
- package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
- package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +5 -5
- package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
- package/src/generated/model/querySessions200SessionsItemUser.ts +5 -5
- package/src/generated/model/querySessionsBodyFilterItem.ts +4 -6
- package/src/generated/model/querySessionsBodyFilterItemField.ts +1 -1
- package/src/generated/model/querySessionsBodyFilterItemOperation.ts +1 -2
- package/src/generated/model/querySessionsBodySorting.ts +2 -3
- package/src/generated/model/querySessionsBodySortingField.ts +2 -3
- package/src/generated/model/querySessionsParams.ts +3 -1
- package/src/generated/model/queryTeams200TeamsItem.ts +2 -2
- package/src/generated/model/queryTeams200TeamsItemStatus.ts +2 -2
- package/src/generated/model/queryTeamsBodyFilterItem.ts +3 -5
- package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +1 -2
- package/src/generated/model/queryTeamsParams.ts +2 -2
- package/src/generated/model/queryUsers200UsersItem.ts +28 -29
- package/src/generated/model/queryUsers200UsersItemMetadata.ts +10 -11
- package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +11 -12
- package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeamStatus.ts +2 -2
- package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +4 -4
- package/src/generated/model/queryUsersBody.ts +2 -2
- package/src/generated/model/queryUsersBodyExpandItem.ts +8 -8
- package/src/generated/model/queryUsersBodyFilterItem.ts +13 -16
- package/src/generated/model/queryUsersBodyFilterItemField.ts +10 -11
- package/src/generated/model/queryUsersBodyFilterItemOperation.ts +1 -2
- package/src/generated/model/queryUsersBodySorting.ts +4 -5
- package/src/generated/model/queryUsersBodySortingField.ts +4 -5
- package/src/generated/model/queryUsersParams.ts +2 -2
- package/src/generated/model/removeOriginBody.ts +2 -2
- package/src/generated/model/revokeRelease200.ts +15 -15
- package/src/generated/model/revokeRelease200Metadata.ts +8 -8
- package/src/generated/model/revokeRelease200PointersItem.ts +13 -12
- package/src/generated/model/revokeRelease200PointersItemKind.ts +3 -3
- package/src/generated/model/revokeReleaseParams.ts +3 -1
- package/src/generated/model/rollbackDeployment200.ts +16 -14
- package/src/generated/model/rollbackDeployment200Metadata.ts +1 -1
- package/src/generated/model/rollbackDeployment200Release.ts +15 -15
- package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +8 -8
- package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +13 -12
- package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +3 -3
- package/src/generated/model/rollbackDeployment200Status.ts +3 -3
- package/src/generated/model/rollbackDeployment201.ts +16 -14
- package/src/generated/model/rollbackDeployment201Metadata.ts +1 -1
- package/src/generated/model/rollbackDeployment201Release.ts +15 -15
- package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +8 -8
- package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +13 -12
- package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +3 -3
- package/src/generated/model/rollbackDeployment201Status.ts +3 -3
- package/src/generated/model/rollbackDeployment409.ts +41 -40
- package/src/generated/model/rollbackDeploymentParams.ts +3 -1
- package/src/generated/model/setUserPasswordBody.ts +1 -1
- package/src/generated/model/setUserPasswordDefault.ts +63 -0
- package/src/generated/model/submitFlowStep200.ts +16 -12
- package/src/generated/model/submitFlowStep200Branding.ts +24 -22
- package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -7
- package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
- package/src/generated/model/submitFlowStep200BrandingTheme.ts +5 -7
- package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +7 -7
- package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +7 -7
- package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/submitFlowStep200BrandingTypography.ts +4 -4
- package/src/generated/model/submitFlowStep200Step.ts +36 -31
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +3 -3
- package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +1 -1
- package/src/generated/model/submitFlowStep200StepChallenge.ts +4 -3
- package/src/generated/model/submitFlowStep200StepComplete.ts +1 -1
- package/src/generated/model/submitFlowStep200StepFieldsItem.ts +14 -13
- package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +1 -1
- package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +2 -2
- package/src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.ts +1 -1
- package/src/generated/model/submitFlowStep200StepGates.ts +10 -8
- package/src/generated/model/submitFlowStep200StepGatesConfig.ts +1 -1
- package/src/generated/model/submitFlowStep200StepGatesKind.ts +4 -3
- package/src/generated/model/submitFlowStep200StepIdentifier.ts +6 -6
- package/src/generated/model/submitFlowStep200StepSsoProvidersItem.ts +1 -1
- package/src/generated/model/submitFlowStep200StepTexts.ts +1 -1
- package/src/generated/model/submitFlowStep400.ts +16 -12
- package/src/generated/model/submitFlowStep400Branding.ts +24 -22
- package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -7
- package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
- package/src/generated/model/submitFlowStep400BrandingTheme.ts +5 -7
- package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +7 -7
- package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +63 -62
- package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +7 -7
- package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +63 -62
- package/src/generated/model/submitFlowStep400BrandingTypography.ts +4 -4
- package/src/generated/model/submitFlowStep400Step.ts +36 -31
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +3 -3
- package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +1 -1
- package/src/generated/model/submitFlowStep400StepChallenge.ts +4 -3
- package/src/generated/model/submitFlowStep400StepComplete.ts +1 -1
- package/src/generated/model/submitFlowStep400StepFieldsItem.ts +14 -13
- package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +1 -1
- package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +2 -2
- package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +1 -1
- package/src/generated/model/submitFlowStep400StepGates.ts +10 -8
- package/src/generated/model/submitFlowStep400StepGatesConfig.ts +1 -1
- package/src/generated/model/submitFlowStep400StepGatesKind.ts +4 -3
- package/src/generated/model/submitFlowStep400StepIdentifier.ts +6 -6
- package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +1 -1
- package/src/generated/model/submitFlowStep400StepTexts.ts +1 -1
- package/src/generated/model/submitFlowStepBody.ts +10 -7
- package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +2 -2
- package/src/generated/model/submitFlowStepBodyGateProofs.ts +1 -1
- package/src/generated/model/submitFlowStepDefault.ts +18 -0
- package/src/generated/model/updateTeam200.ts +2 -2
- package/src/generated/model/updateTeam200Status.ts +2 -2
- package/src/generated/model/updateTeamBody.ts +1 -1
- package/src/generated/model/updateVariables200.ts +4 -4
- package/src/generated/model/updateVariables200Preview.ts +2 -2
- package/src/generated/model/updateVariables200Primary.ts +2 -2
- package/src/generated/model/updateVariablesBody.ts +14 -14
- package/src/generated/model/updateVariablesParams.ts +3 -1
- package/src/generated/model/userProperty.ts +5 -8
- package/src/generated/model/userPropertyProperties.ts +2 -2
- package/src/generated/model/userPropertyXUnique.ts +1 -1
- package/src/generated/model/verifyChallengeProof200.ts +23 -22
- package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +9 -7
- package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +1 -1
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +5 -5
- package/src/generated/model/verifyChallengeProof200State.ts +2 -2
- package/src/generated/model/verifyChallengeProofBody.ts +2 -2
- package/src/generated/operations.ts +277 -152
- package/src/runtime/api-factory.spec.ts +50 -0
- package/src/runtime/api-factory.ts +11 -2
- package/src/runtime/base-url.spec.ts +1 -1
- package/src/runtime/fetch.ts +16 -0
- package/src/runtime/paged.spec.ts +11 -0
- package/src/runtime/paged.ts +9 -8
- package/src/runtime/paging.spec.ts +164 -39
- package/src/runtime/paging.ts +162 -43
- package/dist/api-factory-C5b1Gqwv.mjs.map +0 -1
- package/dist/fetch-B-lgjlrf.d.mts.map +0 -1
- package/dist/zitadelNextGen-BVO4sdKD.d.mts +0 -1367
- package/dist/zitadelNextGen-BVO4sdKD.d.mts.map +0 -1
|
@@ -16,17 +16,18 @@ import type { CreateFlow201StepSsoProvidersItem } from './createFlow201StepSsoPr
|
|
|
16
16
|
import type { CreateFlow201StepTexts } from './createFlow201StepTexts.ts';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* The step the login component renders now. A step is one screen of a flow.
|
|
20
|
+
* It holds ordered arrays of what to collect (fields), what the user can do
|
|
21
|
+
* (actions), and which security checks must pass (gates). The LiquidJS template
|
|
22
|
+
* in `branding.liquid_template` iterates these arrays in order and builds
|
|
23
|
+
* name-keyed indexes locally for lookup.
|
|
23
24
|
*/
|
|
24
25
|
export type CreateFlow201Step = {
|
|
25
26
|
/** Step name from the flow definition. */
|
|
26
27
|
name: string;
|
|
27
28
|
/**
|
|
28
29
|
* Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.
|
|
29
|
-
* The
|
|
30
|
+
* The server never sends display text, only semantic keys.
|
|
30
31
|
*/
|
|
31
32
|
texts?: CreateFlow201StepTexts;
|
|
32
33
|
/**
|
|
@@ -38,7 +39,7 @@ export type CreateFlow201Step = {
|
|
|
38
39
|
*/
|
|
39
40
|
purpose?: CreateFlow201StepPurpose;
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* Localization key that tells the user why the flow moved to this
|
|
42
43
|
* step's `purpose` without being asked: `notice.user_not_found` (an
|
|
43
44
|
* identifier with no account, now signing up),
|
|
44
45
|
* `notice.user_already_exists` (an identifier that has an account, now
|
|
@@ -48,30 +49,32 @@ export type CreateFlow201Step = {
|
|
|
48
49
|
*/
|
|
49
50
|
notice?: string | null;
|
|
50
51
|
/**
|
|
51
|
-
*
|
|
52
|
-
* carry
|
|
53
|
-
*
|
|
54
|
-
* `
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
52
|
+
* The error from the previous failed submission. Field-validation failures
|
|
53
|
+
* carry localization text keys: one `error.<field>_<rule>` per violation,
|
|
54
|
+
* for example `error.email_required`, with multiple violations joined with
|
|
55
|
+
* `"; "`. The `format` rule is spelled `error.<field>_invalid`.
|
|
56
|
+
*
|
|
57
|
+
* Field names appear verbatim, so clients localize unknown keys through
|
|
58
|
+
* the generic `error.field_<rule>` catalog entries. Other server failures
|
|
59
|
+
* carry `error.*` catalog keys as well, for example
|
|
60
|
+
* `error.invalid_credentials` or `error.passkey_invalid`.
|
|
61
|
+
*
|
|
62
|
+
* An outcome the step has no transition for sends `error.user_not_found`,
|
|
63
|
+
* `error.user_already_exists` or `error.sso_user_not_found` for those
|
|
64
|
+
* outcomes, and `error.outcome_unhandled` for any other outcome.
|
|
62
65
|
*/
|
|
63
66
|
error?: string | null;
|
|
64
67
|
/**
|
|
65
68
|
* Present only on terminal steps. Tells the frontend what to do:
|
|
66
69
|
* - redirect: navigate to redirect_uri immediately (OIDC/SAML done)
|
|
67
|
-
* - show: render the step as a success screen
|
|
70
|
+
* - show: render the step as a success screen, such as registration confirmed
|
|
68
71
|
*/
|
|
69
72
|
complete?: CreateFlow201StepComplete;
|
|
70
|
-
/** URL to navigate to
|
|
73
|
+
/** URL to navigate to, for example an SSO provider redirect. */
|
|
71
74
|
redirect_url?: string;
|
|
72
75
|
/**
|
|
73
76
|
* Ordered list of input fields to collect. Field metadata (type, validation)
|
|
74
|
-
* is resolved by the
|
|
77
|
+
* is resolved by the server from the flow's user schema. The LiquidJS
|
|
75
78
|
* template iterates this array; for keyed lookup it builds a name-indexed
|
|
76
79
|
* map locally.
|
|
77
80
|
*/
|
|
@@ -80,26 +83,26 @@ export type CreateFlow201Step = {
|
|
|
80
83
|
* The user's identifier, collected on an earlier step, for this
|
|
81
84
|
* step's form to carry alongside the password. Present only when the
|
|
82
85
|
* step collects a password and does not itself collect the
|
|
83
|
-
* identifier
|
|
86
|
+
* identifier: a step that collects the identifier carries it in
|
|
84
87
|
* `fields` instead, and needs nothing here.
|
|
85
88
|
*
|
|
86
89
|
* A password manager saves an identifier and a password as one
|
|
87
90
|
* credential, and reads both from the same form. A step that
|
|
88
91
|
* collects only the password leaves it nothing to pair with, so the
|
|
89
|
-
*
|
|
92
|
+
* server hands the identifier back here.
|
|
90
93
|
*
|
|
91
94
|
* **What the client does with it.** Add one input to the same form
|
|
92
95
|
* element as the password, carrying `value` and `autocomplete` as
|
|
93
96
|
* given, and:
|
|
94
97
|
*
|
|
95
|
-
* - *with no `name
|
|
98
|
+
* - *with no `name`*: a control without a name is never submitted,
|
|
96
99
|
* so the form data stays exactly the step's `fields`. That is what
|
|
97
|
-
* keeps this input from reaching the
|
|
100
|
+
* keeps this input from reaching the server as an unknown field,
|
|
98
101
|
* whether the client builds its submission from `fields` or from
|
|
99
102
|
* whatever the form contains;
|
|
100
|
-
* - *read-only
|
|
103
|
+
* - *read-only*: the server already resolved the user from this
|
|
101
104
|
* value, so a changed one would not change who is signing in;
|
|
102
|
-
* - *hidden from view
|
|
105
|
+
* - *hidden from view*: the user supplied it on the previous step
|
|
103
106
|
* and is not being asked for it again. Prefer hiding a real input
|
|
104
107
|
* with CSS over `type="hidden"`: a manager looks for a
|
|
105
108
|
* credential-shaped control, and a hidden-typed input is easy to
|
|
@@ -117,8 +120,9 @@ export type CreateFlow201Step = {
|
|
|
117
120
|
*/
|
|
118
121
|
actions: CreateFlow201StepActionsItem[];
|
|
119
122
|
/**
|
|
120
|
-
* Security gates that must be satisfied before the
|
|
121
|
-
*
|
|
123
|
+
* Security gates, the security checks that must be satisfied before the
|
|
124
|
+
* step can be submitted.
|
|
125
|
+
* The server injects gates dynamically based on policy, even if they
|
|
122
126
|
* are not declared in the flow definition.
|
|
123
127
|
*/
|
|
124
128
|
gates: CreateFlow201StepGates;
|
|
@@ -126,11 +130,12 @@ export type CreateFlow201Step = {
|
|
|
126
130
|
sso_providers?: CreateFlow201StepSsoProvidersItem[];
|
|
127
131
|
/**
|
|
128
132
|
* A pending authentication challenge issued by the server. Present when the
|
|
129
|
-
*
|
|
130
|
-
*
|
|
133
|
+
* server has issued a challenge through an authentication attempt
|
|
134
|
+
* (`auth_attempts`), for example after the user submits
|
|
135
|
+
* `action: "passkey"`. The `<zl-passkey>` component reads this and
|
|
131
136
|
* triggers the appropriate WebAuthn ceremony.
|
|
132
137
|
*
|
|
133
|
-
* The challenge is NOT present on the initial step
|
|
138
|
+
* The challenge is NOT present on the initial step. It appears only after
|
|
134
139
|
* the user explicitly selects a ceremony-based action.
|
|
135
140
|
*/
|
|
136
141
|
challenge?: CreateFlow201StepChallenge;
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import type { CreateFlow201StepActionsItemKind } from './createFlow201StepActionsItemKind.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* An action the
|
|
12
|
-
* definition's step appears here, plus the
|
|
11
|
+
* An action the server offers on a runtime step. Every declared action of the
|
|
12
|
+
* definition's step appears here, plus the server-injected `back` whenever
|
|
13
13
|
* returning to the previous step is possible.
|
|
14
14
|
*/
|
|
15
15
|
export type CreateFlow201StepActionsItem = {
|
|
@@ -24,7 +24,7 @@ export type CreateFlow201StepActionsItem = {
|
|
|
24
24
|
* - `passkey`: run a WebAuthn assertion, then submit the result.
|
|
25
25
|
* - `passkey_register`: run a WebAuthn registration, then submit the result.
|
|
26
26
|
* - `navigate`: submit without collecting fields; pure routing.
|
|
27
|
-
* - `back`: return the user to the previous step.
|
|
27
|
+
* - `back`: return the user to the previous step. Server-injected, never
|
|
28
28
|
* declared in a flow definition.
|
|
29
29
|
*/
|
|
30
30
|
kind: CreateFlow201StepActionsItemKind;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - `passkey`: run a WebAuthn assertion, then submit the result.
|
|
13
13
|
* - `passkey_register`: run a WebAuthn registration, then submit the result.
|
|
14
14
|
* - `navigate`: submit without collecting fields; pure routing.
|
|
15
|
-
* - `back`: return the user to the previous step.
|
|
15
|
+
* - `back`: return the user to the previous step. Server-injected, never
|
|
16
16
|
* declared in a flow definition.
|
|
17
17
|
*/
|
|
18
18
|
export type CreateFlow201StepActionsItemKind = typeof CreateFlow201StepActionsItemKind[keyof typeof CreateFlow201StepActionsItemKind];
|
|
@@ -10,11 +10,12 @@ import type { CreateFlow201StepChallengeOptions } from './createFlow201StepChall
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* A pending authentication challenge issued by the server. Present when the
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* server has issued a challenge through an authentication attempt
|
|
14
|
+
* (`auth_attempts`), for example after the user submits
|
|
15
|
+
* `action: "passkey"`. The `<zl-passkey>` component reads this and
|
|
15
16
|
* triggers the appropriate WebAuthn ceremony.
|
|
16
17
|
*
|
|
17
|
-
* The challenge is NOT present on the initial step
|
|
18
|
+
* The challenge is NOT present on the initial step. It appears only after
|
|
18
19
|
* the user explicitly selects a ceremony-based action.
|
|
19
20
|
*/
|
|
20
21
|
export type CreateFlow201StepChallenge = {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* Present only on terminal steps. Tells the frontend what to do:
|
|
11
11
|
* - redirect: navigate to redirect_uri immediately (OIDC/SAML done)
|
|
12
|
-
* - show: render the step as a success screen
|
|
12
|
+
* - show: render the step as a success screen, such as registration confirmed
|
|
13
13
|
*/
|
|
14
14
|
export type CreateFlow201StepComplete = typeof CreateFlow201StepComplete[keyof typeof CreateFlow201StepComplete];
|
|
15
15
|
|
|
@@ -9,20 +9,21 @@ import type { CreateFlow201StepFieldsItemType } from './createFlow201StepFieldsI
|
|
|
9
9
|
import type { CreateFlow201StepFieldsItemValidation } from './createFlow201StepFieldsItemValidation.ts';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
13
|
-
*
|
|
12
|
+
* A field is one input a step collects from the user. It describes what the
|
|
13
|
+
* user must provide. It carries no display text, only a `text_key` that the
|
|
14
|
+
* client resolves.
|
|
14
15
|
*/
|
|
15
16
|
export type CreateFlow201StepFieldsItem = {
|
|
16
17
|
/**
|
|
17
18
|
* Field name, matching a property in the flow's user schema. Carries
|
|
18
|
-
* the submitted value back to the
|
|
19
|
+
* the submitted value back to the server.
|
|
19
20
|
*/
|
|
20
21
|
name: string;
|
|
21
22
|
/**
|
|
22
23
|
* The input kind the client should render. Encodes the formats and
|
|
23
24
|
* JSON types that map to a familiar HTML input: `email`, `url`,
|
|
24
25
|
* `date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
25
|
-
* `select` from a closed `enum`. For other formats (
|
|
26
|
+
* `select` from a closed `enum`. For other formats (for example uuid) the
|
|
26
27
|
* type is `text` and `validation.format` carries the rule.
|
|
27
28
|
*/
|
|
28
29
|
type: CreateFlow201StepFieldsItemType;
|
|
@@ -31,20 +32,20 @@ export type CreateFlow201StepFieldsItem = {
|
|
|
31
32
|
/**
|
|
32
33
|
* Value for the HTML `autocomplete` attribute of the input rendered
|
|
33
34
|
* for this field, so password managers and browser autofill
|
|
34
|
-
*
|
|
35
|
+
* recognize it. A space-separated token list; put it on the
|
|
35
36
|
* attribute verbatim and do not reinterpret it.
|
|
36
37
|
*
|
|
37
|
-
* The
|
|
38
|
-
* identifier, whatever that field's `type` is
|
|
38
|
+
* The server sends `username` on the field carrying the user's
|
|
39
|
+
* identifier, whatever that field's `type` is. `username` is the
|
|
39
40
|
* token a password manager pairs with a password, while `email`
|
|
40
41
|
* means contact information, so an email-typed identifier still
|
|
41
42
|
* takes `username` and matches the `identifier` a later password
|
|
42
|
-
* step carries. On a password field it
|
|
43
|
+
* step carries. On a password field it sends `current-password`
|
|
43
44
|
* where the submitted value is verified against the stored
|
|
44
45
|
* credential, and `new-password` where the value is saved as the
|
|
45
|
-
* user's password
|
|
46
|
-
* generate on registration. A
|
|
47
|
-
* establish or verify a password
|
|
46
|
+
* user's password, so a manager offers to fill on sign-in and to
|
|
47
|
+
* generate on registration. A flow whose purpose does not yet
|
|
48
|
+
* establish or verify a password sends neither.
|
|
48
49
|
*
|
|
49
50
|
* Omitted when no token applies, in which case render no attribute
|
|
50
51
|
* rather than an empty one.
|
|
@@ -58,7 +59,7 @@ export type CreateFlow201StepFieldsItem = {
|
|
|
58
59
|
* schema's top-level `required` array.
|
|
59
60
|
*/
|
|
60
61
|
required?: boolean;
|
|
61
|
-
/** Pre-filled value
|
|
62
|
+
/** Pre-filled value, for example an identifier carried over from a pivot. */
|
|
62
63
|
value?: unknown;
|
|
63
64
|
/**
|
|
64
65
|
* The server refuses a submitted value that differs from `value`, so
|
|
@@ -72,7 +73,7 @@ export type CreateFlow201StepFieldsItem = {
|
|
|
72
73
|
/**
|
|
73
74
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
74
75
|
* server runs the same rules on submit and is the only authority on
|
|
75
|
-
* whether the step advances
|
|
76
|
+
* whether the step advances. These rules are a UX hint to reduce
|
|
76
77
|
* round trips, not a contract guarantee.
|
|
77
78
|
*
|
|
78
79
|
* Omitted entirely when the field has no rules beyond its `type`.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* The input kind the client should render. Encodes the formats and
|
|
11
11
|
* JSON types that map to a familiar HTML input: `email`, `url`,
|
|
12
12
|
* `date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
13
|
-
* `select` from a closed `enum`. For other formats (
|
|
13
|
+
* `select` from a closed `enum`. For other formats (for example uuid) the
|
|
14
14
|
* type is `text` and `validation.format` carries the rule.
|
|
15
15
|
*/
|
|
16
16
|
export type CreateFlow201StepFieldsItemType = typeof CreateFlow201StepFieldsItemType[keyof typeof CreateFlow201StepFieldsItemType];
|
|
@@ -10,7 +10,7 @@ import type { CreateFlow201StepFieldsItemValidationFormat } from './createFlow20
|
|
|
10
10
|
/**
|
|
11
11
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
12
12
|
* server runs the same rules on submit and is the only authority on
|
|
13
|
-
* whether the step advances
|
|
13
|
+
* whether the step advances. These rules are a UX hint to reduce
|
|
14
14
|
* round trips, not a contract guarantee.
|
|
15
15
|
*
|
|
16
16
|
* Omitted entirely when the field has no rules beyond its `type`.
|
|
@@ -23,7 +23,7 @@ export type CreateFlow201StepFieldsItemValidation = {
|
|
|
23
23
|
* meta-schema. When `type` already encodes the format (email,
|
|
24
24
|
* url, date), this key is informative and the input type is
|
|
25
25
|
* sufficient for client-side validation. When `type` is `text`
|
|
26
|
-
* (
|
|
26
|
+
* (for example `format: uuid`), this key is the only signal.
|
|
27
27
|
*/
|
|
28
28
|
format?: CreateFlow201StepFieldsItemValidationFormat;
|
|
29
29
|
/**
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* meta-schema. When `type` already encodes the format (email,
|
|
12
12
|
* url, date), this key is informative and the input type is
|
|
13
13
|
* sufficient for client-side validation. When `type` is `text`
|
|
14
|
-
* (
|
|
14
|
+
* (for example `format: uuid`), this key is the only signal.
|
|
15
15
|
*/
|
|
16
16
|
export type CreateFlow201StepFieldsItemValidationFormat = typeof CreateFlow201StepFieldsItemValidationFormat[keyof typeof CreateFlow201StepFieldsItemValidationFormat];
|
|
17
17
|
|
|
@@ -9,26 +9,28 @@ import type { CreateFlow201StepGatesConfig } from './createFlow201StepGatesConfi
|
|
|
9
9
|
import type { CreateFlow201StepGatesKind } from './createFlow201StepGatesKind.ts';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Security gates that must be satisfied before the
|
|
13
|
-
*
|
|
12
|
+
* Security gates, the security checks that must be satisfied before the
|
|
13
|
+
* step can be submitted.
|
|
14
|
+
* The server injects gates dynamically based on policy, even if they
|
|
14
15
|
* are not declared in the flow definition.
|
|
15
16
|
*/
|
|
16
17
|
export type CreateFlow201StepGates = {[key: string]: {
|
|
17
18
|
/**
|
|
18
|
-
* The gate category. Only `captcha` is
|
|
19
|
-
* ceremonies
|
|
20
|
-
*
|
|
19
|
+
* The gate category. Only `captcha` is defined today. Authenticator
|
|
20
|
+
* ceremonies, such as passkey, are not gates: they are modeled as
|
|
21
|
+
* credential authentication attempts (`auth_attempts`) with `x-credential`
|
|
22
|
+
* on a field.
|
|
21
23
|
*/
|
|
22
24
|
kind: CreateFlow201StepGatesKind;
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
25
|
-
* `hcaptcha`. The
|
|
26
|
+
* The provider within the gate kind, for example `altcha`, `turnstile` or
|
|
27
|
+
* `hcaptcha`. The server looks up an implementation in its provider
|
|
26
28
|
* registry.
|
|
27
29
|
*/
|
|
28
30
|
provider: string;
|
|
29
31
|
/**
|
|
30
32
|
* Provider-specific configuration consumed by the implementation when
|
|
31
|
-
* issuing the per-render challenge. Opaque to the
|
|
33
|
+
* issuing the per-render challenge. Opaque to the server.
|
|
32
34
|
*/
|
|
33
35
|
config?: CreateFlow201StepGatesConfig;
|
|
34
36
|
}};
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Provider-specific configuration consumed by the implementation when
|
|
11
|
-
* issuing the per-render challenge. Opaque to the
|
|
11
|
+
* issuing the per-render challenge. Opaque to the server.
|
|
12
12
|
*/
|
|
13
13
|
export type CreateFlow201StepGatesConfig = { [key: string]: unknown };
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* The gate category. Only `captcha` is
|
|
11
|
-
* ceremonies
|
|
12
|
-
*
|
|
10
|
+
* The gate category. Only `captcha` is defined today. Authenticator
|
|
11
|
+
* ceremonies, such as passkey, are not gates: they are modeled as
|
|
12
|
+
* credential authentication attempts (`auth_attempts`) with `x-credential`
|
|
13
|
+
* on a field.
|
|
13
14
|
*/
|
|
14
15
|
export type CreateFlow201StepGatesKind = typeof CreateFlow201StepGatesKind[keyof typeof CreateFlow201StepGatesKind];
|
|
15
16
|
|
|
@@ -10,26 +10,26 @@
|
|
|
10
10
|
* The user's identifier, collected on an earlier step, for this
|
|
11
11
|
* step's form to carry alongside the password. Present only when the
|
|
12
12
|
* step collects a password and does not itself collect the
|
|
13
|
-
* identifier
|
|
13
|
+
* identifier: a step that collects the identifier carries it in
|
|
14
14
|
* `fields` instead, and needs nothing here.
|
|
15
15
|
*
|
|
16
16
|
* A password manager saves an identifier and a password as one
|
|
17
17
|
* credential, and reads both from the same form. A step that
|
|
18
18
|
* collects only the password leaves it nothing to pair with, so the
|
|
19
|
-
*
|
|
19
|
+
* server hands the identifier back here.
|
|
20
20
|
*
|
|
21
21
|
* **What the client does with it.** Add one input to the same form
|
|
22
22
|
* element as the password, carrying `value` and `autocomplete` as
|
|
23
23
|
* given, and:
|
|
24
24
|
*
|
|
25
|
-
* - *with no `name
|
|
25
|
+
* - *with no `name`*: a control without a name is never submitted,
|
|
26
26
|
* so the form data stays exactly the step's `fields`. That is what
|
|
27
|
-
* keeps this input from reaching the
|
|
27
|
+
* keeps this input from reaching the server as an unknown field,
|
|
28
28
|
* whether the client builds its submission from `fields` or from
|
|
29
29
|
* whatever the form contains;
|
|
30
|
-
* - *read-only
|
|
30
|
+
* - *read-only*: the server already resolved the user from this
|
|
31
31
|
* value, so a changed one would not change who is signing in;
|
|
32
|
-
* - *hidden from view
|
|
32
|
+
* - *hidden from view*: the user supplied it on the previous step
|
|
33
33
|
* and is not being asked for it again. Prefer hiding a real input
|
|
34
34
|
* with CSS over `type="hidden"`: a manager looks for a
|
|
35
35
|
* credential-shaped control, and a hidden-typed input is easy to
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Step-level localization keys. Resolved client-side via the `| t` LiquidJS filter.
|
|
11
|
-
* The
|
|
11
|
+
* The server never sends display text, only semantic keys.
|
|
12
12
|
*/
|
|
13
13
|
export type CreateFlow201StepTexts = {
|
|
14
14
|
/** Localization key for the step heading. */
|
|
@@ -8,13 +8,17 @@
|
|
|
8
8
|
import type { CreateFlowBodyHint } from './createFlowBodyHint.ts';
|
|
9
9
|
import type { CreateFlowBodyPurpose } from './createFlowBodyPurpose.ts';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* The request body for starting a flow.
|
|
13
|
+
*/
|
|
11
14
|
export type CreateFlowBody = {
|
|
12
15
|
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
13
16
|
project_id: string;
|
|
17
|
+
/** What the user is doing. It selects the entry step the flow definition lists for this purpose. */
|
|
14
18
|
purpose: CreateFlowBodyPurpose;
|
|
15
19
|
/**
|
|
16
20
|
* Name of a specific flow definition to use.
|
|
17
|
-
* When omitted, the
|
|
21
|
+
* When omitted, the server selects the best-matching definition
|
|
18
22
|
* based on purpose + audience context.
|
|
19
23
|
* @pattern ^[a-z][a-z0-9-]*$
|
|
20
24
|
*/
|
|
@@ -38,7 +42,7 @@ export type CreateFlowBody = {
|
|
|
38
42
|
*/
|
|
39
43
|
challenge_nonce?: string;
|
|
40
44
|
/**
|
|
41
|
-
* Existing session to attach to
|
|
45
|
+
* Existing session to attach to, for step-up or reauthentication.
|
|
42
46
|
* Omit to let the flow create a new session implicitly.
|
|
43
47
|
* Requires `session_token`.
|
|
44
48
|
*/
|
|
@@ -56,5 +60,6 @@ export type CreateFlowBody = {
|
|
|
56
60
|
/** OIDC/SAML auth request ID (links flow to protocol request). */
|
|
57
61
|
auth_request_id?: string;
|
|
58
62
|
redirect_uri?: string;
|
|
63
|
+
/** Optional hints that narrow how the server resolves and starts a flow. */
|
|
59
64
|
hint?: CreateFlowBodyHint;
|
|
60
65
|
};
|
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Optional hints that narrow how the server resolves and starts a flow.
|
|
11
|
+
*/
|
|
9
12
|
export type CreateFlowBodyHint = {
|
|
10
|
-
/**
|
|
13
|
+
/** Submits the identifier step automatically. Maps to the OIDC `login_hint`. */
|
|
11
14
|
login_name?: string;
|
|
12
15
|
/** Scopes flow resolution to a team. */
|
|
13
16
|
team_id?: string;
|
|
@@ -157,6 +157,15 @@ export type CreateFlowDefault = {
|
|
|
157
157
|
message: string;
|
|
158
158
|
/** Additional error-specific context. */
|
|
159
159
|
details?: { [key: string]: unknown };
|
|
160
|
+
} & {
|
|
161
|
+
code: 'rel.no_default';
|
|
162
|
+
} | {
|
|
163
|
+
/** Stable machine-readable error code. */
|
|
164
|
+
code: string;
|
|
165
|
+
/** Human-readable explanation of the error. */
|
|
166
|
+
message: string;
|
|
167
|
+
/** Additional error-specific context. */
|
|
168
|
+
details?: { [key: string]: unknown };
|
|
160
169
|
} & {
|
|
161
170
|
code: 'rel.not_deployed';
|
|
162
171
|
} | {
|
|
@@ -9,28 +9,40 @@ import type { CreateFlowDefinition201FlowDefinition } from './createFlowDefiniti
|
|
|
9
9
|
import type { CreateFlowDefinition201UserSchema } from './createFlowDefinition201UserSchema.ts';
|
|
10
10
|
|
|
11
11
|
export type CreateFlowDefinition201 = {
|
|
12
|
-
/**
|
|
12
|
+
/** The ID of the flow definition. */
|
|
13
13
|
id: string;
|
|
14
|
-
/**
|
|
14
|
+
/** The ID of the project this flow definition belongs to. */
|
|
15
15
|
project_id: string;
|
|
16
16
|
/**
|
|
17
|
-
* A flow definition is the
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* A flow definition is the configuration of one flow: the sequence of screens
|
|
18
|
+
* the login component (`<zitadel-login>`) walks a user through to sign in,
|
|
19
|
+
* register, recover access or similar. Each screen is a step. A step collects
|
|
20
|
+
* fields (inputs taken from properties of the user schema), offers actions
|
|
21
|
+
* (what the user can do, such as submit the form or follow a link) and may
|
|
22
|
+
* require gates (security checks, such as a captcha, that must pass before the
|
|
23
|
+
* server accepts the submission). Transitions say which step follows each
|
|
24
|
+
* action.
|
|
21
25
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
26
|
+
* The definition is server-side configuration and is never sent to the
|
|
27
|
+
* frontend. The server evaluates it and returns the current step, with its
|
|
28
|
+
* fields, actions and gates, to the client.
|
|
29
|
+
*
|
|
30
|
+
* Administrators create flow definitions, either as `.zitadel/flows/` files
|
|
31
|
+
* that `zitadel deploy` publishes or through the API, and they are stored in
|
|
32
|
+
* the project/team configuration hierarchy. The server selects the matching
|
|
33
|
+
* definition from the purpose and audience when a flow starts with
|
|
34
|
+
* `createFlow` (`POST /flow`).
|
|
25
35
|
*/
|
|
26
36
|
flow_definition: CreateFlowDefinition201FlowDefinition;
|
|
27
37
|
/**
|
|
28
38
|
* The user schema this flow operates on: the same object
|
|
29
|
-
* `GET /schemas/{id}` returns. Present only when the request asked for it
|
|
39
|
+
* `getSchemaById` (`GET /schemas/{id}`) returns. Present only when the request asked for it
|
|
30
40
|
* with `expand=user_schema`; `null` when it was requested but the
|
|
31
41
|
* referenced schema no longer resolves or the caller may not read it.
|
|
32
42
|
*/
|
|
33
43
|
readonly user_schema?: CreateFlowDefinition201UserSchema;
|
|
44
|
+
/** When the flow definition was created. */
|
|
34
45
|
created_at: string;
|
|
46
|
+
/** When the flow definition was last updated. */
|
|
35
47
|
updated_at: string;
|
|
36
48
|
};
|