@zitadel/api 0.6.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 (1102) 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 -3868
  9. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +69 -71
  10. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +2240 -751
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1751 -941
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  15. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +2161 -1411
  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 +515 -889
  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 +154 -108
  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 +93 -88
  49. package/src/generated/endpoints/zitadelNextGen.msw.ts +192 -177
  50. package/src/generated/endpoints/zitadelNextGen.ts +422 -352
  51. package/src/generated/endpoints/zitadelNextGen.zod.ts +2135 -1484
  52. package/src/generated/model/acceptInvitation200.ts +6 -6
  53. package/src/generated/model/addProjectOrigin201.ts +18 -0
  54. package/src/generated/model/addProjectOrigin201Kind.ts +18 -0
  55. package/src/generated/model/addProjectOriginBody.ts +35 -0
  56. package/src/generated/model/addProjectOriginBodyKind.ts +19 -0
  57. package/src/generated/model/addProjectOriginDefault.ts +135 -0
  58. package/src/generated/model/buildRelease200.ts +4 -4
  59. package/src/generated/model/buildRelease200PointersItem.ts +3 -1
  60. package/src/generated/model/buildRelease200PointersItemKind.ts +2 -1
  61. package/src/generated/model/buildRelease201.ts +4 -4
  62. package/src/generated/model/buildRelease201PointersItem.ts +3 -1
  63. package/src/generated/model/buildRelease201PointersItemKind.ts +2 -1
  64. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +2 -2
  65. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +2 -1
  66. package/src/generated/model/buildReleaseBody.ts +7 -5
  67. package/src/generated/model/buildReleaseBodyBundle.ts +23 -6
  68. package/src/generated/model/buildReleaseBodyBundleBranding.ts +1 -1
  69. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +2 -12
  70. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +2 -9
  71. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -2
  72. package/src/generated/model/buildReleaseBodyBundleOauth.ts +30 -0
  73. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +20 -0
  74. package/src/generated/model/cancelInvitationDefault.ts +9 -0
  75. package/src/generated/model/completeProjectClaim200.ts +19 -0
  76. package/src/generated/model/completeProjectClaim400.ts +20 -0
  77. package/src/generated/model/completeProjectClaim400Details.ts +12 -0
  78. package/src/generated/model/completeProjectClaim401.ts +23 -0
  79. package/src/generated/model/completeProjectClaim403.ts +36 -0
  80. package/src/generated/model/completeProjectClaim404.ts +20 -0
  81. package/src/generated/model/completeProjectClaim404Details.ts +12 -0
  82. package/src/generated/model/completeProjectClaim409.ts +25 -0
  83. package/src/generated/model/completeProjectClaim409Details.ts +14 -0
  84. package/src/generated/model/completeProjectClaim410.ts +27 -0
  85. package/src/generated/model/completeProjectClaim429.ts +20 -0
  86. package/src/generated/model/completeProjectClaim429Details.ts +12 -0
  87. package/src/generated/model/completeProjectClaimBody.ts +18 -0
  88. package/src/generated/model/completeProjectClaimDefault.ts +144 -0
  89. package/src/generated/model/completeUserPasskeyRegistration201.ts +19 -0
  90. package/src/generated/model/completeUserPasskeyRegistration400.ts +20 -0
  91. package/src/generated/model/completeUserPasskeyRegistration400Details.ts +12 -0
  92. package/src/generated/model/completeUserPasskeyRegistration401.ts +20 -0
  93. package/src/generated/model/completeUserPasskeyRegistration401Details.ts +12 -0
  94. package/src/generated/model/completeUserPasskeyRegistration403.ts +20 -0
  95. package/src/generated/model/completeUserPasskeyRegistration403Details.ts +12 -0
  96. package/src/generated/model/completeUserPasskeyRegistration404.ts +20 -0
  97. package/src/generated/model/completeUserPasskeyRegistration404Details.ts +12 -0
  98. package/src/generated/model/completeUserPasskeyRegistration429.ts +23 -0
  99. package/src/generated/model/completeUserPasskeyRegistration500.ts +20 -0
  100. package/src/generated/model/completeUserPasskeyRegistration500Details.ts +12 -0
  101. package/src/generated/model/completeUserPasskeyRegistrationBody.ts +21 -0
  102. package/src/generated/model/completeUserPasskeyRegistrationBodyAttestation.ts +12 -0
  103. package/src/generated/model/completeUserPasskeyRegistrationDefault.ts +189 -0
  104. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +1 -1
  105. package/src/generated/model/createAuthAttemptChallenge201.ts +49 -0
  106. package/src/generated/model/createAuthAttemptChallenge201Method.ts +20 -0
  107. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +34 -0
  108. package/src/generated/model/createAuthAttemptChallenge201State.ts +22 -0
  109. package/src/generated/model/createAuthAttemptChallengeBody.ts +28 -0
  110. package/src/generated/model/createAuthAttemptChallengeBodyMethod.ts +20 -0
  111. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptions.ts +19 -0
  112. package/src/generated/model/createAuthAttemptChallengeBodyPasskeyOptionsUserVerification.ts +16 -0
  113. package/src/generated/model/createAuthAttemptChallengeDefault.ts +90 -0
  114. package/src/generated/model/createAuthAttemptHandoff200.ts +30 -0
  115. package/src/generated/model/createAuthAttemptHandoff409.ts +20 -0
  116. package/src/generated/model/createAuthAttemptHandoff409Details.ts +12 -0
  117. package/src/generated/model/createAuthAttemptHandoffDefault.ts +99 -0
  118. package/src/generated/model/createDeployment200.ts +2 -2
  119. package/src/generated/model/createDeployment200Release.ts +4 -4
  120. package/src/generated/model/createDeployment200ReleasePointersItem.ts +3 -1
  121. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +2 -1
  122. package/src/generated/model/createDeployment200TargetsItem.ts +0 -5
  123. package/src/generated/model/createDeployment201.ts +2 -2
  124. package/src/generated/model/createDeployment201Release.ts +4 -4
  125. package/src/generated/model/createDeployment201ReleasePointersItem.ts +3 -1
  126. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +2 -1
  127. package/src/generated/model/createDeployment201TargetsItem.ts +0 -5
  128. package/src/generated/model/createDeployment409.ts +8 -11
  129. package/src/generated/model/createDeploymentBody.ts +2 -2
  130. package/src/generated/model/createFlow201.ts +1 -1
  131. package/src/generated/model/createFlow201Branding.ts +1 -1
  132. package/src/generated/model/createFlow201StepGates.ts +22 -9
  133. package/src/generated/model/createFlow201StepGatesChallenge.ts +30 -0
  134. package/src/generated/model/createFlow201StepGatesConfig.ts +2 -2
  135. package/src/generated/model/createFlow201StepGatesKind.ts +3 -4
  136. package/src/generated/model/createInvitation201.ts +6 -6
  137. package/src/generated/model/createInvitationBody.ts +4 -4
  138. package/src/generated/model/createInvitationDefault.ts +54 -0
  139. package/src/generated/model/createProjectClaim201.ts +25 -0
  140. package/src/generated/model/createProjectClaim401.ts +20 -0
  141. package/src/generated/model/createProjectClaim401Details.ts +12 -0
  142. package/src/generated/model/createProjectClaim404.ts +23 -0
  143. package/src/generated/model/createProjectClaim409.ts +25 -0
  144. package/src/generated/model/createProjectClaim409Details.ts +14 -0
  145. package/src/generated/model/createProjectClaim410.ts +23 -0
  146. package/src/generated/model/createProjectClaimDefault.ts +99 -0
  147. package/src/generated/model/createRelease200.ts +4 -4
  148. package/src/generated/model/createRelease200PointersItem.ts +3 -1
  149. package/src/generated/model/createRelease200PointersItemKind.ts +2 -1
  150. package/src/generated/model/createRelease201.ts +4 -4
  151. package/src/generated/model/createRelease201PointersItem.ts +3 -1
  152. package/src/generated/model/createRelease201PointersItemKind.ts +2 -1
  153. package/src/generated/model/createReleaseBodyPointersItem.ts +1 -1
  154. package/src/generated/model/createReleaseBodyPointersItemKind.ts +2 -1
  155. package/src/generated/model/createUser201.ts +1 -1
  156. package/src/generated/model/createUserBody.ts +1 -1
  157. package/src/generated/model/createUserPasskeyRegistration201.ts +25 -0
  158. package/src/generated/model/createUserPasskeyRegistration201Options.ts +13 -0
  159. package/src/generated/model/createUserPasskeyRegistration400.ts +20 -0
  160. package/src/generated/model/createUserPasskeyRegistration400Details.ts +12 -0
  161. package/src/generated/model/createUserPasskeyRegistration401.ts +20 -0
  162. package/src/generated/model/createUserPasskeyRegistration401Details.ts +12 -0
  163. package/src/generated/model/createUserPasskeyRegistration403.ts +20 -0
  164. package/src/generated/model/createUserPasskeyRegistration403Details.ts +12 -0
  165. package/src/generated/model/createUserPasskeyRegistration404.ts +20 -0
  166. package/src/generated/model/createUserPasskeyRegistration404Details.ts +12 -0
  167. package/src/generated/model/createUserPasskeyRegistration500.ts +20 -0
  168. package/src/generated/model/createUserPasskeyRegistration500Details.ts +12 -0
  169. package/src/generated/model/createUserPasskeyRegistrationBody.ts +33 -0
  170. package/src/generated/model/createUserPasskeyRegistrationDefault.ts +126 -0
  171. package/src/generated/model/deactivateTeam400.ts +20 -0
  172. package/src/generated/model/deactivateTeam400Details.ts +12 -0
  173. package/src/generated/model/deactivateTeam401.ts +20 -0
  174. package/src/generated/model/deactivateTeam401Details.ts +12 -0
  175. package/src/generated/model/deactivateTeam403.ts +20 -0
  176. package/src/generated/model/deactivateTeam403Details.ts +12 -0
  177. package/src/generated/model/deactivateTeam409.ts +20 -0
  178. package/src/generated/model/deactivateTeam409Details.ts +12 -0
  179. package/src/generated/model/deactivateTeamDefault.ts +90 -0
  180. package/src/generated/model/deleteUser401.ts +20 -0
  181. package/src/generated/model/deleteUser401Details.ts +12 -0
  182. package/src/generated/model/deleteUser404.ts +20 -0
  183. package/src/generated/model/deleteUser404Details.ts +12 -0
  184. package/src/generated/model/deleteUser409.ts +20 -0
  185. package/src/generated/model/deleteUser409Details.ts +12 -0
  186. package/src/generated/model/deleteUserDefault.ts +99 -0
  187. package/src/generated/model/evaluatePolicy200.ts +2 -2
  188. package/src/generated/model/evaluatePolicyBody.ts +31 -0
  189. package/src/generated/model/exchangeHandoffBody.ts +2 -2
  190. package/src/generated/model/getApplication200.ts +43 -0
  191. package/src/generated/model/getApplication200Definition.ts +35 -0
  192. package/src/generated/model/getApplication200DefinitionClientsItem.ts +84 -0
  193. package/src/generated/model/getApplication200DefinitionClientsItemGrantTypesItem.ts +15 -0
  194. package/src/generated/model/getApplication200DefinitionClientsItemType.ts +19 -0
  195. package/src/generated/model/getApplication401.ts +20 -0
  196. package/src/generated/model/getApplication401Details.ts +12 -0
  197. package/src/generated/model/getApplication403.ts +20 -0
  198. package/src/generated/model/getApplication403Details.ts +12 -0
  199. package/src/generated/model/getApplication404.ts +20 -0
  200. package/src/generated/model/getApplication404Details.ts +12 -0
  201. package/src/generated/model/getApplicationDefault.ts +72 -0
  202. package/src/generated/model/getApplicationParams.ts +17 -0
  203. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +1 -1
  204. package/src/generated/model/getBranding200.ts +32 -0
  205. package/src/generated/model/getBranding200Branding.ts +80 -0
  206. package/src/generated/model/getBranding200BrandingLayout.ts +27 -0
  207. package/src/generated/model/getBranding200BrandingShape.ts +30 -0
  208. package/src/generated/model/getBranding200BrandingShapeDensity.ts +19 -0
  209. package/src/generated/model/getBranding200BrandingTheme.ts +41 -0
  210. package/src/generated/model/getBranding200BrandingThemeDark.ts +34 -0
  211. package/src/generated/model/getBranding200BrandingThemeDarkPalette.ts +210 -0
  212. package/src/generated/model/getBranding200BrandingThemeLight.ts +34 -0
  213. package/src/generated/model/getBranding200BrandingThemeLightPalette.ts +210 -0
  214. package/src/generated/model/getBranding200BrandingThemeMode.ts +19 -0
  215. package/src/generated/model/getBranding200BrandingTypography.ts +47 -0
  216. package/src/generated/model/getBranding404.ts +20 -0
  217. package/src/generated/model/getBranding404Details.ts +12 -0
  218. package/src/generated/model/getBrandingDefault.ts +72 -0
  219. package/src/generated/model/getDeployment200.ts +78 -0
  220. package/src/generated/model/getDeployment200Kind.ts +18 -0
  221. package/src/generated/model/getDeployment200Metadata.ts +35 -0
  222. package/src/generated/model/getDeployment200MetadataDeployedByType.ts +20 -0
  223. package/src/generated/model/getDeployment200MetadataReason.ts +20 -0
  224. package/src/generated/model/getDeployment200Release.ts +96 -0
  225. package/src/generated/model/getDeployment200ReleaseMetadata.ts +43 -0
  226. package/src/generated/model/getDeployment200ReleaseMetadataCreatedByType.ts +20 -0
  227. package/src/generated/model/getDeployment200ReleasePointersItem.ts +63 -0
  228. package/src/generated/model/getDeployment200ReleasePointersItemKind.ts +29 -0
  229. package/src/generated/model/getDeployment200Status.ts +23 -0
  230. package/src/generated/model/getDeployment200TargetsItem.ts +23 -0
  231. package/src/generated/model/getDeploymentDefault.ts +72 -0
  232. package/src/generated/model/getDeploymentParams.ts +17 -0
  233. package/src/generated/model/getEvent200.ts +772 -100
  234. package/src/generated/model/getFlowDefinition200.ts +2 -2
  235. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +2 -12
  236. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +2 -9
  237. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -2
  238. package/src/generated/model/getFlowDefinition200UserSchema.ts +1 -1
  239. package/src/generated/model/getFlowStep200.ts +1 -1
  240. package/src/generated/model/getFlowStep200Branding.ts +1 -1
  241. package/src/generated/model/getFlowStep200StepGates.ts +22 -9
  242. package/src/generated/model/getFlowStep200StepGatesChallenge.ts +30 -0
  243. package/src/generated/model/getFlowStep200StepGatesConfig.ts +2 -2
  244. package/src/generated/model/getFlowStep200StepGatesKind.ts +3 -4
  245. package/src/generated/model/getFlowStep429.ts +23 -0
  246. package/src/generated/model/getFlowStepDefault.ts +18 -0
  247. package/src/generated/model/getIdp200.ts +39 -0
  248. package/src/generated/model/getIdp200Definition.ts +44 -0
  249. package/src/generated/model/getIdp200DefinitionClaimMapping.ts +12 -0
  250. package/src/generated/model/getIdp200DefinitionOidc.ts +65 -0
  251. package/src/generated/model/getIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  252. package/src/generated/model/getIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  253. package/src/generated/model/getIdp200DefinitionProtocol.ts +17 -0
  254. package/src/generated/model/getIdp200DefinitionProvisioning.ts +15 -0
  255. package/src/generated/model/getIdp200DefinitionProvisioningCreation.ts +15 -0
  256. package/src/generated/model/getIdp200DefinitionVerifiedClaims.ts +12 -0
  257. package/src/generated/model/getIdp401.ts +20 -0
  258. package/src/generated/model/getIdp401Details.ts +12 -0
  259. package/src/generated/model/getIdp403.ts +20 -0
  260. package/src/generated/model/getIdp403Details.ts +12 -0
  261. package/src/generated/model/getIdp404.ts +20 -0
  262. package/src/generated/model/getIdp404Details.ts +12 -0
  263. package/src/generated/model/getIdpDefault.ts +72 -0
  264. package/src/generated/model/getIdpParams.ts +17 -0
  265. package/src/generated/model/getIdpRevision200.ts +39 -0
  266. package/src/generated/model/getIdpRevision200Definition.ts +44 -0
  267. package/src/generated/model/getIdpRevision200DefinitionClaimMapping.ts +12 -0
  268. package/src/generated/model/getIdpRevision200DefinitionOidc.ts +65 -0
  269. package/src/generated/model/getIdpRevision200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  270. package/src/generated/model/getIdpRevision200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  271. package/src/generated/model/getIdpRevision200DefinitionProtocol.ts +17 -0
  272. package/src/generated/model/getIdpRevision200DefinitionProvisioning.ts +15 -0
  273. package/src/generated/model/getIdpRevision200DefinitionProvisioningCreation.ts +15 -0
  274. package/src/generated/model/getIdpRevision200DefinitionVerifiedClaims.ts +12 -0
  275. package/src/generated/model/getIdpRevision401.ts +20 -0
  276. package/src/generated/model/getIdpRevision401Details.ts +12 -0
  277. package/src/generated/model/getIdpRevision403.ts +20 -0
  278. package/src/generated/model/getIdpRevision403Details.ts +12 -0
  279. package/src/generated/model/getIdpRevision404.ts +20 -0
  280. package/src/generated/model/getIdpRevision404Details.ts +12 -0
  281. package/src/generated/model/getIdpRevisionDefault.ts +72 -0
  282. package/src/generated/model/getIdpRevisionParams.ts +17 -0
  283. package/src/generated/model/getInvitation200.ts +6 -6
  284. package/src/generated/model/getMyUser200.ts +1 -1
  285. package/src/generated/model/getOAuthSettings200.ts +34 -0
  286. package/src/generated/model/getOAuthSettings200Oauth.ts +30 -0
  287. package/src/generated/model/getOAuthSettings404.ts +20 -0
  288. package/src/generated/model/getOAuthSettings404Details.ts +12 -0
  289. package/src/generated/model/getOAuthSettingsDefault.ts +54 -0
  290. package/src/generated/model/getPolicy200.ts +36 -0
  291. package/src/generated/model/getPolicyRevision200.ts +36 -0
  292. package/src/generated/model/getProjectClaimStatus200.ts +27 -0
  293. package/src/generated/model/getProjectClaimStatus401.ts +20 -0
  294. package/src/generated/model/getProjectClaimStatus401Details.ts +12 -0
  295. package/src/generated/model/getProjectClaimStatus403.ts +23 -0
  296. package/src/generated/model/getProjectClaimStatus404.ts +20 -0
  297. package/src/generated/model/getProjectClaimStatus404Details.ts +12 -0
  298. package/src/generated/model/getProjectClaimStatus410.ts +27 -0
  299. package/src/generated/model/getProjectClaimStatus429.ts +20 -0
  300. package/src/generated/model/getProjectClaimStatus429Details.ts +12 -0
  301. package/src/generated/model/getProjectClaimStatusDefault.ts +99 -0
  302. package/src/generated/model/getProjectClaimStatusParams.ts +15 -0
  303. package/src/generated/model/getProjectClaimWindow200.ts +23 -0
  304. package/src/generated/model/getProjectClaimWindow404.ts +20 -0
  305. package/src/generated/model/getProjectClaimWindow404Details.ts +12 -0
  306. package/src/generated/model/getProjectClaimWindow429.ts +20 -0
  307. package/src/generated/model/getProjectClaimWindow429Details.ts +12 -0
  308. package/src/generated/model/getProjectClaimWindowDefault.ts +36 -0
  309. package/src/generated/model/getProjectClaimWindowParams.ts +15 -0
  310. package/src/generated/model/getRelease200.ts +96 -0
  311. package/src/generated/model/getRelease200Metadata.ts +43 -0
  312. package/src/generated/model/getRelease200MetadataCreatedByType.ts +20 -0
  313. package/src/generated/model/getRelease200PointersItem.ts +63 -0
  314. package/src/generated/model/getRelease200PointersItemKind.ts +29 -0
  315. package/src/generated/model/getReleaseDefault.ts +72 -0
  316. package/src/generated/model/getReleaseParams.ts +17 -0
  317. package/src/generated/model/getSchema200.ts +31 -0
  318. package/src/generated/model/getSchema200Metadata.ts +18 -0
  319. package/src/generated/model/getSchema200Schema.ts +84 -0
  320. package/src/generated/model/getSchemaDefault.ts +72 -0
  321. package/src/generated/model/getSchemaParams.ts +21 -0
  322. package/src/generated/model/getUser200.ts +76 -0
  323. package/src/generated/model/getUser200Attributes.ts +13 -0
  324. package/src/generated/model/getUser200Metadata.ts +44 -0
  325. package/src/generated/model/getUser200MetadataLifecycleOwnerTeam.ts +43 -0
  326. package/src/generated/model/getUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  327. package/src/generated/model/getUser200MetadataStatus.ts +20 -0
  328. package/src/generated/model/getUser200TeamsItem.ts +33 -0
  329. package/src/generated/model/getUser200TeamsItemMembershipStatus.ts +20 -0
  330. package/src/generated/model/getUser401.ts +20 -0
  331. package/src/generated/model/getUser401Details.ts +12 -0
  332. package/src/generated/model/getUser404.ts +20 -0
  333. package/src/generated/model/getUser404Details.ts +12 -0
  334. package/src/generated/model/getUserDefault.ts +72 -0
  335. package/src/generated/model/getUserParams.ts +31 -0
  336. package/src/generated/model/index.ts +444 -461
  337. package/src/generated/model/listBranding200.ts +20 -0
  338. package/src/generated/model/listBranding200BrandingItem.ts +18 -0
  339. package/src/generated/model/listBrandingParams.ts +13 -0
  340. package/src/generated/model/listDeploymentVariables200.ts +17 -0
  341. package/src/generated/model/listDeploymentVariablesDefault.ts +90 -0
  342. package/src/generated/model/listDeploymentVariablesParams.ts +17 -0
  343. package/src/generated/model/listDeployments200DeploymentsItem.ts +2 -2
  344. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +4 -4
  345. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +3 -1
  346. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +2 -1
  347. package/src/generated/model/listDeployments200DeploymentsItemTargetsItem.ts +0 -5
  348. package/src/generated/model/listDeploymentsParams.ts +5 -0
  349. package/src/generated/model/listEvents200.ts +2 -2
  350. package/src/generated/model/listEvents200EventsItem.ts +5038 -0
  351. package/src/generated/model/listEventsParams.ts +8 -0
  352. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +2 -2
  353. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +2 -12
  354. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +2 -9
  355. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -2
  356. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +1 -1
  357. package/src/generated/model/listFlowDefinitionsExpandItem.ts +1 -1
  358. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +2 -2
  359. package/src/generated/model/listInvitations200InvitationsItem.ts +6 -6
  360. package/src/generated/model/listInvitationsParams.ts +2 -2
  361. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +1 -1
  362. package/src/generated/model/listMyProjectsParams.ts +6 -0
  363. package/src/generated/model/listPolicies200PoliciesItem.ts +36 -0
  364. package/src/generated/model/listPoliciesOperation.ts +1 -0
  365. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +36 -0
  366. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +1 -1
  367. package/src/generated/model/listProjectPreviews200.ts +20 -0
  368. package/src/generated/model/listProjectPreviews200PreviewsItem.ts +37 -0
  369. package/src/generated/model/listProjectPreviewsDefault.ts +72 -0
  370. package/src/generated/model/listProjectPreviewsParams.ts +23 -0
  371. package/src/generated/model/listReleases200ReleasesItem.ts +2 -2
  372. package/src/generated/model/listReleasesParams.ts +2 -2
  373. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +1 -1
  374. package/src/generated/model/listVariables200.ts +35 -0
  375. package/src/generated/model/listVariables200Preview.ts +20 -0
  376. package/src/generated/model/listVariables200Primary.ts +20 -0
  377. package/src/generated/model/listVariablesDefault.ts +72 -0
  378. package/src/generated/model/listVariablesKind.ts +15 -0
  379. package/src/generated/model/listVariablesParams.ts +23 -0
  380. package/src/generated/model/lookupInvitation200.ts +4 -4
  381. package/src/generated/model/publishApplication200.ts +137 -0
  382. package/src/generated/model/publishApplication200ClientSecretsItem.ts +19 -0
  383. package/src/generated/model/publishApplication201.ts +137 -0
  384. package/src/generated/model/publishApplication201ClientSecretsItem.ts +19 -0
  385. package/src/generated/model/publishApplication400.ts +20 -0
  386. package/src/generated/model/publishApplication400Details.ts +12 -0
  387. package/src/generated/model/publishApplication401.ts +20 -0
  388. package/src/generated/model/publishApplication401Details.ts +12 -0
  389. package/src/generated/model/publishApplication403.ts +20 -0
  390. package/src/generated/model/publishApplication403Details.ts +12 -0
  391. package/src/generated/model/publishApplication404.ts +20 -0
  392. package/src/generated/model/publishApplication404Details.ts +12 -0
  393. package/src/generated/model/publishApplication409.ts +20 -0
  394. package/src/generated/model/publishApplication409Details.ts +12 -0
  395. package/src/generated/model/publishApplicationBody.ts +20 -0
  396. package/src/generated/model/publishApplicationBodyApplication.ts +35 -0
  397. package/src/generated/model/publishApplicationBodyApplicationClientsItem.ts +84 -0
  398. package/src/generated/model/publishApplicationBodyApplicationClientsItemGrantTypesItem.ts +15 -0
  399. package/src/generated/model/publishApplicationBodyApplicationClientsItemType.ts +19 -0
  400. package/src/generated/model/publishApplicationDefault.ts +117 -0
  401. package/src/generated/model/publishApplicationParams.ts +17 -0
  402. package/src/generated/model/publishBranding201.ts +32 -0
  403. package/src/generated/model/publishBranding201Branding.ts +80 -0
  404. package/src/generated/model/publishBranding201BrandingLayout.ts +27 -0
  405. package/src/generated/model/publishBranding201BrandingShape.ts +30 -0
  406. package/src/generated/model/publishBranding201BrandingShapeDensity.ts +19 -0
  407. package/src/generated/model/publishBranding201BrandingTheme.ts +41 -0
  408. package/src/generated/model/publishBranding201BrandingThemeDark.ts +34 -0
  409. package/src/generated/model/publishBranding201BrandingThemeDarkPalette.ts +210 -0
  410. package/src/generated/model/publishBranding201BrandingThemeLight.ts +34 -0
  411. package/src/generated/model/publishBranding201BrandingThemeLightPalette.ts +210 -0
  412. package/src/generated/model/publishBranding201BrandingThemeMode.ts +19 -0
  413. package/src/generated/model/publishBranding201BrandingTypography.ts +47 -0
  414. package/src/generated/model/publishBranding400.ts +20 -0
  415. package/src/generated/model/publishBranding400Details.ts +12 -0
  416. package/src/generated/model/publishBrandingBody.ts +80 -0
  417. package/src/generated/model/publishBrandingBodyLayout.ts +27 -0
  418. package/src/generated/model/publishBrandingBodyShape.ts +30 -0
  419. package/src/generated/model/publishBrandingBodyShapeDensity.ts +19 -0
  420. package/src/generated/model/publishBrandingBodyTheme.ts +41 -0
  421. package/src/generated/model/publishBrandingBodyThemeDark.ts +34 -0
  422. package/src/generated/model/publishBrandingBodyThemeDarkPalette.ts +210 -0
  423. package/src/generated/model/publishBrandingBodyThemeLight.ts +34 -0
  424. package/src/generated/model/publishBrandingBodyThemeLightPalette.ts +210 -0
  425. package/src/generated/model/publishBrandingBodyThemeMode.ts +19 -0
  426. package/src/generated/model/publishBrandingBodyTypography.ts +47 -0
  427. package/src/generated/model/publishBrandingDefault.ts +99 -0
  428. package/src/generated/model/publishBrandingParams.ts +17 -0
  429. package/src/generated/model/publishFlowDefinition201.ts +48 -0
  430. package/src/generated/model/publishFlowDefinition201FlowDefinition.ts +85 -0
  431. package/src/generated/model/publishFlowDefinition201FlowDefinitionAudience.ts +20 -0
  432. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItem.ts +109 -0
  433. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +49 -0
  434. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +29 -0
  435. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemComplete.ts +20 -0
  436. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGates.ts +29 -0
  437. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +12 -0
  438. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
  439. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +25 -0
  440. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitions.ts +68 -0
  441. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +28 -0
  442. package/src/generated/model/publishFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  443. package/src/generated/model/publishFlowDefinition201UserSchema.ts +26 -0
  444. package/src/generated/model/publishFlowDefinition201UserSchemaMetadata.ts +18 -0
  445. package/src/generated/model/publishFlowDefinition201UserSchemaSchema.ts +84 -0
  446. package/src/generated/model/publishFlowDefinition400.ts +20 -0
  447. package/src/generated/model/publishFlowDefinition400Details.ts +12 -0
  448. package/src/generated/model/publishFlowDefinitionBody.ts +43 -0
  449. package/src/generated/model/publishFlowDefinitionBodyFlowDefinition.ts +85 -0
  450. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionAudience.ts +20 -0
  451. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItem.ts +109 -0
  452. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +49 -0
  453. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +29 -0
  454. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +20 -0
  455. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +29 -0
  456. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +12 -0
  457. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +20 -0
  458. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +25 -0
  459. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +68 -0
  460. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +28 -0
  461. package/src/generated/model/publishFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +29 -0
  462. package/src/generated/model/publishFlowDefinitionDefault.ts +117 -0
  463. package/src/generated/model/publishIdp200.ts +39 -0
  464. package/src/generated/model/publishIdp200Definition.ts +44 -0
  465. package/src/generated/model/publishIdp200DefinitionClaimMapping.ts +12 -0
  466. package/src/generated/model/publishIdp200DefinitionOidc.ts +65 -0
  467. package/src/generated/model/publishIdp200DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  468. package/src/generated/model/publishIdp200DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  469. package/src/generated/model/publishIdp200DefinitionProtocol.ts +17 -0
  470. package/src/generated/model/publishIdp200DefinitionProvisioning.ts +15 -0
  471. package/src/generated/model/publishIdp200DefinitionProvisioningCreation.ts +15 -0
  472. package/src/generated/model/publishIdp200DefinitionVerifiedClaims.ts +12 -0
  473. package/src/generated/model/publishIdp201.ts +39 -0
  474. package/src/generated/model/publishIdp201Definition.ts +44 -0
  475. package/src/generated/model/publishIdp201DefinitionClaimMapping.ts +12 -0
  476. package/src/generated/model/publishIdp201DefinitionOidc.ts +65 -0
  477. package/src/generated/model/publishIdp201DefinitionOidcStaticAuthorizeParameters.ts +12 -0
  478. package/src/generated/model/publishIdp201DefinitionOidcTokenEndpointAuthMethod.ts +18 -0
  479. package/src/generated/model/publishIdp201DefinitionProtocol.ts +17 -0
  480. package/src/generated/model/publishIdp201DefinitionProvisioning.ts +15 -0
  481. package/src/generated/model/publishIdp201DefinitionProvisioningCreation.ts +15 -0
  482. package/src/generated/model/publishIdp201DefinitionVerifiedClaims.ts +12 -0
  483. package/src/generated/model/publishIdp400.ts +20 -0
  484. package/src/generated/model/publishIdp400Details.ts +12 -0
  485. package/src/generated/model/publishIdp401.ts +20 -0
  486. package/src/generated/model/publishIdp401Details.ts +12 -0
  487. package/src/generated/model/publishIdp403.ts +20 -0
  488. package/src/generated/model/publishIdp403Details.ts +12 -0
  489. package/src/generated/model/publishIdp404.ts +20 -0
  490. package/src/generated/model/publishIdp404Details.ts +12 -0
  491. package/src/generated/model/publishIdpBody.ts +15 -0
  492. package/src/generated/model/publishIdpBodyIdp.ts +44 -0
  493. package/src/generated/model/publishIdpBodyIdpClaimMapping.ts +12 -0
  494. package/src/generated/model/publishIdpBodyIdpOidc.ts +65 -0
  495. package/src/generated/model/publishIdpBodyIdpOidcStaticAuthorizeParameters.ts +12 -0
  496. package/src/generated/model/publishIdpBodyIdpOidcTokenEndpointAuthMethod.ts +18 -0
  497. package/src/generated/model/publishIdpBodyIdpProtocol.ts +17 -0
  498. package/src/generated/model/publishIdpBodyIdpProvisioning.ts +15 -0
  499. package/src/generated/model/publishIdpBodyIdpProvisioningCreation.ts +15 -0
  500. package/src/generated/model/publishIdpBodyIdpVerifiedClaims.ts +12 -0
  501. package/src/generated/model/publishIdpDefault.ts +108 -0
  502. package/src/generated/model/publishIdpParams.ts +17 -0
  503. package/src/generated/model/publishPolicy201.ts +36 -0
  504. package/src/generated/model/publishPolicyBody.ts +20 -0
  505. package/src/generated/model/publishSchema201.ts +31 -0
  506. package/src/generated/model/publishSchema201Metadata.ts +18 -0
  507. package/src/generated/model/publishSchema201Schema.ts +84 -0
  508. package/src/generated/model/publishSchemaBody.ts +86 -0
  509. package/src/generated/model/publishSchemaDefault.ts +153 -0
  510. package/src/generated/model/publishSchemaParams.ts +22 -0
  511. package/src/generated/model/queryIdps200IdpsItem.ts +2 -2
  512. package/src/generated/model/queryUsers200UsersItem.ts +1 -1
  513. package/src/generated/model/rejectInvitation200.ts +6 -6
  514. package/src/generated/model/removeProjectOriginBody.ts +15 -0
  515. package/src/generated/model/removeProjectOriginDefault.ts +108 -0
  516. package/src/generated/model/removeProjectPreviewBody.ts +23 -0
  517. package/src/generated/model/removeProjectPreviewDefault.ts +90 -0
  518. package/src/generated/model/revokeRelease200.ts +4 -4
  519. package/src/generated/model/revokeRelease200PointersItem.ts +3 -1
  520. package/src/generated/model/revokeRelease200PointersItemKind.ts +2 -1
  521. package/src/generated/model/rollbackDeployment200.ts +2 -2
  522. package/src/generated/model/rollbackDeployment200Release.ts +4 -4
  523. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +3 -1
  524. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +2 -1
  525. package/src/generated/model/rollbackDeployment200TargetsItem.ts +0 -5
  526. package/src/generated/model/rollbackDeployment201.ts +2 -2
  527. package/src/generated/model/rollbackDeployment201Release.ts +4 -4
  528. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +3 -1
  529. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +2 -1
  530. package/src/generated/model/rollbackDeployment201TargetsItem.ts +0 -5
  531. package/src/generated/model/rollbackDeployment409.ts +8 -11
  532. package/src/generated/model/search200.ts +9 -2
  533. package/src/generated/model/searchDefault.ts +2 -74
  534. package/src/generated/model/searchParams.ts +3 -2
  535. package/src/generated/model/setUserPassword429.ts +23 -0
  536. package/src/generated/model/setUserPasswordDefault.ts +9 -0
  537. package/src/generated/model/setVariables200.ts +35 -0
  538. package/src/generated/model/setVariables200Preview.ts +20 -0
  539. package/src/generated/model/setVariables200Primary.ts +20 -0
  540. package/src/generated/model/setVariablesBody.ts +48 -0
  541. package/src/generated/model/setVariablesDefault.ts +162 -0
  542. package/src/generated/model/setVariablesKind.ts +15 -0
  543. package/src/generated/model/setVariablesParams.ts +23 -0
  544. package/src/generated/model/submitFlowStep200.ts +1 -1
  545. package/src/generated/model/submitFlowStep200Branding.ts +1 -1
  546. package/src/generated/model/submitFlowStep200StepGates.ts +22 -9
  547. package/src/generated/model/submitFlowStep200StepGatesChallenge.ts +30 -0
  548. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +2 -2
  549. package/src/generated/model/submitFlowStep200StepGatesKind.ts +3 -4
  550. package/src/generated/model/submitFlowStep400.ts +885 -8
  551. package/src/generated/model/submitFlowStep429.ts +23 -0
  552. package/src/generated/model/submitFlowStepBody.ts +5 -2
  553. package/src/generated/model/submitFlowStepBodyGateProofs.ts +4 -1
  554. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  555. package/src/generated/model/updateMyUser200.ts +76 -0
  556. package/src/generated/model/updateMyUser200Attributes.ts +13 -0
  557. package/src/generated/model/updateMyUser200Metadata.ts +44 -0
  558. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeam.ts +43 -0
  559. package/src/generated/model/updateMyUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  560. package/src/generated/model/updateMyUser200MetadataStatus.ts +20 -0
  561. package/src/generated/model/updateMyUser200TeamsItem.ts +33 -0
  562. package/src/generated/model/updateMyUser200TeamsItemMembershipStatus.ts +20 -0
  563. package/src/generated/model/updateMyUser400.ts +20 -0
  564. package/src/generated/model/updateMyUser400Details.ts +12 -0
  565. package/src/generated/model/updateMyUser401.ts +20 -0
  566. package/src/generated/model/updateMyUser401Details.ts +12 -0
  567. package/src/generated/model/updateMyUser403.ts +20 -0
  568. package/src/generated/model/updateMyUser403Details.ts +12 -0
  569. package/src/generated/model/updateMyUser404.ts +23 -0
  570. package/src/generated/model/updateMyUser409.ts +20 -0
  571. package/src/generated/model/updateMyUser409Details.ts +12 -0
  572. package/src/generated/model/updateMyUserBody.ts +25 -0
  573. package/src/generated/model/updateMyUserBodyAttributes.ts +13 -0
  574. package/src/generated/model/updateMyUserDefault.ts +117 -0
  575. package/src/generated/model/updateMyUserParams.ts +26 -0
  576. package/src/generated/model/updateProject200.ts +96 -0
  577. package/src/generated/model/updateProject400.ts +20 -0
  578. package/src/generated/model/updateProject400Details.ts +12 -0
  579. package/src/generated/model/updateProject401.ts +20 -0
  580. package/src/generated/model/updateProject401Details.ts +12 -0
  581. package/src/generated/model/updateProject404.ts +20 -0
  582. package/src/generated/model/updateProject404Details.ts +12 -0
  583. package/src/generated/model/updateProjectBody.ts +19 -0
  584. package/src/generated/model/updateProjectBodyPasswordHash.ts +40 -0
  585. package/src/generated/model/updateProjectBodyPasswordHashAlgorithm.ts +24 -0
  586. package/src/generated/model/updateProjectBodyPasswordHashParams.ts +44 -0
  587. package/src/generated/model/updateProjectBodyPasswordHashParamsHash.ts +24 -0
  588. package/src/generated/model/updateProjectDefault.ts +117 -0
  589. package/src/generated/model/updateUser200.ts +76 -0
  590. package/src/generated/model/updateUser200Attributes.ts +13 -0
  591. package/src/generated/model/updateUser200Metadata.ts +44 -0
  592. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeam.ts +43 -0
  593. package/src/generated/model/updateUser200MetadataLifecycleOwnerTeamStatus.ts +21 -0
  594. package/src/generated/model/updateUser200MetadataStatus.ts +20 -0
  595. package/src/generated/model/updateUser200TeamsItem.ts +33 -0
  596. package/src/generated/model/updateUser200TeamsItemMembershipStatus.ts +20 -0
  597. package/src/generated/model/updateUser400.ts +20 -0
  598. package/src/generated/model/updateUser400Details.ts +12 -0
  599. package/src/generated/model/updateUser401.ts +20 -0
  600. package/src/generated/model/updateUser401Details.ts +12 -0
  601. package/src/generated/model/updateUser403.ts +20 -0
  602. package/src/generated/model/updateUser403Details.ts +12 -0
  603. package/src/generated/model/updateUser404.ts +20 -0
  604. package/src/generated/model/updateUser404Details.ts +12 -0
  605. package/src/generated/model/updateUser409.ts +20 -0
  606. package/src/generated/model/updateUser409Details.ts +12 -0
  607. package/src/generated/model/updateUserBody.ts +53 -0
  608. package/src/generated/model/updateUserBodyAttributes.ts +13 -0
  609. package/src/generated/model/updateUserDefault.ts +117 -0
  610. package/src/generated/model/verifyAuthAttemptChallenge200.ts +76 -0
  611. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItem.ts +49 -0
  612. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemMethod.ts +20 -0
  613. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +34 -0
  614. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemState.ts +22 -0
  615. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItem.ts +28 -0
  616. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemMethod.ts +20 -0
  617. package/src/generated/model/verifyAuthAttemptChallenge200CompletedFactorsItemPayload.ts +37 -0
  618. package/src/generated/model/verifyAuthAttemptChallenge200RequiredFactorsItem.ts +20 -0
  619. package/src/generated/model/verifyAuthAttemptChallenge200State.ts +24 -0
  620. package/src/generated/model/verifyAuthAttemptChallenge409.ts +20 -0
  621. package/src/generated/model/verifyAuthAttemptChallenge409Details.ts +12 -0
  622. package/src/generated/model/verifyAuthAttemptChallenge429.ts +23 -0
  623. package/src/generated/model/verifyAuthAttemptChallengeBody.ts +27 -0
  624. package/src/generated/model/verifyAuthAttemptChallengeDefault.ts +189 -0
  625. package/src/generated/operations.ts +149 -102
  626. package/src/generated/paging.ts +12 -7
  627. package/src/runtime/api-factory.spec.ts +3 -3
  628. package/src/runtime/api-factory.ts +1 -1
  629. package/src/runtime/base-url.spec.ts +5 -5
  630. package/dist/api-factory-Durul-IL.d.mts +0 -222
  631. package/dist/api-factory-Durul-IL.d.mts.map +0 -1
  632. package/dist/api-factory-DwzqkuTV.mjs +0 -367
  633. package/dist/api-factory-DwzqkuTV.mjs.map +0 -1
  634. package/dist/fetch-BzLvdm6C.d.mts +0 -136
  635. package/dist/fetch-BzLvdm6C.d.mts.map +0 -1
  636. package/dist/generated/endpoints/zitadelNextGen.mjs.map +0 -1
  637. package/dist/index-D0r_rLRr.d.mts +0 -60777
  638. package/dist/index-D0r_rLRr.d.mts.map +0 -1
  639. package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
  640. package/dist/zitadelNextGen-DgKtevtj.d.mts +0 -1940
  641. package/dist/zitadelNextGen-DgKtevtj.d.mts.map +0 -1
  642. package/src/generated/model/addOrigin201.ts +0 -18
  643. package/src/generated/model/addOrigin201Kind.ts +0 -18
  644. package/src/generated/model/addOriginBody.ts +0 -35
  645. package/src/generated/model/addOriginBodyKind.ts +0 -19
  646. package/src/generated/model/addOriginDefault.ts +0 -135
  647. package/src/generated/model/beginUserPasskeyRegistration201.ts +0 -25
  648. package/src/generated/model/beginUserPasskeyRegistration201Options.ts +0 -13
  649. package/src/generated/model/beginUserPasskeyRegistration400.ts +0 -20
  650. package/src/generated/model/beginUserPasskeyRegistration400Details.ts +0 -12
  651. package/src/generated/model/beginUserPasskeyRegistration401.ts +0 -20
  652. package/src/generated/model/beginUserPasskeyRegistration401Details.ts +0 -12
  653. package/src/generated/model/beginUserPasskeyRegistration403.ts +0 -20
  654. package/src/generated/model/beginUserPasskeyRegistration403Details.ts +0 -12
  655. package/src/generated/model/beginUserPasskeyRegistration404.ts +0 -20
  656. package/src/generated/model/beginUserPasskeyRegistration404Details.ts +0 -12
  657. package/src/generated/model/beginUserPasskeyRegistration500.ts +0 -20
  658. package/src/generated/model/beginUserPasskeyRegistration500Details.ts +0 -12
  659. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +0 -33
  660. package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +0 -126
  661. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +0 -23
  662. package/src/generated/model/completeClaim200.ts +0 -19
  663. package/src/generated/model/completeClaim400.ts +0 -20
  664. package/src/generated/model/completeClaim400Details.ts +0 -12
  665. package/src/generated/model/completeClaim401.ts +0 -23
  666. package/src/generated/model/completeClaim403.ts +0 -36
  667. package/src/generated/model/completeClaim404.ts +0 -20
  668. package/src/generated/model/completeClaim404Details.ts +0 -12
  669. package/src/generated/model/completeClaim409.ts +0 -25
  670. package/src/generated/model/completeClaim409Details.ts +0 -14
  671. package/src/generated/model/completeClaim410.ts +0 -27
  672. package/src/generated/model/completeClaim429.ts +0 -20
  673. package/src/generated/model/completeClaim429Details.ts +0 -12
  674. package/src/generated/model/completeClaimBody.ts +0 -18
  675. package/src/generated/model/completeClaimDefault.ts +0 -144
  676. package/src/generated/model/createApplication200.ts +0 -137
  677. package/src/generated/model/createApplication200ClientSecretsItem.ts +0 -19
  678. package/src/generated/model/createApplication201.ts +0 -137
  679. package/src/generated/model/createApplication201ClientSecretsItem.ts +0 -19
  680. package/src/generated/model/createApplication400.ts +0 -20
  681. package/src/generated/model/createApplication400Details.ts +0 -12
  682. package/src/generated/model/createApplication401.ts +0 -20
  683. package/src/generated/model/createApplication401Details.ts +0 -12
  684. package/src/generated/model/createApplication403.ts +0 -20
  685. package/src/generated/model/createApplication403Details.ts +0 -12
  686. package/src/generated/model/createApplication404.ts +0 -20
  687. package/src/generated/model/createApplication404Details.ts +0 -12
  688. package/src/generated/model/createApplication409.ts +0 -20
  689. package/src/generated/model/createApplication409Details.ts +0 -12
  690. package/src/generated/model/createApplicationBody.ts +0 -20
  691. package/src/generated/model/createApplicationBodyApplication.ts +0 -35
  692. package/src/generated/model/createApplicationBodyApplicationClientsItem.ts +0 -84
  693. package/src/generated/model/createApplicationBodyApplicationClientsItemGrantTypesItem.ts +0 -15
  694. package/src/generated/model/createApplicationBodyApplicationClientsItemType.ts +0 -19
  695. package/src/generated/model/createApplicationDefault.ts +0 -54
  696. package/src/generated/model/createApplicationParams.ts +0 -17
  697. package/src/generated/model/createBranding201.ts +0 -32
  698. package/src/generated/model/createBranding201Branding.ts +0 -80
  699. package/src/generated/model/createBranding201BrandingLayout.ts +0 -27
  700. package/src/generated/model/createBranding201BrandingShape.ts +0 -30
  701. package/src/generated/model/createBranding201BrandingShapeDensity.ts +0 -19
  702. package/src/generated/model/createBranding201BrandingTheme.ts +0 -41
  703. package/src/generated/model/createBranding201BrandingThemeDark.ts +0 -34
  704. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +0 -210
  705. package/src/generated/model/createBranding201BrandingThemeLight.ts +0 -34
  706. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +0 -210
  707. package/src/generated/model/createBranding201BrandingThemeMode.ts +0 -19
  708. package/src/generated/model/createBranding201BrandingTypography.ts +0 -47
  709. package/src/generated/model/createBranding400.ts +0 -20
  710. package/src/generated/model/createBranding400Details.ts +0 -12
  711. package/src/generated/model/createBrandingBody.ts +0 -80
  712. package/src/generated/model/createBrandingBodyLayout.ts +0 -27
  713. package/src/generated/model/createBrandingBodyShape.ts +0 -30
  714. package/src/generated/model/createBrandingBodyShapeDensity.ts +0 -19
  715. package/src/generated/model/createBrandingBodyTheme.ts +0 -41
  716. package/src/generated/model/createBrandingBodyThemeDark.ts +0 -34
  717. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +0 -210
  718. package/src/generated/model/createBrandingBodyThemeLight.ts +0 -34
  719. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +0 -210
  720. package/src/generated/model/createBrandingBodyThemeMode.ts +0 -19
  721. package/src/generated/model/createBrandingBodyTypography.ts +0 -47
  722. package/src/generated/model/createBrandingDefault.ts +0 -99
  723. package/src/generated/model/createBrandingParams.ts +0 -17
  724. package/src/generated/model/createFlowDefinition201.ts +0 -48
  725. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +0 -95
  726. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +0 -20
  727. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +0 -23
  728. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +0 -109
  729. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +0 -49
  730. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +0 -29
  731. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +0 -20
  732. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +0 -36
  733. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +0 -13
  734. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +0 -20
  735. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +0 -25
  736. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +0 -68
  737. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +0 -28
  738. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  739. package/src/generated/model/createFlowDefinition201UserSchema.ts +0 -26
  740. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +0 -18
  741. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +0 -84
  742. package/src/generated/model/createFlowDefinition400.ts +0 -20
  743. package/src/generated/model/createFlowDefinition400Details.ts +0 -12
  744. package/src/generated/model/createFlowDefinitionBody.ts +0 -45
  745. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +0 -95
  746. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +0 -20
  747. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +0 -23
  748. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +0 -109
  749. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +0 -49
  750. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +0 -29
  751. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts +0 -20
  752. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +0 -36
  753. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +0 -13
  754. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +0 -20
  755. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts +0 -25
  756. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +0 -68
  757. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +0 -28
  758. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +0 -29
  759. package/src/generated/model/createFlowDefinitionDefault.ts +0 -117
  760. package/src/generated/model/createHandoff200.ts +0 -30
  761. package/src/generated/model/createHandoff409.ts +0 -20
  762. package/src/generated/model/createHandoff409Details.ts +0 -12
  763. package/src/generated/model/createHandoffDefault.ts +0 -99
  764. package/src/generated/model/createIdp200.ts +0 -39
  765. package/src/generated/model/createIdp200Definition.ts +0 -44
  766. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +0 -12
  767. package/src/generated/model/createIdp200DefinitionOidc.ts +0 -65
  768. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  769. package/src/generated/model/createIdp200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  770. package/src/generated/model/createIdp200DefinitionProtocol.ts +0 -17
  771. package/src/generated/model/createIdp200DefinitionProvisioning.ts +0 -15
  772. package/src/generated/model/createIdp200DefinitionProvisioningCreation.ts +0 -15
  773. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +0 -12
  774. package/src/generated/model/createIdp201.ts +0 -39
  775. package/src/generated/model/createIdp201Definition.ts +0 -44
  776. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +0 -12
  777. package/src/generated/model/createIdp201DefinitionOidc.ts +0 -65
  778. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  779. package/src/generated/model/createIdp201DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  780. package/src/generated/model/createIdp201DefinitionProtocol.ts +0 -17
  781. package/src/generated/model/createIdp201DefinitionProvisioning.ts +0 -15
  782. package/src/generated/model/createIdp201DefinitionProvisioningCreation.ts +0 -15
  783. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +0 -12
  784. package/src/generated/model/createIdp400.ts +0 -20
  785. package/src/generated/model/createIdp400Details.ts +0 -12
  786. package/src/generated/model/createIdp401.ts +0 -20
  787. package/src/generated/model/createIdp401Details.ts +0 -12
  788. package/src/generated/model/createIdp403.ts +0 -20
  789. package/src/generated/model/createIdp403Details.ts +0 -12
  790. package/src/generated/model/createIdp404.ts +0 -20
  791. package/src/generated/model/createIdp404Details.ts +0 -12
  792. package/src/generated/model/createIdpBody.ts +0 -15
  793. package/src/generated/model/createIdpBodyIdp.ts +0 -44
  794. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +0 -12
  795. package/src/generated/model/createIdpBodyIdpOidc.ts +0 -65
  796. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +0 -12
  797. package/src/generated/model/createIdpBodyIdpOidcTokenEndpointAuthMethod.ts +0 -18
  798. package/src/generated/model/createIdpBodyIdpProtocol.ts +0 -17
  799. package/src/generated/model/createIdpBodyIdpProvisioning.ts +0 -15
  800. package/src/generated/model/createIdpBodyIdpProvisioningCreation.ts +0 -15
  801. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +0 -12
  802. package/src/generated/model/createIdpDefault.ts +0 -108
  803. package/src/generated/model/createIdpParams.ts +0 -17
  804. package/src/generated/model/createSchema201.ts +0 -12
  805. package/src/generated/model/createSchemaBody.ts +0 -86
  806. package/src/generated/model/createSchemaDefault.ts +0 -153
  807. package/src/generated/model/createSchemaParams.ts +0 -22
  808. package/src/generated/model/deleteTeam400.ts +0 -20
  809. package/src/generated/model/deleteTeam400Details.ts +0 -12
  810. package/src/generated/model/deleteTeam401.ts +0 -20
  811. package/src/generated/model/deleteTeam401Details.ts +0 -12
  812. package/src/generated/model/deleteTeam403.ts +0 -20
  813. package/src/generated/model/deleteTeam403Details.ts +0 -12
  814. package/src/generated/model/deleteTeam409.ts +0 -20
  815. package/src/generated/model/deleteTeam409Details.ts +0 -12
  816. package/src/generated/model/deleteTeamDefault.ts +0 -90
  817. package/src/generated/model/deleteUserByID401.ts +0 -20
  818. package/src/generated/model/deleteUserByID401Details.ts +0 -12
  819. package/src/generated/model/deleteUserByID404.ts +0 -20
  820. package/src/generated/model/deleteUserByID404Details.ts +0 -12
  821. package/src/generated/model/deleteUserByID409.ts +0 -20
  822. package/src/generated/model/deleteUserByID409Details.ts +0 -12
  823. package/src/generated/model/deleteUserByIDDefault.ts +0 -99
  824. package/src/generated/model/finishUserPasskeyRegistration201.ts +0 -19
  825. package/src/generated/model/finishUserPasskeyRegistration400.ts +0 -20
  826. package/src/generated/model/finishUserPasskeyRegistration400Details.ts +0 -12
  827. package/src/generated/model/finishUserPasskeyRegistration401.ts +0 -20
  828. package/src/generated/model/finishUserPasskeyRegistration401Details.ts +0 -12
  829. package/src/generated/model/finishUserPasskeyRegistration403.ts +0 -20
  830. package/src/generated/model/finishUserPasskeyRegistration403Details.ts +0 -12
  831. package/src/generated/model/finishUserPasskeyRegistration404.ts +0 -20
  832. package/src/generated/model/finishUserPasskeyRegistration404Details.ts +0 -12
  833. package/src/generated/model/finishUserPasskeyRegistration500.ts +0 -20
  834. package/src/generated/model/finishUserPasskeyRegistration500Details.ts +0 -12
  835. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +0 -21
  836. package/src/generated/model/finishUserPasskeyRegistrationBodyAttestation.ts +0 -12
  837. package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +0 -180
  838. package/src/generated/model/getApplicationById200.ts +0 -43
  839. package/src/generated/model/getApplicationById200Definition.ts +0 -35
  840. package/src/generated/model/getApplicationById200DefinitionClientsItem.ts +0 -84
  841. package/src/generated/model/getApplicationById200DefinitionClientsItemGrantTypesItem.ts +0 -15
  842. package/src/generated/model/getApplicationById200DefinitionClientsItemType.ts +0 -19
  843. package/src/generated/model/getApplicationById401.ts +0 -20
  844. package/src/generated/model/getApplicationById401Details.ts +0 -12
  845. package/src/generated/model/getApplicationById403.ts +0 -20
  846. package/src/generated/model/getApplicationById403Details.ts +0 -12
  847. package/src/generated/model/getApplicationById404.ts +0 -20
  848. package/src/generated/model/getApplicationById404Details.ts +0 -12
  849. package/src/generated/model/getApplicationByIdDefault.ts +0 -54
  850. package/src/generated/model/getApplicationByIdParams.ts +0 -17
  851. package/src/generated/model/getBrandingById200.ts +0 -32
  852. package/src/generated/model/getBrandingById200Branding.ts +0 -80
  853. package/src/generated/model/getBrandingById200BrandingLayout.ts +0 -27
  854. package/src/generated/model/getBrandingById200BrandingShape.ts +0 -30
  855. package/src/generated/model/getBrandingById200BrandingShapeDensity.ts +0 -19
  856. package/src/generated/model/getBrandingById200BrandingTheme.ts +0 -41
  857. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +0 -34
  858. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +0 -210
  859. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +0 -34
  860. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +0 -210
  861. package/src/generated/model/getBrandingById200BrandingThemeMode.ts +0 -19
  862. package/src/generated/model/getBrandingById200BrandingTypography.ts +0 -47
  863. package/src/generated/model/getBrandingById404.ts +0 -20
  864. package/src/generated/model/getBrandingById404Details.ts +0 -12
  865. package/src/generated/model/getBrandingByIdDefault.ts +0 -72
  866. package/src/generated/model/getClaimStatus200.ts +0 -27
  867. package/src/generated/model/getClaimStatus401.ts +0 -20
  868. package/src/generated/model/getClaimStatus401Details.ts +0 -12
  869. package/src/generated/model/getClaimStatus403.ts +0 -23
  870. package/src/generated/model/getClaimStatus404.ts +0 -20
  871. package/src/generated/model/getClaimStatus404Details.ts +0 -12
  872. package/src/generated/model/getClaimStatus410.ts +0 -27
  873. package/src/generated/model/getClaimStatus429.ts +0 -20
  874. package/src/generated/model/getClaimStatus429Details.ts +0 -12
  875. package/src/generated/model/getClaimStatusDefault.ts +0 -99
  876. package/src/generated/model/getClaimStatusParams.ts +0 -15
  877. package/src/generated/model/getClaimWindow200.ts +0 -23
  878. package/src/generated/model/getClaimWindow404.ts +0 -20
  879. package/src/generated/model/getClaimWindow404Details.ts +0 -12
  880. package/src/generated/model/getClaimWindow429.ts +0 -20
  881. package/src/generated/model/getClaimWindow429Details.ts +0 -12
  882. package/src/generated/model/getClaimWindowDefault.ts +0 -36
  883. package/src/generated/model/getClaimWindowParams.ts +0 -15
  884. package/src/generated/model/getDeploymentById200.ts +0 -78
  885. package/src/generated/model/getDeploymentById200Kind.ts +0 -18
  886. package/src/generated/model/getDeploymentById200Metadata.ts +0 -35
  887. package/src/generated/model/getDeploymentById200MetadataDeployedByType.ts +0 -20
  888. package/src/generated/model/getDeploymentById200MetadataReason.ts +0 -20
  889. package/src/generated/model/getDeploymentById200Release.ts +0 -96
  890. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +0 -43
  891. package/src/generated/model/getDeploymentById200ReleaseMetadataCreatedByType.ts +0 -20
  892. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +0 -61
  893. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +0 -28
  894. package/src/generated/model/getDeploymentById200Status.ts +0 -23
  895. package/src/generated/model/getDeploymentById200TargetsItem.ts +0 -28
  896. package/src/generated/model/getDeploymentByIdDefault.ts +0 -72
  897. package/src/generated/model/getDeploymentByIdParams.ts +0 -17
  898. package/src/generated/model/getDeploymentVariables200.ts +0 -17
  899. package/src/generated/model/getDeploymentVariablesDefault.ts +0 -90
  900. package/src/generated/model/getDeploymentVariablesParams.ts +0 -17
  901. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +0 -23
  902. package/src/generated/model/getIdpById200.ts +0 -39
  903. package/src/generated/model/getIdpById200Definition.ts +0 -44
  904. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +0 -12
  905. package/src/generated/model/getIdpById200DefinitionOidc.ts +0 -65
  906. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  907. package/src/generated/model/getIdpById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  908. package/src/generated/model/getIdpById200DefinitionProtocol.ts +0 -17
  909. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +0 -15
  910. package/src/generated/model/getIdpById200DefinitionProvisioningCreation.ts +0 -15
  911. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +0 -12
  912. package/src/generated/model/getIdpById401.ts +0 -20
  913. package/src/generated/model/getIdpById401Details.ts +0 -12
  914. package/src/generated/model/getIdpById403.ts +0 -20
  915. package/src/generated/model/getIdpById403Details.ts +0 -12
  916. package/src/generated/model/getIdpById404.ts +0 -20
  917. package/src/generated/model/getIdpById404Details.ts +0 -12
  918. package/src/generated/model/getIdpByIdDefault.ts +0 -72
  919. package/src/generated/model/getIdpByIdParams.ts +0 -17
  920. package/src/generated/model/getIdpRevisionById200.ts +0 -39
  921. package/src/generated/model/getIdpRevisionById200Definition.ts +0 -44
  922. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +0 -12
  923. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +0 -65
  924. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +0 -12
  925. package/src/generated/model/getIdpRevisionById200DefinitionOidcTokenEndpointAuthMethod.ts +0 -18
  926. package/src/generated/model/getIdpRevisionById200DefinitionProtocol.ts +0 -17
  927. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +0 -15
  928. package/src/generated/model/getIdpRevisionById200DefinitionProvisioningCreation.ts +0 -15
  929. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +0 -12
  930. package/src/generated/model/getIdpRevisionById401.ts +0 -20
  931. package/src/generated/model/getIdpRevisionById401Details.ts +0 -12
  932. package/src/generated/model/getIdpRevisionById403.ts +0 -20
  933. package/src/generated/model/getIdpRevisionById403Details.ts +0 -12
  934. package/src/generated/model/getIdpRevisionById404.ts +0 -20
  935. package/src/generated/model/getIdpRevisionById404Details.ts +0 -12
  936. package/src/generated/model/getIdpRevisionByIdDefault.ts +0 -72
  937. package/src/generated/model/getIdpRevisionByIdParams.ts +0 -17
  938. package/src/generated/model/getReleaseById200.ts +0 -96
  939. package/src/generated/model/getReleaseById200Metadata.ts +0 -43
  940. package/src/generated/model/getReleaseById200MetadataCreatedByType.ts +0 -20
  941. package/src/generated/model/getReleaseById200PointersItem.ts +0 -61
  942. package/src/generated/model/getReleaseById200PointersItemKind.ts +0 -28
  943. package/src/generated/model/getReleaseByIdDefault.ts +0 -72
  944. package/src/generated/model/getReleaseByIdParams.ts +0 -17
  945. package/src/generated/model/getSchemaById200.ts +0 -31
  946. package/src/generated/model/getSchemaById200Metadata.ts +0 -18
  947. package/src/generated/model/getSchemaById200Schema.ts +0 -84
  948. package/src/generated/model/getSchemaByIdDefault.ts +0 -72
  949. package/src/generated/model/getSchemaByIdParams.ts +0 -21
  950. package/src/generated/model/getUserByID200.ts +0 -76
  951. package/src/generated/model/getUserByID200Attributes.ts +0 -13
  952. package/src/generated/model/getUserByID200Metadata.ts +0 -44
  953. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  954. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  955. package/src/generated/model/getUserByID200MetadataStatus.ts +0 -20
  956. package/src/generated/model/getUserByID200TeamsItem.ts +0 -33
  957. package/src/generated/model/getUserByID200TeamsItemMembershipStatus.ts +0 -20
  958. package/src/generated/model/getUserByID401.ts +0 -20
  959. package/src/generated/model/getUserByID401Details.ts +0 -12
  960. package/src/generated/model/getUserByID404.ts +0 -20
  961. package/src/generated/model/getUserByID404Details.ts +0 -12
  962. package/src/generated/model/getUserByIDDefault.ts +0 -72
  963. package/src/generated/model/getUserByIDParams.ts +0 -31
  964. package/src/generated/model/getVariables200.ts +0 -35
  965. package/src/generated/model/getVariables200Preview.ts +0 -20
  966. package/src/generated/model/getVariables200Primary.ts +0 -20
  967. package/src/generated/model/getVariablesDefault.ts +0 -72
  968. package/src/generated/model/getVariablesKind.ts +0 -15
  969. package/src/generated/model/getVariablesParams.ts +0 -23
  970. package/src/generated/model/initClaim201.ts +0 -25
  971. package/src/generated/model/initClaim401.ts +0 -20
  972. package/src/generated/model/initClaim401Details.ts +0 -12
  973. package/src/generated/model/initClaim404.ts +0 -23
  974. package/src/generated/model/initClaim409.ts +0 -25
  975. package/src/generated/model/initClaim409Details.ts +0 -14
  976. package/src/generated/model/initClaim410.ts +0 -23
  977. package/src/generated/model/initClaimDefault.ts +0 -99
  978. package/src/generated/model/issueChallenge201.ts +0 -49
  979. package/src/generated/model/issueChallenge201Method.ts +0 -20
  980. package/src/generated/model/issueChallenge201Payload.ts +0 -34
  981. package/src/generated/model/issueChallenge201State.ts +0 -22
  982. package/src/generated/model/issueChallengeBody.ts +0 -28
  983. package/src/generated/model/issueChallengeBodyMethod.ts +0 -20
  984. package/src/generated/model/issueChallengeBodyPasskeyOptions.ts +0 -19
  985. package/src/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.ts +0 -16
  986. package/src/generated/model/issueChallengeDefault.ts +0 -90
  987. package/src/generated/model/listBranding200Item.ts +0 -14
  988. package/src/generated/model/listEvents200DataItem.ts +0 -4366
  989. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +0 -23
  990. package/src/generated/model/listPreviews200.ts +0 -20
  991. package/src/generated/model/listPreviews200PreviewsItem.ts +0 -37
  992. package/src/generated/model/listPreviewsDefault.ts +0 -72
  993. package/src/generated/model/listPreviewsParams.ts +0 -23
  994. package/src/generated/model/patchMyUser200.ts +0 -76
  995. package/src/generated/model/patchMyUser200Attributes.ts +0 -13
  996. package/src/generated/model/patchMyUser200Metadata.ts +0 -44
  997. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +0 -43
  998. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  999. package/src/generated/model/patchMyUser200MetadataStatus.ts +0 -20
  1000. package/src/generated/model/patchMyUser200TeamsItem.ts +0 -33
  1001. package/src/generated/model/patchMyUser200TeamsItemMembershipStatus.ts +0 -20
  1002. package/src/generated/model/patchMyUser400.ts +0 -20
  1003. package/src/generated/model/patchMyUser400Details.ts +0 -12
  1004. package/src/generated/model/patchMyUser401.ts +0 -20
  1005. package/src/generated/model/patchMyUser401Details.ts +0 -12
  1006. package/src/generated/model/patchMyUser403.ts +0 -20
  1007. package/src/generated/model/patchMyUser403Details.ts +0 -12
  1008. package/src/generated/model/patchMyUser404.ts +0 -23
  1009. package/src/generated/model/patchMyUser409.ts +0 -20
  1010. package/src/generated/model/patchMyUser409Details.ts +0 -12
  1011. package/src/generated/model/patchMyUserBody.ts +0 -25
  1012. package/src/generated/model/patchMyUserBodyAttributes.ts +0 -13
  1013. package/src/generated/model/patchMyUserDefault.ts +0 -117
  1014. package/src/generated/model/patchMyUserParams.ts +0 -26
  1015. package/src/generated/model/patchProject200.ts +0 -96
  1016. package/src/generated/model/patchProject400.ts +0 -20
  1017. package/src/generated/model/patchProject400Details.ts +0 -12
  1018. package/src/generated/model/patchProject401.ts +0 -20
  1019. package/src/generated/model/patchProject401Details.ts +0 -12
  1020. package/src/generated/model/patchProject404.ts +0 -20
  1021. package/src/generated/model/patchProject404Details.ts +0 -12
  1022. package/src/generated/model/patchProjectBody.ts +0 -19
  1023. package/src/generated/model/patchProjectBodyPasswordHash.ts +0 -40
  1024. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +0 -24
  1025. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +0 -44
  1026. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +0 -24
  1027. package/src/generated/model/patchProjectDefault.ts +0 -117
  1028. package/src/generated/model/patchUserByID200.ts +0 -76
  1029. package/src/generated/model/patchUserByID200Attributes.ts +0 -13
  1030. package/src/generated/model/patchUserByID200Metadata.ts +0 -44
  1031. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +0 -43
  1032. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +0 -21
  1033. package/src/generated/model/patchUserByID200MetadataStatus.ts +0 -20
  1034. package/src/generated/model/patchUserByID200TeamsItem.ts +0 -33
  1035. package/src/generated/model/patchUserByID200TeamsItemMembershipStatus.ts +0 -20
  1036. package/src/generated/model/patchUserByID400.ts +0 -20
  1037. package/src/generated/model/patchUserByID400Details.ts +0 -12
  1038. package/src/generated/model/patchUserByID401.ts +0 -20
  1039. package/src/generated/model/patchUserByID401Details.ts +0 -12
  1040. package/src/generated/model/patchUserByID403.ts +0 -20
  1041. package/src/generated/model/patchUserByID403Details.ts +0 -12
  1042. package/src/generated/model/patchUserByID404.ts +0 -20
  1043. package/src/generated/model/patchUserByID404Details.ts +0 -12
  1044. package/src/generated/model/patchUserByID409.ts +0 -20
  1045. package/src/generated/model/patchUserByID409Details.ts +0 -12
  1046. package/src/generated/model/patchUserByIDBody.ts +0 -53
  1047. package/src/generated/model/patchUserByIDBodyAttributes.ts +0 -13
  1048. package/src/generated/model/patchUserByIDDefault.ts +0 -117
  1049. package/src/generated/model/removeOriginBody.ts +0 -15
  1050. package/src/generated/model/removeOriginDefault.ts +0 -108
  1051. package/src/generated/model/removePreviewBody.ts +0 -23
  1052. package/src/generated/model/removePreviewDefault.ts +0 -90
  1053. package/src/generated/model/submitFlowStep400Branding.ts +0 -80
  1054. package/src/generated/model/submitFlowStep400BrandingLayout.ts +0 -27
  1055. package/src/generated/model/submitFlowStep400BrandingShape.ts +0 -30
  1056. package/src/generated/model/submitFlowStep400BrandingShapeDensity.ts +0 -19
  1057. package/src/generated/model/submitFlowStep400BrandingTheme.ts +0 -41
  1058. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +0 -34
  1059. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +0 -210
  1060. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +0 -34
  1061. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +0 -210
  1062. package/src/generated/model/submitFlowStep400BrandingThemeMode.ts +0 -19
  1063. package/src/generated/model/submitFlowStep400BrandingTypography.ts +0 -47
  1064. package/src/generated/model/submitFlowStep400Step.ts +0 -142
  1065. package/src/generated/model/submitFlowStep400StepActionsItem.ts +0 -41
  1066. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +0 -27
  1067. package/src/generated/model/submitFlowStep400StepChallenge.ts +0 -36
  1068. package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +0 -18
  1069. package/src/generated/model/submitFlowStep400StepChallengeOptions.ts +0 -15
  1070. package/src/generated/model/submitFlowStep400StepComplete.ts +0 -20
  1071. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +0 -87
  1072. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +0 -34
  1073. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +0 -46
  1074. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +0 -24
  1075. package/src/generated/model/submitFlowStep400StepGates.ts +0 -36
  1076. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +0 -13
  1077. package/src/generated/model/submitFlowStep400StepGatesKind.ts +0 -20
  1078. package/src/generated/model/submitFlowStep400StepIdentifier.ts +0 -58
  1079. package/src/generated/model/submitFlowStep400StepPurpose.ts +0 -26
  1080. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +0 -19
  1081. package/src/generated/model/submitFlowStep400StepTexts.ts +0 -23
  1082. package/src/generated/model/updateVariables200.ts +0 -35
  1083. package/src/generated/model/updateVariables200Preview.ts +0 -20
  1084. package/src/generated/model/updateVariables200Primary.ts +0 -20
  1085. package/src/generated/model/updateVariablesBody.ts +0 -48
  1086. package/src/generated/model/updateVariablesDefault.ts +0 -162
  1087. package/src/generated/model/updateVariablesKind.ts +0 -15
  1088. package/src/generated/model/updateVariablesParams.ts +0 -23
  1089. package/src/generated/model/verifyChallengeProof200.ts +0 -76
  1090. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +0 -49
  1091. package/src/generated/model/verifyChallengeProof200ChallengesItemMethod.ts +0 -20
  1092. package/src/generated/model/verifyChallengeProof200ChallengesItemPayload.ts +0 -34
  1093. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +0 -22
  1094. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +0 -28
  1095. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.ts +0 -20
  1096. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +0 -37
  1097. package/src/generated/model/verifyChallengeProof200RequiredFactorsItem.ts +0 -20
  1098. package/src/generated/model/verifyChallengeProof200State.ts +0 -24
  1099. package/src/generated/model/verifyChallengeProof409.ts +0 -20
  1100. package/src/generated/model/verifyChallengeProof409Details.ts +0 -12
  1101. package/src/generated/model/verifyChallengeProofBody.ts +0 -27
  1102. package/src/generated/model/verifyChallengeProofDefault.ts +0 -180
