@zitadel/api 1.0.0-alpha.25 → 1.0.0-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +609 -147
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +22 -6
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2124 -959
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1750 -465
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1747 -594
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +312 -119
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-C1weUrQx.d.mts → index-Csm0c4Kk.d.mts} +23554 -16767
- package/dist/index-Csm0c4Kk.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +2 -2
- package/dist/runtime/api-factory.mjs +1 -1
- package/dist/runtime/api-factory.mjs.map +1 -1
- package/dist/{zitadelNextGen-KWjI2Uyj.d.mts → zitadelNextGen-DdcvpXYL.d.mts} +376 -115
- package/dist/zitadelNextGen-DdcvpXYL.d.mts.map +1 -0
- package/package.json +9 -8
- package/src/generated/endpoints/zitadelNextGen.faker.ts +75 -70
- package/src/generated/endpoints/zitadelNextGen.msw.ts +162 -34
- package/src/generated/endpoints/zitadelNextGen.ts +795 -177
- package/src/generated/endpoints/zitadelNextGen.zod.ts +1877 -637
- package/src/generated/model/addOrigin201.ts +13 -0
- package/src/generated/model/addOrigin201Kind.ts +15 -0
- package/src/generated/model/addOriginBody.ts +23 -0
- package/src/generated/model/addOriginBodyKind.ts +15 -0
- package/src/generated/model/addOriginDefault.ts +108 -0
- package/src/generated/model/beginUserPasskeyRegistration201.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration400.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration401.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration403.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration404.ts +1 -1
- package/src/generated/model/beginUserPasskeyRegistration500.ts +1 -1
- package/src/generated/model/buildRelease200.ts +96 -0
- package/src/generated/model/buildRelease200Metadata.ts +43 -0
- package/src/generated/model/buildRelease200MetadataCreatedByType.ts +20 -0
- package/src/generated/model/buildRelease200PointersItem.ts +58 -0
- package/src/generated/model/buildRelease200PointersItemKind.ts +27 -0
- package/src/generated/model/buildRelease201.ts +96 -0
- package/src/generated/model/buildRelease201Metadata.ts +43 -0
- package/src/generated/model/buildRelease201MetadataCreatedByType.ts +20 -0
- package/src/generated/model/buildRelease201PointersItem.ts +58 -0
- package/src/generated/model/buildRelease201PointersItemKind.ts +27 -0
- package/src/generated/model/buildRelease400.ts +31 -0
- package/src/generated/model/buildRelease400Details.ts +13 -0
- package/src/generated/model/buildRelease400DetailsResourcesItem.ts +41 -0
- package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +27 -0
- package/src/generated/model/buildReleaseBody.ts +62 -0
- package/src/generated/model/buildReleaseBodyBundle.ts +82 -0
- package/src/generated/model/buildReleaseBodyBundleBranding.ts +78 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +26 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +30 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingShapeDensity.ts +19 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +43 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +34 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +209 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +34 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +209 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingThemeMode.ts +19 -0
- package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +47 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +74 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +20 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +23 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +91 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +47 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +29 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemComplete.ts +20 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +35 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +13 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +19 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemOnSuccess.ts +25 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +48 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +25 -0
- package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +30 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +44 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +12 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +65 -0
- package/src/generated/model/{createIdp200DefinitionOauth2StaticAuthorizeParameters.ts → buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts} +1 -1
- package/src/generated/model/{createIdpBodyIdpOauth2TokenEndpointAuthMethod.ts → buildReleaseBodyBundleIdpsItemOidcTokenEndpointAuthMethod.ts} +2 -2
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProtocol.ts +17 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +15 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioningCreation.ts +15 -0
- package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +12 -0
- package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +85 -0
- package/src/generated/model/buildReleaseDefault.ts +189 -0
- package/src/generated/model/{getEnvironmentByNameParams.ts → buildReleaseParams.ts} +1 -1
- package/src/generated/model/completeClaim400.ts +1 -1
- package/src/generated/model/completeClaim404.ts +1 -1
- package/src/generated/model/completeClaim409.ts +1 -1
- package/src/generated/model/completeClaim429.ts +1 -1
- package/src/generated/model/completeClaimDefault.ts +1 -1
- package/src/generated/model/createAuthAttempt201.ts +4 -4
- package/src/generated/model/createAuthAttempt201ChallengesItem.ts +3 -3
- package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
- package/src/generated/model/createBranding201.ts +1 -1
- package/src/generated/model/createBranding201Branding.ts +4 -4
- package/src/generated/model/createBranding201BrandingShape.ts +1 -1
- package/src/generated/model/createBranding201BrandingTheme.ts +3 -3
- package/src/generated/model/createBranding201BrandingThemeDark.ts +1 -1
- package/src/generated/model/createBranding201BrandingThemeLight.ts +1 -1
- package/src/generated/model/createBranding400.ts +1 -1
- package/src/generated/model/createBrandingBody.ts +4 -4
- package/src/generated/model/createBrandingBodyShape.ts +1 -1
- package/src/generated/model/createBrandingBodyTheme.ts +3 -3
- package/src/generated/model/createBrandingBodyThemeDark.ts +1 -1
- package/src/generated/model/createBrandingBodyThemeLight.ts +1 -1
- package/src/generated/model/createBrandingDefault.ts +1 -1
- package/src/generated/model/createDeployment200.ts +29 -20
- package/src/generated/model/createDeployment200Metadata.ts +18 -27
- package/src/generated/model/createDeployment200MetadataReason.ts +6 -7
- package/src/generated/model/createDeployment200Release.ts +56 -4
- package/src/generated/model/createDeployment200ReleaseMetadata.ts +1 -1
- package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
- package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/createDeployment200TargetsItem.ts +32 -0
- package/src/generated/model/createDeployment201.ts +29 -20
- package/src/generated/model/createDeployment201Metadata.ts +18 -27
- package/src/generated/model/createDeployment201MetadataReason.ts +6 -7
- package/src/generated/model/createDeployment201Release.ts +56 -4
- package/src/generated/model/createDeployment201ReleaseMetadata.ts +1 -1
- package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
- package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/createDeployment201TargetsItem.ts +32 -0
- package/src/generated/model/createDeployment400.ts +27 -0
- package/src/generated/model/createDeployment400Details.ts +22 -0
- package/src/generated/model/createDeployment400DetailsKind.ts +19 -0
- package/src/generated/model/createDeployment409.ts +271 -0
- package/src/generated/model/createDeploymentBody.ts +79 -37
- package/src/generated/model/createDeploymentBodyReason.ts +6 -7
- package/src/generated/model/createDeploymentDefault.ts +2 -29
- package/src/generated/model/createFlow201.ts +2 -2
- package/src/generated/model/createFlow201Branding.ts +4 -4
- package/src/generated/model/createFlow201BrandingShape.ts +1 -1
- package/src/generated/model/createFlow201BrandingTheme.ts +3 -3
- package/src/generated/model/createFlow201BrandingThemeDark.ts +1 -1
- package/src/generated/model/createFlow201BrandingThemeLight.ts +1 -1
- package/src/generated/model/createFlow201Step.ts +12 -11
- package/src/generated/model/createFlow201StepActionsItem.ts +1 -1
- package/src/generated/model/createFlow201StepChallenge.ts +2 -2
- package/src/generated/model/createFlow201StepFieldsItem.ts +11 -2
- package/src/generated/model/createFlow201StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/createFlow201StepGates.ts +2 -2
- package/src/generated/model/createFlow201StepTexts.ts +6 -1
- package/src/generated/model/createFlow400.ts +1 -1
- package/src/generated/model/createFlowBody.ts +2 -2
- package/src/generated/model/createFlowBodyHint.ts +1 -1
- package/src/generated/model/createFlowDefinition201.ts +2 -2
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +11 -7
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
- package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +5 -19
- package/src/generated/model/createFlowDefinition400.ts +1 -1
- package/src/generated/model/createFlowDefinitionBody.ts +1 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +11 -7
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/createGrant201.ts +4 -4
- package/src/generated/model/createGrant201Team.ts +1 -1
- package/src/generated/model/createGrant201User.ts +2 -2
- package/src/generated/model/createGrant201UserMetadata.ts +2 -2
- package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/createGrant400.ts +1 -1
- package/src/generated/model/createGrant401.ts +1 -1
- package/src/generated/model/createGrant403.ts +1 -1
- package/src/generated/model/createGrant404.ts +1 -1
- package/src/generated/model/createGrant409.ts +1 -1
- package/src/generated/model/createGrant429.ts +1 -1
- package/src/generated/model/createGrantBody.ts +3 -3
- package/src/generated/model/createIdp200.ts +1 -1
- package/src/generated/model/createIdp200Definition.ts +10 -13
- package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/createIdp200DefinitionOidc.ts +3 -3
- package/src/generated/model/createIdp200DefinitionProtocol.ts +1 -2
- package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdp201.ts +1 -1
- package/src/generated/model/createIdp201Definition.ts +10 -13
- package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/createIdp201DefinitionOidc.ts +3 -3
- package/src/generated/model/createIdp201DefinitionProtocol.ts +1 -2
- package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
- package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdp400.ts +1 -1
- package/src/generated/model/createIdp401.ts +1 -1
- package/src/generated/model/createIdp403.ts +1 -1
- package/src/generated/model/createIdp404.ts +1 -1
- package/src/generated/model/createIdpBody.ts +1 -1
- package/src/generated/model/createIdpBodyIdp.ts +10 -13
- package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
- package/src/generated/model/createIdpBodyIdpOidc.ts +3 -3
- package/src/generated/model/createIdpBodyIdpProtocol.ts +1 -2
- package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
- package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
- package/src/generated/model/createIdpDefault.ts +9 -0
- package/src/generated/model/createProject201.ts +7 -2
- package/src/generated/model/createProject201OriginsItem.ts +23 -0
- package/src/generated/model/createProject201OriginsItemKind.ts +15 -0
- package/src/generated/model/createProject429.ts +1 -1
- package/src/generated/model/createProjectBody.ts +7 -2
- package/src/generated/model/createProjectBodyOriginsItem.ts +23 -0
- package/src/generated/model/createProjectBodyOriginsItemKind.ts +15 -0
- package/src/generated/model/createProjectDefault.ts +27 -0
- package/src/generated/model/createRelease200.ts +56 -4
- package/src/generated/model/createRelease200Metadata.ts +1 -1
- package/src/generated/model/createRelease200PointersItem.ts +3 -1
- package/src/generated/model/createRelease200PointersItemKind.ts +1 -0
- package/src/generated/model/createRelease201.ts +56 -4
- package/src/generated/model/createRelease201Metadata.ts +1 -1
- package/src/generated/model/createRelease201PointersItem.ts +3 -1
- package/src/generated/model/createRelease201PointersItemKind.ts +1 -0
- package/src/generated/model/createReleaseBody.ts +1 -1
- package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
- package/src/generated/model/createReleaseBodyPointersItemKind.ts +1 -0
- package/src/generated/model/createReleaseDefault.ts +9 -0
- package/src/generated/model/createSchemaBody.ts +5 -19
- package/src/generated/model/createSession201.ts +1 -1
- package/src/generated/model/createSession201Session.ts +5 -5
- package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
- package/src/generated/model/createSession400.ts +1 -1
- package/src/generated/model/createSessionBody.ts +1 -1
- package/src/generated/model/createTeam201.ts +1 -1
- package/src/generated/model/createTeam400.ts +1 -1
- package/src/generated/model/createTeam401.ts +1 -1
- package/src/generated/model/createTeam403.ts +1 -1
- package/src/generated/model/createTeam404.ts +1 -1
- package/src/generated/model/createTeam409.ts +1 -1
- package/src/generated/model/createTeam429.ts +1 -1
- package/src/generated/model/createTeamDefault.ts +1 -1
- package/src/generated/model/createUser201.ts +3 -3
- package/src/generated/model/createUser201Metadata.ts +2 -2
- package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/createUser201TeamsItem.ts +1 -1
- package/src/generated/model/createUser400.ts +1 -1
- package/src/generated/model/createUser401.ts +1 -1
- package/src/generated/model/createUser403.ts +1 -1
- package/src/generated/model/createUser409.ts +1 -1
- package/src/generated/model/createUser500.ts +1 -1
- package/src/generated/model/createUserBody.ts +1 -1
- package/src/generated/model/deleteGrant401.ts +1 -1
- package/src/generated/model/deleteGrant403.ts +1 -1
- package/src/generated/model/deleteGrant404.ts +1 -1
- package/src/generated/model/deleteTeam400.ts +1 -1
- package/src/generated/model/deleteTeam401.ts +1 -1
- package/src/generated/model/deleteTeam403.ts +1 -1
- package/src/generated/model/deleteTeam409.ts +1 -1
- package/src/generated/model/deleteTeamDefault.ts +1 -1
- package/src/generated/model/deleteUserByID401.ts +1 -1
- package/src/generated/model/deleteUserByID404.ts +1 -1
- package/src/generated/model/deleteVariableDefault.ts +1 -1
- package/src/generated/model/deleteVariableKind.ts +15 -0
- package/src/generated/model/deleteVariableParams.ts +4 -8
- package/src/generated/model/exchangeHandoff200.ts +1 -1
- package/src/generated/model/exchangeHandoff200Session.ts +5 -5
- package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
- package/src/generated/model/exchangeHandoff400.ts +1 -1
- package/src/generated/model/exchangeHandoff401.ts +1 -1
- package/src/generated/model/exchangeHandoffBody.ts +2 -1
- package/src/generated/model/finishUserPasskeyRegistration400.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration401.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration403.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration404.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistration500.ts +1 -1
- package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
- package/src/generated/model/getAuthAttempt200.ts +4 -4
- package/src/generated/model/getAuthAttempt200ChallengesItem.ts +3 -3
- package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
- package/src/generated/model/getBrandingById200.ts +1 -1
- package/src/generated/model/getBrandingById200Branding.ts +4 -4
- package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
- package/src/generated/model/getBrandingById200BrandingTheme.ts +3 -3
- package/src/generated/model/getBrandingById200BrandingThemeDark.ts +1 -1
- package/src/generated/model/getBrandingById200BrandingThemeLight.ts +1 -1
- package/src/generated/model/getBrandingById404.ts +1 -1
- package/src/generated/model/getBrandingByIdDefault.ts +1 -1
- package/src/generated/model/getClaimStatus401.ts +1 -1
- package/src/generated/model/getClaimStatus404.ts +1 -1
- package/src/generated/model/getClaimStatus429.ts +1 -1
- package/src/generated/model/getClaimStatusDefault.ts +1 -1
- package/src/generated/model/getClaimWindow404.ts +1 -1
- package/src/generated/model/getClaimWindow429.ts +1 -1
- package/src/generated/model/getClaimWindowDefault.ts +1 -1
- package/src/generated/model/getDeploymentById200.ts +29 -20
- package/src/generated/model/getDeploymentById200Metadata.ts +18 -27
- package/src/generated/model/getDeploymentById200MetadataReason.ts +6 -7
- package/src/generated/model/getDeploymentById200Release.ts +56 -4
- package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +1 -1
- package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +3 -1
- package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/getDeploymentById200TargetsItem.ts +32 -0
- package/src/generated/model/getDeploymentByIdDefault.ts +9 -0
- package/src/generated/model/getDeploymentVariables200.ts +17 -0
- package/src/generated/model/getDeploymentVariablesDefault.ts +81 -0
- package/src/generated/model/getDeploymentVariablesParams.ts +15 -0
- package/src/generated/model/getEvent200.ts +373 -62
- package/src/generated/model/getEvent401.ts +1 -1
- package/src/generated/model/getEvent403.ts +1 -1
- package/src/generated/model/getEvent404.ts +1 -1
- package/src/generated/model/getEventDefault.ts +1 -1
- package/src/generated/model/getFlowDefinition200.ts +2 -2
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +11 -7
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
- package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +5 -19
- package/src/generated/model/getFlowStep200.ts +2 -2
- package/src/generated/model/getFlowStep200Branding.ts +4 -4
- package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
- package/src/generated/model/getFlowStep200BrandingTheme.ts +3 -3
- package/src/generated/model/getFlowStep200BrandingThemeDark.ts +1 -1
- package/src/generated/model/getFlowStep200BrandingThemeLight.ts +1 -1
- package/src/generated/model/getFlowStep200Step.ts +12 -11
- package/src/generated/model/getFlowStep200StepActionsItem.ts +1 -1
- package/src/generated/model/getFlowStep200StepChallenge.ts +2 -2
- package/src/generated/model/getFlowStep200StepFieldsItem.ts +11 -2
- package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/getFlowStep200StepGates.ts +2 -2
- package/src/generated/model/getFlowStep200StepTexts.ts +6 -1
- package/src/generated/model/getFlowStep404.ts +1 -1
- package/src/generated/model/getFlowStep409.ts +1 -1
- package/src/generated/model/getFlowStep410.ts +1 -1
- package/src/generated/model/getFlowStepDefault.ts +28 -10
- package/src/generated/model/getGrant200.ts +4 -4
- package/src/generated/model/getGrant200Team.ts +1 -1
- package/src/generated/model/getGrant200User.ts +2 -2
- package/src/generated/model/getGrant200UserMetadata.ts +2 -2
- package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/getGrant401.ts +1 -1
- package/src/generated/model/getGrant403.ts +1 -1
- package/src/generated/model/getGrant404.ts +1 -1
- package/src/generated/model/getGrantParams.ts +1 -1
- package/src/generated/model/getHealth4xx.ts +1 -1
- package/src/generated/model/getHealthDefault.ts +1 -1
- package/src/generated/model/getIdpById200.ts +1 -1
- package/src/generated/model/getIdpById200Definition.ts +10 -13
- package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionOidc.ts +3 -3
- package/src/generated/model/getIdpById200DefinitionProtocol.ts +1 -2
- package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/getIdpById401.ts +1 -1
- package/src/generated/model/getIdpById403.ts +1 -1
- package/src/generated/model/getIdpById404.ts +1 -1
- package/src/generated/model/getIdpRevisionById200.ts +1 -1
- package/src/generated/model/getIdpRevisionById200Definition.ts +10 -13
- package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +3 -3
- package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +1 -2
- package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
- package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/getIdpRevisionById401.ts +1 -1
- package/src/generated/model/getIdpRevisionById403.ts +1 -1
- package/src/generated/model/getIdpRevisionById404.ts +1 -1
- package/src/generated/model/getLive4xx.ts +1 -1
- package/src/generated/model/getLiveDefault.ts +1 -1
- package/src/generated/model/getMySession200.ts +5 -5
- package/src/generated/model/getMySession200FactorsItem.ts +2 -2
- package/src/generated/model/getMySession403.ts +23 -0
- package/src/generated/model/getMySessionCsrfToken403.ts +23 -0
- package/src/generated/model/getMySessionCsrfTokenDefault.ts +54 -0
- package/src/generated/model/getMySessionCsrfTokenParams.ts +26 -0
- package/src/generated/model/getMySessionDefault.ts +9 -0
- package/src/generated/model/getMySessionParams.ts +26 -0
- package/src/generated/model/getMyUser200.ts +3 -3
- package/src/generated/model/getMyUser200Metadata.ts +2 -2
- package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/getMyUser200TeamsItem.ts +1 -1
- package/src/generated/model/getMyUser401.ts +1 -1
- package/src/generated/model/getMyUser403.ts +23 -0
- package/src/generated/model/getMyUserDefault.ts +1 -1
- package/src/generated/model/getMyUserParams.ts +26 -0
- package/src/generated/model/getMyUserSchema200.ts +31 -0
- package/src/generated/model/getMyUserSchema200Metadata.ts +12 -0
- package/src/generated/model/getMyUserSchema200Schema.ts +83 -0
- package/src/generated/model/getMyUserSchema401.ts +23 -0
- package/src/generated/model/getMyUserSchema403.ts +23 -0
- package/src/generated/model/getMyUserSchema404.ts +23 -0
- package/src/generated/model/{listEnvironmentsDefault.ts → getMyUserSchemaDefault.ts} +5 -5
- package/src/generated/model/getMyUserSchemaParams.ts +26 -0
- package/src/generated/model/getProject200.ts +8 -3
- package/src/generated/model/getProject200OriginsItem.ts +23 -0
- package/src/generated/model/getProject200OriginsItemKind.ts +15 -0
- package/src/generated/model/getProject200PasswordHash.ts +2 -2
- package/src/generated/model/getProject200PasswordHashParams.ts +1 -1
- package/src/generated/model/getProject401.ts +1 -1
- package/src/generated/model/getProject404.ts +1 -1
- package/src/generated/model/getReady4xx.ts +1 -1
- package/src/generated/model/getReadyDefault.ts +1 -1
- package/src/generated/model/getReleaseById200.ts +56 -4
- package/src/generated/model/getReleaseById200Metadata.ts +1 -1
- package/src/generated/model/getReleaseById200PointersItem.ts +3 -1
- package/src/generated/model/getReleaseById200PointersItemKind.ts +1 -0
- package/src/generated/model/getSchemaById200.ts +2 -2
- package/src/generated/model/getSchemaById200Schema.ts +5 -19
- package/src/generated/model/getSession200.ts +5 -5
- package/src/generated/model/getSession200FactorsItem.ts +2 -2
- package/src/generated/model/getSession401.ts +1 -1
- package/src/generated/model/getSession403.ts +1 -1
- package/src/generated/model/getSession404.ts +1 -1
- package/src/generated/model/getTeam200.ts +1 -1
- package/src/generated/model/getTeam401.ts +1 -1
- package/src/generated/model/getTeam404.ts +1 -1
- package/src/generated/model/getTeamDefault.ts +1 -1
- package/src/generated/model/getUserByID200.ts +3 -3
- package/src/generated/model/getUserByID200Metadata.ts +2 -2
- package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/getUserByID200TeamsItem.ts +1 -1
- package/src/generated/model/getUserByID401.ts +1 -1
- package/src/generated/model/getUserByID404.ts +1 -1
- package/src/generated/model/getVariable200.ts +22 -9
- package/src/generated/model/getVariable200Preview.ts +20 -0
- package/src/generated/model/getVariable200Primary.ts +20 -0
- package/src/generated/model/getVariableDefault.ts +0 -9
- package/src/generated/model/getVariableKind.ts +15 -0
- package/src/generated/model/getVariableParams.ts +4 -8
- package/src/generated/model/getVariables200.ts +23 -10
- package/src/generated/model/getVariables200Preview.ts +20 -0
- package/src/generated/model/getVariables200Primary.ts +20 -0
- package/src/generated/model/getVariablesDefault.ts +0 -9
- package/src/generated/model/getVariablesKind.ts +15 -0
- package/src/generated/model/getVariablesParams.ts +4 -8
- package/src/generated/model/index.ts +1299 -1155
- package/src/generated/model/initClaim401.ts +1 -1
- package/src/generated/model/initClaim409.ts +1 -1
- package/src/generated/model/initClaimDefault.ts +1 -1
- package/src/generated/model/issueChallenge201.ts +3 -3
- package/src/generated/model/issueChallengeBody.ts +2 -2
- package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +1 -1
- package/src/generated/model/listBrandingDefault.ts +1 -1
- package/src/generated/model/listDeployments200.ts +4 -5
- package/src/generated/model/listDeployments200DeploymentsItem.ts +29 -20
- package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +18 -27
- package/src/generated/model/listDeployments200DeploymentsItemMetadataReason.ts +6 -7
- package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +56 -4
- package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +1 -1
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +1 -0
- package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +32 -0
- package/src/generated/model/listDeploymentsDefault.ts +2 -2
- package/src/generated/model/listDeploymentsParams.ts +14 -9
- package/src/generated/model/listEvents200.ts +1 -1
- package/src/generated/model/listEvents200DataItem.ts +373 -62
- package/src/generated/model/listEvents400.ts +1 -1
- package/src/generated/model/listEvents401.ts +1 -1
- package/src/generated/model/listEvents403.ts +1 -1
- package/src/generated/model/listEventsDefault.ts +1 -1
- package/src/generated/model/listEventsParams.ts +2 -2
- package/src/generated/model/listFlowDefinitions200.ts +1 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +11 -7
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +8 -9
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +1 -1
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemOnSuccess.ts +3 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +5 -19
- package/src/generated/model/listFlowDefinitions400.ts +1 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +4 -4
- package/src/generated/model/listIdpRevisions200.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItem.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +10 -13
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +3 -3
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProtocol.ts +1 -2
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/listIdpRevisions401.ts +1 -1
- package/src/generated/model/listIdpRevisions403.ts +1 -1
- package/src/generated/model/listIdpRevisions404.ts +1 -1
- package/src/generated/model/listMyProjects200.ts +1 -1
- package/src/generated/model/listMyProjects200ProjectsItem.ts +8 -3
- package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +23 -0
- package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +15 -0
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +2 -2
- package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +1 -1
- package/src/generated/model/listMyProjects400.ts +1 -1
- package/src/generated/model/listMyProjects403.ts +23 -0
- package/src/generated/model/listMyProjects500.ts +1 -1
- package/src/generated/model/listMyProjectsDefault.ts +9 -0
- package/src/generated/model/listMyProjectsParams.ts +16 -0
- package/src/generated/model/{listEnvironments200.ts → listMyTeams200.ts} +4 -4
- package/src/generated/model/listMyTeams200TeamsItem.ts +33 -0
- package/src/generated/model/listMyTeams200TeamsItemMembershipStatus.ts +20 -0
- package/src/generated/model/{exchangeHandoff410.ts → listMyTeams400.ts} +3 -3
- package/src/generated/model/listMyTeams400Details.ts +12 -0
- package/src/generated/model/listMyTeams401.ts +23 -0
- package/src/generated/model/listMyTeams403.ts +23 -0
- package/src/generated/model/{getEnvironmentByNameDefault.ts → listMyTeamsDefault.ts} +5 -5
- package/src/generated/model/listMyTeamsParams.ts +39 -0
- package/src/generated/model/listPreviews200.ts +20 -0
- package/src/generated/model/listPreviews200PreviewsItem.ts +38 -0
- package/src/generated/model/listPreviewsDefault.ts +63 -0
- package/src/generated/model/{listEnvironmentsParams.ts → listPreviewsParams.ts} +1 -6
- package/src/generated/model/listReleases200.ts +1 -1
- package/src/generated/model/listReleases200ReleasesItem.ts +43 -1
- package/src/generated/model/listReleases200ReleasesItemMetadata.ts +1 -1
- package/src/generated/model/listReleasesParams.ts +40 -0
- package/src/generated/model/listSchemas200.ts +1 -1
- package/src/generated/model/listSchemas200SchemasItem.ts +2 -2
- package/src/generated/model/listSchemas200SchemasItemSchema.ts +5 -19
- package/src/generated/model/listSchemasParams.ts +2 -2
- package/src/generated/model/listUserIdentityLinks200.ts +20 -0
- package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +22 -0
- package/src/generated/model/listUserIdentityLinks400.ts +20 -0
- package/src/generated/model/listUserIdentityLinks400Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks401.ts +20 -0
- package/src/generated/model/listUserIdentityLinks401Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks403.ts +20 -0
- package/src/generated/model/listUserIdentityLinks403Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks404.ts +20 -0
- package/src/generated/model/listUserIdentityLinks404Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinks500.ts +20 -0
- package/src/generated/model/listUserIdentityLinks500Details.ts +12 -0
- package/src/generated/model/listUserIdentityLinksDefault.ts +54 -0
- package/src/generated/model/listUserIdentityLinksParams.ts +23 -0
- package/src/generated/model/listUserPasskeys200.ts +1 -1
- package/src/generated/model/listUserPasskeys400.ts +1 -1
- package/src/generated/model/listUserPasskeys401.ts +1 -1
- package/src/generated/model/listUserPasskeys403.ts +1 -1
- package/src/generated/model/listUserPasskeys404.ts +1 -1
- package/src/generated/model/listUserPasskeys500.ts +1 -1
- package/src/generated/model/listUserTeams200.ts +1 -1
- package/src/generated/model/listUserTeams200TeamsItem.ts +1 -1
- package/src/generated/model/listUserTeams400.ts +1 -1
- package/src/generated/model/listUserTeams401.ts +1 -1
- package/src/generated/model/listUserTeams403.ts +1 -1
- package/src/generated/model/listUserTeams404.ts +1 -1
- package/src/generated/model/listUserTeams500.ts +1 -1
- package/src/generated/model/patchMyUser200.ts +3 -3
- package/src/generated/model/patchMyUser200Metadata.ts +2 -2
- package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/patchMyUser200TeamsItem.ts +1 -1
- package/src/generated/model/patchMyUser400.ts +1 -1
- package/src/generated/model/patchMyUser401.ts +1 -1
- package/src/generated/model/patchMyUser403.ts +20 -0
- package/src/generated/model/patchMyUser403Details.ts +12 -0
- package/src/generated/model/patchMyUser409.ts +1 -1
- package/src/generated/model/patchMyUserBody.ts +1 -1
- package/src/generated/model/patchMyUserDefault.ts +1 -1
- package/src/generated/model/patchMyUserParams.ts +26 -0
- package/src/generated/model/patchProject200.ts +8 -3
- package/src/generated/model/patchProject200OriginsItem.ts +23 -0
- package/src/generated/model/patchProject200OriginsItemKind.ts +15 -0
- package/src/generated/model/patchProject200PasswordHash.ts +2 -2
- package/src/generated/model/patchProject200PasswordHashParams.ts +1 -1
- package/src/generated/model/patchProject400.ts +1 -1
- package/src/generated/model/patchProject401.ts +1 -1
- package/src/generated/model/patchProject404.ts +1 -1
- package/src/generated/model/patchProjectBody.ts +1 -1
- package/src/generated/model/patchProjectBodyPasswordHash.ts +2 -2
- package/src/generated/model/patchProjectBodyPasswordHashParams.ts +1 -1
- package/src/generated/model/patchUserByID200.ts +3 -3
- package/src/generated/model/patchUserByID200Metadata.ts +2 -2
- package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/patchUserByID200TeamsItem.ts +1 -1
- package/src/generated/model/patchUserByID400.ts +1 -1
- package/src/generated/model/patchUserByID401.ts +1 -1
- package/src/generated/model/patchUserByID403.ts +1 -1
- package/src/generated/model/patchUserByID404.ts +1 -1
- package/src/generated/model/patchUserByID409.ts +1 -1
- package/src/generated/model/patchUserByIDBody.ts +12 -5
- package/src/generated/model/patchUserByIDDefault.ts +9 -0
- package/src/generated/model/queryGrants200.ts +1 -1
- package/src/generated/model/queryGrants200GrantsItem.ts +4 -4
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +1 -1
- package/src/generated/model/queryGrants200GrantsItemUser.ts +2 -2
- package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +2 -2
- package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/queryGrants400.ts +1 -1
- package/src/generated/model/queryGrants401.ts +1 -1
- package/src/generated/model/queryGrants403.ts +1 -1
- package/src/generated/model/queryGrantsBody.ts +3 -3
- package/src/generated/model/queryGrantsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryGrantsBodySorting.ts +2 -2
- package/src/generated/model/queryIdps200.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItem.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinition.ts +10 -13
- package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +3 -3
- package/src/generated/model/queryIdps200IdpsItemDefinitionProtocol.ts +1 -2
- package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
- package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
- package/src/generated/model/queryIdps400.ts +1 -1
- package/src/generated/model/queryIdps401.ts +1 -1
- package/src/generated/model/queryIdps403.ts +1 -1
- package/src/generated/model/queryIdps404.ts +1 -1
- package/src/generated/model/queryIdpsBody.ts +2 -2
- package/src/generated/model/queryIdpsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryIdpsBodySorting.ts +2 -2
- package/src/generated/model/queryIdpsDefault.ts +9 -0
- package/src/generated/model/queryProjects200.ts +1 -1
- package/src/generated/model/queryProjects200ProjectsItem.ts +8 -3
- package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +23 -0
- package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +15 -0
- package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +2 -2
- package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +1 -1
- package/src/generated/model/queryProjects400.ts +1 -1
- package/src/generated/model/queryProjects401.ts +1 -1
- package/src/generated/model/queryProjects403.ts +1 -1
- package/src/generated/model/queryProjects429.ts +1 -1
- package/src/generated/model/queryProjectsBody.ts +2 -2
- package/src/generated/model/queryProjectsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryProjectsBodySorting.ts +2 -2
- package/src/generated/model/querySessions200.ts +1 -1
- package/src/generated/model/querySessions200SessionsItem.ts +5 -5
- package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
- package/src/generated/model/querySessions400.ts +1 -1
- package/src/generated/model/querySessions401.ts +1 -1
- package/src/generated/model/querySessions403.ts +1 -1
- package/src/generated/model/querySessionsBody.ts +2 -2
- package/src/generated/model/querySessionsBodyFilterItem.ts +2 -2
- package/src/generated/model/querySessionsBodySorting.ts +2 -2
- package/src/generated/model/queryTeams200.ts +1 -1
- package/src/generated/model/queryTeams200TeamsItem.ts +1 -1
- package/src/generated/model/queryTeams400.ts +1 -1
- package/src/generated/model/queryTeams401.ts +1 -1
- package/src/generated/model/queryTeams403.ts +1 -1
- package/src/generated/model/queryTeams404.ts +1 -1
- package/src/generated/model/queryTeams429.ts +1 -1
- package/src/generated/model/queryTeamsBody.ts +2 -2
- package/src/generated/model/queryTeamsBodyFilterItem.ts +2 -2
- package/src/generated/model/queryTeamsBodySorting.ts +2 -2
- package/src/generated/model/queryTeamsDefault.ts +1 -1
- package/src/generated/model/queryUsers200.ts +1 -1
- package/src/generated/model/queryUsers200UsersItem.ts +3 -3
- package/src/generated/model/queryUsers200UsersItemMetadata.ts +2 -2
- package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +1 -1
- package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +1 -1
- package/src/generated/model/queryUsers400.ts +1 -1
- package/src/generated/model/queryUsers401.ts +1 -1
- package/src/generated/model/queryUsers403.ts +1 -1
- package/src/generated/model/queryUsersBody.ts +3 -3
- package/src/generated/model/queryUsersBodyFilterItem.ts +2 -2
- package/src/generated/model/queryUsersBodySorting.ts +2 -2
- package/src/generated/model/removeOriginBody.ts +15 -0
- package/src/generated/model/removeOriginDefault.ts +81 -0
- package/src/generated/model/removePreviewBody.ts +23 -0
- package/src/generated/model/removePreviewDefault.ts +72 -0
- package/src/generated/model/revokeMySession403.ts +20 -0
- package/src/generated/model/{exchangeHandoff410Details.ts → revokeMySession403Details.ts} +1 -1
- package/src/generated/model/revokeMySessionDefault.ts +9 -0
- package/src/generated/model/revokeMySessionParams.ts +26 -0
- package/src/generated/model/revokeRelease200.ts +96 -0
- package/src/generated/model/revokeRelease200Metadata.ts +43 -0
- package/src/generated/model/revokeRelease200MetadataCreatedByType.ts +20 -0
- package/src/generated/model/revokeRelease200PointersItem.ts +58 -0
- package/src/generated/model/revokeRelease200PointersItemKind.ts +27 -0
- package/src/generated/model/revokeRelease409.ts +19 -0
- package/src/generated/model/revokeRelease409Details.ts +16 -0
- package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +17 -0
- package/src/generated/model/revokeReleaseDefault.ts +45 -0
- package/src/generated/model/revokeReleaseParams.ts +15 -0
- package/src/generated/model/revokeSession401.ts +1 -1
- package/src/generated/model/revokeSession403.ts +1 -1
- package/src/generated/model/rollbackDeployment200.ts +71 -0
- package/src/generated/model/rollbackDeployment200Metadata.ts +49 -0
- package/src/generated/model/rollbackDeployment200MetadataDeployedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment200MetadataReason.ts +25 -0
- package/src/generated/model/rollbackDeployment200Release.ts +96 -0
- package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +43 -0
- package/src/generated/model/rollbackDeployment200ReleaseMetadataCreatedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +58 -0
- package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +27 -0
- package/src/generated/model/rollbackDeployment200TargetsItem.ts +32 -0
- package/src/generated/model/rollbackDeployment201.ts +71 -0
- package/src/generated/model/rollbackDeployment201Metadata.ts +49 -0
- package/src/generated/model/rollbackDeployment201MetadataDeployedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment201MetadataReason.ts +25 -0
- package/src/generated/model/rollbackDeployment201Release.ts +96 -0
- package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +43 -0
- package/src/generated/model/rollbackDeployment201ReleaseMetadataCreatedByType.ts +20 -0
- package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +58 -0
- package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +27 -0
- package/src/generated/model/rollbackDeployment201TargetsItem.ts +32 -0
- package/src/generated/model/rollbackDeployment400.ts +20 -0
- package/src/generated/model/rollbackDeployment400Details.ts +12 -0
- package/src/generated/model/rollbackDeployment403.ts +20 -0
- package/src/generated/model/rollbackDeployment403Details.ts +12 -0
- package/src/generated/model/rollbackDeployment409.ts +271 -0
- package/src/generated/model/rollbackDeploymentBody.ts +25 -0
- package/src/generated/model/rollbackDeploymentDefault.ts +72 -0
- package/src/generated/model/rollbackDeploymentParams.ts +15 -0
- package/src/generated/model/setUserPassword400.ts +1 -1
- package/src/generated/model/setUserPassword404.ts +1 -1
- package/src/generated/model/setUserPassword500.ts +1 -1
- package/src/generated/model/submitFlowStep200.ts +2 -2
- package/src/generated/model/submitFlowStep200Branding.ts +4 -4
- package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
- package/src/generated/model/submitFlowStep200BrandingTheme.ts +3 -3
- package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +1 -1
- package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +1 -1
- package/src/generated/model/submitFlowStep200Step.ts +12 -11
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +1 -1
- package/src/generated/model/submitFlowStep200StepChallenge.ts +2 -2
- package/src/generated/model/submitFlowStep200StepFieldsItem.ts +11 -2
- package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/submitFlowStep200StepGates.ts +2 -2
- package/src/generated/model/submitFlowStep200StepTexts.ts +6 -1
- package/src/generated/model/submitFlowStep400.ts +2 -2
- package/src/generated/model/submitFlowStep400Branding.ts +4 -4
- package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
- package/src/generated/model/submitFlowStep400BrandingTheme.ts +3 -3
- package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +1 -1
- package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +1 -1
- package/src/generated/model/submitFlowStep400Step.ts +12 -11
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +1 -1
- package/src/generated/model/submitFlowStep400StepChallenge.ts +2 -2
- package/src/generated/model/submitFlowStep400StepFieldsItem.ts +11 -2
- package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +1 -1
- package/src/generated/model/submitFlowStep400StepGates.ts +2 -2
- package/src/generated/model/submitFlowStep400StepTexts.ts +6 -1
- package/src/generated/model/submitFlowStep409.ts +1 -1
- package/src/generated/model/submitFlowStepBody.ts +8 -3
- package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +1 -1
- package/src/generated/model/submitFlowStepDefault.ts +45 -0
- package/src/generated/model/updateTeam200.ts +1 -1
- package/src/generated/model/updateTeam400.ts +1 -1
- package/src/generated/model/updateTeam401.ts +1 -1
- package/src/generated/model/updateTeam403.ts +1 -1
- package/src/generated/model/updateTeam404.ts +1 -1
- package/src/generated/model/updateTeam409.ts +1 -1
- package/src/generated/model/updateTeamDefault.ts +1 -1
- package/src/generated/model/updateVariables200.ts +23 -10
- package/src/generated/model/updateVariables200Preview.ts +20 -0
- package/src/generated/model/updateVariables200Primary.ts +20 -0
- package/src/generated/model/updateVariablesBody.ts +8 -14
- package/src/generated/model/updateVariablesDefault.ts +19 -1
- package/src/generated/model/updateVariablesKind.ts +15 -0
- package/src/generated/model/updateVariablesParams.ts +4 -8
- package/src/generated/model/userProperty.ts +39 -0
- package/src/generated/model/userPropertyProperties.ts +14 -0
- package/src/generated/model/userPropertyXUnique.ts +19 -0
- package/src/generated/model/verifyChallengeProof200.ts +4 -4
- package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +3 -3
- package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
- package/src/runtime/api-factory.ts +1 -1
- package/src/runtime/base-url.spec.ts +2 -2
- package/dist/index-C1weUrQx.d.mts.map +0 -1
- package/dist/zitadelNextGen-KWjI2Uyj.d.mts.map +0 -1
- package/src/generated/model/createIdp200DefinitionOauth2.ts +0 -55
- package/src/generated/model/createIdp200DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/createIdp200DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/createIdp201DefinitionOauth2.ts +0 -55
- package/src/generated/model/createIdp201DefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/createIdp201DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/createIdp201DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/createIdpBodyIdpOauth2.ts +0 -55
- package/src/generated/model/createIdpBodyIdpOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/createIdpBodyIdpOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/getEnvironmentByName200.ts +0 -41
- package/src/generated/model/getEnvironmentByName200CurrentDeployment.ts +0 -38
- package/src/generated/model/getEnvironmentByName200CurrentDeploymentReason.ts +0 -26
- package/src/generated/model/getIdpById200DefinitionOauth2.ts +0 -55
- package/src/generated/model/getIdpById200DefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/getIdpById200DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/getIdpById200DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2.ts +0 -55
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/getIdpRevisionById200DefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/listEnvironments200EnvironmentsItem.ts +0 -41
- package/src/generated/model/listEnvironments200EnvironmentsItemCurrentDeployment.ts +0 -38
- package/src/generated/model/listEnvironments200EnvironmentsItemCurrentDeploymentReason.ts +0 -26
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2.ts +0 -55
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2.ts +0 -55
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2StaticAuthorizeParameters.ts +0 -12
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2SupplementaryFetch.ts +0 -17
- package/src/generated/model/queryIdps200IdpsItemDefinitionOauth2TokenEndpointAuthMethod.ts +0 -18
|
@@ -16,6 +16,11 @@ export declare const GetLiveResponse: zod.ZodString;
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const GetReadyResponse: zod.ZodString;
|
|
18
18
|
/**
|
|
19
|
+
* Creates a user whose attributes satisfy the user schema the request names.
|
|
20
|
+
*
|
|
21
|
+
* The server assigns the user's id. With `team_id`, the user also becomes an
|
|
22
|
+
* active member of that team. A value the schema marks unique that another
|
|
23
|
+
* user already holds is refused with `409`.
|
|
19
24
|
* @summary Create user
|
|
20
25
|
*/
|
|
21
26
|
export declare const createUserQueryProjectIdRegExp: RegExp;
|
|
@@ -175,6 +180,10 @@ export declare const QueryUsersResponse: zod.ZodObject<{
|
|
|
175
180
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
176
181
|
}, zod.z.core.$strip>;
|
|
177
182
|
/**
|
|
183
|
+
* Returns a user by its id, with the attributes its schema defines.
|
|
184
|
+
*
|
|
185
|
+
* With `team_id`, the user is returned only while they are an active member of
|
|
186
|
+
* that team.
|
|
178
187
|
* @summary Get user by ID
|
|
179
188
|
*/
|
|
180
189
|
export declare const getUserByIDPathUserIdRegExp: RegExp;
|
|
@@ -285,6 +294,11 @@ export declare const PatchUserByIDResponse: zod.ZodObject<{
|
|
|
285
294
|
teams_truncated: zod.ZodOptional<zod.ZodBoolean>;
|
|
286
295
|
}, zod.z.core.$strip>;
|
|
287
296
|
/**
|
|
297
|
+
* Deletes a user and removes them from every team they belong to.
|
|
298
|
+
*
|
|
299
|
+
* The user is removed, not deactivated, and the deletion emits `user.deleted`.
|
|
300
|
+
* With a project secret the request is idempotent: deleting a user that exists
|
|
301
|
+
* in no project succeeds without changing anything.
|
|
288
302
|
* @summary Delete user by ID
|
|
289
303
|
*/
|
|
290
304
|
export declare const deleteUserByIDPathUserIdRegExp: RegExp;
|
|
@@ -293,6 +307,34 @@ export declare const DeleteUserByIDParams: zod.ZodObject<{
|
|
|
293
307
|
}, zod.z.core.$strip>;
|
|
294
308
|
export declare const DeleteUserByIDResponse: zod.ZodVoid;
|
|
295
309
|
/**
|
|
310
|
+
* The identity provider accounts a sign-in linked to the user, oldest first.
|
|
311
|
+
* The provider's subject and claims are never returned.
|
|
312
|
+
* @summary List the provider accounts linked to a user
|
|
313
|
+
*/
|
|
314
|
+
export declare const listUserIdentityLinksPathUserIdRegExp: RegExp;
|
|
315
|
+
export declare const ListUserIdentityLinksParams: zod.ZodObject<{
|
|
316
|
+
user_id: zod.ZodString;
|
|
317
|
+
}, zod.z.core.$strip>;
|
|
318
|
+
export declare const listUserIdentityLinksQueryLimitDefault = 20;
|
|
319
|
+
export declare const listUserIdentityLinksQueryLimitMax = 100;
|
|
320
|
+
export declare const ListUserIdentityLinksQueryParams: zod.ZodObject<{
|
|
321
|
+
limit: zod.ZodDefault<zod.ZodInt>;
|
|
322
|
+
page_token: zod.ZodOptional<zod.ZodString>;
|
|
323
|
+
}, zod.z.core.$strict>;
|
|
324
|
+
export declare const ListUserIdentityLinksResponse: zod.ZodObject<{
|
|
325
|
+
identity_links: zod.ZodArray<zod.ZodObject<{
|
|
326
|
+
id: zod.ZodString;
|
|
327
|
+
connection_id: zod.ZodString;
|
|
328
|
+
created_at: zod.z.ZodISODateTime;
|
|
329
|
+
}, zod.z.core.$strip>>;
|
|
330
|
+
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
331
|
+
}, zod.z.core.$strip>;
|
|
332
|
+
/**
|
|
333
|
+
* Returns the passkeys registered for a user, newest first, paginated with a
|
|
334
|
+
* cursor.
|
|
335
|
+
*
|
|
336
|
+
* Each passkey carries its id, its name and when it was registered, never the
|
|
337
|
+
* credential itself.
|
|
296
338
|
* @summary List user passkeys
|
|
297
339
|
*/
|
|
298
340
|
export declare const listUserPasskeysPathUserIdRegExp: RegExp;
|
|
@@ -359,6 +401,11 @@ export declare const FinishUserPasskeyRegistrationResponse: zod.ZodObject<{
|
|
|
359
401
|
created_at: zod.z.ZodISODateTime;
|
|
360
402
|
}, zod.z.core.$strip>;
|
|
361
403
|
/**
|
|
404
|
+
* Sets a user's password, hashed with the project's current password hashing
|
|
405
|
+
* policy.
|
|
406
|
+
*
|
|
407
|
+
* The new password replaces the current one, and setting it emits
|
|
408
|
+
* `auth.factor.password.set`.
|
|
362
409
|
* @summary Set user password
|
|
363
410
|
*/
|
|
364
411
|
export declare const setUserPasswordPathUserIdRegExp: RegExp;
|
|
@@ -404,8 +451,19 @@ export declare const ListUserTeamsResponse: zod.ZodObject<{
|
|
|
404
451
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
405
452
|
}, zod.z.core.$strip>;
|
|
406
453
|
/**
|
|
454
|
+
* Returns the user signed in to the session that authenticates the request.
|
|
455
|
+
*
|
|
456
|
+
* The project and the user both come from the session cookie, so a caller only
|
|
457
|
+
* ever reads their own user.
|
|
458
|
+
*
|
|
459
|
+
* With `project_id`, the user is returned only when the session belongs to
|
|
460
|
+
* that project.
|
|
407
461
|
* @summary Get my user information
|
|
408
462
|
*/
|
|
463
|
+
export declare const getMyUserQueryProjectIdRegExp: RegExp;
|
|
464
|
+
export declare const GetMyUserQueryParams: zod.ZodObject<{
|
|
465
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
466
|
+
}, zod.z.core.$strict>;
|
|
409
467
|
export declare const getMyUserResponseIdRegExp: RegExp;
|
|
410
468
|
export declare const GetMyUserResponse: zod.ZodObject<{
|
|
411
469
|
id: zod.ZodString;
|
|
@@ -452,8 +510,15 @@ export declare const GetMyUserResponse: zod.ZodObject<{
|
|
|
452
510
|
* Partially updates the caller's own schema-defined attributes. The merged
|
|
453
511
|
* result is validated against the user's schema before commit. Concurrent
|
|
454
512
|
* writes are last-write-wins.
|
|
513
|
+
*
|
|
514
|
+
* With `project_id`, the user is updated only when the session belongs to
|
|
515
|
+
* that project.
|
|
455
516
|
* @summary Update my user information
|
|
456
517
|
*/
|
|
518
|
+
export declare const patchMyUserQueryProjectIdRegExp: RegExp;
|
|
519
|
+
export declare const PatchMyUserQueryParams: zod.ZodObject<{
|
|
520
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
521
|
+
}, zod.z.core.$strict>;
|
|
457
522
|
export declare const PatchMyUserBody: zod.ZodObject<{
|
|
458
523
|
attributes: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
|
|
459
524
|
}, zod.z.core.$strip>;
|
|
@@ -507,19 +572,31 @@ export declare const PatchMyUserResponse: zod.ZodObject<{
|
|
|
507
572
|
* This is not the same question as `queryProjects`, which answers with the one
|
|
508
573
|
* project the calling credential is bound to. Here the session is the caller
|
|
509
574
|
* and the grants are the answer, so the list spans projects.
|
|
575
|
+
*
|
|
576
|
+
* With `project_id`, the projects are listed only when the session belongs to
|
|
577
|
+
* that project. It names the project the session was signed in to, not one to
|
|
578
|
+
* list.
|
|
510
579
|
* @summary List the projects I can act on
|
|
511
580
|
*/
|
|
512
581
|
export declare const listMyProjectsQueryLimitDefault = 20;
|
|
513
582
|
export declare const listMyProjectsQueryLimitMax = 100;
|
|
583
|
+
export declare const listMyProjectsQueryProjectIdRegExp: RegExp;
|
|
514
584
|
export declare const ListMyProjectsQueryParams: zod.ZodObject<{
|
|
515
585
|
limit: zod.ZodDefault<zod.ZodInt>;
|
|
516
586
|
page_token: zod.ZodOptional<zod.ZodString>;
|
|
587
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
517
588
|
}, zod.z.core.$strict>;
|
|
518
589
|
export declare const ListMyProjectsResponse: zod.ZodObject<{
|
|
519
590
|
projects: zod.ZodArray<zod.ZodObject<{
|
|
520
591
|
id: zod.ZodString;
|
|
521
592
|
name: zod.ZodString;
|
|
522
|
-
|
|
593
|
+
origins: zod.ZodArray<zod.ZodObject<{
|
|
594
|
+
pattern: zod.ZodString;
|
|
595
|
+
kind: zod.ZodEnum<{
|
|
596
|
+
primary: "primary";
|
|
597
|
+
preview: "preview";
|
|
598
|
+
}>;
|
|
599
|
+
}, zod.z.core.$strip>>;
|
|
523
600
|
created_at: zod.z.ZodISODateTime;
|
|
524
601
|
updated_at: zod.z.ZodISODateTime;
|
|
525
602
|
password_hash: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -549,6 +626,92 @@ export declare const ListMyProjectsResponse: zod.ZodObject<{
|
|
|
549
626
|
}, zod.z.core.$strip>>;
|
|
550
627
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
551
628
|
}, zod.z.core.$strip>;
|
|
629
|
+
/**
|
|
630
|
+
* The schema the signed-in user's own record is validated against.
|
|
631
|
+
*
|
|
632
|
+
* With `project_id`, the schema is returned only when the session belongs to
|
|
633
|
+
* that project.
|
|
634
|
+
* @summary Get my user schema
|
|
635
|
+
*/
|
|
636
|
+
export declare const getMyUserSchemaQueryProjectIdRegExp: RegExp;
|
|
637
|
+
export declare const GetMyUserSchemaQueryParams: zod.ZodObject<{
|
|
638
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
639
|
+
}, zod.z.core.$strict>;
|
|
640
|
+
export declare const getMyUserSchemaResponseSchemaOneObjectTypeMax = 256;
|
|
641
|
+
export declare const getMyUserSchemaResponseSchemaOneMetaSchemaMax = 1024;
|
|
642
|
+
export declare const getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemMax = 64;
|
|
643
|
+
export declare const getMyUserSchemaResponseSchemaOneXAuthMethodsSsoProvidersItemRegExp: RegExp;
|
|
644
|
+
export declare const getMyUserSchemaResponseSchemaOnePropertiesXAuditDefault = false;
|
|
645
|
+
export declare const GetMyUserSchemaResponse: zod.ZodObject<{
|
|
646
|
+
id: zod.ZodString;
|
|
647
|
+
schema: zod.ZodObject<{
|
|
648
|
+
objectType: zod.ZodString;
|
|
649
|
+
kind: zod.ZodLiteral<"user-schema">;
|
|
650
|
+
metaSchema: zod.ZodURL;
|
|
651
|
+
"x-auth-methods": zod.ZodObject<{
|
|
652
|
+
password: zod.ZodOptional<zod.ZodObject<{
|
|
653
|
+
enabled: zod.ZodBoolean;
|
|
654
|
+
}, zod.z.core.$strip>>;
|
|
655
|
+
passkey: zod.ZodOptional<zod.ZodObject<{
|
|
656
|
+
enabled: zod.ZodBoolean;
|
|
657
|
+
}, zod.z.core.$strip>>;
|
|
658
|
+
magic_link: zod.ZodOptional<zod.ZodObject<{
|
|
659
|
+
enabled: zod.ZodBoolean;
|
|
660
|
+
}, zod.z.core.$strip>>;
|
|
661
|
+
sso: zod.ZodOptional<zod.ZodObject<{
|
|
662
|
+
enabled: zod.ZodBoolean;
|
|
663
|
+
providers: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
664
|
+
}, zod.z.core.$strip>>;
|
|
665
|
+
otp: zod.ZodOptional<zod.ZodObject<{
|
|
666
|
+
enabled: zod.ZodBoolean;
|
|
667
|
+
}, zod.z.core.$strip>>;
|
|
668
|
+
}, zod.z.core.$strip>;
|
|
669
|
+
"x-identifier": zod.ZodOptional<zod.ZodString>;
|
|
670
|
+
"x-display": zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
671
|
+
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
672
|
+
"x-unique": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
673
|
+
unspecified: "unspecified";
|
|
674
|
+
project: "project";
|
|
675
|
+
team: "team";
|
|
676
|
+
}>, zod.ZodNull]>>;
|
|
677
|
+
"x-claim": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
678
|
+
"x-audit": zod.ZodDefault<zod.ZodBoolean>;
|
|
679
|
+
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
680
|
+
}, zod.z.core.$strip>>>;
|
|
681
|
+
}, zod.z.core.$strip>;
|
|
682
|
+
metadata: zod.ZodObject<{
|
|
683
|
+
created_at: zod.z.ZodISODateTime;
|
|
684
|
+
}, zod.z.core.$strip>;
|
|
685
|
+
}, zod.z.core.$strip>;
|
|
686
|
+
/**
|
|
687
|
+
* The signed-in user's own team roster, ordered by team name.
|
|
688
|
+
*
|
|
689
|
+
* With `project_id`, the teams are listed only when the session belongs to
|
|
690
|
+
* that project.
|
|
691
|
+
* @summary List the teams I belong to
|
|
692
|
+
*/
|
|
693
|
+
export declare const listMyTeamsQueryLimitDefault = 20;
|
|
694
|
+
export declare const listMyTeamsQueryLimitMax = 100;
|
|
695
|
+
export declare const listMyTeamsQueryProjectIdRegExp: RegExp;
|
|
696
|
+
export declare const ListMyTeamsQueryParams: zod.ZodObject<{
|
|
697
|
+
limit: zod.ZodDefault<zod.ZodInt>;
|
|
698
|
+
page_token: zod.ZodOptional<zod.ZodString>;
|
|
699
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
700
|
+
}, zod.z.core.$strict>;
|
|
701
|
+
export declare const ListMyTeamsResponse: zod.ZodObject<{
|
|
702
|
+
teams: zod.ZodArray<zod.ZodObject<{
|
|
703
|
+
id: zod.ZodString;
|
|
704
|
+
name: zod.ZodString;
|
|
705
|
+
membership_status: zod.ZodEnum<{
|
|
706
|
+
active: "active";
|
|
707
|
+
pending: "pending";
|
|
708
|
+
inactive: "inactive";
|
|
709
|
+
}>;
|
|
710
|
+
created_at: zod.z.ZodISODateTime;
|
|
711
|
+
updated_at: zod.z.ZodISODateTime;
|
|
712
|
+
}, zod.z.core.$strip>>;
|
|
713
|
+
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
714
|
+
}, zod.z.core.$strip>;
|
|
552
715
|
/**
|
|
553
716
|
* Resolves a flow definition based on purpose + audience context and returns
|
|
554
717
|
* the first capability step. Creates a new session implicitly unless
|
|
@@ -592,6 +755,7 @@ export declare const CreateFlowBody: zod.ZodObject<{
|
|
|
592
755
|
}, zod.z.core.$strip>>;
|
|
593
756
|
}, zod.z.core.$strip>;
|
|
594
757
|
export declare const createFlowResponseStepFieldsItemRequiredDefault = false;
|
|
758
|
+
export declare const createFlowResponseStepFieldsItemReadOnlyDefault = false;
|
|
595
759
|
export declare const createFlowResponseStepFieldsItemValidationMinLengthMin = 0;
|
|
596
760
|
export declare const createFlowResponseStepFieldsItemValidationMaxLengthMin = 0;
|
|
597
761
|
export declare const createFlowResponseStepFieldsDefault: never[];
|
|
@@ -701,6 +865,7 @@ export declare const CreateFlowResponse: zod.ZodObject<{
|
|
|
701
865
|
autocomplete: zod.ZodOptional<zod.ZodString>;
|
|
702
866
|
required: zod.ZodDefault<zod.ZodBoolean>;
|
|
703
867
|
value: zod.ZodOptional<zod.ZodUnknown>;
|
|
868
|
+
read_only: zod.ZodDefault<zod.ZodBoolean>;
|
|
704
869
|
validation: zod.ZodOptional<zod.ZodObject<{
|
|
705
870
|
format: zod.ZodOptional<zod.ZodEnum<{
|
|
706
871
|
email: "email";
|
|
@@ -720,8 +885,8 @@ export declare const CreateFlowResponse: zod.ZodObject<{
|
|
|
720
885
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
721
886
|
name: zod.ZodString;
|
|
722
887
|
kind: zod.ZodEnum<{
|
|
723
|
-
submit: "submit";
|
|
724
888
|
passkey: "passkey";
|
|
889
|
+
submit: "submit";
|
|
725
890
|
passkey_register: "passkey_register";
|
|
726
891
|
navigate: "navigate";
|
|
727
892
|
back: "back";
|
|
@@ -833,6 +998,7 @@ export declare const GetFlowStepParams: zod.ZodObject<{
|
|
|
833
998
|
id: zod.ZodString;
|
|
834
999
|
}, zod.z.core.$strip>;
|
|
835
1000
|
export declare const getFlowStepResponseStepFieldsItemRequiredDefault = false;
|
|
1001
|
+
export declare const getFlowStepResponseStepFieldsItemReadOnlyDefault = false;
|
|
836
1002
|
export declare const getFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;
|
|
837
1003
|
export declare const getFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;
|
|
838
1004
|
export declare const getFlowStepResponseStepFieldsDefault: never[];
|
|
@@ -942,6 +1108,7 @@ export declare const GetFlowStepResponse: zod.ZodObject<{
|
|
|
942
1108
|
autocomplete: zod.ZodOptional<zod.ZodString>;
|
|
943
1109
|
required: zod.ZodDefault<zod.ZodBoolean>;
|
|
944
1110
|
value: zod.ZodOptional<zod.ZodUnknown>;
|
|
1111
|
+
read_only: zod.ZodDefault<zod.ZodBoolean>;
|
|
945
1112
|
validation: zod.ZodOptional<zod.ZodObject<{
|
|
946
1113
|
format: zod.ZodOptional<zod.ZodEnum<{
|
|
947
1114
|
email: "email";
|
|
@@ -961,8 +1128,8 @@ export declare const GetFlowStepResponse: zod.ZodObject<{
|
|
|
961
1128
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
962
1129
|
name: zod.ZodString;
|
|
963
1130
|
kind: zod.ZodEnum<{
|
|
964
|
-
submit: "submit";
|
|
965
1131
|
passkey: "passkey";
|
|
1132
|
+
submit: "submit";
|
|
966
1133
|
passkey_register: "passkey_register";
|
|
967
1134
|
navigate: "navigate";
|
|
968
1135
|
back: "back";
|
|
@@ -1137,6 +1304,7 @@ export declare const SubmitFlowStepBody: zod.ZodObject<{
|
|
|
1137
1304
|
return_target: zod.ZodOptional<zod.ZodString>;
|
|
1138
1305
|
}, zod.z.core.$strip>;
|
|
1139
1306
|
export declare const submitFlowStepResponseStepFieldsItemRequiredDefault = false;
|
|
1307
|
+
export declare const submitFlowStepResponseStepFieldsItemReadOnlyDefault = false;
|
|
1140
1308
|
export declare const submitFlowStepResponseStepFieldsItemValidationMinLengthMin = 0;
|
|
1141
1309
|
export declare const submitFlowStepResponseStepFieldsItemValidationMaxLengthMin = 0;
|
|
1142
1310
|
export declare const submitFlowStepResponseStepFieldsDefault: never[];
|
|
@@ -1246,6 +1414,7 @@ export declare const SubmitFlowStepResponse: zod.ZodObject<{
|
|
|
1246
1414
|
autocomplete: zod.ZodOptional<zod.ZodString>;
|
|
1247
1415
|
required: zod.ZodDefault<zod.ZodBoolean>;
|
|
1248
1416
|
value: zod.ZodOptional<zod.ZodUnknown>;
|
|
1417
|
+
read_only: zod.ZodDefault<zod.ZodBoolean>;
|
|
1249
1418
|
validation: zod.ZodOptional<zod.ZodObject<{
|
|
1250
1419
|
format: zod.ZodOptional<zod.ZodEnum<{
|
|
1251
1420
|
email: "email";
|
|
@@ -1265,8 +1434,8 @@ export declare const SubmitFlowStepResponse: zod.ZodObject<{
|
|
|
1265
1434
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
1266
1435
|
name: zod.ZodString;
|
|
1267
1436
|
kind: zod.ZodEnum<{
|
|
1268
|
-
submit: "submit";
|
|
1269
1437
|
passkey: "passkey";
|
|
1438
|
+
submit: "submit";
|
|
1270
1439
|
passkey_register: "passkey_register";
|
|
1271
1440
|
navigate: "navigate";
|
|
1272
1441
|
back: "back";
|
|
@@ -1785,12 +1954,24 @@ export declare const CreateHandoffResponse: zod.ZodObject<{
|
|
|
1785
1954
|
expires_at: zod.z.ZodISODateTime;
|
|
1786
1955
|
}, zod.z.core.$strip>;
|
|
1787
1956
|
/**
|
|
1957
|
+
* Creates a project and returns its project secret and preview secret, which no
|
|
1958
|
+
* other endpoint returns.
|
|
1959
|
+
*
|
|
1960
|
+
* The request needs no credential and is rate-limited. Unless `seed_defaults` is
|
|
1961
|
+
* `false`, the project starts with a default user schema and flow; the CLI turns
|
|
1962
|
+
* that off and uploads its own from `.zitadel/`.
|
|
1788
1963
|
* @summary Create project
|
|
1789
1964
|
*/
|
|
1790
1965
|
export declare const createProjectBodySeedDefaultsDefault = true;
|
|
1791
1966
|
export declare const CreateProjectBody: zod.ZodObject<{
|
|
1792
1967
|
name: zod.ZodString;
|
|
1793
|
-
|
|
1968
|
+
origins: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1969
|
+
pattern: zod.ZodString;
|
|
1970
|
+
kind: zod.ZodEnum<{
|
|
1971
|
+
primary: "primary";
|
|
1972
|
+
preview: "preview";
|
|
1973
|
+
}>;
|
|
1974
|
+
}, zod.z.core.$strip>>>;
|
|
1794
1975
|
seed_defaults: zod.ZodDefault<zod.ZodBoolean>;
|
|
1795
1976
|
}, zod.z.core.$strip>;
|
|
1796
1977
|
export declare const CreateProjectResponse: zod.ZodObject<{
|
|
@@ -1798,10 +1979,22 @@ export declare const CreateProjectResponse: zod.ZodObject<{
|
|
|
1798
1979
|
name: zod.ZodString;
|
|
1799
1980
|
project_secret: zod.ZodString;
|
|
1800
1981
|
preview_secret: zod.ZodString;
|
|
1801
|
-
|
|
1982
|
+
origins: zod.ZodArray<zod.ZodObject<{
|
|
1983
|
+
pattern: zod.ZodString;
|
|
1984
|
+
kind: zod.ZodEnum<{
|
|
1985
|
+
primary: "primary";
|
|
1986
|
+
preview: "preview";
|
|
1987
|
+
}>;
|
|
1988
|
+
}, zod.z.core.$strip>>;
|
|
1802
1989
|
created_at: zod.z.ZodISODateTime;
|
|
1803
1990
|
}, zod.z.core.$strip>;
|
|
1804
1991
|
/**
|
|
1992
|
+
* Returns the project the project secret belongs to, as a page of at most one
|
|
1993
|
+
* project.
|
|
1994
|
+
*
|
|
1995
|
+
* A credential is scoped to one project until ADR 036 widens it, so the filters
|
|
1996
|
+
* and sorting apply to that project alone. The projects a signed-in person can
|
|
1997
|
+
* act on are listed by `GET /users/me/projects`.
|
|
1805
1998
|
* @summary Query projects
|
|
1806
1999
|
*/
|
|
1807
2000
|
export declare const queryProjectsBodyLimitDefault = 20;
|
|
@@ -1839,7 +2032,13 @@ export declare const QueryProjectsResponse: zod.ZodObject<{
|
|
|
1839
2032
|
projects: zod.ZodArray<zod.ZodObject<{
|
|
1840
2033
|
id: zod.ZodString;
|
|
1841
2034
|
name: zod.ZodString;
|
|
1842
|
-
|
|
2035
|
+
origins: zod.ZodArray<zod.ZodObject<{
|
|
2036
|
+
pattern: zod.ZodString;
|
|
2037
|
+
kind: zod.ZodEnum<{
|
|
2038
|
+
primary: "primary";
|
|
2039
|
+
preview: "preview";
|
|
2040
|
+
}>;
|
|
2041
|
+
}, zod.z.core.$strip>>;
|
|
1843
2042
|
created_at: zod.z.ZodISODateTime;
|
|
1844
2043
|
updated_at: zod.z.ZodISODateTime;
|
|
1845
2044
|
password_hash: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -1880,7 +2079,13 @@ export declare const GetProjectParams: zod.ZodObject<{
|
|
|
1880
2079
|
export declare const GetProjectResponse: zod.ZodObject<{
|
|
1881
2080
|
id: zod.ZodString;
|
|
1882
2081
|
name: zod.ZodString;
|
|
1883
|
-
|
|
2082
|
+
origins: zod.ZodArray<zod.ZodObject<{
|
|
2083
|
+
pattern: zod.ZodString;
|
|
2084
|
+
kind: zod.ZodEnum<{
|
|
2085
|
+
primary: "primary";
|
|
2086
|
+
preview: "preview";
|
|
2087
|
+
}>;
|
|
2088
|
+
}, zod.z.core.$strip>>;
|
|
1884
2089
|
created_at: zod.z.ZodISODateTime;
|
|
1885
2090
|
updated_at: zod.z.ZodISODateTime;
|
|
1886
2091
|
password_hash: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -1946,7 +2151,13 @@ export declare const PatchProjectBody: zod.ZodObject<{
|
|
|
1946
2151
|
export declare const PatchProjectResponse: zod.ZodObject<{
|
|
1947
2152
|
id: zod.ZodString;
|
|
1948
2153
|
name: zod.ZodString;
|
|
1949
|
-
|
|
2154
|
+
origins: zod.ZodArray<zod.ZodObject<{
|
|
2155
|
+
pattern: zod.ZodString;
|
|
2156
|
+
kind: zod.ZodEnum<{
|
|
2157
|
+
primary: "primary";
|
|
2158
|
+
preview: "preview";
|
|
2159
|
+
}>;
|
|
2160
|
+
}, zod.z.core.$strip>>;
|
|
1950
2161
|
created_at: zod.z.ZodISODateTime;
|
|
1951
2162
|
updated_at: zod.z.ZodISODateTime;
|
|
1952
2163
|
password_hash: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
@@ -2067,6 +2278,94 @@ export declare const GetClaimWindowResponse: zod.ZodObject<{
|
|
|
2067
2278
|
expires_at: zod.z.ZodISODateTime;
|
|
2068
2279
|
expired: zod.ZodBoolean;
|
|
2069
2280
|
}, zod.z.core.$strip>;
|
|
2281
|
+
/**
|
|
2282
|
+
* Adds one `{pattern, kind}` to the project's origins. A primary pattern
|
|
2283
|
+
* must be an exact URL (no wildcard). Preview patterns may include a single
|
|
2284
|
+
* DNS-label wildcard. Adding a pattern that already exists with the same
|
|
2285
|
+
* kind is idempotent and answers 201 with the stored origin.
|
|
2286
|
+
* @summary Add an origin pattern
|
|
2287
|
+
*/
|
|
2288
|
+
export declare const addOriginPathProjectIdRegExp: RegExp;
|
|
2289
|
+
export declare const AddOriginParams: zod.ZodObject<{
|
|
2290
|
+
project_id: zod.ZodString;
|
|
2291
|
+
}, zod.z.core.$strip>;
|
|
2292
|
+
export declare const AddOriginBody: zod.ZodObject<{
|
|
2293
|
+
pattern: zod.ZodString;
|
|
2294
|
+
kind: zod.ZodEnum<{
|
|
2295
|
+
primary: "primary";
|
|
2296
|
+
preview: "preview";
|
|
2297
|
+
}>;
|
|
2298
|
+
}, zod.z.core.$strip>;
|
|
2299
|
+
export declare const AddOriginResponse: zod.ZodObject<{
|
|
2300
|
+
pattern: zod.ZodString;
|
|
2301
|
+
kind: zod.ZodEnum<{
|
|
2302
|
+
primary: "primary";
|
|
2303
|
+
preview: "preview";
|
|
2304
|
+
}>;
|
|
2305
|
+
}, zod.z.core.$strip>;
|
|
2306
|
+
/**
|
|
2307
|
+
* Removes one pattern from the project's origins. Requests from URLs only
|
|
2308
|
+
* that pattern admitted are refused from then on; live previews and
|
|
2309
|
+
* deployment history are untouched. Removing a pattern that is already
|
|
2310
|
+
* absent is idempotent and answers 204.
|
|
2311
|
+
* @summary Remove an origin pattern
|
|
2312
|
+
*/
|
|
2313
|
+
export declare const removeOriginPathProjectIdRegExp: RegExp;
|
|
2314
|
+
export declare const RemoveOriginParams: zod.ZodObject<{
|
|
2315
|
+
project_id: zod.ZodString;
|
|
2316
|
+
}, zod.z.core.$strip>;
|
|
2317
|
+
export declare const RemoveOriginBody: zod.ZodObject<{
|
|
2318
|
+
pattern: zod.ZodString;
|
|
2319
|
+
}, zod.z.core.$strip>;
|
|
2320
|
+
export declare const RemoveOriginResponse: zod.ZodVoid;
|
|
2321
|
+
/**
|
|
2322
|
+
* Lists the project's live previews, newest first by `created_at`. An
|
|
2323
|
+
* expired or removed preview is not listed; what was deployed to it stays
|
|
2324
|
+
* in `GET /deployments`.
|
|
2325
|
+
* @summary List previews
|
|
2326
|
+
*/
|
|
2327
|
+
export declare const listPreviewsPathProjectIdRegExp: RegExp;
|
|
2328
|
+
export declare const ListPreviewsParams: zod.ZodObject<{
|
|
2329
|
+
project_id: zod.ZodString;
|
|
2330
|
+
}, zod.z.core.$strip>;
|
|
2331
|
+
export declare const listPreviewsQueryLimitDefault = 20;
|
|
2332
|
+
export declare const listPreviewsQueryLimitMax = 100;
|
|
2333
|
+
export declare const ListPreviewsQueryParams: zod.ZodObject<{
|
|
2334
|
+
limit: zod.ZodDefault<zod.ZodInt>;
|
|
2335
|
+
page_token: zod.ZodOptional<zod.ZodString>;
|
|
2336
|
+
}, zod.z.core.$strict>;
|
|
2337
|
+
export declare const listPreviewsResponsePreviewsItemOriginMax = 2048;
|
|
2338
|
+
export declare const listPreviewsResponsePreviewsItemOriginRegExp: RegExp;
|
|
2339
|
+
export declare const ListPreviewsResponse: zod.ZodObject<{
|
|
2340
|
+
previews: zod.ZodArray<zod.ZodObject<{
|
|
2341
|
+
origin: zod.ZodString;
|
|
2342
|
+
expires_at: zod.z.ZodISODateTime;
|
|
2343
|
+
created_at: zod.z.ZodISODateTime;
|
|
2344
|
+
}, zod.z.core.$strip>>;
|
|
2345
|
+
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
2346
|
+
}, zod.z.core.$strip>;
|
|
2347
|
+
/**
|
|
2348
|
+
* Ends a preview before it expires: the URL stops being served at once.
|
|
2349
|
+
* The deployments to it stay in the history.
|
|
2350
|
+
*
|
|
2351
|
+
* Idempotent: a URL with no live preview, including one that has already
|
|
2352
|
+
* expired or was removed before, answers `204` too, so a cleanup that
|
|
2353
|
+
* races the expiry still succeeds.
|
|
2354
|
+
*
|
|
2355
|
+
* The URL travels in the body rather than the path because an origin
|
|
2356
|
+
* contains `/`.
|
|
2357
|
+
* @summary Remove a preview
|
|
2358
|
+
*/
|
|
2359
|
+
export declare const removePreviewPathProjectIdRegExp: RegExp;
|
|
2360
|
+
export declare const RemovePreviewParams: zod.ZodObject<{
|
|
2361
|
+
project_id: zod.ZodString;
|
|
2362
|
+
}, zod.z.core.$strip>;
|
|
2363
|
+
export declare const removePreviewBodyOriginMax = 2048;
|
|
2364
|
+
export declare const removePreviewBodyOriginRegExp: RegExp;
|
|
2365
|
+
export declare const RemovePreviewBody: zod.ZodObject<{
|
|
2366
|
+
origin: zod.ZodString;
|
|
2367
|
+
}, zod.z.core.$strip>;
|
|
2368
|
+
export declare const RemovePreviewResponse: zod.ZodVoid;
|
|
2070
2369
|
/**
|
|
2071
2370
|
* Creates an anonymous session shell with no user and no factors (`state: building`).
|
|
2072
2371
|
*
|
|
@@ -2458,11 +2757,17 @@ export declare const RevokeSessionResponse: zod.ZodVoid;
|
|
|
2458
2757
|
* Returns the current state of the current session including its factors and all currently
|
|
2459
2758
|
* satisfied assurance levels.
|
|
2460
2759
|
*
|
|
2760
|
+
* With `project_id`, the session is returned only when it belongs to that project.
|
|
2761
|
+
*
|
|
2461
2762
|
* `assurance_levels[]` may shrink over time as factor freshness windows expire,
|
|
2462
2763
|
* without the session itself expiring. Use step-up authentication (a new `auth_attempt`
|
|
2463
2764
|
* against the same `session_id`) to restore a dropped assurance level.
|
|
2464
2765
|
* @summary Get my session state
|
|
2465
2766
|
*/
|
|
2767
|
+
export declare const getMySessionQueryProjectIdRegExp: RegExp;
|
|
2768
|
+
export declare const GetMySessionQueryParams: zod.ZodObject<{
|
|
2769
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
2770
|
+
}, zod.z.core.$strict>;
|
|
2466
2771
|
export declare const getMySessionResponseSessionIdRegExp: RegExp;
|
|
2467
2772
|
export declare const getMySessionResponseProjectIdRegExp: RegExp;
|
|
2468
2773
|
export declare const getMySessionResponseUserIdOneRegExp: RegExp;
|
|
@@ -2527,11 +2832,19 @@ export declare const GetMySessionResponse: zod.ZodObject<{
|
|
|
2527
2832
|
* Logs out by permanently deleting the session.
|
|
2528
2833
|
*
|
|
2529
2834
|
* The `__nextgen_session` cookie issued at creation (or superseded by a handoff
|
|
2530
|
-
* exchange) is required
|
|
2531
|
-
*
|
|
2532
|
-
*
|
|
2835
|
+
* exchange) is required, with the session's token from `GET /sessions/me/csrf`
|
|
2836
|
+
* in the `X-Zitadel-CSRF` header. Idempotent: if the session is already gone
|
|
2837
|
+
* this still returns 204. Any tokens derived from the session are invalidated,
|
|
2838
|
+
* and the cookie itself is cleared in the response.
|
|
2839
|
+
*
|
|
2840
|
+
* With `project_id`, only a session of that project is deleted. A session of
|
|
2841
|
+
* another project is left alone, and so is its cookie.
|
|
2533
2842
|
* @summary Revoke my session
|
|
2534
2843
|
*/
|
|
2844
|
+
export declare const revokeMySessionQueryProjectIdRegExp: RegExp;
|
|
2845
|
+
export declare const RevokeMySessionQueryParams: zod.ZodObject<{
|
|
2846
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
2847
|
+
}, zod.z.core.$strict>;
|
|
2535
2848
|
export declare const RevokeMySessionResponse: zod.ZodVoid;
|
|
2536
2849
|
/**
|
|
2537
2850
|
* Returns the session-bound token for cross-site request forgery protection
|
|
@@ -2541,8 +2854,15 @@ export declare const RevokeMySessionResponse: zod.ZodVoid;
|
|
|
2541
2854
|
* HttpOnly cookie is still the credential, and a cross-site page cannot
|
|
2542
2855
|
* read this response. It stays the same for the life of the session, so a
|
|
2543
2856
|
* client fetches it once per session.
|
|
2857
|
+
*
|
|
2858
|
+
* With `project_id`, the token is returned only when the session belongs to
|
|
2859
|
+
* that project.
|
|
2544
2860
|
* @summary Get my session's CSRF token
|
|
2545
2861
|
*/
|
|
2862
|
+
export declare const getMySessionCsrfTokenQueryProjectIdRegExp: RegExp;
|
|
2863
|
+
export declare const GetMySessionCsrfTokenQueryParams: zod.ZodObject<{
|
|
2864
|
+
project_id: zod.ZodOptional<zod.ZodString>;
|
|
2865
|
+
}, zod.z.core.$strict>;
|
|
2546
2866
|
export declare const GetMySessionCsrfTokenResponse: zod.ZodObject<{
|
|
2547
2867
|
csrf_token: zod.ZodString;
|
|
2548
2868
|
}, zod.z.core.$strip>;
|
|
@@ -2570,7 +2890,7 @@ export declare const createSchemaBodyOneXAuthMethodsSsoProvidersItemMax = 64;
|
|
|
2570
2890
|
export declare const createSchemaBodyOneXAuthMethodsSsoProvidersItemRegExp: RegExp;
|
|
2571
2891
|
export declare const createSchemaBodyOnePropertiesXAuditDefault = false;
|
|
2572
2892
|
export declare const CreateSchemaBody: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2573
|
-
objectType: zod.
|
|
2893
|
+
objectType: zod.ZodString;
|
|
2574
2894
|
kind: zod.ZodLiteral<"user-schema">;
|
|
2575
2895
|
metaSchema: zod.ZodURL;
|
|
2576
2896
|
"x-auth-methods": zod.ZodObject<{
|
|
@@ -2642,7 +2962,7 @@ export declare const ListSchemasResponse: zod.ZodObject<{
|
|
|
2642
2962
|
schemas: zod.ZodArray<zod.ZodObject<{
|
|
2643
2963
|
id: zod.ZodString;
|
|
2644
2964
|
schema: zod.ZodObject<{
|
|
2645
|
-
objectType: zod.
|
|
2965
|
+
objectType: zod.ZodString;
|
|
2646
2966
|
kind: zod.ZodLiteral<"user-schema">;
|
|
2647
2967
|
metaSchema: zod.ZodURL;
|
|
2648
2968
|
"x-auth-methods": zod.ZodObject<{
|
|
@@ -2712,7 +3032,7 @@ export declare const getSchemaByIdResponseSchemaOnePropertiesXAuditDefault = fal
|
|
|
2712
3032
|
export declare const GetSchemaByIdResponse: zod.ZodObject<{
|
|
2713
3033
|
id: zod.ZodString;
|
|
2714
3034
|
schema: zod.ZodObject<{
|
|
2715
|
-
objectType: zod.
|
|
3035
|
+
objectType: zod.ZodString;
|
|
2716
3036
|
kind: zod.ZodLiteral<"user-schema">;
|
|
2717
3037
|
metaSchema: zod.ZodURL;
|
|
2718
3038
|
"x-auth-methods": zod.ZodObject<{
|
|
@@ -2795,8 +3115,8 @@ export declare const CreateFlowDefinitionBody: zod.ZodObject<{
|
|
|
2795
3115
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
2796
3116
|
name: zod.ZodString;
|
|
2797
3117
|
kind: zod.ZodEnum<{
|
|
2798
|
-
submit: "submit";
|
|
2799
3118
|
passkey: "passkey";
|
|
3119
|
+
submit: "submit";
|
|
2800
3120
|
passkey_register: "passkey_register";
|
|
2801
3121
|
navigate: "navigate";
|
|
2802
3122
|
}>;
|
|
@@ -2873,8 +3193,8 @@ export declare const CreateFlowDefinitionResponse: zod.ZodObject<{
|
|
|
2873
3193
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
2874
3194
|
name: zod.ZodString;
|
|
2875
3195
|
kind: zod.ZodEnum<{
|
|
2876
|
-
submit: "submit";
|
|
2877
3196
|
passkey: "passkey";
|
|
3197
|
+
submit: "submit";
|
|
2878
3198
|
passkey_register: "passkey_register";
|
|
2879
3199
|
navigate: "navigate";
|
|
2880
3200
|
}>;
|
|
@@ -2917,7 +3237,7 @@ export declare const CreateFlowDefinitionResponse: zod.ZodObject<{
|
|
|
2917
3237
|
user_schema: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2918
3238
|
id: zod.ZodString;
|
|
2919
3239
|
schema: zod.ZodObject<{
|
|
2920
|
-
objectType: zod.
|
|
3240
|
+
objectType: zod.ZodString;
|
|
2921
3241
|
kind: zod.ZodLiteral<"user-schema">;
|
|
2922
3242
|
metaSchema: zod.ZodURL;
|
|
2923
3243
|
"x-auth-methods": zod.ZodObject<{
|
|
@@ -3027,8 +3347,8 @@ export declare const ListFlowDefinitionsResponse: zod.ZodObject<{
|
|
|
3027
3347
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
3028
3348
|
name: zod.ZodString;
|
|
3029
3349
|
kind: zod.ZodEnum<{
|
|
3030
|
-
submit: "submit";
|
|
3031
3350
|
passkey: "passkey";
|
|
3351
|
+
submit: "submit";
|
|
3032
3352
|
passkey_register: "passkey_register";
|
|
3033
3353
|
navigate: "navigate";
|
|
3034
3354
|
}>;
|
|
@@ -3071,7 +3391,7 @@ export declare const ListFlowDefinitionsResponse: zod.ZodObject<{
|
|
|
3071
3391
|
user_schema: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3072
3392
|
id: zod.ZodString;
|
|
3073
3393
|
schema: zod.ZodObject<{
|
|
3074
|
-
objectType: zod.
|
|
3394
|
+
objectType: zod.ZodString;
|
|
3075
3395
|
kind: zod.ZodLiteral<"user-schema">;
|
|
3076
3396
|
metaSchema: zod.ZodURL;
|
|
3077
3397
|
"x-auth-methods": zod.ZodObject<{
|
|
@@ -3157,8 +3477,8 @@ export declare const GetFlowDefinitionResponse: zod.ZodObject<{
|
|
|
3157
3477
|
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
3158
3478
|
name: zod.ZodString;
|
|
3159
3479
|
kind: zod.ZodEnum<{
|
|
3160
|
-
submit: "submit";
|
|
3161
3480
|
passkey: "passkey";
|
|
3481
|
+
submit: "submit";
|
|
3162
3482
|
passkey_register: "passkey_register";
|
|
3163
3483
|
navigate: "navigate";
|
|
3164
3484
|
}>;
|
|
@@ -3201,7 +3521,7 @@ export declare const GetFlowDefinitionResponse: zod.ZodObject<{
|
|
|
3201
3521
|
user_schema: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3202
3522
|
id: zod.ZodString;
|
|
3203
3523
|
schema: zod.ZodObject<{
|
|
3204
|
-
objectType: zod.
|
|
3524
|
+
objectType: zod.ZodString;
|
|
3205
3525
|
kind: zod.ZodLiteral<"user-schema">;
|
|
3206
3526
|
metaSchema: zod.ZodURL;
|
|
3207
3527
|
"x-auth-methods": zod.ZodObject<{
|
|
@@ -3243,6 +3563,10 @@ export declare const GetFlowDefinitionResponse: zod.ZodObject<{
|
|
|
3243
3563
|
updated_at: zod.z.ZodISODateTime;
|
|
3244
3564
|
}, zod.z.core.$strip>;
|
|
3245
3565
|
/**
|
|
3566
|
+
* Creates a team in the project, with a name no other team in the project has.
|
|
3567
|
+
*
|
|
3568
|
+
* A taken name is refused with `409 team.already_exists`. The new team has no
|
|
3569
|
+
* members yet.
|
|
3246
3570
|
* @summary Create team
|
|
3247
3571
|
*/
|
|
3248
3572
|
export declare const createTeamQueryProjectIdRegExp: RegExp;
|
|
@@ -3380,79 +3704,6 @@ export declare const UpdateTeamResponse: zod.ZodObject<{
|
|
|
3380
3704
|
created_at: zod.z.ZodISODateTime;
|
|
3381
3705
|
updated_at: zod.z.ZodISODateTime;
|
|
3382
3706
|
}, zod.z.core.$strip>;
|
|
3383
|
-
/**
|
|
3384
|
-
* Lists the project's environments ordered by name.
|
|
3385
|
-
* @summary List environments
|
|
3386
|
-
*/
|
|
3387
|
-
export declare const listEnvironmentsQueryProjectIdRegExp: RegExp;
|
|
3388
|
-
export declare const listEnvironmentsQueryLimitDefault = 20;
|
|
3389
|
-
export declare const listEnvironmentsQueryLimitMax = 100;
|
|
3390
|
-
export declare const ListEnvironmentsQueryParams: zod.ZodObject<{
|
|
3391
|
-
project_id: zod.ZodString;
|
|
3392
|
-
limit: zod.ZodDefault<zod.ZodInt>;
|
|
3393
|
-
page_token: zod.ZodOptional<zod.ZodString>;
|
|
3394
|
-
}, zod.z.core.$strict>;
|
|
3395
|
-
export declare const listEnvironmentsResponseEnvironmentsItemProjectIdRegExp: RegExp;
|
|
3396
|
-
export declare const listEnvironmentsResponseEnvironmentsItemNameMax = 63;
|
|
3397
|
-
export declare const listEnvironmentsResponseEnvironmentsItemNameRegExp: RegExp;
|
|
3398
|
-
export declare const listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneIdRegExp: RegExp;
|
|
3399
|
-
export declare const listEnvironmentsResponseEnvironmentsItemCurrentDeploymentOneReleaseIdRegExp: RegExp;
|
|
3400
|
-
export declare const ListEnvironmentsResponse: zod.ZodObject<{
|
|
3401
|
-
environments: zod.ZodArray<zod.ZodObject<{
|
|
3402
|
-
id: zod.ZodString;
|
|
3403
|
-
project_id: zod.ZodString;
|
|
3404
|
-
name: zod.ZodString;
|
|
3405
|
-
created_at: zod.z.ZodISODateTime;
|
|
3406
|
-
current_deployment: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3407
|
-
id: zod.ZodString;
|
|
3408
|
-
release_id: zod.ZodString;
|
|
3409
|
-
reason: zod.ZodEnum<{
|
|
3410
|
-
deploy: "deploy";
|
|
3411
|
-
promote: "promote";
|
|
3412
|
-
rollback: "rollback";
|
|
3413
|
-
}>;
|
|
3414
|
-
deployed_at: zod.z.ZodISODateTime;
|
|
3415
|
-
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
3416
|
-
}, zod.z.core.$strip>>;
|
|
3417
|
-
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
3418
|
-
}, zod.z.core.$strip>;
|
|
3419
|
-
/**
|
|
3420
|
-
* Reads one environment of the project by its name.
|
|
3421
|
-
*
|
|
3422
|
-
* The lookup is scoped to the project in `project_id`: a name that exists in
|
|
3423
|
-
* another project answers `env.not_found` exactly as an unused name does.
|
|
3424
|
-
* @summary Get an environment by name
|
|
3425
|
-
*/
|
|
3426
|
-
export declare const getEnvironmentByNamePathNameMax = 63;
|
|
3427
|
-
export declare const getEnvironmentByNamePathNameRegExp: RegExp;
|
|
3428
|
-
export declare const GetEnvironmentByNameParams: zod.ZodObject<{
|
|
3429
|
-
name: zod.ZodString;
|
|
3430
|
-
}, zod.z.core.$strip>;
|
|
3431
|
-
export declare const getEnvironmentByNameQueryProjectIdRegExp: RegExp;
|
|
3432
|
-
export declare const GetEnvironmentByNameQueryParams: zod.ZodObject<{
|
|
3433
|
-
project_id: zod.ZodString;
|
|
3434
|
-
}, zod.z.core.$strict>;
|
|
3435
|
-
export declare const getEnvironmentByNameResponseProjectIdRegExp: RegExp;
|
|
3436
|
-
export declare const getEnvironmentByNameResponseNameMax = 63;
|
|
3437
|
-
export declare const getEnvironmentByNameResponseNameRegExp: RegExp;
|
|
3438
|
-
export declare const getEnvironmentByNameResponseCurrentDeploymentOneIdRegExp: RegExp;
|
|
3439
|
-
export declare const getEnvironmentByNameResponseCurrentDeploymentOneReleaseIdRegExp: RegExp;
|
|
3440
|
-
export declare const GetEnvironmentByNameResponse: zod.ZodObject<{
|
|
3441
|
-
id: zod.ZodString;
|
|
3442
|
-
project_id: zod.ZodString;
|
|
3443
|
-
name: zod.ZodString;
|
|
3444
|
-
created_at: zod.z.ZodISODateTime;
|
|
3445
|
-
current_deployment: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
3446
|
-
id: zod.ZodString;
|
|
3447
|
-
release_id: zod.ZodString;
|
|
3448
|
-
reason: zod.ZodEnum<{
|
|
3449
|
-
deploy: "deploy";
|
|
3450
|
-
promote: "promote";
|
|
3451
|
-
rollback: "rollback";
|
|
3452
|
-
}>;
|
|
3453
|
-
deployed_at: zod.z.ZodISODateTime;
|
|
3454
|
-
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
3455
|
-
}, zod.z.core.$strip>;
|
|
3456
3707
|
/**
|
|
3457
3708
|
* Publishes a new immutable branding revision for the project. Branding
|
|
3458
3709
|
* revisions cannot be updated or deleted; every edit publishes a new
|
|
@@ -3927,19 +4178,29 @@ export declare const GetBrandingByIdResponse: zod.ZodObject<{
|
|
|
3927
4178
|
* releases and auth attempts stay pinned to the revision they captured.
|
|
3928
4179
|
*
|
|
3929
4180
|
* Identity fields are fixed for the life of the connection and a revision
|
|
3930
|
-
* that changes one is rejected: `protocol`, `subject_claim`, and
|
|
3931
|
-
*
|
|
3932
|
-
* and `userinfo_endpoint` for OAuth 2.0). Their values decide which provider
|
|
4181
|
+
* that changes one is rejected: `protocol`, `subject_claim`, and `issuer`,
|
|
4182
|
+
* the field that names the authority. Their values decide which provider
|
|
3933
4183
|
* account a stored subject belongs to, so changing one would silently
|
|
3934
4184
|
* repoint existing identities at a different provider.
|
|
3935
4185
|
*
|
|
3936
|
-
* `subject_claim` is optional
|
|
3937
|
-
*
|
|
3938
|
-
*
|
|
3939
|
-
*
|
|
4186
|
+
* `subject_claim` is optional, and `sub` is used as the default value. If a
|
|
4187
|
+
* revision updates `subject_claim` to a different value than the one set
|
|
4188
|
+
* during creation, the request is rejected.
|
|
4189
|
+
*
|
|
4190
|
+
* OIDC is the only protocol.
|
|
3940
4191
|
*
|
|
3941
4192
|
* The document is validated against the `idp-connection.json` schema before
|
|
3942
|
-
* anything is stored.
|
|
4193
|
+
* anything is stored. The rules the engine applies when it starts a sign-in
|
|
4194
|
+
* then run on the document, so a connection that could never start one is
|
|
4195
|
+
* refused here instead with `idp.endpoints_partial`: the OIDC block sets an
|
|
4196
|
+
* endpoint without the others. It either sets no endpoint, and discovery
|
|
4197
|
+
* fills them, or sets `authorization_endpoint`, `token_endpoint`, `jwks_uri`,
|
|
4198
|
+
* and `userinfo_endpoint`. `userinfo_endpoint` may be left out when
|
|
4199
|
+
* `id_token_mapping` is on, but setting it alone still counts as setting an
|
|
4200
|
+
* endpoint. The details list the missing endpoints.
|
|
4201
|
+
*
|
|
4202
|
+
* A refused document stores nothing, and on a revise the current revision
|
|
4203
|
+
* stays unchanged.
|
|
3943
4204
|
* @summary Create or revise an identity provider connection
|
|
3944
4205
|
*/
|
|
3945
4206
|
export declare const createIdpQueryProjectIdRegExp: RegExp;
|
|
@@ -3962,19 +4223,11 @@ export declare const createIdpBodyIdpOidcClientSecretRegExp: RegExp;
|
|
|
3962
4223
|
export declare const createIdpBodyIdpOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
3963
4224
|
export declare const createIdpBodyIdpOidcScopesDefault: string[];
|
|
3964
4225
|
export declare const createIdpBodyIdpOidcPkceEnabledDefault = true;
|
|
3965
|
-
export declare const createIdpBodyIdpOauth2AuthorizationEndpointRegExp: RegExp;
|
|
3966
|
-
export declare const createIdpBodyIdpOauth2TokenEndpointRegExp: RegExp;
|
|
3967
|
-
export declare const createIdpBodyIdpOauth2UserinfoEndpointRegExp: RegExp;
|
|
3968
|
-
export declare const createIdpBodyIdpOauth2ClientIdMax = 512;
|
|
3969
|
-
export declare const createIdpBodyIdpOauth2ClientSecretRegExp: RegExp;
|
|
3970
|
-
export declare const createIdpBodyIdpOauth2TokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
3971
|
-
export declare const createIdpBodyIdpOauth2PkceEnabledDefault = true;
|
|
3972
4226
|
export declare const CreateIdpBody: zod.ZodObject<{
|
|
3973
4227
|
idp: zod.ZodObject<{
|
|
3974
4228
|
slug: zod.ZodString;
|
|
3975
4229
|
protocol: zod.ZodEnum<{
|
|
3976
4230
|
oidc: "oidc";
|
|
3977
|
-
oauth2: "oauth2";
|
|
3978
4231
|
}>;
|
|
3979
4232
|
template: zod.ZodOptional<zod.ZodString>;
|
|
3980
4233
|
display_name: zod.ZodString;
|
|
@@ -4004,23 +4257,6 @@ export declare const CreateIdpBody: zod.ZodObject<{
|
|
|
4004
4257
|
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4005
4258
|
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4006
4259
|
}, zod.z.core.$strip>>;
|
|
4007
|
-
oauth2: zod.ZodOptional<zod.ZodObject<{
|
|
4008
|
-
authorization_endpoint: zod.ZodString;
|
|
4009
|
-
token_endpoint: zod.ZodString;
|
|
4010
|
-
userinfo_endpoint: zod.ZodString;
|
|
4011
|
-
client_id: zod.ZodString;
|
|
4012
|
-
client_secret: zod.ZodString;
|
|
4013
|
-
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
4014
|
-
client_secret_basic: "client_secret_basic";
|
|
4015
|
-
client_secret_post: "client_secret_post";
|
|
4016
|
-
}>>;
|
|
4017
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4018
|
-
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4019
|
-
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4020
|
-
supplementary_fetch: zod.ZodOptional<zod.ZodEnum<{
|
|
4021
|
-
github_primary_email: "github_primary_email";
|
|
4022
|
-
}>>;
|
|
4023
|
-
}, zod.z.core.$strip>>;
|
|
4024
4260
|
}, zod.z.core.$strip>;
|
|
4025
4261
|
}, zod.z.core.$strip>;
|
|
4026
4262
|
export declare const createIdpResponseDefinitionSlugMax = 64;
|
|
@@ -4039,13 +4275,6 @@ export declare const createIdpResponseDefinitionOidcClientSecretRegExp: RegExp;
|
|
|
4039
4275
|
export declare const createIdpResponseDefinitionOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4040
4276
|
export declare const createIdpResponseDefinitionOidcScopesDefault: string[];
|
|
4041
4277
|
export declare const createIdpResponseDefinitionOidcPkceEnabledDefault = true;
|
|
4042
|
-
export declare const createIdpResponseDefinitionOauth2AuthorizationEndpointRegExp: RegExp;
|
|
4043
|
-
export declare const createIdpResponseDefinitionOauth2TokenEndpointRegExp: RegExp;
|
|
4044
|
-
export declare const createIdpResponseDefinitionOauth2UserinfoEndpointRegExp: RegExp;
|
|
4045
|
-
export declare const createIdpResponseDefinitionOauth2ClientIdMax = 512;
|
|
4046
|
-
export declare const createIdpResponseDefinitionOauth2ClientSecretRegExp: RegExp;
|
|
4047
|
-
export declare const createIdpResponseDefinitionOauth2TokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4048
|
-
export declare const createIdpResponseDefinitionOauth2PkceEnabledDefault = true;
|
|
4049
4278
|
export declare const CreateIdpResponse: zod.ZodObject<{
|
|
4050
4279
|
id: zod.ZodString;
|
|
4051
4280
|
revision_id: zod.ZodString;
|
|
@@ -4056,7 +4285,6 @@ export declare const CreateIdpResponse: zod.ZodObject<{
|
|
|
4056
4285
|
slug: zod.ZodString;
|
|
4057
4286
|
protocol: zod.ZodEnum<{
|
|
4058
4287
|
oidc: "oidc";
|
|
4059
|
-
oauth2: "oauth2";
|
|
4060
4288
|
}>;
|
|
4061
4289
|
template: zod.ZodOptional<zod.ZodString>;
|
|
4062
4290
|
display_name: zod.ZodString;
|
|
@@ -4086,23 +4314,6 @@ export declare const CreateIdpResponse: zod.ZodObject<{
|
|
|
4086
4314
|
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4087
4315
|
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4088
4316
|
}, zod.z.core.$strip>>;
|
|
4089
|
-
oauth2: zod.ZodOptional<zod.ZodObject<{
|
|
4090
|
-
authorization_endpoint: zod.ZodString;
|
|
4091
|
-
token_endpoint: zod.ZodString;
|
|
4092
|
-
userinfo_endpoint: zod.ZodString;
|
|
4093
|
-
client_id: zod.ZodString;
|
|
4094
|
-
client_secret: zod.ZodString;
|
|
4095
|
-
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
4096
|
-
client_secret_basic: "client_secret_basic";
|
|
4097
|
-
client_secret_post: "client_secret_post";
|
|
4098
|
-
}>>;
|
|
4099
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4100
|
-
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4101
|
-
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4102
|
-
supplementary_fetch: zod.ZodOptional<zod.ZodEnum<{
|
|
4103
|
-
github_primary_email: "github_primary_email";
|
|
4104
|
-
}>>;
|
|
4105
|
-
}, zod.z.core.$strip>>;
|
|
4106
4317
|
}, zod.z.core.$strip>;
|
|
4107
4318
|
}, zod.z.core.$strip>;
|
|
4108
4319
|
/**
|
|
@@ -4163,13 +4374,6 @@ export declare const queryIdpsResponseIdpsItemDefinitionOidcClientSecretRegExp:
|
|
|
4163
4374
|
export declare const queryIdpsResponseIdpsItemDefinitionOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4164
4375
|
export declare const queryIdpsResponseIdpsItemDefinitionOidcScopesDefault: string[];
|
|
4165
4376
|
export declare const queryIdpsResponseIdpsItemDefinitionOidcPkceEnabledDefault = true;
|
|
4166
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2AuthorizationEndpointRegExp: RegExp;
|
|
4167
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointRegExp: RegExp;
|
|
4168
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2UserinfoEndpointRegExp: RegExp;
|
|
4169
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2ClientIdMax = 512;
|
|
4170
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2ClientSecretRegExp: RegExp;
|
|
4171
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2TokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4172
|
-
export declare const queryIdpsResponseIdpsItemDefinitionOauth2PkceEnabledDefault = true;
|
|
4173
4377
|
export declare const QueryIdpsResponse: zod.ZodObject<{
|
|
4174
4378
|
idps: zod.ZodArray<zod.ZodObject<{
|
|
4175
4379
|
id: zod.ZodString;
|
|
@@ -4181,7 +4385,6 @@ export declare const QueryIdpsResponse: zod.ZodObject<{
|
|
|
4181
4385
|
slug: zod.ZodString;
|
|
4182
4386
|
protocol: zod.ZodEnum<{
|
|
4183
4387
|
oidc: "oidc";
|
|
4184
|
-
oauth2: "oauth2";
|
|
4185
4388
|
}>;
|
|
4186
4389
|
template: zod.ZodOptional<zod.ZodString>;
|
|
4187
4390
|
display_name: zod.ZodString;
|
|
@@ -4211,23 +4414,6 @@ export declare const QueryIdpsResponse: zod.ZodObject<{
|
|
|
4211
4414
|
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4212
4415
|
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4213
4416
|
}, zod.z.core.$strip>>;
|
|
4214
|
-
oauth2: zod.ZodOptional<zod.ZodObject<{
|
|
4215
|
-
authorization_endpoint: zod.ZodString;
|
|
4216
|
-
token_endpoint: zod.ZodString;
|
|
4217
|
-
userinfo_endpoint: zod.ZodString;
|
|
4218
|
-
client_id: zod.ZodString;
|
|
4219
|
-
client_secret: zod.ZodString;
|
|
4220
|
-
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
4221
|
-
client_secret_basic: "client_secret_basic";
|
|
4222
|
-
client_secret_post: "client_secret_post";
|
|
4223
|
-
}>>;
|
|
4224
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4225
|
-
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4226
|
-
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4227
|
-
supplementary_fetch: zod.ZodOptional<zod.ZodEnum<{
|
|
4228
|
-
github_primary_email: "github_primary_email";
|
|
4229
|
-
}>>;
|
|
4230
|
-
}, zod.z.core.$strip>>;
|
|
4231
4417
|
}, zod.z.core.$strip>;
|
|
4232
4418
|
}, zod.z.core.$strip>>;
|
|
4233
4419
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -4262,13 +4448,6 @@ export declare const getIdpByIdResponseDefinitionOidcClientSecretRegExp: RegExp;
|
|
|
4262
4448
|
export declare const getIdpByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4263
4449
|
export declare const getIdpByIdResponseDefinitionOidcScopesDefault: string[];
|
|
4264
4450
|
export declare const getIdpByIdResponseDefinitionOidcPkceEnabledDefault = true;
|
|
4265
|
-
export declare const getIdpByIdResponseDefinitionOauth2AuthorizationEndpointRegExp: RegExp;
|
|
4266
|
-
export declare const getIdpByIdResponseDefinitionOauth2TokenEndpointRegExp: RegExp;
|
|
4267
|
-
export declare const getIdpByIdResponseDefinitionOauth2UserinfoEndpointRegExp: RegExp;
|
|
4268
|
-
export declare const getIdpByIdResponseDefinitionOauth2ClientIdMax = 512;
|
|
4269
|
-
export declare const getIdpByIdResponseDefinitionOauth2ClientSecretRegExp: RegExp;
|
|
4270
|
-
export declare const getIdpByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4271
|
-
export declare const getIdpByIdResponseDefinitionOauth2PkceEnabledDefault = true;
|
|
4272
4451
|
export declare const GetIdpByIdResponse: zod.ZodObject<{
|
|
4273
4452
|
id: zod.ZodString;
|
|
4274
4453
|
revision_id: zod.ZodString;
|
|
@@ -4279,7 +4458,6 @@ export declare const GetIdpByIdResponse: zod.ZodObject<{
|
|
|
4279
4458
|
slug: zod.ZodString;
|
|
4280
4459
|
protocol: zod.ZodEnum<{
|
|
4281
4460
|
oidc: "oidc";
|
|
4282
|
-
oauth2: "oauth2";
|
|
4283
4461
|
}>;
|
|
4284
4462
|
template: zod.ZodOptional<zod.ZodString>;
|
|
4285
4463
|
display_name: zod.ZodString;
|
|
@@ -4309,23 +4487,6 @@ export declare const GetIdpByIdResponse: zod.ZodObject<{
|
|
|
4309
4487
|
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4310
4488
|
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4311
4489
|
}, zod.z.core.$strip>>;
|
|
4312
|
-
oauth2: zod.ZodOptional<zod.ZodObject<{
|
|
4313
|
-
authorization_endpoint: zod.ZodString;
|
|
4314
|
-
token_endpoint: zod.ZodString;
|
|
4315
|
-
userinfo_endpoint: zod.ZodString;
|
|
4316
|
-
client_id: zod.ZodString;
|
|
4317
|
-
client_secret: zod.ZodString;
|
|
4318
|
-
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
4319
|
-
client_secret_basic: "client_secret_basic";
|
|
4320
|
-
client_secret_post: "client_secret_post";
|
|
4321
|
-
}>>;
|
|
4322
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4323
|
-
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4324
|
-
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4325
|
-
supplementary_fetch: zod.ZodOptional<zod.ZodEnum<{
|
|
4326
|
-
github_primary_email: "github_primary_email";
|
|
4327
|
-
}>>;
|
|
4328
|
-
}, zod.z.core.$strip>>;
|
|
4329
4490
|
}, zod.z.core.$strip>;
|
|
4330
4491
|
}, zod.z.core.$strip>;
|
|
4331
4492
|
/**
|
|
@@ -4362,13 +4523,6 @@ export declare const listIdpRevisionsResponseRevisionsItemDefinitionOidcClientSe
|
|
|
4362
4523
|
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4363
4524
|
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOidcScopesDefault: string[];
|
|
4364
4525
|
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOidcPkceEnabledDefault = true;
|
|
4365
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2AuthorizationEndpointRegExp: RegExp;
|
|
4366
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointRegExp: RegExp;
|
|
4367
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2UserinfoEndpointRegExp: RegExp;
|
|
4368
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientIdMax = 512;
|
|
4369
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2ClientSecretRegExp: RegExp;
|
|
4370
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2TokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4371
|
-
export declare const listIdpRevisionsResponseRevisionsItemDefinitionOauth2PkceEnabledDefault = true;
|
|
4372
4526
|
export declare const ListIdpRevisionsResponse: zod.ZodObject<{
|
|
4373
4527
|
revisions: zod.ZodArray<zod.ZodObject<{
|
|
4374
4528
|
id: zod.ZodString;
|
|
@@ -4380,7 +4534,6 @@ export declare const ListIdpRevisionsResponse: zod.ZodObject<{
|
|
|
4380
4534
|
slug: zod.ZodString;
|
|
4381
4535
|
protocol: zod.ZodEnum<{
|
|
4382
4536
|
oidc: "oidc";
|
|
4383
|
-
oauth2: "oauth2";
|
|
4384
4537
|
}>;
|
|
4385
4538
|
template: zod.ZodOptional<zod.ZodString>;
|
|
4386
4539
|
display_name: zod.ZodString;
|
|
@@ -4410,23 +4563,6 @@ export declare const ListIdpRevisionsResponse: zod.ZodObject<{
|
|
|
4410
4563
|
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4411
4564
|
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4412
4565
|
}, zod.z.core.$strip>>;
|
|
4413
|
-
oauth2: zod.ZodOptional<zod.ZodObject<{
|
|
4414
|
-
authorization_endpoint: zod.ZodString;
|
|
4415
|
-
token_endpoint: zod.ZodString;
|
|
4416
|
-
userinfo_endpoint: zod.ZodString;
|
|
4417
|
-
client_id: zod.ZodString;
|
|
4418
|
-
client_secret: zod.ZodString;
|
|
4419
|
-
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
4420
|
-
client_secret_basic: "client_secret_basic";
|
|
4421
|
-
client_secret_post: "client_secret_post";
|
|
4422
|
-
}>>;
|
|
4423
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4424
|
-
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4425
|
-
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4426
|
-
supplementary_fetch: zod.ZodOptional<zod.ZodEnum<{
|
|
4427
|
-
github_primary_email: "github_primary_email";
|
|
4428
|
-
}>>;
|
|
4429
|
-
}, zod.z.core.$strip>>;
|
|
4430
4566
|
}, zod.z.core.$strip>;
|
|
4431
4567
|
}, zod.z.core.$strip>>;
|
|
4432
4568
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -4461,13 +4597,6 @@ export declare const getIdpRevisionByIdResponseDefinitionOidcClientSecretRegExp:
|
|
|
4461
4597
|
export declare const getIdpRevisionByIdResponseDefinitionOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4462
4598
|
export declare const getIdpRevisionByIdResponseDefinitionOidcScopesDefault: string[];
|
|
4463
4599
|
export declare const getIdpRevisionByIdResponseDefinitionOidcPkceEnabledDefault = true;
|
|
4464
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2AuthorizationEndpointRegExp: RegExp;
|
|
4465
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointRegExp: RegExp;
|
|
4466
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2UserinfoEndpointRegExp: RegExp;
|
|
4467
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2ClientIdMax = 512;
|
|
4468
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2ClientSecretRegExp: RegExp;
|
|
4469
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2TokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4470
|
-
export declare const getIdpRevisionByIdResponseDefinitionOauth2PkceEnabledDefault = true;
|
|
4471
4600
|
export declare const GetIdpRevisionByIdResponse: zod.ZodObject<{
|
|
4472
4601
|
id: zod.ZodString;
|
|
4473
4602
|
revision_id: zod.ZodString;
|
|
@@ -4478,7 +4607,6 @@ export declare const GetIdpRevisionByIdResponse: zod.ZodObject<{
|
|
|
4478
4607
|
slug: zod.ZodString;
|
|
4479
4608
|
protocol: zod.ZodEnum<{
|
|
4480
4609
|
oidc: "oidc";
|
|
4481
|
-
oauth2: "oauth2";
|
|
4482
4610
|
}>;
|
|
4483
4611
|
template: zod.ZodOptional<zod.ZodString>;
|
|
4484
4612
|
display_name: zod.ZodString;
|
|
@@ -4508,41 +4636,28 @@ export declare const GetIdpRevisionByIdResponse: zod.ZodObject<{
|
|
|
4508
4636
|
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4509
4637
|
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4510
4638
|
}, zod.z.core.$strip>>;
|
|
4511
|
-
oauth2: zod.ZodOptional<zod.ZodObject<{
|
|
4512
|
-
authorization_endpoint: zod.ZodString;
|
|
4513
|
-
token_endpoint: zod.ZodString;
|
|
4514
|
-
userinfo_endpoint: zod.ZodString;
|
|
4515
|
-
client_id: zod.ZodString;
|
|
4516
|
-
client_secret: zod.ZodString;
|
|
4517
|
-
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
4518
|
-
client_secret_basic: "client_secret_basic";
|
|
4519
|
-
client_secret_post: "client_secret_post";
|
|
4520
|
-
}>>;
|
|
4521
|
-
scopes: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4522
|
-
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
4523
|
-
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
4524
|
-
supplementary_fetch: zod.ZodOptional<zod.ZodEnum<{
|
|
4525
|
-
github_primary_email: "github_primary_email";
|
|
4526
|
-
}>>;
|
|
4527
|
-
}, zod.z.core.$strip>>;
|
|
4528
4639
|
}, zod.z.core.$strip>;
|
|
4529
4640
|
}, zod.z.core.$strip>;
|
|
4530
4641
|
/**
|
|
4531
|
-
*
|
|
4532
|
-
* `(kind, revision_id)` pairs.
|
|
4533
|
-
*
|
|
4642
|
+
* Assembles a release from existing revisions, given as
|
|
4643
|
+
* `(kind, revision_id)` pairs. To build one from files on disk, use
|
|
4644
|
+
* `POST /releases/build`.
|
|
4534
4645
|
*
|
|
4535
|
-
*
|
|
4536
|
-
*
|
|
4537
|
-
* is always pinned under the identity it declares.
|
|
4646
|
+
* Each revision must exist in the project and is recorded under the handle
|
|
4647
|
+
* it declares. The release must be complete and consistent:
|
|
4538
4648
|
*
|
|
4539
|
-
*
|
|
4540
|
-
* and the
|
|
4541
|
-
*
|
|
4649
|
+
* - Every handle its revisions name must be in the release: a flow's
|
|
4650
|
+
* `user_schema`, and the IDP connections named by a flow step's
|
|
4651
|
+
* `sso_providers` or a schema's `x-auth-methods.sso.providers`. A missing
|
|
4652
|
+
* one answers `rel.unresolved_reference`, naming the resource and the
|
|
4653
|
+
* handle, e.g. `flow_definition default-login: user_schema human-user not found`.
|
|
4654
|
+
* - Every flow is validated as on save, against the user schema revision
|
|
4655
|
+
* in the release. A flow that fails answers `rel.invalid`, with the
|
|
4656
|
+
* reason in `details`.
|
|
4542
4657
|
*
|
|
4543
|
-
* Idempotent on the
|
|
4544
|
-
*
|
|
4545
|
-
*
|
|
4658
|
+
* Idempotent on the set of revisions: the same revisions with a different
|
|
4659
|
+
* `message` answer `200` with the existing release. A new release answers
|
|
4660
|
+
* `201`. Creating a release does not deploy it.
|
|
4546
4661
|
* @summary Create a release
|
|
4547
4662
|
*/
|
|
4548
4663
|
export declare const createReleaseQueryProjectIdRegExp: RegExp;
|
|
@@ -4560,6 +4675,7 @@ export declare const CreateReleaseBody: zod.ZodObject<{
|
|
|
4560
4675
|
schema: "schema";
|
|
4561
4676
|
branding: "branding";
|
|
4562
4677
|
flow_definition: "flow_definition";
|
|
4678
|
+
idp: "idp";
|
|
4563
4679
|
}>;
|
|
4564
4680
|
revision_id: zod.ZodString;
|
|
4565
4681
|
}, zod.z.core.$strip>>;
|
|
@@ -4569,6 +4685,9 @@ export declare const CreateReleaseBody: zod.ZodObject<{
|
|
|
4569
4685
|
}, zod.z.core.$strip>;
|
|
4570
4686
|
export declare const createReleaseResponseIdRegExp: RegExp;
|
|
4571
4687
|
export declare const createReleaseResponseProjectIdRegExp: RegExp;
|
|
4688
|
+
export declare const createReleaseResponseContentHashMin = 71;
|
|
4689
|
+
export declare const createReleaseResponseContentHashMax = 71;
|
|
4690
|
+
export declare const createReleaseResponseContentHashRegExp: RegExp;
|
|
4572
4691
|
export declare const createReleaseResponseMetadataMessageOneMax = 1024;
|
|
4573
4692
|
export declare const createReleaseResponseMetadataGitShaOneMax = 64;
|
|
4574
4693
|
export declare const createReleaseResponseMetadataGitDirtyDefault = false;
|
|
@@ -4578,6 +4697,7 @@ export declare const createReleaseResponsePointersMax = 50;
|
|
|
4578
4697
|
export declare const CreateReleaseResponse: zod.ZodObject<{
|
|
4579
4698
|
id: zod.ZodString;
|
|
4580
4699
|
project_id: zod.ZodString;
|
|
4700
|
+
content_hash: zod.ZodString;
|
|
4581
4701
|
metadata: zod.ZodObject<{
|
|
4582
4702
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
4583
4703
|
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -4591,11 +4711,13 @@ export declare const CreateReleaseResponse: zod.ZodObject<{
|
|
|
4591
4711
|
agent: "agent";
|
|
4592
4712
|
}>, zod.ZodNull]>>;
|
|
4593
4713
|
}, zod.z.core.$strip>;
|
|
4714
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
4594
4715
|
pointers: zod.ZodArray<zod.ZodObject<{
|
|
4595
4716
|
kind: zod.ZodEnum<{
|
|
4596
4717
|
schema: "schema";
|
|
4597
4718
|
branding: "branding";
|
|
4598
4719
|
flow_definition: "flow_definition";
|
|
4720
|
+
idp: "idp";
|
|
4599
4721
|
}>;
|
|
4600
4722
|
handle: zod.ZodString;
|
|
4601
4723
|
revision_id: zod.ZodString;
|
|
@@ -4604,20 +4726,34 @@ export declare const CreateReleaseResponse: zod.ZodObject<{
|
|
|
4604
4726
|
/**
|
|
4605
4727
|
* Lists the project's releases, newest first.
|
|
4606
4728
|
*
|
|
4607
|
-
* Entries carry metadata
|
|
4608
|
-
*
|
|
4729
|
+
* Entries carry the digest, the metadata and `revoked_at` — the pinned set
|
|
4730
|
+
* is omitted.
|
|
4731
|
+
* Read one release with `GET /releases/{release_id}` to get its pointers.
|
|
4732
|
+
*
|
|
4733
|
+
* `content_hash` looks a release up by its content, as the CLI does when a
|
|
4734
|
+
* person types the digest a transcript printed. The project holds at most
|
|
4735
|
+
* one release per digest, so the filtered list has one entry or none, and
|
|
4736
|
+
* an unknown digest is an empty list rather than an error. Paths take the
|
|
4737
|
+
* `rel_` id only; the matched entry's `id` is what to use there.
|
|
4609
4738
|
* @summary List releases
|
|
4610
4739
|
*/
|
|
4611
4740
|
export declare const listReleasesQueryProjectIdRegExp: RegExp;
|
|
4741
|
+
export declare const listReleasesQueryContentHashMin = 71;
|
|
4742
|
+
export declare const listReleasesQueryContentHashMax = 71;
|
|
4743
|
+
export declare const listReleasesQueryContentHashRegExp: RegExp;
|
|
4612
4744
|
export declare const listReleasesQueryLimitDefault = 20;
|
|
4613
4745
|
export declare const listReleasesQueryLimitMax = 100;
|
|
4614
4746
|
export declare const ListReleasesQueryParams: zod.ZodObject<{
|
|
4615
4747
|
project_id: zod.ZodString;
|
|
4748
|
+
content_hash: zod.ZodOptional<zod.ZodString>;
|
|
4616
4749
|
limit: zod.ZodDefault<zod.ZodInt>;
|
|
4617
4750
|
page_token: zod.ZodOptional<zod.ZodString>;
|
|
4618
4751
|
}, zod.z.core.$strict>;
|
|
4619
4752
|
export declare const listReleasesResponseReleasesItemIdRegExp: RegExp;
|
|
4620
4753
|
export declare const listReleasesResponseReleasesItemProjectIdRegExp: RegExp;
|
|
4754
|
+
export declare const listReleasesResponseReleasesItemContentHashMin = 71;
|
|
4755
|
+
export declare const listReleasesResponseReleasesItemContentHashMax = 71;
|
|
4756
|
+
export declare const listReleasesResponseReleasesItemContentHashRegExp: RegExp;
|
|
4621
4757
|
export declare const listReleasesResponseReleasesItemMetadataMessageOneMax = 1024;
|
|
4622
4758
|
export declare const listReleasesResponseReleasesItemMetadataGitShaOneMax = 64;
|
|
4623
4759
|
export declare const listReleasesResponseReleasesItemMetadataGitDirtyDefault = false;
|
|
@@ -4625,6 +4761,7 @@ export declare const ListReleasesResponse: zod.ZodObject<{
|
|
|
4625
4761
|
releases: zod.ZodArray<zod.ZodObject<{
|
|
4626
4762
|
id: zod.ZodString;
|
|
4627
4763
|
project_id: zod.ZodString;
|
|
4764
|
+
content_hash: zod.ZodString;
|
|
4628
4765
|
metadata: zod.ZodObject<{
|
|
4629
4766
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
4630
4767
|
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -4638,12 +4775,406 @@ export declare const ListReleasesResponse: zod.ZodObject<{
|
|
|
4638
4775
|
agent: "agent";
|
|
4639
4776
|
}>, zod.ZodNull]>>;
|
|
4640
4777
|
}, zod.z.core.$strip>;
|
|
4778
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
4641
4779
|
}, zod.z.core.$strip>>;
|
|
4642
4780
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
4643
4781
|
}, zod.z.core.$strip>;
|
|
4644
4782
|
/**
|
|
4645
|
-
*
|
|
4646
|
-
*
|
|
4783
|
+
* Builds a release from the resources of `.zitadel/` as authored on disk,
|
|
4784
|
+
* grouped by kind, in one transaction: a failure anywhere leaves no
|
|
4785
|
+
* revision and no release. The caller records nothing.
|
|
4786
|
+
*
|
|
4787
|
+
* If the project already holds a release with the same content, the same
|
|
4788
|
+
* `content_hash`, the request answers `200` with that release and
|
|
4789
|
+
* allocates nothing, however long ago it was built. Otherwise every resource is compared against the
|
|
4790
|
+
* project's newest revision of the same handle: unchanged content reuses
|
|
4791
|
+
* that revision, changed content allocates a new one, and the request
|
|
4792
|
+
* answers `201` with the new release. Metadata is excluded from the
|
|
4793
|
+
* comparison, so the same content under a different `message` is the same
|
|
4794
|
+
* release.
|
|
4795
|
+
*
|
|
4796
|
+
* A structurally malformed request is refused while decoding with
|
|
4797
|
+
* `req.invalid`, naming the offending fields. A well-formed bundle is then
|
|
4798
|
+
* checked resource by resource, as each kind's create endpoint checks it,
|
|
4799
|
+
* and every failure is reported at once: the request answers `400` with
|
|
4800
|
+
* `rel.invalid`, and `details.resources` lists each resource that failed.
|
|
4801
|
+
* A handle that resolves neither in the bundle nor in the project answers
|
|
4802
|
+
* `rel.unresolved_reference`, naming the pointer and the handle.
|
|
4803
|
+
*
|
|
4804
|
+
* Building writes revisions, so besides `release.write` it needs the write
|
|
4805
|
+
* scope of every kind the bundle carries a resource of: `schema.write`,
|
|
4806
|
+
* `flow_definition.write`, `branding.write` and `idp.write`, as the
|
|
4807
|
+
* per-kind create endpoints do. A missing scope answers `403` with `rel.permission_denied`,
|
|
4808
|
+
* naming the kind. An empty kind needs no scope.
|
|
4809
|
+
*
|
|
4810
|
+
* Building a release does not deploy it. A release is not tied to an
|
|
4811
|
+
* origin, and the same release can later be deployed to any number of
|
|
4812
|
+
* origins unchanged.
|
|
4813
|
+
* @summary Build a release from files
|
|
4814
|
+
*/
|
|
4815
|
+
export declare const buildReleaseQueryProjectIdRegExp: RegExp;
|
|
4816
|
+
export declare const BuildReleaseQueryParams: zod.ZodObject<{
|
|
4817
|
+
project_id: zod.ZodString;
|
|
4818
|
+
}, zod.z.core.$strict>;
|
|
4819
|
+
export declare const buildReleaseBodyBundleSchemasItemOneObjectTypeMax = 256;
|
|
4820
|
+
export declare const buildReleaseBodyBundleSchemasItemOneMetaSchemaMax = 1024;
|
|
4821
|
+
export declare const buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemMax = 64;
|
|
4822
|
+
export declare const buildReleaseBodyBundleSchemasItemOneXAuthMethodsSsoProvidersItemRegExp: RegExp;
|
|
4823
|
+
export declare const buildReleaseBodyBundleSchemasItemOnePropertiesXAuditDefault = false;
|
|
4824
|
+
export declare const buildReleaseBodyBundleSchemasMax = 50;
|
|
4825
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemNameRegExp: RegExp;
|
|
4826
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemNameRegExp: RegExp;
|
|
4827
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemFieldsDefault: never[];
|
|
4828
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemPrimaryDefault = false;
|
|
4829
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsDefault: never[];
|
|
4830
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesDefault: {};
|
|
4831
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemMax = 64;
|
|
4832
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersItemRegExp: RegExp;
|
|
4833
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersDefault: never[];
|
|
4834
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsItemStepsItemSsoProvidersMax = 20;
|
|
4835
|
+
export declare const buildReleaseBodyBundleFlowDefinitionsMax = 50;
|
|
4836
|
+
export declare const buildReleaseBodyBundleIdpsItemSlugMax = 64;
|
|
4837
|
+
export declare const buildReleaseBodyBundleIdpsItemSlugRegExp: RegExp;
|
|
4838
|
+
export declare const buildReleaseBodyBundleIdpsItemDisplayNameMax = 256;
|
|
4839
|
+
export declare const buildReleaseBodyBundleIdpsItemClaimMappingRegExpOne: RegExp;
|
|
4840
|
+
export declare const buildReleaseBodyBundleIdpsItemProvisioningCreationDefault = "auto";
|
|
4841
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcIssuerRegExp: RegExp;
|
|
4842
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcJwksUriRegExp: RegExp;
|
|
4843
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcIdTokenMappingDefault = false;
|
|
4844
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcAuthorizationEndpointRegExp: RegExp;
|
|
4845
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcTokenEndpointRegExp: RegExp;
|
|
4846
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcUserinfoEndpointRegExp: RegExp;
|
|
4847
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcClientIdMax = 512;
|
|
4848
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcClientSecretRegExp: RegExp;
|
|
4849
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcTokenEndpointAuthMethodDefault = "client_secret_basic";
|
|
4850
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcScopesDefault: string[];
|
|
4851
|
+
export declare const buildReleaseBodyBundleIdpsItemOidcPkceEnabledDefault = true;
|
|
4852
|
+
export declare const buildReleaseBodyBundleIdpsMax = 50;
|
|
4853
|
+
export declare const buildReleaseBodyBundleBrandingLayoutDefault = "centered";
|
|
4854
|
+
export declare const buildReleaseBodyBundleBrandingLiquidTemplateMax = 131072;
|
|
4855
|
+
export declare const buildReleaseBodyBundleBrandingLogoUrlMax = 2048;
|
|
4856
|
+
export declare const buildReleaseBodyBundleBrandingLogoUrlRegExp: RegExp;
|
|
4857
|
+
export declare const buildReleaseBodyBundleBrandingHeroUrlMax = 2048;
|
|
4858
|
+
export declare const buildReleaseBodyBundleBrandingHeroUrlRegExp: RegExp;
|
|
4859
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightLogoUrlMax = 2048;
|
|
4860
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightLogoUrlRegExp: RegExp;
|
|
4861
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPalettePrimaryMax = 128;
|
|
4862
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPalettePrimaryRegExp: RegExp;
|
|
4863
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryMax = 128;
|
|
4864
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteOnPrimaryRegExp: RegExp;
|
|
4865
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundMax = 128;
|
|
4866
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteBackgroundRegExp: RegExp;
|
|
4867
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceMax = 128;
|
|
4868
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteSurfaceRegExp: RegExp;
|
|
4869
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteMutedMax = 128;
|
|
4870
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteMutedRegExp: RegExp;
|
|
4871
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteBorderMax = 128;
|
|
4872
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteBorderRegExp: RegExp;
|
|
4873
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteTextMax = 128;
|
|
4874
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteTextRegExp: RegExp;
|
|
4875
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedMax = 128;
|
|
4876
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteTextMutedRegExp: RegExp;
|
|
4877
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteLinkMax = 128;
|
|
4878
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteLinkRegExp: RegExp;
|
|
4879
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteSuccessMax = 128;
|
|
4880
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteSuccessRegExp: RegExp;
|
|
4881
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteWarningMax = 128;
|
|
4882
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteWarningRegExp: RegExp;
|
|
4883
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteErrorMax = 128;
|
|
4884
|
+
export declare const buildReleaseBodyBundleBrandingThemeLightPaletteErrorRegExp: RegExp;
|
|
4885
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkLogoUrlMax = 2048;
|
|
4886
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkLogoUrlRegExp: RegExp;
|
|
4887
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryMax = 128;
|
|
4888
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPalettePrimaryRegExp: RegExp;
|
|
4889
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryMax = 128;
|
|
4890
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteOnPrimaryRegExp: RegExp;
|
|
4891
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundMax = 128;
|
|
4892
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteBackgroundRegExp: RegExp;
|
|
4893
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceMax = 128;
|
|
4894
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteSurfaceRegExp: RegExp;
|
|
4895
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteMutedMax = 128;
|
|
4896
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteMutedRegExp: RegExp;
|
|
4897
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteBorderMax = 128;
|
|
4898
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteBorderRegExp: RegExp;
|
|
4899
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteTextMax = 128;
|
|
4900
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteTextRegExp: RegExp;
|
|
4901
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedMax = 128;
|
|
4902
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteTextMutedRegExp: RegExp;
|
|
4903
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteLinkMax = 128;
|
|
4904
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteLinkRegExp: RegExp;
|
|
4905
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessMax = 128;
|
|
4906
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteSuccessRegExp: RegExp;
|
|
4907
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteWarningMax = 128;
|
|
4908
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteWarningRegExp: RegExp;
|
|
4909
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteErrorMax = 128;
|
|
4910
|
+
export declare const buildReleaseBodyBundleBrandingThemeDarkPaletteErrorRegExp: RegExp;
|
|
4911
|
+
export declare const buildReleaseBodyBundleBrandingTypographyFontFamilyMax = 256;
|
|
4912
|
+
export declare const buildReleaseBodyBundleBrandingTypographyFontFamilyRegExp: RegExp;
|
|
4913
|
+
export declare const buildReleaseBodyBundleBrandingTypographyFontUrlMax = 2048;
|
|
4914
|
+
export declare const buildReleaseBodyBundleBrandingTypographyFontUrlRegExp: RegExp;
|
|
4915
|
+
export declare const buildReleaseBodyBundleBrandingTypographyScaleMin = 0.75;
|
|
4916
|
+
export declare const buildReleaseBodyBundleBrandingTypographyScaleMax = 1.25;
|
|
4917
|
+
export declare const buildReleaseBodyBundleBrandingShapeRadiusTwoMin = 0;
|
|
4918
|
+
export declare const buildReleaseBodyBundleBrandingShapeRadiusTwoMax = 32;
|
|
4919
|
+
export declare const buildReleaseBodyBundleBrandingShapeLogoScaleMin = 0.5;
|
|
4920
|
+
export declare const buildReleaseBodyBundleBrandingShapeLogoScaleMax = 2;
|
|
4921
|
+
export declare const buildReleaseBodyMessageMax = 1024;
|
|
4922
|
+
export declare const buildReleaseBodyGitShaMax = 64;
|
|
4923
|
+
export declare const buildReleaseBodyGitDirtyDefault = false;
|
|
4924
|
+
export declare const BuildReleaseBody: zod.ZodObject<{
|
|
4925
|
+
bundle: zod.ZodObject<{
|
|
4926
|
+
schemas: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
4927
|
+
objectType: zod.ZodString;
|
|
4928
|
+
kind: zod.ZodLiteral<"user-schema">;
|
|
4929
|
+
metaSchema: zod.ZodURL;
|
|
4930
|
+
"x-auth-methods": zod.ZodObject<{
|
|
4931
|
+
password: zod.ZodOptional<zod.ZodObject<{
|
|
4932
|
+
enabled: zod.ZodBoolean;
|
|
4933
|
+
}, zod.z.core.$strip>>;
|
|
4934
|
+
passkey: zod.ZodOptional<zod.ZodObject<{
|
|
4935
|
+
enabled: zod.ZodBoolean;
|
|
4936
|
+
}, zod.z.core.$strip>>;
|
|
4937
|
+
magic_link: zod.ZodOptional<zod.ZodObject<{
|
|
4938
|
+
enabled: zod.ZodBoolean;
|
|
4939
|
+
}, zod.z.core.$strip>>;
|
|
4940
|
+
sso: zod.ZodOptional<zod.ZodObject<{
|
|
4941
|
+
enabled: zod.ZodBoolean;
|
|
4942
|
+
providers: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4943
|
+
}, zod.z.core.$strip>>;
|
|
4944
|
+
otp: zod.ZodOptional<zod.ZodObject<{
|
|
4945
|
+
enabled: zod.ZodBoolean;
|
|
4946
|
+
}, zod.z.core.$strip>>;
|
|
4947
|
+
}, zod.z.core.$strip>;
|
|
4948
|
+
"x-identifier": zod.ZodOptional<zod.ZodString>;
|
|
4949
|
+
"x-display": zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4950
|
+
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
4951
|
+
"x-unique": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
4952
|
+
unspecified: "unspecified";
|
|
4953
|
+
project: "project";
|
|
4954
|
+
team: "team";
|
|
4955
|
+
}>, zod.ZodNull]>>;
|
|
4956
|
+
"x-claim": zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
4957
|
+
"x-audit": zod.ZodDefault<zod.ZodBoolean>;
|
|
4958
|
+
properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
4959
|
+
}, zod.z.core.$strip>>>;
|
|
4960
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
4961
|
+
kind: zod.ZodLiteral<"schema-url">;
|
|
4962
|
+
url: zod.ZodURL;
|
|
4963
|
+
}, zod.z.core.$strip>]>>>;
|
|
4964
|
+
flow_definitions: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
4965
|
+
name: zod.ZodString;
|
|
4966
|
+
status: zod.ZodEnum<{
|
|
4967
|
+
active: "active";
|
|
4968
|
+
draft: "draft";
|
|
4969
|
+
}>;
|
|
4970
|
+
user_schema: zod.ZodString;
|
|
4971
|
+
purposes: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
|
4972
|
+
audience: zod.ZodOptional<zod.ZodObject<{
|
|
4973
|
+
team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4974
|
+
app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4975
|
+
}, zod.z.core.$strip>>;
|
|
4976
|
+
steps: zod.ZodArray<zod.ZodObject<{
|
|
4977
|
+
name: zod.ZodString;
|
|
4978
|
+
fields: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
4979
|
+
actions: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
4980
|
+
name: zod.ZodString;
|
|
4981
|
+
kind: zod.ZodEnum<{
|
|
4982
|
+
passkey: "passkey";
|
|
4983
|
+
submit: "submit";
|
|
4984
|
+
passkey_register: "passkey_register";
|
|
4985
|
+
navigate: "navigate";
|
|
4986
|
+
}>;
|
|
4987
|
+
primary: zod.ZodDefault<zod.ZodBoolean>;
|
|
4988
|
+
text_key: zod.ZodOptional<zod.ZodString>;
|
|
4989
|
+
}, zod.z.core.$strip>>>;
|
|
4990
|
+
gates: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
4991
|
+
kind: zod.ZodEnum<{
|
|
4992
|
+
captcha: "captcha";
|
|
4993
|
+
}>;
|
|
4994
|
+
provider: zod.ZodString;
|
|
4995
|
+
config: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
4996
|
+
}, zod.z.core.$strip>>>;
|
|
4997
|
+
sso_providers: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
4998
|
+
on_success: zod.ZodOptional<zod.ZodEnum<{
|
|
4999
|
+
create_user: "create_user";
|
|
5000
|
+
create_user_with_sso: "create_user_with_sso";
|
|
5001
|
+
}>>;
|
|
5002
|
+
complete: zod.ZodOptional<zod.ZodEnum<{
|
|
5003
|
+
redirect: "redirect";
|
|
5004
|
+
show: "show";
|
|
5005
|
+
}>>;
|
|
5006
|
+
transitions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
5007
|
+
target: zod.ZodString;
|
|
5008
|
+
action: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5009
|
+
switch: "switch";
|
|
5010
|
+
pivot: "pivot";
|
|
5011
|
+
}>, zod.ZodNull]>>;
|
|
5012
|
+
purpose: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5013
|
+
login: "login";
|
|
5014
|
+
register: "register";
|
|
5015
|
+
recovery: "recovery";
|
|
5016
|
+
profiling: "profiling";
|
|
5017
|
+
reauth: "reauth";
|
|
5018
|
+
link_account: "link_account";
|
|
5019
|
+
}>, zod.ZodNull]>>;
|
|
5020
|
+
}, zod.z.core.$strip>>>;
|
|
5021
|
+
}, zod.z.core.$strip>>;
|
|
5022
|
+
}, zod.z.core.$strip>>>;
|
|
5023
|
+
idps: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
5024
|
+
slug: zod.ZodString;
|
|
5025
|
+
protocol: zod.ZodEnum<{
|
|
5026
|
+
oidc: "oidc";
|
|
5027
|
+
}>;
|
|
5028
|
+
template: zod.ZodOptional<zod.ZodString>;
|
|
5029
|
+
display_name: zod.ZodString;
|
|
5030
|
+
subject_claim: zod.ZodOptional<zod.ZodString>;
|
|
5031
|
+
claim_mapping: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5032
|
+
verified_claims: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodBoolean, zod.ZodString]>>>;
|
|
5033
|
+
provisioning: zod.ZodOptional<zod.ZodObject<{
|
|
5034
|
+
creation: zod.ZodDefault<zod.ZodEnum<{
|
|
5035
|
+
auto: "auto";
|
|
5036
|
+
disabled: "disabled";
|
|
5037
|
+
}>>;
|
|
5038
|
+
}, zod.z.core.$strip>>;
|
|
5039
|
+
oidc: zod.ZodOptional<zod.ZodObject<{
|
|
5040
|
+
issuer: zod.ZodString;
|
|
5041
|
+
jwks_uri: zod.ZodOptional<zod.ZodString>;
|
|
5042
|
+
id_token_mapping: zod.ZodDefault<zod.ZodBoolean>;
|
|
5043
|
+
authorization_endpoint: zod.ZodOptional<zod.ZodString>;
|
|
5044
|
+
token_endpoint: zod.ZodOptional<zod.ZodString>;
|
|
5045
|
+
userinfo_endpoint: zod.ZodOptional<zod.ZodString>;
|
|
5046
|
+
client_id: zod.ZodString;
|
|
5047
|
+
client_secret: zod.ZodString;
|
|
5048
|
+
token_endpoint_auth_method: zod.ZodDefault<zod.ZodEnum<{
|
|
5049
|
+
client_secret_basic: "client_secret_basic";
|
|
5050
|
+
client_secret_post: "client_secret_post";
|
|
5051
|
+
}>>;
|
|
5052
|
+
scopes: zod.ZodDefault<zod.ZodArray<zod.ZodString>>;
|
|
5053
|
+
pkce_enabled: zod.ZodDefault<zod.ZodBoolean>;
|
|
5054
|
+
static_authorize_parameters: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5055
|
+
}, zod.z.core.$strip>>;
|
|
5056
|
+
}, zod.z.core.$strip>>>;
|
|
5057
|
+
branding: zod.ZodOptional<zod.ZodObject<{
|
|
5058
|
+
layout: zod.ZodDefault<zod.ZodEnum<{
|
|
5059
|
+
centered: "centered";
|
|
5060
|
+
split: "split";
|
|
5061
|
+
}>>;
|
|
5062
|
+
liquid_template: zod.ZodOptional<zod.ZodString>;
|
|
5063
|
+
logo_url: zod.ZodOptional<zod.ZodURL>;
|
|
5064
|
+
hero_url: zod.ZodOptional<zod.ZodURL>;
|
|
5065
|
+
theme: zod.ZodOptional<zod.ZodObject<{
|
|
5066
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
5067
|
+
light: "light";
|
|
5068
|
+
dark: "dark";
|
|
5069
|
+
auto: "auto";
|
|
5070
|
+
}>>;
|
|
5071
|
+
light: zod.ZodOptional<zod.ZodObject<{
|
|
5072
|
+
logo_url: zod.ZodOptional<zod.ZodURL>;
|
|
5073
|
+
palette: zod.ZodOptional<zod.ZodObject<{
|
|
5074
|
+
primary: zod.ZodOptional<zod.ZodString>;
|
|
5075
|
+
on_primary: zod.ZodOptional<zod.ZodString>;
|
|
5076
|
+
background: zod.ZodOptional<zod.ZodString>;
|
|
5077
|
+
surface: zod.ZodOptional<zod.ZodString>;
|
|
5078
|
+
muted: zod.ZodOptional<zod.ZodString>;
|
|
5079
|
+
border: zod.ZodOptional<zod.ZodString>;
|
|
5080
|
+
text: zod.ZodOptional<zod.ZodString>;
|
|
5081
|
+
text_muted: zod.ZodOptional<zod.ZodString>;
|
|
5082
|
+
link: zod.ZodOptional<zod.ZodString>;
|
|
5083
|
+
success: zod.ZodOptional<zod.ZodString>;
|
|
5084
|
+
warning: zod.ZodOptional<zod.ZodString>;
|
|
5085
|
+
error: zod.ZodOptional<zod.ZodString>;
|
|
5086
|
+
}, zod.z.core.$strip>>;
|
|
5087
|
+
}, zod.z.core.$strip>>;
|
|
5088
|
+
dark: zod.ZodOptional<zod.ZodObject<{
|
|
5089
|
+
logo_url: zod.ZodOptional<zod.ZodURL>;
|
|
5090
|
+
palette: zod.ZodOptional<zod.ZodObject<{
|
|
5091
|
+
primary: zod.ZodOptional<zod.ZodString>;
|
|
5092
|
+
on_primary: zod.ZodOptional<zod.ZodString>;
|
|
5093
|
+
background: zod.ZodOptional<zod.ZodString>;
|
|
5094
|
+
surface: zod.ZodOptional<zod.ZodString>;
|
|
5095
|
+
muted: zod.ZodOptional<zod.ZodString>;
|
|
5096
|
+
border: zod.ZodOptional<zod.ZodString>;
|
|
5097
|
+
text: zod.ZodOptional<zod.ZodString>;
|
|
5098
|
+
text_muted: zod.ZodOptional<zod.ZodString>;
|
|
5099
|
+
link: zod.ZodOptional<zod.ZodString>;
|
|
5100
|
+
success: zod.ZodOptional<zod.ZodString>;
|
|
5101
|
+
warning: zod.ZodOptional<zod.ZodString>;
|
|
5102
|
+
error: zod.ZodOptional<zod.ZodString>;
|
|
5103
|
+
}, zod.z.core.$strip>>;
|
|
5104
|
+
}, zod.z.core.$strip>>;
|
|
5105
|
+
}, zod.z.core.$strip>>;
|
|
5106
|
+
typography: zod.ZodOptional<zod.ZodObject<{
|
|
5107
|
+
font_family: zod.ZodOptional<zod.ZodString>;
|
|
5108
|
+
font_url: zod.ZodOptional<zod.ZodURL>;
|
|
5109
|
+
scale: zod.ZodOptional<zod.ZodNumber>;
|
|
5110
|
+
}, zod.z.core.$strip>>;
|
|
5111
|
+
shape: zod.ZodOptional<zod.ZodObject<{
|
|
5112
|
+
radius: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5113
|
+
none: "none";
|
|
5114
|
+
sm: "sm";
|
|
5115
|
+
md: "md";
|
|
5116
|
+
lg: "lg";
|
|
5117
|
+
full: "full";
|
|
5118
|
+
}>, zod.ZodInt]>>;
|
|
5119
|
+
density: zod.ZodOptional<zod.ZodEnum<{
|
|
5120
|
+
compact: "compact";
|
|
5121
|
+
regular: "regular";
|
|
5122
|
+
comfortable: "comfortable";
|
|
5123
|
+
}>>;
|
|
5124
|
+
logo_scale: zod.ZodOptional<zod.ZodNumber>;
|
|
5125
|
+
}, zod.z.core.$strip>>;
|
|
5126
|
+
}, zod.z.core.$strip>>;
|
|
5127
|
+
}, zod.z.core.$strip>;
|
|
5128
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
5129
|
+
git_sha: zod.ZodOptional<zod.ZodString>;
|
|
5130
|
+
git_dirty: zod.ZodDefault<zod.ZodBoolean>;
|
|
5131
|
+
}, zod.z.core.$strip>;
|
|
5132
|
+
export declare const buildReleaseResponseIdRegExp: RegExp;
|
|
5133
|
+
export declare const buildReleaseResponseProjectIdRegExp: RegExp;
|
|
5134
|
+
export declare const buildReleaseResponseContentHashMin = 71;
|
|
5135
|
+
export declare const buildReleaseResponseContentHashMax = 71;
|
|
5136
|
+
export declare const buildReleaseResponseContentHashRegExp: RegExp;
|
|
5137
|
+
export declare const buildReleaseResponseMetadataMessageOneMax = 1024;
|
|
5138
|
+
export declare const buildReleaseResponseMetadataGitShaOneMax = 64;
|
|
5139
|
+
export declare const buildReleaseResponseMetadataGitDirtyDefault = false;
|
|
5140
|
+
export declare const buildReleaseResponsePointersItemHandleMax = 256;
|
|
5141
|
+
export declare const buildReleaseResponsePointersItemRevisionIdMax = 512;
|
|
5142
|
+
export declare const buildReleaseResponsePointersMax = 50;
|
|
5143
|
+
export declare const BuildReleaseResponse: zod.ZodObject<{
|
|
5144
|
+
id: zod.ZodString;
|
|
5145
|
+
project_id: zod.ZodString;
|
|
5146
|
+
content_hash: zod.ZodString;
|
|
5147
|
+
metadata: zod.ZodObject<{
|
|
5148
|
+
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
5149
|
+
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
5150
|
+
git_dirty: zod.ZodDefault<zod.ZodBoolean>;
|
|
5151
|
+
created_at: zod.z.ZodISODateTime;
|
|
5152
|
+
created_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
5153
|
+
created_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5154
|
+
human: "human";
|
|
5155
|
+
service: "service";
|
|
5156
|
+
system: "system";
|
|
5157
|
+
agent: "agent";
|
|
5158
|
+
}>, zod.ZodNull]>>;
|
|
5159
|
+
}, zod.z.core.$strip>;
|
|
5160
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
5161
|
+
pointers: zod.ZodArray<zod.ZodObject<{
|
|
5162
|
+
kind: zod.ZodEnum<{
|
|
5163
|
+
schema: "schema";
|
|
5164
|
+
branding: "branding";
|
|
5165
|
+
flow_definition: "flow_definition";
|
|
5166
|
+
idp: "idp";
|
|
5167
|
+
}>;
|
|
5168
|
+
handle: zod.ZodString;
|
|
5169
|
+
revision_id: zod.ZodString;
|
|
5170
|
+
}, zod.z.core.$strip>>;
|
|
5171
|
+
}, zod.z.core.$strip>;
|
|
5172
|
+
/**
|
|
5173
|
+
* Reads one release: its digest, its metadata, whether it was revoked, and
|
|
5174
|
+
* the `(kind, handle, revision_id)` tuples it pins.
|
|
5175
|
+
*
|
|
5176
|
+
* The path takes the `rel_` id only. To find a release from its digest,
|
|
5177
|
+
* list with the `content_hash` filter and read the matched entry's `id`.
|
|
4647
5178
|
*
|
|
4648
5179
|
* Does not embed resource content. Resolve each `revision_id` through the
|
|
4649
5180
|
* per-kind read endpoints when the bytes are needed.
|
|
@@ -4664,6 +5195,9 @@ export declare const GetReleaseByIdQueryParams: zod.ZodObject<{
|
|
|
4664
5195
|
}, zod.z.core.$strict>;
|
|
4665
5196
|
export declare const getReleaseByIdResponseIdRegExp: RegExp;
|
|
4666
5197
|
export declare const getReleaseByIdResponseProjectIdRegExp: RegExp;
|
|
5198
|
+
export declare const getReleaseByIdResponseContentHashMin = 71;
|
|
5199
|
+
export declare const getReleaseByIdResponseContentHashMax = 71;
|
|
5200
|
+
export declare const getReleaseByIdResponseContentHashRegExp: RegExp;
|
|
4667
5201
|
export declare const getReleaseByIdResponseMetadataMessageOneMax = 1024;
|
|
4668
5202
|
export declare const getReleaseByIdResponseMetadataGitShaOneMax = 64;
|
|
4669
5203
|
export declare const getReleaseByIdResponseMetadataGitDirtyDefault = false;
|
|
@@ -4673,6 +5207,77 @@ export declare const getReleaseByIdResponsePointersMax = 50;
|
|
|
4673
5207
|
export declare const GetReleaseByIdResponse: zod.ZodObject<{
|
|
4674
5208
|
id: zod.ZodString;
|
|
4675
5209
|
project_id: zod.ZodString;
|
|
5210
|
+
content_hash: zod.ZodString;
|
|
5211
|
+
metadata: zod.ZodObject<{
|
|
5212
|
+
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
5213
|
+
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
5214
|
+
git_dirty: zod.ZodDefault<zod.ZodBoolean>;
|
|
5215
|
+
created_at: zod.z.ZodISODateTime;
|
|
5216
|
+
created_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
5217
|
+
created_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
5218
|
+
human: "human";
|
|
5219
|
+
service: "service";
|
|
5220
|
+
system: "system";
|
|
5221
|
+
agent: "agent";
|
|
5222
|
+
}>, zod.ZodNull]>>;
|
|
5223
|
+
}, zod.z.core.$strip>;
|
|
5224
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
5225
|
+
pointers: zod.ZodArray<zod.ZodObject<{
|
|
5226
|
+
kind: zod.ZodEnum<{
|
|
5227
|
+
schema: "schema";
|
|
5228
|
+
branding: "branding";
|
|
5229
|
+
flow_definition: "flow_definition";
|
|
5230
|
+
idp: "idp";
|
|
5231
|
+
}>;
|
|
5232
|
+
handle: zod.ZodString;
|
|
5233
|
+
revision_id: zod.ZodString;
|
|
5234
|
+
}, zod.z.core.$strip>>;
|
|
5235
|
+
}, zod.z.core.$strip>;
|
|
5236
|
+
/**
|
|
5237
|
+
* Marks the release revoked, so that its content is never served again.
|
|
5238
|
+
* From then on the release cannot be deployed and is refused on every path
|
|
5239
|
+
* that would serve it, including to a build that pins its digest, with
|
|
5240
|
+
* `rel.revoked`.
|
|
5241
|
+
*
|
|
5242
|
+
* A release that any origin still serves cannot be revoked. An origin
|
|
5243
|
+
* serves the release of the newest deployment to it, so the call answers
|
|
5244
|
+
* `409` with `rel.in_use`, naming each such origin and that deployment.
|
|
5245
|
+
* Deploy another release there or roll back first, then revoke. Revoking
|
|
5246
|
+
* therefore never takes an origin down. Deployments that named the release
|
|
5247
|
+
* earlier stay in the history.
|
|
5248
|
+
*
|
|
5249
|
+
* Idempotent: revoking a release that is already revoked answers `200`
|
|
5250
|
+
* with the release unchanged, `revoked_at` still naming the first
|
|
5251
|
+
* revocation. There is no un-revoke; build a new release instead.
|
|
5252
|
+
*
|
|
5253
|
+
* Takes no body. The lookup is scoped to the project in `project_id`, so a
|
|
5254
|
+
* release id of another project answers not found exactly as an unknown id
|
|
5255
|
+
* does.
|
|
5256
|
+
* @summary Revoke a release
|
|
5257
|
+
*/
|
|
5258
|
+
export declare const revokeReleasePathReleaseIdRegExp: RegExp;
|
|
5259
|
+
export declare const RevokeReleaseParams: zod.ZodObject<{
|
|
5260
|
+
release_id: zod.ZodString;
|
|
5261
|
+
}, zod.z.core.$strip>;
|
|
5262
|
+
export declare const revokeReleaseQueryProjectIdRegExp: RegExp;
|
|
5263
|
+
export declare const RevokeReleaseQueryParams: zod.ZodObject<{
|
|
5264
|
+
project_id: zod.ZodString;
|
|
5265
|
+
}, zod.z.core.$strict>;
|
|
5266
|
+
export declare const revokeReleaseResponseIdRegExp: RegExp;
|
|
5267
|
+
export declare const revokeReleaseResponseProjectIdRegExp: RegExp;
|
|
5268
|
+
export declare const revokeReleaseResponseContentHashMin = 71;
|
|
5269
|
+
export declare const revokeReleaseResponseContentHashMax = 71;
|
|
5270
|
+
export declare const revokeReleaseResponseContentHashRegExp: RegExp;
|
|
5271
|
+
export declare const revokeReleaseResponseMetadataMessageOneMax = 1024;
|
|
5272
|
+
export declare const revokeReleaseResponseMetadataGitShaOneMax = 64;
|
|
5273
|
+
export declare const revokeReleaseResponseMetadataGitDirtyDefault = false;
|
|
5274
|
+
export declare const revokeReleaseResponsePointersItemHandleMax = 256;
|
|
5275
|
+
export declare const revokeReleaseResponsePointersItemRevisionIdMax = 512;
|
|
5276
|
+
export declare const revokeReleaseResponsePointersMax = 50;
|
|
5277
|
+
export declare const RevokeReleaseResponse: zod.ZodObject<{
|
|
5278
|
+
id: zod.ZodString;
|
|
5279
|
+
project_id: zod.ZodString;
|
|
5280
|
+
content_hash: zod.ZodString;
|
|
4676
5281
|
metadata: zod.ZodObject<{
|
|
4677
5282
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
4678
5283
|
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -4686,11 +5291,13 @@ export declare const GetReleaseByIdResponse: zod.ZodObject<{
|
|
|
4686
5291
|
agent: "agent";
|
|
4687
5292
|
}>, zod.ZodNull]>>;
|
|
4688
5293
|
}, zod.z.core.$strip>;
|
|
5294
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
4689
5295
|
pointers: zod.ZodArray<zod.ZodObject<{
|
|
4690
5296
|
kind: zod.ZodEnum<{
|
|
4691
5297
|
schema: "schema";
|
|
4692
5298
|
branding: "branding";
|
|
4693
5299
|
flow_definition: "flow_definition";
|
|
5300
|
+
idp: "idp";
|
|
4694
5301
|
}>;
|
|
4695
5302
|
handle: zod.ZodString;
|
|
4696
5303
|
revision_id: zod.ZodString;
|
|
@@ -5096,11 +5703,14 @@ export declare const listEventsResponseDataItemTwofourOneProjectIdRegExp: RegExp
|
|
|
5096
5703
|
export declare const listEventsResponseDataItemTwofiveOneProjectIdRegExp: RegExp;
|
|
5097
5704
|
export declare const listEventsResponseDataItemTwosixOneProjectIdRegExp: RegExp;
|
|
5098
5705
|
export declare const listEventsResponseDataItemTwosevenOneProjectIdRegExp: RegExp;
|
|
5099
|
-
export declare const listEventsResponseDataItemTwosevenTwoPayloadStatusMin = 100;
|
|
5100
|
-
export declare const listEventsResponseDataItemTwosevenTwoPayloadStatusMax = 599;
|
|
5101
|
-
export declare const listEventsResponseDataItemTwosevenTwoPayloadDurationMsMin = 0;
|
|
5102
5706
|
export declare const listEventsResponseDataItemTwoeightOneProjectIdRegExp: RegExp;
|
|
5707
|
+
export declare const listEventsResponseDataItemTwoeightTwoPayloadContentHashMin = 71;
|
|
5708
|
+
export declare const listEventsResponseDataItemTwoeightTwoPayloadContentHashMax = 71;
|
|
5709
|
+
export declare const listEventsResponseDataItemTwoeightTwoPayloadContentHashRegExp: RegExp;
|
|
5103
5710
|
export declare const listEventsResponseDataItemTwonineOneProjectIdRegExp: RegExp;
|
|
5711
|
+
export declare const listEventsResponseDataItemTwonineTwoPayloadStatusMin = 100;
|
|
5712
|
+
export declare const listEventsResponseDataItemTwonineTwoPayloadStatusMax = 599;
|
|
5713
|
+
export declare const listEventsResponseDataItemTwonineTwoPayloadDurationMsMin = 0;
|
|
5104
5714
|
export declare const listEventsResponseDataItemThreezeroOneProjectIdRegExp: RegExp;
|
|
5105
5715
|
export declare const listEventsResponseDataItemThreeoneOneProjectIdRegExp: RegExp;
|
|
5106
5716
|
export declare const listEventsResponseDataItemThreetwoOneProjectIdRegExp: RegExp;
|
|
@@ -5109,6 +5719,10 @@ export declare const listEventsResponseDataItemThreefourOneProjectIdRegExp: RegE
|
|
|
5109
5719
|
export declare const listEventsResponseDataItemThreefiveOneProjectIdRegExp: RegExp;
|
|
5110
5720
|
export declare const listEventsResponseDataItemThreesixOneProjectIdRegExp: RegExp;
|
|
5111
5721
|
export declare const listEventsResponseDataItemThreesevenOneProjectIdRegExp: RegExp;
|
|
5722
|
+
export declare const listEventsResponseDataItemThreeeightOneProjectIdRegExp: RegExp;
|
|
5723
|
+
export declare const listEventsResponseDataItemThreenineOneProjectIdRegExp: RegExp;
|
|
5724
|
+
export declare const listEventsResponseDataItemFourzeroOneProjectIdRegExp: RegExp;
|
|
5725
|
+
export declare const listEventsResponseDataItemFouroneOneProjectIdRegExp: RegExp;
|
|
5112
5726
|
export declare const ListEventsResponse: zod.ZodObject<{
|
|
5113
5727
|
data: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodIntersection<zod.ZodObject<{
|
|
5114
5728
|
id: zod.ZodString;
|
|
@@ -5871,11 +6485,11 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
5871
6485
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
5872
6486
|
event_type: zod.ZodLiteral<"deployment.created">;
|
|
5873
6487
|
payload: zod.ZodObject<{
|
|
5874
|
-
environment_id: zod.ZodOptional<zod.ZodString>;
|
|
5875
6488
|
release_id: zod.ZodOptional<zod.ZodString>;
|
|
6489
|
+
targets: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5876
6490
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
5877
6491
|
message: zod.ZodOptional<zod.ZodString>;
|
|
5878
|
-
|
|
6492
|
+
rollback_to: zod.ZodOptional<zod.ZodString>;
|
|
5879
6493
|
}, zod.z.core.$strip>;
|
|
5880
6494
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
5881
6495
|
id: zod.ZodString;
|
|
@@ -5923,9 +6537,16 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
5923
6537
|
}, zod.z.core.$strip>>;
|
|
5924
6538
|
}, zod.z.core.$strip>>;
|
|
5925
6539
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
5926
|
-
event_type: zod.ZodLiteral<"
|
|
6540
|
+
event_type: zod.ZodLiteral<"flowdef.created">;
|
|
5927
6541
|
payload: zod.ZodObject<{
|
|
5928
6542
|
name: zod.ZodOptional<zod.ZodString>;
|
|
6543
|
+
status: zod.ZodOptional<zod.ZodString>;
|
|
6544
|
+
user_schema: zod.ZodOptional<zod.ZodString>;
|
|
6545
|
+
purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
6546
|
+
audience: zod.ZodOptional<zod.ZodObject<{
|
|
6547
|
+
app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6548
|
+
team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6549
|
+
}, zod.z.core.$strip>>;
|
|
5929
6550
|
}, zod.z.core.$strip>;
|
|
5930
6551
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
5931
6552
|
id: zod.ZodString;
|
|
@@ -5973,17 +6594,8 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
5973
6594
|
}, zod.z.core.$strip>>;
|
|
5974
6595
|
}, zod.z.core.$strip>>;
|
|
5975
6596
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
5976
|
-
event_type: zod.ZodLiteral<"flowdef.
|
|
5977
|
-
payload: zod.ZodObject<{
|
|
5978
|
-
name: zod.ZodOptional<zod.ZodString>;
|
|
5979
|
-
status: zod.ZodOptional<zod.ZodString>;
|
|
5980
|
-
user_schema: zod.ZodOptional<zod.ZodString>;
|
|
5981
|
-
purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
5982
|
-
audience: zod.ZodOptional<zod.ZodObject<{
|
|
5983
|
-
app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5984
|
-
team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5985
|
-
}, zod.z.core.$strip>>;
|
|
5986
|
-
}, zod.z.core.$strip>;
|
|
6597
|
+
event_type: zod.ZodLiteral<"flowdef.deleted">;
|
|
6598
|
+
payload: zod.ZodObject<{}, zod.z.core.$strip>;
|
|
5987
6599
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
5988
6600
|
id: zod.ZodString;
|
|
5989
6601
|
project_id: zod.ZodString;
|
|
@@ -6030,16 +6642,25 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6030
6642
|
}, zod.z.core.$strip>>;
|
|
6031
6643
|
}, zod.z.core.$strip>>;
|
|
6032
6644
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6033
|
-
event_type: zod.ZodLiteral<"flowdef.
|
|
6034
|
-
payload: zod.ZodObject<{
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6645
|
+
event_type: zod.ZodLiteral<"flowdef.updated">;
|
|
6646
|
+
payload: zod.ZodObject<{
|
|
6647
|
+
name: zod.ZodOptional<zod.ZodString>;
|
|
6648
|
+
status: zod.ZodOptional<zod.ZodString>;
|
|
6649
|
+
user_schema: zod.ZodOptional<zod.ZodString>;
|
|
6650
|
+
purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
6651
|
+
audience: zod.ZodOptional<zod.ZodObject<{
|
|
6652
|
+
app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6653
|
+
team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
6654
|
+
}, zod.z.core.$strip>>;
|
|
6655
|
+
}, zod.z.core.$strip>;
|
|
6656
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
6657
|
+
id: zod.ZodString;
|
|
6658
|
+
project_id: zod.ZodString;
|
|
6659
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6660
|
+
event_type: zod.ZodString;
|
|
6661
|
+
category: zod.ZodEnum<{
|
|
6662
|
+
session: "session";
|
|
6663
|
+
admin: "admin";
|
|
6043
6664
|
request: "request";
|
|
6044
6665
|
auth: "auth";
|
|
6045
6666
|
entity: "entity";
|
|
@@ -6078,16 +6699,64 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6078
6699
|
}, zod.z.core.$strip>>;
|
|
6079
6700
|
}, zod.z.core.$strip>>;
|
|
6080
6701
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6081
|
-
event_type: zod.ZodLiteral<"
|
|
6702
|
+
event_type: zod.ZodLiteral<"idp.created">;
|
|
6082
6703
|
payload: zod.ZodObject<{
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6704
|
+
slug: zod.ZodOptional<zod.ZodString>;
|
|
6705
|
+
protocol: zod.ZodOptional<zod.ZodString>;
|
|
6706
|
+
template: zod.ZodOptional<zod.ZodString>;
|
|
6707
|
+
display_name: zod.ZodOptional<zod.ZodString>;
|
|
6708
|
+
revision_id: zod.ZodString;
|
|
6709
|
+
}, zod.z.core.$strip>;
|
|
6710
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
6711
|
+
id: zod.ZodString;
|
|
6712
|
+
project_id: zod.ZodString;
|
|
6713
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6714
|
+
event_type: zod.ZodString;
|
|
6715
|
+
category: zod.ZodEnum<{
|
|
6716
|
+
session: "session";
|
|
6717
|
+
admin: "admin";
|
|
6718
|
+
request: "request";
|
|
6719
|
+
auth: "auth";
|
|
6720
|
+
entity: "entity";
|
|
6721
|
+
signal: "signal";
|
|
6722
|
+
}>;
|
|
6723
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
6724
|
+
created_at: zod.z.ZodISODateTime;
|
|
6725
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6726
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
6727
|
+
human: "human";
|
|
6728
|
+
service: "service";
|
|
6729
|
+
system: "system";
|
|
6730
|
+
agent: "agent";
|
|
6731
|
+
}>, zod.ZodNull]>>;
|
|
6732
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6733
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6734
|
+
client_id: zod.ZodString;
|
|
6735
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
6736
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
6737
|
+
direct: "direct";
|
|
6738
|
+
delegated: "delegated";
|
|
6739
|
+
pat_shared: "pat_shared";
|
|
6740
|
+
exchanged: "exchanged";
|
|
6741
|
+
}>>;
|
|
6742
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
6743
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
6744
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
6745
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6746
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6747
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
6748
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
6749
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
6750
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
6751
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
6752
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
6090
6753
|
}, zod.z.core.$strip>>;
|
|
6754
|
+
}, zod.z.core.$strip>>;
|
|
6755
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6756
|
+
event_type: zod.ZodLiteral<"idp.identity_link.created">;
|
|
6757
|
+
payload: zod.ZodObject<{
|
|
6758
|
+
connection_id: zod.ZodString;
|
|
6759
|
+
user_id: zod.ZodString;
|
|
6091
6760
|
}, zod.z.core.$strip>;
|
|
6092
6761
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
6093
6762
|
id: zod.ZodString;
|
|
@@ -6135,7 +6804,7 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6135
6804
|
}, zod.z.core.$strip>>;
|
|
6136
6805
|
}, zod.z.core.$strip>>;
|
|
6137
6806
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6138
|
-
event_type: zod.ZodLiteral<"idp.
|
|
6807
|
+
event_type: zod.ZodLiteral<"idp.updated">;
|
|
6139
6808
|
payload: zod.ZodObject<{
|
|
6140
6809
|
slug: zod.ZodOptional<zod.ZodString>;
|
|
6141
6810
|
protocol: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6189,10 +6858,13 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6189
6858
|
}, zod.z.core.$strip>>;
|
|
6190
6859
|
}, zod.z.core.$strip>>;
|
|
6191
6860
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6192
|
-
event_type: zod.ZodLiteral<"
|
|
6861
|
+
event_type: zod.ZodLiteral<"origin.added">;
|
|
6193
6862
|
payload: zod.ZodObject<{
|
|
6194
|
-
|
|
6195
|
-
|
|
6863
|
+
pattern: zod.ZodString;
|
|
6864
|
+
kind: zod.ZodEnum<{
|
|
6865
|
+
primary: "primary";
|
|
6866
|
+
preview: "preview";
|
|
6867
|
+
}>;
|
|
6196
6868
|
}, zod.z.core.$strip>;
|
|
6197
6869
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
6198
6870
|
id: zod.ZodString;
|
|
@@ -6240,13 +6912,13 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6240
6912
|
}, zod.z.core.$strip>>;
|
|
6241
6913
|
}, zod.z.core.$strip>>;
|
|
6242
6914
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6243
|
-
event_type: zod.ZodLiteral<"
|
|
6915
|
+
event_type: zod.ZodLiteral<"origin.removed">;
|
|
6244
6916
|
payload: zod.ZodObject<{
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6917
|
+
pattern: zod.ZodString;
|
|
6918
|
+
kind: zod.ZodEnum<{
|
|
6919
|
+
primary: "primary";
|
|
6920
|
+
preview: "preview";
|
|
6921
|
+
}>;
|
|
6250
6922
|
}, zod.z.core.$strip>;
|
|
6251
6923
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
6252
6924
|
id: zod.ZodString;
|
|
@@ -6297,7 +6969,13 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6297
6969
|
event_type: zod.ZodLiteral<"project.created">;
|
|
6298
6970
|
payload: zod.ZodObject<{
|
|
6299
6971
|
name: zod.ZodOptional<zod.ZodString>;
|
|
6300
|
-
|
|
6972
|
+
origins: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
6973
|
+
pattern: zod.ZodString;
|
|
6974
|
+
kind: zod.ZodEnum<{
|
|
6975
|
+
primary: "primary";
|
|
6976
|
+
preview: "preview";
|
|
6977
|
+
}>;
|
|
6978
|
+
}, zod.z.core.$strip>>>;
|
|
6301
6979
|
password_hash_algorithm: zod.ZodOptional<zod.ZodString>;
|
|
6302
6980
|
}, zod.z.core.$strip>;
|
|
6303
6981
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
@@ -6397,7 +7075,13 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6397
7075
|
event_type: zod.ZodLiteral<"project.updated">;
|
|
6398
7076
|
payload: zod.ZodObject<{
|
|
6399
7077
|
name: zod.ZodOptional<zod.ZodString>;
|
|
6400
|
-
|
|
7078
|
+
origins: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
7079
|
+
pattern: zod.ZodString;
|
|
7080
|
+
kind: zod.ZodEnum<{
|
|
7081
|
+
primary: "primary";
|
|
7082
|
+
preview: "preview";
|
|
7083
|
+
}>;
|
|
7084
|
+
}, zod.z.core.$strip>>>;
|
|
6401
7085
|
password_hash_algorithm: zod.ZodOptional<zod.ZodString>;
|
|
6402
7086
|
}, zod.z.core.$strip>;
|
|
6403
7087
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
@@ -6503,6 +7187,56 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
6503
7187
|
origin: zod.ZodOptional<zod.ZodString>;
|
|
6504
7188
|
}, zod.z.core.$strip>>;
|
|
6505
7189
|
}, zod.z.core.$strip>>;
|
|
7190
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
7191
|
+
event_type: zod.ZodLiteral<"release.revoked">;
|
|
7192
|
+
payload: zod.ZodObject<{
|
|
7193
|
+
content_hash: zod.ZodString;
|
|
7194
|
+
}, zod.z.core.$strip>;
|
|
7195
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
7196
|
+
id: zod.ZodString;
|
|
7197
|
+
project_id: zod.ZodString;
|
|
7198
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7199
|
+
event_type: zod.ZodString;
|
|
7200
|
+
category: zod.ZodEnum<{
|
|
7201
|
+
session: "session";
|
|
7202
|
+
admin: "admin";
|
|
7203
|
+
request: "request";
|
|
7204
|
+
auth: "auth";
|
|
7205
|
+
entity: "entity";
|
|
7206
|
+
signal: "signal";
|
|
7207
|
+
}>;
|
|
7208
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
7209
|
+
created_at: zod.z.ZodISODateTime;
|
|
7210
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7211
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
7212
|
+
human: "human";
|
|
7213
|
+
service: "service";
|
|
7214
|
+
system: "system";
|
|
7215
|
+
agent: "agent";
|
|
7216
|
+
}>, zod.ZodNull]>>;
|
|
7217
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7218
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7219
|
+
client_id: zod.ZodString;
|
|
7220
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
7221
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
7222
|
+
direct: "direct";
|
|
7223
|
+
delegated: "delegated";
|
|
7224
|
+
pat_shared: "pat_shared";
|
|
7225
|
+
exchanged: "exchanged";
|
|
7226
|
+
}>>;
|
|
7227
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
7228
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
7229
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
7230
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7231
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7232
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7233
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
7234
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
7235
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
7236
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
7237
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
7238
|
+
}, zod.z.core.$strip>>;
|
|
7239
|
+
}, zod.z.core.$strip>>;
|
|
6506
7240
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
6507
7241
|
event_type: zod.ZodLiteral<"request.api">;
|
|
6508
7242
|
payload: zod.ZodObject<{
|
|
@@ -7020,6 +7754,113 @@ export declare const ListEventsResponse: zod.ZodObject<{
|
|
|
7020
7754
|
attribute_keys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7021
7755
|
attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
7022
7756
|
}, zod.z.core.$strip>;
|
|
7757
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
7758
|
+
id: zod.ZodString;
|
|
7759
|
+
project_id: zod.ZodString;
|
|
7760
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7761
|
+
event_type: zod.ZodString;
|
|
7762
|
+
category: zod.ZodEnum<{
|
|
7763
|
+
session: "session";
|
|
7764
|
+
admin: "admin";
|
|
7765
|
+
request: "request";
|
|
7766
|
+
auth: "auth";
|
|
7767
|
+
entity: "entity";
|
|
7768
|
+
signal: "signal";
|
|
7769
|
+
}>;
|
|
7770
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
7771
|
+
created_at: zod.z.ZodISODateTime;
|
|
7772
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7773
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
7774
|
+
human: "human";
|
|
7775
|
+
service: "service";
|
|
7776
|
+
system: "system";
|
|
7777
|
+
agent: "agent";
|
|
7778
|
+
}>, zod.ZodNull]>>;
|
|
7779
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7780
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7781
|
+
client_id: zod.ZodString;
|
|
7782
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
7783
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
7784
|
+
direct: "direct";
|
|
7785
|
+
delegated: "delegated";
|
|
7786
|
+
pat_shared: "pat_shared";
|
|
7787
|
+
exchanged: "exchanged";
|
|
7788
|
+
}>>;
|
|
7789
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
7790
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
7791
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
7792
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7793
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7794
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7795
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
7796
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
7797
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
7798
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
7799
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
7800
|
+
}, zod.z.core.$strip>>;
|
|
7801
|
+
}, zod.z.core.$strip>>;
|
|
7802
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
7803
|
+
event_type: zod.ZodLiteral<"variable.removed">;
|
|
7804
|
+
payload: zod.ZodObject<{
|
|
7805
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
7806
|
+
primary: "primary";
|
|
7807
|
+
preview: "preview";
|
|
7808
|
+
}>>;
|
|
7809
|
+
}, zod.z.core.$strip>;
|
|
7810
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
7811
|
+
id: zod.ZodString;
|
|
7812
|
+
project_id: zod.ZodString;
|
|
7813
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7814
|
+
event_type: zod.ZodString;
|
|
7815
|
+
category: zod.ZodEnum<{
|
|
7816
|
+
session: "session";
|
|
7817
|
+
admin: "admin";
|
|
7818
|
+
request: "request";
|
|
7819
|
+
auth: "auth";
|
|
7820
|
+
entity: "entity";
|
|
7821
|
+
signal: "signal";
|
|
7822
|
+
}>;
|
|
7823
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
7824
|
+
created_at: zod.z.ZodISODateTime;
|
|
7825
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7826
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
7827
|
+
human: "human";
|
|
7828
|
+
service: "service";
|
|
7829
|
+
system: "system";
|
|
7830
|
+
agent: "agent";
|
|
7831
|
+
}>, zod.ZodNull]>>;
|
|
7832
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7833
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7834
|
+
client_id: zod.ZodString;
|
|
7835
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
7836
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
7837
|
+
direct: "direct";
|
|
7838
|
+
delegated: "delegated";
|
|
7839
|
+
pat_shared: "pat_shared";
|
|
7840
|
+
exchanged: "exchanged";
|
|
7841
|
+
}>>;
|
|
7842
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
7843
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
7844
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
7845
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7846
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7847
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7848
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
7849
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
7850
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
7851
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
7852
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
7853
|
+
}, zod.z.core.$strip>>;
|
|
7854
|
+
}, zod.z.core.$strip>>;
|
|
7855
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
7856
|
+
event_type: zod.ZodLiteral<"variable.set">;
|
|
7857
|
+
payload: zod.ZodObject<{
|
|
7858
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
7859
|
+
primary: "primary";
|
|
7860
|
+
preview: "preview";
|
|
7861
|
+
}>>;
|
|
7862
|
+
secret: zod.ZodOptional<zod.ZodBoolean>;
|
|
7863
|
+
}, zod.z.core.$strip>;
|
|
7023
7864
|
}, zod.z.core.$strip>>]>>;
|
|
7024
7865
|
next_page_token: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7025
7866
|
}, zod.z.core.$strip>;
|
|
@@ -7065,11 +7906,14 @@ export declare const getEventResponseTwofourOneProjectIdRegExp: RegExp;
|
|
|
7065
7906
|
export declare const getEventResponseTwofiveOneProjectIdRegExp: RegExp;
|
|
7066
7907
|
export declare const getEventResponseTwosixOneProjectIdRegExp: RegExp;
|
|
7067
7908
|
export declare const getEventResponseTwosevenOneProjectIdRegExp: RegExp;
|
|
7068
|
-
export declare const getEventResponseTwosevenTwoPayloadStatusMin = 100;
|
|
7069
|
-
export declare const getEventResponseTwosevenTwoPayloadStatusMax = 599;
|
|
7070
|
-
export declare const getEventResponseTwosevenTwoPayloadDurationMsMin = 0;
|
|
7071
7909
|
export declare const getEventResponseTwoeightOneProjectIdRegExp: RegExp;
|
|
7910
|
+
export declare const getEventResponseTwoeightTwoPayloadContentHashMin = 71;
|
|
7911
|
+
export declare const getEventResponseTwoeightTwoPayloadContentHashMax = 71;
|
|
7912
|
+
export declare const getEventResponseTwoeightTwoPayloadContentHashRegExp: RegExp;
|
|
7072
7913
|
export declare const getEventResponseTwonineOneProjectIdRegExp: RegExp;
|
|
7914
|
+
export declare const getEventResponseTwonineTwoPayloadStatusMin = 100;
|
|
7915
|
+
export declare const getEventResponseTwonineTwoPayloadStatusMax = 599;
|
|
7916
|
+
export declare const getEventResponseTwonineTwoPayloadDurationMsMin = 0;
|
|
7073
7917
|
export declare const getEventResponseThreezeroOneProjectIdRegExp: RegExp;
|
|
7074
7918
|
export declare const getEventResponseThreeoneOneProjectIdRegExp: RegExp;
|
|
7075
7919
|
export declare const getEventResponseThreetwoOneProjectIdRegExp: RegExp;
|
|
@@ -7078,6 +7922,10 @@ export declare const getEventResponseThreefourOneProjectIdRegExp: RegExp;
|
|
|
7078
7922
|
export declare const getEventResponseThreefiveOneProjectIdRegExp: RegExp;
|
|
7079
7923
|
export declare const getEventResponseThreesixOneProjectIdRegExp: RegExp;
|
|
7080
7924
|
export declare const getEventResponseThreesevenOneProjectIdRegExp: RegExp;
|
|
7925
|
+
export declare const getEventResponseThreeeightOneProjectIdRegExp: RegExp;
|
|
7926
|
+
export declare const getEventResponseThreenineOneProjectIdRegExp: RegExp;
|
|
7927
|
+
export declare const getEventResponseFourzeroOneProjectIdRegExp: RegExp;
|
|
7928
|
+
export declare const getEventResponseFouroneOneProjectIdRegExp: RegExp;
|
|
7081
7929
|
export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersection<zod.ZodObject<{
|
|
7082
7930
|
id: zod.ZodString;
|
|
7083
7931
|
project_id: zod.ZodString;
|
|
@@ -7839,11 +8687,11 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
7839
8687
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
7840
8688
|
event_type: zod.ZodLiteral<"deployment.created">;
|
|
7841
8689
|
payload: zod.ZodObject<{
|
|
7842
|
-
environment_id: zod.ZodOptional<zod.ZodString>;
|
|
7843
8690
|
release_id: zod.ZodOptional<zod.ZodString>;
|
|
8691
|
+
targets: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7844
8692
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
7845
8693
|
message: zod.ZodOptional<zod.ZodString>;
|
|
7846
|
-
|
|
8694
|
+
rollback_to: zod.ZodOptional<zod.ZodString>;
|
|
7847
8695
|
}, zod.z.core.$strip>;
|
|
7848
8696
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
7849
8697
|
id: zod.ZodString;
|
|
@@ -7891,14 +8739,21 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
7891
8739
|
}, zod.z.core.$strip>>;
|
|
7892
8740
|
}, zod.z.core.$strip>>;
|
|
7893
8741
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
7894
|
-
event_type: zod.ZodLiteral<"
|
|
8742
|
+
event_type: zod.ZodLiteral<"flowdef.created">;
|
|
7895
8743
|
payload: zod.ZodObject<{
|
|
7896
8744
|
name: zod.ZodOptional<zod.ZodString>;
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
8745
|
+
status: zod.ZodOptional<zod.ZodString>;
|
|
8746
|
+
user_schema: zod.ZodOptional<zod.ZodString>;
|
|
8747
|
+
purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
8748
|
+
audience: zod.ZodOptional<zod.ZodObject<{
|
|
8749
|
+
app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8750
|
+
team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8751
|
+
}, zod.z.core.$strip>>;
|
|
8752
|
+
}, zod.z.core.$strip>;
|
|
8753
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
8754
|
+
id: zod.ZodString;
|
|
8755
|
+
project_id: zod.ZodString;
|
|
8756
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
7902
8757
|
event_type: zod.ZodString;
|
|
7903
8758
|
category: zod.ZodEnum<{
|
|
7904
8759
|
session: "session";
|
|
@@ -7941,7 +8796,55 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
7941
8796
|
}, zod.z.core.$strip>>;
|
|
7942
8797
|
}, zod.z.core.$strip>>;
|
|
7943
8798
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
7944
|
-
event_type: zod.ZodLiteral<"flowdef.
|
|
8799
|
+
event_type: zod.ZodLiteral<"flowdef.deleted">;
|
|
8800
|
+
payload: zod.ZodObject<{}, zod.z.core.$strip>;
|
|
8801
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
8802
|
+
id: zod.ZodString;
|
|
8803
|
+
project_id: zod.ZodString;
|
|
8804
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8805
|
+
event_type: zod.ZodString;
|
|
8806
|
+
category: zod.ZodEnum<{
|
|
8807
|
+
session: "session";
|
|
8808
|
+
admin: "admin";
|
|
8809
|
+
request: "request";
|
|
8810
|
+
auth: "auth";
|
|
8811
|
+
entity: "entity";
|
|
8812
|
+
signal: "signal";
|
|
8813
|
+
}>;
|
|
8814
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
8815
|
+
created_at: zod.z.ZodISODateTime;
|
|
8816
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8817
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
8818
|
+
human: "human";
|
|
8819
|
+
service: "service";
|
|
8820
|
+
system: "system";
|
|
8821
|
+
agent: "agent";
|
|
8822
|
+
}>, zod.ZodNull]>>;
|
|
8823
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8824
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8825
|
+
client_id: zod.ZodString;
|
|
8826
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
8827
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
8828
|
+
direct: "direct";
|
|
8829
|
+
delegated: "delegated";
|
|
8830
|
+
pat_shared: "pat_shared";
|
|
8831
|
+
exchanged: "exchanged";
|
|
8832
|
+
}>>;
|
|
8833
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
8834
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
8835
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
8836
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8837
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8838
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
8839
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
8840
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
8841
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
8842
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
8843
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
8844
|
+
}, zod.z.core.$strip>>;
|
|
8845
|
+
}, zod.z.core.$strip>>;
|
|
8846
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8847
|
+
event_type: zod.ZodLiteral<"flowdef.updated">;
|
|
7945
8848
|
payload: zod.ZodObject<{
|
|
7946
8849
|
name: zod.ZodOptional<zod.ZodString>;
|
|
7947
8850
|
status: zod.ZodOptional<zod.ZodString>;
|
|
@@ -7998,8 +8901,14 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
7998
8901
|
}, zod.z.core.$strip>>;
|
|
7999
8902
|
}, zod.z.core.$strip>>;
|
|
8000
8903
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8001
|
-
event_type: zod.ZodLiteral<"
|
|
8002
|
-
payload: zod.ZodObject<{
|
|
8904
|
+
event_type: zod.ZodLiteral<"idp.created">;
|
|
8905
|
+
payload: zod.ZodObject<{
|
|
8906
|
+
slug: zod.ZodOptional<zod.ZodString>;
|
|
8907
|
+
protocol: zod.ZodOptional<zod.ZodString>;
|
|
8908
|
+
template: zod.ZodOptional<zod.ZodString>;
|
|
8909
|
+
display_name: zod.ZodOptional<zod.ZodString>;
|
|
8910
|
+
revision_id: zod.ZodString;
|
|
8911
|
+
}, zod.z.core.$strip>;
|
|
8003
8912
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
8004
8913
|
id: zod.ZodString;
|
|
8005
8914
|
project_id: zod.ZodString;
|
|
@@ -8046,16 +8955,10 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8046
8955
|
}, zod.z.core.$strip>>;
|
|
8047
8956
|
}, zod.z.core.$strip>>;
|
|
8048
8957
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8049
|
-
event_type: zod.ZodLiteral<"
|
|
8958
|
+
event_type: zod.ZodLiteral<"idp.identity_link.created">;
|
|
8050
8959
|
payload: zod.ZodObject<{
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
user_schema: zod.ZodOptional<zod.ZodString>;
|
|
8054
|
-
purposes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
8055
|
-
audience: zod.ZodOptional<zod.ZodObject<{
|
|
8056
|
-
app_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8057
|
-
team_ids: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8058
|
-
}, zod.z.core.$strip>>;
|
|
8960
|
+
connection_id: zod.ZodString;
|
|
8961
|
+
user_id: zod.ZodString;
|
|
8059
8962
|
}, zod.z.core.$strip>;
|
|
8060
8963
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
8061
8964
|
id: zod.ZodString;
|
|
@@ -8103,7 +9006,7 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8103
9006
|
}, zod.z.core.$strip>>;
|
|
8104
9007
|
}, zod.z.core.$strip>>;
|
|
8105
9008
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8106
|
-
event_type: zod.ZodLiteral<"idp.
|
|
9009
|
+
event_type: zod.ZodLiteral<"idp.updated">;
|
|
8107
9010
|
payload: zod.ZodObject<{
|
|
8108
9011
|
slug: zod.ZodOptional<zod.ZodString>;
|
|
8109
9012
|
protocol: zod.ZodOptional<zod.ZodString>;
|
|
@@ -8157,10 +9060,13 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8157
9060
|
}, zod.z.core.$strip>>;
|
|
8158
9061
|
}, zod.z.core.$strip>>;
|
|
8159
9062
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8160
|
-
event_type: zod.ZodLiteral<"
|
|
9063
|
+
event_type: zod.ZodLiteral<"origin.added">;
|
|
8161
9064
|
payload: zod.ZodObject<{
|
|
8162
|
-
|
|
8163
|
-
|
|
9065
|
+
pattern: zod.ZodString;
|
|
9066
|
+
kind: zod.ZodEnum<{
|
|
9067
|
+
primary: "primary";
|
|
9068
|
+
preview: "preview";
|
|
9069
|
+
}>;
|
|
8164
9070
|
}, zod.z.core.$strip>;
|
|
8165
9071
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
8166
9072
|
id: zod.ZodString;
|
|
@@ -8208,13 +9114,13 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8208
9114
|
}, zod.z.core.$strip>>;
|
|
8209
9115
|
}, zod.z.core.$strip>>;
|
|
8210
9116
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8211
|
-
event_type: zod.ZodLiteral<"
|
|
9117
|
+
event_type: zod.ZodLiteral<"origin.removed">;
|
|
8212
9118
|
payload: zod.ZodObject<{
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
9119
|
+
pattern: zod.ZodString;
|
|
9120
|
+
kind: zod.ZodEnum<{
|
|
9121
|
+
primary: "primary";
|
|
9122
|
+
preview: "preview";
|
|
9123
|
+
}>;
|
|
8218
9124
|
}, zod.z.core.$strip>;
|
|
8219
9125
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
8220
9126
|
id: zod.ZodString;
|
|
@@ -8265,7 +9171,13 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8265
9171
|
event_type: zod.ZodLiteral<"project.created">;
|
|
8266
9172
|
payload: zod.ZodObject<{
|
|
8267
9173
|
name: zod.ZodOptional<zod.ZodString>;
|
|
8268
|
-
|
|
9174
|
+
origins: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
9175
|
+
pattern: zod.ZodString;
|
|
9176
|
+
kind: zod.ZodEnum<{
|
|
9177
|
+
primary: "primary";
|
|
9178
|
+
preview: "preview";
|
|
9179
|
+
}>;
|
|
9180
|
+
}, zod.z.core.$strip>>>;
|
|
8269
9181
|
password_hash_algorithm: zod.ZodOptional<zod.ZodString>;
|
|
8270
9182
|
}, zod.z.core.$strip>;
|
|
8271
9183
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
@@ -8365,7 +9277,13 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8365
9277
|
event_type: zod.ZodLiteral<"project.updated">;
|
|
8366
9278
|
payload: zod.ZodObject<{
|
|
8367
9279
|
name: zod.ZodOptional<zod.ZodString>;
|
|
8368
|
-
|
|
9280
|
+
origins: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
9281
|
+
pattern: zod.ZodString;
|
|
9282
|
+
kind: zod.ZodEnum<{
|
|
9283
|
+
primary: "primary";
|
|
9284
|
+
preview: "preview";
|
|
9285
|
+
}>;
|
|
9286
|
+
}, zod.z.core.$strip>>>;
|
|
8369
9287
|
password_hash_algorithm: zod.ZodOptional<zod.ZodString>;
|
|
8370
9288
|
}, zod.z.core.$strip>;
|
|
8371
9289
|
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
@@ -8471,6 +9389,56 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8471
9389
|
origin: zod.ZodOptional<zod.ZodString>;
|
|
8472
9390
|
}, zod.z.core.$strip>>;
|
|
8473
9391
|
}, zod.z.core.$strip>>;
|
|
9392
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
9393
|
+
event_type: zod.ZodLiteral<"release.revoked">;
|
|
9394
|
+
payload: zod.ZodObject<{
|
|
9395
|
+
content_hash: zod.ZodString;
|
|
9396
|
+
}, zod.z.core.$strip>;
|
|
9397
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
9398
|
+
id: zod.ZodString;
|
|
9399
|
+
project_id: zod.ZodString;
|
|
9400
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9401
|
+
event_type: zod.ZodString;
|
|
9402
|
+
category: zod.ZodEnum<{
|
|
9403
|
+
session: "session";
|
|
9404
|
+
admin: "admin";
|
|
9405
|
+
request: "request";
|
|
9406
|
+
auth: "auth";
|
|
9407
|
+
entity: "entity";
|
|
9408
|
+
signal: "signal";
|
|
9409
|
+
}>;
|
|
9410
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
9411
|
+
created_at: zod.z.ZodISODateTime;
|
|
9412
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9413
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
9414
|
+
human: "human";
|
|
9415
|
+
service: "service";
|
|
9416
|
+
system: "system";
|
|
9417
|
+
agent: "agent";
|
|
9418
|
+
}>, zod.ZodNull]>>;
|
|
9419
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9420
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9421
|
+
client_id: zod.ZodString;
|
|
9422
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
9423
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
9424
|
+
direct: "direct";
|
|
9425
|
+
delegated: "delegated";
|
|
9426
|
+
pat_shared: "pat_shared";
|
|
9427
|
+
exchanged: "exchanged";
|
|
9428
|
+
}>>;
|
|
9429
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
9430
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
9431
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
9432
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9433
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9434
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9435
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
9436
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
9437
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
9438
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
9439
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
9440
|
+
}, zod.z.core.$strip>>;
|
|
9441
|
+
}, zod.z.core.$strip>>;
|
|
8474
9442
|
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
8475
9443
|
event_type: zod.ZodLiteral<"request.api">;
|
|
8476
9444
|
payload: zod.ZodObject<{
|
|
@@ -8988,57 +9956,168 @@ export declare const GetEventResponse: zod.ZodUnion<readonly [zod.ZodIntersectio
|
|
|
8988
9956
|
attribute_keys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
8989
9957
|
attributes: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
8990
9958
|
}, zod.z.core.$strip>;
|
|
9959
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
9960
|
+
id: zod.ZodString;
|
|
9961
|
+
project_id: zod.ZodString;
|
|
9962
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9963
|
+
event_type: zod.ZodString;
|
|
9964
|
+
category: zod.ZodEnum<{
|
|
9965
|
+
session: "session";
|
|
9966
|
+
admin: "admin";
|
|
9967
|
+
request: "request";
|
|
9968
|
+
auth: "auth";
|
|
9969
|
+
entity: "entity";
|
|
9970
|
+
signal: "signal";
|
|
9971
|
+
}>;
|
|
9972
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
9973
|
+
created_at: zod.z.ZodISODateTime;
|
|
9974
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9975
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
9976
|
+
human: "human";
|
|
9977
|
+
service: "service";
|
|
9978
|
+
system: "system";
|
|
9979
|
+
agent: "agent";
|
|
9980
|
+
}>, zod.ZodNull]>>;
|
|
9981
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9982
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9983
|
+
client_id: zod.ZodString;
|
|
9984
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
9985
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
9986
|
+
direct: "direct";
|
|
9987
|
+
delegated: "delegated";
|
|
9988
|
+
pat_shared: "pat_shared";
|
|
9989
|
+
exchanged: "exchanged";
|
|
9990
|
+
}>>;
|
|
9991
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
9992
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
9993
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
9994
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9995
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9996
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9997
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
9998
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
9999
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
10000
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
10001
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
10002
|
+
}, zod.z.core.$strip>>;
|
|
10003
|
+
}, zod.z.core.$strip>>;
|
|
10004
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
10005
|
+
event_type: zod.ZodLiteral<"variable.removed">;
|
|
10006
|
+
payload: zod.ZodObject<{
|
|
10007
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
10008
|
+
primary: "primary";
|
|
10009
|
+
preview: "preview";
|
|
10010
|
+
}>>;
|
|
10011
|
+
}, zod.z.core.$strip>;
|
|
10012
|
+
}, zod.z.core.$strip>>, zod.ZodIntersection<zod.ZodObject<{
|
|
10013
|
+
id: zod.ZodString;
|
|
10014
|
+
project_id: zod.ZodString;
|
|
10015
|
+
team_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10016
|
+
event_type: zod.ZodString;
|
|
10017
|
+
category: zod.ZodEnum<{
|
|
10018
|
+
session: "session";
|
|
10019
|
+
admin: "admin";
|
|
10020
|
+
request: "request";
|
|
10021
|
+
auth: "auth";
|
|
10022
|
+
entity: "entity";
|
|
10023
|
+
signal: "signal";
|
|
10024
|
+
}>;
|
|
10025
|
+
occurred_at: zod.z.ZodISODateTime;
|
|
10026
|
+
created_at: zod.z.ZodISODateTime;
|
|
10027
|
+
actor_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10028
|
+
actor_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
10029
|
+
human: "human";
|
|
10030
|
+
service: "service";
|
|
10031
|
+
system: "system";
|
|
10032
|
+
agent: "agent";
|
|
10033
|
+
}>, zod.ZodNull]>>;
|
|
10034
|
+
entity_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10035
|
+
entity_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10036
|
+
client_id: zod.ZodString;
|
|
10037
|
+
token_id: zod.ZodOptional<zod.ZodString>;
|
|
10038
|
+
delegation_type: zod.ZodOptional<zod.ZodEnum<{
|
|
10039
|
+
direct: "direct";
|
|
10040
|
+
delegated: "delegated";
|
|
10041
|
+
pat_shared: "pat_shared";
|
|
10042
|
+
exchanged: "exchanged";
|
|
10043
|
+
}>>;
|
|
10044
|
+
delegation_id: zod.ZodOptional<zod.ZodString>;
|
|
10045
|
+
grantor: zod.ZodOptional<zod.ZodString>;
|
|
10046
|
+
fingerprint: zod.ZodOptional<zod.ZodString>;
|
|
10047
|
+
request_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10048
|
+
session_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10049
|
+
flow_id: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10050
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
10051
|
+
client: zod.ZodOptional<zod.ZodObject<{
|
|
10052
|
+
ip: zod.ZodOptional<zod.ZodString>;
|
|
10053
|
+
user_agent: zod.ZodOptional<zod.ZodString>;
|
|
10054
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
10055
|
+
}, zod.z.core.$strip>>;
|
|
10056
|
+
}, zod.z.core.$strip>>;
|
|
10057
|
+
}, zod.z.core.$strip>, zod.ZodObject<{
|
|
10058
|
+
event_type: zod.ZodLiteral<"variable.set">;
|
|
10059
|
+
payload: zod.ZodObject<{
|
|
10060
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
10061
|
+
primary: "primary";
|
|
10062
|
+
preview: "preview";
|
|
10063
|
+
}>>;
|
|
10064
|
+
secret: zod.ZodOptional<zod.ZodBoolean>;
|
|
10065
|
+
}, zod.z.core.$strip>;
|
|
8991
10066
|
}, zod.z.core.$strip>>]>;
|
|
8992
10067
|
/**
|
|
8993
|
-
* Returns the variables
|
|
8994
|
-
*
|
|
8995
|
-
* level itself without it.
|
|
8996
|
-
*
|
|
8997
|
-
* Owners are separate, not a ladder: an environment does not inherit the
|
|
8998
|
-
* project's variables and the project does not see its environments'. Reading
|
|
8999
|
-
* everything a project holds therefore means reading each owner in turn.
|
|
10068
|
+
* Returns the project's variables, keyed by name, each with its value per
|
|
10069
|
+
* kind. With `kind`, only that kind's values are returned.
|
|
9000
10070
|
*
|
|
9001
10071
|
* Secret values are not returned. A secret appears as `{"secret": true}`,
|
|
9002
10072
|
* which says a value is held without disclosing it.
|
|
9003
10073
|
* @summary Get variables
|
|
9004
10074
|
*/
|
|
9005
10075
|
export declare const getVariablesQueryProjectIdRegExp: RegExp;
|
|
9006
|
-
export declare const getVariablesQueryEnvironmentNameMax = 63;
|
|
9007
|
-
export declare const getVariablesQueryEnvironmentNameRegExp: RegExp;
|
|
9008
10076
|
export declare const GetVariablesQueryParams: zod.ZodObject<{
|
|
9009
10077
|
project_id: zod.ZodString;
|
|
9010
|
-
|
|
10078
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
10079
|
+
primary: "primary";
|
|
10080
|
+
preview: "preview";
|
|
10081
|
+
}>>;
|
|
9011
10082
|
}, zod.z.core.$strict>;
|
|
9012
|
-
export declare const
|
|
9013
|
-
export declare const
|
|
9014
|
-
|
|
9015
|
-
|
|
10083
|
+
export declare const getVariablesResponsePrimaryOneOneMax = 16384;
|
|
10084
|
+
export declare const getVariablesResponsePreviewOneOneMax = 16384;
|
|
10085
|
+
export declare const GetVariablesResponse: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
10086
|
+
primary: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10087
|
+
secret: zod.ZodLiteral<true>;
|
|
10088
|
+
}, zod.z.core.$strip>]>>;
|
|
10089
|
+
preview: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10090
|
+
secret: zod.ZodLiteral<true>;
|
|
10091
|
+
}, zod.z.core.$strip>]>>;
|
|
10092
|
+
}, zod.z.core.$strip>>;
|
|
9016
10093
|
/**
|
|
9017
|
-
* Enters, replaces and removes variables
|
|
9018
|
-
*
|
|
10094
|
+
* Enters, replaces and removes the project's variables for the requested
|
|
10095
|
+
* kind. Names not in the body are untouched. Existing deployments keep the
|
|
10096
|
+
* values they froze.
|
|
9019
10097
|
*
|
|
9020
|
-
*
|
|
9021
|
-
*
|
|
9022
|
-
*
|
|
10098
|
+
* Without `kind`, a plain value is written for both kinds. A secret is
|
|
10099
|
+
* written for `primary` only and removes the name's `preview` value, so a
|
|
10100
|
+
* preview never keeps a plaintext copy; set a preview secret with
|
|
10101
|
+
* `kind=preview`. `null` removes the name from both.
|
|
9023
10102
|
*
|
|
9024
10103
|
* A bare scalar enters a non-secret value. `{"value": …, "secret": true}`
|
|
9025
10104
|
* stores the value encrypted under the project's active `secret` key, after
|
|
9026
|
-
* which it can be referenced but not read back. `null` removes the name
|
|
9027
|
-
*
|
|
9028
|
-
*
|
|
9029
|
-
* error.
|
|
10105
|
+
* which it can be referenced but not read back. `null` removes the name
|
|
10106
|
+
* (RFC 7386), which is how several variables are removed in one request;
|
|
10107
|
+
* removing a name the project does not hold is a no-op rather than an error.
|
|
9030
10108
|
*
|
|
9031
10109
|
* The body is applied whole or not at all, so a rejected request leaves the
|
|
9032
|
-
*
|
|
9033
|
-
* value rather than duplicating it, which makes a retry safe.
|
|
10110
|
+
* project's variables exactly as they were. Writing the same name twice
|
|
10111
|
+
* replaces the value rather than duplicating it, which makes a retry safe.
|
|
9034
10112
|
* @summary Update variables
|
|
9035
10113
|
*/
|
|
9036
10114
|
export declare const updateVariablesQueryProjectIdRegExp: RegExp;
|
|
9037
|
-
export declare const updateVariablesQueryEnvironmentNameMax = 63;
|
|
9038
|
-
export declare const updateVariablesQueryEnvironmentNameRegExp: RegExp;
|
|
9039
10115
|
export declare const UpdateVariablesQueryParams: zod.ZodObject<{
|
|
9040
10116
|
project_id: zod.ZodString;
|
|
9041
|
-
|
|
10117
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
10118
|
+
primary: "primary";
|
|
10119
|
+
preview: "preview";
|
|
10120
|
+
}>>;
|
|
9042
10121
|
}, zod.z.core.$strict>;
|
|
9043
10122
|
export declare const updateVariablesBodyTwoOneMax = 16384;
|
|
9044
10123
|
export declare const updateVariablesBodyThreeValueOneMax = 16384;
|
|
@@ -9046,18 +10125,20 @@ export declare const UpdateVariablesBody: zod.ZodRecord<zod.ZodString, zod.ZodUn
|
|
|
9046
10125
|
value: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>;
|
|
9047
10126
|
secret: zod.ZodBoolean;
|
|
9048
10127
|
}, zod.z.core.$strip>]>>;
|
|
9049
|
-
export declare const
|
|
9050
|
-
export declare const
|
|
9051
|
-
|
|
9052
|
-
|
|
10128
|
+
export declare const updateVariablesResponsePrimaryOneOneMax = 16384;
|
|
10129
|
+
export declare const updateVariablesResponsePreviewOneOneMax = 16384;
|
|
10130
|
+
export declare const UpdateVariablesResponse: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
10131
|
+
primary: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10132
|
+
secret: zod.ZodLiteral<true>;
|
|
10133
|
+
}, zod.z.core.$strip>]>>;
|
|
10134
|
+
preview: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10135
|
+
secret: zod.ZodLiteral<true>;
|
|
10136
|
+
}, zod.z.core.$strip>]>>;
|
|
10137
|
+
}, zod.z.core.$strip>>;
|
|
9053
10138
|
/**
|
|
9054
|
-
* Reads one variable by name
|
|
9055
|
-
*
|
|
9056
|
-
*
|
|
9057
|
-
*
|
|
9058
|
-
* A name that owner has not entered answers `var.not_found`, even when
|
|
9059
|
-
* another owner of the same project holds it: nothing is inherited. A secret
|
|
9060
|
-
* is found but not disclosed: the response is `{"secret": true}`.
|
|
10139
|
+
* Reads one variable by name, with its value per kind. A name with no
|
|
10140
|
+
* value for the requested kind answers `var.not_found`. A secret reads
|
|
10141
|
+
* back as `{"secret": true}`.
|
|
9061
10142
|
* @summary Get a variable
|
|
9062
10143
|
*/
|
|
9063
10144
|
export declare const getVariablePathVariableNameMax = 255;
|
|
@@ -9066,22 +10147,27 @@ export declare const GetVariableParams: zod.ZodObject<{
|
|
|
9066
10147
|
variable_name: zod.ZodString;
|
|
9067
10148
|
}, zod.z.core.$strip>;
|
|
9068
10149
|
export declare const getVariableQueryProjectIdRegExp: RegExp;
|
|
9069
|
-
export declare const getVariableQueryEnvironmentNameMax = 63;
|
|
9070
|
-
export declare const getVariableQueryEnvironmentNameRegExp: RegExp;
|
|
9071
10150
|
export declare const GetVariableQueryParams: zod.ZodObject<{
|
|
9072
10151
|
project_id: zod.ZodString;
|
|
9073
|
-
|
|
10152
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
10153
|
+
primary: "primary";
|
|
10154
|
+
preview: "preview";
|
|
10155
|
+
}>>;
|
|
9074
10156
|
}, zod.z.core.$strict>;
|
|
9075
|
-
export declare const
|
|
9076
|
-
export declare const
|
|
9077
|
-
|
|
9078
|
-
|
|
10157
|
+
export declare const getVariableResponsePrimaryOneOneMax = 16384;
|
|
10158
|
+
export declare const getVariableResponsePreviewOneOneMax = 16384;
|
|
10159
|
+
export declare const GetVariableResponse: zod.ZodObject<{
|
|
10160
|
+
primary: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10161
|
+
secret: zod.ZodLiteral<true>;
|
|
10162
|
+
}, zod.z.core.$strip>]>>;
|
|
10163
|
+
preview: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10164
|
+
secret: zod.ZodLiteral<true>;
|
|
10165
|
+
}, zod.z.core.$strip>]>>;
|
|
10166
|
+
}, zod.z.core.$strip>;
|
|
9079
10167
|
/**
|
|
9080
|
-
* Removes
|
|
9081
|
-
*
|
|
9082
|
-
*
|
|
9083
|
-
* another owner of the same project holds answers `var.not_found` and leaves
|
|
9084
|
-
* that owner's value standing.
|
|
10168
|
+
* Removes a variable for the requested kind, or for both kinds without
|
|
10169
|
+
* `kind`. A name with no value for that kind answers `var.not_found`.
|
|
10170
|
+
* Existing deployments keep the values they froze.
|
|
9085
10171
|
* @summary Delete a variable
|
|
9086
10172
|
*/
|
|
9087
10173
|
export declare const deleteVariablePathVariableNameMax = 255;
|
|
@@ -9090,69 +10176,103 @@ export declare const DeleteVariableParams: zod.ZodObject<{
|
|
|
9090
10176
|
variable_name: zod.ZodString;
|
|
9091
10177
|
}, zod.z.core.$strip>;
|
|
9092
10178
|
export declare const deleteVariableQueryProjectIdRegExp: RegExp;
|
|
9093
|
-
export declare const deleteVariableQueryEnvironmentNameMax = 63;
|
|
9094
|
-
export declare const deleteVariableQueryEnvironmentNameRegExp: RegExp;
|
|
9095
10179
|
export declare const DeleteVariableQueryParams: zod.ZodObject<{
|
|
9096
10180
|
project_id: zod.ZodString;
|
|
9097
|
-
|
|
10181
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
10182
|
+
primary: "primary";
|
|
10183
|
+
preview: "preview";
|
|
10184
|
+
}>>;
|
|
9098
10185
|
}, zod.z.core.$strict>;
|
|
9099
10186
|
export declare const DeleteVariableResponse: zod.ZodVoid;
|
|
9100
10187
|
/**
|
|
9101
|
-
* Makes a release live on
|
|
9102
|
-
* happen atomically: when the call returns,
|
|
9103
|
-
* release and the record exists; on any failure
|
|
9104
|
-
*
|
|
10188
|
+
* Makes a release live on a set of targets by recording a deployment. The
|
|
10189
|
+
* two happen atomically: when the call returns, every target serves the
|
|
10190
|
+
* named release and the record exists; on any failure every target keeps
|
|
10191
|
+
* serving what it served and no record is written.
|
|
10192
|
+
*
|
|
10193
|
+
* The release is named by exactly one of `release_id` or `content_hash`
|
|
10194
|
+
* (both or neither answers `400` with `dep.invalid`), and must already
|
|
10195
|
+
* exist in the project: deploying never assembles a release. An
|
|
10196
|
+
* unknown release id or digest answers `404` with `rel.not_found`, and a
|
|
10197
|
+
* revoked release answers `409` with `rel.revoked`.
|
|
10198
|
+
*
|
|
10199
|
+
* `targets` lists `primary`, which expands to every primary origin of the
|
|
10200
|
+
* project, and exact origins. An origin that is neither a primary origin
|
|
10201
|
+
* of the project nor matches one of its preview patterns answers `403`
|
|
10202
|
+
* with `proj.origin_not_allowed`, and `primary` on a project with no
|
|
10203
|
+
* primary origin answers `400` with `dep.invalid`. The deployment records
|
|
10204
|
+
* the resolved origins, sorted, never the keyword.
|
|
9105
10205
|
*
|
|
9106
|
-
*
|
|
9107
|
-
*
|
|
9108
|
-
*
|
|
9109
|
-
*
|
|
10206
|
+
* A deployment to preview URLs creates the preview for each of them, or
|
|
10207
|
+
* renews it when it exists, in the same transaction, with the expiry set
|
|
10208
|
+
* from `ttl`; each target in the response carries that expiry. It always
|
|
10209
|
+
* writes a new deployment, answering `201`, even when the URLs already
|
|
10210
|
+
* serve the release: that record is the renewal. Primary origins and
|
|
10211
|
+
* preview URLs cannot be mixed in one deployment: that answers `400` with
|
|
10212
|
+
* `dep.invalid`.
|
|
9110
10213
|
*
|
|
9111
|
-
*
|
|
9112
|
-
*
|
|
9113
|
-
*
|
|
9114
|
-
*
|
|
9115
|
-
*
|
|
9116
|
-
*
|
|
9117
|
-
* the log is append-only, and each row is one act of making a release live.
|
|
10214
|
+
* A deployment freezes the variable values the project stores for its
|
|
10215
|
+
* kind: primary origins use the primary values, preview URLs the preview
|
|
10216
|
+
* values, with no fallback from one to the other. A release that
|
|
10217
|
+
* references a variable with no value for that kind answers `400` with
|
|
10218
|
+
* `dep.variables_missing`, naming the kind and every missing variable, and
|
|
10219
|
+
* nothing is written.
|
|
9118
10220
|
*
|
|
9119
|
-
*
|
|
9120
|
-
*
|
|
9121
|
-
*
|
|
9122
|
-
*
|
|
10221
|
+
* A deployment to primary origins is idempotent on what is served: when
|
|
10222
|
+
* every resolved target already serves the release with the same frozen
|
|
10223
|
+
* variable values, nothing changes and the call answers `200` with the
|
|
10224
|
+
* newest deployment to those targets, so a re-run of `zitadel deploy` on
|
|
10225
|
+
* unchanged content is a no-op end to end. The same release with a
|
|
10226
|
+
* changed variable value is a new deployment.
|
|
10227
|
+
* Anything else writes a new record covering all of the resolved targets,
|
|
10228
|
+
* including the same release returning after something else was served in
|
|
10229
|
+
* between: the log is append-only, and each record is one act of making a
|
|
10230
|
+
* release live.
|
|
10231
|
+
*
|
|
10232
|
+
* `expected_deployment_id` guards against racing another deploy: when
|
|
10233
|
+
* present, the write only happens if the newest deployment to any of the
|
|
10234
|
+
* resolved targets still is the one named, and a mismatch answers `409`
|
|
10235
|
+
* with `dep.conflict`, carrying the actual newest deployment.
|
|
9123
10236
|
* @summary Create a deployment
|
|
9124
10237
|
*/
|
|
9125
10238
|
export declare const createDeploymentQueryProjectIdRegExp: RegExp;
|
|
9126
10239
|
export declare const CreateDeploymentQueryParams: zod.ZodObject<{
|
|
9127
10240
|
project_id: zod.ZodString;
|
|
9128
10241
|
}, zod.z.core.$strict>;
|
|
9129
|
-
export declare const createDeploymentBodyEnvironmentMax = 63;
|
|
9130
|
-
export declare const createDeploymentBodyEnvironmentRegExp: RegExp;
|
|
9131
10242
|
export declare const createDeploymentBodyReleaseIdRegExp: RegExp;
|
|
9132
|
-
export declare const
|
|
9133
|
-
export declare const
|
|
10243
|
+
export declare const createDeploymentBodyContentHashMin = 71;
|
|
10244
|
+
export declare const createDeploymentBodyContentHashMax = 71;
|
|
10245
|
+
export declare const createDeploymentBodyContentHashRegExp: RegExp;
|
|
10246
|
+
export declare const createDeploymentBodyTargetsItemMax = 2048;
|
|
10247
|
+
export declare const createDeploymentBodyTargetsItemRegExp: RegExp;
|
|
10248
|
+
export declare const createDeploymentBodyTargetsMax = 50;
|
|
10249
|
+
export declare const createDeploymentBodyTtlRegExp: RegExp;
|
|
9134
10250
|
export declare const createDeploymentBodyMessageMax = 1024;
|
|
9135
|
-
export declare const
|
|
10251
|
+
export declare const createDeploymentBodyExpectedDeploymentIdRegExp: RegExp;
|
|
9136
10252
|
export declare const CreateDeploymentBody: zod.ZodObject<{
|
|
9137
|
-
|
|
9138
|
-
|
|
10253
|
+
release_id: zod.ZodOptional<zod.ZodString>;
|
|
10254
|
+
content_hash: zod.ZodOptional<zod.ZodString>;
|
|
10255
|
+
targets: zod.ZodArray<zod.ZodString>;
|
|
10256
|
+
ttl: zod.ZodOptional<zod.ZodString>;
|
|
9139
10257
|
reason: zod.ZodOptional<zod.ZodEnum<{
|
|
9140
10258
|
deploy: "deploy";
|
|
9141
|
-
promote: "promote";
|
|
9142
10259
|
rollback: "rollback";
|
|
9143
10260
|
}>>;
|
|
9144
|
-
source_environment: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9145
10261
|
message: zod.ZodOptional<zod.ZodString>;
|
|
9146
|
-
|
|
10262
|
+
expected_deployment_id: zod.ZodOptional<zod.ZodString>;
|
|
9147
10263
|
}, zod.z.core.$strip>;
|
|
9148
10264
|
export declare const createDeploymentResponseIdRegExp: RegExp;
|
|
9149
10265
|
export declare const createDeploymentResponseProjectIdRegExp: RegExp;
|
|
9150
10266
|
export declare const createDeploymentResponseReleaseIdRegExp: RegExp;
|
|
10267
|
+
export declare const createDeploymentResponseTargetsItemOriginMax = 2048;
|
|
10268
|
+
export declare const createDeploymentResponseTargetsItemOriginRegExp: RegExp;
|
|
9151
10269
|
export declare const createDeploymentResponseMetadataMessageOneMax = 1024;
|
|
9152
|
-
export declare const
|
|
9153
|
-
export declare const createDeploymentResponseMetadataSourceEnvironmentNameOneRegExp: RegExp;
|
|
10270
|
+
export declare const createDeploymentResponseMetadataRollbackToOneRegExp: RegExp;
|
|
9154
10271
|
export declare const createDeploymentResponseReleaseIdRegExpOne: RegExp;
|
|
9155
10272
|
export declare const createDeploymentResponseReleaseProjectIdRegExp: RegExp;
|
|
10273
|
+
export declare const createDeploymentResponseReleaseContentHashMin = 71;
|
|
10274
|
+
export declare const createDeploymentResponseReleaseContentHashMax = 71;
|
|
10275
|
+
export declare const createDeploymentResponseReleaseContentHashRegExp: RegExp;
|
|
9156
10276
|
export declare const createDeploymentResponseReleaseMetadataMessageOneMax = 1024;
|
|
9157
10277
|
export declare const createDeploymentResponseReleaseMetadataGitShaOneMax = 64;
|
|
9158
10278
|
export declare const createDeploymentResponseReleaseMetadataGitDirtyDefault = false;
|
|
@@ -9162,18 +10282,19 @@ export declare const createDeploymentResponseReleasePointersMax = 50;
|
|
|
9162
10282
|
export declare const CreateDeploymentResponse: zod.ZodObject<{
|
|
9163
10283
|
id: zod.ZodString;
|
|
9164
10284
|
project_id: zod.ZodString;
|
|
9165
|
-
environment_id: zod.ZodString;
|
|
9166
10285
|
release_id: zod.ZodString;
|
|
10286
|
+
targets: zod.ZodArray<zod.ZodObject<{
|
|
10287
|
+
origin: zod.ZodString;
|
|
10288
|
+
expires_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
10289
|
+
}, zod.z.core.$strip>>;
|
|
9167
10290
|
deployed_at: zod.z.ZodISODateTime;
|
|
9168
10291
|
metadata: zod.ZodObject<{
|
|
9169
|
-
reason: zod.
|
|
10292
|
+
reason: zod.ZodEnum<{
|
|
9170
10293
|
deploy: "deploy";
|
|
9171
|
-
promote: "promote";
|
|
9172
10294
|
rollback: "rollback";
|
|
9173
|
-
}
|
|
10295
|
+
}>;
|
|
9174
10296
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9175
|
-
|
|
9176
|
-
source_environment_name: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10297
|
+
rollback_to: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9177
10298
|
deployed_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9178
10299
|
deployed_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
9179
10300
|
human: "human";
|
|
@@ -9185,6 +10306,7 @@ export declare const CreateDeploymentResponse: zod.ZodObject<{
|
|
|
9185
10306
|
release: zod.ZodOptional<zod.ZodObject<{
|
|
9186
10307
|
id: zod.ZodString;
|
|
9187
10308
|
project_id: zod.ZodString;
|
|
10309
|
+
content_hash: zod.ZodString;
|
|
9188
10310
|
metadata: zod.ZodObject<{
|
|
9189
10311
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9190
10312
|
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -9198,11 +10320,13 @@ export declare const CreateDeploymentResponse: zod.ZodObject<{
|
|
|
9198
10320
|
agent: "agent";
|
|
9199
10321
|
}>, zod.ZodNull]>>;
|
|
9200
10322
|
}, zod.z.core.$strip>;
|
|
10323
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
9201
10324
|
pointers: zod.ZodArray<zod.ZodObject<{
|
|
9202
10325
|
kind: zod.ZodEnum<{
|
|
9203
10326
|
schema: "schema";
|
|
9204
10327
|
branding: "branding";
|
|
9205
10328
|
flow_definition: "flow_definition";
|
|
10329
|
+
idp: "idp";
|
|
9206
10330
|
}>;
|
|
9207
10331
|
handle: zod.ZodString;
|
|
9208
10332
|
revision_id: zod.ZodString;
|
|
@@ -9212,10 +10336,19 @@ export declare const CreateDeploymentResponse: zod.ZodObject<{
|
|
|
9212
10336
|
/**
|
|
9213
10337
|
* Lists deployments newest first: what ran where, and when.
|
|
9214
10338
|
*
|
|
9215
|
-
*
|
|
9216
|
-
*
|
|
9217
|
-
*
|
|
9218
|
-
*
|
|
10339
|
+
* By default the list is the history: every deployment of the project, each
|
|
10340
|
+
* with every target it made the release live on. With `origin`, it is the
|
|
10341
|
+
* history of that origin alone, and its first row is the deployment the
|
|
10342
|
+
* origin serves.
|
|
10343
|
+
*
|
|
10344
|
+
* With `live=true`, the list is what is served now: the newest deployment
|
|
10345
|
+
* to each target, each carrying only the targets it still serves. A
|
|
10346
|
+
* preview URL is served only while its preview is live, and its
|
|
10347
|
+
* `expires_at` is the expiry its newest deployment set, which is the
|
|
10348
|
+
* preview's current one. A deployment every target of which has since
|
|
10349
|
+
* been replaced, or whose previews have all expired or been removed, does
|
|
10350
|
+
* not appear. Combined with `origin`, the live view is the one deployment
|
|
10351
|
+
* that origin serves, or empty.
|
|
9219
10352
|
*
|
|
9220
10353
|
* `expand: ["release"]` embeds the release each deployment made live, so a
|
|
9221
10354
|
* history renders with each entry's content without resolving `release_id`
|
|
@@ -9224,13 +10357,15 @@ export declare const CreateDeploymentResponse: zod.ZodObject<{
|
|
|
9224
10357
|
* @summary List deployments
|
|
9225
10358
|
*/
|
|
9226
10359
|
export declare const listDeploymentsQueryProjectIdRegExp: RegExp;
|
|
9227
|
-
export declare const
|
|
9228
|
-
export declare const
|
|
10360
|
+
export declare const listDeploymentsQueryOriginMax = 2048;
|
|
10361
|
+
export declare const listDeploymentsQueryOriginRegExp: RegExp;
|
|
10362
|
+
export declare const listDeploymentsQueryLiveDefault = false;
|
|
9229
10363
|
export declare const listDeploymentsQueryLimitDefault = 20;
|
|
9230
10364
|
export declare const listDeploymentsQueryLimitMax = 100;
|
|
9231
10365
|
export declare const ListDeploymentsQueryParams: zod.ZodObject<{
|
|
9232
10366
|
project_id: zod.ZodString;
|
|
9233
|
-
|
|
10367
|
+
origin: zod.ZodOptional<zod.ZodString>;
|
|
10368
|
+
live: zod.ZodDefault<zod.ZodBoolean>;
|
|
9234
10369
|
expand: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
9235
10370
|
release: "release";
|
|
9236
10371
|
}>>>;
|
|
@@ -9240,11 +10375,15 @@ export declare const ListDeploymentsQueryParams: zod.ZodObject<{
|
|
|
9240
10375
|
export declare const listDeploymentsResponseDeploymentsItemIdRegExp: RegExp;
|
|
9241
10376
|
export declare const listDeploymentsResponseDeploymentsItemProjectIdRegExp: RegExp;
|
|
9242
10377
|
export declare const listDeploymentsResponseDeploymentsItemReleaseIdRegExp: RegExp;
|
|
10378
|
+
export declare const listDeploymentsResponseDeploymentsItemTargetsItemOriginMax = 2048;
|
|
10379
|
+
export declare const listDeploymentsResponseDeploymentsItemTargetsItemOriginRegExp: RegExp;
|
|
9243
10380
|
export declare const listDeploymentsResponseDeploymentsItemMetadataMessageOneMax = 1024;
|
|
9244
|
-
export declare const
|
|
9245
|
-
export declare const listDeploymentsResponseDeploymentsItemMetadataSourceEnvironmentNameOneRegExp: RegExp;
|
|
10381
|
+
export declare const listDeploymentsResponseDeploymentsItemMetadataRollbackToOneRegExp: RegExp;
|
|
9246
10382
|
export declare const listDeploymentsResponseDeploymentsItemReleaseIdRegExpOne: RegExp;
|
|
9247
10383
|
export declare const listDeploymentsResponseDeploymentsItemReleaseProjectIdRegExp: RegExp;
|
|
10384
|
+
export declare const listDeploymentsResponseDeploymentsItemReleaseContentHashMin = 71;
|
|
10385
|
+
export declare const listDeploymentsResponseDeploymentsItemReleaseContentHashMax = 71;
|
|
10386
|
+
export declare const listDeploymentsResponseDeploymentsItemReleaseContentHashRegExp: RegExp;
|
|
9248
10387
|
export declare const listDeploymentsResponseDeploymentsItemReleaseMetadataMessageOneMax = 1024;
|
|
9249
10388
|
export declare const listDeploymentsResponseDeploymentsItemReleaseMetadataGitShaOneMax = 64;
|
|
9250
10389
|
export declare const listDeploymentsResponseDeploymentsItemReleaseMetadataGitDirtyDefault = false;
|
|
@@ -9255,18 +10394,19 @@ export declare const ListDeploymentsResponse: zod.ZodObject<{
|
|
|
9255
10394
|
deployments: zod.ZodArray<zod.ZodObject<{
|
|
9256
10395
|
id: zod.ZodString;
|
|
9257
10396
|
project_id: zod.ZodString;
|
|
9258
|
-
environment_id: zod.ZodString;
|
|
9259
10397
|
release_id: zod.ZodString;
|
|
10398
|
+
targets: zod.ZodArray<zod.ZodObject<{
|
|
10399
|
+
origin: zod.ZodString;
|
|
10400
|
+
expires_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
10401
|
+
}, zod.z.core.$strip>>;
|
|
9260
10402
|
deployed_at: zod.z.ZodISODateTime;
|
|
9261
10403
|
metadata: zod.ZodObject<{
|
|
9262
|
-
reason: zod.
|
|
10404
|
+
reason: zod.ZodEnum<{
|
|
9263
10405
|
deploy: "deploy";
|
|
9264
|
-
promote: "promote";
|
|
9265
10406
|
rollback: "rollback";
|
|
9266
|
-
}
|
|
10407
|
+
}>;
|
|
9267
10408
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9268
|
-
|
|
9269
|
-
source_environment_name: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10409
|
+
rollback_to: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9270
10410
|
deployed_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9271
10411
|
deployed_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
9272
10412
|
human: "human";
|
|
@@ -9278,6 +10418,7 @@ export declare const ListDeploymentsResponse: zod.ZodObject<{
|
|
|
9278
10418
|
release: zod.ZodOptional<zod.ZodObject<{
|
|
9279
10419
|
id: zod.ZodString;
|
|
9280
10420
|
project_id: zod.ZodString;
|
|
10421
|
+
content_hash: zod.ZodString;
|
|
9281
10422
|
metadata: zod.ZodObject<{
|
|
9282
10423
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9283
10424
|
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -9291,11 +10432,13 @@ export declare const ListDeploymentsResponse: zod.ZodObject<{
|
|
|
9291
10432
|
agent: "agent";
|
|
9292
10433
|
}>, zod.ZodNull]>>;
|
|
9293
10434
|
}, zod.z.core.$strip>;
|
|
10435
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
9294
10436
|
pointers: zod.ZodArray<zod.ZodObject<{
|
|
9295
10437
|
kind: zod.ZodEnum<{
|
|
9296
10438
|
schema: "schema";
|
|
9297
10439
|
branding: "branding";
|
|
9298
10440
|
flow_definition: "flow_definition";
|
|
10441
|
+
idp: "idp";
|
|
9299
10442
|
}>;
|
|
9300
10443
|
handle: zod.ZodString;
|
|
9301
10444
|
revision_id: zod.ZodString;
|
|
@@ -9324,11 +10467,15 @@ export declare const GetDeploymentByIdQueryParams: zod.ZodObject<{
|
|
|
9324
10467
|
export declare const getDeploymentByIdResponseIdRegExp: RegExp;
|
|
9325
10468
|
export declare const getDeploymentByIdResponseProjectIdRegExp: RegExp;
|
|
9326
10469
|
export declare const getDeploymentByIdResponseReleaseIdRegExp: RegExp;
|
|
10470
|
+
export declare const getDeploymentByIdResponseTargetsItemOriginMax = 2048;
|
|
10471
|
+
export declare const getDeploymentByIdResponseTargetsItemOriginRegExp: RegExp;
|
|
9327
10472
|
export declare const getDeploymentByIdResponseMetadataMessageOneMax = 1024;
|
|
9328
|
-
export declare const
|
|
9329
|
-
export declare const getDeploymentByIdResponseMetadataSourceEnvironmentNameOneRegExp: RegExp;
|
|
10473
|
+
export declare const getDeploymentByIdResponseMetadataRollbackToOneRegExp: RegExp;
|
|
9330
10474
|
export declare const getDeploymentByIdResponseReleaseIdRegExpOne: RegExp;
|
|
9331
10475
|
export declare const getDeploymentByIdResponseReleaseProjectIdRegExp: RegExp;
|
|
10476
|
+
export declare const getDeploymentByIdResponseReleaseContentHashMin = 71;
|
|
10477
|
+
export declare const getDeploymentByIdResponseReleaseContentHashMax = 71;
|
|
10478
|
+
export declare const getDeploymentByIdResponseReleaseContentHashRegExp: RegExp;
|
|
9332
10479
|
export declare const getDeploymentByIdResponseReleaseMetadataMessageOneMax = 1024;
|
|
9333
10480
|
export declare const getDeploymentByIdResponseReleaseMetadataGitShaOneMax = 64;
|
|
9334
10481
|
export declare const getDeploymentByIdResponseReleaseMetadataGitDirtyDefault = false;
|
|
@@ -9338,18 +10485,135 @@ export declare const getDeploymentByIdResponseReleasePointersMax = 50;
|
|
|
9338
10485
|
export declare const GetDeploymentByIdResponse: zod.ZodObject<{
|
|
9339
10486
|
id: zod.ZodString;
|
|
9340
10487
|
project_id: zod.ZodString;
|
|
9341
|
-
environment_id: zod.ZodString;
|
|
9342
10488
|
release_id: zod.ZodString;
|
|
10489
|
+
targets: zod.ZodArray<zod.ZodObject<{
|
|
10490
|
+
origin: zod.ZodString;
|
|
10491
|
+
expires_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
10492
|
+
}, zod.z.core.$strip>>;
|
|
9343
10493
|
deployed_at: zod.z.ZodISODateTime;
|
|
9344
10494
|
metadata: zod.ZodObject<{
|
|
9345
|
-
reason: zod.
|
|
10495
|
+
reason: zod.ZodEnum<{
|
|
9346
10496
|
deploy: "deploy";
|
|
9347
|
-
promote: "promote";
|
|
9348
10497
|
rollback: "rollback";
|
|
9349
|
-
}
|
|
10498
|
+
}>;
|
|
10499
|
+
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10500
|
+
rollback_to: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10501
|
+
deployed_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10502
|
+
deployed_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
10503
|
+
human: "human";
|
|
10504
|
+
service: "service";
|
|
10505
|
+
system: "system";
|
|
10506
|
+
agent: "agent";
|
|
10507
|
+
}>, zod.ZodNull]>>;
|
|
10508
|
+
}, zod.z.core.$strip>;
|
|
10509
|
+
release: zod.ZodOptional<zod.ZodObject<{
|
|
10510
|
+
id: zod.ZodString;
|
|
10511
|
+
project_id: zod.ZodString;
|
|
10512
|
+
content_hash: zod.ZodString;
|
|
10513
|
+
metadata: zod.ZodObject<{
|
|
10514
|
+
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10515
|
+
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10516
|
+
git_dirty: zod.ZodDefault<zod.ZodBoolean>;
|
|
10517
|
+
created_at: zod.z.ZodISODateTime;
|
|
10518
|
+
created_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10519
|
+
created_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
10520
|
+
human: "human";
|
|
10521
|
+
service: "service";
|
|
10522
|
+
system: "system";
|
|
10523
|
+
agent: "agent";
|
|
10524
|
+
}>, zod.ZodNull]>>;
|
|
10525
|
+
}, zod.z.core.$strip>;
|
|
10526
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
10527
|
+
pointers: zod.ZodArray<zod.ZodObject<{
|
|
10528
|
+
kind: zod.ZodEnum<{
|
|
10529
|
+
schema: "schema";
|
|
10530
|
+
branding: "branding";
|
|
10531
|
+
flow_definition: "flow_definition";
|
|
10532
|
+
idp: "idp";
|
|
10533
|
+
}>;
|
|
10534
|
+
handle: zod.ZodString;
|
|
10535
|
+
revision_id: zod.ZodString;
|
|
10536
|
+
}, zod.z.core.$strip>>;
|
|
10537
|
+
}, zod.z.core.$strip>>;
|
|
10538
|
+
}, zod.z.core.$strip>;
|
|
10539
|
+
/**
|
|
10540
|
+
* Re-deploys the deployment named in the path: a new deployment with the
|
|
10541
|
+
* same `release_id` and the same `targets`, `reason: rollback`, and
|
|
10542
|
+
* `rollback_to` in its metadata naming the deployment it re-applied. The
|
|
10543
|
+
* variable values that deployment resolved are re-applied with it, so the
|
|
10544
|
+
* targets serve exactly what they served then. The history is append-only,
|
|
10545
|
+
* so the deployments in between stay in it.
|
|
10546
|
+
*
|
|
10547
|
+
* Only a deployment to primary origins can be rolled back. One whose
|
|
10548
|
+
* targets were preview URLs answers `400` with `dep.invalid`; deploy to
|
|
10549
|
+
* the preview again instead. Every target must still be a primary origin
|
|
10550
|
+
* of the project, as `POST /deployments` requires of an exact origin:
|
|
10551
|
+
* when one is not, the request answers `403` with
|
|
10552
|
+
* `proj.origin_not_allowed` naming it, and nothing changes. There is no
|
|
10553
|
+
* narrowing to some of the targets: to roll back one origin, deploy the
|
|
10554
|
+
* earlier release to it with `POST /deployments`.
|
|
10555
|
+
*
|
|
10556
|
+
* When every target already serves the deployment's release, nothing
|
|
10557
|
+
* changes and the call answers `200` with the newest deployment to the
|
|
10558
|
+
* targets.
|
|
10559
|
+
*
|
|
10560
|
+
* The release must not be revoked: a revoked one answers `409` with
|
|
10561
|
+
* `rel.revoked`. An unknown deployment id, or one of another project,
|
|
10562
|
+
* answers `404` with `dep.not_found`.
|
|
10563
|
+
*
|
|
10564
|
+
* A rollback never answers `dep.variables_missing`: the release and the
|
|
10565
|
+
* frozen values it re-applies passed that check together when the named
|
|
10566
|
+
* deployment was made.
|
|
10567
|
+
* @summary Roll back to a deployment
|
|
10568
|
+
*/
|
|
10569
|
+
export declare const rollbackDeploymentPathDeploymentIdRegExp: RegExp;
|
|
10570
|
+
export declare const RollbackDeploymentParams: zod.ZodObject<{
|
|
10571
|
+
deployment_id: zod.ZodString;
|
|
10572
|
+
}, zod.z.core.$strip>;
|
|
10573
|
+
export declare const rollbackDeploymentQueryProjectIdRegExp: RegExp;
|
|
10574
|
+
export declare const RollbackDeploymentQueryParams: zod.ZodObject<{
|
|
10575
|
+
project_id: zod.ZodString;
|
|
10576
|
+
}, zod.z.core.$strict>;
|
|
10577
|
+
export declare const rollbackDeploymentBodyMessageMax = 1024;
|
|
10578
|
+
export declare const rollbackDeploymentBodyExpectedDeploymentIdRegExp: RegExp;
|
|
10579
|
+
export declare const RollbackDeploymentBody: zod.ZodObject<{
|
|
10580
|
+
message: zod.ZodOptional<zod.ZodString>;
|
|
10581
|
+
expected_deployment_id: zod.ZodOptional<zod.ZodString>;
|
|
10582
|
+
}, zod.z.core.$strip>;
|
|
10583
|
+
export declare const rollbackDeploymentResponseIdRegExp: RegExp;
|
|
10584
|
+
export declare const rollbackDeploymentResponseProjectIdRegExp: RegExp;
|
|
10585
|
+
export declare const rollbackDeploymentResponseReleaseIdRegExp: RegExp;
|
|
10586
|
+
export declare const rollbackDeploymentResponseTargetsItemOriginMax = 2048;
|
|
10587
|
+
export declare const rollbackDeploymentResponseTargetsItemOriginRegExp: RegExp;
|
|
10588
|
+
export declare const rollbackDeploymentResponseMetadataMessageOneMax = 1024;
|
|
10589
|
+
export declare const rollbackDeploymentResponseMetadataRollbackToOneRegExp: RegExp;
|
|
10590
|
+
export declare const rollbackDeploymentResponseReleaseIdRegExpOne: RegExp;
|
|
10591
|
+
export declare const rollbackDeploymentResponseReleaseProjectIdRegExp: RegExp;
|
|
10592
|
+
export declare const rollbackDeploymentResponseReleaseContentHashMin = 71;
|
|
10593
|
+
export declare const rollbackDeploymentResponseReleaseContentHashMax = 71;
|
|
10594
|
+
export declare const rollbackDeploymentResponseReleaseContentHashRegExp: RegExp;
|
|
10595
|
+
export declare const rollbackDeploymentResponseReleaseMetadataMessageOneMax = 1024;
|
|
10596
|
+
export declare const rollbackDeploymentResponseReleaseMetadataGitShaOneMax = 64;
|
|
10597
|
+
export declare const rollbackDeploymentResponseReleaseMetadataGitDirtyDefault = false;
|
|
10598
|
+
export declare const rollbackDeploymentResponseReleasePointersItemHandleMax = 256;
|
|
10599
|
+
export declare const rollbackDeploymentResponseReleasePointersItemRevisionIdMax = 512;
|
|
10600
|
+
export declare const rollbackDeploymentResponseReleasePointersMax = 50;
|
|
10601
|
+
export declare const RollbackDeploymentResponse: zod.ZodObject<{
|
|
10602
|
+
id: zod.ZodString;
|
|
10603
|
+
project_id: zod.ZodString;
|
|
10604
|
+
release_id: zod.ZodString;
|
|
10605
|
+
targets: zod.ZodArray<zod.ZodObject<{
|
|
10606
|
+
origin: zod.ZodString;
|
|
10607
|
+
expires_at: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
10608
|
+
}, zod.z.core.$strip>>;
|
|
10609
|
+
deployed_at: zod.z.ZodISODateTime;
|
|
10610
|
+
metadata: zod.ZodObject<{
|
|
10611
|
+
reason: zod.ZodEnum<{
|
|
10612
|
+
deploy: "deploy";
|
|
10613
|
+
rollback: "rollback";
|
|
10614
|
+
}>;
|
|
9350
10615
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9351
|
-
|
|
9352
|
-
source_environment_name: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
10616
|
+
rollback_to: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9353
10617
|
deployed_by: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9354
10618
|
deployed_by_type: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodEnum<{
|
|
9355
10619
|
human: "human";
|
|
@@ -9361,6 +10625,7 @@ export declare const GetDeploymentByIdResponse: zod.ZodObject<{
|
|
|
9361
10625
|
release: zod.ZodOptional<zod.ZodObject<{
|
|
9362
10626
|
id: zod.ZodString;
|
|
9363
10627
|
project_id: zod.ZodString;
|
|
10628
|
+
content_hash: zod.ZodString;
|
|
9364
10629
|
metadata: zod.ZodObject<{
|
|
9365
10630
|
message: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
9366
10631
|
git_sha: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>>;
|
|
@@ -9374,16 +10639,36 @@ export declare const GetDeploymentByIdResponse: zod.ZodObject<{
|
|
|
9374
10639
|
agent: "agent";
|
|
9375
10640
|
}>, zod.ZodNull]>>;
|
|
9376
10641
|
}, zod.z.core.$strip>;
|
|
10642
|
+
revoked_at: zod.ZodUnion<readonly [zod.z.ZodISODateTime, zod.ZodNull]>;
|
|
9377
10643
|
pointers: zod.ZodArray<zod.ZodObject<{
|
|
9378
10644
|
kind: zod.ZodEnum<{
|
|
9379
10645
|
schema: "schema";
|
|
9380
10646
|
branding: "branding";
|
|
9381
10647
|
flow_definition: "flow_definition";
|
|
10648
|
+
idp: "idp";
|
|
9382
10649
|
}>;
|
|
9383
10650
|
handle: zod.ZodString;
|
|
9384
10651
|
revision_id: zod.ZodString;
|
|
9385
10652
|
}, zod.z.core.$strip>>;
|
|
9386
10653
|
}, zod.z.core.$strip>>;
|
|
9387
10654
|
}, zod.z.core.$strip>;
|
|
10655
|
+
/**
|
|
10656
|
+
* Returns the variable values the deployment froze when it was made. Later
|
|
10657
|
+
* changes to the project's variables do not affect them. A secret reads
|
|
10658
|
+
* back as `{"secret": true}`.
|
|
10659
|
+
* @summary Get a deployment's variables
|
|
10660
|
+
*/
|
|
10661
|
+
export declare const getDeploymentVariablesPathDeploymentIdRegExp: RegExp;
|
|
10662
|
+
export declare const GetDeploymentVariablesParams: zod.ZodObject<{
|
|
10663
|
+
deployment_id: zod.ZodString;
|
|
10664
|
+
}, zod.z.core.$strip>;
|
|
10665
|
+
export declare const getDeploymentVariablesQueryProjectIdRegExp: RegExp;
|
|
10666
|
+
export declare const GetDeploymentVariablesQueryParams: zod.ZodObject<{
|
|
10667
|
+
project_id: zod.ZodString;
|
|
10668
|
+
}, zod.z.core.$strict>;
|
|
10669
|
+
export declare const getDeploymentVariablesResponseOneOneMax = 16384;
|
|
10670
|
+
export declare const GetDeploymentVariablesResponse: zod.ZodRecord<zod.ZodString, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber, zod.ZodBoolean]>, zod.ZodObject<{
|
|
10671
|
+
secret: zod.ZodLiteral<true>;
|
|
10672
|
+
}, zod.z.core.$strip>]>>;
|
|
9388
10673
|
//#endregion
|
|
9389
10674
|
//# sourceMappingURL=zitadelNextGen.zod.d.mts.map
|