@zitadel/api 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (715) hide show
  1. package/README.md +1 -1
  2. package/dist/{api-factory-C5b1Gqwv.mjs → api-factory-32Zz3s86.mjs} +8 -6
  3. package/dist/api-factory-32Zz3s86.mjs.map +1 -0
  4. package/dist/{api-factory-Dt5lUjyu.d.mts → api-factory-DbVEEqxe.d.mts} +8 -3
  5. package/dist/{api-factory-Dt5lUjyu.d.mts.map → api-factory-DbVEEqxe.d.mts.map} +1 -1
  6. package/dist/{fetch-B-lgjlrf.d.mts → fetch-BzLvdm6C.d.mts} +14 -1
  7. package/dist/fetch-BzLvdm6C.d.mts.map +1 -0
  8. package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.mjs +984 -625
  10. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +9 -9
  13. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1024 -659
  15. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4797 -4436
  17. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  18. package/dist/generated/model/index.d.mts +1 -1
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +9 -0
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +266 -153
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/{index-DGQY1rfH.d.mts → index-BX80Kl-8.d.mts} +9071 -7707
  25. package/dist/{index-DGQY1rfH.d.mts.map → index-BX80Kl-8.d.mts.map} +1 -1
  26. package/dist/runtime/api-factory.d.mts +1 -1
  27. package/dist/runtime/api-factory.mjs +1 -1
  28. package/dist/runtime/config.d.mts +1 -1
  29. package/dist/runtime/config.mjs +1 -1
  30. package/dist/runtime/fetch.d.mts +1 -1
  31. package/dist/runtime/fetch.mjs +1 -0
  32. package/dist/runtime/fetch.mjs.map +1 -1
  33. package/dist/runtime/paging.d.mts +106 -23
  34. package/dist/runtime/paging.d.mts.map +1 -1
  35. package/dist/runtime/paging.mjs +132 -32
  36. package/dist/runtime/paging.mjs.map +1 -1
  37. package/dist/zitadelNextGen-CFrFhq_h.d.mts +1726 -0
  38. package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +1 -0
  39. package/package.json +3 -3
  40. package/src/generated/endpoints/zitadelNextGen.faker.ts +3 -3
  41. package/src/generated/endpoints/zitadelNextGen.ts +1009 -650
  42. package/src/generated/endpoints/zitadelNextGen.zod.ts +4812 -4443
  43. package/src/generated/model/addOrigin201.ts +5 -0
  44. package/src/generated/model/addOrigin201Kind.ts +3 -0
  45. package/src/generated/model/addOriginBody.ts +17 -5
  46. package/src/generated/model/addOriginBodyKind.ts +4 -0
  47. package/src/generated/model/beginUserPasskeyRegistration201.ts +3 -3
  48. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +6 -6
  49. package/src/generated/model/buildRelease200.ts +15 -15
  50. package/src/generated/model/buildRelease200Metadata.ts +8 -8
  51. package/src/generated/model/buildRelease200PointersItem.ts +13 -12
  52. package/src/generated/model/buildRelease200PointersItemKind.ts +3 -3
  53. package/src/generated/model/buildRelease201.ts +15 -15
  54. package/src/generated/model/buildRelease201Metadata.ts +8 -8
  55. package/src/generated/model/buildRelease201PointersItem.ts +13 -12
  56. package/src/generated/model/buildRelease201PointersItemKind.ts +3 -3
  57. package/src/generated/model/buildRelease400.ts +1 -3
  58. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +3 -3
  59. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +3 -3
  60. package/src/generated/model/buildReleaseBody.ts +19 -16
  61. package/src/generated/model/buildReleaseBodyBundle.ts +31 -28
  62. package/src/generated/model/buildReleaseBodyBundleBranding.ts +24 -22
  63. package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +8 -7
  64. package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +1 -1
  65. package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +5 -7
  66. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +7 -7
  67. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +63 -62
  68. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +7 -7
  69. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +63 -62
  70. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +4 -4
  71. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +47 -26
  72. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +1 -1
  73. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +2 -2
  74. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +46 -28
  75. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +9 -7
  76. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +2 -2
  77. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +11 -10
  78. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -1
  79. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +4 -3
  80. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +40 -20
  81. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +8 -5
  82. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +7 -8
  83. package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +7 -7
  84. package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +1 -1
  85. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +7 -7
  86. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts +1 -1
  87. package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +1 -1
  88. package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +1 -1
  89. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +3 -3
  90. package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +23 -22
  91. package/src/generated/model/buildReleaseParams.ts +3 -1
  92. package/src/generated/model/completeClaim409.ts +2 -2
  93. package/src/generated/model/completeClaimBody.ts +1 -1
  94. package/src/generated/model/createAuthAttempt201.ts +23 -22
  95. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +9 -7
  96. package/src/generated/model/createAuthAttempt201ChallengesItemState.ts +1 -1
  97. package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
  98. package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +5 -5
  99. package/src/generated/model/createAuthAttempt201State.ts +2 -2
  100. package/src/generated/model/createAuthAttemptBody.ts +3 -3
  101. package/src/generated/model/createAuthAttemptDefault.ts +63 -0
  102. package/src/generated/model/createBranding201.ts +10 -10
  103. package/src/generated/model/createBranding201Branding.ts +24 -22
  104. package/src/generated/model/createBranding201BrandingLayout.ts +8 -7
  105. package/src/generated/model/createBranding201BrandingShape.ts +1 -1
  106. package/src/generated/model/createBranding201BrandingTheme.ts +5 -7
  107. package/src/generated/model/createBranding201BrandingThemeDark.ts +7 -7
  108. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +63 -62
  109. package/src/generated/model/createBranding201BrandingThemeLight.ts +7 -7
  110. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +63 -62
  111. package/src/generated/model/createBranding201BrandingTypography.ts +4 -4
  112. package/src/generated/model/createBrandingBody.ts +24 -22
  113. package/src/generated/model/createBrandingBodyLayout.ts +8 -7
  114. package/src/generated/model/createBrandingBodyShape.ts +1 -1
  115. package/src/generated/model/createBrandingBodyTheme.ts +5 -7
  116. package/src/generated/model/createBrandingBodyThemeDark.ts +7 -7
  117. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +63 -62
  118. package/src/generated/model/createBrandingBodyThemeLight.ts +7 -7
  119. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +63 -62
  120. package/src/generated/model/createBrandingBodyTypography.ts +4 -4
  121. package/src/generated/model/createBrandingParams.ts +3 -1
  122. package/src/generated/model/createDeployment200.ts +16 -14
  123. package/src/generated/model/createDeployment200Metadata.ts +1 -1
  124. package/src/generated/model/createDeployment200Release.ts +15 -15
  125. package/src/generated/model/createDeployment200ReleaseMetadata.ts +8 -8
  126. package/src/generated/model/createDeployment200ReleasePointersItem.ts +13 -12
  127. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +3 -3
  128. package/src/generated/model/createDeployment200Status.ts +3 -3
  129. package/src/generated/model/createDeployment201.ts +16 -14
  130. package/src/generated/model/createDeployment201Metadata.ts +1 -1
  131. package/src/generated/model/createDeployment201Release.ts +15 -15
  132. package/src/generated/model/createDeployment201ReleaseMetadata.ts +8 -8
  133. package/src/generated/model/createDeployment201ReleasePointersItem.ts +13 -12
  134. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +3 -3
  135. package/src/generated/model/createDeployment201Status.ts +3 -3
  136. package/src/generated/model/createDeployment409.ts +41 -40
  137. package/src/generated/model/createDeploymentBody.ts +4 -10
  138. package/src/generated/model/createDeploymentParams.ts +3 -1
  139. package/src/generated/model/createFlow201.ts +16 -12
  140. package/src/generated/model/createFlow201Branding.ts +24 -22
  141. package/src/generated/model/createFlow201BrandingLayout.ts +8 -7
  142. package/src/generated/model/createFlow201BrandingShape.ts +1 -1
  143. package/src/generated/model/createFlow201BrandingTheme.ts +5 -7
  144. package/src/generated/model/createFlow201BrandingThemeDark.ts +7 -7
  145. package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +63 -62
  146. package/src/generated/model/createFlow201BrandingThemeLight.ts +7 -7
  147. package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +63 -62
  148. package/src/generated/model/createFlow201BrandingTypography.ts +4 -4
  149. package/src/generated/model/createFlow201Step.ts +36 -31
  150. package/src/generated/model/createFlow201StepActionsItem.ts +3 -3
  151. package/src/generated/model/createFlow201StepActionsItemKind.ts +1 -1
  152. package/src/generated/model/createFlow201StepChallenge.ts +4 -3
  153. package/src/generated/model/createFlow201StepComplete.ts +1 -1
  154. package/src/generated/model/createFlow201StepFieldsItem.ts +14 -13
  155. package/src/generated/model/createFlow201StepFieldsItemType.ts +1 -1
  156. package/src/generated/model/createFlow201StepFieldsItemValidation.ts +2 -2
  157. package/src/generated/model/createFlow201StepFieldsItemValidationFormat.ts +1 -1
  158. package/src/generated/model/createFlow201StepGates.ts +10 -8
  159. package/src/generated/model/createFlow201StepGatesConfig.ts +1 -1
  160. package/src/generated/model/createFlow201StepGatesKind.ts +4 -3
  161. package/src/generated/model/createFlow201StepIdentifier.ts +6 -6
  162. package/src/generated/model/createFlow201StepSsoProvidersItem.ts +1 -1
  163. package/src/generated/model/createFlow201StepTexts.ts +1 -1
  164. package/src/generated/model/createFlowBody.ts +7 -2
  165. package/src/generated/model/createFlowBodyHint.ts +4 -1
  166. package/src/generated/model/createFlowBodyPurpose.ts +3 -0
  167. package/src/generated/model/createFlowDefault.ts +9 -0
  168. package/src/generated/model/createFlowDefinition201.ts +22 -10
  169. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +47 -26
  170. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +1 -1
  171. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +2 -2
  172. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +46 -28
  173. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +9 -7
  174. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  175. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +11 -10
  176. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +1 -1
  177. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +4 -3
  178. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +40 -20
  179. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  180. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  181. package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
  182. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +2 -1
  183. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +21 -20
  184. package/src/generated/model/createFlowDefinitionBody.ts +22 -12
  185. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +47 -26
  186. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +1 -1
  187. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +2 -2
  188. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +46 -28
  189. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +9 -7
  190. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  191. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +11 -10
  192. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +1 -1
  193. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +4 -3
  194. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +40 -20
  195. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  196. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  197. package/src/generated/model/createGrant201.ts +14 -14
  198. package/src/generated/model/createGrant201ObjectType.ts +1 -1
  199. package/src/generated/model/createGrant201Relation.ts +1 -1
  200. package/src/generated/model/createGrant201Team.ts +7 -7
  201. package/src/generated/model/createGrant201TeamStatus.ts +2 -2
  202. package/src/generated/model/createGrant201User.ts +5 -5
  203. package/src/generated/model/createGrant201UserMetadata.ts +10 -11
  204. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +11 -12
  205. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  206. package/src/generated/model/createGrantBody.ts +12 -12
  207. package/src/generated/model/createGrantBodyRelation.ts +1 -1
  208. package/src/generated/model/createGrantBodyTeam.ts +3 -3
  209. package/src/generated/model/createGrantBodyUser.ts +5 -5
  210. package/src/generated/model/createGrantDefault.ts +9 -0
  211. package/src/generated/model/createGrantParams.ts +3 -1
  212. package/src/generated/model/createHandoff200.ts +9 -10
  213. package/src/generated/model/createIdp200.ts +10 -9
  214. package/src/generated/model/createIdp200Definition.ts +7 -7
  215. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
  216. package/src/generated/model/createIdp200DefinitionOidc.ts +7 -7
  217. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  218. package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
  219. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
  220. package/src/generated/model/createIdp201.ts +10 -9
  221. package/src/generated/model/createIdp201Definition.ts +7 -7
  222. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
  223. package/src/generated/model/createIdp201DefinitionOidc.ts +7 -7
  224. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  225. package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
  226. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
  227. package/src/generated/model/createIdpBody.ts +1 -1
  228. package/src/generated/model/createIdpBodyIdp.ts +7 -7
  229. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
  230. package/src/generated/model/createIdpBodyIdpOidc.ts +7 -7
  231. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +1 -1
  232. package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
  233. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
  234. package/src/generated/model/createIdpParams.ts +3 -1
  235. package/src/generated/model/createProject201.ts +10 -5
  236. package/src/generated/model/createProject201OriginsItem.ts +17 -5
  237. package/src/generated/model/createProject201OriginsItemKind.ts +4 -0
  238. package/src/generated/model/createProjectBody.ts +5 -6
  239. package/src/generated/model/createProjectBodyOriginsItem.ts +17 -5
  240. package/src/generated/model/createProjectBodyOriginsItemKind.ts +4 -0
  241. package/src/generated/model/createRelease200.ts +15 -15
  242. package/src/generated/model/createRelease200Metadata.ts +8 -8
  243. package/src/generated/model/createRelease200PointersItem.ts +13 -12
  244. package/src/generated/model/createRelease200PointersItemKind.ts +3 -3
  245. package/src/generated/model/createRelease201.ts +15 -15
  246. package/src/generated/model/createRelease201Metadata.ts +8 -8
  247. package/src/generated/model/createRelease201PointersItem.ts +13 -12
  248. package/src/generated/model/createRelease201PointersItemKind.ts +3 -3
  249. package/src/generated/model/createReleaseBody.ts +7 -11
  250. package/src/generated/model/createReleaseBodyPointersItem.ts +8 -8
  251. package/src/generated/model/createReleaseBodyPointersItemKind.ts +3 -3
  252. package/src/generated/model/createReleaseParams.ts +3 -1
  253. package/src/generated/model/createSchema201.ts +1 -1
  254. package/src/generated/model/createSchemaBody.ts +23 -22
  255. package/src/generated/model/createSchemaParams.ts +4 -2
  256. package/src/generated/model/createSession201.ts +8 -8
  257. package/src/generated/model/createSession201Session.ts +16 -16
  258. package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
  259. package/src/generated/model/createSession201SessionFactorsItemPayload.ts +5 -5
  260. package/src/generated/model/createSession201SessionState.ts +1 -1
  261. package/src/generated/model/createSession201SessionUser.ts +5 -5
  262. package/src/generated/model/createSessionBody.ts +1 -1
  263. package/src/generated/model/createTeam201.ts +2 -2
  264. package/src/generated/model/createTeam201Status.ts +2 -2
  265. package/src/generated/model/createTeamBody.ts +1 -1
  266. package/src/generated/model/createTeamParams.ts +3 -1
  267. package/src/generated/model/createUser201.ts +28 -29
  268. package/src/generated/model/createUser201Metadata.ts +10 -11
  269. package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +11 -12
  270. package/src/generated/model/createUser201MetadataLifecycleOwnerTeamStatus.ts +2 -2
  271. package/src/generated/model/createUser201TeamsItem.ts +4 -4
  272. package/src/generated/model/createUserBody.ts +9 -8
  273. package/src/generated/model/createUserParams.ts +4 -2
  274. package/src/generated/model/deleteGrantParams.ts +3 -1
  275. package/src/generated/model/deleteVariableParams.ts +3 -1
  276. package/src/generated/model/evaluatePolicy200.ts +5 -4
  277. package/src/generated/model/evaluatePolicy200Violations.ts +4 -3
  278. package/src/generated/model/evaluatePolicyBody.ts +8 -9
  279. package/src/generated/model/evaluatePolicyParams.ts +3 -1
  280. package/src/generated/model/exchangeHandoff200.ts +8 -8
  281. package/src/generated/model/exchangeHandoff200Session.ts +16 -16
  282. package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
  283. package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +5 -5
  284. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
  285. package/src/generated/model/exchangeHandoff200SessionUser.ts +5 -5
  286. package/src/generated/model/exchangeHandoffBody.ts +7 -5
  287. package/src/generated/model/exchangeHandoffParams.ts +3 -1
  288. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
  289. package/src/generated/model/getAuthAttempt200.ts +23 -22
  290. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +9 -7
  291. package/src/generated/model/getAuthAttempt200ChallengesItemState.ts +1 -1
  292. package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
  293. package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +5 -5
  294. package/src/generated/model/getAuthAttempt200State.ts +2 -2
  295. package/src/generated/model/getBrandingById200.ts +10 -10
  296. package/src/generated/model/getBrandingById200Branding.ts +24 -22
  297. package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -7
  298. package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
  299. package/src/generated/model/getBrandingById200BrandingTheme.ts +5 -7
  300. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +7 -7
  301. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +63 -62
  302. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +7 -7
  303. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +63 -62
  304. package/src/generated/model/getBrandingById200BrandingTypography.ts +4 -4
  305. package/src/generated/model/getClaimStatus200.ts +4 -5
  306. package/src/generated/model/getClaimStatusParams.ts +1 -1
  307. package/src/generated/model/getClaimWindow200.ts +6 -6
  308. package/src/generated/model/getClaimWindowParams.ts +1 -1
  309. package/src/generated/model/getDeploymentById200.ts +16 -14
  310. package/src/generated/model/getDeploymentById200Metadata.ts +1 -1
  311. package/src/generated/model/getDeploymentById200Release.ts +15 -15
  312. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +8 -8
  313. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +13 -12
  314. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +3 -3
  315. package/src/generated/model/getDeploymentById200Status.ts +3 -3
  316. package/src/generated/model/getDeploymentByIdParams.ts +3 -1
  317. package/src/generated/model/getDeploymentVariablesParams.ts +3 -1
  318. package/src/generated/model/getEvent200.ts +1574 -1323
  319. package/src/generated/model/getEventParams.ts +3 -1
  320. package/src/generated/model/getFlowDefinition200.ts +22 -10
  321. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +47 -26
  322. package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +1 -1
  323. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +2 -2
  324. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +46 -28
  325. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +9 -7
  326. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  327. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +11 -10
  328. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -1
  329. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +4 -3
  330. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +40 -20
  331. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  332. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  333. package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
  334. package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +2 -1
  335. package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +21 -20
  336. package/src/generated/model/getFlowStep200.ts +16 -12
  337. package/src/generated/model/getFlowStep200Branding.ts +24 -22
  338. package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -7
  339. package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
  340. package/src/generated/model/getFlowStep200BrandingTheme.ts +5 -7
  341. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +7 -7
  342. package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +63 -62
  343. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +7 -7
  344. package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +63 -62
  345. package/src/generated/model/getFlowStep200BrandingTypography.ts +4 -4
  346. package/src/generated/model/getFlowStep200Step.ts +36 -31
  347. package/src/generated/model/getFlowStep200StepActionsItem.ts +3 -3
  348. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +1 -1
  349. package/src/generated/model/getFlowStep200StepChallenge.ts +4 -3
  350. package/src/generated/model/getFlowStep200StepComplete.ts +1 -1
  351. package/src/generated/model/getFlowStep200StepFieldsItem.ts +14 -13
  352. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +1 -1
  353. package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +2 -2
  354. package/src/generated/model/getFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  355. package/src/generated/model/getFlowStep200StepGates.ts +10 -8
  356. package/src/generated/model/getFlowStep200StepGatesConfig.ts +1 -1
  357. package/src/generated/model/getFlowStep200StepGatesKind.ts +4 -3
  358. package/src/generated/model/getFlowStep200StepIdentifier.ts +6 -6
  359. package/src/generated/model/getFlowStep200StepSsoProvidersItem.ts +1 -1
  360. package/src/generated/model/getFlowStep200StepTexts.ts +1 -1
  361. package/src/generated/model/getFlowStepDefault.ts +18 -0
  362. package/src/generated/model/getGrant200.ts +14 -14
  363. package/src/generated/model/getGrant200ObjectType.ts +1 -1
  364. package/src/generated/model/getGrant200Relation.ts +1 -1
  365. package/src/generated/model/getGrant200Team.ts +7 -7
  366. package/src/generated/model/getGrant200TeamStatus.ts +2 -2
  367. package/src/generated/model/getGrant200User.ts +5 -5
  368. package/src/generated/model/getGrant200UserMetadata.ts +10 -11
  369. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +11 -12
  370. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  371. package/src/generated/model/getGrantDefault.ts +0 -9
  372. package/src/generated/model/getGrantExpandItem.ts +8 -5
  373. package/src/generated/model/getGrantParams.ts +6 -3
  374. package/src/generated/model/getIdpById200.ts +10 -9
  375. package/src/generated/model/getIdpById200Definition.ts +7 -7
  376. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
  377. package/src/generated/model/getIdpById200DefinitionOidc.ts +7 -7
  378. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  379. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
  380. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
  381. package/src/generated/model/getIdpByIdParams.ts +3 -1
  382. package/src/generated/model/getIdpRevisionById200.ts +10 -9
  383. package/src/generated/model/getIdpRevisionById200Definition.ts +7 -7
  384. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
  385. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +7 -7
  386. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  387. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
  388. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
  389. package/src/generated/model/getIdpRevisionByIdParams.ts +3 -1
  390. package/src/generated/model/getMyPasswordState200.ts +2 -2
  391. package/src/generated/model/getMySession200.ts +16 -16
  392. package/src/generated/model/getMySession200FactorsItem.ts +2 -2
  393. package/src/generated/model/getMySession200FactorsItemPayload.ts +5 -5
  394. package/src/generated/model/getMySession200State.ts +1 -1
  395. package/src/generated/model/getMySession200User.ts +5 -5
  396. package/src/generated/model/getMySessionCsrfToken200.ts +1 -1
  397. package/src/generated/model/getMyUser200.ts +28 -29
  398. package/src/generated/model/getMyUser200Metadata.ts +10 -11
  399. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  400. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  401. package/src/generated/model/getMyUser200TeamsItem.ts +4 -4
  402. package/src/generated/model/getMyUserSchema200.ts +4 -4
  403. package/src/generated/model/getMyUserSchema200Metadata.ts +2 -1
  404. package/src/generated/model/getMyUserSchema200Schema.ts +21 -20
  405. package/src/generated/model/getPolicy200.ts +3 -3
  406. package/src/generated/model/getPolicyParams.ts +3 -1
  407. package/src/generated/model/getPolicyRevision200.ts +3 -3
  408. package/src/generated/model/getPolicyRevisionParams.ts +3 -1
  409. package/src/generated/model/getProject200.ts +34 -30
  410. package/src/generated/model/getReleaseById200.ts +15 -15
  411. package/src/generated/model/getReleaseById200Metadata.ts +8 -8
  412. package/src/generated/model/getReleaseById200PointersItem.ts +13 -12
  413. package/src/generated/model/getReleaseById200PointersItemKind.ts +3 -3
  414. package/src/generated/model/getReleaseByIdParams.ts +3 -1
  415. package/src/generated/model/getSchemaById200.ts +4 -4
  416. package/src/generated/model/getSchemaById200Metadata.ts +2 -1
  417. package/src/generated/model/getSchemaById200Schema.ts +21 -20
  418. package/src/generated/model/getSchemaByIdParams.ts +3 -3
  419. package/src/generated/model/getSession200.ts +16 -16
  420. package/src/generated/model/getSession200FactorsItem.ts +2 -2
  421. package/src/generated/model/getSession200FactorsItemPayload.ts +5 -5
  422. package/src/generated/model/getSession200State.ts +1 -1
  423. package/src/generated/model/getSession200User.ts +5 -5
  424. package/src/generated/model/getTeam200.ts +2 -2
  425. package/src/generated/model/getTeam200Status.ts +2 -2
  426. package/src/generated/model/getUserByID200.ts +28 -29
  427. package/src/generated/model/getUserByID200Metadata.ts +10 -11
  428. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  429. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  430. package/src/generated/model/getUserByID200TeamsItem.ts +4 -4
  431. package/src/generated/model/getUserByIDParams.ts +4 -3
  432. package/src/generated/model/getUserPasswordState200.ts +2 -2
  433. package/src/generated/model/getVariable200.ts +4 -4
  434. package/src/generated/model/getVariable200Preview.ts +2 -2
  435. package/src/generated/model/getVariable200Primary.ts +2 -2
  436. package/src/generated/model/getVariableParams.ts +3 -1
  437. package/src/generated/model/getVariables200.ts +4 -4
  438. package/src/generated/model/getVariables200Preview.ts +2 -2
  439. package/src/generated/model/getVariables200Primary.ts +2 -2
  440. package/src/generated/model/getVariablesParams.ts +3 -1
  441. package/src/generated/model/initClaim201.ts +3 -3
  442. package/src/generated/model/initClaim409.ts +2 -2
  443. package/src/generated/model/issueChallenge201.ts +9 -7
  444. package/src/generated/model/issueChallenge201State.ts +1 -1
  445. package/src/generated/model/issueChallengeBody.ts +2 -2
  446. package/src/generated/model/listBrandingParams.ts +3 -1
  447. package/src/generated/model/listDeployments200DeploymentsItem.ts +16 -14
  448. package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +1 -1
  449. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +15 -15
  450. package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +8 -8
  451. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +13 -12
  452. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +3 -3
  453. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +3 -3
  454. package/src/generated/model/listDeploymentsExpandItem.ts +4 -4
  455. package/src/generated/model/listDeploymentsParams.ts +3 -1
  456. package/src/generated/model/listEvents200.ts +1 -1
  457. package/src/generated/model/listEvents200DataItem.ts +1574 -1323
  458. package/src/generated/model/listEventsParams.ts +34 -6
  459. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +22 -10
  460. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +47 -26
  461. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionAudience.ts +1 -1
  462. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +2 -2
  463. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +46 -28
  464. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +9 -7
  465. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  466. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +11 -10
  467. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -1
  468. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesKind.ts +4 -3
  469. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +40 -20
  470. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  471. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  472. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
  473. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +2 -1
  474. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +21 -20
  475. package/src/generated/model/listFlowDefinitionsExpandItem.ts +2 -2
  476. package/src/generated/model/listFlowDefinitionsParams.ts +8 -6
  477. package/src/generated/model/listIdpRevisions200.ts +1 -2
  478. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +10 -9
  479. package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +7 -7
  480. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
  481. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +7 -7
  482. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  483. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
  484. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
  485. package/src/generated/model/listIdpRevisionsParams.ts +3 -1
  486. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +2 -2
  487. package/src/generated/model/listMyProjects200.ts +1 -1
  488. package/src/generated/model/listMyProjects200ProjectsItem.ts +2 -3
  489. package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +17 -5
  490. package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +4 -0
  491. package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +12 -15
  492. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  493. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +15 -18
  494. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  495. package/src/generated/model/listMyTeams200TeamsItem.ts +4 -4
  496. package/src/generated/model/listPolicies200.ts +2 -2
  497. package/src/generated/model/listPolicies200PoliciesItem.ts +3 -3
  498. package/src/generated/model/listPoliciesParams.ts +3 -1
  499. package/src/generated/model/listPolicyRevisions200.ts +1 -1
  500. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +3 -3
  501. package/src/generated/model/listPolicyRevisionsParams.ts +3 -1
  502. package/src/generated/model/listPreviews200PreviewsItem.ts +4 -5
  503. package/src/generated/model/listProjectAdmins200AdminsItem.ts +3 -3
  504. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +13 -15
  505. package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +5 -5
  506. package/src/generated/model/listReleases200.ts +1 -1
  507. package/src/generated/model/listReleases200ReleasesItem.ts +4 -4
  508. package/src/generated/model/listReleases200ReleasesItemMetadata.ts +8 -8
  509. package/src/generated/model/listReleasesParams.ts +4 -2
  510. package/src/generated/model/listSchemas200.ts +1 -1
  511. package/src/generated/model/listSchemas200SchemasItem.ts +4 -4
  512. package/src/generated/model/listSchemas200SchemasItemMetadata.ts +2 -1
  513. package/src/generated/model/listSchemas200SchemasItemSchema.ts +21 -20
  514. package/src/generated/model/listSchemasExpandItem.ts +2 -2
  515. package/src/generated/model/listSchemasParams.ts +7 -5
  516. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +2 -2
  517. package/src/generated/model/listUserTeams200TeamsItem.ts +4 -4
  518. package/src/generated/model/patchMyUser200.ts +28 -29
  519. package/src/generated/model/patchMyUser200Metadata.ts +10 -11
  520. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  521. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  522. package/src/generated/model/patchMyUser200TeamsItem.ts +4 -4
  523. package/src/generated/model/patchMyUserBody.ts +2 -2
  524. package/src/generated/model/patchProject200.ts +34 -30
  525. package/src/generated/model/patchProjectBody.ts +3 -3
  526. package/src/generated/model/patchProjectBodyPasswordHash.ts +15 -18
  527. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +1 -1
  528. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +15 -18
  529. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +4 -4
  530. package/src/generated/model/patchUserByID200.ts +28 -29
  531. package/src/generated/model/patchUserByID200Metadata.ts +10 -11
  532. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  533. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  534. package/src/generated/model/patchUserByID200TeamsItem.ts +4 -4
  535. package/src/generated/model/patchUserByIDBody.ts +21 -13
  536. package/src/generated/model/publishPolicy201.ts +3 -3
  537. package/src/generated/model/publishPolicyBody.ts +3 -3
  538. package/src/generated/model/publishPolicyParams.ts +3 -1
  539. package/src/generated/model/queryGrants200GrantsItem.ts +14 -14
  540. package/src/generated/model/queryGrants200GrantsItemObjectType.ts +1 -1
  541. package/src/generated/model/queryGrants200GrantsItemRelation.ts +1 -1
  542. package/src/generated/model/queryGrants200GrantsItemTeam.ts +7 -7
  543. package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +2 -2
  544. package/src/generated/model/queryGrants200GrantsItemUser.ts +5 -5
  545. package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +10 -11
  546. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +11 -12
  547. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  548. package/src/generated/model/queryGrantsBody.ts +2 -3
  549. package/src/generated/model/queryGrantsBodyExpandItem.ts +8 -5
  550. package/src/generated/model/queryGrantsBodyFilterItem.ts +3 -5
  551. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +1 -2
  552. package/src/generated/model/queryGrantsDefault.ts +0 -9
  553. package/src/generated/model/queryGrantsParams.ts +3 -1
  554. package/src/generated/model/queryIdps200.ts +1 -1
  555. package/src/generated/model/queryIdps200IdpsItem.ts +10 -9
  556. package/src/generated/model/queryIdps200IdpsItemDefinition.ts +7 -7
  557. package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
  558. package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +7 -7
  559. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  560. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
  561. package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
  562. package/src/generated/model/queryIdpsBody.ts +2 -2
  563. package/src/generated/model/queryIdpsBodyFilterItem.ts +5 -7
  564. package/src/generated/model/queryIdpsBodyFilterItemField.ts +2 -2
  565. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +1 -2
  566. package/src/generated/model/queryIdpsBodySorting.ts +2 -2
  567. package/src/generated/model/queryIdpsBodySortingField.ts +2 -2
  568. package/src/generated/model/queryIdpsParams.ts +3 -1
  569. package/src/generated/model/queryProjects200ProjectsItem.ts +2 -3
  570. package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +17 -5
  571. package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +4 -0
  572. package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +12 -15
  573. package/src/generated/model/queryProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  574. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +15 -18
  575. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  576. package/src/generated/model/queryProjectsBodyFilterItem.ts +3 -5
  577. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +1 -2
  578. package/src/generated/model/querySessions200SessionsItem.ts +16 -16
  579. package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
  580. package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +5 -5
  581. package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
  582. package/src/generated/model/querySessions200SessionsItemUser.ts +5 -5
  583. package/src/generated/model/querySessionsBodyFilterItem.ts +4 -6
  584. package/src/generated/model/querySessionsBodyFilterItemField.ts +1 -1
  585. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +1 -2
  586. package/src/generated/model/querySessionsBodySorting.ts +2 -3
  587. package/src/generated/model/querySessionsBodySortingField.ts +2 -3
  588. package/src/generated/model/querySessionsParams.ts +3 -1
  589. package/src/generated/model/queryTeams200TeamsItem.ts +2 -2
  590. package/src/generated/model/queryTeams200TeamsItemStatus.ts +2 -2
  591. package/src/generated/model/queryTeamsBodyFilterItem.ts +3 -5
  592. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +1 -2
  593. package/src/generated/model/queryTeamsParams.ts +2 -2
  594. package/src/generated/model/queryUsers200UsersItem.ts +28 -29
  595. package/src/generated/model/queryUsers200UsersItemMetadata.ts +10 -11
  596. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +11 -12
  597. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeamStatus.ts +2 -2
  598. package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +4 -4
  599. package/src/generated/model/queryUsersBody.ts +2 -2
  600. package/src/generated/model/queryUsersBodyExpandItem.ts +8 -8
  601. package/src/generated/model/queryUsersBodyFilterItem.ts +13 -16
  602. package/src/generated/model/queryUsersBodyFilterItemField.ts +10 -11
  603. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +1 -2
  604. package/src/generated/model/queryUsersBodySorting.ts +4 -5
  605. package/src/generated/model/queryUsersBodySortingField.ts +4 -5
  606. package/src/generated/model/queryUsersParams.ts +2 -2
  607. package/src/generated/model/removeOriginBody.ts +2 -2
  608. package/src/generated/model/revokeRelease200.ts +15 -15
  609. package/src/generated/model/revokeRelease200Metadata.ts +8 -8
  610. package/src/generated/model/revokeRelease200PointersItem.ts +13 -12
  611. package/src/generated/model/revokeRelease200PointersItemKind.ts +3 -3
  612. package/src/generated/model/revokeReleaseParams.ts +3 -1
  613. package/src/generated/model/rollbackDeployment200.ts +16 -14
  614. package/src/generated/model/rollbackDeployment200Metadata.ts +1 -1
  615. package/src/generated/model/rollbackDeployment200Release.ts +15 -15
  616. package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +8 -8
  617. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +13 -12
  618. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +3 -3
  619. package/src/generated/model/rollbackDeployment200Status.ts +3 -3
  620. package/src/generated/model/rollbackDeployment201.ts +16 -14
  621. package/src/generated/model/rollbackDeployment201Metadata.ts +1 -1
  622. package/src/generated/model/rollbackDeployment201Release.ts +15 -15
  623. package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +8 -8
  624. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +13 -12
  625. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +3 -3
  626. package/src/generated/model/rollbackDeployment201Status.ts +3 -3
  627. package/src/generated/model/rollbackDeployment409.ts +41 -40
  628. package/src/generated/model/rollbackDeploymentParams.ts +3 -1
  629. package/src/generated/model/setUserPasswordBody.ts +1 -1
  630. package/src/generated/model/setUserPasswordDefault.ts +63 -0
  631. package/src/generated/model/submitFlowStep200.ts +16 -12
  632. package/src/generated/model/submitFlowStep200Branding.ts +24 -22
  633. package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -7
  634. package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
  635. package/src/generated/model/submitFlowStep200BrandingTheme.ts +5 -7
  636. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +7 -7
  637. package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +63 -62
  638. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +7 -7
  639. package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +63 -62
  640. package/src/generated/model/submitFlowStep200BrandingTypography.ts +4 -4
  641. package/src/generated/model/submitFlowStep200Step.ts +36 -31
  642. package/src/generated/model/submitFlowStep200StepActionsItem.ts +3 -3
  643. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +1 -1
  644. package/src/generated/model/submitFlowStep200StepChallenge.ts +4 -3
  645. package/src/generated/model/submitFlowStep200StepComplete.ts +1 -1
  646. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +14 -13
  647. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +1 -1
  648. package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +2 -2
  649. package/src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  650. package/src/generated/model/submitFlowStep200StepGates.ts +10 -8
  651. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +1 -1
  652. package/src/generated/model/submitFlowStep200StepGatesKind.ts +4 -3
  653. package/src/generated/model/submitFlowStep200StepIdentifier.ts +6 -6
  654. package/src/generated/model/submitFlowStep200StepSsoProvidersItem.ts +1 -1
  655. package/src/generated/model/submitFlowStep200StepTexts.ts +1 -1
  656. package/src/generated/model/submitFlowStep400.ts +16 -12
  657. package/src/generated/model/submitFlowStep400Branding.ts +24 -22
  658. package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -7
  659. package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
  660. package/src/generated/model/submitFlowStep400BrandingTheme.ts +5 -7
  661. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +7 -7
  662. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +63 -62
  663. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +7 -7
  664. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +63 -62
  665. package/src/generated/model/submitFlowStep400BrandingTypography.ts +4 -4
  666. package/src/generated/model/submitFlowStep400Step.ts +36 -31
  667. package/src/generated/model/submitFlowStep400StepActionsItem.ts +3 -3
  668. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +1 -1
  669. package/src/generated/model/submitFlowStep400StepChallenge.ts +4 -3
  670. package/src/generated/model/submitFlowStep400StepComplete.ts +1 -1
  671. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +14 -13
  672. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +1 -1
  673. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +2 -2
  674. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +1 -1
  675. package/src/generated/model/submitFlowStep400StepGates.ts +10 -8
  676. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +1 -1
  677. package/src/generated/model/submitFlowStep400StepGatesKind.ts +4 -3
  678. package/src/generated/model/submitFlowStep400StepIdentifier.ts +6 -6
  679. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +1 -1
  680. package/src/generated/model/submitFlowStep400StepTexts.ts +1 -1
  681. package/src/generated/model/submitFlowStepBody.ts +10 -7
  682. package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +2 -2
  683. package/src/generated/model/submitFlowStepBodyGateProofs.ts +1 -1
  684. package/src/generated/model/submitFlowStepDefault.ts +18 -0
  685. package/src/generated/model/updateTeam200.ts +2 -2
  686. package/src/generated/model/updateTeam200Status.ts +2 -2
  687. package/src/generated/model/updateTeamBody.ts +1 -1
  688. package/src/generated/model/updateVariables200.ts +4 -4
  689. package/src/generated/model/updateVariables200Preview.ts +2 -2
  690. package/src/generated/model/updateVariables200Primary.ts +2 -2
  691. package/src/generated/model/updateVariablesBody.ts +14 -14
  692. package/src/generated/model/updateVariablesParams.ts +3 -1
  693. package/src/generated/model/userProperty.ts +5 -8
  694. package/src/generated/model/userPropertyProperties.ts +2 -2
  695. package/src/generated/model/userPropertyXUnique.ts +1 -1
  696. package/src/generated/model/verifyChallengeProof200.ts +23 -22
  697. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +9 -7
  698. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +1 -1
  699. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
  700. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +5 -5
  701. package/src/generated/model/verifyChallengeProof200State.ts +2 -2
  702. package/src/generated/model/verifyChallengeProofBody.ts +2 -2
  703. package/src/generated/operations.ts +277 -152
  704. package/src/runtime/api-factory.spec.ts +50 -0
  705. package/src/runtime/api-factory.ts +11 -2
  706. package/src/runtime/base-url.spec.ts +1 -1
  707. package/src/runtime/fetch.ts +16 -0
  708. package/src/runtime/paged.spec.ts +11 -0
  709. package/src/runtime/paged.ts +9 -8
  710. package/src/runtime/paging.spec.ts +164 -39
  711. package/src/runtime/paging.ts +162 -43
  712. package/dist/api-factory-C5b1Gqwv.mjs.map +0 -1
  713. package/dist/fetch-B-lgjlrf.d.mts.map +0 -1
  714. package/dist/zitadelNextGen-BVO4sdKD.d.mts +0 -1367
  715. package/dist/zitadelNextGen-BVO4sdKD.d.mts.map +0 -1
