@zitadel/api 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (731) hide show
  1. package/README.md +17 -3
  2. package/dist/api-factory-32Zz3s86.mjs +359 -0
  3. package/dist/api-factory-32Zz3s86.mjs.map +1 -0
  4. package/dist/api-factory-DbVEEqxe.d.mts +217 -0
  5. package/dist/api-factory-DbVEEqxe.d.mts.map +1 -0
  6. package/dist/{fetch-CtYe0OvX.d.mts → fetch-BzLvdm6C.d.mts} +35 -12
  7. package/dist/fetch-BzLvdm6C.d.mts.map +1 -0
  8. package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.mjs +1099 -733
  10. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
  12. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +9 -9
  13. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1029 -657
  15. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +4801 -4433
  17. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  18. package/dist/generated/model/index.d.mts +2 -2
  19. package/dist/generated/model/index.mjs.map +1 -1
  20. package/dist/generated/operations.d.mts +9 -0
  21. package/dist/generated/operations.d.mts.map +1 -1
  22. package/dist/generated/operations.mjs +267 -154
  23. package/dist/generated/operations.mjs.map +1 -1
  24. package/dist/{index-DAm3tCA7.d.mts → index-BX80Kl-8.d.mts} +9183 -7757
  25. package/dist/index-BX80Kl-8.d.mts.map +1 -0
  26. package/dist/runtime/api-factory.d.mts +2 -51
  27. package/dist/runtime/api-factory.mjs +3 -62
  28. package/dist/runtime/auth.mjs +1 -1
  29. package/dist/runtime/auth.mjs.map +1 -1
  30. package/dist/runtime/base-url.d.mts +14 -0
  31. package/dist/runtime/base-url.d.mts.map +1 -1
  32. package/dist/runtime/base-url.mjs +22 -1
  33. package/dist/runtime/base-url.mjs.map +1 -1
  34. package/dist/runtime/config.d.mts +1 -1
  35. package/dist/runtime/config.mjs +1 -1
  36. package/dist/runtime/fetch.d.mts +2 -2
  37. package/dist/runtime/fetch.mjs +42 -17
  38. package/dist/runtime/fetch.mjs.map +1 -1
  39. package/dist/runtime/paging.d.mts +118 -0
  40. package/dist/runtime/paging.d.mts.map +1 -0
  41. package/dist/runtime/paging.mjs +138 -0
  42. package/dist/runtime/paging.mjs.map +1 -0
  43. package/dist/zitadelNextGen-CFrFhq_h.d.mts +1726 -0
  44. package/dist/zitadelNextGen-CFrFhq_h.d.mts.map +1 -0
  45. package/package.json +8 -3
  46. package/src/generated/endpoints/zitadelNextGen.faker.ts +3 -3
  47. package/src/generated/endpoints/zitadelNextGen.ts +1112 -746
  48. package/src/generated/endpoints/zitadelNextGen.zod.ts +4816 -4440
  49. package/src/generated/model/addOrigin201.ts +5 -0
  50. package/src/generated/model/addOrigin201Kind.ts +3 -0
  51. package/src/generated/model/addOriginBody.ts +17 -5
  52. package/src/generated/model/addOriginBodyKind.ts +4 -0
  53. package/src/generated/model/beginUserPasskeyRegistration201.ts +3 -3
  54. package/src/generated/model/beginUserPasskeyRegistrationBody.ts +6 -6
  55. package/src/generated/model/buildRelease200.ts +15 -15
  56. package/src/generated/model/buildRelease200Metadata.ts +8 -8
  57. package/src/generated/model/buildRelease200PointersItem.ts +13 -12
  58. package/src/generated/model/buildRelease200PointersItemKind.ts +3 -3
  59. package/src/generated/model/buildRelease201.ts +15 -15
  60. package/src/generated/model/buildRelease201Metadata.ts +8 -8
  61. package/src/generated/model/buildRelease201PointersItem.ts +13 -12
  62. package/src/generated/model/buildRelease201PointersItemKind.ts +3 -3
  63. package/src/generated/model/buildRelease400.ts +1 -3
  64. package/src/generated/model/buildRelease400DetailsResourcesItem.ts +3 -3
  65. package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +3 -3
  66. package/src/generated/model/buildReleaseBody.ts +19 -16
  67. package/src/generated/model/buildReleaseBodyBundle.ts +31 -28
  68. package/src/generated/model/buildReleaseBodyBundleBranding.ts +24 -22
  69. package/src/generated/model/buildReleaseBodyBundleBrandingLayout.ts +8 -7
  70. package/src/generated/model/buildReleaseBodyBundleBrandingShape.ts +1 -1
  71. package/src/generated/model/buildReleaseBodyBundleBrandingTheme.ts +5 -7
  72. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDark.ts +7 -7
  73. package/src/generated/model/buildReleaseBodyBundleBrandingThemeDarkPalette.ts +63 -62
  74. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLight.ts +7 -7
  75. package/src/generated/model/buildReleaseBodyBundleBrandingThemeLightPalette.ts +63 -62
  76. package/src/generated/model/buildReleaseBodyBundleBrandingTypography.ts +4 -4
  77. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItem.ts +47 -26
  78. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemAudience.ts +1 -1
  79. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStatus.ts +2 -2
  80. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItem.ts +46 -28
  81. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItem.ts +9 -7
  82. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemActionsItemKind.ts +2 -2
  83. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGates.ts +11 -10
  84. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesConfig.ts +1 -1
  85. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemGatesKind.ts +4 -3
  86. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitions.ts +40 -20
  87. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsAction.ts +8 -5
  88. package/src/generated/model/buildReleaseBodyBundleFlowDefinitionsItemStepsItemTransitionsPurpose.ts +7 -8
  89. package/src/generated/model/buildReleaseBodyBundleIdpsItem.ts +7 -7
  90. package/src/generated/model/buildReleaseBodyBundleIdpsItemClaimMapping.ts +1 -1
  91. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidc.ts +7 -7
  92. package/src/generated/model/buildReleaseBodyBundleIdpsItemOidcStaticAuthorizeParameters.ts +1 -1
  93. package/src/generated/model/buildReleaseBodyBundleIdpsItemProvisioning.ts +1 -1
  94. package/src/generated/model/buildReleaseBodyBundleIdpsItemVerifiedClaims.ts +1 -1
  95. package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +3 -3
  96. package/src/generated/model/buildReleaseBodyBundleSchemasItem.ts +23 -22
  97. package/src/generated/model/buildReleaseParams.ts +3 -1
  98. package/src/generated/model/completeClaim409.ts +2 -2
  99. package/src/generated/model/completeClaimBody.ts +1 -1
  100. package/src/generated/model/createAuthAttempt201.ts +23 -22
  101. package/src/generated/model/createAuthAttempt201ChallengesItem.ts +9 -7
  102. package/src/generated/model/createAuthAttempt201ChallengesItemState.ts +1 -1
  103. package/src/generated/model/createAuthAttempt201CompletedFactorsItem.ts +2 -2
  104. package/src/generated/model/createAuthAttempt201CompletedFactorsItemPayload.ts +5 -5
  105. package/src/generated/model/createAuthAttempt201State.ts +2 -2
  106. package/src/generated/model/createAuthAttemptBody.ts +3 -3
  107. package/src/generated/model/createAuthAttemptDefault.ts +63 -0
  108. package/src/generated/model/createBranding201.ts +10 -10
  109. package/src/generated/model/createBranding201Branding.ts +24 -22
  110. package/src/generated/model/createBranding201BrandingLayout.ts +8 -7
  111. package/src/generated/model/createBranding201BrandingShape.ts +1 -1
  112. package/src/generated/model/createBranding201BrandingTheme.ts +5 -7
  113. package/src/generated/model/createBranding201BrandingThemeDark.ts +7 -7
  114. package/src/generated/model/createBranding201BrandingThemeDarkPalette.ts +63 -62
  115. package/src/generated/model/createBranding201BrandingThemeLight.ts +7 -7
  116. package/src/generated/model/createBranding201BrandingThemeLightPalette.ts +63 -62
  117. package/src/generated/model/createBranding201BrandingTypography.ts +4 -4
  118. package/src/generated/model/createBrandingBody.ts +24 -22
  119. package/src/generated/model/createBrandingBodyLayout.ts +8 -7
  120. package/src/generated/model/createBrandingBodyShape.ts +1 -1
  121. package/src/generated/model/createBrandingBodyTheme.ts +5 -7
  122. package/src/generated/model/createBrandingBodyThemeDark.ts +7 -7
  123. package/src/generated/model/createBrandingBodyThemeDarkPalette.ts +63 -62
  124. package/src/generated/model/createBrandingBodyThemeLight.ts +7 -7
  125. package/src/generated/model/createBrandingBodyThemeLightPalette.ts +63 -62
  126. package/src/generated/model/createBrandingBodyTypography.ts +4 -4
  127. package/src/generated/model/createBrandingParams.ts +3 -1
  128. package/src/generated/model/createDeployment200.ts +16 -14
  129. package/src/generated/model/createDeployment200Metadata.ts +1 -1
  130. package/src/generated/model/createDeployment200Release.ts +15 -15
  131. package/src/generated/model/createDeployment200ReleaseMetadata.ts +8 -8
  132. package/src/generated/model/createDeployment200ReleasePointersItem.ts +13 -12
  133. package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +3 -3
  134. package/src/generated/model/createDeployment200Status.ts +3 -3
  135. package/src/generated/model/createDeployment201.ts +16 -14
  136. package/src/generated/model/createDeployment201Metadata.ts +1 -1
  137. package/src/generated/model/createDeployment201Release.ts +15 -15
  138. package/src/generated/model/createDeployment201ReleaseMetadata.ts +8 -8
  139. package/src/generated/model/createDeployment201ReleasePointersItem.ts +13 -12
  140. package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +3 -3
  141. package/src/generated/model/createDeployment201Status.ts +3 -3
  142. package/src/generated/model/createDeployment409.ts +41 -40
  143. package/src/generated/model/createDeploymentBody.ts +4 -10
  144. package/src/generated/model/createDeploymentParams.ts +3 -1
  145. package/src/generated/model/createFlow201.ts +16 -12
  146. package/src/generated/model/createFlow201Branding.ts +24 -22
  147. package/src/generated/model/createFlow201BrandingLayout.ts +8 -7
  148. package/src/generated/model/createFlow201BrandingShape.ts +1 -1
  149. package/src/generated/model/createFlow201BrandingTheme.ts +5 -7
  150. package/src/generated/model/createFlow201BrandingThemeDark.ts +7 -7
  151. package/src/generated/model/createFlow201BrandingThemeDarkPalette.ts +63 -62
  152. package/src/generated/model/createFlow201BrandingThemeLight.ts +7 -7
  153. package/src/generated/model/createFlow201BrandingThemeLightPalette.ts +63 -62
  154. package/src/generated/model/createFlow201BrandingTypography.ts +4 -4
  155. package/src/generated/model/createFlow201Step.ts +36 -31
  156. package/src/generated/model/createFlow201StepActionsItem.ts +3 -3
  157. package/src/generated/model/createFlow201StepActionsItemKind.ts +1 -1
  158. package/src/generated/model/createFlow201StepChallenge.ts +4 -3
  159. package/src/generated/model/createFlow201StepComplete.ts +1 -1
  160. package/src/generated/model/createFlow201StepFieldsItem.ts +14 -13
  161. package/src/generated/model/createFlow201StepFieldsItemType.ts +1 -1
  162. package/src/generated/model/createFlow201StepFieldsItemValidation.ts +2 -2
  163. package/src/generated/model/createFlow201StepFieldsItemValidationFormat.ts +1 -1
  164. package/src/generated/model/createFlow201StepGates.ts +10 -8
  165. package/src/generated/model/createFlow201StepGatesConfig.ts +1 -1
  166. package/src/generated/model/createFlow201StepGatesKind.ts +4 -3
  167. package/src/generated/model/createFlow201StepIdentifier.ts +6 -6
  168. package/src/generated/model/createFlow201StepSsoProvidersItem.ts +1 -1
  169. package/src/generated/model/createFlow201StepTexts.ts +1 -1
  170. package/src/generated/model/createFlowBody.ts +7 -2
  171. package/src/generated/model/createFlowBodyHint.ts +4 -1
  172. package/src/generated/model/createFlowBodyPurpose.ts +3 -0
  173. package/src/generated/model/createFlowDefault.ts +9 -0
  174. package/src/generated/model/createFlowDefinition201.ts +22 -10
  175. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +47 -26
  176. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +1 -1
  177. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +2 -2
  178. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +46 -28
  179. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +9 -7
  180. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  181. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +11 -10
  182. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +1 -1
  183. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +4 -3
  184. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +40 -20
  185. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  186. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  187. package/src/generated/model/createFlowDefinition201UserSchema.ts +2 -2
  188. package/src/generated/model/createFlowDefinition201UserSchemaMetadata.ts +2 -1
  189. package/src/generated/model/createFlowDefinition201UserSchemaSchema.ts +21 -20
  190. package/src/generated/model/createFlowDefinitionBody.ts +22 -12
  191. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +47 -26
  192. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.ts +1 -1
  193. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +2 -2
  194. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +46 -28
  195. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +9 -7
  196. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  197. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.ts +11 -10
  198. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts +1 -1
  199. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts +4 -3
  200. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +40 -20
  201. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  202. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  203. package/src/generated/model/createGrant201.ts +14 -14
  204. package/src/generated/model/createGrant201ObjectType.ts +1 -1
  205. package/src/generated/model/createGrant201Relation.ts +1 -1
  206. package/src/generated/model/createGrant201Team.ts +7 -7
  207. package/src/generated/model/createGrant201TeamStatus.ts +2 -2
  208. package/src/generated/model/createGrant201User.ts +5 -5
  209. package/src/generated/model/createGrant201UserMetadata.ts +10 -11
  210. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeam.ts +11 -12
  211. package/src/generated/model/createGrant201UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  212. package/src/generated/model/createGrantBody.ts +12 -12
  213. package/src/generated/model/createGrantBodyRelation.ts +1 -1
  214. package/src/generated/model/createGrantBodyTeam.ts +3 -3
  215. package/src/generated/model/createGrantBodyUser.ts +5 -5
  216. package/src/generated/model/createGrantDefault.ts +9 -0
  217. package/src/generated/model/createGrantParams.ts +3 -1
  218. package/src/generated/model/createHandoff200.ts +9 -10
  219. package/src/generated/model/createIdp200.ts +10 -9
  220. package/src/generated/model/createIdp200Definition.ts +7 -7
  221. package/src/generated/model/createIdp200DefinitionClaimMapping.ts +1 -1
  222. package/src/generated/model/createIdp200DefinitionOidc.ts +7 -7
  223. package/src/generated/model/createIdp200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  224. package/src/generated/model/createIdp200DefinitionProvisioning.ts +1 -1
  225. package/src/generated/model/createIdp200DefinitionVerifiedClaims.ts +1 -1
  226. package/src/generated/model/createIdp201.ts +10 -9
  227. package/src/generated/model/createIdp201Definition.ts +7 -7
  228. package/src/generated/model/createIdp201DefinitionClaimMapping.ts +1 -1
  229. package/src/generated/model/createIdp201DefinitionOidc.ts +7 -7
  230. package/src/generated/model/createIdp201DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  231. package/src/generated/model/createIdp201DefinitionProvisioning.ts +1 -1
  232. package/src/generated/model/createIdp201DefinitionVerifiedClaims.ts +1 -1
  233. package/src/generated/model/createIdpBody.ts +1 -1
  234. package/src/generated/model/createIdpBodyIdp.ts +7 -7
  235. package/src/generated/model/createIdpBodyIdpClaimMapping.ts +1 -1
  236. package/src/generated/model/createIdpBodyIdpOidc.ts +7 -7
  237. package/src/generated/model/createIdpBodyIdpOidcStaticAuthorizeParameters.ts +1 -1
  238. package/src/generated/model/createIdpBodyIdpProvisioning.ts +1 -1
  239. package/src/generated/model/createIdpBodyIdpVerifiedClaims.ts +1 -1
  240. package/src/generated/model/createIdpParams.ts +3 -1
  241. package/src/generated/model/createProject201.ts +10 -5
  242. package/src/generated/model/createProject201OriginsItem.ts +17 -5
  243. package/src/generated/model/createProject201OriginsItemKind.ts +4 -0
  244. package/src/generated/model/createProjectBody.ts +5 -6
  245. package/src/generated/model/createProjectBodyOriginsItem.ts +17 -5
  246. package/src/generated/model/createProjectBodyOriginsItemKind.ts +4 -0
  247. package/src/generated/model/createRelease200.ts +15 -15
  248. package/src/generated/model/createRelease200Metadata.ts +8 -8
  249. package/src/generated/model/createRelease200PointersItem.ts +13 -12
  250. package/src/generated/model/createRelease200PointersItemKind.ts +3 -3
  251. package/src/generated/model/createRelease201.ts +15 -15
  252. package/src/generated/model/createRelease201Metadata.ts +8 -8
  253. package/src/generated/model/createRelease201PointersItem.ts +13 -12
  254. package/src/generated/model/createRelease201PointersItemKind.ts +3 -3
  255. package/src/generated/model/createReleaseBody.ts +7 -11
  256. package/src/generated/model/createReleaseBodyPointersItem.ts +8 -8
  257. package/src/generated/model/createReleaseBodyPointersItemKind.ts +3 -3
  258. package/src/generated/model/createReleaseParams.ts +3 -1
  259. package/src/generated/model/createSchema201.ts +1 -1
  260. package/src/generated/model/createSchemaBody.ts +23 -22
  261. package/src/generated/model/createSchemaParams.ts +4 -2
  262. package/src/generated/model/createSession201.ts +8 -8
  263. package/src/generated/model/createSession201Session.ts +16 -16
  264. package/src/generated/model/createSession201SessionFactorsItem.ts +2 -2
  265. package/src/generated/model/createSession201SessionFactorsItemPayload.ts +5 -5
  266. package/src/generated/model/createSession201SessionState.ts +1 -1
  267. package/src/generated/model/createSession201SessionUser.ts +5 -5
  268. package/src/generated/model/createSessionBody.ts +1 -1
  269. package/src/generated/model/createTeam201.ts +2 -2
  270. package/src/generated/model/createTeam201Status.ts +2 -2
  271. package/src/generated/model/createTeamBody.ts +1 -1
  272. package/src/generated/model/createTeamParams.ts +3 -1
  273. package/src/generated/model/createUser201.ts +28 -29
  274. package/src/generated/model/createUser201Metadata.ts +10 -11
  275. package/src/generated/model/createUser201MetadataLifecycleOwnerTeam.ts +11 -12
  276. package/src/generated/model/createUser201MetadataLifecycleOwnerTeamStatus.ts +2 -2
  277. package/src/generated/model/createUser201TeamsItem.ts +4 -4
  278. package/src/generated/model/createUserBody.ts +9 -8
  279. package/src/generated/model/createUserParams.ts +4 -2
  280. package/src/generated/model/deleteGrantParams.ts +3 -1
  281. package/src/generated/model/deleteUserByID409.ts +20 -0
  282. package/src/generated/model/deleteUserByID409Details.ts +12 -0
  283. package/src/generated/model/deleteUserByIDDefault.ts +9 -0
  284. package/src/generated/model/deleteVariableParams.ts +3 -1
  285. package/src/generated/model/evaluatePolicy200.ts +5 -4
  286. package/src/generated/model/evaluatePolicy200Violations.ts +4 -3
  287. package/src/generated/model/evaluatePolicyBody.ts +8 -9
  288. package/src/generated/model/evaluatePolicyParams.ts +3 -1
  289. package/src/generated/model/exchangeHandoff200.ts +8 -8
  290. package/src/generated/model/exchangeHandoff200Session.ts +16 -16
  291. package/src/generated/model/exchangeHandoff200SessionFactorsItem.ts +2 -2
  292. package/src/generated/model/exchangeHandoff200SessionFactorsItemPayload.ts +5 -5
  293. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
  294. package/src/generated/model/exchangeHandoff200SessionUser.ts +5 -5
  295. package/src/generated/model/exchangeHandoffBody.ts +7 -5
  296. package/src/generated/model/exchangeHandoffParams.ts +3 -1
  297. package/src/generated/model/finishUserPasskeyRegistrationBody.ts +1 -1
  298. package/src/generated/model/getAuthAttempt200.ts +23 -22
  299. package/src/generated/model/getAuthAttempt200ChallengesItem.ts +9 -7
  300. package/src/generated/model/getAuthAttempt200ChallengesItemState.ts +1 -1
  301. package/src/generated/model/getAuthAttempt200CompletedFactorsItem.ts +2 -2
  302. package/src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.ts +5 -5
  303. package/src/generated/model/getAuthAttempt200State.ts +2 -2
  304. package/src/generated/model/getBrandingById200.ts +10 -10
  305. package/src/generated/model/getBrandingById200Branding.ts +24 -22
  306. package/src/generated/model/getBrandingById200BrandingLayout.ts +8 -7
  307. package/src/generated/model/getBrandingById200BrandingShape.ts +1 -1
  308. package/src/generated/model/getBrandingById200BrandingTheme.ts +5 -7
  309. package/src/generated/model/getBrandingById200BrandingThemeDark.ts +7 -7
  310. package/src/generated/model/getBrandingById200BrandingThemeDarkPalette.ts +63 -62
  311. package/src/generated/model/getBrandingById200BrandingThemeLight.ts +7 -7
  312. package/src/generated/model/getBrandingById200BrandingThemeLightPalette.ts +63 -62
  313. package/src/generated/model/getBrandingById200BrandingTypography.ts +4 -4
  314. package/src/generated/model/getClaimStatus200.ts +4 -5
  315. package/src/generated/model/getClaimStatusParams.ts +1 -1
  316. package/src/generated/model/getClaimWindow200.ts +6 -6
  317. package/src/generated/model/getClaimWindowParams.ts +1 -1
  318. package/src/generated/model/getDeploymentById200.ts +16 -14
  319. package/src/generated/model/getDeploymentById200Metadata.ts +1 -1
  320. package/src/generated/model/getDeploymentById200Release.ts +15 -15
  321. package/src/generated/model/getDeploymentById200ReleaseMetadata.ts +8 -8
  322. package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +13 -12
  323. package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +3 -3
  324. package/src/generated/model/getDeploymentById200Status.ts +3 -3
  325. package/src/generated/model/getDeploymentByIdParams.ts +3 -1
  326. package/src/generated/model/getDeploymentVariablesParams.ts +3 -1
  327. package/src/generated/model/getEvent200.ts +1574 -1323
  328. package/src/generated/model/getEventParams.ts +3 -1
  329. package/src/generated/model/getFlowDefinition200.ts +22 -10
  330. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +47 -26
  331. package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +1 -1
  332. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +2 -2
  333. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +46 -28
  334. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +9 -7
  335. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +2 -2
  336. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +11 -10
  337. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +1 -1
  338. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +4 -3
  339. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +40 -20
  340. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsAction.ts +8 -5
  341. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  342. package/src/generated/model/getFlowDefinition200UserSchema.ts +2 -2
  343. package/src/generated/model/getFlowDefinition200UserSchemaMetadata.ts +2 -1
  344. package/src/generated/model/getFlowDefinition200UserSchemaSchema.ts +21 -20
  345. package/src/generated/model/getFlowStep200.ts +16 -12
  346. package/src/generated/model/getFlowStep200Branding.ts +24 -22
  347. package/src/generated/model/getFlowStep200BrandingLayout.ts +8 -7
  348. package/src/generated/model/getFlowStep200BrandingShape.ts +1 -1
  349. package/src/generated/model/getFlowStep200BrandingTheme.ts +5 -7
  350. package/src/generated/model/getFlowStep200BrandingThemeDark.ts +7 -7
  351. package/src/generated/model/getFlowStep200BrandingThemeDarkPalette.ts +63 -62
  352. package/src/generated/model/getFlowStep200BrandingThemeLight.ts +7 -7
  353. package/src/generated/model/getFlowStep200BrandingThemeLightPalette.ts +63 -62
  354. package/src/generated/model/getFlowStep200BrandingTypography.ts +4 -4
  355. package/src/generated/model/getFlowStep200Step.ts +36 -31
  356. package/src/generated/model/getFlowStep200StepActionsItem.ts +3 -3
  357. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +1 -1
  358. package/src/generated/model/getFlowStep200StepChallenge.ts +4 -3
  359. package/src/generated/model/getFlowStep200StepComplete.ts +1 -1
  360. package/src/generated/model/getFlowStep200StepFieldsItem.ts +14 -13
  361. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +1 -1
  362. package/src/generated/model/getFlowStep200StepFieldsItemValidation.ts +2 -2
  363. package/src/generated/model/getFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  364. package/src/generated/model/getFlowStep200StepGates.ts +10 -8
  365. package/src/generated/model/getFlowStep200StepGatesConfig.ts +1 -1
  366. package/src/generated/model/getFlowStep200StepGatesKind.ts +4 -3
  367. package/src/generated/model/getFlowStep200StepIdentifier.ts +6 -6
  368. package/src/generated/model/getFlowStep200StepSsoProvidersItem.ts +1 -1
  369. package/src/generated/model/getFlowStep200StepTexts.ts +1 -1
  370. package/src/generated/model/getFlowStepDefault.ts +27 -0
  371. package/src/generated/model/getGrant200.ts +14 -14
  372. package/src/generated/model/getGrant200ObjectType.ts +1 -1
  373. package/src/generated/model/getGrant200Relation.ts +1 -1
  374. package/src/generated/model/getGrant200Team.ts +7 -7
  375. package/src/generated/model/getGrant200TeamStatus.ts +2 -2
  376. package/src/generated/model/getGrant200User.ts +5 -5
  377. package/src/generated/model/getGrant200UserMetadata.ts +10 -11
  378. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeam.ts +11 -12
  379. package/src/generated/model/getGrant200UserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  380. package/src/generated/model/getGrantDefault.ts +0 -9
  381. package/src/generated/model/getGrantExpandItem.ts +8 -5
  382. package/src/generated/model/getGrantParams.ts +6 -3
  383. package/src/generated/model/getIdpById200.ts +10 -9
  384. package/src/generated/model/getIdpById200Definition.ts +7 -7
  385. package/src/generated/model/getIdpById200DefinitionClaimMapping.ts +1 -1
  386. package/src/generated/model/getIdpById200DefinitionOidc.ts +7 -7
  387. package/src/generated/model/getIdpById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  388. package/src/generated/model/getIdpById200DefinitionProvisioning.ts +1 -1
  389. package/src/generated/model/getIdpById200DefinitionVerifiedClaims.ts +1 -1
  390. package/src/generated/model/getIdpByIdParams.ts +3 -1
  391. package/src/generated/model/getIdpRevisionById200.ts +10 -9
  392. package/src/generated/model/getIdpRevisionById200Definition.ts +7 -7
  393. package/src/generated/model/getIdpRevisionById200DefinitionClaimMapping.ts +1 -1
  394. package/src/generated/model/getIdpRevisionById200DefinitionOidc.ts +7 -7
  395. package/src/generated/model/getIdpRevisionById200DefinitionOidcStaticAuthorizeParameters.ts +1 -1
  396. package/src/generated/model/getIdpRevisionById200DefinitionProvisioning.ts +1 -1
  397. package/src/generated/model/getIdpRevisionById200DefinitionVerifiedClaims.ts +1 -1
  398. package/src/generated/model/getIdpRevisionByIdParams.ts +3 -1
  399. package/src/generated/model/getMyPasswordState200.ts +2 -2
  400. package/src/generated/model/getMySession200.ts +16 -16
  401. package/src/generated/model/getMySession200FactorsItem.ts +2 -2
  402. package/src/generated/model/getMySession200FactorsItemPayload.ts +5 -5
  403. package/src/generated/model/getMySession200State.ts +1 -1
  404. package/src/generated/model/getMySession200User.ts +5 -5
  405. package/src/generated/model/getMySessionCsrfToken200.ts +1 -1
  406. package/src/generated/model/getMyUser200.ts +28 -29
  407. package/src/generated/model/getMyUser200Metadata.ts +10 -11
  408. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  409. package/src/generated/model/getMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  410. package/src/generated/model/getMyUser200TeamsItem.ts +4 -4
  411. package/src/generated/model/getMyUserSchema200.ts +4 -4
  412. package/src/generated/model/getMyUserSchema200Metadata.ts +2 -1
  413. package/src/generated/model/getMyUserSchema200Schema.ts +21 -20
  414. package/src/generated/model/getPolicy200.ts +3 -3
  415. package/src/generated/model/getPolicyParams.ts +3 -1
  416. package/src/generated/model/getPolicyRevision200.ts +3 -3
  417. package/src/generated/model/getPolicyRevisionParams.ts +3 -1
  418. package/src/generated/model/getProject200.ts +34 -30
  419. package/src/generated/model/getReleaseById200.ts +15 -15
  420. package/src/generated/model/getReleaseById200Metadata.ts +8 -8
  421. package/src/generated/model/getReleaseById200PointersItem.ts +13 -12
  422. package/src/generated/model/getReleaseById200PointersItemKind.ts +3 -3
  423. package/src/generated/model/getReleaseByIdParams.ts +3 -1
  424. package/src/generated/model/getSchemaById200.ts +4 -4
  425. package/src/generated/model/getSchemaById200Metadata.ts +2 -1
  426. package/src/generated/model/getSchemaById200Schema.ts +21 -20
  427. package/src/generated/model/getSchemaByIdParams.ts +3 -3
  428. package/src/generated/model/getSession200.ts +16 -16
  429. package/src/generated/model/getSession200FactorsItem.ts +2 -2
  430. package/src/generated/model/getSession200FactorsItemPayload.ts +5 -5
  431. package/src/generated/model/getSession200State.ts +1 -1
  432. package/src/generated/model/getSession200User.ts +5 -5
  433. package/src/generated/model/getTeam200.ts +2 -2
  434. package/src/generated/model/getTeam200Status.ts +2 -2
  435. package/src/generated/model/getUserByID200.ts +28 -29
  436. package/src/generated/model/getUserByID200Metadata.ts +10 -11
  437. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  438. package/src/generated/model/getUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  439. package/src/generated/model/getUserByID200TeamsItem.ts +4 -4
  440. package/src/generated/model/getUserByIDParams.ts +4 -3
  441. package/src/generated/model/getUserPasswordState200.ts +2 -2
  442. package/src/generated/model/getVariable200.ts +4 -4
  443. package/src/generated/model/getVariable200Preview.ts +2 -2
  444. package/src/generated/model/getVariable200Primary.ts +2 -2
  445. package/src/generated/model/getVariableParams.ts +3 -1
  446. package/src/generated/model/getVariables200.ts +4 -4
  447. package/src/generated/model/getVariables200Preview.ts +2 -2
  448. package/src/generated/model/getVariables200Primary.ts +2 -2
  449. package/src/generated/model/getVariablesParams.ts +3 -1
  450. package/src/generated/model/index.ts +2 -0
  451. package/src/generated/model/initClaim201.ts +3 -3
  452. package/src/generated/model/initClaim409.ts +2 -2
  453. package/src/generated/model/issueChallenge201.ts +9 -7
  454. package/src/generated/model/issueChallenge201State.ts +1 -1
  455. package/src/generated/model/issueChallengeBody.ts +2 -2
  456. package/src/generated/model/listBrandingParams.ts +3 -1
  457. package/src/generated/model/listDeployments200DeploymentsItem.ts +16 -14
  458. package/src/generated/model/listDeployments200DeploymentsItemMetadata.ts +1 -1
  459. package/src/generated/model/listDeployments200DeploymentsItemRelease.ts +15 -15
  460. package/src/generated/model/listDeployments200DeploymentsItemReleaseMetadata.ts +8 -8
  461. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +13 -12
  462. package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +3 -3
  463. package/src/generated/model/listDeployments200DeploymentsItemStatus.ts +3 -3
  464. package/src/generated/model/listDeploymentsExpandItem.ts +4 -4
  465. package/src/generated/model/listDeploymentsParams.ts +3 -1
  466. package/src/generated/model/listEvents200.ts +1 -1
  467. package/src/generated/model/listEvents200DataItem.ts +1574 -1323
  468. package/src/generated/model/listEventsParams.ts +34 -6
  469. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +22 -10
  470. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinition.ts +47 -26
  471. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionAudience.ts +1 -1
  472. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStatus.ts +2 -2
  473. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItem.ts +46 -28
  474. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItem.ts +9 -7
  475. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemActionsItemKind.ts +2 -2
  476. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGates.ts +11 -10
  477. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesConfig.ts +1 -1
  478. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemGatesKind.ts +4 -3
  479. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitions.ts +40 -20
  480. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsAction.ts +8 -5
  481. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemFlowDefinitionStepsItemTransitionsPurpose.ts +7 -8
  482. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchema.ts +2 -2
  483. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaMetadata.ts +2 -1
  484. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemUserSchemaSchema.ts +21 -20
  485. package/src/generated/model/listFlowDefinitionsExpandItem.ts +2 -2
  486. package/src/generated/model/listFlowDefinitionsParams.ts +8 -6
  487. package/src/generated/model/listIdpRevisions200.ts +1 -2
  488. package/src/generated/model/listIdpRevisions200RevisionsItem.ts +10 -9
  489. package/src/generated/model/listIdpRevisions200RevisionsItemDefinition.ts +7 -7
  490. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionClaimMapping.ts +1 -1
  491. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidc.ts +7 -7
  492. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  493. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionProvisioning.ts +1 -1
  494. package/src/generated/model/listIdpRevisions200RevisionsItemDefinitionVerifiedClaims.ts +1 -1
  495. package/src/generated/model/listIdpRevisionsParams.ts +3 -1
  496. package/src/generated/model/listMyIdentityLinks200IdentityLinksItem.ts +2 -2
  497. package/src/generated/model/listMyProjects200.ts +1 -1
  498. package/src/generated/model/listMyProjects200ProjectsItem.ts +2 -3
  499. package/src/generated/model/listMyProjects200ProjectsItemOriginsItem.ts +17 -5
  500. package/src/generated/model/listMyProjects200ProjectsItemOriginsItemKind.ts +4 -0
  501. package/src/generated/model/listMyProjects200ProjectsItemPasswordHash.ts +12 -15
  502. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  503. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParams.ts +15 -18
  504. package/src/generated/model/listMyProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  505. package/src/generated/model/listMyTeams200TeamsItem.ts +4 -4
  506. package/src/generated/model/listPolicies200.ts +2 -2
  507. package/src/generated/model/listPolicies200PoliciesItem.ts +3 -3
  508. package/src/generated/model/listPoliciesParams.ts +3 -1
  509. package/src/generated/model/listPolicyRevisions200.ts +1 -1
  510. package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +3 -3
  511. package/src/generated/model/listPolicyRevisionsParams.ts +3 -1
  512. package/src/generated/model/listPreviews200PreviewsItem.ts +4 -5
  513. package/src/generated/model/listProjectAdmins200AdminsItem.ts +3 -3
  514. package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +13 -15
  515. package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +5 -5
  516. package/src/generated/model/listReleases200.ts +1 -1
  517. package/src/generated/model/listReleases200ReleasesItem.ts +4 -4
  518. package/src/generated/model/listReleases200ReleasesItemMetadata.ts +8 -8
  519. package/src/generated/model/listReleasesParams.ts +4 -2
  520. package/src/generated/model/listSchemas200.ts +1 -1
  521. package/src/generated/model/listSchemas200SchemasItem.ts +4 -4
  522. package/src/generated/model/listSchemas200SchemasItemMetadata.ts +2 -1
  523. package/src/generated/model/listSchemas200SchemasItemSchema.ts +21 -20
  524. package/src/generated/model/listSchemasExpandItem.ts +2 -2
  525. package/src/generated/model/listSchemasParams.ts +7 -5
  526. package/src/generated/model/listUserIdentityLinks200IdentityLinksItem.ts +2 -2
  527. package/src/generated/model/listUserTeams200TeamsItem.ts +4 -4
  528. package/src/generated/model/patchMyUser200.ts +28 -29
  529. package/src/generated/model/patchMyUser200Metadata.ts +10 -11
  530. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeam.ts +11 -12
  531. package/src/generated/model/patchMyUser200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  532. package/src/generated/model/patchMyUser200TeamsItem.ts +4 -4
  533. package/src/generated/model/patchMyUserBody.ts +2 -2
  534. package/src/generated/model/patchProject200.ts +34 -30
  535. package/src/generated/model/patchProjectBody.ts +3 -3
  536. package/src/generated/model/patchProjectBodyPasswordHash.ts +15 -18
  537. package/src/generated/model/patchProjectBodyPasswordHashAlgorithm.ts +1 -1
  538. package/src/generated/model/patchProjectBodyPasswordHashParams.ts +15 -18
  539. package/src/generated/model/patchProjectBodyPasswordHashParamsHash.ts +4 -4
  540. package/src/generated/model/patchUserByID200.ts +28 -29
  541. package/src/generated/model/patchUserByID200Metadata.ts +10 -11
  542. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeam.ts +11 -12
  543. package/src/generated/model/patchUserByID200MetadataLifecycleOwnerTeamStatus.ts +2 -2
  544. package/src/generated/model/patchUserByID200TeamsItem.ts +4 -4
  545. package/src/generated/model/patchUserByIDBody.ts +21 -13
  546. package/src/generated/model/publishPolicy201.ts +3 -3
  547. package/src/generated/model/publishPolicyBody.ts +3 -3
  548. package/src/generated/model/publishPolicyParams.ts +3 -1
  549. package/src/generated/model/queryGrants200GrantsItem.ts +14 -14
  550. package/src/generated/model/queryGrants200GrantsItemObjectType.ts +1 -1
  551. package/src/generated/model/queryGrants200GrantsItemRelation.ts +1 -1
  552. package/src/generated/model/queryGrants200GrantsItemTeam.ts +7 -7
  553. package/src/generated/model/queryGrants200GrantsItemTeamStatus.ts +2 -2
  554. package/src/generated/model/queryGrants200GrantsItemUser.ts +5 -5
  555. package/src/generated/model/queryGrants200GrantsItemUserMetadata.ts +10 -11
  556. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeam.ts +11 -12
  557. package/src/generated/model/queryGrants200GrantsItemUserMetadataLifecycleOwnerTeamStatus.ts +2 -2
  558. package/src/generated/model/queryGrantsBody.ts +2 -3
  559. package/src/generated/model/queryGrantsBodyExpandItem.ts +8 -5
  560. package/src/generated/model/queryGrantsBodyFilterItem.ts +3 -5
  561. package/src/generated/model/queryGrantsBodyFilterItemOperation.ts +1 -2
  562. package/src/generated/model/queryGrantsDefault.ts +0 -9
  563. package/src/generated/model/queryGrantsParams.ts +3 -1
  564. package/src/generated/model/queryIdps200.ts +1 -1
  565. package/src/generated/model/queryIdps200IdpsItem.ts +10 -9
  566. package/src/generated/model/queryIdps200IdpsItemDefinition.ts +7 -7
  567. package/src/generated/model/queryIdps200IdpsItemDefinitionClaimMapping.ts +1 -1
  568. package/src/generated/model/queryIdps200IdpsItemDefinitionOidc.ts +7 -7
  569. package/src/generated/model/queryIdps200IdpsItemDefinitionOidcStaticAuthorizeParameters.ts +1 -1
  570. package/src/generated/model/queryIdps200IdpsItemDefinitionProvisioning.ts +1 -1
  571. package/src/generated/model/queryIdps200IdpsItemDefinitionVerifiedClaims.ts +1 -1
  572. package/src/generated/model/queryIdpsBody.ts +2 -2
  573. package/src/generated/model/queryIdpsBodyFilterItem.ts +5 -7
  574. package/src/generated/model/queryIdpsBodyFilterItemField.ts +2 -2
  575. package/src/generated/model/queryIdpsBodyFilterItemOperation.ts +1 -2
  576. package/src/generated/model/queryIdpsBodySorting.ts +2 -2
  577. package/src/generated/model/queryIdpsBodySortingField.ts +2 -2
  578. package/src/generated/model/queryIdpsParams.ts +3 -1
  579. package/src/generated/model/queryProjects200ProjectsItem.ts +2 -3
  580. package/src/generated/model/queryProjects200ProjectsItemOriginsItem.ts +17 -5
  581. package/src/generated/model/queryProjects200ProjectsItemOriginsItemKind.ts +4 -0
  582. package/src/generated/model/queryProjects200ProjectsItemPasswordHash.ts +12 -15
  583. package/src/generated/model/queryProjects200ProjectsItemPasswordHashAlgorithm.ts +1 -1
  584. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParams.ts +15 -18
  585. package/src/generated/model/queryProjects200ProjectsItemPasswordHashParamsHash.ts +4 -4
  586. package/src/generated/model/queryProjectsBodyFilterItem.ts +3 -5
  587. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +1 -2
  588. package/src/generated/model/querySessions200SessionsItem.ts +16 -16
  589. package/src/generated/model/querySessions200SessionsItemFactorsItem.ts +2 -2
  590. package/src/generated/model/querySessions200SessionsItemFactorsItemPayload.ts +5 -5
  591. package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
  592. package/src/generated/model/querySessions200SessionsItemUser.ts +5 -5
  593. package/src/generated/model/querySessionsBodyFilterItem.ts +4 -6
  594. package/src/generated/model/querySessionsBodyFilterItemField.ts +1 -1
  595. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +1 -2
  596. package/src/generated/model/querySessionsBodySorting.ts +2 -3
  597. package/src/generated/model/querySessionsBodySortingField.ts +2 -3
  598. package/src/generated/model/querySessionsParams.ts +3 -1
  599. package/src/generated/model/queryTeams200TeamsItem.ts +2 -2
  600. package/src/generated/model/queryTeams200TeamsItemStatus.ts +2 -2
  601. package/src/generated/model/queryTeamsBodyFilterItem.ts +3 -5
  602. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +1 -2
  603. package/src/generated/model/queryTeamsParams.ts +3 -2
  604. package/src/generated/model/queryUsers200UsersItem.ts +28 -29
  605. package/src/generated/model/queryUsers200UsersItemMetadata.ts +10 -11
  606. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeam.ts +11 -12
  607. package/src/generated/model/queryUsers200UsersItemMetadataLifecycleOwnerTeamStatus.ts +2 -2
  608. package/src/generated/model/queryUsers200UsersItemTeamsItem.ts +4 -4
  609. package/src/generated/model/queryUsersBody.ts +2 -2
  610. package/src/generated/model/queryUsersBodyExpandItem.ts +8 -8
  611. package/src/generated/model/queryUsersBodyFilterItem.ts +13 -16
  612. package/src/generated/model/queryUsersBodyFilterItemField.ts +10 -11
  613. package/src/generated/model/queryUsersBodyFilterItemOperation.ts +1 -2
  614. package/src/generated/model/queryUsersBodySorting.ts +4 -5
  615. package/src/generated/model/queryUsersBodySortingField.ts +4 -5
  616. package/src/generated/model/queryUsersParams.ts +2 -2
  617. package/src/generated/model/removeOriginBody.ts +2 -2
  618. package/src/generated/model/revokeRelease200.ts +15 -15
  619. package/src/generated/model/revokeRelease200Metadata.ts +8 -8
  620. package/src/generated/model/revokeRelease200PointersItem.ts +13 -12
  621. package/src/generated/model/revokeRelease200PointersItemKind.ts +3 -3
  622. package/src/generated/model/revokeReleaseParams.ts +3 -1
  623. package/src/generated/model/rollbackDeployment200.ts +16 -14
  624. package/src/generated/model/rollbackDeployment200Metadata.ts +1 -1
  625. package/src/generated/model/rollbackDeployment200Release.ts +15 -15
  626. package/src/generated/model/rollbackDeployment200ReleaseMetadata.ts +8 -8
  627. package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +13 -12
  628. package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +3 -3
  629. package/src/generated/model/rollbackDeployment200Status.ts +3 -3
  630. package/src/generated/model/rollbackDeployment201.ts +16 -14
  631. package/src/generated/model/rollbackDeployment201Metadata.ts +1 -1
  632. package/src/generated/model/rollbackDeployment201Release.ts +15 -15
  633. package/src/generated/model/rollbackDeployment201ReleaseMetadata.ts +8 -8
  634. package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +13 -12
  635. package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +3 -3
  636. package/src/generated/model/rollbackDeployment201Status.ts +3 -3
  637. package/src/generated/model/rollbackDeployment409.ts +41 -40
  638. package/src/generated/model/rollbackDeploymentParams.ts +3 -1
  639. package/src/generated/model/setUserPasswordBody.ts +1 -1
  640. package/src/generated/model/setUserPasswordDefault.ts +63 -0
  641. package/src/generated/model/submitFlowStep200.ts +16 -12
  642. package/src/generated/model/submitFlowStep200Branding.ts +24 -22
  643. package/src/generated/model/submitFlowStep200BrandingLayout.ts +8 -7
  644. package/src/generated/model/submitFlowStep200BrandingShape.ts +1 -1
  645. package/src/generated/model/submitFlowStep200BrandingTheme.ts +5 -7
  646. package/src/generated/model/submitFlowStep200BrandingThemeDark.ts +7 -7
  647. package/src/generated/model/submitFlowStep200BrandingThemeDarkPalette.ts +63 -62
  648. package/src/generated/model/submitFlowStep200BrandingThemeLight.ts +7 -7
  649. package/src/generated/model/submitFlowStep200BrandingThemeLightPalette.ts +63 -62
  650. package/src/generated/model/submitFlowStep200BrandingTypography.ts +4 -4
  651. package/src/generated/model/submitFlowStep200Step.ts +36 -31
  652. package/src/generated/model/submitFlowStep200StepActionsItem.ts +3 -3
  653. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +1 -1
  654. package/src/generated/model/submitFlowStep200StepChallenge.ts +4 -3
  655. package/src/generated/model/submitFlowStep200StepComplete.ts +1 -1
  656. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +14 -13
  657. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +1 -1
  658. package/src/generated/model/submitFlowStep200StepFieldsItemValidation.ts +2 -2
  659. package/src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.ts +1 -1
  660. package/src/generated/model/submitFlowStep200StepGates.ts +10 -8
  661. package/src/generated/model/submitFlowStep200StepGatesConfig.ts +1 -1
  662. package/src/generated/model/submitFlowStep200StepGatesKind.ts +4 -3
  663. package/src/generated/model/submitFlowStep200StepIdentifier.ts +6 -6
  664. package/src/generated/model/submitFlowStep200StepSsoProvidersItem.ts +1 -1
  665. package/src/generated/model/submitFlowStep200StepTexts.ts +1 -1
  666. package/src/generated/model/submitFlowStep400.ts +16 -12
  667. package/src/generated/model/submitFlowStep400Branding.ts +24 -22
  668. package/src/generated/model/submitFlowStep400BrandingLayout.ts +8 -7
  669. package/src/generated/model/submitFlowStep400BrandingShape.ts +1 -1
  670. package/src/generated/model/submitFlowStep400BrandingTheme.ts +5 -7
  671. package/src/generated/model/submitFlowStep400BrandingThemeDark.ts +7 -7
  672. package/src/generated/model/submitFlowStep400BrandingThemeDarkPalette.ts +63 -62
  673. package/src/generated/model/submitFlowStep400BrandingThemeLight.ts +7 -7
  674. package/src/generated/model/submitFlowStep400BrandingThemeLightPalette.ts +63 -62
  675. package/src/generated/model/submitFlowStep400BrandingTypography.ts +4 -4
  676. package/src/generated/model/submitFlowStep400Step.ts +36 -31
  677. package/src/generated/model/submitFlowStep400StepActionsItem.ts +3 -3
  678. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +1 -1
  679. package/src/generated/model/submitFlowStep400StepChallenge.ts +4 -3
  680. package/src/generated/model/submitFlowStep400StepComplete.ts +1 -1
  681. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +14 -13
  682. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +1 -1
  683. package/src/generated/model/submitFlowStep400StepFieldsItemValidation.ts +2 -2
  684. package/src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.ts +1 -1
  685. package/src/generated/model/submitFlowStep400StepGates.ts +10 -8
  686. package/src/generated/model/submitFlowStep400StepGatesConfig.ts +1 -1
  687. package/src/generated/model/submitFlowStep400StepGatesKind.ts +4 -3
  688. package/src/generated/model/submitFlowStep400StepIdentifier.ts +6 -6
  689. package/src/generated/model/submitFlowStep400StepSsoProvidersItem.ts +1 -1
  690. package/src/generated/model/submitFlowStep400StepTexts.ts +1 -1
  691. package/src/generated/model/submitFlowStepBody.ts +10 -7
  692. package/src/generated/model/submitFlowStepBodyChallengeResponse.ts +2 -2
  693. package/src/generated/model/submitFlowStepBodyGateProofs.ts +1 -1
  694. package/src/generated/model/submitFlowStepDefault.ts +27 -0
  695. package/src/generated/model/updateTeam200.ts +2 -2
  696. package/src/generated/model/updateTeam200Status.ts +2 -2
  697. package/src/generated/model/updateTeamBody.ts +1 -1
  698. package/src/generated/model/updateVariables200.ts +4 -4
  699. package/src/generated/model/updateVariables200Preview.ts +2 -2
  700. package/src/generated/model/updateVariables200Primary.ts +2 -2
  701. package/src/generated/model/updateVariablesBody.ts +14 -14
  702. package/src/generated/model/updateVariablesParams.ts +3 -1
  703. package/src/generated/model/userProperty.ts +5 -8
  704. package/src/generated/model/userPropertyProperties.ts +2 -2
  705. package/src/generated/model/userPropertyXUnique.ts +1 -1
  706. package/src/generated/model/verifyChallengeProof200.ts +23 -22
  707. package/src/generated/model/verifyChallengeProof200ChallengesItem.ts +9 -7
  708. package/src/generated/model/verifyChallengeProof200ChallengesItemState.ts +1 -1
  709. package/src/generated/model/verifyChallengeProof200CompletedFactorsItem.ts +2 -2
  710. package/src/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.ts +5 -5
  711. package/src/generated/model/verifyChallengeProof200State.ts +2 -2
  712. package/src/generated/model/verifyChallengeProofBody.ts +2 -2
  713. package/src/generated/operations.ts +278 -153
  714. package/src/generated/paging.ts +128 -0
  715. package/src/runtime/api-factory.spec.ts +328 -0
  716. package/src/runtime/api-factory.ts +103 -13
  717. package/src/runtime/auth.ts +1 -1
  718. package/src/runtime/base-url.spec.ts +40 -4
  719. package/src/runtime/base-url.ts +28 -0
  720. package/src/runtime/fetch.spec.ts +51 -0
  721. package/src/runtime/fetch.ts +85 -30
  722. package/src/runtime/paged.spec.ts +115 -0
  723. package/src/runtime/paged.ts +62 -0
  724. package/src/runtime/paging.spec.ts +219 -0
  725. package/src/runtime/paging.ts +177 -0
  726. package/dist/fetch-CtYe0OvX.d.mts.map +0 -1
  727. package/dist/index-DAm3tCA7.d.mts.map +0 -1
  728. package/dist/runtime/api-factory.d.mts.map +0 -1
  729. package/dist/runtime/api-factory.mjs.map +0 -1
  730. package/dist/zitadelNextGen-B_VRpP2W.d.mts +0 -1360
  731. package/dist/zitadelNextGen-B_VRpP2W.d.mts.map +0 -1
