@zitadel/api 0.3.0 → 0.5.0

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