@@ -1,1367 +0,0 @@
1
- import { $C as BuildReleaseParams, $r as QuerySessionsBody, Ah as GetEventParams, Ao as PatchProject200, BC as CompleteClaimBody, BS as CreateDeployment200, Bf as GetMyUserParams, C as UpdateTeamBody, Cb as CreateGrantBody, Cd as GetUserByIDParams, Cg as GetBrandingById200, Cp as GetLiveDefault, Cy as CreateProjectBody, Dc as ListPolicies200, Ds as ListUserIdentityLinksParams, EC as CreateAuthAttemptBody, E_ as EvaluatePolicyParams, Ef as GetPolicyRevisionParams, Ep as GetIdpRevisionByIdParams, Ev as CreateTeamParams, Fa as QueryGrants200, Fc as ListMyTeams200, Fl as ListFlowDefinitionsParams, Fm as GetFlowStep200, Fu as ListBrandingParams, Gi as QueryIdpsParams, Hd as GetTeam200, Hh as GetDeploymentByIdParams, Hl as ListFlowDefinitions200, Hx as CreateFlow201, Ig as GetAuthAttempt200, Jr as QueryTeams200, Jv as CreateSession201, Kc as ListMyProjects200, Kf as GetMyUser200, Ks as ListSchemas200, Kw as BuildRelease201, L as SubmitFlowStepBody, Lf as GetMyUserSchema200, Li as QueryProjects200, Lu as ListBranding200Item, Mf as GetMyUserSchemaParams, No as PatchMyUserBody, Nx as CreateFlowBody, Ny as CreateIdpBody, OS as CreateDeployment201, O_ as EvaluatePolicyBody, Of as GetPolicyRevision200, Ov as CreateTeamBody, Oy as CreateProject201, P as UpdateTeam200, Pp as GetIdpRevisionById200, QC as CompleteClaim200, QS as CreateBrandingParams, Qa as PatchUserByIDBody, Qo as ListUserTeamsParams, Qp as GetIdpById200, Qs as ListReleases200, Rc as ListMyProjectsParams, Rh as GetEvent200, Sc as ListPolicyRevisions200, Sd as GetUserPasswordState200, Si as QueryProjectsBody, Sn as RollbackDeployment200, Sp as GetMyPasswordState200, Su as ListDeployments200, Tf as GetProject200, Ts as ListUserPasskeys200, Uu as IssueChallenge201, Vh as GetDeploymentVariables200, Vs as ListSchemasParams, Vv as CreateTeam201, Wh as GetDeploymentById200, Wn as RevokeRelease200, Wo as PatchMyUser200, Wp as GetIdpByIdParams, Wv as CreateSessionBody, X_ as DeleteGrantParams, Xa as PublishPolicy201, Xs as ListReleasesParams, Ya as PublishPolicyBody, Yn as RevokeMySessionParams, Zb as CreateFlowDefinitionBody, Zd as GetSession200, Zr as QuerySessionsParams, Zt as SetUserPasswordBody, Zw as BuildRelease200, Zy as CreateIdp201, _T as AddOriginBody, __ as ExchangeHandoff200, _f as GetReadyDefault, _m as GetGrant200, _u as ListEvents200, _y as CreateRelease200, a as VerifyChallengeProof200, a_ as FinishUserPasskeyRegistration201, af as GetSchemaByIdParams, ay as CreateSchemaBody, bS as CreateDeploymentBody, bb as CreateHandoff200, bc as ListPolicyRevisionsParams, br as QueryUsers200, bt as SubmitFlowStep200, c_ as ExchangeHandoffBody, ca as QueryIdps200, cg as GetClaimWindow200, cl as ListMyIdentityLinksParams, cm as GetGrantParams, eC as CreateBrandingBody, ed as InitClaim201, el as ListMyPasskeysParams, ep as GetMySessionParams, fc as ListProjectAdmins200, ff as GetReleaseById200, fh as GetFlowDefinition200, fi as QuerySessions200, fy as CreateRelease201, gc as ListPreviewsParams, gl as ListIdpRevisionsParams, h as UpdateVariablesParams, id as GetVariables200, in as RollbackDeploymentParams, ir as QueryUsersParams, iv as CreateUserParams, j_ as DeleteVariableParams, jf as GetPolicy200, jo as PatchMyUserParams, jr as QueryTeamsBody, jy as CreateIdpParams, kC as CreateAuthAttempt201, k_ as EvaluatePolicy200, kc as ListMyTeamsParams, kd as GetUserByID200, kf as GetPolicyParams, kr as QueryTeamsParams, lg as GetClaimStatusParams, ly as CreateReleaseBody, mT as BeginUserPasskeyRegistration201, ml as ListMyIdentityLinks200, mx as CreateFlowDefinition201, n as VerifyChallengeProofBody, nc as ListProjectAdminsParams, ng as GetClaimWindowParams, np as GetMySessionCsrfTokenParams, o_ as ExchangeHandoffParams, ol as ListMyPasskeys200, on as RollbackDeploymentBody, op as GetMySessionCsrfToken200, or as QueryUsersBody, ov as CreateUserBody, oy as CreateSchema201, pC as CreateBranding201, ps as ListUserPasskeysParams, qa as PublishPolicyParams, qg as FinishUserPasskeyRegistrationBody, qi as QueryIdpsBody, rT as BeginUserPasskeyRegistrationBody, rr as RemoveOriginBody, ry as CreateSchemaParams, sb as CreateIdp200, sd as GetVariableParams, sf as GetSchemaById200, su as ListEventsParams, sy as CreateReleaseParams, td as GetVariablesParams, tr as RemovePreviewBody, tw as BuildReleaseBody, ud as GetVariable200, uf as GetReleaseByIdParams, un as RollbackDeployment201, uo as PatchUserByID200, up as GetMySession200, us as ListUserTeams200, v as UpdateVariablesBody, vS as CreateDeploymentParams, vc as ListPreviews200, vp as GetMyPasswordStateParams, vv as CreateUser201, wc as ListPoliciesParams, wl as ListIdpRevisions200, xa as QueryGrantsBody, xb as CreateGrantParams, y as UpdateVariables200, yT as AddOrigin201, ya as QueryGrantsParams, yg as GetClaimStatus200, yo as PatchProjectBody, yu as ListDeploymentsParams, zb as CreateGrant201, zh as GetDeploymentVariablesParams, zn as RevokeReleaseParams, zs as ListUserIdentityLinks200, zu as IssueChallengeBody } from "./index-DGQY1rfH.mjs";
2
- import { c as customFetch } from "./fetch-B-lgjlrf.mjs";
3
- declare namespace zitadelNextGen_d_exports {
4
- export { addOrigin, beginUserPasskeyRegistration, buildRelease, completeClaim, createAuthAttempt, createBranding, createDeployment, createFlow, createFlowDefinition, createGrant, createHandoff, createIdp, createProject, createRelease, createSchema, createSession, createTeam, createUser, deleteGrant, deleteTeam, deleteUserByID, deleteVariable, evaluatePolicy, exchangeHandoff, finishUserPasskeyRegistration, getAddOriginUrl, getAuthAttempt, getBeginUserPasskeyRegistrationUrl, getBrandingById, getBuildReleaseUrl, getClaimStatus, getClaimWindow, getCompleteClaimUrl, getCreateAuthAttemptUrl, getCreateBrandingUrl, getCreateDeploymentUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateHandoffUrl, getCreateIdpUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeleteGrantUrl, getDeleteTeamUrl, getDeleteUserByIDUrl, getDeleteVariableUrl, getDeploymentById, getDeploymentVariables, getEvaluatePolicyUrl, getEvent, getExchangeHandoffUrl, getFinishUserPasskeyRegistrationUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetBrandingByIdUrl, getGetClaimStatusUrl, getGetClaimWindowUrl, getGetDeploymentByIdUrl, getGetDeploymentVariablesUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetIdpByIdUrl, getGetIdpRevisionByIdUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetPolicyRevisionUrl, getGetPolicyUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseByIdUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetUserByIDUrl, getGetUserPasswordStateUrl, getGetVariableUrl, getGetVariablesUrl, getGrant, getIdpById, getIdpRevisionById, getInitClaimUrl, getIssueChallengeUrl, getListBrandingUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPoliciesUrl, getListPolicyRevisionsUrl, getListPreviewsUrl, getListProjectAdminsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getLive, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getPatchMyUserUrl, getPatchProjectUrl, getPatchUserByIDUrl, getPolicy, getPolicyRevision, getProject, getPublishPolicyUrl, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getReleaseById, getRemoveOriginUrl, getRemovePreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowStepUrl, getTeam, getUpdateTeamUrl, getUpdateVariablesUrl, getUserByID, getUserPasswordState, getVariable, getVariables, getVerifyChallengeProofUrl, initClaim, issueChallenge, listBranding, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPolicies, listPolicyRevisions, listPreviews, listProjectAdmins, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, patchMyUser, patchProject, patchUserByID, publishPolicy, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, removeOrigin, removePreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, setUserPassword, submitFlowStep, updateTeam, updateVariables, verifyChallengeProof };
5
- }
6
- declare const getGetLiveUrl: () => string;
7
- /**
8
- * Answers `ok` while the server process serves HTTP, and checks nothing behind it.
9
- *
10
- * Point a liveness probe at `/livez` at the root, where the probes stay,
11
- * not under `/api/v1`. It never checks the database, so an outage of the
12
- * database does not restart every instance; `GET /readyz` takes an instance
13
- * out of rotation instead.
14
- * @summary Check server liveness
15
- */
16
- declare const getLive: (options?: Parameters<typeof customFetch>[1]) => Promise<GetLiveDefault>;
17
- declare const getGetReadyUrl: () => string;
18
- /**
19
- * Answers whether the server can serve requests, which takes its database answering within a second.
20
- *
21
- * Point a readiness probe at `/readyz` at the root, where the probes stay,
22
- * not under `/api/v1`, so that a server whose database does not answer gets
23
- * no requests until it does. The check is one round trip to the database.
24
- * @summary Check server readiness
25
- */
26
- declare const getReady: (options?: Parameters<typeof customFetch>[1]) => Promise<GetReadyDefault>;
27
- declare const getCreateUserUrl: (params: CreateUserParams) => string;
28
- /**
29
- * Creates a user whose attributes satisfy the user schema the request names.
30
- *
31
- * The server assigns the user's id. With `team_id`, the user also becomes an
32
- * active member of that team. A value the schema marks unique that another
33
- * user already holds is refused with `409`.
34
- * @summary Create user
35
- */
36
- declare const createUser: (createUserBody: CreateUserBody, params: CreateUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateUser201>;
37
- declare const getQueryUsersUrl: (params?: QueryUsersParams) => string;
38
- /**
39
- * Returns the users of a project, paginated with a cursor.
40
- *
41
- * `project_id` names the project to list; without it, the credential's own
42
- * project is listed.
43
- *
44
- * Accepts either a project secret (`oauth2`) or a user-bound Console
45
- * session cookie (`sessionCookie`). Cookie-authenticated requests
46
- * follow the scheme's CSRF rules (`sessionCookie`).
47
- * @summary Query users
48
- */
49
- declare const queryUsers: (queryUsersBody: QueryUsersBody, params?: QueryUsersParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryUsers200>;
50
- declare const getGetUserByIDUrl: (userId: string, params?: GetUserByIDParams) => string;
51
- /**
52
- * Returns a user by its id, with the attributes its schema defines.
53
- *
54
- * With `team_id`, the user is returned only while they are an active member of
55
- * that team.
56
- * @summary Get user by ID
57
- */
58
- declare const getUserByID: (userId: string, params?: GetUserByIDParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetUserByID200>;
59
- declare const getPatchUserByIDUrl: (userId: string) => string;
60
- /**
61
- * Partially updates a user's schema-defined attributes, and optionally
62
- * moves the user to another registered schema. The merged result is
63
- * validated against the schema before commit. Concurrent writes are
64
- * last-write-wins.
65
- * @summary Update user by ID
66
- */
67
- declare const patchUserByID: (userId: string, patchUserByIDBody: PatchUserByIDBody, options?: Parameters<typeof customFetch>[1]) => Promise<PatchUserByID200>;
68
- declare const getDeleteUserByIDUrl: (userId: string) => string;
69
- /**
70
- * Deletes a user, removes them from every team they belong to, and revokes
71
- * every grant they hold, on any project.
72
- *
73
- * The user is removed, not deactivated, and the deletion emits `user.deleted`,
74
- * plus `authz.revoked` for each grant on that grant's project.
75
- * With a project secret the request is idempotent: deleting a user that exists
76
- * in no project succeeds without changing anything. Deleting the last active
77
- * member of a project's owning team returns 409 `proj.last_owner` and changes
78
- * nothing.
79
- * @summary Delete user by ID
80
- */
81
- declare const deleteUserByID: (userId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
82
- declare const getListUserIdentityLinksUrl: (userId: string, params?: ListUserIdentityLinksParams) => string;
83
- /**
84
- * The identity provider accounts a sign-in linked to the user, oldest first.
85
- * The provider's subject and claims are never returned.
86
- * @summary List the provider accounts linked to a user
87
- */
88
- declare const listUserIdentityLinks: (userId: string, params?: ListUserIdentityLinksParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListUserIdentityLinks200>;
89
- declare const getListUserPasskeysUrl: (userId: string, params?: ListUserPasskeysParams) => string;
90
- /**
91
- * Returns the passkeys registered for a user, newest first, paginated with a
92
- * cursor.
93
- *
94
- * Each passkey carries its id, its name and when it was registered, never the
95
- * credential itself.
96
- * @summary List user passkeys
97
- */
98
- declare const listUserPasskeys: (userId: string, params?: ListUserPasskeysParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListUserPasskeys200>;
99
- declare const getBeginUserPasskeyRegistrationUrl: (userId: string) => string;
100
- /**
101
- * Starts a WebAuthn registration ceremony for the user and returns the
102
- * creation options for `navigator.credentials.create()`. Complete the
103
- * ceremony with `POST /users/{user_id}/passkeys/registrations/{registration_id}` within
104
- * five minutes. Credentials already registered for the user are excluded
105
- * automatically.
106
- * @summary Begin passkey registration
107
- */
108
- declare const beginUserPasskeyRegistration: (userId: string, beginUserPasskeyRegistrationBody: BeginUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]) => Promise<BeginUserPasskeyRegistration201>;
109
- declare const getFinishUserPasskeyRegistrationUrl: (userId: string, registrationId: string) => string;
110
- /**
111
- * Verifies the attestation against the ceremony started by
112
- * `POST /users/{user_id}/passkeys/registrations` and persists the new credential. A
113
- * rejected attestation counts against the ceremony's failure budget and the
114
- * ceremony stays open for a retry. An expired ceremony surfaces as
115
- * `att.stale_challenge`; an unknown or already-consumed registration id
116
- * surfaces as `att.not_found`.
117
- * @summary Finish passkey registration
118
- */
119
- declare const finishUserPasskeyRegistration: (userId: string, registrationId: string, finishUserPasskeyRegistrationBody: FinishUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]) => Promise<FinishUserPasskeyRegistration201>;
120
- declare const getGetUserPasswordStateUrl: (userId: string) => string;
121
- /**
122
- * Reports when the user's current password was set, and leaves `set_at` out
123
- * when the user has none. The password and its hash are never returned;
124
- * setting one is `PUT` on the same path.
125
- * @summary Get user password state
126
- */
127
- declare const getUserPasswordState: (userId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetUserPasswordState200>;
128
- declare const getSetUserPasswordUrl: (userId: string) => string;
129
- /**
130
- * Sets a user's password, hashed with the project's current password hashing
131
- * policy.
132
- *
133
- * The new password replaces the current one, and setting it emits
134
- * `auth.factor.password.set`.
135
- * @summary Set user password
136
- */
137
- declare const setUserPassword: (userId: string, setUserPasswordBody: SetUserPasswordBody, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
138
- declare const getListUserTeamsUrl: (userId: string, params?: ListUserTeamsParams) => string;
139
- /**
140
- * The user's team roster, ordered by team name. Each entry carries the
141
- * team's name, so a client renders a page without resolving ids one by one.
142
- *
143
- * This is the N:N roster and it is not lifecycle ownership: the single team
144
- * that owns the user's lifecycle is reported as `metadata.lifecycle_owner_team_id`
145
- * on the user read endpoints. Memberships the user was removed from are not
146
- * returned.
147
- * @summary List the teams a user belongs to
148
- */
149
- declare const listUserTeams: (userId: string, params?: ListUserTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListUserTeams200>;
150
- declare const getGetMyUserUrl: (params?: GetMyUserParams) => string;
151
- /**
152
- * Returns the user signed in to the session that authenticates the request.
153
- *
154
- * The project and the user both come from the session cookie, so a caller only
155
- * ever reads their own user.
156
- *
157
- * With `project_id`, the user is returned only when the session belongs to
158
- * that project.
159
- * @summary Get my user information
160
- */
161
- declare const getMyUser: (params?: GetMyUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMyUser200>;
162
- declare const getPatchMyUserUrl: (params?: PatchMyUserParams) => string;
163
- /**
164
- * Partially updates the caller's own schema-defined attributes. The merged
165
- * result is validated against the user's schema before commit. Concurrent
166
- * writes are last-write-wins.
167
- *
168
- * With `project_id`, the user is updated only when the session belongs to
169
- * that project.
170
- * @summary Update my user information
171
- */
172
- declare const patchMyUser: (patchMyUserBody: PatchMyUserBody, params?: PatchMyUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<PatchMyUser200>;
173
- declare const getListMyIdentityLinksUrl: (params?: ListMyIdentityLinksParams) => string;
174
- /**
175
- * The identity provider accounts a sign-in linked to the signed-in user,
176
- * oldest first. The provider's subject and claims are never returned.
177
- *
178
- * With `project_id`, the links are listed only when the session belongs to
179
- * that project.
180
- * @summary List the provider accounts linked to me
181
- */
182
- declare const listMyIdentityLinks: (params?: ListMyIdentityLinksParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyIdentityLinks200>;
183
- declare const getListMyPasskeysUrl: (params?: ListMyPasskeysParams) => string;
184
- /**
185
- * The signed-in user's own passkeys, newest first, paginated with a cursor.
186
- * Each passkey carries its id, its name and when it was registered, never the
187
- * credential itself.
188
- *
189
- * With `project_id`, the passkeys are listed only when the session belongs to
190
- * that project.
191
- * @summary List my passkeys
192
- */
193
- declare const listMyPasskeys: (params?: ListMyPasskeysParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyPasskeys200>;
194
- declare const getGetMyPasswordStateUrl: (params?: GetMyPasswordStateParams) => string;
195
- /**
196
- * Reports when the signed-in user's current password was set, and leaves
197
- * `set_at` out when they have none. The password and its hash are never
198
- * returned.
199
- *
200
- * With `project_id`, the state is read only when the session belongs to that
201
- * project.
202
- * @summary Get my password state
203
- */
204
- declare const getMyPasswordState: (params?: GetMyPasswordStateParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMyPasswordState200>;
205
- declare const getListMyProjectsUrl: (params?: ListMyProjectsParams) => string;
206
- /**
207
- * The projects the signed-in user can act on: those they hold an active grant
208
- * on, either directly or through a team they are a member of. For a platform
209
- * operator (ADR 075) that is every project of the deployment. Ordered by
210
- * project id and paged with an opaque cursor.
211
- *
212
- * This is not the same question as `queryProjects`, which answers with the one
213
- * project the calling credential is bound to. Here the session is the caller
214
- * and the grants are the answer, so the list spans projects.
215
- *
216
- * With `name_contains`, only the projects whose name contains that text are
217
- * listed. The search runs on the server together with the grants, so it
218
- * reaches every project the user can act on, however many there are, and
219
- * pages like the full list.
220
- *
221
- * With `project_id`, the projects are listed only when the session belongs to
222
- * that project. It names the project the session was signed in to, not one to
223
- * list.
224
- * @summary List the projects I can act on
225
- */
226
- declare const listMyProjects: (params?: ListMyProjectsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyProjects200>;
227
- declare const getGetMyUserSchemaUrl: (params?: GetMyUserSchemaParams) => string;
228
- /**
229
- * The schema the signed-in user's own record is validated against.
230
- *
231
- * With `project_id`, the schema is returned only when the session belongs to
232
- * that project.
233
- * @summary Get my user schema
234
- */
235
- declare const getMyUserSchema: (params?: GetMyUserSchemaParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMyUserSchema200>;
236
- declare const getListMyTeamsUrl: (params?: ListMyTeamsParams) => string;
237
- /**
238
- * The signed-in user's own team roster, ordered by team name.
239
- *
240
- * With `project_id`, the teams are listed only when the session belongs to
241
- * that project.
242
- * @summary List the teams I belong to
243
- */
244
- declare const listMyTeams: (params?: ListMyTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyTeams200>;
245
- declare const getCreateFlowUrl: () => string;
246
- /**
247
- * Resolves a flow definition based on purpose + audience context and returns
248
- * the first capability step. Creates a new session implicitly unless
249
- * `session_id` is provided, together with that session's `session_token`
250
- * (for step-up / reauth on an existing session).
251
- *
252
- * The browser `Origin` header selects which deployment serves this attempt:
253
- * the gate admits the origin against the project's origin patterns and live
254
- * previews, the newest deployment to that exact origin is the target, and
255
- * that deployment's release supplies flow definitions, user schemas and
256
- * branding. The resolved deployment is sealed into the `_zflow` cookie so
257
- * later steps keep the same configuration. An origin that matches no pattern
258
- * answers `403` with `proj.origin_not_allowed`; one that matches a preview
259
- * pattern with no live preview answers `403` with `proj.preview_not_live`;
260
- * nothing deployed to the target answers `409` with `rel.not_deployed`; a
261
- * revoked release answers `409` with `rel.revoked`. A request with no
262
- * `Origin` passes the gate and still needs a deployment target. A loopback
263
- * origin passes it too, and so does the server's own origin, from which its
264
- * console previews a project's login; a step submitted from the server's
265
- * own origin is still refused unless the project lists it.
266
- *
267
- * The response contains an `id` field — the flow handle. Use it as the path
268
- * parameter for all subsequent `/flow/{id}/submit` calls.
269
- *
270
- * The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
271
- * the flow's orchestration state (current step, collected data, history).
272
- * The server is stateless between requests — all flow state lives in this
273
- * cookie. The browser sends it automatically on subsequent requests.
274
- * @summary Start a new flow
275
- */
276
- declare const createFlow: (createFlowBody: CreateFlowBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateFlow201>;
277
- declare const getGetFlowStepUrl: (id: string) => string;
278
- /**
279
- * Returns the current capability step without advancing the state machine.
280
- * Useful for page reloads or re-rendering after a network error.
281
- *
282
- * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not
283
- * re-resolve from `Origin`. If that release was revoked since the attempt
284
- * started, the response is `409` with `rel.revoked`.
285
- * @summary Get current step (re-render)
286
- */
287
- declare const getFlowStep: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetFlowStep200>;
288
- declare const getSubmitFlowStepUrl: (id: string) => string;
289
- /**
290
- * Submits user input for the current step. The server validates,
291
- * processes (e.g., verifies a credential), advances the state machine
292
- * through any invisible steps, and returns the next visible step.
293
- *
294
- * The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)
295
- * with the new flow state. The server is stateless — all orchestration
296
- * state is carried in this cookie between requests.
297
- *
298
- * **Important:** The `id` in the response may differ from the `id` used in
299
- * the request. This happens when a flow pivots (pushes a new flow onto the
300
- * stack) or when a stacked flow completes (auto-pops to the parent flow).
301
- * Always use the `id` from the latest response for the next request.
302
- *
303
- * ## Flow completion
304
- *
305
- * When `step.type` is `complete`, the flow is terminal. The `step.behavior`
306
- * field tells the frontend what to do:
307
- *
308
- * | `behavior` | Action |
309
- * |------------- |------------------------------------------------------------|
310
- * | `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |
311
- * | `show` | Render the step as a success screen (e.g., registration). |
312
- *
313
- * A `complete` step is only returned when the **entire flow stack** is done.
314
- * If a stacked flow (e.g., recovery pivoted from login) finishes, the server
315
- * auto-pops to the parent flow and returns the parent's next step — the
316
- * frontend never sees a `complete` for intermediate flows.
317
- *
318
- * ## External sign-in
319
- *
320
- * `{action: "sso", sso_provider_id, return_target}` on a step that offers
321
- * `sso_providers` returns the engine-emitted `sso-redirect` step, whose
322
- * `redirect_url` the frontend navigates to.
323
- *
324
- * - The flow state does not change, but `_zflow` is re-sealed like on
325
- * every response, so its ten-minute window restarts at this submission;
326
- * the external sign-in and the return must complete within it.
327
- * - A second `Set-Cookie` line carries the browser-binding cookie the
328
- * callback checks: `HttpOnly`, `Path=/`, `SameSite=Lax`.
329
- * - On every host except http loopback it is `__Host-_zsso` with `Secure`.
330
- * - When the request host is http loopback (local development, where
331
- * Safari rejects `Secure`), it is `_zsso` with no `Secure`; the
332
- * `__Host-` prefix is dropped because it requires `Secure`.
333
- *
334
- * A connection whose `client_id` is a `${{ NAME }}` reference has it filled
335
- * from the project's variables. A provider the engine cannot start a
336
- * sign-in with, including a reference with no variable behind it,
337
- * re-renders the step with `error.sso_unavailable`.
338
- *
339
- * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not
340
- * re-resolve from `Origin`. If that release was revoked since the attempt
341
- * started, the response is `409` with `rel.revoked`.
342
- * @summary Submit step data and advance
343
- */
344
- declare const submitFlowStep: (id: string, submitFlowStepBody: SubmitFlowStepBody, options?: Parameters<typeof customFetch>[1]) => Promise<SubmitFlowStep200>;
345
- declare const getCreateAuthAttemptUrl: () => string;
346
- /**
347
- * Starts a new authentication attempt. This is the entry point for the auth_attempts state machine.
348
- *
349
- * An attempt is an ephemeral (15-minute TTL) state machine that drives a single authentication round.
350
- * It accepts factor challenges, verifies proofs, and completes into a session or handoff token.
351
- *
352
- * Accepts a project_id and challenge_nonce (from POST /bootstrap/challenge). For step-up re-auth,
353
- * also include session_id and that session's session_token to add factors to an existing session.
354
- *
355
- * The project comes from the project secret. A body `project_id` that disagrees
356
- * answers `403` with `proj.mismatch`. Sealed `deployment_id` / `release_id` are
357
- * filled only when create runs with a runtime resolution already on the
358
- * context (the flow create path); this HTTP entry point does not resolve
359
- * Origin or refuse a revoked release itself.
360
- * @summary Create a new authentication attempt
361
- */
362
- declare const createAuthAttempt: (createAuthAttemptBody: CreateAuthAttemptBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateAuthAttempt201>;
363
- declare const getGetAuthAttemptUrl: (attemptId: string) => string;
364
- /**
365
- * Polls the current state of an authentication attempt.
366
- *
367
- * Returns the attempt's state, available factors for the next challenge,
368
- * challenges issued so far, and any errors preventing progress.
369
- *
370
- * Use this for polling during long-running factor verifications (e.g., waiting for
371
- * a federated IdP callback or a device flow).
372
- * @summary Get authentication attempt state
373
- */
374
- declare const getAuthAttempt: (attemptId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetAuthAttempt200>;
375
- declare const getIssueChallengeUrl: (attemptId: string) => string;
376
- /**
377
- * Issues a single-factor verification challenge within an auth attempt.
378
- *
379
- * This advances the authentication state machine by requesting a specific factor method
380
- * (password, passkey, TOTP, OTP via SMS, etc.). The server responds with challenge details
381
- * including method, metadata, and any UI hints. The client then verifies the proof
382
- * by calling POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
383
- * @summary Issue a factor challenge
384
- */
385
- declare const issueChallenge: (attemptId: string, issueChallengeBody: IssueChallengeBody, options?: Parameters<typeof customFetch>[1]) => Promise<IssueChallenge201>;
386
- declare const getVerifyChallengeProofUrl: (attemptId: string, challengeId: string) => string;
387
- /**
388
- * Submits a proof (credential, code, assertion) to verify a factor challenge.
389
- *
390
- * The proof format depends on the challenge method. For example:
391
- * - `password` method: { password: "…" }
392
- * - `totp` method: { totp: { code: "123456" } }
393
- * - `passkey` method: { passkey: { assertion: "…" } }
394
- * - `recovery_code` method: { recovery_code: "…" }
395
- *
396
- * On successful verification, the factor is written to the auth attempt.
397
- * The attempt moves to the next pending challenge or completes if all required factors are verified.
398
- * @summary Verify a factor proof
399
- */
400
- declare const verifyChallengeProof: (attemptId: string, challengeId: string, verifyChallengeProofBody: VerifyChallengeProofBody, options?: Parameters<typeof customFetch>[1]) => Promise<VerifyChallengeProof200>;
401
- declare const getCreateHandoffUrl: (attemptId: string) => string;
402
- /**
403
- * Completes the authentication attempt and mints a `handoff_token`.
404
- *
405
- * Call this after all required factors have been verified and the attempt is in `completed` state.
406
- * The handoff token is short-lived (≤60 seconds) and must be exchanged at
407
- * POST /sessions/exchange to receive the final session and session_token.
408
- *
409
- * The handoff token is:
410
- * - Single-use (atomic exchange, no retry)
411
- * - Audience-bound (requires matching project key for exchange)
412
- * - Idempotency-safe within a 5-minute window (see conventions)
413
- *
414
- * Revoke refusal for a sealed release happens at handoff exchange, not here.
415
- * @summary Complete authentication and create handoff token
416
- */
417
- declare const createHandoff: (attemptId: string, options?: Parameters<typeof customFetch>[1]) => Promise<CreateHandoff200>;
418
- declare const getCreateProjectUrl: () => string;
419
- /**
420
- * Creates a project and returns its project secret and preview secret, which no
421
- * other endpoint returns.
422
- *
423
- * The request needs no credential and is rate-limited. Unless `seed_defaults` is
424
- * `false`, the project starts with a default user schema and flow; the CLI turns
425
- * that off and uploads its own from `.zitadel/`.
426
- * @summary Create project
427
- */
428
- declare const createProject: (createProjectBody: CreateProjectBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateProject201>;
429
- declare const getQueryProjectsUrl: () => string;
430
- /**
431
- * Returns the project the project secret belongs to, as a page of at most one
432
- * project.
433
- *
434
- * A credential is scoped to one project until ADR 036 widens it, so the filters
435
- * and sorting apply to that project alone. The projects a signed-in person can
436
- * act on are listed by `GET /users/me/projects`.
437
- * @summary Query projects
438
- */
439
- declare const queryProjects: (queryProjectsBody: QueryProjectsBody, options?: Parameters<typeof customFetch>[1]) => Promise<QueryProjects200>;
440
- declare const getGetProjectUrl: (projectId: string) => string;
441
- /**
442
- * Returns the current state of a project.
443
- * @summary Get project
444
- */
445
- declare const getProject: (projectId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetProject200>;
446
- declare const getPatchProjectUrl: (projectId: string) => string;
447
- /**
448
- * Updates the state of a project.
449
- * @summary Update project
450
- */
451
- declare const patchProject: (projectId: string, patchProjectBody: PatchProjectBody, options?: Parameters<typeof customFetch>[1]) => Promise<PatchProject200>;
452
- declare const getListProjectAdminsUrl: (projectId: string, params?: ListProjectAdminsParams) => string;
453
- /**
454
- * Lists the people who can administer the project, and how each of them
455
- * gets that access. A person appears once, with one entry in `sources` per
456
- * way they hold it:
457
- *
458
- * - `owning_team`: an active member of the team that owns the project
459
- * (ADR 054 §2). Removing a grant does not remove this access; it ends
460
- * only when the person leaves the team or the project changes owner.
461
- * - `grant`: an unexpired `admin` grant on the project, either to the
462
- * person (`grant_id` only) or to a team they are an active member of
463
- * (`grant_id` and `team`). Revoking that grant removes this source.
464
- *
465
- * The list follows the authorization check: team membership is read from
466
- * the same membership projection the check expands, so a person who left a
467
- * team, or whose team or user was deactivated, is not listed through it.
468
- * Grants that expired or carry a lower role are left out. A person whose
469
- * only access is a `viewer` or `editor` grant is not an admin and is not
470
- * listed. Like the check, the list does not look at a person's user status
471
- * beyond that, so a direct grant to a suspended person is listed.
472
- *
473
- * A person whose access comes only through teams the caller is not a
474
- * member of is left out, and a team the caller is not in is named by
475
- * `team_id` only. The grant to such a team still shows in the project's
476
- * grants.
477
- *
478
- * Ordered by `user_id` and paginated with `page_token`.
479
- *
480
- * Accepts either a project secret (`oauth2`) or a user-bound Console
481
- * session cookie (`sessionCookie`) that can read the project.
482
- * @summary List project admins
483
- */
484
- declare const listProjectAdmins: (projectId: string, params?: ListProjectAdminsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListProjectAdmins200>;
485
- declare const getInitClaimUrl: (projectId: string) => string;
486
- /**
487
- * Starts a claim challenge for an unclaimed project. Authenticated by the
488
- * project secret, this mints a single-use, short-lived challenge and returns
489
- * the `claim_url` the developer opens in a browser to complete the claim,
490
- * together with the `challenge_id` the CLI polls with. The exact expiry is
491
- * carried by `expires_at` on the response.
492
- * @summary Initialize a project claim
493
- */
494
- declare const initClaim: (projectId: string, options?: Parameters<typeof customFetch>[1]) => Promise<InitClaim201>;
495
- declare const getGetClaimStatusUrl: (projectId: string, params: GetClaimStatusParams) => string;
496
- /**
497
- * Polled by the CLI while a browser completes the claim. Authorized by the
498
- * project secret that initiated the challenge. Returns `pending`, or
499
- * `completed` with the owning team, the claim timestamp, and the dashboard
500
- * URL once the project is claimed. The claim grant, not the polled
501
- * challenge, is the source of truth: a project claimed through another
502
- * concurrent challenge also reports `completed`, and a completed claim
503
- * keeps reporting `completed` past this challenge's expiry and past the
504
- * project's claim window.
505
- * @summary Get claim status
506
- */
507
- declare const getClaimStatus: (projectId: string, params: GetClaimStatusParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetClaimStatus200>;
508
- declare const getCompleteClaimUrl: (projectId: string) => string;
509
- /**
510
- * Called by the browser after the developer authenticates on the claim page.
511
- * Authenticated by the session cookie, it attaches the project to
512
- * the developer's personal team using the `challenge_id` from the claim URL as
513
- * its single-use, browser-safe authorization.
514
- * @summary Complete a project claim
515
- */
516
- declare const completeClaim: (projectId: string, completeClaimBody: CompleteClaimBody, options?: Parameters<typeof customFetch>[1]) => Promise<CompleteClaim200>;
517
- declare const getGetClaimWindowUrl: (projectId: string, params: GetClaimWindowParams) => string;
518
- /**
519
- * Read by the claim page in the browser to show how long is left to claim the
520
- * project. Unauthenticated by design: the claim page runs this before the
521
- * developer has signed in, and holding the `challenge_id` from the claim URL
522
- * is the authorization — the same capability `claim/complete` accepts. It
523
- * reveals only the window, never the project itself, and unlike
524
- * `claim/complete` it spends nothing, so a reload is free.
525
- * @summary Get the claim window for a project
526
- */
527
- declare const getClaimWindow: (projectId: string, params: GetClaimWindowParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetClaimWindow200>;
528
- declare const getAddOriginUrl: (projectId: string) => string;
529
- /**
530
- * Adds one `{pattern, kind}` to the project's origins. A primary pattern
531
- * must be an exact URL (no wildcard). Preview patterns may include a single
532
- * DNS-label wildcard. Adding a pattern that already exists with the same
533
- * kind is idempotent and answers 201 with the stored origin.
534
- * @summary Add an origin pattern
535
- */
536
- declare const addOrigin: (projectId: string, addOriginBody: AddOriginBody, options?: Parameters<typeof customFetch>[1]) => Promise<AddOrigin201>;
537
- declare const getRemoveOriginUrl: (projectId: string) => string;
538
- /**
539
- * Removes one pattern from the project's origins. Requests from URLs only
540
- * that pattern admitted are refused from then on; live previews and
541
- * deployment history are untouched. Removing a pattern that is already
542
- * absent is idempotent and answers 204.
543
- * @summary Remove an origin pattern
544
- */
545
- declare const removeOrigin: (projectId: string, removeOriginBody: RemoveOriginBody, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
546
- declare const getListPreviewsUrl: (projectId: string, params?: ListPreviewsParams) => string;
547
- /**
548
- * Lists the project's live previews, newest first by `created_at`. An
549
- * expired or removed preview is not listed; what was deployed to it stays
550
- * in `GET /deployments`.
551
- * @summary List previews
552
- */
553
- declare const listPreviews: (projectId: string, params?: ListPreviewsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListPreviews200>;
554
- declare const getRemovePreviewUrl: (projectId: string) => string;
555
- /**
556
- * Ends a preview before it expires: the URL stops being served at once.
557
- * The deployments to it stay in the history.
558
- *
559
- * Idempotent: a URL with no live preview, including one that has already
560
- * expired or was removed before, answers `204` too, so a cleanup that
561
- * races the expiry still succeeds.
562
- *
563
- * The URL travels in the body rather than the path because an origin
564
- * contains `/`.
565
- * @summary Remove a preview
566
- */
567
- declare const removePreview: (projectId: string, removePreviewBody: RemovePreviewBody, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
568
- declare const getCreateSessionUrl: () => string;
569
- /**
570
- * Creates an anonymous session shell with no user and no factors (`state: building`).
571
- *
572
- * This is optional — an `auth_attempt` will create a session implicitly if none is provided.
573
- * Use this explicitly when you want to:
574
- * - Pre-allocate a `session_id` before the user is known, so device/telemetry signals
575
- * can be correlated with the eventual authenticated session from the start.
576
- * - Track anonymous state (bot detection, device fingerprint) that survives until authentication.
577
- *
578
- * Creating a session is an app-plane operation on the project credential
579
- * (`session.write`). The returned `session_token` is a session credential for the
580
- * end-user client, not a management scope: it is delivered as the
581
- * `__Host-zitadel_session` cookie (`zitadel_session` over plain http to a
582
- * loopback host) and authorises the self-service operations
583
- * `GET /sessions/me` and `DELETE /sessions/me` (`sessionCookie` scheme). The
584
- * by-id operations `GET /sessions/{session_id}` and `DELETE /sessions/{session_id}`
585
- * are operator endpoints and require `session.read` / `session.delete` instead.
586
- *
587
- * The `session_token` is superseded when a handoff exchange completes — clients must
588
- * replace it at that point.
589
- *
590
- * Anonymous sessions expire aggressively (10-minute TTL). The TTL resets to the configured
591
- * full session TTL when the first authentication factor is written via a completing `auth_attempt`.
592
- * @summary Create an anonymous session shell
593
- */
594
- declare const createSession: (createSessionBody: CreateSessionBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateSession201>;
595
- declare const getQuerySessionsUrl: (params: QuerySessionsParams) => string;
596
- /**
597
- * Returns the sessions of a project, paginated with a cursor.
598
- * Sessions of every lifecycle state are returned; each carries its `state`.
599
- * Requires `session.read` permission.
600
- * @summary Query sessions
601
- */
602
- declare const querySessions: (querySessionsBody: QuerySessionsBody, params: QuerySessionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QuerySessions200>;
603
- declare const getExchangeHandoffUrl: (params: ExchangeHandoffParams) => string;
604
- /**
605
- * Consumes a one-time `handoff_token` minted by `POST /auth_attempts/{id}/handoff`
606
- * and returns the resulting session and a `session_token`.
607
- *
608
- * The server resolves the originating `auth_attempt` from the token and then:
609
- *
610
- * | Originating auth_attempt | Outcome |
611
- * |---|---|
612
- * | No `session_id` | A new authenticated session is **created**. |
613
- * | `session_id` points to an anonymous shell | Existing session is **upgraded** — user and factors written in, TTL reset to full session TTL. |
614
- * | `session_id` points to an active session (step-up) | Existing session is **upgraded** — new factors merged, `assurance_levels[]` expanded. |
615
- *
616
- * The response shape is identical in all three cases.
617
- *
618
- * The `session_token` supersedes any previously issued `session_token` for the same session.
619
- * Clients must replace their stored token at this point.
620
- *
621
- * Requires a project service key (OAuth2 client credentials).
622
- *
623
- * The project comes from the project secret. A query `project_id` that
624
- * disagrees answers `403` with `proj.mismatch`. The exchange resolves a
625
- * deployment the same way as other runtime operations; with no browser
626
- * `Origin` and nothing deployed to the resolved target the response is
627
- * `409` with `rel.not_deployed`. A revoked release answers `409` with
628
- * `rel.revoked`.
629
- * @summary Exchange handoff token for a session
630
- */
631
- declare const exchangeHandoff: (exchangeHandoffBody: ExchangeHandoffBody, params: ExchangeHandoffParams, options?: Parameters<typeof customFetch>[1]) => Promise<ExchangeHandoff200>;
632
- declare const getGetSessionUrl: (sessionId: string) => string;
633
- /**
634
- * Returns the current state of a session including its factors and all currently
635
- * satisfied assurance levels.
636
- *
637
- * `assurance_levels[]` may shrink over time as factor freshness windows expire,
638
- * without the session itself expiring. Use step-up authentication (a new `auth_attempt`
639
- * against the same `session_id`) to restore a dropped assurance level.
640
- * @summary Get session state
641
- */
642
- declare const getSession: (sessionId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetSession200>;
643
- declare const getRevokeSessionUrl: (sessionId: string) => string;
644
- /**
645
- * Permanently deletes the session, terminating it immediately.
646
- *
647
- * This is the operator revoke path and requires the `session.delete` scope on a
648
- * project-bound credential. End-user logout with the session cookie is
649
- * `DELETE /sessions/me` (`sessionCookie` scheme).
650
- *
651
- * Idempotent: deleting a session that does not exist (or was already deleted)
652
- * still returns 204. After deletion, any tokens derived from the session are
653
- * invalidated.
654
- * @summary Revoke session
655
- */
656
- declare const revokeSession: (sessionId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
657
- declare const getGetMySessionUrl: (params?: GetMySessionParams) => string;
658
- /**
659
- * Returns the current state of the current session including its factors and all currently
660
- * satisfied assurance levels.
661
- *
662
- * With `project_id`, the session is returned only when it belongs to that project.
663
- *
664
- * `assurance_levels[]` may shrink over time as factor freshness windows expire,
665
- * without the session itself expiring. Use step-up authentication (a new `auth_attempt`
666
- * against the same `session_id`) to restore a dropped assurance level.
667
- * @summary Get my session state
668
- */
669
- declare const getMySession: (params?: GetMySessionParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMySession200>;
670
- declare const getRevokeMySessionUrl: (params?: RevokeMySessionParams) => string;
671
- /**
672
- * Logs out by permanently deleting the session.
673
- *
674
- * The session cookie issued at creation (or superseded by a handoff
675
- * exchange) is required, with the session's token from `GET /sessions/me/csrf`
676
- * in the `X-Zitadel-CSRF` header. Idempotent: if the session is already gone
677
- * this still returns 204. Any tokens derived from the session are invalidated,
678
- * and the cookie itself is cleared in the response.
679
- *
680
- * With `project_id`, only a session of that project is deleted. A session of
681
- * another project is left alone, and so is its cookie.
682
- * @summary Revoke my session
683
- */
684
- declare const revokeMySession: (params?: RevokeMySessionParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
685
- declare const getGetMySessionCsrfTokenUrl: (params?: GetMySessionCsrfTokenParams) => string;
686
- /**
687
- * Returns the session-bound token for cross-site request forgery protection
688
- * (ADR 053 §5). Browser code sends it in the `X-Zitadel-CSRF` header on the
689
- * state-changing requests the session cookie authenticates that require it
690
- * — see the `sessionCookie` scheme. It authorizes nothing on its own: the
691
- * HttpOnly cookie is still the credential, and a cross-site page cannot
692
- * read this response. It stays the same for the life of the session, so a
693
- * client fetches it once per session.
694
- *
695
- * With `project_id`, the token is returned only when the session belongs to
696
- * that project.
697
- * @summary Get my session's CSRF token
698
- */
699
- declare const getMySessionCsrfToken: (params?: GetMySessionCsrfTokenParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMySessionCsrfToken200>;
700
- declare const getCreateSchemaUrl: (params: CreateSchemaParams) => string;
701
- /**
702
- * Create a new schema. The optional `$id` field is the JSON Schema document
703
- * URI used to identify the schema in future requests (GitOps-stable identity,
704
- * not a free-form resource primary key). When `$id` is omitted, the server
705
- * generates a `sch_*` URL. When provided, `$id` must be unique within the
706
- * project and should ideally be a valid URI pointing at where the schema can
707
- * be accessed.
708
- *
709
- * The schema can either be a concrete schema, e.g. a user schema, or a
710
- * schema-url which will be resolved by the server.
711
- * @summary Create new schema
712
- */
713
- declare const createSchema: (createSchemaBody: CreateSchemaBody, params: CreateSchemaParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateSchema201>;
714
- declare const getListSchemasUrl: (params: ListSchemasParams) => string;
715
- /**
716
- * Retrieve a list of all schemas available in the system. This endpoint
717
- * supports pagination and filtering based on schema attributes.
718
- * @summary List all schemas
719
- */
720
- declare const listSchemas: (params: ListSchemasParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListSchemas200>;
721
- declare const getGetSchemaByIdUrl: (id: string, params?: GetSchemaByIdParams) => string;
722
- /**
723
- * Get a schema by its ID. A schema ID identifies one immutable revision, so
724
- * this returns exactly that revision. To find the current revision of an
725
- * object type, list with `revisions=latest`.
726
- *
727
- * Schema IDs are unique within a project, not across projects (the seeded
728
- * default schema carries the same `$id` in every project). A Console
729
- * session that manages more than one project names the project with
730
- * `project_id`; without it, the ID is resolved in the credential's own
731
- * project when it is ambiguous. A project secret always resolves in its
732
- * own project and ignores `project_id`.
733
- * @summary Get schema by ID
734
- */
735
- declare const getSchemaById: (id: string, params?: GetSchemaByIdParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetSchemaById200>;
736
- declare const getCreateFlowDefinitionUrl: () => string;
737
- /**
738
- * Publishes a new flow definition revision.
739
- * Flow definitions are templates that define the sequence of steps (capabilities)
740
- * for a particular user journey (e.g., registration, login, password reset).
741
- *
742
- * Flow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.
743
- *
744
- * Every call allocates a new opaque id. Revisions of one flow share its
745
- * `name`; posting a definition under an existing `name` publishes a new
746
- * revision of that flow, it is not a conflict. List with `name` to see a
747
- * flow's revisions, newest by creation time first.
748
- * @summary Create a new flow definition
749
- */
750
- declare const createFlowDefinition: (createFlowDefinitionBody: CreateFlowDefinitionBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateFlowDefinition201>;
751
- declare const getListFlowDefinitionsUrl: (params: ListFlowDefinitionsParams) => string;
752
- /**
753
- * Retrieves a list of all flow definitions, newest by creation time first.
754
- * This endpoint can be used to view existing flow definitions and their configurations.
755
- * Filter by `name` to list the revisions of one flow.
756
- * @summary List flow definitions
757
- */
758
- declare const listFlowDefinitions: (params: ListFlowDefinitionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListFlowDefinitions200>;
759
- declare const getGetFlowDefinitionUrl: (id: string) => string;
760
- /**
761
- * Get a flow definition by id
762
- * @summary Get a flow definition by id
763
- */
764
- declare const getFlowDefinition: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetFlowDefinition200>;
765
- declare const getCreateTeamUrl: (params: CreateTeamParams) => string;
766
- /**
767
- * Creates a team in the project, with a name no other team in the project has.
768
- *
769
- * A taken name is refused with `409 team.already_exists`. The new team has no
770
- * members yet.
771
- * @summary Create team
772
- */
773
- declare const createTeam: (createTeamBody: CreateTeamBody, params: CreateTeamParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateTeam201>;
774
- declare const getQueryTeamsUrl: (params?: QueryTeamsParams) => string;
775
- /**
776
- * Returns the teams of a project, paginated with a cursor.
777
- *
778
- * `project_id` names the project to list; without it, the credential's own
779
- * project is listed.
780
- * @summary Query teams
781
- */
782
- declare const queryTeams: (queryTeamsBody: QueryTeamsBody, params?: QueryTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryTeams200>;
783
- declare const getGetTeamUrl: (teamId: string) => string;
784
- /**
785
- * Returns a Team by its id.
786
- * @summary Get team
787
- */
788
- declare const getTeam: (teamId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetTeam200>;
789
- declare const getDeleteTeamUrl: (teamId: string) => string;
790
- /**
791
- * Deactivates the team.
792
- *
793
- * The team is tombstoned rather than erased: it stays readable through
794
- * getTeam with status `deactivated`. Its memberships are removed and the
795
- * users whose lifecycle it owns are deactivated with it.
796
- *
797
- * The request is idempotent. Deleting a team that is already deactivated
798
- * or doesn't exist succeeds without changing anything.
799
- *
800
- * A team that still owns a project is refused with `409
801
- * team.owns_project`: deactivating it would leave the project owned by a
802
- * dead team and so unmanageable. No endpoint releases that ownership yet,
803
- * so such a team cannot currently be deactivated through the API.
804
- * @summary Delete team
805
- */
806
- declare const deleteTeam: (teamId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
807
- declare const getUpdateTeamUrl: (teamId: string) => string;
808
- /**
809
- * Update team. Only active teams can be updated.
810
- * @summary Update team
811
- */
812
- declare const updateTeam: (teamId: string, updateTeamBody: UpdateTeamBody, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateTeam200>;
813
- declare const getCreateBrandingUrl: (params: CreateBrandingParams) => string;
814
- /**
815
- * Publishes a new immutable branding revision for the project. Branding
816
- * revisions cannot be updated or deleted; every edit publishes a new
817
- * revision, and flow responses resolve the latest revision per project.
818
- *
819
- * The `liquid_template` is validated lexically on save (size, encoding,
820
- * banned patterns such as `<script>` tags, inline event handlers, and the
821
- * `| raw` filter). Authoritative LiquidJS validation runs at authoring
822
- * time via `zitadel plan` / `zitadel apply`.
823
- * @summary Publish a new branding revision
824
- */
825
- declare const createBranding: (createBrandingBody: CreateBrandingBody, params: CreateBrandingParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateBranding201>;
826
- declare const getListBrandingUrl: (params: ListBrandingParams) => string;
827
- /**
828
- * Lists branding revisions for the project, newest first, capped at the
829
- * 100 most recent. The first entry is the revision flow responses
830
- * currently resolve. Deliberately unpaginated in v1 — list endpoints gain a
831
- * real query mechanism together; advertising pagination parameters the
832
- * server ignores would be worse than none.
833
- * @summary List branding revisions
834
- */
835
- declare const listBranding: (params: ListBrandingParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListBranding200Item[]>;
836
- declare const getGetBrandingByIdUrl: (id: string) => string;
837
- /**
838
- * Retrieves a single branding revision, including its stored configuration.
839
- * @summary Get a branding revision by ID
840
- */
841
- declare const getBrandingById: (id: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetBrandingById200>;
842
- declare const getCreateIdpUrl: (params: CreateIdpParams) => string;
843
- /**
844
- * Creates or revises a connection document. If the slug does not already
845
- * exist, a new connection is created. If a connection with that slug already
846
- * exists, a revision is created.
847
- *
848
- * A revision gets a new `revision_id` and does not modify the connection
849
- * `id`, so identity links that reference the connection keep resolving while
850
- * releases and auth attempts stay pinned to the revision they captured.
851
- *
852
- * Identity fields are fixed for the life of the connection and a revision
853
- * that changes one is rejected: `protocol`, `subject_claim`, and `issuer`,
854
- * the field that names the authority. Their values decide which provider
855
- * account a stored subject belongs to, so changing one would silently
856
- * repoint existing identities at a different provider.
857
- *
858
- * `subject_claim` is optional, and `sub` is used as the default value. If a
859
- * revision updates `subject_claim` to a different value than the one set
860
- * during creation, the request is rejected.
861
- *
862
- * OIDC is the only protocol.
863
- *
864
- * The document is validated against the `idp-connection.json` schema before
865
- * anything is stored. The rules the engine applies when it starts a sign-in
866
- * then run on the document, so a connection that could never start one is
867
- * refused here instead with `idp.endpoints_partial`: the OIDC block sets an
868
- * endpoint without the others. It either sets no endpoint, and discovery
869
- * fills them, or sets `authorization_endpoint`, `token_endpoint`, `jwks_uri`,
870
- * and `userinfo_endpoint`. `userinfo_endpoint` may be left out when
871
- * `id_token_mapping` is on, but setting it alone still counts as setting an
872
- * endpoint. The details list the missing endpoints.
873
- *
874
- * A refused document stores nothing, and on a revise the current revision
875
- * stays unchanged.
876
- * @summary Create or revise an identity provider connection
877
- */
878
- declare const createIdp: (createIdpBody: CreateIdpBody, params: CreateIdpParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateIdp200 | CreateIdp201>;
879
- declare const getQueryIdpsUrl: (params: QueryIdpsParams) => string;
880
- /**
881
- * Returns the identity provider connections of a project, paginated with a
882
- * cursor. One row per connection, carrying its newest revision.
883
- * @summary Query identity provider connections
884
- */
885
- declare const queryIdps: (queryIdpsBody: QueryIdpsBody, params: QueryIdpsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryIdps200>;
886
- declare const getGetIdpByIdUrl: (id: string, params: GetIdpByIdParams) => string;
887
- /**
888
- * Reads a connection by its id, at its newest revision.
889
- * `GET /idps/{id}/revisions` lists every revision of the connection.
890
- *
891
- * The lookup is scoped to the project in `project_id`.
892
- * @summary Get an identity provider connection by id
893
- */
894
- declare const getIdpById: (id: string, params: GetIdpByIdParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetIdpById200>;
895
- declare const getListIdpRevisionsUrl: (id: string, params: ListIdpRevisionsParams) => string;
896
- /**
897
- * Returns every revision of one connection, newest first, paginated with a
898
- * cursor. The order is fixed, so there is no `sorting`.
899
- *
900
- * The lookup is scoped to the project in `project_id`.
901
- * @summary List the revisions of an identity provider connection
902
- */
903
- declare const listIdpRevisions: (id: string, params: ListIdpRevisionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListIdpRevisions200>;
904
- declare const getGetIdpRevisionByIdUrl: (revisionId: string, params: GetIdpRevisionByIdParams) => string;
905
- /**
906
- * Reads one revision of a connection by its `revision_id`, the value an auth
907
- * attempt or a release pins.
908
- *
909
- * The lookup is scoped to the project in `project_id`.
910
- * @summary Get one revision of an identity provider connection
911
- */
912
- declare const getIdpRevisionById: (revisionId: string, params: GetIdpRevisionByIdParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetIdpRevisionById200>;
913
- declare const getListPoliciesUrl: (params: ListPoliciesParams) => string;
914
- /**
915
- * Lists the project's policies, one per operation, each as its newest
916
- * revision, ordered by `created_at` (first publish) and then `id`. Filter
917
- * by `operation` to read the policy of one operation; a project that never
918
- * published one gets an empty list.
919
- *
920
- * The lookup is scoped to the project in `project_id`.
921
- * @summary List policies
922
- */
923
- declare const listPolicies: (params: ListPoliciesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListPolicies200>;
924
- declare const getPublishPolicyUrl: (params: PublishPolicyParams) => string;
925
- /**
926
- * Publishes the project's policy for an operation as a new immutable
927
- * revision, creating the policy on its first publish. The newest revision
928
- * applies to the next time the operation runs; nothing already stored is
929
- * re-evaluated, so a stricter password policy applies the next time a
930
- * password is set.
931
- *
932
- * The request is typed by `operation`: an unknown operation or setting, or
933
- * a value of the wrong type or outside its bounds, answers `req.invalid`
934
- * like any malformed request. The operation's template then checks the
935
- * config again, together with the rules that relate settings to each other
936
- * (a `min_length` above `max_length`), and answers `pol.invalid`. Its
937
- * `details.details.violations` lists everything that failed, settings
938
- * first, then rules: `{"setting": "min_length"}` for one setting, or
939
- * `{"config_rule": "min_length_not_above_max_length", "settings":
940
- * ["min_length", "max_length"]}` for a rule across settings, with the
941
- * settings it reads. A setting left out is off, and `{}` switches every
942
- * rule off; there are no defaults.
943
- * @summary Publish a policy
944
- */
945
- declare const publishPolicy: (publishPolicyBody: PublishPolicyBody, params: PublishPolicyParams, options?: Parameters<typeof customFetch>[1]) => Promise<PublishPolicy201>;
946
- declare const getEvaluatePolicyUrl: (params: EvaluatePolicyParams) => string;
947
- /**
948
- * Evaluates a policy config against one request, without side effects, and
949
- * answers the decision the operation would reach. Nothing is read from or
950
- * written to the project: the config is the one in the body, checked
951
- * exactly as a publish checks it, so an invalid config answers `pol.invalid`
952
- * with the same violations.
953
- *
954
- * `input` is what the operation's request carries, in the operation's own
955
- * terms (a password, not its length): the server derives what the policy
956
- * checks with the code the live operation runs, guards included. `facts`
957
- * states what the operation would look up at runtime, such as whether the
958
- * candidate matches one of the user's kept passwords.
959
- *
960
- * The decision and the names of the failed rules hold wherever the
961
- * operation runs. `code` and `violations` are what an API call answers; a
962
- * login flow shows the same rules as field errors on the password field
963
- * (`error.x-auth-methods#password_<rule>` in `step.error`).
964
- *
965
- * Which policy a project or release applies is not decided here: read it
966
- * and pass its config.
967
- *
968
- * The caller needs read access to the project in `project_id`.
969
- * @summary Evaluate a policy
970
- */
971
- declare const evaluatePolicy: (evaluatePolicyBody: EvaluatePolicyBody, params: EvaluatePolicyParams, options?: Parameters<typeof customFetch>[1]) => Promise<EvaluatePolicy200>;
972
- declare const getGetPolicyUrl: (policyId: string, params: GetPolicyParams) => string;
973
- /**
974
- * Reads a policy as its newest revision, the one that applies the next time
975
- * its operation runs.
976
- *
977
- * The lookup is scoped to the project in `project_id`: a policy of another
978
- * project answers not found exactly as an unknown id does.
979
- * @summary Get a policy
980
- */
981
- declare const getPolicy: (policyId: string, params: GetPolicyParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetPolicy200>;
982
- declare const getListPolicyRevisionsUrl: (policyId: string, params: ListPolicyRevisionsParams) => string;
983
- /**
984
- * Returns every revision of one policy, newest first, paginated with a
985
- * cursor. The order is fixed, so there is no `sorting`.
986
- *
987
- * The lookup is scoped to the project in `project_id`: a policy of another
988
- * project answers not found exactly as an unknown id does.
989
- * @summary List the revisions of a policy
990
- */
991
- declare const listPolicyRevisions: (policyId: string, params: ListPolicyRevisionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListPolicyRevisions200>;
992
- declare const getGetPolicyRevisionUrl: (revisionId: string, params: GetPolicyRevisionParams) => string;
993
- /**
994
- * Reads one revision of a policy, newest or not.
995
- *
996
- * The lookup is scoped to the project in `project_id`: a revision of another
997
- * project answers not found exactly as an unknown id does.
998
- * @summary Get a policy revision
999
- */
1000
- declare const getPolicyRevision: (revisionId: string, params: GetPolicyRevisionParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetPolicyRevision200>;
1001
- declare const getCreateReleaseUrl: (params: CreateReleaseParams) => string;
1002
- /**
1003
- * Assembles a release from existing revisions, given as
1004
- * `(kind, revision_id)` pairs. To build one from files on disk, use
1005
- * `POST /releases/build`.
1006
- *
1007
- * Each revision must exist in the project and is recorded under the handle
1008
- * it declares. The release must be complete and consistent:
1009
- *
1010
- * - Every handle its revisions name must be in the release: a flow's
1011
- * `user_schema`, and the IDP connections named by a flow step's
1012
- * `sso_providers` or a schema's `x-auth-methods.sso.providers`. A missing
1013
- * one answers `rel.unresolved_reference`, naming the resource and the
1014
- * handle, e.g. `flow_definition default-login: user_schema human-user not found`.
1015
- * - Every flow is validated as on save, against the user schema revision
1016
- * in the release. A flow that fails answers `rel.invalid`, with the
1017
- * reason in `details`.
1018
- *
1019
- * Idempotent on the set of revisions: the same revisions with a different
1020
- * `message` answer `200` with the existing release. A new release answers
1021
- * `201`. Creating a release does not deploy it.
1022
- * @summary Create a release
1023
- */
1024
- declare const createRelease: (createReleaseBody: CreateReleaseBody, params: CreateReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateRelease200 | CreateRelease201>;
1025
- declare const getListReleasesUrl: (params: ListReleasesParams) => string;
1026
- /**
1027
- * Lists the project's releases, newest first.
1028
- *
1029
- * Entries carry the digest, the metadata and `revoked_at` — the pinned set
1030
- * is omitted.
1031
- * Read one release with `GET /releases/{release_id}` to get its pointers.
1032
- *
1033
- * `content_hash` looks a release up by its content, as the CLI does when a
1034
- * person types the digest a transcript printed. The project holds at most
1035
- * one release per digest, so the filtered list has one entry or none, and
1036
- * an unknown digest is an empty list rather than an error. Paths take the
1037
- * `rel_` id only; the matched entry's `id` is what to use there.
1038
- * @summary List releases
1039
- */
1040
- declare const listReleases: (params: ListReleasesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListReleases200>;
1041
- declare const getBuildReleaseUrl: (params: BuildReleaseParams) => string;
1042
- /**
1043
- * Builds a release from the resources of `.zitadel/` as authored on disk,
1044
- * grouped by kind, in one transaction: a failure anywhere leaves no
1045
- * revision and no release. The caller records nothing.
1046
- *
1047
- * If the project already holds a release with the same content, the same
1048
- * `content_hash`, the request answers `200` with that release and
1049
- * allocates nothing, however long ago it was built. Otherwise every resource is compared against the
1050
- * project's newest revision of the same handle: unchanged content reuses
1051
- * that revision, changed content allocates a new one, and the request
1052
- * answers `201` with the new release. A policy whose config matches only an
1053
- * older revision allocates a new one too, so a request that resolves no
1054
- * release, which reads the newest revision, applies it as well. Metadata is excluded from the
1055
- * comparison, so the same content under a different `message` is the same
1056
- * release.
1057
- *
1058
- * A structurally malformed request is refused while decoding with
1059
- * `req.invalid`, naming the offending fields. A well-formed bundle is then
1060
- * checked resource by resource, as each kind's create endpoint checks it,
1061
- * and every failure is reported at once: the request answers `400` with
1062
- * `rel.invalid`, and `details.resources` lists each resource that failed.
1063
- * A handle that resolves neither in the bundle nor in the project answers
1064
- * `rel.unresolved_reference`, naming the pointer and the handle.
1065
- *
1066
- * Building writes revisions, so besides `release.write` it needs the write
1067
- * scope of every kind the bundle carries a resource of: `schema.write`,
1068
- * `flow_definition.write`, `branding.write`, `idp.write` and
1069
- * `policy.write`, as the per-kind create endpoints do. A missing scope answers `403` with `rel.permission_denied`,
1070
- * naming the kind. An empty kind needs no scope.
1071
- *
1072
- * Building a release does not deploy it. A release is not tied to an
1073
- * origin, and the same release can later be deployed to any number of
1074
- * origins unchanged.
1075
- * @summary Build a release from files
1076
- */
1077
- declare const buildRelease: (buildReleaseBody: BuildReleaseBody, params: BuildReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<BuildRelease200 | BuildRelease201>;
1078
- declare const getGetReleaseByIdUrl: (releaseId: string, params: GetReleaseByIdParams) => string;
1079
- /**
1080
- * Reads one release: its digest, its metadata, whether it was revoked, and
1081
- * the `(kind, handle, revision_id)` tuples it pins.
1082
- *
1083
- * The path takes the `rel_` id only. To find a release from its digest,
1084
- * list with the `content_hash` filter and read the matched entry's `id`.
1085
- *
1086
- * Does not embed resource content. Resolve each `revision_id` through the
1087
- * per-kind read endpoints when the bytes are needed.
1088
- *
1089
- * The lookup is scoped to the project in `project_id`: a release id belonging
1090
- * to another project answers not found exactly as an unknown id does, so the
1091
- * endpoint cannot be used to probe for releases in projects the caller cannot
1092
- * read.
1093
- * @summary Get a release by id
1094
- */
1095
- declare const getReleaseById: (releaseId: string, params: GetReleaseByIdParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetReleaseById200>;
1096
- declare const getRevokeReleaseUrl: (releaseId: string, params: RevokeReleaseParams) => string;
1097
- /**
1098
- * Marks the release revoked, so that its content is never served again.
1099
- * From then on the release cannot be deployed and is refused on every path
1100
- * that would serve it, including to a build that pins its digest, with
1101
- * `rel.revoked`.
1102
- *
1103
- * A release that any origin still serves cannot be revoked. An origin
1104
- * serves the release of the newest deployment to it, so the call answers
1105
- * `409` with `rel.in_use`, naming each such origin and that deployment.
1106
- * Deploy another release there or roll back first, then revoke. Revoking
1107
- * therefore never takes an origin down. Deployments that named the release
1108
- * earlier stay in the history.
1109
- *
1110
- * Idempotent: revoking a release that is already revoked answers `200`
1111
- * with the release unchanged, `revoked_at` still naming the first
1112
- * revocation. There is no un-revoke; build a new release instead.
1113
- *
1114
- * Takes no body. The lookup is scoped to the project in `project_id`, so a
1115
- * release id of another project answers not found exactly as an unknown id
1116
- * does.
1117
- * @summary Revoke a release
1118
- */
1119
- declare const revokeRelease: (releaseId: string, params: RevokeReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<RevokeRelease200>;
1120
- declare const getCreateGrantUrl: (params: CreateGrantParams) => string;
1121
- /**
1122
- * Bind a user or team to `project.viewer`, `project.editor`, or
1123
- * `project.admin` on the project identified by the `project-id` header.
1124
- * Name the principal with `user` (`user_id` or `identifier`) or `team`
1125
- * (`team_id` or `name`). IDs are `asgn_<opaque>`. Owning-team
1126
- * (`project.team`) grants are not created here — claim owns that path. An
1127
- * unrevoked grant with the same principal and relation occupies the unique
1128
- * key even after `expires_at`; DELETE it before re-creating.
1129
- * Create does not accept `expand`. The `user_id` and team locators
1130
- * return 201, whose `user` / `team` carry only `user_id` / `team_id`,
1131
- * and still 404 / 409 when the principal is missing or the tuple
1132
- * already exists. Creating by `user.identifier` answers 202 with no
1133
- * body on every outcome. Granting the session caller's own user is
1134
- * `grant.invalid` on either user locator. Read the grant back for
1135
- * identifier and display.
1136
- *
1137
- * Accepts either a project secret (`oauth2`) or a user-bound Console
1138
- * session cookie (`sessionCookie`). Session callers are authorized as
1139
- * the human against the target project (home may differ). Cookie-authenticated
1140
- * requests follow the scheme's CSRF rules (`sessionCookie`).
1141
- * @summary Create grant
1142
- */
1143
- declare const createGrant: (createGrantBody: CreateGrantBody, params: CreateGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateGrant201 | void>;
1144
- declare const getQueryGrantsUrl: (params: QueryGrantsParams) => string;
1145
- /**
1146
- * Returns the collaboration grants of a project, paginated with a cursor.
1147
- * Only unrevoked grants this API manages are listed (user or team bound to
1148
- * viewer, editor, or admin), including expired grants so a client can
1149
- * DELETE before re-granting. Project-secret setup (`sk_proj`) and
1150
- * owning-team (`relation=team`) rows are not returned. Grants are not in
1151
- * `resource_scope_index`; project scope is required on the query (same as
1152
- * get). Requires `project.read`. `expand: ["principal"]` adds envelope
1153
- * fields on `user` / `team` and additionally requires `user.read` and
1154
- * `team.read` for project secrets (documented on the expand enum; those
1155
- * scopes cannot be ANDed onto this security block because they are
1156
- * body-conditional). A user-bound Console session that already passed
1157
- * the project Check may expand without those scopes.
1158
- *
1159
- * Accepts either a project secret (`oauth2`) or a user-bound Console
1160
- * session cookie (`sessionCookie`). Cookie-authenticated requests
1161
- * follow the scheme's CSRF rules (`sessionCookie`).
1162
- * @summary Query grants
1163
- */
1164
- declare const queryGrants: (queryGrantsBody: QueryGrantsBody, params: QueryGrantsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryGrants200>;
1165
- declare const getGetGrantUrl: (id: string, params: GetGrantParams) => string;
1166
- /**
1167
- * Loads a grant by `(project_id, id)` that this API manages (user or team
1168
- * bound to viewer, editor, or admin) and that has not been revoked.
1169
- * "Active" here means not revoked: expired grants stay visible so the
1170
- * client can DELETE before re-granting the same binding. Authorization
1171
- * still ignores expired grants. Grants are not registered in
1172
- * `resource_scope_index`; project scope is required on the query (same as
1173
- * events). Misses, revoked rows, project-secret setup (`sk_proj`),
1174
- * owning-team (`relation=team`) rows, and cross-project ids return 404.
1175
- * `expand=principal` adds envelope fields on `user` or `team` and requires
1176
- * `user.read` and `team.read` in addition to `project.read` for project
1177
- * secrets. A user-bound Console session that already passed the project
1178
- * Check may expand without those scopes.
1179
- *
1180
- * Accepts either a project secret (`oauth2`) or a user-bound Console
1181
- * session cookie (`sessionCookie`). Cookie-authenticated requests
1182
- * follow the scheme's CSRF rules (`sessionCookie`).
1183
- * @summary Get grant
1184
- */
1185
- declare const getGrant: (id: string, params: GetGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetGrant200>;
1186
- declare const getDeleteGrantUrl: (id: string, params: DeleteGrantParams) => string;
1187
- /**
1188
- * Soft-revokes a grant this API manages and emits `authz.revoked`.
1189
- * Already-revoked, missing, project-secret setup, and owning-team grants
1190
- * return 404. The row is not un-revoked. Expired grants can still be
1191
- * revoked so the unique binding can be reused.
1192
- *
1193
- * Accepts either a project secret (`oauth2`) or a user-bound Console
1194
- * session cookie (`sessionCookie`). Cookie-authenticated requests
1195
- * follow the scheme's CSRF rules (`sessionCookie`).
1196
- * @summary Revoke grant
1197
- */
1198
- declare const deleteGrant: (id: string, params: DeleteGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
1199
- declare const getListEventsUrl: (params: ListEventsParams) => string;
1200
- /**
1201
- * Returns project-scoped audit events, newest-first by keyset on
1202
- * `(created_at, id)` (ADR 027 / ADR 049). Pass `order=asc` for oldest-first.
1203
- * Requires `events.read`.
1204
- *
1205
- * Pre-claim projects return an empty list (events are stored but not
1206
- * visible until claim succeeds). Team-scoped credentials see only events
1207
- * whose emit-time `team_id` matches the credential team (enforced when
1208
- * team-scoped tokens exist).
1209
- *
1210
- * Clients discriminate each item via `event_type` (OpenAPI Event oneOf) —
1211
- * see docs/design/api/events-catalog.md.
1212
- * @summary List events
1213
- */
1214
- declare const listEvents: (params: ListEventsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListEvents200>;
1215
- declare const getGetEventUrl: (id: string, params: GetEventParams) => string;
1216
- /**
1217
- * Loads a single event by `(project_id, id)`. Requires `events.read`.
1218
- * Events are not registered in `resource_scope_index`; project scope is
1219
- * required on the query (ADR 049). Misses and cross-project ids return 404.
1220
- *
1221
- * Pre-claim projects return 404 (stored events stay invisible until claim).
1222
- * @summary Get event by ID
1223
- */
1224
- declare const getEvent: (id: string, params: GetEventParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetEvent200>;
1225
- declare const getGetVariablesUrl: (params: GetVariablesParams) => string;
1226
- /**
1227
- * Returns the project's variables, keyed by name, each with its value per
1228
- * kind. With `kind`, only that kind's values are returned.
1229
- *
1230
- * Secret values are not returned. A secret appears as `{"secret": true}`,
1231
- * which says a value is held without disclosing it.
1232
- * @summary Get variables
1233
- */
1234
- declare const getVariables: (params: GetVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetVariables200>;
1235
- declare const getUpdateVariablesUrl: (params: UpdateVariablesParams) => string;
1236
- /**
1237
- * Enters, replaces and removes the project's variables for the requested
1238
- * kind. Names not in the body are untouched. Existing deployments keep the
1239
- * values they froze.
1240
- *
1241
- * Without `kind`, a plain value is written for both kinds. A secret is
1242
- * written for `primary` only and removes the name's `preview` value, so a
1243
- * preview never keeps a plaintext copy; set a preview secret with
1244
- * `kind=preview`. `null` removes the name from both.
1245
- *
1246
- * A bare scalar enters a non-secret value. `{"value": …, "secret": true}`
1247
- * stores the value encrypted under the project's active `secret` key, after
1248
- * which it can be referenced but not read back. `null` removes the name
1249
- * (RFC 7386), which is how several variables are removed in one request;
1250
- * removing a name the project does not hold is a no-op rather than an error.
1251
- *
1252
- * The body is applied whole or not at all, so a rejected request leaves the
1253
- * project's variables exactly as they were. Writing the same name twice
1254
- * replaces the value rather than duplicating it, which makes a retry safe.
1255
- * @summary Update variables
1256
- */
1257
- declare const updateVariables: (updateVariablesBody: UpdateVariablesBody, params: UpdateVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateVariables200>;
1258
- declare const getGetVariableUrl: (variableName: string, params: GetVariableParams) => string;
1259
- /**
1260
- * Reads one variable by name, with its value per kind. A name with no
1261
- * value for the requested kind answers `var.not_found`. A secret reads
1262
- * back as `{"secret": true}`.
1263
- * @summary Get a variable
1264
- */
1265
- declare const getVariable: (variableName: string, params: GetVariableParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetVariable200>;
1266
- declare const getDeleteVariableUrl: (variableName: string, params: DeleteVariableParams) => string;
1267
- /**
1268
- * Removes a variable for the requested kind, or for both kinds without
1269
- * `kind`. A name with no value for that kind answers `var.not_found`.
1270
- * Existing deployments keep the values they froze.
1271
- * @summary Delete a variable
1272
- */
1273
- declare const deleteVariable: (variableName: string, params: DeleteVariableParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
1274
- declare const getCreateDeploymentUrl: (params: CreateDeploymentParams) => string;
1275
- /**
1276
- * Makes a release live on its targets by recording a deployment,
1277
- * atomically: on success every target serves the release and the record
1278
- * exists; on failure nothing changes and no record is written.
1279
- *
1280
- * Name the release by exactly one of `release_id` or `content_hash`; it
1281
- * must already exist in the project. `targets` is `primary` or preview
1282
- * URLs. The deployment freezes the project's variable values for its kind,
1283
- * with no fallback between primary and preview values.
1284
- *
1285
- * A deployment to `primary` changes nothing when the project's newest
1286
- * primary deployment has the same release and frozen values and covers
1287
- * exactly the current primary origins: the call answers `200` with that
1288
- * deployment. Any other request writes a new deployment and answers `201`;
1289
- * for preview URLs that record renews their previews.
1290
- *
1291
- * Failures:
1292
- * - `400 dep.invalid`: both or neither of `release_id` and `content_hash`;
1293
- * a primary origin named exactly; `primary` mixed with preview URLs;
1294
- * `primary` on a project with no primary origin; `ttl` with `primary`;
1295
- * `ttl` above 365 days (`P365D`).
1296
- * - `400 dep.variables_missing`: a referenced variable has no value for
1297
- * the kind; `details` names the kind and every missing variable.
1298
- * - `403 proj.origin_not_allowed`: a preview URL matches no preview
1299
- * pattern, or is a loopback URL.
1300
- * - `404 rel.not_found`: the release id or digest names no release here.
1301
- * - `409 dep.conflict`: `expected_deployment_id` is not the deployment
1302
- * this write replaces; `details.deployment` is that deployment.
1303
- * - `409 rel.revoked`: the release is revoked.
1304
- * @summary Create a deployment
1305
- */
1306
- declare const createDeployment: (createDeploymentBody: CreateDeploymentBody, params: CreateDeploymentParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateDeployment200 | CreateDeployment201>;
1307
- declare const getListDeploymentsUrl: (params: ListDeploymentsParams) => string;
1308
- /**
1309
- * Lists what ran where, and when.
1310
- *
1311
- * By default the list is the history, newest first: every deployment of
1312
- * the project with every target it made the release live on. With
1313
- * `origin`, the history of that origin alone.
1314
- *
1315
- * With `live=true`, the list is what is served now, newest first: the
1316
- * project's newest primary deployment, narrowed to origins that are still
1317
- * primary, and the newest deployment to each live preview URL, narrowed to
1318
- * the URLs it still serves. Combined with `origin`, it is the one
1319
- * deployment that origin serves, or empty.
1320
- *
1321
- * `expand: ["release"]` embeds the release each deployment made live; it
1322
- * requires `release.read` and does not change the ordering or the page
1323
- * tokens.
1324
- * @summary List deployments
1325
- */
1326
- declare const listDeployments: (params: ListDeploymentsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListDeployments200>;
1327
- declare const getGetDeploymentByIdUrl: (deploymentId: string, params: GetDeploymentByIdParams) => string;
1328
- /**
1329
- * Reads one deployment record.
1330
- *
1331
- * The lookup is scoped to the project in `project_id`: a deployment id
1332
- * belonging to another project answers not found exactly as an unknown id
1333
- * does, so the endpoint cannot be used to probe for deployments in projects
1334
- * the caller cannot read.
1335
- * @summary Get a deployment by id
1336
- */
1337
- declare const getDeploymentById: (deploymentId: string, params: GetDeploymentByIdParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetDeploymentById200>;
1338
- declare const getRollbackDeploymentUrl: (deploymentId: string, params: RollbackDeploymentParams) => string;
1339
- /**
1340
- * Re-deploys the release of the deployment named in the path to `primary`,
1341
- * with the variable values it froze: a new deployment with `reason:
1342
- * rollback` and `rollback_to` naming it. Like any deployment to `primary`,
1343
- * it covers every current primary origin. Idempotent like a deployment to
1344
- * `primary`: when nothing would change it answers `200` with the newest
1345
- * primary deployment.
1346
- *
1347
- * Failures:
1348
- * - `400 dep.invalid`: the deployment went to preview URLs (deploy to the
1349
- * preview again instead), or the project has no primary origin.
1350
- * - `404 dep.not_found`: no deployment of the project has that id.
1351
- * - `409 dep.conflict`: `expected_deployment_id` is not the project's
1352
- * newest primary deployment; `details.deployment` is that deployment.
1353
- * - `409 rel.revoked`: the release is revoked.
1354
- * @summary Roll back to a deployment
1355
- */
1356
- declare const rollbackDeployment: (deploymentId: string, params: RollbackDeploymentParams, rollbackDeploymentBody?: RollbackDeploymentBody, options?: Parameters<typeof customFetch>[1]) => Promise<RollbackDeployment200 | RollbackDeployment201>;
1357
- declare const getGetDeploymentVariablesUrl: (deploymentId: string, params: GetDeploymentVariablesParams) => string;
1358
- /**
1359
- * Returns the variable values the deployment froze when it was made. Later
1360
- * changes to the project's variables do not affect them. A secret reads
1361
- * back as `{"secret": true}`.
1362
- * @summary Get a deployment's variables
1363
- */
1364
- declare const getDeploymentVariables: (deploymentId: string, params: GetDeploymentVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetDeploymentVariables200>;
1365
- //#endregion
1366
- export { getDeploymentVariables as $, listMyProjects as $n, getListProjectAdminsUrl as $t, getBuildReleaseUrl as A, getRevokeSessionUrl as An, verifyChallengeProof as Ar, getGetSessionUrl as At, getCreateHandoffUrl as B, getUserPasswordState as Bn, getIssueChallengeUrl as Bt, evaluatePolicy as C, getQueryUsersUrl as Cn, revokeRelease as Cr, getGetMyUserUrl as Ct, getAuthAttempt as D, getRemovePreviewUrl as Dn, submitFlowStep as Dr, getGetReadyUrl as Dt, getAddOriginUrl as E, getRemoveOriginUrl as En, setUserPassword as Er, getGetProjectUrl as Et, getCreateBrandingUrl as F, getSubmitFlowStepUrl as Fn, getGetVariablesUrl as Ft, getCreateSessionUrl as G, issueChallenge as Gn, getListIdpRevisionsUrl as Gt, getCreateProjectUrl as H, getVariables as Hn, getListDeploymentsUrl as Ht, getCreateDeploymentUrl as I, getTeam as In, getGrant as It, getDeleteGrantUrl as J, listEvents as Jn, getListMyProjectsUrl as Jt, getCreateTeamUrl as K, listBranding as Kn, getListMyIdentityLinksUrl as Kt, getCreateFlowDefinitionUrl as L, getUpdateTeamUrl as Ln, getIdpById as Lt, getClaimWindow as M, getSchemaById as Mn, getGetUserByIDUrl as Mt, getCompleteClaimUrl as N, getSession as Nn, getGetUserPasswordStateUrl as Nt, getBeginUserPasskeyRegistrationUrl as O, getRevokeMySessionUrl as On, updateTeam as Or, getGetReleaseByIdUrl as Ot, getCreateAuthAttemptUrl as P, getSetUserPasswordUrl as Pn, getGetVariableUrl as Pt, getDeploymentById as Q, listMyPasskeys as Qn, getListPreviewsUrl as Qt, getCreateFlowUrl as R, getUpdateVariablesUrl as Rn, getIdpRevisionById as Rt, deleteVariable as S, getQueryTeamsUrl as Sn, revokeMySession as Sr, getGetMyUserSchemaUrl as St, finishUserPasskeyRegistration as T, getReleaseById as Tn, rollbackDeployment as Tr, getGetPolicyUrl as Tt, getCreateReleaseUrl as U, getVerifyChallengeProofUrl as Un, getListEventsUrl as Ut, getCreateIdpUrl as V, getVariable as Vn, getListBrandingUrl as Vt, getCreateSchemaUrl as W, initClaim as Wn, getListFlowDefinitionsUrl as Wt, getDeleteUserByIDUrl as X, listIdpRevisions as Xn, getListPoliciesUrl as Xt, getDeleteTeamUrl as Y, listFlowDefinitions as Yn, getListMyTeamsUrl as Yt, getDeleteVariableUrl as Z, listMyIdentityLinks as Zn, getListPolicyRevisionsUrl as Zt, createTeam as _, getPublishPolicyUrl as _n, querySessions as _r, getGetIdpRevisionByIdUrl as _t, createAuthAttempt as a, getLive as an, listReleases as ar, getFlowStep as at, deleteTeam as b, getQueryProjectsUrl as bn, removeOrigin as br, getGetMySessionCsrfTokenUrl as bt, createFlow as c, getMySessionCsrfToken as cn, listUserPasskeys as cr, getGetClaimStatusUrl as ct, createHandoff as d, getPatchMyUserUrl as dn, patchProject as dr, getGetDeploymentVariablesUrl as dt, getListReleasesUrl as en, listMyTeams as er, getEvaluatePolicyUrl as et, createIdp as f, getPatchProjectUrl as fn, patchUserByID as fr, getGetEventUrl as ft, createSession as g, getProject as gn, queryProjects as gr, getGetIdpByIdUrl as gt, createSchema as h, getPolicyRevision as hn, queryIdps as hr, getGetGrantUrl as ht, completeClaim as i, getListUserTeamsUrl as in, listProjectAdmins as ir, getFlowDefinition as it, getClaimStatus as j, getRollbackDeploymentUrl as jn, zitadelNextGen_d_exports as jr, getGetTeamUrl as jt, getBrandingById as k, getRevokeReleaseUrl as kn, updateVariables as kr, getGetSchemaByIdUrl as kt, createFlowDefinition as l, getMyUser as ln, listUserTeams as lr, getGetClaimWindowUrl as lt, createRelease as m, getPolicy as mn, queryGrants as mr, getGetFlowStepUrl as mt, beginUserPasskeyRegistration as n, getListUserIdentityLinksUrl as nn, listPolicyRevisions as nr, getExchangeHandoffUrl as nt, createBranding as o, getMyPasswordState as on, listSchemas as or, getGetAuthAttemptUrl as ot, createProject as p, getPatchUserByIDUrl as pn, publishPolicy as pr, getGetFlowDefinitionUrl as pt, getCreateUserUrl as q, listDeployments as qn, getListMyPasskeysUrl as qt, buildRelease as r, getListUserPasskeysUrl as rn, listPreviews as rr, getFinishUserPasskeyRegistrationUrl as rt, createDeployment as s, getMySession as sn, listUserIdentityLinks as sr, getGetBrandingByIdUrl as st, addOrigin as t, getListSchemasUrl as tn, listPolicies as tr, getEvent as tt, createGrant as u, getMyUserSchema as un, patchMyUser as ur, getGetDeploymentByIdUrl as ut, createUser as v, getQueryGrantsUrl as vn, queryTeams as vr, getGetLiveUrl as vt, exchangeHandoff as w, getReady as wn, revokeSession as wr, getGetPolicyRevisionUrl as wt, deleteUserByID as x, getQuerySessionsUrl as xn, removePreview as xr, getGetMySessionUrl as xt, deleteGrant as y, getQueryIdpsUrl as yn, queryUsers as yr, getGetMyPasswordStateUrl as yt, getCreateGrantUrl as z, getUserByID as zn, getInitClaimUrl as zt };
1367
- //# sourceMappingURL=zitadelNextGen-BVO4sdKD.d.mts.map