@@ -10,64 +10,85 @@ import type { CreateFlowDefinition201FlowDefinitionStatus } from './createFlowDe
10
10
  import type { CreateFlowDefinition201FlowDefinitionStepsItem } from './createFlowDefinition201FlowDefinitionStepsItem.ts';
11
11
 
12
12
  /**
13
- * A flow definition is the server-side configuration that describes a complete
14
- * authentication or identity flow. It is NOT sent to the frontend — the flow
15
- * engine evaluates it and produces FlowResponse payloads (steps with capability
16
- * dictionaries) for the client.
13
+ * A flow definition is the configuration of one flow: the sequence of screens
14
+ * the login component (`<zitadel-login>`) walks a user through to sign in,
15
+ * register, recover access or similar. Each screen is a step. A step collects
16
+ * fields (inputs taken from properties of the user schema), offers actions
17
+ * (what the user can do, such as submit the form or follow a link) and may
18
+ * require gates (security checks, such as a captcha, that must pass before the
19
+ * server accepts the submission). Transitions say which step follows each
20
+ * action.
17
21
  *
18
- * Flow definitions are created by administrators and stored in the project/team
19
- * configuration hierarchy. The engine selects the matching definition based on
20
- * the purpose + audience when a flow is created via POST /flow.
22
+ * The definition is server-side configuration and is never sent to the
23
+ * frontend. The server evaluates it and returns the current step, with its
24
+ * fields, actions and gates, to the client.
25
+ *
26
+ * Administrators create flow definitions, either as `.zitadel/flows/` files
27
+ * that `zitadel deploy` publishes or through the API, and they are stored in
28
+ * the project/team configuration hierarchy. The server selects the matching
29
+ * definition from the purpose and audience when a flow starts with
30
+ * `createFlow` (`POST /flow`).
21
31
  */
