@zitadel/api 0.3.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 +17 -3
- package/dist/api-factory-32Zz3s86.mjs +359 -0
- package/dist/api-factory-32Zz3s86.mjs.map +1 -0
- package/dist/api-factory-DbVEEqxe.d.mts +217 -0
- package/dist/api-factory-DbVEEqxe.d.mts.map +1 -0
- package/dist/{fetch-CtYe0OvX.d.mts → fetch-BzLvdm6C.d.mts} +35 -12
- package/dist/fetch-BzLvdm6C.d.mts.map +1 -0
- package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
- package/dist/generated/endpoints/zitadelNextGen.mjs +1099 -733
- 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 +1029 -657
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4801 -4433
- 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.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 +267 -154
- package/dist/generated/operations.mjs.map +1 -1
- package/dist/{index-DAm3tCA7.d.mts → index-BX80Kl-8.d.mts} +9183 -7757
- package/dist/index-BX80Kl-8.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +2 -51
- package/dist/runtime/api-factory.mjs +3 -62
- package/dist/runtime/auth.mjs +1 -1
- package/dist/runtime/auth.mjs.map +1 -1
- package/dist/runtime/base-url.d.mts +14 -0
- package/dist/runtime/base-url.d.mts.map +1 -1
- package/dist/runtime/base-url.mjs +22 -1
- package/dist/runtime/base-url.mjs.map +1 -1
- package/dist/runtime/config.d.mts +1 -1
- package/dist/runtime/config.mjs +1 -1
- package/dist/runtime/fetch.d.mts +2 -2
- package/dist/runtime/fetch.mjs +42 -17
- package/dist/runtime/fetch.mjs.map +1 -1
- package/dist/runtime/paging.d.mts +118 -0
- package/dist/runtime/paging.d.mts.map +1 -0
- package/dist/runtime/paging.mjs +138 -0
- package/dist/runtime/paging.mjs.map +1 -0
- package/dist/zitadelNextGen-CFrFhq_h.d.mts +1726 -0
- package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +1 -0
- package/package.json +8 -3
- package/src/generated/endpoints/zitadelNextGen.faker.ts +3 -3
- package/src/generated/endpoints/zitadelNextGen.ts +1112 -746
- package/src/generated/endpoints/zitadelNextGen.zod.ts +4816 -4440
- 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/deleteUserByID409.ts +20 -0
- package/src/generated/model/deleteUserByID409Details.ts +12 -0
- package/src/generated/model/deleteUserByIDDefault.ts +9 -0
- 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 +27 -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/index.ts +2 -0
- 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 +3 -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 +27 -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 +278 -153
- package/src/generated/paging.ts +128 -0
- package/src/runtime/api-factory.spec.ts +328 -0
- package/src/runtime/api-factory.ts +103 -13
- package/src/runtime/auth.ts +1 -1
- package/src/runtime/base-url.spec.ts +40 -4
- package/src/runtime/base-url.ts +28 -0
- package/src/runtime/fetch.spec.ts +51 -0
- package/src/runtime/fetch.ts +85 -30
- package/src/runtime/paged.spec.ts +115 -0
- package/src/runtime/paged.ts +62 -0
- package/src/runtime/paging.spec.ts +219 -0
- package/src/runtime/paging.ts +177 -0
- package/dist/fetch-CtYe0OvX.d.mts.map +0 -1
- package/dist/index-DAm3tCA7.d.mts.map +0 -1
- package/dist/runtime/api-factory.d.mts.map +0 -1
- package/dist/runtime/api-factory.mjs.map +0 -1
- package/dist/zitadelNextGen-B_VRpP2W.d.mts +0 -1360
- package/dist/zitadelNextGen-B_VRpP2W.d.mts.map +0 -1
|
@@ -8,28 +8,38 @@
|
|
|
8
8
|
import type { CreateFlowDefinitionBodyFlowDefinition } from './createFlowDefinitionBodyFlowDefinition.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* The request body for creating a flow definition.
|
|
12
12
|
* The flow definition is created in an `active` state by default.
|
|
13
|
-
* The status can also be set
|
|
13
|
+
* The status can also be set with the `status` attribute in the flow definition payload.
|
|
14
14
|
*/
|
|
15
15
|
export type CreateFlowDefinitionBody = {
|
|
16
16
|
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
17
17
|
project_id: string;
|
|
18
18
|
/**
|
|
19
|
-
* URI of the server-published flow definition schema this definition was
|
|
20
|
-
* authored against. The server
|
|
21
|
-
* If
|
|
19
|
+
* The URI of the server-published flow definition schema this definition was
|
|
20
|
+
* authored against. The server validates the definition against it.
|
|
21
|
+
* If you omit it, the server uses the latest schema version.
|
|
22
22
|
*/
|
|
23
23
|
schema_uri?: string;
|
|
24
24
|
/**
|
|
25
|
-
* A flow definition is the
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
25
|
+
* A flow definition is the configuration of one flow: the sequence of screens
|
|
26
|
+
* the login component (`<zitadel-login>`) walks a user through to sign in,
|
|
27
|
+
* register, recover access or similar. Each screen is a step. A step collects
|
|
28
|
+
* fields (inputs taken from properties of the user schema), offers actions
|
|
29
|
+
* (what the user can do, such as submit the form or follow a link) and may
|
|
30
|
+
* require gates (security checks, such as a captcha, that must pass before the
|
|
31
|
+
* server accepts the submission). Transitions say which step follows each
|
|
32
|
+
* action.
|
|
29
33
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
34
|
+
* The definition is server-side configuration and is never sent to the
|
|
35
|
+
* frontend. The server evaluates it and returns the current step, with its
|
|
36
|
+
* fields, actions and gates, to the client.
|
|
37
|
+
*
|
|
38
|
+
* Administrators create flow definitions, either as `.zitadel/flows/` files
|
|
39
|
+
* that `zitadel deploy` publishes or through the API, and they are stored in
|
|
40
|
+
* the project/team configuration hierarchy. The server selects the matching
|
|
41
|
+
* definition from the purpose and audience when a flow starts with
|
|
42
|
+
* `createFlow` (`POST /flow`).
|
|
33
43
|
*/
|
|
34
44
|
flow_definition: CreateFlowDefinitionBodyFlowDefinition;
|
|
35
45
|
};
|
|
@@ -10,64 +10,85 @@ import type { CreateFlowDefinitionBodyFlowDefinitionStatus } from './createFlowD
|
|
|
10
10
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItem } from './createFlowDefinitionBodyFlowDefinitionStepsItem.ts';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* A flow definition is the
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* A flow definition is the configuration of one flow: the sequence of screens
|
|
14
|
+
* the login component (`<zitadel-login>`) walks a user through to sign in,
|
|
15
|
+
* register, recover access or similar. Each screen is a step. A step collects
|
|
16
|
+
* fields (inputs taken from properties of the user schema), offers actions
|
|
17
|
+
* (what the user can do, such as submit the form or follow a link) and may
|
|
18
|
+
* require gates (security checks, such as a captcha, that must pass before the
|
|
19
|
+
* server accepts the submission). Transitions say which step follows each
|
|
20
|
+
* action.
|
|
17
21
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
22
|
+
* The definition is server-side configuration and is never sent to the
|
|
23
|
+
* frontend. The server evaluates it and returns the current step, with its
|
|
24
|
+
* fields, actions and gates, to the client.
|
|
25
|
+
*
|
|
26
|
+
* Administrators create flow definitions, either as `.zitadel/flows/` files
|
|
27
|
+
* that `zitadel deploy` publishes or through the API, and they are stored in
|
|
28
|
+
* the project/team configuration hierarchy. The server selects the matching
|
|
29
|
+
* definition from the purpose and audience when a flow starts with
|
|
30
|
+
* `createFlow` (`POST /flow`).
|
|
21
31
|
*/
|
|
22
32
|
export type CreateFlowDefinitionBodyFlowDefinition = {
|
|
23
33
|
/**
|
|
24
|
-
* Stable identifier for this flow,
|
|
25
|
-
* `
|
|
26
|
-
* `name`; publishing a definition under an
|
|
27
|
-
* revision to that flow. Renaming is not
|
|
28
|
-
*
|
|
29
|
-
* human display label as well;
|
|
34
|
+
* Stable identifier for this flow, and the name a cross-flow `switch` or
|
|
35
|
+
* `pivot` transition will target once the server runs them. Every
|
|
36
|
+
* revision of a flow shares its `name`; publishing a definition under an
|
|
37
|
+
* existing `name` adds a revision to that flow. Renaming is not
|
|
38
|
+
* supported: the `name` is part of the public contract another
|
|
39
|
+
* definition may reference. It acts as the human display label as well;
|
|
40
|
+
* there is no separate slug.
|
|
30
41
|
* @pattern ^[a-z][a-z0-9-]*$
|
|
31
42
|
*/
|
|
32
43
|
name: string;
|
|
33
44
|
/**
|
|
34
45
|
* The lifecycle state of this flow definition.
|
|
35
46
|
*
|
|
36
|
-
* active: The flow definition is ready to be used. The
|
|
37
|
-
* draft: The
|
|
47
|
+
* active: The flow definition is ready to be used. The server can select it for new flows.
|
|
48
|
+
* draft: The server will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
38
49
|
*
|
|
39
50
|
* A revision's status is fixed at creation. Publish a new revision to change it.
|
|
40
51
|
*/
|
|
41
52
|
status: CreateFlowDefinitionBodyFlowDefinitionStatus;
|
|
42
53
|
/**
|
|
43
54
|
* The user schema this flow operates on, named by its `objectType`. The
|
|
44
|
-
* flow runs against the
|
|
45
|
-
* publishing a schema revision needs no change to the flow. A schema
|
|
46
|
-
* as
|
|
55
|
+
* flow runs against the revision of that schema its release pins, so
|
|
56
|
+
* publishing a schema revision needs no change to the flow. A schema ID
|
|
57
|
+
* as `createSchema` (`POST /schemas`) returns it is also accepted and is stored as that
|
|
47
58
|
* schema's `objectType`; reading the definition back returns the
|
|
48
59
|
* `objectType`. A value naming no schema of the project is refused with
|
|
49
|
-
* `flowdef.invalid
|
|
50
|
-
*
|
|
51
|
-
*
|
|
60
|
+
* `flowdef.invalid`; use the `objectType` of a schema that `listSchemas` (`GET /schemas`)
|
|
61
|
+
* returns. Step `fields` reference properties defined in the resolved
|
|
62
|
+
* schema; the server resolves field types, validation, and implicit
|
|
63
|
+
* outcomes from schema annotations at runtime.
|
|
52
64
|
*/
|
|
53
65
|
user_schema: string;
|
|
54
66
|
/**
|
|
55
67
|
* Maps each purpose this definition handles to its entry-point step.
|
|
68
|
+
* A purpose is what the user is doing, such as `login` or `recovery`.
|
|
56
69
|
* Keys are purpose names; values must match a `name` in `steps`. A
|
|
57
|
-
* definition can serve multiple purposes (
|
|
58
|
-
* flow) by listing one entry per purpose
|
|
70
|
+
* definition can serve multiple purposes (for example a combined
|
|
71
|
+
* login/register flow) by listing one entry per purpose, or just one: a
|
|
72
|
+
* sign-in-only flow lists `login` alone.
|
|
73
|
+
*
|
|
74
|
+
* - `login`: verify an existing user.
|
|
75
|
+
* - `register`: create a user.
|
|
76
|
+
* - `recovery`, `profiling`, `reauth`, `link_account`: reserved. A
|
|
77
|
+
* definition may declare them, but the server does not run their
|
|
78
|
+
* journeys yet; `recovery` only asks a password field for a new
|
|
79
|
+
* password.
|
|
59
80
|
*/
|
|
60
81
|
purposes: Partial<Record<'login' | 'register' | 'recovery' | 'profiling' | 'reauth' | 'link_account', string>>;
|
|
61
82
|
/**
|
|
62
83
|
* Scopes which teams or apps this flow definition applies to. Empty or
|
|
63
84
|
* omitted fields mean "no restriction"; when both are empty the definition
|
|
64
|
-
* matches every request in the project. The
|
|
85
|
+
* matches every request in the project. The server picks the most specific
|
|
65
86
|
* matching definition: app > team > project-wide.
|
|
66
87
|
*/
|
|
67
88
|
audience?: CreateFlowDefinitionBodyFlowDefinitionAudience;
|
|
68
89
|
/**
|
|
69
|
-
*
|
|
70
|
-
* actual step sequencing
|
|
90
|
+
* The steps of this flow. The order is for human readability: transitions
|
|
91
|
+
* determine the actual step sequencing.
|
|
71
92
|
* @minItems 1
|
|
72
93
|
*/
|
|
73
94
|
steps: CreateFlowDefinitionBodyFlowDefinitionStepsItem[];
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* Scopes which teams or apps this flow definition applies to. Empty or
|
|
11
11
|
* omitted fields mean "no restriction"; when both are empty the definition
|
|
12
|
-
* matches every request in the project. The
|
|
12
|
+
* matches every request in the project. The server picks the most specific
|
|
13
13
|
* matching definition: app > team > project-wide.
|
|
14
14
|
*/
|
|
15
15
|
export type CreateFlowDefinitionBodyFlowDefinitionAudience = {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* The lifecycle state of this flow definition.
|
|
11
11
|
*
|
|
12
|
-
* active: The flow definition is ready to be used. The
|
|
13
|
-
* draft: The
|
|
12
|
+
* active: The flow definition is ready to be used. The server can select it for new flows.
|
|
13
|
+
* draft: The server will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
14
14
|
*
|
|
15
15
|
* A revision's status is fixed at creation. Publish a new revision to change it.
|
|
16
16
|
*/
|
|
@@ -12,15 +12,16 @@ import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess } from '.
|
|
|
12
12
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions } from './createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* A step in a flow definition
|
|
16
|
-
* not the runtime payload sent to the
|
|
15
|
+
* A step in a flow definition: one screen of the flow, as an administrator
|
|
16
|
+
* writes it. This is configuration, not the runtime payload sent to the
|
|
17
|
+
* frontend.
|
|
17
18
|
*
|
|
18
19
|
* Steps are schema-driven: `fields` references properties from the flow's
|
|
19
|
-
* user schema, and the
|
|
20
|
+
* user schema, and the server resolves field metadata (type, validation,
|
|
20
21
|
* implicit outcomes) from schema annotations at runtime.
|
|
21
22
|
*
|
|
22
|
-
* A step with only `complete` set is a terminal step.
|
|
23
|
-
*
|
|
23
|
+
* A step with only `complete` set is a terminal step. The server sends every
|
|
24
|
+
* other step to the login component as fields, actions and gates to render.
|
|
24
25
|
*/
|
|
25
26
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
26
27
|
/**
|
|
@@ -30,33 +31,35 @@ export type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
|
30
31
|
*/
|
|
31
32
|
name: string;
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
-
* a property in the flow's user schema. The
|
|
35
|
-
* validation rules, and implicit outcomes from schema
|
|
36
|
-
* (
|
|
37
|
-
* transition outcome).
|
|
34
|
+
* The fields to collect from the user. A field is one input of the step,
|
|
35
|
+
* named after a property in the flow's user schema. The server resolves
|
|
36
|
+
* field type, validation rules, and implicit outcomes from schema
|
|
37
|
+
* annotations (for example, a property with `x-unique` set implies a
|
|
38
|
+
* `user_not_found` transition outcome).
|
|
38
39
|
*/
|
|
39
40
|
fields?: string[];
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
42
|
+
* The actions the user can take, in order. An action is something the user
|
|
43
|
+
* does on the step, such as submitting the form or following a link. The
|
|
44
|
+
* action name is what the frontend sends back in the submit request. If
|
|
45
|
+
* omitted, the server provides a default `submit` action.
|
|
44
46
|
*/
|
|
45
47
|
actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem[];
|
|
46
48
|
/**
|
|
47
|
-
* Security gates that must be satisfied before submission.
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* policy.
|
|
49
|
+
* Security gates that must be satisfied before submission. A gate is a
|
|
50
|
+
* security check, such as a captcha. Keyed by gate name. Each gate selects
|
|
51
|
+
* a kind (for example "captcha") and provider-specific configuration. The
|
|
52
|
+
* server may also inject gates dynamically based on policy.
|
|
51
53
|
*/
|
|
52
54
|
gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates;
|
|
53
55
|
/**
|
|
54
|
-
* Slugs of the identity
|
|
55
|
-
* order. Each names the `slug` of a connection
|
|
56
|
-
*
|
|
57
|
-
* reaches every step without editing the
|
|
58
|
-
*
|
|
59
|
-
* step offers at most 20
|
|
56
|
+
* Slugs of the identity providers (external sign-ins such as Google) this
|
|
57
|
+
* step offers, in display order. Each names the `slug` of a connection
|
|
58
|
+
* document under `.zitadel/idps/`; the document carries the display name
|
|
59
|
+
* and template, so a rename there reaches every step without editing the
|
|
60
|
+
* flow. The rendered step the client receives carries the resolved
|
|
61
|
+
* `{id, name, template}` objects instead. A step offers at most 20
|
|
62
|
+
* providers.
|
|
60
63
|
* @maxItems 20
|
|
61
64
|
* @items.maxLength 64
|
|
62
65
|
* @items.pattern ^[a-z0-9][a-z0-9_-]*$
|
|
@@ -80,12 +83,27 @@ export type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
|
80
83
|
*/
|
|
81
84
|
complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
|
|
82
85
|
/**
|
|
83
|
-
* Maps action
|
|
86
|
+
* Maps action and outcome names to where the flow goes next.
|
|
84
87
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
88
|
+
* A key is either the `name` of an action in `actions` (the user chose
|
|
89
|
+
* it) or an outcome the server raises on its own:
|
|
90
|
+
*
|
|
91
|
+
* - `user_not_found`: an identifier with no account. Following this
|
|
92
|
+
* transition also switches the flow to `register`.
|
|
93
|
+
* - `user_already_exists`: an identifier that has an account, typed on
|
|
94
|
+
* a sign-up or returned by a provider's sign-in. Following this
|
|
95
|
+
* transition also switches the flow to `login`.
|
|
96
|
+
* - `sso_authenticated`: a provider's sign-in matched an account.
|
|
97
|
+
* - `sso_user_not_found`: a provider's sign-in matched no account.
|
|
98
|
+
*
|
|
99
|
+
* Each action needs its transition, and a step that offers
|
|
100
|
+
* `sso_providers` needs `sso_authenticated`; the server requires no
|
|
101
|
+
* other outcome. `zitadel deploy` also requires `sso_user_not_found` and
|
|
102
|
+
* `user_already_exists` on a step that offers a provider that creates
|
|
103
|
+
* users, since a provider's sign-in can raise both. An outcome the step
|
|
104
|
+
* has no transition for leaves the user on the step with that outcome's
|
|
105
|
+
* error (for example `error.user_not_found`), so a flow that leaves out
|
|
106
|
+
* `user_not_found` signs in only users that already exist.
|
|
89
107
|
*/
|
|
90
108
|
transitions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions;
|
|
91
109
|
};
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind } from './createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* An action a flow author declares on a step of a flow definition
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* An action a flow author declares on a step of a flow definition: something
|
|
12
|
+
* the user can do on the step, such as submitting the form or following a
|
|
13
|
+
* link. The `name` is sent back in the submit request as `action`; the server
|
|
14
|
+
* resolves the action's declared `kind` to decide how to handle the
|
|
15
|
+
* submission.
|
|
14
16
|
*/
|
|
15
17
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
|
|
16
18
|
/**
|
|
@@ -19,8 +21,8 @@ export type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
|
|
|
19
21
|
*/
|
|
20
22
|
name: string;
|
|
21
23
|
/**
|
|
22
|
-
* Classifies how the
|
|
23
|
-
* the
|
|
24
|
+
* Classifies how the server handles this action. `back` is not declarable:
|
|
25
|
+
* the server injects it into runtime steps (see `flow-step-action.yaml`)
|
|
24
26
|
* whenever going back is available.
|
|
25
27
|
* - `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
26
28
|
* - `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
@@ -39,9 +41,9 @@ export type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
|
|
|
39
41
|
primary?: boolean;
|
|
40
42
|
/**
|
|
41
43
|
* Optional localization key override for the action's label. When
|
|
42
|
-
* omitted, the
|
|
44
|
+
* omitted, the server derives a key from the step and action names.
|
|
43
45
|
* Display text is resolved client-side from a locale dictionary, never
|
|
44
|
-
* by the
|
|
46
|
+
* by the server.
|
|
45
47
|
*/
|
|
46
48
|
text_key?: string;
|
|
47
49
|
};
|
package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Classifies how the
|
|
11
|
-
* the
|
|
10
|
+
* Classifies how the server handles this action. `back` is not declarable:
|
|
11
|
+
* the server injects it into runtime steps (see `flow-step-action.yaml`)
|
|
12
12
|
* whenever going back is available.
|
|
13
13
|
* - `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
14
14
|
* - `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
@@ -9,27 +9,28 @@ import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig } from
|
|
|
9
9
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind } from './createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Security gates that must be satisfied before submission.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* policy.
|
|
12
|
+
* Security gates that must be satisfied before submission. A gate is a
|
|
13
|
+
* security check, such as a captcha. Keyed by gate name. Each gate selects
|
|
14
|
+
* a kind (for example "captcha") and provider-specific configuration. The
|
|
15
|
+
* server may also inject gates dynamically based on policy.
|
|
16
16
|
*/
|
|
17
17
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {[key: string]: {
|
|
18
18
|
/**
|
|
19
|
-
* The gate category. Only `captcha` is
|
|
20
|
-
* ceremonies
|
|
21
|
-
*
|
|
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.
|
|
22
23
|
*/
|
|
23
24
|
kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
-
* `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
|
|
27
28
|
* registry.
|
|
28
29
|
*/
|
|
29
30
|
provider: string;
|
|
30
31
|
/**
|
|
31
32
|
* Provider-specific configuration consumed by the implementation when
|
|
32
|
-
* issuing the per-render challenge. Opaque to the
|
|
33
|
+
* issuing the per-render challenge. Opaque to the server.
|
|
33
34
|
*/
|
|
34
35
|
config?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig;
|
|
35
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 CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig = { [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 CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind = typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind];
|
|
15
16
|
|
|
@@ -9,40 +9,60 @@ import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction }
|
|
|
9
9
|
import type { CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose } from './createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Maps action
|
|
12
|
+
* Maps action and outcome names to where the flow goes next.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* A key is either the `name` of an action in `actions` (the user chose
|
|
15
|
+
* it) or an outcome the server raises on its own:
|
|
16
|
+
*
|
|
17
|
+
* - `user_not_found`: an identifier with no account. Following this
|
|
18
|
+
* transition also switches the flow to `register`.
|
|
19
|
+
* - `user_already_exists`: an identifier that has an account, typed on
|
|
20
|
+
* a sign-up or returned by a provider's sign-in. Following this
|
|
21
|
+
* transition also switches the flow to `login`.
|
|
22
|
+
* - `sso_authenticated`: a provider's sign-in matched an account.
|
|
23
|
+
* - `sso_user_not_found`: a provider's sign-in matched no account.
|
|
24
|
+
*
|
|
25
|
+
* Each action needs its transition, and a step that offers
|
|
26
|
+
* `sso_providers` needs `sso_authenticated`; the server requires no
|
|
27
|
+
* other outcome. `zitadel deploy` also requires `sso_user_not_found` and
|
|
28
|
+
* `user_already_exists` on a step that offers a provider that creates
|
|
29
|
+
* users, since a provider's sign-in can raise both. An outcome the step
|
|
30
|
+
* has no transition for leaves the user on the step with that outcome's
|
|
31
|
+
* error (for example `error.user_not_found`), so a flow that leaves out
|
|
32
|
+
* `user_not_found` signs in only users that already exist.
|
|
18
33
|
*/
|
|
19
34
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {[key: string]: {
|
|
20
35
|
/**
|
|
21
36
|
* Step name within this flow (when `action` is null), or the name
|
|
22
|
-
* of another flow (when `action` is `switch` or `pivot`).
|
|
37
|
+
* of another flow (when `action` is `switch` or `pivot`). Optional
|
|
38
|
+
* when `purpose` is set: the transition then goes to that purpose's
|
|
39
|
+
* entry step.
|
|
40
|
+
* @minLength 1
|
|
23
41
|
*/
|
|
24
|
-
target
|
|
42
|
+
target?: string;
|
|
25
43
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
44
|
+
* Reserved for transitions to another flow definition. The server
|
|
45
|
+
* does not run them yet: taking one fails with `flow.unsupported`.
|
|
46
|
+
* Keep transitions within one flow definition, and use `purpose`
|
|
47
|
+
* to move between signing in and signing up.
|
|
48
|
+
*
|
|
49
|
+
* How `target` will be read:
|
|
50
|
+
* - null (omitted): a step in the current flow.
|
|
28
51
|
* - switch: replace the current flow with the target flow.
|
|
29
|
-
* No return
|
|
30
|
-
* Example: login ↔ register.
|
|
52
|
+
* No return: the current flow is discarded.
|
|
31
53
|
* - pivot: push the target flow onto the stack. The current flow
|
|
32
54
|
* is paused and resumes when the target flow completes (auto-pop).
|
|
33
|
-
* Example: login → recovery → back to login.
|
|
34
55
|
*/
|
|
35
56
|
action?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction;
|
|
36
57
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* pinned. Must be a purpose this definition serves
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* targets another flow, never both.
|
|
58
|
+
* Switches the flow to this purpose and goes to its entry step,
|
|
59
|
+
* starting it fresh: the user the flow found so far and the
|
|
60
|
+
* password collected for them are dropped. The flow's original
|
|
61
|
+
* purpose stays pinned. Must be a purpose this definition serves.
|
|
62
|
+
* `target` may be left out; when it is set it must name that
|
|
63
|
+
* purpose's entry step. Mutually exclusive with `action`.
|
|
44
64
|
* Example: a "Sign up" navigation on the login identifier step
|
|
45
|
-
* (`{
|
|
65
|
+
* (`{ purpose: register }`).
|
|
46
66
|
*/
|
|
47
67
|
purpose?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose;
|
|
48
68
|
}};
|
package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts
CHANGED
|
@@ -7,14 +7,17 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Reserved for transitions to another flow definition. The server
|
|
11
|
+
* does not run them yet: taking one fails with `flow.unsupported`.
|
|
12
|
+
* Keep transitions within one flow definition, and use `purpose`
|
|
13
|
+
* to move between signing in and signing up.
|
|
14
|
+
*
|
|
15
|
+
* How `target` will be read:
|
|
16
|
+
* - null (omitted): a step in the current flow.
|
|
12
17
|
* - switch: replace the current flow with the target flow.
|
|
13
|
-
* No return
|
|
14
|
-
* Example: login ↔ register.
|
|
18
|
+
* No return: the current flow is discarded.
|
|
15
19
|
* - pivot: push the target flow onto the stack. The current flow
|
|
16
20
|
* is paused and resumes when the target flow completes (auto-pop).
|
|
17
|
-
* Example: login → recovery → back to login.
|
|
18
21
|
*/
|
|
19
22
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction = typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction] | null;
|
|
20
23
|
|
package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts
CHANGED
|
@@ -7,15 +7,14 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* pinned. Must be a purpose this definition serves
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* targets another flow, never both.
|
|
10
|
+
* Switches the flow to this purpose and goes to its entry step,
|
|
11
|
+
* starting it fresh: the user the flow found so far and the
|
|
12
|
+
* password collected for them are dropped. The flow's original
|
|
13
|
+
* purpose stays pinned. Must be a purpose this definition serves.
|
|
14
|
+
* `target` may be left out; when it is set it must name that
|
|
15
|
+
* purpose's entry step. Mutually exclusive with `action`.
|
|
17
16
|
* Example: a "Sign up" navigation on the login identifier step
|
|
18
|
-
* (`{
|
|
17
|
+
* (`{ purpose: register }`).
|
|
19
18
|
*/
|
|
20
19
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose = typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose] | null;
|
|
21
20
|
|
|
@@ -11,19 +11,19 @@ import type { CreateGrant201Team } from './createGrant201Team.ts';
|
|
|
11
11
|
import type { CreateGrant201User } from './createGrant201User.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* A collaboration grant
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* A collaboration grant: it gives a user or a team a role on a project.
|
|
15
|
+
* Check which of `user` or `team` is present. Those objects are always refs
|
|
16
|
+
* (`user_id` / `team_id`); expand adds extra fields on the same object rather
|
|
17
|
+
* than a sibling.
|
|
18
18
|
*/
|
|
19
19
|
export type CreateGrant201 = {
|
|
20
20
|
/** Managed assignment id (`asgn_<opaque>`). */
|
|
21
21
|
id: string;
|
|
22
|
-
/**
|
|
22
|
+
/** The project this grant is scoped to. */
|
|
23
23
|
project_id: string;
|
|
24
|
-
/**
|
|
24
|
+
/** The type of object the role applies to. Always `project` for this API. */
|
|
25
25
|
object_type: CreateGrant201ObjectType;
|
|
26
|
-
/**
|
|
26
|
+
/** The role on the project. */
|
|
27
27
|
relation: CreateGrant201Relation;
|
|
28
28
|
/** When the grant was created. */
|
|
29
29
|
created_at: string;
|
|
@@ -33,17 +33,17 @@ export type CreateGrant201 = {
|
|
|
33
33
|
*/
|
|
34
34
|
expires_at?: string | null;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* The user who holds this grant. Always a user-ref (`user_id`, never `id`).
|
|
37
37
|
* `expand: ["principal"]` adds the User envelope fields `schema`,
|
|
38
|
-
* `attributes
|
|
39
|
-
* `user_id` only, with or without expand
|
|
38
|
+
* `attributes` and `metadata` on this same object. A missing user degrades to
|
|
39
|
+
* `user_id` only, with or without expand.
|
|
40
40
|
*/
|
|
41
41
|
user?: CreateGrant201User;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
44
|
-
* `expand: ["principal"]` adds `status`, `created_at
|
|
45
|
-
* this same object.
|
|
46
|
-
* expand
|
|
43
|
+
* The team that holds this grant. Always a team-ref (`team_id`, never `id`).
|
|
44
|
+
* `expand: ["principal"]` adds `status`, `created_at` and `updated_at` on
|
|
45
|
+
* this same object. A missing team degrades to `team_id` only, with or
|
|
46
|
+
* without expand.
|
|
47
47
|
*/
|
|
48
48
|
team?: CreateGrant201Team;
|
|
49
49
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The type of object the role applies to. Always `project` for this API.
|
|
11
11
|
*/
|
|
12
12
|
export type CreateGrant201ObjectType = typeof CreateGrant201ObjectType[keyof typeof CreateGrant201ObjectType];
|
|
13
13
|
|