@zitadel/api 1.0.0-alpha.21 → 1.0.0-alpha.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +471 -56
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +30 -6
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2082 -576
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1889 -294
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1837 -333
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +448 -79
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-BK4Q468Q.d.mts → index-ruwZ9xDe.d.mts} +20529 -11466
- package/dist/index-ruwZ9xDe.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/{zitadelNextGen-C8m49W5h.d.mts → zitadelNextGen-DPyZep6V.d.mts} +259 -37
- package/dist/zitadelNextGen-DPyZep6V.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +3264 -452
- package/src/generated/endpoints/zitadelNextGen.ts +623 -60
- package/src/generated/endpoints/zitadelNextGen.zod.ts +6812 -2003
- package/src/generated/model/completeClaim410.ts +21 -16
- package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/createBranding201.ts +8 -7
- package/src/generated/model/createBranding201Branding.ts +50 -24
- package/src/generated/model/createBranding201BrandingLayout.ts +8 -4
- package/src/generated/model/createBranding201BrandingShape.ts +31 -0
- package/src/generated/model/createBranding201BrandingShapeDensity.ts +19 -0
- package/src/generated/model/createBranding201BrandingTheme.ts +37 -0
- package/src/generated/model/createBranding201BrandingThemeDark.ts +33 -0
- package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/createBranding201BrandingThemeLight.ts +33 -0
- package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/createBranding201BrandingThemeMode.ts +20 -0
- package/src/generated/model/createBranding201BrandingTypography.ts +49 -0
- package/src/generated/model/createBrandingBody.ts +50 -24
- package/src/generated/model/createBrandingBodyLayout.ts +8 -4
- package/src/generated/model/createBrandingBodyShape.ts +31 -0
- package/src/generated/model/createBrandingBodyShapeDensity.ts +19 -0
- package/src/generated/model/createBrandingBodyTheme.ts +37 -0
- package/src/generated/model/createBrandingBodyThemeDark.ts +33 -0
- package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +222 -0
- package/src/generated/model/createBrandingBodyThemeLight.ts +33 -0
- package/src/generated/model/createBrandingBodyThemeLightPalette.ts +222 -0
- package/src/generated/model/createBrandingBodyThemeMode.ts +20 -0
- package/src/generated/model/createBrandingBodyTypography.ts +49 -0
- package/src/generated/model/createFlow201.ts +8 -7
- package/src/generated/model/createFlow201Branding.ts +50 -24
- package/src/generated/model/createFlow201BrandingLayout.ts +8 -4
- package/src/generated/model/createFlow201BrandingShape.ts +31 -0
- package/src/generated/model/createFlow201BrandingShapeDensity.ts +19 -0
- package/src/generated/model/createFlow201BrandingTheme.ts +37 -0
- package/src/generated/model/createFlow201BrandingThemeDark.ts +33 -0
- package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/createFlow201BrandingThemeLight.ts +33 -0
- package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/createFlow201BrandingThemeMode.ts +20 -0
- package/src/generated/model/createFlow201BrandingTypography.ts +49 -0
- package/src/generated/model/createFlow201StepActionsItem.ts +17 -20
- package/src/generated/model/createFlow201StepActionsItemKind.ts +7 -10
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +6 -6
- package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +1 -3
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/createFlowDefinition201UserSchema.ts +9 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +6 -6
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +1 -3
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/createFlowDefinitionDefault.ts +4 -4
- package/src/generated/model/createGrant201.ts +19 -6
- package/src/generated/model/createGrant201Team.ts +35 -0
- package/src/generated/model/createGrant201TeamStatus.ts +22 -0
- package/src/generated/model/createGrant201User.ts +48 -0
- package/src/generated/model/createGrant201UserAttributes.ts +14 -0
- package/src/generated/model/createGrant201UserMetadata.ts +43 -0
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/createGrant201UserMetadataStatus.ts +20 -0
- package/src/generated/model/createGrantBody.ts +18 -10
- package/src/generated/model/createGrantBodyTeam.ts +25 -0
- package/src/generated/model/createGrantBodyUser.ts +29 -0
- package/src/generated/model/createIdp200.ts +35 -0
- package/src/generated/model/createIdp200Definition.ts +47 -0
- package/src/generated/model/createIdp200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOauth2.ts +52 -0
- package/src/generated/model/createIdp200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdp200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp200DefinitionOidc.ts +64 -0
- package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp200DefinitionProtocol.ts +18 -0
- package/src/generated/model/createIdp200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/createIdp201.ts +35 -0
- package/src/generated/model/createIdp201Definition.ts +47 -0
- package/src/generated/model/createIdp201DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOauth2.ts +52 -0
- package/src/generated/model/createIdp201DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdp201DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp201DefinitionOidc.ts +64 -0
- package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdp201DefinitionProtocol.ts +18 -0
- package/src/generated/model/createIdp201DefinitionProvisioning.ts +15 -0
- package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/{createSchema409.ts → createIdp400.ts} +3 -3
- package/src/generated/model/{createSchema400Details.ts → createIdp400Details.ts} +1 -1
- package/src/generated/model/{createSchema400.ts → createIdp401.ts} +3 -3
- package/src/generated/model/{createSchema409Details.ts → createIdp401Details.ts} +1 -1
- package/src/generated/model/createIdp403.ts +20 -0
- package/src/generated/model/createIdp403Details.ts +12 -0
- package/src/generated/model/createIdp404.ts +20 -0
- package/src/generated/model/createIdp404Details.ts +12 -0
- package/src/generated/model/createIdpBody.ts +15 -0
- package/src/generated/model/createIdpBodyIdp.ts +47 -0
- package/src/generated/model/createIdpBodyIdpClaimMapping.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOauth2.ts +52 -0
- package/src/generated/model/createIdpBodyIdpOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/createIdpBodyIdpOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdpBodyIdpOidc.ts +64 -0
- package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/createIdpBodyIdpProtocol.ts +18 -0
- package/src/generated/model/createIdpBodyIdpProvisioning.ts +15 -0
- package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +15 -0
- package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +12 -0
- package/src/generated/model/createIdpDefault.ts +39 -0
- package/src/generated/model/{createFlowDefinition409Details.ts → createIdpParams.ts} +7 -4
- package/src/generated/model/createRelease200.ts +3 -1
- package/src/generated/model/createRelease201.ts +3 -1
- package/src/generated/model/createReleaseBody.ts +8 -0
- package/src/generated/model/createReleaseDefault.ts +70 -0
- package/src/generated/model/createSchemaBody.ts +9 -1
- package/src/generated/model/createSchemaDefault.ts +141 -12
- package/src/generated/model/createSession201Session.ts +1 -0
- package/src/generated/model/createSession201SessionFactorsItemPayload.ts +8 -1
- package/src/generated/model/createSession201SessionUser.ts +1 -0
- package/src/generated/model/deleteTeam409.ts +20 -0
- package/src/generated/model/deleteTeam409Details.ts +12 -0
- package/src/generated/model/deleteVariableDefault.ts +69 -0
- package/src/generated/model/deleteVariableParams.ts +26 -0
- package/src/generated/model/exchangeHandoff200Session.ts +1 -0
- package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +8 -1
- package/src/generated/model/exchangeHandoff200SessionUser.ts +1 -0
- package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/getBrandingById200.ts +8 -7
- package/src/generated/model/getBrandingById200Branding.ts +50 -24
- package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -4
- package/src/generated/model/getBrandingById200BrandingShape.ts +31 -0
- package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/getBrandingById200BrandingTheme.ts +37 -0
- package/src/generated/model/getBrandingById200BrandingThemeDark.ts +33 -0
- package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/getBrandingById200BrandingThemeLight.ts +33 -0
- package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/getBrandingById200BrandingThemeMode.ts +20 -0
- package/src/generated/model/getBrandingById200BrandingTypography.ts +49 -0
- package/src/generated/model/getClaimStatus410.ts +21 -16
- package/src/generated/model/getClaimWindow200.ts +23 -0
- package/src/generated/model/getClaimWindow404.ts +20 -0
- package/src/generated/model/getClaimWindow404Details.ts +12 -0
- package/src/generated/model/getClaimWindow429.ts +20 -0
- package/src/generated/model/getClaimWindow429Details.ts +12 -0
- package/src/generated/model/getClaimWindowDefault.ts +20 -0
- package/src/generated/model/getClaimWindowDefaultDetails.ts +12 -0
- package/src/generated/model/getClaimWindowParams.ts +15 -0
- package/src/generated/model/getEvent200.ts +79 -4
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +6 -6
- package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +1 -3
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/getFlowDefinition200UserSchema.ts +9 -1
- package/src/generated/model/getFlowStep200.ts +8 -7
- package/src/generated/model/getFlowStep200Branding.ts +50 -24
- package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -4
- package/src/generated/model/getFlowStep200BrandingShape.ts +31 -0
- package/src/generated/model/getFlowStep200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/getFlowStep200BrandingTheme.ts +37 -0
- package/src/generated/model/getFlowStep200BrandingThemeDark.ts +33 -0
- package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/getFlowStep200BrandingThemeLight.ts +33 -0
- package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/getFlowStep200BrandingThemeMode.ts +20 -0
- package/src/generated/model/getFlowStep200BrandingTypography.ts +49 -0
- package/src/generated/model/getFlowStep200StepActionsItem.ts +17 -20
- package/src/generated/model/getFlowStep200StepActionsItemKind.ts +7 -10
- package/src/generated/model/getGrant200.ts +19 -6
- package/src/generated/model/getGrant200Team.ts +35 -0
- package/src/generated/model/getGrant200TeamStatus.ts +22 -0
- package/src/generated/model/getGrant200User.ts +48 -0
- package/src/generated/model/getGrant200UserAttributes.ts +14 -0
- package/src/generated/model/getGrant200UserMetadata.ts +43 -0
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/getGrant200UserMetadataStatus.ts +20 -0
- package/src/generated/model/getGrantDefault.ts +20 -0
- package/src/generated/model/getGrantExpandItem.ts +29 -0
- package/src/generated/model/getGrantParams.ts +7 -0
- package/src/generated/model/getIdpById200.ts +35 -0
- package/src/generated/model/getIdpById200Definition.ts +47 -0
- package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOauth2.ts +52 -0
- package/src/generated/model/getIdpById200DefinitionOauth2StaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/getIdpById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionOidc.ts +64 -0
- package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionProtocol.ts +18 -0
- package/src/generated/model/getIdpById200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/getIdpById401.ts +20 -0
- package/src/generated/model/getIdpById401Details.ts +12 -0
- package/src/generated/model/getIdpById403.ts +20 -0
- package/src/generated/model/getIdpById403Details.ts +12 -0
- package/src/generated/model/getIdpById404.ts +20 -0
- package/src/generated/model/getIdpById404Details.ts +12 -0
- package/src/generated/model/getIdpByIdDefault.ts +39 -0
- package/src/generated/model/getIdpByIdParams.ts +15 -0
- package/src/generated/model/getIdpRevisionById200.ts +35 -0
- package/src/generated/model/getIdpRevisionById200Definition.ts +47 -0
- package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +12 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2.ts +52 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +64 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +18 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +15 -0
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/getIdpRevisionById401.ts +20 -0
- package/src/generated/model/getIdpRevisionById401Details.ts +12 -0
- package/src/generated/model/getIdpRevisionById403.ts +20 -0
- package/src/generated/model/getIdpRevisionById403Details.ts +12 -0
- package/src/generated/model/getIdpRevisionById404.ts +20 -0
- package/src/generated/model/getIdpRevisionById404Details.ts +12 -0
- package/src/generated/model/getIdpRevisionByIdDefault.ts +39 -0
- package/src/generated/model/getIdpRevisionByIdParams.ts +15 -0
- package/src/generated/model/getMySession200.ts +1 -0
- package/src/generated/model/getMySession200FactorsItemPayload.ts +8 -1
- package/src/generated/model/getMySession200User.ts +1 -0
- package/src/generated/model/getReleaseById200.ts +3 -1
- package/src/generated/model/getReleaseByIdDefault.ts +20 -0
- package/src/generated/model/getSchemaById200Schema.ts +9 -1
- package/src/generated/model/getSchemaByIdDefault.ts +51 -12
- package/src/generated/model/getSession200.ts +1 -0
- package/src/generated/model/getSession200FactorsItemPayload.ts +8 -1
- package/src/generated/model/getSession200User.ts +1 -0
- package/src/generated/model/getVariable200.ts +25 -0
- package/src/generated/model/getVariableDefault.ts +69 -0
- package/src/generated/model/getVariableParams.ts +26 -0
- package/src/generated/model/getVariables200.ts +29 -0
- package/src/generated/model/getVariablesDefault.ts +69 -0
- package/src/generated/model/getVariablesParams.ts +26 -0
- package/src/generated/model/index.ts +328 -57
- package/src/generated/model/{createFlowDefinition409.ts → initClaim410.ts} +8 -4
- package/src/generated/model/listEvents200DataItem.ts +79 -4
- package/src/generated/model/listFlowDefinitions200.ts +3 -0
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +6 -6
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +1 -3
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +12 -5
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +10 -7
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +3 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +9 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +23 -0
- package/src/generated/model/listFlowDefinitionsRevisions.ts +15 -0
- package/src/generated/model/listIdpRevisions200.ts +21 -0
- package/src/generated/model/listIdpRevisions200RevisionsItem.ts +35 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +47 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +12 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2.ts +52 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +64 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProtocol.ts +18 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +15 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +14 -0
- package/src/generated/model/listIdpRevisions401.ts +20 -0
- package/src/generated/model/{createSchemaDefaultDetails.ts → listIdpRevisions401Details.ts} +1 -1
- package/src/generated/model/listIdpRevisions403.ts +20 -0
- package/src/generated/model/listIdpRevisions403Details.ts +12 -0
- package/src/generated/model/listIdpRevisions404.ts +20 -0
- package/src/generated/model/listIdpRevisions404Details.ts +12 -0
- package/src/generated/model/listIdpRevisionsDefault.ts +39 -0
- package/src/generated/model/listIdpRevisionsParams.ts +29 -0
- package/src/generated/model/listMyProjects200.ts +20 -0
- package/src/generated/model/listMyProjects200ProjectsItem.ts +24 -0
- package/src/generated/model/listMyProjects400.ts +20 -0
- package/src/generated/model/listMyProjects400Details.ts +12 -0
- package/src/generated/model/listMyProjects401.ts +24 -0
- package/src/generated/model/listMyProjects500.ts +20 -0
- package/src/generated/model/listMyProjects500Details.ts +12 -0
- package/src/generated/model/listMyProjectsDefault.ts +39 -0
- package/src/generated/model/listMyProjectsParams.ts +24 -0
- package/src/generated/model/listReleasesDefault.ts +20 -0
- package/src/generated/model/listSchemas200SchemasItemSchema.ts +9 -1
- package/src/generated/model/listSchemasDefault.ts +51 -12
- package/src/generated/model/patchMyUser200.ts +71 -0
- package/src/generated/model/patchMyUser200Attributes.ts +14 -0
- package/src/generated/model/patchMyUser200Metadata.ts +43 -0
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/patchMyUser200MetadataStatus.ts +20 -0
- package/src/generated/model/patchMyUser200TeamsItem.ts +33 -0
- package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +21 -0
- package/src/generated/model/patchMyUser400.ts +20 -0
- package/src/generated/model/patchMyUser400Details.ts +12 -0
- package/src/generated/model/patchMyUser401.ts +20 -0
- package/src/generated/model/patchMyUser401Details.ts +12 -0
- package/src/generated/model/patchMyUser404.ts +24 -0
- package/src/generated/model/patchMyUser409.ts +20 -0
- package/src/generated/model/patchMyUser409Details.ts +12 -0
- package/src/generated/model/patchMyUserBody.ts +25 -0
- package/src/generated/model/{listSchemasDefaultDetails.ts → patchMyUserBodyAttributes.ts} +4 -2
- package/src/generated/model/{deleteFlowDefinitionDefault.ts → patchMyUserDefault.ts} +8 -8
- package/src/generated/model/patchUserByID200.ts +71 -0
- package/src/generated/model/patchUserByID200Attributes.ts +14 -0
- package/src/generated/model/patchUserByID200Metadata.ts +43 -0
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/patchUserByID200MetadataStatus.ts +20 -0
- package/src/generated/model/patchUserByID200TeamsItem.ts +33 -0
- package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +21 -0
- package/src/generated/model/{getSchemaById400.ts → patchUserByID400.ts} +3 -3
- package/src/generated/model/{getSchemaById400Details.ts → patchUserByID400Details.ts} +1 -1
- package/src/generated/model/{getSchemaById404.ts → patchUserByID401.ts} +3 -3
- package/src/generated/model/{getSchemaById404Details.ts → patchUserByID401Details.ts} +1 -1
- package/src/generated/model/patchUserByID403.ts +20 -0
- package/src/generated/model/patchUserByID403Details.ts +12 -0
- package/src/generated/model/patchUserByID404.ts +20 -0
- package/src/generated/model/patchUserByID404Details.ts +12 -0
- package/src/generated/model/patchUserByID409.ts +20 -0
- package/src/generated/model/patchUserByID409Details.ts +12 -0
- package/src/generated/model/patchUserByIDBody.ts +39 -0
- package/src/generated/model/{getSchemaByIdDefaultDetails.ts → patchUserByIDBodyAttributes.ts} +4 -2
- package/src/generated/model/patchUserByIDDefault.ts +89 -0
- package/src/generated/model/queryGrants200.ts +20 -0
- package/src/generated/model/queryGrants200GrantsItem.ts +47 -0
- package/src/generated/model/queryGrants200GrantsItemObjectType.ts +17 -0
- package/src/generated/model/queryGrants200GrantsItemRelation.ts +19 -0
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +35 -0
- package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +22 -0
- package/src/generated/model/queryGrants200GrantsItemUser.ts +48 -0
- package/src/generated/model/queryGrants200GrantsItemUserAttributes.ts +14 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +43 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +43 -0
- package/src/generated/model/queryGrants200GrantsItemUserMetadataStatus.ts +20 -0
- package/src/generated/model/queryGrants400.ts +20 -0
- package/src/generated/model/queryGrants400Details.ts +12 -0
- package/src/generated/model/queryGrants401.ts +20 -0
- package/src/generated/model/queryGrants401Details.ts +12 -0
- package/src/generated/model/queryGrants403.ts +20 -0
- package/src/generated/model/queryGrants403Details.ts +12 -0
- package/src/generated/model/queryGrantsBody.ts +34 -0
- package/src/generated/model/queryGrantsBodyExpandItem.ts +30 -0
- package/src/generated/model/queryGrantsBodyFilterItem.ts +33 -0
- package/src/generated/model/queryGrantsBodyFilterItemField.ts +27 -0
- package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +30 -0
- package/src/generated/model/queryGrantsBodySorting.ts +17 -0
- package/src/generated/model/queryGrantsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryGrantsBodySortingField.ts +21 -0
- package/src/generated/model/queryGrantsDefault.ts +99 -0
- package/src/generated/model/queryGrantsParams.ts +15 -0
- package/src/generated/model/queryIdps200.ts +21 -0
- package/src/generated/model/queryIdps200IdpsItem.ts +35 -0
- package/src/generated/model/queryIdps200IdpsItemDefinition.ts +47 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +12 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2.ts +52 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2StaticAuthorizeParameters.ts +14 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2SupplementaryFetch.ts +17 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2TokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +64 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +12 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidcTokenEndpointAuthMethod.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProtocol.ts +18 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +15 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioningCreation.ts +15 -0
- package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +12 -0
- package/src/generated/model/queryIdps400.ts +20 -0
- package/src/generated/model/queryIdps400Details.ts +12 -0
- package/src/generated/model/queryIdps401.ts +20 -0
- package/src/generated/model/queryIdps401Details.ts +12 -0
- package/src/generated/model/queryIdps403.ts +20 -0
- package/src/generated/model/queryIdps403Details.ts +12 -0
- package/src/generated/model/queryIdps404.ts +20 -0
- package/src/generated/model/queryIdps404Details.ts +12 -0
- package/src/generated/model/queryIdpsBody.ts +29 -0
- package/src/generated/model/queryIdpsBodyFilterItem.ts +31 -0
- package/src/generated/model/queryIdpsBodyFilterItemField.ts +22 -0
- package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +30 -0
- package/src/generated/model/queryIdpsBodySorting.ts +22 -0
- package/src/generated/model/queryIdpsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryIdpsBodySortingField.ts +22 -0
- package/src/generated/model/queryIdpsDefault.ts +39 -0
- package/src/generated/model/queryIdpsParams.ts +15 -0
- package/src/generated/model/querySessions200SessionsItem.ts +1 -0
- package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +8 -1
- package/src/generated/model/querySessions200SessionsItemUser.ts +1 -0
- package/src/generated/model/submitFlowStep200.ts +8 -7
- package/src/generated/model/submitFlowStep200Branding.ts +50 -24
- package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -4
- package/src/generated/model/submitFlowStep200BrandingShape.ts +31 -0
- package/src/generated/model/submitFlowStep200BrandingShapeDensity.ts +19 -0
- package/src/generated/model/submitFlowStep200BrandingTheme.ts +37 -0
- package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +33 -0
- package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +33 -0
- package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/submitFlowStep200BrandingThemeMode.ts +20 -0
- package/src/generated/model/submitFlowStep200BrandingTypography.ts +49 -0
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +17 -20
- package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +7 -10
- package/src/generated/model/submitFlowStep400.ts +8 -7
- package/src/generated/model/submitFlowStep400Branding.ts +50 -24
- package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -4
- package/src/generated/model/submitFlowStep400BrandingShape.ts +31 -0
- package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +19 -0
- package/src/generated/model/submitFlowStep400BrandingTheme.ts +37 -0
- package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +33 -0
- package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +222 -0
- package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +33 -0
- package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +222 -0
- package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +20 -0
- package/src/generated/model/submitFlowStep400BrandingTypography.ts +49 -0
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +17 -20
- package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +7 -10
- package/src/generated/model/updateVariables200.ts +29 -0
- package/src/generated/model/updateVariablesBody.ts +60 -0
- package/src/generated/model/{updateFlowDefinitionDefault.ts → updateVariablesDefault.ts} +22 -12
- package/src/generated/model/updateVariablesParams.ts +26 -0
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +8 -1
- package/src/generated/model/verifyChallengeProofBody.ts +1 -1
- package/src/generated/model/verifyChallengeProofDefault.ts +10 -0
- package/dist/index-BK4Q468Q.d.mts.map +0 -1
- package/dist/zitadelNextGen-C8m49W5h.d.mts.map +0 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/createGrant201PrincipalType.ts +0 -18
- package/src/generated/model/createGrantBodyPrincipalType.ts +0 -18
- package/src/generated/model/deleteFlowDefinition409.ts +0 -20
- package/src/generated/model/deleteFlowDefinition409Details.ts +0 -12
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/getGrant200PrincipalType.ts +0 -18
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinition200.ts +0 -34
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +0 -71
- package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStatus.ts +0 -26
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +0 -71
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +0 -42
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +0 -31
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +0 -35
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +0 -14
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +0 -20
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +0 -21
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +0 -46
- package/src/generated/model/updateFlowDefinition200UserSchema.ts +0 -103
- package/src/generated/model/updateFlowDefinition400.ts +0 -20
- package/src/generated/model/updateFlowDefinition400Details.ts +0 -12
- package/src/generated/model/updateFlowDefinition404.ts +0 -20
- package/src/generated/model/updateFlowDefinition404Details.ts +0 -12
- package/src/generated/model/updateFlowDefinitionBody.ts +0 -30
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +0 -71
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionAudience.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStatus.ts +0 -26
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -71
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -42
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -31
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -35
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -14
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -21
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts +0 -19
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -46
package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts
CHANGED
|
@@ -7,7 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Classifies how the engine handles this action:
|
|
10
|
+
* Classifies how the engine handles this action. `back` is not declarable:
|
|
11
|
+
the engine injects it into runtime steps (see `flow-step-action.yaml`)
|
|
12
|
+
whenever going back is available.
|
|
11
13
|
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
14
|
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
15
|
fires once the returned assertion verifies.
|
|
@@ -15,8 +17,6 @@
|
|
|
15
17
|
transition fires once the returned attestation verifies.
|
|
16
18
|
- `navigate`: route through the transition without running the input
|
|
17
19
|
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
-
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
-
when going back is available.
|
|
20
20
|
|
|
21
21
|
*/
|
|
22
22
|
export type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind =
|
|
@@ -27,5 +27,4 @@ export const CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind = {
|
|
|
27
27
|
passkey: "passkey",
|
|
28
28
|
passkey_register: "passkey_register",
|
|
29
29
|
navigate: "navigate",
|
|
30
|
-
back: "back",
|
|
31
30
|
} as const;
|
|
@@ -35,7 +35,7 @@ export type CreateFlowDefinitionDefault =
|
|
|
35
35
|
/** Additional error-specific context. */
|
|
36
36
|
details?: { [key: string]: unknown };
|
|
37
37
|
} & {
|
|
38
|
-
code: "flowdef.
|
|
38
|
+
code: "flowdef.invalid";
|
|
39
39
|
})
|
|
40
40
|
| ({
|
|
41
41
|
/** Stable machine-readable error code. */
|
|
@@ -45,7 +45,7 @@ export type CreateFlowDefinitionDefault =
|
|
|
45
45
|
/** Additional error-specific context. */
|
|
46
46
|
details?: { [key: string]: unknown };
|
|
47
47
|
} & {
|
|
48
|
-
code: "flowdef.
|
|
48
|
+
code: "flowdef.not_found";
|
|
49
49
|
})
|
|
50
50
|
| ({
|
|
51
51
|
/** Stable machine-readable error code. */
|
|
@@ -55,7 +55,7 @@ export type CreateFlowDefinitionDefault =
|
|
|
55
55
|
/** Additional error-specific context. */
|
|
56
56
|
details?: { [key: string]: unknown };
|
|
57
57
|
} & {
|
|
58
|
-
code: "flowdef.
|
|
58
|
+
code: "flowdef.permission_denied";
|
|
59
59
|
})
|
|
60
60
|
| ({
|
|
61
61
|
/** Stable machine-readable error code. */
|
|
@@ -65,7 +65,7 @@ export type CreateFlowDefinitionDefault =
|
|
|
65
65
|
/** Additional error-specific context. */
|
|
66
66
|
details?: { [key: string]: unknown };
|
|
67
67
|
} & {
|
|
68
|
-
code: "flowdef.
|
|
68
|
+
code: "flowdef.revision_conflict";
|
|
69
69
|
})
|
|
70
70
|
| ({
|
|
71
71
|
/** Stable machine-readable error code. */
|
|
@@ -6,21 +6,22 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
import type { CreateGrant201ObjectType } from "./createGrant201ObjectType";
|
|
9
|
-
import type { CreateGrant201PrincipalType } from "./createGrant201PrincipalType";
|
|
10
9
|
import type { CreateGrant201Relation } from "./createGrant201Relation";
|
|
10
|
+
import type { CreateGrant201Team } from "./createGrant201Team";
|
|
11
|
+
import type { CreateGrant201User } from "./createGrant201User";
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
|
-
* A collaboration grant binding a
|
|
14
|
+
* A collaboration grant binding a user or a team to a project relation.
|
|
15
|
+
Discriminate on which of `user` or `team` is present. Those objects are
|
|
16
|
+
always refs (`user_id` / `team_id`); expand adds extra fields on the same
|
|
17
|
+
object rather than a sibling.
|
|
18
|
+
|
|
14
19
|
*/
|
|
15
20
|
export type CreateGrant201 = {
|
|
16
21
|
/** Managed assignment id (`asgn_<opaque>`). */
|
|
17
22
|
id: string;
|
|
18
23
|
/** Project this grant is scoped to. */
|
|
19
24
|
project_id: string;
|
|
20
|
-
/** Kind of principal bound by this grant. */
|
|
21
|
-
principal_type: CreateGrant201PrincipalType;
|
|
22
|
-
/** Principal id (`user_<opaque>` or `team_<opaque>`). */
|
|
23
|
-
principal_id: string;
|
|
24
25
|
/** Catalog object type. Always `project` for this API. */
|
|
25
26
|
object_type: CreateGrant201ObjectType;
|
|
26
27
|
/** Catalog relation on the project. */
|
|
@@ -31,4 +32,16 @@ export type CreateGrant201 = {
|
|
|
31
32
|
returns expired unrevoked grants; authorization ignores them.
|
|
32
33
|
*/
|
|
33
34
|
expires_at?: string | null;
|
|
35
|
+
/** User bound by this grant. Always a user-ref (`user_id`, never `id`).
|
|
36
|
+
`expand: ["principal"]` adds the User envelope fields `schema`,
|
|
37
|
+
`attributes`, and `metadata` on this same object. Missing users degrade to
|
|
38
|
+
`user_id` only, with or without expand (ADR 059 grant exception).
|
|
39
|
+
*/
|
|
40
|
+
user?: CreateGrant201User;
|
|
41
|
+
/** Team bound by this grant. Always a team-ref (`team_id`, never `id`).
|
|
42
|
+
`expand: ["principal"]` adds `status`, `created_at`, and `updated_at` on
|
|
43
|
+
this same object. Missing teams degrade to `team_id` only, with or without
|
|
44
|
+
expand (ADR 059 grant exception).
|
|
45
|
+
*/
|
|
46
|
+
team?: CreateGrant201Team;
|
|
34
47
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateGrant201TeamStatus } from "./createGrant201TeamStatus";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Team bound by this grant. Always a team-ref (`team_id`, never `id`).
|
|
12
|
+
`expand: ["principal"]` adds `status`, `created_at`, and `updated_at` on
|
|
13
|
+
this same object. Missing teams degrade to `team_id` only, with or without
|
|
14
|
+
expand (ADR 059 grant exception).
|
|
15
|
+
|
|
16
|
+
*/
|
|
17
|
+
export type CreateGrant201Team = {
|
|
18
|
+
/** The referenced team's id (`team_<opaque>`). Always present. */
|
|
19
|
+
team_id: string;
|
|
20
|
+
/** The team's name. Absent when the team can no longer be loaded. */
|
|
21
|
+
name?: string;
|
|
22
|
+
} & {
|
|
23
|
+
/** The lifecycle state of a team.
|
|
24
|
+
|
|
25
|
+
active: The team is available for use.
|
|
26
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
27
|
+
*/
|
|
28
|
+
status?: CreateGrant201TeamStatus;
|
|
29
|
+
/** When the team was created. Present only when expand loaded the team.
|
|
30
|
+
*/
|
|
31
|
+
created_at?: string;
|
|
32
|
+
/** When the team was last updated. Present only when expand loaded the team.
|
|
33
|
+
*/
|
|
34
|
+
updated_at?: string;
|
|
35
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The lifecycle state of a team.
|
|
11
|
+
|
|
12
|
+
active: The team is available for use.
|
|
13
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
14
|
+
|
|
15
|
+
*/
|
|
16
|
+
export type CreateGrant201TeamStatus =
|
|
17
|
+
(typeof CreateGrant201TeamStatus)[keyof typeof CreateGrant201TeamStatus];
|
|
18
|
+
|
|
19
|
+
export const CreateGrant201TeamStatus = {
|
|
20
|
+
active: "active",
|
|
21
|
+
deactivated: "deactivated",
|
|
22
|
+
} as const;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateGrant201UserAttributes } from "./createGrant201UserAttributes";
|
|
9
|
+
import type { CreateGrant201UserMetadata } from "./createGrant201UserMetadata";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* User bound by this grant. Always a user-ref (`user_id`, never `id`).
|
|
13
|
+
`expand: ["principal"]` adds the User envelope fields `schema`,
|
|
14
|
+
`attributes`, and `metadata` on this same object. Missing users degrade to
|
|
15
|
+
`user_id` only, with or without expand (ADR 059 grant exception).
|
|
16
|
+
|
|
17
|
+
*/
|
|
18
|
+
export type CreateGrant201User = {
|
|
19
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
20
|
+
user_id: string;
|
|
21
|
+
/** The current value of the schema's designated identifier
|
|
22
|
+
(`x-identifier`). Absent when the schema designates no identifier or
|
|
23
|
+
the user carries no value for it.
|
|
24
|
+
*/
|
|
25
|
+
identifier?: string;
|
|
26
|
+
/** The schema property `identifier` came from, so clients can reach the
|
|
27
|
+
property's schema for semantics (a mailto link, a field label)
|
|
28
|
+
instead of guessing from the value. Present exactly when
|
|
29
|
+
`identifier` is.
|
|
30
|
+
*/
|
|
31
|
+
identifier_property?: string;
|
|
32
|
+
/** The `x-display` rendering — the designated properties' values joined
|
|
33
|
+
in list order. Purely presentational, with no source attribution.
|
|
34
|
+
Absent when the schema designates no display properties or the user
|
|
35
|
+
carries no values for them.
|
|
36
|
+
*/
|
|
37
|
+
display?: string;
|
|
38
|
+
} & {
|
|
39
|
+
/** The schema that defines `attributes`. Present only when the request
|
|
40
|
+
asked for `expand: ["principal"]` and the user could be loaded.
|
|
41
|
+
*/
|
|
42
|
+
schema?: string;
|
|
43
|
+
/** The user's content, satisfying the schema named by `schema`. Property
|
|
44
|
+
names and types are determined entirely by that schema.
|
|
45
|
+
*/
|
|
46
|
+
attributes?: CreateGrant201UserAttributes;
|
|
47
|
+
metadata?: CreateGrant201UserMetadata;
|
|
48
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The user's content, satisfying the schema named by `schema`. Property
|
|
11
|
+
names and types are determined entirely by that schema.
|
|
12
|
+
|
|
13
|
+
*/
|
|
14
|
+
export type CreateGrant201UserAttributes = { [key: string]: unknown };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateGrant201UserMetadataLifecycleOwnerTeam } from "./createGrant201UserMetadataLifecycleOwnerTeam";
|
|
9
|
+
import type { CreateGrant201UserMetadataStatus } from "./createGrant201UserMetadataStatus";
|
|
10
|
+
|
|
11
|
+
export type CreateGrant201UserMetadata = {
|
|
12
|
+
/** The time when the user was created. */
|
|
13
|
+
created_at: string;
|
|
14
|
+
/** The time when the user was last updated. */
|
|
15
|
+
updated_at: string;
|
|
16
|
+
/** The status of the user. */
|
|
17
|
+
status: CreateGrant201UserMetadataStatus;
|
|
18
|
+
/** The team that owns this user's identity lifecycle, or `null` when the
|
|
19
|
+
user is self-owned. This is a single team and a different concept from
|
|
20
|
+
the user's team memberships: it decides who may deprovision the user, not
|
|
21
|
+
which teams the user collaborates in. Memberships are their own paginated
|
|
22
|
+
resource — `GET /users/{user_id}/teams`.
|
|
23
|
+
*/
|
|
24
|
+
lifecycle_owner_team_id?: string | null;
|
|
25
|
+
/** The team named by `lifecycle_owner_team_id`, present only when the
|
|
26
|
+
request asked for it with `expand: ["lifecycle_owner_team"]` (ADR 059).
|
|
27
|
+
Absent means it was not requested; `null` means the user is self-owned
|
|
28
|
+
and there is no owner to resolve.
|
|
29
|
+
|
|
30
|
+
Requesting it does not guarantee it is present on every user. Today
|
|
31
|
+
`team.read` is checked once for the whole request, so it is; once that
|
|
32
|
+
check is per team, a page may contain a user whose owner the caller may
|
|
33
|
+
not read, and such a row answers with neither the team nor `null` —
|
|
34
|
+
`null` already means self-owned. What it answers with instead is decided
|
|
35
|
+
with the granular scopes (#420); do not read the two cases above as the
|
|
36
|
+
complete set.
|
|
37
|
+
|
|
38
|
+
This is the same representation `GET /teams/{team_id}` serves. It is a
|
|
39
|
+
single team, not a collection, so it carries no cap and no truncation
|
|
40
|
+
flag.
|
|
41
|
+
*/
|
|
42
|
+
readonly lifecycle_owner_team?: CreateGrant201UserMetadataLifecycleOwnerTeam;
|
|
43
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The team named by `lifecycle_owner_team_id`, present only when the
|
|
11
|
+
request asked for it with `expand: ["lifecycle_owner_team"]` (ADR 059).
|
|
12
|
+
Absent means it was not requested; `null` means the user is self-owned
|
|
13
|
+
and there is no owner to resolve.
|
|
14
|
+
|
|
15
|
+
Requesting it does not guarantee it is present on every user. Today
|
|
16
|
+
`team.read` is checked once for the whole request, so it is; once that
|
|
17
|
+
check is per team, a page may contain a user whose owner the caller may
|
|
18
|
+
not read, and such a row answers with neither the team nor `null` —
|
|
19
|
+
`null` already means self-owned. What it answers with instead is decided
|
|
20
|
+
with the granular scopes (#420); do not read the two cases above as the
|
|
21
|
+
complete set.
|
|
22
|
+
|
|
23
|
+
This is the same representation `GET /teams/{team_id}` serves. It is a
|
|
24
|
+
single team, not a collection, so it carries no cap and no truncation
|
|
25
|
+
flag.
|
|
26
|
+
|
|
27
|
+
*/
|
|
28
|
+
export type CreateGrant201UserMetadataLifecycleOwnerTeam = {
|
|
29
|
+
/** The unique identifier of the team. */
|
|
30
|
+
id: string;
|
|
31
|
+
/** The name of the team. */
|
|
32
|
+
name: string;
|
|
33
|
+
/** The lifecycle state of a team.
|
|
34
|
+
|
|
35
|
+
active: The team is available for use.
|
|
36
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
37
|
+
*/
|
|
38
|
+
status: "active" | "deactivated";
|
|
39
|
+
/** The time when the team was created. */
|
|
40
|
+
created_at: string;
|
|
41
|
+
/** The time when the team was last updated. */
|
|
42
|
+
updated_at: string;
|
|
43
|
+
} | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The status of the user.
|
|
11
|
+
*/
|
|
12
|
+
export type CreateGrant201UserMetadataStatus =
|
|
13
|
+
(typeof CreateGrant201UserMetadataStatus)[keyof typeof CreateGrant201UserMetadataStatus];
|
|
14
|
+
|
|
15
|
+
export const CreateGrant201UserMetadataStatus = {
|
|
16
|
+
active: "active",
|
|
17
|
+
suspended: "suspended",
|
|
18
|
+
deactivated: "deactivated",
|
|
19
|
+
pending_purge: "pending_purge",
|
|
20
|
+
} as const;
|
|
@@ -5,19 +5,17 @@
|
|
|
5
5
|
* This is the next generation of the Zitadel identity platform.
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
|
-
import type { CreateGrantBodyPrincipalType } from "./createGrantBodyPrincipalType";
|
|
9
8
|
import type { CreateGrantBodyRelation } from "./createGrantBodyRelation";
|
|
9
|
+
import type { CreateGrantBodyTeam } from "./createGrantBodyTeam";
|
|
10
|
+
import type { CreateGrantBodyUser } from "./createGrantBodyUser";
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* Principal id (`user_<opaque>` or `team_<opaque>`). The principal must
|
|
16
|
-
exist in the platform project when a platform project is configured.
|
|
12
|
+
/**
|
|
13
|
+
* Bind a user or a team. Exactly one of `user` or `team`. Shared fields are
|
|
14
|
+
`relation` and optional `expires_at`. Sending both locators or neither is
|
|
15
|
+
`grant.invalid`.
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
principal_id: string;
|
|
17
|
+
*/
|
|
18
|
+
export type CreateGrantBody = {
|
|
21
19
|
/** Catalog relation on `object_type` `project`. `team` (owning-team) is not allowed. */
|
|
22
20
|
relation: CreateGrantBodyRelation;
|
|
23
21
|
/** Optional expiry. Must be in the future when set. Expiry stops
|
|
@@ -25,4 +23,14 @@ export type CreateGrantBody = {
|
|
|
25
23
|
before posting the same principal and relation again.
|
|
26
24
|
*/
|
|
27
25
|
expires_at?: string;
|
|
26
|
+
/** Name a user with exactly one of `user_id` or `identifier`. Sending both
|
|
27
|
+
or neither is `grant.invalid`. Unknown properties are rejected by
|
|
28
|
+
`additionalProperties: false` as `req.invalid` before the handler runs.
|
|
29
|
+
*/
|
|
30
|
+
user?: CreateGrantBodyUser;
|
|
31
|
+
/** Name a team with exactly one of `team_id` or `name`. Sending both
|
|
32
|
+
or neither is `grant.invalid`. Unknown properties are rejected by
|
|
33
|
+
`additionalProperties: false` as `req.invalid` before the handler runs.
|
|
34
|
+
*/
|
|
35
|
+
team?: CreateGrantBodyTeam;
|
|
28
36
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Name a team with exactly one of `team_id` or `name`. Sending both
|
|
11
|
+
or neither is `grant.invalid`. Unknown properties are rejected by
|
|
12
|
+
`additionalProperties: false` as `req.invalid` before the handler runs.
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
export type CreateGrantBodyTeam = {
|
|
16
|
+
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
17
|
+
team_id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Team name, unique per project case-insensitively. Looked up in
|
|
20
|
+
the platform project. The team must be active.
|
|
21
|
+
|
|
22
|
+
* @minLength 1
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Name a user with exactly one of `user_id` or `identifier`. Sending both
|
|
11
|
+
or neither is `grant.invalid`. Unknown properties are rejected by
|
|
12
|
+
`additionalProperties: false` as `req.invalid` before the handler runs.
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
export type CreateGrantBodyUser = {
|
|
16
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
17
|
+
user_id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The user schema's designated identifier (`x-identifier`), looked
|
|
20
|
+
up in the platform project. Create answers 202 with no body on
|
|
21
|
+
every outcome: a hit, a duplicate, a miss, and several matches are
|
|
22
|
+
indistinguishable, and a miss or several matches write nothing.
|
|
23
|
+
The server logs the lookup outcome. Granting the session caller's
|
|
24
|
+
own resolved user is `grant.invalid`.
|
|
25
|
+
|
|
26
|
+
* @minLength 1
|
|
27
|
+
*/
|
|
28
|
+
identifier?: string;
|
|
29
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateIdp200Definition } from "./createIdp200Definition";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* An identity provider connection.
|
|
12
|
+
|
|
13
|
+
*/
|
|
14
|
+
export type CreateIdp200 = {
|
|
15
|
+
/** A unique connection id, generated when the connection is created, and shared by
|
|
16
|
+
every revision. This id is referenced by the identity links.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/** The id of the revision this row holds, pinned by auth attempts and
|
|
20
|
+
releases. `GET /idps/{id}` and the query return the newest one;
|
|
21
|
+
`GET /idps/revisions/{revision_id}` returns the requested revision.
|
|
22
|
+
*/
|
|
23
|
+
revision_id: string;
|
|
24
|
+
/** The identifier by which user schemas and flow definitions reference the
|
|
25
|
+
connection. Fixed for the life of the connection.
|
|
26
|
+
*/
|
|
27
|
+
slug: string;
|
|
28
|
+
/** When the connection was created. */
|
|
29
|
+
created_at: string;
|
|
30
|
+
/** When this revision was created. On the newest revision, that is when
|
|
31
|
+
the connection was last revised.
|
|
32
|
+
*/
|
|
33
|
+
updated_at: string;
|
|
34
|
+
definition: CreateIdp200Definition;
|
|
35
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateIdp200DefinitionClaimMapping } from "./createIdp200DefinitionClaimMapping";
|
|
9
|
+
import type { CreateIdp200DefinitionOauth2 } from "./createIdp200DefinitionOauth2";
|
|
10
|
+
import type { CreateIdp200DefinitionOidc } from "./createIdp200DefinitionOidc";
|
|
11
|
+
import type { CreateIdp200DefinitionProtocol } from "./createIdp200DefinitionProtocol";
|
|
12
|
+
import type { CreateIdp200DefinitionProvisioning } from "./createIdp200DefinitionProvisioning";
|
|
13
|
+
import type { CreateIdp200DefinitionVerifiedClaims } from "./createIdp200DefinitionVerifiedClaims";
|
|
14
|
+
|
|
15
|
+
export type CreateIdp200Definition = {
|
|
16
|
+
/**
|
|
17
|
+
* Stable identifier, referenced by user schemas (x-auth-methods.sso.providers) and flow steps (sso_providers). Unique within the Project.
|
|
18
|
+
* @maxLength 64
|
|
19
|
+
* @pattern ^[a-z0-9][a-z0-9_-]*$
|
|
20
|
+
*/
|
|
21
|
+
slug: string;
|
|
22
|
+
/** The protocol used by the identity provider. */
|
|
23
|
+
protocol: CreateIdp200DefinitionProtocol;
|
|
24
|
+
/** Template hint for rendering the provider (logo, colors). Carries no protocol behavior: conduct comes only from the protocol blocks. */
|
|
25
|
+
template?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Shown to the user on the sign-in button.
|
|
28
|
+
* @minLength 1
|
|
29
|
+
* @maxLength 256
|
|
30
|
+
*/
|
|
31
|
+
display_name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Claim carrying the provider's stable subject identifier. Optional for OIDC (the engine uses `sub` per spec; override where `sub` is pairwise, e.g. Entra `oid`). Required for OAuth2 — no `sub` guarantee.
|
|
34
|
+
* @minLength 1
|
|
35
|
+
*/
|
|
36
|
+
subject_claim?: string;
|
|
37
|
+
/** Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored. */
|
|
38
|
+
claim_mapping?: CreateIdp200DefinitionClaimMapping;
|
|
39
|
+
/** Maps a verifiable user-schema property to its verification source: a claim name (read the claim), the literal `true` (trust this provider unconditionally), or the `$`-pointer `"$supplementary_fetch"` (verified by the selected supplementary_fetch strategy per its contract - e.g. github_primary_email verifies `email` via primary && verified). Values starting with `$` are reserved; only `$supplementary_fetch` is defined. Distinct from claim_mapping, which carries values, not verification state. */
|
|
40
|
+
verified_claims?: CreateIdp200DefinitionVerifiedClaims;
|
|
41
|
+
/** How far this provider's data is trusted. `creation` defines what happens to a subject that has no account yet. With `disabled`, a user is not created. With `auto`, the user is created without a collection step when the mapped claims fill every required property of the schema. A required property with an `x-unique` scope must also arrive verified according to `verified_claims`. When a required property is missing or such a property is unverified, the collection step is shown instead, prefilled with the claims. Gating on other properties will be added when `x-verify` returns to the dialect. The following are deferred and will be added as additive changes. The `auto_only` value creates the user from complete claims or fails without collecting. The linking policy (`is_linking_allowed`, `auto_linking`), together with the account-linking journey. `is_auto_update`, together with per-property verification state. */
|
|
42
|
+
provisioning?: CreateIdp200DefinitionProvisioning;
|
|
43
|
+
/** OIDC connection details. Endpoints come from discovery, but any may be supplied to override it, or to serve a provider that exposes no .well-known document. */
|
|
44
|
+
oidc?: CreateIdp200DefinitionOidc;
|
|
45
|
+
/** OAuth 2.0 connection details. */
|
|
46
|
+
oauth2?: CreateIdp200DefinitionOauth2;
|
|
47
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Maps user-schema property names (keys) to provider claim names (values). A value is an exact top-level claim key: no path syntax, and a dot is part of the key, so nested claims (OIDC `address`, GitHub `plan`) are not addressable yet. `$`-prefixed strings and non-string values are reserved for future mapping forms. Add properties defined in the user schemas; unmatched entries are ignored.
|
|
11
|
+
*/
|
|
12
|
+
export type CreateIdp200DefinitionClaimMapping = { [key: string]: string };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateIdp200DefinitionOauth2StaticAuthorizeParameters } from "./createIdp200DefinitionOauth2StaticAuthorizeParameters";
|
|
9
|
+
import type { CreateIdp200DefinitionOauth2SupplementaryFetch } from "./createIdp200DefinitionOauth2SupplementaryFetch";
|
|
10
|
+
import type { CreateIdp200DefinitionOauth2TokenEndpointAuthMethod } from "./createIdp200DefinitionOauth2TokenEndpointAuthMethod";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* OAuth 2.0 connection details.
|
|
14
|
+
*/
|
|
15
|
+
export type CreateIdp200DefinitionOauth2 = {
|
|
16
|
+
/**
|
|
17
|
+
* Where the user is sent to authorize.
|
|
18
|
+
* @pattern ^(https://[^\s/?#]+|http://(localhost|127\.0\.0\.1)(:[0-9]+)?)([/?][^\s#]*)?$
|
|
19
|
+
*/
|
|
20
|
+
authorization_endpoint: string;
|
|
21
|
+
/**
|
|
22
|
+
* Where the authorization code is exchanged.
|
|
23
|
+
* @pattern ^(https://[^\s/?#]+|http://(localhost|127\.0\.0\.1)(:[0-9]+)?)([/?][^\s#]*)?$
|
|
24
|
+
*/
|
|
25
|
+
token_endpoint: string;
|
|
26
|
+
/**
|
|
27
|
+
* Where the authenticated user's profile is fetched.
|
|
28
|
+
* @pattern ^(https://[^\s/?#]+|http://(localhost|127\.0\.0\.1)(:[0-9]+)?)([/?][^\s#]*)?$
|
|
29
|
+
*/
|
|
30
|
+
userinfo_endpoint: string;
|
|
31
|
+
/**
|
|
32
|
+
* Either a literal in case the same client is used in all environments, or a `${{ NAME }}` reference to a variable in case of separate clients per environment.
|
|
33
|
+
* @minLength 1
|
|
34
|
+
* @maxLength 512
|
|
35
|
+
*/
|
|
36
|
+
client_id: string;
|
|
37
|
+
/**
|
|
38
|
+
* A reference to the variable holding the client secret, never the secret itself. A secret may only be referenced as the entire value: text around the placeholder would be rendered into the resolved credential, so it is rejected. The engine resolves it against the environment serving the request.
|
|
39
|
+
* @pattern ^\$\{\{ *[A-Za-z0-9_]+ *\}\}$
|
|
40
|
+
*/
|
|
41
|
+
client_secret: string;
|
|
42
|
+
/** How the client authenticates at the token endpoint. */
|
|
43
|
+
token_endpoint_auth_method?: CreateIdp200DefinitionOauth2TokenEndpointAuthMethod;
|
|
44
|
+
/** Provider-specific; OAuth 2.0 defines no universal scope. */
|
|
45
|
+
scopes?: string[];
|
|
46
|
+
/** Send PKCE (code_challenge/code_verifier). Providers that do not support PKCE typically ignore the parameters, so `true` is safe and future-proofs; set `false` only for a provider whose token endpoint rejects them. */
|
|
47
|
+
pkce_enabled?: boolean;
|
|
48
|
+
/** Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL. */
|
|
49
|
+
static_authorize_parameters?: CreateIdp200DefinitionOauth2StaticAuthorizeParameters;
|
|
50
|
+
/** Provider-specific follow-up call after userinfo. New values are non-breaking. */
|
|
51
|
+
supplementary_fetch?: CreateIdp200DefinitionOauth2SupplementaryFetch;
|
|
52
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Extra provider-specific authorize parameters (for example `prompt`). Engine-owned protocol parameters are reserved and rejected by `propertyNames`: the engine composes them itself, and an override of `state` or `nonce` would silently defeat CSRF and token binding. `client_secret` and `client_assertion` are rejected as they could be appended to the public authorize URL.
|
|
11
|
+
*/
|
|
12
|
+
export type CreateIdp200DefinitionOauth2StaticAuthorizeParameters = { [key: string]: string };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Provider-specific follow-up call after userinfo. New values are non-breaking.
|
|
11
|
+
*/
|
|
12
|
+
export type CreateIdp200DefinitionOauth2SupplementaryFetch =
|
|
13
|
+
(typeof CreateIdp200DefinitionOauth2SupplementaryFetch)[keyof typeof CreateIdp200DefinitionOauth2SupplementaryFetch];
|
|
14
|
+
|
|
15
|
+
export const CreateIdp200DefinitionOauth2SupplementaryFetch = {
|
|
16
|
+
github_primary_email: "github_primary_email",
|
|
17
|
+
} as const;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* How the client authenticates at the token endpoint.
|
|
11
|
+
*/
|
|
12
|
+
export type CreateIdp200DefinitionOauth2TokenEndpointAuthMethod =
|
|
13
|
+
(typeof CreateIdp200DefinitionOauth2TokenEndpointAuthMethod)[keyof typeof CreateIdp200DefinitionOauth2TokenEndpointAuthMethod];
|
|
14
|
+
|
|
15
|
+
export const CreateIdp200DefinitionOauth2TokenEndpointAuthMethod = {
|
|
16
|
+
client_secret_basic: "client_secret_basic",
|
|
17
|
+
client_secret_post: "client_secret_post",
|
|
18
|
+
} as const;
|