22
32
  export type CreateFlowDefinition201FlowDefinition = {
23
33
  /**
24
- * Stable identifier for this flow, used as the target of cross-flow
25
- * `switch` and `pivot` transitions. Every revision of a flow shares its
26
- * `name`; publishing a definition under an existing `name` adds a
27
- * revision to that flow. Renaming is not supported — the `name` is part
28
- * of the public contract another definition may reference. Acts as the
29
- * human display label as well; no separate slug.
34
+ * Stable identifier for this flow, and the name a cross-flow `switch` or
35
+ * `pivot` transition will target once the server runs them. Every
36
+ * revision of a flow shares its `name`; publishing a definition under an
37
+ * existing `name` adds a revision to that flow. Renaming is not
38
+ * supported: the `name` is part of the public contract another
39
+ * definition may reference. It acts as the human display label as well;
40
+ * there is no separate slug.
30
41
  * @pattern ^[a-z][a-z0-9-]*$
31
42
  */
32
43
  name: string;
33
44
  /**
34
45
  * The lifecycle state of this flow definition.
35
46
  *
36
- * active: The flow definition is ready to be used. The flow engine can select it for new flows.
37
- * draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
47
+ * active: The flow definition is ready to be used. The server can select it for new flows.
48
+ * draft: The server will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
38
49
  *
39
50
  * A revision's status is fixed at creation. Publish a new revision to change it.
40
51
  */
41
52
  status: CreateFlowDefinition201FlowDefinitionStatus;
42
53
  /**
43
54
  * The user schema this flow operates on, named by its `objectType`. The
44
- * flow runs against the project's newest revision of that schema, so
45
- * publishing a schema revision needs no change to the flow. A schema id
46
- * as returned by `POST /schemas` is also accepted and is stored as that
55
+ * flow runs against the revision of that schema its release pins, so
56
+ * publishing a schema revision needs no change to the flow. A schema ID
57
+ * as `createSchema` (`POST /schemas`) returns it is also accepted and is stored as that
47
58
  * schema's `objectType`; reading the definition back returns the
48
59
  * `objectType`. A value naming no schema of the project is refused with
49
- * `flowdef.invalid`. Step `fields` reference properties defined in the
50
- * resolved schema; the engine resolves field types, validation, and
51
- * implicit outcomes from schema annotations at runtime.
60
+ * `flowdef.invalid`; use the `objectType` of a schema that `listSchemas` (`GET /schemas`)
61
+ * returns. Step `fields` reference properties defined in the resolved
62
+ * schema; the server resolves field types, validation, and implicit
63
+ * outcomes from schema annotations at runtime.
52
64
  */
53
65
  user_schema: string;
54
66
  /**
55
67
  * Maps each purpose this definition handles to its entry-point step.
68
+ * A purpose is what the user is doing, such as `login` or `recovery`.
56
69
  * Keys are purpose names; values must match a `name` in `steps`. A
57
- * definition can serve multiple purposes (e.g. a combined login/register
58
- * flow) by listing one entry per purpose.
70
+ * definition can serve multiple purposes (for example a combined
71
+ * login/register flow) by listing one entry per purpose, or just one: a
72
+ * sign-in-only flow lists `login` alone.
73
+ *
74
+ * - `login`: verify an existing user.
75
+ * - `register`: create a user.
76
+ * - `recovery`, `profiling`, `reauth`, `link_account`: reserved. A
77
+ * definition may declare them, but the server does not run their
78
+ * journeys yet; `recovery` only asks a password field for a new
79
+ * password.
59
80
  */
60
81
  purposes: Partial<Record<'login' | 'register' | 'recovery' | 'profiling' | 'reauth' | 'link_account', string>>;
61
82
  /**
62
83
  * Scopes which teams or apps this flow definition applies to. Empty or
63
84
  * omitted fields mean "no restriction"; when both are empty the definition
64
- * matches every request in the project. The engine picks the most specific
85
+ * matches every request in the project. The server picks the most specific
65
86
  * matching definition: app > team > project-wide.
66
87
  */
67
88
  audience?: CreateFlowDefinition201FlowDefinitionAudience;
68
89
  /**
69
- * Ordered list of steps in this flow. The order is for human readability —
70
- * actual step sequencing is determined by transitions.
90
+ * The steps of this flow. The order is for human readability: transitions
91
+ * determine the actual step sequencing.
71
92
  * @minItems 1
72
93
  */
73
94
  steps: CreateFlowDefinition201FlowDefinitionStepsItem[];
@@ -9,7 +9,7 @@
9
9
  /**
10
10
  * Scopes which teams or apps this flow definition applies to. Empty or
11
11
  * omitted fields mean "no restriction"; when both are empty the definition
12
- * matches every request in the project. The engine picks the most specific
12
+ * matches every request in the project. The server picks the most specific
13
13
  * matching definition: app > team > project-wide.
14
14
  */
15
15
  export type CreateFlowDefinition201FlowDefinitionAudience = {
@@ -9,8 +9,8 @@
9
9
  /**
10
10
  * The lifecycle state of this flow definition.
11
11
  *
12
- * active: The flow definition is ready to be used. The flow engine can select it for new flows.
13
- * draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
12
+ * active: The flow definition is ready to be used. The server can select it for new flows.
13
+ * draft: The server will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
14
14
  *
15
15
  * A revision's status is fixed at creation. Publish a new revision to change it.
16
16
  */
@@ -12,15 +12,16 @@ import type { CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess } from './
12
12
  import type { CreateFlowDefinition201FlowDefinitionStepsItemTransitions } from './createFlowDefinition201FlowDefinitionStepsItemTransitions.ts';
13
13
 
14
14
  /**
15
- * A step in a flow definition. This is the admin-authored configuration,
16
- * not the runtime payload sent to the frontend.
15
+ * A step in a flow definition: one screen of the flow, as an administrator
16
+ * writes it. This is configuration, not the runtime payload sent to the
17
+ * frontend.
17
18
  *
18
19
  * Steps are schema-driven: `fields` references properties from the flow's
19
- * user schema, and the engine resolves field metadata (type, validation,
20
+ * user schema, and the server resolves field metadata (type, validation,
20
21
  * implicit outcomes) from schema annotations at runtime.
21
22
  *
22
- * A step with only `complete` set is a terminal step. All other steps are
23
- * rendered to the frontend as capability payloads.
23
+ * A step with only `complete` set is a terminal step. The server sends every
24
+ * other step to the login component as fields, actions and gates to render.
24
25
  */
25
26
  export type CreateFlowDefinition201FlowDefinitionStepsItem = {
26
27
  /**
@@ -30,33 +31,35 @@ export type CreateFlowDefinition201FlowDefinitionStepsItem = {
30
31
  */
31
32
  name: string;
32
33
  /**
33
- * Schema property names to collect from the user. Each entry references
34
- * a property in the flow's user schema. The engine resolves field type,
35
- * validation rules, and implicit outcomes from schema annotations
36
- * (e.g. a property with `x-unique` set implies a `user_not_found`
37
- * transition outcome).
34
+ * The fields to collect from the user. A field is one input of the step,
35
+ * named after a property in the flow's user schema. The server resolves
36
+ * field type, validation rules, and implicit outcomes from schema
37
+ * annotations (for example, a property with `x-unique` set implies a
38
+ * `user_not_found` transition outcome).
38
39
  */
39
40
  fields?: string[];
40
41
  /**
41
- * Ordered list of actions the user can take. The action name is what the
42
- * frontend sends back in the submit request. If omitted, the engine
43
- * provides a default `submit` action.
42
+ * The actions the user can take, in order. An action is something the user
43
+ * does on the step, such as submitting the form or following a link. The
44
+ * action name is what the frontend sends back in the submit request. If
45
+ * omitted, the server provides a default `submit` action.
44
46
  */
45
47
  actions?: CreateFlowDefinition201FlowDefinitionStepsItemActionsItem[];
46
48
  /**
47
- * Security gates that must be satisfied before submission. Keyed by gate
48
- * name. Each gate selects a kind (e.g. "captcha") and provider-specific
49
- * configuration. The engine may also inject gates dynamically based on
50
- * policy.
49
+ * Security gates that must be satisfied before submission. A gate is a
50
+ * security check, such as a captcha. Keyed by gate name. Each gate selects
51
+ * a kind (for example "captcha") and provider-specific configuration. The
52
+ * server may also inject gates dynamically based on policy.
51
53
  */
52
54
  gates?: CreateFlowDefinition201FlowDefinitionStepsItemGates;
53
55
  /**
54
- * Slugs of the identity provider connections this step offers, in display
55
- * order. Each names the `slug` of a connection under `.zitadel/idps/`; the
56
- * connection carries the display name and template, so a rename there
57
- * reaches every step without editing the flow. The rendered step the client
58
- * receives carries the resolved `{id, name, template}` objects instead. A
59
- * step offers at most 20 providers.
56
+ * Slugs of the identity providers (external sign-ins such as Google) this
57
+ * step offers, in display order. Each names the `slug` of a connection
58
+ * document under `.zitadel/idps/`; the document carries the display name
59
+ * and template, so a rename there reaches every step without editing the
60
+ * flow. The rendered step the client receives carries the resolved
61
+ * `{id, name, template}` objects instead. A step offers at most 20
62
+ * providers.
60
63
  * @maxItems 20
61
64
  * @items.maxLength 64
62
65
  * @items.pattern ^[a-z0-9][a-z0-9_-]*$
@@ -80,12 +83,27 @@ export type CreateFlowDefinition201FlowDefinitionStepsItem = {
80
83
  */
81
84
  complete?: CreateFlowDefinition201FlowDefinitionStepsItemComplete;
82
85
  /**
83
- * Maps action/outcome names to their transition descriptor.
86
+ * Maps action and outcome names to where the flow goes next.
84
87
  *
85
- * Keys match action names from the `actions` array. Additional keys
86
- * come from implicit outcomes based on schema annotations
87
- * (e.g. `user_not_found` from `x-unique` fields) and engine
88
- * events (e.g. `sso_authenticated`, `sso_user_not_found`).
88
+ * A key is either the `name` of an action in `actions` (the user chose
89
+ * it) or an outcome the server raises on its own:
90
+ *
91
+ * - `user_not_found`: an identifier with no account. Following this
92
+ * transition also switches the flow to `register`.
93
+ * - `user_already_exists`: an identifier that has an account, typed on
94
+ * a sign-up or returned by a provider's sign-in. Following this
95
+ * transition also switches the flow to `login`.
96
+ * - `sso_authenticated`: a provider's sign-in matched an account.
97
+ * - `sso_user_not_found`: a provider's sign-in matched no account.
98
+ *
99
+ * Each action needs its transition, and a step that offers
100
+ * `sso_providers` needs `sso_authenticated`; the server requires no
101
+ * other outcome. `zitadel deploy` also requires `sso_user_not_found` and
102
+ * `user_already_exists` on a step that offers a provider that creates
103
+ * users, since a provider's sign-in can raise both. An outcome the step
104
+ * has no transition for leaves the user on the step with that outcome's
105
+ * error (for example `error.user_not_found`), so a flow that leaves out
106
+ * `user_not_found` signs in only users that already exist.
89
107
  */
90
108
  transitions?: CreateFlowDefinition201FlowDefinitionStepsItemTransitions;
91
109
  };
@@ -8,9 +8,11 @@
8
8
  import type { CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind } from './createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts';
9
9
 
10
10
  /**
11
- * An action a flow author declares on a step of a flow definition. The
12
- * `name` is sent back in the submit request as `action`; the engine resolves
13
- * the action's declared `kind` to decide how to handle the submission.
11
+ * An action a flow author declares on a step of a flow definition: something
12
+ * the user can do on the step, such as submitting the form or following a
13
+ * link. The `name` is sent back in the submit request as `action`; the server
14
+ * resolves the action's declared `kind` to decide how to handle the
15
+ * submission.
14
16
  */
15
17
  export type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
16
18
  /**
@@ -19,8 +21,8 @@ export type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
19
21
  */
20
22
  name: string;
21
23
  /**
22
- * Classifies how the engine handles this action. `back` is not declarable:
23
- * the engine injects it into runtime steps (see `flow-step-action.yaml`)
24
+ * Classifies how the server handles this action. `back` is not declarable:
25
+ * the server injects it into runtime steps (see `flow-step-action.yaml`)
24
26
  * whenever going back is available.
25
27
  * - `submit`: collect the step's fields and run validate/dispatch/on_success.
26
28
  * - `passkey`: issue a WebAuthn assertion challenge; the matching transition
@@ -39,9 +41,9 @@ export type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
39
41
  primary?: boolean;
40
42
  /**
41
43
  * Optional localization key override for the action's label. When
42
- * omitted, the engine derives a key from the step and action names.
44
+ * omitted, the server derives a key from the step and action names.
43
45
  * Display text is resolved client-side from a locale dictionary, never
44
- * by the engine.
46
+ * by the server.
45
47
  */
46
48
  text_key?: string;
47
49
  };
@@ -7,8 +7,8 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Classifies how the engine handles this action. `back` is not declarable:
11
- * the engine injects it into runtime steps (see `flow-step-action.yaml`)
10
+ * Classifies how the server handles this action. `back` is not declarable:
11
+ * the server injects it into runtime steps (see `flow-step-action.yaml`)
12
12
  * whenever going back is available.
13
13
  * - `submit`: collect the step's fields and run validate/dispatch/on_success.
14
14
  * - `passkey`: issue a WebAuthn assertion challenge; the matching transition
@@ -9,27 +9,28 @@ import type { CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig } from '
9
9
  import type { CreateFlowDefinition201FlowDefinitionStepsItemGatesKind } from './createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts';
10
10
 
11
11
  /**
12
- * Security gates that must be satisfied before submission. Keyed by gate
13
- * name. Each gate selects a kind (e.g. "captcha") and provider-specific
14
- * configuration. The engine may also inject gates dynamically based on
15
- * policy.
12
+ * Security gates that must be satisfied before submission. A gate is a
13
+ * security check, such as a captcha. Keyed by gate name. Each gate selects
14
+ * a kind (for example "captcha") and provider-specific configuration. The
15
+ * server may also inject gates dynamically based on policy.
16
16
  */
17
17
  export type CreateFlowDefinition201FlowDefinitionStepsItemGates = {[key: string]: {
18
18
  /**
19
- * The gate category. Only `captcha` is currently defined. Authenticator
20
- * ceremonies (e.g. passkey) are modelled as credential auth_attempts via
21
- * `x-credential` on a field, not as gates.
19
+ * The gate category. Only `captcha` is defined today. Authenticator
20
+ * ceremonies, such as passkey, are not gates: they are modeled as
21
+ * credential authentication attempts (`auth_attempts`) with `x-credential`
22
+ * on a field.
22
23
  */
23
24
  kind: CreateFlowDefinition201FlowDefinitionStepsItemGatesKind;
24
25
  /**
25
- * Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
26
- * `hcaptcha`. The engine looks up an implementation in its provider
26
+ * The provider within the gate kind, for example `altcha`, `turnstile` or
27
+ * `hcaptcha`. The server looks up an implementation in its provider
27
28
  * registry.
28
29
  */
29
30
  provider: string;
30
31
  /**
31
32
  * Provider-specific configuration consumed by the implementation when
32
- * issuing the per-render challenge. Opaque to the engine.
33
+ * issuing the per-render challenge. Opaque to the server.
33
34
  */
34
35
  config?: CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig;
35
36
  }};
@@ -8,6 +8,6 @@
8
8
 
9
9
  /**
10
10
  * Provider-specific configuration consumed by the implementation when
11
- * issuing the per-render challenge. Opaque to the engine.
11
+ * issuing the per-render challenge. Opaque to the server.
12
12
  */
13
13
  export type CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig = { [key: string]: unknown };
@@ -7,9 +7,10 @@
7
7
  */
8
8
 
9
9
  /**
10
- * The gate category. Only `captcha` is currently defined. Authenticator
11
- * ceremonies (e.g. passkey) are modelled as credential auth_attempts via
12
- * `x-credential` on a field, not as gates.
10
+ * The gate category. Only `captcha` is defined today. Authenticator
11
+ * ceremonies, such as passkey, are not gates: they are modeled as
12
+ * credential authentication attempts (`auth_attempts`) with `x-credential`
13
+ * on a field.
13
14
  */
14
15
  export type CreateFlowDefinition201FlowDefinitionStepsItemGatesKind = typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind];
