@zitadel/api 0.5.0 → 0.7.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 (1199) hide show
  1. package/dist/api-factory-BPmRCU7u.mjs +372 -0
  2. package/dist/api-factory-BPmRCU7u.mjs.map +1 -0
  3. package/dist/api-factory-DCzYxpdV.d.mts +223 -0
  4. package/dist/api-factory-DCzYxpdV.d.mts.map +1 -0
  5. package/dist/fetch-BLgYBrzi.d.mts +134 -0
  6. package/dist/fetch-BLgYBrzi.d.mts.map +1 -0
  7. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  8. package/dist/generated/endpoints/zitadelNextGen.mjs +1 -3446
  9. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +84 -67
  10. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +4201 -959
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +3480 -1169
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  15. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4016 -1948
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  17. package/dist/generated/model/index.d.mts +2 -2
  18. package/dist/generated/model/index.mjs +573 -856
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +1 -3
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +360 -99
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/index-BwYxe7Dw.d.mts +59554 -0
  25. package/dist/index-BwYxe7Dw.d.mts.map +1 -0
  26. package/dist/rolldown-runtime-D8jQpDG7.mjs +12 -0
  27. package/dist/runtime/api-factory.d.mts +1 -1
  28. package/dist/runtime/api-factory.mjs +1 -2
  29. package/dist/runtime/auth.d.mts +0 -2
  30. package/dist/runtime/auth.d.mts.map +1 -1
  31. package/dist/runtime/auth.mjs +1 -2
  32. package/dist/runtime/base-url.d.mts +0 -2
  33. package/dist/runtime/base-url.d.mts.map +1 -1
  34. package/dist/runtime/base-url.mjs +1 -2
  35. package/dist/runtime/config.d.mts +1 -3
  36. package/dist/runtime/config.d.mts.map +1 -1
  37. package/dist/runtime/config.mjs +2 -3
  38. package/dist/runtime/fetch.d.mts +1 -1
  39. package/dist/runtime/fetch.mjs +2 -3
  40. package/dist/runtime/paging.d.mts +0 -2
  41. package/dist/runtime/paging.d.mts.map +1 -1
  42. package/dist/runtime/paging.mjs +1 -2
  43. package/dist/zitadelNextGen-DsPFGqLs.mjs +3926 -0
  44. package/dist/zitadelNextGen-DsPFGqLs.mjs.map +1 -0
  45. package/dist/zitadelNextGen-SGK-fW1x.d.mts +1989 -0
  46. package/dist/zitadelNextGen-SGK-fW1x.d.mts.map +1 -0
  47. package/package.json +7 -9
  48. package/src/generated/endpoints/zitadelNextGen.faker.ts +117 -84
  49. package/src/generated/endpoints/zitadelNextGen.msw.ts +325 -163
  50. package/src/generated/endpoints/zitadelNextGen.ts +954 -315
  51. package/src/generated/endpoints/zitadelNextGen.zod.ts +3571 -1718
  52. package/src/generated/model/acceptInvitation200.ts +126 -0
  53. package/src/generated/model/acceptInvitation400.ts +20 -0
  54. package/src/generated/model/acceptInvitation400Details.ts +12 -0
  55. package/src/generated/model/acceptInvitation401.ts +20 -0
  56. package/src/generated/model/acceptInvitation401Details.ts +12 -0
  57. package/src/generated/model/acceptInvitation403.ts +20 -0
  58. package/src/generated/model/acceptInvitation403Details.ts +12 -0
  59. package/src/generated/model/acceptInvitation404.ts +20 -0
  60. package/src/generated/model/acceptInvitation404Details.ts +12 -0
  61. package/src/generated/model/acceptInvitation409.ts +20 -0
  62. package/src/generated/model/acceptInvitation409Details.ts +12 -0
  63. package/src/generated/model/acceptInvitation429.ts +20 -0
  64. package/src/generated/model/acceptInvitation429Details.ts +12 -0
  65. package/src/generated/model/acceptInvitationBody.ts +19 -0
  66. package/src/generated/model/acceptInvitationDefault.ts +99 -0
  67. package/src/generated/model/addProjectOrigin201.ts +18 -0
  68. package/src/generated/model/addProjectOrigin201Kind.ts +18 -0
  69. package/src/generated/model/addProjectOriginBody.ts +35 -0
  70. package/src/generated/model/addProjectOriginBodyKind.ts +19 -0
  71. package/src/generated/model/addProjectOriginDefault.ts +135 -0
  72. package/src/generated/model/buildRelease200.ts +4 -4
  73. package/src/generated/model/buildRelease200PointersItem.ts +3 -1
  74. package/src/generated/model/buildRelease200PointersItemKind.ts +2 -1
  75. package/src/generated/model/buildRelease201.ts +4 -4
  76. package/src/generated/model/buildRelease201PointersItem.ts +3 -1
  77. package/src/generated/model/buildRelease201PointersItemKind.ts +2 -1
  78. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +2 -2
  79. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +2 -1
  80. package/src/generated/model/buildReleaseBody.ts +7 -5
  81. package/src/generated/model/buildReleaseBodyBundle.ts +23 -6
  82. package/src/generated/model/buildReleaseBodyBundleBranding.ts +3 -3
  83. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +1 -1
  84. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +1 -1
  85. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +1 -1
  86. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +2 -12
  87. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +2 -9
  88. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -2
  89. package/src/generated/model/buildReleaseBodyBundleOauth.ts +30 -0
  90. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +20 -0
  91. package/src/generated/model/cancelInvitation401.ts +20 -0
  92. package/src/generated/model/cancelInvitation401Details.ts +12 -0
  93. package/src/generated/model/cancelInvitation403.ts +20 -0
  94. package/src/generated/model/cancelInvitation403Details.ts +12 -0
  95. package/src/generated/model/cancelInvitation404.ts +20 -0
  96. package/src/generated/model/cancelInvitation404Details.ts +12 -0
  97. package/src/generated/model/cancelInvitationDefault.ts +90 -0
  98. package/src/generated/model/cancelInvitationParams.ts +17 -0
  99. package/src/generated/model/completeProjectClaim200.ts +19 -0
  100. package/src/generated/model/completeProjectClaim400.ts +20 -0
  101. package/src/generated/model/completeProjectClaim400Details.ts +12 -0
  102. package/src/generated/model/completeProjectClaim401.ts +23 -0
  103. package/src/generated/model/completeProjectClaim403.ts +36 -0
  104. package/src/generated/model/completeProjectClaim404.ts +20 -0
  105. package/src/generated/model/completeProjectClaim404Details.ts +12 -0
  106. package/src/generated/model/completeProjectClaim409.ts +25 -0
  107. package/src/generated/model/completeProjectClaim409Details.ts +14 -0
  108. package/src/generated/model/completeProjectClaim410.ts +27 -0
  109. package/src/generated/model/completeProjectClaim429.ts +20 -0
  110. package/src/generated/model/completeProjectClaim429Details.ts +12 -0
  111. package/src/generated/model/completeProjectClaimBody.ts +18 -0
  112. package/src/generated/model/completeProjectClaimDefault.ts +144 -0
  113. package/src/generated/model/completeUserPasskeyRegistration201.ts +19 -0
  114. package/src/generated/model/completeUserPasskeyRegistration400.ts +20 -0
  115. package/src/generated/model/completeUserPasskeyRegistration400Details.ts +12 -0
  116. package/src/generated/model/completeUserPasskeyRegistration401.ts +20 -0
  117. package/src/generated/model/completeUserPasskeyRegistration401Details.ts +12 -0
  118. package/src/generated/model/completeUserPasskeyRegistration403.ts +20 -0
  119. package/src/generated/model/completeUserPasskeyRegistration403Details.ts +12 -0
  120. package/src/generated/model/completeUserPasskeyRegistration404.ts +20 -0
  121. package/src/generated/model/completeUserPasskeyRegistration404Details.ts +12 -0
  122. package/src/generated/model/completeUserPasskeyRegistration429.ts +23 -0
  123. package/src/generated/model/completeUserPasskeyRegistration500.ts +20 -0
  124. package/src/generated/model/completeUserPasskeyRegistration500Details.ts +12 -0
  125. package/src/generated/model/completeUserPasskeyRegistrationBody.ts +21 -0
  126. package/src/generated/model/completeUserPasskeyRegistrationBodyAttestation.ts +12 -0
  127. package/src/generated/model/completeUserPasskeyRegistrationDefault.ts +189 -0
  128. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +1 -1
  129. package/src/generated/model/createAuthAttemptChallenge201.ts +49 -0
  130. package/src/generated/model/createAuthAttemptChallenge201Method.ts +20 -0
  131. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +34 -0
  132. package/src/generated/model/createAuthAttemptChallenge201State.ts +22 -0
  133. package/src/generated/model/createAuthAttemptChallengeBody.ts +28 -0
  134. package/src/generated/model/createAuthAttemptChallengeBodyMethod.ts +20 -0
  135. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptions.ts +19 -0
  136. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptionsUserVerification.ts +16 -0
  137. package/src/generated/model/createAuthAttemptChallengeDefault.ts +90 -0
  138. package/src/generated/model/createAuthAttemptHandoff200.ts +30 -0
  139. package/src/generated/model/createAuthAttemptHandoff409.ts +20 -0
  140. package/src/generated/model/createAuthAttemptHandoff409Details.ts +12 -0
  141. package/src/generated/model/createAuthAttemptHandoffDefault.ts +99 -0
  142. package/src/generated/model/createDeployment200.ts +9 -7
  143. package/src/generated/model/createDeployment200Release.ts +4 -4
  144. package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
  145. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +2 -1
  146. package/src/generated/model/createDeployment200Status.ts +4 -3
  147. package/src/generated/model/createDeployment200TargetsItem.ts +0 -5
  148. package/src/generated/model/createDeployment201.ts +9 -7
  149. package/src/generated/model/createDeployment201Release.ts +4 -4
  150. package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
  151. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +2 -1
  152. package/src/generated/model/createDeployment201Status.ts +4 -3
  153. package/src/generated/model/createDeployment201TargetsItem.ts +0 -5
  154. package/src/generated/model/createDeployment409.ts +12 -14
  155. package/src/generated/model/createDeploymentBody.ts +2 -2
  156. package/src/generated/model/createFlow201.ts +1 -1
  157. package/src/generated/model/createFlow201Branding.ts +3 -3
  158. package/src/generated/model/createFlow201BrandingThemeDark.ts +1 -1
  159. package/src/generated/model/createFlow201BrandingThemeLight.ts +1 -1
  160. package/src/generated/model/createFlow201BrandingTypography.ts +1 -1
  161. package/src/generated/model/createFlow201StepFieldsItem.ts +6 -3
  162. package/src/generated/model/createFlow201StepFieldsItemType.ts +7 -3
  163. package/src/generated/model/createFlow201StepGates.ts +22 -9
  164. package/src/generated/model/createFlow201StepGatesChallenge.ts +30 -0
  165. package/src/generated/model/createFlow201StepGatesConfig.ts +2 -2
  166. package/src/generated/model/createFlow201StepGatesKind.ts +3 -4
  167. package/src/generated/model/createInvitation201.ts +136 -0
  168. package/src/generated/model/createInvitation400.ts +20 -0
  169. package/src/generated/model/createInvitation400Details.ts +12 -0
  170. package/src/generated/model/createInvitation401.ts +20 -0
  171. package/src/generated/model/createInvitation401Details.ts +12 -0
  172. package/src/generated/model/createInvitation403.ts +20 -0
  173. package/src/generated/model/createInvitation403Details.ts +12 -0
  174. package/src/generated/model/createInvitation404.ts +20 -0
  175. package/src/generated/model/createInvitation404Details.ts +12 -0
  176. package/src/generated/model/createInvitation409.ts +20 -0
  177. package/src/generated/model/createInvitation409Details.ts +12 -0
  178. package/src/generated/model/createInvitation501.ts +23 -0
  179. package/src/generated/model/createInvitationBody.ts +72 -0
  180. package/src/generated/model/createInvitationDefault.ts +171 -0
  181. package/src/generated/model/createInvitationParams.ts +17 -0
  182. package/src/generated/model/createProjectClaim201.ts +25 -0
  183. package/src/generated/model/createProjectClaim401.ts +20 -0
  184. package/src/generated/model/createProjectClaim401Details.ts +12 -0
  185. package/src/generated/model/createProjectClaim404.ts +23 -0
  186. package/src/generated/model/createProjectClaim409.ts +25 -0
  187. package/src/generated/model/createProjectClaim409Details.ts +14 -0
  188. package/src/generated/model/createProjectClaim410.ts +23 -0
  189. package/src/generated/model/createProjectClaimDefault.ts +99 -0
  190. package/src/generated/model/createRelease200.ts +4 -4
  191. package/src/generated/model/createRelease200PointersItem.ts +3 -1
  192. package/src/generated/model/createRelease200PointersItemKind.ts +2 -1
  193. package/src/generated/model/createRelease201.ts +4 -4
  194. package/src/generated/model/createRelease201PointersItem.ts +3 -1
  195. package/src/generated/model/createRelease201PointersItemKind.ts +2 -1
  196. package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
  197. package/src/generated/model/createReleaseBodyPointersItemKind.ts +2 -1
  198. package/src/generated/model/createSessionDefault.ts +9 -0
  199. package/src/generated/model/createUser201.ts +1 -1
  200. package/src/generated/model/createUserBody.ts +1 -1
  201. package/src/generated/model/createUserPasskeyRegistration201.ts +25 -0
  202. package/src/generated/model/createUserPasskeyRegistration201Options.ts +13 -0
  203. package/src/generated/model/createUserPasskeyRegistration400.ts +20 -0
  204. package/src/generated/model/createUserPasskeyRegistration400Details.ts +12 -0
  205. package/src/generated/model/createUserPasskeyRegistration401.ts +20 -0
  206. package/src/generated/model/createUserPasskeyRegistration401Details.ts +12 -0
  207. package/src/generated/model/createUserPasskeyRegistration403.ts +20 -0
  208. package/src/generated/model/createUserPasskeyRegistration403Details.ts +12 -0
  209. package/src/generated/model/createUserPasskeyRegistration404.ts +20 -0
  210. package/src/generated/model/createUserPasskeyRegistration404Details.ts +12 -0
  211. package/src/generated/model/createUserPasskeyRegistration500.ts +20 -0
  212. package/src/generated/model/createUserPasskeyRegistration500Details.ts +12 -0
  213. package/src/generated/model/createUserPasskeyRegistrationBody.ts +33 -0
  214. package/src/generated/model/createUserPasskeyRegistrationDefault.ts +126 -0
  215. package/src/generated/model/deactivateTeam400.ts +20 -0
  216. package/src/generated/model/deactivateTeam400Details.ts +12 -0
  217. package/src/generated/model/deactivateTeam401.ts +20 -0
  218. package/src/generated/model/deactivateTeam401Details.ts +12 -0
  219. package/src/generated/model/deactivateTeam403.ts +20 -0
  220. package/src/generated/model/deactivateTeam403Details.ts +12 -0
  221. package/src/generated/model/deactivateTeam409.ts +20 -0
  222. package/src/generated/model/deactivateTeam409Details.ts +12 -0
  223. package/src/generated/model/deactivateTeamDefault.ts +90 -0
  224. package/src/generated/model/deleteUser401.ts +20 -0
  225. package/src/generated/model/deleteUser401Details.ts +12 -0
  226. package/src/generated/model/deleteUser404.ts +20 -0
  227. package/src/generated/model/deleteUser404Details.ts +12 -0
  228. package/src/generated/model/deleteUser409.ts +20 -0
  229. package/src/generated/model/deleteUser409Details.ts +12 -0
  230. package/src/generated/model/deleteUserDefault.ts +99 -0
  231. package/src/generated/model/evaluatePolicy200.ts +2 -2
  232. package/src/generated/model/evaluatePolicyBody.ts +31 -0
  233. package/src/generated/model/exchangeHandoffBody.ts +2 -2
  234. package/src/generated/model/getApplication200.ts +43 -0
  235. package/src/generated/model/getApplication200Definition.ts +35 -0
  236. package/src/generated/model/getApplication200DefinitionClientsItem.ts +84 -0
  237. package/src/generated/model/getApplication200DefinitionClientsItemGrantTypesItem.ts +15 -0
  238. package/src/generated/model/getApplication200DefinitionClientsItemType.ts +19 -0
  239. package/src/generated/model/getApplication401.ts +20 -0
  240. package/src/generated/model/getApplication401Details.ts +12 -0
  241. package/src/generated/model/getApplication403.ts +20 -0
  242. package/src/generated/model/getApplication403Details.ts +12 -0
  243. package/src/generated/model/getApplication404.ts +20 -0
  244. package/src/generated/model/getApplication404Details.ts +12 -0
  245. package/src/generated/model/getApplicationDefault.ts +72 -0
  246. package/src/generated/model/getApplicationParams.ts +17 -0
  247. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +1 -1
  248. package/src/generated/model/getBranding200.ts +32 -0
  249. package/src/generated/model/getBranding200Branding.ts +80 -0
  250. package/src/generated/model/getBranding200BrandingLayout.ts +27 -0
  251. package/src/generated/model/getBranding200BrandingShape.ts +30 -0
  252. package/src/generated/model/getBranding200BrandingShapeDensity.ts +19 -0
  253. package/src/generated/model/getBranding200BrandingTheme.ts +41 -0
  254. package/src/generated/model/getBranding200BrandingThemeDark.ts +34 -0
  255. package/src/generated/model/getBranding200BrandingThemeDarkPalette.ts +210 -0
  256. package/src/generated/model/getBranding200BrandingThemeLight.ts +34 -0
  257. package/src/generated/model/getBranding200BrandingThemeLightPalette.ts +210 -0
  258. package/src/generated/model/getBranding200BrandingThemeMode.ts +19 -0
  259. package/src/generated/model/getBranding200BrandingTypography.ts +47 -0
  260. package/src/generated/model/getBranding404.ts +20 -0
  261. package/src/generated/model/getBranding404Details.ts +12 -0
  262. package/src/generated/model/getBrandingDefault.ts +72 -0
  263. package/src/generated/model/getDeployment200.ts +78 -0
  264. package/src/generated/model/getDeployment200Kind.ts +18 -0
  265. package/src/generated/model/getDeployment200Metadata.ts +35 -0
  266. package/src/generated/model/getDeployment200MetadataDeployedByType.ts +20 -0
  267. package/src/generated/model/getDeployment200MetadataReason.ts +20 -0
  268. package/src/generated/model/getDeployment200Release.ts +96 -0
  269. package/src/generated/model/getDeployment200ReleaseMetadata.ts +43 -0
  270. package/src/generated/model/getDeployment200ReleaseMetadataCreatedByType.ts +20 -0
  271. package/src/generated/model/getDeployment200ReleasePointersItem.ts +63 -0
  272. package/src/generated/model/getDeployment200ReleasePointersItemKind.ts +29 -0
  273. package/src/generated/model/getDeployment200Status.ts +23 -0
  274. package/src/generated/model/getDeployment200TargetsItem.ts +23 -0
  275. package/src/generated/model/getDeploymentDefault.ts +72 -0
  276. package/src/generated/model/getDeploymentParams.ts +17 -0
  277. package/src/generated/model/getEvent200.ts +1275 -193
  278. package/src/generated/model/getFlowDefinition200.ts +2 -2
  279. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +2 -12
  280. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -9
  281. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -2
  282. package/src/generated/model/getFlowDefinition200UserSchema.ts +1 -1
  283. package/src/generated/model/getFlowStep200.ts +1 -1
  284. package/src/generated/model/getFlowStep200Branding.ts +3 -3
  285. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +1 -1
  286. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +1 -1
  287. package/src/generated/model/getFlowStep200BrandingTypography.ts +1 -1
  288. package/src/generated/model/getFlowStep200StepFieldsItem.ts +6 -3
  289. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +7 -3
  290. package/src/generated/model/getFlowStep200StepGates.ts +22 -9
  291. package/src/generated/model/getFlowStep200StepGatesChallenge.ts +30 -0
  292. package/src/generated/model/getFlowStep200StepGatesConfig.ts +2 -2
  293. package/src/generated/model/getFlowStep200StepGatesKind.ts +3 -4
  294. package/src/generated/model/getFlowStep429.ts +23 -0
  295. package/src/generated/model/getFlowStepDefault.ts +18 -0
  296. package/src/generated/model/getIdp200.ts +39 -0
  297. package/src/generated/model/getIdp200Definition.ts +44 -0
  298. package/src/generated/model/getIdp200DefinitionClaimMapping.ts +12 -0
  299. package/src/generated/model/getIdp200DefinitionOidc.ts +65 -0
  300. package/src/generated/model/getIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  301. package/src/generated/model/getIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  302. package/src/generated/model/getIdp200DefinitionProtocol.ts +17 -0
  303. package/src/generated/model/getIdp200DefinitionProvisioning.ts +15 -0
  304. package/src/generated/model/getIdp200DefinitionProvisioningCreation.ts +15 -0
  305. package/src/generated/model/getIdp200DefinitionVerifiedClaims.ts +12 -0
  306. package/src/generated/model/getIdp401.ts +20 -0
  307. package/src/generated/model/getIdp401Details.ts +12 -0
  308. package/src/generated/model/getIdp403.ts +20 -0
  309. package/src/generated/model/getIdp403Details.ts +12 -0
  310. package/src/generated/model/getIdp404.ts +20 -0
  311. package/src/generated/model/getIdp404Details.ts +12 -0
  312. package/src/generated/model/getIdpDefault.ts +72 -0
  313. package/src/generated/model/getIdpParams.ts +17 -0
  314. package/src/generated/model/getIdpRevision200.ts +39 -0
  315. package/src/generated/model/getIdpRevision200Definition.ts +44 -0
  316. package/src/generated/model/getIdpRevision200DefinitionClaimMapping.ts +12 -0
  317. package/src/generated/model/getIdpRevision200DefinitionOidc.ts +65 -0
  318. package/src/generated/model/getIdpRevision200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  319. package/src/generated/model/getIdpRevision200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  320. package/src/generated/model/getIdpRevision200DefinitionProtocol.ts +17 -0
  321. package/src/generated/model/getIdpRevision200DefinitionProvisioning.ts +15 -0
  322. package/src/generated/model/getIdpRevision200DefinitionProvisioningCreation.ts +15 -0
  323. package/src/generated/model/getIdpRevision200DefinitionVerifiedClaims.ts +12 -0
  324. package/src/generated/model/getIdpRevision401.ts +20 -0
  325. package/src/generated/model/getIdpRevision401Details.ts +12 -0
  326. package/src/generated/model/getIdpRevision403.ts +20 -0
  327. package/src/generated/model/getIdpRevision403Details.ts +12 -0
  328. package/src/generated/model/getIdpRevision404.ts +20 -0
  329. package/src/generated/model/getIdpRevision404Details.ts +12 -0
  330. package/src/generated/model/getIdpRevisionDefault.ts +72 -0
  331. package/src/generated/model/getIdpRevisionParams.ts +17 -0
  332. package/src/generated/model/getInvitation200.ts +126 -0
  333. package/src/generated/model/getInvitation401.ts +20 -0
  334. package/src/generated/model/getInvitation401Details.ts +12 -0
  335. package/src/generated/model/getInvitation403.ts +20 -0
  336. package/src/generated/model/getInvitation403Details.ts +12 -0
  337. package/src/generated/model/getInvitation404.ts +20 -0
  338. package/src/generated/model/getInvitation404Details.ts +12 -0
  339. package/src/generated/model/getInvitationDefault.ts +72 -0
  340. package/src/generated/model/getInvitationParams.ts +17 -0
  341. package/src/generated/model/getMyUser200.ts +1 -1
  342. package/src/generated/model/getOAuthSettings200.ts +34 -0
  343. package/src/generated/model/getOAuthSettings200Oauth.ts +30 -0
  344. package/src/generated/model/getOAuthSettings404.ts +20 -0
  345. package/src/generated/model/getOAuthSettings404Details.ts +12 -0
  346. package/src/generated/model/getOAuthSettingsDefault.ts +54 -0
  347. package/src/generated/model/getPolicy200.ts +36 -0
  348. package/src/generated/model/getPolicyRevision200.ts +36 -0
  349. package/src/generated/model/getProjectClaimStatus200.ts +27 -0
  350. package/src/generated/model/getProjectClaimStatus401.ts +20 -0
  351. package/src/generated/model/getProjectClaimStatus401Details.ts +12 -0
  352. package/src/generated/model/getProjectClaimStatus403.ts +23 -0
  353. package/src/generated/model/getProjectClaimStatus404.ts +20 -0
  354. package/src/generated/model/getProjectClaimStatus404Details.ts +12 -0
  355. package/src/generated/model/getProjectClaimStatus410.ts +27 -0
  356. package/src/generated/model/getProjectClaimStatus429.ts +20 -0
  357. package/src/generated/model/getProjectClaimStatus429Details.ts +12 -0
  358. package/src/generated/model/getProjectClaimStatusDefault.ts +99 -0
  359. package/src/generated/model/getProjectClaimStatusParams.ts +15 -0
  360. package/src/generated/model/getProjectClaimWindow200.ts +23 -0
  361. package/src/generated/model/getProjectClaimWindow404.ts +20 -0
  362. package/src/generated/model/getProjectClaimWindow404Details.ts +12 -0
  363. package/src/generated/model/getProjectClaimWindow429.ts +20 -0
  364. package/src/generated/model/getProjectClaimWindow429Details.ts +12 -0
  365. package/src/generated/model/getProjectClaimWindowDefault.ts +36 -0
  366. package/src/generated/model/getProjectClaimWindowParams.ts +15 -0
  367. package/src/generated/model/getRelease200.ts +96 -0
  368. package/src/generated/model/getRelease200Metadata.ts +43 -0
  369. package/src/generated/model/getRelease200MetadataCreatedByType.ts +20 -0
  370. package/src/generated/model/getRelease200PointersItem.ts +63 -0
  371. package/src/generated/model/getRelease200PointersItemKind.ts +29 -0
  372. package/src/generated/model/getReleaseDefault.ts +72 -0
  373. package/src/generated/model/getReleaseParams.ts +17 -0
  374. package/src/generated/model/getSchema200.ts +31 -0
  375. package/src/generated/model/getSchema200Metadata.ts +18 -0
  376. package/src/generated/model/getSchema200Schema.ts +84 -0
  377. package/src/generated/model/getSchemaDefault.ts +72 -0
  378. package/src/generated/model/getSchemaParams.ts +21 -0
  379. package/src/generated/model/getUser200.ts +76 -0
  380. package/src/generated/model/getUser200Attributes.ts +13 -0
  381. package/src/generated/model/getUser200Metadata.ts +44 -0
  382. package/src/generated/model/getUser200MetadataLifecycleOwnerTeam.ts +43 -0
  383. package/src/generated/model/getUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  384. package/src/generated/model/getUser200MetadataStatus.ts +20 -0
  385. package/src/generated/model/getUser200TeamsItem.ts +33 -0
  386. package/src/generated/model/getUser200TeamsItemMembershipStatus.ts +20 -0
  387. package/src/generated/model/getUser401.ts +20 -0
  388. package/src/generated/model/getUser401Details.ts +12 -0
  389. package/src/generated/model/getUser404.ts +20 -0
  390. package/src/generated/model/getUser404Details.ts +12 -0
  391. package/src/generated/model/getUserDefault.ts +72 -0
  392. package/src/generated/model/getUserParams.ts +31 -0
  393. package/src/generated/model/index.ts +548 -427
  394. package/src/generated/model/listBranding200.ts +20 -0
  395. package/src/generated/model/listBranding200BrandingItem.ts +18 -0
  396. package/src/generated/model/listBrandingParams.ts +13 -0
  397. package/src/generated/model/listDeploymentVariables200.ts +17 -0
  398. package/src/generated/model/listDeploymentVariablesDefault.ts +90 -0
  399. package/src/generated/model/listDeploymentVariablesParams.ts +17 -0
  400. package/src/generated/model/listDeployments200DeploymentsItem.ts +9 -7
  401. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +4 -4
  402. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
  403. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +2 -1
  404. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +4 -3
  405. package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +0 -5
  406. package/src/generated/model/listDeploymentsParams.ts +5 -0
  407. package/src/generated/model/listEvents200.ts +10 -3
  408. package/src/generated/model/listEvents200EventsItem.ts +5038 -0
  409. package/src/generated/model/listEventsParams.ts +28 -1
  410. package/src/generated/model/listEventsStatusClassItem.ts +18 -0
  411. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
  412. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +2 -12
  413. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -9
  414. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -2
  415. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +1 -1
  416. package/src/generated/model/listFlowDefinitionsExpandItem.ts +1 -1
  417. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +2 -2
  418. package/src/generated/model/listInvitations200.ts +20 -0
  419. package/src/generated/model/listInvitations200InvitationsItem.ts +126 -0
  420. package/src/generated/model/listInvitations400.ts +20 -0
  421. package/src/generated/model/listInvitations400Details.ts +12 -0
  422. package/src/generated/model/listInvitations401.ts +20 -0
  423. package/src/generated/model/listInvitations401Details.ts +12 -0
  424. package/src/generated/model/listInvitations403.ts +20 -0
  425. package/src/generated/model/listInvitations403Details.ts +12 -0
  426. package/src/generated/model/listInvitations404.ts +20 -0
  427. package/src/generated/model/listInvitations404Details.ts +12 -0
  428. package/src/generated/model/listInvitationsDefault.ts +72 -0
  429. package/src/generated/model/listInvitationsParams.ts +42 -0
  430. package/src/generated/model/listInvitationsStatus.ts +17 -0
  431. package/src/generated/model/listInvitationsType.ts +15 -0
  432. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +1 -1
  433. package/src/generated/model/listMyProjectsOrder.ts +15 -0
  434. package/src/generated/model/listMyProjectsParams.ts +16 -0
  435. package/src/generated/model/listPolicies200PoliciesItem.ts +36 -0
  436. package/src/generated/model/listPoliciesOperation.ts +1 -0
  437. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +36 -0
  438. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +1 -1
  439. package/src/generated/model/listProjectPreviews200.ts +20 -0
  440. package/src/generated/model/listProjectPreviews200PreviewsItem.ts +37 -0
  441. package/src/generated/model/listProjectPreviewsDefault.ts +72 -0
  442. package/src/generated/model/listProjectPreviewsParams.ts +23 -0
  443. package/src/generated/model/listReleases200ReleasesItem.ts +2 -2
  444. package/src/generated/model/listReleasesParams.ts +2 -2
  445. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +1 -1
  446. package/src/generated/model/listVariables200.ts +35 -0
  447. package/src/generated/model/listVariables200Preview.ts +20 -0
  448. package/src/generated/model/listVariables200Primary.ts +20 -0
  449. package/src/generated/model/listVariablesDefault.ts +72 -0
  450. package/src/generated/model/listVariablesKind.ts +15 -0
  451. package/src/generated/model/listVariablesParams.ts +23 -0
  452. package/src/generated/model/lookupInvitation200.ts +63 -0
  453. package/src/generated/model/lookupInvitation400.ts +20 -0
  454. package/src/generated/model/lookupInvitation400Details.ts +12 -0
  455. package/src/generated/model/lookupInvitation401.ts +20 -0
  456. package/src/generated/model/lookupInvitation401Details.ts +12 -0
  457. package/src/generated/model/lookupInvitation404.ts +20 -0
  458. package/src/generated/model/lookupInvitation404Details.ts +12 -0
  459. package/src/generated/model/lookupInvitation429.ts +20 -0
  460. package/src/generated/model/lookupInvitation429Details.ts +12 -0
  461. package/src/generated/model/lookupInvitationBody.ts +19 -0
  462. package/src/generated/model/lookupInvitationDefault.ts +72 -0
  463. package/src/generated/model/publishApplication200.ts +137 -0
  464. package/src/generated/model/publishApplication200ClientSecretsItem.ts +19 -0
  465. package/src/generated/model/publishApplication201.ts +137 -0
  466. package/src/generated/model/publishApplication201ClientSecretsItem.ts +19 -0
  467. package/src/generated/model/publishApplication400.ts +20 -0
  468. package/src/generated/model/publishApplication400Details.ts +12 -0
  469. package/src/generated/model/publishApplication401.ts +20 -0
  470. package/src/generated/model/publishApplication401Details.ts +12 -0
  471. package/src/generated/model/publishApplication403.ts +20 -0
  472. package/src/generated/model/publishApplication403Details.ts +12 -0
  473. package/src/generated/model/publishApplication404.ts +20 -0
  474. package/src/generated/model/publishApplication404Details.ts +12 -0
  475. package/src/generated/model/publishApplication409.ts +20 -0
  476. package/src/generated/model/publishApplication409Details.ts +12 -0
  477. package/src/generated/model/publishApplicationBody.ts +20 -0
  478. package/src/generated/model/publishApplicationBodyApplication.ts +35 -0
  479. package/src/generated/model/publishApplicationBodyApplicationClientsItem.ts +84 -0
  480. package/src/generated/model/publishApplicationBodyApplicationClientsItemGrantTypesItem.ts +15 -0
  481. package/src/generated/model/publishApplicationBodyApplicationClientsItemType.ts +19 -0
  482. package/src/generated/model/publishApplicationDefault.ts +117 -0
  483. package/src/generated/model/publishApplicationParams.ts +17 -0
  484. package/src/generated/model/publishBranding201.ts +32 -0
  485. package/src/generated/model/publishBranding201Branding.ts +80 -0
  486. package/src/generated/model/publishBranding201BrandingLayout.ts +27 -0
  487. package/src/generated/model/publishBranding201BrandingShape.ts +30 -0
  488. package/src/generated/model/publishBranding201BrandingShapeDensity.ts +19 -0
  489. package/src/generated/model/publishBranding201BrandingTheme.ts +41 -0
  490. package/src/generated/model/publishBranding201BrandingThemeDark.ts +34 -0
  491. package/src/generated/model/publishBranding201BrandingThemeDarkPalette.ts +210 -0
  492. package/src/generated/model/publishBranding201BrandingThemeLight.ts +34 -0
  493. package/src/generated/model/publishBranding201BrandingThemeLightPalette.ts +210 -0
  494. package/src/generated/model/publishBranding201BrandingThemeMode.ts +19 -0
  495. package/src/generated/model/publishBranding201BrandingTypography.ts +47 -0
  496. package/src/generated/model/publishBranding400.ts +20 -0
  497. package/src/generated/model/publishBranding400Details.ts +12 -0
  498. package/src/generated/model/publishBrandingBody.ts +80 -0
  499. package/src/generated/model/publishBrandingBodyLayout.ts +27 -0
  500. package/src/generated/model/publishBrandingBodyShape.ts +30 -0
  501. package/src/generated/model/publishBrandingBodyShapeDensity.ts +19 -0
  502. package/src/generated/model/publishBrandingBodyTheme.ts +41 -0
  503. package/src/generated/model/publishBrandingBodyThemeDark.ts +34 -0
  504. package/src/generated/model/publishBrandingBodyThemeDarkPalette.ts +210 -0
  505. package/src/generated/model/publishBrandingBodyThemeLight.ts +34 -0
  506. package/src/generated/model/publishBrandingBodyThemeLightPalette.ts +210 -0
  507. package/src/generated/model/publishBrandingBodyThemeMode.ts +19 -0
  508. package/src/generated/model/publishBrandingBodyTypography.ts +47 -0
  509. package/src/generated/model/publishBrandingDefault.ts +99 -0
  510. package/src/generated/model/publishBrandingParams.ts +17 -0
  511. package/src/generated/model/publishFlowDefinition201.ts +48 -0
  512. package/src/generated/model/publishFlowDefinition201FlowDefinition.ts +85 -0
  513. package/src/generated/model/publishFlowDefinition201FlowDefinitionAudience.ts +20 -0
  514. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItem.ts +109 -0
  515. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +49 -0
  516. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +29 -0
  517. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemComplete.ts +20 -0
  518. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGates.ts +29 -0
  519. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +12 -0
  520. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
  521. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +25 -0
  522. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitions.ts +68 -0
  523. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +28 -0
  524. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  525. package/src/generated/model/publishFlowDefinition201UserSchema.ts +26 -0
  526. package/src/generated/model/publishFlowDefinition201UserSchemaMetadata.ts +18 -0
  527. package/src/generated/model/publishFlowDefinition201UserSchemaSchema.ts +84 -0
  528. package/src/generated/model/publishFlowDefinition400.ts +20 -0
  529. package/src/generated/model/publishFlowDefinition400Details.ts +12 -0
  530. package/src/generated/model/publishFlowDefinitionBody.ts +43 -0
  531. package/src/generated/model/publishFlowDefinitionBodyFlowDefinition.ts +85 -0
  532. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionAudience.ts +20 -0
  533. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItem.ts +109 -0
  534. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +49 -0
  535. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +29 -0
  536. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +20 -0
  537. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +29 -0
  538. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +12 -0
  539. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +20 -0
  540. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +25 -0
  541. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +68 -0
  542. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +28 -0
  543. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  544. package/src/generated/model/publishFlowDefinitionDefault.ts +117 -0
  545. package/src/generated/model/publishIdp200.ts +39 -0
  546. package/src/generated/model/publishIdp200Definition.ts +44 -0
  547. package/src/generated/model/publishIdp200DefinitionClaimMapping.ts +12 -0
  548. package/src/generated/model/publishIdp200DefinitionOidc.ts +65 -0
  549. package/src/generated/model/publishIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  550. package/src/generated/model/publishIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  551. package/src/generated/model/publishIdp200DefinitionProtocol.ts +17 -0
  552. package/src/generated/model/publishIdp200DefinitionProvisioning.ts +15 -0
  553. package/src/generated/model/publishIdp200DefinitionProvisioningCreation.ts +15 -0
  554. package/src/generated/model/publishIdp200DefinitionVerifiedClaims.ts +12 -0
  555. package/src/generated/model/publishIdp201.ts +39 -0
  556. package/src/generated/model/publishIdp201Definition.ts +44 -0
  557. package/src/generated/model/publishIdp201DefinitionClaimMapping.ts +12 -0
  558. package/src/generated/model/publishIdp201DefinitionOidc.ts +65 -0
  559. package/src/generated/model/publishIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  560. package/src/generated/model/publishIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  561. package/src/generated/model/publishIdp201DefinitionProtocol.ts +17 -0
  562. package/src/generated/model/publishIdp201DefinitionProvisioning.ts +15 -0
  563. package/src/generated/model/publishIdp201DefinitionProvisioningCreation.ts +15 -0
  564. package/src/generated/model/publishIdp201DefinitionVerifiedClaims.ts +12 -0
  565. package/src/generated/model/publishIdp400.ts +20 -0
  566. package/src/generated/model/publishIdp400Details.ts +12 -0
  567. package/src/generated/model/publishIdp401.ts +20 -0
  568. package/src/generated/model/publishIdp401Details.ts +12 -0
  569. package/src/generated/model/publishIdp403.ts +20 -0
  570. package/src/generated/model/publishIdp403Details.ts +12 -0
  571. package/src/generated/model/publishIdp404.ts +20 -0
  572. package/src/generated/model/publishIdp404Details.ts +12 -0
  573. package/src/generated/model/publishIdpBody.ts +15 -0
  574. package/src/generated/model/publishIdpBodyIdp.ts +44 -0
  575. package/src/generated/model/publishIdpBodyIdpClaimMapping.ts +12 -0
  576. package/src/generated/model/publishIdpBodyIdpOidc.ts +65 -0
  577. package/src/generated/model/publishIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
  578. package/src/generated/model/publishIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
  579. package/src/generated/model/publishIdpBodyIdpProtocol.ts +17 -0
  580. package/src/generated/model/publishIdpBodyIdpProvisioning.ts +15 -0
  581. package/src/generated/model/publishIdpBodyIdpProvisioningCreation.ts +15 -0
  582. package/src/generated/model/publishIdpBodyIdpVerifiedClaims.ts +12 -0
  583. package/src/generated/model/publishIdpDefault.ts +108 -0
  584. package/src/generated/model/publishIdpParams.ts +17 -0
  585. package/src/generated/model/publishPolicy201.ts +36 -0
  586. package/src/generated/model/publishPolicyBody.ts +20 -0
  587. package/src/generated/model/publishSchema201.ts +31 -0
  588. package/src/generated/model/publishSchema201Metadata.ts +18 -0
  589. package/src/generated/model/publishSchema201Schema.ts +84 -0
  590. package/src/generated/model/publishSchemaBody.ts +86 -0
  591. package/src/generated/model/publishSchemaDefault.ts +153 -0
  592. package/src/generated/model/publishSchemaParams.ts +22 -0
  593. package/src/generated/model/queryGrantsBodyFilterItem.ts +2 -1
  594. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +3 -1
  595. package/src/generated/model/queryIdps200IdpsItem.ts +2 -2
  596. package/src/generated/model/queryIdpsBodyFilterItem.ts +2 -1
  597. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +3 -1
  598. package/src/generated/model/queryProjectsBodyFilterItem.ts +2 -1
  599. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +3 -1
  600. package/src/generated/model/querySessionsBodyFilterItem.ts +2 -1
  601. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +3 -1
  602. package/src/generated/model/queryTeamsBodyFilterItem.ts +2 -1
  603. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +3 -1
  604. package/src/generated/model/queryUsers200UsersItem.ts +1 -1
  605. package/src/generated/model/queryUsersBodyFilterItem.ts +12 -3
  606. package/src/generated/model/queryUsersBodyFilterItemField.ts +11 -2
  607. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +3 -1
  608. package/src/generated/model/rejectInvitation200.ts +126 -0
  609. package/src/generated/model/rejectInvitation400.ts +20 -0
  610. package/src/generated/model/rejectInvitation400Details.ts +12 -0
  611. package/src/generated/model/rejectInvitation401.ts +20 -0
  612. package/src/generated/model/rejectInvitation401Details.ts +12 -0
  613. package/src/generated/model/rejectInvitation403.ts +20 -0
  614. package/src/generated/model/rejectInvitation403Details.ts +12 -0
  615. package/src/generated/model/rejectInvitation404.ts +20 -0
  616. package/src/generated/model/rejectInvitation404Details.ts +12 -0
  617. package/src/generated/model/rejectInvitation429.ts +20 -0
  618. package/src/generated/model/rejectInvitation429Details.ts +12 -0
  619. package/src/generated/model/rejectInvitationBody.ts +19 -0
  620. package/src/generated/model/rejectInvitationDefault.ts +72 -0
  621. package/src/generated/model/removeProjectOriginBody.ts +15 -0
  622. package/src/generated/model/removeProjectOriginDefault.ts +108 -0
  623. package/src/generated/model/removeProjectPreviewBody.ts +23 -0
  624. package/src/generated/model/removeProjectPreviewDefault.ts +90 -0
  625. package/src/generated/model/revokeRelease200.ts +4 -4
  626. package/src/generated/model/revokeRelease200PointersItem.ts +3 -1
  627. package/src/generated/model/revokeRelease200PointersItemKind.ts +2 -1
  628. package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +3 -0
  629. package/src/generated/model/revokeRelease409DetailsOriginsItemKind.ts +18 -0
  630. package/src/generated/model/rollbackDeployment200.ts +9 -7
  631. package/src/generated/model/rollbackDeployment200Release.ts +4 -4
  632. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +3 -1
  633. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +2 -1
  634. package/src/generated/model/rollbackDeployment200Status.ts +4 -3
  635. package/src/generated/model/rollbackDeployment200TargetsItem.ts +0 -5
  636. package/src/generated/model/rollbackDeployment201.ts +9 -7
  637. package/src/generated/model/rollbackDeployment201Release.ts +4 -4
  638. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +3 -1
  639. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +2 -1
  640. package/src/generated/model/rollbackDeployment201Status.ts +4 -3
  641. package/src/generated/model/rollbackDeployment201TargetsItem.ts +0 -5
  642. package/src/generated/model/rollbackDeployment409.ts +12 -14
  643. package/src/generated/model/rollbackDeploymentDefault.ts +0 -9
  644. package/src/generated/model/search200.ts +34 -0
  645. package/src/generated/model/search200IncompleteTypesItem.ts +30 -0
  646. package/src/generated/model/search200ResultsItem.ts +54 -0
  647. package/src/generated/model/search200ResultsItemType.ts +30 -0
  648. package/src/generated/model/search400.ts +20 -0
  649. package/src/generated/model/search400Details.ts +12 -0
  650. package/src/generated/model/search401.ts +20 -0
  651. package/src/generated/model/search401Details.ts +12 -0
  652. package/src/generated/model/search403.ts +20 -0
  653. package/src/generated/model/search403Details.ts +12 -0
  654. package/src/generated/model/search404.ts +20 -0
  655. package/src/generated/model/search404Details.ts +12 -0
  656. package/src/generated/model/searchBody.ts +33 -0
  657. package/src/generated/model/searchBodyTypesItem.ts +30 -0
  658. package/src/generated/model/searchDefault.ts +126 -0
  659. package/src/generated/model/searchParams.ts +17 -0
  660. package/src/generated/model/setUserPassword429.ts +23 -0
  661. package/src/generated/model/setUserPasswordDefault.ts +9 -0
  662. package/src/generated/model/setVariables200.ts +35 -0
  663. package/src/generated/model/setVariables200Preview.ts +20 -0
  664. package/src/generated/model/setVariables200Primary.ts +20 -0
  665. package/src/generated/model/setVariablesBody.ts +48 -0
  666. package/src/generated/model/setVariablesDefault.ts +162 -0
  667. package/src/generated/model/setVariablesKind.ts +15 -0
  668. package/src/generated/model/setVariablesParams.ts +23 -0
  669. package/src/generated/model/submitFlowStep200.ts +1 -1
  670. package/src/generated/model/submitFlowStep200Branding.ts +3 -3
  671. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +1 -1
  672. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +1 -1
  673. package/src/generated/model/submitFlowStep200BrandingTypography.ts +1 -1
  674. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +6 -3
  675. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +7 -3
  676. package/src/generated/model/submitFlowStep200StepGates.ts +22 -9
  677. package/src/generated/model/submitFlowStep200StepGatesChallenge.ts +30 -0
  678. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +2 -2
  679. package/src/generated/model/submitFlowStep200StepGatesKind.ts +3 -4
  680. package/src/generated/model/submitFlowStep400.ts +885 -8
  681. package/src/generated/model/submitFlowStep429.ts +23 -0
  682. package/src/generated/model/submitFlowStepBody.ts +5 -2
  683. package/src/generated/model/submitFlowStepBodyGateProofs.ts +4 -1
  684. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  685. package/src/generated/model/updateMyUser200.ts +76 -0
  686. package/src/generated/model/updateMyUser200Attributes.ts +13 -0
  687. package/src/generated/model/updateMyUser200Metadata.ts +44 -0
  688. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
  689. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  690. package/src/generated/model/updateMyUser200MetadataStatus.ts +20 -0
  691. package/src/generated/model/updateMyUser200TeamsItem.ts +33 -0
  692. package/src/generated/model/updateMyUser200TeamsItemMembershipStatus.ts +20 -0
  693. package/src/generated/model/updateMyUser400.ts +20 -0
  694. package/src/generated/model/updateMyUser400Details.ts +12 -0
  695. package/src/generated/model/updateMyUser401.ts +20 -0
  696. package/src/generated/model/updateMyUser401Details.ts +12 -0
  697. package/src/generated/model/updateMyUser403.ts +20 -0
  698. package/src/generated/model/updateMyUser403Details.ts +12 -0
  699. package/src/generated/model/updateMyUser404.ts +23 -0
  700. package/src/generated/model/updateMyUser409.ts +20 -0
  701. package/src/generated/model/updateMyUser409Details.ts +12 -0
  702. package/src/generated/model/updateMyUserBody.ts +25 -0
  703. package/src/generated/model/updateMyUserBodyAttributes.ts +13 -0
  704. package/src/generated/model/updateMyUserDefault.ts +117 -0
  705. package/src/generated/model/updateMyUserParams.ts +26 -0
  706. package/src/generated/model/updateProject200.ts +96 -0
  707. package/src/generated/model/updateProject400.ts +20 -0
  708. package/src/generated/model/updateProject400Details.ts +12 -0
  709. package/src/generated/model/updateProject401.ts +20 -0
  710. package/src/generated/model/updateProject401Details.ts +12 -0
  711. package/src/generated/model/updateProject404.ts +20 -0
  712. package/src/generated/model/updateProject404Details.ts +12 -0
  713. package/src/generated/model/updateProjectBody.ts +19 -0
  714. package/src/generated/model/updateProjectBodyPasswordHash.ts +40 -0
  715. package/src/generated/model/updateProjectBodyPasswordHashAlgorithm.ts +24 -0
  716. package/src/generated/model/updateProjectBodyPasswordHashParams.ts +44 -0
  717. package/src/generated/model/updateProjectBodyPasswordHashParamsHash.ts +24 -0
  718. package/src/generated/model/updateProjectDefault.ts +117 -0
  719. package/src/generated/model/updateUser200.ts +76 -0
  720. package/src/generated/model/updateUser200Attributes.ts +13 -0
  721. package/src/generated/model/updateUser200Metadata.ts +44 -0
  722. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeam.ts +43 -0
  723. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  724. package/src/generated/model/updateUser200MetadataStatus.ts +20 -0
  725. package/src/generated/model/updateUser200TeamsItem.ts +33 -0
  726. package/src/generated/model/updateUser200TeamsItemMembershipStatus.ts +20 -0
  727. package/src/generated/model/updateUser400.ts +20 -0
  728. package/src/generated/model/updateUser400Details.ts +12 -0
  729. package/src/generated/model/updateUser401.ts +20 -0
  730. package/src/generated/model/updateUser401Details.ts +12 -0
  731. package/src/generated/model/updateUser403.ts +20 -0
  732. package/src/generated/model/updateUser403Details.ts +12 -0
  733. package/src/generated/model/updateUser404.ts +20 -0
  734. package/src/generated/model/updateUser404Details.ts +12 -0
  735. package/src/generated/model/updateUser409.ts +20 -0
  736. package/src/generated/model/updateUser409Details.ts +12 -0
  737. package/src/generated/model/updateUserBody.ts +53 -0
  738. package/src/generated/model/updateUserBodyAttributes.ts +13 -0
  739. package/src/generated/model/updateUserDefault.ts +117 -0
  740. package/src/generated/model/userProperty.ts +6 -1
  741. package/src/generated/model/verifyAuthAttemptChallenge200.ts +76 -0
  742. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItem.ts +49 -0
  743. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemMethod.ts +20 -0
  744. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +34 -0
  745. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemState.ts +22 -0
  746. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItem.ts +28 -0
  747. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemMethod.ts +20 -0
  748. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemPayload.ts +37 -0
  749. package/src/generated/model/verifyAuthAttemptChallenge200RequiredFactorsItem.ts +20 -0
  750. package/src/generated/model/verifyAuthAttemptChallenge200State.ts +24 -0
  751. package/src/generated/model/verifyAuthAttemptChallenge409.ts +20 -0
  752. package/src/generated/model/verifyAuthAttemptChallenge409Details.ts +12 -0
  753. package/src/generated/model/verifyAuthAttemptChallenge429.ts +23 -0
  754. package/src/generated/model/verifyAuthAttemptChallengeBody.ts +27 -0
  755. package/src/generated/model/verifyAuthAttemptChallengeDefault.ts +189 -0
  756. package/src/generated/operations.ts +371 -93
  757. package/src/generated/paging.ts +17 -7
  758. package/src/runtime/api-factory.spec.ts +3 -3
  759. package/src/runtime/api-factory.ts +1 -1
  760. package/src/runtime/base-url.spec.ts +5 -5
  761. package/dist/api-factory-32Zz3s86.mjs +0 -359
  762. package/dist/api-factory-32Zz3s86.mjs.map +0 -1
  763. package/dist/api-factory-DbVEEqxe.d.mts +0 -217
  764. package/dist/api-factory-DbVEEqxe.d.mts.map +0 -1
  765. package/dist/fetch-BzLvdm6C.d.mts +0 -136
  766. package/dist/fetch-BzLvdm6C.d.mts.map +0 -1
  767. package/dist/generated/endpoints/zitadelNextGen.mjs.map +0 -1
  768. package/dist/index-BX80Kl-8.d.mts +0 -55692
  769. package/dist/index-BX80Kl-8.d.mts.map +0 -1
  770. package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
  771. package/dist/zitadelNextGen-CFrFhq_h.d.mts +0 -1726
  772. package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +0 -1
  773. package/src/generated/model/addOrigin201.ts +0 -18
  774. package/src/generated/model/addOrigin201Kind.ts +0 -18
  775. package/src/generated/model/addOriginBody.ts +0 -35
  776. package/src/generated/model/addOriginBodyKind.ts +0 -19
  777. package/src/generated/model/addOriginDefault.ts +0 -135
  778. package/src/generated/model/beginUserPasskeyRegistration201.ts +0 -25
  779. package/src/generated/model/beginUserPasskeyRegistration201Options.ts +0 -13
  780. package/src/generated/model/beginUserPasskeyRegistration400.ts +0 -20
  781. package/src/generated/model/beginUserPasskeyRegistration400Details.ts +0 -12
  782. package/src/generated/model/beginUserPasskeyRegistration401.ts +0 -20
  783. package/src/generated/model/beginUserPasskeyRegistration401Details.ts +0 -12
  784. package/src/generated/model/beginUserPasskeyRegistration403.ts +0 -20
  785. package/src/generated/model/beginUserPasskeyRegistration403Details.ts +0 -12
  786. package/src/generated/model/beginUserPasskeyRegistration404.ts +0 -20
  787. package/src/generated/model/beginUserPasskeyRegistration404Details.ts +0 -12
  788. package/src/generated/model/beginUserPasskeyRegistration500.ts +0 -20
  789. package/src/generated/model/beginUserPasskeyRegistration500Details.ts +0 -12
  790. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +0 -33
  791. package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +0 -126
  792. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +0 -23
  793. package/src/generated/model/completeClaim200.ts +0 -19
  794. package/src/generated/model/completeClaim400.ts +0 -20
  795. package/src/generated/model/completeClaim400Details.ts +0 -12
  796. package/src/generated/model/completeClaim401.ts +0 -23
  797. package/src/generated/model/completeClaim403.ts +0 -36
  798. package/src/generated/model/completeClaim404.ts +0 -20
  799. package/src/generated/model/completeClaim404Details.ts +0 -12
  800. package/src/generated/model/completeClaim409.ts +0 -25
  801. package/src/generated/model/completeClaim409Details.ts +0 -14
  802. package/src/generated/model/completeClaim410.ts +0 -27
  803. package/src/generated/model/completeClaim429.ts +0 -20
  804. package/src/generated/model/completeClaim429Details.ts +0 -12
  805. package/src/generated/model/completeClaimBody.ts +0 -18
  806. package/src/generated/model/completeClaimDefault.ts +0 -144
  807. package/src/generated/model/createBranding201.ts +0 -32
  808. package/src/generated/model/createBranding201Branding.ts +0 -80
  809. package/src/generated/model/createBranding201BrandingLayout.ts +0 -27
  810. package/src/generated/model/createBranding201BrandingShape.ts +0 -30
  811. package/src/generated/model/createBranding201BrandingShapeDensity.ts +0 -19
  812. package/src/generated/model/createBranding201BrandingTheme.ts +0 -41
  813. package/src/generated/model/createBranding201BrandingThemeDark.ts +0 -34
  814. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +0 -210
  815. package/src/generated/model/createBranding201BrandingThemeLight.ts +0 -34
  816. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +0 -210
  817. package/src/generated/model/createBranding201BrandingThemeMode.ts +0 -19
  818. package/src/generated/model/createBranding201BrandingTypography.ts +0 -47
  819. package/src/generated/model/createBranding400.ts +0 -20
  820. package/src/generated/model/createBranding400Details.ts +0 -12
  821. package/src/generated/model/createBrandingBody.ts +0 -80
  822. package/src/generated/model/createBrandingBodyLayout.ts +0 -27
  823. package/src/generated/model/createBrandingBodyShape.ts +0 -30
  824. package/src/generated/model/createBrandingBodyShapeDensity.ts +0 -19
  825. package/src/generated/model/createBrandingBodyTheme.ts +0 -41
  826. package/src/generated/model/createBrandingBodyThemeDark.ts +0 -34
  827. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +0 -210
  828. package/src/generated/model/createBrandingBodyThemeLight.ts +0 -34
  829. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +0 -210
  830. package/src/generated/model/createBrandingBodyThemeMode.ts +0 -19
  831. package/src/generated/model/createBrandingBodyTypography.ts +0 -47
  832. package/src/generated/model/createBrandingDefault.ts +0 -99
  833. package/src/generated/model/createBrandingParams.ts +0 -17
  834. package/src/generated/model/createFlowDefinition201.ts +0 -48
  835. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +0 -95
  836. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +0 -20
  837. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +0 -23
  838. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +0 -109
  839. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +0 -49
  840. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +0 -29
  841. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +0 -20
  842. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +0 -36
  843. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +0 -13
  844. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +0 -20
  845. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +0 -25
  846. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +0 -68
  847. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +0 -28
  848. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  849. package/src/generated/model/createFlowDefinition201UserSchema.ts +0 -26
  850. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +0 -18
  851. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +0 -84
  852. package/src/generated/model/createFlowDefinition400.ts +0 -20
  853. package/src/generated/model/createFlowDefinition400Details.ts +0 -12
  854. package/src/generated/model/createFlowDefinitionBody.ts +0 -45
  855. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +0 -95
  856. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +0 -20
  857. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +0 -23
  858. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -109
  859. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -49
  860. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -29
  861. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -20
  862. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -36
  863. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -13
  864. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
  865. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -25
  866. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -68
  867. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +0 -28
  868. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  869. package/src/generated/model/createFlowDefinitionDefault.ts +0 -117
  870. package/src/generated/model/createHandoff200.ts +0 -30
  871. package/src/generated/model/createHandoff409.ts +0 -20
  872. package/src/generated/model/createHandoff409Details.ts +0 -12
  873. package/src/generated/model/createHandoffDefault.ts +0 -99
  874. package/src/generated/model/createIdp200.ts +0 -39
  875. package/src/generated/model/createIdp200Definition.ts +0 -44
  876. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +0 -12
  877. package/src/generated/model/createIdp200DefinitionOidc.ts +0 -65
  878. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  879. package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  880. package/src/generated/model/createIdp200DefinitionProtocol.ts +0 -17
  881. package/src/generated/model/createIdp200DefinitionProvisioning.ts +0 -15
  882. package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +0 -15
  883. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +0 -12
  884. package/src/generated/model/createIdp201.ts +0 -39
  885. package/src/generated/model/createIdp201Definition.ts +0 -44
  886. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +0 -12
  887. package/src/generated/model/createIdp201DefinitionOidc.ts +0 -65
  888. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  889. package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  890. package/src/generated/model/createIdp201DefinitionProtocol.ts +0 -17
  891. package/src/generated/model/createIdp201DefinitionProvisioning.ts +0 -15
  892. package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +0 -15
  893. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +0 -12
  894. package/src/generated/model/createIdp400.ts +0 -20
  895. package/src/generated/model/createIdp400Details.ts +0 -12
  896. package/src/generated/model/createIdp401.ts +0 -20
  897. package/src/generated/model/createIdp401Details.ts +0 -12
  898. package/src/generated/model/createIdp403.ts +0 -20
  899. package/src/generated/model/createIdp403Details.ts +0 -12
  900. package/src/generated/model/createIdp404.ts +0 -20
  901. package/src/generated/model/createIdp404Details.ts +0 -12
  902. package/src/generated/model/createIdpBody.ts +0 -15
  903. package/src/generated/model/createIdpBodyIdp.ts +0 -44
  904. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +0 -12
  905. package/src/generated/model/createIdpBodyIdpOidc.ts +0 -65
  906. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +0 -12
  907. package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +0 -18
  908. package/src/generated/model/createIdpBodyIdpProtocol.ts +0 -17
  909. package/src/generated/model/createIdpBodyIdpProvisioning.ts +0 -15
  910. package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +0 -15
  911. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +0 -12
  912. package/src/generated/model/createIdpDefault.ts +0 -108
  913. package/src/generated/model/createIdpParams.ts +0 -17
  914. package/src/generated/model/createSchema201.ts +0 -12
  915. package/src/generated/model/createSchemaBody.ts +0 -86
  916. package/src/generated/model/createSchemaDefault.ts +0 -153
  917. package/src/generated/model/createSchemaParams.ts +0 -22
  918. package/src/generated/model/deleteTeam400.ts +0 -20
  919. package/src/generated/model/deleteTeam400Details.ts +0 -12
  920. package/src/generated/model/deleteTeam401.ts +0 -20
  921. package/src/generated/model/deleteTeam401Details.ts +0 -12
  922. package/src/generated/model/deleteTeam403.ts +0 -20
  923. package/src/generated/model/deleteTeam403Details.ts +0 -12
  924. package/src/generated/model/deleteTeam409.ts +0 -20
  925. package/src/generated/model/deleteTeam409Details.ts +0 -12
  926. package/src/generated/model/deleteTeamDefault.ts +0 -90
  927. package/src/generated/model/deleteUserByID401.ts +0 -20
  928. package/src/generated/model/deleteUserByID401Details.ts +0 -12
  929. package/src/generated/model/deleteUserByID404.ts +0 -20
  930. package/src/generated/model/deleteUserByID404Details.ts +0 -12
  931. package/src/generated/model/deleteUserByID409.ts +0 -20
  932. package/src/generated/model/deleteUserByID409Details.ts +0 -12
  933. package/src/generated/model/deleteUserByIDDefault.ts +0 -99
  934. package/src/generated/model/finishUserPasskeyRegistration201.ts +0 -19
  935. package/src/generated/model/finishUserPasskeyRegistration400.ts +0 -20
  936. package/src/generated/model/finishUserPasskeyRegistration400Details.ts +0 -12
  937. package/src/generated/model/finishUserPasskeyRegistration401.ts +0 -20
  938. package/src/generated/model/finishUserPasskeyRegistration401Details.ts +0 -12
  939. package/src/generated/model/finishUserPasskeyRegistration403.ts +0 -20
  940. package/src/generated/model/finishUserPasskeyRegistration403Details.ts +0 -12
  941. package/src/generated/model/finishUserPasskeyRegistration404.ts +0 -20
  942. package/src/generated/model/finishUserPasskeyRegistration404Details.ts +0 -12
  943. package/src/generated/model/finishUserPasskeyRegistration500.ts +0 -20
  944. package/src/generated/model/finishUserPasskeyRegistration500Details.ts +0 -12
  945. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +0 -21
  946. package/src/generated/model/finishUserPasskeyRegistrationBodyAttestation.ts +0 -12
  947. package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +0 -180
  948. package/src/generated/model/getBrandingById200.ts +0 -32
  949. package/src/generated/model/getBrandingById200Branding.ts +0 -80
  950. package/src/generated/model/getBrandingById200BrandingLayout.ts +0 -27
  951. package/src/generated/model/getBrandingById200BrandingShape.ts +0 -30
  952. package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +0 -19
  953. package/src/generated/model/getBrandingById200BrandingTheme.ts +0 -41
  954. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +0 -34
  955. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +0 -210
  956. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +0 -34
  957. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +0 -210
  958. package/src/generated/model/getBrandingById200BrandingThemeMode.ts +0 -19
  959. package/src/generated/model/getBrandingById200BrandingTypography.ts +0 -47
  960. package/src/generated/model/getBrandingById404.ts +0 -20
  961. package/src/generated/model/getBrandingById404Details.ts +0 -12
  962. package/src/generated/model/getBrandingByIdDefault.ts +0 -72
  963. package/src/generated/model/getClaimStatus200.ts +0 -27
  964. package/src/generated/model/getClaimStatus401.ts +0 -20
  965. package/src/generated/model/getClaimStatus401Details.ts +0 -12
  966. package/src/generated/model/getClaimStatus403.ts +0 -23
  967. package/src/generated/model/getClaimStatus404.ts +0 -20
  968. package/src/generated/model/getClaimStatus404Details.ts +0 -12
  969. package/src/generated/model/getClaimStatus410.ts +0 -27
  970. package/src/generated/model/getClaimStatus429.ts +0 -20
  971. package/src/generated/model/getClaimStatus429Details.ts +0 -12
  972. package/src/generated/model/getClaimStatusDefault.ts +0 -99
  973. package/src/generated/model/getClaimStatusParams.ts +0 -15
  974. package/src/generated/model/getClaimWindow200.ts +0 -23
  975. package/src/generated/model/getClaimWindow404.ts +0 -20
  976. package/src/generated/model/getClaimWindow404Details.ts +0 -12
  977. package/src/generated/model/getClaimWindow429.ts +0 -20
  978. package/src/generated/model/getClaimWindow429Details.ts +0 -12
  979. package/src/generated/model/getClaimWindowDefault.ts +0 -36
  980. package/src/generated/model/getClaimWindowParams.ts +0 -15
  981. package/src/generated/model/getDeploymentById200.ts +0 -76
  982. package/src/generated/model/getDeploymentById200Kind.ts +0 -18
  983. package/src/generated/model/getDeploymentById200Metadata.ts +0 -35
  984. package/src/generated/model/getDeploymentById200MetadataDeployedByType.ts +0 -20
  985. package/src/generated/model/getDeploymentById200MetadataReason.ts +0 -20
  986. package/src/generated/model/getDeploymentById200Release.ts +0 -96
  987. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +0 -43
  988. package/src/generated/model/getDeploymentById200ReleaseMetadataCreatedByType.ts +0 -20
  989. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +0 -61
  990. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +0 -28
  991. package/src/generated/model/getDeploymentById200Status.ts +0 -22
  992. package/src/generated/model/getDeploymentById200TargetsItem.ts +0 -28
  993. package/src/generated/model/getDeploymentByIdDefault.ts +0 -72
  994. package/src/generated/model/getDeploymentByIdParams.ts +0 -17
  995. package/src/generated/model/getDeploymentVariables200.ts +0 -17
  996. package/src/generated/model/getDeploymentVariablesDefault.ts +0 -90
  997. package/src/generated/model/getDeploymentVariablesParams.ts +0 -17
  998. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +0 -23
  999. package/src/generated/model/getIdpById200.ts +0 -39
  1000. package/src/generated/model/getIdpById200Definition.ts +0 -44
  1001. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +0 -12
  1002. package/src/generated/model/getIdpById200DefinitionOidc.ts +0 -65
  1003. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  1004. package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  1005. package/src/generated/model/getIdpById200DefinitionProtocol.ts +0 -17
  1006. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +0 -15
  1007. package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +0 -15
  1008. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +0 -12
  1009. package/src/generated/model/getIdpById401.ts +0 -20
  1010. package/src/generated/model/getIdpById401Details.ts +0 -12
  1011. package/src/generated/model/getIdpById403.ts +0 -20
  1012. package/src/generated/model/getIdpById403Details.ts +0 -12
  1013. package/src/generated/model/getIdpById404.ts +0 -20
  1014. package/src/generated/model/getIdpById404Details.ts +0 -12
  1015. package/src/generated/model/getIdpByIdDefault.ts +0 -72
  1016. package/src/generated/model/getIdpByIdParams.ts +0 -17
  1017. package/src/generated/model/getIdpRevisionById200.ts +0 -39
  1018. package/src/generated/model/getIdpRevisionById200Definition.ts +0 -44
  1019. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +0 -12
  1020. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +0 -65
  1021. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  1022. package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  1023. package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +0 -17
  1024. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +0 -15
  1025. package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +0 -15
  1026. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +0 -12
  1027. package/src/generated/model/getIdpRevisionById401.ts +0 -20
  1028. package/src/generated/model/getIdpRevisionById401Details.ts +0 -12
  1029. package/src/generated/model/getIdpRevisionById403.ts +0 -20
  1030. package/src/generated/model/getIdpRevisionById403Details.ts +0 -12
  1031. package/src/generated/model/getIdpRevisionById404.ts +0 -20
  1032. package/src/generated/model/getIdpRevisionById404Details.ts +0 -12
  1033. package/src/generated/model/getIdpRevisionByIdDefault.ts +0 -72
  1034. package/src/generated/model/getIdpRevisionByIdParams.ts +0 -17
  1035. package/src/generated/model/getReleaseById200.ts +0 -96
  1036. package/src/generated/model/getReleaseById200Metadata.ts +0 -43
  1037. package/src/generated/model/getReleaseById200MetadataCreatedByType.ts +0 -20
  1038. package/src/generated/model/getReleaseById200PointersItem.ts +0 -61
  1039. package/src/generated/model/getReleaseById200PointersItemKind.ts +0 -28
  1040. package/src/generated/model/getReleaseByIdDefault.ts +0 -72
  1041. package/src/generated/model/getReleaseByIdParams.ts +0 -17
  1042. package/src/generated/model/getSchemaById200.ts +0 -31
  1043. package/src/generated/model/getSchemaById200Metadata.ts +0 -18
  1044. package/src/generated/model/getSchemaById200Schema.ts +0 -84
  1045. package/src/generated/model/getSchemaByIdDefault.ts +0 -72
  1046. package/src/generated/model/getSchemaByIdParams.ts +0 -21
  1047. package/src/generated/model/getUserByID200.ts +0 -76
  1048. package/src/generated/model/getUserByID200Attributes.ts +0 -13
  1049. package/src/generated/model/getUserByID200Metadata.ts +0 -44
  1050. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1051. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1052. package/src/generated/model/getUserByID200MetadataStatus.ts +0 -20
  1053. package/src/generated/model/getUserByID200TeamsItem.ts +0 -33
  1054. package/src/generated/model/getUserByID200TeamsItemMembershipStatus.ts +0 -20
  1055. package/src/generated/model/getUserByID401.ts +0 -20
  1056. package/src/generated/model/getUserByID401Details.ts +0 -12
  1057. package/src/generated/model/getUserByID404.ts +0 -20
  1058. package/src/generated/model/getUserByID404Details.ts +0 -12
  1059. package/src/generated/model/getUserByIDDefault.ts +0 -72
  1060. package/src/generated/model/getUserByIDParams.ts +0 -31
  1061. package/src/generated/model/getVariables200.ts +0 -35
  1062. package/src/generated/model/getVariables200Preview.ts +0 -20
  1063. package/src/generated/model/getVariables200Primary.ts +0 -20
  1064. package/src/generated/model/getVariablesDefault.ts +0 -72
  1065. package/src/generated/model/getVariablesKind.ts +0 -15
  1066. package/src/generated/model/getVariablesParams.ts +0 -23
  1067. package/src/generated/model/initClaim201.ts +0 -25
  1068. package/src/generated/model/initClaim401.ts +0 -20
  1069. package/src/generated/model/initClaim401Details.ts +0 -12
  1070. package/src/generated/model/initClaim404.ts +0 -23
  1071. package/src/generated/model/initClaim409.ts +0 -25
  1072. package/src/generated/model/initClaim409Details.ts +0 -14
  1073. package/src/generated/model/initClaim410.ts +0 -23
  1074. package/src/generated/model/initClaimDefault.ts +0 -99
  1075. package/src/generated/model/issueChallenge201.ts +0 -49
  1076. package/src/generated/model/issueChallenge201Method.ts +0 -20
  1077. package/src/generated/model/issueChallenge201Payload.ts +0 -34
  1078. package/src/generated/model/issueChallenge201State.ts +0 -22
  1079. package/src/generated/model/issueChallengeBody.ts +0 -28
  1080. package/src/generated/model/issueChallengeBodyMethod.ts +0 -20
  1081. package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +0 -19
  1082. package/src/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.ts +0 -16
  1083. package/src/generated/model/issueChallengeDefault.ts +0 -90
  1084. package/src/generated/model/listBranding200Item.ts +0 -14
  1085. package/src/generated/model/listEvents200DataItem.ts +0 -3956
  1086. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +0 -23
  1087. package/src/generated/model/listPreviews200.ts +0 -20
  1088. package/src/generated/model/listPreviews200PreviewsItem.ts +0 -37
  1089. package/src/generated/model/listPreviewsDefault.ts +0 -72
  1090. package/src/generated/model/listPreviewsParams.ts +0 -23
  1091. package/src/generated/model/patchMyUser200.ts +0 -76
  1092. package/src/generated/model/patchMyUser200Attributes.ts +0 -13
  1093. package/src/generated/model/patchMyUser200Metadata.ts +0 -44
  1094. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +0 -43
  1095. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1096. package/src/generated/model/patchMyUser200MetadataStatus.ts +0 -20
  1097. package/src/generated/model/patchMyUser200TeamsItem.ts +0 -33
  1098. package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +0 -20
  1099. package/src/generated/model/patchMyUser400.ts +0 -20
  1100. package/src/generated/model/patchMyUser400Details.ts +0 -12
  1101. package/src/generated/model/patchMyUser401.ts +0 -20
  1102. package/src/generated/model/patchMyUser401Details.ts +0 -12
  1103. package/src/generated/model/patchMyUser403.ts +0 -20
  1104. package/src/generated/model/patchMyUser403Details.ts +0 -12
  1105. package/src/generated/model/patchMyUser404.ts +0 -23
  1106. package/src/generated/model/patchMyUser409.ts +0 -20
  1107. package/src/generated/model/patchMyUser409Details.ts +0 -12
  1108. package/src/generated/model/patchMyUserBody.ts +0 -25
  1109. package/src/generated/model/patchMyUserBodyAttributes.ts +0 -13
  1110. package/src/generated/model/patchMyUserDefault.ts +0 -117
  1111. package/src/generated/model/patchMyUserParams.ts +0 -26
  1112. package/src/generated/model/patchProject200.ts +0 -96
  1113. package/src/generated/model/patchProject400.ts +0 -20
  1114. package/src/generated/model/patchProject400Details.ts +0 -12
  1115. package/src/generated/model/patchProject401.ts +0 -20
  1116. package/src/generated/model/patchProject401Details.ts +0 -12
  1117. package/src/generated/model/patchProject404.ts +0 -20
  1118. package/src/generated/model/patchProject404Details.ts +0 -12
  1119. package/src/generated/model/patchProjectBody.ts +0 -19
  1120. package/src/generated/model/patchProjectBodyPasswordHash.ts +0 -40
  1121. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +0 -24
  1122. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +0 -44
  1123. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +0 -24
  1124. package/src/generated/model/patchProjectDefault.ts +0 -117
  1125. package/src/generated/model/patchUserByID200.ts +0 -76
  1126. package/src/generated/model/patchUserByID200Attributes.ts +0 -13
  1127. package/src/generated/model/patchUserByID200Metadata.ts +0 -44
  1128. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1129. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1130. package/src/generated/model/patchUserByID200MetadataStatus.ts +0 -20
  1131. package/src/generated/model/patchUserByID200TeamsItem.ts +0 -33
  1132. package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +0 -20
  1133. package/src/generated/model/patchUserByID400.ts +0 -20
  1134. package/src/generated/model/patchUserByID400Details.ts +0 -12
  1135. package/src/generated/model/patchUserByID401.ts +0 -20
  1136. package/src/generated/model/patchUserByID401Details.ts +0 -12
  1137. package/src/generated/model/patchUserByID403.ts +0 -20
  1138. package/src/generated/model/patchUserByID403Details.ts +0 -12
  1139. package/src/generated/model/patchUserByID404.ts +0 -20
  1140. package/src/generated/model/patchUserByID404Details.ts +0 -12
  1141. package/src/generated/model/patchUserByID409.ts +0 -20
  1142. package/src/generated/model/patchUserByID409Details.ts +0 -12
  1143. package/src/generated/model/patchUserByIDBody.ts +0 -53
  1144. package/src/generated/model/patchUserByIDBodyAttributes.ts +0 -13
  1145. package/src/generated/model/patchUserByIDDefault.ts +0 -117
  1146. package/src/generated/model/removeOriginBody.ts +0 -15
  1147. package/src/generated/model/removeOriginDefault.ts +0 -108
  1148. package/src/generated/model/removePreviewBody.ts +0 -23
  1149. package/src/generated/model/removePreviewDefault.ts +0 -90
  1150. package/src/generated/model/submitFlowStep400Branding.ts +0 -80
  1151. package/src/generated/model/submitFlowStep400BrandingLayout.ts +0 -27
  1152. package/src/generated/model/submitFlowStep400BrandingShape.ts +0 -30
  1153. package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +0 -19
  1154. package/src/generated/model/submitFlowStep400BrandingTheme.ts +0 -41
  1155. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +0 -34
  1156. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +0 -210
  1157. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +0 -34
  1158. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +0 -210
  1159. package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +0 -19
  1160. package/src/generated/model/submitFlowStep400BrandingTypography.ts +0 -47
  1161. package/src/generated/model/submitFlowStep400Step.ts +0 -142
  1162. package/src/generated/model/submitFlowStep400StepActionsItem.ts +0 -41
  1163. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +0 -27
  1164. package/src/generated/model/submitFlowStep400StepChallenge.ts +0 -36
  1165. package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +0 -18
  1166. package/src/generated/model/submitFlowStep400StepChallengeOptions.ts +0 -15
  1167. package/src/generated/model/submitFlowStep400StepComplete.ts +0 -20
  1168. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +0 -84
  1169. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +0 -30
  1170. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +0 -46
  1171. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +0 -24
  1172. package/src/generated/model/submitFlowStep400StepGates.ts +0 -36
  1173. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +0 -13
  1174. package/src/generated/model/submitFlowStep400StepGatesKind.ts +0 -20
  1175. package/src/generated/model/submitFlowStep400StepIdentifier.ts +0 -58
  1176. package/src/generated/model/submitFlowStep400StepPurpose.ts +0 -26
  1177. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +0 -19
  1178. package/src/generated/model/submitFlowStep400StepTexts.ts +0 -23
  1179. package/src/generated/model/updateVariables200.ts +0 -35
  1180. package/src/generated/model/updateVariables200Preview.ts +0 -20
  1181. package/src/generated/model/updateVariables200Primary.ts +0 -20
  1182. package/src/generated/model/updateVariablesBody.ts +0 -48
  1183. package/src/generated/model/updateVariablesDefault.ts +0 -162
  1184. package/src/generated/model/updateVariablesKind.ts +0 -15
  1185. package/src/generated/model/updateVariablesParams.ts +0 -23
  1186. package/src/generated/model/verifyChallengeProof200.ts +0 -76
  1187. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +0 -49
  1188. package/src/generated/model/verifyChallengeProof200ChallengesItemMethod.ts +0 -20
  1189. package/src/generated/model/verifyChallengeProof200ChallengesItemPayload.ts +0 -34
  1190. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +0 -22
  1191. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +0 -28
  1192. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.ts +0 -20
  1193. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +0 -37
  1194. package/src/generated/model/verifyChallengeProof200RequiredFactorsItem.ts +0 -20
  1195. package/src/generated/model/verifyChallengeProof200State.ts +0 -24
  1196. package/src/generated/model/verifyChallengeProof409.ts +0 -20
  1197. package/src/generated/model/verifyChallengeProof409Details.ts +0 -12
  1198. package/src/generated/model/verifyChallengeProofBody.ts +0 -27
  1199. package/src/generated/model/verifyChallengeProofDefault.ts +0 -180