@@ -12,54 +12,41 @@ import {
12
12
  import type {
13
13
  AcceptInvitation200,
14
14
  AcceptInvitationBody,
15
- AddOrigin201,
16
- AddOriginBody,
17
- BeginUserPasskeyRegistration201,
18
- BeginUserPasskeyRegistrationBody,
15
+ AddProjectOrigin201,
16
+ AddProjectOriginBody,
19
17
  BuildRelease200,
20
18
  BuildRelease201,
21
19
  BuildReleaseBody,
22
20
  BuildReleaseParams,
23
21
  CancelInvitationParams,
24
- CompleteClaim200,
25
- CompleteClaimBody,
26
- CreateApplication200,
27
- CreateApplication201,
28
- CreateApplicationBody,
29
- CreateApplicationParams,
22
+ CompleteProjectClaim200,
23
+ CompleteProjectClaimBody,
24
+ CompleteUserPasskeyRegistration201,
25
+ CompleteUserPasskeyRegistrationBody,
30
26
  CreateAuthAttempt201,
31
27
  CreateAuthAttemptBody,
32
- CreateBranding201,
33
- CreateBrandingBody,
34
- CreateBrandingParams,
28
+ CreateAuthAttemptChallenge201,
29
+ CreateAuthAttemptChallengeBody,
30
+ CreateAuthAttemptHandoff200,
35
31
  CreateDeployment200,
36
32
  CreateDeployment201,
37
33
  CreateDeploymentBody,
38
34
  CreateDeploymentParams,
39
35
  CreateFlow201,
40
36
  CreateFlowBody,
41
- CreateFlowDefinition201,
42
- CreateFlowDefinitionBody,
43
37
  CreateGrant201,
44
38
  CreateGrantBody,
45
39
  CreateGrantParams,
46
- CreateHandoff200,
47
- CreateIdp200,
48
- CreateIdp201,
49
- CreateIdpBody,
50
- CreateIdpParams,
51
40
  CreateInvitation201,
52
41
  CreateInvitationBody,
53
42
  CreateInvitationParams,
54
43
  CreateProject201,
55
44
  CreateProjectBody,
45
+ CreateProjectClaim201,
56
46
  CreateRelease200,
57
47
  CreateRelease201,
58
48
  CreateReleaseBody,
59
49
  CreateReleaseParams,
60
- CreateSchema201,
61
- CreateSchemaBody,
62
- CreateSchemaParams,
63
50
  CreateSession201,
64
51
  CreateSessionBody,
65
52
  CreateTeam201,
@@ -68,6 +55,8 @@ import type {
68
55
  CreateUser201,
69
56
  CreateUserBody,
70
57
  CreateUserParams,
58
+ CreateUserPasskeyRegistration201,
59
+ CreateUserPasskeyRegistrationBody,
71
60
  DeleteGrantParams,
72
61
  DeleteVariableParams,
73
62
  EvaluatePolicy200,
@@ -76,30 +65,22 @@ import type {
76
65
  ExchangeHandoff200,
77
66
  ExchangeHandoffBody,
78
67
  ExchangeHandoffParams,
79
- FinishUserPasskeyRegistration201,
80
- FinishUserPasskeyRegistrationBody,
81
- GetApplicationById200,
82
- GetApplicationByIdParams,
68
+ GetApplication200,
69
+ GetApplicationParams,
83
70
  GetAuthAttempt200,
84
- GetBrandingById200,
85
- GetClaimStatus200,
86
- GetClaimStatusParams,
87
- GetClaimWindow200,
88
- GetClaimWindowParams,
89
- GetDeploymentById200,
90
- GetDeploymentByIdParams,
91
- GetDeploymentVariables200,
92
- GetDeploymentVariablesParams,
71
+ GetBranding200,
72
+ GetDeployment200,
73
+ GetDeploymentParams,
93
74
  GetEvent200,
94
75
  GetEventParams,
95
76
  GetFlowDefinition200,
96
77
  GetFlowStep200,
97
78
  GetGrant200,
98
79
  GetGrantParams,
99
- GetIdpById200,
100
- GetIdpByIdParams,
101
- GetIdpRevisionById200,
102
- GetIdpRevisionByIdParams,
80
+ GetIdp200,
81
+ GetIdpParams,
82
+ GetIdpRevision200,
83
+ GetIdpRevisionParams,
103
84
  GetInvitation200,
104
85
  GetInvitationParams,
105
86
  GetLiveDefault,
@@ -113,30 +94,32 @@ import type {
113
94
  GetMyUserParams,
114
95
  GetMyUserSchema200,
115
96
  GetMyUserSchemaParams,
97
+ GetOAuthSettings200,
116
98
  GetPolicy200,
117
99
  GetPolicyParams,
118
100
  GetPolicyRevision200,
119
101
  GetPolicyRevisionParams,
120
102
  GetProject200,
103
+ GetProjectClaimStatus200,
104
+ GetProjectClaimStatusParams,
105
+ GetProjectClaimWindow200,
106
+ GetProjectClaimWindowParams,
121
107
  GetReadyDefault,
122
- GetReleaseById200,
123
- GetReleaseByIdParams,
124
- GetSchemaById200,
125
- GetSchemaByIdParams,
108
+ GetRelease200,
109
+ GetReleaseParams,
110
+ GetSchema200,
111
+ GetSchemaParams,
126
112
  GetSession200,
127
113
  GetTeam200,
128
- GetUserByID200,
129
- GetUserByIDParams,
114
+ GetUser200,
115
+ GetUserParams,
130
116
  GetUserPasswordState200,
131
117
  GetVariable200,
132
118
  GetVariableParams,
133
- GetVariables200,
134
- GetVariablesParams,
135
- InitClaim201,
136
- IssueChallenge201,
137
- IssueChallengeBody,
138
- ListBranding200Item,
119
+ ListBranding200,
139
120
  ListBrandingParams,
121
+ ListDeploymentVariables200,
122
+ ListDeploymentVariablesParams,
140
123
  ListDeployments200,
141
124
  ListDeploymentsParams,
142
125
  ListEvents200,
@@ -159,10 +142,10 @@ import type {
159
142
  ListPoliciesParams,
160
143
  ListPolicyRevisions200,
161
144
  ListPolicyRevisionsParams,
162
- ListPreviews200,
163
- ListPreviewsParams,
164
145
  ListProjectAdmins200,
165
146
  ListProjectAdminsParams,
147
+ ListProjectPreviews200,
148
+ ListProjectPreviewsParams,
166
149
  ListReleases200,
167
150
  ListReleasesParams,
168
151
  ListSchemas200,
@@ -173,18 +156,29 @@ import type {
173
156
  ListUserPasskeysParams,
174
157
  ListUserTeams200,
175
158
  ListUserTeamsParams,
159
+ ListVariables200,
160
+ ListVariablesParams,
176
161
  LookupInvitation200,
177
162
  LookupInvitationBody,
178
- PatchMyUser200,
179
- PatchMyUserBody,
180
- PatchMyUserParams,
181
- PatchProject200,
182
- PatchProjectBody,
183
- PatchUserByID200,
184
- PatchUserByIDBody,
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,
185
176
  PublishPolicy201,
186
177
  PublishPolicyBody,
187
178
  PublishPolicyParams,
179
+ PublishSchema201,
180
+ PublishSchemaBody,
181
+ PublishSchemaParams,
188
182
  QueryGrants200,
189
183
  QueryGrantsBody,
190
184
  QueryGrantsParams,
@@ -204,8 +198,8 @@ import type {
204
198
  QueryUsersParams,
205
199
  RejectInvitation200,
206
200
  RejectInvitationBody,
207
- RemoveOriginBody,
208
- RemovePreviewBody,
201
+ RemoveProjectOriginBody,
202
+ RemoveProjectPreviewBody,
209
203
  RevokeMySessionParams,
210
204
  RevokeRelease200,
211
205
  RevokeReleaseParams,
@@ -217,15 +211,22 @@ import type {
217
211
  SearchBody,
218
212
  SearchParams,
219
213
  SetUserPasswordBody,
214
+ SetVariables200,
215
+ SetVariablesBody,
216
+ SetVariablesParams,
220
217
  SubmitFlowStep200,
221
218
  SubmitFlowStepBody,
219
+ UpdateMyUser200,
220
+ UpdateMyUserBody,
221
+ UpdateMyUserParams,
222
+ UpdateProject200,
223
+ UpdateProjectBody,
222
224
  UpdateTeam200,
223
225
  UpdateTeamBody,
224
- UpdateVariables200,
225
- UpdateVariablesBody,
226
- UpdateVariablesParams,
227
- VerifyChallengeProof200,
228
- VerifyChallengeProofBody
226
+ UpdateUser200,
227
+ UpdateUserBody,
228
+ VerifyAuthAttemptChallenge200,
229
+ VerifyAuthAttemptChallengeBody
229
230
  } from '../model';
230
231
 
231
232
  import { customFetch } from '../../runtime/fetch.ts';
@@ -313,7 +314,7 @@ export const getCreateUserUrl = (params: CreateUserParams,) => {
313
314
  * Creates a user whose attributes satisfy the user schema named in the request.
314
315
  *
315
316
  * The server assigns the user's ID and returns it. `schema` is the `id` of a
316
- * 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
317
318
  * `team_id`, the user also becomes an active member of that team. A value the
318
319
  * schema marks unique that another user already holds is refused with `409`;
319
320
  * send a different value.
@@ -407,8 +408,8 @@ return customFetch<QueryUsers200>(getQueryUsersUrl(params),
407
408
 
408
409
 
409
410
 
410
- export const getGetUserByIDUrl = (userId: string,
411
- params?: GetUserByIDParams,) => {
411
+ export const getGetUserUrl = (userId: string,
412
+ params?: GetUserParams,) => {
412
413
  const normalizedParams = new URLSearchParams();
413
414
 
414
415
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -430,10 +431,10 @@ export const getGetUserByIDUrl = (userId: string,
430
431
  * of that team.
431
432
  * @summary Get a user by ID
432
433
  */
433
- export const getUserByID = async (userId: string,
434
- 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> => {
435
436
 
436
- return customFetch<GetUserByID200>(getGetUserByIDUrl(userId,params),
437
+ return customFetch<GetUser200>(getGetUserUrl(userId,params),
437
438
  {
438
439
  ...options,
439
440
  method: 'GET'
@@ -444,7 +445,7 @@ export const getUserByID = async (userId: string,
444
445
 
445
446
 
446
447
 
447
- export const getPatchUserByIDUrl = (userId: string,) => {
448
+ export const getUpdateUserUrl = (userId: string,) => {
448
449
 
449
450
 
450
451
 
@@ -459,7 +460,7 @@ export const getPatchUserByIDUrl = (userId: string,) => {
459
460
  * last-write-wins.
460
461
  *
461
462
  * To move the user, send `schema` with the `id` of a registered schema, as
462
- * `createSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it.
463
+ * `publishSchema` (`POST /schemas`) returns it or `listSchemas` (`GET /schemas`) lists it.
463
464
  *
464
465
  * To ask whether a patch would succeed, send it with `"dry_run": true`. It takes
465
466
  * the same permission and answers the same status and `details` as the real
@@ -472,8 +473,8 @@ export const getPatchUserByIDUrl = (userId: string,) => {
472
473
  * request as malformed (`400 req.invalid`) instead of applying the patch.
473
474
  * @summary Update a user by ID
474
475
  */
475
- export const patchUserByID = async (userId: string,
476
- 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> => {
477
478
 
478
479
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
479
480
  if (!h) return {};
@@ -489,18 +490,18 @@ export const patchUserByID = async (userId: string,
489
490
  }
490
491
  return headers;
491
492
  };
492
- return customFetch<PatchUserByID200>(getPatchUserByIDUrl(userId),
493
+ return customFetch<UpdateUser200>(getUpdateUserUrl(userId),
493
494
  {
494
495
  ...options,
495
496
  method: 'PATCH',
496
497
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
497
- body: JSON.stringify(patchUserByIDBody)
498
+ body: JSON.stringify(updateUserBody)
498
499
  }
499
500
  );}
500
501
 
501
502
 
502
503
 
503
- export const getDeleteUserByIDUrl = (userId: string,) => {
504
+ export const getDeleteUserUrl = (userId: string,) => {
504
505
 
505
506
 
506
507
 
@@ -520,9 +521,9 @@ export const getDeleteUserByIDUrl = (userId: string,) => {
520
521
  * nothing.
521
522
  * @summary Delete a user by ID
522
523
  */
523
- 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> => {
524
525
 
525
- return customFetch<void>(getDeleteUserByIDUrl(userId),
526
+ return customFetch<void>(getDeleteUserUrl(userId),
526
527
  {
527
528
  ...options,
528
529
  method: 'DELETE'
@@ -608,7 +609,7 @@ export const listUserPasskeys = async (userId: string,
608
609
 
609
610
 
610
611
 
611
- export const getBeginUserPasskeyRegistrationUrl = (userId: string,) => {
612
+ export const getCreateUserPasskeyRegistrationUrl = (userId: string,) => {
612
613
 
613
614
 
614
615
 
@@ -620,7 +621,7 @@ export const getBeginUserPasskeyRegistrationUrl = (userId: string,) => {
620
621
  * Starts a WebAuthn registration ceremony for the user and returns the
621
622
  * creation options for `navigator.credentials.create()`. A passkey is
622
623
  * registered in two steps: this one returns options for the browser, and
623
- * `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.
624
625
  *
625
626
  * Complete the ceremony with
626
627
  * `POST /users/{user_id}/passkeys/registrations/{registration_id}` within five
@@ -628,8 +629,8 @@ export const getBeginUserPasskeyRegistrationUrl = (userId: string,) => {
628
629
  * already registered for the user are excluded automatically.
629
630
  * @summary Begin a passkey registration
630
631
  */
631
- export const beginUserPasskeyRegistration = async (userId: string,
632
- 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> => {
633
634
 
634
635
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
635
636
  if (!h) return {};
@@ -645,18 +646,18 @@ export const beginUserPasskeyRegistration = async (userId: string,
645
646
  }
646
647
  return headers;
647
648
  };
648
- return customFetch<BeginUserPasskeyRegistration201>(getBeginUserPasskeyRegistrationUrl(userId),
649
+ return customFetch<CreateUserPasskeyRegistration201>(getCreateUserPasskeyRegistrationUrl(userId),
649
650
  {
650
651
  ...options,
651
652
  method: 'POST',
652
653
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
653
- body: JSON.stringify(beginUserPasskeyRegistrationBody)
654
+ body: JSON.stringify(createUserPasskeyRegistrationBody)
654
655
  }
655
656
  );}
656
657
 
657
658
 
658
659
 
659
- export const getFinishUserPasskeyRegistrationUrl = (userId: string,
660
+ export const getCompleteUserPasskeyRegistrationUrl = (userId: string,
660
661
  registrationId: string,) => {
661
662
 
662
663
 
@@ -668,7 +669,7 @@ export const getFinishUserPasskeyRegistrationUrl = (userId: string,
668
669
  /**
669
670
  * Verifies the attestation against the registration ceremony and stores
670
671
  * the new passkey for the user. `registration_id` is the one that
671
- * `beginUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations`)
672
+ * `createUserPasskeyRegistration` (`POST /users/{user_id}/passkeys/registrations`)
672
673
  * returned when it started the ceremony. The attestation is
673
674
  * the browser's answer from `navigator.credentials.create()`.
674
675
  *
@@ -677,9 +678,9 @@ export const getFinishUserPasskeyRegistrationUrl = (userId: string,
677
678
  * already-consumed registration ID answers `att.not_found`.
678
679
  * @summary Finish a passkey registration
679
680
  */
680
- export const finishUserPasskeyRegistration = async (userId: string,
681
+ export const completeUserPasskeyRegistration = async (userId: string,
681
682
  registrationId: string,
682
- finishUserPasskeyRegistrationBody: FinishUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<FinishUserPasskeyRegistration201> => {
683
+ completeUserPasskeyRegistrationBody: CompleteUserPasskeyRegistrationBody, options?: Parameters<typeof customFetch>[1]): Promise<CompleteUserPasskeyRegistration201> => {
683
684
 
684
685
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
685
686
  if (!h) return {};
@@ -695,12 +696,12 @@ export const finishUserPasskeyRegistration = async (userId: string,
695
696
  }
696
697
  return headers;
697
698
  };
698
- return customFetch<FinishUserPasskeyRegistration201>(getFinishUserPasskeyRegistrationUrl(userId,registrationId),
699
+ return customFetch<CompleteUserPasskeyRegistration201>(getCompleteUserPasskeyRegistrationUrl(userId,registrationId),
699
700
  {
700
701
  ...options,
701
702
  method: 'POST',
702
703
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
703
- body: JSON.stringify(finishUserPasskeyRegistrationBody)
704
+ body: JSON.stringify(completeUserPasskeyRegistrationBody)
704
705
  }
705
706
  );}
706
707
 
@@ -751,7 +752,7 @@ export const getSetUserPasswordUrl = (userId: string,) => {
751
752
  * policy.
752
753
  *
753
754
  * The password policy is the one in the release that serves the caller's
754
- * `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
755
756
  * preview URL gets that preview's policy, and one on a primary origin the
756
757
  * newest primary deployment's. A request with no `Origin`, or from the
757
758
  * console when the project does not list the console's origin, gets the
@@ -876,7 +877,7 @@ export const getMyUser = async (params?: GetMyUserParams, options?: Parameters<t
876
877
 
877
878
 
878
879
 
879
- export const getPatchMyUserUrl = (params?: PatchMyUserParams,) => {
880
+ export const getUpdateMyUserUrl = (params?: UpdateMyUserParams,) => {
880
881
  const normalizedParams = new URLSearchParams();
881
882
 
882
883
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -900,8 +901,8 @@ export const getPatchMyUserUrl = (params?: PatchMyUserParams,) => {
900
901
  * that project.
901
902
  * @summary Update my user information
902
903
  */
903
- export const patchMyUser = async (patchMyUserBody: PatchMyUserBody,
904
- 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> => {
905
906
 
906
907
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
907
908
  if (!h) return {};
@@ -917,12 +918,12 @@ export const patchMyUser = async (patchMyUserBody: PatchMyUserBody,
917
918
  }
918
919
  return headers;
919
920
  };
920
- return customFetch<PatchMyUser200>(getPatchMyUserUrl(params),
921
+ return customFetch<UpdateMyUser200>(getUpdateMyUserUrl(params),
921
922
  {
922
923
  ...options,
923
924
  method: 'PATCH',
924
925
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
925
- body: JSON.stringify(patchMyUserBody)
926
+ body: JSON.stringify(updateMyUserBody)
926
927
  }
927
928
  );}
928
929
 
@@ -1074,6 +1075,11 @@ export const getListMyProjectsUrl = (params?: ListMyProjectsParams,) => {
1074
1075
  * With `project_id`, the projects are listed only when the session belongs to
1075
1076
  * that project. It names the project the session was signed in to, not one to
1076
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.
1077
1083
  * @summary List the projects I can act on
1078
1084
  */
1079
1085
  export const listMyProjects = async (params?: ListMyProjectsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListMyProjects200> => {
@@ -1164,7 +1170,7 @@ export const getCreateFlowUrl = () => {
1164
1170
 
1165
1171
 
1166
1172
 
1167
- return `${getApiBaseUrl()}/flow`
1173
+ return `${getApiBaseUrl()}/flows`
1168
1174
  }
1169
1175
 
1170
1176
  /**
@@ -1173,7 +1179,7 @@ export const getCreateFlowUrl = () => {
1173
1179
  *
1174
1180
  * The flow endpoints are the runtime calls the login component
1175
1181
  * (`<zitadel-login>`) makes, step by step. It starts a flow here, renders the
1176
- * 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
1177
1183
  * get the next step. This call creates a new session implicitly, unless
1178
1184
  * `session_id` is provided together with that session's `session_token`
1179
1185
  * (for step-up or reauthentication on an existing session).
@@ -1211,7 +1217,7 @@ export const getCreateFlowUrl = () => {
1211
1217
  * unless the project lists it.
1212
1218
  *
1213
1219
  * The response contains an `id` field, the flow handle. Use it as the path
1214
- * parameter for all subsequent `/flow/{id}/submit` calls.
1220
+ * parameter for all subsequent `/flows/{flow_id}/submit` calls.
1215
1221
  *
1216
1222
  * The response also sets an encrypted `HttpOnly` cookie (`_zflow`) containing
1217
1223
  * the flow's orchestration state (current step, collected data, history).
@@ -1246,12 +1252,12 @@ return customFetch<CreateFlow201>(getCreateFlowUrl(),
1246
1252
 
1247
1253
 
1248
1254
 
1249
- export const getGetFlowStepUrl = (id: string,) => {
1255
+ export const getGetFlowStepUrl = (flowId: string,) => {
1250
1256
 
1251
1257
 
1252
1258
 
1253
1259
 
1254
- return `${getApiBaseUrl()}/flow/${encodeURIComponent(String(id))}`
1260
+ return `${getApiBaseUrl()}/flows/${encodeURIComponent(String(flowId))}`
1255
1261
  }
1256
1262
 
1257
1263
  /**
@@ -1259,17 +1265,24 @@ export const getGetFlowStepUrl = (id: string,) => {
1259
1265
  * the step again after a page reload or a network error.
1260
1266
  *
1261
1267
  * The flow endpoints are the runtime calls the login component
1262
- * (`<zitadel-login>`) makes, step by step. `createFlow` (`POST /flow`) starts a flow, and
1263
- * `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.
1264
1277
  *
1265
1278
  * Reuses the deployment sealed into `_zflow` at `createFlow`; it does not
1266
1279
  * re-resolve from `Origin`. If that release was revoked since the attempt
1267
1280
  * started, the response is `409` with `rel.revoked`.
1268
1281
  * @summary Get the current step of a flow
1269
1282
  */
1270
- 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> => {
1271
1284
 
1272
- return customFetch<GetFlowStep200>(getGetFlowStepUrl(id),
1285
+ return customFetch<GetFlowStep200>(getGetFlowStepUrl(flowId),
1273
1286
  {
1274
1287
  ...options,
1275
1288
  method: 'GET'
@@ -1280,12 +1293,12 @@ export const getFlowStep = async (id: string, options?: Parameters<typeof custom
1280
1293
 
1281
1294
 
1282
1295
 
1283
- export const getSubmitFlowStepUrl = (id: string,) => {
1296
+ export const getSubmitFlowStepUrl = (flowId: string,) => {
1284
1297
 
1285
1298
 
1286
1299
 
1287
1300
 
1288
- return `${getApiBaseUrl()}/flow/${encodeURIComponent(String(id))}/submit`
1301
+ return `${getApiBaseUrl()}/flows/${encodeURIComponent(String(flowId))}/submit`
1289
1302
  }
1290
1303
 
1291
1304
  /**
@@ -1293,12 +1306,21 @@ export const getSubmitFlowStepUrl = (id: string,) => {
1293
1306
  * validates it, processes it (for example, verifies a credential), advances
1294
1307
  * the flow through any invisible steps, and returns the next visible step.
1295
1308
  * The flow endpoints are the runtime calls the login component
1296
- * (`<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.
1297
1310
  *
1298
1311
  * The response sets an updated encrypted `HttpOnly` cookie (`_zflow`)
1299
1312
  * with the new flow state. The server is stateless: all orchestration
1300
1313
  * state is carried in this cookie between requests.
1301
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
+ *
1302
1324
  * **Important:** The `id` in the response may differ from the `id` used in
1303
1325
  * the request. This happens when a flow pivots (pushes a new flow onto the
1304
1326
  * stack) or when a stacked flow completes (auto-pops to the parent flow).
@@ -1346,7 +1368,7 @@ export const getSubmitFlowStepUrl = (id: string,) => {
1346
1368
  * started, the response is `409` with `rel.revoked`.
1347
1369
  * @summary Submit a flow step
1348
1370
  */
1349
- export const submitFlowStep = async (id: string,
1371
+ export const submitFlowStep = async (flowId: string,
1350
1372
  submitFlowStepBody: SubmitFlowStepBody, options?: Parameters<typeof customFetch>[1]): Promise<SubmitFlowStep200> => {
1351
1373
 
1352
1374
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
@@ -1363,7 +1385,7 @@ export const submitFlowStep = async (id: string,
1363
1385
  }
1364
1386
  return headers;
1365
1387
  };
1366
- return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(id),
1388
+ return customFetch<SubmitFlowStep200>(getSubmitFlowStepUrl(flowId),
1367
1389
  {
1368
1390
  ...options,
1369
1391
  method: 'POST',
@@ -1391,13 +1413,13 @@ export const getCreateAuthAttemptUrl = () => {
1391
1413
  * in order:
1392
1414
  *
1393
1415
  * 1. `createAuthAttempt` (`POST /auth_attempts`) creates the attempt.
1394
- * 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
1395
1417
  * `identifier`, `password` or `passkey`.
1396
- * 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
1397
1419
  * credential, code or assertion. Repeat steps 2 and 3 until
1398
1420
  * `getAuthAttempt` (`GET /auth_attempts/{attempt_id}`) reports state `completed`, which means every factor in
1399
1421
  * `required_factors` is verified.
1400
- * 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`.
1401
1423
  * 5. `exchangeHandoff` (`POST /sessions/exchange`) exchanges the handoff token
1402
1424
  * for the session and its `session_token`.
1403
1425
  *
@@ -1472,7 +1494,7 @@ export const getAuthAttempt = async (attemptId: string, options?: Parameters<typ
1472
1494
 
1473
1495
 
1474
1496
 
1475
- export const getIssueChallengeUrl = (attemptId: string,) => {
1497
+ export const getCreateAuthAttemptChallengeUrl = (attemptId: string,) => {
1476
1498
 
1477
1499
 
1478
1500
 
@@ -1486,11 +1508,11 @@ export const getIssueChallengeUrl = (attemptId: string,) => {
1486
1508
  * A challenge names one factor method, such as password, passkey, TOTP or OTP
1487
1509
  * via SMS. The response carries the challenge's `challenge_id`, method,
1488
1510
  * metadata and any UI hints. The client then submits the proof with
1489
- * `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`.
1490
1512
  * @summary Issue a factor challenge
1491
1513
  */
1492
- export const issueChallenge = async (attemptId: string,
1493
- 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> => {
1494
1516
 
1495
1517
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1496
1518
  if (!h) return {};
@@ -1506,18 +1528,18 @@ export const issueChallenge = async (attemptId: string,
1506
1528
  }
1507
1529
  return headers;
1508
1530
  };
1509
- return customFetch<IssueChallenge201>(getIssueChallengeUrl(attemptId),
1531
+ return customFetch<CreateAuthAttemptChallenge201>(getCreateAuthAttemptChallengeUrl(attemptId),
1510
1532
  {
1511
1533
  ...options,
1512
1534
  method: 'POST',
1513
1535
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1514
- body: JSON.stringify(issueChallengeBody)
1536
+ body: JSON.stringify(createAuthAttemptChallengeBody)
1515
1537
  }
1516
1538
  );}
1517
1539
 
1518
1540
 
1519
1541
 
1520
- export const getVerifyChallengeProofUrl = (attemptId: string,
1542
+ export const getVerifyAuthAttemptChallengeUrl = (attemptId: string,
1521
1543
  challengeId: string,) => {
1522
1544
 
1523
1545
 
@@ -1538,15 +1560,15 @@ export const getVerifyChallengeProofUrl = (attemptId: string,
1538
1560
  *
1539
1561
  * On success, the factor is recorded on the authentication attempt. The
1540
1562
  * attempt moves to the next pending challenge, or completes when every required
1541
- * 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`).
1542
1564
  *
1543
1565
  * A `409` with `att.proof_rejected` means the proof was wrong. Check it and try
1544
1566
  * again. There is no retry limit: you can retry until the attempt expires.
1545
1567
  * @summary Verify a challenge proof
1546
1568
  */
1547
- export const verifyChallengeProof = async (attemptId: string,
1569
+ export const verifyAuthAttemptChallenge = async (attemptId: string,
1548
1570
  challengeId: string,
1549
- verifyChallengeProofBody: VerifyChallengeProofBody, options?: Parameters<typeof customFetch>[1]): Promise<VerifyChallengeProof200> => {
1571
+ verifyAuthAttemptChallengeBody: VerifyAuthAttemptChallengeBody, options?: Parameters<typeof customFetch>[1]): Promise<VerifyAuthAttemptChallenge200> => {
1550
1572
 
1551
1573
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1552
1574
  if (!h) return {};
@@ -1562,18 +1584,18 @@ export const verifyChallengeProof = async (attemptId: string,
1562
1584
  }
1563
1585
  return headers;
1564
1586
  };
1565
- return customFetch<VerifyChallengeProof200>(getVerifyChallengeProofUrl(attemptId,challengeId),
1587
+ return customFetch<VerifyAuthAttemptChallenge200>(getVerifyAuthAttemptChallengeUrl(attemptId,challengeId),
1566
1588
  {
1567
1589
  ...options,
1568
1590
  method: 'POST',
1569
1591
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1570
- body: JSON.stringify(verifyChallengeProofBody)
1592
+ body: JSON.stringify(verifyAuthAttemptChallengeBody)
1571
1593
  }
1572
1594
  );}
1573
1595
 
1574
1596
 
1575
1597
 
1576
- export const getCreateHandoffUrl = (attemptId: string,) => {
1598
+ export const getCreateAuthAttemptHandoffUrl = (attemptId: string,) => {
1577
1599
 
1578
1600
 
1579
1601
 
@@ -1601,9 +1623,9 @@ export const getCreateHandoffUrl = (attemptId: string,) => {
1601
1623
  * release is the configuration that `zitadel deploy` publishes.
1602
1624
  * @summary Complete an authentication attempt and create a handoff token
1603
1625
  */
1604
- 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> => {
1605
1627
 
1606
- return customFetch<CreateHandoff200>(getCreateHandoffUrl(attemptId),
1628
+ return customFetch<CreateAuthAttemptHandoff200>(getCreateAuthAttemptHandoffUrl(attemptId),
1607
1629
  {
1608
1630
  ...options,
1609
1631
  method: 'POST'
@@ -1627,7 +1649,7 @@ export const getCreateProjectUrl = () => {
1627
1649
  * other endpoint returns.
1628
1650
  *
1629
1651
  * A project is the top-level boundary that holds users, sessions and
1630
- * 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`).
1631
1653
  *
1632
1654
  * The request needs no credential and is rate-limited. On `429`, wait and retry.
1633
1655
  * Unless `seed_defaults` is `false`, the project starts with a default user schema
@@ -1734,7 +1756,7 @@ export const getProject = async (projectId: string, options?: Parameters<typeof
1734
1756
 
1735
1757
 
1736
1758
 
1737
- export const getPatchProjectUrl = (projectId: string,) => {
1759
+ export const getUpdateProjectUrl = (projectId: string,) => {
1738
1760
 
1739
1761
 
1740
1762
 
@@ -1754,8 +1776,8 @@ export const getPatchProjectUrl = (projectId: string,) => {
1754
1776
  * person who can act on the project.
1755
1777
  * @summary Update a project
1756
1778
  */
1757
- export const patchProject = async (projectId: string,
1758
- 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> => {
1759
1781
 
1760
1782
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1761
1783
  if (!h) return {};
@@ -1771,12 +1793,12 @@ export const patchProject = async (projectId: string,
1771
1793
  }
1772
1794
  return headers;
1773
1795
  };
1774
- return customFetch<PatchProject200>(getPatchProjectUrl(projectId),
1796
+ return customFetch<UpdateProject200>(getUpdateProjectUrl(projectId),
1775
1797
  {
1776
1798
  ...options,
1777
1799
  method: 'PATCH',
1778
1800
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1779
- body: JSON.stringify(patchProjectBody)
1801
+ body: JSON.stringify(updateProjectBody)
1780
1802
  }
1781
1803
  );}
1782
1804
 
@@ -1843,7 +1865,7 @@ export const listProjectAdmins = async (projectId: string,
1843
1865
 
1844
1866
 
1845
1867
 
1846
- export const getInitClaimUrl = (projectId: string,) => {
1868
+ export const getCreateProjectClaimUrl = (projectId: string,) => {
1847
1869
 
1848
1870
 
1849
1871
 
@@ -1859,7 +1881,7 @@ export const getInitClaimUrl = (projectId: string,) => {
1859
1881
  * so that the team's members administer it. This operation mints a
1860
1882
  * single-use, short-lived challenge for an unclaimed project. The developer
1861
1883
  * opens `claim_url`, signs in and completes the claim in the browser; see
1862
- * `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`,
1863
1885
  * as `zitadel claim` does. The response's `expires_at` carries the exact expiry.
1864
1886
  *
1865
1887
  * Authenticate with the project secret that `createProject` (`POST /projects`) returns as
@@ -1870,9 +1892,9 @@ export const getInitClaimUrl = (projectId: string,) => {
1870
1892
  * which is final.
1871
1893
  * @summary Initialize a project claim
1872
1894
  */
1873
- 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> => {
1874
1896
 
1875
- return customFetch<InitClaim201>(getInitClaimUrl(projectId),
1897
+ return customFetch<CreateProjectClaim201>(getCreateProjectClaimUrl(projectId),
1876
1898
  {
1877
1899
  ...options,
1878
1900
  method: 'POST'
@@ -1883,8 +1905,8 @@ export const initClaim = async (projectId: string, options?: Parameters<typeof c
1883
1905
 
1884
1906
 
1885
1907
 
1886
- export const getGetClaimStatusUrl = (projectId: string,
1887
- params: GetClaimStatusParams,) => {
1908
+ export const getGetProjectClaimStatusUrl = (projectId: string,
1909
+ params: GetProjectClaimStatusParams,) => {
1888
1910
  const normalizedParams = new URLSearchParams();
1889
1911
 
1890
1912
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -1904,7 +1926,7 @@ export const getGetClaimStatusUrl = (projectId: string,
1904
1926
  * browser completes the claim.
1905
1927
  *
1906
1928
  * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim).
1907
- * `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.
1908
1930
  * Once the project is claimed, the response is `completed` with the owning
1909
1931
  * team, the claim timestamp and the dashboard URL.
1910
1932
  *
@@ -1913,15 +1935,15 @@ export const getGetClaimStatusUrl = (projectId: string,
1913
1935
  * completed claim keeps reporting `completed` past this challenge's expiry
1914
1936
  * and past the project's claim window.
1915
1937
  *
1916
- * Pass the `challenge_id` that `initClaim` returns. Authenticate with the
1938
+ * Pass the `challenge_id` that `createProjectClaim` returns. Authenticate with the
1917
1939
  * project secret that started the challenge. On `410` with `proj.claim_expired`, call
1918
- * `initClaim` again for a fresh challenge.
1940
+ * `createProjectClaim` again for a fresh challenge.
1919
1941
  * @summary Get the status of a project claim
1920
1942
  */
1921
- export const getClaimStatus = async (projectId: string,
1922
- 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> => {
1923
1945
 
1924
- return customFetch<GetClaimStatus200>(getGetClaimStatusUrl(projectId,params),
1946
+ return customFetch<GetProjectClaimStatus200>(getGetProjectClaimStatusUrl(projectId,params),
1925
1947
  {
1926
1948
  ...options,
1927
1949
  method: 'GET'
@@ -1932,7 +1954,7 @@ export const getClaimStatus = async (projectId: string,
1932
1954
 
1933
1955
 
1934
1956
 
1935
- export const getCompleteClaimUrl = (projectId: string,) => {
1957
+ export const getCompleteProjectClaimUrl = (projectId: string,) => {
1936
1958
 
1937
1959
 
1938
1960
 
@@ -1947,16 +1969,16 @@ export const getCompleteClaimUrl = (projectId: string,) => {
1947
1969
  * A [claim attaches a project to a team](https://preview.zitadel.com/docs/concepts/project-team-user#claim),
1948
1970
  * so that the team's members administer it. The claim page in the browser
1949
1971
  * calls this operation after the developer signs in, with the session cookie.
1950
- * 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
1951
1973
  * request's single-use, browser-safe authorization.
1952
1974
  *
1953
1975
  * Claims are first-claim-wins and spend the challenge. If a team already
1954
1976
  * claimed the project, the request answers `409`. If the challenge lapsed
1955
- * (`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.
1956
1978
  * @summary Complete a project claim
1957
1979
  */
1958
- export const completeClaim = async (projectId: string,
1959
- 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> => {
1960
1982
 
1961
1983
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
1962
1984
  if (!h) return {};
@@ -1972,19 +1994,19 @@ export const completeClaim = async (projectId: string,
1972
1994
  }
1973
1995
  return headers;
1974
1996
  };
1975
- return customFetch<CompleteClaim200>(getCompleteClaimUrl(projectId),
1997
+ return customFetch<CompleteProjectClaim200>(getCompleteProjectClaimUrl(projectId),
1976
1998
  {
1977
1999
  ...options,
1978
2000
  method: 'POST',
1979
2001
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
1980
- body: JSON.stringify(completeClaimBody)
2002
+ body: JSON.stringify(completeProjectClaimBody)
1981
2003
  }
1982
2004
  );}
1983
2005
 
1984
2006
 
1985
2007
 
1986
- export const getGetClaimWindowUrl = (projectId: string,
1987
- params: GetClaimWindowParams,) => {
2008
+ export const getGetProjectClaimWindowUrl = (projectId: string,
2009
+ params: GetProjectClaimWindowParams,) => {
1988
2010
  const normalizedParams = new URLSearchParams();
1989
2011
 
1990
2012
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2009,15 +2031,15 @@ export const getGetClaimWindowUrl = (projectId: string,
2009
2031
  *
2010
2032
  * The request needs no credential, because the claim page calls it before the
2011
2033
  * developer has signed in. Holding the `challenge_id` from the claim URL that
2012
- * `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`)
2013
2035
  * accepts. The response reveals only the window, never the project itself.
2014
- * Unlike `completeClaim` it spends nothing, so reloading the page is safe.
2036
+ * Unlike `completeProjectClaim` it spends nothing, so reloading the page is safe.
2015
2037
  * @summary Get the claim window for a project
2016
2038
  */
2017
- export const getClaimWindow = async (projectId: string,
2018
- 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> => {
2019
2041
 
2020
- return customFetch<GetClaimWindow200>(getGetClaimWindowUrl(projectId,params),
2042
+ return customFetch<GetProjectClaimWindow200>(getGetProjectClaimWindowUrl(projectId,params),
2021
2043
  {
2022
2044
  ...options,
2023
2045
  method: 'GET'
@@ -2028,7 +2050,7 @@ export const getClaimWindow = async (projectId: string,
2028
2050
 
2029
2051
 
2030
2052
 
2031
- export const getAddOriginUrl = (projectId: string,) => {
2053
+ export const getAddProjectOriginUrl = (projectId: string,) => {
2032
2054
 
2033
2055
 
2034
2056
 
@@ -2052,11 +2074,11 @@ export const getAddOriginUrl = (projectId: string,) => {
2052
2074
  * Adding a pattern that already exists with the same kind is idempotent and
2053
2075
  * answers `201` with the stored origin. If the pattern exists with the other
2054
2076
  * kind, the request is refused with `origin.kind_conflict`: remove it with
2055
- * `removeOrigin` (`POST /projects/{project_id}/origins/remove`), then add it again.
2077
+ * `removeProjectOrigin` (`POST /projects/{project_id}/origins/remove`), then add it again.
2056
2078
  * @summary Add an origin pattern
2057
2079
  */
2058
- export const addOrigin = async (projectId: string,
2059
- 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> => {
2060
2082
 
2061
2083
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2062
2084
  if (!h) return {};
@@ -2072,18 +2094,18 @@ export const addOrigin = async (projectId: string,
2072
2094
  }
2073
2095
  return headers;
2074
2096
  };
2075
- return customFetch<AddOrigin201>(getAddOriginUrl(projectId),
2097
+ return customFetch<AddProjectOrigin201>(getAddProjectOriginUrl(projectId),
2076
2098
  {
2077
2099
  ...options,
2078
2100
  method: 'POST',
2079
2101
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2080
- body: JSON.stringify(addOriginBody)
2102
+ body: JSON.stringify(addProjectOriginBody)
2081
2103
  }
2082
2104
  );}
2083
2105
 
2084
2106
 
2085
2107
 
2086
- export const getRemoveOriginUrl = (projectId: string,) => {
2108
+ export const getRemoveProjectOriginUrl = (projectId: string,) => {
2087
2109
 
2088
2110
 
2089
2111
 
@@ -2100,11 +2122,11 @@ export const getRemoveOriginUrl = (projectId: string,) => {
2100
2122
  * origin.
2101
2123
  * Removing a pattern that is already absent is idempotent and answers `204`.
2102
2124
  *
2103
- * 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.
2104
2126
  * @summary Remove an origin pattern
2105
2127
  */
2106
- export const removeOrigin = async (projectId: string,
2107
- 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> => {
2108
2130
 
2109
2131
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2110
2132
  if (!h) return {};
@@ -2120,19 +2142,19 @@ export const removeOrigin = async (projectId: string,
2120
2142
  }
2121
2143
  return headers;
2122
2144
  };
2123
- return customFetch<void>(getRemoveOriginUrl(projectId),
2145
+ return customFetch<void>(getRemoveProjectOriginUrl(projectId),
2124
2146
  {
2125
2147
  ...options,
2126
2148
  method: 'POST',
2127
2149
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2128
- body: JSON.stringify(removeOriginBody)
2150
+ body: JSON.stringify(removeProjectOriginBody)
2129
2151
  }
2130
2152
  );}
2131
2153
 
2132
2154
 
2133
2155
 
2134
- export const getListPreviewsUrl = (projectId: string,
2135
- params?: ListPreviewsParams,) => {
2156
+ export const getListProjectPreviewsUrl = (projectId: string,
2157
+ params?: ListProjectPreviewsParams,) => {
2136
2158
  const normalizedParams = new URLSearchParams();
2137
2159
 
2138
2160
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2155,10 +2177,10 @@ export const getListPreviewsUrl = (projectId: string,
2155
2177
  * in `GET /deployments`.
2156
2178
  * @summary List a project's previews
2157
2179
  */
2158
- export const listPreviews = async (projectId: string,
2159
- 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> => {
2160
2182
 
2161
- return customFetch<ListPreviews200>(getListPreviewsUrl(projectId,params),
2183
+ return customFetch<ListProjectPreviews200>(getListProjectPreviewsUrl(projectId,params),
2162
2184
  {
2163
2185
  ...options,
2164
2186
  method: 'GET'
@@ -2169,7 +2191,7 @@ export const listPreviews = async (projectId: string,
2169
2191
 
2170
2192
 
2171
2193
 
2172
- export const getRemovePreviewUrl = (projectId: string,) => {
2194
+ export const getRemoveProjectPreviewUrl = (projectId: string,) => {
2173
2195
 
2174
2196
 
2175
2197
 
@@ -2186,11 +2208,11 @@ export const getRemovePreviewUrl = (projectId: string,) => {
2186
2208
  * succeeds.
2187
2209
  *
2188
2210
  * The URL travels in the body rather than the path because an origin
2189
- * contains `/`. Take it from `listPreviews` (`GET /projects/{project_id}/previews`).
2211
+ * contains `/`. Take it from `listProjectPreviews` (`GET /projects/{project_id}/previews`).
2190
2212
  * @summary Remove a preview
2191
2213
  */
2192
- export const removePreview = async (projectId: string,
2193
- 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> => {
2194
2216
 
2195
2217
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2196
2218
  if (!h) return {};
@@ -2206,12 +2228,12 @@ export const removePreview = async (projectId: string,
2206
2228
  }
2207
2229
  return headers;
2208
2230
  };
2209
- return customFetch<void>(getRemovePreviewUrl(projectId),
2231
+ return customFetch<void>(getRemoveProjectPreviewUrl(projectId),
2210
2232
  {
2211
2233
  ...options,
2212
2234
  method: 'POST',
2213
2235
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2214
- body: JSON.stringify(removePreviewBody)
2236
+ body: JSON.stringify(removeProjectPreviewBody)
2215
2237
  }
2216
2238
  );}
2217
2239
 
@@ -2353,7 +2375,7 @@ export const getExchangeHandoffUrl = (params: ExchangeHandoffParams,) => {
2353
2375
  * Exchanges a handoff token for a session and a `session_token`.
2354
2376
  *
2355
2377
  * A handoff token is the short-lived, single-use credential that
2356
- * `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
2357
2379
  * complete. This call consumes it. It is the last step of the sign-in sequence:
2358
2380
  * create the attempt, issue a challenge, verify the proof, create the handoff,
2359
2381
  * exchange it.
@@ -2598,7 +2620,7 @@ export const getMySessionCsrfToken = async (params?: GetMySessionCsrfTokenParams
2598
2620
 
2599
2621
 
2600
2622
 
2601
- export const getCreateSchemaUrl = (params: CreateSchemaParams,) => {
2623
+ export const getPublishSchemaUrl = (params: PublishSchemaParams,) => {
2602
2624
  const normalizedParams = new URLSearchParams();
2603
2625
 
2604
2626
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2614,12 +2636,13 @@ export const getCreateSchemaUrl = (params: CreateSchemaParams,) => {
2614
2636
  }
2615
2637
 
2616
2638
  /**
2617
- * 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
2618
2640
  * has and which attribute identifies the user.
2619
2641
  *
2620
2642
  * The request is either a user schema (`kind: user-schema`) or a schema URL
2621
- * (`kind: schema-url`) that the server resolves. The response's `id` is what
2622
- * `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`.
2623
2646
  *
2624
2647
  * The optional `$id` is the JSON Schema document URI that identifies the
2625
2648
  * schema in later requests. It is a stable identity for GitOps, not a
@@ -2628,10 +2651,10 @@ export const getCreateSchemaUrl = (params: CreateSchemaParams,) => {
2628
2651
  * should ideally be a valid URI pointing at where the schema can be accessed.
2629
2652
  * A `$id` that already exists in the project is refused; pick another or
2630
2653
  * omit it.
2631
- * @summary Create a schema
2654
+ * @summary Publish a schema
2632
2655
  */
2633
- export const createSchema = async (createSchemaBody: CreateSchemaBody,
2634
- 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> => {
2635
2658
 
2636
2659
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2637
2660
  if (!h) return {};
@@ -2647,12 +2670,12 @@ export const createSchema = async (createSchemaBody: CreateSchemaBody,
2647
2670
  }
2648
2671
  return headers;
2649
2672
  };
2650
- return customFetch<CreateSchema201>(getCreateSchemaUrl(params),
2673
+ return customFetch<PublishSchema201>(getPublishSchemaUrl(params),
2651
2674
  {
2652
2675
  ...options,
2653
2676
  method: 'POST',
2654
2677
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2655
- body: JSON.stringify(createSchemaBody)
2678
+ body: JSON.stringify(publishSchemaBody)
2656
2679
  }
2657
2680
  );}
2658
2681
 
@@ -2702,8 +2725,8 @@ export const listSchemas = async (params: ListSchemasParams, options?: Parameter
2702
2725
 
2703
2726
 
2704
2727
 
2705
- export const getGetSchemaByIdUrl = (id: string,
2706
- params?: GetSchemaByIdParams,) => {
2728
+ export const getGetSchemaUrl = (schemaId: string,
2729
+ params?: GetSchemaParams,) => {
2707
2730
  const normalizedParams = new URLSearchParams();
2708
2731
 
2709
2732
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -2715,7 +2738,7 @@ export const getGetSchemaByIdUrl = (id: string,
2715
2738
 
2716
2739
  const stringifiedParams = normalizedParams.toString();
2717
2740
 
2718
- 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))}`
2719
2742
  }
2720
2743
 
2721
2744
  /**
@@ -2731,10 +2754,10 @@ export const getGetSchemaByIdUrl = (id: string,
2731
2754
  * own project and ignores `project_id`.
2732
2755
  * @summary Get a schema by ID
2733
2756
  */
2734
- export const getSchemaById = async (id: string,
2735
- 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> => {
2736
2759
 
2737
- return customFetch<GetSchemaById200>(getGetSchemaByIdUrl(id,params),
2760
+ return customFetch<GetSchema200>(getGetSchemaUrl(schemaId,params),
2738
2761
  {
2739
2762
  ...options,
2740
2763
  method: 'GET'
@@ -2745,7 +2768,7 @@ export const getSchemaById = async (id: string,
2745
2768
 
2746
2769
 
2747
2770
 
2748
- export const getCreateFlowDefinitionUrl = () => {
2771
+ export const getPublishFlowDefinitionUrl = () => {
2749
2772
 
2750
2773
 
2751
2774
 
@@ -2754,8 +2777,8 @@ export const getCreateFlowDefinitionUrl = () => {
2754
2777
  }
2755
2778
 
2756
2779
  /**
2757
- * Creates a flow definition by publishing a new revision of it. It records a
2758
- * `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.
2759
2782
  *
2760
2783
  * A [flow definition](https://preview.zitadel.com/docs/concepts/flows-and-schemas) is a template that
2761
2784
  * defines the sequence of steps (capabilities) for one user journey, such as
@@ -2769,9 +2792,9 @@ export const getCreateFlowDefinitionUrl = () => {
2769
2792
  * existing `name` publishes a new revision of that flow, which is not a
2770
2793
  * conflict. List with `name` to see a flow's revisions, newest by creation
2771
2794
  * time first.
2772
- * @summary Create a flow definition
2795
+ * @summary Publish a flow definition
2773
2796
  */
2774
- 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> => {
2775
2798
 
2776
2799
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
2777
2800
  if (!h) return {};
@@ -2787,12 +2810,12 @@ export const createFlowDefinition = async (createFlowDefinitionBody: CreateFlowD
2787
2810
  }
2788
2811
  return headers;
2789
2812
  };
2790
- return customFetch<CreateFlowDefinition201>(getCreateFlowDefinitionUrl(),
2813
+ return customFetch<PublishFlowDefinition201>(getPublishFlowDefinitionUrl(),
2791
2814
  {
2792
2815
  ...options,
2793
2816
  method: 'POST',
2794
2817
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
2795
- body: JSON.stringify(createFlowDefinitionBody)
2818
+ body: JSON.stringify(publishFlowDefinitionBody)
2796
2819
  }
2797
2820
  );}
2798
2821
 
@@ -2826,7 +2849,7 @@ export const getListFlowDefinitionsUrl = (params: ListFlowDefinitionsParams,) =>
2826
2849
  * creation time first. A flow definition sets which step of a sign-in
2827
2850
  * renders when, and which fields each step collects.
2828
2851
  *
2829
- * 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}`)
2830
2853
  * takes. Filter by `name` to list the revisions of one flow.
2831
2854
  * @summary List flow definitions
2832
2855
  */
@@ -2843,22 +2866,22 @@ export const listFlowDefinitions = async (params: ListFlowDefinitionsParams, opt
2843
2866
 
2844
2867
 
2845
2868
 
2846
- export const getGetFlowDefinitionUrl = (id: string,) => {
2869
+ export const getGetFlowDefinitionUrl = (flowDefinitionId: string,) => {
2847
2870
 
2848
2871
 
2849
2872
 
2850
2873
 
2851
- return `${getApiBaseUrl()}/flow_definitions/${encodeURIComponent(String(id))}`
2874
+ return `${getApiBaseUrl()}/flow_definitions/${encodeURIComponent(String(flowDefinitionId))}`
2852
2875
  }
2853
2876
 
2854
2877
  /**
2855
2878
  * Returns one flow definition revision. Pass the `id` that
2856
- * `createFlowDefinition` (`POST /flow_definitions`) or `listFlowDefinitions` (`GET /flow_definitions`) returns.
2879
+ * `publishFlowDefinition` (`POST /flow_definitions`) or `listFlowDefinitions` (`GET /flow_definitions`) returns.
2857
2880
  * @summary Get a flow definition by ID
2858
2881
  */
2859
- 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> => {
2860
2883
 
2861
- return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(id),
2884
+ return customFetch<GetFlowDefinition200>(getGetFlowDefinitionUrl(flowDefinitionId),
2862
2885
  {
2863
2886
  ...options,
2864
2887
  method: 'GET'
@@ -2998,7 +3021,7 @@ export const getTeam = async (teamId: string, options?: Parameters<typeof custom
2998
3021
 
2999
3022
 
3000
3023
 
3001
- export const getDeleteTeamUrl = (teamId: string,) => {
3024
+ export const getDeactivateTeamUrl = (teamId: string,) => {
3002
3025
 
3003
3026
 
3004
3027
 
@@ -3022,9 +3045,9 @@ export const getDeleteTeamUrl = (teamId: string,) => {
3022
3045
  * now such a team cannot be deactivated through the API.
3023
3046
  * @summary Deactivate a team
3024
3047
  */
3025
- 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> => {
3026
3049
 
3027
- return customFetch<void>(getDeleteTeamUrl(teamId),
3050
+ return customFetch<void>(getDeactivateTeamUrl(teamId),
3028
3051
  {
3029
3052
  ...options,
3030
3053
  method: 'DELETE'
@@ -3095,13 +3118,14 @@ export const getSearchUrl = (params?: SearchParams,) => {
3095
3118
  }
3096
3119
 
3097
3120
  /**
3098
- * Finds the resources of a project that match a text, across resource types.
3121
+ * Finds the resources of one project, or of the projects a person can act on, that match a text, across resource types.
3099
3122
  *
3100
3123
  * `query` is what the person typed and `types` names the kinds of result to
3101
3124
  * look for; only those are searched. Each result is a reference: its `type`,
3102
- * its `id`, a `title` and sometimes a `subtitle`. Read the resource itself
3103
- * with the type's own operation, for example `GetUserByID`
3104
- * (`GET /users/{user_id}`) or `getTeam` (`GET /teams/{team_id}`).
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.
3105
3129
  *
3106
3130
  * What a type matches on:
3107
3131
  * - `user`: the start of the value they carry as `identifier` or of a part
@@ -3112,27 +3136,34 @@ export const getSearchUrl = (params?: SearchParams,) => {
3112
3136
  * - `idp`: the `slug` and the `display_name` of an identity provider
3113
3137
  * connection
3114
3138
  *
3115
- * A user matches from the start of the value; every other type matches the
3116
- * text anywhere in it. Matching ignores case. A `query` that is the `id` of
3117
- * a resource of a requested type finds that one. A schema and a flow
3118
- * definition are found at their newest revision. `project_id` names the
3119
- * project to search; without it, the credential's own project is searched. A
3120
- * caller with access to part of the project finds only what that access
3121
- * covers.
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.
3122
3152
  *
3123
3153
  * Authenticate with the project secret (`oauth2`) or a console session cookie
3124
3154
  * (`sessionCookie`). A preview secret is refused, as on every management
3125
3155
  * operation.
3126
3156
  *
3127
- * Results come best match first, at most `limit_per_type` of each type, and
3128
- * types can be mixed in the order. `incomplete_types` lists the types that
3129
- * have more to show: page those with the type's own list, such as
3130
- * `queryUsers` (`POST /users/query`) or `queryTeams` (`POST /teams/query`).
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`).
3131
3162
  *
3132
3163
  * How text is matched and ranked can change, and later versions can match
3133
3164
  * more of a resource. Treat the results as suggestions; to filter by an exact
3134
3165
  * rule, use the type's own list.
3135
- * @summary Search a project
3166
+ * @summary Search projects
3136
3167
  */
3137
3168
  export const search = async (searchBody: SearchBody,
3138
3169
  params?: SearchParams, options?: Parameters<typeof customFetch>[1]): Promise<Search200> => {
@@ -3162,7 +3193,7 @@ return customFetch<Search200>(getSearchUrl(params),
3162
3193
 
3163
3194
 
3164
3195
 
3165
- export const getCreateBrandingUrl = (params: CreateBrandingParams,) => {
3196
+ export const getPublishBrandingUrl = (params: PublishBrandingParams,) => {
3166
3197
  const normalizedParams = new URLSearchParams();
3167
3198
 
3168
3199
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3192,8 +3223,8 @@ export const getCreateBrandingUrl = (params: CreateBrandingParams,) => {
3192
3223
  * time, in `zitadel deploy` and `zitadel deploy --dry-run`.
3193
3224
  * @summary Publish a branding revision
3194
3225
  */
3195
- export const createBranding = async (createBrandingBody: CreateBrandingBody,
3196
- 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> => {
3197
3228
 
3198
3229
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3199
3230
  if (!h) return {};
@@ -3209,12 +3240,12 @@ export const createBranding = async (createBrandingBody: CreateBrandingBody,
3209
3240
  }
3210
3241
  return headers;
3211
3242
  };
3212
- return customFetch<CreateBranding201>(getCreateBrandingUrl(params),
3243
+ return customFetch<PublishBranding201>(getPublishBrandingUrl(params),
3213
3244
  {
3214
3245
  ...options,
3215
3246
  method: 'POST',
3216
3247
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3217
- body: JSON.stringify(createBrandingBody)
3248
+ body: JSON.stringify(publishBrandingBody)
3218
3249
  }
3219
3250
  );}
3220
3251
 
@@ -3236,16 +3267,19 @@ export const getListBrandingUrl = (params: ListBrandingParams,) => {
3236
3267
  }
3237
3268
 
3238
3269
  /**
3239
- * Lists a project's branding revisions, newest first, capped at the 100 most
3240
- * 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.
3241
3275
  *
3242
- * 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
3243
3277
  * that a release pins for `kind: branding`.
3244
3278
  * @summary List branding revisions
3245
3279
  */
3246
- 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> => {
3247
3281
 
3248
- return customFetch<ListBranding200Item[]>(getListBrandingUrl(params),
3282
+ return customFetch<ListBranding200>(getListBrandingUrl(params),
3249
3283
  {
3250
3284
  ...options,
3251
3285
  method: 'GET'
@@ -3256,22 +3290,54 @@ export const listBranding = async (params: ListBrandingParams, options?: Paramet
3256
3290
 
3257
3291
 
3258
3292
 
3259
- export const getGetBrandingByIdUrl = (id: string,) => {
3293
+ export const getGetBrandingUrl = (brandingId: string,) => {
3260
3294
 
3261
3295
 
3262
3296
 
3263
3297
 
3264
- return `${getApiBaseUrl()}/branding/${encodeURIComponent(String(id))}`
3298
+ return `${getApiBaseUrl()}/branding/${encodeURIComponent(String(brandingId))}`
3265
3299
  }
3266
3300
 
3267
3301
  /**
3268
3302
  * Returns one branding revision, including its stored configuration. Pass the
3269
- * `id` that `createBranding` (`POST /branding`) or `listBranding` (`GET /branding`) returns.
3303
+ * `id` that `publishBranding` (`POST /branding`) or `listBranding` (`GET /branding`) returns.
3270
3304
  * @summary Get a branding revision by ID
3271
3305
  */
3272
- 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> => {
3307
+
3308
+ return customFetch<GetBranding200>(getGetBrandingUrl(brandingId),
3309
+ {
3310
+ ...options,
3311
+ method: 'GET'
3312
+
3313
+
3314
+ }
3315
+ );}
3316
+
3317
+
3318
+
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> => {
3273
3339
 
3274
- return customFetch<GetBrandingById200>(getGetBrandingByIdUrl(id),
3340
+ return customFetch<GetOAuthSettings200>(getGetOAuthSettingsUrl(oauthSettingsId),
3275
3341
  {
3276
3342
  ...options,
3277
3343
  method: 'GET'
@@ -3282,7 +3348,7 @@ export const getBrandingById = async (id: string, options?: Parameters<typeof cu
3282
3348
 
3283
3349
 
3284
3350
 
3285
- export const getCreateIdpUrl = (params: CreateIdpParams,) => {
3351
+ export const getPublishIdpUrl = (params: PublishIdpParams,) => {
3286
3352
  const normalizedParams = new URLSearchParams();
3287
3353
 
3288
3354
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3334,8 +3400,8 @@ export const getCreateIdpUrl = (params: CreateIdpParams,) => {
3334
3400
  * stays unchanged.
3335
3401
  * @summary Create or revise an identity provider
3336
3402
  */
3337
- export const createIdp = async (createIdpBody: CreateIdpBody,
3338
- 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> => {
3339
3405
 
3340
3406
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3341
3407
  if (!h) return {};
@@ -3351,12 +3417,12 @@ export const createIdp = async (createIdpBody: CreateIdpBody,
3351
3417
  }
3352
3418
  return headers;
3353
3419
  };
3354
- return customFetch<CreateIdp200 | CreateIdp201>(getCreateIdpUrl(params),
3420
+ return customFetch<PublishIdp200 | PublishIdp201>(getPublishIdpUrl(params),
3355
3421
  {
3356
3422
  ...options,
3357
3423
  method: 'POST',
3358
3424
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3359
- body: JSON.stringify(createIdpBody)
3425
+ body: JSON.stringify(publishIdpBody)
3360
3426
  }
3361
3427
  );}
3362
3428
 
@@ -3411,8 +3477,8 @@ return customFetch<QueryIdps200>(getQueryIdpsUrl(params),
3411
3477
 
3412
3478
 
3413
3479
 
3414
- export const getGetIdpByIdUrl = (id: string,
3415
- params: GetIdpByIdParams,) => {
3480
+ export const getGetIdpUrl = (idpId: string,
3481
+ params: GetIdpParams,) => {
3416
3482
  const normalizedParams = new URLSearchParams();
3417
3483
 
3418
3484
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3424,21 +3490,21 @@ export const getGetIdpByIdUrl = (id: string,
3424
3490
 
3425
3491
  const stringifiedParams = normalizedParams.toString();
3426
3492
 
3427
- 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))}`
3428
3494
  }
3429
3495
 
3430
3496
  /**
3431
3497
  * Returns an identity provider, an external sign-in such as Google, by ID at
3432
- * its newest revision. `listIdpRevisions` (`GET /idps/{id}/revisions`) lists
3498
+ * its newest revision. `listIdpRevisions` (`GET /idps/{idp_id}/revisions`) lists
3433
3499
  * every revision of it.
3434
3500
  *
3435
3501
  * The lookup is scoped to the project in `project_id`.
3436
3502
  * @summary Get an identity provider by ID
3437
3503
  */
3438
- export const getIdpById = async (id: string,
3439
- 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> => {
3440
3506
 
3441
- return customFetch<GetIdpById200>(getGetIdpByIdUrl(id,params),
3507
+ return customFetch<GetIdp200>(getGetIdpUrl(idpId,params),
3442
3508
  {
3443
3509
  ...options,
3444
3510
  method: 'GET'
@@ -3449,7 +3515,7 @@ export const getIdpById = async (id: string,
3449
3515
 
3450
3516
 
3451
3517
 
3452
- export const getListIdpRevisionsUrl = (id: string,
3518
+ export const getListIdpRevisionsUrl = (idpId: string,
3453
3519
  params: ListIdpRevisionsParams,) => {
3454
3520
  const normalizedParams = new URLSearchParams();
3455
3521
 
@@ -3462,7 +3528,7 @@ export const getListIdpRevisionsUrl = (id: string,
3462
3528
 
3463
3529
  const stringifiedParams = normalizedParams.toString();
3464
3530
 
3465
- 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`
3466
3532
  }
3467
3533
 
3468
3534
  /**
@@ -3473,10 +3539,10 @@ export const getListIdpRevisionsUrl = (id: string,
3473
3539
  * The lookup is scoped to the project in `project_id`.
3474
3540
  * @summary List the revisions of an identity provider
3475
3541
  */
3476
- export const listIdpRevisions = async (id: string,
3542
+ export const listIdpRevisions = async (idpId: string,
3477
3543
  params: ListIdpRevisionsParams, options?: Parameters<typeof customFetch>[1]): Promise<ListIdpRevisions200> => {
3478
3544
 
3479
- return customFetch<ListIdpRevisions200>(getListIdpRevisionsUrl(id,params),
3545
+ return customFetch<ListIdpRevisions200>(getListIdpRevisionsUrl(idpId,params),
3480
3546
  {
3481
3547
  ...options,
3482
3548
  method: 'GET'
@@ -3487,8 +3553,8 @@ export const listIdpRevisions = async (id: string,
3487
3553
 
3488
3554
 
3489
3555
 
3490
- export const getGetIdpRevisionByIdUrl = (revisionId: string,
3491
- params: GetIdpRevisionByIdParams,) => {
3556
+ export const getGetIdpRevisionUrl = (revisionId: string,
3557
+ params: GetIdpRevisionParams,) => {
3492
3558
  const normalizedParams = new URLSearchParams();
3493
3559
 
3494
3560
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3511,10 +3577,10 @@ export const getGetIdpRevisionByIdUrl = (revisionId: string,
3511
3577
  * The lookup is scoped to the project in `project_id`.
3512
3578
  * @summary Get a revision of an identity provider
3513
3579
  */
3514
- export const getIdpRevisionById = async (revisionId: string,
3515
- 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> => {
3516
3582
 
3517
- return customFetch<GetIdpRevisionById200>(getGetIdpRevisionByIdUrl(revisionId,params),
3583
+ return customFetch<GetIdpRevision200>(getGetIdpRevisionUrl(revisionId,params),
3518
3584
  {
3519
3585
  ...options,
3520
3586
  method: 'GET'
@@ -3525,7 +3591,7 @@ export const getIdpRevisionById = async (revisionId: string,
3525
3591
 
3526
3592
 
3527
3593
 
3528
- export const getCreateApplicationUrl = (params: CreateApplicationParams,) => {
3594
+ export const getPublishApplicationUrl = (params: PublishApplicationParams,) => {
3529
3595
  const normalizedParams = new URLSearchParams();
3530
3596
 
3531
3597
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3550,13 +3616,13 @@ export const getCreateApplicationUrl = (params: CreateApplicationParams,) => {
3550
3616
  * `id`. Sending an unchanged document also creates a revision. Each client
3551
3617
  * is matched to the stored one by its slug and keeps its `client_id`: a
3552
3618
  * revision that changes a client's `client_id` is rejected with
3553
- * `application.field_immutable`. A revision keeps every client of the
3619
+ * `app.field_immutable`. A revision keeps every client of the
3554
3620
  * stored document: one that omits a client is also rejected with
3555
- * `application.field_immutable`, since removing a client is not available
3621
+ * `app.field_immutable`, since removing a client is not available
3556
3622
  * yet. A client with a new slug is a new client. It takes the `client_id`
3557
3623
  * the document supplies, or the server generates one, and every response
3558
3624
  * carries it in `definition`. A `client_id` another client of the project
3559
- * holds, or ever held, is rejected with `application.client_id_taken`.
3625
+ * holds, or ever held, is rejected with `app.client_id_taken`.
3560
3626
  *
3561
3627
  * Every new client gets a secret, generated by the server and returned once
3562
3628
  * in `client_secrets`. The server stores only its hash, so no later read
@@ -3567,15 +3633,15 @@ export const getCreateApplicationUrl = (params: CreateApplicationParams,) => {
3567
3633
  * applies: `refresh_token` comes with `authorization_code`, a client with
3568
3634
  * `authorization_code` has at least one redirect URI, and each redirect
3569
3635
  * URI meets the rules `redirect_uris` states. A document that breaks one
3570
- * is refused with `application.invalid`, whose details identify the
3636
+ * is refused with `app.invalid`, whose details identify the
3571
3637
  * setting.
3572
3638
  *
3573
3639
  * If the document is refused, no change is stored and an existing
3574
3640
  * application keeps its current revision.
3575
3641
  * @summary Create or revise a registered application
3576
3642
  */
3577
- export const createApplication = async (createApplicationBody: CreateApplicationBody,
3578
- params: CreateApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<CreateApplication200 | CreateApplication201> => {
3643
+ export const publishApplication = async (publishApplicationBody: PublishApplicationBody,
3644
+ params: PublishApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<PublishApplication200 | PublishApplication201> => {
3579
3645
 
3580
3646
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
3581
3647
  if (!h) return {};
@@ -3591,19 +3657,19 @@ export const createApplication = async (createApplicationBody: CreateApplication
3591
3657
  }
3592
3658
  return headers;
3593
3659
  };
3594
- return customFetch<CreateApplication200 | CreateApplication201>(getCreateApplicationUrl(params),
3660
+ return customFetch<PublishApplication200 | PublishApplication201>(getPublishApplicationUrl(params),
3595
3661
  {
3596
3662
  ...options,
3597
3663
  method: 'POST',
3598
3664
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
3599
- body: JSON.stringify(createApplicationBody)
3665
+ body: JSON.stringify(publishApplicationBody)
3600
3666
  }
3601
3667
  );}
3602
3668
 
3603
3669
 
3604
3670
 
3605
- export const getGetApplicationByIdUrl = (id: string,
3606
- params: GetApplicationByIdParams,) => {
3671
+ export const getGetApplicationUrl = (applicationId: string,
3672
+ params: GetApplicationParams,) => {
3607
3673
  const normalizedParams = new URLSearchParams();
3608
3674
 
3609
3675
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -3615,22 +3681,22 @@ export const getGetApplicationByIdUrl = (id: string,
3615
3681
 
3616
3682
  const stringifiedParams = normalizedParams.toString();
3617
3683
 
3618
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/applications/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/applications/${encodeURIComponent(String(id))}`
3684
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/applications/${encodeURIComponent(String(applicationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/applications/${encodeURIComponent(String(applicationId))}`
3619
3685
  }
3620
3686
 
3621
3687
  /**
3622
3688
  * Returns an application that authenticates its users via Zitadel, by ID
3623
3689
  * at its newest revision, with each client's `client_id` in `definition`. It
3624
- * never returns a client secret: `createApplication` (`POST /applications`)
3690
+ * never returns a client secret: `publishApplication` (`POST /applications`)
3625
3691
  * shows one once, when it creates the client.
3626
3692
  *
3627
3693
  * The lookup is scoped to the project in `project_id`.
3628
3694
  * @summary Get an application by ID
3629
3695
  */
3630
- export const getApplicationById = async (id: string,
3631
- params: GetApplicationByIdParams, options?: Parameters<typeof customFetch>[1]): Promise<GetApplicationById200> => {
3696
+ export const getApplication = async (applicationId: string,
3697
+ params: GetApplicationParams, options?: Parameters<typeof customFetch>[1]): Promise<GetApplication200> => {
3632
3698
 
3633
- return customFetch<GetApplicationById200>(getGetApplicationByIdUrl(id,params),
3699
+ return customFetch<GetApplication200>(getGetApplicationUrl(applicationId,params),
3634
3700
  {
3635
3701
  ...options,
3636
3702
  method: 'GET'
@@ -3968,7 +4034,7 @@ export const getCreateReleaseUrl = (params: CreateReleaseParams,) => {
3968
4034
  * A release is a snapshot of the project's configuration: it pins one
3969
4035
  * revision of each resource it includes, and it is not tied to an origin.
3970
4036
  * Take each `revision_id` from the operation that created the revision, for
3971
- * 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.
3972
4038
  *
3973
4039
  * Each revision must exist in the project and is recorded under the handle
3974
4040
  * it declares. The release must be complete and consistent:
@@ -4039,9 +4105,9 @@ export const getListReleasesUrl = (params: ListReleasesParams,) => {
4039
4105
  * project's configuration.
4040
4106
  *
4041
4107
  * Entries carry the digest, the metadata and `revoked_at`. The pinned set is
4042
- * 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.
4043
4109
  *
4044
- * The `id` of an entry is the release ID that `getReleaseById`,
4110
+ * The `id` of an entry is the release ID that `getRelease`,
4045
4111
  * `revokeRelease` (`POST /releases/{release_id}/revoke`) and `createDeployment` (`POST /deployments`) take.
4046
4112
  *
4047
4113
  * `content_hash` looks a release up by its content, as the CLI does when a
@@ -4110,8 +4176,8 @@ export const getBuildReleaseUrl = (params: BuildReleaseParams,) => {
4110
4176
  *
4111
4177
  * Building writes revisions, so besides `release.write` it needs the write
4112
4178
  * scope of every kind the bundle carries a resource of: `schema.write`,
4113
- * `flow_definition.write`, `branding.write`, `idp.write` and `policy.write`,
4114
- * 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
4115
4181
  * `rel.permission_denied`, naming the kind. Request a token with that scope.
4116
4182
  * An empty kind needs no scope.
4117
4183
  *
@@ -4148,8 +4214,8 @@ return customFetch<BuildRelease200 | BuildRelease201>(getBuildReleaseUrl(params)
4148
4214
 
4149
4215
 
4150
4216
 
4151
- export const getGetReleaseByIdUrl = (releaseId: string,
4152
- params: GetReleaseByIdParams,) => {
4217
+ export const getGetReleaseUrl = (releaseId: string,
4218
+ params: GetReleaseParams,) => {
4153
4219
  const normalizedParams = new URLSearchParams();
4154
4220
 
4155
4221
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4183,10 +4249,10 @@ export const getGetReleaseByIdUrl = (releaseId: string,
4183
4249
  * caller cannot read.
4184
4250
  * @summary Get a release by ID
4185
4251
  */
4186
- export const getReleaseById = async (releaseId: string,
4187
- 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> => {
4188
4254
 
4189
- return customFetch<GetReleaseById200>(getGetReleaseByIdUrl(releaseId,params),
4255
+ return customFetch<GetRelease200>(getGetReleaseUrl(releaseId,params),
4190
4256
  {
4191
4257
  ...options,
4192
4258
  method: 'GET'
@@ -4275,7 +4341,7 @@ export const getCreateGrantUrl = (params: CreateGrantParams,) => {
4275
4341
  * The project is the one named by the `project_id` query parameter. Name the
4276
4342
  * principal with `user` (`user_id` or `identifier`) or `team` (`team_id` or
4277
4343
  * `name`). The `id` in the response (`asgn_<opaque>`) is the grant ID that
4278
- * `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
4279
4345
  * created here: a claim, which attaches a project to a team, creates them.
4280
4346
  *
4281
4347
  * An unrevoked grant with the same principal and relation holds that binding
@@ -4345,7 +4411,7 @@ export const getQueryGrantsUrl = (params: QueryGrantsParams,) => {
4345
4411
  *
4346
4412
  * Only unrevoked grants this API manages are listed, which bind a user or team
4347
4413
  * to the viewer, editor or admin role. Expired grants are included, so a client
4348
- * 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.
4349
4415
  * Project-secret setup (`sk_proj`) and owning-team (`relation=team`) rows are
4350
4416
  * not returned. Requires `project.read`.
4351
4417
  *
@@ -4385,7 +4451,7 @@ return customFetch<QueryGrants200>(getQueryGrantsUrl(params),
4385
4451
 
4386
4452
 
4387
4453
 
4388
- export const getGetGrantUrl = (id: string,
4454
+ export const getGetGrantUrl = (grantId: string,
4389
4455
  params: GetGrantParams,) => {
4390
4456
  const normalizedParams = new URLSearchParams();
4391
4457
 
@@ -4406,7 +4472,7 @@ export const getGetGrantUrl = (id: string,
4406
4472
 
4407
4473
  const stringifiedParams = normalizedParams.toString();
4408
4474
 
4409
- 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))}`
4410
4476
  }
4411
4477
 
4412
4478
  /**
@@ -4414,7 +4480,7 @@ export const getGetGrantUrl = (id: string,
4414
4480
  *
4415
4481
  * This API manages grants that bind a user or team to the viewer, editor or
4416
4482
  * admin role. An expired grant is still returned, so you can revoke it with
4417
- * `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
4418
4484
  * ignores expired grants. Send `project_id` as well as the grant ID.
4419
4485
  * Misses, revoked grants, project-secret setup rows (`sk_proj`), owning-team
4420
4486
  * (`relation=team`) rows and grants of another project all return `404`.
@@ -4428,10 +4494,10 @@ export const getGetGrantUrl = (id: string,
4428
4494
  * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
4429
4495
  * @summary Get a grant by ID
4430
4496
  */
4431
- export const getGrant = async (id: string,
4497
+ export const getGrant = async (grantId: string,
4432
4498
  params: GetGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<GetGrant200> => {
4433
4499
 
4434
- return customFetch<GetGrant200>(getGetGrantUrl(id,params),
4500
+ return customFetch<GetGrant200>(getGetGrantUrl(grantId,params),
4435
4501
  {
4436
4502
  ...options,
4437
4503
  method: 'GET'
@@ -4442,7 +4508,7 @@ export const getGrant = async (id: string,
4442
4508
 
4443
4509
 
4444
4510
 
4445
- export const getDeleteGrantUrl = (id: string,
4511
+ export const getDeleteGrantUrl = (grantId: string,
4446
4512
  params: DeleteGrantParams,) => {
4447
4513
  const normalizedParams = new URLSearchParams();
4448
4514
 
@@ -4455,7 +4521,7 @@ export const getDeleteGrantUrl = (id: string,
4455
4521
 
4456
4522
  const stringifiedParams = normalizedParams.toString();
4457
4523
 
4458
- 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))}`
4459
4525
  }
4460
4526
 
4461
4527
  /**
@@ -4469,10 +4535,10 @@ export const getDeleteGrantUrl = (id: string,
4469
4535
  * (`sessionCookie`). Cookie requests follow that scheme's CSRF rules.
4470
4536
  * @summary Revoke a grant
4471
4537
  */
4472
- export const deleteGrant = async (id: string,
4538
+ export const deleteGrant = async (grantId: string,
4473
4539
  params: DeleteGrantParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
4474
4540
 
4475
- return customFetch<void>(getDeleteGrantUrl(id,params),
4541
+ return customFetch<void>(getDeleteGrantUrl(grantId,params),
4476
4542
  {
4477
4543
  ...options,
4478
4544
  method: 'DELETE'
@@ -4507,8 +4573,8 @@ export const getCreateInvitationUrl = (params: CreateInvitationParams,) => {
4507
4573
  * and `role`, and answers `501` `not_implemented` until team invitations
4508
4574
  * ship. Optional `metadata.name` labels who the link is for. Optional
4509
4575
  * `replaces_invitation_id` replaces that invitation: the new row keeps the
4510
- * original's `journey_id`, and a pending original is deleted in the same
4511
- * transaction.
4576
+ * original's `journey_id`, and the original is deleted in the same
4577
+ * transaction unless it was accepted.
4512
4578
  *
4513
4579
  * The `link` appears only in this response. Share it out of band; whoever
4514
4580
  * opens it and is signed in can redeem the role. It expires in 72 hours.
@@ -4728,7 +4794,7 @@ return customFetch<RejectInvitation200>(getRejectInvitationUrl(),
4728
4794
 
4729
4795
 
4730
4796
 
4731
- export const getGetInvitationUrl = (id: string,
4797
+ export const getGetInvitationUrl = (invitationId: string,
4732
4798
  params: GetInvitationParams,) => {
4733
4799
  const normalizedParams = new URLSearchParams();
4734
4800
 
@@ -4741,7 +4807,7 @@ export const getGetInvitationUrl = (id: string,
4741
4807
 
4742
4808
  const stringifiedParams = normalizedParams.toString();
4743
4809
 
4744
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(id))}`
4810
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}`
4745
4811
  }
4746
4812
 
4747
4813
  /**
@@ -4753,10 +4819,10 @@ export const getGetInvitationUrl = (id: string,
4753
4819
  * `createGrant` (`POST /grants`).
4754
4820
  * @summary Get an invitation
4755
4821
  */
4756
- export const getInvitation = async (id: string,
4822
+ export const getInvitation = async (invitationId: string,
4757
4823
  params: GetInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<GetInvitation200> => {
4758
4824
 
4759
- return customFetch<GetInvitation200>(getGetInvitationUrl(id,params),
4825
+ return customFetch<GetInvitation200>(getGetInvitationUrl(invitationId,params),
4760
4826
  {
4761
4827
  ...options,
4762
4828
  method: 'GET'
@@ -4767,7 +4833,7 @@ export const getInvitation = async (id: string,
4767
4833
 
4768
4834
 
4769
4835
 
4770
- export const getCancelInvitationUrl = (id: string,
4836
+ export const getCancelInvitationUrl = (invitationId: string,
4771
4837
  params: CancelInvitationParams,) => {
4772
4838
  const normalizedParams = new URLSearchParams();
4773
4839
 
@@ -4780,7 +4846,7 @@ export const getCancelInvitationUrl = (id: string,
4780
4846
 
4781
4847
  const stringifiedParams = normalizedParams.toString();
4782
4848
 
4783
- return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(id))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(id))}`
4849
+ return stringifiedParams.length > 0 ? `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}?${stringifiedParams}` : `${getApiBaseUrl()}/invitations/${encodeURIComponent(String(invitationId))}`
4784
4850
  }
4785
4851
 
4786
4852
  /**
@@ -4795,10 +4861,10 @@ export const getCancelInvitationUrl = (id: string,
4795
4861
  * rules.
4796
4862
  * @summary Cancel an invitation
4797
4863
  */
4798
- export const cancelInvitation = async (id: string,
4864
+ export const cancelInvitation = async (invitationId: string,
4799
4865
  params: CancelInvitationParams, options?: Parameters<typeof customFetch>[1]): Promise<void> => {
4800
4866
 
4801
- return customFetch<void>(getCancelInvitationUrl(id,params),
4867
+ return customFetch<void>(getCancelInvitationUrl(invitationId,params),
4802
4868
  {
4803
4869
  ...options,
4804
4870
  method: 'DELETE'
@@ -4845,13 +4911,13 @@ export const getListEventsUrl = (params: ListEventsParams,) => {
4845
4911
  * credential's team. Team-scoped credentials are not issued today.
4846
4912
  *
4847
4913
  * Each item carries an `event_type` that says which type of event it is, and
4848
- * 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}`).
4849
4915
  *
4850
4916
  * Filters combine. These are answered from an index and fill their pages: no
4851
4917
  * filter, `category`, `event_type`, `status_class`, `operation_id` with or
4852
4918
  * without `status_class`, `request_id`, `flow_id`, and `session_id`,
4853
- * `entity_id`, `actor_id` or `entity_type` with or without `category`, each
4854
- * with or without the time bounds. Any other filter or combination is
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
4855
4921
  * matched event by event, over at most a few thousand events per request.
4856
4922
  * Such a page can hold fewer events than `limit`, or none, and still carry
4857
4923
  * `next_page_token`: keep passing the token until a response has none.
@@ -4870,7 +4936,7 @@ export const listEvents = async (params: ListEventsParams, options?: Parameters<
4870
4936
 
4871
4937
 
4872
4938
 
4873
- export const getGetEventUrl = (id: string,
4939
+ export const getGetEventUrl = (eventId: string,
4874
4940
  params: GetEventParams,) => {
4875
4941
  const normalizedParams = new URLSearchParams();
4876
4942
 
@@ -4883,7 +4949,7 @@ export const getGetEventUrl = (id: string,
4883
4949
 
4884
4950
  const stringifiedParams = normalizedParams.toString();
4885
4951
 
4886
- 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))}`
4887
4953
  }
4888
4954
 
4889
4955
  /**
@@ -4899,10 +4965,10 @@ export const getGetEventUrl = (id: string,
4899
4965
  * platform operators read them from the start.
4900
4966
  * @summary Get an event by ID
4901
4967
  */
4902
- export const getEvent = async (id: string,
4968
+ export const getEvent = async (eventId: string,
4903
4969
  params: GetEventParams, options?: Parameters<typeof customFetch>[1]): Promise<GetEvent200> => {
4904
4970
 
4905
- return customFetch<GetEvent200>(getGetEventUrl(id,params),
4971
+ return customFetch<GetEvent200>(getGetEventUrl(eventId,params),
4906
4972
  {
4907
4973
  ...options,
4908
4974
  method: 'GET'
@@ -4913,7 +4979,7 @@ export const getEvent = async (id: string,
4913
4979
 
4914
4980
 
4915
4981
 
4916
- export const getGetVariablesUrl = (params: GetVariablesParams,) => {
4982
+ export const getListVariablesUrl = (params: ListVariablesParams,) => {
4917
4983
  const normalizedParams = new URLSearchParams();
4918
4984
 
4919
4985
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4937,9 +5003,9 @@ export const getGetVariablesUrl = (params: GetVariablesParams,) => {
4937
5003
  * which says a value is held without disclosing it.
4938
5004
  * @summary Get a project's variables
4939
5005
  */
4940
- 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> => {
4941
5007
 
4942
- return customFetch<GetVariables200>(getGetVariablesUrl(params),
5008
+ return customFetch<ListVariables200>(getListVariablesUrl(params),
4943
5009
  {
4944
5010
  ...options,
4945
5011
  method: 'GET'
@@ -4950,7 +5016,7 @@ export const getVariables = async (params: GetVariablesParams, options?: Paramet
4950
5016
 
4951
5017
 
4952
5018
 
4953
- export const getUpdateVariablesUrl = (params: UpdateVariablesParams,) => {
5019
+ export const getSetVariablesUrl = (params: SetVariablesParams,) => {
4954
5020
  const normalizedParams = new URLSearchParams();
4955
5021
 
4956
5022
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -4990,8 +5056,8 @@ export const getUpdateVariablesUrl = (params: UpdateVariablesParams,) => {
4990
5056
  * `variable.removed` event. The value never appears in either.
4991
5057
  * @summary Update a project's variables
4992
5058
  */
4993
- export const updateVariables = async (updateVariablesBody: UpdateVariablesBody,
4994
- 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> => {
4995
5061
 
4996
5062
  const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {
4997
5063
  if (!h) return {};
@@ -5007,12 +5073,12 @@ export const updateVariables = async (updateVariablesBody: UpdateVariablesBody,
5007
5073
  }
5008
5074
  return headers;
5009
5075
  };
5010
- return customFetch<UpdateVariables200>(getUpdateVariablesUrl(params),
5076
+ return customFetch<SetVariables200>(getSetVariablesUrl(params),
5011
5077
  {
5012
5078
  ...options,
5013
5079
  method: 'PATCH',
5014
5080
  headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
5015
- body: JSON.stringify(updateVariablesBody)
5081
+ body: JSON.stringify(setVariablesBody)
5016
5082
  }
5017
5083
  );}
5018
5084
 
@@ -5039,9 +5105,9 @@ export const getGetVariableUrl = (variableName: string,
5039
5105
  * holds a value per kind: `primary` for primary origins and `preview` for
5040
5106
  * preview URLs.
5041
5107
  *
5042
- * 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
5043
5109
  * it. A name with no value for the requested kind answers `var.not_found`;
5044
- * 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}`.
5045
5111
  * @summary Get a variable by name
5046
5112
  */
5047
5113
  export const getVariable = async (variableName: string,
@@ -5080,9 +5146,9 @@ export const getDeleteVariableUrl = (variableName: string,
5080
5146
  * records a `variable.removed` event.
5081
5147
  *
5082
5148
  * A name with no value for that kind answers `var.not_found`: there is
5083
- * 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
5084
5150
  * remove several names in one request, or to remove a name that may already
5085
- * be absent, send `null` for each name to `updateVariables` (`PATCH /variables`).
5151
+ * be absent, send `null` for each name to `setVariables` (`PATCH /variables`).
5086
5152
  * @summary Delete a variable by name
5087
5153
  */
5088
5154
  export const deleteVariable = async (variableName: string,
@@ -5156,7 +5222,7 @@ export const getCreateDeploymentUrl = (params: CreateDeploymentParams,) => {
5156
5222
  * the request.
5157
5223
  * - `400 dep.variables_missing`: a variable the release references has no
5158
5224
  * value for the kind. `details` names the kind and every missing variable.
5159
- * 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.
5160
5226
  * - `403 proj.origin_not_allowed`: a preview URL matches no preview pattern
5161
5227
  * of the project, or is a loopback URL. Use a URL that matches a pattern.
5162
5228
  * - `404 rel.not_found`: the release ID or digest names no release in this
@@ -5227,7 +5293,8 @@ export const getListDeploymentsUrl = (params: ListDeploymentsParams,) => {
5227
5293
  * A deployment makes a release live on origins. By default the list is the
5228
5294
  * history, newest first: every deployment of the project, with every target
5229
5295
  * it made the release live on. With `origin`, it is the history of that
5230
- * origin alone.
5296
+ * origin alone. With `release_id`, it is every deployment of that release,
5297
+ * superseded ones included.
5231
5298
  *
5232
5299
  * With `live=true`, the list is what is served now, newest first. It holds
5233
5300
  * the project's newest primary deployment with every origin it names, an
@@ -5236,9 +5303,12 @@ export const getListDeploymentsUrl = (params: ListDeploymentsParams,) => {
5236
5303
  * deployment to each live preview URL, narrowed to the URLs it still
5237
5304
  * serves. Combined with `origin`, it is the one deployment that origin
5238
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.
5239
5309
  *
5240
- * The `id` of an entry is the deployment ID that `getDeploymentById` (`GET /deployments/{deployment_id}`),
5241
- * `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.
5242
5312
  *
5243
5313
  * `expand: ["release"]` embeds the release each deployment made live. It
5244
5314
  * requires `release.read` and does not change the ordering or the page
@@ -5258,8 +5328,8 @@ export const listDeployments = async (params: ListDeploymentsParams, options?: P
5258
5328
 
5259
5329
 
5260
5330
 
5261
- export const getGetDeploymentByIdUrl = (deploymentId: string,
5262
- params: GetDeploymentByIdParams,) => {
5331
+ export const getGetDeploymentUrl = (deploymentId: string,
5332
+ params: GetDeploymentParams,) => {
5263
5333
  const normalizedParams = new URLSearchParams();
5264
5334
 
5265
5335
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -5287,10 +5357,10 @@ export const getGetDeploymentByIdUrl = (deploymentId: string,
5287
5357
  * the caller cannot read.
5288
5358
  * @summary Get a deployment by ID
5289
5359
  */
5290
- export const getDeploymentById = async (deploymentId: string,
5291
- 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> => {
5292
5362
 
5293
- return customFetch<GetDeploymentById200>(getGetDeploymentByIdUrl(deploymentId,params),
5363
+ return customFetch<GetDeployment200>(getGetDeploymentUrl(deploymentId,params),
5294
5364
  {
5295
5365
  ...options,
5296
5366
  method: 'GET'
@@ -5387,8 +5457,8 @@ return customFetch<RollbackDeployment200 | RollbackDeployment201>(getRollbackDep
5387
5457
 
5388
5458
 
5389
5459
 
5390
- export const getGetDeploymentVariablesUrl = (deploymentId: string,
5391
- params: GetDeploymentVariablesParams,) => {
5460
+ export const getListDeploymentVariablesUrl = (deploymentId: string,
5461
+ params: ListDeploymentVariablesParams,) => {
5392
5462
  const normalizedParams = new URLSearchParams();
5393
5463
 
5394
5464
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -5411,10 +5481,10 @@ export const getGetDeploymentVariablesUrl = (deploymentId: string,
5411
5481
  * Pass the `id` that `createDeployment` (`POST /deployments`) or `listDeployments` (`GET /deployments`) returns.
5412
5482
  * @summary Get a deployment's variables
5413
5483
  */
5414
- export const getDeploymentVariables = async (deploymentId: string,
5415
- 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> => {
5416
5486
 
5417
- return customFetch<GetDeploymentVariables200>(getGetDeploymentVariablesUrl(deploymentId,params),
5487
+ return customFetch<ListDeploymentVariables200>(getListDeploymentVariablesUrl(deploymentId,params),
5418
5488
  {
5419
5489
  ...options,
5420
5490
  method: 'GET'