15
16
 
@@ -9,40 +9,60 @@ import type { CreateFlowDefinition201FlowDefinitionStepsItemTransitionsAction }
9
9
  import type { CreateFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose } from './createFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose.ts';
10
10
 
11
11
  /**
12
- * Maps action/outcome names to their transition descriptor.
12
+ * Maps action and outcome names to where the flow goes next.
13
13
  *
14
- * Keys match action names from the `actions` array. Additional keys
15
- * come from implicit outcomes based on schema annotations
16
- * (e.g. `user_not_found` from `x-unique` fields) and engine
17
- * events (e.g. `sso_authenticated`, `sso_user_not_found`).
14
+ * A key is either the `name` of an action in `actions` (the user chose
15
+ * it) or an outcome the server raises on its own:
16
+ *
17
+ * - `user_not_found`: an identifier with no account. Following this
18
+ * transition also switches the flow to `register`.
19
+ * - `user_already_exists`: an identifier that has an account, typed on
20
+ * a sign-up or returned by a provider's sign-in. Following this
21
+ * transition also switches the flow to `login`.
22
+ * - `sso_authenticated`: a provider's sign-in matched an account.
23
+ * - `sso_user_not_found`: a provider's sign-in matched no account.
24
+ *
25
+ * Each action needs its transition, and a step that offers
26
+ * `sso_providers` needs `sso_authenticated`; the server requires no
27
+ * other outcome. `zitadel deploy` also requires `sso_user_not_found` and
28
+ * `user_already_exists` on a step that offers a provider that creates
29
+ * users, since a provider's sign-in can raise both. An outcome the step
30
+ * has no transition for leaves the user on the step with that outcome's
31
+ * error (for example `error.user_not_found`), so a flow that leaves out
32
+ * `user_not_found` signs in only users that already exist.
18
33
  */