@@ -0,0 +1,1989 @@
1
+ import { $a as QueryIdpsBody, $h as GetMyUser200, $o as PublishSchemaParams, $x as CreateSessionBody, Ag as GetLiveDefault, Ah as GetPolicyRevision200, Av as GetFlowDefinition200, Bl as ListUserTeamsParams, Bu as ListReleases200, CC as CreateGrant201, Cb as EvaluatePolicyBody, Cd as ListMyTeams200, Ct as UpdateMyUser200, Cw as CreateDeploymentBody, Df as ListIdpRevisions200, Dh as GetProject200, Do as QueryGrantsBody, Du as ListUserIdentityLinks200, Dx as CreateUser201, Eb as DeleteVariableParams, Ed as ListMyProjectsParams, Ei as QueryUsers200, Em as GetTeam200, En as SetUserPasswordBody, FC as CreateFlowBody, FS as CreateProjectClaim201, Fd as ListMyProjects200, Fi as QueryTeamsParams, Fm as GetSession200, Fx as CreateTeamParams, Gf as ListFlowDefinitions200, Gm as GetSchema200, Gp as GetVariableParams, HT as CompleteUserPasskeyRegistration201, Hg as GetIdpRevisionParams, Hr as RevokeMySessionParams, Hy as GetApplicationParams, IS as CreateProjectBody, Ib as DeleteGrantParams, In as SearchBody, Jm as GetReleaseParams, Jp as GetVariable200, Jr as RemoveProjectPreviewBody, Ju as ListProjectAdminsParams, KS as CreateInvitationBody, Kn as Search200, Ku as ListProjectPreviews200, Lh as GetOAuthSettings200, Li as QueryTeamsBody, Ll as ListVariables200, Lr as RevokeRelease200, Lx as CreateTeamBody, Mt as SubmitFlowStepBody, My as GetAuthAttempt200, ND as AcceptInvitation200, N_ as GetGrant200, Ng as GetInvitationParams, Nh as GetPolicy200, Nl as LookupInvitation200, Oa as QueryProjectsBody, Oh as GetPolicyRevisionParams, Op as ListDeployments200, Pl as ListVariablesParams, Pn as SearchParams, Pu as ListSchemas200, Q as UpdateProjectBody, Q_ as GetFlowStep200, Ql as ListUserTeams200, Qn as RollbackDeploymentBody, Qr as RejectInvitationBody, R as UpdateTeamBody, Rf as ListFlowDefinitionsParams, Ru as ListReleasesParams, SS as CreateRelease200, Sh as GetProjectClaimStatus200, Sn as SetVariables200, Sp as ListDeploymentVariablesParams, Tg as GetMyPasswordStateParams, To as QueryGrantsParams, Tp as ListDeploymentsParams, Ua as QueryProjects200, Ud as ListMyPasskeysParams, Um as GetSchemaParams, Up as ListBranding200, Uw as CreateDeployment200, VS as CreateProject201, Vg as GetInvitation200, Vo as QueryGrants200, Vp as ListBrandingParams, Vt as SubmitFlowStep200, WC as CreateFlow201, WS as CreateInvitationParams, WT as CompleteProjectClaimBody, Wc as PublishBranding201, Wh as GetMyUserSchema200, Wu as ListProjectPreviewsParams, Xg as GetIdpRevision200, Xm as GetRelease200, Xn as RollbackDeploymentParams, Xr as RemoveProjectOriginBody, Xs as PublishFlowDefinitionBody, Xx as CreateTeam201, Xy as GetApplication200, Y as UpdateTeam200, Yd as ListMyPasskeys200, Za as QueryIdpsParams, Zd as ListMyIdentityLinksParams, _ as UpdateUserBody, _D as AddProjectOrigin201, _S as CreateRelease201, _d as ListMyTeamsParams, _f as ListInvitations200, _g as GetMySession200, aC as CreateGrantParams, aa as QuerySessionsBody, af as ListInvitationsParams, ah as GetProjectClaimWindowParams, as as PublishPolicyParams, bD as AcceptInvitationBody, bp as ListEvents200, cd as ListPolicyRevisionsParams, cs as PublishPolicy201, dE as BuildReleaseParams, dT as CreateAuthAttemptChallenge201, dh as GetProjectClaimWindow200, ds as PublishIdpBody, dx as CreateUserPasskeyRegistration201, ea as QueryTeams200, ex as CreateUserPasskeyRegistrationBody, fS as CreateReleaseParams, fb as ExchangeHandoff200, fc as PublishFlowDefinition201, fd as ListPoliciesParams, fh as GetProjectClaimStatusParams, fi as QueryUsersBody, ft as UpdateMyUserBody, hD as AddProjectOriginBody, hT as CreateAuthAttemptBody, hd as ListPolicies200, hu as ListUserIdentityLinksParams, hx as CreateUserBody, iC as CreateInvitation201, iD as BuildRelease201, iT as CreateAuthAttemptHandoff200, id as ListProjectAdmins200, il as PublishApplicationBody, iy as GetDeployment200, jc as PublishBrandingBody, jh as GetPolicyParams, jr as RevokeReleaseParams, jw as CreateDeployment201, k as UpdateUser200, kT as CompleteUserPasskeyRegistrationBody, kc as PublishBrandingParams, kg as GetMyPasswordState200, ks as PublishIdp201, ku as ListSchemasParams, lD as BuildRelease200, lg as GetMySessionCsrfTokenParams, li as RejectInvitation200, lp as ListEventsParams, ls as PublishIdpParams, lt as UpdateProject200, mS as CreateReleaseBody, m_ as GetIdp200, mo as QueryIdps200, mr as RollbackDeployment200, n as VerifyAuthAttemptChallengeBody, nE as CompleteProjectClaim200, nl as PublishApplicationParams, nr as RollbackDeployment201, ns as PublishSchema201, ny as GetDeploymentParams, o as VerifyAuthAttemptChallenge200, o_ as GetIdpParams, om as GetUserPasswordState200, pE as BuildReleaseBody, pg as GetMySessionCsrfToken200, pm as GetUser200, pu as ListUserPasskeys200, px as CreateUserParams, qh as GetMyUserParams, qv as GetEventParams, rE as CancelInvitationParams, rS as CreateSession201, ra as QuerySessionsParams, rb as ExchangeHandoffBody, rf as ListMyIdentityLinks200, sC as CreateGrantBody, sT as CreateAuthAttemptChallengeBody, sg as GetMySessionParams, sm as GetUserParams, ss as PublishPolicyBody, tb as ExchangeHandoffParams, th as GetReadyDefault, ts as PublishSchemaBody, tu as ListUserPasskeysParams, ty as GetEvent200, ud as ListPolicyRevisions200, ui as QueryUsersParams, ut as UpdateMyUserParams, vT as CreateAuthAttempt201, va as QuerySessions200, vn as SetVariablesParams, w_ as GetGrantParams, wb as EvaluatePolicy200, wl as LookupInvitationBody, wp as ListDeploymentVariables200, xb as EvaluatePolicyParams, xl as PublishApplication200, xn as SetVariablesBody, xw as CreateDeploymentParams, yf as ListIdpRevisionsParams, yl as PublishApplication201, yy as GetBranding200, zh as GetMyUserSchemaParams, zs as PublishIdp200 } from "./index-BwYxe7Dw.mjs";
2
+ import { c as customFetch } from "./fetch-BLgYBrzi.mjs";
3
+ declare namespace zitadelNextGen_d_exports {
4
+ export { acceptInvitation, addProjectOrigin, buildRelease, cancelInvitation, completeProjectClaim, completeUserPasskeyRegistration, createAuthAttempt, createAuthAttemptChallenge, createAuthAttemptHandoff, createDeployment, createFlow, createGrant, createInvitation, createProject, createProjectClaim, createRelease, createSession, createTeam, createUser, createUserPasskeyRegistration, deactivateTeam, deleteGrant, deleteUser, deleteVariable, evaluatePolicy, exchangeHandoff, getAcceptInvitationUrl, getAddProjectOriginUrl, getApplication, getAuthAttempt, getBranding, getBuildReleaseUrl, getCancelInvitationUrl, getCompleteProjectClaimUrl, getCompleteUserPasskeyRegistrationUrl, getCreateAuthAttemptChallengeUrl, getCreateAuthAttemptHandoffUrl, getCreateAuthAttemptUrl, getCreateDeploymentUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateInvitationUrl, getCreateProjectClaimUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserPasskeyRegistrationUrl, getCreateUserUrl, getDeactivateTeamUrl, getDeleteGrantUrl, getDeleteUserUrl, getDeleteVariableUrl, getDeployment, getEvaluatePolicyUrl, getEvent, getExchangeHandoffUrl, getFlowDefinition, getFlowStep, getGetApplicationUrl, getGetAuthAttemptUrl, getGetBrandingUrl, getGetDeploymentUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetIdpRevisionUrl, getGetIdpUrl, getGetInvitationUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetOAuthSettingsUrl, getGetPolicyRevisionUrl, getGetPolicyUrl, getGetProjectClaimStatusUrl, getGetProjectClaimWindowUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseUrl, getGetSchemaUrl, getGetSessionUrl, getGetTeamUrl, getGetUserPasswordStateUrl, getGetUserUrl, getGetVariableUrl, getGrant, getIdp, getIdpRevision, getInvitation, getListBrandingUrl, getListDeploymentVariablesUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListInvitationsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPoliciesUrl, getListPolicyRevisionsUrl, getListProjectAdminsUrl, getListProjectPreviewsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getListVariablesUrl, getLive, getLookupInvitationUrl, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getOAuthSettings, getPolicy, getPolicyRevision, getProject, getProjectClaimStatus, getProjectClaimWindow, getPublishApplicationUrl, getPublishBrandingUrl, getPublishFlowDefinitionUrl, getPublishIdpUrl, getPublishPolicyUrl, getPublishSchemaUrl, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getRejectInvitationUrl, getRelease, getRemoveProjectOriginUrl, getRemoveProjectPreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchema, getSearchUrl, getSession, getSetUserPasswordUrl, getSetVariablesUrl, getSubmitFlowStepUrl, getTeam, getUpdateMyUserUrl, getUpdateProjectUrl, getUpdateTeamUrl, getUpdateUserUrl, getUser, getUserPasswordState, getVariable, getVerifyAuthAttemptChallengeUrl, listBranding, listDeploymentVariables, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listInvitations, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPolicies, listPolicyRevisions, listProjectAdmins, listProjectPreviews, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, listVariables, lookupInvitation, publishApplication, publishBranding, publishFlowDefinition, publishIdp, publishPolicy, publishSchema, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, rejectInvitation, removeProjectOrigin, removeProjectPreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, search, setUserPassword, setVariables, submitFlowStep, updateMyUser, updateProject, updateTeam, updateUser, verifyAuthAttemptChallenge };
5
+ }
6
+ declare const getGetLiveUrl: () => string;
7
+ /**
8
+ * Answers `ok` while the server process serves HTTP, and checks nothing
9
+ * behind it.
10
+ *
11
+ * A liveness probe tells an orchestrator such as Kubernetes whether to
12
+ * restart the process. Point it at `/livez` at the root, where the probes
13
+ * stay, not under `/api/v1`. It never checks the database, so an outage of
14
+ * the database does not restart every instance. `GET /readyz` takes an
15
+ * instance out of rotation instead.
16
+ * @summary Check the server's liveness
17
+ */
18
+ declare const getLive: (options?: Parameters<typeof customFetch>[1]) => Promise<GetLiveDefault>;
19
+ declare const getGetReadyUrl: () => string;
20
+ /**
21
+ * Answers `ok` when the server can serve requests, which takes its database
22
+ * answering within a second, and `fail` with `503` otherwise.
23
+ *
24
+ * A readiness probe tells an orchestrator such as Kubernetes whether to send
25
+ * the instance requests. Point it at `/readyz` at the root, where the probes
26
+ * stay, not under `/api/v1`, so that a server whose database does not answer
27
+ * gets no requests until it does. The check is one round trip to the
28
+ * database.
29
+ * @summary Check the server's readiness
30
+ */
31
+ declare const getReady: (options?: Parameters<typeof customFetch>[1]) => Promise<GetReadyDefault>;
32
+ declare const getCreateUserUrl: (params: CreateUserParams) => string;
33
+ /**
34
+ * Creates a user whose attributes satisfy the user schema named in the request.
35
+ *
36
+ * The server assigns the user's ID and returns it. `schema` is the `id` of a
37
+ * schema, as `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it. With
38
+ * `team_id`, the user also becomes an active member of that team. A value the
39
+ * schema marks unique that another user already holds is refused with `409`;
40
+ * send a different value.
41
+ * @summary Create a user
42
+ */
43
+ declare const createUser: (createUserBody: CreateUserBody, params: CreateUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateUser201>;
44
+ declare const getQueryUsersUrl: (params?: QueryUsersParams) => string;
45
+ /**
46
+ * Returns the users of a project, paginated with a cursor.
47
+ *
48
+ * `project_id` names the project to list; without it, the credential's own
49
+ * project is listed.
50
+ *
51
+ * Accepts either a project secret (`oauth2`) or a user-bound console
52
+ * session cookie (`sessionCookie`). Cookie-authenticated requests
53
+ * follow the scheme's CSRF rules (`sessionCookie`).
54
+ *
55
+ * With a project secret, embedding `teams` with `expand`, or filtering by
56
+ * `team_id`, also needs `team_membership.read`. Embedding
57
+ * `lifecycle_owner_team` needs `team.read`. A console session carries no
58
+ * scopes: it may do both when it may read the whole project, and gets
59
+ * `403 user.permission_denied` otherwise.
60
+ * @summary Query users
61
+ */
62
+ declare const queryUsers: (queryUsersBody: QueryUsersBody, params?: QueryUsersParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryUsers200>;
63
+ declare const getGetUserUrl: (userId: string, params?: GetUserParams) => string;
64
+ /**
65
+ * Returns a user by ID, with the attributes its schema defines.
66
+ *
67
+ * With `team_id`, the user is returned only while they are an active member
68
+ * of that team.
69
+ * @summary Get a user by ID
70
+ */
71
+ declare const getUser: (userId: string, params?: GetUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetUser200>;
72
+ declare const getUpdateUserUrl: (userId: string) => string;
73
+ /**
74
+ * Partially updates a user's schema-defined attributes, and optionally
75
+ * moves the user to another registered schema. The merged result is
76
+ * validated against the schema before commit. Concurrent writes are
77
+ * last-write-wins.
78
+ *
79
+ * To move the user, send `schema` with the `id` of a registered schema, as
80
+ * `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it.
81
+ *
82
+ * To ask whether a patch would succeed, send it with `"dry_run": true`. It takes
83
+ * the same permission and answers the same status and `details` as the real
84
+ * request, and it changes nothing and emits no `user.updated`. The request
85
+ * itself is still recorded as `request.api`, like any other API call. A `200`
86
+ * holds for the moment of the check: a unique value that is free then can be
87
+ * taken before the real request, which then answers `409`.
88
+ *
89
+ * `dry_run` is a body field so that a server from before it refuses the
90
+ * request as malformed (`400 req.invalid`) instead of applying the patch.
91
+ * @summary Update a user by ID
92
+ */
93
+ declare const updateUser: (userId: string, updateUserBody: UpdateUserBody, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateUser200>;
94
+ declare const getDeleteUserUrl: (userId: string) => string;
95
+ /**
96
+ * Deletes a user, removes them from every team they belong to, and revokes
97
+ * every grant they hold, on any project.
98
+ *
99
+ * The user is removed, not deactivated, and the deletion emits `user.deleted`,
100
+ * plus `authz.revoked` for each grant on that grant's project.
101
+ * With a project secret the request is idempotent: deleting a user that exists
102
+ * in no project succeeds without changing anything. Deleting the last active
103
+ * member of a project's owning team returns 409 `proj.last_owner` and changes
104
+ * nothing.
105
+ * @summary Delete a user by ID
106
+ */
107
+ declare const deleteUser: (userId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
108
+ declare const getListUserIdentityLinksUrl: (userId: string, params?: ListUserIdentityLinksParams) => string;
109
+ /**
110
+ * Lists the identity provider accounts a sign-in linked to the user, oldest
111
+ * first. The provider's subject and claims, the data it asserts about the
112
+ * account, are never returned.
113
+ * @summary List the provider accounts linked to a user
114
+ */
115
+ declare const listUserIdentityLinks: (userId: string, params?: ListUserIdentityLinksParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListUserIdentityLinks200>;
116
+ declare const getListUserPasskeysUrl: (userId: string, params?: ListUserPasskeysParams) => string;
117
+ /**
118
+ * Lists the passkeys registered for a user, newest first, paginated with a
119
+ * cursor. A passkey is a WebAuthn credential that signs a user in without a
120
+ * password.
121
+ *
122
+ * Each passkey carries its ID, its name and when it was registered, never the
123
+ * credential itself.
124
+ * @summary List a user's passkeys
125
+ */
126
+ declare const listUserPasskeys: (userId: string, params?: ListUserPasskeysParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListUserPasskeys200>;
127
+ declare const getCreateUserPasskeyRegistrationUrl: (userId: string) => string;
128
+ /**
129
+ * Starts a WebAuthn registration ceremony for the user and returns the
130
+ * creation options for `navigator.credentials.create()`. A passkey is
131
+ * registered in two steps: this one returns options for the browser, and
132
+ * `completeUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations/{registration_id}`) verifies the browser's answer.
133
+ *
134
+ * Complete the ceremony with
135
+ * `POST /users/{user_id}/passkeys/registrations/{registration_id}` within five
136
+ * minutes, using the `registration_id` this response returns. Credentials
137
+ * already registered for the user are excluded automatically.
138
+ * @summary Begin a passkey registration
139
+ */
140
+ declare const createUserPasskeyRegistration: (userId: string, createUserPasskeyRegistrationBody: CreateUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateUserPasskeyRegistration201>;
141
+ declare const getCompleteUserPasskeyRegistrationUrl: (userId: string, registrationId: string) => string;
142
+ /**
143
+ * Verifies the attestation against the registration ceremony and stores
144
+ * the new passkey for the user. `registration_id` is the one that
145
+ * `createUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations`)
146
+ * returned when it started the ceremony. The attestation is
147
+ * the browser's answer from `navigator.credentials.create()`.
148
+ *
149
+ * A rejected attestation leaves the ceremony open for a retry. An expired ceremony answers
150
+ * `att.stale_challenge`: begin a new registration. An unknown or
151
+ * already-consumed registration ID answers `att.not_found`.
152
+ * @summary Finish a passkey registration
153
+ */
154
+ declare const completeUserPasskeyRegistration: (userId: string, registrationId: string, completeUserPasskeyRegistrationBody: CompleteUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]) => Promise<CompleteUserPasskeyRegistration201>;
155
+ declare const getGetUserPasswordStateUrl: (userId: string) => string;
156
+ /**
157
+ * Returns when the user's current password was set, and leaves `set_at` out
158
+ * when the user has none. The password and its hash are never returned;
159
+ * `setUserPassword` (`PUT` on the same path) sets one.
160
+ * @summary Get a user's password state
161
+ */
162
+ declare const getUserPasswordState: (userId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetUserPasswordState200>;
163
+ declare const getSetUserPasswordUrl: (userId: string) => string;
164
+ /**
165
+ * Sets a user's password, hashed with the project's current password hashing
166
+ * policy.
167
+ *
168
+ * The new password replaces the current one, and setting it emits
169
+ * `auth.factor.password.set`. A password the project's password policy
170
+ * refuses answers `user.password_policy_violation`; send one that meets the
171
+ * policy.
172
+ *
173
+ * The password policy is the one in the release that serves the caller's
174
+ * `Origin`, chosen as `createFlow` (`POST /flows`) chooses it. A frontend on a
175
+ * preview URL gets that preview's policy, and one on a primary origin the
176
+ * newest primary deployment's. A request with no `Origin`, or from the
177
+ * console when the project does not list the console's origin, gets the
178
+ * project's newest primary deployment.
179
+ *
180
+ * If the request is refused:
181
+ * - `403 proj.origin_not_allowed`: the project admits no such origin. Add it
182
+ * with `zitadel origin add`.
183
+ * - `403 proj.preview_not_live`: the origin matches a preview pattern but has
184
+ * no live preview. Run `zitadel preview` on the branch.
185
+ * - `409 rel.not_deployed`: nothing is deployed to the origin. Run
186
+ * `zitadel deploy`.
187
+ * - `409 rel.no_default`: the request names no origin and the project has no
188
+ * primary deployment. Run `zitadel deploy`.
189
+ * - `409 rel.revoked`: the release that serves the origin is revoked.
190
+ * @summary Set a user's password
191
+ */
192
+ declare const setUserPassword: (userId: string, setUserPasswordBody: SetUserPasswordBody, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
193
+ declare const getListUserTeamsUrl: (userId: string, params?: ListUserTeamsParams) => string;
194
+ /**
195
+ * Lists the teams a user belongs to, ordered by team name. Each entry carries
196
+ * the team's name, so a client renders a page without resolving IDs one by
197
+ * one.
198
+ *
199
+ * This is the user's team memberships, not lifecycle ownership: the single
200
+ * team that owns the user's lifecycle is reported as
201
+ * `metadata.lifecycle_owner_team_id` on the user read endpoints. Memberships
202
+ * the user was removed from are not returned.
203
+ * @summary List the teams a user belongs to
204
+ */
205
+ declare const listUserTeams: (userId: string, params?: ListUserTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListUserTeams200>;
206
+ declare const getGetMyUserUrl: (params?: GetMyUserParams) => string;
207
+ /**
208
+ * Returns the user signed in to the session that authenticates the request.
209
+ *
210
+ * The project and the user both come from the session cookie, so a caller only
211
+ * ever reads their own user.
212
+ *
213
+ * With `project_id`, the user is returned only when the session belongs to
214
+ * that project.
215
+ * @summary Get my user information
216
+ */
217
+ declare const getMyUser: (params?: GetMyUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMyUser200>;
218
+ declare const getUpdateMyUserUrl: (params?: UpdateMyUserParams) => string;
219
+ /**
220
+ * Partially updates the caller's own schema-defined attributes. The merged
221
+ * result is validated against the user's schema before commit. Concurrent
222
+ * writes are last-write-wins.
223
+ *
224
+ * With `project_id`, the user is updated only when the session belongs to
225
+ * that project.
226
+ * @summary Update my user information
227
+ */
228
+ declare const updateMyUser: (updateMyUserBody: UpdateMyUserBody, params?: UpdateMyUserParams, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateMyUser200>;
229
+ declare const getListMyIdentityLinksUrl: (params?: ListMyIdentityLinksParams) => string;
230
+ /**
231
+ * Lists the identity provider accounts a sign-in linked to the signed-in user,
232
+ * oldest first. The provider's subject and claims, the data it asserts about
233
+ * the account, are never returned.
234
+ *
235
+ * With `project_id`, the links are listed only when the session belongs to
236
+ * that project.
237
+ * @summary List the provider accounts linked to me
238
+ */
239
+ declare const listMyIdentityLinks: (params?: ListMyIdentityLinksParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyIdentityLinks200>;
240
+ declare const getListMyPasskeysUrl: (params?: ListMyPasskeysParams) => string;
241
+ /**
242
+ * Lists the signed-in user's own passkeys, newest first, paginated with a
243
+ * cursor. A passkey is a WebAuthn credential that signs a user in without a
244
+ * password. Each passkey carries its ID, its name and when it was registered,
245
+ * never the credential itself.
246
+ *
247
+ * With `project_id`, the passkeys are listed only when the session belongs to
248
+ * that project.
249
+ * @summary List my passkeys
250
+ */
251
+ declare const listMyPasskeys: (params?: ListMyPasskeysParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyPasskeys200>;
252
+ declare const getGetMyPasswordStateUrl: (params?: GetMyPasswordStateParams) => string;
253
+ /**
254
+ * Returns when the signed-in user's current password was set, and leaves
255
+ * `set_at` out when they have none. The password and its hash are never
256
+ * returned.
257
+ *
258
+ * With `project_id`, the state is read only when the session belongs to that
259
+ * project.
260
+ * @summary Get my password state
261
+ */
262
+ declare const getMyPasswordState: (params?: GetMyPasswordStateParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMyPasswordState200>;
263
+ declare const getListMyProjectsUrl: (params?: ListMyProjectsParams) => string;
264
+ /**
265
+ * Lists the projects the signed-in user can act on: those they hold an active
266
+ * grant on, either directly or through a team they are a member of. For a
267
+ * platform operator, someone who runs the deployment, that is every project of
268
+ * the deployment. Ordered by project ID unless `order` asks for creation
269
+ * time, and paged with an opaque cursor.
270
+ *
271
+ * This is not the same question as `queryProjects` (`POST /projects/query`), which answers with the one
272
+ * project the calling credential is bound to. Here the session is the caller
273
+ * and the grants are the answer, so the list spans projects.
274
+ *
275
+ * With `name_contains`, only the projects whose name contains that text are
276
+ * listed. The search runs on the server together with the grants, so it
277
+ * reaches every project the user can act on, however many there are, and
278
+ * pages like the full list.
279
+ *
280
+ * With `project_id`, the projects are listed only when the session belongs to
281
+ * that project. It names the project the session was signed in to, not one to
282
+ * list.
283
+ *
284
+ * With `exclude_platform`, the deployment's reserved platform project is left
285
+ * out: the project the console signs in to, which holds the console's
286
+ * accounts rather than an application's users. A deployment without one lists
287
+ * the same projects either way.
288
+ * @summary List the projects I can act on
289
+ */
290
+ declare const listMyProjects: (params?: ListMyProjectsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyProjects200>;
291
+ declare const getGetMyUserSchemaUrl: (params?: GetMyUserSchemaParams) => string;
292
+ /**
293
+ * Returns the schema that validates the signed-in user's own record.
294
+ *
295
+ * With `project_id`, the schema is returned only when the session belongs to
296
+ * that project.
297
+ * @summary Get my user schema
298
+ */
299
+ declare const getMyUserSchema: (params?: GetMyUserSchemaParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMyUserSchema200>;
300
+ declare const getListMyTeamsUrl: (params?: ListMyTeamsParams) => string;
301
+ /**
302
+ * Lists the teams the signed-in user belongs to, ordered by team name.
303
+ *
304
+ * With `project_id`, the teams are listed only when the session belongs to
305
+ * that project.
306
+ * @summary List the teams I belong to
307
+ */
308
+ declare const listMyTeams: (params?: ListMyTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListMyTeams200>;
309
+ declare const getCreateFlowUrl: () => string;
310
+ /**
311
+ * Starts a flow: resolves a flow definition from the request's purpose and
312
+ * audience, and returns the first step.
313
+ *
314
+ * The flow endpoints are the runtime calls the login component
315
+ * (`<zitadel-login>`) makes, step by step. It starts a flow here, renders the
316
+ * step it gets back, and submits the user's input with `submitFlowStep` (`POST /flows/{flow_id}/submit`) to
317
+ * get the next step. This call creates a new session implicitly, unless
318
+ * `session_id` is provided together with that session's `session_token`
319
+ * (for step-up or reauthentication on an existing session).
320
+ *
321
+ * The browser `Origin` header selects which deployment serves this attempt.
322
+ * The server checks the origin against the project's origin patterns and live
323
+ * previews, and the deployment that origin serves is the target: the
324
+ * project's newest primary deployment when it names a primary origin, or the
325
+ * newest live deployment to a preview URL. A
326
+ * deployment is a release, the immutable bundle of the project's
327
+ * configuration, made live at an origin. The deployment's release supplies
328
+ * flow definitions, user schemas and branding. The resolved deployment is
329
+ * sealed into the `_zflow` cookie so later steps keep the same
330
+ * configuration.
331
+ *
332
+ * - An origin that matches no pattern answers `403` with
333
+ * `proj.origin_not_allowed`, including when the project lists no origins.
334
+ * Add the origin with `zitadel origin add`.
335
+ * - An origin that matches a preview pattern with no live preview answers
336
+ * `403` with `proj.preview_not_live`. Run `zitadel preview` on the branch.
337
+ * - Nothing deployed to a listed origin or a live preview answers `409`
338
+ * with `rel.not_deployed`. Run `zitadel deploy`: a primary origin added
339
+ * since the last deploy serves nothing until the next one.
340
+ * - A loopback origin the project does not list answers `409` with
341
+ * `rel.not_deployed` too, as no deployment can name it. Add it with
342
+ * `zitadel origin add <origin> --kind primary`, then run `zitadel deploy`.
343
+ * - A revoked release answers `409` with `rel.revoked`.
344
+ *
345
+ * A request with no `Origin` passes the check, and so does the server's own
346
+ * origin, from which its console previews a project's login. Both are served
347
+ * the project's newest primary deployment unless the project lists that
348
+ * origin; with no primary deployment they answer `409` with
349
+ * `rel.no_default`. A loopback origin passes the check and is its own
350
+ * target. A step submitted from the server's own origin is still refused
351
+ * unless the project lists it.
352
+ *
353
+ * The response contains an `id` field, the flow handle. Use it as the path
354
+ * parameter for all subsequent `/flows/{flow_id}/submit` calls.
355
+ *
356
+ * The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
357
+ * the flow's orchestration state (current step, collected data, history).
358
+ * The server is stateless between requests: all flow state lives in this
359
+ * cookie. The browser sends it automatically on subsequent requests.
360
+ * @summary Start a flow
361
+ */
362
+ declare const createFlow: (createFlowBody: CreateFlowBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateFlow201>;
363
+ declare const getGetFlowStepUrl: (flowId: string) => string;
364
+ /**
365
+ * Returns the current step of a flow without advancing it. Use it to render
366
+ * the step again after a page reload or a network error.
367
+ *
368
+ * The flow endpoints are the runtime calls the login component
369
+ * (`<zitadel-login>`) makes, step by step. `createFlow` (`POST /flows`) starts a flow, and
370
+ * `submitFlowStep` (`POST /flows/{flow_id}/submit`) advances it.
371
+ *
372
+ * For a sign-up step, prepares `step.gates.signup_pow.challenge`: one that
373
+ * creates its user on submit, or one carrying a passkey registration that
374
+ * creates its user.
375
+ * Reuses challenges with more than a minute remaining; otherwise issues a
376
+ * new one. If this render resolves parked SSO state, it first returns the
377
+ * updated cookie; fetch the step again to obtain its puzzle.
378
+ *
379
+ * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not
380
+ * re-resolve from `Origin`. If that release was revoked since the attempt
381
+ * started, the response is `409` with `rel.revoked`.
382
+ * @summary Get the current step of a flow
383
+ */
384
+ declare const getFlowStep: (flowId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetFlowStep200>;
385
+ declare const getSubmitFlowStepUrl: (flowId: string) => string;
386
+ /**
387
+ * Submits the user's input for the current step of a flow. The server
388
+ * validates it, processes it (for example, verifies a credential), advances
389
+ * the flow through any invisible steps, and returns the next visible step.
390
+ * The flow endpoints are the runtime calls the login component
391
+ * (`<zitadel-login>`) makes, step by step; `createFlow` (`POST /flows`) starts a flow.
392
+ *
393
+ * The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)
394
+ * with the new flow state. The server is stateless: all orchestration
395
+ * state is carried in this cookie between requests.
396
+ *
397
+ * Sign-up additionally requires a single-use `gate_proofs.signup_pow`
398
+ * solution for `step.gates.signup_pow`: a password sign-up (`create_user`)
399
+ * sends it with the submit, and a passkey registration that creates its user
400
+ * sends it with the attestation in `challenge_response`. Pending
401
+ * challenges and rate counters are stored on the server. Invalid or spent
402
+ * proofs return `403 flow.proof_invalid`; exhausted per-flow budgets return
403
+ * `429 flow.rate_limited`. GET the current step to obtain or refresh its
404
+ * challenge before solving. Start and Submit announce the gate without a puzzle.
405
+ *
406
+ * **Important:** The `id` in the response may differ from the `id` used in
407
+ * the request. This happens when a flow pivots (pushes a new flow onto the
408
+ * stack) or when a stacked flow completes (auto-pops to the parent flow).
409
+ * Always use the `id` from the latest response for the next request.
410
+ *
411
+ * ## Flow completion
412
+ *
413
+ * When `step.type` is `complete`, the flow is terminal. The `step.behavior`
414
+ * field tells the frontend what to do:
415
+ *
416
+ * | `behavior` | Action |
417
+ * |------------- |------------------------------------------------------------|
418
+ * | `redirect` | Navigate to `redirect_uri` (OIDC/SAML auth request done). |
419
+ * | `show` | Render the step as a success screen, such as registration. |
420
+ *
421
+ * A `complete` step is only returned when the **entire flow stack** is done.
422
+ * If a stacked flow (for example, recovery pivoted from login) finishes, the
423
+ * server auto-pops to the parent flow and returns the parent's next step.
424
+ * The frontend never sees a `complete` for intermediate flows.
425
+ *
426
+ * ## External sign-in
427
+ *
428
+ * `{action: "sso", sso_provider_id, return_target}` on a step that offers
429
+ * `sso_providers` returns the server-emitted `sso-redirect` step, whose
430
+ * `redirect_url` the frontend navigates to.
431
+ *
432
+ * - The flow state does not change, but `_zflow` is re-sealed like on
433
+ * every response, so its ten-minute window restarts at this submission;
434
+ * the external sign-in and the return must complete within it.
435
+ * - A second `Set-Cookie` line carries the browser-binding cookie the
436
+ * callback checks: `HttpOnly`, `Path=/`, `SameSite=Lax`.
437
+ * - On every host except http loopback it is `__Host-_zsso` with `Secure`.
438
+ * - When the request host is http loopback (local development, where
439
+ * Safari rejects `Secure`), it is `_zsso` with no `Secure`; the
440
+ * `__Host-` prefix is dropped because it requires `Secure`.
441
+ *
442
+ * An identity provider (an external sign-in such as Google) whose
443
+ * `client_id` is a `${{ NAME }}` reference has it filled from the project's
444
+ * variables. A provider the server cannot start a sign-in with, including a
445
+ * reference with no variable behind it, re-renders the step with
446
+ * `error.sso_unavailable`.
447
+ *
448
+ * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not
449
+ * re-resolve from `Origin`. If that release was revoked since the attempt
450
+ * started, the response is `409` with `rel.revoked`.
451
+ * @summary Submit a flow step
452
+ */
453
+ declare const submitFlowStep: (flowId: string, submitFlowStepBody: SubmitFlowStepBody, options?: Parameters<typeof customFetch>[1]) => Promise<SubmitFlowStep200>;
454
+ declare const getCreateAuthAttemptUrl: () => string;
455
+ /**
456
+ * Creates an authentication attempt, one sign-in round that expires 15 minutes after creation.
457
+ *
458
+ * An authentication attempt collects the proofs for one sign-in and ends in a
459
+ * handoff token. A handoff token is the short-lived, single-use credential that
460
+ * a completed attempt hands to the session exchange. A client makes these calls
461
+ * in order:
462
+ *
463
+ * 1. `createAuthAttempt` (`POST /auth_attempts`) creates the attempt.
464
+ * 2. `createAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges`) issues a challenge, a request to prove one factor such as
465
+ * `identifier`, `password` or `passkey`.
466
+ * 3. `verifyAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`) submits the proof for that challenge: the
467
+ * credential, code or assertion. Repeat steps 2 and 3 until
468
+ * `getAuthAttempt` (`GET /auth_attempts/{attempt_id}`) reports state `completed`, which means every factor in
469
+ * `required_factors` is verified.
470
+ * 4. `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) completes the attempt and returns the `handoff_token`.
471
+ * 5. `exchangeHandoff` (`POST /sessions/exchange`) exchanges the handoff token
472
+ * for the session and its `session_token`.
473
+ *
474
+ * The body takes a `project_id` and a `challenge_nonce` (from
475
+ * `POST /bootstrap/challenge`). For step-up authentication, which adds factors
476
+ * to an existing session, also send that session's `session_id` and its
477
+ * `session_token`, as `createSession` (`POST /sessions`) or `exchangeHandoff` returned them.
478
+ * The attempt's `attempt_id` in the response is the ID every later call takes.
479
+ *
480
+ * The project comes from the project secret. A body `project_id` that names
481
+ * another project answers `403` with `proj.mismatch`: send the credential's own
482
+ * project. The attempt seals the project's newest primary deployment, whatever
483
+ * the caller's `Origin`. With none it answers `409` with `rel.no_default`, and a
484
+ * revoked release answers `409` with `rel.revoked`.
485
+ * @summary Create an authentication attempt
486
+ */
487
+ declare const createAuthAttempt: (createAuthAttemptBody: CreateAuthAttemptBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateAuthAttempt201>;
488
+ declare const getGetAuthAttemptUrl: (attemptId: string) => string;
489
+ /**
490
+ * Returns the current state of an authentication attempt, one sign-in round.
491
+ *
492
+ * The response holds the attempt's state, available factors for the next
493
+ * challenge, challenges issued so far, and any errors preventing progress.
494
+ *
495
+ * Use it to poll during long-running factor verifications, for example waiting
496
+ * for a federated identity provider (IdP) callback or a device flow.
497
+ * @summary Get an authentication attempt by ID
498
+ */
499
+ declare const getAuthAttempt: (attemptId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetAuthAttempt200>;
500
+ declare const getCreateAuthAttemptChallengeUrl: (attemptId: string) => string;
501
+ /**
502
+ * Issues a challenge, a request to prove one factor, within an authentication attempt.
503
+ *
504
+ * A challenge names one factor method, such as password, passkey, TOTP or OTP
505
+ * via SMS. The response carries the challenge's `challenge_id`, method,
506
+ * metadata and any UI hints. The client then submits the proof with
507
+ * `verifyAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`), using that `challenge_id`.
508
+ * @summary Issue a factor challenge
509
+ */
510
+ declare const createAuthAttemptChallenge: (attemptId: string, createAuthAttemptChallengeBody: CreateAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateAuthAttemptChallenge201>;
511
+ declare const getVerifyAuthAttemptChallengeUrl: (attemptId: string, challengeId: string) => string;
512
+ /**
513
+ * Verifies a challenge by submitting its proof: the credential, code or assertion for the factor.
514
+ *
515
+ * The proof format depends on the challenge method. For example:
516
+ *
517
+ * - `password` method: { password: "…" }
518
+ * - `totp` method: { totp: { code: "123456" } }
519
+ * - `passkey` method: { passkey: { assertion: "…" } }
520
+ * - `recovery_code` method: { recovery_code: "…" }
521
+ *
522
+ * On success, the factor is recorded on the authentication attempt. The
523
+ * attempt moves to the next pending challenge, or completes when every required
524
+ * factor is verified. Then call `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`).
525
+ *
526
+ * A `409` with `att.proof_rejected` means the proof was wrong. Check it and try
527
+ * again. There is no retry limit: you can retry until the attempt expires.
528
+ * @summary Verify a challenge proof
529
+ */
530
+ declare const verifyAuthAttemptChallenge: (attemptId: string, challengeId: string, verifyAuthAttemptChallengeBody: VerifyAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]) => Promise<VerifyAuthAttemptChallenge200>;
531
+ declare const getCreateAuthAttemptHandoffUrl: (attemptId: string) => string;
532
+ /**
533
+ * Completes an authentication attempt and mints a `handoff_token`.
534
+ *
535
+ * A handoff token is the short-lived credential that a completed attempt hands
536
+ * to the session exchange. Call this after every required factor is verified and
537
+ * the attempt is in `completed` state. Otherwise it answers `409` with
538
+ * `att.not_completed`: verify the remaining factors, then call again.
539
+ *
540
+ * Exchange the token at `POST /sessions/exchange` (`exchangeHandoff` (`POST /sessions/exchange`)) within 60
541
+ * seconds to receive the session and its `session_token`. The handoff token is:
542
+ *
543
+ * - Single-use: exchange it once, with no retry.
544
+ * - Bound to the project: the exchange needs the same project's credential.
545
+ * - Created once: a second call answers `409 att.already_handed_off`, even
546
+ * with the same idempotency key.
547
+ *
548
+ * A revoked release is refused when the handoff is exchanged, not here. A
549
+ * release is the configuration that `zitadel deploy` publishes.
550
+ * @summary Complete an authentication attempt and create a handoff token
551
+ */
552
+ declare const createAuthAttemptHandoff: (attemptId: string, options?: Parameters<typeof customFetch>[1]) => Promise<CreateAuthAttemptHandoff200>;
553
+ declare const getCreateProjectUrl: () => string;
554
+ /**
555
+ * Creates a project and returns its project secret and preview secret, which no
556
+ * other endpoint returns.
557
+ *
558
+ * A project is the top-level boundary that holds users, sessions and
559
+ * configuration. It has no owning team until someone claims it; see `createProjectClaim` (`POST /projects/{project_id}/claim/init`).
560
+ *
561
+ * The request needs no credential and is rate-limited. On `429`, wait and retry.
562
+ * Unless `seed_defaults` is `false`, the project starts with a default user schema
563
+ * and flow. The CLI sets it to `false` and uploads its own from `.zitadel/`.
564
+ * @summary Create a project
565
+ */
566
+ declare const createProject: (createProjectBody: CreateProjectBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateProject201>;
567
+ declare const getQueryProjectsUrl: () => string;
568
+ /**
569
+ * Returns the project the project secret belongs to, as a page of at most one
570
+ * project.
571
+ *
572
+ * A credential is scoped to one project today, so the filters and sorting
573
+ * apply to that project alone. A signed-in person lists the projects they can
574
+ * act on with `GET /users/me/projects`.
575
+ * @summary Query projects
576
+ */
577
+ declare const queryProjects: (queryProjectsBody: QueryProjectsBody, options?: Parameters<typeof customFetch>[1]) => Promise<QueryProjects200>;
578
+ declare const getGetProjectUrl: (projectId: string) => string;
579
+ /**
580
+ * Returns a project's current state: its name, origins, password hashing
581
+ * method and owning team.
582
+ *
583
+ * Authenticate with the project secret, or with the session of a signed-in
584
+ * person who holds a grant on the project.
585
+ * @summary Get a project by ID
586
+ */
587
+ declare const getProject: (projectId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetProject200>;
588
+ declare const getUpdateProjectUrl: (projectId: string) => string;
589
+ /**
590
+ * Updates a project's name or password hashing method.
591
+ *
592
+ * Fields you leave out keep their value. Sending `password_hash: null` drops
593
+ * the project's own method and returns to the server default. A change of
594
+ * method rewrites no stored password: each moves to the new method when its
595
+ * owner next signs in or sets a new password.
596
+ *
597
+ * Authenticate with the project secret, or with the session of a signed-in
598
+ * person who can act on the project.
599
+ * @summary Update a project
600
+ */
601
+ declare const updateProject: (projectId: string, updateProjectBody: UpdateProjectBody, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateProject200>;
602
+ declare const getListProjectAdminsUrl: (projectId: string, params?: ListProjectAdminsParams) => string;
603
+ /**
604
+ * Lists the people who can administer a project, and how each of them
605
+ * holds that access.
606
+ *
607
+ * A person appears once, with one entry in `sources` per way they hold it:
608
+ *
609
+ * - `owning_team`: an active member of the team that owns the project, the
610
+ * team a claim attaches the project to. Removing a grant does not remove
611
+ * this access. It ends only when the person leaves the team or the
612
+ * project changes owner.
613
+ * - `grant`: an unexpired `admin` grant on the project, which is a role
614
+ * given to the person (`grant_id` only) or to a team they are an active
615
+ * member of (`grant_id` and `team`). Revoking that grant removes this
616
+ * source.
617
+ *
618
+ * The list follows the authorization check. A person who left a team, or
619
+ * whose team or user was deactivated, is not listed through it. Grants that
620
+ * expired or carry a lower role are left out. A person whose only access is a
621
+ * `viewer` or `editor` grant is not an admin and is not listed. Like the
622
+ * check, the list does not look at a person's user status beyond that, so a
623
+ * direct grant to a suspended person is listed.
624
+ *
625
+ * A person whose access comes only through teams the caller is not a
626
+ * member of is left out. A team the caller is not in is named by `team_id`
627
+ * only. The grant to such a team still shows in the project's grants.
628
+ *
629
+ * The list is ordered by `user_id` and paginated with `page_token`.
630
+ * Authenticate with a project secret (`oauth2`), or with the session cookie
631
+ * (`sessionCookie`) of a signed-in person who can read the project.
632
+ * @summary List the admins of a project
633
+ */
634
+ declare const listProjectAdmins: (projectId: string, params?: ListProjectAdminsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListProjectAdmins200>;
635
+ declare const getCreateProjectClaimUrl: (projectId: string) => string;
636
+ /**
637
+ * Starts a claim, which attaches a project created before sign-in to a
638
+ * team, and returns the `claim_url` to open in a browser.
639
+ *
640
+ * A claim [attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim)
641
+ * so that the team's members administer it. This operation mints a
642
+ * single-use, short-lived challenge for an unclaimed project. The developer
643
+ * opens `claim_url`, signs in and completes the claim in the browser; see
644
+ * `completeProjectClaim` (`POST /projects/{project_id}/claim/complete`). Poll `getProjectClaimStatus` (`GET /projects/{project_id}/claim/status`) with the returned `challenge_id`,
645
+ * as `zitadel claim` does. The response's `expires_at` carries the exact expiry.
646
+ *
647
+ * Authenticate with the project secret that `createProject` (`POST /projects`) returns as
648
+ * `project_secret`.
649
+ *
650
+ * A `409` means a team already claimed the project, and its details name
651
+ * that team. A `410` means the project's 14-day claim window has closed,
652
+ * which is final.
653
+ * @summary Initialize a project claim
654
+ */
655
+ declare const createProjectClaim: (projectId: string, options?: Parameters<typeof customFetch>[1]) => Promise<CreateProjectClaim201>;
656
+ declare const getGetProjectClaimStatusUrl: (projectId: string, params: GetProjectClaimStatusParams) => string;
657
+ /**
658
+ * Returns the status of a claim challenge, `pending` or `completed`, while a
659
+ * browser completes the claim.
660
+ *
661
+ * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim).
662
+ * `zitadel claim` polls this operation after `createProjectClaim` (`POST /projects/{project_id}/claim/init`) starts the claim.
663
+ * Once the project is claimed, the response is `completed` with the owning
664
+ * team, the claim timestamp and the dashboard URL.
665
+ *
666
+ * The claim itself, not the polled challenge, decides the status. A project
667
+ * claimed through another concurrent challenge also reports `completed`. A
668
+ * completed claim keeps reporting `completed` past this challenge's expiry
669
+ * and past the project's claim window.
670
+ *
671
+ * Pass the `challenge_id` that `createProjectClaim` returns. Authenticate with the
672
+ * project secret that started the challenge. On `410` with `proj.claim_expired`, call
673
+ * `createProjectClaim` again for a fresh challenge.
674
+ * @summary Get the status of a project claim
675
+ */
676
+ declare const getProjectClaimStatus: (projectId: string, params: GetProjectClaimStatusParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetProjectClaimStatus200>;
677
+ declare const getCompleteProjectClaimUrl: (projectId: string) => string;
678
+ /**
679
+ * Completes a claim by attaching the project to the signed-in developer's
680
+ * personal team.
681
+ *
682
+ * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim),
683
+ * so that the team's members administer it. The claim page in the browser
684
+ * calls this operation after the developer signs in, with the session cookie.
685
+ * The `challenge_id` from the claim URL that `createProjectClaim` (`POST /projects/{project_id}/claim/init`) returns is the
686
+ * request's single-use, browser-safe authorization.
687
+ *
688
+ * Claims are first-claim-wins and spend the challenge. If a team already
689
+ * claimed the project, the request answers `409`. If the challenge lapsed
690
+ * (`410` with `proj.claim_expired`), call `createProjectClaim` again for a fresh one.
691
+ * @summary Complete a project claim
692
+ */
693
+ declare const completeProjectClaim: (projectId: string, completeProjectClaimBody: CompleteProjectClaimBody, options?: Parameters<typeof customFetch>[1]) => Promise<CompleteProjectClaim200>;
694
+ declare const getGetProjectClaimWindowUrl: (projectId: string, params: GetProjectClaimWindowParams) => string;
695
+ /**
696
+ * Returns when a project's claim window closes and whether it has already
697
+ * closed.
698
+ *
699
+ * The claim window is the 14 days after a project is created during which a
700
+ * team can [claim it](https://preview.zitadel.com/docs/concepts/project-team-user#claim). The claim page
701
+ * in the browser calls this operation to show how long is left.
702
+ *
703
+ * The request needs no credential, because the claim page calls it before the
704
+ * developer has signed in. Holding the `challenge_id` from the claim URL that
705
+ * `createProjectClaim` (`POST /projects/{project_id}/claim/init`) returns is the authorization, the same one `completeProjectClaim` (`POST /projects/{project_id}/claim/complete`)
706
+ * accepts. The response reveals only the window, never the project itself.
707
+ * Unlike `completeProjectClaim` it spends nothing, so reloading the page is safe.
708
+ * @summary Get the claim window for a project
709
+ */
710
+ declare const getProjectClaimWindow: (projectId: string, params: GetProjectClaimWindowParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetProjectClaimWindow200>;
711
+ declare const getAddProjectOriginUrl: (projectId: string) => string;
712
+ /**
713
+ * Adds an origin pattern, a `pattern` and its `kind`, to the project's origins.
714
+ *
715
+ * An origin pattern says which web origins the project accepts. A `primary`
716
+ * pattern must be an exact URL with no wildcard. A `preview` pattern may
717
+ * include a single DNS-label wildcard.
718
+ *
719
+ * While the project has no patterns, it admits no origin except a loopback
720
+ * origin, so the first pattern you add opens it to the origins that
721
+ * pattern matches. Admitting an origin is not serving it: a new `primary`
722
+ * origin answers `rel.not_deployed` until the next deploy to primary
723
+ * (`zitadel deploy`).
724
+ *
725
+ * Adding a pattern that already exists with the same kind is idempotent and
726
+ * answers `201` with the stored origin. If the pattern exists with the other
727
+ * kind, the request is refused with `origin.kind_conflict`: remove it with
728
+ * `removeProjectOrigin` (`POST /projects/{project_id}/origins/remove`), then add it again.
729
+ * @summary Add an origin pattern
730
+ */
731
+ declare const addProjectOrigin: (projectId: string, addProjectOriginBody: AddProjectOriginBody, options?: Parameters<typeof customFetch>[1]) => Promise<AddProjectOrigin201>;
732
+ declare const getRemoveProjectOriginUrl: (projectId: string) => string;
733
+ /**
734
+ * Removes one origin pattern from the project's origins.
735
+ *
736
+ * Requests from URLs only that pattern admitted are refused from then on.
737
+ * Live previews and deployment history are untouched. Removing the last
738
+ * pattern leaves an empty list, which admits no origin except a loopback
739
+ * origin.
740
+ * Removing a pattern that is already absent is idempotent and answers `204`.
741
+ *
742
+ * The body's `pattern` is a pattern `addProjectOrigin` (`POST /projects/{project_id}/origins`) stored.
743
+ * @summary Remove an origin pattern
744
+ */
745
+ declare const removeProjectOrigin: (projectId: string, removeProjectOriginBody: RemoveProjectOriginBody, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
746
+ declare const getListProjectPreviewsUrl: (projectId: string, params?: ListProjectPreviewsParams) => string;
747
+ /**
748
+ * Lists the project's live previews, newest first by `created_at`.
749
+ *
750
+ * A preview is a URL with a deployment on it, served until it expires.
751
+ * An expired or removed preview is not listed. What was deployed to it stays
752
+ * in `GET /deployments`.
753
+ * @summary List a project's previews
754
+ */
755
+ declare const listProjectPreviews: (projectId: string, params?: ListProjectPreviewsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListProjectPreviews200>;
756
+ declare const getRemoveProjectPreviewUrl: (projectId: string) => string;
757
+ /**
758
+ * Ends a preview before it expires: the URL stops being served at once.
759
+ *
760
+ * The deployments to it stay in the history. The call is idempotent.
761
+ * A URL with no live preview answers `204` too. That includes one that
762
+ * expired or was removed before, so a cleanup that races the expiry still
763
+ * succeeds.
764
+ *
765
+ * The URL travels in the body rather than the path because an origin
766
+ * contains `/`. Take it from `listProjectPreviews` (`GET /projects/{project_id}/previews`).
767
+ * @summary Remove a preview
768
+ */
769
+ declare const removeProjectPreview: (projectId: string, removeProjectPreviewBody: RemoveProjectPreviewBody, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
770
+ declare const getCreateSessionUrl: () => string;
771
+ /**
772
+ * Creates an anonymous session with no user and no factors (`state: building`).
773
+ *
774
+ * A session is the durable record of a signed-in user. This call is optional: an
775
+ * authentication attempt creates a session implicitly if none is provided.
776
+ * Create one explicitly when you want to:
777
+ *
778
+ * - Pre-allocate a `session_id` before the user is known, so device and telemetry signals
779
+ * can be correlated with the eventual authenticated session from the start.
780
+ * - Track anonymous state (bot detection, device fingerprint) that survives until authentication.
781
+ *
782
+ * The session belongs to the project of the project secret. A `project_id` that
783
+ * names another project answers `403` with `proj.mismatch` and creates nothing:
784
+ * send the credential's own project.
785
+ *
786
+ * Creating a session runs on the project credential (`session.write`). The returned
787
+ * `session_token` is a session credential for the end-user client, not a
788
+ * management scope. It is delivered as the `__Host-zitadel_session` cookie
789
+ * (`zitadel_session` over plain http to a loopback host) and authorises the
790
+ * self-service operations `GET /sessions/me` and `DELETE /sessions/me`
791
+ * (`sessionCookie` scheme). The by-id operations `GET /sessions/{session_id}`
792
+ * and `DELETE /sessions/{session_id}` are operator endpoints and require
793
+ * `session.read` / `session.delete` instead.
794
+ *
795
+ * The `session_token` is superseded when a handoff exchange completes. Clients
796
+ * must replace it at that point.
797
+ *
798
+ * Anonymous sessions expire after 10 minutes. The lifetime resets to the
799
+ * configured full session lifetime when a completing authentication attempt
800
+ * writes the first authentication factor.
801
+ * @summary Create an anonymous session
802
+ */
803
+ declare const createSession: (createSessionBody: CreateSessionBody, options?: Parameters<typeof customFetch>[1]) => Promise<CreateSession201>;
804
+ declare const getQuerySessionsUrl: (params: QuerySessionsParams) => string;
805
+ /**
806
+ * Returns a page of a project's sessions.
807
+ *
808
+ * Sessions of every lifecycle state are returned; each carries its `state`.
809
+ * Requires the `session.read` scope.
810
+ * @summary Query sessions
811
+ */
812
+ declare const querySessions: (querySessionsBody: QuerySessionsBody, params: QuerySessionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QuerySessions200>;
813
+ declare const getExchangeHandoffUrl: (params: ExchangeHandoffParams) => string;
814
+ /**
815
+ * Exchanges a handoff token for a session and a `session_token`.
816
+ *
817
+ * A handoff token is the short-lived, single-use credential that
818
+ * `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) returns as `handoff_token` once an authentication attempt is
819
+ * complete. This call consumes it. It is the last step of the sign-in sequence:
820
+ * create the attempt, issue a challenge, verify the proof, create the handoff,
821
+ * exchange it.
822
+ *
823
+ * The server resolves the originating authentication attempt from the token and then:
824
+ *
825
+ * | Originating authentication attempt | Outcome |
826
+ * |---|---|
827
+ * | No `session_id` | A new authenticated session is **created**. |
828
+ * | `session_id` points to an anonymous session | Existing session is **upgraded**: user and factors written in, lifetime reset to the full session lifetime. |
829
+ * | `session_id` points to an active session (step-up) | Existing session is **upgraded**: new factors merged, `assurance_levels[]` expanded. |
830
+ *
831
+ * The response shape is identical in all three cases.
832
+ *
833
+ * The `session_token` supersedes any previously issued `session_token` for the
834
+ * same session. Clients must replace their stored token at this point.
835
+ *
836
+ * Requires a project service key (OAuth2 client credentials). The project comes
837
+ * from the project secret. A query `project_id` that disagrees answers `403`
838
+ * with `proj.mismatch`.
839
+ *
840
+ * The exchange resolves a deployment the same way as other runtime operations.
841
+ * A deployment makes a release live, and a release is the configuration that
842
+ * `zitadel deploy` publishes. With no browser `Origin` and
843
+ * nothing deployed to the resolved target, the response is `409` with
844
+ * `rel.not_deployed`: run `zitadel deploy`, then retry. A revoked release
845
+ * answers `409` with `rel.revoked`.
846
+ * @summary Exchange a handoff token for a session
847
+ */
848
+ declare const exchangeHandoff: (exchangeHandoffBody: ExchangeHandoffBody, params: ExchangeHandoffParams, options?: Parameters<typeof customFetch>[1]) => Promise<ExchangeHandoff200>;
849
+ declare const getGetSessionUrl: (sessionId: string) => string;
850
+ /**
851
+ * Returns the current state of a session, including its factors and all currently satisfied assurance levels.
852
+ *
853
+ * An assurance level is a profile, such as `urn:nist:aal:2`, that the
854
+ * session's verified factors satisfy. `assurance_levels[]` may shrink over time
855
+ * as factor freshness windows expire, without the session itself expiring.
856
+ * To restore a dropped level, use step-up authentication: create an
857
+ * authentication attempt with the same `session_id`.
858
+ * @summary Get a session by ID
859
+ */
860
+ declare const getSession: (sessionId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetSession200>;
861
+ declare const getRevokeSessionUrl: (sessionId: string) => string;
862
+ /**
863
+ * Revokes a session by deleting it, immediately and for good. A later
864
+ * `getSession` (`GET /sessions/{session_id}`) for it answers `404`.
865
+ *
866
+ * This is the operator revoke path. It requires the `session.delete` scope on a
867
+ * project-bound credential. End-user sign-out with the session cookie is
868
+ * `DELETE /sessions/me` (`sessionCookie` scheme).
869
+ *
870
+ * Idempotent: revoking a session that does not exist, or was already revoked,
871
+ * still returns `204`. After revocation, any tokens derived from the session are
872
+ * invalidated.
873
+ * @summary Revoke a session
874
+ */
875
+ declare const revokeSession: (sessionId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
876
+ declare const getGetMySessionUrl: (params?: GetMySessionParams) => string;
877
+ /**
878
+ * Returns the current state of the caller's session, including its factors and all currently satisfied assurance levels.
879
+ *
880
+ * With `project_id`, the session is returned only when it belongs to that project.
881
+ *
882
+ * An assurance level is a profile, such as `urn:nist:aal:2`, that the
883
+ * session's verified factors satisfy. `assurance_levels[]` may shrink over time
884
+ * as factor freshness windows expire, without the session itself expiring.
885
+ * To restore a dropped level, use step-up authentication: create an
886
+ * authentication attempt with the same `session_id`.
887
+ * @summary Get my session
888
+ */
889
+ declare const getMySession: (params?: GetMySessionParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMySession200>;
890
+ declare const getRevokeMySessionUrl: (params?: RevokeMySessionParams) => string;
891
+ /**
892
+ * Revokes the caller's own session by deleting it, which signs the user out.
893
+ *
894
+ * The request needs the session cookie issued at creation (or superseded by a
895
+ * handoff exchange). It also needs the session's CSRF token from
896
+ * `GET /sessions/me/csrf` in the `X-Zitadel-CSRF` header. Idempotent: if the session is already gone,
897
+ * this still returns `204`. Any tokens derived from the session are
898
+ * invalidated, and the response clears the cookie.
899
+ *
900
+ * With `project_id`, only a session of that project is revoked. A session of
901
+ * another project is left alone, and so is its cookie.
902
+ * @summary Revoke my session
903
+ */
904
+ declare const revokeMySession: (params?: RevokeMySessionParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
905
+ declare const getGetMySessionCsrfTokenUrl: (params?: GetMySessionCsrfTokenParams) => string;
906
+ /**
907
+ * Returns the session-bound token that protects against cross-site request
908
+ * forgery (CSRF). Browser code sends it in the `X-Zitadel-CSRF` header on the
909
+ * state-changing requests that the session cookie authenticates and that
910
+ * require it; see the `sessionCookie` scheme. It authorizes nothing on its
911
+ * own: the HttpOnly cookie is still the credential, and a cross-site page
912
+ * cannot read this response. It stays the same for the life of the session,
913
+ * so a client fetches it once per session.
914
+ *
915
+ * With `project_id`, the token is returned only when the session belongs to
916
+ * that project.
917
+ * @summary Get my session's CSRF token
918
+ */
919
+ declare const getMySessionCsrfToken: (params?: GetMySessionCsrfTokenParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetMySessionCsrfToken200>;
920
+ declare const getPublishSchemaUrl: (params: PublishSchemaParams) => string;
921
+ /**
922
+ * Publishes a user schema, the JSON Schema that says which attributes a user
923
+ * has and which attribute identifies the user.
924
+ *
925
+ * The request is either a user schema (`kind: user-schema`) or a schema URL
926
+ * (`kind: schema-url`) that the server resolves. The response is the stored
927
+ * schema, as `getSchema` (`GET /schemas/{schema_id}`) returns it; its `id` is
928
+ * what `createUser` (`POST /users`) takes as `schema`.
929
+ *
930
+ * The optional `$id` is the JSON Schema document URI that identifies the
931
+ * schema in later requests. It is a stable identity for GitOps, not a
932
+ * free-form resource key. When `$id` is omitted, the server generates a
933
+ * `sch_*` URL. When provided, `$id` must be unique within the project and
934
+ * should ideally be a valid URI pointing at where the schema can be accessed.
935
+ * A `$id` that already exists in the project is refused; pick another or
936
+ * omit it.
937
+ * @summary Publish a schema
938
+ */
939
+ declare const publishSchema: (publishSchemaBody: PublishSchemaBody, params: PublishSchemaParams, options?: Parameters<typeof customFetch>[1]) => Promise<PublishSchema201>;
940
+ declare const getListSchemasUrl: (params: ListSchemasParams) => string;
941
+ /**
942
+ * Lists the schemas of a project, newest first, paginated with a cursor.
943
+ * Filter by `object_type` or `kind`, and choose which revisions to return
944
+ * with `revisions`.
945
+ *
946
+ * A schema's `id` is what `createUser` (`POST /users`) takes as `schema`.
947
+ * @summary List schemas
948
+ */
949
+ declare const listSchemas: (params: ListSchemasParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListSchemas200>;
950
+ declare const getGetSchemaUrl: (schemaId: string, params?: GetSchemaParams) => string;
951
+ /**
952
+ * Returns a schema by ID. A schema ID identifies one immutable revision, so
953
+ * this returns exactly that revision. To find the current revision of an
954
+ * object type, call `listSchemas` (`GET /schemas`) with `revisions=latest`.
955
+ *
956
+ * Schema IDs are unique within a project, not across projects (the seeded
957
+ * default schema carries the same `$id` in every project). A console
958
+ * session that manages more than one project names the project with
959
+ * `project_id`; without it, the ID is resolved in the credential's own
960
+ * project when it is ambiguous. A project secret always resolves in its
961
+ * own project and ignores `project_id`.
962
+ * @summary Get a schema by ID
963
+ */
964
+ declare const getSchema: (schemaId: string, params?: GetSchemaParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetSchema200>;
965
+ declare const getPublishFlowDefinitionUrl: () => string;
966
+ /**
967
+ * Publishes a new revision of a flow definition, creating the flow definition
968
+ * on its first publish. It records a `flowdef.created` event.
969
+ *
970
+ * A [flow definition](https://preview.zitadel.com/docs/concepts/flows-and-schemas) is a template that
971
+ * defines the sequence of steps (capabilities) for one user journey, such as
972
+ * registration, login or password reset. The body follows the flow
973
+ * definition schema, which includes the flow's purpose, audience and steps.
974
+ *
975
+ * Every call allocates a new opaque ID. That `id` is the `revision_id` a
976
+ * release pins for `kind: flow_definition`.
977
+ *
978
+ * Revisions of one flow share its `name`. Posting a definition under an
979
+ * existing `name` publishes a new revision of that flow, which is not a
980
+ * conflict. List with `name` to see a flow's revisions, newest by creation
981
+ * time first.
982
+ * @summary Publish a flow definition
983
+ */
984
+ declare const publishFlowDefinition: (publishFlowDefinitionBody: PublishFlowDefinitionBody, options?: Parameters<typeof customFetch>[1]) => Promise<PublishFlowDefinition201>;
985
+ declare const getListFlowDefinitionsUrl: (params: ListFlowDefinitionsParams) => string;
986
+ /**
987
+ * Lists the project's flow definitions with their configurations, newest by
988
+ * creation time first. A flow definition sets which step of a sign-in
989
+ * renders when, and which fields each step collects.
990
+ *
991
+ * The `id` of an entry is the flow definition ID that `getFlowDefinition` (`GET /flow_definitions/{flow_definition_id}`)
992
+ * takes. Filter by `name` to list the revisions of one flow.
993
+ * @summary List flow definitions
994
+ */
995
+ declare const listFlowDefinitions: (params: ListFlowDefinitionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListFlowDefinitions200>;
996
+ declare const getGetFlowDefinitionUrl: (flowDefinitionId: string) => string;
997
+ /**
998
+ * Returns one flow definition revision. Pass the `id` that
999
+ * `publishFlowDefinition` (`POST /flow_definitions`) or `listFlowDefinitions` (`GET /flow_definitions`) returns.
1000
+ * @summary Get a flow definition by ID
1001
+ */
1002
+ declare const getFlowDefinition: (flowDefinitionId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetFlowDefinition200>;
1003
+ declare const getCreateTeamUrl: (params: CreateTeamParams) => string;
1004
+ /**
1005
+ * Creates a team in the project, with a name no other team in the project has.
1006
+ *
1007
+ * A team groups users inside a project and can represent a customer. A taken
1008
+ * name is refused with `409 team.already_exists`: choose another name. The
1009
+ * new team has no members yet.
1010
+ * @summary Create a team
1011
+ */
1012
+ declare const createTeam: (createTeamBody: CreateTeamBody, params: CreateTeamParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateTeam201>;
1013
+ declare const getQueryTeamsUrl: (params?: QueryTeamsParams) => string;
1014
+ /**
1015
+ * Returns a page of a project's teams.
1016
+ *
1017
+ * Pass the response's `next_page_token` as `page_token` to fetch the next
1018
+ * page. `project_id` names the project to list; without it, the credential's
1019
+ * own project is listed.
1020
+ * @summary Query teams
1021
+ */
1022
+ declare const queryTeams: (queryTeamsBody: QueryTeamsBody, params?: QueryTeamsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryTeams200>;
1023
+ declare const getGetTeamUrl: (teamId: string) => string;
1024
+ /**
1025
+ * Returns a team, a group of users inside a project, by ID.
1026
+ *
1027
+ * A deactivated team is still returned, with status `deactivated`.
1028
+ * @summary Get a team by ID
1029
+ */
1030
+ declare const getTeam: (teamId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetTeam200>;
1031
+ declare const getDeactivateTeamUrl: (teamId: string) => string;
1032
+ /**
1033
+ * Deactivates a team and removes its memberships.
1034
+ *
1035
+ * The team is kept rather than erased: `getTeam` (`GET /teams/{team_id}`) still returns it with
1036
+ * status `deactivated`. The users whose lifecycle the team owns are
1037
+ * deactivated with it.
1038
+ *
1039
+ * The request is idempotent. Deleting a team that is already deactivated
1040
+ * or does not exist succeeds without changing anything.
1041
+ *
1042
+ * A team that still owns a project is refused with `409 team.owns_project`.
1043
+ * Deactivating it would leave the project owned by a deactivated team and so
1044
+ * unmanageable. No endpoint ends a team's ownership of a project yet, so for
1045
+ * now such a team cannot be deactivated through the API.
1046
+ * @summary Deactivate a team
1047
+ */
1048
+ declare const deactivateTeam: (teamId: string, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
1049
+ declare const getUpdateTeamUrl: (teamId: string) => string;
1050
+ /**
1051
+ * Renames an active team.
1052
+ *
1053
+ * Only active teams can be updated. A deactivated team answers `404`. The new
1054
+ * name must be unique within the project, and a taken name answers `409`:
1055
+ * choose another name.
1056
+ * @summary Update a team
1057
+ */
1058
+ declare const updateTeam: (teamId: string, updateTeamBody: UpdateTeamBody, options?: Parameters<typeof customFetch>[1]) => Promise<UpdateTeam200>;
1059
+ declare const getSearchUrl: (params?: SearchParams) => string;
1060
+ /**
1061
+ * Finds the resources of one project, or of the projects a person can act on, that match a text, across resource types.
1062
+ *
1063
+ * `query` is what the person typed and `types` names the kinds of result to
1064
+ * look for; only those are searched. Each result is a reference: its `type`,
1065
+ * its `id`, its `project_id`, a `title` and sometimes a `subtitle`. Read the
1066
+ * resource itself with the type's own operation, for example `getUser`
1067
+ * (`GET /users/{user_id}`) or `getTeam` (`GET /teams/{team_id}`), in the
1068
+ * result's project.
1069
+ *
1070
+ * What a type matches on:
1071
+ * - `user`: the start of the value they carry as `identifier` or of a part
1072
+ * of their `display` name, from three characters on
1073
+ * - `team`: its name
1074
+ * - `schema`: the `title` and the `objectType` of a user schema
1075
+ * - `flow_definition`: its name
1076
+ * - `idp`: the `slug` and the `display_name` of an identity provider
1077
+ * connection
1078
+ *
1079
+ * A user matches from the start of a value. Every other type matches from
1080
+ * the start of a name or of a word in it, so `staff` finds "Partner Staff"
1081
+ * and `sso` finds `partner-sso`. Matching ignores case. A `query` that is the
1082
+ * `id` of a resource of a requested type finds that one. A schema and a flow
1083
+ * definition are found at their newest revision.
1084
+ *
1085
+ * `project_id` names the project to search. Without it, a project secret
1086
+ * searches its own project, and a console session searches the projects the
1087
+ * person can act on: the ones `listMyProjects` (`GET /users/me/projects`)
1088
+ * lists, at most the newest 10 by when each was created (`order=desc`).
1089
+ * `more_projects` says the person can act on more than that; search one of
1090
+ * the others by naming it. A caller with access to part of a project finds
1091
+ * only what that access covers.
1092
+ *
1093
+ * Authenticate with the project secret (`oauth2`) or a console session cookie
1094
+ * (`sessionCookie`). A preview secret is refused, as on every management
1095
+ * operation.
1096
+ *
1097
+ * Results come best match first, at most `limit_per_type` of each type
1098
+ * across every searched project, and types can be mixed in the order.
1099
+ * `incomplete_types` lists the types that have more to show: page those with
1100
+ * the type's own list, such as `queryUsers` (`POST /users/query`) or
1101
+ * `queryTeams` (`POST /teams/query`).
1102
+ *
1103
+ * How text is matched and ranked can change, and later versions can match
1104
+ * more of a resource. Treat the results as suggestions; to filter by an exact
1105
+ * rule, use the type's own list.
1106
+ * @summary Search projects
1107
+ */
1108
+ declare const search: (searchBody: SearchBody, params?: SearchParams, options?: Parameters<typeof customFetch>[1]) => Promise<Search200>;
1109
+ declare const getPublishBrandingUrl: (params: PublishBrandingParams) => string;
1110
+ /**
1111
+ * Publishes a new immutable branding revision for the project, and records a
1112
+ * `branding.created` event. Branding revisions cannot be updated or deleted.
1113
+ * Every edit publishes a new revision. Flow responses carry the branding
1114
+ * revision the request's release pins.
1115
+ *
1116
+ * The `id` of the new revision is the revision ID a release pins for
1117
+ * `kind: branding`.
1118
+ *
1119
+ * The `liquid_template` is validated lexically on save (size, encoding,
1120
+ * banned patterns such as `<script>` tags, inline event handlers, and the
1121
+ * `| raw` filter). Authoritative LiquidJS validation runs at authoring
1122
+ * time, in `zitadel deploy` and `zitadel deploy --dry-run`.
1123
+ * @summary Publish a branding revision
1124
+ */
1125
+ declare const publishBranding: (publishBrandingBody: PublishBrandingBody, params: PublishBrandingParams, options?: Parameters<typeof customFetch>[1]) => Promise<PublishBranding201>;
1126
+ declare const getListBrandingUrl: (params: ListBrandingParams) => string;
1127
+ /**
1128
+ * Lists a project's branding revisions, newest first, paginated with a cursor.
1129
+ * The first entry of the first page is the newest revision.
1130
+ *
1131
+ * Every publish adds a revision, so the list grows without bound. Pass
1132
+ * `next_page_token` back as `page_token` to read the next page.
1133
+ *
1134
+ * The `id` of an entry is the revision ID that `getBranding` (`GET /branding/{branding_id}`) takes and
1135
+ * that a release pins for `kind: branding`.
1136
+ * @summary List branding revisions
1137
+ */
1138
+ declare const listBranding: (params: ListBrandingParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListBranding200>;
1139
+ declare const getGetBrandingUrl: (brandingId: string) => string;
1140
+ /**
1141
+ * Returns one branding revision, including its stored configuration. Pass the
1142
+ * `id` that `publishBranding` (`POST /branding`) or `listBranding` (`GET /branding`) returns.
1143
+ * @summary Get a branding revision by ID
1144
+ */
1145
+ declare const getBranding: (brandingId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetBranding200>;
1146
+ declare const getGetOAuthSettingsUrl: (oauthSettingsId: string) => string;
1147
+ /**
1148
+ * Returns one OAuth settings revision, including its stored settings. Pass
1149
+ * the `revision_id` of the `kind: oauth` pointer on a release, which
1150
+ * `buildRelease` (`POST /releases/build`) and `getRelease`
1151
+ * (`GET /releases/{release_id}`) return.
1152
+ *
1153
+ * A release is the only writer of OAuth settings, so there is no operation
1154
+ * that publishes a revision on its own: put `oauth` in the bundle that
1155
+ * `buildRelease` takes.
1156
+ * @summary Get an OAuth settings revision by ID
1157
+ */
1158
+ declare const getOAuthSettings: (oauthSettingsId: string, options?: Parameters<typeof customFetch>[1]) => Promise<GetOAuthSettings200>;
1159
+ declare const getPublishIdpUrl: (params: PublishIdpParams) => string;
1160
+ /**
1161
+ * Creates or revises an identity provider, an external sign-in such as
1162
+ * Google, from its connection document. If the slug does not already exist,
1163
+ * a new identity provider is created. If one with that slug already exists,
1164
+ * a revision is created.
1165
+ *
1166
+ * A revision gets a new `revision_id` and does not modify the identity
1167
+ * provider's `id`. Identity links, which tie a user to an account at the
1168
+ * provider, keep resolving. Releases and authentication attempts stay pinned
1169
+ * to the revision they captured.
1170
+ *
1171
+ * Identity fields are fixed for the life of the identity provider and a
1172
+ * revision that changes one is rejected: `protocol`, `subject_claim`, and
1173
+ * `issuer`, the field that names the authority. Their values decide which provider
1174
+ * account a stored subject belongs to, so changing one would silently
1175
+ * repoint existing identities at a different provider.
1176
+ *
1177
+ * `subject_claim` is optional, and `sub` is used as the default value. If a
1178
+ * revision updates `subject_claim` to a different value than the one set
1179
+ * during creation, the request is rejected.
1180
+ *
1181
+ * OIDC is the only protocol.
1182
+ *
1183
+ * The document is validated against the `idp-connection.json` schema before
1184
+ * anything is stored. The rules the server applies when it starts a sign-in
1185
+ * then run on the document, so a document that could never start one is
1186
+ * refused here with `idp.endpoints_partial`: the OIDC block sets an endpoint
1187
+ * without the others. Set no endpoint, and discovery fills them, or set
1188
+ * `authorization_endpoint`, `token_endpoint`, `jwks_uri`, and
1189
+ * `userinfo_endpoint`. `userinfo_endpoint` may be left out when
1190
+ * `id_token_mapping` is on, but setting it alone still counts as setting an
1191
+ * endpoint. The details list the missing endpoints.
1192
+ *
1193
+ * A refused document stores nothing, and on a revise the current revision
1194
+ * stays unchanged.
1195
+ * @summary Create or revise an identity provider
1196
+ */
1197
+ declare const publishIdp: (publishIdpBody: PublishIdpBody, params: PublishIdpParams, options?: Parameters<typeof customFetch>[1]) => Promise<PublishIdp200 | PublishIdp201>;
1198
+ declare const getQueryIdpsUrl: (params: QueryIdpsParams) => string;
1199
+ /**
1200
+ * Returns the identity providers of a project, external sign-ins such as
1201
+ * Google, paginated with a cursor. Each identity provider appears once, with
1202
+ * its newest revision.
1203
+ * @summary Query identity providers
1204
+ */
1205
+ declare const queryIdps: (queryIdpsBody: QueryIdpsBody, params: QueryIdpsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryIdps200>;
1206
+ declare const getGetIdpUrl: (idpId: string, params: GetIdpParams) => string;
1207
+ /**
1208
+ * Returns an identity provider, an external sign-in such as Google, by ID at
1209
+ * its newest revision. `listIdpRevisions` (`GET /idps/{idp_id}/revisions`) lists
1210
+ * every revision of it.
1211
+ *
1212
+ * The lookup is scoped to the project in `project_id`.
1213
+ * @summary Get an identity provider by ID
1214
+ */
1215
+ declare const getIdp: (idpId: string, params: GetIdpParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetIdp200>;
1216
+ declare const getListIdpRevisionsUrl: (idpId: string, params: ListIdpRevisionsParams) => string;
1217
+ /**
1218
+ * Lists every revision of one identity provider, an external sign-in such as
1219
+ * Google, newest first, paginated with a cursor. The order is fixed, so there
1220
+ * is no `sorting`.
1221
+ *
1222
+ * The lookup is scoped to the project in `project_id`.
1223
+ * @summary List the revisions of an identity provider
1224
+ */
1225
+ declare const listIdpRevisions: (idpId: string, params: ListIdpRevisionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListIdpRevisions200>;
1226
+ declare const getGetIdpRevisionUrl: (revisionId: string, params: GetIdpRevisionParams) => string;
1227
+ /**
1228
+ * Returns one revision of an identity provider, an external sign-in such as
1229
+ * Google, by its `revision_id`, the value an authentication attempt or a
1230
+ * release pins.
1231
+ *
1232
+ * The lookup is scoped to the project in `project_id`.
1233
+ * @summary Get a revision of an identity provider
1234
+ */
1235
+ declare const getIdpRevision: (revisionId: string, params: GetIdpRevisionParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetIdpRevision200>;
1236
+ declare const getPublishApplicationUrl: (params: PublishApplicationParams) => string;
1237
+ /**
1238
+ * Creates or revises a registered application that authenticates its users
1239
+ * via Zitadel. If the slug does not already exist in the project, a new
1240
+ * application is created. If one with that slug already exists, a revision
1241
+ * is created.
1242
+ *
1243
+ * A revision gets a new `revision_id` and does not modify the application's
1244
+ * `id`. Sending an unchanged document also creates a revision. Each client
1245
+ * is matched to the stored one by its slug and keeps its `client_id`: a
1246
+ * revision that changes a client's `client_id` is rejected with
1247
+ * `app.field_immutable`. A revision keeps every client of the
1248
+ * stored document: one that omits a client is also rejected with
1249
+ * `app.field_immutable`, since removing a client is not available
1250
+ * yet. A client with a new slug is a new client. It takes the `client_id`
1251
+ * the document supplies, or the server generates one, and every response
1252
+ * carries it in `definition`. A `client_id` another client of the project
1253
+ * holds, or ever held, is rejected with `app.client_id_taken`.
1254
+ *
1255
+ * Every new client gets a secret, generated by the server and returned once
1256
+ * in `client_secrets`. The server stores only its hash, so no later read
1257
+ * returns it.
1258
+ *
1259
+ * The document is validated against the `application.json` schema before
1260
+ * anything is stored, and then against the rules the authorization server
1261
+ * applies: `refresh_token` comes with `authorization_code`, a client with
1262
+ * `authorization_code` has at least one redirect URI, and each redirect
1263
+ * URI meets the rules `redirect_uris` states. A document that breaks one
1264
+ * is refused with `app.invalid`, whose details identify the
1265
+ * setting.
1266
+ *
1267
+ * If the document is refused, no change is stored and an existing
1268
+ * application keeps its current revision.
1269
+ * @summary Create or revise a registered application
1270
+ */
1271
+ declare const publishApplication: (publishApplicationBody: PublishApplicationBody, params: PublishApplicationParams, options?: Parameters<typeof customFetch>[1]) => Promise<PublishApplication200 | PublishApplication201>;
1272
+ declare const getGetApplicationUrl: (applicationId: string, params: GetApplicationParams) => string;
1273
+ /**
1274
+ * Returns an application that authenticates its users via Zitadel, by ID
1275
+ * at its newest revision, with each client's `client_id` in `definition`. It
1276
+ * never returns a client secret: `publishApplication` (`POST /applications`)
1277
+ * shows one once, when it creates the client.
1278
+ *
1279
+ * The lookup is scoped to the project in `project_id`.
1280
+ * @summary Get an application by ID
1281
+ */
1282
+ declare const getApplication: (applicationId: string, params: GetApplicationParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetApplication200>;
1283
+ declare const getListPoliciesUrl: (params: ListPoliciesParams) => string;
1284
+ /**
1285
+ * Lists the project's policies, one per operation, each as its newest
1286
+ * revision.
1287
+ *
1288
+ * A policy holds a project's rules for one operation, such as setting a
1289
+ * password. The list is ordered by `created_at` (first publish) and then
1290
+ * `id`. Filter by `operation` to read the policy of one operation; a project
1291
+ * that never published one gets an empty list.
1292
+ *
1293
+ * The lookup is scoped to the project in `project_id`.
1294
+ * @summary List policies
1295
+ */
1296
+ declare const listPolicies: (params: ListPoliciesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListPolicies200>;
1297
+ declare const getPublishPolicyUrl: (params: PublishPolicyParams) => string;
1298
+ /**
1299
+ * Publishes the project's policy for an operation as a new immutable
1300
+ * revision, creating the policy on its first publish. A revision applies
1301
+ * once a deployed release pins it. Nothing already stored is
1302
+ * re-evaluated, so a stricter password policy applies the next time a
1303
+ * password is set.
1304
+ *
1305
+ * A policy holds a project's rules for one operation, such as setting a
1306
+ * password. The first publish records a `policy.created` event and every
1307
+ * later one a `policy.updated` event.
1308
+ *
1309
+ * The request is typed by `operation`. An unknown operation or setting, or
1310
+ * a value of the wrong type or outside its bounds, answers `req.invalid`
1311
+ * like any malformed request.
1312
+ *
1313
+ * The operation's template then checks the config again, together with the
1314
+ * rules that relate settings to each other (a `min_length` above
1315
+ * `max_length`), and answers `pol.invalid`. Its `details.details.violations`
1316
+ * lists everything that failed, settings first, then rules.
1317
+ * `{"setting": "min_length"}` names one setting. `{"config_rule":
1318
+ * "min_length_not_above_max_length", "settings": ["min_length",
1319
+ * "max_length"]}` names a rule across settings, with the settings it reads.
1320
+ * Fix what the violations list and publish again. To check a config without
1321
+ * publishing it, call `evaluatePolicy` (`POST /policies/evaluate`).
1322
+ *
1323
+ * A setting left out is off, and `{}` switches every rule off; there are no
1324
+ * defaults.
1325
+ * @summary Publish a policy
1326
+ */
1327
+ declare const publishPolicy: (publishPolicyBody: PublishPolicyBody, params: PublishPolicyParams, options?: Parameters<typeof customFetch>[1]) => Promise<PublishPolicy201>;
1328
+ declare const getEvaluatePolicyUrl: (params: EvaluatePolicyParams) => string;
1329
+ /**
1330
+ * Evaluates a policy config against one request, without side effects, and
1331
+ * answers the decision the operation would reach. A policy holds a
1332
+ * project's rules for one operation, such as setting a password.
1333
+ *
1334
+ * Nothing is read from or written to the project. The config is the one in
1335
+ * the body, checked exactly as a publish checks it, so an invalid config
1336
+ * answers `pol.invalid` with the same violations. Fix the settings the
1337
+ * violations list and send the request again.
1338
+ *
1339
+ * `input` is what the operation's request carries, in the operation's own
1340
+ * terms (a password, not its length). The server derives what the policy
1341
+ * checks with the code the live operation runs, guards included. `facts`
1342
+ * states what the operation would look up at runtime, such as whether the
1343
+ * candidate matches one of the user's kept passwords.
1344
+ *
1345
+ * The decision and the names of the failed rules hold wherever the
1346
+ * operation runs. `code` and `violations` are what an API call answers. A
1347
+ * login flow shows the same rules as field errors on the password field
1348
+ * (`error.x-auth-methods#password_<rule>` in `step.error`).
1349
+ *
1350
+ * This operation does not choose which policy a project or release applies.
1351
+ * Read that policy, for example with `getPolicy` (`GET /policies/{policy_id}`), and pass its `config`.
1352
+ *
1353
+ * The caller needs read access to the project in `project_id`.
1354
+ * @summary Evaluate a policy
1355
+ */
1356
+ declare const evaluatePolicy: (evaluatePolicyBody: EvaluatePolicyBody, params: EvaluatePolicyParams, options?: Parameters<typeof customFetch>[1]) => Promise<EvaluatePolicy200>;
1357
+ declare const getGetPolicyUrl: (policyId: string, params: GetPolicyParams) => string;
1358
+ /**
1359
+ * Returns a policy as its newest revision. A revision applies once a deployed
1360
+ * release pins it.
1361
+ *
1362
+ * A policy holds a project's rules for one operation, such as setting a
1363
+ * password. Pass the `id` that `listPolicies` (`GET /policies`) or `publishPolicy` (`POST /policies`) returns.
1364
+ *
1365
+ * The lookup is scoped to the project in `project_id`: a policy of another
1366
+ * project answers not found exactly as an unknown ID does.
1367
+ * @summary Get a policy by ID
1368
+ */
1369
+ declare const getPolicy: (policyId: string, params: GetPolicyParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetPolicy200>;
1370
+ declare const getListPolicyRevisionsUrl: (policyId: string, params: ListPolicyRevisionsParams) => string;
1371
+ /**
1372
+ * Lists every revision of one policy, newest first, one page at a time. The
1373
+ * order is fixed, so there is no `sorting`.
1374
+ *
1375
+ * Each publish of a policy adds a revision. Pass the policy `id` that
1376
+ * `listPolicies` (`GET /policies`) or `publishPolicy` (`POST /policies`) returns.
1377
+ *
1378
+ * The lookup is scoped to the project in `project_id`: a policy of another
1379
+ * project answers not found exactly as an unknown ID does.
1380
+ * @summary List the revisions of a policy
1381
+ */
1382
+ declare const listPolicyRevisions: (policyId: string, params: ListPolicyRevisionsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListPolicyRevisions200>;
1383
+ declare const getGetPolicyRevisionUrl: (revisionId: string, params: GetPolicyRevisionParams) => string;
1384
+ /**
1385
+ * Returns one revision of a policy, the newest or an older one.
1386
+ *
1387
+ * Pass the `revision_id` that `publishPolicy` (`POST /policies`) or `listPolicyRevisions` (`GET /policies/{policy_id}/revisions`)
1388
+ * returns.
1389
+ *
1390
+ * The lookup is scoped to the project in `project_id`: a revision of another
1391
+ * project answers not found exactly as an unknown ID does.
1392
+ * @summary Get a policy revision by ID
1393
+ */
1394
+ declare const getPolicyRevision: (revisionId: string, params: GetPolicyRevisionParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetPolicyRevision200>;
1395
+ declare const getCreateReleaseUrl: (params: CreateReleaseParams) => string;
1396
+ /**
1397
+ * Creates a release from existing revisions, given as `(kind, revision_id)`
1398
+ * pairs. To build one from files on disk, use `buildRelease` (`POST /releases/build`)
1399
+ * (`POST /releases/build`).
1400
+ *
1401
+ * A release is a snapshot of the project's configuration: it pins one
1402
+ * revision of each resource it includes, and it is not tied to an origin.
1403
+ * Take each `revision_id` from the operation that created the revision, for
1404
+ * example the `id` that `publishBranding` (`POST /branding`) or `publishFlowDefinition` (`POST /flow_definitions`) returns.
1405
+ *
1406
+ * Each revision must exist in the project and is recorded under the handle
1407
+ * it declares. The release must be complete and consistent:
1408
+ *
1409
+ * - Every handle its revisions name must be in the release: a flow's
1410
+ * `user_schema`, and the identity provider (IdP) connections named by a
1411
+ * flow step's `sso_providers` or a schema's `x-auth-methods.sso.providers`.
1412
+ * A missing one answers `rel.unresolved_reference`, naming the resource and
1413
+ * the handle, for example `flow_definition default-login: user_schema
1414
+ * human-user not found`. Add the missing revision to the request.
1415
+ * - Every flow is validated as on save, against the user schema revision in
1416
+ * the release. A flow that fails answers `rel.invalid`, with the reason in
1417
+ * `details`. Fix the flow and send the request again.
1418
+ *
1419
+ * The call is idempotent on the set of revisions: the same revisions with a
1420
+ * different `message` answer `200` with the existing release. A new release
1421
+ * answers `201`.
1422
+ *
1423
+ * Creating a release does not deploy it. Pass the returned `id` to
1424
+ * `createDeployment` (`POST /deployments`) to make the release live.
1425
+ * @summary Create a release
1426
+ */
1427
+ declare const createRelease: (createReleaseBody: CreateReleaseBody, params: CreateReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateRelease200 | CreateRelease201>;
1428
+ declare const getListReleasesUrl: (params: ListReleasesParams) => string;
1429
+ /**
1430
+ * Lists the project's releases, newest first. A release is a snapshot of the
1431
+ * project's configuration.
1432
+ *
1433
+ * Entries carry the digest, the metadata and `revoked_at`. The pinned set is
1434
+ * omitted: read one release with `getRelease` (`GET /releases/{release_id}`) to get its pointers.
1435
+ *
1436
+ * The `id` of an entry is the release ID that `getRelease`,
1437
+ * `revokeRelease` (`POST /releases/{release_id}/revoke`) and `createDeployment` (`POST /deployments`) take.
1438
+ *
1439
+ * `content_hash` looks a release up by its content, as the CLI does when a
1440
+ * person types the digest a transcript printed. The project holds at most
1441
+ * one release per digest, so the filtered list has one entry or none. An
1442
+ * unknown digest is an empty list rather than an error. Paths take the
1443
+ * `rel_` ID only, so use the matched entry's `id` there.
1444
+ * @summary List releases
1445
+ */
1446
+ declare const listReleases: (params: ListReleasesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListReleases200>;
1447
+ declare const getBuildReleaseUrl: (params: BuildReleaseParams) => string;
1448
+ /**
1449
+ * Builds a release from the resources in `.zitadel/` as authored on disk,
1450
+ * grouped by kind, in one transaction.
1451
+ *
1452
+ * A release is a snapshot of the project's configuration. A failure anywhere
1453
+ * leaves no revision and no release. The caller records nothing. The CLI's
1454
+ * `deploy` command builds its release with this operation.
1455
+ *
1456
+ * If the project already holds a release with the same content, the same
1457
+ * `content_hash`, the request answers `200` with that release and allocates
1458
+ * nothing, however long ago it was built. Metadata is excluded from the
1459
+ * comparison, so the same content under a different `message` is the same
1460
+ * release.
1461
+ *
1462
+ * Otherwise every resource is compared with the project's newest revision of
1463
+ * the same handle. Unchanged content reuses that revision, and changed
1464
+ * content allocates a new one. The request answers `201` with the new
1465
+ * release. A policy whose config matches only an older revision allocates a
1466
+ * new one too, so the policy reads back as the config the build carried.
1467
+ *
1468
+ * A structurally malformed request is refused while decoding with
1469
+ * `req.invalid`, naming the offending fields. A well-formed bundle is then
1470
+ * checked resource by resource, as each kind's create endpoint checks it,
1471
+ * and every failure is reported at once. The request answers `400` with
1472
+ * `rel.invalid`, and `details.resources` lists each resource that failed.
1473
+ * Fix each listed resource and build again. A handle that resolves neither
1474
+ * in the bundle nor in the project answers `rel.unresolved_reference`,
1475
+ * naming the pointer and the handle. Add the missing resource to the bundle.
1476
+ *
1477
+ * Building writes revisions, so besides `release.write` it needs the write
1478
+ * scope of every kind the bundle carries a resource of: `schema.write`,
1479
+ * `flow_definition.write`, `branding.write`, `idp.write`, `policy.write`
1480
+ * and `oauth_settings.write`, as the per-kind create endpoints do. A missing scope answers `403` with
1481
+ * `rel.permission_denied`, naming the kind. Request a token with that scope.
1482
+ * An empty kind needs no scope.
1483
+ *
1484
+ * Building a release does not deploy it. A release is not tied to an origin,
1485
+ * and the same release can later be deployed to any number of origins
1486
+ * unchanged. Pass the returned `id` to `createDeployment` (`POST /deployments`).
1487
+ * @summary Build a release from files
1488
+ */
1489
+ declare const buildRelease: (buildReleaseBody: BuildReleaseBody, params: BuildReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<BuildRelease200 | BuildRelease201>;
1490
+ declare const getGetReleaseUrl: (releaseId: string, params: GetReleaseParams) => string;
1491
+ /**
1492
+ * Returns one release: its digest, its metadata, whether it was revoked, and
1493
+ * the `(kind, handle, revision_id)` tuples it pins. A release is a snapshot
1494
+ * of the project's configuration.
1495
+ *
1496
+ * The path takes the `rel_` ID only: the `id` that `createRelease` (`POST /releases`),
1497
+ * `buildRelease` (`POST /releases/build`) or `listReleases` (`GET /releases`) returns. To find a release from its
1498
+ * digest, list with the `content_hash` filter and read the matched entry's
1499
+ * `id`.
1500
+ *
1501
+ * The response does not embed resource content. Resolve each `revision_id`
1502
+ * through the per-kind read endpoints when the bytes are needed.
1503
+ *
1504
+ * The lookup is scoped to the project in `project_id`. A release ID
1505
+ * belonging to another project answers not found exactly as an unknown ID
1506
+ * does, so the endpoint cannot be used to probe for releases in projects the
1507
+ * caller cannot read.
1508
+ * @summary Get a release by ID
1509
+ */
1510
+ declare const getRelease: (releaseId: string, params: GetReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetRelease200>;
1511
+ declare const getRevokeReleaseUrl: (releaseId: string, params: RevokeReleaseParams) => string;
1512
+ /**
1513
+ * Revokes a release, so that its content is never served again. Pass the
1514
+ * `id` that `createRelease` (`POST /releases`), `buildRelease` (`POST /releases/build`) or `listReleases` (`GET /releases`) returns. It
1515
+ * records a `release.revoked` event.
1516
+ *
1517
+ * From then on the release cannot be deployed. Every path that would serve
1518
+ * it refuses it with `rel.revoked`, including a build that pins its digest.
1519
+ *
1520
+ * A release that any origin still serves cannot be revoked. An origin serves
1521
+ * the release of the newest deployment to it, so the call answers `409` with
1522
+ * `rel.in_use`, naming each such origin, that deployment and whether the
1523
+ * origin is primary or a preview. Deploy another release to a primary origin
1524
+ * or roll it back, and remove a preview, then revoke. Revoking therefore
1525
+ * never takes an origin down. Deployments that named the release earlier stay in
1526
+ * the history.
1527
+ *
1528
+ * The call is idempotent: revoking a release that is already revoked answers
1529
+ * `200` with the release unchanged, and `revoked_at` still names the first
1530
+ * revocation. There is no un-revoke. To serve that configuration again,
1531
+ * change it and build a new release: rebuilding unchanged content returns
1532
+ * the same revoked release.
1533
+ *
1534
+ * The call takes no body. The lookup is scoped to the project in
1535
+ * `project_id`, so a release ID of another project answers not found exactly
1536
+ * as an unknown ID does.
1537
+ * @summary Revoke a release
1538
+ */
1539
+ declare const revokeRelease: (releaseId: string, params: RevokeReleaseParams, options?: Parameters<typeof customFetch>[1]) => Promise<RevokeRelease200>;
1540
+ declare const getCreateGrantUrl: (params: CreateGrantParams) => string;
1541
+ /**
1542
+ * Creates a grant that gives a user or a team the `project.viewer`, `project.editor` or `project.admin` role on a project.
1543
+ *
1544
+ * The project is the one named by the `project_id` query parameter. Name the
1545
+ * principal with `user` (`user_id` or `identifier`) or `team` (`team_id` or
1546
+ * `name`). The `id` in the response (`asgn_<opaque>`) is the grant ID that
1547
+ * `getGrant` (`GET /grants/{grant_id}`) and `deleteGrant` (`DELETE /grants/{grant_id}`) take. Owning-team (`project.team`) grants are not
1548
+ * created here: a claim, which attaches a project to a team, creates them.
1549
+ *
1550
+ * An unrevoked grant with the same principal and relation holds that binding
1551
+ * even after `expires_at`. Revoke it with `deleteGrant` before you create it
1552
+ * again.
1553
+ *
1554
+ * Create does not accept `expand`. The `user_id` and team locators return `201`,
1555
+ * whose `user` and `team` carry only `user_id` and `team_id`. They still answer
1556
+ * `404` or `409` when the principal is missing or the grant already exists.
1557
+ * Creating by `user.identifier` answers `202` with no body on every outcome.
1558
+ * Granting the session caller's own user is `grant.invalid` on either user
1559
+ * locator. A `201` grant names its user or team by ID only: read it back
1560
+ * with `getGrant` for the identifier and display name. A `202` returns no
1561
+ * grant ID: find the grant with `queryGrants` (`POST /grants/query`), filtered by `user_id`.
1562
+ *
1563
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1564
+ * (`sessionCookie`). A session caller is authorized as the signed-in person
1565
+ * against the target project, even when the session belongs to another project.
1566
+ * Cookie requests follow that scheme's CSRF rules.
1567
+ * @summary Create a grant
1568
+ */
1569
+ declare const createGrant: (createGrantBody: CreateGrantBody, params: CreateGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateGrant201 | void>;
1570
+ declare const getQueryGrantsUrl: (params: QueryGrantsParams) => string;
1571
+ /**
1572
+ * Returns a page of a project's grants.
1573
+ *
1574
+ * Only unrevoked grants this API manages are listed, which bind a user or team
1575
+ * to the viewer, editor or admin role. Expired grants are included, so a client
1576
+ * can revoke them with `deleteGrant` (`DELETE /grants/{grant_id}`) before it grants the same binding again.
1577
+ * Project-secret setup (`sk_proj`) and owning-team (`relation=team`) rows are
1578
+ * not returned. Requires `project.read`.
1579
+ *
1580
+ * `expand: ["principal"]` adds envelope fields on `user` and `team`. For project
1581
+ * secrets it additionally requires `user.read` and `team.read`. A user-bound
1582
+ * console session that already passed the project check may expand without those scopes.
1583
+ *
1584
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1585
+ * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
1586
+ * @summary Query grants
1587
+ */
1588
+ declare const queryGrants: (queryGrantsBody: QueryGrantsBody, params: QueryGrantsParams, options?: Parameters<typeof customFetch>[1]) => Promise<QueryGrants200>;
1589
+ declare const getGetGrantUrl: (grantId: string, params: GetGrantParams) => string;
1590
+ /**
1591
+ * Returns a grant by ID, when this API manages it and it has not been revoked.
1592
+ *
1593
+ * This API manages grants that bind a user or team to the viewer, editor or
1594
+ * admin role. An expired grant is still returned, so you can revoke it with
1595
+ * `deleteGrant` (`DELETE /grants/{grant_id}`) before you grant the same binding again. Authorization still
1596
+ * ignores expired grants. Send `project_id` as well as the grant ID.
1597
+ * Misses, revoked grants, project-secret setup rows (`sk_proj`), owning-team
1598
+ * (`relation=team`) rows and grants of another project all return `404`.
1599
+ *
1600
+ * `expand=principal` adds envelope fields on `user` or `team`. For project
1601
+ * secrets it requires `user.read` and `team.read` in addition to `project.read`.
1602
+ * A user-bound console session that already passed the project check may expand
1603
+ * without those scopes.
1604
+ *
1605
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1606
+ * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
1607
+ * @summary Get a grant by ID
1608
+ */
1609
+ declare const getGrant: (grantId: string, params: GetGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetGrant200>;
1610
+ declare const getDeleteGrantUrl: (grantId: string, params: DeleteGrantParams) => string;
1611
+ /**
1612
+ * Revokes a grant this API manages and emits `authz.revoked`.
1613
+ *
1614
+ * A revoked grant cannot be restored: create a new one. Already-revoked, missing,
1615
+ * project-secret setup and owning-team grants return `404`. Expired grants can
1616
+ * still be revoked, so the binding can be reused.
1617
+ *
1618
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1619
+ * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
1620
+ * @summary Revoke a grant
1621
+ */
1622
+ declare const deleteGrant: (grantId: string, params: DeleteGrantParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
1623
+ declare const getCreateInvitationUrl: (params: CreateInvitationParams) => string;
1624
+ /**
1625
+ * Creates an invitation for a project, or replaces an existing one, and
1626
+ * returns the invitation and its one-shot link.
1627
+ *
1628
+ * Send `type` and the object named after it. `project_member` takes
1629
+ * `relation` (`viewer`, `editor` or `admin`). `team_member` takes `team_id`
1630
+ * and `role`, and answers `501` `not_implemented` until team invitations
1631
+ * ship. Optional `metadata.name` labels who the link is for. Optional
1632
+ * `replaces_invitation_id` replaces that invitation: the new row keeps the
1633
+ * original's `journey_id`, and the original is deleted in the same
1634
+ * transaction unless it was accepted.
1635
+ *
1636
+ * The `link` appears only in this response. Share it out of band; whoever
1637
+ * opens it and is signed in can redeem the role. It expires in 72 hours.
1638
+ * Refused for an unclaimed project, on a server without a platform project,
1639
+ * and when the project's pending-invitation cap is reached.
1640
+ *
1641
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1642
+ * (`sessionCookie`). Creation needs the same project `admin` check as
1643
+ * `createGrant` (`POST /grants`). Cookie requests follow that scheme's CSRF
1644
+ * rules.
1645
+ * @summary Create an invitation
1646
+ */
1647
+ declare const createInvitation: (createInvitationBody: CreateInvitationBody, params: CreateInvitationParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateInvitation201>;
1648
+ declare const getListInvitationsUrl: (params: ListInvitationsParams) => string;
1649
+ /**
1650
+ * Lists a project's invitations, newest first, in any status, paginated with
1651
+ * `limit` and `page_token`.
1652
+ *
1653
+ * Optional `status` and `type` filters narrow the page. `expired` is derived
1654
+ * on read from `expires_at`. Authenticate with a project secret (`oauth2`) or
1655
+ * a console session cookie (`sessionCookie`). Listing needs the same project
1656
+ * `admin` check as `createGrant` (`POST /grants`).
1657
+ * @summary List invitations
1658
+ */
1659
+ declare const listInvitations: (params: ListInvitationsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListInvitations200>;
1660
+ declare const getLookupInvitationUrl: () => string;
1661
+ /**
1662
+ * Returns a lean view of the invitation for the signed-in accept page:
1663
+ * project, role, inviter and expiry.
1664
+ *
1665
+ * Send the plaintext token from the invitation link fragment. Every unknown
1666
+ * or finished token answers the same opaque `404`. Authenticate with a
1667
+ * platform-project user session cookie (`sessionCookie`). Lookup is a read:
1668
+ * same-origin cookie requests need no `X-Zitadel-CSRF` token (accept and
1669
+ * reject still do). The call is rate-limited.
1670
+ * @summary Look up an invitation by token
1671
+ */
1672
+ declare const lookupInvitation: (lookupInvitationBody: LookupInvitationBody, options?: Parameters<typeof customFetch>[1]) => Promise<LookupInvitation200>;
1673
+ declare const getAcceptInvitationUrl: () => string;
1674
+ /**
1675
+ * Accepts a pending invitation for the signed-in user and returns the updated
1676
+ * invitation.
1677
+ *
1678
+ * Send the plaintext token from the invitation link fragment. Acceptance
1679
+ * grants the invitation's role (a project grant for `project_member`) when
1680
+ * the invitation is pending and unexpired, the project is active and claimed,
1681
+ * and the creator still holds `admin` unless `created_by` is null. The
1682
+ * inviter cannot accept their own invitation. Every unknown or finished token
1683
+ * answers the same opaque `404`.
1684
+ *
1685
+ * Authenticate with a platform-project user session cookie (`sessionCookie`).
1686
+ * Cookie requests follow that scheme's CSRF rules. The call is rate-limited.
1687
+ * @summary Accept an invitation
1688
+ */
1689
+ declare const acceptInvitation: (acceptInvitationBody: AcceptInvitationBody, options?: Parameters<typeof customFetch>[1]) => Promise<AcceptInvitation200>;
1690
+ declare const getRejectInvitationUrl: () => string;
1691
+ /**
1692
+ * Declines a pending invitation for the signed-in user and returns the
1693
+ * updated invitation with status `rejected`.
1694
+ *
1695
+ * Send the plaintext token from the invitation link fragment. Metadata is
1696
+ * cleared. Every unknown or finished token answers the same opaque `404`.
1697
+ * Authenticate with a platform-project user session cookie (`sessionCookie`).
1698
+ * Cookie requests follow that scheme's CSRF rules. The call is rate-limited.
1699
+ * @summary Decline an invitation
1700
+ */
1701
+ declare const rejectInvitation: (rejectInvitationBody: RejectInvitationBody, options?: Parameters<typeof customFetch>[1]) => Promise<RejectInvitation200>;
1702
+ declare const getGetInvitationUrl: (invitationId: string, params: GetInvitationParams) => string;
1703
+ /**
1704
+ * Returns one invitation by ID for the project named by `project_id`.
1705
+ *
1706
+ * The response never includes the redeem token or the create-time `link`.
1707
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1708
+ * (`sessionCookie`). Reading needs the same project `admin` check as
1709
+ * `createGrant` (`POST /grants`).
1710
+ * @summary Get an invitation
1711
+ */
1712
+ declare const getInvitation: (invitationId: string, params: GetInvitationParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetInvitation200>;
1713
+ declare const getCancelInvitationUrl: (invitationId: string, params: CancelInvitationParams) => string;
1714
+ /**
1715
+ * Deletes a pending invitation. Its link can no longer be redeemed. Only a
1716
+ * `pending` invitation can be cancelled; a finished invitation answers the
1717
+ * same opaque `404` as a miss. Expired invitations keep their row until a
1718
+ * later cleanup job removes them.
1719
+ *
1720
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
1721
+ * (`sessionCookie`). Cancelling needs the same project `admin` check as
1722
+ * `createGrant` (`POST /grants`). Cookie requests follow that scheme's CSRF
1723
+ * rules.
1724
+ * @summary Cancel an invitation
1725
+ */
1726
+ declare const cancelInvitation: (invitationId: string, params: CancelInvitationParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
1727
+ declare const getListEventsUrl: (params: ListEventsParams) => string;
1728
+ /**
1729
+ * Lists a project's audit events, newest first. Pass `order=asc` for oldest
1730
+ * first. Requires `events.read`.
1731
+ *
1732
+ * A project that is not claimed yet returns an empty list: its events are
1733
+ * stored but stay invisible until the
1734
+ * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds. The deployment's
1735
+ * platform operators read them from the start.
1736
+ *
1737
+ * Team-scoped credentials see only the events whose `team_id` matches the
1738
+ * credential's team. Team-scoped credentials are not issued today.
1739
+ *
1740
+ * Each item carries an `event_type` that says which type of event it is, and
1741
+ * the matching `payload`. To read one event, pass its `id` to `getEvent` (`GET /events/{event_id}`).
1742
+ *
1743
+ * Filters combine. These are answered from an index and fill their pages: no
1744
+ * filter, `category`, `event_type`, `status_class`, `operation_id` with or
1745
+ * without `status_class`, `request_id`, `flow_id`, and `session_id`,
1746
+ * `entity_id`, `user_id`, `actor_id` or `entity_type` with or without
1747
+ * `category`, each with or without the time bounds. Any other filter or combination is
1748
+ * matched event by event, over at most a few thousand events per request.
1749
+ * Such a page can hold fewer events than `limit`, or none, and still carry
1750
+ * `next_page_token`: keep passing the token until a response has none.
1751
+ * @summary List events
1752
+ */
1753
+ declare const listEvents: (params: ListEventsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListEvents200>;
1754
+ declare const getGetEventUrl: (eventId: string, params: GetEventParams) => string;
1755
+ /**
1756
+ * Returns one event of a project by its ID. Requires `events.read`.
1757
+ *
1758
+ * Pass the `id` of an event that `listEvents` (`GET /events`) returns, with its
1759
+ * `project_id`. An unknown ID and the ID of another project's event both
1760
+ * answer `404`.
1761
+ *
1762
+ * A project that is not claimed yet also answers `404`: its events are
1763
+ * stored but stay invisible until the
1764
+ * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds. The deployment's
1765
+ * platform operators read them from the start.
1766
+ * @summary Get an event by ID
1767
+ */
1768
+ declare const getEvent: (eventId: string, params: GetEventParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetEvent200>;
1769
+ declare const getListVariablesUrl: (params: ListVariablesParams) => string;
1770
+ /**
1771
+ * Returns the project's variables, keyed by name, each with its value for
1772
+ * each kind: `primary` for primary origins and `preview` for preview URLs.
1773
+ * With `kind`, only that kind's values are returned.
1774
+ *
1775
+ * Secret values are not returned. A secret appears as `{"secret": true}`,
1776
+ * which says a value is held without disclosing it.
1777
+ * @summary Get a project's variables
1778
+ */
1779
+ declare const listVariables: (params: ListVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListVariables200>;
1780
+ declare const getSetVariablesUrl: (params: SetVariablesParams) => string;
1781
+ /**
1782
+ * Sets, replaces and removes the project's variables for the requested
1783
+ * kind, in one request. Names not in the body are untouched. Existing
1784
+ * deployments keep the values they froze.
1785
+ *
1786
+ * A bare scalar enters a non-secret value. `{"value": …, "secret": true}`
1787
+ * stores the value encrypted under the project's active `secret` key, after
1788
+ * which it can be referenced but not read back. `null` removes the name
1789
+ * (RFC 7386), which is how several variables are removed in one request.
1790
+ * Removing a name the project does not hold is a no-op rather than an error.
1791
+ *
1792
+ * Without `kind`, a plain value is written for both kinds. A secret is
1793
+ * written for `primary` only and removes the name's `preview` value, so a
1794
+ * preview never keeps a plaintext copy. Set a preview secret with
1795
+ * `kind=preview`. `null` removes the name from both kinds.
1796
+ *
1797
+ * The body is applied whole or not at all, so a rejected request leaves the
1798
+ * project's variables exactly as they were. Fix what the error reports and
1799
+ * send the request again. Writing the same name twice replaces the value
1800
+ * rather than duplicating it, which makes a retry safe.
1801
+ *
1802
+ * Each kind written records a `variable.set` event, and each kind removed a
1803
+ * `variable.removed` event. The value never appears in either.
1804
+ * @summary Update a project's variables
1805
+ */
1806
+ declare const setVariables: (setVariablesBody: SetVariablesBody, params: SetVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<SetVariables200>;
1807
+ declare const getGetVariableUrl: (variableName: string, params: GetVariableParams) => string;
1808
+ /**
1809
+ * Returns one variable by name, with its value for each kind. A variable
1810
+ * holds a value per kind: `primary` for primary origins and `preview` for
1811
+ * preview URLs.
1812
+ *
1813
+ * Pass the name of a variable the project holds, as `listVariables` (`GET /variables`) lists
1814
+ * it. A name with no value for the requested kind answers `var.not_found`;
1815
+ * set it with `setVariables` (`PATCH /variables`). A secret reads back as `{"secret": true}`.
1816
+ * @summary Get a variable by name
1817
+ */
1818
+ declare const getVariable: (variableName: string, params: GetVariableParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetVariable200>;
1819
+ declare const getDeleteVariableUrl: (variableName: string, params: DeleteVariableParams) => string;
1820
+ /**
1821
+ * Deletes a variable for the requested kind, or for both kinds without
1822
+ * `kind`. Existing deployments keep the values they froze. Each kind removed
1823
+ * records a `variable.removed` event.
1824
+ *
1825
+ * A name with no value for that kind answers `var.not_found`: there is
1826
+ * nothing to delete. `listVariables` (`GET /variables`) lists the names the project holds. To
1827
+ * remove several names in one request, or to remove a name that may already
1828
+ * be absent, send `null` for each name to `setVariables` (`PATCH /variables`).
1829
+ * @summary Delete a variable by name
1830
+ */
1831
+ declare const deleteVariable: (variableName: string, params: DeleteVariableParams, options?: Parameters<typeof customFetch>[1]) => Promise<void>;
1832
+ declare const getCreateDeploymentUrl: (params: CreateDeploymentParams) => string;
1833
+ /**
1834
+ * Creates a deployment: it makes a release live on the project's primary
1835
+ * origins or on preview URLs.
1836
+ *
1837
+ * A release is a snapshot of the project's configuration. A deployment makes
1838
+ * a release live on origins and freezes the project's variable values for
1839
+ * its kind, with no fallback between primary and preview values. The call is
1840
+ * atomic: on success every target serves the release and the deployment is
1841
+ * recorded, and it records a `deployment.created` event. On failure nothing
1842
+ * changes and nothing is recorded.
1843
+ *
1844
+ * Name the release by exactly one of `release_id` or `content_hash`. Take the
1845
+ * release ID from the `id` that `createRelease` (`POST /releases`), `buildRelease` (`POST /releases/build`) or
1846
+ * `listReleases` (`GET /releases`) returns. The release must already exist in the project.
1847
+ * `targets` is `primary`, which means every primary origin, or a list of
1848
+ * preview URLs. `["primary"]`, which clients released before this shape
1849
+ * send, still deploys to every primary origin until 1.0.0; its answer
1850
+ * carries a `Deprecation` header (RFC 9745) and a `Link` to these docs.
1851
+ *
1852
+ * The project's newest primary deployment also serves every request with no
1853
+ * `Origin`, such as a backend, a native app or the CLI, and the console's
1854
+ * login preview of a project that does not list the console's origin. A
1855
+ * preview URL serves only itself.
1856
+ *
1857
+ * `primary` records the project's current primary origins. One added later
1858
+ * serves nothing until the next deployment to `primary`; one removed stops
1859
+ * being served at once.
1860
+ *
1861
+ * A deployment to `primary` changes nothing when the project's newest
1862
+ * primary deployment has the same release and frozen values and covers
1863
+ * exactly the current primary origins. The call then answers `200` with that
1864
+ * deployment. Any other request writes a new deployment and answers `201`.
1865
+ * For preview URLs, that deployment renews their previews.
1866
+ *
1867
+ * If the request is refused, fix the cause and send it again:
1868
+ * - `400 dep.invalid`: the request names both or neither of `release_id` and
1869
+ * `content_hash`, names a primary origin among the preview URLs, sends
1870
+ * `primary` for a project with no primary origin, sends
1871
+ * `ttl` with `primary`, or sends a `ttl` above 365 days (`P365D`). Correct
1872
+ * the request.
1873
+ * - `400 dep.variables_missing`: a variable the release references has no
1874
+ * value for the kind. `details` names the kind and every missing variable.
1875
+ * Set each one for that kind with `setVariables` (`PATCH /variables`), then deploy again.
1876
+ * - `403 proj.origin_not_allowed`: a preview URL matches no preview pattern
1877
+ * of the project, or is a loopback URL. Use a URL that matches a pattern.
1878
+ * - `404 rel.not_found`: the release ID or digest names no release in this
1879
+ * project. List the project's releases with `listReleases`.
1880
+ * - `409 dep.conflict`: `expected_deployment_id` is not the deployment this
1881
+ * write replaces, and `details.deployment` is that deployment. Inspect it,
1882
+ * then retry with its ID as `expected_deployment_id`, or stop.
1883
+ * - `409 rel.revoked`: the release is revoked and cannot be deployed. Change
1884
+ * the configuration and build a new release, or deploy a release that is
1885
+ * not revoked. Rebuilding unchanged content returns the same revoked release.
1886
+ * @summary Create a deployment
1887
+ */
1888
+ declare const createDeployment: (createDeploymentBody: CreateDeploymentBody, params: CreateDeploymentParams, options?: Parameters<typeof customFetch>[1]) => Promise<CreateDeployment200 | CreateDeployment201>;
1889
+ declare const getListDeploymentsUrl: (params: ListDeploymentsParams) => string;
1890
+ /**
1891
+ * Lists the project's deployments: the history of what ran where and when,
1892
+ * or with `live=true` what is served now.
1893
+ *
1894
+ * A deployment makes a release live on origins. By default the list is the
1895
+ * history, newest first: every deployment of the project, with every target
1896
+ * it made the release live on. With `origin`, it is the history of that
1897
+ * origin alone. With `release_id`, it is every deployment of that release,
1898
+ * superseded ones included.
1899
+ *
1900
+ * With `live=true`, the list is what is served now, newest first. It holds
1901
+ * the project's newest primary deployment with every origin it names, an
1902
+ * origin the project no longer lists included: that deployment also serves
1903
+ * requests with no `Origin`, so it stays live. It also holds the newest
1904
+ * deployment to each live preview URL, narrowed to the URLs it still
1905
+ * serves. Combined with `origin`, it is the one deployment that origin
1906
+ * serves, or empty, as it is for an origin the project no longer lists.
1907
+ * Combined with `release_id`, it is the deployments of the live view that
1908
+ * serve that release: the primary deployment only when it is of that
1909
+ * release, and the previews serving it.
1910
+ *
1911
+ * The `id` of an entry is the deployment ID that `getDeployment` (`GET /deployments/{deployment_id}`),
1912
+ * `listDeploymentVariables` (`GET /deployments/{deployment_id}/variables`) and `rollbackDeployment` (`POST /deployments/{deployment_id}/rollback`) take.
1913
+ *
1914
+ * `expand: ["release"]` embeds the release each deployment made live. It
1915
+ * requires `release.read` and does not change the ordering or the page
1916
+ * tokens.
1917
+ * @summary List deployments
1918
+ */
1919
+ declare const listDeployments: (params: ListDeploymentsParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListDeployments200>;
1920
+ declare const getGetDeploymentUrl: (deploymentId: string, params: GetDeploymentParams) => string;
1921
+ /**
1922
+ * Returns one deployment: the release it made live, the origins it made it
1923
+ * live on, and whether they still serve it.
1924
+ *
1925
+ * Pass the `id` that `createDeployment` (`POST /deployments`), `rollbackDeployment` (`POST /deployments/{deployment_id}/rollback`) or
1926
+ * `listDeployments` (`GET /deployments`) returns.
1927
+ *
1928
+ * The lookup is scoped to the project in `project_id`. A deployment ID
1929
+ * belonging to another project answers not found exactly as an unknown ID
1930
+ * does, so the endpoint cannot be used to probe for deployments in projects
1931
+ * the caller cannot read.
1932
+ * @summary Get a deployment by ID
1933
+ */
1934
+ declare const getDeployment: (deploymentId: string, params: GetDeploymentParams, options?: Parameters<typeof customFetch>[1]) => Promise<GetDeployment200>;
1935
+ declare const getRollbackDeploymentUrl: (deploymentId: string, params: RollbackDeploymentParams) => string;
1936
+ /**
1937
+ * Rolls back to an earlier deployment by deploying its release again to the
1938
+ * same origins, with the same variable values. A listed primary origin that
1939
+ * deployment left out serves nothing until the next deployment to `primary`,
1940
+ * and one it named serves its release again, even when the live deployment
1941
+ * left it out.
1942
+ *
1943
+ * A release is a snapshot of the project's configuration. A deployment makes
1944
+ * a release live on origins and freezes the project's variable values with
1945
+ * it.
1946
+ *
1947
+ * The deployment ID in the path is the deployment to return to, not the one
1948
+ * to undo. Take it from the `id` that `listDeployments` (`GET /deployments`) returns, which lists
1949
+ * the newest deployment first.
1950
+ *
1951
+ * A rollback is a new deployment, not an undo. It has `reason: rollback`,
1952
+ * and its `rollback_to` names the deployment you returned to. It uses the
1953
+ * variable values that deployment froze, not the project's current ones, and
1954
+ * creates no release.
1955
+ *
1956
+ * To guard against a deployment that landed since you looked, set
1957
+ * `expected_deployment_id` in the request body to the newest primary
1958
+ * deployment, the one live now. The call then fails with `409 dep.conflict`
1959
+ * if another deployment has replaced it.
1960
+ *
1961
+ * A rollback is idempotent like a deployment to `primary`. When nothing
1962
+ * would change, it answers `200` with the newest primary deployment.
1963
+ *
1964
+ * If the request is refused:
1965
+ * - `400 dep.invalid`: the deployment went to preview URLs, which cannot be
1966
+ * rolled back. Deploy to the preview again with `createDeployment` (`POST /deployments`).
1967
+ * - `404 dep.not_found`: no deployment of the project has that ID, or that
1968
+ * deployment recorded no variables to restore, so it cannot be a rollback
1969
+ * target. List them with `listDeployments` and pick another.
1970
+ * - `409 dep.conflict`: `expected_deployment_id` is not the project's
1971
+ * newest primary deployment, and `details.deployment` is that deployment.
1972
+ * Inspect it, then retry with its ID, or stop.
1973
+ * - `409 rel.revoked`: the release of that deployment is revoked and cannot
1974
+ * be deployed. Roll back to a deployment of a release that is not revoked.
1975
+ * @summary Roll back to a deployment
1976
+ */
1977
+ declare const rollbackDeployment: (deploymentId: string, params: RollbackDeploymentParams, rollbackDeploymentBody?: RollbackDeploymentBody, options?: Parameters<typeof customFetch>[1]) => Promise<RollbackDeployment200 | RollbackDeployment201>;
1978
+ declare const getListDeploymentVariablesUrl: (deploymentId: string, params: ListDeploymentVariablesParams) => string;
1979
+ /**
1980
+ * Returns the variable values the deployment froze when it was made. Later
1981
+ * changes to the project's variables do not affect them. A secret reads
1982
+ * back as `{"secret": true}`.
1983
+ *
1984
+ * Pass the `id` that `createDeployment` (`POST /deployments`) or `listDeployments` (`GET /deployments`) returns.
1985
+ * @summary Get a deployment's variables
1986
+ */
1987
+ declare const listDeploymentVariables: (deploymentId: string, params: ListDeploymentVariablesParams, options?: Parameters<typeof customFetch>[1]) => Promise<ListDeploymentVariables200>;
1988
+ export { getDeleteVariableUrl as $, getUser as $n, zitadelNextGen_d_exports as $r, getListPolicyRevisionsUrl as $t, getAuthAttempt as A, getQuerySessionsUrl as An, publishSchema as Ar, getGetReleaseUrl as At, getCreateFlowUrl as B, getRevokeSessionUrl as Bn, revokeMySession as Br, getInvitation as Bt, deleteUser as C, getPublishFlowDefinitionUrl as Cn, listVariables as Cr, getGetOAuthSettingsUrl as Ct, getAcceptInvitationUrl as D, getQueryGrantsUrl as Dn, publishFlowDefinition as Dr, getGetProjectClaimWindowUrl as Dt, exchangeHandoff as E, getPublishSchemaUrl as En, publishBranding as Er, getGetProjectClaimStatusUrl as Et, getCompleteUserPasskeyRegistrationUrl as F, getRelease as Fn, queryTeams as Fr, getGetUserUrl as Ft, getCreateReleaseUrl as G, getSetUserPasswordUrl as Gn, setUserPassword as Gr, getListFlowDefinitionsUrl as Gt, getCreateInvitationUrl as H, getSchema as Hn, revokeSession as Hr, getListDeploymentVariablesUrl as Ht, getCreateAuthAttemptChallengeUrl as I, getRemoveProjectOriginUrl as In, queryUsers as Ir, getGetVariableUrl as It, getCreateUserPasskeyRegistrationUrl as J, getTeam as Jn, updateMyUser as Jr, getListMyIdentityLinksUrl as Jt, getCreateSessionUrl as K, getSetVariablesUrl as Kn, setVariables as Kr, getListIdpRevisionsUrl as Kt, getCreateAuthAttemptHandoffUrl as L, getRemoveProjectPreviewUrl as Ln, rejectInvitation as Lr, getGrant as Lt, getBuildReleaseUrl as M, getQueryUsersUrl as Mn, queryIdps as Mr, getGetSessionUrl as Mt, getCancelInvitationUrl as N, getReady as Nn, queryProjects as Nr, getGetTeamUrl as Nt, getAddProjectOriginUrl as O, getQueryIdpsUrl as On, publishIdp as Or, getGetProjectUrl as Ot, getCompleteProjectClaimUrl as P, getRejectInvitationUrl as Pn, querySessions as Pr, getGetUserPasswordStateUrl as Pt, getDeleteUserUrl as Q, getUpdateUserUrl as Qn, verifyAuthAttemptChallenge as Qr, getListPoliciesUrl as Qt, getCreateAuthAttemptUrl as R, getRevokeMySessionUrl as Rn, removeProjectOrigin as Rr, getIdp as Rt, deleteGrant as S, getPublishBrandingUrl as Sn, listUserTeams as Sr, getGetMyUserUrl as St, evaluatePolicy as T, getPublishPolicyUrl as Tn, publishApplication as Tr, getGetPolicyUrl as Tt, getCreateProjectClaimUrl as U, getSearchUrl as Un, rollbackDeployment as Ur, getListDeploymentsUrl as Ut, getCreateGrantUrl as V, getRollbackDeploymentUrl as Vn, revokeRelease as Vr, getListBrandingUrl as Vt, getCreateProjectUrl as W, getSession as Wn, search as Wr, getListEventsUrl as Wt, getDeactivateTeamUrl as X, getUpdateProjectUrl as Xn, updateTeam as Xr, getListMyProjectsUrl as Xt, getCreateUserUrl as Y, getUpdateMyUserUrl as Yn, updateProject as Yr, getListMyPasskeysUrl as Yt, getDeleteGrantUrl as Z, getUpdateTeamUrl as Zn, updateUser as Zr, getListMyTeamsUrl as Zt, createSession as _, getPolicyRevision as _n, listProjectPreviews as _r, getGetLiveUrl as _t, completeProjectClaim as a, getListUserPasskeysUrl as an, listDeployments as ar, getFlowStep as at, createUserPasskeyRegistration as b, getProjectClaimWindow as bn, listUserIdentityLinks as br, getGetMySessionUrl as bt, createAuthAttemptChallenge as c, getLive as cn, listIdpRevisions as cr, getGetBrandingUrl as ct, createFlow as d, getMySession as dn, listMyPasskeys as dr, getGetFlowDefinitionUrl as dt, getListProjectAdminsUrl as en, getUserPasswordState as er, getDeployment as et, createGrant as f, getMySessionCsrfToken as fn, listMyProjects as fr, getGetFlowStepUrl as ft, createRelease as g, getPolicy as gn, listProjectAdmins as gr, getGetInvitationUrl as gt, createProjectClaim as h, getOAuthSettings as hn, listPolicyRevisions as hr, getGetIdpUrl as ht, cancelInvitation as i, getListUserIdentityLinksUrl as in, listDeploymentVariables as ir, getFlowDefinition as it, getBranding as j, getQueryTeamsUrl as jn, queryGrants as jr, getGetSchemaUrl as jt, getApplication as k, getQueryProjectsUrl as kn, publishPolicy as kr, getGetReadyUrl as kt, createAuthAttemptHandoff as l, getLookupInvitationUrl as ln, listInvitations as lr, getGetDeploymentUrl as lt, createProject as m, getMyUserSchema as mn, listPolicies as mr, getGetIdpRevisionUrl as mt, addProjectOrigin as n, getListReleasesUrl as nn, getVerifyAuthAttemptChallengeUrl as nr, getEvent as nt, completeUserPasskeyRegistration as o, getListUserTeamsUrl as on, listEvents as or, getGetApplicationUrl as ot, createInvitation as p, getMyUser as pn, listMyTeams as pr, getGetGrantUrl as pt, getCreateTeamUrl as q, getSubmitFlowStepUrl as qn, submitFlowStep as qr, getListInvitationsUrl as qt, buildRelease as r, getListSchemasUrl as rn, listBranding as rr, getExchangeHandoffUrl as rt, createAuthAttempt as s, getListVariablesUrl as sn, listFlowDefinitions as sr, getGetAuthAttemptUrl as st, acceptInvitation as t, getListProjectPreviewsUrl as tn, getVariable as tr, getEvaluatePolicyUrl as tt, createDeployment as u, getMyPasswordState as un, listMyIdentityLinks as ur, getGetEventUrl as ut, createTeam as v, getProject as vn, listReleases as vr, getGetMyPasswordStateUrl as vt, deleteVariable as w, getPublishIdpUrl as wn, lookupInvitation as wr, getGetPolicyRevisionUrl as wt, deactivateTeam as x, getPublishApplicationUrl as xn, listUserPasskeys as xr, getGetMyUserSchemaUrl as xt, createUser as y, getProjectClaimStatus as yn, listSchemas as yr, getGetMySessionCsrfTokenUrl as yt, getCreateDeploymentUrl as z, getRevokeReleaseUrl as zn, removeProjectPreview as zr, getIdpRevision as zt };
1989
+ //# sourceMappingURL=zitadelNextGen-SGK-fW1x.d.mts.map