@zitadel/api 0.0.0 → 0.1.0-alpha.10

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 (1026) hide show
  1. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  2. package/dist/generated/endpoints/zitadelNextGen.mjs +69 -16
  3. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  4. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +8 -5
  5. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +356 -246
  7. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +178 -130
  9. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  10. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +157 -121
  11. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  12. package/dist/generated/model/index.d.mts +2 -2
  13. package/dist/generated/model/index.mjs +65 -21
  14. package/dist/generated/model/index.mjs.map +1 -1
  15. package/dist/{index-DlEenfQJ.d.mts → index-BGnjxx-b.d.mts} +1788 -1007
  16. package/dist/index-BGnjxx-b.d.mts.map +1 -0
  17. package/dist/runtime/api-factory.d.mts +1 -1
  18. package/dist/runtime/config.d.mts +6 -3
  19. package/dist/runtime/config.d.mts.map +1 -1
  20. package/dist/runtime/config.mjs +42 -11
  21. package/dist/runtime/config.mjs.map +1 -1
  22. package/dist/{zitadelNextGen-C-fBEgnH.d.mts → zitadelNextGen-BS4VE7_Y.d.mts} +20 -10
  23. package/dist/zitadelNextGen-BS4VE7_Y.d.mts.map +1 -0
  24. package/package.json +1 -46
  25. package/src/generated/endpoints/zitadelNextGen.msw.ts +151 -70
  26. package/src/generated/endpoints/zitadelNextGen.ts +111 -16
  27. package/src/generated/endpoints/zitadelNextGen.zod.ts +565 -437
  28. package/src/generated/model/createFlow201.ts +3 -2
  29. package/src/generated/model/createFlow201Step.ts +13 -12
  30. package/src/generated/model/{createFlow201StepActions.ts → createFlow201StepActionsItem.ts} +9 -9
  31. package/src/generated/model/createFlow201StepFieldsItem.ts +46 -0
  32. package/src/generated/model/createFlow201StepFieldsItemType.ts +31 -0
  33. package/src/generated/model/{createFlow201StepFieldsValidation.ts → createFlow201StepFieldsItemValidation.ts} +9 -3
  34. package/src/generated/model/{submitFlowStep400StepFieldsValidationFormat.ts → createFlow201StepFieldsItemValidationFormat.ts} +3 -3
  35. package/src/generated/model/createFlowDefinition201.ts +11 -144
  36. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +58 -0
  37. package/{dist/generated/model/updateFlowDefinitionBodyAudience.d.ts → src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts} +6 -6
  38. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +71 -0
  39. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +28 -0
  40. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +21 -0
  41. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +35 -0
  42. package/{dist/generated/model/createFlow201StepGatesConfig.d.ts → src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts} +2 -4
  43. package/{dist/generated/model/getFlowStep200StepGatesKind.d.ts → src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts} +7 -5
  44. package/{dist/generated/model/updateFlowDefinitionBodyStepsItemOnSuccess.d.ts → src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts} +7 -5
  45. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
  46. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +35 -0
  47. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.ts +6 -6
  48. package/src/generated/model/{createFlowDefinitionBodyFlowDefinitionStepsItemActions.ts → createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts} +9 -10
  49. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +1 -1
  50. package/{dist/generated/model/listUsers200Item.d.ts → src/generated/model/deleteFlowDefinitionParams.ts} +7 -3
  51. package/src/generated/model/getFlowDefinition200.ts +11 -144
  52. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +58 -0
  53. package/{dist/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts → src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts} +6 -6
  54. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
  55. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +28 -0
  56. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
  57. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
  58. package/{dist/generated/model/getFlowStep200StepGatesConfig.d.ts → src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts} +2 -4
  59. package/{dist/generated/model/createFlow201StepGatesKind.d.ts → src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts} +7 -5
  60. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
  61. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
  62. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
  63. package/{dist/generated/model/getUserByID200.d.ts → src/generated/model/getFlowDefinitionParams.ts} +7 -3
  64. package/src/generated/model/getFlowStep200.ts +3 -2
  65. package/src/generated/model/getFlowStep200Step.ts +13 -12
  66. package/src/generated/model/{submitFlowStep400StepActions.ts → getFlowStep200StepActionsItem.ts} +9 -9
  67. package/src/generated/model/getFlowStep200StepFieldsItem.ts +46 -0
  68. package/src/generated/model/getFlowStep200StepFieldsItemType.ts +31 -0
  69. package/src/generated/model/{getFlowStep200StepFieldsValidation.ts → getFlowStep200StepFieldsItemValidation.ts} +9 -3
  70. package/src/generated/model/{submitFlowStep200StepFieldsValidationFormat.ts → getFlowStep200StepFieldsItemValidationFormat.ts} +3 -3
  71. package/{dist/generated/model/createTeamBody.d.ts → src/generated/model/getMyUser200.ts} +2 -4
  72. package/src/generated/model/{getFlowDefinition404.ts → getMyUser401.ts} +3 -3
  73. package/src/generated/model/{getFlowDefinition404Details.ts → getMyUser401Details.ts} +1 -1
  74. package/src/generated/model/getMyUser404.ts +24 -0
  75. package/src/generated/model/{deleteFlowDefinition404.ts → getMyUserDefault.ts} +3 -3
  76. package/src/generated/model/{deleteFlowDefinition404Details.ts → getMyUserDefaultDetails.ts} +1 -1
  77. package/src/generated/model/index.ts +74 -26
  78. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +1 -1
  79. package/src/generated/model/listFlowDefinitionsParams.ts +1 -1
  80. package/src/generated/model/setUserPassword400.ts +20 -0
  81. package/{dist/generated/model/getLive4xxDetails.d.ts → src/generated/model/setUserPassword400Details.ts} +2 -4
  82. package/src/generated/model/setUserPassword404.ts +20 -0
  83. package/{dist/generated/model/getTeam404Details.d.ts → src/generated/model/setUserPassword404Details.ts} +2 -4
  84. package/src/generated/model/setUserPassword500.ts +20 -0
  85. package/src/generated/model/setUserPassword500Details.ts +12 -0
  86. package/src/generated/model/setUserPasswordBody.ts +19 -0
  87. package/src/generated/model/setUserPasswordDefault.ts +20 -0
  88. package/src/generated/model/setUserPasswordDefaultDetails.ts +12 -0
  89. package/src/generated/model/setUserPasswordParams.ts +15 -0
  90. package/src/generated/model/submitFlowStep200.ts +3 -2
  91. package/src/generated/model/submitFlowStep200Step.ts +13 -12
  92. package/src/generated/model/{getFlowStep200StepActions.ts → submitFlowStep200StepActionsItem.ts} +9 -9
  93. package/src/generated/model/submitFlowStep200StepFieldsItem.ts +46 -0
  94. package/src/generated/model/submitFlowStep200StepFieldsItemType.ts +31 -0
  95. package/src/generated/model/{submitFlowStep200StepFieldsValidation.ts → submitFlowStep200StepFieldsItemValidation.ts} +9 -3
  96. package/src/generated/model/{createFlow201StepFieldsValidationFormat.ts → submitFlowStep200StepFieldsItemValidationFormat.ts} +3 -3
  97. package/src/generated/model/submitFlowStep400.ts +3 -2
  98. package/src/generated/model/submitFlowStep400Step.ts +13 -12
  99. package/src/generated/model/{submitFlowStep200StepActions.ts → submitFlowStep400StepActionsItem.ts} +9 -9
  100. package/src/generated/model/submitFlowStep400StepFieldsItem.ts +46 -0
  101. package/src/generated/model/submitFlowStep400StepFieldsItemType.ts +31 -0
  102. package/src/generated/model/{submitFlowStep400StepFieldsValidation.ts → submitFlowStep400StepFieldsItemValidation.ts} +9 -3
  103. package/src/generated/model/{getFlowStep200StepFieldsValidationFormat.ts → submitFlowStep400StepFieldsItemValidationFormat.ts} +3 -3
  104. package/src/generated/model/updateFlowDefinition200.ts +11 -144
  105. package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +58 -0
  106. package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +21 -0
  107. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
  108. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +28 -0
  109. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
  110. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
  111. package/{dist/generated/model/submitFlowStep400StepGatesConfig.d.ts → src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts} +2 -4
  112. package/{dist/generated/model/submitFlowStep200StepGatesKind.d.ts → src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts} +7 -5
  113. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
  114. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
  115. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
  116. package/src/generated/model/updateFlowDefinitionBodyStepsItem.ts +6 -6
  117. package/src/generated/model/updateFlowDefinitionBodyStepsItemActionsItem.ts +28 -0
  118. package/src/generated/model/updateFlowDefinitionBodyStepsItemTransitions.ts +1 -1
  119. package/{dist/generated/model/createSchema201.d.ts → src/generated/model/updateFlowDefinitionParams.ts} +7 -4
  120. package/src/runtime/config.spec.ts +41 -0
  121. package/src/runtime/config.ts +46 -18
  122. package/dist/generated/endpoints/zitadelNextGen.d.mts.map +0 -1
  123. package/dist/generated/endpoints/zitadelNextGen.d.ts +0 -391
  124. package/dist/generated/endpoints/zitadelNextGen.d.ts.map +0 -1
  125. package/dist/generated/endpoints/zitadelNextGen.msw.d.ts +0 -79
  126. package/dist/generated/endpoints/zitadelNextGen.msw.d.ts.map +0 -1
  127. package/dist/generated/endpoints/zitadelNextGen.zod.d.ts +0 -1535
  128. package/dist/generated/endpoints/zitadelNextGen.zod.d.ts.map +0 -1
  129. package/dist/generated/model/authorizeDevice200.d.ts +0 -30
  130. package/dist/generated/model/authorizeDevice200.d.ts.map +0 -1
  131. package/dist/generated/model/authorizeDevice400.d.ts +0 -20
  132. package/dist/generated/model/authorizeDevice400.d.ts.map +0 -1
  133. package/dist/generated/model/authorizeDevice400Details.d.ts +0 -14
  134. package/dist/generated/model/authorizeDevice400Details.d.ts.map +0 -1
  135. package/dist/generated/model/authorizeDeviceDefault.d.ts +0 -20
  136. package/dist/generated/model/authorizeDeviceDefault.d.ts.map +0 -1
  137. package/dist/generated/model/authorizeDeviceDefaultDetails.d.ts +0 -14
  138. package/dist/generated/model/authorizeDeviceDefaultDetails.d.ts.map +0 -1
  139. package/dist/generated/model/authorizeDeviceParams.d.ts +0 -25
  140. package/dist/generated/model/authorizeDeviceParams.d.ts.map +0 -1
  141. package/dist/generated/model/authorizeGet400.d.ts +0 -20
  142. package/dist/generated/model/authorizeGet400.d.ts.map +0 -1
  143. package/dist/generated/model/authorizeGet400Details.d.ts +0 -14
  144. package/dist/generated/model/authorizeGet400Details.d.ts.map +0 -1
  145. package/dist/generated/model/authorizeGetDefault.d.ts +0 -20
  146. package/dist/generated/model/authorizeGetDefault.d.ts.map +0 -1
  147. package/dist/generated/model/authorizeGetDefaultDetails.d.ts +0 -14
  148. package/dist/generated/model/authorizeGetDefaultDetails.d.ts.map +0 -1
  149. package/dist/generated/model/authorizeGetParams.d.ts +0 -136
  150. package/dist/generated/model/authorizeGetParams.d.ts.map +0 -1
  151. package/dist/generated/model/createAuthAttempt201.d.ts +0 -70
  152. package/dist/generated/model/createAuthAttempt201.d.ts.map +0 -1
  153. package/dist/generated/model/createAuthAttempt201ChallengesItem.d.ts +0 -43
  154. package/dist/generated/model/createAuthAttempt201ChallengesItem.d.ts.map +0 -1
  155. package/dist/generated/model/createAuthAttempt201ChallengesItemMethod.d.ts +0 -17
  156. package/dist/generated/model/createAuthAttempt201ChallengesItemMethod.d.ts.map +0 -1
  157. package/dist/generated/model/createAuthAttempt201ChallengesItemPayload.d.ts +0 -36
  158. package/dist/generated/model/createAuthAttempt201ChallengesItemPayload.d.ts.map +0 -1
  159. package/dist/generated/model/createAuthAttempt201ChallengesItemState.d.ts +0 -21
  160. package/dist/generated/model/createAuthAttempt201ChallengesItemState.d.ts.map +0 -1
  161. package/dist/generated/model/createAuthAttempt201CompletedFactorsItem.d.ts +0 -27
  162. package/dist/generated/model/createAuthAttempt201CompletedFactorsItem.d.ts.map +0 -1
  163. package/dist/generated/model/createAuthAttempt201CompletedFactorsItemMethod.d.ts +0 -17
  164. package/dist/generated/model/createAuthAttempt201CompletedFactorsItemMethod.d.ts.map +0 -1
  165. package/dist/generated/model/createAuthAttempt201CompletedFactorsItemPayload.d.ts +0 -32
  166. package/dist/generated/model/createAuthAttempt201CompletedFactorsItemPayload.d.ts.map +0 -1
  167. package/dist/generated/model/createAuthAttempt201RequiredFactorsItem.d.ts +0 -17
  168. package/dist/generated/model/createAuthAttempt201RequiredFactorsItem.d.ts.map +0 -1
  169. package/dist/generated/model/createAuthAttempt201State.d.ts +0 -23
  170. package/dist/generated/model/createAuthAttempt201State.d.ts.map +0 -1
  171. package/dist/generated/model/createAuthAttemptBody.d.ts +0 -24
  172. package/dist/generated/model/createAuthAttemptBody.d.ts.map +0 -1
  173. package/dist/generated/model/createAuthAttemptDefault.d.ts +0 -31
  174. package/dist/generated/model/createAuthAttemptDefault.d.ts.map +0 -1
  175. package/dist/generated/model/createFlow201.d.ts +0 -42
  176. package/dist/generated/model/createFlow201.d.ts.map +0 -1
  177. package/dist/generated/model/createFlow201Branding.d.ts +0 -33
  178. package/dist/generated/model/createFlow201Branding.d.ts.map +0 -1
  179. package/dist/generated/model/createFlow201BrandingLayout.d.ts +0 -19
  180. package/dist/generated/model/createFlow201BrandingLayout.d.ts.map +0 -1
  181. package/dist/generated/model/createFlow201Step.d.ts +0 -64
  182. package/dist/generated/model/createFlow201Step.d.ts.map +0 -1
  183. package/dist/generated/model/createFlow201StepActions.d.ts +0 -28
  184. package/dist/generated/model/createFlow201StepActions.d.ts.map +0 -1
  185. package/dist/generated/model/createFlow201StepChallenge.d.ts +0 -34
  186. package/dist/generated/model/createFlow201StepChallenge.d.ts.map +0 -1
  187. package/dist/generated/model/createFlow201StepChallengeMethod.d.ts +0 -15
  188. package/dist/generated/model/createFlow201StepChallengeMethod.d.ts.map +0 -1
  189. package/dist/generated/model/createFlow201StepChallengeOptions.d.ts +0 -18
  190. package/dist/generated/model/createFlow201StepChallengeOptions.d.ts.map +0 -1
  191. package/dist/generated/model/createFlow201StepComplete.d.ts +0 -19
  192. package/dist/generated/model/createFlow201StepComplete.d.ts.map +0 -1
  193. package/dist/generated/model/createFlow201StepFields.d.ts +0 -45
  194. package/dist/generated/model/createFlow201StepFields.d.ts.map +0 -1
  195. package/dist/generated/model/createFlow201StepFieldsType.d.ts +0 -26
  196. package/dist/generated/model/createFlow201StepFieldsType.d.ts.map +0 -1
  197. package/dist/generated/model/createFlow201StepFieldsValidation.d.ts +0 -39
  198. package/dist/generated/model/createFlow201StepFieldsValidation.d.ts.map +0 -1
  199. package/dist/generated/model/createFlow201StepFieldsValidationFormat.d.ts +0 -23
  200. package/dist/generated/model/createFlow201StepFieldsValidationFormat.d.ts.map +0 -1
  201. package/dist/generated/model/createFlow201StepGates.d.ts +0 -34
  202. package/dist/generated/model/createFlow201StepGates.d.ts.map +0 -1
  203. package/dist/generated/model/createFlow201StepGatesConfig.d.ts.map +0 -1
  204. package/dist/generated/model/createFlow201StepGatesKind.d.ts.map +0 -1
  205. package/dist/generated/model/createFlow201StepSsoProvidersItem.d.ts +0 -19
  206. package/dist/generated/model/createFlow201StepSsoProvidersItem.d.ts.map +0 -1
  207. package/dist/generated/model/createFlow201StepTexts.d.ts +0 -19
  208. package/dist/generated/model/createFlow201StepTexts.d.ts.map +0 -1
  209. package/dist/generated/model/createFlow400.d.ts +0 -20
  210. package/dist/generated/model/createFlow400.d.ts.map +0 -1
  211. package/dist/generated/model/createFlow400Details.d.ts +0 -14
  212. package/dist/generated/model/createFlow400Details.d.ts.map +0 -1
  213. package/dist/generated/model/createFlowBody.d.ts +0 -43
  214. package/dist/generated/model/createFlowBody.d.ts.map +0 -1
  215. package/dist/generated/model/createFlowBodyHint.d.ts +0 -18
  216. package/dist/generated/model/createFlowBodyHint.d.ts.map +0 -1
  217. package/dist/generated/model/createFlowBodyPurpose.d.ts +0 -17
  218. package/dist/generated/model/createFlowBodyPurpose.d.ts.map +0 -1
  219. package/dist/generated/model/createFlowDefault.d.ts +0 -20
  220. package/dist/generated/model/createFlowDefault.d.ts.map +0 -1
  221. package/dist/generated/model/createFlowDefaultDetails.d.ts +0 -14
  222. package/dist/generated/model/createFlowDefaultDetails.d.ts.map +0 -1
  223. package/dist/generated/model/createFlowDefinition201.d.ts +0 -162
  224. package/dist/generated/model/createFlowDefinition201.d.ts.map +0 -1
  225. package/dist/generated/model/createFlowDefinition400.d.ts +0 -20
  226. package/dist/generated/model/createFlowDefinition400.d.ts.map +0 -1
  227. package/dist/generated/model/createFlowDefinition400Details.d.ts +0 -14
  228. package/dist/generated/model/createFlowDefinition400Details.d.ts.map +0 -1
  229. package/dist/generated/model/createFlowDefinition409.d.ts +0 -20
  230. package/dist/generated/model/createFlowDefinition409.d.ts.map +0 -1
  231. package/dist/generated/model/createFlowDefinition409Details.d.ts +0 -14
  232. package/dist/generated/model/createFlowDefinition409Details.d.ts.map +0 -1
  233. package/dist/generated/model/createFlowDefinitionBody.d.ts +0 -28
  234. package/dist/generated/model/createFlowDefinitionBody.d.ts.map +0 -1
  235. package/dist/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts +0 -56
  236. package/dist/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts.map +0 -1
  237. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts.map +0 -1
  238. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts +0 -71
  239. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts.map +0 -1
  240. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActions.d.ts +0 -29
  241. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActions.d.ts.map +0 -1
  242. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts +0 -19
  243. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts.map +0 -1
  244. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts +0 -35
  245. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts.map +0 -1
  246. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts +0 -16
  247. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts.map +0 -1
  248. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts +0 -18
  249. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts.map +0 -1
  250. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts +0 -19
  251. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts.map +0 -1
  252. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts +0 -19
  253. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts.map +0 -1
  254. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts +0 -35
  255. package/dist/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts.map +0 -1
  256. package/dist/generated/model/createFlowDefinitionDefault.d.ts +0 -20
  257. package/dist/generated/model/createFlowDefinitionDefault.d.ts.map +0 -1
  258. package/dist/generated/model/createFlowDefinitionDefaultDetails.d.ts +0 -14
  259. package/dist/generated/model/createFlowDefinitionDefaultDetails.d.ts.map +0 -1
  260. package/dist/generated/model/createHandoff200.d.ts +0 -31
  261. package/dist/generated/model/createHandoff200.d.ts.map +0 -1
  262. package/dist/generated/model/createHandoffDefault.d.ts +0 -53
  263. package/dist/generated/model/createHandoffDefault.d.ts.map +0 -1
  264. package/dist/generated/model/createProject201.d.ts +0 -23
  265. package/dist/generated/model/createProject201.d.ts.map +0 -1
  266. package/dist/generated/model/createProject429.d.ts +0 -20
  267. package/dist/generated/model/createProject429.d.ts.map +0 -1
  268. package/dist/generated/model/createProject429Details.d.ts +0 -14
  269. package/dist/generated/model/createProject429Details.d.ts.map +0 -1
  270. package/dist/generated/model/createProjectBody.d.ts +0 -13
  271. package/dist/generated/model/createProjectBody.d.ts.map +0 -1
  272. package/dist/generated/model/createProjectDefault.d.ts +0 -20
  273. package/dist/generated/model/createProjectDefault.d.ts.map +0 -1
  274. package/dist/generated/model/createProjectDefaultDetails.d.ts +0 -14
  275. package/dist/generated/model/createProjectDefaultDetails.d.ts.map +0 -1
  276. package/dist/generated/model/createSchema201.d.ts.map +0 -1
  277. package/dist/generated/model/createSchema400.d.ts +0 -20
  278. package/dist/generated/model/createSchema400.d.ts.map +0 -1
  279. package/dist/generated/model/createSchema400Details.d.ts +0 -14
  280. package/dist/generated/model/createSchema400Details.d.ts.map +0 -1
  281. package/dist/generated/model/createSchema409.d.ts +0 -20
  282. package/dist/generated/model/createSchema409.d.ts.map +0 -1
  283. package/dist/generated/model/createSchema409Details.d.ts +0 -14
  284. package/dist/generated/model/createSchema409Details.d.ts.map +0 -1
  285. package/dist/generated/model/createSchemaBody.d.ts +0 -90
  286. package/dist/generated/model/createSchemaBody.d.ts.map +0 -1
  287. package/dist/generated/model/createSchemaDefault.d.ts +0 -20
  288. package/dist/generated/model/createSchemaDefault.d.ts.map +0 -1
  289. package/dist/generated/model/createSchemaDefaultDetails.d.ts +0 -14
  290. package/dist/generated/model/createSchemaDefaultDetails.d.ts.map +0 -1
  291. package/dist/generated/model/createSchemaParams.d.ts +0 -20
  292. package/dist/generated/model/createSchemaParams.d.ts.map +0 -1
  293. package/dist/generated/model/createSession201.d.ts +0 -29
  294. package/dist/generated/model/createSession201.d.ts.map +0 -1
  295. package/dist/generated/model/createSession201Session.d.ts +0 -63
  296. package/dist/generated/model/createSession201Session.d.ts.map +0 -1
  297. package/dist/generated/model/createSession201SessionFactors.d.ts +0 -18
  298. package/dist/generated/model/createSession201SessionFactors.d.ts.map +0 -1
  299. package/dist/generated/model/createSession201SessionFactorsItem.d.ts +0 -27
  300. package/dist/generated/model/createSession201SessionFactorsItem.d.ts.map +0 -1
  301. package/dist/generated/model/createSession201SessionFactorsItemMethod.d.ts +0 -17
  302. package/dist/generated/model/createSession201SessionFactorsItemMethod.d.ts.map +0 -1
  303. package/dist/generated/model/createSession201SessionFactorsItemPayload.d.ts +0 -32
  304. package/dist/generated/model/createSession201SessionFactorsItemPayload.d.ts.map +0 -1
  305. package/dist/generated/model/createSession201SessionMetadata.d.ts +0 -14
  306. package/dist/generated/model/createSession201SessionMetadata.d.ts.map +0 -1
  307. package/dist/generated/model/createSession201SessionState.d.ts +0 -23
  308. package/dist/generated/model/createSession201SessionState.d.ts.map +0 -1
  309. package/dist/generated/model/createSession201SessionUserAgent.d.ts +0 -18
  310. package/dist/generated/model/createSession201SessionUserAgent.d.ts.map +0 -1
  311. package/dist/generated/model/createSession400.d.ts +0 -20
  312. package/dist/generated/model/createSession400.d.ts.map +0 -1
  313. package/dist/generated/model/createSession400Details.d.ts +0 -14
  314. package/dist/generated/model/createSession400Details.d.ts.map +0 -1
  315. package/dist/generated/model/createSessionBody.d.ts +0 -21
  316. package/dist/generated/model/createSessionBody.d.ts.map +0 -1
  317. package/dist/generated/model/createSessionBodyUserAgent.d.ts +0 -21
  318. package/dist/generated/model/createSessionBodyUserAgent.d.ts.map +0 -1
  319. package/dist/generated/model/createSessionDefault.d.ts +0 -20
  320. package/dist/generated/model/createSessionDefault.d.ts.map +0 -1
  321. package/dist/generated/model/createSessionDefaultDetails.d.ts +0 -14
  322. package/dist/generated/model/createSessionDefaultDetails.d.ts.map +0 -1
  323. package/dist/generated/model/createTeam201.d.ts +0 -14
  324. package/dist/generated/model/createTeam201.d.ts.map +0 -1
  325. package/dist/generated/model/createTeam400.d.ts +0 -20
  326. package/dist/generated/model/createTeam400.d.ts.map +0 -1
  327. package/dist/generated/model/createTeam400Details.d.ts +0 -14
  328. package/dist/generated/model/createTeam400Details.d.ts.map +0 -1
  329. package/dist/generated/model/createTeam429.d.ts +0 -20
  330. package/dist/generated/model/createTeam429.d.ts.map +0 -1
  331. package/dist/generated/model/createTeam429Details.d.ts +0 -14
  332. package/dist/generated/model/createTeam429Details.d.ts.map +0 -1
  333. package/dist/generated/model/createTeamBody.d.ts.map +0 -1
  334. package/dist/generated/model/createTeamDefault.d.ts +0 -20
  335. package/dist/generated/model/createTeamDefault.d.ts.map +0 -1
  336. package/dist/generated/model/createTeamDefaultDetails.d.ts +0 -14
  337. package/dist/generated/model/createTeamDefaultDetails.d.ts.map +0 -1
  338. package/dist/generated/model/createTeamParams.d.ts +0 -15
  339. package/dist/generated/model/createTeamParams.d.ts.map +0 -1
  340. package/dist/generated/model/createUser201.d.ts +0 -18
  341. package/dist/generated/model/createUser201.d.ts.map +0 -1
  342. package/dist/generated/model/createUser400.d.ts +0 -20
  343. package/dist/generated/model/createUser400.d.ts.map +0 -1
  344. package/dist/generated/model/createUser400Details.d.ts +0 -14
  345. package/dist/generated/model/createUser400Details.d.ts.map +0 -1
  346. package/dist/generated/model/createUser401.d.ts +0 -20
  347. package/dist/generated/model/createUser401.d.ts.map +0 -1
  348. package/dist/generated/model/createUser401Details.d.ts +0 -14
  349. package/dist/generated/model/createUser401Details.d.ts.map +0 -1
  350. package/dist/generated/model/createUser403.d.ts +0 -20
  351. package/dist/generated/model/createUser403.d.ts.map +0 -1
  352. package/dist/generated/model/createUser403Details.d.ts +0 -14
  353. package/dist/generated/model/createUser403Details.d.ts.map +0 -1
  354. package/dist/generated/model/createUser409.d.ts +0 -20
  355. package/dist/generated/model/createUser409.d.ts.map +0 -1
  356. package/dist/generated/model/createUser409Details.d.ts +0 -14
  357. package/dist/generated/model/createUser409Details.d.ts.map +0 -1
  358. package/dist/generated/model/createUserBody.d.ts +0 -18
  359. package/dist/generated/model/createUserBody.d.ts.map +0 -1
  360. package/dist/generated/model/createUserDefault.d.ts +0 -20
  361. package/dist/generated/model/createUserDefault.d.ts.map +0 -1
  362. package/dist/generated/model/createUserDefaultDetails.d.ts +0 -14
  363. package/dist/generated/model/createUserDefaultDetails.d.ts.map +0 -1
  364. package/dist/generated/model/createUserParams.d.ts +0 -20
  365. package/dist/generated/model/createUserParams.d.ts.map +0 -1
  366. package/dist/generated/model/deleteFlowDefinition404.d.ts +0 -20
  367. package/dist/generated/model/deleteFlowDefinition404.d.ts.map +0 -1
  368. package/dist/generated/model/deleteFlowDefinition404Details.d.ts +0 -14
  369. package/dist/generated/model/deleteFlowDefinition404Details.d.ts.map +0 -1
  370. package/dist/generated/model/deleteFlowDefinitionDefault.d.ts +0 -20
  371. package/dist/generated/model/deleteFlowDefinitionDefault.d.ts.map +0 -1
  372. package/dist/generated/model/deleteFlowDefinitionDefaultDetails.d.ts +0 -14
  373. package/dist/generated/model/deleteFlowDefinitionDefaultDetails.d.ts.map +0 -1
  374. package/dist/generated/model/endSession400.d.ts +0 -20
  375. package/dist/generated/model/endSession400.d.ts.map +0 -1
  376. package/dist/generated/model/endSession400Details.d.ts +0 -14
  377. package/dist/generated/model/endSession400Details.d.ts.map +0 -1
  378. package/dist/generated/model/endSessionDefault.d.ts +0 -20
  379. package/dist/generated/model/endSessionDefault.d.ts.map +0 -1
  380. package/dist/generated/model/endSessionDefaultDetails.d.ts +0 -14
  381. package/dist/generated/model/endSessionDefaultDetails.d.ts.map +0 -1
  382. package/dist/generated/model/endSessionParams.d.ts +0 -57
  383. package/dist/generated/model/endSessionParams.d.ts.map +0 -1
  384. package/dist/generated/model/exchangeHandoff200.d.ts +0 -29
  385. package/dist/generated/model/exchangeHandoff200.d.ts.map +0 -1
  386. package/dist/generated/model/exchangeHandoff200Session.d.ts +0 -63
  387. package/dist/generated/model/exchangeHandoff200Session.d.ts.map +0 -1
  388. package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts +0 -18
  389. package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts.map +0 -1
  390. package/dist/generated/model/exchangeHandoff200SessionFactorsItem.d.ts +0 -27
  391. package/dist/generated/model/exchangeHandoff200SessionFactorsItem.d.ts.map +0 -1
  392. package/dist/generated/model/exchangeHandoff200SessionFactorsItemMethod.d.ts +0 -17
  393. package/dist/generated/model/exchangeHandoff200SessionFactorsItemMethod.d.ts.map +0 -1
  394. package/dist/generated/model/exchangeHandoff200SessionFactorsItemPayload.d.ts +0 -32
  395. package/dist/generated/model/exchangeHandoff200SessionFactorsItemPayload.d.ts.map +0 -1
  396. package/dist/generated/model/exchangeHandoff200SessionMetadata.d.ts +0 -14
  397. package/dist/generated/model/exchangeHandoff200SessionMetadata.d.ts.map +0 -1
  398. package/dist/generated/model/exchangeHandoff200SessionState.d.ts +0 -23
  399. package/dist/generated/model/exchangeHandoff200SessionState.d.ts.map +0 -1
  400. package/dist/generated/model/exchangeHandoff200SessionUserAgent.d.ts +0 -18
  401. package/dist/generated/model/exchangeHandoff200SessionUserAgent.d.ts.map +0 -1
  402. package/dist/generated/model/exchangeHandoff400.d.ts +0 -20
  403. package/dist/generated/model/exchangeHandoff400.d.ts.map +0 -1
  404. package/dist/generated/model/exchangeHandoff400Details.d.ts +0 -14
  405. package/dist/generated/model/exchangeHandoff400Details.d.ts.map +0 -1
  406. package/dist/generated/model/exchangeHandoff401.d.ts +0 -20
  407. package/dist/generated/model/exchangeHandoff401.d.ts.map +0 -1
  408. package/dist/generated/model/exchangeHandoff401Details.d.ts +0 -14
  409. package/dist/generated/model/exchangeHandoff401Details.d.ts.map +0 -1
  410. package/dist/generated/model/exchangeHandoff410.d.ts +0 -20
  411. package/dist/generated/model/exchangeHandoff410.d.ts.map +0 -1
  412. package/dist/generated/model/exchangeHandoff410Details.d.ts +0 -14
  413. package/dist/generated/model/exchangeHandoff410Details.d.ts.map +0 -1
  414. package/dist/generated/model/exchangeHandoffBody.d.ts +0 -21
  415. package/dist/generated/model/exchangeHandoffBody.d.ts.map +0 -1
  416. package/dist/generated/model/exchangeHandoffDefault.d.ts +0 -20
  417. package/dist/generated/model/exchangeHandoffDefault.d.ts.map +0 -1
  418. package/dist/generated/model/exchangeHandoffDefaultDetails.d.ts +0 -14
  419. package/dist/generated/model/exchangeHandoffDefaultDetails.d.ts.map +0 -1
  420. package/dist/generated/model/exchangeHandoffParams.d.ts +0 -15
  421. package/dist/generated/model/exchangeHandoffParams.d.ts.map +0 -1
  422. package/dist/generated/model/getAuthAttempt200.d.ts +0 -70
  423. package/dist/generated/model/getAuthAttempt200.d.ts.map +0 -1
  424. package/dist/generated/model/getAuthAttempt200ChallengesItem.d.ts +0 -43
  425. package/dist/generated/model/getAuthAttempt200ChallengesItem.d.ts.map +0 -1
  426. package/dist/generated/model/getAuthAttempt200ChallengesItemMethod.d.ts +0 -17
  427. package/dist/generated/model/getAuthAttempt200ChallengesItemMethod.d.ts.map +0 -1
  428. package/dist/generated/model/getAuthAttempt200ChallengesItemPayload.d.ts +0 -36
  429. package/dist/generated/model/getAuthAttempt200ChallengesItemPayload.d.ts.map +0 -1
  430. package/dist/generated/model/getAuthAttempt200ChallengesItemState.d.ts +0 -21
  431. package/dist/generated/model/getAuthAttempt200ChallengesItemState.d.ts.map +0 -1
  432. package/dist/generated/model/getAuthAttempt200CompletedFactorsItem.d.ts +0 -27
  433. package/dist/generated/model/getAuthAttempt200CompletedFactorsItem.d.ts.map +0 -1
  434. package/dist/generated/model/getAuthAttempt200CompletedFactorsItemMethod.d.ts +0 -17
  435. package/dist/generated/model/getAuthAttempt200CompletedFactorsItemMethod.d.ts.map +0 -1
  436. package/dist/generated/model/getAuthAttempt200CompletedFactorsItemPayload.d.ts +0 -32
  437. package/dist/generated/model/getAuthAttempt200CompletedFactorsItemPayload.d.ts.map +0 -1
  438. package/dist/generated/model/getAuthAttempt200RequiredFactorsItem.d.ts +0 -17
  439. package/dist/generated/model/getAuthAttempt200RequiredFactorsItem.d.ts.map +0 -1
  440. package/dist/generated/model/getAuthAttempt200State.d.ts +0 -23
  441. package/dist/generated/model/getAuthAttempt200State.d.ts.map +0 -1
  442. package/dist/generated/model/getAuthAttemptDefault.d.ts +0 -31
  443. package/dist/generated/model/getAuthAttemptDefault.d.ts.map +0 -1
  444. package/dist/generated/model/getFlowDefinition200.d.ts +0 -162
  445. package/dist/generated/model/getFlowDefinition200.d.ts.map +0 -1
  446. package/dist/generated/model/getFlowDefinition404.d.ts +0 -20
  447. package/dist/generated/model/getFlowDefinition404.d.ts.map +0 -1
  448. package/dist/generated/model/getFlowDefinition404Details.d.ts +0 -14
  449. package/dist/generated/model/getFlowDefinition404Details.d.ts.map +0 -1
  450. package/dist/generated/model/getFlowDefinitionDefault.d.ts +0 -20
  451. package/dist/generated/model/getFlowDefinitionDefault.d.ts.map +0 -1
  452. package/dist/generated/model/getFlowDefinitionDefaultDetails.d.ts +0 -14
  453. package/dist/generated/model/getFlowDefinitionDefaultDetails.d.ts.map +0 -1
  454. package/dist/generated/model/getFlowStep200.d.ts +0 -42
  455. package/dist/generated/model/getFlowStep200.d.ts.map +0 -1
  456. package/dist/generated/model/getFlowStep200Branding.d.ts +0 -33
  457. package/dist/generated/model/getFlowStep200Branding.d.ts.map +0 -1
  458. package/dist/generated/model/getFlowStep200BrandingLayout.d.ts +0 -19
  459. package/dist/generated/model/getFlowStep200BrandingLayout.d.ts.map +0 -1
  460. package/dist/generated/model/getFlowStep200Step.d.ts +0 -64
  461. package/dist/generated/model/getFlowStep200Step.d.ts.map +0 -1
  462. package/dist/generated/model/getFlowStep200StepActions.d.ts +0 -28
  463. package/dist/generated/model/getFlowStep200StepActions.d.ts.map +0 -1
  464. package/dist/generated/model/getFlowStep200StepChallenge.d.ts +0 -34
  465. package/dist/generated/model/getFlowStep200StepChallenge.d.ts.map +0 -1
  466. package/dist/generated/model/getFlowStep200StepChallengeMethod.d.ts +0 -15
  467. package/dist/generated/model/getFlowStep200StepChallengeMethod.d.ts.map +0 -1
  468. package/dist/generated/model/getFlowStep200StepChallengeOptions.d.ts +0 -18
  469. package/dist/generated/model/getFlowStep200StepChallengeOptions.d.ts.map +0 -1
  470. package/dist/generated/model/getFlowStep200StepComplete.d.ts +0 -19
  471. package/dist/generated/model/getFlowStep200StepComplete.d.ts.map +0 -1
  472. package/dist/generated/model/getFlowStep200StepFields.d.ts +0 -45
  473. package/dist/generated/model/getFlowStep200StepFields.d.ts.map +0 -1
  474. package/dist/generated/model/getFlowStep200StepFieldsType.d.ts +0 -26
  475. package/dist/generated/model/getFlowStep200StepFieldsType.d.ts.map +0 -1
  476. package/dist/generated/model/getFlowStep200StepFieldsValidation.d.ts +0 -39
  477. package/dist/generated/model/getFlowStep200StepFieldsValidation.d.ts.map +0 -1
  478. package/dist/generated/model/getFlowStep200StepFieldsValidationFormat.d.ts +0 -23
  479. package/dist/generated/model/getFlowStep200StepFieldsValidationFormat.d.ts.map +0 -1
  480. package/dist/generated/model/getFlowStep200StepGates.d.ts +0 -34
  481. package/dist/generated/model/getFlowStep200StepGates.d.ts.map +0 -1
  482. package/dist/generated/model/getFlowStep200StepGatesConfig.d.ts.map +0 -1
  483. package/dist/generated/model/getFlowStep200StepGatesKind.d.ts.map +0 -1
  484. package/dist/generated/model/getFlowStep200StepSsoProvidersItem.d.ts +0 -19
  485. package/dist/generated/model/getFlowStep200StepSsoProvidersItem.d.ts.map +0 -1
  486. package/dist/generated/model/getFlowStep200StepTexts.d.ts +0 -19
  487. package/dist/generated/model/getFlowStep200StepTexts.d.ts.map +0 -1
  488. package/dist/generated/model/getFlowStep404.d.ts +0 -20
  489. package/dist/generated/model/getFlowStep404.d.ts.map +0 -1
  490. package/dist/generated/model/getFlowStep404Details.d.ts +0 -14
  491. package/dist/generated/model/getFlowStep404Details.d.ts.map +0 -1
  492. package/dist/generated/model/getFlowStep410.d.ts +0 -20
  493. package/dist/generated/model/getFlowStep410.d.ts.map +0 -1
  494. package/dist/generated/model/getFlowStep410Details.d.ts +0 -14
  495. package/dist/generated/model/getFlowStep410Details.d.ts.map +0 -1
  496. package/dist/generated/model/getFlowStepDefault.d.ts +0 -20
  497. package/dist/generated/model/getFlowStepDefault.d.ts.map +0 -1
  498. package/dist/generated/model/getFlowStepDefaultDetails.d.ts +0 -14
  499. package/dist/generated/model/getFlowStepDefaultDetails.d.ts.map +0 -1
  500. package/dist/generated/model/getHealth4xx.d.ts +0 -20
  501. package/dist/generated/model/getHealth4xx.d.ts.map +0 -1
  502. package/dist/generated/model/getHealth4xxDetails.d.ts +0 -14
  503. package/dist/generated/model/getHealth4xxDetails.d.ts.map +0 -1
  504. package/dist/generated/model/getHealthDefault.d.ts +0 -20
  505. package/dist/generated/model/getHealthDefault.d.ts.map +0 -1
  506. package/dist/generated/model/getHealthDefaultDetails.d.ts +0 -14
  507. package/dist/generated/model/getHealthDefaultDetails.d.ts.map +0 -1
  508. package/dist/generated/model/getKeys200.d.ts +0 -12
  509. package/dist/generated/model/getKeys200.d.ts.map +0 -1
  510. package/dist/generated/model/getKeys200KeysItem.d.ts +0 -30
  511. package/dist/generated/model/getKeys200KeysItem.d.ts.map +0 -1
  512. package/dist/generated/model/getKeys4xx.d.ts +0 -20
  513. package/dist/generated/model/getKeys4xx.d.ts.map +0 -1
  514. package/dist/generated/model/getKeys4xxDetails.d.ts +0 -14
  515. package/dist/generated/model/getKeys4xxDetails.d.ts.map +0 -1
  516. package/dist/generated/model/getKeysDefault.d.ts +0 -20
  517. package/dist/generated/model/getKeysDefault.d.ts.map +0 -1
  518. package/dist/generated/model/getKeysDefaultDetails.d.ts +0 -14
  519. package/dist/generated/model/getKeysDefaultDetails.d.ts.map +0 -1
  520. package/dist/generated/model/getLive4xx.d.ts +0 -20
  521. package/dist/generated/model/getLive4xx.d.ts.map +0 -1
  522. package/dist/generated/model/getLive4xxDetails.d.ts.map +0 -1
  523. package/dist/generated/model/getLiveDefault.d.ts +0 -20
  524. package/dist/generated/model/getLiveDefault.d.ts.map +0 -1
  525. package/dist/generated/model/getLiveDefaultDetails.d.ts +0 -14
  526. package/dist/generated/model/getLiveDefaultDetails.d.ts.map +0 -1
  527. package/dist/generated/model/getMySession200.d.ts +0 -63
  528. package/dist/generated/model/getMySession200.d.ts.map +0 -1
  529. package/dist/generated/model/getMySession200Factors.d.ts +0 -18
  530. package/dist/generated/model/getMySession200Factors.d.ts.map +0 -1
  531. package/dist/generated/model/getMySession200FactorsItem.d.ts +0 -27
  532. package/dist/generated/model/getMySession200FactorsItem.d.ts.map +0 -1
  533. package/dist/generated/model/getMySession200FactorsItemMethod.d.ts +0 -17
  534. package/dist/generated/model/getMySession200FactorsItemMethod.d.ts.map +0 -1
  535. package/dist/generated/model/getMySession200FactorsItemPayload.d.ts +0 -32
  536. package/dist/generated/model/getMySession200FactorsItemPayload.d.ts.map +0 -1
  537. package/dist/generated/model/getMySession200Metadata.d.ts +0 -14
  538. package/dist/generated/model/getMySession200Metadata.d.ts.map +0 -1
  539. package/dist/generated/model/getMySession200State.d.ts +0 -23
  540. package/dist/generated/model/getMySession200State.d.ts.map +0 -1
  541. package/dist/generated/model/getMySession200UserAgent.d.ts +0 -18
  542. package/dist/generated/model/getMySession200UserAgent.d.ts.map +0 -1
  543. package/dist/generated/model/getMySession401.d.ts +0 -20
  544. package/dist/generated/model/getMySession401.d.ts.map +0 -1
  545. package/dist/generated/model/getMySession401Details.d.ts +0 -14
  546. package/dist/generated/model/getMySession401Details.d.ts.map +0 -1
  547. package/dist/generated/model/getMySession404.d.ts +0 -20
  548. package/dist/generated/model/getMySession404.d.ts.map +0 -1
  549. package/dist/generated/model/getMySession404Details.d.ts +0 -14
  550. package/dist/generated/model/getMySession404Details.d.ts.map +0 -1
  551. package/dist/generated/model/getMySessionDefault.d.ts +0 -20
  552. package/dist/generated/model/getMySessionDefault.d.ts.map +0 -1
  553. package/dist/generated/model/getMySessionDefaultDetails.d.ts +0 -14
  554. package/dist/generated/model/getMySessionDefaultDetails.d.ts.map +0 -1
  555. package/dist/generated/model/getOpenIDConfiguration200.d.ts +0 -87
  556. package/dist/generated/model/getOpenIDConfiguration200.d.ts.map +0 -1
  557. package/dist/generated/model/getOpenIDConfiguration200ClaimTypesSupportedItem.d.ts +0 -14
  558. package/dist/generated/model/getOpenIDConfiguration200ClaimTypesSupportedItem.d.ts.map +0 -1
  559. package/dist/generated/model/getOpenIDConfiguration200DisplayValuesSupportedItem.d.ts +0 -15
  560. package/dist/generated/model/getOpenIDConfiguration200DisplayValuesSupportedItem.d.ts.map +0 -1
  561. package/dist/generated/model/getOpenIDConfiguration200SubjectTypesSupportedItem.d.ts +0 -13
  562. package/dist/generated/model/getOpenIDConfiguration200SubjectTypesSupportedItem.d.ts.map +0 -1
  563. package/dist/generated/model/getOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem.d.ts +0 -15
  564. package/dist/generated/model/getOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem.d.ts.map +0 -1
  565. package/dist/generated/model/getOpenIDConfiguration4xx.d.ts +0 -20
  566. package/dist/generated/model/getOpenIDConfiguration4xx.d.ts.map +0 -1
  567. package/dist/generated/model/getOpenIDConfiguration4xxDetails.d.ts +0 -14
  568. package/dist/generated/model/getOpenIDConfiguration4xxDetails.d.ts.map +0 -1
  569. package/dist/generated/model/getOpenIDConfigurationDefault.d.ts +0 -20
  570. package/dist/generated/model/getOpenIDConfigurationDefault.d.ts.map +0 -1
  571. package/dist/generated/model/getOpenIDConfigurationDefaultDetails.d.ts +0 -14
  572. package/dist/generated/model/getOpenIDConfigurationDefaultDetails.d.ts.map +0 -1
  573. package/dist/generated/model/getProject200.d.ts +0 -19
  574. package/dist/generated/model/getProject200.d.ts.map +0 -1
  575. package/dist/generated/model/getProject401.d.ts +0 -20
  576. package/dist/generated/model/getProject401.d.ts.map +0 -1
  577. package/dist/generated/model/getProject401Details.d.ts +0 -14
  578. package/dist/generated/model/getProject401Details.d.ts.map +0 -1
  579. package/dist/generated/model/getProject404.d.ts +0 -20
  580. package/dist/generated/model/getProject404.d.ts.map +0 -1
  581. package/dist/generated/model/getProject404Details.d.ts +0 -14
  582. package/dist/generated/model/getProject404Details.d.ts.map +0 -1
  583. package/dist/generated/model/getProjectDefault.d.ts +0 -20
  584. package/dist/generated/model/getProjectDefault.d.ts.map +0 -1
  585. package/dist/generated/model/getProjectDefaultDetails.d.ts +0 -14
  586. package/dist/generated/model/getProjectDefaultDetails.d.ts.map +0 -1
  587. package/dist/generated/model/getReady4xx.d.ts +0 -20
  588. package/dist/generated/model/getReady4xx.d.ts.map +0 -1
  589. package/dist/generated/model/getReady4xxDetails.d.ts +0 -14
  590. package/dist/generated/model/getReady4xxDetails.d.ts.map +0 -1
  591. package/dist/generated/model/getReadyDefault.d.ts +0 -20
  592. package/dist/generated/model/getReadyDefault.d.ts.map +0 -1
  593. package/dist/generated/model/getReadyDefaultDetails.d.ts +0 -14
  594. package/dist/generated/model/getReadyDefaultDetails.d.ts.map +0 -1
  595. package/dist/generated/model/getSchemaById200.d.ts +0 -85
  596. package/dist/generated/model/getSchemaById200.d.ts.map +0 -1
  597. package/dist/generated/model/getSchemaById400.d.ts +0 -20
  598. package/dist/generated/model/getSchemaById400.d.ts.map +0 -1
  599. package/dist/generated/model/getSchemaById400Details.d.ts +0 -14
  600. package/dist/generated/model/getSchemaById400Details.d.ts.map +0 -1
  601. package/dist/generated/model/getSchemaById404.d.ts +0 -20
  602. package/dist/generated/model/getSchemaById404.d.ts.map +0 -1
  603. package/dist/generated/model/getSchemaById404Details.d.ts +0 -14
  604. package/dist/generated/model/getSchemaById404Details.d.ts.map +0 -1
  605. package/dist/generated/model/getSchemaByIdDefault.d.ts +0 -20
  606. package/dist/generated/model/getSchemaByIdDefault.d.ts.map +0 -1
  607. package/dist/generated/model/getSchemaByIdDefaultDetails.d.ts +0 -14
  608. package/dist/generated/model/getSchemaByIdDefaultDetails.d.ts.map +0 -1
  609. package/dist/generated/model/getSchemaByIdParams.d.ts +0 -20
  610. package/dist/generated/model/getSchemaByIdParams.d.ts.map +0 -1
  611. package/dist/generated/model/getSession200.d.ts +0 -63
  612. package/dist/generated/model/getSession200.d.ts.map +0 -1
  613. package/dist/generated/model/getSession200Factors.d.ts +0 -18
  614. package/dist/generated/model/getSession200Factors.d.ts.map +0 -1
  615. package/dist/generated/model/getSession200FactorsItem.d.ts +0 -27
  616. package/dist/generated/model/getSession200FactorsItem.d.ts.map +0 -1
  617. package/dist/generated/model/getSession200FactorsItemMethod.d.ts +0 -17
  618. package/dist/generated/model/getSession200FactorsItemMethod.d.ts.map +0 -1
  619. package/dist/generated/model/getSession200FactorsItemPayload.d.ts +0 -32
  620. package/dist/generated/model/getSession200FactorsItemPayload.d.ts.map +0 -1
  621. package/dist/generated/model/getSession200Metadata.d.ts +0 -14
  622. package/dist/generated/model/getSession200Metadata.d.ts.map +0 -1
  623. package/dist/generated/model/getSession200State.d.ts +0 -23
  624. package/dist/generated/model/getSession200State.d.ts.map +0 -1
  625. package/dist/generated/model/getSession200UserAgent.d.ts +0 -18
  626. package/dist/generated/model/getSession200UserAgent.d.ts.map +0 -1
  627. package/dist/generated/model/getSession401.d.ts +0 -20
  628. package/dist/generated/model/getSession401.d.ts.map +0 -1
  629. package/dist/generated/model/getSession401Details.d.ts +0 -14
  630. package/dist/generated/model/getSession401Details.d.ts.map +0 -1
  631. package/dist/generated/model/getSession404.d.ts +0 -20
  632. package/dist/generated/model/getSession404.d.ts.map +0 -1
  633. package/dist/generated/model/getSession404Details.d.ts +0 -14
  634. package/dist/generated/model/getSession404Details.d.ts.map +0 -1
  635. package/dist/generated/model/getSessionDefault.d.ts +0 -20
  636. package/dist/generated/model/getSessionDefault.d.ts.map +0 -1
  637. package/dist/generated/model/getSessionDefaultDetails.d.ts +0 -14
  638. package/dist/generated/model/getSessionDefaultDetails.d.ts.map +0 -1
  639. package/dist/generated/model/getSessionParams.d.ts +0 -15
  640. package/dist/generated/model/getSessionParams.d.ts.map +0 -1
  641. package/dist/generated/model/getTeam200.d.ts +0 -19
  642. package/dist/generated/model/getTeam200.d.ts.map +0 -1
  643. package/dist/generated/model/getTeam401.d.ts +0 -20
  644. package/dist/generated/model/getTeam401.d.ts.map +0 -1
  645. package/dist/generated/model/getTeam401Details.d.ts +0 -14
  646. package/dist/generated/model/getTeam401Details.d.ts.map +0 -1
  647. package/dist/generated/model/getTeam404.d.ts +0 -20
  648. package/dist/generated/model/getTeam404.d.ts.map +0 -1
  649. package/dist/generated/model/getTeam404Details.d.ts.map +0 -1
  650. package/dist/generated/model/getTeamDefault.d.ts +0 -20
  651. package/dist/generated/model/getTeamDefault.d.ts.map +0 -1
  652. package/dist/generated/model/getTeamDefaultDetails.d.ts +0 -14
  653. package/dist/generated/model/getTeamDefaultDetails.d.ts.map +0 -1
  654. package/dist/generated/model/getTeamParams.d.ts +0 -15
  655. package/dist/generated/model/getTeamParams.d.ts.map +0 -1
  656. package/dist/generated/model/getToken200.d.ts +0 -18
  657. package/dist/generated/model/getToken200.d.ts.map +0 -1
  658. package/dist/generated/model/getToken4xx.d.ts +0 -20
  659. package/dist/generated/model/getToken4xx.d.ts.map +0 -1
  660. package/dist/generated/model/getToken4xxDetails.d.ts +0 -14
  661. package/dist/generated/model/getToken4xxDetails.d.ts.map +0 -1
  662. package/dist/generated/model/getTokenBody.d.ts +0 -40
  663. package/dist/generated/model/getTokenBody.d.ts.map +0 -1
  664. package/dist/generated/model/getTokenBodyGrantType.d.ts +0 -18
  665. package/dist/generated/model/getTokenBodyGrantType.d.ts.map +0 -1
  666. package/dist/generated/model/getTokenDefault.d.ts +0 -20
  667. package/dist/generated/model/getTokenDefault.d.ts.map +0 -1
  668. package/dist/generated/model/getTokenDefaultDetails.d.ts +0 -14
  669. package/dist/generated/model/getTokenDefaultDetails.d.ts.map +0 -1
  670. package/dist/generated/model/getUserByID200.d.ts.map +0 -1
  671. package/dist/generated/model/getUserByID401.d.ts +0 -20
  672. package/dist/generated/model/getUserByID401.d.ts.map +0 -1
  673. package/dist/generated/model/getUserByID401Details.d.ts +0 -14
  674. package/dist/generated/model/getUserByID401Details.d.ts.map +0 -1
  675. package/dist/generated/model/getUserByID404.d.ts +0 -20
  676. package/dist/generated/model/getUserByID404.d.ts.map +0 -1
  677. package/dist/generated/model/getUserByID404Details.d.ts +0 -14
  678. package/dist/generated/model/getUserByID404Details.d.ts.map +0 -1
  679. package/dist/generated/model/getUserByIDDefault.d.ts +0 -20
  680. package/dist/generated/model/getUserByIDDefault.d.ts.map +0 -1
  681. package/dist/generated/model/getUserByIDDefaultDetails.d.ts +0 -14
  682. package/dist/generated/model/getUserByIDDefaultDetails.d.ts.map +0 -1
  683. package/dist/generated/model/getUserByIDParams.d.ts +0 -20
  684. package/dist/generated/model/getUserByIDParams.d.ts.map +0 -1
  685. package/dist/generated/model/getUserInfo200.d.ts +0 -24
  686. package/dist/generated/model/getUserInfo200.d.ts.map +0 -1
  687. package/dist/generated/model/getUserInfo4xx.d.ts +0 -20
  688. package/dist/generated/model/getUserInfo4xx.d.ts.map +0 -1
  689. package/dist/generated/model/getUserInfo4xxDetails.d.ts +0 -14
  690. package/dist/generated/model/getUserInfo4xxDetails.d.ts.map +0 -1
  691. package/dist/generated/model/getUserInfoDefault.d.ts +0 -20
  692. package/dist/generated/model/getUserInfoDefault.d.ts.map +0 -1
  693. package/dist/generated/model/getUserInfoDefaultDetails.d.ts +0 -14
  694. package/dist/generated/model/getUserInfoDefaultDetails.d.ts.map +0 -1
  695. package/dist/generated/model/index.d.mts.map +0 -1
  696. package/dist/generated/model/index.d.ts +0 -447
  697. package/dist/generated/model/index.d.ts.map +0 -1
  698. package/dist/generated/model/introspect200.d.ts +0 -34
  699. package/dist/generated/model/introspect200.d.ts.map +0 -1
  700. package/dist/generated/model/introspect400.d.ts +0 -20
  701. package/dist/generated/model/introspect400.d.ts.map +0 -1
  702. package/dist/generated/model/introspect400Details.d.ts +0 -14
  703. package/dist/generated/model/introspect400Details.d.ts.map +0 -1
  704. package/dist/generated/model/introspectBody.d.ts +0 -14
  705. package/dist/generated/model/introspectBody.d.ts.map +0 -1
  706. package/dist/generated/model/introspectDefault.d.ts +0 -20
  707. package/dist/generated/model/introspectDefault.d.ts.map +0 -1
  708. package/dist/generated/model/introspectDefaultDetails.d.ts +0 -14
  709. package/dist/generated/model/introspectDefaultDetails.d.ts.map +0 -1
  710. package/dist/generated/model/issueChallenge201.d.ts +0 -43
  711. package/dist/generated/model/issueChallenge201.d.ts.map +0 -1
  712. package/dist/generated/model/issueChallenge201Method.d.ts +0 -17
  713. package/dist/generated/model/issueChallenge201Method.d.ts.map +0 -1
  714. package/dist/generated/model/issueChallenge201Payload.d.ts +0 -36
  715. package/dist/generated/model/issueChallenge201Payload.d.ts.map +0 -1
  716. package/dist/generated/model/issueChallenge201State.d.ts +0 -21
  717. package/dist/generated/model/issueChallenge201State.d.ts.map +0 -1
  718. package/dist/generated/model/issueChallengeBody.d.ts +0 -26
  719. package/dist/generated/model/issueChallengeBody.d.ts.map +0 -1
  720. package/dist/generated/model/issueChallengeBodyMethod.d.ts +0 -17
  721. package/dist/generated/model/issueChallengeBodyMethod.d.ts.map +0 -1
  722. package/dist/generated/model/issueChallengeBodyPasskeyOptions.d.ts +0 -19
  723. package/dist/generated/model/issueChallengeBodyPasskeyOptions.d.ts.map +0 -1
  724. package/dist/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.d.ts +0 -14
  725. package/dist/generated/model/issueChallengeBodyPasskeyOptionsUserVerification.d.ts.map +0 -1
  726. package/dist/generated/model/issueChallengeDefault.d.ts +0 -64
  727. package/dist/generated/model/issueChallengeDefault.d.ts.map +0 -1
  728. package/dist/generated/model/listFlowDefinitions200.d.ts +0 -14
  729. package/dist/generated/model/listFlowDefinitions200.d.ts.map +0 -1
  730. package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts +0 -34
  731. package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts.map +0 -1
  732. package/dist/generated/model/listFlowDefinitions400.d.ts +0 -20
  733. package/dist/generated/model/listFlowDefinitions400.d.ts.map +0 -1
  734. package/dist/generated/model/listFlowDefinitions400Details.d.ts +0 -14
  735. package/dist/generated/model/listFlowDefinitions400Details.d.ts.map +0 -1
  736. package/dist/generated/model/listFlowDefinitionsDefault.d.ts +0 -20
  737. package/dist/generated/model/listFlowDefinitionsDefault.d.ts.map +0 -1
  738. package/dist/generated/model/listFlowDefinitionsDefaultDetails.d.ts +0 -14
  739. package/dist/generated/model/listFlowDefinitionsDefaultDetails.d.ts.map +0 -1
  740. package/dist/generated/model/listFlowDefinitionsParams.d.ts +0 -34
  741. package/dist/generated/model/listFlowDefinitionsParams.d.ts.map +0 -1
  742. package/dist/generated/model/listFlowDefinitionsPurpose.d.ts +0 -17
  743. package/dist/generated/model/listFlowDefinitionsPurpose.d.ts.map +0 -1
  744. package/dist/generated/model/listSessions200.d.ts +0 -19
  745. package/dist/generated/model/listSessions200.d.ts.map +0 -1
  746. package/dist/generated/model/listSessions200SessionsItem.d.ts +0 -63
  747. package/dist/generated/model/listSessions200SessionsItem.d.ts.map +0 -1
  748. package/dist/generated/model/listSessions200SessionsItemFactors.d.ts +0 -18
  749. package/dist/generated/model/listSessions200SessionsItemFactors.d.ts.map +0 -1
  750. package/dist/generated/model/listSessions200SessionsItemFactorsItem.d.ts +0 -27
  751. package/dist/generated/model/listSessions200SessionsItemFactorsItem.d.ts.map +0 -1
  752. package/dist/generated/model/listSessions200SessionsItemFactorsItemMethod.d.ts +0 -17
  753. package/dist/generated/model/listSessions200SessionsItemFactorsItemMethod.d.ts.map +0 -1
  754. package/dist/generated/model/listSessions200SessionsItemFactorsItemPayload.d.ts +0 -32
  755. package/dist/generated/model/listSessions200SessionsItemFactorsItemPayload.d.ts.map +0 -1
  756. package/dist/generated/model/listSessions200SessionsItemMetadata.d.ts +0 -14
  757. package/dist/generated/model/listSessions200SessionsItemMetadata.d.ts.map +0 -1
  758. package/dist/generated/model/listSessions200SessionsItemState.d.ts +0 -23
  759. package/dist/generated/model/listSessions200SessionsItemState.d.ts.map +0 -1
  760. package/dist/generated/model/listSessions200SessionsItemUserAgent.d.ts +0 -18
  761. package/dist/generated/model/listSessions200SessionsItemUserAgent.d.ts.map +0 -1
  762. package/dist/generated/model/listSessions400.d.ts +0 -20
  763. package/dist/generated/model/listSessions400.d.ts.map +0 -1
  764. package/dist/generated/model/listSessions400Details.d.ts +0 -14
  765. package/dist/generated/model/listSessions400Details.d.ts.map +0 -1
  766. package/dist/generated/model/listSessions401.d.ts +0 -20
  767. package/dist/generated/model/listSessions401.d.ts.map +0 -1
  768. package/dist/generated/model/listSessions401Details.d.ts +0 -14
  769. package/dist/generated/model/listSessions401Details.d.ts.map +0 -1
  770. package/dist/generated/model/listSessions403.d.ts +0 -20
  771. package/dist/generated/model/listSessions403.d.ts.map +0 -1
  772. package/dist/generated/model/listSessions403Details.d.ts +0 -14
  773. package/dist/generated/model/listSessions403Details.d.ts.map +0 -1
  774. package/dist/generated/model/listSessionsDefault.d.ts +0 -20
  775. package/dist/generated/model/listSessionsDefault.d.ts.map +0 -1
  776. package/dist/generated/model/listSessionsDefaultDetails.d.ts +0 -14
  777. package/dist/generated/model/listSessionsDefaultDetails.d.ts.map +0 -1
  778. package/dist/generated/model/listSessionsParams.d.ts +0 -39
  779. package/dist/generated/model/listSessionsParams.d.ts.map +0 -1
  780. package/dist/generated/model/listSessionsState.d.ts +0 -15
  781. package/dist/generated/model/listSessionsState.d.ts.map +0 -1
  782. package/dist/generated/model/listUsers200Item.d.ts.map +0 -1
  783. package/dist/generated/model/listUsers400.d.ts +0 -20
  784. package/dist/generated/model/listUsers400.d.ts.map +0 -1
  785. package/dist/generated/model/listUsers400Details.d.ts +0 -14
  786. package/dist/generated/model/listUsers400Details.d.ts.map +0 -1
  787. package/dist/generated/model/listUsers500.d.ts +0 -20
  788. package/dist/generated/model/listUsers500.d.ts.map +0 -1
  789. package/dist/generated/model/listUsers500Details.d.ts +0 -14
  790. package/dist/generated/model/listUsers500Details.d.ts.map +0 -1
  791. package/dist/generated/model/listUsersDefault.d.ts +0 -20
  792. package/dist/generated/model/listUsersDefault.d.ts.map +0 -1
  793. package/dist/generated/model/listUsersDefaultDetails.d.ts +0 -14
  794. package/dist/generated/model/listUsersDefaultDetails.d.ts.map +0 -1
  795. package/dist/generated/model/listUsersParams.d.ts +0 -21
  796. package/dist/generated/model/listUsersParams.d.ts.map +0 -1
  797. package/dist/generated/model/revokeMySession401.d.ts +0 -20
  798. package/dist/generated/model/revokeMySession401.d.ts.map +0 -1
  799. package/dist/generated/model/revokeMySession401Details.d.ts +0 -14
  800. package/dist/generated/model/revokeMySession401Details.d.ts.map +0 -1
  801. package/dist/generated/model/revokeMySession404.d.ts +0 -20
  802. package/dist/generated/model/revokeMySession404.d.ts.map +0 -1
  803. package/dist/generated/model/revokeMySession404Details.d.ts +0 -14
  804. package/dist/generated/model/revokeMySession404Details.d.ts.map +0 -1
  805. package/dist/generated/model/revokeMySession409.d.ts +0 -20
  806. package/dist/generated/model/revokeMySession409.d.ts.map +0 -1
  807. package/dist/generated/model/revokeMySession409Details.d.ts +0 -14
  808. package/dist/generated/model/revokeMySession409Details.d.ts.map +0 -1
  809. package/dist/generated/model/revokeMySessionDefault.d.ts +0 -20
  810. package/dist/generated/model/revokeMySessionDefault.d.ts.map +0 -1
  811. package/dist/generated/model/revokeMySessionDefaultDetails.d.ts +0 -14
  812. package/dist/generated/model/revokeMySessionDefaultDetails.d.ts.map +0 -1
  813. package/dist/generated/model/revokeSession401.d.ts +0 -20
  814. package/dist/generated/model/revokeSession401.d.ts.map +0 -1
  815. package/dist/generated/model/revokeSession401Details.d.ts +0 -14
  816. package/dist/generated/model/revokeSession401Details.d.ts.map +0 -1
  817. package/dist/generated/model/revokeSession404.d.ts +0 -20
  818. package/dist/generated/model/revokeSession404.d.ts.map +0 -1
  819. package/dist/generated/model/revokeSession404Details.d.ts +0 -14
  820. package/dist/generated/model/revokeSession404Details.d.ts.map +0 -1
  821. package/dist/generated/model/revokeSession409.d.ts +0 -20
  822. package/dist/generated/model/revokeSession409.d.ts.map +0 -1
  823. package/dist/generated/model/revokeSession409Details.d.ts +0 -14
  824. package/dist/generated/model/revokeSession409Details.d.ts.map +0 -1
  825. package/dist/generated/model/revokeSessionDefault.d.ts +0 -20
  826. package/dist/generated/model/revokeSessionDefault.d.ts.map +0 -1
  827. package/dist/generated/model/revokeSessionDefaultDetails.d.ts +0 -14
  828. package/dist/generated/model/revokeSessionDefaultDetails.d.ts.map +0 -1
  829. package/dist/generated/model/revokeSessionParams.d.ts +0 -15
  830. package/dist/generated/model/revokeSessionParams.d.ts.map +0 -1
  831. package/dist/generated/model/revokeToken4xx.d.ts +0 -20
  832. package/dist/generated/model/revokeToken4xx.d.ts.map +0 -1
  833. package/dist/generated/model/revokeToken4xxDetails.d.ts +0 -14
  834. package/dist/generated/model/revokeToken4xxDetails.d.ts.map +0 -1
  835. package/dist/generated/model/revokeTokenBody.d.ts +0 -14
  836. package/dist/generated/model/revokeTokenBody.d.ts.map +0 -1
  837. package/dist/generated/model/revokeTokenDefault.d.ts +0 -20
  838. package/dist/generated/model/revokeTokenDefault.d.ts.map +0 -1
  839. package/dist/generated/model/revokeTokenDefaultDetails.d.ts +0 -14
  840. package/dist/generated/model/revokeTokenDefaultDetails.d.ts.map +0 -1
  841. package/dist/generated/model/submitFlowEvent400.d.ts +0 -20
  842. package/dist/generated/model/submitFlowEvent400.d.ts.map +0 -1
  843. package/dist/generated/model/submitFlowEvent400Details.d.ts +0 -14
  844. package/dist/generated/model/submitFlowEvent400Details.d.ts.map +0 -1
  845. package/dist/generated/model/submitFlowEvent404.d.ts +0 -20
  846. package/dist/generated/model/submitFlowEvent404.d.ts.map +0 -1
  847. package/dist/generated/model/submitFlowEvent404Details.d.ts +0 -14
  848. package/dist/generated/model/submitFlowEvent404Details.d.ts.map +0 -1
  849. package/dist/generated/model/submitFlowEventBody.d.ts +0 -17
  850. package/dist/generated/model/submitFlowEventBody.d.ts.map +0 -1
  851. package/dist/generated/model/submitFlowEventBodyPayload.d.ts +0 -14
  852. package/dist/generated/model/submitFlowEventBodyPayload.d.ts.map +0 -1
  853. package/dist/generated/model/submitFlowEventBodyType.d.ts +0 -13
  854. package/dist/generated/model/submitFlowEventBodyType.d.ts.map +0 -1
  855. package/dist/generated/model/submitFlowEventDefault.d.ts +0 -20
  856. package/dist/generated/model/submitFlowEventDefault.d.ts.map +0 -1
  857. package/dist/generated/model/submitFlowEventDefaultDetails.d.ts +0 -14
  858. package/dist/generated/model/submitFlowEventDefaultDetails.d.ts.map +0 -1
  859. package/dist/generated/model/submitFlowStep200.d.ts +0 -42
  860. package/dist/generated/model/submitFlowStep200.d.ts.map +0 -1
  861. package/dist/generated/model/submitFlowStep200Branding.d.ts +0 -33
  862. package/dist/generated/model/submitFlowStep200Branding.d.ts.map +0 -1
  863. package/dist/generated/model/submitFlowStep200BrandingLayout.d.ts +0 -19
  864. package/dist/generated/model/submitFlowStep200BrandingLayout.d.ts.map +0 -1
  865. package/dist/generated/model/submitFlowStep200Step.d.ts +0 -64
  866. package/dist/generated/model/submitFlowStep200Step.d.ts.map +0 -1
  867. package/dist/generated/model/submitFlowStep200StepActions.d.ts +0 -28
  868. package/dist/generated/model/submitFlowStep200StepActions.d.ts.map +0 -1
  869. package/dist/generated/model/submitFlowStep200StepChallenge.d.ts +0 -34
  870. package/dist/generated/model/submitFlowStep200StepChallenge.d.ts.map +0 -1
  871. package/dist/generated/model/submitFlowStep200StepChallengeMethod.d.ts +0 -15
  872. package/dist/generated/model/submitFlowStep200StepChallengeMethod.d.ts.map +0 -1
  873. package/dist/generated/model/submitFlowStep200StepChallengeOptions.d.ts +0 -18
  874. package/dist/generated/model/submitFlowStep200StepChallengeOptions.d.ts.map +0 -1
  875. package/dist/generated/model/submitFlowStep200StepComplete.d.ts +0 -19
  876. package/dist/generated/model/submitFlowStep200StepComplete.d.ts.map +0 -1
  877. package/dist/generated/model/submitFlowStep200StepFields.d.ts +0 -45
  878. package/dist/generated/model/submitFlowStep200StepFields.d.ts.map +0 -1
  879. package/dist/generated/model/submitFlowStep200StepFieldsType.d.ts +0 -26
  880. package/dist/generated/model/submitFlowStep200StepFieldsType.d.ts.map +0 -1
  881. package/dist/generated/model/submitFlowStep200StepFieldsValidation.d.ts +0 -39
  882. package/dist/generated/model/submitFlowStep200StepFieldsValidation.d.ts.map +0 -1
  883. package/dist/generated/model/submitFlowStep200StepFieldsValidationFormat.d.ts +0 -23
  884. package/dist/generated/model/submitFlowStep200StepFieldsValidationFormat.d.ts.map +0 -1
  885. package/dist/generated/model/submitFlowStep200StepGates.d.ts +0 -34
  886. package/dist/generated/model/submitFlowStep200StepGates.d.ts.map +0 -1
  887. package/dist/generated/model/submitFlowStep200StepGatesConfig.d.ts +0 -16
  888. package/dist/generated/model/submitFlowStep200StepGatesConfig.d.ts.map +0 -1
  889. package/dist/generated/model/submitFlowStep200StepGatesKind.d.ts.map +0 -1
  890. package/dist/generated/model/submitFlowStep200StepSsoProvidersItem.d.ts +0 -19
  891. package/dist/generated/model/submitFlowStep200StepSsoProvidersItem.d.ts.map +0 -1
  892. package/dist/generated/model/submitFlowStep200StepTexts.d.ts +0 -19
  893. package/dist/generated/model/submitFlowStep200StepTexts.d.ts.map +0 -1
  894. package/dist/generated/model/submitFlowStep400.d.ts +0 -42
  895. package/dist/generated/model/submitFlowStep400.d.ts.map +0 -1
  896. package/dist/generated/model/submitFlowStep400Branding.d.ts +0 -33
  897. package/dist/generated/model/submitFlowStep400Branding.d.ts.map +0 -1
  898. package/dist/generated/model/submitFlowStep400BrandingLayout.d.ts +0 -19
  899. package/dist/generated/model/submitFlowStep400BrandingLayout.d.ts.map +0 -1
  900. package/dist/generated/model/submitFlowStep400Step.d.ts +0 -64
  901. package/dist/generated/model/submitFlowStep400Step.d.ts.map +0 -1
  902. package/dist/generated/model/submitFlowStep400StepActions.d.ts +0 -28
  903. package/dist/generated/model/submitFlowStep400StepActions.d.ts.map +0 -1
  904. package/dist/generated/model/submitFlowStep400StepChallenge.d.ts +0 -34
  905. package/dist/generated/model/submitFlowStep400StepChallenge.d.ts.map +0 -1
  906. package/dist/generated/model/submitFlowStep400StepChallengeMethod.d.ts +0 -15
  907. package/dist/generated/model/submitFlowStep400StepChallengeMethod.d.ts.map +0 -1
  908. package/dist/generated/model/submitFlowStep400StepChallengeOptions.d.ts +0 -18
  909. package/dist/generated/model/submitFlowStep400StepChallengeOptions.d.ts.map +0 -1
  910. package/dist/generated/model/submitFlowStep400StepComplete.d.ts +0 -19
  911. package/dist/generated/model/submitFlowStep400StepComplete.d.ts.map +0 -1
  912. package/dist/generated/model/submitFlowStep400StepFields.d.ts +0 -45
  913. package/dist/generated/model/submitFlowStep400StepFields.d.ts.map +0 -1
  914. package/dist/generated/model/submitFlowStep400StepFieldsType.d.ts +0 -26
  915. package/dist/generated/model/submitFlowStep400StepFieldsType.d.ts.map +0 -1
  916. package/dist/generated/model/submitFlowStep400StepFieldsValidation.d.ts +0 -39
  917. package/dist/generated/model/submitFlowStep400StepFieldsValidation.d.ts.map +0 -1
  918. package/dist/generated/model/submitFlowStep400StepFieldsValidationFormat.d.ts +0 -23
  919. package/dist/generated/model/submitFlowStep400StepFieldsValidationFormat.d.ts.map +0 -1
  920. package/dist/generated/model/submitFlowStep400StepGates.d.ts +0 -34
  921. package/dist/generated/model/submitFlowStep400StepGates.d.ts.map +0 -1
  922. package/dist/generated/model/submitFlowStep400StepGatesConfig.d.ts.map +0 -1
  923. package/dist/generated/model/submitFlowStep400StepGatesKind.d.ts +0 -18
  924. package/dist/generated/model/submitFlowStep400StepGatesKind.d.ts.map +0 -1
  925. package/dist/generated/model/submitFlowStep400StepSsoProvidersItem.d.ts +0 -19
  926. package/dist/generated/model/submitFlowStep400StepSsoProvidersItem.d.ts.map +0 -1
  927. package/dist/generated/model/submitFlowStep400StepTexts.d.ts +0 -19
  928. package/dist/generated/model/submitFlowStep400StepTexts.d.ts.map +0 -1
  929. package/dist/generated/model/submitFlowStep409.d.ts +0 -20
  930. package/dist/generated/model/submitFlowStep409.d.ts.map +0 -1
  931. package/dist/generated/model/submitFlowStep409Details.d.ts +0 -14
  932. package/dist/generated/model/submitFlowStep409Details.d.ts.map +0 -1
  933. package/dist/generated/model/submitFlowStepBody.d.ts +0 -36
  934. package/dist/generated/model/submitFlowStepBody.d.ts.map +0 -1
  935. package/dist/generated/model/submitFlowStepBodyChallengeResponse.d.ts +0 -27
  936. package/dist/generated/model/submitFlowStepBodyChallengeResponse.d.ts.map +0 -1
  937. package/dist/generated/model/submitFlowStepBodyChallengeResponseProof.d.ts +0 -16
  938. package/dist/generated/model/submitFlowStepBodyChallengeResponseProof.d.ts.map +0 -1
  939. package/dist/generated/model/submitFlowStepBodyFields.d.ts +0 -15
  940. package/dist/generated/model/submitFlowStepBodyFields.d.ts.map +0 -1
  941. package/dist/generated/model/submitFlowStepBodyGateProofs.d.ts +0 -16
  942. package/dist/generated/model/submitFlowStepBodyGateProofs.d.ts.map +0 -1
  943. package/dist/generated/model/submitFlowStepDefault.d.ts +0 -20
  944. package/dist/generated/model/submitFlowStepDefault.d.ts.map +0 -1
  945. package/dist/generated/model/submitFlowStepDefaultDetails.d.ts +0 -14
  946. package/dist/generated/model/submitFlowStepDefaultDetails.d.ts.map +0 -1
  947. package/dist/generated/model/updateFlowDefinition200.d.ts +0 -162
  948. package/dist/generated/model/updateFlowDefinition200.d.ts.map +0 -1
  949. package/dist/generated/model/updateFlowDefinition400.d.ts +0 -20
  950. package/dist/generated/model/updateFlowDefinition400.d.ts.map +0 -1
  951. package/dist/generated/model/updateFlowDefinition400Details.d.ts +0 -14
  952. package/dist/generated/model/updateFlowDefinition400Details.d.ts.map +0 -1
  953. package/dist/generated/model/updateFlowDefinition404.d.ts +0 -20
  954. package/dist/generated/model/updateFlowDefinition404.d.ts.map +0 -1
  955. package/dist/generated/model/updateFlowDefinition404Details.d.ts +0 -14
  956. package/dist/generated/model/updateFlowDefinition404Details.d.ts.map +0 -1
  957. package/dist/generated/model/updateFlowDefinitionBody.d.ts +0 -43
  958. package/dist/generated/model/updateFlowDefinitionBody.d.ts.map +0 -1
  959. package/dist/generated/model/updateFlowDefinitionBodyAudience.d.ts.map +0 -1
  960. package/dist/generated/model/updateFlowDefinitionBodyStepsItem.d.ts +0 -71
  961. package/dist/generated/model/updateFlowDefinitionBodyStepsItem.d.ts.map +0 -1
  962. package/dist/generated/model/updateFlowDefinitionBodyStepsItemActions.d.ts +0 -29
  963. package/dist/generated/model/updateFlowDefinitionBodyStepsItemActions.d.ts.map +0 -1
  964. package/dist/generated/model/updateFlowDefinitionBodyStepsItemComplete.d.ts +0 -19
  965. package/dist/generated/model/updateFlowDefinitionBodyStepsItemComplete.d.ts.map +0 -1
  966. package/dist/generated/model/updateFlowDefinitionBodyStepsItemGates.d.ts +0 -35
  967. package/dist/generated/model/updateFlowDefinitionBodyStepsItemGates.d.ts.map +0 -1
  968. package/dist/generated/model/updateFlowDefinitionBodyStepsItemGatesConfig.d.ts +0 -16
  969. package/dist/generated/model/updateFlowDefinitionBodyStepsItemGatesConfig.d.ts.map +0 -1
  970. package/dist/generated/model/updateFlowDefinitionBodyStepsItemGatesKind.d.ts +0 -18
  971. package/dist/generated/model/updateFlowDefinitionBodyStepsItemGatesKind.d.ts.map +0 -1
  972. package/dist/generated/model/updateFlowDefinitionBodyStepsItemOnSuccess.d.ts.map +0 -1
  973. package/dist/generated/model/updateFlowDefinitionBodyStepsItemSsoProvidersItem.d.ts +0 -19
  974. package/dist/generated/model/updateFlowDefinitionBodyStepsItemSsoProvidersItem.d.ts.map +0 -1
  975. package/dist/generated/model/updateFlowDefinitionBodyStepsItemTransitions.d.ts +0 -35
  976. package/dist/generated/model/updateFlowDefinitionBodyStepsItemTransitions.d.ts.map +0 -1
  977. package/dist/generated/model/updateFlowDefinitionDefault.d.ts +0 -20
  978. package/dist/generated/model/updateFlowDefinitionDefault.d.ts.map +0 -1
  979. package/dist/generated/model/updateFlowDefinitionDefaultDetails.d.ts +0 -14
  980. package/dist/generated/model/updateFlowDefinitionDefaultDetails.d.ts.map +0 -1
  981. package/dist/generated/model/verifyChallengeProof200.d.ts +0 -70
  982. package/dist/generated/model/verifyChallengeProof200.d.ts.map +0 -1
  983. package/dist/generated/model/verifyChallengeProof200ChallengesItem.d.ts +0 -43
  984. package/dist/generated/model/verifyChallengeProof200ChallengesItem.d.ts.map +0 -1
  985. package/dist/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts +0 -17
  986. package/dist/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts.map +0 -1
  987. package/dist/generated/model/verifyChallengeProof200ChallengesItemPayload.d.ts +0 -36
  988. package/dist/generated/model/verifyChallengeProof200ChallengesItemPayload.d.ts.map +0 -1
  989. package/dist/generated/model/verifyChallengeProof200ChallengesItemState.d.ts +0 -21
  990. package/dist/generated/model/verifyChallengeProof200ChallengesItemState.d.ts.map +0 -1
  991. package/dist/generated/model/verifyChallengeProof200CompletedFactorsItem.d.ts +0 -27
  992. package/dist/generated/model/verifyChallengeProof200CompletedFactorsItem.d.ts.map +0 -1
  993. package/dist/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.d.ts +0 -17
  994. package/dist/generated/model/verifyChallengeProof200CompletedFactorsItemMethod.d.ts.map +0 -1
  995. package/dist/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.d.ts +0 -32
  996. package/dist/generated/model/verifyChallengeProof200CompletedFactorsItemPayload.d.ts.map +0 -1
  997. package/dist/generated/model/verifyChallengeProof200RequiredFactorsItem.d.ts +0 -17
  998. package/dist/generated/model/verifyChallengeProof200RequiredFactorsItem.d.ts.map +0 -1
  999. package/dist/generated/model/verifyChallengeProof200State.d.ts +0 -23
  1000. package/dist/generated/model/verifyChallengeProof200State.d.ts.map +0 -1
  1001. package/dist/generated/model/verifyChallengeProofBody.d.ts +0 -30
  1002. package/dist/generated/model/verifyChallengeProofBody.d.ts.map +0 -1
  1003. package/dist/generated/model/verifyChallengeProofDefault.d.ts +0 -86
  1004. package/dist/generated/model/verifyChallengeProofDefault.d.ts.map +0 -1
  1005. package/dist/index-DlEenfQJ.d.mts.map +0 -1
  1006. package/dist/runtime/api-factory.d.ts +0 -56
  1007. package/dist/runtime/api-factory.d.ts.map +0 -1
  1008. package/dist/runtime/auth.d.ts +0 -3
  1009. package/dist/runtime/auth.d.ts.map +0 -1
  1010. package/dist/runtime/base-url.d.ts +0 -3
  1011. package/dist/runtime/base-url.d.ts.map +0 -1
  1012. package/dist/runtime/config.d.ts +0 -61
  1013. package/dist/runtime/config.d.ts.map +0 -1
  1014. package/dist/runtime/fetch.d.ts +0 -33
  1015. package/dist/runtime/fetch.d.ts.map +0 -1
  1016. package/dist/tsconfig.lib.tsbuildinfo +0 -1
  1017. package/dist/zitadelNextGen-C-fBEgnH.d.mts.map +0 -1
  1018. package/src/generated/model/createFlow201StepFields.ts +0 -45
  1019. package/src/generated/model/createFlow201StepFieldsType.ts +0 -28
  1020. package/src/generated/model/getFlowStep200StepFields.ts +0 -45
  1021. package/src/generated/model/getFlowStep200StepFieldsType.ts +0 -28
  1022. package/src/generated/model/submitFlowStep200StepFields.ts +0 -45
  1023. package/src/generated/model/submitFlowStep200StepFieldsType.ts +0 -28
  1024. package/src/generated/model/submitFlowStep400StepFields.ts +0 -45
  1025. package/src/generated/model/submitFlowStep400StepFieldsType.ts +0 -28
  1026. package/src/generated/model/updateFlowDefinitionBodyStepsItemActions.ts +0 -29