19
34
  export type CreateFlowDefinition201FlowDefinitionStepsItemTransitions = {[key: string]: {
20
35
  /**
21
36
  * Step name within this flow (when `action` is null), or the name
22
- * of another flow (when `action` is `switch` or `pivot`).
37
+ * of another flow (when `action` is `switch` or `pivot`). Optional
38
+ * when `purpose` is set: the transition then goes to that purpose's
39
+ * entry step.
40
+ * @minLength 1
23
41
  */
24
- target: string;
42
+ target?: string;
25
43
  /**
26
- * How to interpret `target`:
27
- * - null (omitted): transition to a step in the current flow.
44
+ * Reserved for transitions to another flow definition. The server
45
+ * does not run them yet: taking one fails with `flow.unsupported`.
46
+ * Keep transitions within one flow definition, and use `purpose`
47
+ * to move between signing in and signing up.
48
+ *
49
+ * How `target` will be read:
50
+ * - null (omitted): a step in the current flow.
28
51
  * - switch: replace the current flow with the target flow.
29
- * No return — the current flow is discarded.
30
- * Example: login ↔ register.
52
+ * No return: the current flow is discarded.
31
53
  * - pivot: push the target flow onto the stack. The current flow
32
54
  * is paused and resumes when the target flow completes (auto-pop).
33
- * Example: login → recovery → back to login.
34
55
  */
35
56
  action?: CreateFlowDefinition201FlowDefinitionStepsItemTransitionsAction;
36
57
  /**
37
- * Local re-purposing. When set, taking this transition changes the
38
- * flow's current purpose to this value — the dispatch mode a step's
39
- * challenges run under — while the flow's original purpose stays
40
- * pinned. Must be a purpose this definition serves, and `target`
41
- * must be that purpose's entry step. Mutually exclusive with
42
- * `action`: a transition either re-purposes within this flow or
43
- * targets another flow, never both.
58
+ * Switches the flow to this purpose and goes to its entry step,
59
+ * starting it fresh: the user the flow found so far and the
60
+ * password collected for them are dropped. The flow's original
61
+ * purpose stays pinned. Must be a purpose this definition serves.
62
+ * `target` may be left out; when it is set it must name that
63
+ * purpose's entry step. Mutually exclusive with `action`.
44
64
  * Example: a "Sign up" navigation on the login identifier step
45
- * (`{ target: register, purpose: register }`).
65
+ * (`{ purpose: register }`).
46
66
  */
47
67
  purpose?: CreateFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose;
48
68
  }};
