@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
@@ -10,46 +10,43 @@ import {
10
10
  } from '../../runtime/base-url';
11
11
 
12
12
  import type {
13
- AddOrigin201,
14
- AddOriginBody,
15
- BeginUserPasskeyRegistration201,
16
- BeginUserPasskeyRegistrationBody,
13
+ AcceptInvitation200,
14
+ AcceptInvitationBody,
15
+ AddProjectOrigin201,
16
+ AddProjectOriginBody,
17
17
  BuildRelease200,
18
18
  BuildRelease201,
19
19
  BuildReleaseBody,
20
20
  BuildReleaseParams,
21
- CompleteClaim200,
22
- CompleteClaimBody,
21
+ CancelInvitationParams,
22
+ CompleteProjectClaim200,
23
+ CompleteProjectClaimBody,
24
+ CompleteUserPasskeyRegistration201,
25
+ CompleteUserPasskeyRegistrationBody,
23
26
  CreateAuthAttempt201,
24
27
  CreateAuthAttemptBody,
25
- CreateBranding201,
26
- CreateBrandingBody,
27
- CreateBrandingParams,
28
+ CreateAuthAttemptChallenge201,
29
+ CreateAuthAttemptChallengeBody,
30
+ CreateAuthAttemptHandoff200,
28
31
  CreateDeployment200,
29
32
  CreateDeployment201,
30
33
  CreateDeploymentBody,
31
34
  CreateDeploymentParams,
32
35
  CreateFlow201,
33
36
  CreateFlowBody,
34
- CreateFlowDefinition201,
35
- CreateFlowDefinitionBody,
36
37
  CreateGrant201,
37
38
  CreateGrantBody,
38
39
  CreateGrantParams,
39
- CreateHandoff200,
40
- CreateIdp200,
41
- CreateIdp201,
42
- CreateIdpBody,
43
- CreateIdpParams,
40
+ CreateInvitation201,
41
+ CreateInvitationBody,
42
+ CreateInvitationParams,
44
43
  CreateProject201,
45
44
  CreateProjectBody,
45
+ CreateProjectClaim201,
46
46
  CreateRelease200,
47
47
  CreateRelease201,
48
48
  CreateReleaseBody,
49
49
  CreateReleaseParams,
50
- CreateSchema201,
51
- CreateSchemaBody,
52
- CreateSchemaParams,
53
50
  CreateSession201,
54
51
  CreateSessionBody,
55
52
  CreateTeam201,
@@ -58,6 +55,8 @@ import type {
58
55
  CreateUser201,
59
56
  CreateUserBody,
60
57
  CreateUserParams,
58
+ CreateUserPasskeyRegistration201,
59
+ CreateUserPasskeyRegistrationBody,
61
60
  DeleteGrantParams,
62
61
  DeleteVariableParams,
63
62
  EvaluatePolicy200,
@@ -66,28 +65,24 @@ import type {
66
65
  ExchangeHandoff200,
67
66
  ExchangeHandoffBody,
68
67
  ExchangeHandoffParams,
69
- FinishUserPasskeyRegistration201,
70
- FinishUserPasskeyRegistrationBody,
68
+ GetApplication200,
69
+ GetApplicationParams,
71
70
  GetAuthAttempt200,
72
- GetBrandingById200,
73
- GetClaimStatus200,
74
- GetClaimStatusParams,
75
- GetClaimWindow200,
76
- GetClaimWindowParams,
77
- GetDeploymentById200,
78
- GetDeploymentByIdParams,
79
- GetDeploymentVariables200,
80
- GetDeploymentVariablesParams,
71
+ GetBranding200,
72
+ GetDeployment200,
73
+ GetDeploymentParams,
81
74
  GetEvent200,
82
75
  GetEventParams,
83
76
  GetFlowDefinition200,
84
77
  GetFlowStep200,
85
78
  GetGrant200,
86
79
  GetGrantParams,
87
- GetIdpById200,
88
- GetIdpByIdParams,
89
- GetIdpRevisionById200,
90
- GetIdpRevisionByIdParams,
80
+ GetIdp200,
81
+ GetIdpParams,
82
+ GetIdpRevision200,
83
+ GetIdpRevisionParams,
84
+ GetInvitation200,
85
+ GetInvitationParams,
91
86
  GetLiveDefault,
92
87
  GetMyPasswordState200,
93
88
  GetMyPasswordStateParams,
@@ -99,30 +94,32 @@ import type {
99
94
  GetMyUserParams,
100
95
  GetMyUserSchema200,
101
96
  GetMyUserSchemaParams,
97
+ GetOAuthSettings200,
102
98
  GetPolicy200,
103
99
  GetPolicyParams,
104
100
  GetPolicyRevision200,
105
101
  GetPolicyRevisionParams,
106
102
  GetProject200,
103
+ GetProjectClaimStatus200,
104
+ GetProjectClaimStatusParams,
105
+ GetProjectClaimWindow200,
106
+ GetProjectClaimWindowParams,
107
107
  GetReadyDefault,
108
- GetReleaseById200,
109
- GetReleaseByIdParams,
110
- GetSchemaById200,
111
- GetSchemaByIdParams,
108
+ GetRelease200,
109
+ GetReleaseParams,
110
+ GetSchema200,
111
+ GetSchemaParams,
112
112
  GetSession200,
113
113
  GetTeam200,
114
- GetUserByID200,
115
- GetUserByIDParams,
114
+ GetUser200,
115
+ GetUserParams,
116
116
  GetUserPasswordState200,
117
117
  GetVariable200,
118
118
  GetVariableParams,
119
- GetVariables200,
120
- GetVariablesParams,
121
- InitClaim201,
122
- IssueChallenge201,
123
- IssueChallengeBody,
124
- ListBranding200Item,
119
+ ListBranding200,
125
120
  ListBrandingParams,
121
+ ListDeploymentVariables200,
122
+ ListDeploymentVariablesParams,
126
123
  ListDeployments200,
127
124
  ListDeploymentsParams,
128
125
  ListEvents200,
@@ -131,6 +128,8 @@ import type {
131
128
  ListFlowDefinitionsParams,
132
129
  ListIdpRevisions200,
133
130
  ListIdpRevisionsParams,
131
+ ListInvitations200,
132
+ ListInvitationsParams,
134
133
  ListMyIdentityLinks200,
135
134
  ListMyIdentityLinksParams,
136
135
  ListMyPasskeys200,
@@ -143,10 +142,10 @@ import type {
143
142
  ListPoliciesParams,
144
143
  ListPolicyRevisions200,
145
144
  ListPolicyRevisionsParams,
146
- ListPreviews200,
147
- ListPreviewsParams,
148
145
  ListProjectAdmins200,
149
146
  ListProjectAdminsParams,
147
+ ListProjectPreviews200,
148
+ ListProjectPreviewsParams,
150
149
  ListReleases200,
151
150
  ListReleasesParams,
152
151
  ListSchemas200,
@@ -157,16 +156,29 @@ import type {
157
156
  ListUserPasskeysParams,
158
157
  ListUserTeams200,
159
158
  ListUserTeamsParams,
160
- PatchMyUser200,
161
- PatchMyUserBody,
162
- PatchMyUserParams,
163
- PatchProject200,
164
- PatchProjectBody,
165
- PatchUserByID200,
166
- PatchUserByIDBody,
159
+ ListVariables200,
160
+ ListVariablesParams,
161
+ LookupInvitation200,
162
+ LookupInvitationBody,
163
+ PublishApplication200,
164
+ PublishApplication201,
165
+ PublishApplicationBody,
166
+ PublishApplicationParams,
167
+ PublishBranding201,
168
+ PublishBrandingBody,
169
+ PublishBrandingParams,
170
+ PublishFlowDefinition201,
171
+ PublishFlowDefinitionBody,
172
+ PublishIdp200,
173
+ PublishIdp201,
174
+ PublishIdpBody,
175
+ PublishIdpParams,
167
176
  PublishPolicy201,
168
177
  PublishPolicyBody,
169
178
  PublishPolicyParams,
179
+ PublishSchema201,
180
+ PublishSchemaBody,
181
+ PublishSchemaParams,
170
182
  QueryGrants200,
171
183
  QueryGrantsBody,
172
184
  QueryGrantsParams,
@@ -184,8 +196,10 @@ import type {
184
196
  QueryUsers200,
185
197
  QueryUsersBody,
186
198
  QueryUsersParams,
187
- RemoveOriginBody,
188
- RemovePreviewBody,
199
+ RejectInvitation200,
200
+ RejectInvitationBody,
201
+ RemoveProjectOriginBody,
202
+ RemoveProjectPreviewBody,
189
203
  RevokeMySessionParams,
190
204
  RevokeRelease200,
191
205
  RevokeReleaseParams,
@@ -193,16 +207,26 @@ import type {
193
207
  RollbackDeployment201,
194
208
  RollbackDeploymentBody,
195
209
  RollbackDeploymentParams,
210
+ Search200,
211
+ SearchBody,
212
+ SearchParams,
196
213
  SetUserPasswordBody,
214
+ SetVariables200,
215
+ SetVariablesBody,
216
+ SetVariablesParams,
197
217
  SubmitFlowStep200,
198
218
  SubmitFlowStepBody,
219
+ UpdateMyUser200,
220
+ UpdateMyUserBody,
221
+ UpdateMyUserParams,
222
+ UpdateProject200,
223
+ UpdateProjectBody,
199
224
  UpdateTeam200,
200
225
  UpdateTeamBody,
201
- UpdateVariables200,
202
- UpdateVariablesBody,
203
- UpdateVariablesParams,
204
- VerifyChallengeProof200,
205
- VerifyChallengeProofBody
226
+ UpdateUser200,
227
+ UpdateUserBody,
228
+ VerifyAuthAttemptChallenge200,
229
+ VerifyAuthAttemptChallengeBody
206
230
  } from '../model';
207
231
 
208
232
  import { customFetch } from '../../runtime/fetch.ts';
@@ -290,7 +314,7 @@ export const getCreateUserUrl = (params: CreateUserParams,) => {
290
314
  * Creates a user whose attributes satisfy the user schema named in the request.
291
315
  *
292
316
  * The server assigns the user's ID and returns it. `schema` is the `id` of a
293
- * schema, as `createSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it. With
317
+ * schema, as `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it. With
294
318
  * `team_id`, the user also becomes an active member of that team. A value the
295
319
  * schema marks unique that another user already holds is refused with `409`;
296
320
  * send a different value.
@@ -384,8 +408,8 @@ return customFetch<QueryUsers200>(getQueryUsersUrl(params),
384
408
 
385
409
 
386
410
 
387
- export const getGetUserByIDUrl = (userId: string,
388
- params?: GetUserByIDParams,) => {
411
+ export const getGetUserUrl = (userId: string,
412
+ params?: GetUserParams,) => {
389
413
  const normalizedParams = new URLSearchParams();
390
414
 
391
415
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -407,10 +431,10 @@ export const getGetUserByIDUrl = (userId: string,
407
431
  * of that team.
408
432
  * @summary Get a user by ID
409
433
  */
410
- export const getUserByID = async (userId: string,
411
- params?: GetUserByIDParams, options?: Parameters<typeof customFetch>[1]): Promise<GetUserByID200> => {
434
+ export const getUser = async (userId: string,
435
+ params?: GetUserParams, options?: Parameters<typeof customFetch>[1]): Promise<GetUser200> => {
412
436
 
413
- return customFetch<GetUserByID200>(getGetUserByIDUrl(userId,params),
437
+ return customFetch<GetUser200>(getGetUserUrl(userId,params),
414
438
  {
415
439
  ...options,
416
440
  method: 'GET'
@@ -421,7 +445,7 @@ export const getUserByID = async (userId: string,
421
445
 
422
446
 
423
447
 
424
- export const getPatchUserByIDUrl = (userId: string,) => {
448
+ export const getUpdateUserUrl = (userId: string,) => {
425
449
 
426
450
 
427
451
 
@@ -436,7 +460,7 @@ export const getPatchUserByIDUrl = (userId: string,) => {
436
460
  * last-write-wins.
437
461
  *
438
462
  * To move the user, send `schema` with the `id` of a registered schema, as
439
- * `createSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it.
463
+ * `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it.
440
464
  *
441
465
  * To ask whether a patch would succeed, send it with `"dry_run": true`. It takes
442
466
  * the same permission and answers the same status and `details` as the real
@@ -449,8 +473,8 @@ export const getPatchUserByIDUrl = (userId: string,) => {
449
473
  * request as malformed (`400 req.invalid`) instead of applying the patch.
450
474
  * @summary Update a user by ID
451
475
  */
452
- export const patchUserByID = async (userId: string,
453
- patchUserByIDBody: PatchUserByIDBody, options?: Parameters<typeof customFetch>[1]): Promise<PatchUserByID200> => {
476
+ export const updateUser = async (userId: string,
477
+ updateUserBody: UpdateUserBody, options?: Parameters<typeof customFetch>[1]): Promise<UpdateUser200> => {
454
478
 
455
479
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
456
480
  if (!h) return {};
@@ -466,18 +490,18 @@ export const patchUserByID = async (userId: string,
466
490
  }
467
491
  return headers;
468
492
  };
469
- return customFetch<PatchUserByID200>(getPatchUserByIDUrl(userId),
493
+ return customFetch<UpdateUser200>(getUpdateUserUrl(userId),
470
494
  {
471
495
  ...options,
472
496
  method: 'PATCH',
473
497
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
474
- body: JSON.stringify(patchUserByIDBody)
498
+ body: JSON.stringify(updateUserBody)
475
499
  }
476
500
  );}
477
501
 
478
502
 
479
503
 
480
- export const getDeleteUserByIDUrl = (userId: string,) => {
504
+ export const getDeleteUserUrl = (userId: string,) => {
481
505
 
482
506
 
483
507
 
@@ -497,9 +521,9 @@ export const getDeleteUserByIDUrl = (userId: string,) => {
497
521
  * nothing.
498
522
  * @summary Delete a user by ID
499
523
  */
500
- export const deleteUserByID = async (userId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
524
+ export const deleteUser = async (userId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
501
525
 
502
- return customFetch<void>(getDeleteUserByIDUrl(userId),
526
+ return customFetch<void>(getDeleteUserUrl(userId),
503
527
  {
504
528
  ...options,
505
529
  method: 'DELETE'
@@ -585,7 +609,7 @@ export const listUserPasskeys = async (userId: string,
585
609
 
586
610
 
587
611
 
588
- export const getBeginUserPasskeyRegistrationUrl = (userId: string,) => {
612
+ export const getCreateUserPasskeyRegistrationUrl = (userId: string,) => {
589
613
 
590
614
 
591
615
 
@@ -597,7 +621,7 @@ export const getBeginUserPasskeyRegistrationUrl = (userId: string,) => {
597
621
  * Starts a WebAuthn registration ceremony for the user and returns the
598
622
  * creation options for `navigator.credentials.create()`. A passkey is
599
623
  * registered in two steps: this one returns options for the browser, and
600
- * `finishUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations/{registration_id}`) verifies the browser's answer.
624
+ * `completeUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations/{registration_id}`) verifies the browser's answer.
601
625
  *
602
626
  * Complete the ceremony with
603
627
  * `POST /users/{user_id}/passkeys/registrations/{registration_id}` within five
@@ -605,8 +629,8 @@ export const getBeginUserPasskeyRegistrationUrl = (userId: string,) => {
605
629
  * already registered for the user are excluded automatically.
606
630
  * @summary Begin a passkey registration
607
631
  */
608
- export const beginUserPasskeyRegistration = async (userId: string,
609
- beginUserPasskeyRegistrationBody: BeginUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<BeginUserPasskeyRegistration201> => {
632
+ export const createUserPasskeyRegistration = async (userId: string,
633
+ createUserPasskeyRegistrationBody: CreateUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateUserPasskeyRegistration201> => {
610
634
 
611
635
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
612
636
  if (!h) return {};
@@ -622,18 +646,18 @@ export const beginUserPasskeyRegistration = async (userId: string,
622
646
  }
623
647
  return headers;
624
648
  };
625
- return customFetch<BeginUserPasskeyRegistration201>(getBeginUserPasskeyRegistrationUrl(userId),
649
+ return customFetch<CreateUserPasskeyRegistration201>(getCreateUserPasskeyRegistrationUrl(userId),
626
650
  {
627
651
  ...options,
628
652
  method: 'POST',
629
653
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
630
- body: JSON.stringify(beginUserPasskeyRegistrationBody)
654
+ body: JSON.stringify(createUserPasskeyRegistrationBody)
631
655
  }
632
656
  );}
633
657
 
634
658
 
635
659
 
636
- export const getFinishUserPasskeyRegistrationUrl = (userId: string,
660
+ export const getCompleteUserPasskeyRegistrationUrl = (userId: string,
637
661
  registrationId: string,) => {
638
662
 
639
663
 
@@ -645,7 +669,7 @@ export const getFinishUserPasskeyRegistrationUrl = (userId: string,
645
669
  /**
646
670
  * Verifies the attestation against the registration ceremony and stores
647
671
  * the new passkey for the user. `registration_id` is the one that
648
- * `beginUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations`)
672
+ * `createUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations`)
649
673
  * returned when it started the ceremony. The attestation is
650
674
  * the browser's answer from `navigator.credentials.create()`.
651
675
  *
@@ -654,9 +678,9 @@ export const getFinishUserPasskeyRegistrationUrl = (userId: string,
654
678
  * already-consumed registration ID answers `att.not_found`.
655
679
  * @summary Finish a passkey registration
656
680
  */
657
- export const finishUserPasskeyRegistration = async (userId: string,
681
+ export const completeUserPasskeyRegistration = async (userId: string,
658
682
  registrationId: string,
659
- finishUserPasskeyRegistrationBody: FinishUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<FinishUserPasskeyRegistration201> => {
683
+ completeUserPasskeyRegistrationBody: CompleteUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<CompleteUserPasskeyRegistration201> => {
660
684
 
661
685
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
662
686
  if (!h) return {};
@@ -672,12 +696,12 @@ export const finishUserPasskeyRegistration = async (userId: string,
672
696
  }
673
697
  return headers;
674
698
  };
675
- return customFetch<FinishUserPasskeyRegistration201>(getFinishUserPasskeyRegistrationUrl(userId,registrationId),
699
+ return customFetch<CompleteUserPasskeyRegistration201>(getCompleteUserPasskeyRegistrationUrl(userId,registrationId),
676
700
  {
677
701
  ...options,
678
702
  method: 'POST',
679
703
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
680
- body: JSON.stringify(finishUserPasskeyRegistrationBody)
704
+ body: JSON.stringify(completeUserPasskeyRegistrationBody)
681
705
  }
682
706
  );}
683
707
 
@@ -728,7 +752,7 @@ export const getSetUserPasswordUrl = (userId: string,) => {
728
752
  * policy.
729
753
  *
730
754
  * The password policy is the one in the release that serves the caller's
731
- * `Origin`, chosen as `createFlow` (`POST /flow`) chooses it. A frontend on a
755
+ * `Origin`, chosen as `createFlow` (`POST /flows`) chooses it. A frontend on a
732
756
  * preview URL gets that preview's policy, and one on a primary origin the
733
757
  * newest primary deployment's. A request with no `Origin`, or from the
734
758
  * console when the project does not list the console's origin, gets the
@@ -853,7 +877,7 @@ export const getMyUser = async (params?: GetMyUserParams, options?: Parameters<t
853
877
 
854
878
 
855
879
 
856
- export const getPatchMyUserUrl = (params?: PatchMyUserParams,) => {
880
+ export const getUpdateMyUserUrl = (params?: UpdateMyUserParams,) => {
857
881
  const normalizedParams = new URLSearchParams();
858
882
 
859
883
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -877,8 +901,8 @@ export const getPatchMyUserUrl = (params?: PatchMyUserParams,) => {
877
901
  * that project.
878
902
  * @summary Update my user information
879
903
  */
880
- export const patchMyUser = async (patchMyUserBody: PatchMyUserBody,
881
- params?: PatchMyUserParams, options?: Parameters<typeof customFetch>[1]): Promise<PatchMyUser200> => {
904
+ export const updateMyUser = async (updateMyUserBody: UpdateMyUserBody,
905
+ params?: UpdateMyUserParams, options?: Parameters<typeof customFetch>[1]): Promise<UpdateMyUser200> => {
882
906
 
883
907
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
884
908
  if (!h) return {};
@@ -894,12 +918,12 @@ export const patchMyUser = async (patchMyUserBody: PatchMyUserBody,
894
918
  }
895
919
  return headers;
896
920
  };
897
- return customFetch<PatchMyUser200>(getPatchMyUserUrl(params),
921
+ return customFetch<UpdateMyUser200>(getUpdateMyUserUrl(params),
898
922
  {
899
923
  ...options,
900
924
  method: 'PATCH',
901
925
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
902
- body: JSON.stringify(patchMyUserBody)
926
+ body: JSON.stringify(updateMyUserBody)
903
927
  }
904
928
  );}
905
929
 
@@ -1036,7 +1060,8 @@ export const getListMyProjectsUrl = (params?: ListMyProjectsParams,) => {
1036
1060
  * Lists the projects the signed-in user can act on: those they hold an active
1037
1061
  * grant on, either directly or through a team they are a member of. For a
1038
1062
  * platform operator, someone who runs the deployment, that is every project of
1039
- * the deployment. Ordered by project ID and paged with an opaque cursor.
1063
+ * the deployment. Ordered by project ID unless `order` asks for creation
1064
+ * time, and paged with an opaque cursor.
1040
1065
  *
1041
1066
  * This is not the same question as `queryProjects` (`POST /projects/query`), which answers with the one
1042
1067
  * project the calling credential is bound to. Here the session is the caller
@@ -1050,6 +1075,11 @@ export const getListMyProjectsUrl = (params?: ListMyProjectsParams,) => {
1050
1075
  * With `project_id`, the projects are listed only when the session belongs to
1051
1076
  * that project. It names the project the session was signed in to, not one to
1052
1077
  * list.
1078
+ *
1079
+ * With `exclude_platform`, the deployment's reserved platform project is left
1080
+ * out: the project the console signs in to, which holds the console's
1081
+ * accounts rather than an application's users. A deployment without one lists
1082
+ * the same projects either way.
1053
1083
  * @summary List the projects I can act on
1054
1084
  */
1055
1085
  export const listMyProjects = async (params?: ListMyProjectsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListMyProjects200> => {
@@ -1140,7 +1170,7 @@ export const getCreateFlowUrl = () => {
1140
1170
 
1141
1171
 
1142
1172
 
1143
- return `${getApiBaseUrl()}/flow`
1173
+ return `${getApiBaseUrl()}/flows`
1144
1174
  }
1145
1175
 
1146
1176
  /**
@@ -1149,7 +1179,7 @@ export const getCreateFlowUrl = () => {
1149
1179
  *
1150
1180
  * The flow endpoints are the runtime calls the login component
1151
1181
  * (`<zitadel-login>`) makes, step by step. It starts a flow here, renders the
1152
- * step it gets back, and submits the user's input with `submitFlowStep` (`POST /flow/{id}/submit`) to
1182
+ * step it gets back, and submits the user's input with `submitFlowStep` (`POST /flows/{flow_id}/submit`) to
1153
1183
  * get the next step. This call creates a new session implicitly, unless
1154
1184
  * `session_id` is provided together with that session's `session_token`
1155
1185
  * (for step-up or reauthentication on an existing session).
@@ -1187,7 +1217,7 @@ export const getCreateFlowUrl = () => {
1187
1217
  * unless the project lists it.
1188
1218
  *
1189
1219
  * The response contains an `id` field, the flow handle. Use it as the path
1190
- * parameter for all subsequent `/flow/{id}/submit` calls.
1220
+ * parameter for all subsequent `/flows/{flow_id}/submit` calls.
1191
1221
  *
1192
1222
  * The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
1193
1223
  * the flow's orchestration state (current step, collected data, history).
@@ -1222,12 +1252,12 @@ return customFetch<CreateFlow201>(getCreateFlowUrl(),
1222
1252
 
1223
1253
 
1224
1254
 
1225
- export const getGetFlowStepUrl = (id: string,) => {
1255
+ export const getGetFlowStepUrl = (flowId: string,) => {
1226
1256
 
1227
1257
 
1228
1258
 
1229
1259
 
1230
- return `${getApiBaseUrl()}/flow/${encodeURIComponent(String(id))}`
1260
+ return `${getApiBaseUrl()}/flows/${encodeURIComponent(String(flowId))}`
1231
1261
  }
1232
1262
 
1233
1263
  /**
@@ -1235,17 +1265,24 @@ export const getGetFlowStepUrl = (id: string,) => {
1235
1265
  * the step again after a page reload or a network error.
1236
1266
  *
1237
1267
  * The flow endpoints are the runtime calls the login component
1238
- * (`<zitadel-login>`) makes, step by step. `createFlow` (`POST /flow`) starts a flow, and
1239
- * `submitFlowStep` (`POST /flow/{id}/submit`) advances it.
1268
+ * (`<zitadel-login>`) makes, step by step. `createFlow` (`POST /flows`) starts a flow, and
1269
+ * `submitFlowStep` (`POST /flows/{flow_id}/submit`) advances it.
1270
+ *
1271
+ * For a sign-up step, prepares `step.gates.signup_pow.challenge`: one that
1272
+ * creates its user on submit, or one carrying a passkey registration that
1273
+ * creates its user.
1274
+ * Reuses challenges with more than a minute remaining; otherwise issues a
1275
+ * new one. If this render resolves parked SSO state, it first returns the
1276
+ * updated cookie; fetch the step again to obtain its puzzle.
1240
1277
  *
1241
1278
  * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not
1242
1279
  * re-resolve from `Origin`. If that release was revoked since the attempt
1243
1280
  * started, the response is `409` with `rel.revoked`.
1244
1281
  * @summary Get the current step of a flow
1245
1282
  */
1246
- export const getFlowStep = async (id: string, options?: Parameters<typeof customFetch>[1]): Promise<GetFlowStep200> => {
1283
+ export const getFlowStep = async (flowId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetFlowStep200> => {
1247
1284
 
1248
- return customFetch<GetFlowStep200>(getGetFlowStepUrl(id),
1285
+ return customFetch<GetFlowStep200>(getGetFlowStepUrl(flowId),
1249
1286
  {
1250
1287
  ...options,
1251
1288
  method: 'GET'
@@ -1256,12 +1293,12 @@ export const getFlowStep = async (id: string, options?: Parameters<typeof custom
1256
1293
 
1257
1294
 
1258
1295
 
1259
- export const getSubmitFlowStepUrl = (id: string,) => {
1296
+ export const getSubmitFlowStepUrl = (flowId: string,) => {
1260
1297
 
1261
1298
 
1262
1299
 
1263
1300
 
1264
- return `${getApiBaseUrl()}/flow/${encodeURIComponent(String(id))}/submit`
1301
+ return `${getApiBaseUrl()}/flows/${encodeURIComponent(String(flowId))}/submit`
1265
1302
  }
1266
1303
 
1267
1304
  /**
@@ -1269,12 +1306,21 @@ export const getSubmitFlowStepUrl = (id: string,) => {
1269
1306
  * validates it, processes it (for example, verifies a credential), advances
1270
1307
  * the flow through any invisible steps, and returns the next visible step.
1271
1308
  * The flow endpoints are the runtime calls the login component
1272
- * (`<zitadel-login>`) makes, step by step; `createFlow` (`POST /flow`) starts a flow.
1309
+ * (`<zitadel-login>`) makes, step by step; `createFlow` (`POST /flows`) starts a flow.
1273
1310
  *
1274
1311
  * The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)
1275
1312
  * with the new flow state. The server is stateless: all orchestration
1276
1313
  * state is carried in this cookie between requests.
1277
1314
  *
1315
+ * Sign-up additionally requires a single-use `gate_proofs.signup_pow`
1316
+ * solution for `step.gates.signup_pow`: a password sign-up (`create_user`)
1317
+ * sends it with the submit, and a passkey registration that creates its user
1318
+ * sends it with the attestation in `challenge_response`. Pending
1319
+ * challenges and rate counters are stored on the server. Invalid or spent
1320
+ * proofs return `403 flow.proof_invalid`; exhausted per-flow budgets return
1321
+ * `429 flow.rate_limited`. GET the current step to obtain or refresh its
1322
+ * challenge before solving. Start and Submit announce the gate without a puzzle.
1323
+ *
1278
1324
  * **Important:** The `id` in the response may differ from the `id` used in
1279
1325
  * the request. This happens when a flow pivots (pushes a new flow onto the
1280
1326
  * stack) or when a stacked flow completes (auto-pops to the parent flow).
@@ -1322,7 +1368,7 @@ export const getSubmitFlowStepUrl = (id: string,) => {
1322
1368
  * started, the response is `409` with `rel.revoked`.
1323
1369
  * @summary Submit a flow step
1324
1370
  */
1325
- export const submitFlowStep = async (id: string,
1371
+ export const submitFlowStep = async (flowId: string,
1326
1372
  submitFlowStepBody: SubmitFlowStepBody, options?: Parameters<typeof customFetch>[1]): Promise<SubmitFlowStep200> => {
1327
1373
 
1328
1374
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
@@ -1339,7 +1385,7 @@ export const submitFlowStep = async (id: string,
1339
1385
  }
1340
1386
  return headers;
1341
1387
  };
1342
- return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(id),
1388
+ return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(flowId),
1343
1389
  {
1344
1390
  ...options,
1345
1391
  method: 'POST',
@@ -1367,13 +1413,13 @@ export const getCreateAuthAttemptUrl = () => {
1367
1413
  * in order:
1368
1414
  *
1369
1415
  * 1. `createAuthAttempt` (`POST /auth_attempts`) creates the attempt.
1370
- * 2. `issueChallenge` (`POST /auth_attempts/{attempt_id}/challenges`) issues a challenge, a request to prove one factor such as
1416
+ * 2. `createAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges`) issues a challenge, a request to prove one factor such as
1371
1417
  * `identifier`, `password` or `passkey`.
1372
- * 3. `verifyChallengeProof` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`) submits the proof for that challenge: the
1418
+ * 3. `verifyAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`) submits the proof for that challenge: the
1373
1419
  * credential, code or assertion. Repeat steps 2 and 3 until
1374
1420
  * `getAuthAttempt` (`GET /auth_attempts/{attempt_id}`) reports state `completed`, which means every factor in
1375
1421
  * `required_factors` is verified.
1376
- * 4. `createHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) completes the attempt and returns the `handoff_token`.
1422
+ * 4. `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) completes the attempt and returns the `handoff_token`.
1377
1423
  * 5. `exchangeHandoff` (`POST /sessions/exchange`) exchanges the handoff token
1378
1424
  * for the session and its `session_token`.
1379
1425
  *
@@ -1448,7 +1494,7 @@ export const getAuthAttempt = async (attemptId: string, options?: Parameters<typ
1448
1494
 
1449
1495
 
1450
1496
 
1451
- export const getIssueChallengeUrl = (attemptId: string,) => {
1497
+ export const getCreateAuthAttemptChallengeUrl = (attemptId: string,) => {
1452
1498
 
1453
1499
 
1454
1500
 
@@ -1462,11 +1508,11 @@ export const getIssueChallengeUrl = (attemptId: string,) => {
1462
1508
  * A challenge names one factor method, such as password, passkey, TOTP or OTP
1463
1509
  * via SMS. The response carries the challenge's `challenge_id`, method,
1464
1510
  * metadata and any UI hints. The client then submits the proof with
1465
- * `verifyChallengeProof` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`), using that `challenge_id`.
1511
+ * `verifyAuthAttemptChallenge` (`POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify`), using that `challenge_id`.
1466
1512
  * @summary Issue a factor challenge
1467
1513
  */
1468
- export const issueChallenge = async (attemptId: string,
1469
- issueChallengeBody: IssueChallengeBody, options?: Parameters<typeof customFetch>[1]): Promise<IssueChallenge201> => {
1514
+ export const createAuthAttemptChallenge = async (attemptId: string,
1515
+ createAuthAttemptChallengeBody: CreateAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateAuthAttemptChallenge201> => {
1470
1516
 
1471
1517
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1472
1518
  if (!h) return {};
@@ -1482,18 +1528,18 @@ export const issueChallenge = async (attemptId: string,
1482
1528
  }
1483
1529
  return headers;
1484
1530
  };
1485
- return customFetch<IssueChallenge201>(getIssueChallengeUrl(attemptId),
1531
+ return customFetch<CreateAuthAttemptChallenge201>(getCreateAuthAttemptChallengeUrl(attemptId),
1486
1532
  {
1487
1533
  ...options,
1488
1534
  method: 'POST',
1489
1535
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1490
- body: JSON.stringify(issueChallengeBody)
1536
+ body: JSON.stringify(createAuthAttemptChallengeBody)
1491
1537
  }
1492
1538
  );}
1493
1539
 
1494
1540
 
1495
1541
 
1496
- export const getVerifyChallengeProofUrl = (attemptId: string,
1542
+ export const getVerifyAuthAttemptChallengeUrl = (attemptId: string,
1497
1543
  challengeId: string,) => {
1498
1544
 
1499
1545
 
@@ -1514,15 +1560,15 @@ export const getVerifyChallengeProofUrl = (attemptId: string,
1514
1560
  *
1515
1561
  * On success, the factor is recorded on the authentication attempt. The
1516
1562
  * attempt moves to the next pending challenge, or completes when every required
1517
- * factor is verified. Then call `createHandoff` (`POST /auth_attempts/{attempt_id}/handoff`).
1563
+ * factor is verified. Then call `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`).
1518
1564
  *
1519
1565
  * A `409` with `att.proof_rejected` means the proof was wrong. Check it and try
1520
1566
  * again. There is no retry limit: you can retry until the attempt expires.
1521
1567
  * @summary Verify a challenge proof
1522
1568
  */
1523
- export const verifyChallengeProof = async (attemptId: string,
1569
+ export const verifyAuthAttemptChallenge = async (attemptId: string,
1524
1570
  challengeId: string,
1525
- verifyChallengeProofBody: VerifyChallengeProofBody, options?: Parameters<typeof customFetch>[1]): Promise<VerifyChallengeProof200> => {
1571
+ verifyAuthAttemptChallengeBody: VerifyAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]): Promise<VerifyAuthAttemptChallenge200> => {
1526
1572
 
1527
1573
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1528
1574
  if (!h) return {};
@@ -1538,18 +1584,18 @@ export const verifyChallengeProof = async (attemptId: string,
1538
1584
  }
1539
1585
  return headers;
1540
1586
  };
1541
- return customFetch<VerifyChallengeProof200>(getVerifyChallengeProofUrl(attemptId,challengeId),
1587
+ return customFetch<VerifyAuthAttemptChallenge200>(getVerifyAuthAttemptChallengeUrl(attemptId,challengeId),
1542
1588
  {
1543
1589
  ...options,
1544
1590
  method: 'POST',
1545
1591
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1546
- body: JSON.stringify(verifyChallengeProofBody)
1592
+ body: JSON.stringify(verifyAuthAttemptChallengeBody)
1547
1593
  }
1548
1594
  );}
1549
1595
 
1550
1596
 
1551
1597
 
1552
- export const getCreateHandoffUrl = (attemptId: string,) => {
1598
+ export const getCreateAuthAttemptHandoffUrl = (attemptId: string,) => {
1553
1599
 
1554
1600
 
1555
1601
 
@@ -1577,9 +1623,9 @@ export const getCreateHandoffUrl = (attemptId: string,) => {
1577
1623
  * release is the configuration that `zitadel deploy` publishes.
1578
1624
  * @summary Complete an authentication attempt and create a handoff token
1579
1625
  */
1580
- export const createHandoff = async (attemptId: string, options?: Parameters<typeof customFetch>[1]): Promise<CreateHandoff200> => {
1626
+ export const createAuthAttemptHandoff = async (attemptId: string, options?: Parameters<typeof customFetch>[1]): Promise<CreateAuthAttemptHandoff200> => {
1581
1627
 
1582
- return customFetch<CreateHandoff200>(getCreateHandoffUrl(attemptId),
1628
+ return customFetch<CreateAuthAttemptHandoff200>(getCreateAuthAttemptHandoffUrl(attemptId),
1583
1629
  {
1584
1630
  ...options,
1585
1631
  method: 'POST'
@@ -1603,7 +1649,7 @@ export const getCreateProjectUrl = () => {
1603
1649
  * other endpoint returns.
1604
1650
  *
1605
1651
  * A project is the top-level boundary that holds users, sessions and
1606
- * configuration. It has no owning team until someone claims it; see `initClaim` (`POST /projects/{project_id}/claim/init`).
1652
+ * configuration. It has no owning team until someone claims it; see `createProjectClaim` (`POST /projects/{project_id}/claim/init`).
1607
1653
  *
1608
1654
  * The request needs no credential and is rate-limited. On `429`, wait and retry.
1609
1655
  * Unless `seed_defaults` is `false`, the project starts with a default user schema
@@ -1710,7 +1756,7 @@ export const getProject = async (projectId: string, options?: Parameters<typeof
1710
1756
 
1711
1757
 
1712
1758
 
1713
- export const getPatchProjectUrl = (projectId: string,) => {
1759
+ export const getUpdateProjectUrl = (projectId: string,) => {
1714
1760
 
1715
1761
 
1716
1762
 
@@ -1730,8 +1776,8 @@ export const getPatchProjectUrl = (projectId: string,) => {
1730
1776
  * person who can act on the project.
1731
1777
  * @summary Update a project
1732
1778
  */
1733
- export const patchProject = async (projectId: string,
1734
- patchProjectBody: PatchProjectBody, options?: Parameters<typeof customFetch>[1]): Promise<PatchProject200> => {
1779
+ export const updateProject = async (projectId: string,
1780
+ updateProjectBody: UpdateProjectBody, options?: Parameters<typeof customFetch>[1]): Promise<UpdateProject200> => {
1735
1781
 
1736
1782
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1737
1783
  if (!h) return {};
@@ -1747,12 +1793,12 @@ export const patchProject = async (projectId: string,
1747
1793
  }
1748
1794
  return headers;
1749
1795
  };
1750
- return customFetch<PatchProject200>(getPatchProjectUrl(projectId),
1796
+ return customFetch<UpdateProject200>(getUpdateProjectUrl(projectId),
1751
1797
  {
1752
1798
  ...options,
1753
1799
  method: 'PATCH',
1754
1800
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1755
- body: JSON.stringify(patchProjectBody)
1801
+ body: JSON.stringify(updateProjectBody)
1756
1802
  }
1757
1803
  );}
1758
1804
 
@@ -1819,7 +1865,7 @@ export const listProjectAdmins = async (projectId: string,
1819
1865
 
1820
1866
 
1821
1867
 
1822
- export const getInitClaimUrl = (projectId: string,) => {
1868
+ export const getCreateProjectClaimUrl = (projectId: string,) => {
1823
1869
 
1824
1870
 
1825
1871
 
@@ -1835,7 +1881,7 @@ export const getInitClaimUrl = (projectId: string,) => {
1835
1881
  * so that the team's members administer it. This operation mints a
1836
1882
  * single-use, short-lived challenge for an unclaimed project. The developer
1837
1883
  * opens `claim_url`, signs in and completes the claim in the browser; see
1838
- * `completeClaim` (`POST /projects/{project_id}/claim/complete`). Poll `getClaimStatus` (`GET /projects/{project_id}/claim/status`) with the returned `challenge_id`,
1884
+ * `completeProjectClaim` (`POST /projects/{project_id}/claim/complete`). Poll `getProjectClaimStatus` (`GET /projects/{project_id}/claim/status`) with the returned `challenge_id`,
1839
1885
  * as `zitadel claim` does. The response's `expires_at` carries the exact expiry.
1840
1886
  *
1841
1887
  * Authenticate with the project secret that `createProject` (`POST /projects`) returns as
@@ -1846,9 +1892,9 @@ export const getInitClaimUrl = (projectId: string,) => {
1846
1892
  * which is final.
1847
1893
  * @summary Initialize a project claim
1848
1894
  */
1849
- export const initClaim = async (projectId: string, options?: Parameters<typeof customFetch>[1]): Promise<InitClaim201> => {
1895
+ export const createProjectClaim = async (projectId: string, options?: Parameters<typeof customFetch>[1]): Promise<CreateProjectClaim201> => {
1850
1896
 
1851
- return customFetch<InitClaim201>(getInitClaimUrl(projectId),
1897
+ return customFetch<CreateProjectClaim201>(getCreateProjectClaimUrl(projectId),
1852
1898
  {
1853
1899
  ...options,
1854
1900
  method: 'POST'
@@ -1859,8 +1905,8 @@ export const initClaim = async (projectId: string, options?: Parameters<typeof c
1859
1905
 
1860
1906
 
1861
1907
 
1862
- export const getGetClaimStatusUrl = (projectId: string,
1863
- params: GetClaimStatusParams,) => {
1908
+ export const getGetProjectClaimStatusUrl = (projectId: string,
1909
+ params: GetProjectClaimStatusParams,) => {
1864
1910
  const normalizedParams = new URLSearchParams();
1865
1911
 
1866
1912
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -1880,7 +1926,7 @@ export const getGetClaimStatusUrl = (projectId: string,
1880
1926
  * browser completes the claim.
1881
1927
  *
1882
1928
  * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim).
1883
- * `zitadel claim` polls this operation after `initClaim` (`POST /projects/{project_id}/claim/init`) starts the claim.
1929
+ * `zitadel claim` polls this operation after `createProjectClaim` (`POST /projects/{project_id}/claim/init`) starts the claim.
1884
1930
  * Once the project is claimed, the response is `completed` with the owning
1885
1931
  * team, the claim timestamp and the dashboard URL.
1886
1932
  *
@@ -1889,15 +1935,15 @@ export const getGetClaimStatusUrl = (projectId: string,
1889
1935
  * completed claim keeps reporting `completed` past this challenge's expiry
1890
1936
  * and past the project's claim window.
1891
1937
  *
1892
- * Pass the `challenge_id` that `initClaim` returns. Authenticate with the
1938
+ * Pass the `challenge_id` that `createProjectClaim` returns. Authenticate with the
1893
1939
  * project secret that started the challenge. On `410` with `proj.claim_expired`, call
1894
- * `initClaim` again for a fresh challenge.
1940
+ * `createProjectClaim` again for a fresh challenge.
1895
1941
  * @summary Get the status of a project claim
1896
1942
  */
1897
- export const getClaimStatus = async (projectId: string,
1898
- params: GetClaimStatusParams, options?: Parameters<typeof customFetch>[1]): Promise<GetClaimStatus200> => {
1943
+ export const getProjectClaimStatus = async (projectId: string,
1944
+ params: GetProjectClaimStatusParams, options?: Parameters<typeof customFetch>[1]): Promise<GetProjectClaimStatus200> => {
1899
1945
 
1900
- return customFetch<GetClaimStatus200>(getGetClaimStatusUrl(projectId,params),
1946
+ return customFetch<GetProjectClaimStatus200>(getGetProjectClaimStatusUrl(projectId,params),
1901
1947
  {
1902
1948
  ...options,
1903
1949
  method: 'GET'
@@ -1908,7 +1954,7 @@ export const getClaimStatus = async (projectId: string,
1908
1954
 
1909
1955
 
1910
1956
 
1911
- export const getCompleteClaimUrl = (projectId: string,) => {
1957
+ export const getCompleteProjectClaimUrl = (projectId: string,) => {
1912
1958
 
1913
1959
 
1914
1960
 
@@ -1923,16 +1969,16 @@ export const getCompleteClaimUrl = (projectId: string,) => {
1923
1969
  * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim),
1924
1970
  * so that the team's members administer it. The claim page in the browser
1925
1971
  * calls this operation after the developer signs in, with the session cookie.
1926
- * The `challenge_id` from the claim URL that `initClaim` (`POST /projects/{project_id}/claim/init`) returns is the
1972
+ * The `challenge_id` from the claim URL that `createProjectClaim` (`POST /projects/{project_id}/claim/init`) returns is the
1927
1973
  * request's single-use, browser-safe authorization.
1928
1974
  *
1929
1975
  * Claims are first-claim-wins and spend the challenge. If a team already
1930
1976
  * claimed the project, the request answers `409`. If the challenge lapsed
1931
- * (`410` with `proj.claim_expired`), call `initClaim` again for a fresh one.
1977
+ * (`410` with `proj.claim_expired`), call `createProjectClaim` again for a fresh one.
1932
1978
  * @summary Complete a project claim
1933
1979
  */
1934
- export const completeClaim = async (projectId: string,
1935
- completeClaimBody: CompleteClaimBody, options?: Parameters<typeof customFetch>[1]): Promise<CompleteClaim200> => {
1980
+ export const completeProjectClaim = async (projectId: string,
1981
+ completeProjectClaimBody: CompleteProjectClaimBody, options?: Parameters<typeof customFetch>[1]): Promise<CompleteProjectClaim200> => {
1936
1982
 
1937
1983
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1938
1984
  if (!h) return {};
@@ -1948,19 +1994,19 @@ export const completeClaim = async (projectId: string,
1948
1994
  }
1949
1995
  return headers;
1950
1996
  };
1951
- return customFetch<CompleteClaim200>(getCompleteClaimUrl(projectId),
1997
+ return customFetch<CompleteProjectClaim200>(getCompleteProjectClaimUrl(projectId),
1952
1998
  {
1953
1999
  ...options,
1954
2000
  method: 'POST',
1955
2001
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1956
- body: JSON.stringify(completeClaimBody)
2002
+ body: JSON.stringify(completeProjectClaimBody)
1957
2003
  }
1958
2004
  );}
1959
2005
 
1960
2006
 
1961
2007
 
1962
- export const getGetClaimWindowUrl = (projectId: string,
1963
- params: GetClaimWindowParams,) => {
2008
+ export const getGetProjectClaimWindowUrl = (projectId: string,
2009
+ params: GetProjectClaimWindowParams,) => {
1964
2010
  const normalizedParams = new URLSearchParams();
1965
2011
 
1966
2012
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -1985,15 +2031,15 @@ export const getGetClaimWindowUrl = (projectId: string,
1985
2031
  *
1986
2032
  * The request needs no credential, because the claim page calls it before the
1987
2033
  * developer has signed in. Holding the `challenge_id` from the claim URL that
1988
- * `initClaim` (`POST /projects/{project_id}/claim/init`) returns is the authorization, the same one `completeClaim` (`POST /projects/{project_id}/claim/complete`)
2034
+ * `createProjectClaim` (`POST /projects/{project_id}/claim/init`) returns is the authorization, the same one `completeProjectClaim` (`POST /projects/{project_id}/claim/complete`)
1989
2035
  * accepts. The response reveals only the window, never the project itself.
1990
- * Unlike `completeClaim` it spends nothing, so reloading the page is safe.
2036
+ * Unlike `completeProjectClaim` it spends nothing, so reloading the page is safe.
1991
2037
  * @summary Get the claim window for a project
1992
2038
  */
1993
- export const getClaimWindow = async (projectId: string,
1994
- params: GetClaimWindowParams, options?: Parameters<typeof customFetch>[1]): Promise<GetClaimWindow200> => {
2039
+ export const getProjectClaimWindow = async (projectId: string,
2040
+ params: GetProjectClaimWindowParams, options?: Parameters<typeof customFetch>[1]): Promise<GetProjectClaimWindow200> => {
1995
2041
 
1996
- return customFetch<GetClaimWindow200>(getGetClaimWindowUrl(projectId,params),
2042
+ return customFetch<GetProjectClaimWindow200>(getGetProjectClaimWindowUrl(projectId,params),
1997
2043
  {
1998
2044
  ...options,
1999
2045
  method: 'GET'
@@ -2004,7 +2050,7 @@ export const getClaimWindow = async (projectId: string,
2004
2050
 
2005
2051
 
2006
2052
 
2007
- export const getAddOriginUrl = (projectId: string,) => {
2053
+ export const getAddProjectOriginUrl = (projectId: string,) => {
2008
2054
 
2009
2055
 
2010
2056
 
@@ -2028,11 +2074,11 @@ export const getAddOriginUrl = (projectId: string,) => {
2028
2074
  * Adding a pattern that already exists with the same kind is idempotent and
2029
2075
  * answers `201` with the stored origin. If the pattern exists with the other
2030
2076
  * kind, the request is refused with `origin.kind_conflict`: remove it with
2031
- * `removeOrigin` (`POST /projects/{project_id}/origins/remove`), then add it again.
2077
+ * `removeProjectOrigin` (`POST /projects/{project_id}/origins/remove`), then add it again.
2032
2078
  * @summary Add an origin pattern
2033
2079
  */
2034
- export const addOrigin = async (projectId: string,
2035
- addOriginBody: AddOriginBody, options?: Parameters<typeof customFetch>[1]): Promise<AddOrigin201> => {
2080
+ export const addProjectOrigin = async (projectId: string,
2081
+ addProjectOriginBody: AddProjectOriginBody, options?: Parameters<typeof customFetch>[1]): Promise<AddProjectOrigin201> => {
2036
2082
 
2037
2083
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2038
2084
  if (!h) return {};
@@ -2048,18 +2094,18 @@ export const addOrigin = async (projectId: string,
2048
2094
  }
2049
2095
  return headers;
2050
2096
  };
2051
- return customFetch<AddOrigin201>(getAddOriginUrl(projectId),
2097
+ return customFetch<AddProjectOrigin201>(getAddProjectOriginUrl(projectId),
2052
2098
  {
2053
2099
  ...options,
2054
2100
  method: 'POST',
2055
2101
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2056
- body: JSON.stringify(addOriginBody)
2102
+ body: JSON.stringify(addProjectOriginBody)
2057
2103
  }
2058
2104
  );}
2059
2105
 
2060
2106
 
2061
2107
 
2062
- export const getRemoveOriginUrl = (projectId: string,) => {
2108
+ export const getRemoveProjectOriginUrl = (projectId: string,) => {
2063
2109
 
2064
2110
 
2065
2111
 
@@ -2076,11 +2122,11 @@ export const getRemoveOriginUrl = (projectId: string,) => {
2076
2122
  * origin.
2077
2123
  * Removing a pattern that is already absent is idempotent and answers `204`.
2078
2124
  *
2079
- * The body's `pattern` is a pattern `addOrigin` (`POST /projects/{project_id}/origins`) stored.
2125
+ * The body's `pattern` is a pattern `addProjectOrigin` (`POST /projects/{project_id}/origins`) stored.
2080
2126
  * @summary Remove an origin pattern
2081
2127
  */
2082
- export const removeOrigin = async (projectId: string,
2083
- removeOriginBody: RemoveOriginBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
2128
+ export const removeProjectOrigin = async (projectId: string,
2129
+ removeProjectOriginBody: RemoveProjectOriginBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
2084
2130
 
2085
2131
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2086
2132
  if (!h) return {};
@@ -2096,19 +2142,19 @@ export const removeOrigin = async (projectId: string,
2096
2142
  }
2097
2143
  return headers;
2098
2144
  };
2099
- return customFetch<void>(getRemoveOriginUrl(projectId),
2145
+ return customFetch<void>(getRemoveProjectOriginUrl(projectId),
2100
2146
  {
2101
2147
  ...options,
2102
2148
  method: 'POST',
2103
2149
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2104
- body: JSON.stringify(removeOriginBody)
2150
+ body: JSON.stringify(removeProjectOriginBody)
2105
2151
  }
2106
2152
  );}
2107
2153
 
2108
2154
 
2109
2155
 
2110
- export const getListPreviewsUrl = (projectId: string,
2111
- params?: ListPreviewsParams,) => {
2156
+ export const getListProjectPreviewsUrl = (projectId: string,
2157
+ params?: ListProjectPreviewsParams,) => {
2112
2158
  const normalizedParams = new URLSearchParams();
2113
2159
 
2114
2160
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2131,10 +2177,10 @@ export const getListPreviewsUrl = (projectId: string,
2131
2177
  * in `GET /deployments`.
2132
2178
  * @summary List a project's previews
2133
2179
  */
2134
- export const listPreviews = async (projectId: string,
2135
- params?: ListPreviewsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListPreviews200> => {
2180
+ export const listProjectPreviews = async (projectId: string,
2181
+ params?: ListProjectPreviewsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListProjectPreviews200> => {
2136
2182
 
2137
- return customFetch<ListPreviews200>(getListPreviewsUrl(projectId,params),
2183
+ return customFetch<ListProjectPreviews200>(getListProjectPreviewsUrl(projectId,params),
2138
2184
  {
2139
2185
  ...options,
2140
2186
  method: 'GET'
@@ -2145,7 +2191,7 @@ export const listPreviews = async (projectId: string,
2145
2191
 
2146
2192
 
2147
2193
 
2148
- export const getRemovePreviewUrl = (projectId: string,) => {
2194
+ export const getRemoveProjectPreviewUrl = (projectId: string,) => {
2149
2195
 
2150
2196
 
2151
2197
 
@@ -2162,11 +2208,11 @@ export const getRemovePreviewUrl = (projectId: string,) => {
2162
2208
  * succeeds.
2163
2209
  *
2164
2210
  * The URL travels in the body rather than the path because an origin
2165
- * contains `/`. Take it from `listPreviews` (`GET /projects/{project_id}/previews`).
2211
+ * contains `/`. Take it from `listProjectPreviews` (`GET /projects/{project_id}/previews`).
2166
2212
  * @summary Remove a preview
2167
2213
  */
2168
- export const removePreview = async (projectId: string,
2169
- removePreviewBody: RemovePreviewBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
2214
+ export const removeProjectPreview = async (projectId: string,
2215
+ removeProjectPreviewBody: RemoveProjectPreviewBody, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
2170
2216
 
2171
2217
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2172
2218
  if (!h) return {};
@@ -2182,12 +2228,12 @@ export const removePreview = async (projectId: string,
2182
2228
  }
2183
2229
  return headers;
2184
2230
  };
2185
- return customFetch<void>(getRemovePreviewUrl(projectId),
2231
+ return customFetch<void>(getRemoveProjectPreviewUrl(projectId),
2186
2232
  {
2187
2233
  ...options,
2188
2234
  method: 'POST',
2189
2235
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2190
- body: JSON.stringify(removePreviewBody)
2236
+ body: JSON.stringify(removeProjectPreviewBody)
2191
2237
  }
2192
2238
  );}
2193
2239
 
@@ -2212,6 +2258,10 @@ export const getCreateSessionUrl = () => {
2212
2258
  * can be correlated with the eventual authenticated session from the start.
2213
2259
  * - Track anonymous state (bot detection, device fingerprint) that survives until authentication.
2214
2260
  *
2261
+ * The session belongs to the project of the project secret. A `project_id` that
2262
+ * names another project answers `403` with `proj.mismatch` and creates nothing:
2263
+ * send the credential's own project.
2264
+ *
2215
2265
  * Creating a session runs on the project credential (`session.write`). The returned
2216
2266
  * `session_token` is a session credential for the end-user client, not a
2217
2267
  * management scope. It is delivered as the `__Host-zitadel_session` cookie
@@ -2325,7 +2375,7 @@ export const getExchangeHandoffUrl = (params: ExchangeHandoffParams,) => {
2325
2375
  * Exchanges a handoff token for a session and a `session_token`.
2326
2376
  *
2327
2377
  * A handoff token is the short-lived, single-use credential that
2328
- * `createHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) returns as `handoff_token` once an authentication attempt is
2378
+ * `createAuthAttemptHandoff` (`POST /auth_attempts/{attempt_id}/handoff`) returns as `handoff_token` once an authentication attempt is
2329
2379
  * complete. This call consumes it. It is the last step of the sign-in sequence:
2330
2380
  * create the attempt, issue a challenge, verify the proof, create the handoff,
2331
2381
  * exchange it.
@@ -2570,7 +2620,7 @@ export const getMySessionCsrfToken = async (params?: GetMySessionCsrfTokenParams
2570
2620
 
2571
2621
 
2572
2622
 
2573
- export const getCreateSchemaUrl = (params: CreateSchemaParams,) => {
2623
+ export const getPublishSchemaUrl = (params: PublishSchemaParams,) => {
2574
2624
  const normalizedParams = new URLSearchParams();
2575
2625
 
2576
2626
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2586,12 +2636,13 @@ export const getCreateSchemaUrl = (params: CreateSchemaParams,) => {
2586
2636
  }
2587
2637
 
2588
2638
  /**
2589
- * Creates a user schema, the JSON Schema that says which attributes a user
2639
+ * Publishes a user schema, the JSON Schema that says which attributes a user
2590
2640
  * has and which attribute identifies the user.
2591
2641
  *
2592
2642
  * The request is either a user schema (`kind: user-schema`) or a schema URL
2593
- * (`kind: schema-url`) that the server resolves. The response's `id` is what
2594
- * `createUser` (`POST /users`) takes as `schema`.
2643
+ * (`kind: schema-url`) that the server resolves. The response is the stored
2644
+ * schema, as `getSchema` (`GET /schemas/{schema_id}`) returns it; its `id` is
2645
+ * what `createUser` (`POST /users`) takes as `schema`.
2595
2646
  *
2596
2647
  * The optional `$id` is the JSON Schema document URI that identifies the
2597
2648
  * schema in later requests. It is a stable identity for GitOps, not a
@@ -2600,10 +2651,10 @@ export const getCreateSchemaUrl = (params: CreateSchemaParams,) => {
2600
2651
  * should ideally be a valid URI pointing at where the schema can be accessed.
2601
2652
  * A `$id` that already exists in the project is refused; pick another or
2602
2653
  * omit it.
2603
- * @summary Create a schema
2654
+ * @summary Publish a schema
2604
2655
  */
2605
- export const createSchema = async (createSchemaBody: CreateSchemaBody,
2606
- params: CreateSchemaParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateSchema201> => {
2656
+ export const publishSchema = async (publishSchemaBody: PublishSchemaBody,
2657
+ params: PublishSchemaParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishSchema201> => {
2607
2658
 
2608
2659
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2609
2660
  if (!h) return {};
@@ -2619,12 +2670,12 @@ export const createSchema = async (createSchemaBody: CreateSchemaBody,
2619
2670
  }
2620
2671
  return headers;
2621
2672
  };
2622
- return customFetch<CreateSchema201>(getCreateSchemaUrl(params),
2673
+ return customFetch<PublishSchema201>(getPublishSchemaUrl(params),
2623
2674
  {
2624
2675
  ...options,
2625
2676
  method: 'POST',
2626
2677
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2627
- body: JSON.stringify(createSchemaBody)
2678
+ body: JSON.stringify(publishSchemaBody)
2628
2679
  }
2629
2680
  );}
2630
2681
 
@@ -2674,8 +2725,8 @@ export const listSchemas = async (params: ListSchemasParams, options?: Parameter
2674
2725
 
2675
2726
 
2676
2727
 
2677
- export const getGetSchemaByIdUrl = (id: string,
2678
- params?: GetSchemaByIdParams,) => {
2728
+ export const getGetSchemaUrl = (schemaId: string,
2729
+ params?: GetSchemaParams,) => {
2679
2730
  const normalizedParams = new URLSearchParams();
2680
2731
 
2681
2732
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2687,7 +2738,7 @@ export const getGetSchemaByIdUrl = (id: string,
2687
2738
 
2688
2739
  const stringifiedParams = normalizedParams.toString();
2689
2740
 
2690
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/schemas/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/schemas/${encodeURIComponent(String(id))}`
2741
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/schemas/${encodeURIComponent(String(schemaId))}?${stringifiedParams}` : `${getApiBaseUrl()}/schemas/${encodeURIComponent(String(schemaId))}`
2691
2742
  }
2692
2743
 
2693
2744
  /**
@@ -2703,10 +2754,10 @@ export const getGetSchemaByIdUrl = (id: string,
2703
2754
  * own project and ignores `project_id`.
2704
2755
  * @summary Get a schema by ID
2705
2756
  */
2706
- export const getSchemaById = async (id: string,
2707
- params?: GetSchemaByIdParams, options?: Parameters<typeof customFetch>[1]): Promise<GetSchemaById200> => {
2757
+ export const getSchema = async (schemaId: string,
2758
+ params?: GetSchemaParams, options?: Parameters<typeof customFetch>[1]): Promise<GetSchema200> => {
2708
2759
 
2709
- return customFetch<GetSchemaById200>(getGetSchemaByIdUrl(id,params),
2760
+ return customFetch<GetSchema200>(getGetSchemaUrl(schemaId,params),
2710
2761
  {
2711
2762
  ...options,
2712
2763
  method: 'GET'
@@ -2717,7 +2768,7 @@ export const getSchemaById = async (id: string,
2717
2768
 
2718
2769
 
2719
2770
 
2720
- export const getCreateFlowDefinitionUrl = () => {
2771
+ export const getPublishFlowDefinitionUrl = () => {
2721
2772
 
2722
2773
 
2723
2774
 
@@ -2726,8 +2777,8 @@ export const getCreateFlowDefinitionUrl = () => {
2726
2777
  }
2727
2778
 
2728
2779
  /**
2729
- * Creates a flow definition by publishing a new revision of it. It records a
2730
- * `flowdef.created` event.
2780
+ * Publishes a new revision of a flow definition, creating the flow definition
2781
+ * on its first publish. It records a `flowdef.created` event.
2731
2782
  *
2732
2783
  * A [flow definition](https://preview.zitadel.com/docs/concepts/flows-and-schemas) is a template that
2733
2784
  * defines the sequence of steps (capabilities) for one user journey, such as
@@ -2741,9 +2792,9 @@ export const getCreateFlowDefinitionUrl = () => {
2741
2792
  * existing `name` publishes a new revision of that flow, which is not a
2742
2793
  * conflict. List with `name` to see a flow's revisions, newest by creation
2743
2794
  * time first.
2744
- * @summary Create a flow definition
2795
+ * @summary Publish a flow definition
2745
2796
  */
2746
- export const createFlowDefinition = async (createFlowDefinitionBody: CreateFlowDefinitionBody, options?: Parameters<typeof customFetch>[1]): Promise<CreateFlowDefinition201> => {
2797
+ export const publishFlowDefinition = async (publishFlowDefinitionBody: PublishFlowDefinitionBody, options?: Parameters<typeof customFetch>[1]): Promise<PublishFlowDefinition201> => {
2747
2798
 
2748
2799
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2749
2800
  if (!h) return {};
@@ -2759,12 +2810,12 @@ export const createFlowDefinition = async (createFlowDefinitionBody: CreateFlowD
2759
2810
  }
2760
2811
  return headers;
2761
2812
  };
2762
- return customFetch<CreateFlowDefinition201>(getCreateFlowDefinitionUrl(),
2813
+ return customFetch<PublishFlowDefinition201>(getPublishFlowDefinitionUrl(),
2763
2814
  {
2764
2815
  ...options,
2765
2816
  method: 'POST',
2766
2817
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2767
- body: JSON.stringify(createFlowDefinitionBody)
2818
+ body: JSON.stringify(publishFlowDefinitionBody)
2768
2819
  }
2769
2820
  );}
2770
2821
 
@@ -2798,7 +2849,7 @@ export const getListFlowDefinitionsUrl = (params: ListFlowDefinitionsParams,) =>
2798
2849
  * creation time first. A flow definition sets which step of a sign-in
2799
2850
  * renders when, and which fields each step collects.
2800
2851
  *
2801
- * The `id` of an entry is the flow definition ID that `getFlowDefinition` (`GET /flow_definitions/{id}`)
2852
+ * The `id` of an entry is the flow definition ID that `getFlowDefinition` (`GET /flow_definitions/{flow_definition_id}`)
2802
2853
  * takes. Filter by `name` to list the revisions of one flow.
2803
2854
  * @summary List flow definitions
2804
2855
  */
@@ -2815,22 +2866,22 @@ export const listFlowDefinitions = async (params: ListFlowDefinitionsParams, opt
2815
2866
 
2816
2867
 
2817
2868
 
2818
- export const getGetFlowDefinitionUrl = (id: string,) => {
2869
+ export const getGetFlowDefinitionUrl = (flowDefinitionId: string,) => {
2819
2870
 
2820
2871
 
2821
2872
 
2822
2873
 
2823
- return `${getApiBaseUrl()}/flow_definitions/${encodeURIComponent(String(id))}`
2874
+ return `${getApiBaseUrl()}/flow_definitions/${encodeURIComponent(String(flowDefinitionId))}`
2824
2875
  }
2825
2876
 
2826
2877
  /**
2827
2878
  * Returns one flow definition revision. Pass the `id` that
2828
- * `createFlowDefinition` (`POST /flow_definitions`) or `listFlowDefinitions` (`GET /flow_definitions`) returns.
2879
+ * `publishFlowDefinition` (`POST /flow_definitions`) or `listFlowDefinitions` (`GET /flow_definitions`) returns.
2829
2880
  * @summary Get a flow definition by ID
2830
2881
  */
2831
- export const getFlowDefinition = async (id: string, options?: Parameters<typeof customFetch>[1]): Promise<GetFlowDefinition200> => {
2882
+ export const getFlowDefinition = async (flowDefinitionId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetFlowDefinition200> => {
2832
2883
 
2833
- return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(id),
2884
+ return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(flowDefinitionId),
2834
2885
  {
2835
2886
  ...options,
2836
2887
  method: 'GET'
@@ -2970,7 +3021,7 @@ export const getTeam = async (teamId: string, options?: Parameters<typeof custom
2970
3021
 
2971
3022
 
2972
3023
 
2973
- export const getDeleteTeamUrl = (teamId: string,) => {
3024
+ export const getDeactivateTeamUrl = (teamId: string,) => {
2974
3025
 
2975
3026
 
2976
3027
 
@@ -2994,9 +3045,9 @@ export const getDeleteTeamUrl = (teamId: string,) => {
2994
3045
  * now such a team cannot be deactivated through the API.
2995
3046
  * @summary Deactivate a team
2996
3047
  */
2997
- export const deleteTeam = async (teamId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
3048
+ export const deactivateTeam = async (teamId: string, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
2998
3049
 
2999
- return customFetch<void>(getDeleteTeamUrl(teamId),
3050
+ return customFetch<void>(getDeactivateTeamUrl(teamId),
3000
3051
  {
3001
3052
  ...options,
3002
3053
  method: 'DELETE'
@@ -3051,7 +3102,98 @@ return customFetch<UpdateTeam200>(getUpdateTeamUrl(teamId),
3051
3102
 
3052
3103
 
3053
3104
 
3054
- export const getCreateBrandingUrl = (params: CreateBrandingParams,) => {
3105
+ export const getSearchUrl = (params?: SearchParams,) => {
3106
+ const normalizedParams = new URLSearchParams();
3107
+
3108
+ Object.entries(params || {}).forEach(([key, value]) => {
3109
+
3110
+ if (value !== undefined) {
3111
+ normalizedParams.append(key, value === null ? 'null' : String(value))
3112
+ }
3113
+ });
3114
+
3115
+ const stringifiedParams = normalizedParams.toString();
3116
+
3117
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/search?${stringifiedParams}` : `${getApiBaseUrl()}/search`
3118
+ }
3119
+
3120
+ /**
3121
+ * Finds the resources of one project, or of the projects a person can act on, that match a text, across resource types.
3122
+ *
3123
+ * `query` is what the person typed and `types` names the kinds of result to
3124
+ * look for; only those are searched. Each result is a reference: its `type`,
3125
+ * its `id`, its `project_id`, a `title` and sometimes a `subtitle`. Read the
3126
+ * resource itself with the type's own operation, for example `getUser`
3127
+ * (`GET /users/{user_id}`) or `getTeam` (`GET /teams/{team_id}`), in the
3128
+ * result's project.
3129
+ *
3130
+ * What a type matches on:
3131
+ * - `user`: the start of the value they carry as `identifier` or of a part
3132
+ * of their `display` name, from three characters on
3133
+ * - `team`: its name
3134
+ * - `schema`: the `title` and the `objectType` of a user schema
3135
+ * - `flow_definition`: its name
3136
+ * - `idp`: the `slug` and the `display_name` of an identity provider
3137
+ * connection
3138
+ *
3139
+ * A user matches from the start of a value. Every other type matches from
3140
+ * the start of a name or of a word in it, so `staff` finds "Partner Staff"
3141
+ * and `sso` finds `partner-sso`. Matching ignores case. A `query` that is the
3142
+ * `id` of a resource of a requested type finds that one. A schema and a flow
3143
+ * definition are found at their newest revision.
3144
+ *
3145
+ * `project_id` names the project to search. Without it, a project secret
3146
+ * searches its own project, and a console session searches the projects the
3147
+ * person can act on: the ones `listMyProjects` (`GET /users/me/projects`)
3148
+ * lists, at most the newest 10 by when each was created (`order=desc`).
3149
+ * `more_projects` says the person can act on more than that; search one of
3150
+ * the others by naming it. A caller with access to part of a project finds
3151
+ * only what that access covers.
3152
+ *
3153
+ * Authenticate with the project secret (`oauth2`) or a console session cookie
3154
+ * (`sessionCookie`). A preview secret is refused, as on every management
3155
+ * operation.
3156
+ *
3157
+ * Results come best match first, at most `limit_per_type` of each type
3158
+ * across every searched project, and types can be mixed in the order.
3159
+ * `incomplete_types` lists the types that have more to show: page those with
3160
+ * the type's own list, such as `queryUsers` (`POST /users/query`) or
3161
+ * `queryTeams` (`POST /teams/query`).
3162
+ *
3163
+ * How text is matched and ranked can change, and later versions can match
3164
+ * more of a resource. Treat the results as suggestions; to filter by an exact
3165
+ * rule, use the type's own list.
3166
+ * @summary Search projects
3167
+ */
3168
+ export const search = async (searchBody: SearchBody,
3169
+ params?: SearchParams, options?: Parameters<typeof customFetch>[1]): Promise<Search200> => {
3170
+
3171
+ const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3172
+ if (!h) return {};
3173
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
3174
+ if (Symbol.iterator in h) {
3175
+ return Object.fromEntries(
3176
+ Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),
3177
+ );
3178
+ }
3179
+ const headers: Record<string, string | readonly string[]> = {};
3180
+ for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {
3181
+ if (value !== undefined) headers[name] = value;
3182
+ }
3183
+ return headers;
3184
+ };
3185
+ return customFetch<Search200>(getSearchUrl(params),
3186
+ {
3187
+ ...options,
3188
+ method: 'POST',
3189
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3190
+ body: JSON.stringify(searchBody)
3191
+ }
3192
+ );}
3193
+
3194
+
3195
+
3196
+ export const getPublishBrandingUrl = (params: PublishBrandingParams,) => {
3055
3197
  const normalizedParams = new URLSearchParams();
3056
3198
 
3057
3199
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3081,8 +3223,8 @@ export const getCreateBrandingUrl = (params: CreateBrandingParams,) => {
3081
3223
  * time, in `zitadel deploy` and `zitadel deploy --dry-run`.
3082
3224
  * @summary Publish a branding revision
3083
3225
  */
3084
- export const createBranding = async (createBrandingBody: CreateBrandingBody,
3085
- params: CreateBrandingParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateBranding201> => {
3226
+ export const publishBranding = async (publishBrandingBody: PublishBrandingBody,
3227
+ params: PublishBrandingParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishBranding201> => {
3086
3228
 
3087
3229
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3088
3230
  if (!h) return {};
@@ -3098,12 +3240,12 @@ export const createBranding = async (createBrandingBody: CreateBrandingBody,
3098
3240
  }
3099
3241
  return headers;
3100
3242
  };
3101
- return customFetch<CreateBranding201>(getCreateBrandingUrl(params),
3243
+ return customFetch<PublishBranding201>(getPublishBrandingUrl(params),
3102
3244
  {
3103
3245
  ...options,
3104
3246
  method: 'POST',
3105
3247
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3106
- body: JSON.stringify(createBrandingBody)
3248
+ body: JSON.stringify(publishBrandingBody)
3107
3249
  }
3108
3250
  );}
3109
3251
 
@@ -3125,16 +3267,19 @@ export const getListBrandingUrl = (params: ListBrandingParams,) => {
3125
3267
  }
3126
3268
 
3127
3269
  /**
3128
- * Lists a project's branding revisions, newest first, capped at the 100 most
3129
- * recent and not paginated. The first entry is the newest revision.
3270
+ * Lists a project's branding revisions, newest first, paginated with a cursor.
3271
+ * The first entry of the first page is the newest revision.
3272
+ *
3273
+ * Every publish adds a revision, so the list grows without bound. Pass
3274
+ * `next_page_token` back as `page_token` to read the next page.
3130
3275
  *
3131
- * The `id` of an entry is the revision ID that `getBrandingById` (`GET /branding/{id}`) takes and
3276
+ * The `id` of an entry is the revision ID that `getBranding` (`GET /branding/{branding_id}`) takes and
3132
3277
  * that a release pins for `kind: branding`.
3133
3278
  * @summary List branding revisions
3134
3279
  */
3135
- export const listBranding = async (params: ListBrandingParams, options?: Parameters<typeof customFetch>[1]): Promise<ListBranding200Item[]> => {
3280
+ export const listBranding = async (params: ListBrandingParams, options?: Parameters<typeof customFetch>[1]): Promise<ListBranding200> => {
3136
3281
 
3137
- return customFetch<ListBranding200Item[]>(getListBrandingUrl(params),
3282
+ return customFetch<ListBranding200>(getListBrandingUrl(params),
3138
3283
  {
3139
3284
  ...options,
3140
3285
  method: 'GET'
@@ -3145,22 +3290,22 @@ export const listBranding = async (params: ListBrandingParams, options?: Paramet
3145
3290
 
3146
3291
 
3147
3292
 
3148
- export const getGetBrandingByIdUrl = (id: string,) => {
3293
+ export const getGetBrandingUrl = (brandingId: string,) => {
3149
3294
 
3150
3295
 
3151
3296
 
3152
3297
 
3153
- return `${getApiBaseUrl()}/branding/${encodeURIComponent(String(id))}`
3298
+ return `${getApiBaseUrl()}/branding/${encodeURIComponent(String(brandingId))}`
3154
3299
  }
3155
3300
 
3156
3301
  /**
3157
3302
  * Returns one branding revision, including its stored configuration. Pass the
3158
- * `id` that `createBranding` (`POST /branding`) or `listBranding` (`GET /branding`) returns.
3303
+ * `id` that `publishBranding` (`POST /branding`) or `listBranding` (`GET /branding`) returns.
3159
3304
  * @summary Get a branding revision by ID
3160
3305
  */
3161
- export const getBrandingById = async (id: string, options?: Parameters<typeof customFetch>[1]): Promise<GetBrandingById200> => {
3306
+ export const getBranding = async (brandingId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetBranding200> => {
3162
3307
 
3163
- return customFetch<GetBrandingById200>(getGetBrandingByIdUrl(id),
3308
+ return customFetch<GetBranding200>(getGetBrandingUrl(brandingId),
3164
3309
  {
3165
3310
  ...options,
3166
3311
  method: 'GET'
@@ -3171,7 +3316,39 @@ export const getBrandingById = async (id: string, options?: Parameters<typeof cu
3171
3316
 
3172
3317
 
3173
3318
 
3174
- export const getCreateIdpUrl = (params: CreateIdpParams,) => {
3319
+ export const getGetOAuthSettingsUrl = (oauthSettingsId: string,) => {
3320
+
3321
+
3322
+
3323
+
3324
+ return `${getApiBaseUrl()}/oauth_settings/${encodeURIComponent(String(oauthSettingsId))}`
3325
+ }
3326
+
3327
+ /**
3328
+ * Returns one OAuth settings revision, including its stored settings. Pass
3329
+ * the `revision_id` of the `kind: oauth` pointer on a release, which
3330
+ * `buildRelease` (`POST /releases/build`) and `getRelease`
3331
+ * (`GET /releases/{release_id}`) return.
3332
+ *
3333
+ * A release is the only writer of OAuth settings, so there is no operation
3334
+ * that publishes a revision on its own: put `oauth` in the bundle that
3335
+ * `buildRelease` takes.
3336
+ * @summary Get an OAuth settings revision by ID
3337
+ */
3338
+ export const getOAuthSettings = async (oauthSettingsId: string, options?: Parameters<typeof customFetch>[1]): Promise<GetOAuthSettings200> => {
3339
+
3340
+ return customFetch<GetOAuthSettings200>(getGetOAuthSettingsUrl(oauthSettingsId),
3341
+ {
3342
+ ...options,
3343
+ method: 'GET'
3344
+
3345
+
3346
+ }
3347
+ );}
3348
+
3349
+
3350
+
3351
+ export const getPublishIdpUrl = (params: PublishIdpParams,) => {
3175
3352
  const normalizedParams = new URLSearchParams();
3176
3353
 
3177
3354
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3223,8 +3400,8 @@ export const getCreateIdpUrl = (params: CreateIdpParams,) => {
3223
3400
  * stays unchanged.
3224
3401
  * @summary Create or revise an identity provider
3225
3402
  */
3226
- export const createIdp = async (createIdpBody: CreateIdpBody,
3227
- params: CreateIdpParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateIdp200 | CreateIdp201> => {
3403
+ export const publishIdp = async (publishIdpBody: PublishIdpBody,
3404
+ params: PublishIdpParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishIdp200 | PublishIdp201> => {
3228
3405
 
3229
3406
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3230
3407
  if (!h) return {};
@@ -3240,12 +3417,12 @@ export const createIdp = async (createIdpBody: CreateIdpBody,
3240
3417
  }
3241
3418
  return headers;
3242
3419
  };
3243
- return customFetch<CreateIdp200 | CreateIdp201>(getCreateIdpUrl(params),
3420
+ return customFetch<PublishIdp200 | PublishIdp201>(getPublishIdpUrl(params),
3244
3421
  {
3245
3422
  ...options,
3246
3423
  method: 'POST',
3247
3424
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3248
- body: JSON.stringify(createIdpBody)
3425
+ body: JSON.stringify(publishIdpBody)
3249
3426
  }
3250
3427
  );}
3251
3428
 
@@ -3300,8 +3477,8 @@ return customFetch<QueryIdps200>(getQueryIdpsUrl(params),
3300
3477
 
3301
3478
 
3302
3479
 
3303
- export const getGetIdpByIdUrl = (id: string,
3304
- params: GetIdpByIdParams,) => {
3480
+ export const getGetIdpUrl = (idpId: string,
3481
+ params: GetIdpParams,) => {
3305
3482
  const normalizedParams = new URLSearchParams();
3306
3483
 
3307
3484
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3313,21 +3490,21 @@ export const getGetIdpByIdUrl = (id: string,
3313
3490
 
3314
3491
  const stringifiedParams = normalizedParams.toString();
3315
3492
 
3316
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/idps/${encodeURIComponent(String(id))}`
3493
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}?${stringifiedParams}` : `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}`
3317
3494
  }
3318
3495
 
3319
3496
  /**
3320
3497
  * Returns an identity provider, an external sign-in such as Google, by ID at
3321
- * its newest revision. `listIdpRevisions` (`GET /idps/{id}/revisions`) lists
3498
+ * its newest revision. `listIdpRevisions` (`GET /idps/{idp_id}/revisions`) lists
3322
3499
  * every revision of it.
3323
3500
  *
3324
3501
  * The lookup is scoped to the project in `project_id`.
3325
3502
  * @summary Get an identity provider by ID
3326
3503
  */
3327
- export const getIdpById = async (id: string,
3328
- params: GetIdpByIdParams, options?: Parameters<typeof customFetch>[1]): Promise<GetIdpById200> => {
3504
+ export const getIdp = async (idpId: string,
3505
+ params: GetIdpParams, options?: Parameters<typeof customFetch>[1]): Promise<GetIdp200> => {
3329
3506
 
3330
- return customFetch<GetIdpById200>(getGetIdpByIdUrl(id,params),
3507
+ return customFetch<GetIdp200>(getGetIdpUrl(idpId,params),
3331
3508
  {
3332
3509
  ...options,
3333
3510
  method: 'GET'
@@ -3338,7 +3515,7 @@ export const getIdpById = async (id: string,
3338
3515
 
3339
3516
 
3340
3517
 
3341
- export const getListIdpRevisionsUrl = (id: string,
3518
+ export const getListIdpRevisionsUrl = (idpId: string,
3342
3519
  params: ListIdpRevisionsParams,) => {
3343
3520
  const normalizedParams = new URLSearchParams();
3344
3521
 
@@ -3351,7 +3528,7 @@ export const getListIdpRevisionsUrl = (id: string,
3351
3528
 
3352
3529
  const stringifiedParams = normalizedParams.toString();
3353
3530
 
3354
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/${encodeURIComponent(String(id))}/revisions?${stringifiedParams}` : `${getApiBaseUrl()}/idps/${encodeURIComponent(String(id))}/revisions`
3531
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}/revisions?${stringifiedParams}` : `${getApiBaseUrl()}/idps/${encodeURIComponent(String(idpId))}/revisions`
3355
3532
  }
3356
3533
 
3357
3534
  /**
@@ -3362,10 +3539,10 @@ export const getListIdpRevisionsUrl = (id: string,
3362
3539
  * The lookup is scoped to the project in `project_id`.
3363
3540
  * @summary List the revisions of an identity provider
3364
3541
  */
3365
- export const listIdpRevisions = async (id: string,
3542
+ export const listIdpRevisions = async (idpId: string,
3366
3543
  params: ListIdpRevisionsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListIdpRevisions200> => {
3367
3544
 
3368
- return customFetch<ListIdpRevisions200>(getListIdpRevisionsUrl(id,params),
3545
+ return customFetch<ListIdpRevisions200>(getListIdpRevisionsUrl(idpId,params),
3369
3546
  {
3370
3547
  ...options,
3371
3548
  method: 'GET'
@@ -3376,8 +3553,8 @@ export const listIdpRevisions = async (id: string,
3376
3553
 
3377
3554
 
3378
3555
 
3379
- export const getGetIdpRevisionByIdUrl = (revisionId: string,
3380
- params: GetIdpRevisionByIdParams,) => {
3556
+ export const getGetIdpRevisionUrl = (revisionId: string,
3557
+ params: GetIdpRevisionParams,) => {
3381
3558
  const normalizedParams = new URLSearchParams();
3382
3559
 
3383
3560
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3400,10 +3577,126 @@ export const getGetIdpRevisionByIdUrl = (revisionId: string,
3400
3577
  * The lookup is scoped to the project in `project_id`.
3401
3578
  * @summary Get a revision of an identity provider
3402
3579
  */
3403
- export const getIdpRevisionById = async (revisionId: string,
3404
- params: GetIdpRevisionByIdParams, options?: Parameters<typeof customFetch>[1]): Promise<GetIdpRevisionById200> => {
3580
+ export const getIdpRevision = async (revisionId: string,
3581
+ params: GetIdpRevisionParams, options?: Parameters<typeof customFetch>[1]): Promise<GetIdpRevision200> => {
3405
3582
 
3406
- return customFetch<GetIdpRevisionById200>(getGetIdpRevisionByIdUrl(revisionId,params),
3583
+ return customFetch<GetIdpRevision200>(getGetIdpRevisionUrl(revisionId,params),
3584
+ {
3585
+ ...options,
3586
+ method: 'GET'
3587
+
3588
+
3589
+ }
3590
+ );}
3591
+
3592
+
3593
+
3594
+ export const getPublishApplicationUrl = (params: PublishApplicationParams,) => {
3595
+ const normalizedParams = new URLSearchParams();
3596
+
3597
+ Object.entries(params || {}).forEach(([key, value]) => {
3598
+
3599
+ if (value !== undefined) {
3600
+ normalizedParams.append(key, value === null ? 'null' : String(value))
3601
+ }
3602
+ });
3603
+
3604
+ const stringifiedParams = normalizedParams.toString();
3605
+
3606
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/applications?${stringifiedParams}` : `${getApiBaseUrl()}/applications`
3607
+ }
3608
+
3609
+ /**
3610
+ * Creates or revises a registered application that authenticates its users
3611
+ * via Zitadel. If the slug does not already exist in the project, a new
3612
+ * application is created. If one with that slug already exists, a revision
3613
+ * is created.
3614
+ *
3615
+ * A revision gets a new `revision_id` and does not modify the application's
3616
+ * `id`. Sending an unchanged document also creates a revision. Each client
3617
+ * is matched to the stored one by its slug and keeps its `client_id`: a
3618
+ * revision that changes a client's `client_id` is rejected with
3619
+ * `app.field_immutable`. A revision keeps every client of the
3620
+ * stored document: one that omits a client is also rejected with
3621
+ * `app.field_immutable`, since removing a client is not available
3622
+ * yet. A client with a new slug is a new client. It takes the `client_id`
3623
+ * the document supplies, or the server generates one, and every response
3624
+ * carries it in `definition`. A `client_id` another client of the project
3625
+ * holds, or ever held, is rejected with `app.client_id_taken`.
3626
+ *
3627
+ * Every new client gets a secret, generated by the server and returned once
3628
+ * in `client_secrets`. The server stores only its hash, so no later read
3629
+ * returns it.
3630
+ *
3631
+ * The document is validated against the `application.json` schema before
3632
+ * anything is stored, and then against the rules the authorization server
3633
+ * applies: `refresh_token` comes with `authorization_code`, a client with
3634
+ * `authorization_code` has at least one redirect URI, and each redirect
3635
+ * URI meets the rules `redirect_uris` states. A document that breaks one
3636
+ * is refused with `app.invalid`, whose details identify the
3637
+ * setting.
3638
+ *
3639
+ * If the document is refused, no change is stored and an existing
3640
+ * application keeps its current revision.
3641
+ * @summary Create or revise a registered application
3642
+ */
3643
+ export const publishApplication = async (publishApplicationBody: PublishApplicationBody,
3644
+ params: PublishApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishApplication200 | PublishApplication201> => {
3645
+
3646
+ const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3647
+ if (!h) return {};
3648
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
3649
+ if (Symbol.iterator in h) {
3650
+ return Object.fromEntries(
3651
+ Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),
3652
+ );
3653
+ }
3654
+ const headers: Record<string, string | readonly string[]> = {};
3655
+ for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {
3656
+ if (value !== undefined) headers[name] = value;
3657
+ }
3658
+ return headers;
3659
+ };
3660
+ return customFetch<PublishApplication200 | PublishApplication201>(getPublishApplicationUrl(params),
3661
+ {
3662
+ ...options,
3663
+ method: 'POST',
3664
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3665
+ body: JSON.stringify(publishApplicationBody)
3666
+ }
3667
+ );}
3668
+
3669
+
3670
+
3671
+ export const getGetApplicationUrl = (applicationId: string,
3672
+ params: GetApplicationParams,) => {
3673
+ const normalizedParams = new URLSearchParams();
3674
+
3675
+ Object.entries(params || {}).forEach(([key, value]) => {
3676
+
3677
+ if (value !== undefined) {
3678
+ normalizedParams.append(key, value === null ? 'null' : String(value))
3679
+ }
3680
+ });
3681
+
3682
+ const stringifiedParams = normalizedParams.toString();
3683
+
3684
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/applications/${encodeURIComponent(String(applicationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/applications/${encodeURIComponent(String(applicationId))}`
3685
+ }
3686
+
3687
+ /**
3688
+ * Returns an application that authenticates its users via Zitadel, by ID
3689
+ * at its newest revision, with each client's `client_id` in `definition`. It
3690
+ * never returns a client secret: `publishApplication` (`POST /applications`)
3691
+ * shows one once, when it creates the client.
3692
+ *
3693
+ * The lookup is scoped to the project in `project_id`.
3694
+ * @summary Get an application by ID
3695
+ */
3696
+ export const getApplication = async (applicationId: string,
3697
+ params: GetApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<GetApplication200> => {
3698
+
3699
+ return customFetch<GetApplication200>(getGetApplicationUrl(applicationId,params),
3407
3700
  {
3408
3701
  ...options,
3409
3702
  method: 'GET'
@@ -3741,7 +4034,7 @@ export const getCreateReleaseUrl = (params: CreateReleaseParams,) => {
3741
4034
  * A release is a snapshot of the project's configuration: it pins one
3742
4035
  * revision of each resource it includes, and it is not tied to an origin.
3743
4036
  * Take each `revision_id` from the operation that created the revision, for
3744
- * example the `id` that `createBranding` (`POST /branding`) or `createFlowDefinition` (`POST /flow_definitions`) returns.
4037
+ * example the `id` that `publishBranding` (`POST /branding`) or `publishFlowDefinition` (`POST /flow_definitions`) returns.
3745
4038
  *
3746
4039
  * Each revision must exist in the project and is recorded under the handle
3747
4040
  * it declares. The release must be complete and consistent:
@@ -3812,9 +4105,9 @@ export const getListReleasesUrl = (params: ListReleasesParams,) => {
3812
4105
  * project's configuration.
3813
4106
  *
3814
4107
  * Entries carry the digest, the metadata and `revoked_at`. The pinned set is
3815
- * omitted: read one release with `getReleaseById` (`GET /releases/{release_id}`) to get its pointers.
4108
+ * omitted: read one release with `getRelease` (`GET /releases/{release_id}`) to get its pointers.
3816
4109
  *
3817
- * The `id` of an entry is the release ID that `getReleaseById`,
4110
+ * The `id` of an entry is the release ID that `getRelease`,
3818
4111
  * `revokeRelease` (`POST /releases/{release_id}/revoke`) and `createDeployment` (`POST /deployments`) take.
3819
4112
  *
3820
4113
  * `content_hash` looks a release up by its content, as the CLI does when a
@@ -3883,8 +4176,8 @@ export const getBuildReleaseUrl = (params: BuildReleaseParams,) => {
3883
4176
  *
3884
4177
  * Building writes revisions, so besides `release.write` it needs the write
3885
4178
  * scope of every kind the bundle carries a resource of: `schema.write`,
3886
- * `flow_definition.write`, `branding.write`, `idp.write` and `policy.write`,
3887
- * as the per-kind create endpoints do. A missing scope answers `403` with
4179
+ * `flow_definition.write`, `branding.write`, `idp.write`, `policy.write`
4180
+ * and `oauth_settings.write`, as the per-kind create endpoints do. A missing scope answers `403` with
3888
4181
  * `rel.permission_denied`, naming the kind. Request a token with that scope.
3889
4182
  * An empty kind needs no scope.
3890
4183
  *
@@ -3921,8 +4214,8 @@ return customFetch<BuildRelease200 | BuildRelease201>(getBuildReleaseUrl(params)
3921
4214
 
3922
4215
 
3923
4216
 
3924
- export const getGetReleaseByIdUrl = (releaseId: string,
3925
- params: GetReleaseByIdParams,) => {
4217
+ export const getGetReleaseUrl = (releaseId: string,
4218
+ params: GetReleaseParams,) => {
3926
4219
  const normalizedParams = new URLSearchParams();
3927
4220
 
3928
4221
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3956,10 +4249,10 @@ export const getGetReleaseByIdUrl = (releaseId: string,
3956
4249
  * caller cannot read.
3957
4250
  * @summary Get a release by ID
3958
4251
  */
3959
- export const getReleaseById = async (releaseId: string,
3960
- params: GetReleaseByIdParams, options?: Parameters<typeof customFetch>[1]): Promise<GetReleaseById200> => {
4252
+ export const getRelease = async (releaseId: string,
4253
+ params: GetReleaseParams, options?: Parameters<typeof customFetch>[1]): Promise<GetRelease200> => {
3961
4254
 
3962
- return customFetch<GetReleaseById200>(getGetReleaseByIdUrl(releaseId,params),
4255
+ return customFetch<GetRelease200>(getGetReleaseUrl(releaseId,params),
3963
4256
  {
3964
4257
  ...options,
3965
4258
  method: 'GET'
@@ -3996,9 +4289,10 @@ export const getRevokeReleaseUrl = (releaseId: string,
3996
4289
  *
3997
4290
  * A release that any origin still serves cannot be revoked. An origin serves
3998
4291
  * the release of the newest deployment to it, so the call answers `409` with
3999
- * `rel.in_use`, naming each such origin and that deployment. Deploy another
4000
- * release there or roll back first, then revoke. Revoking therefore never
4001
- * takes an origin down. Deployments that named the release earlier stay in
4292
+ * `rel.in_use`, naming each such origin, that deployment and whether the
4293
+ * origin is primary or a preview. Deploy another release to a primary origin
4294
+ * or roll it back, and remove a preview, then revoke. Revoking therefore
4295
+ * never takes an origin down. Deployments that named the release earlier stay in
4002
4296
  * the history.
4003
4297
  *
4004
4298
  * The call is idempotent: revoking a release that is already revoked answers
@@ -4047,7 +4341,7 @@ export const getCreateGrantUrl = (params: CreateGrantParams,) => {
4047
4341
  * The project is the one named by the `project_id` query parameter. Name the
4048
4342
  * principal with `user` (`user_id` or `identifier`) or `team` (`team_id` or
4049
4343
  * `name`). The `id` in the response (`asgn_<opaque>`) is the grant ID that
4050
- * `getGrant` (`GET /grants/{id}`) and `deleteGrant` (`DELETE /grants/{id}`) take. Owning-team (`project.team`) grants are not
4344
+ * `getGrant` (`GET /grants/{grant_id}`) and `deleteGrant` (`DELETE /grants/{grant_id}`) take. Owning-team (`project.team`) grants are not
4051
4345
  * created here: a claim, which attaches a project to a team, creates them.
4052
4346
  *
4053
4347
  * An unrevoked grant with the same principal and relation holds that binding
@@ -4117,7 +4411,7 @@ export const getQueryGrantsUrl = (params: QueryGrantsParams,) => {
4117
4411
  *
4118
4412
  * Only unrevoked grants this API manages are listed, which bind a user or team
4119
4413
  * to the viewer, editor or admin role. Expired grants are included, so a client
4120
- * can revoke them with `deleteGrant` (`DELETE /grants/{id}`) before it grants the same binding again.
4414
+ * can revoke them with `deleteGrant` (`DELETE /grants/{grant_id}`) before it grants the same binding again.
4121
4415
  * Project-secret setup (`sk_proj`) and owning-team (`relation=team`) rows are
4122
4416
  * not returned. Requires `project.read`.
4123
4417
  *
@@ -4157,7 +4451,7 @@ return customFetch<QueryGrants200>(getQueryGrantsUrl(params),
4157
4451
 
4158
4452
 
4159
4453
 
4160
- export const getGetGrantUrl = (id: string,
4454
+ export const getGetGrantUrl = (grantId: string,
4161
4455
  params: GetGrantParams,) => {
4162
4456
  const normalizedParams = new URLSearchParams();
4163
4457
 
@@ -4178,7 +4472,7 @@ export const getGetGrantUrl = (id: string,
4178
4472
 
4179
4473
  const stringifiedParams = normalizedParams.toString();
4180
4474
 
4181
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/grants/${encodeURIComponent(String(id))}`
4475
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}?${stringifiedParams}` : `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}`
4182
4476
  }
4183
4477
 
4184
4478
  /**
@@ -4186,7 +4480,7 @@ export const getGetGrantUrl = (id: string,
4186
4480
  *
4187
4481
  * This API manages grants that bind a user or team to the viewer, editor or
4188
4482
  * admin role. An expired grant is still returned, so you can revoke it with
4189
- * `deleteGrant` (`DELETE /grants/{id}`) before you grant the same binding again. Authorization still
4483
+ * `deleteGrant` (`DELETE /grants/{grant_id}`) before you grant the same binding again. Authorization still
4190
4484
  * ignores expired grants. Send `project_id` as well as the grant ID.
4191
4485
  * Misses, revoked grants, project-secret setup rows (`sk_proj`), owning-team
4192
4486
  * (`relation=team`) rows and grants of another project all return `404`.
@@ -4200,10 +4494,10 @@ export const getGetGrantUrl = (id: string,
4200
4494
  * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
4201
4495
  * @summary Get a grant by ID
4202
4496
  */
4203
- export const getGrant = async (id: string,
4497
+ export const getGrant = async (grantId: string,
4204
4498
  params: GetGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<GetGrant200> => {
4205
4499
 
4206
- return customFetch<GetGrant200>(getGetGrantUrl(id,params),
4500
+ return customFetch<GetGrant200>(getGetGrantUrl(grantId,params),
4207
4501
  {
4208
4502
  ...options,
4209
4503
  method: 'GET'
@@ -4214,7 +4508,7 @@ export const getGrant = async (id: string,
4214
4508
 
4215
4509
 
4216
4510
 
4217
- export const getDeleteGrantUrl = (id: string,
4511
+ export const getDeleteGrantUrl = (grantId: string,
4218
4512
  params: DeleteGrantParams,) => {
4219
4513
  const normalizedParams = new URLSearchParams();
4220
4514
 
@@ -4227,7 +4521,7 @@ export const getDeleteGrantUrl = (id: string,
4227
4521
 
4228
4522
  const stringifiedParams = normalizedParams.toString();
4229
4523
 
4230
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/grants/${encodeURIComponent(String(id))}`
4524
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}?${stringifiedParams}` : `${getApiBaseUrl()}/grants/${encodeURIComponent(String(grantId))}`
4231
4525
  }
4232
4526
 
4233
4527
  /**
@@ -4241,10 +4535,336 @@ export const getDeleteGrantUrl = (id: string,
4241
4535
  * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
4242
4536
  * @summary Revoke a grant
4243
4537
  */
4244
- export const deleteGrant = async (id: string,
4538
+ export const deleteGrant = async (grantId: string,
4245
4539
  params: DeleteGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
4246
4540
 
4247
- return customFetch<void>(getDeleteGrantUrl(id,params),
4541
+ return customFetch<void>(getDeleteGrantUrl(grantId,params),
4542
+ {
4543
+ ...options,
4544
+ method: 'DELETE'
4545
+
4546
+
4547
+ }
4548
+ );}
4549
+
4550
+
4551
+
4552
+ export const getCreateInvitationUrl = (params: CreateInvitationParams,) => {
4553
+ const normalizedParams = new URLSearchParams();
4554
+
4555
+ Object.entries(params || {}).forEach(([key, value]) => {
4556
+
4557
+ if (value !== undefined) {
4558
+ normalizedParams.append(key, value === null ? 'null' : String(value))
4559
+ }
4560
+ });
4561
+
4562
+ const stringifiedParams = normalizedParams.toString();
4563
+
4564
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations?${stringifiedParams}` : `${getApiBaseUrl()}/invitations`
4565
+ }
4566
+
4567
+ /**
4568
+ * Creates an invitation for a project, or replaces an existing one, and
4569
+ * returns the invitation and its one-shot link.
4570
+ *
4571
+ * Send `type` and the object named after it. `project_member` takes
4572
+ * `relation` (`viewer`, `editor` or `admin`). `team_member` takes `team_id`
4573
+ * and `role`, and answers `501` `not_implemented` until team invitations
4574
+ * ship. Optional `metadata.name` labels who the link is for. Optional
4575
+ * `replaces_invitation_id` replaces that invitation: the new row keeps the
4576
+ * original's `journey_id`, and the original is deleted in the same
4577
+ * transaction unless it was accepted.
4578
+ *
4579
+ * The `link` appears only in this response. Share it out of band; whoever
4580
+ * opens it and is signed in can redeem the role. It expires in 72 hours.
4581
+ * Refused for an unclaimed project, on a server without a platform project,
4582
+ * and when the project's pending-invitation cap is reached.
4583
+ *
4584
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
4585
+ * (`sessionCookie`). Creation needs the same project `admin` check as
4586
+ * `createGrant` (`POST /grants`). Cookie requests follow that scheme's CSRF
4587
+ * rules.
4588
+ * @summary Create an invitation
4589
+ */
4590
+ export const createInvitation = async (createInvitationBody: CreateInvitationBody,
4591
+ params: CreateInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateInvitation201> => {
4592
+
4593
+ const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
4594
+ if (!h) return {};
4595
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
4596
+ if (Symbol.iterator in h) {
4597
+ return Object.fromEntries(
4598
+ Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),
4599
+ );
4600
+ }
4601
+ const headers: Record<string, string | readonly string[]> = {};
4602
+ for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {
4603
+ if (value !== undefined) headers[name] = value;
4604
+ }
4605
+ return headers;
4606
+ };
4607
+ return customFetch<CreateInvitation201>(getCreateInvitationUrl(params),
4608
+ {
4609
+ ...options,
4610
+ method: 'POST',
4611
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
4612
+ body: JSON.stringify(createInvitationBody)
4613
+ }
4614
+ );}
4615
+
4616
+
4617
+
4618
+ export const getListInvitationsUrl = (params: ListInvitationsParams,) => {
4619
+ const normalizedParams = new URLSearchParams();
4620
+
4621
+ Object.entries(params || {}).forEach(([key, value]) => {
4622
+
4623
+ if (value !== undefined) {
4624
+ normalizedParams.append(key, value === null ? 'null' : String(value))
4625
+ }
4626
+ });
4627
+
4628
+ const stringifiedParams = normalizedParams.toString();
4629
+
4630
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations?${stringifiedParams}` : `${getApiBaseUrl()}/invitations`
4631
+ }
4632
+
4633
+ /**
4634
+ * Lists a project's invitations, newest first, in any status, paginated with
4635
+ * `limit` and `page_token`.
4636
+ *
4637
+ * Optional `status` and `type` filters narrow the page. `expired` is derived
4638
+ * on read from `expires_at`. Authenticate with a project secret (`oauth2`) or
4639
+ * a console session cookie (`sessionCookie`). Listing needs the same project
4640
+ * `admin` check as `createGrant` (`POST /grants`).
4641
+ * @summary List invitations
4642
+ */
4643
+ export const listInvitations = async (params: ListInvitationsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListInvitations200> => {
4644
+
4645
+ return customFetch<ListInvitations200>(getListInvitationsUrl(params),
4646
+ {
4647
+ ...options,
4648
+ method: 'GET'
4649
+
4650
+
4651
+ }
4652
+ );}
4653
+
4654
+
4655
+
4656
+ export const getLookupInvitationUrl = () => {
4657
+
4658
+
4659
+
4660
+
4661
+ return `${getApiBaseUrl()}/invitations/lookup`
4662
+ }
4663
+
4664
+ /**
4665
+ * Returns a lean view of the invitation for the signed-in accept page:
4666
+ * project, role, inviter and expiry.
4667
+ *
4668
+ * Send the plaintext token from the invitation link fragment. Every unknown
4669
+ * or finished token answers the same opaque `404`. Authenticate with a
4670
+ * platform-project user session cookie (`sessionCookie`). Lookup is a read:
4671
+ * same-origin cookie requests need no `X-Zitadel-CSRF` token (accept and
4672
+ * reject still do). The call is rate-limited.
4673
+ * @summary Look up an invitation by token
4674
+ */
4675
+ export const lookupInvitation = async (lookupInvitationBody: LookupInvitationBody, options?: Parameters<typeof customFetch>[1]): Promise<LookupInvitation200> => {
4676
+
4677
+ const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
4678
+ if (!h) return {};
4679
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
4680
+ if (Symbol.iterator in h) {
4681
+ return Object.fromEntries(
4682
+ Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),
4683
+ );
4684
+ }
4685
+ const headers: Record<string, string | readonly string[]> = {};
4686
+ for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {
4687
+ if (value !== undefined) headers[name] = value;
4688
+ }
4689
+ return headers;
4690
+ };
4691
+ return customFetch<LookupInvitation200>(getLookupInvitationUrl(),
4692
+ {
4693
+ ...options,
4694
+ method: 'POST',
4695
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
4696
+ body: JSON.stringify(lookupInvitationBody)
4697
+ }
4698
+ );}
4699
+
4700
+
4701
+
4702
+ export const getAcceptInvitationUrl = () => {
4703
+
4704
+
4705
+
4706
+
4707
+ return `${getApiBaseUrl()}/invitations/accept`
4708
+ }
4709
+
4710
+ /**
4711
+ * Accepts a pending invitation for the signed-in user and returns the updated
4712
+ * invitation.
4713
+ *
4714
+ * Send the plaintext token from the invitation link fragment. Acceptance
4715
+ * grants the invitation's role (a project grant for `project_member`) when
4716
+ * the invitation is pending and unexpired, the project is active and claimed,
4717
+ * and the creator still holds `admin` unless `created_by` is null. The
4718
+ * inviter cannot accept their own invitation. Every unknown or finished token
4719
+ * answers the same opaque `404`.
4720
+ *
4721
+ * Authenticate with a platform-project user session cookie (`sessionCookie`).
4722
+ * Cookie requests follow that scheme's CSRF rules. The call is rate-limited.
4723
+ * @summary Accept an invitation
4724
+ */
4725
+ export const acceptInvitation = async (acceptInvitationBody: AcceptInvitationBody, options?: Parameters<typeof customFetch>[1]): Promise<AcceptInvitation200> => {
4726
+
4727
+ const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
4728
+ if (!h) return {};
4729
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
4730
+ if (Symbol.iterator in h) {
4731
+ return Object.fromEntries(
4732
+ Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),
4733
+ );
4734
+ }
4735
+ const headers: Record<string, string | readonly string[]> = {};
4736
+ for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {
4737
+ if (value !== undefined) headers[name] = value;
4738
+ }
4739
+ return headers;
4740
+ };
4741
+ return customFetch<AcceptInvitation200>(getAcceptInvitationUrl(),
4742
+ {
4743
+ ...options,
4744
+ method: 'POST',
4745
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
4746
+ body: JSON.stringify(acceptInvitationBody)
4747
+ }
4748
+ );}
4749
+
4750
+
4751
+
4752
+ export const getRejectInvitationUrl = () => {
4753
+
4754
+
4755
+
4756
+
4757
+ return `${getApiBaseUrl()}/invitations/reject`
4758
+ }
4759
+
4760
+ /**
4761
+ * Declines a pending invitation for the signed-in user and returns the
4762
+ * updated invitation with status `rejected`.
4763
+ *
4764
+ * Send the plaintext token from the invitation link fragment. Metadata is
4765
+ * cleared. Every unknown or finished token answers the same opaque `404`.
4766
+ * Authenticate with a platform-project user session cookie (`sessionCookie`).
4767
+ * Cookie requests follow that scheme's CSRF rules. The call is rate-limited.
4768
+ * @summary Decline an invitation
4769
+ */
4770
+ export const rejectInvitation = async (rejectInvitationBody: RejectInvitationBody, options?: Parameters<typeof customFetch>[1]): Promise<RejectInvitation200> => {
4771
+
4772
+ const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
4773
+ if (!h) return {};
4774
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
4775
+ if (Symbol.iterator in h) {
4776
+ return Object.fromEntries(
4777
+ Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),
4778
+ );
4779
+ }
4780
+ const headers: Record<string, string | readonly string[]> = {};
4781
+ for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {
4782
+ if (value !== undefined) headers[name] = value;
4783
+ }
4784
+ return headers;
4785
+ };
4786
+ return customFetch<RejectInvitation200>(getRejectInvitationUrl(),
4787
+ {
4788
+ ...options,
4789
+ method: 'POST',
4790
+ headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
4791
+ body: JSON.stringify(rejectInvitationBody)
4792
+ }
4793
+ );}
4794
+
4795
+
4796
+
4797
+ export const getGetInvitationUrl = (invitationId: string,
4798
+ params: GetInvitationParams,) => {
4799
+ const normalizedParams = new URLSearchParams();
4800
+
4801
+ Object.entries(params || {}).forEach(([key, value]) => {
4802
+
4803
+ if (value !== undefined) {
4804
+ normalizedParams.append(key, value === null ? 'null' : String(value))
4805
+ }
4806
+ });
4807
+
4808
+ const stringifiedParams = normalizedParams.toString();
4809
+
4810
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}`
4811
+ }
4812
+
4813
+ /**
4814
+ * Returns one invitation by ID for the project named by `project_id`.
4815
+ *
4816
+ * The response never includes the redeem token or the create-time `link`.
4817
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
4818
+ * (`sessionCookie`). Reading needs the same project `admin` check as
4819
+ * `createGrant` (`POST /grants`).
4820
+ * @summary Get an invitation
4821
+ */
4822
+ export const getInvitation = async (invitationId: string,
4823
+ params: GetInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<GetInvitation200> => {
4824
+
4825
+ return customFetch<GetInvitation200>(getGetInvitationUrl(invitationId,params),
4826
+ {
4827
+ ...options,
4828
+ method: 'GET'
4829
+
4830
+
4831
+ }
4832
+ );}
4833
+
4834
+
4835
+
4836
+ export const getCancelInvitationUrl = (invitationId: string,
4837
+ params: CancelInvitationParams,) => {
4838
+ const normalizedParams = new URLSearchParams();
4839
+
4840
+ Object.entries(params || {}).forEach(([key, value]) => {
4841
+
4842
+ if (value !== undefined) {
4843
+ normalizedParams.append(key, value === null ? 'null' : String(value))
4844
+ }
4845
+ });
4846
+
4847
+ const stringifiedParams = normalizedParams.toString();
4848
+
4849
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}`
4850
+ }
4851
+
4852
+ /**
4853
+ * Deletes a pending invitation. Its link can no longer be redeemed. Only a
4854
+ * `pending` invitation can be cancelled; a finished invitation answers the
4855
+ * same opaque `404` as a miss. Expired invitations keep their row until a
4856
+ * later cleanup job removes them.
4857
+ *
4858
+ * Authenticate with a project secret (`oauth2`) or a console session cookie
4859
+ * (`sessionCookie`). Cancelling needs the same project `admin` check as
4860
+ * `createGrant` (`POST /grants`). Cookie requests follow that scheme's CSRF
4861
+ * rules.
4862
+ * @summary Cancel an invitation
4863
+ */
4864
+ export const cancelInvitation = async (invitationId: string,
4865
+ params: CancelInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
4866
+
4867
+ return customFetch<void>(getCancelInvitationUrl(invitationId,params),
4248
4868
  {
4249
4869
  ...options,
4250
4870
  method: 'DELETE'
@@ -4259,7 +4879,7 @@ export const getListEventsUrl = (params: ListEventsParams,) => {
4259
4879
  const normalizedParams = new URLSearchParams();
4260
4880
 
4261
4881
  Object.entries(params || {}).forEach(([key, value]) => {
4262
- const explodeParameters = ["category","event_type"];
4882
+ const explodeParameters = ["category","event_type","operation_id","status_class"];
4263
4883
 
4264
4884
  if (Array.isArray(value) && explodeParameters.includes(key)) {
4265
4885
  value.forEach((v) => {
@@ -4284,13 +4904,23 @@ export const getListEventsUrl = (params: ListEventsParams,) => {
4284
4904
  *
4285
4905
  * A project that is not claimed yet returns an empty list: its events are
4286
4906
  * stored but stay invisible until the
4287
- * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds.
4907
+ * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds. The deployment's
4908
+ * platform operators read them from the start.
4288
4909
  *
4289
4910
  * Team-scoped credentials see only the events whose `team_id` matches the
4290
4911
  * credential's team. Team-scoped credentials are not issued today.
4291
4912
  *
4292
4913
  * Each item carries an `event_type` that says which type of event it is, and
4293
- * the matching `payload`. To read one event, pass its `id` to `getEvent` (`GET /events/{id}`).
4914
+ * the matching `payload`. To read one event, pass its `id` to `getEvent` (`GET /events/{event_id}`).
4915
+ *
4916
+ * Filters combine. These are answered from an index and fill their pages: no
4917
+ * filter, `category`, `event_type`, `status_class`, `operation_id` with or
4918
+ * without `status_class`, `request_id`, `flow_id`, and `session_id`,
4919
+ * `entity_id`, `user_id`, `actor_id` or `entity_type` with or without
4920
+ * `category`, each with or without the time bounds. Any other filter or combination is
4921
+ * matched event by event, over at most a few thousand events per request.
4922
+ * Such a page can hold fewer events than `limit`, or none, and still carry
4923
+ * `next_page_token`: keep passing the token until a response has none.
4294
4924
  * @summary List events
4295
4925
  */
4296
4926
  export const listEvents = async (params: ListEventsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListEvents200> => {
@@ -4306,7 +4936,7 @@ export const listEvents = async (params: ListEventsParams, options?: Parameters<
4306
4936
 
4307
4937
 
4308
4938
 
4309
- export const getGetEventUrl = (id: string,
4939
+ export const getGetEventUrl = (eventId: string,
4310
4940
  params: GetEventParams,) => {
4311
4941
  const normalizedParams = new URLSearchParams();
4312
4942
 
@@ -4319,7 +4949,7 @@ export const getGetEventUrl = (id: string,
4319
4949
 
4320
4950
  const stringifiedParams = normalizedParams.toString();
4321
4951
 
4322
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/events/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/events/${encodeURIComponent(String(id))}`
4952
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/events/${encodeURIComponent(String(eventId))}?${stringifiedParams}` : `${getApiBaseUrl()}/events/${encodeURIComponent(String(eventId))}`
4323
4953
  }
4324
4954
 
4325
4955
  /**
@@ -4331,13 +4961,14 @@ export const getGetEventUrl = (id: string,
4331
4961
  *
4332
4962
  * A project that is not claimed yet also answers `404`: its events are
4333
4963
  * stored but stay invisible until the
4334
- * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds.
4964
+ * [claim](https://preview.zitadel.com/docs/concepts/project-team-user#claim) succeeds. The deployment's
4965
+ * platform operators read them from the start.
4335
4966
  * @summary Get an event by ID
4336
4967
  */
4337
- export const getEvent = async (id: string,
4968
+ export const getEvent = async (eventId: string,
4338
4969
  params: GetEventParams, options?: Parameters<typeof customFetch>[1]): Promise<GetEvent200> => {
4339
4970
 
4340
- return customFetch<GetEvent200>(getGetEventUrl(id,params),
4971
+ return customFetch<GetEvent200>(getGetEventUrl(eventId,params),
4341
4972
  {
4342
4973
  ...options,
4343
4974
  method: 'GET'
@@ -4348,7 +4979,7 @@ export const getEvent = async (id: string,
4348
4979
 
4349
4980
 
4350
4981
 
4351
- export const getGetVariablesUrl = (params: GetVariablesParams,) => {
4982
+ export const getListVariablesUrl = (params: ListVariablesParams,) => {
4352
4983
  const normalizedParams = new URLSearchParams();
4353
4984
 
4354
4985
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4372,9 +5003,9 @@ export const getGetVariablesUrl = (params: GetVariablesParams,) => {
4372
5003
  * which says a value is held without disclosing it.
4373
5004
  * @summary Get a project's variables
4374
5005
  */
4375
- export const getVariables = async (params: GetVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<GetVariables200> => {
5006
+ export const listVariables = async (params: ListVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<ListVariables200> => {
4376
5007
 
4377
- return customFetch<GetVariables200>(getGetVariablesUrl(params),
5008
+ return customFetch<ListVariables200>(getListVariablesUrl(params),
4378
5009
  {
4379
5010
  ...options,
4380
5011
  method: 'GET'
@@ -4385,7 +5016,7 @@ export const getVariables = async (params: GetVariablesParams, options?: Paramet
4385
5016
 
4386
5017
 
4387
5018
 
4388
- export const getUpdateVariablesUrl = (params: UpdateVariablesParams,) => {
5019
+ export const getSetVariablesUrl = (params: SetVariablesParams,) => {
4389
5020
  const normalizedParams = new URLSearchParams();
4390
5021
 
4391
5022
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4425,8 +5056,8 @@ export const getUpdateVariablesUrl = (params: UpdateVariablesParams,) => {
4425
5056
  * `variable.removed` event. The value never appears in either.
4426
5057
  * @summary Update a project's variables
4427
5058
  */
4428
- export const updateVariables = async (updateVariablesBody: UpdateVariablesBody,
4429
- params: UpdateVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<UpdateVariables200> => {
5059
+ export const setVariables = async (setVariablesBody: SetVariablesBody,
5060
+ params: SetVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<SetVariables200> => {
4430
5061
 
4431
5062
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
4432
5063
  if (!h) return {};
@@ -4442,12 +5073,12 @@ export const updateVariables = async (updateVariablesBody: UpdateVariablesBody,
4442
5073
  }
4443
5074
  return headers;
4444
5075
  };
4445
- return customFetch<UpdateVariables200>(getUpdateVariablesUrl(params),
5076
+ return customFetch<SetVariables200>(getSetVariablesUrl(params),
4446
5077
  {
4447
5078
  ...options,
4448
5079
  method: 'PATCH',
4449
5080
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
4450
- body: JSON.stringify(updateVariablesBody)
5081
+ body: JSON.stringify(setVariablesBody)
4451
5082
  }
4452
5083
  );}
4453
5084
 
@@ -4474,9 +5105,9 @@ export const getGetVariableUrl = (variableName: string,
4474
5105
  * holds a value per kind: `primary` for primary origins and `preview` for
4475
5106
  * preview URLs.
4476
5107
  *
4477
- * Pass the name of a variable the project holds, as `getVariables` (`GET /variables`) lists
5108
+ * Pass the name of a variable the project holds, as `listVariables` (`GET /variables`) lists
4478
5109
  * it. A name with no value for the requested kind answers `var.not_found`;
4479
- * set it with `updateVariables` (`PATCH /variables`). A secret reads back as `{"secret": true}`.
5110
+ * set it with `setVariables` (`PATCH /variables`). A secret reads back as `{"secret": true}`.
4480
5111
  * @summary Get a variable by name
4481
5112
  */
4482
5113
  export const getVariable = async (variableName: string,
@@ -4515,9 +5146,9 @@ export const getDeleteVariableUrl = (variableName: string,
4515
5146
  * records a `variable.removed` event.
4516
5147
  *
4517
5148
  * A name with no value for that kind answers `var.not_found`: there is
4518
- * nothing to delete. `getVariables` (`GET /variables`) lists the names the project holds. To
5149
+ * nothing to delete. `listVariables` (`GET /variables`) lists the names the project holds. To
4519
5150
  * remove several names in one request, or to remove a name that may already
4520
- * be absent, send `null` for each name to `updateVariables` (`PATCH /variables`).
5151
+ * be absent, send `null` for each name to `setVariables` (`PATCH /variables`).
4521
5152
  * @summary Delete a variable by name
4522
5153
  */
4523
5154
  export const deleteVariable = async (variableName: string,
@@ -4573,6 +5204,10 @@ export const getCreateDeploymentUrl = (params: CreateDeploymentParams,) => {
4573
5204
  * login preview of a project that does not list the console's origin. A
4574
5205
  * preview URL serves only itself.
4575
5206
  *
5207
+ * `primary` records the project's current primary origins. One added later
5208
+ * serves nothing until the next deployment to `primary`; one removed stops
5209
+ * being served at once.
5210
+ *
4576
5211
  * A deployment to `primary` changes nothing when the project's newest
4577
5212
  * primary deployment has the same release and frozen values and covers
4578
5213
  * exactly the current primary origins. The call then answers `200` with that
@@ -4587,7 +5222,7 @@ export const getCreateDeploymentUrl = (params: CreateDeploymentParams,) => {
4587
5222
  * the request.
4588
5223
  * - `400 dep.variables_missing`: a variable the release references has no
4589
5224
  * value for the kind. `details` names the kind and every missing variable.
4590
- * Set each one for that kind with `updateVariables` (`PATCH /variables`), then deploy again.
5225
+ * Set each one for that kind with `setVariables` (`PATCH /variables`), then deploy again.
4591
5226
  * - `403 proj.origin_not_allowed`: a preview URL matches no preview pattern
4592
5227
  * of the project, or is a loopback URL. Use a URL that matches a pattern.
4593
5228
  * - `404 rel.not_found`: the release ID or digest names no release in this
@@ -4658,7 +5293,8 @@ export const getListDeploymentsUrl = (params: ListDeploymentsParams,) => {
4658
5293
  * A deployment makes a release live on origins. By default the list is the
4659
5294
  * history, newest first: every deployment of the project, with every target
4660
5295
  * it made the release live on. With `origin`, it is the history of that
4661
- * origin alone.
5296
+ * origin alone. With `release_id`, it is every deployment of that release,
5297
+ * superseded ones included.
4662
5298
  *
4663
5299
  * With `live=true`, the list is what is served now, newest first. It holds
4664
5300
  * the project's newest primary deployment with every origin it names, an
@@ -4667,9 +5303,12 @@ export const getListDeploymentsUrl = (params: ListDeploymentsParams,) => {
4667
5303
  * deployment to each live preview URL, narrowed to the URLs it still
4668
5304
  * serves. Combined with `origin`, it is the one deployment that origin
4669
5305
  * serves, or empty, as it is for an origin the project no longer lists.
5306
+ * Combined with `release_id`, it is the deployments of the live view that
5307
+ * serve that release: the primary deployment only when it is of that
5308
+ * release, and the previews serving it.
4670
5309
  *
4671
- * The `id` of an entry is the deployment ID that `getDeploymentById` (`GET /deployments/{deployment_id}`),
4672
- * `getDeploymentVariables` (`GET /deployments/{deployment_id}/variables`) and `rollbackDeployment` (`POST /deployments/{deployment_id}/rollback`) take.
5310
+ * The `id` of an entry is the deployment ID that `getDeployment` (`GET /deployments/{deployment_id}`),
5311
+ * `listDeploymentVariables` (`GET /deployments/{deployment_id}/variables`) and `rollbackDeployment` (`POST /deployments/{deployment_id}/rollback`) take.
4673
5312
  *
4674
5313
  * `expand: ["release"]` embeds the release each deployment made live. It
4675
5314
  * requires `release.read` and does not change the ordering or the page
@@ -4689,8 +5328,8 @@ export const listDeployments = async (params: ListDeploymentsParams, options?: P
4689
5328
 
4690
5329
 
4691
5330
 
4692
- export const getGetDeploymentByIdUrl = (deploymentId: string,
4693
- params: GetDeploymentByIdParams,) => {
5331
+ export const getGetDeploymentUrl = (deploymentId: string,
5332
+ params: GetDeploymentParams,) => {
4694
5333
  const normalizedParams = new URLSearchParams();
4695
5334
 
4696
5335
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4718,10 +5357,10 @@ export const getGetDeploymentByIdUrl = (deploymentId: string,
4718
5357
  * the caller cannot read.
4719
5358
  * @summary Get a deployment by ID
4720
5359
  */
4721
- export const getDeploymentById = async (deploymentId: string,
4722
- params: GetDeploymentByIdParams, options?: Parameters<typeof customFetch>[1]): Promise<GetDeploymentById200> => {
5360
+ export const getDeployment = async (deploymentId: string,
5361
+ params: GetDeploymentParams, options?: Parameters<typeof customFetch>[1]): Promise<GetDeployment200> => {
4723
5362
 
4724
- return customFetch<GetDeploymentById200>(getGetDeploymentByIdUrl(deploymentId,params),
5363
+ return customFetch<GetDeployment200>(getGetDeploymentUrl(deploymentId,params),
4725
5364
  {
4726
5365
  ...options,
4727
5366
  method: 'GET'
@@ -4749,9 +5388,11 @@ export const getRollbackDeploymentUrl = (deploymentId: string,
4749
5388
  }
4750
5389
 
4751
5390
  /**
4752
- * Rolls back to an earlier deployment by deploying its release again to
4753
- * every current primary origin, with the variable values that deployment
4754
- * froze.
5391
+ * Rolls back to an earlier deployment by deploying its release again to the
5392
+ * same origins, with the same variable values. A listed primary origin that
5393
+ * deployment left out serves nothing until the next deployment to `primary`,
5394
+ * and one it named serves its release again, even when the live deployment
5395
+ * left it out.
4755
5396
  *
4756
5397
  * A release is a snapshot of the project's configuration. A deployment makes
4757
5398
  * a release live on origins and freezes the project's variable values with
@@ -4776,9 +5417,7 @@ export const getRollbackDeploymentUrl = (deploymentId: string,
4776
5417
  *
4777
5418
  * If the request is refused:
4778
5419
  * - `400 dep.invalid`: the deployment went to preview URLs, which cannot be
4779
- * rolled back. Deploy to the preview again with `createDeployment` (`POST /deployments`). The
4780
- * error also appears when the project has no primary origin. Add one with
4781
- * `zitadel origin add`.
5420
+ * rolled back. Deploy to the preview again with `createDeployment` (`POST /deployments`).
4782
5421
  * - `404 dep.not_found`: no deployment of the project has that ID, or that
4783
5422
  * deployment recorded no variables to restore, so it cannot be a rollback
4784
5423
  * target. List them with `listDeployments` and pick another.
@@ -4818,8 +5457,8 @@ return customFetch<RollbackDeployment200 | RollbackDeployment201>(getRollbackDep
4818
5457
 
4819
5458
 
4820
5459
 
4821
- export const getGetDeploymentVariablesUrl = (deploymentId: string,
4822
- params: GetDeploymentVariablesParams,) => {
5460
+ export const getListDeploymentVariablesUrl = (deploymentId: string,
5461
+ params: ListDeploymentVariablesParams,) => {
4823
5462
  const normalizedParams = new URLSearchParams();
4824
5463
 
4825
5464
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4842,10 +5481,10 @@ export const getGetDeploymentVariablesUrl = (deploymentId: string,
4842
5481
  * Pass the `id` that `createDeployment` (`POST /deployments`) or `listDeployments` (`GET /deployments`) returns.
4843
5482
  * @summary Get a deployment's variables
4844
5483
  */
4845
- export const getDeploymentVariables = async (deploymentId: string,
4846
- params: GetDeploymentVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<GetDeploymentVariables200> => {
5484
+ export const listDeploymentVariables = async (deploymentId: string,
5485
+ params: ListDeploymentVariablesParams, options?: Parameters<typeof customFetch>[1]): Promise<ListDeploymentVariables200> => {
4847
5486
 
4848
- return customFetch<GetDeploymentVariables200>(getGetDeploymentVariablesUrl(deploymentId,params),
5487
+ return customFetch<ListDeploymentVariables200>(getListDeploymentVariablesUrl(deploymentId,params),
4849
5488
  {
4850
5489
  ...options,
4851
5490
  method: 'GET'