@@ -629,7 +629,7 @@ type CreateFlow201Branding = {
629
629
  hero_url?: string;
630
630
  };
631
631
  //#endregion
632
- //#region src/generated/model/createFlow201StepActions.d.ts
632
+ //#region src/generated/model/createFlow201StepActionsItem.d.ts
633
633
  /**
634
634
  * Generated by orval v8.10.0 🍺
635
635
  * Do not edit manually.
@@ -638,24 +638,23 @@ type CreateFlow201Branding = {
638
638
  * OpenAPI spec version: 0.0.1
639
639
  */
640
640
  /**
641
- * Unordered dictionary of available user actions. Keyed by action name.
642
- The LiquidJS template controls positioning and presentation.
641
+ * Configuration for a user-invokable action on a step. The `name` is sent
642
+ back in the submit request as `action`.
643
643
 
644
644
  */
645
- type CreateFlow201StepActions = {
646
- [key: string]: {
647
- /** Marks this as the default/primary action. The runtime template uses
648
- this hint to choose visual emphasis. At most one action per step
649
- should be primary; this is not enforced here.
650
- */
651
- primary?: boolean;
652
- /** Optional localization key override for the action's label. When
653
- omitted, the engine derives a key from the step and action names.
654
- Display text is resolved client-side from a locale dictionary, never
655
- by the engine.
656
- */
657
- text_key?: string;
658
- };
645
+ type CreateFlow201StepActionsItem = {
646
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
647
+ /** Marks this as the default/primary action. The runtime template uses
648
+ this hint to choose visual emphasis. At most one action per step
649
+ should be primary; this is not enforced here.
650
+ */
651
+ primary?: boolean;
652
+ /** Optional localization key override for the action's label. When
653
+ omitted, the engine derives a key from the step and action names.
654
+ Display text is resolved client-side from a locale dictionary, never
655
+ by the engine.
656
+ */
657
+ text_key?: string;
659
658
  };
660
659
  //#endregion
661
660
  //#region src/generated/model/createFlow201StepChallengeMethod.d.ts
@@ -738,7 +737,7 @@ declare const CreateFlow201StepComplete: {
738
737
  readonly show: "show";
739
738
  };
740
739
  //#endregion
741
- //#region src/generated/model/createFlow201StepFieldsType.d.ts
740
+ //#region src/generated/model/createFlow201StepFieldsItemType.d.ts
742
741
  /**
743
742
  * Generated by orval v8.10.0 🍺
744
743
  * Do not edit manually.
@@ -747,14 +746,15 @@ declare const CreateFlow201StepComplete: {
747
746
  * OpenAPI spec version: 0.0.1
748
747
  */
749
748
  /**
750
- * The input kind the client should render. Encodes the formats that
751
- have a matching HTML input type (email, url, date). For other
752
- formats (e.g. uuid) the type is `text` and `validation.format`
753
- carries the rule.
749
+ * The input kind the client should render. Encodes the formats and
750
+ JSON types that map to a familiar HTML input: `email`, `url`,
751
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
752
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
753
+ type is `text` and `validation.format` carries the rule.
754
754
 
755
755
  */
756
- type CreateFlow201StepFieldsType = (typeof CreateFlow201StepFieldsType)[keyof typeof CreateFlow201StepFieldsType];
757
- declare const CreateFlow201StepFieldsType: {
756
+ type CreateFlow201StepFieldsItemType = (typeof CreateFlow201StepFieldsItemType)[keyof typeof CreateFlow201StepFieldsItemType];
757
+ declare const CreateFlow201StepFieldsItemType: {
758
758
  readonly text: "text";
759
759
  readonly email: "email";
760
760
  readonly password: "password";
@@ -763,9 +763,11 @@ declare const CreateFlow201StepFieldsType: {
763
763
  readonly url: "url";
764
764
  readonly date: "date";
765
765
  readonly hidden: "hidden";
766
+ readonly checkbox: "checkbox";
767
+ readonly select: "select";
766
768
  };
767
769
  //#endregion
768
- //#region src/generated/model/createFlow201StepFieldsValidationFormat.d.ts
770
+ //#region src/generated/model/createFlow201StepFieldsItemValidationFormat.d.ts
769
771
  /**
770
772
  * Generated by orval v8.10.0 🍺
771
773
  * Do not edit manually.
@@ -781,15 +783,15 @@ sufficient for client-side validation. When `type` is `text`
781
783
  (e.g. `format: uuid`), this key is the only signal.
782
784
 
783
785
  */
784
- type CreateFlow201StepFieldsValidationFormat = (typeof CreateFlow201StepFieldsValidationFormat)[keyof typeof CreateFlow201StepFieldsValidationFormat];
785
- declare const CreateFlow201StepFieldsValidationFormat: {
786
+ type CreateFlow201StepFieldsItemValidationFormat = (typeof CreateFlow201StepFieldsItemValidationFormat)[keyof typeof CreateFlow201StepFieldsItemValidationFormat];
787
+ declare const CreateFlow201StepFieldsItemValidationFormat: {
786
788
  readonly email: "email";
787
789
  readonly "date-time": "date-time";
788
790
  readonly uuid: "uuid";
789
791
  readonly uri: "uri";
790
792
  };
791
793
  //#endregion
792
- //#region src/generated/model/createFlow201StepFieldsValidation.d.ts
794
+ //#region src/generated/model/createFlow201StepFieldsItemValidation.d.ts
793
795
  /**
794
796
  * Schema-derived rules the frontend SHOULD apply at input time. The
795
797
  server runs the same rules on submit and is the only authority on
@@ -801,14 +803,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
801
803
  property; absent keys mean no rule.
802
804
 
803
805
  */
804
- type CreateFlow201StepFieldsValidation = {
806
+ type CreateFlow201StepFieldsItemValidation = {
805
807
  /** Semantic format the value must match. Values mirror the user
806
808
  meta-schema. When `type` already encodes the format (email,
807
809
  url, date), this key is informative and the input type is
808
810
  sufficient for client-side validation. When `type` is `text`
809
811
  (e.g. `format: uuid`), this key is the only signal.
810
812
  */
811
- format?: CreateFlow201StepFieldsValidationFormat;
813
+ format?: CreateFlow201StepFieldsItemValidationFormat;
812
814
  /**
813
815
  * Minimum length in characters (inclusive). Mirrors `minLength`.
814
816
  * @minimum 0
@@ -819,40 +821,47 @@ type CreateFlow201StepFieldsValidation = {
819
821
  * @minimum 0
820
822
  */
821
823
  max_length?: number;
824
+ /** Closed list of allowed values. Mirrors the JSON Schema `enum`
825
+ keyword on the underlying user property. When `type` is
826
+ `select` the client renders these as options; for other types
827
+ the rule still applies as a membership check.
828
+ */
829
+ enum?: string[];
822
830
  };
823
831
  //#endregion
824
- //#region src/generated/model/createFlow201StepFields.d.ts
832
+ //#region src/generated/model/createFlow201StepFieldsItem.d.ts
825
833
  /**
826
- * Unordered dictionary of input fields to collect. Keyed by field name.
827
- The LiquidJS template controls which fields appear and in what order.
828
- Field metadata (type, validation) is resolved by the engine from the
829
- flow's user schema.
834
+ * A data input capability. Describes what the user must provide.
835
+ Does not contain display text only a `text_key` resolved client-side.
830
836
 
831
837
  */
832
- type CreateFlow201StepFields = {
833
- [key: string]: {
834
- /** The input kind the client should render. Encodes the formats that
835
- have a matching HTML input type (email, url, date). For other
836
- formats (e.g. uuid) the type is `text` and `validation.format`
837
- carries the rule.
838
- */
839
- type: CreateFlow201StepFieldsType; /** Localization key for the field label. */
840
- text_key: string;
841
- /** The field MUST be present and non-empty on submit. Mirrors the
842
- schema's top-level `required` array.
843
- */
844
- required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
845
- value?: unknown;
846
- /** Schema-derived rules the frontend SHOULD apply at input time. The
847
- server runs the same rules on submit and is the only authority on
848
- whether the step advances these rules are a UX hint to reduce
849
- round trips, not a contract guarantee.
850
- Omitted entirely when the field has no rules beyond its `type`.
851
- Each key mirrors a JSON Schema keyword on the underlying user
852
- property; absent keys mean no rule.
853
- */
854
- validation?: CreateFlow201StepFieldsValidation;
855
- };
838
+ type CreateFlow201StepFieldsItem = {
839
+ /** Field name, matching a property in the flow's user schema. Carries
840
+ the submitted value back to the engine.
841
+ */
842
+ name: string;
843
+ /** The input kind the client should render. Encodes the formats and
844
+ JSON types that map to a familiar HTML input: `email`, `url`,
845
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
846
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
847
+ type is `text` and `validation.format` carries the rule.
848
+ */
849
+ type: CreateFlow201StepFieldsItemType; /** Localization key for the field label. */
850
+ text_key: string;
851
+ /** The field MUST be present and non-empty on submit. Mirrors the
852
+ schema's top-level `required` array.
853
+ */
854
+ required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
855
+ value?: unknown;
856
+ /** Schema-derived rules the frontend SHOULD apply at input time. The
857
+ server runs the same rules on submit and is the only authority on
858
+ whether the step advances these rules are a UX hint to reduce
859
+ round trips, not a contract guarantee.
860
+ Omitted entirely when the field has no rules beyond its `type`.
861
+ Each key mirrors a JSON Schema keyword on the underlying user
862
+ property; absent keys mean no rule.
863
+ */
864
+ validation?: CreateFlow201StepFieldsItemValidation;
856
865
  };
857
866
  //#endregion
858
867
  //#region src/generated/model/createFlow201StepGatesConfig.d.ts
@@ -954,9 +963,10 @@ type CreateFlow201StepTexts = {
954
963
  //#endregion
955
964
  //#region src/generated/model/createFlow201Step.d.ts
956
965
  /**
957
- * A step contains unordered capability dictionaries: what to collect (fields),
966
+ * A step contains ordered capability arrays: what to collect (fields),
958
967
  what the user can do (actions), and what security gates must be satisfied (gates).
959
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
968
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
969
+ and builds name-keyed indexes locally for lookup.
960
970
 
961
971
  */
962
972
  type CreateFlow201Step = {
@@ -972,16 +982,16 @@ type CreateFlow201Step = {
972
982
  */
973
983
  complete?: CreateFlow201StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
974
984
  redirect_url?: string;
975
- /** Unordered dictionary of input fields to collect. Keyed by field name.
976
- The LiquidJS template controls which fields appear and in what order.
977
- Field metadata (type, validation) is resolved by the engine from the
978
- flow's user schema.
985
+ /** Ordered list of input fields to collect. Field metadata (type, validation)
986
+ is resolved by the engine from the flow's user schema. The LiquidJS
987
+ template iterates this array; for keyed lookup it builds a name-indexed
988
+ map locally.
979
989
  */
980
- fields: CreateFlow201StepFields;
981
- /** Unordered dictionary of available user actions. Keyed by action name.
982
- The LiquidJS template controls positioning and presentation.
990
+ fields: CreateFlow201StepFieldsItem[];
991
+ /** Ordered list of available user actions. The LiquidJS template iterates
992
+ this array and builds a name-indexed map locally for keyed lookup.
983
993
  */
984
- actions: CreateFlow201StepActions;
994
+ actions: CreateFlow201StepActionsItem[];
985
995
  /** Security gates that must be satisfied before the step can be submitted.
986
996
  The engine injects gates dynamically based on policy, even if they
987
997
  are not declared in the flow definition.
@@ -1007,9 +1017,10 @@ type CreateFlow201 = {
1007
1017
  id: string; /** Underlying session ID. Stable across all stacked flows. */
1008
1018
  session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
1009
1019
  session_token?: string;
1010
- /** A step contains unordered capability dictionaries: what to collect (fields),
1020
+ /** A step contains ordered capability arrays: what to collect (fields),
1011
1021
  what the user can do (actions), and what security gates must be satisfied (gates).
1012
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
1022
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
1023
+ and builds name-keyed indexes locally for lookup.
1013
1024
  */
1014
1025
  step: CreateFlow201Step;
1015
1026
  /** Resolved branding configuration. Inherited from the app → team → project
@@ -1143,207 +1154,7 @@ type CreateFlowDefault = {
1143
1154
  details?: CreateFlowDefaultDetails;
1144
1155
  };
1145
1156
  //#endregion
1146
- //#region src/generated/model/createFlowDefinition201.d.ts
1147
- /**
1148
- * Generated by orval v8.10.0 🍺
1149
- * Do not edit manually.
1150
- * Zitadel NextGen
1151
- * This is the next generation of the Zitadel identity platform.
1152
- * OpenAPI spec version: 0.0.1
1153
- */
1154
- type CreateFlowDefinition201 = {
1155
- /**
1156
- * Stable identifier for this flow, used as the target of cross-flow
1157
- `switch` and `pivot` transitions. Renaming is not supported — the
1158
- `name` is part of the public contract another definition may
1159
- reference. Acts as the human display label as well; no separate slug.
1160
- * @pattern ^[a-z][a-z0-9-]*$
1161
- */
1162
- name: string;
1163
- /** User schema this flow operates on. Step `fields` reference properties
1164
- defined in this schema. The engine resolves field types, validation,
1165
- and implicit outcomes from schema annotations at runtime.
1166
- */
1167
- user_schema: string;
1168
- /** Maps each purpose this definition handles to its entry-point step.
1169
- Keys are purpose names; values must match a `name` in `steps`. A
1170
- definition can serve multiple purposes (e.g. a combined login/register
1171
- flow) by listing one entry per purpose.
1172
- */
1173
- purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
1174
- /** Scopes which teams or apps this flow definition applies to. Empty or
1175
- omitted fields mean "no restriction"; when both are empty the definition
1176
- matches every request in the project. The engine picks the most specific
1177
- matching definition: app > team > project-wide.
1178
- */
1179
- audience?: {
1180
- /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
1181
- app_ids?: string[];
1182
- };
1183
- /**
1184
- * Ordered list of steps in this flow. The order is for human readability —
1185
- actual step sequencing is determined by transitions.
1186
- * @minItems 1
1187
- */
1188
- steps: {
1189
- /** Unique step identifier within this flow. Used as transition targets
1190
- and returned in the API response as `step.name`.
1191
- */
1192
- name: string;
1193
- /** Schema property names to collect from the user. Each entry references
1194
- a property in the flow's user schema. The engine resolves field type,
1195
- validation rules, and implicit outcomes from schema annotations
1196
- (e.g. a property with `x-unique` set implies a `user_not_found`
1197
- transition outcome).
1198
- */
1199
- fields?: string[];
1200
- /** Actions the user can take. Keyed by action name.
1201
- The action name is what the frontend sends back in the submit request.
1202
- If omitted, the engine provides a default `submit` action.
1203
- */
1204
- actions?: {
1205
- [key: string]: {
1206
- /** Marks this as the default/primary action. The runtime template uses
1207
- this hint to choose visual emphasis. At most one action per step
1208
- should be primary; this is not enforced here.
1209
- */
1210
- primary?: boolean;
1211
- /** Optional localization key override for the action's label. When
1212
- omitted, the engine derives a key from the step and action names.
1213
- Display text is resolved client-side from a locale dictionary, never
1214
- by the engine.
1215
- */
1216
- text_key?: string;
1217
- };
1218
- };
1219
- /** Security gates that must be satisfied before submission. Keyed by gate
1220
- name. Each gate selects a kind (e.g. "captcha") and provider-specific
1221
- configuration. The engine may also inject gates dynamically based on
1222
- policy.
1223
- */
1224
- gates?: {
1225
- [key: string]: {
1226
- /** The gate category. Only `captcha` is currently defined. Authenticator
1227
- ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1228
- `x-credential` on a field, not as gates.
1229
- */
1230
- kind: "captcha";
1231
- /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
1232
- `hcaptcha`. The engine looks up an implementation in its provider
1233
- registry.
1234
- */
1235
- provider: string;
1236
- /** Provider-specific configuration consumed by the implementation when
1237
- issuing the per-render challenge. Opaque to the engine.
1238
- */
1239
- config?: {
1240
- [key: string]: unknown;
1241
- };
1242
- };
1243
- }; /** Available SSO identity providers for this step. */
1244
- sso_providers?: {
1245
- /** Provider instance identifier. */id: string; /** Display name for the provider. */
1246
- name: string; /** Template hint for rendering (logo, colors). */
1247
- template: string;
1248
- }[];
1249
- /** Server-side mutation to execute when this step completes successfully.
1250
- Runs after field validation passes, before the transition fires.
1251
- - create_user: creates the user record (registration flows)
1252
- */
1253
- on_success?: "create_user";
1254
- /** Marks this as a terminal step. Tells the frontend what to do:
1255
- - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1256
- - show: render as a success/info screen
1257
- */
1258
- complete?: "redirect" | "show";
1259
- /** Maps action/outcome names to their transition descriptor.
1260
- Keys match action names from the `actions` dict. Additional keys
1261
- come from implicit outcomes based on schema annotations
1262
- (e.g. `user_not_found` from `x-unique` fields) and engine
1263
- events (e.g. `sso`, `callback`).
1264
- */
1265
- transitions?: {
1266
- [key: string]: {
1267
- /** Step name within this flow (when `action` is null), or the name
1268
- of another flow (when `action` is `switch` or `pivot`).
1269
- */
1270
- target: string;
1271
- /** How to interpret `target`:
1272
- - null (omitted): transition to a step in the current flow.
1273
- - switch: replace the current flow with the target flow.
1274
- No return — the current flow is discarded.
1275
- Example: login ↔ register.
1276
- - pivot: push the target flow onto the stack. The current flow
1277
- is paused and resumes when the target flow completes (auto-pop).
1278
- Example: login → recovery → back to login.
1279
- */
1280
- action?: "switch" | "pivot" | null;
1281
- };
1282
- };
1283
- }[];
1284
- } & {
1285
- /** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
1286
- project_id: string;
1287
- /** URI of the flow definition schema this definition was authored against.
1288
- If the schema_uri was not provided in the request, the flow definition is validated against the latest version of the schema, and the response includes the schema_uri of the latest version.
1289
- */
1290
- schema_uri: string; /** Status of the flow definition. */
1291
- status: string;
1292
- created_at: string;
1293
- updated_at: string;
1294
- };
1295
- //#endregion
1296
- //#region src/generated/model/createFlowDefinition400Details.d.ts
1297
- /**
1298
- * Generated by orval v8.10.0 🍺
1299
- * Do not edit manually.
1300
- * Zitadel NextGen
1301
- * This is the next generation of the Zitadel identity platform.
1302
- * OpenAPI spec version: 0.0.1
1303
- */
1304
- /**
1305
- * Additional error-specific context.
1306
- */
1307
- type CreateFlowDefinition400Details = {
1308
- [key: string]: unknown;
1309
- };
1310
- //#endregion
1311
- //#region src/generated/model/createFlowDefinition400.d.ts
1312
- /**
1313
- * Standard error payload returned for failed API requests.
1314
- */
1315
- type CreateFlowDefinition400 = {
1316
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1317
- message: string; /** Additional error-specific context. */
1318
- details?: CreateFlowDefinition400Details;
1319
- };
1320
- //#endregion
1321
- //#region src/generated/model/createFlowDefinition409Details.d.ts
1322
- /**
1323
- * Generated by orval v8.10.0 🍺
1324
- * Do not edit manually.
1325
- * Zitadel NextGen
1326
- * This is the next generation of the Zitadel identity platform.
1327
- * OpenAPI spec version: 0.0.1
1328
- */
1329
- /**
1330
- * Additional error-specific context.
1331
- */
1332
- type CreateFlowDefinition409Details = {
1333
- [key: string]: unknown;
1334
- };
1335
- //#endregion
1336
- //#region src/generated/model/createFlowDefinition409.d.ts
1337
- /**
1338
- * Standard error payload returned for failed API requests.
1339
- */
1340
- type CreateFlowDefinition409 = {
1341
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1342
- message: string; /** Additional error-specific context. */
1343
- details?: CreateFlowDefinition409Details;
1344
- };
1345
- //#endregion
1346
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts
1157
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts
1347
1158
  /**
1348
1159
  * Generated by orval v8.10.0 🍺
1349
1160
  * Do not edit manually.
@@ -1358,12 +1169,12 @@ matches every request in the project. The engine picks the most specific
1358
1169
  matching definition: app > team > project-wide.
1359
1170
 
1360
1171
  */
1361
- type CreateFlowDefinitionBodyFlowDefinitionAudience = {
1172
+ type CreateFlowDefinition201FlowDefinitionAudience = {
1362
1173
  /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
1363
1174
  app_ids?: string[];
1364
1175
  };
1365
1176
  //#endregion
1366
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActions.d.ts
1177
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.d.ts
1367
1178
  /**
1368
1179
  * Generated by orval v8.10.0 🍺
1369
1180
  * Do not edit manually.
@@ -1372,28 +1183,26 @@ type CreateFlowDefinitionBodyFlowDefinitionAudience = {
1372
1183
  * OpenAPI spec version: 0.0.1
1373
1184
  */
1374
1185
  /**
1375
- * Actions the user can take. Keyed by action name.
1376
- The action name is what the frontend sends back in the submit request.
1377
- If omitted, the engine provides a default `submit` action.
1186
+ * Configuration for a user-invokable action on a step. The `name` is sent
1187
+ back in the submit request as `action`.
1378
1188
 
1379
1189
  */
1380
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
1381
- [key: string]: {
1382
- /** Marks this as the default/primary action. The runtime template uses
1383
- this hint to choose visual emphasis. At most one action per step
1384
- should be primary; this is not enforced here.
1385
- */
1386
- primary?: boolean;
1387
- /** Optional localization key override for the action's label. When
1388
- omitted, the engine derives a key from the step and action names.
1389
- Display text is resolved client-side from a locale dictionary, never
1390
- by the engine.
1391
- */
1392
- text_key?: string;
1393
- };
1190
+ type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
1191
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
1192
+ /** Marks this as the default/primary action. The runtime template uses
1193
+ this hint to choose visual emphasis. At most one action per step
1194
+ should be primary; this is not enforced here.
1195
+ */
1196
+ primary?: boolean;
1197
+ /** Optional localization key override for the action's label. When
1198
+ omitted, the engine derives a key from the step and action names.
1199
+ Display text is resolved client-side from a locale dictionary, never
1200
+ by the engine.
1201
+ */
1202
+ text_key?: string;
1394
1203
  };
1395
1204
  //#endregion
1396
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts
1205
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts
1397
1206
  /**
1398
1207
  * Generated by orval v8.10.0 🍺
1399
1208
  * Do not edit manually.
@@ -1407,13 +1216,13 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
1407
1216
  - show: render as a success/info screen
1408
1217
 
1409
1218
  */
1410
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete];
1411
- declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
1219
+ type CreateFlowDefinition201FlowDefinitionStepsItemComplete = (typeof CreateFlowDefinition201FlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemComplete];
1220
+ declare const CreateFlowDefinition201FlowDefinitionStepsItemComplete: {
1412
1221
  readonly redirect: "redirect";
1413
1222
  readonly show: "show";
1414
1223
  };
1415
1224
  //#endregion
1416
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts
1225
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts
1417
1226
  /**
1418
1227
  * Generated by orval v8.10.0 🍺
1419
1228
  * Do not edit manually.
@@ -1426,11 +1235,11 @@ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
1426
1235
  issuing the per-render challenge. Opaque to the engine.
1427
1236
 
1428
1237
  */
1429
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig = {
1238
+ type CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig = {
1430
1239
  [key: string]: unknown;
1431
1240
  };
1432
1241
  //#endregion
1433
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts
1242
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts
1434
1243
  /**
1435
1244
  * Generated by orval v8.10.0 🍺
1436
1245
  * Do not edit manually.
@@ -1444,12 +1253,12 @@ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1444
1253
  `x-credential` on a field, not as gates.
1445
1254
 
1446
1255
  */
1447
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind];
1448
- declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind: {
1256
+ type CreateFlowDefinition201FlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind];
1257
+ declare const CreateFlowDefinition201FlowDefinitionStepsItemGatesKind: {
1449
1258
  readonly captcha: "captcha";
1450
1259
  };
1451
1260
  //#endregion
1452
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts
1261
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts
1453
1262
  /**
1454
1263
  * Security gates that must be satisfied before submission. Keyed by gate
1455
1264
  name. Each gate selects a kind (e.g. "captcha") and provider-specific
@@ -1457,13 +1266,13 @@ configuration. The engine may also inject gates dynamically based on
1457
1266
  policy.
1458
1267
 
1459
1268
  */
1460
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
1269
+ type CreateFlowDefinition201FlowDefinitionStepsItemGates = {
1461
1270
  [key: string]: {
1462
1271
  /** The gate category. Only `captcha` is currently defined. Authenticator
1463
1272
  ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1464
1273
  `x-credential` on a field, not as gates.
1465
1274
  */
1466
- kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind;
1275
+ kind: CreateFlowDefinition201FlowDefinitionStepsItemGatesKind;
1467
1276
  /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
1468
1277
  `hcaptcha`. The engine looks up an implementation in its provider
1469
1278
  registry.
@@ -1472,11 +1281,11 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
1472
1281
  /** Provider-specific configuration consumed by the implementation when
1473
1282
  issuing the per-render challenge. Opaque to the engine.
1474
1283
  */
1475
- config?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig;
1284
+ config?: CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig;
1476
1285
  };
1477
1286
  };
1478
1287
  //#endregion
1479
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts
1288
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts
1480
1289
  /**
1481
1290
  * Generated by orval v8.10.0 🍺
1482
1291
  * Do not edit manually.
@@ -1491,12 +1300,12 @@ Runs after field validation passes, before the transition fires.
1491
1300
  - create_user: creates the user record (registration flows)
1492
1301
 
1493
1302
  */
1494
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess];
1495
- declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
1303
+ type CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess];
1304
+ declare const CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess: {
1496
1305
  readonly create_user: "create_user";
1497
1306
  };
1498
1307
  //#endregion
1499
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts
1308
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts
1500
1309
  /**
1501
1310
  * Generated by orval v8.10.0 🍺
1502
1311
  * Do not edit manually.
@@ -1507,13 +1316,13 @@ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
1507
1316
  /**
1508
1317
  * An available SSO identity provider.
1509
1318
  */
1510
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
1319
+ type CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem = {
1511
1320
  /** Provider instance identifier. */id: string; /** Display name for the provider. */
1512
1321
  name: string; /** Template hint for rendering (logo, colors). */
1513
1322
  template: string;
1514
1323
  };
1515
1324
  //#endregion
1516
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts
1325
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts
1517
1326
  /**
1518
1327
  * Generated by orval v8.10.0 🍺
1519
1328
  * Do not edit manually.
@@ -1524,13 +1333,13 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
1524
1333
  /**
1525
1334
  * Maps action/outcome names to their transition descriptor.
1526
1335
 
1527
- Keys match action names from the `actions` dict. Additional keys
1336
+ Keys match action names from the `actions` array. Additional keys
1528
1337
  come from implicit outcomes based on schema annotations
1529
1338
  (e.g. `user_not_found` from `x-unique` fields) and engine
1530
1339
  events (e.g. `sso`, `callback`).
1531
1340
 
1532
1341
  */
1533
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
1342
+ type CreateFlowDefinition201FlowDefinitionStepsItemTransitions = {
1534
1343
  [key: string]: {
1535
1344
  /** Step name within this flow (when `action` is null), or the name
1536
1345
  of another flow (when `action` is `switch` or `pivot`).
@@ -1549,7 +1358,7 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
1549
1358
  };
1550
1359
  };
1551
1360
  //#endregion
1552
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts
1361
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts
1553
1362
  /**
1554
1363
  * A step in a flow definition. This is the admin-authored configuration,
1555
1364
  not the runtime payload sent to the frontend.
@@ -1562,7 +1371,7 @@ A step with only `complete` set is a terminal step. All other steps are
1562
1371
  rendered to the frontend as capability payloads.
1563
1372
 
1564
1373
  */
1565
- type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
1374
+ type CreateFlowDefinition201FlowDefinitionStepsItem = {
1566
1375
  /** Unique step identifier within this flow. Used as transition targets
1567
1376
  and returned in the API response as `step.name`.
1568
1377
  */
@@ -1574,38 +1383,38 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
1574
1383
  transition outcome).
1575
1384
  */
1576
1385
  fields?: string[];
1577
- /** Actions the user can take. Keyed by action name.
1578
- The action name is what the frontend sends back in the submit request.
1579
- If omitted, the engine provides a default `submit` action.
1386
+ /** Ordered list of actions the user can take. The action name is what the
1387
+ frontend sends back in the submit request. If omitted, the engine
1388
+ provides a default `submit` action.
1580
1389
  */
1581
- actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActions;
1390
+ actions?: CreateFlowDefinition201FlowDefinitionStepsItemActionsItem[];
1582
1391
  /** Security gates that must be satisfied before submission. Keyed by gate
1583
1392
  name. Each gate selects a kind (e.g. "captcha") and provider-specific
1584
1393
  configuration. The engine may also inject gates dynamically based on
1585
1394
  policy.
1586
1395
  */
1587
- gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
1588
- sso_providers?: CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem[];
1396
+ gates?: CreateFlowDefinition201FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
1397
+ sso_providers?: CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem[];
1589
1398
  /** Server-side mutation to execute when this step completes successfully.
1590
1399
  Runs after field validation passes, before the transition fires.
1591
1400
  - create_user: creates the user record (registration flows)
1592
1401
  */
1593
- on_success?: CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess;
1402
+ on_success?: CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess;
1594
1403
  /** Marks this as a terminal step. Tells the frontend what to do:
1595
1404
  - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1596
1405
  - show: render as a success/info screen
1597
1406
  */
1598
- complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
1407
+ complete?: CreateFlowDefinition201FlowDefinitionStepsItemComplete;
1599
1408
  /** Maps action/outcome names to their transition descriptor.
1600
- Keys match action names from the `actions` dict. Additional keys
1409
+ Keys match action names from the `actions` array. Additional keys
1601
1410
  come from implicit outcomes based on schema annotations
1602
1411
  (e.g. `user_not_found` from `x-unique` fields) and engine
1603
1412
  events (e.g. `sso`, `callback`).
1604
1413
  */
1605
- transitions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions;
1414
+ transitions?: CreateFlowDefinition201FlowDefinitionStepsItemTransitions;
1606
1415
  };
1607
1416
  //#endregion
1608
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts
1417
+ //#region src/generated/model/createFlowDefinition201FlowDefinition.d.ts
1609
1418
  /**
1610
1419
  * A flow definition is the server-side configuration that describes a complete
1611
1420
  authentication or identity flow. It is NOT sent to the frontend — the flow
@@ -1617,7 +1426,7 @@ configuration hierarchy. The engine selects the matching definition based on
1617
1426
  the purpose + audience when a flow is created via POST /flow.
1618
1427
 
1619
1428
  */
1620
- type CreateFlowDefinitionBodyFlowDefinition = {
1429
+ type CreateFlowDefinition201FlowDefinition = {
1621
1430
  /**
1622
1431
  * Stable identifier for this flow, used as the target of cross-flow
1623
1432
  `switch` and `pivot` transitions. Renaming is not supported — the
@@ -1642,23 +1451,20 @@ type CreateFlowDefinitionBodyFlowDefinition = {
1642
1451
  matches every request in the project. The engine picks the most specific
1643
1452
  matching definition: app > team > project-wide.
1644
1453
  */
1645
- audience?: CreateFlowDefinitionBodyFlowDefinitionAudience;
1454
+ audience?: CreateFlowDefinition201FlowDefinitionAudience;
1646
1455
  /**
1647
1456
  * Ordered list of steps in this flow. The order is for human readability —
1648
1457
  actual step sequencing is determined by transitions.
1649
1458
  * @minItems 1
1650
1459
  */
1651
- steps: CreateFlowDefinitionBodyFlowDefinitionStepsItem[];
1460
+ steps: CreateFlowDefinition201FlowDefinitionStepsItem[];
1652
1461
  };
1653
1462
  //#endregion
1654
- //#region src/generated/model/createFlowDefinitionBody.d.ts
1655
- type CreateFlowDefinitionBody = {
1656
- /** @pattern ^[a-zA-Z0-9_-]+$ */project_id: string;
1657
- /** URI of the server-published flow definition schema this definition was
1658
- authored against. The server uses this to validate the definition.
1659
- If not provided, the engine will use the latest schema version for validation.
1660
- */
1661
- schema_uri?: string;
1463
+ //#region src/generated/model/createFlowDefinition201.d.ts
1464
+ type CreateFlowDefinition201 = {
1465
+ /** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
1466
+ project_id: string; /** Status of the flow definition. */
1467
+ status: string;
1662
1468
  /** A flow definition is the server-side configuration that describes a complete
1663
1469
  authentication or identity flow. It is NOT sent to the frontend — the flow
1664
1470
  engine evaluates it and produces FlowResponse payloads (steps with capability
@@ -1667,10 +1473,12 @@ type CreateFlowDefinitionBody = {
1667
1473
  configuration hierarchy. The engine selects the matching definition based on
1668
1474
  the purpose + audience when a flow is created via POST /flow.
1669
1475
  */
1670
- flow_definition: CreateFlowDefinitionBodyFlowDefinition;
1476
+ flow_definition: CreateFlowDefinition201FlowDefinition;
1477
+ created_at: string;
1478
+ updated_at: string;
1671
1479
  };
1672
1480
  //#endregion
1673
- //#region src/generated/model/createFlowDefinitionDefaultDetails.d.ts
1481
+ //#region src/generated/model/createFlowDefinition400Details.d.ts
1674
1482
  /**
1675
1483
  * Generated by orval v8.10.0 🍺
1676
1484
  * Do not edit manually.
@@ -1681,21 +1489,21 @@ type CreateFlowDefinitionBody = {
1681
1489
  /**
1682
1490
  * Additional error-specific context.
1683
1491
  */
1684
- type CreateFlowDefinitionDefaultDetails = {
1492
+ type CreateFlowDefinition400Details = {
1685
1493
  [key: string]: unknown;
1686
1494
  };
1687
1495
  //#endregion
1688
- //#region src/generated/model/createFlowDefinitionDefault.d.ts
1496
+ //#region src/generated/model/createFlowDefinition400.d.ts
1689
1497
  /**
1690
1498
  * Standard error payload returned for failed API requests.
1691
1499
  */
1692
- type CreateFlowDefinitionDefault = {
1500
+ type CreateFlowDefinition400 = {
1693
1501
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1694
1502
  message: string; /** Additional error-specific context. */
1695
- details?: CreateFlowDefinitionDefaultDetails;
1503
+ details?: CreateFlowDefinition400Details;
1696
1504
  };
1697
1505
  //#endregion
1698
- //#region src/generated/model/createHandoff200.d.ts
1506
+ //#region src/generated/model/createFlowDefinition409Details.d.ts
1699
1507
  /**
1700
1508
  * Generated by orval v8.10.0 🍺
1701
1509
  * Do not edit manually.
@@ -1704,69 +1512,23 @@ type CreateFlowDefinitionDefault = {
1704
1512
  * OpenAPI spec version: 0.0.1
1705
1513
  */
1706
1514
  /**
1707
- * The handoff token and metadata for session exchange.
1708
-
1709
- This is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange
1710
- at POST /sessions/exchange to receive the final session and session_token.
1711
- The handoff token is single-use and audience-bound to the project.
1712
-
1515
+ * Additional error-specific context.
1713
1516
  */
1714
- type CreateHandoff200 = {
1715
- /** The short-lived handoff token for session exchange.
1716
- Exchange at: POST /sessions/exchange
1717
- Requirements:
1718
- - Single-use (atomic GETDEL on exchange)
1719
- - TTL ≤ 60 seconds
1720
- - Audience-bound to project (exchange requires sk_proj_… for matching project)
1721
- - Idempotency-safe (Category B, 5-minute window)
1722
- */
1723
- handoff_token: string; /** When this handoff token expires */
1724
- expires_at: string;
1517
+ type CreateFlowDefinition409Details = {
1518
+ [key: string]: unknown;
1725
1519
  };
1726
1520
  //#endregion
1727
- //#region src/generated/model/createHandoffDefault.d.ts
1521
+ //#region src/generated/model/createFlowDefinition409.d.ts
1728
1522
  /**
1729
- * Generated by orval v8.10.0 🍺
1730
- * Do not edit manually.
1731
- * Zitadel NextGen
1732
- * This is the next generation of the Zitadel identity platform.
1733
- * OpenAPI spec version: 0.0.1
1523
+ * Standard error payload returned for failed API requests.
1734
1524
  */
1735
- type CreateHandoffDefault = ({
1736
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1737
- message: string; /** Additional error-specific context. */
1738
- details?: {
1739
- [key: string]: unknown;
1740
- };
1741
- } & {
1742
- code: "att.not_found";
1743
- }) | ({
1744
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1745
- message: string; /** Additional error-specific context. */
1746
- details?: {
1747
- [key: string]: unknown;
1748
- };
1749
- } & {
1750
- code: "att.invalid_state";
1751
- }) | ({
1752
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1753
- message: string; /** Additional error-specific context. */
1754
- details?: {
1755
- [key: string]: unknown;
1756
- };
1757
- } & {
1758
- code: "att.not_completed";
1759
- }) | ({
1525
+ type CreateFlowDefinition409 = {
1760
1526
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1761
1527
  message: string; /** Additional error-specific context. */
1762
- details?: {
1763
- [key: string]: unknown;
1764
- };
1765
- } & {
1766
- code: "internal";
1767
- });
1528
+ details?: CreateFlowDefinition409Details;
1529
+ };
1768
1530
  //#endregion
1769
- //#region src/generated/model/createProject201.d.ts
1531
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts
1770
1532
  /**
1771
1533
  * Generated by orval v8.10.0 🍺
1772
1534
  * Do not edit manually.
@@ -1774,7 +1536,428 @@ type CreateHandoffDefault = ({
1774
1536
  * This is the next generation of the Zitadel identity platform.
1775
1537
  * OpenAPI spec version: 0.0.1
1776
1538
  */
1777
- type CreateProject201 = {
1539
+ /**
1540
+ * Scopes which teams or apps this flow definition applies to. Empty or
1541
+ omitted fields mean "no restriction"; when both are empty the definition
1542
+ matches every request in the project. The engine picks the most specific
1543
+ matching definition: app > team > project-wide.
1544
+
1545
+ */
1546
+ type CreateFlowDefinitionBodyFlowDefinitionAudience = {
1547
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
1548
+ app_ids?: string[];
1549
+ };
1550
+ //#endregion
1551
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.d.ts
1552
+ /**
1553
+ * Generated by orval v8.10.0 🍺
1554
+ * Do not edit manually.
1555
+ * Zitadel NextGen
1556
+ * This is the next generation of the Zitadel identity platform.
1557
+ * OpenAPI spec version: 0.0.1
1558
+ */
1559
+ /**
1560
+ * Configuration for a user-invokable action on a step. The `name` is sent
1561
+ back in the submit request as `action`.
1562
+
1563
+ */
1564
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
1565
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
1566
+ /** Marks this as the default/primary action. The runtime template uses
1567
+ this hint to choose visual emphasis. At most one action per step
1568
+ should be primary; this is not enforced here.
1569
+ */
1570
+ primary?: boolean;
1571
+ /** Optional localization key override for the action's label. When
1572
+ omitted, the engine derives a key from the step and action names.
1573
+ Display text is resolved client-side from a locale dictionary, never
1574
+ by the engine.
1575
+ */
1576
+ text_key?: string;
1577
+ };
1578
+ //#endregion
1579
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts
1580
+ /**
1581
+ * Generated by orval v8.10.0 🍺
1582
+ * Do not edit manually.
1583
+ * Zitadel NextGen
1584
+ * This is the next generation of the Zitadel identity platform.
1585
+ * OpenAPI spec version: 0.0.1
1586
+ */
1587
+ /**
1588
+ * Marks this as a terminal step. Tells the frontend what to do:
1589
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1590
+ - show: render as a success/info screen
1591
+
1592
+ */
1593
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete];
1594
+ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
1595
+ readonly redirect: "redirect";
1596
+ readonly show: "show";
1597
+ };
1598
+ //#endregion
1599
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts
1600
+ /**
1601
+ * Generated by orval v8.10.0 🍺
1602
+ * Do not edit manually.
1603
+ * Zitadel NextGen
1604
+ * This is the next generation of the Zitadel identity platform.
1605
+ * OpenAPI spec version: 0.0.1
1606
+ */
1607
+ /**
1608
+ * Provider-specific configuration consumed by the implementation when
1609
+ issuing the per-render challenge. Opaque to the engine.
1610
+
1611
+ */
1612
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig = {
1613
+ [key: string]: unknown;
1614
+ };
1615
+ //#endregion
1616
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts
1617
+ /**
1618
+ * Generated by orval v8.10.0 🍺
1619
+ * Do not edit manually.
1620
+ * Zitadel NextGen
1621
+ * This is the next generation of the Zitadel identity platform.
1622
+ * OpenAPI spec version: 0.0.1
1623
+ */
1624
+ /**
1625
+ * The gate category. Only `captcha` is currently defined. Authenticator
1626
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1627
+ `x-credential` on a field, not as gates.
1628
+
1629
+ */
1630
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind];
1631
+ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind: {
1632
+ readonly captcha: "captcha";
1633
+ };
1634
+ //#endregion
1635
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts
1636
+ /**
1637
+ * Security gates that must be satisfied before submission. Keyed by gate
1638
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
1639
+ configuration. The engine may also inject gates dynamically based on
1640
+ policy.
1641
+
1642
+ */
1643
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
1644
+ [key: string]: {
1645
+ /** The gate category. Only `captcha` is currently defined. Authenticator
1646
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1647
+ `x-credential` on a field, not as gates.
1648
+ */
1649
+ kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind;
1650
+ /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
1651
+ `hcaptcha`. The engine looks up an implementation in its provider
1652
+ registry.
1653
+ */
1654
+ provider: string;
1655
+ /** Provider-specific configuration consumed by the implementation when
1656
+ issuing the per-render challenge. Opaque to the engine.
1657
+ */
1658
+ config?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig;
1659
+ };
1660
+ };
1661
+ //#endregion
1662
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts
1663
+ /**
1664
+ * Generated by orval v8.10.0 🍺
1665
+ * Do not edit manually.
1666
+ * Zitadel NextGen
1667
+ * This is the next generation of the Zitadel identity platform.
1668
+ * OpenAPI spec version: 0.0.1
1669
+ */
1670
+ /**
1671
+ * Server-side mutation to execute when this step completes successfully.
1672
+ Runs after field validation passes, before the transition fires.
1673
+
1674
+ - create_user: creates the user record (registration flows)
1675
+
1676
+ */
1677
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess];
1678
+ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
1679
+ readonly create_user: "create_user";
1680
+ };
1681
+ //#endregion
1682
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts
1683
+ /**
1684
+ * Generated by orval v8.10.0 🍺
1685
+ * Do not edit manually.
1686
+ * Zitadel NextGen
1687
+ * This is the next generation of the Zitadel identity platform.
1688
+ * OpenAPI spec version: 0.0.1
1689
+ */
1690
+ /**
1691
+ * An available SSO identity provider.
1692
+ */
1693
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
1694
+ /** Provider instance identifier. */id: string; /** Display name for the provider. */
1695
+ name: string; /** Template hint for rendering (logo, colors). */
1696
+ template: string;
1697
+ };
1698
+ //#endregion
1699
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts
1700
+ /**
1701
+ * Generated by orval v8.10.0 🍺
1702
+ * Do not edit manually.
1703
+ * Zitadel NextGen
1704
+ * This is the next generation of the Zitadel identity platform.
1705
+ * OpenAPI spec version: 0.0.1
1706
+ */
1707
+ /**
1708
+ * Maps action/outcome names to their transition descriptor.
1709
+
1710
+ Keys match action names from the `actions` array. Additional keys
1711
+ come from implicit outcomes based on schema annotations
1712
+ (e.g. `user_not_found` from `x-unique` fields) and engine
1713
+ events (e.g. `sso`, `callback`).
1714
+
1715
+ */
1716
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
1717
+ [key: string]: {
1718
+ /** Step name within this flow (when `action` is null), or the name
1719
+ of another flow (when `action` is `switch` or `pivot`).
1720
+ */
1721
+ target: string;
1722
+ /** How to interpret `target`:
1723
+ - null (omitted): transition to a step in the current flow.
1724
+ - switch: replace the current flow with the target flow.
1725
+ No return — the current flow is discarded.
1726
+ Example: login ↔ register.
1727
+ - pivot: push the target flow onto the stack. The current flow
1728
+ is paused and resumes when the target flow completes (auto-pop).
1729
+ Example: login → recovery → back to login.
1730
+ */
1731
+ action?: "switch" | "pivot" | null;
1732
+ };
1733
+ };
1734
+ //#endregion
1735
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts
1736
+ /**
1737
+ * A step in a flow definition. This is the admin-authored configuration,
1738
+ not the runtime payload sent to the frontend.
1739
+
1740
+ Steps are schema-driven: `fields` references properties from the flow's
1741
+ user schema, and the engine resolves field metadata (type, validation,
1742
+ implicit outcomes) from schema annotations at runtime.
1743
+
1744
+ A step with only `complete` set is a terminal step. All other steps are
1745
+ rendered to the frontend as capability payloads.
1746
+
1747
+ */
1748
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
1749
+ /** Unique step identifier within this flow. Used as transition targets
1750
+ and returned in the API response as `step.name`.
1751
+ */
1752
+ name: string;
1753
+ /** Schema property names to collect from the user. Each entry references
1754
+ a property in the flow's user schema. The engine resolves field type,
1755
+ validation rules, and implicit outcomes from schema annotations
1756
+ (e.g. a property with `x-unique` set implies a `user_not_found`
1757
+ transition outcome).
1758
+ */
1759
+ fields?: string[];
1760
+ /** Ordered list of actions the user can take. The action name is what the
1761
+ frontend sends back in the submit request. If omitted, the engine
1762
+ provides a default `submit` action.
1763
+ */
1764
+ actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem[];
1765
+ /** Security gates that must be satisfied before submission. Keyed by gate
1766
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
1767
+ configuration. The engine may also inject gates dynamically based on
1768
+ policy.
1769
+ */
1770
+ gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
1771
+ sso_providers?: CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem[];
1772
+ /** Server-side mutation to execute when this step completes successfully.
1773
+ Runs after field validation passes, before the transition fires.
1774
+ - create_user: creates the user record (registration flows)
1775
+ */
1776
+ on_success?: CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess;
1777
+ /** Marks this as a terminal step. Tells the frontend what to do:
1778
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1779
+ - show: render as a success/info screen
1780
+ */
1781
+ complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
1782
+ /** Maps action/outcome names to their transition descriptor.
1783
+ Keys match action names from the `actions` array. Additional keys
1784
+ come from implicit outcomes based on schema annotations
1785
+ (e.g. `user_not_found` from `x-unique` fields) and engine
1786
+ events (e.g. `sso`, `callback`).
1787
+ */
1788
+ transitions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions;
1789
+ };
1790
+ //#endregion
1791
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts
1792
+ /**
1793
+ * A flow definition is the server-side configuration that describes a complete
1794
+ authentication or identity flow. It is NOT sent to the frontend — the flow
1795
+ engine evaluates it and produces FlowResponse payloads (steps with capability
1796
+ dictionaries) for the client.
1797
+
1798
+ Flow definitions are created by administrators and stored in the project/team
1799
+ configuration hierarchy. The engine selects the matching definition based on
1800
+ the purpose + audience when a flow is created via POST /flow.
1801
+
1802
+ */
1803
+ type CreateFlowDefinitionBodyFlowDefinition = {
1804
+ /**
1805
+ * Stable identifier for this flow, used as the target of cross-flow
1806
+ `switch` and `pivot` transitions. Renaming is not supported — the
1807
+ `name` is part of the public contract another definition may
1808
+ reference. Acts as the human display label as well; no separate slug.
1809
+ * @pattern ^[a-z][a-z0-9-]*$
1810
+ */
1811
+ name: string;
1812
+ /** User schema this flow operates on. Step `fields` reference properties
1813
+ defined in this schema. The engine resolves field types, validation,
1814
+ and implicit outcomes from schema annotations at runtime.
1815
+ */
1816
+ user_schema: string;
1817
+ /** Maps each purpose this definition handles to its entry-point step.
1818
+ Keys are purpose names; values must match a `name` in `steps`. A
1819
+ definition can serve multiple purposes (e.g. a combined login/register
1820
+ flow) by listing one entry per purpose.
1821
+ */
1822
+ purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
1823
+ /** Scopes which teams or apps this flow definition applies to. Empty or
1824
+ omitted fields mean "no restriction"; when both are empty the definition
1825
+ matches every request in the project. The engine picks the most specific
1826
+ matching definition: app > team > project-wide.
1827
+ */
1828
+ audience?: CreateFlowDefinitionBodyFlowDefinitionAudience;
1829
+ /**
1830
+ * Ordered list of steps in this flow. The order is for human readability —
1831
+ actual step sequencing is determined by transitions.
1832
+ * @minItems 1
1833
+ */
1834
+ steps: CreateFlowDefinitionBodyFlowDefinitionStepsItem[];
1835
+ };
1836
+ //#endregion
1837
+ //#region src/generated/model/createFlowDefinitionBody.d.ts
1838
+ type CreateFlowDefinitionBody = {
1839
+ /** @pattern ^[a-zA-Z0-9_-]+$ */project_id: string;
1840
+ /** URI of the server-published flow definition schema this definition was
1841
+ authored against. The server uses this to validate the definition.
1842
+ If not provided, the engine will use the latest schema version for validation.
1843
+ */
1844
+ schema_uri?: string;
1845
+ /** A flow definition is the server-side configuration that describes a complete
1846
+ authentication or identity flow. It is NOT sent to the frontend — the flow
1847
+ engine evaluates it and produces FlowResponse payloads (steps with capability
1848
+ dictionaries) for the client.
1849
+ Flow definitions are created by administrators and stored in the project/team
1850
+ configuration hierarchy. The engine selects the matching definition based on
1851
+ the purpose + audience when a flow is created via POST /flow.
1852
+ */
1853
+ flow_definition: CreateFlowDefinitionBodyFlowDefinition;
1854
+ };
1855
+ //#endregion
1856
+ //#region src/generated/model/createFlowDefinitionDefaultDetails.d.ts
1857
+ /**
1858
+ * Generated by orval v8.10.0 🍺
1859
+ * Do not edit manually.
1860
+ * Zitadel NextGen
1861
+ * This is the next generation of the Zitadel identity platform.
1862
+ * OpenAPI spec version: 0.0.1
1863
+ */
1864
+ /**
1865
+ * Additional error-specific context.
1866
+ */
1867
+ type CreateFlowDefinitionDefaultDetails = {
1868
+ [key: string]: unknown;
1869
+ };
1870
+ //#endregion
1871
+ //#region src/generated/model/createFlowDefinitionDefault.d.ts
1872
+ /**
1873
+ * Standard error payload returned for failed API requests.
1874
+ */
1875
+ type CreateFlowDefinitionDefault = {
1876
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1877
+ message: string; /** Additional error-specific context. */
1878
+ details?: CreateFlowDefinitionDefaultDetails;
1879
+ };
1880
+ //#endregion
1881
+ //#region src/generated/model/createHandoff200.d.ts
1882
+ /**
1883
+ * Generated by orval v8.10.0 🍺
1884
+ * Do not edit manually.
1885
+ * Zitadel NextGen
1886
+ * This is the next generation of the Zitadel identity platform.
1887
+ * OpenAPI spec version: 0.0.1
1888
+ */
1889
+ /**
1890
+ * The handoff token and metadata for session exchange.
1891
+
1892
+ This is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange
1893
+ at POST /sessions/exchange to receive the final session and session_token.
1894
+ The handoff token is single-use and audience-bound to the project.
1895
+
1896
+ */
1897
+ type CreateHandoff200 = {
1898
+ /** The short-lived handoff token for session exchange.
1899
+ Exchange at: POST /sessions/exchange
1900
+ Requirements:
1901
+ - Single-use (atomic GETDEL on exchange)
1902
+ - TTL ≤ 60 seconds
1903
+ - Audience-bound to project (exchange requires sk_proj_… for matching project)
1904
+ - Idempotency-safe (Category B, 5-minute window)
1905
+ */
1906
+ handoff_token: string; /** When this handoff token expires */
1907
+ expires_at: string;
1908
+ };
1909
+ //#endregion
1910
+ //#region src/generated/model/createHandoffDefault.d.ts
1911
+ /**
1912
+ * Generated by orval v8.10.0 🍺
1913
+ * Do not edit manually.
1914
+ * Zitadel NextGen
1915
+ * This is the next generation of the Zitadel identity platform.
1916
+ * OpenAPI spec version: 0.0.1
1917
+ */
1918
+ type CreateHandoffDefault = ({
1919
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1920
+ message: string; /** Additional error-specific context. */
1921
+ details?: {
1922
+ [key: string]: unknown;
1923
+ };
1924
+ } & {
1925
+ code: "att.not_found";
1926
+ }) | ({
1927
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1928
+ message: string; /** Additional error-specific context. */
1929
+ details?: {
1930
+ [key: string]: unknown;
1931
+ };
1932
+ } & {
1933
+ code: "att.invalid_state";
1934
+ }) | ({
1935
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1936
+ message: string; /** Additional error-specific context. */
1937
+ details?: {
1938
+ [key: string]: unknown;
1939
+ };
1940
+ } & {
1941
+ code: "att.not_completed";
1942
+ }) | ({
1943
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1944
+ message: string; /** Additional error-specific context. */
1945
+ details?: {
1946
+ [key: string]: unknown;
1947
+ };
1948
+ } & {
1949
+ code: "internal";
1950
+ });
1951
+ //#endregion
1952
+ //#region src/generated/model/createProject201.d.ts
1953
+ /**
1954
+ * Generated by orval v8.10.0 🍺
1955
+ * Do not edit manually.
1956
+ * Zitadel NextGen
1957
+ * This is the next generation of the Zitadel identity platform.
1958
+ * OpenAPI spec version: 0.0.1
1959
+ */
1960
+ type CreateProject201 = {
1778
1961
  /** The unique identifier of the project. */id: string;
1779
1962
  /** Secret which can be used for authentication when modifying the project.
1780
1963
  */
@@ -2603,7 +2786,7 @@ type CreateUserParams = {
2603
2786
  team_id?: string;
2604
2787
  };
2605
2788
  //#endregion
2606
- //#region src/generated/model/deleteFlowDefinition404Details.d.ts
2789
+ //#region src/generated/model/deleteFlowDefinitionDefaultDetails.d.ts
2607
2790
  /**
2608
2791
  * Generated by orval v8.10.0 🍺
2609
2792
  * Do not edit manually.
@@ -2614,21 +2797,21 @@ type CreateUserParams = {
2614
2797
  /**
2615
2798
  * Additional error-specific context.
2616
2799
  */
2617
- type DeleteFlowDefinition404Details = {
2800
+ type DeleteFlowDefinitionDefaultDetails = {
2618
2801
  [key: string]: unknown;
2619
2802
  };
2620
2803
  //#endregion
2621
- //#region src/generated/model/deleteFlowDefinition404.d.ts
2804
+ //#region src/generated/model/deleteFlowDefinitionDefault.d.ts
2622
2805
  /**
2623
2806
  * Standard error payload returned for failed API requests.
2624
2807
  */
2625
- type DeleteFlowDefinition404 = {
2808
+ type DeleteFlowDefinitionDefault = {
2626
2809
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2627
2810
  message: string; /** Additional error-specific context. */
2628
- details?: DeleteFlowDefinition404Details;
2811
+ details?: DeleteFlowDefinitionDefaultDetails;
2629
2812
  };
2630
2813
  //#endregion
2631
- //#region src/generated/model/deleteFlowDefinitionDefaultDetails.d.ts
2814
+ //#region src/generated/model/deleteFlowDefinitionParams.d.ts
2632
2815
  /**
2633
2816
  * Generated by orval v8.10.0 🍺
2634
2817
  * Do not edit manually.
@@ -2636,21 +2819,12 @@ type DeleteFlowDefinition404 = {
2636
2819
  * This is the next generation of the Zitadel identity platform.
2637
2820
  * OpenAPI spec version: 0.0.1
2638
2821
  */
2639
- /**
2640
- * Additional error-specific context.
2641
- */
2642
- type DeleteFlowDefinitionDefaultDetails = {
2643
- [key: string]: unknown;
2644
- };
2645
- //#endregion
2646
- //#region src/generated/model/deleteFlowDefinitionDefault.d.ts
2647
- /**
2648
- * Standard error payload returned for failed API requests.
2649
- */
2650
- type DeleteFlowDefinitionDefault = {
2651
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2652
- message: string; /** Additional error-specific context. */
2653
- details?: DeleteFlowDefinitionDefaultDetails;
2822
+ type DeleteFlowDefinitionParams = {
2823
+ /**
2824
+ * The project id to filter by.
2825
+ * @pattern ^[a-zA-Z0-9_-]+$
2826
+ */
2827
+ project_id: string;
2654
2828
  };
2655
2829
  //#endregion
2656
2830
  //#region src/generated/model/endSession400Details.d.ts
@@ -3369,15 +3543,279 @@ type GetAuthAttemptDefault = ({
3369
3543
  code: "internal";
3370
3544
  });
3371
3545
  //#endregion
3372
- //#region src/generated/model/getFlowDefinition200.d.ts
3546
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
3547
+ /**
3548
+ * Generated by orval v8.10.0 🍺
3549
+ * Do not edit manually.
3550
+ * Zitadel NextGen
3551
+ * This is the next generation of the Zitadel identity platform.
3552
+ * OpenAPI spec version: 0.0.1
3553
+ */
3554
+ /**
3555
+ * Scopes which teams or apps this flow definition applies to. Empty or
3556
+ omitted fields mean "no restriction"; when both are empty the definition
3557
+ matches every request in the project. The engine picks the most specific
3558
+ matching definition: app > team > project-wide.
3559
+
3560
+ */
3561
+ type GetFlowDefinition200FlowDefinitionAudience = {
3562
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
3563
+ app_ids?: string[];
3564
+ };
3565
+ //#endregion
3566
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.d.ts
3567
+ /**
3568
+ * Generated by orval v8.10.0 🍺
3569
+ * Do not edit manually.
3570
+ * Zitadel NextGen
3571
+ * This is the next generation of the Zitadel identity platform.
3572
+ * OpenAPI spec version: 0.0.1
3573
+ */
3574
+ /**
3575
+ * Configuration for a user-invokable action on a step. The `name` is sent
3576
+ back in the submit request as `action`.
3577
+
3578
+ */
3579
+ type GetFlowDefinition200FlowDefinitionStepsItemActionsItem = {
3580
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
3581
+ /** Marks this as the default/primary action. The runtime template uses
3582
+ this hint to choose visual emphasis. At most one action per step
3583
+ should be primary; this is not enforced here.
3584
+ */
3585
+ primary?: boolean;
3586
+ /** Optional localization key override for the action's label. When
3587
+ omitted, the engine derives a key from the step and action names.
3588
+ Display text is resolved client-side from a locale dictionary, never
3589
+ by the engine.
3590
+ */
3591
+ text_key?: string;
3592
+ };
3593
+ //#endregion
3594
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
3595
+ /**
3596
+ * Generated by orval v8.10.0 🍺
3597
+ * Do not edit manually.
3598
+ * Zitadel NextGen
3599
+ * This is the next generation of the Zitadel identity platform.
3600
+ * OpenAPI spec version: 0.0.1
3601
+ */
3602
+ /**
3603
+ * Marks this as a terminal step. Tells the frontend what to do:
3604
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
3605
+ - show: render as a success/info screen
3606
+
3607
+ */
3608
+ type GetFlowDefinition200FlowDefinitionStepsItemComplete = (typeof GetFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemComplete];
3609
+ declare const GetFlowDefinition200FlowDefinitionStepsItemComplete: {
3610
+ readonly redirect: "redirect";
3611
+ readonly show: "show";
3612
+ };
3613
+ //#endregion
3614
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts
3615
+ /**
3616
+ * Generated by orval v8.10.0 🍺
3617
+ * Do not edit manually.
3618
+ * Zitadel NextGen
3619
+ * This is the next generation of the Zitadel identity platform.
3620
+ * OpenAPI spec version: 0.0.1
3621
+ */
3622
+ /**
3623
+ * Provider-specific configuration consumed by the implementation when
3624
+ issuing the per-render challenge. Opaque to the engine.
3625
+
3626
+ */
3627
+ type GetFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
3628
+ [key: string]: unknown;
3629
+ };
3630
+ //#endregion
3631
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts
3632
+ /**
3633
+ * Generated by orval v8.10.0 🍺
3634
+ * Do not edit manually.
3635
+ * Zitadel NextGen
3636
+ * This is the next generation of the Zitadel identity platform.
3637
+ * OpenAPI spec version: 0.0.1
3638
+ */
3639
+ /**
3640
+ * The gate category. Only `captcha` is currently defined. Authenticator
3641
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
3642
+ `x-credential` on a field, not as gates.
3643
+
3644
+ */
3645
+ type GetFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind];
3646
+ declare const GetFlowDefinition200FlowDefinitionStepsItemGatesKind: {
3647
+ readonly captcha: "captcha";
3648
+ };
3649
+ //#endregion
3650
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts
3651
+ /**
3652
+ * Security gates that must be satisfied before submission. Keyed by gate
3653
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
3654
+ configuration. The engine may also inject gates dynamically based on
3655
+ policy.
3656
+
3657
+ */
3658
+ type GetFlowDefinition200FlowDefinitionStepsItemGates = {
3659
+ [key: string]: {
3660
+ /** The gate category. Only `captcha` is currently defined. Authenticator
3661
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
3662
+ `x-credential` on a field, not as gates.
3663
+ */
3664
+ kind: GetFlowDefinition200FlowDefinitionStepsItemGatesKind;
3665
+ /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
3666
+ `hcaptcha`. The engine looks up an implementation in its provider
3667
+ registry.
3668
+ */
3669
+ provider: string;
3670
+ /** Provider-specific configuration consumed by the implementation when
3671
+ issuing the per-render challenge. Opaque to the engine.
3672
+ */
3673
+ config?: GetFlowDefinition200FlowDefinitionStepsItemGatesConfig;
3674
+ };
3675
+ };
3676
+ //#endregion
3677
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts
3678
+ /**
3679
+ * Generated by orval v8.10.0 🍺
3680
+ * Do not edit manually.
3681
+ * Zitadel NextGen
3682
+ * This is the next generation of the Zitadel identity platform.
3683
+ * OpenAPI spec version: 0.0.1
3684
+ */
3685
+ /**
3686
+ * Server-side mutation to execute when this step completes successfully.
3687
+ Runs after field validation passes, before the transition fires.
3688
+
3689
+ - create_user: creates the user record (registration flows)
3690
+
3691
+ */
3692
+ type GetFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess];
3693
+ declare const GetFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
3694
+ readonly create_user: "create_user";
3695
+ };
3696
+ //#endregion
3697
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts
3698
+ /**
3699
+ * Generated by orval v8.10.0 🍺
3700
+ * Do not edit manually.
3701
+ * Zitadel NextGen
3702
+ * This is the next generation of the Zitadel identity platform.
3703
+ * OpenAPI spec version: 0.0.1
3704
+ */
3705
+ /**
3706
+ * An available SSO identity provider.
3707
+ */
3708
+ type GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
3709
+ /** Provider instance identifier. */id: string; /** Display name for the provider. */
3710
+ name: string; /** Template hint for rendering (logo, colors). */
3711
+ template: string;
3712
+ };
3713
+ //#endregion
3714
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts
3715
+ /**
3716
+ * Generated by orval v8.10.0 🍺
3717
+ * Do not edit manually.
3718
+ * Zitadel NextGen
3719
+ * This is the next generation of the Zitadel identity platform.
3720
+ * OpenAPI spec version: 0.0.1
3721
+ */
3722
+ /**
3723
+ * Maps action/outcome names to their transition descriptor.
3724
+
3725
+ Keys match action names from the `actions` array. Additional keys
3726
+ come from implicit outcomes based on schema annotations
3727
+ (e.g. `user_not_found` from `x-unique` fields) and engine
3728
+ events (e.g. `sso`, `callback`).
3729
+
3730
+ */
3731
+ type GetFlowDefinition200FlowDefinitionStepsItemTransitions = {
3732
+ [key: string]: {
3733
+ /** Step name within this flow (when `action` is null), or the name
3734
+ of another flow (when `action` is `switch` or `pivot`).
3735
+ */
3736
+ target: string;
3737
+ /** How to interpret `target`:
3738
+ - null (omitted): transition to a step in the current flow.
3739
+ - switch: replace the current flow with the target flow.
3740
+ No return — the current flow is discarded.
3741
+ Example: login ↔ register.
3742
+ - pivot: push the target flow onto the stack. The current flow
3743
+ is paused and resumes when the target flow completes (auto-pop).
3744
+ Example: login → recovery → back to login.
3745
+ */
3746
+ action?: "switch" | "pivot" | null;
3747
+ };
3748
+ };
3749
+ //#endregion
3750
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts
3751
+ /**
3752
+ * A step in a flow definition. This is the admin-authored configuration,
3753
+ not the runtime payload sent to the frontend.
3754
+
3755
+ Steps are schema-driven: `fields` references properties from the flow's
3756
+ user schema, and the engine resolves field metadata (type, validation,
3757
+ implicit outcomes) from schema annotations at runtime.
3758
+
3759
+ A step with only `complete` set is a terminal step. All other steps are
3760
+ rendered to the frontend as capability payloads.
3761
+
3762
+ */
3763
+ type GetFlowDefinition200FlowDefinitionStepsItem = {
3764
+ /** Unique step identifier within this flow. Used as transition targets
3765
+ and returned in the API response as `step.name`.
3766
+ */
3767
+ name: string;
3768
+ /** Schema property names to collect from the user. Each entry references
3769
+ a property in the flow's user schema. The engine resolves field type,
3770
+ validation rules, and implicit outcomes from schema annotations
3771
+ (e.g. a property with `x-unique` set implies a `user_not_found`
3772
+ transition outcome).
3773
+ */
3774
+ fields?: string[];
3775
+ /** Ordered list of actions the user can take. The action name is what the
3776
+ frontend sends back in the submit request. If omitted, the engine
3777
+ provides a default `submit` action.
3778
+ */
3779
+ actions?: GetFlowDefinition200FlowDefinitionStepsItemActionsItem[];
3780
+ /** Security gates that must be satisfied before submission. Keyed by gate
3781
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
3782
+ configuration. The engine may also inject gates dynamically based on
3783
+ policy.
3784
+ */
3785
+ gates?: GetFlowDefinition200FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
3786
+ sso_providers?: GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
3787
+ /** Server-side mutation to execute when this step completes successfully.
3788
+ Runs after field validation passes, before the transition fires.
3789
+ - create_user: creates the user record (registration flows)
3790
+ */
3791
+ on_success?: GetFlowDefinition200FlowDefinitionStepsItemOnSuccess;
3792
+ /** Marks this as a terminal step. Tells the frontend what to do:
3793
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
3794
+ - show: render as a success/info screen
3795
+ */
3796
+ complete?: GetFlowDefinition200FlowDefinitionStepsItemComplete;
3797
+ /** Maps action/outcome names to their transition descriptor.
3798
+ Keys match action names from the `actions` array. Additional keys
3799
+ come from implicit outcomes based on schema annotations
3800
+ (e.g. `user_not_found` from `x-unique` fields) and engine
3801
+ events (e.g. `sso`, `callback`).
3802
+ */
3803
+ transitions?: GetFlowDefinition200FlowDefinitionStepsItemTransitions;
3804
+ };
3805
+ //#endregion
3806
+ //#region src/generated/model/getFlowDefinition200FlowDefinition.d.ts
3373
3807
  /**
3374
- * Generated by orval v8.10.0 🍺
3375
- * Do not edit manually.
3376
- * Zitadel NextGen
3377
- * This is the next generation of the Zitadel identity platform.
3378
- * OpenAPI spec version: 0.0.1
3808
+ * A flow definition is the server-side configuration that describes a complete
3809
+ authentication or identity flow. It is NOT sent to the frontend — the flow
3810
+ engine evaluates it and produces FlowResponse payloads (steps with capability
3811
+ dictionaries) for the client.
3812
+
3813
+ Flow definitions are created by administrators and stored in the project/team
3814
+ configuration hierarchy. The engine selects the matching definition based on
3815
+ the purpose + audience when a flow is created via POST /flow.
3816
+
3379
3817
  */
3380
- type GetFlowDefinition200 = {
3818
+ type GetFlowDefinition200FlowDefinition = {
3381
3819
  /**
3382
3820
  * Stable identifier for this flow, used as the target of cross-flow
3383
3821
  `switch` and `pivot` transitions. Renaming is not supported — the
@@ -3402,124 +3840,34 @@ type GetFlowDefinition200 = {
3402
3840
  matches every request in the project. The engine picks the most specific
3403
3841
  matching definition: app > team > project-wide.
3404
3842
  */
3405
- audience?: {
3406
- /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
3407
- app_ids?: string[];
3408
- };
3843
+ audience?: GetFlowDefinition200FlowDefinitionAudience;
3409
3844
  /**
3410
3845
  * Ordered list of steps in this flow. The order is for human readability —
3411
3846
  actual step sequencing is determined by transitions.
3412
3847
  * @minItems 1
3413
3848
  */
3414
- steps: {
3415
- /** Unique step identifier within this flow. Used as transition targets
3416
- and returned in the API response as `step.name`.
3417
- */
3418
- name: string;
3419
- /** Schema property names to collect from the user. Each entry references
3420
- a property in the flow's user schema. The engine resolves field type,
3421
- validation rules, and implicit outcomes from schema annotations
3422
- (e.g. a property with `x-unique` set implies a `user_not_found`
3423
- transition outcome).
3424
- */
3425
- fields?: string[];
3426
- /** Actions the user can take. Keyed by action name.
3427
- The action name is what the frontend sends back in the submit request.
3428
- If omitted, the engine provides a default `submit` action.
3429
- */
3430
- actions?: {
3431
- [key: string]: {
3432
- /** Marks this as the default/primary action. The runtime template uses
3433
- this hint to choose visual emphasis. At most one action per step
3434
- should be primary; this is not enforced here.
3435
- */
3436
- primary?: boolean;
3437
- /** Optional localization key override for the action's label. When
3438
- omitted, the engine derives a key from the step and action names.
3439
- Display text is resolved client-side from a locale dictionary, never
3440
- by the engine.
3441
- */
3442
- text_key?: string;
3443
- };
3444
- };
3445
- /** Security gates that must be satisfied before submission. Keyed by gate
3446
- name. Each gate selects a kind (e.g. "captcha") and provider-specific
3447
- configuration. The engine may also inject gates dynamically based on
3448
- policy.
3449
- */
3450
- gates?: {
3451
- [key: string]: {
3452
- /** The gate category. Only `captcha` is currently defined. Authenticator
3453
- ceremonies (e.g. passkey) are modelled as credential auth_attempts via
3454
- `x-credential` on a field, not as gates.
3455
- */
3456
- kind: "captcha";
3457
- /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
3458
- `hcaptcha`. The engine looks up an implementation in its provider
3459
- registry.
3460
- */
3461
- provider: string;
3462
- /** Provider-specific configuration consumed by the implementation when
3463
- issuing the per-render challenge. Opaque to the engine.
3464
- */
3465
- config?: {
3466
- [key: string]: unknown;
3467
- };
3468
- };
3469
- }; /** Available SSO identity providers for this step. */
3470
- sso_providers?: {
3471
- /** Provider instance identifier. */id: string; /** Display name for the provider. */
3472
- name: string; /** Template hint for rendering (logo, colors). */
3473
- template: string;
3474
- }[];
3475
- /** Server-side mutation to execute when this step completes successfully.
3476
- Runs after field validation passes, before the transition fires.
3477
- - create_user: creates the user record (registration flows)
3478
- */
3479
- on_success?: "create_user";
3480
- /** Marks this as a terminal step. Tells the frontend what to do:
3481
- - redirect: navigate to redirect_uri (OIDC/SAML callback done)
3482
- - show: render as a success/info screen
3483
- */
3484
- complete?: "redirect" | "show";
3485
- /** Maps action/outcome names to their transition descriptor.
3486
- Keys match action names from the `actions` dict. Additional keys
3487
- come from implicit outcomes based on schema annotations
3488
- (e.g. `user_not_found` from `x-unique` fields) and engine
3489
- events (e.g. `sso`, `callback`).
3490
- */
3491
- transitions?: {
3492
- [key: string]: {
3493
- /** Step name within this flow (when `action` is null), or the name
3494
- of another flow (when `action` is `switch` or `pivot`).
3495
- */
3496
- target: string;
3497
- /** How to interpret `target`:
3498
- - null (omitted): transition to a step in the current flow.
3499
- - switch: replace the current flow with the target flow.
3500
- No return — the current flow is discarded.
3501
- Example: login ↔ register.
3502
- - pivot: push the target flow onto the stack. The current flow
3503
- is paused and resumes when the target flow completes (auto-pop).
3504
- Example: login → recovery → back to login.
3505
- */
3506
- action?: "switch" | "pivot" | null;
3507
- };
3508
- };
3509
- }[];
3510
- } & {
3849
+ steps: GetFlowDefinition200FlowDefinitionStepsItem[];
3850
+ };
3851
+ //#endregion
3852
+ //#region src/generated/model/getFlowDefinition200.d.ts
3853
+ type GetFlowDefinition200 = {
3511
3854
  /** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
3512
- project_id: string;
3513
- /** URI of the flow definition schema this definition was authored against.
3514
- If the schema_uri was not provided in the request, the flow definition is validated against the latest version of the schema, and the response includes the schema_uri of the latest version.
3515
- */
3516
- schema_uri: string; /** Status of the flow definition. */
3855
+ project_id: string; /** Status of the flow definition. */
3517
3856
  status: string;
3857
+ /** A flow definition is the server-side configuration that describes a complete
3858
+ authentication or identity flow. It is NOT sent to the frontend — the flow
3859
+ engine evaluates it and produces FlowResponse payloads (steps with capability
3860
+ dictionaries) for the client.
3861
+ Flow definitions are created by administrators and stored in the project/team
3862
+ configuration hierarchy. The engine selects the matching definition based on
3863
+ the purpose + audience when a flow is created via POST /flow.
3864
+ */
3865
+ flow_definition: GetFlowDefinition200FlowDefinition;
3518
3866
  created_at: string;
3519
3867
  updated_at: string;
3520
3868
  };
3521
3869
  //#endregion
3522
- //#region src/generated/model/getFlowDefinition404Details.d.ts
3870
+ //#region src/generated/model/getFlowDefinitionDefaultDetails.d.ts
3523
3871
  /**
3524
3872
  * Generated by orval v8.10.0 🍺
3525
3873
  * Do not edit manually.
@@ -3530,21 +3878,21 @@ type GetFlowDefinition200 = {
3530
3878
  /**
3531
3879
  * Additional error-specific context.
3532
3880
  */
3533
- type GetFlowDefinition404Details = {
3881
+ type GetFlowDefinitionDefaultDetails = {
3534
3882
  [key: string]: unknown;
3535
3883
  };
3536
3884
  //#endregion
3537
- //#region src/generated/model/getFlowDefinition404.d.ts
3885
+ //#region src/generated/model/getFlowDefinitionDefault.d.ts
3538
3886
  /**
3539
3887
  * Standard error payload returned for failed API requests.
3540
3888
  */
3541
- type GetFlowDefinition404 = {
3889
+ type GetFlowDefinitionDefault = {
3542
3890
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3543
3891
  message: string; /** Additional error-specific context. */
3544
- details?: GetFlowDefinition404Details;
3892
+ details?: GetFlowDefinitionDefaultDetails;
3545
3893
  };
3546
3894
  //#endregion
3547
- //#region src/generated/model/getFlowDefinitionDefaultDetails.d.ts
3895
+ //#region src/generated/model/getFlowDefinitionParams.d.ts
3548
3896
  /**
3549
3897
  * Generated by orval v8.10.0 🍺
3550
3898
  * Do not edit manually.
@@ -3552,21 +3900,12 @@ type GetFlowDefinition404 = {
3552
3900
  * This is the next generation of the Zitadel identity platform.
3553
3901
  * OpenAPI spec version: 0.0.1
3554
3902
  */
3555
- /**
3556
- * Additional error-specific context.
3557
- */
3558
- type GetFlowDefinitionDefaultDetails = {
3559
- [key: string]: unknown;
3560
- };
3561
- //#endregion
3562
- //#region src/generated/model/getFlowDefinitionDefault.d.ts
3563
- /**
3564
- * Standard error payload returned for failed API requests.
3565
- */
3566
- type GetFlowDefinitionDefault = {
3567
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3568
- message: string; /** Additional error-specific context. */
3569
- details?: GetFlowDefinitionDefaultDetails;
3903
+ type GetFlowDefinitionParams = {
3904
+ /**
3905
+ * The project id to filter by.
3906
+ * @pattern ^[a-zA-Z0-9_-]+$
3907
+ */
3908
+ project_id: string;
3570
3909
  };
3571
3910
  //#endregion
3572
3911
  //#region src/generated/model/getFlowStep200BrandingLayout.d.ts
@@ -3612,7 +3951,7 @@ type GetFlowStep200Branding = {
3612
3951
  hero_url?: string;
3613
3952
  };
3614
3953
  //#endregion
3615
- //#region src/generated/model/getFlowStep200StepActions.d.ts
3954
+ //#region src/generated/model/getFlowStep200StepActionsItem.d.ts
3616
3955
  /**
3617
3956
  * Generated by orval v8.10.0 🍺
3618
3957
  * Do not edit manually.
@@ -3621,24 +3960,23 @@ type GetFlowStep200Branding = {
3621
3960
  * OpenAPI spec version: 0.0.1
3622
3961
  */
3623
3962
  /**
3624
- * Unordered dictionary of available user actions. Keyed by action name.
3625
- The LiquidJS template controls positioning and presentation.
3963
+ * Configuration for a user-invokable action on a step. The `name` is sent
3964
+ back in the submit request as `action`.
3626
3965
 
3627
3966
  */
3628
- type GetFlowStep200StepActions = {
3629
- [key: string]: {
3630
- /** Marks this as the default/primary action. The runtime template uses
3631
- this hint to choose visual emphasis. At most one action per step
3632
- should be primary; this is not enforced here.
3633
- */
3634
- primary?: boolean;
3635
- /** Optional localization key override for the action's label. When
3636
- omitted, the engine derives a key from the step and action names.
3637
- Display text is resolved client-side from a locale dictionary, never
3638
- by the engine.
3639
- */
3640
- text_key?: string;
3641
- };
3967
+ type GetFlowStep200StepActionsItem = {
3968
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
3969
+ /** Marks this as the default/primary action. The runtime template uses
3970
+ this hint to choose visual emphasis. At most one action per step
3971
+ should be primary; this is not enforced here.
3972
+ */
3973
+ primary?: boolean;
3974
+ /** Optional localization key override for the action's label. When
3975
+ omitted, the engine derives a key from the step and action names.
3976
+ Display text is resolved client-side from a locale dictionary, never
3977
+ by the engine.
3978
+ */
3979
+ text_key?: string;
3642
3980
  };
3643
3981
  //#endregion
3644
3982
  //#region src/generated/model/getFlowStep200StepChallengeMethod.d.ts
@@ -3721,7 +4059,7 @@ declare const GetFlowStep200StepComplete: {
3721
4059
  readonly show: "show";
3722
4060
  };
3723
4061
  //#endregion
3724
- //#region src/generated/model/getFlowStep200StepFieldsType.d.ts
4062
+ //#region src/generated/model/getFlowStep200StepFieldsItemType.d.ts
3725
4063
  /**
3726
4064
  * Generated by orval v8.10.0 🍺
3727
4065
  * Do not edit manually.
@@ -3730,14 +4068,15 @@ declare const GetFlowStep200StepComplete: {
3730
4068
  * OpenAPI spec version: 0.0.1
3731
4069
  */
3732
4070
  /**
3733
- * The input kind the client should render. Encodes the formats that
3734
- have a matching HTML input type (email, url, date). For other
3735
- formats (e.g. uuid) the type is `text` and `validation.format`
3736
- carries the rule.
4071
+ * The input kind the client should render. Encodes the formats and
4072
+ JSON types that map to a familiar HTML input: `email`, `url`,
4073
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
4074
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
4075
+ type is `text` and `validation.format` carries the rule.
3737
4076
 
3738
4077
  */
3739
- type GetFlowStep200StepFieldsType = (typeof GetFlowStep200StepFieldsType)[keyof typeof GetFlowStep200StepFieldsType];
3740
- declare const GetFlowStep200StepFieldsType: {
4078
+ type GetFlowStep200StepFieldsItemType = (typeof GetFlowStep200StepFieldsItemType)[keyof typeof GetFlowStep200StepFieldsItemType];
4079
+ declare const GetFlowStep200StepFieldsItemType: {
3741
4080
  readonly text: "text";
3742
4081
  readonly email: "email";
3743
4082
  readonly password: "password";
@@ -3746,9 +4085,11 @@ declare const GetFlowStep200StepFieldsType: {
3746
4085
  readonly url: "url";
3747
4086
  readonly date: "date";
3748
4087
  readonly hidden: "hidden";
4088
+ readonly checkbox: "checkbox";
4089
+ readonly select: "select";
3749
4090
  };
3750
4091
  //#endregion
3751
- //#region src/generated/model/getFlowStep200StepFieldsValidationFormat.d.ts
4092
+ //#region src/generated/model/getFlowStep200StepFieldsItemValidationFormat.d.ts
3752
4093
  /**
3753
4094
  * Generated by orval v8.10.0 🍺
3754
4095
  * Do not edit manually.
@@ -3764,15 +4105,15 @@ sufficient for client-side validation. When `type` is `text`
3764
4105
  (e.g. `format: uuid`), this key is the only signal.
3765
4106
 
3766
4107
  */
3767
- type GetFlowStep200StepFieldsValidationFormat = (typeof GetFlowStep200StepFieldsValidationFormat)[keyof typeof GetFlowStep200StepFieldsValidationFormat];
3768
- declare const GetFlowStep200StepFieldsValidationFormat: {
4108
+ type GetFlowStep200StepFieldsItemValidationFormat = (typeof GetFlowStep200StepFieldsItemValidationFormat)[keyof typeof GetFlowStep200StepFieldsItemValidationFormat];
4109
+ declare const GetFlowStep200StepFieldsItemValidationFormat: {
3769
4110
  readonly email: "email";
3770
4111
  readonly "date-time": "date-time";
3771
4112
  readonly uuid: "uuid";
3772
4113
  readonly uri: "uri";
3773
4114
  };
3774
4115
  //#endregion
3775
- //#region src/generated/model/getFlowStep200StepFieldsValidation.d.ts
4116
+ //#region src/generated/model/getFlowStep200StepFieldsItemValidation.d.ts
3776
4117
  /**
3777
4118
  * Schema-derived rules the frontend SHOULD apply at input time. The
3778
4119
  server runs the same rules on submit and is the only authority on
@@ -3784,14 +4125,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
3784
4125
  property; absent keys mean no rule.
3785
4126
 
3786
4127
  */
3787
- type GetFlowStep200StepFieldsValidation = {
4128
+ type GetFlowStep200StepFieldsItemValidation = {
3788
4129
  /** Semantic format the value must match. Values mirror the user
3789
4130
  meta-schema. When `type` already encodes the format (email,
3790
4131
  url, date), this key is informative and the input type is
3791
4132
  sufficient for client-side validation. When `type` is `text`
3792
4133
  (e.g. `format: uuid`), this key is the only signal.
3793
4134
  */
3794
- format?: GetFlowStep200StepFieldsValidationFormat;
4135
+ format?: GetFlowStep200StepFieldsItemValidationFormat;
3795
4136
  /**
3796
4137
  * Minimum length in characters (inclusive). Mirrors `minLength`.
3797
4138
  * @minimum 0
@@ -3802,40 +4143,47 @@ type GetFlowStep200StepFieldsValidation = {
3802
4143
  * @minimum 0
3803
4144
  */
3804
4145
  max_length?: number;
4146
+ /** Closed list of allowed values. Mirrors the JSON Schema `enum`
4147
+ keyword on the underlying user property. When `type` is
4148
+ `select` the client renders these as options; for other types
4149
+ the rule still applies as a membership check.
4150
+ */
4151
+ enum?: string[];
3805
4152
  };
3806
4153
  //#endregion
3807
- //#region src/generated/model/getFlowStep200StepFields.d.ts
4154
+ //#region src/generated/model/getFlowStep200StepFieldsItem.d.ts
3808
4155
  /**
3809
- * Unordered dictionary of input fields to collect. Keyed by field name.
3810
- The LiquidJS template controls which fields appear and in what order.
3811
- Field metadata (type, validation) is resolved by the engine from the
3812
- flow's user schema.
4156
+ * A data input capability. Describes what the user must provide.
4157
+ Does not contain display text only a `text_key` resolved client-side.
3813
4158
 
3814
4159
  */
3815
- type GetFlowStep200StepFields = {
3816
- [key: string]: {
3817
- /** The input kind the client should render. Encodes the formats that
3818
- have a matching HTML input type (email, url, date). For other
3819
- formats (e.g. uuid) the type is `text` and `validation.format`
3820
- carries the rule.
3821
- */
3822
- type: GetFlowStep200StepFieldsType; /** Localization key for the field label. */
3823
- text_key: string;
3824
- /** The field MUST be present and non-empty on submit. Mirrors the
3825
- schema's top-level `required` array.
3826
- */
3827
- required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
3828
- value?: unknown;
3829
- /** Schema-derived rules the frontend SHOULD apply at input time. The
3830
- server runs the same rules on submit and is the only authority on
3831
- whether the step advances these rules are a UX hint to reduce
3832
- round trips, not a contract guarantee.
3833
- Omitted entirely when the field has no rules beyond its `type`.
3834
- Each key mirrors a JSON Schema keyword on the underlying user
3835
- property; absent keys mean no rule.
3836
- */
3837
- validation?: GetFlowStep200StepFieldsValidation;
3838
- };
4160
+ type GetFlowStep200StepFieldsItem = {
4161
+ /** Field name, matching a property in the flow's user schema. Carries
4162
+ the submitted value back to the engine.
4163
+ */
4164
+ name: string;
4165
+ /** The input kind the client should render. Encodes the formats and
4166
+ JSON types that map to a familiar HTML input: `email`, `url`,
4167
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
4168
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
4169
+ type is `text` and `validation.format` carries the rule.
4170
+ */
4171
+ type: GetFlowStep200StepFieldsItemType; /** Localization key for the field label. */
4172
+ text_key: string;
4173
+ /** The field MUST be present and non-empty on submit. Mirrors the
4174
+ schema's top-level `required` array.
4175
+ */
4176
+ required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
4177
+ value?: unknown;
4178
+ /** Schema-derived rules the frontend SHOULD apply at input time. The
4179
+ server runs the same rules on submit and is the only authority on
4180
+ whether the step advances these rules are a UX hint to reduce
4181
+ round trips, not a contract guarantee.
4182
+ Omitted entirely when the field has no rules beyond its `type`.
4183
+ Each key mirrors a JSON Schema keyword on the underlying user
4184
+ property; absent keys mean no rule.
4185
+ */
4186
+ validation?: GetFlowStep200StepFieldsItemValidation;
3839
4187
  };
3840
4188
  //#endregion
3841
4189
  //#region src/generated/model/getFlowStep200StepGatesConfig.d.ts
@@ -3937,9 +4285,10 @@ type GetFlowStep200StepTexts = {
3937
4285
  //#endregion
3938
4286
  //#region src/generated/model/getFlowStep200Step.d.ts
3939
4287
  /**
3940
- * A step contains unordered capability dictionaries: what to collect (fields),
4288
+ * A step contains ordered capability arrays: what to collect (fields),
3941
4289
  what the user can do (actions), and what security gates must be satisfied (gates).
3942
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
4290
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
4291
+ and builds name-keyed indexes locally for lookup.
3943
4292
 
3944
4293
  */
3945
4294
  type GetFlowStep200Step = {
@@ -3955,16 +4304,16 @@ type GetFlowStep200Step = {
3955
4304
  */
3956
4305
  complete?: GetFlowStep200StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
3957
4306
  redirect_url?: string;
3958
- /** Unordered dictionary of input fields to collect. Keyed by field name.
3959
- The LiquidJS template controls which fields appear and in what order.
3960
- Field metadata (type, validation) is resolved by the engine from the
3961
- flow's user schema.
4307
+ /** Ordered list of input fields to collect. Field metadata (type, validation)
4308
+ is resolved by the engine from the flow's user schema. The LiquidJS
4309
+ template iterates this array; for keyed lookup it builds a name-indexed
4310
+ map locally.
3962
4311
  */
3963
- fields: GetFlowStep200StepFields;
3964
- /** Unordered dictionary of available user actions. Keyed by action name.
3965
- The LiquidJS template controls positioning and presentation.
4312
+ fields: GetFlowStep200StepFieldsItem[];
4313
+ /** Ordered list of available user actions. The LiquidJS template iterates
4314
+ this array and builds a name-indexed map locally for keyed lookup.
3966
4315
  */
3967
- actions: GetFlowStep200StepActions;
4316
+ actions: GetFlowStep200StepActionsItem[];
3968
4317
  /** Security gates that must be satisfied before the step can be submitted.
3969
4318
  The engine injects gates dynamically based on policy, even if they
3970
4319
  are not declared in the flow definition.
@@ -3990,9 +4339,10 @@ type GetFlowStep200 = {
3990
4339
  id: string; /** Underlying session ID. Stable across all stacked flows. */
3991
4340
  session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
3992
4341
  session_token?: string;
3993
- /** A step contains unordered capability dictionaries: what to collect (fields),
4342
+ /** A step contains ordered capability arrays: what to collect (fields),
3994
4343
  what the user can do (actions), and what security gates must be satisfied (gates).
3995
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
4344
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
4345
+ and builds name-keyed indexes locally for lookup.
3996
4346
  */
3997
4347
  step: GetFlowStep200Step;
3998
4348
  /** Resolved branding configuration. Inherited from the app → team → project
@@ -4515,6 +4865,92 @@ type GetMySessionDefault = {
4515
4865
  details?: GetMySessionDefaultDetails;
4516
4866
  };
4517
4867
  //#endregion
4868
+ //#region src/generated/model/getMyUser200.d.ts
4869
+ /**
4870
+ * Generated by orval v8.10.0 🍺
4871
+ * Do not edit manually.
4872
+ * Zitadel NextGen
4873
+ * This is the next generation of the Zitadel identity platform.
4874
+ * OpenAPI spec version: 0.0.1
4875
+ */
4876
+ type GetMyUser200 = {
4877
+ [key: string]: unknown;
4878
+ };
4879
+ //#endregion
4880
+ //#region src/generated/model/getMyUser401Details.d.ts
4881
+ /**
4882
+ * Generated by orval v8.10.0 🍺
4883
+ * Do not edit manually.
4884
+ * Zitadel NextGen
4885
+ * This is the next generation of the Zitadel identity platform.
4886
+ * OpenAPI spec version: 0.0.1
4887
+ */
4888
+ /**
4889
+ * Additional error-specific context.
4890
+ */
4891
+ type GetMyUser401Details = {
4892
+ [key: string]: unknown;
4893
+ };
4894
+ //#endregion
4895
+ //#region src/generated/model/getMyUser401.d.ts
4896
+ /**
4897
+ * Standard error payload returned for failed API requests.
4898
+ */
4899
+ type GetMyUser401 = {
4900
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4901
+ message: string; /** Additional error-specific context. */
4902
+ details?: GetMyUser401Details;
4903
+ };
4904
+ //#endregion
4905
+ //#region src/generated/model/getMyUser404.d.ts
4906
+ /**
4907
+ * Generated by orval v8.10.0 🍺
4908
+ * Do not edit manually.
4909
+ * Zitadel NextGen
4910
+ * This is the next generation of the Zitadel identity platform.
4911
+ * OpenAPI spec version: 0.0.1
4912
+ */
4913
+ /**
4914
+ * User not found
4915
+
4916
+ Error code: user.not_found
4917
+
4918
+ */
4919
+ type GetMyUser404 = {
4920
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4921
+ message: string; /** Additional error-specific context. */
4922
+ details?: {
4923
+ [key: string]: unknown;
4924
+ };
4925
+ } & {
4926
+ code: "user.not_found";
4927
+ };
4928
+ //#endregion
4929
+ //#region src/generated/model/getMyUserDefaultDetails.d.ts
4930
+ /**
4931
+ * Generated by orval v8.10.0 🍺
4932
+ * Do not edit manually.
4933
+ * Zitadel NextGen
4934
+ * This is the next generation of the Zitadel identity platform.
4935
+ * OpenAPI spec version: 0.0.1
4936
+ */
4937
+ /**
4938
+ * Additional error-specific context.
4939
+ */
4940
+ type GetMyUserDefaultDetails = {
4941
+ [key: string]: unknown;
4942
+ };
4943
+ //#endregion
4944
+ //#region src/generated/model/getMyUserDefault.d.ts
4945
+ /**
4946
+ * Standard error payload returned for failed API requests.
4947
+ */
4948
+ type GetMyUserDefault = {
4949
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4950
+ message: string; /** Additional error-specific context. */
4951
+ details?: GetMyUserDefaultDetails;
4952
+ };
4953
+ //#endregion
4518
4954
  //#region src/generated/model/getOpenIDConfiguration4xxDetails.d.ts
4519
4955
  /**
4520
4956
  * Generated by orval v8.10.0 🍺
@@ -5955,7 +6391,7 @@ type ListFlowDefinitions200FlowDefinitionsItem = {
5955
6391
  /** URI of the flow definition schema this definition was authored against.
5956
6392
  If the schema_uri was not provided in the request, the flow definition is validated against the latest version of the schema, and the response includes the schema_uri of the latest version.
5957
6393
  */
5958
- schema_uri: string; /** Status of the flow definition. */
6394
+ schema_uri?: string; /** Status of the flow definition. */
5959
6395
  status: string; /** Timestamp when the flow definition was created. */
5960
6396
  created_at: string; /** Timestamp when the flow definition was last updated. */
5961
6397
  updated_at: string;
@@ -6051,7 +6487,7 @@ type ListFlowDefinitionsParams = {
6051
6487
  */
6052
6488
  page_token?: string;
6053
6489
  /**
6054
- * The unique identifier of the project
6490
+ * The project id to filter by.
6055
6491
  * @pattern ^[a-zA-Z0-9_-]+$
6056
6492
  */
6057
6493
  project_id: string;
@@ -6696,7 +7132,111 @@ type RevokeSessionDefault = {
6696
7132
  details?: RevokeSessionDefaultDetails;
6697
7133
  };
6698
7134
  //#endregion
6699
- //#region src/generated/model/revokeSessionParams.d.ts
7135
+ //#region src/generated/model/revokeSessionParams.d.ts
7136
+ /**
7137
+ * Generated by orval v8.10.0 🍺
7138
+ * Do not edit manually.
7139
+ * Zitadel NextGen
7140
+ * This is the next generation of the Zitadel identity platform.
7141
+ * OpenAPI spec version: 0.0.1
7142
+ */
7143
+ type RevokeSessionParams = {
7144
+ /**
7145
+ * The unique identifier of the project
7146
+ * @pattern ^[a-zA-Z0-9_-]+$
7147
+ */
7148
+ project_id: string;
7149
+ };
7150
+ //#endregion
7151
+ //#region src/generated/model/revokeToken4xxDetails.d.ts
7152
+ /**
7153
+ * Generated by orval v8.10.0 🍺
7154
+ * Do not edit manually.
7155
+ * Zitadel NextGen
7156
+ * This is the next generation of the Zitadel identity platform.
7157
+ * OpenAPI spec version: 0.0.1
7158
+ */
7159
+ /**
7160
+ * Additional error-specific context.
7161
+ */
7162
+ type RevokeToken4xxDetails = {
7163
+ [key: string]: unknown;
7164
+ };
7165
+ //#endregion
7166
+ //#region src/generated/model/revokeToken4xx.d.ts
7167
+ /**
7168
+ * Standard error payload returned for failed API requests.
7169
+ */
7170
+ type RevokeToken4xx = {
7171
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7172
+ message: string; /** Additional error-specific context. */
7173
+ details?: RevokeToken4xxDetails;
7174
+ };
7175
+ //#endregion
7176
+ //#region src/generated/model/revokeTokenBody.d.ts
7177
+ /**
7178
+ * Generated by orval v8.10.0 🍺
7179
+ * Do not edit manually.
7180
+ * Zitadel NextGen
7181
+ * This is the next generation of the Zitadel identity platform.
7182
+ * OpenAPI spec version: 0.0.1
7183
+ */
7184
+ type RevokeTokenBody = {
7185
+ /** The token to revoke (access token or refresh token) */token?: string; /** Optional hint about the type of the token being revoked (access_token or refresh_token) */
7186
+ token_type_hint?: string;
7187
+ };
7188
+ //#endregion
7189
+ //#region src/generated/model/revokeTokenDefaultDetails.d.ts
7190
+ /**
7191
+ * Generated by orval v8.10.0 🍺
7192
+ * Do not edit manually.
7193
+ * Zitadel NextGen
7194
+ * This is the next generation of the Zitadel identity platform.
7195
+ * OpenAPI spec version: 0.0.1
7196
+ */
7197
+ /**
7198
+ * Additional error-specific context.
7199
+ */
7200
+ type RevokeTokenDefaultDetails = {
7201
+ [key: string]: unknown;
7202
+ };
7203
+ //#endregion
7204
+ //#region src/generated/model/revokeTokenDefault.d.ts
7205
+ /**
7206
+ * Standard error payload returned for failed API requests.
7207
+ */
7208
+ type RevokeTokenDefault = {
7209
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7210
+ message: string; /** Additional error-specific context. */
7211
+ details?: RevokeTokenDefaultDetails;
7212
+ };
7213
+ //#endregion
7214
+ //#region src/generated/model/setUserPassword400Details.d.ts
7215
+ /**
7216
+ * Generated by orval v8.10.0 🍺
7217
+ * Do not edit manually.
7218
+ * Zitadel NextGen
7219
+ * This is the next generation of the Zitadel identity platform.
7220
+ * OpenAPI spec version: 0.0.1
7221
+ */
7222
+ /**
7223
+ * Additional error-specific context.
7224
+ */
7225
+ type SetUserPassword400Details = {
7226
+ [key: string]: unknown;
7227
+ };
7228
+ //#endregion
7229
+ //#region src/generated/model/setUserPassword400.d.ts
7230
+ /**
7231
+ * Standard error payload returned for failed API requests.
7232
+ */
7233
+ type SetUserPassword400 = {
7234
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7235
+ message: string; /** Additional error-specific context. */
7236
+ details?: SetUserPassword400Details;
7237
+ };
7238
+ //#endregion
7239
+ //#region src/generated/model/setUserPassword404Details.d.ts
6700
7240
  /**
6701
7241
  * Generated by orval v8.10.0 🍺
6702
7242
  * Do not edit manually.
@@ -6704,15 +7244,24 @@ type RevokeSessionDefault = {
6704
7244
  * This is the next generation of the Zitadel identity platform.
6705
7245
  * OpenAPI spec version: 0.0.1
6706
7246
  */
6707
- type RevokeSessionParams = {
6708
- /**
6709
- * The unique identifier of the project
6710
- * @pattern ^[a-zA-Z0-9_-]+$
6711
- */
6712
- project_id: string;
7247
+ /**
7248
+ * Additional error-specific context.
7249
+ */
7250
+ type SetUserPassword404Details = {
7251
+ [key: string]: unknown;
6713
7252
  };
6714
7253
  //#endregion
6715
- //#region src/generated/model/revokeToken4xxDetails.d.ts
7254
+ //#region src/generated/model/setUserPassword404.d.ts
7255
+ /**
7256
+ * Standard error payload returned for failed API requests.
7257
+ */
7258
+ type SetUserPassword404 = {
7259
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7260
+ message: string; /** Additional error-specific context. */
7261
+ details?: SetUserPassword404Details;
7262
+ };
7263
+ //#endregion
7264
+ //#region src/generated/model/setUserPassword500Details.d.ts
6716
7265
  /**
6717
7266
  * Generated by orval v8.10.0 🍺
6718
7267
  * Do not edit manually.
@@ -6723,21 +7272,21 @@ type RevokeSessionParams = {
6723
7272
  /**
6724
7273
  * Additional error-specific context.
6725
7274
  */
6726
- type RevokeToken4xxDetails = {
7275
+ type SetUserPassword500Details = {
6727
7276
  [key: string]: unknown;
6728
7277
  };
6729
7278
  //#endregion
6730
- //#region src/generated/model/revokeToken4xx.d.ts
7279
+ //#region src/generated/model/setUserPassword500.d.ts
6731
7280
  /**
6732
7281
  * Standard error payload returned for failed API requests.
6733
7282
  */
6734
- type RevokeToken4xx = {
7283
+ type SetUserPassword500 = {
6735
7284
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6736
7285
  message: string; /** Additional error-specific context. */
6737
- details?: RevokeToken4xxDetails;
7286
+ details?: SetUserPassword500Details;
6738
7287
  };
6739
7288
  //#endregion
6740
- //#region src/generated/model/revokeTokenBody.d.ts
7289
+ //#region src/generated/model/setUserPasswordBody.d.ts
6741
7290
  /**
6742
7291
  * Generated by orval v8.10.0 🍺
6743
7292
  * Do not edit manually.
@@ -6745,12 +7294,18 @@ type RevokeToken4xx = {
6745
7294
  * This is the next generation of the Zitadel identity platform.
6746
7295
  * OpenAPI spec version: 0.0.1
6747
7296
  */
6748
- type RevokeTokenBody = {
6749
- /** The token to revoke (access token or refresh token) */token?: string; /** Optional hint about the type of the token being revoked (access_token or refresh_token) */
6750
- token_type_hint?: string;
7297
+ /**
7298
+ * Request to update the user's password.
7299
+ */
7300
+ type SetUserPasswordBody = {
7301
+ /** The new password for the user. */password: string;
7302
+ /** Whether the user is required to change their password on the next login.
7303
+ If not provided, it will default to false.
7304
+ */
7305
+ isChangeRequired?: boolean;
6751
7306
  };
6752
7307
  //#endregion
6753
- //#region src/generated/model/revokeTokenDefaultDetails.d.ts
7308
+ //#region src/generated/model/setUserPasswordDefaultDetails.d.ts
6754
7309
  /**
6755
7310
  * Generated by orval v8.10.0 🍺
6756
7311
  * Do not edit manually.
@@ -6761,18 +7316,34 @@ type RevokeTokenBody = {
6761
7316
  /**
6762
7317
  * Additional error-specific context.
6763
7318
  */
6764
- type RevokeTokenDefaultDetails = {
7319
+ type SetUserPasswordDefaultDetails = {
6765
7320
  [key: string]: unknown;
6766
7321
  };
6767
7322
  //#endregion
6768
- //#region src/generated/model/revokeTokenDefault.d.ts
7323
+ //#region src/generated/model/setUserPasswordDefault.d.ts
6769
7324
  /**
6770
7325
  * Standard error payload returned for failed API requests.
6771
7326
  */
6772
- type RevokeTokenDefault = {
7327
+ type SetUserPasswordDefault = {
6773
7328
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6774
7329
  message: string; /** Additional error-specific context. */
6775
- details?: RevokeTokenDefaultDetails;
7330
+ details?: SetUserPasswordDefaultDetails;
7331
+ };
7332
+ //#endregion
7333
+ //#region src/generated/model/setUserPasswordParams.d.ts
7334
+ /**
7335
+ * Generated by orval v8.10.0 🍺
7336
+ * Do not edit manually.
7337
+ * Zitadel NextGen
7338
+ * This is the next generation of the Zitadel identity platform.
7339
+ * OpenAPI spec version: 0.0.1
7340
+ */
7341
+ type SetUserPasswordParams = {
7342
+ /**
7343
+ * The unique identifier of the project
7344
+ * @pattern ^[a-zA-Z0-9_-]+$
7345
+ */
7346
+ project_id: string;
6776
7347
  };
6777
7348
  //#endregion
6778
7349
  //#region src/generated/model/submitFlowEvent400Details.d.ts
@@ -6929,7 +7500,7 @@ type SubmitFlowStep200Branding = {
6929
7500
  hero_url?: string;
6930
7501
  };
6931
7502
  //#endregion
6932
- //#region src/generated/model/submitFlowStep200StepActions.d.ts
7503
+ //#region src/generated/model/submitFlowStep200StepActionsItem.d.ts
6933
7504
  /**
6934
7505
  * Generated by orval v8.10.0 🍺
6935
7506
  * Do not edit manually.
@@ -6938,24 +7509,23 @@ type SubmitFlowStep200Branding = {
6938
7509
  * OpenAPI spec version: 0.0.1
6939
7510
  */
6940
7511
  /**
6941
- * Unordered dictionary of available user actions. Keyed by action name.
6942
- The LiquidJS template controls positioning and presentation.
7512
+ * Configuration for a user-invokable action on a step. The `name` is sent
7513
+ back in the submit request as `action`.
6943
7514
 
6944
7515
  */
6945
- type SubmitFlowStep200StepActions = {
6946
- [key: string]: {
6947
- /** Marks this as the default/primary action. The runtime template uses
6948
- this hint to choose visual emphasis. At most one action per step
6949
- should be primary; this is not enforced here.
6950
- */
6951
- primary?: boolean;
6952
- /** Optional localization key override for the action's label. When
6953
- omitted, the engine derives a key from the step and action names.
6954
- Display text is resolved client-side from a locale dictionary, never
6955
- by the engine.
6956
- */
6957
- text_key?: string;
6958
- };
7516
+ type SubmitFlowStep200StepActionsItem = {
7517
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
7518
+ /** Marks this as the default/primary action. The runtime template uses
7519
+ this hint to choose visual emphasis. At most one action per step
7520
+ should be primary; this is not enforced here.
7521
+ */
7522
+ primary?: boolean;
7523
+ /** Optional localization key override for the action's label. When
7524
+ omitted, the engine derives a key from the step and action names.
7525
+ Display text is resolved client-side from a locale dictionary, never
7526
+ by the engine.
7527
+ */
7528
+ text_key?: string;
6959
7529
  };
6960
7530
  //#endregion
6961
7531
  //#region src/generated/model/submitFlowStep200StepChallengeMethod.d.ts
@@ -7038,7 +7608,7 @@ declare const SubmitFlowStep200StepComplete: {
7038
7608
  readonly show: "show";
7039
7609
  };
7040
7610
  //#endregion
7041
- //#region src/generated/model/submitFlowStep200StepFieldsType.d.ts
7611
+ //#region src/generated/model/submitFlowStep200StepFieldsItemType.d.ts
7042
7612
  /**
7043
7613
  * Generated by orval v8.10.0 🍺
7044
7614
  * Do not edit manually.
@@ -7047,14 +7617,15 @@ declare const SubmitFlowStep200StepComplete: {
7047
7617
  * OpenAPI spec version: 0.0.1
7048
7618
  */
7049
7619
  /**
7050
- * The input kind the client should render. Encodes the formats that
7051
- have a matching HTML input type (email, url, date). For other
7052
- formats (e.g. uuid) the type is `text` and `validation.format`
7053
- carries the rule.
7620
+ * The input kind the client should render. Encodes the formats and
7621
+ JSON types that map to a familiar HTML input: `email`, `url`,
7622
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
7623
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
7624
+ type is `text` and `validation.format` carries the rule.
7054
7625
 
7055
7626
  */
7056
- type SubmitFlowStep200StepFieldsType = (typeof SubmitFlowStep200StepFieldsType)[keyof typeof SubmitFlowStep200StepFieldsType];
7057
- declare const SubmitFlowStep200StepFieldsType: {
7627
+ type SubmitFlowStep200StepFieldsItemType = (typeof SubmitFlowStep200StepFieldsItemType)[keyof typeof SubmitFlowStep200StepFieldsItemType];
7628
+ declare const SubmitFlowStep200StepFieldsItemType: {
7058
7629
  readonly text: "text";
7059
7630
  readonly email: "email";
7060
7631
  readonly password: "password";
@@ -7063,9 +7634,11 @@ declare const SubmitFlowStep200StepFieldsType: {
7063
7634
  readonly url: "url";
7064
7635
  readonly date: "date";
7065
7636
  readonly hidden: "hidden";
7637
+ readonly checkbox: "checkbox";
7638
+ readonly select: "select";
7066
7639
  };
7067
7640
  //#endregion
7068
- //#region src/generated/model/submitFlowStep200StepFieldsValidationFormat.d.ts
7641
+ //#region src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.d.ts
7069
7642
  /**
7070
7643
  * Generated by orval v8.10.0 🍺
7071
7644
  * Do not edit manually.
@@ -7081,15 +7654,15 @@ sufficient for client-side validation. When `type` is `text`
7081
7654
  (e.g. `format: uuid`), this key is the only signal.
7082
7655
 
7083
7656
  */
7084
- type SubmitFlowStep200StepFieldsValidationFormat = (typeof SubmitFlowStep200StepFieldsValidationFormat)[keyof typeof SubmitFlowStep200StepFieldsValidationFormat];
7085
- declare const SubmitFlowStep200StepFieldsValidationFormat: {
7657
+ type SubmitFlowStep200StepFieldsItemValidationFormat = (typeof SubmitFlowStep200StepFieldsItemValidationFormat)[keyof typeof SubmitFlowStep200StepFieldsItemValidationFormat];
7658
+ declare const SubmitFlowStep200StepFieldsItemValidationFormat: {
7086
7659
  readonly email: "email";
7087
7660
  readonly "date-time": "date-time";
7088
7661
  readonly uuid: "uuid";
7089
7662
  readonly uri: "uri";
7090
7663
  };
7091
7664
  //#endregion
7092
- //#region src/generated/model/submitFlowStep200StepFieldsValidation.d.ts
7665
+ //#region src/generated/model/submitFlowStep200StepFieldsItemValidation.d.ts
7093
7666
  /**
7094
7667
  * Schema-derived rules the frontend SHOULD apply at input time. The
7095
7668
  server runs the same rules on submit and is the only authority on
@@ -7101,14 +7674,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
7101
7674
  property; absent keys mean no rule.
7102
7675
 
7103
7676
  */
7104
- type SubmitFlowStep200StepFieldsValidation = {
7677
+ type SubmitFlowStep200StepFieldsItemValidation = {
7105
7678
  /** Semantic format the value must match. Values mirror the user
7106
7679
  meta-schema. When `type` already encodes the format (email,
7107
7680
  url, date), this key is informative and the input type is
7108
7681
  sufficient for client-side validation. When `type` is `text`
7109
7682
  (e.g. `format: uuid`), this key is the only signal.
7110
7683
  */
7111
- format?: SubmitFlowStep200StepFieldsValidationFormat;
7684
+ format?: SubmitFlowStep200StepFieldsItemValidationFormat;
7112
7685
  /**
7113
7686
  * Minimum length in characters (inclusive). Mirrors `minLength`.
7114
7687
  * @minimum 0
@@ -7119,40 +7692,47 @@ type SubmitFlowStep200StepFieldsValidation = {
7119
7692
  * @minimum 0
7120
7693
  */
7121
7694
  max_length?: number;
7695
+ /** Closed list of allowed values. Mirrors the JSON Schema `enum`
7696
+ keyword on the underlying user property. When `type` is
7697
+ `select` the client renders these as options; for other types
7698
+ the rule still applies as a membership check.
7699
+ */
7700
+ enum?: string[];
7122
7701
  };
7123
7702
  //#endregion
7124
- //#region src/generated/model/submitFlowStep200StepFields.d.ts
7703
+ //#region src/generated/model/submitFlowStep200StepFieldsItem.d.ts
7125
7704
  /**
7126
- * Unordered dictionary of input fields to collect. Keyed by field name.
7127
- The LiquidJS template controls which fields appear and in what order.
7128
- Field metadata (type, validation) is resolved by the engine from the
7129
- flow's user schema.
7705
+ * A data input capability. Describes what the user must provide.
7706
+ Does not contain display text only a `text_key` resolved client-side.
7130
7707
 
7131
7708
  */
7132
- type SubmitFlowStep200StepFields = {
7133
- [key: string]: {
7134
- /** The input kind the client should render. Encodes the formats that
7135
- have a matching HTML input type (email, url, date). For other
7136
- formats (e.g. uuid) the type is `text` and `validation.format`
7137
- carries the rule.
7138
- */
7139
- type: SubmitFlowStep200StepFieldsType; /** Localization key for the field label. */
7140
- text_key: string;
7141
- /** The field MUST be present and non-empty on submit. Mirrors the
7142
- schema's top-level `required` array.
7143
- */
7144
- required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
7145
- value?: unknown;
7146
- /** Schema-derived rules the frontend SHOULD apply at input time. The
7147
- server runs the same rules on submit and is the only authority on
7148
- whether the step advances these rules are a UX hint to reduce
7149
- round trips, not a contract guarantee.
7150
- Omitted entirely when the field has no rules beyond its `type`.
7151
- Each key mirrors a JSON Schema keyword on the underlying user
7152
- property; absent keys mean no rule.
7153
- */
7154
- validation?: SubmitFlowStep200StepFieldsValidation;
7155
- };
7709
+ type SubmitFlowStep200StepFieldsItem = {
7710
+ /** Field name, matching a property in the flow's user schema. Carries
7711
+ the submitted value back to the engine.
7712
+ */
7713
+ name: string;
7714
+ /** The input kind the client should render. Encodes the formats and
7715
+ JSON types that map to a familiar HTML input: `email`, `url`,
7716
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
7717
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
7718
+ type is `text` and `validation.format` carries the rule.
7719
+ */
7720
+ type: SubmitFlowStep200StepFieldsItemType; /** Localization key for the field label. */
7721
+ text_key: string;
7722
+ /** The field MUST be present and non-empty on submit. Mirrors the
7723
+ schema's top-level `required` array.
7724
+ */
7725
+ required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
7726
+ value?: unknown;
7727
+ /** Schema-derived rules the frontend SHOULD apply at input time. The
7728
+ server runs the same rules on submit and is the only authority on
7729
+ whether the step advances these rules are a UX hint to reduce
7730
+ round trips, not a contract guarantee.
7731
+ Omitted entirely when the field has no rules beyond its `type`.
7732
+ Each key mirrors a JSON Schema keyword on the underlying user
7733
+ property; absent keys mean no rule.
7734
+ */
7735
+ validation?: SubmitFlowStep200StepFieldsItemValidation;
7156
7736
  };
7157
7737
  //#endregion
7158
7738
  //#region src/generated/model/submitFlowStep200StepGatesConfig.d.ts
@@ -7254,9 +7834,10 @@ type SubmitFlowStep200StepTexts = {
7254
7834
  //#endregion
7255
7835
  //#region src/generated/model/submitFlowStep200Step.d.ts
7256
7836
  /**
7257
- * A step contains unordered capability dictionaries: what to collect (fields),
7837
+ * A step contains ordered capability arrays: what to collect (fields),
7258
7838
  what the user can do (actions), and what security gates must be satisfied (gates).
7259
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
7839
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
7840
+ and builds name-keyed indexes locally for lookup.
7260
7841
 
7261
7842
  */
7262
7843
  type SubmitFlowStep200Step = {
@@ -7272,16 +7853,16 @@ type SubmitFlowStep200Step = {
7272
7853
  */
7273
7854
  complete?: SubmitFlowStep200StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
7274
7855
  redirect_url?: string;
7275
- /** Unordered dictionary of input fields to collect. Keyed by field name.
7276
- The LiquidJS template controls which fields appear and in what order.
7277
- Field metadata (type, validation) is resolved by the engine from the
7278
- flow's user schema.
7856
+ /** Ordered list of input fields to collect. Field metadata (type, validation)
7857
+ is resolved by the engine from the flow's user schema. The LiquidJS
7858
+ template iterates this array; for keyed lookup it builds a name-indexed
7859
+ map locally.
7279
7860
  */
7280
- fields: SubmitFlowStep200StepFields;
7281
- /** Unordered dictionary of available user actions. Keyed by action name.
7282
- The LiquidJS template controls positioning and presentation.
7861
+ fields: SubmitFlowStep200StepFieldsItem[];
7862
+ /** Ordered list of available user actions. The LiquidJS template iterates
7863
+ this array and builds a name-indexed map locally for keyed lookup.
7283
7864
  */
7284
- actions: SubmitFlowStep200StepActions;
7865
+ actions: SubmitFlowStep200StepActionsItem[];
7285
7866
  /** Security gates that must be satisfied before the step can be submitted.
7286
7867
  The engine injects gates dynamically based on policy, even if they
7287
7868
  are not declared in the flow definition.
@@ -7307,9 +7888,10 @@ type SubmitFlowStep200 = {
7307
7888
  id: string; /** Underlying session ID. Stable across all stacked flows. */
7308
7889
  session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
7309
7890
  session_token?: string;
7310
- /** A step contains unordered capability dictionaries: what to collect (fields),
7891
+ /** A step contains ordered capability arrays: what to collect (fields),
7311
7892
  what the user can do (actions), and what security gates must be satisfied (gates).
7312
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
7893
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
7894
+ and builds name-keyed indexes locally for lookup.
7313
7895
  */
7314
7896
  step: SubmitFlowStep200Step;
7315
7897
  /** Resolved branding configuration. Inherited from the app → team → project
@@ -7372,7 +7954,7 @@ type SubmitFlowStep400Branding = {
7372
7954
  hero_url?: string;
7373
7955
  };
7374
7956
  //#endregion
7375
- //#region src/generated/model/submitFlowStep400StepActions.d.ts
7957
+ //#region src/generated/model/submitFlowStep400StepActionsItem.d.ts
7376
7958
  /**
7377
7959
  * Generated by orval v8.10.0 🍺
7378
7960
  * Do not edit manually.
@@ -7381,24 +7963,23 @@ type SubmitFlowStep400Branding = {
7381
7963
  * OpenAPI spec version: 0.0.1
7382
7964
  */
7383
7965
  /**
7384
- * Unordered dictionary of available user actions. Keyed by action name.
7385
- The LiquidJS template controls positioning and presentation.
7966
+ * Configuration for a user-invokable action on a step. The `name` is sent
7967
+ back in the submit request as `action`.
7386
7968
 
7387
7969
  */
7388
- type SubmitFlowStep400StepActions = {
7389
- [key: string]: {
7390
- /** Marks this as the default/primary action. The runtime template uses
7391
- this hint to choose visual emphasis. At most one action per step
7392
- should be primary; this is not enforced here.
7393
- */
7394
- primary?: boolean;
7395
- /** Optional localization key override for the action's label. When
7396
- omitted, the engine derives a key from the step and action names.
7397
- Display text is resolved client-side from a locale dictionary, never
7398
- by the engine.
7399
- */
7400
- text_key?: string;
7401
- };
7970
+ type SubmitFlowStep400StepActionsItem = {
7971
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
7972
+ /** Marks this as the default/primary action. The runtime template uses
7973
+ this hint to choose visual emphasis. At most one action per step
7974
+ should be primary; this is not enforced here.
7975
+ */
7976
+ primary?: boolean;
7977
+ /** Optional localization key override for the action's label. When
7978
+ omitted, the engine derives a key from the step and action names.
7979
+ Display text is resolved client-side from a locale dictionary, never
7980
+ by the engine.
7981
+ */
7982
+ text_key?: string;
7402
7983
  };
7403
7984
  //#endregion
7404
7985
  //#region src/generated/model/submitFlowStep400StepChallengeMethod.d.ts
@@ -7481,7 +8062,7 @@ declare const SubmitFlowStep400StepComplete: {
7481
8062
  readonly show: "show";
7482
8063
  };
7483
8064
  //#endregion
7484
- //#region src/generated/model/submitFlowStep400StepFieldsType.d.ts
8065
+ //#region src/generated/model/submitFlowStep400StepFieldsItemType.d.ts
7485
8066
  /**
7486
8067
  * Generated by orval v8.10.0 🍺
7487
8068
  * Do not edit manually.
@@ -7490,14 +8071,15 @@ declare const SubmitFlowStep400StepComplete: {
7490
8071
  * OpenAPI spec version: 0.0.1
7491
8072
  */
7492
8073
  /**
7493
- * The input kind the client should render. Encodes the formats that
7494
- have a matching HTML input type (email, url, date). For other
7495
- formats (e.g. uuid) the type is `text` and `validation.format`
7496
- carries the rule.
8074
+ * The input kind the client should render. Encodes the formats and
8075
+ JSON types that map to a familiar HTML input: `email`, `url`,
8076
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
8077
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
8078
+ type is `text` and `validation.format` carries the rule.
7497
8079
 
7498
8080
  */
7499
- type SubmitFlowStep400StepFieldsType = (typeof SubmitFlowStep400StepFieldsType)[keyof typeof SubmitFlowStep400StepFieldsType];
7500
- declare const SubmitFlowStep400StepFieldsType: {
8081
+ type SubmitFlowStep400StepFieldsItemType = (typeof SubmitFlowStep400StepFieldsItemType)[keyof typeof SubmitFlowStep400StepFieldsItemType];
8082
+ declare const SubmitFlowStep400StepFieldsItemType: {
7501
8083
  readonly text: "text";
7502
8084
  readonly email: "email";
7503
8085
  readonly password: "password";
@@ -7506,9 +8088,11 @@ declare const SubmitFlowStep400StepFieldsType: {
7506
8088
  readonly url: "url";
7507
8089
  readonly date: "date";
7508
8090
  readonly hidden: "hidden";
8091
+ readonly checkbox: "checkbox";
8092
+ readonly select: "select";
7509
8093
  };
7510
8094
  //#endregion
7511
- //#region src/generated/model/submitFlowStep400StepFieldsValidationFormat.d.ts
8095
+ //#region src/generated/model/submitFlowStep400StepFieldsItemValidationFormat.d.ts
7512
8096
  /**
7513
8097
  * Generated by orval v8.10.0 🍺
7514
8098
  * Do not edit manually.
@@ -7524,15 +8108,15 @@ sufficient for client-side validation. When `type` is `text`
7524
8108
  (e.g. `format: uuid`), this key is the only signal.
7525
8109
 
7526
8110
  */
7527
- type SubmitFlowStep400StepFieldsValidationFormat = (typeof SubmitFlowStep400StepFieldsValidationFormat)[keyof typeof SubmitFlowStep400StepFieldsValidationFormat];
7528
- declare const SubmitFlowStep400StepFieldsValidationFormat: {
8111
+ type SubmitFlowStep400StepFieldsItemValidationFormat = (typeof SubmitFlowStep400StepFieldsItemValidationFormat)[keyof typeof SubmitFlowStep400StepFieldsItemValidationFormat];
8112
+ declare const SubmitFlowStep400StepFieldsItemValidationFormat: {
7529
8113
  readonly email: "email";
7530
8114
  readonly "date-time": "date-time";
7531
8115
  readonly uuid: "uuid";
7532
8116
  readonly uri: "uri";
7533
8117
  };
7534
8118
  //#endregion
7535
- //#region src/generated/model/submitFlowStep400StepFieldsValidation.d.ts
8119
+ //#region src/generated/model/submitFlowStep400StepFieldsItemValidation.d.ts
7536
8120
  /**
7537
8121
  * Schema-derived rules the frontend SHOULD apply at input time. The
7538
8122
  server runs the same rules on submit and is the only authority on
@@ -7544,14 +8128,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
7544
8128
  property; absent keys mean no rule.
7545
8129
 
7546
8130
  */
7547
- type SubmitFlowStep400StepFieldsValidation = {
8131
+ type SubmitFlowStep400StepFieldsItemValidation = {
7548
8132
  /** Semantic format the value must match. Values mirror the user
7549
8133
  meta-schema. When `type` already encodes the format (email,
7550
8134
  url, date), this key is informative and the input type is
7551
8135
  sufficient for client-side validation. When `type` is `text`
7552
8136
  (e.g. `format: uuid`), this key is the only signal.
7553
8137
  */
7554
- format?: SubmitFlowStep400StepFieldsValidationFormat;
8138
+ format?: SubmitFlowStep400StepFieldsItemValidationFormat;
7555
8139
  /**
7556
8140
  * Minimum length in characters (inclusive). Mirrors `minLength`.
7557
8141
  * @minimum 0
@@ -7562,40 +8146,47 @@ type SubmitFlowStep400StepFieldsValidation = {
7562
8146
  * @minimum 0
7563
8147
  */
7564
8148
  max_length?: number;
8149
+ /** Closed list of allowed values. Mirrors the JSON Schema `enum`
8150
+ keyword on the underlying user property. When `type` is
8151
+ `select` the client renders these as options; for other types
8152
+ the rule still applies as a membership check.
8153
+ */
8154
+ enum?: string[];
7565
8155
  };
7566
8156
  //#endregion
7567
- //#region src/generated/model/submitFlowStep400StepFields.d.ts
8157
+ //#region src/generated/model/submitFlowStep400StepFieldsItem.d.ts
7568
8158
  /**
7569
- * Unordered dictionary of input fields to collect. Keyed by field name.
7570
- The LiquidJS template controls which fields appear and in what order.
7571
- Field metadata (type, validation) is resolved by the engine from the
7572
- flow's user schema.
8159
+ * A data input capability. Describes what the user must provide.
8160
+ Does not contain display text only a `text_key` resolved client-side.
7573
8161
 
7574
8162
  */
7575
- type SubmitFlowStep400StepFields = {
7576
- [key: string]: {
7577
- /** The input kind the client should render. Encodes the formats that
7578
- have a matching HTML input type (email, url, date). For other
7579
- formats (e.g. uuid) the type is `text` and `validation.format`
7580
- carries the rule.
7581
- */
7582
- type: SubmitFlowStep400StepFieldsType; /** Localization key for the field label. */
7583
- text_key: string;
7584
- /** The field MUST be present and non-empty on submit. Mirrors the
7585
- schema's top-level `required` array.
7586
- */
7587
- required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
7588
- value?: unknown;
7589
- /** Schema-derived rules the frontend SHOULD apply at input time. The
7590
- server runs the same rules on submit and is the only authority on
7591
- whether the step advances these rules are a UX hint to reduce
7592
- round trips, not a contract guarantee.
7593
- Omitted entirely when the field has no rules beyond its `type`.
7594
- Each key mirrors a JSON Schema keyword on the underlying user
7595
- property; absent keys mean no rule.
7596
- */
7597
- validation?: SubmitFlowStep400StepFieldsValidation;
7598
- };
8163
+ type SubmitFlowStep400StepFieldsItem = {
8164
+ /** Field name, matching a property in the flow's user schema. Carries
8165
+ the submitted value back to the engine.
8166
+ */
8167
+ name: string;
8168
+ /** The input kind the client should render. Encodes the formats and
8169
+ JSON types that map to a familiar HTML input: `email`, `url`,
8170
+ `date` come from `format`; `checkbox` from JSON `type: boolean`;
8171
+ `select` from a closed `enum`. For other formats (e.g. uuid) the
8172
+ type is `text` and `validation.format` carries the rule.
8173
+ */
8174
+ type: SubmitFlowStep400StepFieldsItemType; /** Localization key for the field label. */
8175
+ text_key: string;
8176
+ /** The field MUST be present and non-empty on submit. Mirrors the
8177
+ schema's top-level `required` array.
8178
+ */
8179
+ required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
8180
+ value?: unknown;
8181
+ /** Schema-derived rules the frontend SHOULD apply at input time. The
8182
+ server runs the same rules on submit and is the only authority on
8183
+ whether the step advances these rules are a UX hint to reduce
8184
+ round trips, not a contract guarantee.
8185
+ Omitted entirely when the field has no rules beyond its `type`.
8186
+ Each key mirrors a JSON Schema keyword on the underlying user
8187
+ property; absent keys mean no rule.
8188
+ */
8189
+ validation?: SubmitFlowStep400StepFieldsItemValidation;
7599
8190
  };
7600
8191
  //#endregion
7601
8192
  //#region src/generated/model/submitFlowStep400StepGatesConfig.d.ts
@@ -7697,9 +8288,10 @@ type SubmitFlowStep400StepTexts = {
7697
8288
  //#endregion
7698
8289
  //#region src/generated/model/submitFlowStep400Step.d.ts
7699
8290
  /**
7700
- * A step contains unordered capability dictionaries: what to collect (fields),
8291
+ * A step contains ordered capability arrays: what to collect (fields),
7701
8292
  what the user can do (actions), and what security gates must be satisfied (gates).
7702
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
8293
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
8294
+ and builds name-keyed indexes locally for lookup.
7703
8295
 
7704
8296
  */
7705
8297
  type SubmitFlowStep400Step = {
@@ -7715,16 +8307,16 @@ type SubmitFlowStep400Step = {
7715
8307
  */
7716
8308
  complete?: SubmitFlowStep400StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
7717
8309
  redirect_url?: string;
7718
- /** Unordered dictionary of input fields to collect. Keyed by field name.
7719
- The LiquidJS template controls which fields appear and in what order.
7720
- Field metadata (type, validation) is resolved by the engine from the
7721
- flow's user schema.
8310
+ /** Ordered list of input fields to collect. Field metadata (type, validation)
8311
+ is resolved by the engine from the flow's user schema. The LiquidJS
8312
+ template iterates this array; for keyed lookup it builds a name-indexed
8313
+ map locally.
7722
8314
  */
7723
- fields: SubmitFlowStep400StepFields;
7724
- /** Unordered dictionary of available user actions. Keyed by action name.
7725
- The LiquidJS template controls positioning and presentation.
8315
+ fields: SubmitFlowStep400StepFieldsItem[];
8316
+ /** Ordered list of available user actions. The LiquidJS template iterates
8317
+ this array and builds a name-indexed map locally for keyed lookup.
7726
8318
  */
7727
- actions: SubmitFlowStep400StepActions;
8319
+ actions: SubmitFlowStep400StepActionsItem[];
7728
8320
  /** Security gates that must be satisfied before the step can be submitted.
7729
8321
  The engine injects gates dynamically based on policy, even if they
7730
8322
  are not declared in the flow definition.
@@ -7750,9 +8342,10 @@ type SubmitFlowStep400 = {
7750
8342
  id: string; /** Underlying session ID. Stable across all stacked flows. */
7751
8343
  session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
7752
8344
  session_token?: string;
7753
- /** A step contains unordered capability dictionaries: what to collect (fields),
8345
+ /** A step contains ordered capability arrays: what to collect (fields),
7754
8346
  what the user can do (actions), and what security gates must be satisfied (gates).
7755
- Layout and element ordering are controlled by the LiquidJS template in `branding.liquid_template`.
8347
+ The LiquidJS template in `branding.liquid_template` iterates these arrays in order
8348
+ and builds name-keyed indexes locally for lookup.
7756
8349
  */
7757
8350
  step: SubmitFlowStep400Step;
7758
8351
  /** Resolved branding configuration. Inherited from the app → team → project
@@ -7765,14 +8358,207 @@ type SubmitFlowStep400 = {
7765
8358
  Exchange it for a session via `POST /sessions/exchange`.
7766
8359
  Only present when `step.complete` is set.
7767
8360
  */
7768
- handoff_token?: string;
7769
- /** Expiry timestamp for `handoff_token`. Only present when
7770
- `handoff_token` is set.
8361
+ handoff_token?: string;
8362
+ /** Expiry timestamp for `handoff_token`. Only present when
8363
+ `handoff_token` is set.
8364
+ */
8365
+ handoff_token_expires_at?: string;
8366
+ };
8367
+ //#endregion
8368
+ //#region src/generated/model/submitFlowStep409Details.d.ts
8369
+ /**
8370
+ * Generated by orval v8.10.0 🍺
8371
+ * Do not edit manually.
8372
+ * Zitadel NextGen
8373
+ * This is the next generation of the Zitadel identity platform.
8374
+ * OpenAPI spec version: 0.0.1
8375
+ */
8376
+ /**
8377
+ * Additional error-specific context.
8378
+ */
8379
+ type SubmitFlowStep409Details = {
8380
+ [key: string]: unknown;
8381
+ };
8382
+ //#endregion
8383
+ //#region src/generated/model/submitFlowStep409.d.ts
8384
+ /**
8385
+ * Standard error payload returned for failed API requests.
8386
+ */
8387
+ type SubmitFlowStep409 = {
8388
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8389
+ message: string; /** Additional error-specific context. */
8390
+ details?: SubmitFlowStep409Details;
8391
+ };
8392
+ //#endregion
8393
+ //#region src/generated/model/submitFlowStepBodyChallengeResponseProof.d.ts
8394
+ /**
8395
+ * Generated by orval v8.10.0 🍺
8396
+ * Do not edit manually.
8397
+ * Zitadel NextGen
8398
+ * This is the next generation of the Zitadel identity platform.
8399
+ * OpenAPI spec version: 0.0.1
8400
+ */
8401
+ /**
8402
+ * Method-specific proof payload.
8403
+ For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
8404
+
8405
+ */
8406
+ type SubmitFlowStepBodyChallengeResponseProof = {
8407
+ [key: string]: unknown;
8408
+ };
8409
+ //#endregion
8410
+ //#region src/generated/model/submitFlowStepBodyChallengeResponse.d.ts
8411
+ /**
8412
+ * Response to a pending challenge on the step. Required when the step has a
8413
+ `challenge` property (e.g., after submitting a passkey action).
8414
+ The `<zl-passkey>` component populates this after the WebAuthn ceremony.
8415
+
8416
+ */
8417
+ type SubmitFlowStepBodyChallengeResponse = {
8418
+ /** The challenge identifier from `step.challenge.challenge_id`.
8419
+ Matches the server-side challenge for verification.
8420
+ */
8421
+ challenge_id?: string; /** Which auth method this response is for (e.g., 'passkey'). */
8422
+ method?: string;
8423
+ /** Method-specific proof payload.
8424
+ For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
8425
+ */
8426
+ proof?: SubmitFlowStepBodyChallengeResponseProof;
8427
+ };
8428
+ //#endregion
8429
+ //#region src/generated/model/submitFlowStepBodyFields.d.ts
8430
+ /**
8431
+ * Generated by orval v8.10.0 🍺
8432
+ * Do not edit manually.
8433
+ * Zitadel NextGen
8434
+ * This is the next generation of the Zitadel identity platform.
8435
+ * OpenAPI spec version: 0.0.1
8436
+ */
8437
+ /**
8438
+ * User input values. Keys match field names from the step's `fields` dictionary.
8439
+
8440
+ */
8441
+ type SubmitFlowStepBodyFields = {
8442
+ [key: string]: unknown;
8443
+ };
8444
+ //#endregion
8445
+ //#region src/generated/model/submitFlowStepBodyGateProofs.d.ts
8446
+ /**
8447
+ * Generated by orval v8.10.0 🍺
8448
+ * Do not edit manually.
8449
+ * Zitadel NextGen
8450
+ * This is the next generation of the Zitadel identity platform.
8451
+ * OpenAPI spec version: 0.0.1
8452
+ */
8453
+ /**
8454
+ * Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
8455
+ The orchestrator collects these from `<zl-captcha>` component events.
8456
+
8457
+ */
8458
+ type SubmitFlowStepBodyGateProofs = {
8459
+ [key: string]: string;
8460
+ };
8461
+ //#endregion
8462
+ //#region src/generated/model/submitFlowStepBody.d.ts
8463
+ type SubmitFlowStepBody = {
8464
+ /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */session_token?: string;
8465
+ /** Which action to take. Must be a key from the step's `actions` dictionary:
8466
+ - A regular action (e.g., "submit", "register", "back")
8467
+ - The reserved value "sso" — triggers SSO redirect (requires `sso_provider_id`)
8468
+ */
8469
+ action: string;
8470
+ /** User input values. Keys match field names from the step's `fields` dictionary.
8471
+ */
8472
+ fields?: SubmitFlowStepBodyFields;
8473
+ /** Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
8474
+ The orchestrator collects these from `<zl-captcha>` component events.
8475
+ */
8476
+ gate_proofs?: SubmitFlowStepBodyGateProofs;
8477
+ /** Response to a pending challenge on the step. Required when the step has a
8478
+ `challenge` property (e.g., after submitting a passkey action).
8479
+ The `<zl-passkey>` component populates this after the WebAuthn ceremony.
8480
+ */
8481
+ challenge_response?: SubmitFlowStepBodyChallengeResponse;
8482
+ /** ID of the selected SSO provider (from `sso_providers[].id`).
8483
+ Required when `action` is "sso".
8484
+ */
8485
+ sso_provider_id?: string;
8486
+ };
8487
+ //#endregion
8488
+ //#region src/generated/model/submitFlowStepDefaultDetails.d.ts
8489
+ /**
8490
+ * Generated by orval v8.10.0 🍺
8491
+ * Do not edit manually.
8492
+ * Zitadel NextGen
8493
+ * This is the next generation of the Zitadel identity platform.
8494
+ * OpenAPI spec version: 0.0.1
8495
+ */
8496
+ /**
8497
+ * Additional error-specific context.
8498
+ */
8499
+ type SubmitFlowStepDefaultDetails = {
8500
+ [key: string]: unknown;
8501
+ };
8502
+ //#endregion
8503
+ //#region src/generated/model/submitFlowStepDefault.d.ts
8504
+ /**
8505
+ * Standard error payload returned for failed API requests.
8506
+ */
8507
+ type SubmitFlowStepDefault = {
8508
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8509
+ message: string; /** Additional error-specific context. */
8510
+ details?: SubmitFlowStepDefaultDetails;
8511
+ };
8512
+ //#endregion
8513
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts
8514
+ /**
8515
+ * Generated by orval v8.10.0 🍺
8516
+ * Do not edit manually.
8517
+ * Zitadel NextGen
8518
+ * This is the next generation of the Zitadel identity platform.
8519
+ * OpenAPI spec version: 0.0.1
8520
+ */
8521
+ /**
8522
+ * Scopes which teams or apps this flow definition applies to. Empty or
8523
+ omitted fields mean "no restriction"; when both are empty the definition
8524
+ matches every request in the project. The engine picks the most specific
8525
+ matching definition: app > team > project-wide.
8526
+
8527
+ */
8528
+ type UpdateFlowDefinition200FlowDefinitionAudience = {
8529
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
8530
+ app_ids?: string[];
8531
+ };
8532
+ //#endregion
8533
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.d.ts
8534
+ /**
8535
+ * Generated by orval v8.10.0 🍺
8536
+ * Do not edit manually.
8537
+ * Zitadel NextGen
8538
+ * This is the next generation of the Zitadel identity platform.
8539
+ * OpenAPI spec version: 0.0.1
8540
+ */
8541
+ /**
8542
+ * Configuration for a user-invokable action on a step. The `name` is sent
8543
+ back in the submit request as `action`.
8544
+
8545
+ */
8546
+ type UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem = {
8547
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
8548
+ /** Marks this as the default/primary action. The runtime template uses
8549
+ this hint to choose visual emphasis. At most one action per step
8550
+ should be primary; this is not enforced here.
8551
+ */
8552
+ primary?: boolean;
8553
+ /** Optional localization key override for the action's label. When
8554
+ omitted, the engine derives a key from the step and action names.
8555
+ Display text is resolved client-side from a locale dictionary, never
8556
+ by the engine.
7771
8557
  */
7772
- handoff_token_expires_at?: string;
8558
+ text_key?: string;
7773
8559
  };
7774
8560
  //#endregion
7775
- //#region src/generated/model/submitFlowStep409Details.d.ts
8561
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
7776
8562
  /**
7777
8563
  * Generated by orval v8.10.0 🍺
7778
8564
  * Do not edit manually.
@@ -7781,23 +8567,35 @@ type SubmitFlowStep400 = {
7781
8567
  * OpenAPI spec version: 0.0.1
7782
8568
  */
7783
8569
  /**
7784
- * Additional error-specific context.
8570
+ * Marks this as a terminal step. Tells the frontend what to do:
8571
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
8572
+ - show: render as a success/info screen
8573
+
7785
8574
  */
7786
- type SubmitFlowStep409Details = {
7787
- [key: string]: unknown;
8575
+ type UpdateFlowDefinition200FlowDefinitionStepsItemComplete = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete];
8576
+ declare const UpdateFlowDefinition200FlowDefinitionStepsItemComplete: {
8577
+ readonly redirect: "redirect";
8578
+ readonly show: "show";
7788
8579
  };
7789
8580
  //#endregion
7790
- //#region src/generated/model/submitFlowStep409.d.ts
8581
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts
7791
8582
  /**
7792
- * Standard error payload returned for failed API requests.
8583
+ * Generated by orval v8.10.0 🍺
8584
+ * Do not edit manually.
8585
+ * Zitadel NextGen
8586
+ * This is the next generation of the Zitadel identity platform.
8587
+ * OpenAPI spec version: 0.0.1
7793
8588
  */
7794
- type SubmitFlowStep409 = {
7795
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7796
- message: string; /** Additional error-specific context. */
7797
- details?: SubmitFlowStep409Details;
8589
+ /**
8590
+ * Provider-specific configuration consumed by the implementation when
8591
+ issuing the per-render challenge. Opaque to the engine.
8592
+
8593
+ */
8594
+ type UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
8595
+ [key: string]: unknown;
7798
8596
  };
7799
8597
  //#endregion
7800
- //#region src/generated/model/submitFlowStepBodyChallengeResponseProof.d.ts
8598
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts
7801
8599
  /**
7802
8600
  * Generated by orval v8.10.0 🍺
7803
8601
  * Do not edit manually.
@@ -7806,34 +8604,44 @@ type SubmitFlowStep409 = {
7806
8604
  * OpenAPI spec version: 0.0.1
7807
8605
  */
7808
8606
  /**
7809
- * Method-specific proof payload.
7810
- For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
8607
+ * The gate category. Only `captcha` is currently defined. Authenticator
8608
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
8609
+ `x-credential` on a field, not as gates.
7811
8610
 
7812
8611
  */
7813
- type SubmitFlowStepBodyChallengeResponseProof = {
7814
- [key: string]: unknown;
8612
+ type UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind];
8613
+ declare const UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind: {
8614
+ readonly captcha: "captcha";
7815
8615
  };
7816
8616
  //#endregion
7817
- //#region src/generated/model/submitFlowStepBodyChallengeResponse.d.ts
8617
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts
7818
8618
  /**
7819
- * Response to a pending challenge on the step. Required when the step has a
7820
- `challenge` property (e.g., after submitting a passkey action).
7821
- The `<zl-passkey>` component populates this after the WebAuthn ceremony.
8619
+ * Security gates that must be satisfied before submission. Keyed by gate
8620
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
8621
+ configuration. The engine may also inject gates dynamically based on
8622
+ policy.
7822
8623
 
7823
8624
  */
7824
- type SubmitFlowStepBodyChallengeResponse = {
7825
- /** The challenge identifier from `step.challenge.challenge_id`.
7826
- Matches the server-side challenge for verification.
7827
- */
7828
- challenge_id?: string; /** Which auth method this response is for (e.g., 'passkey'). */
7829
- method?: string;
7830
- /** Method-specific proof payload.
7831
- For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
7832
- */
7833
- proof?: SubmitFlowStepBodyChallengeResponseProof;
8625
+ type UpdateFlowDefinition200FlowDefinitionStepsItemGates = {
8626
+ [key: string]: {
8627
+ /** The gate category. Only `captcha` is currently defined. Authenticator
8628
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
8629
+ `x-credential` on a field, not as gates.
8630
+ */
8631
+ kind: UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind;
8632
+ /** Provider identifier within the gate kind e.g. `altcha`, `turnstile`,
8633
+ `hcaptcha`. The engine looks up an implementation in its provider
8634
+ registry.
8635
+ */
8636
+ provider: string;
8637
+ /** Provider-specific configuration consumed by the implementation when
8638
+ issuing the per-render challenge. Opaque to the engine.
8639
+ */
8640
+ config?: UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig;
8641
+ };
7834
8642
  };
7835
8643
  //#endregion
7836
- //#region src/generated/model/submitFlowStepBodyFields.d.ts
8644
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts
7837
8645
  /**
7838
8646
  * Generated by orval v8.10.0 🍺
7839
8647
  * Do not edit manually.
@@ -7842,14 +8650,18 @@ type SubmitFlowStepBodyChallengeResponse = {
7842
8650
  * OpenAPI spec version: 0.0.1
7843
8651
  */
7844
8652
  /**
7845
- * User input values. Keys match field names from the step's `fields` dictionary.
8653
+ * Server-side mutation to execute when this step completes successfully.
8654
+ Runs after field validation passes, before the transition fires.
8655
+
8656
+ - create_user: creates the user record (registration flows)
7846
8657
 
7847
8658
  */
7848
- type SubmitFlowStepBodyFields = {
7849
- [key: string]: unknown;
8659
+ type UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess];
8660
+ declare const UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
8661
+ readonly create_user: "create_user";
7850
8662
  };
7851
8663
  //#endregion
7852
- //#region src/generated/model/submitFlowStepBodyGateProofs.d.ts
8664
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts
7853
8665
  /**
7854
8666
  * Generated by orval v8.10.0 🍺
7855
8667
  * Do not edit manually.
@@ -7858,41 +8670,15 @@ type SubmitFlowStepBodyFields = {
7858
8670
  * OpenAPI spec version: 0.0.1
7859
8671
  */
7860
8672
  /**
7861
- * Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
7862
- The orchestrator collects these from `<zl-captcha>` component events.
7863
-
8673
+ * An available SSO identity provider.
7864
8674
  */
7865
- type SubmitFlowStepBodyGateProofs = {
7866
- [key: string]: string;
7867
- };
7868
- //#endregion
7869
- //#region src/generated/model/submitFlowStepBody.d.ts
7870
- type SubmitFlowStepBody = {
7871
- /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */session_token?: string;
7872
- /** Which action to take. Must be a key from the step's `actions` dictionary:
7873
- - A regular action (e.g., "submit", "register", "back")
7874
- - The reserved value "sso" — triggers SSO redirect (requires `sso_provider_id`)
7875
- */
7876
- action: string;
7877
- /** User input values. Keys match field names from the step's `fields` dictionary.
7878
- */
7879
- fields?: SubmitFlowStepBodyFields;
7880
- /** Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
7881
- The orchestrator collects these from `<zl-captcha>` component events.
7882
- */
7883
- gate_proofs?: SubmitFlowStepBodyGateProofs;
7884
- /** Response to a pending challenge on the step. Required when the step has a
7885
- `challenge` property (e.g., after submitting a passkey action).
7886
- The `<zl-passkey>` component populates this after the WebAuthn ceremony.
7887
- */
7888
- challenge_response?: SubmitFlowStepBodyChallengeResponse;
7889
- /** ID of the selected SSO provider (from `sso_providers[].id`).
7890
- Required when `action` is "sso".
7891
- */
7892
- sso_provider_id?: string;
8675
+ type UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
8676
+ /** Provider instance identifier. */id: string; /** Display name for the provider. */
8677
+ name: string; /** Template hint for rendering (logo, colors). */
8678
+ template: string;
7893
8679
  };
7894
8680
  //#endregion
7895
- //#region src/generated/model/submitFlowStepDefaultDetails.d.ts
8681
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts
7896
8682
  /**
7897
8683
  * Generated by orval v8.10.0 🍺
7898
8684
  * Do not edit manually.
@@ -7901,31 +8687,102 @@ type SubmitFlowStepBody = {
7901
8687
  * OpenAPI spec version: 0.0.1
7902
8688
  */
7903
8689
  /**
7904
- * Additional error-specific context.
8690
+ * Maps action/outcome names to their transition descriptor.
8691
+
8692
+ Keys match action names from the `actions` array. Additional keys
8693
+ come from implicit outcomes based on schema annotations
8694
+ (e.g. `user_not_found` from `x-unique` fields) and engine
8695
+ events (e.g. `sso`, `callback`).
8696
+
7905
8697
  */
7906
- type SubmitFlowStepDefaultDetails = {
7907
- [key: string]: unknown;
8698
+ type UpdateFlowDefinition200FlowDefinitionStepsItemTransitions = {
8699
+ [key: string]: {
8700
+ /** Step name within this flow (when `action` is null), or the name
8701
+ of another flow (when `action` is `switch` or `pivot`).
8702
+ */
8703
+ target: string;
8704
+ /** How to interpret `target`:
8705
+ - null (omitted): transition to a step in the current flow.
8706
+ - switch: replace the current flow with the target flow.
8707
+ No return — the current flow is discarded.
8708
+ Example: login ↔ register.
8709
+ - pivot: push the target flow onto the stack. The current flow
8710
+ is paused and resumes when the target flow completes (auto-pop).
8711
+ Example: login → recovery → back to login.
8712
+ */
8713
+ action?: "switch" | "pivot" | null;
8714
+ };
7908
8715
  };
7909
8716
  //#endregion
7910
- //#region src/generated/model/submitFlowStepDefault.d.ts
8717
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts
7911
8718
  /**
7912
- * Standard error payload returned for failed API requests.
8719
+ * A step in a flow definition. This is the admin-authored configuration,
8720
+ not the runtime payload sent to the frontend.
8721
+
8722
+ Steps are schema-driven: `fields` references properties from the flow's
8723
+ user schema, and the engine resolves field metadata (type, validation,
8724
+ implicit outcomes) from schema annotations at runtime.
8725
+
8726
+ A step with only `complete` set is a terminal step. All other steps are
8727
+ rendered to the frontend as capability payloads.
8728
+
7913
8729
  */
7914
- type SubmitFlowStepDefault = {
7915
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7916
- message: string; /** Additional error-specific context. */
7917
- details?: SubmitFlowStepDefaultDetails;
8730
+ type UpdateFlowDefinition200FlowDefinitionStepsItem = {
8731
+ /** Unique step identifier within this flow. Used as transition targets
8732
+ and returned in the API response as `step.name`.
8733
+ */
8734
+ name: string;
8735
+ /** Schema property names to collect from the user. Each entry references
8736
+ a property in the flow's user schema. The engine resolves field type,
8737
+ validation rules, and implicit outcomes from schema annotations
8738
+ (e.g. a property with `x-unique` set implies a `user_not_found`
8739
+ transition outcome).
8740
+ */
8741
+ fields?: string[];
8742
+ /** Ordered list of actions the user can take. The action name is what the
8743
+ frontend sends back in the submit request. If omitted, the engine
8744
+ provides a default `submit` action.
8745
+ */
8746
+ actions?: UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem[];
8747
+ /** Security gates that must be satisfied before submission. Keyed by gate
8748
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
8749
+ configuration. The engine may also inject gates dynamically based on
8750
+ policy.
8751
+ */
8752
+ gates?: UpdateFlowDefinition200FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
8753
+ sso_providers?: UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
8754
+ /** Server-side mutation to execute when this step completes successfully.
8755
+ Runs after field validation passes, before the transition fires.
8756
+ - create_user: creates the user record (registration flows)
8757
+ */
8758
+ on_success?: UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess;
8759
+ /** Marks this as a terminal step. Tells the frontend what to do:
8760
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
8761
+ - show: render as a success/info screen
8762
+ */
8763
+ complete?: UpdateFlowDefinition200FlowDefinitionStepsItemComplete;
8764
+ /** Maps action/outcome names to their transition descriptor.
8765
+ Keys match action names from the `actions` array. Additional keys
8766
+ come from implicit outcomes based on schema annotations
8767
+ (e.g. `user_not_found` from `x-unique` fields) and engine
8768
+ events (e.g. `sso`, `callback`).
8769
+ */
8770
+ transitions?: UpdateFlowDefinition200FlowDefinitionStepsItemTransitions;
7918
8771
  };
7919
8772
  //#endregion
7920
- //#region src/generated/model/updateFlowDefinition200.d.ts
8773
+ //#region src/generated/model/updateFlowDefinition200FlowDefinition.d.ts
7921
8774
  /**
7922
- * Generated by orval v8.10.0 🍺
7923
- * Do not edit manually.
7924
- * Zitadel NextGen
7925
- * This is the next generation of the Zitadel identity platform.
7926
- * OpenAPI spec version: 0.0.1
8775
+ * A flow definition is the server-side configuration that describes a complete
8776
+ authentication or identity flow. It is NOT sent to the frontend — the flow
8777
+ engine evaluates it and produces FlowResponse payloads (steps with capability
8778
+ dictionaries) for the client.
8779
+
8780
+ Flow definitions are created by administrators and stored in the project/team
8781
+ configuration hierarchy. The engine selects the matching definition based on
8782
+ the purpose + audience when a flow is created via POST /flow.
8783
+
7927
8784
  */
7928
- type UpdateFlowDefinition200 = {
8785
+ type UpdateFlowDefinition200FlowDefinition = {
7929
8786
  /**
7930
8787
  * Stable identifier for this flow, used as the target of cross-flow
7931
8788
  `switch` and `pivot` transitions. Renaming is not supported — the
@@ -7950,119 +8807,29 @@ type UpdateFlowDefinition200 = {
7950
8807
  matches every request in the project. The engine picks the most specific
7951
8808
  matching definition: app > team > project-wide.
7952
8809
  */
7953
- audience?: {
7954
- /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
7955
- app_ids?: string[];
7956
- };
8810
+ audience?: UpdateFlowDefinition200FlowDefinitionAudience;
7957
8811
  /**
7958
8812
  * Ordered list of steps in this flow. The order is for human readability —
7959
8813
  actual step sequencing is determined by transitions.
7960
8814
  * @minItems 1
7961
8815
  */
7962
- steps: {
7963
- /** Unique step identifier within this flow. Used as transition targets
7964
- and returned in the API response as `step.name`.
7965
- */
7966
- name: string;
7967
- /** Schema property names to collect from the user. Each entry references
7968
- a property in the flow's user schema. The engine resolves field type,
7969
- validation rules, and implicit outcomes from schema annotations
7970
- (e.g. a property with `x-unique` set implies a `user_not_found`
7971
- transition outcome).
7972
- */
7973
- fields?: string[];
7974
- /** Actions the user can take. Keyed by action name.
7975
- The action name is what the frontend sends back in the submit request.
7976
- If omitted, the engine provides a default `submit` action.
7977
- */
7978
- actions?: {
7979
- [key: string]: {
7980
- /** Marks this as the default/primary action. The runtime template uses
7981
- this hint to choose visual emphasis. At most one action per step
7982
- should be primary; this is not enforced here.
7983
- */
7984
- primary?: boolean;
7985
- /** Optional localization key override for the action's label. When
7986
- omitted, the engine derives a key from the step and action names.
7987
- Display text is resolved client-side from a locale dictionary, never
7988
- by the engine.
7989
- */
7990
- text_key?: string;
7991
- };
7992
- };
7993
- /** Security gates that must be satisfied before submission. Keyed by gate
7994
- name. Each gate selects a kind (e.g. "captcha") and provider-specific
7995
- configuration. The engine may also inject gates dynamically based on
7996
- policy.
7997
- */
7998
- gates?: {
7999
- [key: string]: {
8000
- /** The gate category. Only `captcha` is currently defined. Authenticator
8001
- ceremonies (e.g. passkey) are modelled as credential auth_attempts via
8002
- `x-credential` on a field, not as gates.
8003
- */
8004
- kind: "captcha";
8005
- /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
8006
- `hcaptcha`. The engine looks up an implementation in its provider
8007
- registry.
8008
- */
8009
- provider: string;
8010
- /** Provider-specific configuration consumed by the implementation when
8011
- issuing the per-render challenge. Opaque to the engine.
8012
- */
8013
- config?: {
8014
- [key: string]: unknown;
8015
- };
8016
- };
8017
- }; /** Available SSO identity providers for this step. */
8018
- sso_providers?: {
8019
- /** Provider instance identifier. */id: string; /** Display name for the provider. */
8020
- name: string; /** Template hint for rendering (logo, colors). */
8021
- template: string;
8022
- }[];
8023
- /** Server-side mutation to execute when this step completes successfully.
8024
- Runs after field validation passes, before the transition fires.
8025
- - create_user: creates the user record (registration flows)
8026
- */
8027
- on_success?: "create_user";
8028
- /** Marks this as a terminal step. Tells the frontend what to do:
8029
- - redirect: navigate to redirect_uri (OIDC/SAML callback done)
8030
- - show: render as a success/info screen
8031
- */
8032
- complete?: "redirect" | "show";
8033
- /** Maps action/outcome names to their transition descriptor.
8034
- Keys match action names from the `actions` dict. Additional keys
8035
- come from implicit outcomes based on schema annotations
8036
- (e.g. `user_not_found` from `x-unique` fields) and engine
8037
- events (e.g. `sso`, `callback`).
8038
- */
8039
- transitions?: {
8040
- [key: string]: {
8041
- /** Step name within this flow (when `action` is null), or the name
8042
- of another flow (when `action` is `switch` or `pivot`).
8043
- */
8044
- target: string;
8045
- /** How to interpret `target`:
8046
- - null (omitted): transition to a step in the current flow.
8047
- - switch: replace the current flow with the target flow.
8048
- No return — the current flow is discarded.
8049
- Example: login ↔ register.
8050
- - pivot: push the target flow onto the stack. The current flow
8051
- is paused and resumes when the target flow completes (auto-pop).
8052
- Example: login → recovery → back to login.
8053
- */
8054
- action?: "switch" | "pivot" | null;
8055
- };
8056
- };
8057
- }[];
8058
- } & {
8816
+ steps: UpdateFlowDefinition200FlowDefinitionStepsItem[];
8817
+ };
8818
+ //#endregion
8819
+ //#region src/generated/model/updateFlowDefinition200.d.ts
8820
+ type UpdateFlowDefinition200 = {
8059
8821
  /** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
8060
- project_id: string;
8061
- /** URI of the flow definition schema this definition was authored against.
8062
- If the schema_uri was not provided in the request, the flow definition is validated against the latest version of the schema, and the response includes the schema_uri of the latest version.
8063
- */
8064
- schema_uri: string; /** Status of the flow definition. */
8822
+ project_id: string; /** Status of the flow definition. */
8065
8823
  status: string;
8824
+ /** A flow definition is the server-side configuration that describes a complete
8825
+ authentication or identity flow. It is NOT sent to the frontend — the flow
8826
+ engine evaluates it and produces FlowResponse payloads (steps with capability
8827
+ dictionaries) for the client.
8828
+ Flow definitions are created by administrators and stored in the project/team
8829
+ configuration hierarchy. The engine selects the matching definition based on
8830
+ the purpose + audience when a flow is created via POST /flow.
8831
+ */
8832
+ flow_definition: UpdateFlowDefinition200FlowDefinition;
8066
8833
  created_at: string;
8067
8834
  updated_at: string;
8068
8835
  };
@@ -8137,7 +8904,7 @@ type UpdateFlowDefinitionBodyAudience = {
8137
8904
  app_ids?: string[];
8138
8905
  };
8139
8906
  //#endregion
8140
- //#region src/generated/model/updateFlowDefinitionBodyStepsItemActions.d.ts
8907
+ //#region src/generated/model/updateFlowDefinitionBodyStepsItemActionsItem.d.ts
8141
8908
  /**
8142
8909
  * Generated by orval v8.10.0 🍺
8143
8910
  * Do not edit manually.
@@ -8146,25 +8913,23 @@ type UpdateFlowDefinitionBodyAudience = {
8146
8913
  * OpenAPI spec version: 0.0.1
8147
8914
  */
8148
8915
  /**
8149
- * Actions the user can take. Keyed by action name.
8150
- The action name is what the frontend sends back in the submit request.
8151
- If omitted, the engine provides a default `submit` action.
8916
+ * Configuration for a user-invokable action on a step. The `name` is sent
8917
+ back in the submit request as `action`.
8152
8918
 
8153
8919
  */
8154
- type UpdateFlowDefinitionBodyStepsItemActions = {
8155
- [key: string]: {
8156
- /** Marks this as the default/primary action. The runtime template uses
8157
- this hint to choose visual emphasis. At most one action per step
8158
- should be primary; this is not enforced here.
8159
- */
8160
- primary?: boolean;
8161
- /** Optional localization key override for the action's label. When
8162
- omitted, the engine derives a key from the step and action names.
8163
- Display text is resolved client-side from a locale dictionary, never
8164
- by the engine.
8165
- */
8166
- text_key?: string;
8167
- };
8920
+ type UpdateFlowDefinitionBodyStepsItemActionsItem = {
8921
+ /** Action identifier. Sent back in the submit request as `action`. */name: string;
8922
+ /** Marks this as the default/primary action. The runtime template uses
8923
+ this hint to choose visual emphasis. At most one action per step
8924
+ should be primary; this is not enforced here.
8925
+ */
8926
+ primary?: boolean;
8927
+ /** Optional localization key override for the action's label. When
8928
+ omitted, the engine derives a key from the step and action names.
8929
+ Display text is resolved client-side from a locale dictionary, never
8930
+ by the engine.
8931
+ */
8932
+ text_key?: string;
8168
8933
  };
8169
8934
  //#endregion
8170
8935
  //#region src/generated/model/updateFlowDefinitionBodyStepsItemComplete.d.ts
@@ -8298,7 +9063,7 @@ type UpdateFlowDefinitionBodyStepsItemSsoProvidersItem = {
8298
9063
  /**
8299
9064
  * Maps action/outcome names to their transition descriptor.
8300
9065
 
8301
- Keys match action names from the `actions` dict. Additional keys
9066
+ Keys match action names from the `actions` array. Additional keys
8302
9067
  come from implicit outcomes based on schema annotations
8303
9068
  (e.g. `user_not_found` from `x-unique` fields) and engine
8304
9069
  events (e.g. `sso`, `callback`).
@@ -8348,11 +9113,11 @@ type UpdateFlowDefinitionBodyStepsItem = {
8348
9113
  transition outcome).
8349
9114
  */
8350
9115
  fields?: string[];
8351
- /** Actions the user can take. Keyed by action name.
8352
- The action name is what the frontend sends back in the submit request.
8353
- If omitted, the engine provides a default `submit` action.
9116
+ /** Ordered list of actions the user can take. The action name is what the
9117
+ frontend sends back in the submit request. If omitted, the engine
9118
+ provides a default `submit` action.
8354
9119
  */
8355
- actions?: UpdateFlowDefinitionBodyStepsItemActions;
9120
+ actions?: UpdateFlowDefinitionBodyStepsItemActionsItem[];
8356
9121
  /** Security gates that must be satisfied before submission. Keyed by gate
8357
9122
  name. Each gate selects a kind (e.g. "captcha") and provider-specific
8358
9123
  configuration. The engine may also inject gates dynamically based on
@@ -8371,7 +9136,7 @@ type UpdateFlowDefinitionBodyStepsItem = {
8371
9136
  */
8372
9137
  complete?: UpdateFlowDefinitionBodyStepsItemComplete;
8373
9138
  /** Maps action/outcome names to their transition descriptor.
8374
- Keys match action names from the `actions` dict. Additional keys
9139
+ Keys match action names from the `actions` array. Additional keys
8375
9140
  come from implicit outcomes based on schema annotations
8376
9141
  (e.g. `user_not_found` from `x-unique` fields) and engine
8377
9142
  events (e.g. `sso`, `callback`).
@@ -8438,6 +9203,22 @@ type UpdateFlowDefinitionDefault = {
8438
9203
  details?: UpdateFlowDefinitionDefaultDetails;
8439
9204
  };
8440
9205
  //#endregion
9206
+ //#region src/generated/model/updateFlowDefinitionParams.d.ts
9207
+ /**
9208
+ * Generated by orval v8.10.0 🍺
9209
+ * Do not edit manually.
9210
+ * Zitadel NextGen
9211
+ * This is the next generation of the Zitadel identity platform.
9212
+ * OpenAPI spec version: 0.0.1
9213
+ */
9214
+ type UpdateFlowDefinitionParams = {
9215
+ /**
9216
+ * The project id to filter by.
9217
+ * @pattern ^[a-zA-Z0-9_-]+$
9218
+ */
9219
+ project_id: string;
9220
+ };
9221
+ //#endregion
8441
9222
  //#region src/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts
8442
9223
  /**
8443
9224
  * Generated by orval v8.10.0 🍺
@@ -8793,5 +9574,5 @@ type VerifyChallengeProofDefault = ({
8793
9574
  code: "internal";
8794
9575
  });
8795
9576
  //#endregion
8796
- export { SubmitFlowStep400StepChallengeOptions as $, CreateUserBody as $a, GetFlowStep200StepFieldsType as $i, GetUserByIDParams as $n, CreateFlowDefinitionBodyFlowDefinitionStepsItem as $o, GetProject401Details as $r, AuthorizeGetDefaultDetails as $s, ListUsersParams as $t, UpdateFlowDefinition200 as A, ExchangeHandoff401Details as Aa, GetKeys200KeysItem as Ai, ListFlowDefinitions400Details as An, CreateSession201SessionFactorsItemPayload as Ao, GetSession200UserAgent as Ar, CreateFlow201StepFieldsValidationFormat as As, SubmitFlowEvent400Details as At, SubmitFlowStep400 as B, ExchangeHandoff200SessionFactorsItemMethod as Ba, GetFlowStep410Details as Bi, IssueChallenge201Payload as Bn, CreateSchema201 as Bo, GetSchemaById404Details as Br, CreateAuthAttemptBody as Bs, RevokeSession409Details as Bt, UpdateFlowDefinitionBodyStepsItemComplete as C, ExchangeHandoffParams as Ca, GetLiveDefault as Ci, ListSessions200SessionsItemFactorsItemPayload as Cn, CreateSession400Details as Co, GetSessionDefault as Cr, CreateFlow201StepTexts as Cs, SubmitFlowEventDefaultDetails as Ct, UpdateFlowDefinition404Details as D, ExchangeHandoff410 as Da, GetKeysDefault as Di, ListFlowDefinitionsDefault as Dn, CreateSession201SessionState as Do, GetSession401 as Dr, CreateFlow201StepGatesConfig as Ds, SubmitFlowEvent404 as Dt, UpdateFlowDefinition404 as E, ExchangeHandoffBody as Ea, GetLive4xxDetails as Ei, ListFlowDefinitionsPurpose as En, CreateSession201SessionUserAgent as Eo, GetSession404Details as Er, CreateFlow201StepGatesKind as Es, SubmitFlowEventBodyPayload as Et, SubmitFlowStepBodyFields as F, ExchangeHandoff200SessionUserAgent as Fa, GetHealth4xx as Fi, IssueChallengeBodyPasskeyOptions as Fn, CreateSchemaBody as Fo, GetSession200FactorsItemMethod as Fr, CreateFlow201StepChallengeMethod as Fs, RevokeToken4xxDetails as Ft, SubmitFlowStep400StepGatesKind as G, EndSession400Details as Ga, GetFlowStep200StepTexts as Gi, Introspect400 as Gn, CreateProject429Details as Go, GetReadyDefaultDetails as Gr, CreateAuthAttempt201CompletedFactorsItemPayload as Gs, RevokeMySessionDefault as Gt, SubmitFlowStep400StepTexts as H, EndSessionDefault as Ha, GetFlowStep404Details as Hi, IntrospectDefault as Hn, CreateProjectDefaultDetails as Ho, GetSchemaById400Details as Hr, CreateAuthAttempt201State as Hs, RevokeSession404Details as Ht, SubmitFlowStepBodyChallengeResponse as I, ExchangeHandoff200SessionState as Ia, GetHealth4xxDetails as Ii, IssueChallengeBodyPasskeyOptionsUserVerification as In, CreateSchema409 as Io, GetSchemaByIdParams as Ir, CreateFlow201StepActions as Is, RevokeSessionParams as It, SubmitFlowStep400StepFieldsValidation as J, DeleteFlowDefinition404 as Ja, GetFlowStep200StepGatesKind as Ji, GetUserInfoDefault as Jn, CreateHandoff200 as Jo, GetProjectDefault as Jr, CreateAuthAttempt201ChallengesItemState as Js, RevokeMySession409Details as Jt, SubmitFlowStep400StepGatesConfig as K, DeleteFlowDefinitionDefault as Ka, GetFlowStep200StepSsoProvidersItem as Ki, Introspect400Details as Kn, CreateProject201 as Ko, GetReady4xx as Kr, CreateAuthAttempt201CompletedFactorsItemMethod as Ks, RevokeMySessionDefaultDetails as Kt, SubmitFlowStepBodyChallengeResponseProof as L, ExchangeHandoff200SessionMetadata as La, GetFlowStepDefault as Li, IssueChallengeBodyMethod as Ln, CreateSchema409Details as Lo, GetSchemaByIdDefault as Lr, CreateFlow201Branding as Ls, RevokeSessionDefault as Lt, SubmitFlowStepDefaultDetails as M, ExchangeHandoff400Details as Ma, GetKeys4xxDetails as Mi, ListFlowDefinitions200FlowDefinitionsItem as Mn, CreateSchemaParams as Mo, GetSession200Metadata as Mr, CreateFlow201StepComplete as Ms, RevokeTokenDefaultDetails as Mt, SubmitFlowStepBody as N, ExchangeHandoff200 as Na, GetHealthDefault as Ni, IssueChallengeDefault as Nn, CreateSchemaDefault as No, GetSession200FactorsItem as Nr, CreateFlow201StepChallenge as Ns, RevokeTokenBody as Nt, UpdateFlowDefinition400 as O, ExchangeHandoff410Details as Oa, GetKeysDefaultDetails as Oi, ListFlowDefinitionsDefaultDetails as On, CreateSession201SessionMetadata as Oo, GetSession401Details as Or, CreateFlow201StepFields as Os, SubmitFlowEvent404Details as Ot, SubmitFlowStepBodyGateProofs as P, ExchangeHandoff200Session as Pa, GetHealthDefaultDetails as Pi, IssueChallengeBody as Pn, CreateSchemaDefaultDetails as Po, GetSession200FactorsItemPayload as Pr, CreateFlow201StepChallengeOptions as Ps, RevokeToken4xx as Pt, SubmitFlowStep400StepChallenge as Q, CreateUserDefaultDetails as Qa, GetFlowStep200StepFieldsValidationFormat as Qi, GetUserInfo4xxDetails as Qn, CreateFlowDefinitionBodyFlowDefinition as Qo, GetProject401 as Qr, AuthorizeGetDefault as Qs, RevokeMySession401Details as Qt, SubmitFlowStep409 as R, ExchangeHandoff200SessionFactorsItem as Ra, GetFlowStepDefaultDetails as Ri, IssueChallenge201 as Rn, CreateSchema400 as Ro, GetSchemaByIdDefaultDetails as Rr, CreateFlow201BrandingLayout as Rs, RevokeSessionDefaultDetails as Rt, UpdateFlowDefinitionBodyStepsItemGatesConfig as S, GetAuthAttempt200ChallengesItemMethod as Sa, GetMySession200FactorsItemMethod as Si, ListSessions200SessionsItemFactorsItem as Sn, CreateSession400 as So, GetSessionParams as Sr, CreateFlow201Step as Ss, SubmitFlowEventDefault as St, UpdateFlowDefinitionBodyAudience as T, ExchangeHandoffDefaultDetails as Ta, GetLive4xx as Ti, ListFlowDefinitionsParams as Tn, CreateSession201Session as To, GetSession404 as Tr, CreateFlow201StepGates as Ts, SubmitFlowEventBodyType as Tt, SubmitFlowStep400StepSsoProvidersItem as U, EndSessionDefaultDetails as Ua, GetFlowStep200 as Ui, IntrospectDefaultDetails as Un, CreateProjectBody as Uo, GetSchemaById200 as Ur, CreateAuthAttempt201RequiredFactorsItem as Us, RevokeSession401 as Ut, SubmitFlowStep400Step as V, EndSessionParams as Va, GetFlowStep404 as Vi, IssueChallenge201Method as Vn, CreateProjectDefault as Vo, GetSchemaById400 as Vr, CreateAuthAttempt201 as Vs, RevokeSession404 as Vt, SubmitFlowStep400StepGates as W, EndSession400 as Wa, GetFlowStep200Step as Wi, IntrospectBody as Wn, CreateProject429 as Wo, GetReadyDefault as Wr, CreateAuthAttempt201CompletedFactorsItem as Ws, RevokeSession401Details as Wt, SubmitFlowStep400StepFieldsType as X, CreateUserParams as Xa, GetFlowStep200StepFields as Xi, GetUserInfo200 as Xn, CreateFlowDefinitionDefaultDetails as Xo, GetProject404 as Xr, CreateAuthAttempt201ChallengesItemMethod as Xs, RevokeMySession404Details as Xt, SubmitFlowStep400StepFieldsValidationFormat as Y, DeleteFlowDefinition404Details as Ya, GetFlowStep200StepGatesConfig as Yi, GetUserInfoDefaultDetails as Yn, CreateFlowDefinitionDefault as Yo, GetProjectDefaultDetails as Yr, CreateAuthAttempt201ChallengesItemPayload as Ys, RevokeMySession404 as Yt, SubmitFlowStep400StepComplete as Z, CreateUserDefault as Za, GetFlowStep200StepFieldsValidation as Zi, GetUserInfo4xx as Zn, CreateFlowDefinitionBody as Zo, GetProject404Details as Zr, AuthorizeGetParams as Zs, RevokeMySession401 as Zt, UpdateFlowDefinitionBodyStepsItemTransitions as _, GetAuthAttempt200CompletedFactorsItemPayload as _a, GetMySession200UserAgent as _i, ListSessions200 as _n, CreateTeam201 as _o, GetTeam404 as _r, CreateFlowBodyPurpose as _s, SubmitFlowStep200StepChallengeOptions as _t, VerifyChallengeProof200RequiredFactorsItem as a, GetFlowStep200Branding as aa, AuthorizeDevice400 as ac, GetOpenIDConfiguration200SubjectTypesSupportedItem as ai, ListUsers400Details as an, CreateUser401Details as ao, GetUserByID401Details as ar, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig as as, SubmitFlowStep200Step as at, UpdateFlowDefinitionBodyStepsItemGates as b, GetAuthAttempt200ChallengesItemState as ba, GetMySession200FactorsItem as bi, ListSessions200SessionsItemState as bn, CreateSessionBody as bo, GetTeam401Details as br, CreateFlow400Details as bs, SubmitFlowStep200Branding as bt, VerifyChallengeProof200CompletedFactorsItemMethod as c, GetFlowDefinitionDefaultDetails as ca, GetOpenIDConfiguration4xx as ci, ListSessionsState as cn, CreateUser201 as co, GetTokenDefaultDetails as cr, CreateFlowDefinitionBodyFlowDefinitionAudience as cs, SubmitFlowStep200StepGates as ct, VerifyChallengeProof200ChallengesItemPayload as d, GetFlowDefinition200 as da, GetMySessionDefaultDetails as di, ListSessions403 as dn, CreateTeamDefaultDetails as do, GetToken200 as dr, CreateFlowDefinition400 as ds, SubmitFlowStep200StepFields as dt, GetFlowStep200StepComplete as ea, AuthorizeGet400 as ec, GetProject200 as ei, ListUsersDefault as en, CreateUser409 as eo, GetUserByIDDefault as er, CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions as es, SubmitFlowStep400StepChallengeMethod as et, VerifyChallengeProof200ChallengesItemMethod as f, GetAuthAttemptDefault as fa, GetMySession404 as fi, ListSessions403Details as fn, CreateTeamBody as fo, GetToken4xx as fr, CreateFlowDefinition400Details as fs, SubmitFlowStep200StepFieldsValidation as ft, UpdateFlowDefinitionBodyStepsItem as g, GetAuthAttempt200CompletedFactorsItem as ga, GetMySession200 as gi, ListSessions400Details as gn, CreateTeam400Details as go, GetTeamDefaultDetails as gr, CreateFlowBody as gs, SubmitFlowStep200StepChallenge as gt, UpdateFlowDefinitionBody as h, GetAuthAttempt200RequiredFactorsItem as ha, GetMySession401Details as hi, ListSessions400 as hn, CreateTeam400 as ho, GetTeamDefault as hr, CreateFlowDefaultDetails as hs, SubmitFlowStep200StepComplete as ht, VerifyChallengeProof200State as i, GetFlowStep200StepActions as ia, AuthorizeDeviceDefaultDetails as ic, GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem as ii, ListUsers400 as in, CreateUser401 as io, GetUserByID401 as ir, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind as is, SubmitFlowStep200 as it, SubmitFlowStepDefault as j, ExchangeHandoff400 as ja, GetKeys4xx as ji, ListFlowDefinitions200 as jn, CreateSession201SessionFactorsItemMethod as jo, GetSession200State as jr, CreateFlow201StepFieldsType as js, RevokeTokenDefault as jt, UpdateFlowDefinition400Details as k, ExchangeHandoff401 as ka, GetKeys200 as ki, ListFlowDefinitions400 as kn, CreateSession201SessionFactorsItem as ko, GetSession200 as kr, CreateFlow201StepFieldsValidation as ks, SubmitFlowEvent400 as kt, VerifyChallengeProof200ChallengesItem as l, GetFlowDefinition404 as la, GetOpenIDConfiguration4xxDetails as li, ListSessionsDefault as ln, CreateTeamParams as lo, GetTokenBody as lr, CreateFlowDefinition409 as ls, SubmitFlowStep200StepGatesKind as lt, UpdateFlowDefinitionDefaultDetails as m, GetAuthAttempt200State as ma, GetMySession401 as mi, ListSessions401Details as mn, CreateTeam429Details as mo, GetTeamParams as mr, CreateFlowDefault as ms, SubmitFlowStep200StepFieldsType as mt, VerifyChallengeProofBody as n, GetFlowStep200StepChallengeOptions as na, AuthorizeDeviceParams as nc, GetOpenIDConfigurationDefaultDetails as ni, ListUsers500 as nn, CreateUser403 as no, GetUserByID404 as nr, CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess as ns, SubmitFlowStep400Branding as nt, VerifyChallengeProof200CompletedFactorsItem as o, GetFlowStep200BrandingLayout as oa, AuthorizeDevice400Details as oc, GetOpenIDConfiguration200DisplayValuesSupportedItem as oi, ListUsers200Item as on, CreateUser400 as oo, GetUserByID200 as or, CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete as os, SubmitFlowStep200StepTexts as ot, UpdateFlowDefinitionDefault as p, GetAuthAttempt200 as pa, GetMySession404Details as pi, ListSessions401 as pn, CreateTeam429 as po, GetToken4xxDetails as pr, CreateFlowDefinition201 as ps, SubmitFlowStep200StepFieldsValidationFormat as pt, SubmitFlowStep400StepFields as q, DeleteFlowDefinitionDefaultDetails as qa, GetFlowStep200StepGates as qi, Introspect200 as qn, CreateHandoffDefault as qo, GetReady4xxDetails as qr, CreateAuthAttempt201ChallengesItem as qs, RevokeMySession409 as qt, VerifyChallengeProof200 as r, GetFlowStep200StepChallengeMethod as ra, AuthorizeDeviceDefault as rc, GetOpenIDConfiguration200 as ri, ListUsers500Details as rn, CreateUser403Details as ro, GetUserByID404Details as rr, CreateFlowDefinitionBodyFlowDefinitionStepsItemGates as rs, SubmitFlowStep400BrandingLayout as rt, VerifyChallengeProof200CompletedFactorsItemPayload as s, GetFlowDefinitionDefault as sa, AuthorizeDevice200 as sc, GetOpenIDConfiguration200ClaimTypesSupportedItem as si, ListSessionsParams as sn, CreateUser400Details as so, GetTokenDefault as sr, CreateFlowDefinitionBodyFlowDefinitionStepsItemActions as ss, SubmitFlowStep200StepSsoProvidersItem as st, VerifyChallengeProofDefault as t, GetFlowStep200StepChallenge as ta, AuthorizeGet400Details as tc, GetOpenIDConfigurationDefault as ti, ListUsersDefaultDetails as tn, CreateUser409Details as to, GetUserByIDDefaultDetails as tr, CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem as ts, SubmitFlowStep400StepActions as tt, VerifyChallengeProof200ChallengesItemState as u, GetFlowDefinition404Details as ua, GetMySessionDefault as ui, ListSessionsDefaultDetails as un, CreateTeamDefault as uo, GetTokenBodyGrantType as ur, CreateFlowDefinition409Details as us, SubmitFlowStep200StepGatesConfig as ut, UpdateFlowDefinitionBodyStepsItemSsoProvidersItem as v, GetAuthAttempt200CompletedFactorsItemMethod as va, GetMySession200State as vi, ListSessions200SessionsItem as vn, CreateSessionDefault as vo, GetTeam404Details as vr, CreateFlowBodyHint as vs, SubmitFlowStep200StepChallengeMethod as vt, UpdateFlowDefinitionBodyStepsItemActions as w, ExchangeHandoffDefault as wa, GetLiveDefaultDetails as wi, ListSessions200SessionsItemFactorsItemMethod as wn, CreateSession201 as wo, GetSessionDefaultDetails as wr, CreateFlow201StepSsoProvidersItem as ws, SubmitFlowEventBody as wt, UpdateFlowDefinitionBodyStepsItemGatesKind as x, GetAuthAttempt200ChallengesItemPayload as xa, GetMySession200FactorsItemPayload as xi, ListSessions200SessionsItemMetadata as xn, CreateSessionBodyUserAgent as xo, GetTeam200 as xr, CreateFlow201 as xs, SubmitFlowStep200BrandingLayout as xt, UpdateFlowDefinitionBodyStepsItemOnSuccess as y, GetAuthAttempt200ChallengesItem as ya, GetMySession200Metadata as yi, ListSessions200SessionsItemUserAgent as yn, CreateSessionDefaultDetails as yo, GetTeam401 as yr, CreateFlow400 as ys, SubmitFlowStep200StepActions as yt, SubmitFlowStep409Details as z, ExchangeHandoff200SessionFactorsItemPayload as za, GetFlowStep410 as zi, IssueChallenge201State as zn, CreateSchema400Details as zo, GetSchemaById404 as zr, CreateAuthAttemptDefault as zs, RevokeSession409 as zt };
8797
- //# sourceMappingURL=index-DlEenfQJ.d.mts.map
9577
+ export { SubmitFlowStep400Step as $, GetAuthAttempt200RequiredFactorsItem as $a, AuthorizeDevice400 as $c, GetLive4xx as $i, ListFlowDefinitions200 as $n, CreateTeam400Details as $o, GetSession200State as $r, CreateFlowDefinition201FlowDefinitionStepsItemTransitions as $s, RevokeTokenDefault as $t, UpdateFlowDefinition400Details as A, GetFlowStep200StepChallengeOptions as Aa, CreateFlow201StepActionsItem as Ac, GetOpenIDConfiguration4xx as Ai, ListSessionsState as An, DeleteFlowDefinitionParams as Ao, GetTokenDefaultDetails as Ar, CreateHandoffDefault as As, SubmitFlowStep200StepChallengeMethod as At, UpdateFlowDefinition200FlowDefinitionStepsItemComplete as B, GetFlowDefinition200FlowDefinitionStepsItem as Ba, CreateAuthAttempt201CompletedFactorsItemMethod as Bc, GetMySession404 as Bi, ListSessions200SessionsItem as Bn, CreateUser403Details as Bo, GetTeam404Details as Br, CreateFlowDefinitionBodyFlowDefinitionStepsItemGates as Bs, SubmitFlowEvent404Details as Bt, UpdateFlowDefinitionBodyStepsItemGatesConfig as C, GetFlowStep200StepGatesConfig as Ca, CreateFlow201StepFieldsItemValidation as Cc, GetOpenIDConfigurationDefault as Ci, ListUsersDefaultDetails as Cn, ExchangeHandoff200SessionFactorsItemPayload as Co, GetUserByIDDefaultDetails as Cr, CreateSchema201 as Cs, SubmitFlowStep200StepFieldsItem as Ct, UpdateFlowDefinition404 as D, GetFlowStep200StepFieldsItemType as Da, CreateFlow201StepChallenge as Dc, GetOpenIDConfiguration200SubjectTypesSupportedItem as Di, ListUsers400Details as Dn, EndSessionDefaultDetails as Do, GetUserByID401Details as Dr, CreateProject429 as Ds, SubmitFlowStep200StepComplete as Dt, UpdateFlowDefinitionBodyAudience as E, GetFlowStep200StepFieldsItemValidationFormat as Ea, CreateFlow201StepComplete as Ec, GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem as Ei, ListUsers400 as En, EndSessionDefault as Eo, GetUserByID401 as Er, CreateProjectBody as Es, SubmitFlowStep200StepFieldsItemType as Et, UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem as F, GetFlowDefinitionParams as Fa, CreateAuthAttempt201 as Fc, GetMyUser401 as Fi, ListSessions401 as Fn, CreateUserDefaultDetails as Fo, GetToken4xxDetails as Fr, CreateFlowDefinitionBodyFlowDefinition as Fs, SubmitFlowEventDefaultDetails as Ft, SubmitFlowStepBody as G, GetFlowDefinition200FlowDefinitionStepsItemGatesKind as Ga, AuthorizeGetParams as Gc, GetMySession200UserAgent as Gi, ListSessions200SessionsItemFactorsItemPayload as Gn, CreateUser201 as Go, GetSessionDefault as Gr, CreateFlowDefinitionBodyFlowDefinitionAudience as Gs, SetUserPasswordDefaultDetails as Gt, UpdateFlowDefinition200FlowDefinitionAudience as H, GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem as Ha, CreateAuthAttempt201ChallengesItemState as Hc, GetMySession401 as Hi, ListSessions200SessionsItemState as Hn, CreateUser401Details as Ho, GetTeam401Details as Hr, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig as Hs, SubmitFlowEvent400Details as Ht, UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess as I, GetFlowDefinitionDefault as Ia, CreateAuthAttempt201State as Ic, GetMyUser401Details as Ii, ListSessions401Details as In, CreateUserBody as Io, GetTeamParams as Ir, CreateFlowDefinitionBodyFlowDefinitionStepsItem as Is, SubmitFlowEventBody as It, SubmitFlowStepBodyChallengeResponse as J, GetFlowDefinition200FlowDefinitionStepsItemActionsItem as Ja, AuthorizeGet400 as Jc, GetMySession200FactorsItem as Ji, ListFlowDefinitionsPurpose as Jn, CreateTeamDefaultDetails as Jo, GetSession404Details as Jr, CreateFlowDefinition400 as Js, SetUserPassword500Details as Jt, SubmitFlowStepBodyGateProofs as K, GetFlowDefinition200FlowDefinitionStepsItemGatesConfig as Ka, AuthorizeGetDefault as Kc, GetMySession200State as Ki, ListSessions200SessionsItemFactorsItemMethod as Kn, CreateTeamParams as Ko, GetSessionDefaultDetails as Kr, CreateFlowDefinition409 as Ks, SetUserPasswordBody as Kt, UpdateFlowDefinition200FlowDefinitionStepsItemGates as L, GetFlowDefinitionDefaultDetails as La, CreateAuthAttempt201RequiredFactorsItem as Lc, GetMyUser200 as Li, ListSessions400 as Ln, CreateUser409 as Lo, GetTeamDefault as Lr, CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions as Ls, SubmitFlowEventBodyType as Lt, UpdateFlowDefinition200FlowDefinition as M, GetFlowStep200StepActionsItem as Ma, CreateFlow201BrandingLayout as Mc, GetMyUserDefault as Mi, ListSessionsDefaultDetails as Mn, DeleteFlowDefinitionDefaultDetails as Mo, GetTokenBodyGrantType as Mr, CreateFlowDefinitionDefault as Ms, SubmitFlowStep200Branding as Mt, UpdateFlowDefinition200FlowDefinitionStepsItem as N, GetFlowStep200Branding as Na, CreateAuthAttemptDefault as Nc, GetMyUserDefaultDetails as Ni, ListSessions403 as Nn, CreateUserParams as No, GetToken200 as Nr, CreateFlowDefinitionDefaultDetails as Ns, SubmitFlowStep200BrandingLayout as Nt, UpdateFlowDefinition404Details as O, GetFlowStep200StepComplete as Oa, CreateFlow201StepChallengeOptions as Oc, GetOpenIDConfiguration200DisplayValuesSupportedItem as Oi, ListUsers200Item as On, EndSession400 as Oo, GetUserByID200 as Or, CreateProject429Details as Os, SubmitFlowStep200StepChallenge as Ot, UpdateFlowDefinition200FlowDefinitionStepsItemTransitions as P, GetFlowStep200BrandingLayout as Pa, CreateAuthAttemptBody as Pc, GetMyUser404 as Pi, ListSessions403Details as Pn, CreateUserDefault as Po, GetToken4xx as Pr, CreateFlowDefinitionBody as Ps, SubmitFlowEventDefault as Pt, SubmitFlowStep400 as Q, GetAuthAttempt200State as Qa, AuthorizeDeviceDefaultDetails as Qc, GetLiveDefaultDetails as Qi, ListFlowDefinitions400Details as Qn, CreateTeam400 as Qo, GetSession200UserAgent as Qr, CreateFlowDefinition201FlowDefinitionStepsItem as Qs, SetUserPassword400Details as Qt, UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind as R, GetFlowDefinition200 as Ra, CreateAuthAttempt201CompletedFactorsItem as Rc, GetMySessionDefault as Ri, ListSessions400Details as Rn, CreateUser409Details as Ro, GetTeamDefaultDetails as Rr, CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem as Rs, SubmitFlowEventBodyPayload as Rt, UpdateFlowDefinitionBodyStepsItemGatesKind as S, GetFlowStep200StepGatesKind as Sa, CreateFlow201StepFieldsItem as Sc, GetProject200 as Si, ListUsersDefault as Sn, ExchangeHandoff200SessionFactorsItem as So, GetUserByIDDefault as Sr, CreateSchema400Details as Ss, SubmitFlowStep200StepGatesConfig as St, UpdateFlowDefinitionBodyStepsItemActionsItem as T, GetFlowStep200StepFieldsItemValidation as Ta, CreateFlow201StepFieldsItemType as Tc, GetOpenIDConfiguration200 as Ti, ListUsers500Details as Tn, EndSessionParams as To, GetUserByID404Details as Tr, CreateProjectDefaultDetails as Ts, SubmitFlowStep200StepFieldsItemValidationFormat as Tt, SubmitFlowStepDefault as U, GetFlowDefinition200FlowDefinitionStepsItemOnSuccess as Ua, CreateAuthAttempt201ChallengesItemPayload as Uc, GetMySession401Details as Ui, ListSessions200SessionsItemMetadata as Un, CreateUser400 as Uo, GetTeam200 as Ur, CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete as Us, SetUserPasswordParams as Ut, UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem as V, GetFlowDefinition200FlowDefinitionStepsItemTransitions as Va, CreateAuthAttempt201ChallengesItem as Vc, GetMySession404Details as Vi, ListSessions200SessionsItemUserAgent as Vn, CreateUser401 as Vo, GetTeam401 as Vr, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind as Vs, SubmitFlowEvent400 as Vt, SubmitFlowStepDefaultDetails as W, GetFlowDefinition200FlowDefinitionStepsItemGates as Wa, CreateAuthAttempt201ChallengesItemMethod as Wc, GetMySession200 as Wi, ListSessions200SessionsItemFactorsItem as Wn, CreateUser400Details as Wo, GetSessionParams as Wr, CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem as Ws, SetUserPasswordDefault as Wt, SubmitFlowStep409 as X, GetAuthAttemptDefault as Xa, AuthorizeDeviceParams as Xc, GetMySession200FactorsItemMethod as Xi, ListFlowDefinitionsDefaultDetails as Xn, CreateTeam429 as Xo, GetSession401Details as Xr, CreateFlowDefinition201 as Xs, SetUserPassword404Details as Xt, SubmitFlowStepBodyChallengeResponseProof as Y, GetFlowDefinition200FlowDefinitionAudience as Ya, AuthorizeGet400Details as Yc, GetMySession200FactorsItemPayload as Yi, ListFlowDefinitionsDefault as Yn, CreateTeamBody as Yo, GetSession401 as Yr, CreateFlowDefinition400Details as Ys, SetUserPassword404 as Yt, SubmitFlowStep409Details as Z, GetAuthAttempt200 as Za, AuthorizeDeviceDefault as Zc, GetLiveDefault as Zi, ListFlowDefinitions400 as Zn, CreateTeam429Details as Zo, GetSession200 as Zr, CreateFlowDefinition201FlowDefinition as Zs, SetUserPassword400 as Zt, UpdateFlowDefinitionBodyStepsItem as _, GetFlowStep200 as _a, CreateFlow201StepTexts as _c, GetProjectDefaultDetails as _i, RevokeMySession404 as _n, ExchangeHandoff200 as _o, GetUserInfoDefaultDetails as _r, CreateSchemaDefaultDetails as _s, SubmitFlowStep200Step as _t, VerifyChallengeProof200RequiredFactorsItem as a, GetKeys4xx as aa, CreateFlowDefinition201FlowDefinitionStepsItemComplete as ac, GetSchemaByIdDefault as ai, RevokeSessionDefault as an, GetAuthAttempt200ChallengesItemPayload as ao, IssueChallengeBodyMethod as ar, CreateSession400 as as, SubmitFlowStep400StepFieldsItem as at, UpdateFlowDefinitionBodyStepsItemOnSuccess as b, GetFlowStep200StepSsoProvidersItem as ba, CreateFlow201StepGatesKind as bc, GetProject401 as bi, RevokeMySession401Details as bn, ExchangeHandoff200SessionState as bo, GetUserInfo4xxDetails as br, CreateSchema409Details as bs, SubmitFlowStep200StepGates as bt, VerifyChallengeProof200CompletedFactorsItemMethod as c, GetHealthDefaultDetails as ca, CreateFlowDefault as cc, GetSchemaById404Details as ci, RevokeSession409Details as cn, ExchangeHandoffDefault as co, IssueChallenge201Payload as cr, CreateSession201Session as cs, SubmitFlowStep400StepFieldsItemType as ct, VerifyChallengeProof200ChallengesItemPayload as d, GetFlowStepDefault as da, CreateFlowBodyPurpose as dc, GetSchemaById200 as di, RevokeSession401 as dn, ExchangeHandoff410 as do, IntrospectDefaultDetails as dr, CreateSession201SessionMetadata as ds, SubmitFlowStep400StepChallengeOptions as dt, GetLive4xxDetails as ea, CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem as ec, GetSession200Metadata as ei, AuthorizeDevice400Details as el, RevokeTokenDefaultDetails as en, GetAuthAttempt200CompletedFactorsItem as eo, ListFlowDefinitions200FlowDefinitionsItem as er, CreateTeam201 as es, SubmitFlowStep400StepTexts as et, VerifyChallengeProof200ChallengesItemMethod as f, GetFlowStepDefaultDetails as fa, CreateFlowBodyHint as fc, GetReadyDefault as fi, RevokeSession401Details as fn, ExchangeHandoff410Details as fo, IntrospectBody as fr, CreateSession201SessionFactorsItem as fs, SubmitFlowStep400StepChallengeMethod as ft, UpdateFlowDefinitionBody as g, GetFlowStep404Details as ga, CreateFlow201Step as gc, GetProjectDefault as gi, RevokeMySession409Details as gn, ExchangeHandoff400Details as go, GetUserInfoDefault as gr, CreateSchemaDefault as gs, SubmitFlowStep200 as gt, UpdateFlowDefinitionDefaultDetails as h, GetFlowStep404 as ha, CreateFlow201 as hc, GetReady4xxDetails as hi, RevokeMySession409 as hn, ExchangeHandoff400 as ho, Introspect200 as hr, CreateSchemaParams as hs, SubmitFlowStep400BrandingLayout as ht, VerifyChallengeProof200State as i, GetKeys200KeysItem as ia, CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig as ic, GetSchemaByIdParams as ii, RevokeSessionParams as in, GetAuthAttempt200ChallengesItemState as io, IssueChallengeBodyPasskeyOptionsUserVerification as ir, CreateSessionBodyUserAgent as is, SubmitFlowStep400StepGatesConfig as it, UpdateFlowDefinition200 as j, GetFlowStep200StepChallengeMethod as ja, CreateFlow201Branding as jc, GetOpenIDConfiguration4xxDetails as ji, ListSessionsDefault as jn, DeleteFlowDefinitionDefault as jo, GetTokenBody as jr, CreateHandoff200 as js, SubmitFlowStep200StepActionsItem as jt, UpdateFlowDefinition400 as k, GetFlowStep200StepChallenge as ka, CreateFlow201StepChallengeMethod as kc, GetOpenIDConfiguration200ClaimTypesSupportedItem as ki, ListSessionsParams as kn, EndSession400Details as ko, GetTokenDefault as kr, CreateProject201 as ks, SubmitFlowStep200StepChallengeOptions as kt, VerifyChallengeProof200ChallengesItem as l, GetHealth4xx as la, CreateFlowDefaultDetails as lc, GetSchemaById400 as li, RevokeSession404 as ln, ExchangeHandoffDefaultDetails as lo, IssueChallenge201Method as lr, CreateSession201SessionUserAgent as ls, SubmitFlowStep400StepComplete as lt, UpdateFlowDefinitionDefault as m, GetFlowStep410Details as ma, CreateFlow400Details as mc, GetReady4xx as mi, RevokeMySessionDefaultDetails as mn, ExchangeHandoff401Details as mo, Introspect400Details as mr, CreateSession201SessionFactorsItemMethod as ms, SubmitFlowStep400Branding as mt, VerifyChallengeProofBody as n, GetKeysDefaultDetails as na, CreateFlowDefinition201FlowDefinitionStepsItemGates as nc, GetSession200FactorsItemPayload as ni, RevokeToken4xx as nn, GetAuthAttempt200CompletedFactorsItemMethod as no, IssueChallengeBody as nr, CreateSessionDefaultDetails as ns, SubmitFlowStep400StepGates as nt, VerifyChallengeProof200CompletedFactorsItem as o, GetKeys4xxDetails as oa, CreateFlowDefinition201FlowDefinitionStepsItemActionsItem as oc, GetSchemaByIdDefaultDetails as oi, RevokeSessionDefaultDetails as on, GetAuthAttempt200ChallengesItemMethod as oo, IssueChallenge201 as or, CreateSession400Details as os, SubmitFlowStep400StepFieldsItemValidation as ot, UpdateFlowDefinitionParams as p, GetFlowStep410 as pa, CreateFlow400 as pc, GetReadyDefaultDetails as pi, RevokeMySessionDefault as pn, ExchangeHandoff401 as po, Introspect400 as pr, CreateSession201SessionFactorsItemPayload as ps, SubmitFlowStep400StepActionsItem as pt, SubmitFlowStepBodyFields as q, GetFlowDefinition200FlowDefinitionStepsItemComplete as qa, AuthorizeGetDefaultDetails as qc, GetMySession200Metadata as qi, ListFlowDefinitionsParams as qn, CreateTeamDefault as qo, GetSession404 as qr, CreateFlowDefinition409Details as qs, SetUserPassword500 as qt, VerifyChallengeProof200 as r, GetKeys200 as ra, CreateFlowDefinition201FlowDefinitionStepsItemGatesKind as rc, GetSession200FactorsItemMethod as ri, RevokeToken4xxDetails as rn, GetAuthAttempt200ChallengesItem as ro, IssueChallengeBodyPasskeyOptions as rr, CreateSessionBody as rs, SubmitFlowStep400StepGatesKind as rt, VerifyChallengeProof200CompletedFactorsItemPayload as s, GetHealthDefault as sa, CreateFlowDefinition201FlowDefinitionAudience as sc, GetSchemaById404 as si, RevokeSession409 as sn, ExchangeHandoffParams as so, IssueChallenge201State as sr, CreateSession201 as ss, SubmitFlowStep400StepFieldsItemValidationFormat as st, VerifyChallengeProofDefault as t, GetKeysDefault as ta, CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess as tc, GetSession200FactorsItem as ti, AuthorizeDevice200 as tl, RevokeTokenBody as tn, GetAuthAttempt200CompletedFactorsItemPayload as to, IssueChallengeDefault as tr, CreateSessionDefault as ts, SubmitFlowStep400StepSsoProvidersItem as tt, VerifyChallengeProof200ChallengesItemState as u, GetHealth4xxDetails as ua, CreateFlowBody as uc, GetSchemaById400Details as ui, RevokeSession404Details as un, ExchangeHandoffBody as uo, IntrospectDefault as ur, CreateSession201SessionState as us, SubmitFlowStep400StepChallenge as ut, UpdateFlowDefinitionBodyStepsItemTransitions as v, GetFlowStep200Step as va, CreateFlow201StepSsoProvidersItem as vc, GetProject404 as vi, RevokeMySession404Details as vn, ExchangeHandoff200Session as vo, GetUserInfo200 as vr, CreateSchemaBody as vs, SubmitFlowStep200StepTexts as vt, UpdateFlowDefinitionBodyStepsItemComplete as w, GetFlowStep200StepFieldsItem as wa, CreateFlow201StepFieldsItemValidationFormat as wc, GetOpenIDConfigurationDefaultDetails as wi, ListUsers500 as wn, ExchangeHandoff200SessionFactorsItemMethod as wo, GetUserByID404 as wr, CreateProjectDefault as ws, SubmitFlowStep200StepFieldsItemValidation as wt, UpdateFlowDefinitionBodyStepsItemGates as x, GetFlowStep200StepGates as xa, CreateFlow201StepGatesConfig as xc, GetProject401Details as xi, ListUsersParams as xn, ExchangeHandoff200SessionMetadata as xo, GetUserByIDParams as xr, CreateSchema400 as xs, SubmitFlowStep200StepGatesKind as xt, UpdateFlowDefinitionBodyStepsItemSsoProvidersItem as y, GetFlowStep200StepTexts as ya, CreateFlow201StepGates as yc, GetProject404Details as yi, RevokeMySession401 as yn, ExchangeHandoff200SessionUserAgent as yo, GetUserInfo4xx as yr, CreateSchema409 as ys, SubmitFlowStep200StepSsoProvidersItem as yt, UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig as z, GetFlowDefinition200FlowDefinition as za, CreateAuthAttempt201CompletedFactorsItemPayload as zc, GetMySessionDefaultDetails as zi, ListSessions200 as zn, CreateUser403 as zo, GetTeam404 as zr, CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess as zs, SubmitFlowEvent404 as zt };
9578
+ //# sourceMappingURL=index-BGnjxx-b.d.mts.map