@@ -7,14 +7,17 @@
7
7
  */
8
8
 
9
9
  /**
10
- * How to interpret `target`:
11
- * - null (omitted): transition to a step in the current flow.
10
+ * Reserved for transitions to another flow definition. The server
11
+ * does not run them yet: taking one fails with `flow.unsupported`.
12
+ * Keep transitions within one flow definition, and use `purpose`
13
+ * to move between signing in and signing up.
14
+ *
15
+ * How `target` will be read:
16
+ * - null (omitted): a step in the current flow.
12
17
  * - switch: replace the current flow with the target flow.
13
- * No return — the current flow is discarded.
14
- * Example: login ↔ register.
18
+ * No return: the current flow is discarded.
15
19
  * - pivot: push the target flow onto the stack. The current flow
16
20
  * is paused and resumes when the target flow completes (auto-pop).
17
- * Example: login → recovery → back to login.
18
21
  */
19
22
  export type CreateFlowDefinition201FlowDefinitionStepsItemTransitionsAction = typeof CreateFlowDefinition201FlowDefinitionStepsItemTransitionsAction[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemTransitionsAction] | null;
20
23
 
@@ -7,15 +7,14 @@
7
7
  */
8
8
 
9
9
  /**
10
- * Local re-purposing. When set, taking this transition changes the
11
- * flow's current purpose to this value — the dispatch mode a step's
12
- * challenges run under — while the flow's original purpose stays
13
- * pinned. Must be a purpose this definition serves, and `target`
14
- * must be that purpose's entry step. Mutually exclusive with
15
- * `action`: a transition either re-purposes within this flow or
16
- * targets another flow, never both.
10
+ * Switches the flow to this purpose and goes to its entry step,
11
+ * starting it fresh: the user the flow found so far and the
12
+ * password collected for them are dropped. The flow's original
13
+ * purpose stays pinned. Must be a purpose this definition serves.
14
+ * `target` may be left out; when it is set it must name that
15
+ * purpose's entry step. Mutually exclusive with `action`.
17
16
  * Example: a "Sign up" navigation on the login identifier step
18
- * (`{ target: register, purpose: register }`).
17
+ * (`{ purpose: register }`).
19
18
  */
20
19
  export type CreateFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose = typeof CreateFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemTransitionsPurpose] | null;
21
20
 
@@ -10,13 +10,13 @@ import type { CreateFlowDefinition201UserSchemaSchema } from './createFlowDefini
10
10
 
11
11
  /**
12
12
  * The user schema this flow operates on: the same object
13
- * `GET /schemas/{id}` returns. Present only when the request asked for it
13
+ * `getSchemaById` (`GET /schemas/{id}`) returns. Present only when the request asked for it
14
14
  * with `expand=user_schema`; `null` when it was requested but the
15
15
  * referenced schema no longer resolves or the caller may not read it.
16
16
  */
17
17
  export type CreateFlowDefinition201UserSchema = {
18
18
  /**
19
- * The resource id: the server-minted `sch_*` identifier, or the
19
+ * The schema's ID: the server-generated `sch_*` identifier, or the
20
20
  * customer-supplied `$id` URI when the document declared one at creation.
21
21
  */
22
22
  readonly id: string;
@@ -11,7 +11,8 @@ export type CreateFlowDefinition201UserSchemaMetadata = {
11
11
  created_at: string;
12
12
  /**
13
13
  * Whether any user of the project is on this revision. Only set when
14
- * `GET /schemas` is asked for it with `expand=in_use`; omitted otherwise.
14
+ * `listSchemas` (`GET /schemas`) is asked for it with `expand=in_use`;
15
+ * omitted otherwise.
15
16
  */
16
17
  in_use?: boolean;
17
18
  };
@@ -12,38 +12,38 @@ import type { UserProperty } from './userProperty.ts';
12
12
  */
13
13
  export type CreateFlowDefinition201UserSchemaSchema = {
14
14
  /**
15
- * The type of user this schema describes. This is a customer chosen name.
15
+ * The type of user this schema describes. This is a customer-chosen name.
16
16
  * Every revision of a schema shares its `objectType`, and flow
17
17
  * definitions name the schema they operate on by it.
18
18
  * @maxLength 256
19
19
  */
20
20
  objectType: string;
21
- /** Discriminator value for a user schema create request. */
21
+ /** Must be `user-schema`. It selects this schema type in a create request. */
22
22
  kind: 'user-schema';
23
23
  /**
24
- * The user Schema version used for this schema.
24
+ * The URI of the user meta-schema version this schema uses.
25
25
  * @maxLength 1024
26
26
  */
27
27
  metaSchema: string;
28
- /** A list of authentication methods supported by the user definition. */
28
+ /** The authentication methods users of this schema can use, one entry per method. At least one is required. */
29
29
  'x-auth-methods': {
30
30
  password?: {
31
- /** Whether the authentication method is enabled or not */
31
+ /** Whether the authentication method is enabled. */
32
32
  enabled: boolean;
33
33
  };
34
34
  passkey?: {
35
- /** Whether the authentication method is enabled or not */
35
+ /** Whether the authentication method is enabled. */
36
36
  enabled: boolean;
37
37
  };
38
38
  magic_link?: {
39
- /** Whether the authentication method is enabled or not */
39
+ /** Whether the authentication method is enabled. */
40
40
  enabled: boolean;
41
41
  };
42
42
  sso?: {
43
- /** Whether the authentication method is enabled or not */
43
+ /** Whether the authentication method is enabled. */
44
44
  enabled: boolean;
45
45
  /**
46
- * Slugs of the Project-level identity provider connections available to users of this schema. Each entry must match the `slug` of a connection under `.zitadel/idps/`; a connection existing does not by itself make it available here.
46
+ * Slugs of the project's identity providers (external sign-ins such as Google) that users of this schema can sign in with. Each entry must match the `slug` of a connection document under `.zitadel/idps/`; an identity provider existing does not by itself make it available here.
47
47
  * @minItems 1
48
48
  * @items.maxLength 64
49
49
  * @items.pattern ^[a-z0-9][a-z0-9_-]*$
@@ -51,19 +51,20 @@ export type CreateFlowDefinition201UserSchemaSchema = {
51
51
  providers?: string[];
52
52
  };
53
53
  otp?: {
54
- /** Whether the authentication method is enabled or not */
54
+ /** Whether the authentication method is enabled. */
55
55
  enabled: boolean;
56
56
  };
57
57
  };
58
58
  /**
59
- * Path of the leaf property whose value identifies a user (nested leaves
60
- * are addressed by their dot-joined attribute path). The property must
61
- * carry `x-unique` "project". Required when an auth method needing
62
- * identifier-first dispatch (password) is enabled. Passkey is exempt:
63
- * discoverable credentials identify the user through the assertion
64
- * itself, so passkey-only and API-managed schemas may designate nothing;
65
- * flows using identifier-first passkey are validated at the flow level
66
- * instead.
59
+ * Path of the leaf property whose value identifies a user. Nested leaves
60
+ * are addressed by their dot-joined attribute path. The property must carry
61
+ * `x-unique` "project".
62
+ *
63
+ * Required when an authentication method that needs identifier-first
64
+ * dispatch (password) is enabled. Passkey is exempt: discoverable
65
+ * credentials identify the user through the assertion itself, so
66
+ * passkey-only and API-managed schemas may designate nothing. Flows using
67
+ * identifier-first passkey are validated at the flow level instead.
67
68
  * @minLength 1
68
69
  */
69
70
  'x-identifier'?: string;
@@ -75,8 +76,8 @@ export type CreateFlowDefinition201UserSchemaSchema = {
75
76
  */
76
77
  'x-display'?: string[];
77
78
  /**
78
- * A map of additional properties for the user definition, where the
79
- * key is the property name and the value is the property schema
79
+ * The user's attributes, as a map. The key is the attribute name and the
80
+ * value is that attribute's schema.
80
81
  */
81
82
  properties?: {[key: string]: UserProperty};
82
83
  [key: string]: unknown;