@zitadel/api 0.0.0 → 0.1.0-alpha.2

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 (229) hide show
  1. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  2. package/dist/generated/endpoints/zitadelNextGen.d.ts +17 -7
  3. package/dist/generated/endpoints/zitadelNextGen.d.ts.map +1 -1
  4. package/dist/generated/endpoints/zitadelNextGen.mjs +69 -16
  5. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +8 -5
  7. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.msw.d.ts +7 -4
  9. package/dist/generated/endpoints/zitadelNextGen.msw.d.ts.map +1 -1
  10. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +248 -228
  11. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  12. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +140 -106
  13. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  14. package/dist/generated/endpoints/zitadelNextGen.zod.d.ts +137 -103
  15. package/dist/generated/endpoints/zitadelNextGen.zod.d.ts.map +1 -1
  16. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +105 -83
  17. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  18. package/dist/generated/model/createFlowDefinition201.d.ts +11 -144
  19. package/dist/generated/model/createFlowDefinition201.d.ts.map +1 -1
  20. package/dist/generated/model/createFlowDefinition201FlowDefinition.d.ts +56 -0
  21. package/dist/generated/model/createFlowDefinition201FlowDefinition.d.ts.map +1 -0
  22. package/dist/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts +21 -0
  23. package/dist/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts.map +1 -0
  24. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts +71 -0
  25. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts.map +1 -0
  26. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts +29 -0
  27. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts.map +1 -0
  28. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts +19 -0
  29. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts.map +1 -0
  30. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts +35 -0
  31. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts.map +1 -0
  32. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
  33. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
  34. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts +18 -0
  35. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
  36. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
  37. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
  38. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
  39. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
  40. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts +35 -0
  41. package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
  42. package/dist/generated/model/deleteFlowDefinitionParams.d.ts +15 -0
  43. package/dist/generated/model/deleteFlowDefinitionParams.d.ts.map +1 -0
  44. package/dist/generated/model/getFlowDefinition200.d.ts +11 -144
  45. package/dist/generated/model/getFlowDefinition200.d.ts.map +1 -1
  46. package/dist/generated/model/getFlowDefinition200FlowDefinition.d.ts +56 -0
  47. package/dist/generated/model/getFlowDefinition200FlowDefinition.d.ts.map +1 -0
  48. package/dist/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts +21 -0
  49. package/dist/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts.map +1 -0
  50. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts +71 -0
  51. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts.map +1 -0
  52. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts +29 -0
  53. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map +1 -0
  54. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts +19 -0
  55. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map +1 -0
  56. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts +35 -0
  57. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map +1 -0
  58. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
  59. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
  60. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts +18 -0
  61. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
  62. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
  63. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
  64. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
  65. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
  66. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts +35 -0
  67. package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
  68. package/dist/generated/model/getFlowDefinitionParams.d.ts +15 -0
  69. package/dist/generated/model/getFlowDefinitionParams.d.ts.map +1 -0
  70. package/dist/generated/model/getMyUser200.d.ts +11 -0
  71. package/dist/generated/model/getMyUser200.d.ts.map +1 -0
  72. package/dist/generated/model/{getFlowDefinition404.d.ts → getMyUser401.d.ts} +4 -4
  73. package/dist/generated/model/getMyUser401.d.ts.map +1 -0
  74. package/dist/generated/model/{getFlowDefinition404Details.d.ts → getMyUser401Details.d.ts} +2 -2
  75. package/dist/generated/model/getMyUser401Details.d.ts.map +1 -0
  76. package/dist/generated/model/getMyUser404.d.ts +26 -0
  77. package/dist/generated/model/getMyUser404.d.ts.map +1 -0
  78. package/dist/generated/model/{deleteFlowDefinition404.d.ts → getMyUserDefault.d.ts} +4 -4
  79. package/dist/generated/model/getMyUserDefault.d.ts.map +1 -0
  80. package/dist/generated/model/{deleteFlowDefinition404Details.d.ts → getMyUserDefaultDetails.d.ts} +2 -2
  81. package/dist/generated/model/getMyUserDefaultDetails.d.ts.map +1 -0
  82. package/dist/generated/model/index.d.mts +2 -2
  83. package/dist/generated/model/index.d.ts +52 -4
  84. package/dist/generated/model/index.d.ts.map +1 -1
  85. package/dist/generated/model/index.mjs +37 -1
  86. package/dist/generated/model/index.mjs.map +1 -1
  87. package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts +1 -1
  88. package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts.map +1 -1
  89. package/dist/generated/model/listFlowDefinitionsParams.d.ts +1 -1
  90. package/dist/generated/model/setUserPassword400.d.ts +20 -0
  91. package/dist/generated/model/setUserPassword400.d.ts.map +1 -0
  92. package/dist/generated/model/setUserPassword400Details.d.ts +14 -0
  93. package/dist/generated/model/setUserPassword400Details.d.ts.map +1 -0
  94. package/dist/generated/model/setUserPassword404.d.ts +20 -0
  95. package/dist/generated/model/setUserPassword404.d.ts.map +1 -0
  96. package/dist/generated/model/setUserPassword404Details.d.ts +14 -0
  97. package/dist/generated/model/setUserPassword404Details.d.ts.map +1 -0
  98. package/dist/generated/model/setUserPassword500.d.ts +20 -0
  99. package/dist/generated/model/setUserPassword500.d.ts.map +1 -0
  100. package/dist/generated/model/setUserPassword500Details.d.ts +14 -0
  101. package/dist/generated/model/setUserPassword500Details.d.ts.map +1 -0
  102. package/dist/generated/model/setUserPasswordBody.d.ts +19 -0
  103. package/dist/generated/model/setUserPasswordBody.d.ts.map +1 -0
  104. package/dist/generated/model/setUserPasswordDefault.d.ts +20 -0
  105. package/dist/generated/model/setUserPasswordDefault.d.ts.map +1 -0
  106. package/dist/generated/model/setUserPasswordDefaultDetails.d.ts +14 -0
  107. package/dist/generated/model/setUserPasswordDefaultDetails.d.ts.map +1 -0
  108. package/dist/generated/model/setUserPasswordParams.d.ts +15 -0
  109. package/dist/generated/model/setUserPasswordParams.d.ts.map +1 -0
  110. package/dist/generated/model/updateFlowDefinition200.d.ts +11 -144
  111. package/dist/generated/model/updateFlowDefinition200.d.ts.map +1 -1
  112. package/dist/generated/model/updateFlowDefinition200FlowDefinition.d.ts +56 -0
  113. package/dist/generated/model/updateFlowDefinition200FlowDefinition.d.ts.map +1 -0
  114. package/dist/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts +21 -0
  115. package/dist/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts.map +1 -0
  116. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts +71 -0
  117. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts.map +1 -0
  118. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts +29 -0
  119. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map +1 -0
  120. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts +19 -0
  121. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map +1 -0
  122. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts +35 -0
  123. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map +1 -0
  124. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
  125. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
  126. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts +18 -0
  127. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
  128. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
  129. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
  130. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
  131. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
  132. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts +35 -0
  133. package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
  134. package/dist/generated/model/updateFlowDefinitionParams.d.ts +15 -0
  135. package/dist/generated/model/updateFlowDefinitionParams.d.ts.map +1 -0
  136. package/dist/{index-DlEenfQJ.d.mts → index-DyBulyp9.d.mts} +1685 -938
  137. package/dist/index-DyBulyp9.d.mts.map +1 -0
  138. package/dist/runtime/api-factory.d.mts +1 -1
  139. package/dist/runtime/config.d.mts +6 -3
  140. package/dist/runtime/config.d.mts.map +1 -1
  141. package/dist/runtime/config.d.ts +6 -3
  142. package/dist/runtime/config.d.ts.map +1 -1
  143. package/dist/runtime/config.mjs +42 -11
  144. package/dist/runtime/config.mjs.map +1 -1
  145. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  146. package/dist/{zitadelNextGen-C-fBEgnH.d.mts → zitadelNextGen-D6pDH5nq.d.mts} +20 -10
  147. package/dist/zitadelNextGen-D6pDH5nq.d.mts.map +1 -0
  148. package/package.json +1 -1
  149. package/src/generated/endpoints/zitadelNextGen.msw.ts +82 -34
  150. package/src/generated/endpoints/zitadelNextGen.ts +111 -16
  151. package/src/generated/endpoints/zitadelNextGen.zod.ts +452 -384
  152. package/src/generated/model/createFlowDefinition201.ts +11 -144
  153. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +58 -0
  154. package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +21 -0
  155. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +71 -0
  156. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.ts +29 -0
  157. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +21 -0
  158. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +35 -0
  159. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +14 -0
  160. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
  161. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +21 -0
  162. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
  163. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +35 -0
  164. package/src/generated/model/deleteFlowDefinitionParams.ts +15 -0
  165. package/src/generated/model/getFlowDefinition200.ts +11 -144
  166. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +58 -0
  167. package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +21 -0
  168. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
  169. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.ts +29 -0
  170. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
  171. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
  172. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +14 -0
  173. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +20 -0
  174. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
  175. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
  176. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
  177. package/src/generated/model/getFlowDefinitionParams.ts +15 -0
  178. package/src/generated/model/getMyUser200.ts +9 -0
  179. package/src/generated/model/{getFlowDefinition404.ts → getMyUser401.ts} +3 -3
  180. package/src/generated/model/{getFlowDefinition404Details.ts → getMyUser401Details.ts} +1 -1
  181. package/src/generated/model/getMyUser404.ts +24 -0
  182. package/src/generated/model/{deleteFlowDefinition404.ts → getMyUserDefault.ts} +3 -3
  183. package/src/generated/model/{deleteFlowDefinition404Details.ts → getMyUserDefaultDetails.ts} +1 -1
  184. package/src/generated/model/index.ts +52 -4
  185. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +1 -1
  186. package/src/generated/model/listFlowDefinitionsParams.ts +1 -1
  187. package/src/generated/model/setUserPassword400.ts +20 -0
  188. package/src/generated/model/setUserPassword400Details.ts +12 -0
  189. package/src/generated/model/setUserPassword404.ts +20 -0
  190. package/src/generated/model/setUserPassword404Details.ts +12 -0
  191. package/src/generated/model/setUserPassword500.ts +20 -0
  192. package/src/generated/model/setUserPassword500Details.ts +12 -0
  193. package/src/generated/model/setUserPasswordBody.ts +19 -0
  194. package/src/generated/model/setUserPasswordDefault.ts +20 -0
  195. package/src/generated/model/setUserPasswordDefaultDetails.ts +12 -0
  196. package/src/generated/model/setUserPasswordParams.ts +15 -0
  197. package/src/generated/model/updateFlowDefinition200.ts +11 -144
  198. package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +58 -0
  199. package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +21 -0
  200. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
  201. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.ts +29 -0
  202. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
  203. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
  204. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +14 -0
  205. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +20 -0
  206. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
  207. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
  208. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
  209. package/src/generated/model/updateFlowDefinitionParams.ts +15 -0
  210. package/src/runtime/config.spec.ts +41 -0
  211. package/src/runtime/config.ts +46 -18
  212. package/dist/generated/endpoints/zitadelNextGen.d.mts.map +0 -1
  213. package/dist/generated/model/createSession201SessionFactors.d.ts +0 -18
  214. package/dist/generated/model/createSession201SessionFactors.d.ts.map +0 -1
  215. package/dist/generated/model/deleteFlowDefinition404.d.ts.map +0 -1
  216. package/dist/generated/model/deleteFlowDefinition404Details.d.ts.map +0 -1
  217. package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts +0 -18
  218. package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts.map +0 -1
  219. package/dist/generated/model/getFlowDefinition404.d.ts.map +0 -1
  220. package/dist/generated/model/getFlowDefinition404Details.d.ts.map +0 -1
  221. package/dist/generated/model/getMySession200Factors.d.ts +0 -18
  222. package/dist/generated/model/getMySession200Factors.d.ts.map +0 -1
  223. package/dist/generated/model/getSession200Factors.d.ts +0 -18
  224. package/dist/generated/model/getSession200Factors.d.ts.map +0 -1
  225. package/dist/generated/model/index.d.mts.map +0 -1
  226. package/dist/generated/model/listSessions200SessionsItemFactors.d.ts +0 -18
  227. package/dist/generated/model/listSessions200SessionsItemFactors.d.ts.map +0 -1
  228. package/dist/index-DlEenfQJ.d.mts.map +0 -1
  229. package/dist/zitadelNextGen-C-fBEgnH.d.mts.map +0 -1
@@ -1143,207 +1143,7 @@ type CreateFlowDefault = {
1143
1143
  details?: CreateFlowDefaultDetails;
1144
1144
  };
1145
1145
  //#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
1146
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts
1347
1147
  /**
1348
1148
  * Generated by orval v8.10.0 🍺
1349
1149
  * Do not edit manually.
@@ -1358,12 +1158,12 @@ matches every request in the project. The engine picks the most specific
1358
1158
  matching definition: app > team > project-wide.
1359
1159
 
1360
1160
  */
1361
- type CreateFlowDefinitionBodyFlowDefinitionAudience = {
1161
+ type CreateFlowDefinition201FlowDefinitionAudience = {
1362
1162
  /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
1363
1163
  app_ids?: string[];
1364
1164
  };
1365
1165
  //#endregion
1366
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActions.d.ts
1166
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts
1367
1167
  /**
1368
1168
  * Generated by orval v8.10.0 🍺
1369
1169
  * Do not edit manually.
@@ -1377,7 +1177,7 @@ The action name is what the frontend sends back in the submit request.
1377
1177
  If omitted, the engine provides a default `submit` action.
1378
1178
 
1379
1179
  */
1380
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
1180
+ type CreateFlowDefinition201FlowDefinitionStepsItemActions = {
1381
1181
  [key: string]: {
1382
1182
  /** Marks this as the default/primary action. The runtime template uses
1383
1183
  this hint to choose visual emphasis. At most one action per step
@@ -1393,7 +1193,7 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
1393
1193
  };
1394
1194
  };
1395
1195
  //#endregion
1396
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts
1196
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts
1397
1197
  /**
1398
1198
  * Generated by orval v8.10.0 🍺
1399
1199
  * Do not edit manually.
@@ -1407,13 +1207,13 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
1407
1207
  - show: render as a success/info screen
1408
1208
 
1409
1209
  */
1410
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete];
1411
- declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
1210
+ type CreateFlowDefinition201FlowDefinitionStepsItemComplete = (typeof CreateFlowDefinition201FlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemComplete];
1211
+ declare const CreateFlowDefinition201FlowDefinitionStepsItemComplete: {
1412
1212
  readonly redirect: "redirect";
1413
1213
  readonly show: "show";
1414
1214
  };
1415
1215
  //#endregion
1416
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts
1216
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts
1417
1217
  /**
1418
1218
  * Generated by orval v8.10.0 🍺
1419
1219
  * Do not edit manually.
@@ -1426,11 +1226,11 @@ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
1426
1226
  issuing the per-render challenge. Opaque to the engine.
1427
1227
 
1428
1228
  */
1429
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig = {
1229
+ type CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig = {
1430
1230
  [key: string]: unknown;
1431
1231
  };
1432
1232
  //#endregion
1433
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts
1233
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts
1434
1234
  /**
1435
1235
  * Generated by orval v8.10.0 🍺
1436
1236
  * Do not edit manually.
@@ -1444,12 +1244,12 @@ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1444
1244
  `x-credential` on a field, not as gates.
1445
1245
 
1446
1246
  */
1447
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind];
1448
- declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind: {
1247
+ type CreateFlowDefinition201FlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind];
1248
+ declare const CreateFlowDefinition201FlowDefinitionStepsItemGatesKind: {
1449
1249
  readonly captcha: "captcha";
1450
1250
  };
1451
1251
  //#endregion
1452
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts
1252
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts
1453
1253
  /**
1454
1254
  * Security gates that must be satisfied before submission. Keyed by gate
1455
1255
  name. Each gate selects a kind (e.g. "captcha") and provider-specific
@@ -1457,13 +1257,13 @@ configuration. The engine may also inject gates dynamically based on
1457
1257
  policy.
1458
1258
 
1459
1259
  */
1460
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
1260
+ type CreateFlowDefinition201FlowDefinitionStepsItemGates = {
1461
1261
  [key: string]: {
1462
1262
  /** The gate category. Only `captcha` is currently defined. Authenticator
1463
1263
  ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1464
1264
  `x-credential` on a field, not as gates.
1465
1265
  */
1466
- kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind;
1266
+ kind: CreateFlowDefinition201FlowDefinitionStepsItemGatesKind;
1467
1267
  /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
1468
1268
  `hcaptcha`. The engine looks up an implementation in its provider
1469
1269
  registry.
@@ -1472,11 +1272,11 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
1472
1272
  /** Provider-specific configuration consumed by the implementation when
1473
1273
  issuing the per-render challenge. Opaque to the engine.
1474
1274
  */
1475
- config?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig;
1275
+ config?: CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig;
1476
1276
  };
1477
1277
  };
1478
1278
  //#endregion
1479
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts
1279
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts
1480
1280
  /**
1481
1281
  * Generated by orval v8.10.0 🍺
1482
1282
  * Do not edit manually.
@@ -1491,12 +1291,12 @@ Runs after field validation passes, before the transition fires.
1491
1291
  - create_user: creates the user record (registration flows)
1492
1292
 
1493
1293
  */
1494
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess];
1495
- declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
1294
+ type CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess];
1295
+ declare const CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess: {
1496
1296
  readonly create_user: "create_user";
1497
1297
  };
1498
1298
  //#endregion
1499
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts
1299
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts
1500
1300
  /**
1501
1301
  * Generated by orval v8.10.0 🍺
1502
1302
  * Do not edit manually.
@@ -1507,13 +1307,13 @@ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
1507
1307
  /**
1508
1308
  * An available SSO identity provider.
1509
1309
  */
1510
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
1310
+ type CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem = {
1511
1311
  /** Provider instance identifier. */id: string; /** Display name for the provider. */
1512
1312
  name: string; /** Template hint for rendering (logo, colors). */
1513
1313
  template: string;
1514
1314
  };
1515
1315
  //#endregion
1516
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts
1316
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts
1517
1317
  /**
1518
1318
  * Generated by orval v8.10.0 🍺
1519
1319
  * Do not edit manually.
@@ -1530,7 +1330,7 @@ come from implicit outcomes based on schema annotations
1530
1330
  events (e.g. `sso`, `callback`).
1531
1331
 
1532
1332
  */
1533
- type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
1333
+ type CreateFlowDefinition201FlowDefinitionStepsItemTransitions = {
1534
1334
  [key: string]: {
1535
1335
  /** Step name within this flow (when `action` is null), or the name
1536
1336
  of another flow (when `action` is `switch` or `pivot`).
@@ -1549,7 +1349,7 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
1549
1349
  };
1550
1350
  };
1551
1351
  //#endregion
1552
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts
1352
+ //#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts
1553
1353
  /**
1554
1354
  * A step in a flow definition. This is the admin-authored configuration,
1555
1355
  not the runtime payload sent to the frontend.
@@ -1562,7 +1362,7 @@ A step with only `complete` set is a terminal step. All other steps are
1562
1362
  rendered to the frontend as capability payloads.
1563
1363
 
1564
1364
  */
1565
- type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
1365
+ type CreateFlowDefinition201FlowDefinitionStepsItem = {
1566
1366
  /** Unique step identifier within this flow. Used as transition targets
1567
1367
  and returned in the API response as `step.name`.
1568
1368
  */
@@ -1578,34 +1378,34 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
1578
1378
  The action name is what the frontend sends back in the submit request.
1579
1379
  If omitted, the engine provides a default `submit` action.
1580
1380
  */
1581
- actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActions;
1381
+ actions?: CreateFlowDefinition201FlowDefinitionStepsItemActions;
1582
1382
  /** Security gates that must be satisfied before submission. Keyed by gate
1583
1383
  name. Each gate selects a kind (e.g. "captcha") and provider-specific
1584
1384
  configuration. The engine may also inject gates dynamically based on
1585
1385
  policy.
1586
1386
  */
1587
- gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
1588
- sso_providers?: CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem[];
1387
+ gates?: CreateFlowDefinition201FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
1388
+ sso_providers?: CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem[];
1589
1389
  /** Server-side mutation to execute when this step completes successfully.
1590
1390
  Runs after field validation passes, before the transition fires.
1591
1391
  - create_user: creates the user record (registration flows)
1592
1392
  */
1593
- on_success?: CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess;
1393
+ on_success?: CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess;
1594
1394
  /** Marks this as a terminal step. Tells the frontend what to do:
1595
1395
  - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1596
1396
  - show: render as a success/info screen
1597
1397
  */
1598
- complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
1398
+ complete?: CreateFlowDefinition201FlowDefinitionStepsItemComplete;
1599
1399
  /** Maps action/outcome names to their transition descriptor.
1600
1400
  Keys match action names from the `actions` dict. Additional keys
1601
1401
  come from implicit outcomes based on schema annotations
1602
1402
  (e.g. `user_not_found` from `x-unique` fields) and engine
1603
1403
  events (e.g. `sso`, `callback`).
1604
1404
  */
1605
- transitions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions;
1405
+ transitions?: CreateFlowDefinition201FlowDefinitionStepsItemTransitions;
1606
1406
  };
1607
1407
  //#endregion
1608
- //#region src/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts
1408
+ //#region src/generated/model/createFlowDefinition201FlowDefinition.d.ts
1609
1409
  /**
1610
1410
  * A flow definition is the server-side configuration that describes a complete
1611
1411
  authentication or identity flow. It is NOT sent to the frontend — the flow
@@ -1617,7 +1417,7 @@ configuration hierarchy. The engine selects the matching definition based on
1617
1417
  the purpose + audience when a flow is created via POST /flow.
1618
1418
 
1619
1419
  */
1620
- type CreateFlowDefinitionBodyFlowDefinition = {
1420
+ type CreateFlowDefinition201FlowDefinition = {
1621
1421
  /**
1622
1422
  * Stable identifier for this flow, used as the target of cross-flow
1623
1423
  `switch` and `pivot` transitions. Renaming is not supported — the
@@ -1642,23 +1442,20 @@ type CreateFlowDefinitionBodyFlowDefinition = {
1642
1442
  matches every request in the project. The engine picks the most specific
1643
1443
  matching definition: app > team > project-wide.
1644
1444
  */
1645
- audience?: CreateFlowDefinitionBodyFlowDefinitionAudience;
1445
+ audience?: CreateFlowDefinition201FlowDefinitionAudience;
1646
1446
  /**
1647
1447
  * Ordered list of steps in this flow. The order is for human readability —
1648
1448
  actual step sequencing is determined by transitions.
1649
1449
  * @minItems 1
1650
1450
  */
1651
- steps: CreateFlowDefinitionBodyFlowDefinitionStepsItem[];
1451
+ steps: CreateFlowDefinition201FlowDefinitionStepsItem[];
1652
1452
  };
1653
1453
  //#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;
1454
+ //#region src/generated/model/createFlowDefinition201.d.ts
1455
+ type CreateFlowDefinition201 = {
1456
+ /** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
1457
+ project_id: string; /** Status of the flow definition. */
1458
+ status: string;
1662
1459
  /** A flow definition is the server-side configuration that describes a complete
1663
1460
  authentication or identity flow. It is NOT sent to the frontend — the flow
1664
1461
  engine evaluates it and produces FlowResponse payloads (steps with capability
@@ -1667,10 +1464,12 @@ type CreateFlowDefinitionBody = {
1667
1464
  configuration hierarchy. The engine selects the matching definition based on
1668
1465
  the purpose + audience when a flow is created via POST /flow.
1669
1466
  */
1670
- flow_definition: CreateFlowDefinitionBodyFlowDefinition;
1467
+ flow_definition: CreateFlowDefinition201FlowDefinition;
1468
+ created_at: string;
1469
+ updated_at: string;
1671
1470
  };
1672
1471
  //#endregion
1673
- //#region src/generated/model/createFlowDefinitionDefaultDetails.d.ts
1472
+ //#region src/generated/model/createFlowDefinition400Details.d.ts
1674
1473
  /**
1675
1474
  * Generated by orval v8.10.0 🍺
1676
1475
  * Do not edit manually.
@@ -1681,21 +1480,21 @@ type CreateFlowDefinitionBody = {
1681
1480
  /**
1682
1481
  * Additional error-specific context.
1683
1482
  */
1684
- type CreateFlowDefinitionDefaultDetails = {
1483
+ type CreateFlowDefinition400Details = {
1685
1484
  [key: string]: unknown;
1686
1485
  };
1687
1486
  //#endregion
1688
- //#region src/generated/model/createFlowDefinitionDefault.d.ts
1487
+ //#region src/generated/model/createFlowDefinition400.d.ts
1689
1488
  /**
1690
1489
  * Standard error payload returned for failed API requests.
1691
1490
  */
1692
- type CreateFlowDefinitionDefault = {
1491
+ type CreateFlowDefinition400 = {
1693
1492
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1694
1493
  message: string; /** Additional error-specific context. */
1695
- details?: CreateFlowDefinitionDefaultDetails;
1494
+ details?: CreateFlowDefinition400Details;
1696
1495
  };
1697
1496
  //#endregion
1698
- //#region src/generated/model/createHandoff200.d.ts
1497
+ //#region src/generated/model/createFlowDefinition409Details.d.ts
1699
1498
  /**
1700
1499
  * Generated by orval v8.10.0 🍺
1701
1500
  * Do not edit manually.
@@ -1704,27 +1503,23 @@ type CreateFlowDefinitionDefault = {
1704
1503
  * OpenAPI spec version: 0.0.1
1705
1504
  */
1706
1505
  /**
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
-
1506
+ * Additional error-specific context.
1713
1507
  */
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;
1508
+ type CreateFlowDefinition409Details = {
1509
+ [key: string]: unknown;
1725
1510
  };
1726
1511
  //#endregion
1727
- //#region src/generated/model/createHandoffDefault.d.ts
1512
+ //#region src/generated/model/createFlowDefinition409.d.ts
1513
+ /**
1514
+ * Standard error payload returned for failed API requests.
1515
+ */
1516
+ type CreateFlowDefinition409 = {
1517
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1518
+ message: string; /** Additional error-specific context. */
1519
+ details?: CreateFlowDefinition409Details;
1520
+ };
1521
+ //#endregion
1522
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts
1728
1523
  /**
1729
1524
  * Generated by orval v8.10.0 🍺
1730
1525
  * Do not edit manually.
@@ -1732,41 +1527,19 @@ type CreateHandoff200 = {
1732
1527
  * This is the next generation of the Zitadel identity platform.
1733
1528
  * OpenAPI spec version: 0.0.1
1734
1529
  */
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
- }) | ({
1760
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1761
- message: string; /** Additional error-specific context. */
1762
- details?: {
1763
- [key: string]: unknown;
1764
- };
1765
- } & {
1766
- code: "internal";
1767
- });
1530
+ /**
1531
+ * Scopes which teams or apps this flow definition applies to. Empty or
1532
+ omitted fields mean "no restriction"; when both are empty the definition
1533
+ matches every request in the project. The engine picks the most specific
1534
+ matching definition: app > team > project-wide.
1535
+
1536
+ */
1537
+ type CreateFlowDefinitionBodyFlowDefinitionAudience = {
1538
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
1539
+ app_ids?: string[];
1540
+ };
1768
1541
  //#endregion
1769
- //#region src/generated/model/createProject201.d.ts
1542
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActions.d.ts
1770
1543
  /**
1771
1544
  * Generated by orval v8.10.0 🍺
1772
1545
  * Do not edit manually.
@@ -1774,10 +1547,413 @@ type CreateHandoffDefault = ({
1774
1547
  * This is the next generation of the Zitadel identity platform.
1775
1548
  * OpenAPI spec version: 0.0.1
1776
1549
  */
1777
- type CreateProject201 = {
1778
- /** The unique identifier of the project. */id: string;
1779
- /** Secret which can be used for authentication when modifying the project.
1780
- */
1550
+ /**
1551
+ * Actions the user can take. Keyed by action name.
1552
+ The action name is what the frontend sends back in the submit request.
1553
+ If omitted, the engine provides a default `submit` action.
1554
+
1555
+ */
1556
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
1557
+ [key: string]: {
1558
+ /** Marks this as the default/primary action. The runtime template uses
1559
+ this hint to choose visual emphasis. At most one action per step
1560
+ should be primary; this is not enforced here.
1561
+ */
1562
+ primary?: boolean;
1563
+ /** Optional localization key override for the action's label. When
1564
+ omitted, the engine derives a key from the step and action names.
1565
+ Display text is resolved client-side from a locale dictionary, never
1566
+ by the engine.
1567
+ */
1568
+ text_key?: string;
1569
+ };
1570
+ };
1571
+ //#endregion
1572
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts
1573
+ /**
1574
+ * Generated by orval v8.10.0 🍺
1575
+ * Do not edit manually.
1576
+ * Zitadel NextGen
1577
+ * This is the next generation of the Zitadel identity platform.
1578
+ * OpenAPI spec version: 0.0.1
1579
+ */
1580
+ /**
1581
+ * Marks this as a terminal step. Tells the frontend what to do:
1582
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1583
+ - show: render as a success/info screen
1584
+
1585
+ */
1586
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete];
1587
+ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
1588
+ readonly redirect: "redirect";
1589
+ readonly show: "show";
1590
+ };
1591
+ //#endregion
1592
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts
1593
+ /**
1594
+ * Generated by orval v8.10.0 🍺
1595
+ * Do not edit manually.
1596
+ * Zitadel NextGen
1597
+ * This is the next generation of the Zitadel identity platform.
1598
+ * OpenAPI spec version: 0.0.1
1599
+ */
1600
+ /**
1601
+ * Provider-specific configuration consumed by the implementation when
1602
+ issuing the per-render challenge. Opaque to the engine.
1603
+
1604
+ */
1605
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig = {
1606
+ [key: string]: unknown;
1607
+ };
1608
+ //#endregion
1609
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts
1610
+ /**
1611
+ * Generated by orval v8.10.0 🍺
1612
+ * Do not edit manually.
1613
+ * Zitadel NextGen
1614
+ * This is the next generation of the Zitadel identity platform.
1615
+ * OpenAPI spec version: 0.0.1
1616
+ */
1617
+ /**
1618
+ * The gate category. Only `captcha` is currently defined. Authenticator
1619
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1620
+ `x-credential` on a field, not as gates.
1621
+
1622
+ */
1623
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind];
1624
+ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind: {
1625
+ readonly captcha: "captcha";
1626
+ };
1627
+ //#endregion
1628
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts
1629
+ /**
1630
+ * Security gates that must be satisfied before submission. Keyed by gate
1631
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
1632
+ configuration. The engine may also inject gates dynamically based on
1633
+ policy.
1634
+
1635
+ */
1636
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
1637
+ [key: string]: {
1638
+ /** The gate category. Only `captcha` is currently defined. Authenticator
1639
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
1640
+ `x-credential` on a field, not as gates.
1641
+ */
1642
+ kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind;
1643
+ /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
1644
+ `hcaptcha`. The engine looks up an implementation in its provider
1645
+ registry.
1646
+ */
1647
+ provider: string;
1648
+ /** Provider-specific configuration consumed by the implementation when
1649
+ issuing the per-render challenge. Opaque to the engine.
1650
+ */
1651
+ config?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig;
1652
+ };
1653
+ };
1654
+ //#endregion
1655
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts
1656
+ /**
1657
+ * Generated by orval v8.10.0 🍺
1658
+ * Do not edit manually.
1659
+ * Zitadel NextGen
1660
+ * This is the next generation of the Zitadel identity platform.
1661
+ * OpenAPI spec version: 0.0.1
1662
+ */
1663
+ /**
1664
+ * Server-side mutation to execute when this step completes successfully.
1665
+ Runs after field validation passes, before the transition fires.
1666
+
1667
+ - create_user: creates the user record (registration flows)
1668
+
1669
+ */
1670
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess];
1671
+ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
1672
+ readonly create_user: "create_user";
1673
+ };
1674
+ //#endregion
1675
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts
1676
+ /**
1677
+ * Generated by orval v8.10.0 🍺
1678
+ * Do not edit manually.
1679
+ * Zitadel NextGen
1680
+ * This is the next generation of the Zitadel identity platform.
1681
+ * OpenAPI spec version: 0.0.1
1682
+ */
1683
+ /**
1684
+ * An available SSO identity provider.
1685
+ */
1686
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
1687
+ /** Provider instance identifier. */id: string; /** Display name for the provider. */
1688
+ name: string; /** Template hint for rendering (logo, colors). */
1689
+ template: string;
1690
+ };
1691
+ //#endregion
1692
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts
1693
+ /**
1694
+ * Generated by orval v8.10.0 🍺
1695
+ * Do not edit manually.
1696
+ * Zitadel NextGen
1697
+ * This is the next generation of the Zitadel identity platform.
1698
+ * OpenAPI spec version: 0.0.1
1699
+ */
1700
+ /**
1701
+ * Maps action/outcome names to their transition descriptor.
1702
+
1703
+ Keys match action names from the `actions` dict. Additional keys
1704
+ come from implicit outcomes based on schema annotations
1705
+ (e.g. `user_not_found` from `x-unique` fields) and engine
1706
+ events (e.g. `sso`, `callback`).
1707
+
1708
+ */
1709
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
1710
+ [key: string]: {
1711
+ /** Step name within this flow (when `action` is null), or the name
1712
+ of another flow (when `action` is `switch` or `pivot`).
1713
+ */
1714
+ target: string;
1715
+ /** How to interpret `target`:
1716
+ - null (omitted): transition to a step in the current flow.
1717
+ - switch: replace the current flow with the target flow.
1718
+ No return — the current flow is discarded.
1719
+ Example: login ↔ register.
1720
+ - pivot: push the target flow onto the stack. The current flow
1721
+ is paused and resumes when the target flow completes (auto-pop).
1722
+ Example: login → recovery → back to login.
1723
+ */
1724
+ action?: "switch" | "pivot" | null;
1725
+ };
1726
+ };
1727
+ //#endregion
1728
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts
1729
+ /**
1730
+ * A step in a flow definition. This is the admin-authored configuration,
1731
+ not the runtime payload sent to the frontend.
1732
+
1733
+ Steps are schema-driven: `fields` references properties from the flow's
1734
+ user schema, and the engine resolves field metadata (type, validation,
1735
+ implicit outcomes) from schema annotations at runtime.
1736
+
1737
+ A step with only `complete` set is a terminal step. All other steps are
1738
+ rendered to the frontend as capability payloads.
1739
+
1740
+ */
1741
+ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
1742
+ /** Unique step identifier within this flow. Used as transition targets
1743
+ and returned in the API response as `step.name`.
1744
+ */
1745
+ name: string;
1746
+ /** Schema property names to collect from the user. Each entry references
1747
+ a property in the flow's user schema. The engine resolves field type,
1748
+ validation rules, and implicit outcomes from schema annotations
1749
+ (e.g. a property with `x-unique` set implies a `user_not_found`
1750
+ transition outcome).
1751
+ */
1752
+ fields?: string[];
1753
+ /** Actions the user can take. Keyed by action name.
1754
+ The action name is what the frontend sends back in the submit request.
1755
+ If omitted, the engine provides a default `submit` action.
1756
+ */
1757
+ actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActions;
1758
+ /** Security gates that must be satisfied before submission. Keyed by gate
1759
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
1760
+ configuration. The engine may also inject gates dynamically based on
1761
+ policy.
1762
+ */
1763
+ gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
1764
+ sso_providers?: CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem[];
1765
+ /** Server-side mutation to execute when this step completes successfully.
1766
+ Runs after field validation passes, before the transition fires.
1767
+ - create_user: creates the user record (registration flows)
1768
+ */
1769
+ on_success?: CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess;
1770
+ /** Marks this as a terminal step. Tells the frontend what to do:
1771
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
1772
+ - show: render as a success/info screen
1773
+ */
1774
+ complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
1775
+ /** Maps action/outcome names to their transition descriptor.
1776
+ Keys match action names from the `actions` dict. Additional keys
1777
+ come from implicit outcomes based on schema annotations
1778
+ (e.g. `user_not_found` from `x-unique` fields) and engine
1779
+ events (e.g. `sso`, `callback`).
1780
+ */
1781
+ transitions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions;
1782
+ };
1783
+ //#endregion
1784
+ //#region src/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts
1785
+ /**
1786
+ * A flow definition is the server-side configuration that describes a complete
1787
+ authentication or identity flow. It is NOT sent to the frontend — the flow
1788
+ engine evaluates it and produces FlowResponse payloads (steps with capability
1789
+ dictionaries) for the client.
1790
+
1791
+ Flow definitions are created by administrators and stored in the project/team
1792
+ configuration hierarchy. The engine selects the matching definition based on
1793
+ the purpose + audience when a flow is created via POST /flow.
1794
+
1795
+ */
1796
+ type CreateFlowDefinitionBodyFlowDefinition = {
1797
+ /**
1798
+ * Stable identifier for this flow, used as the target of cross-flow
1799
+ `switch` and `pivot` transitions. Renaming is not supported — the
1800
+ `name` is part of the public contract another definition may
1801
+ reference. Acts as the human display label as well; no separate slug.
1802
+ * @pattern ^[a-z][a-z0-9-]*$
1803
+ */
1804
+ name: string;
1805
+ /** User schema this flow operates on. Step `fields` reference properties
1806
+ defined in this schema. The engine resolves field types, validation,
1807
+ and implicit outcomes from schema annotations at runtime.
1808
+ */
1809
+ user_schema: string;
1810
+ /** Maps each purpose this definition handles to its entry-point step.
1811
+ Keys are purpose names; values must match a `name` in `steps`. A
1812
+ definition can serve multiple purposes (e.g. a combined login/register
1813
+ flow) by listing one entry per purpose.
1814
+ */
1815
+ purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
1816
+ /** Scopes which teams or apps this flow definition applies to. Empty or
1817
+ omitted fields mean "no restriction"; when both are empty the definition
1818
+ matches every request in the project. The engine picks the most specific
1819
+ matching definition: app > team > project-wide.
1820
+ */
1821
+ audience?: CreateFlowDefinitionBodyFlowDefinitionAudience;
1822
+ /**
1823
+ * Ordered list of steps in this flow. The order is for human readability —
1824
+ actual step sequencing is determined by transitions.
1825
+ * @minItems 1
1826
+ */
1827
+ steps: CreateFlowDefinitionBodyFlowDefinitionStepsItem[];
1828
+ };
1829
+ //#endregion
1830
+ //#region src/generated/model/createFlowDefinitionBody.d.ts
1831
+ type CreateFlowDefinitionBody = {
1832
+ /** @pattern ^[a-zA-Z0-9_-]+$ */project_id: string;
1833
+ /** URI of the server-published flow definition schema this definition was
1834
+ authored against. The server uses this to validate the definition.
1835
+ If not provided, the engine will use the latest schema version for validation.
1836
+ */
1837
+ schema_uri?: string;
1838
+ /** A flow definition is the server-side configuration that describes a complete
1839
+ authentication or identity flow. It is NOT sent to the frontend — the flow
1840
+ engine evaluates it and produces FlowResponse payloads (steps with capability
1841
+ dictionaries) for the client.
1842
+ Flow definitions are created by administrators and stored in the project/team
1843
+ configuration hierarchy. The engine selects the matching definition based on
1844
+ the purpose + audience when a flow is created via POST /flow.
1845
+ */
1846
+ flow_definition: CreateFlowDefinitionBodyFlowDefinition;
1847
+ };
1848
+ //#endregion
1849
+ //#region src/generated/model/createFlowDefinitionDefaultDetails.d.ts
1850
+ /**
1851
+ * Generated by orval v8.10.0 🍺
1852
+ * Do not edit manually.
1853
+ * Zitadel NextGen
1854
+ * This is the next generation of the Zitadel identity platform.
1855
+ * OpenAPI spec version: 0.0.1
1856
+ */
1857
+ /**
1858
+ * Additional error-specific context.
1859
+ */
1860
+ type CreateFlowDefinitionDefaultDetails = {
1861
+ [key: string]: unknown;
1862
+ };
1863
+ //#endregion
1864
+ //#region src/generated/model/createFlowDefinitionDefault.d.ts
1865
+ /**
1866
+ * Standard error payload returned for failed API requests.
1867
+ */
1868
+ type CreateFlowDefinitionDefault = {
1869
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1870
+ message: string; /** Additional error-specific context. */
1871
+ details?: CreateFlowDefinitionDefaultDetails;
1872
+ };
1873
+ //#endregion
1874
+ //#region src/generated/model/createHandoff200.d.ts
1875
+ /**
1876
+ * Generated by orval v8.10.0 🍺
1877
+ * Do not edit manually.
1878
+ * Zitadel NextGen
1879
+ * This is the next generation of the Zitadel identity platform.
1880
+ * OpenAPI spec version: 0.0.1
1881
+ */
1882
+ /**
1883
+ * The handoff token and metadata for session exchange.
1884
+
1885
+ This is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange
1886
+ at POST /sessions/exchange to receive the final session and session_token.
1887
+ The handoff token is single-use and audience-bound to the project.
1888
+
1889
+ */
1890
+ type CreateHandoff200 = {
1891
+ /** The short-lived handoff token for session exchange.
1892
+ Exchange at: POST /sessions/exchange
1893
+ Requirements:
1894
+ - Single-use (atomic GETDEL on exchange)
1895
+ - TTL ≤ 60 seconds
1896
+ - Audience-bound to project (exchange requires sk_proj_… for matching project)
1897
+ - Idempotency-safe (Category B, 5-minute window)
1898
+ */
1899
+ handoff_token: string; /** When this handoff token expires */
1900
+ expires_at: string;
1901
+ };
1902
+ //#endregion
1903
+ //#region src/generated/model/createHandoffDefault.d.ts
1904
+ /**
1905
+ * Generated by orval v8.10.0 🍺
1906
+ * Do not edit manually.
1907
+ * Zitadel NextGen
1908
+ * This is the next generation of the Zitadel identity platform.
1909
+ * OpenAPI spec version: 0.0.1
1910
+ */
1911
+ type CreateHandoffDefault = ({
1912
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1913
+ message: string; /** Additional error-specific context. */
1914
+ details?: {
1915
+ [key: string]: unknown;
1916
+ };
1917
+ } & {
1918
+ code: "att.not_found";
1919
+ }) | ({
1920
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1921
+ message: string; /** Additional error-specific context. */
1922
+ details?: {
1923
+ [key: string]: unknown;
1924
+ };
1925
+ } & {
1926
+ code: "att.invalid_state";
1927
+ }) | ({
1928
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1929
+ message: string; /** Additional error-specific context. */
1930
+ details?: {
1931
+ [key: string]: unknown;
1932
+ };
1933
+ } & {
1934
+ code: "att.not_completed";
1935
+ }) | ({
1936
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1937
+ message: string; /** Additional error-specific context. */
1938
+ details?: {
1939
+ [key: string]: unknown;
1940
+ };
1941
+ } & {
1942
+ code: "internal";
1943
+ });
1944
+ //#endregion
1945
+ //#region src/generated/model/createProject201.d.ts
1946
+ /**
1947
+ * Generated by orval v8.10.0 🍺
1948
+ * Do not edit manually.
1949
+ * Zitadel NextGen
1950
+ * This is the next generation of the Zitadel identity platform.
1951
+ * OpenAPI spec version: 0.0.1
1952
+ */
1953
+ type CreateProject201 = {
1954
+ /** The unique identifier of the project. */id: string;
1955
+ /** Secret which can be used for authentication when modifying the project.
1956
+ */
1781
1957
  projectSecret: string;
1782
1958
  /** Secret which can be used for previewing and testing the project.
1783
1959
  */
@@ -2603,7 +2779,7 @@ type CreateUserParams = {
2603
2779
  team_id?: string;
2604
2780
  };
2605
2781
  //#endregion
2606
- //#region src/generated/model/deleteFlowDefinition404Details.d.ts
2782
+ //#region src/generated/model/deleteFlowDefinitionDefaultDetails.d.ts
2607
2783
  /**
2608
2784
  * Generated by orval v8.10.0 🍺
2609
2785
  * Do not edit manually.
@@ -2614,21 +2790,21 @@ type CreateUserParams = {
2614
2790
  /**
2615
2791
  * Additional error-specific context.
2616
2792
  */
2617
- type DeleteFlowDefinition404Details = {
2793
+ type DeleteFlowDefinitionDefaultDetails = {
2618
2794
  [key: string]: unknown;
2619
2795
  };
2620
2796
  //#endregion
2621
- //#region src/generated/model/deleteFlowDefinition404.d.ts
2797
+ //#region src/generated/model/deleteFlowDefinitionDefault.d.ts
2622
2798
  /**
2623
2799
  * Standard error payload returned for failed API requests.
2624
2800
  */
2625
- type DeleteFlowDefinition404 = {
2801
+ type DeleteFlowDefinitionDefault = {
2626
2802
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2627
2803
  message: string; /** Additional error-specific context. */
2628
- details?: DeleteFlowDefinition404Details;
2804
+ details?: DeleteFlowDefinitionDefaultDetails;
2629
2805
  };
2630
2806
  //#endregion
2631
- //#region src/generated/model/deleteFlowDefinitionDefaultDetails.d.ts
2807
+ //#region src/generated/model/deleteFlowDefinitionParams.d.ts
2632
2808
  /**
2633
2809
  * Generated by orval v8.10.0 🍺
2634
2810
  * Do not edit manually.
@@ -2636,21 +2812,12 @@ type DeleteFlowDefinition404 = {
2636
2812
  * This is the next generation of the Zitadel identity platform.
2637
2813
  * OpenAPI spec version: 0.0.1
2638
2814
  */
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;
2815
+ type DeleteFlowDefinitionParams = {
2816
+ /**
2817
+ * The project id to filter by.
2818
+ * @pattern ^[a-zA-Z0-9_-]+$
2819
+ */
2820
+ project_id: string;
2654
2821
  };
2655
2822
  //#endregion
2656
2823
  //#region src/generated/model/endSession400Details.d.ts
@@ -2993,7 +3160,216 @@ type ExchangeHandoff401 = {
2993
3160
  details?: ExchangeHandoff401Details;
2994
3161
  };
2995
3162
  //#endregion
2996
- //#region src/generated/model/exchangeHandoff410Details.d.ts
3163
+ //#region src/generated/model/exchangeHandoff410Details.d.ts
3164
+ /**
3165
+ * Generated by orval v8.10.0 🍺
3166
+ * Do not edit manually.
3167
+ * Zitadel NextGen
3168
+ * This is the next generation of the Zitadel identity platform.
3169
+ * OpenAPI spec version: 0.0.1
3170
+ */
3171
+ /**
3172
+ * Additional error-specific context.
3173
+ */
3174
+ type ExchangeHandoff410Details = {
3175
+ [key: string]: unknown;
3176
+ };
3177
+ //#endregion
3178
+ //#region src/generated/model/exchangeHandoff410.d.ts
3179
+ /**
3180
+ * Standard error payload returned for failed API requests.
3181
+ */
3182
+ type ExchangeHandoff410 = {
3183
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3184
+ message: string; /** Additional error-specific context. */
3185
+ details?: ExchangeHandoff410Details;
3186
+ };
3187
+ //#endregion
3188
+ //#region src/generated/model/exchangeHandoffBody.d.ts
3189
+ /**
3190
+ * Generated by orval v8.10.0 🍺
3191
+ * Do not edit manually.
3192
+ * Zitadel NextGen
3193
+ * This is the next generation of the Zitadel identity platform.
3194
+ * OpenAPI spec version: 0.0.1
3195
+ */
3196
+ /**
3197
+ * Request to exchange a handoff token for a session and session_token.
3198
+ */
3199
+ type ExchangeHandoffBody = {
3200
+ /** The one-time handoff token minted by `POST /auth_attempts/{id}/handoff`.
3201
+ Single-use — replaying it after a successful exchange returns `410 Gone`.
3202
+ */
3203
+ handoff_token: string;
3204
+ /** Optional session lifetime after exchange as an ISO-8601 duration. When omitted, the server
3205
+ uses the configured default. Must not exceed the configured maximum.
3206
+ */
3207
+ ttl?: string;
3208
+ };
3209
+ //#endregion
3210
+ //#region src/generated/model/exchangeHandoffDefaultDetails.d.ts
3211
+ /**
3212
+ * Generated by orval v8.10.0 🍺
3213
+ * Do not edit manually.
3214
+ * Zitadel NextGen
3215
+ * This is the next generation of the Zitadel identity platform.
3216
+ * OpenAPI spec version: 0.0.1
3217
+ */
3218
+ /**
3219
+ * Additional error-specific context.
3220
+ */
3221
+ type ExchangeHandoffDefaultDetails = {
3222
+ [key: string]: unknown;
3223
+ };
3224
+ //#endregion
3225
+ //#region src/generated/model/exchangeHandoffDefault.d.ts
3226
+ /**
3227
+ * Standard error payload returned for failed API requests.
3228
+ */
3229
+ type ExchangeHandoffDefault = {
3230
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3231
+ message: string; /** Additional error-specific context. */
3232
+ details?: ExchangeHandoffDefaultDetails;
3233
+ };
3234
+ //#endregion
3235
+ //#region src/generated/model/exchangeHandoffParams.d.ts
3236
+ /**
3237
+ * Generated by orval v8.10.0 🍺
3238
+ * Do not edit manually.
3239
+ * Zitadel NextGen
3240
+ * This is the next generation of the Zitadel identity platform.
3241
+ * OpenAPI spec version: 0.0.1
3242
+ */
3243
+ type ExchangeHandoffParams = {
3244
+ /**
3245
+ * The unique identifier of the project
3246
+ * @pattern ^[a-zA-Z0-9_-]+$
3247
+ */
3248
+ project_id: string;
3249
+ };
3250
+ //#endregion
3251
+ //#region src/generated/model/getAuthAttempt200ChallengesItemMethod.d.ts
3252
+ /**
3253
+ * Generated by orval v8.10.0 🍺
3254
+ * Do not edit manually.
3255
+ * Zitadel NextGen
3256
+ * This is the next generation of the Zitadel identity platform.
3257
+ * OpenAPI spec version: 0.0.1
3258
+ */
3259
+ /**
3260
+ * An authentication factor method.
3261
+ */
3262
+ type GetAuthAttempt200ChallengesItemMethod = (typeof GetAuthAttempt200ChallengesItemMethod)[keyof typeof GetAuthAttempt200ChallengesItemMethod];
3263
+ declare const GetAuthAttempt200ChallengesItemMethod: {
3264
+ readonly identifier: "identifier";
3265
+ readonly password: "password";
3266
+ readonly passkey: "passkey";
3267
+ };
3268
+ //#endregion
3269
+ //#region src/generated/model/getAuthAttempt200ChallengesItemPayload.d.ts
3270
+ /**
3271
+ * Generated by orval v8.10.0 🍺
3272
+ * Do not edit manually.
3273
+ * Zitadel NextGen
3274
+ * This is the next generation of the Zitadel identity platform.
3275
+ * OpenAPI spec version: 0.0.1
3276
+ */
3277
+ /**
3278
+ * Method-specific challenge data. Structure depends on the `method` field.
3279
+ - `identifier`, `password`: null (no additional data needed)
3280
+ - `passkey`: WebAuthn challenge and credential options
3281
+ - `idp`: Authorization URL and provider information
3282
+
3283
+ */
3284
+ type GetAuthAttempt200ChallengesItemPayload = {
3285
+ [key: string]: unknown;
3286
+ } | {
3287
+ /** Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).
3288
+ See also: https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialrequestoptions
3289
+ */
3290
+ public_key: {
3291
+ /** Base64-encoded WebAuthn challenge */challenge: string; /** List of credential IDs that can be used for this authentication */
3292
+ allowed_credentials?: {
3293
+ /** Base64-encoded credential ID */id: string;
3294
+ type: "public-key";
3295
+ }[]; /** User verification requirement for this challenge */
3296
+ user_verification?: "required" | "preferred" | "discouraged"; /** Relying Party ID for WebAuthn */
3297
+ rp_id?: string;
3298
+ };
3299
+ };
3300
+ //#endregion
3301
+ //#region src/generated/model/getAuthAttempt200ChallengesItemState.d.ts
3302
+ /**
3303
+ * Generated by orval v8.10.0 🍺
3304
+ * Do not edit manually.
3305
+ * Zitadel NextGen
3306
+ * This is the next generation of the Zitadel identity platform.
3307
+ * OpenAPI spec version: 0.0.1
3308
+ */
3309
+ /**
3310
+ * Current state of this challenge:
3311
+ - `pending`: awaiting proof submission
3312
+ - `failed`: proof rejected (invalid credential, wrong code, etc.)
3313
+ - `expired`: challenge TTL exceeded without verification
3314
+
3315
+ */
3316
+ type GetAuthAttempt200ChallengesItemState = (typeof GetAuthAttempt200ChallengesItemState)[keyof typeof GetAuthAttempt200ChallengesItemState];
3317
+ declare const GetAuthAttempt200ChallengesItemState: {
3318
+ readonly pending: "pending";
3319
+ readonly failed: "failed";
3320
+ readonly expired: "expired";
3321
+ };
3322
+ //#endregion
3323
+ //#region src/generated/model/getAuthAttempt200ChallengesItem.d.ts
3324
+ /**
3325
+ * A factor challenge issued within an authentication attempt.
3326
+
3327
+ A challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.).
3328
+ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
3329
+
3330
+ */
3331
+ type GetAuthAttempt200ChallengesItem = {
3332
+ /**
3333
+ * Unique identifier for this challenge
3334
+ * @pattern ^[a-zA-Z0-9_-]+$
3335
+ */
3336
+ challenge_id: string; /** An authentication factor method. */
3337
+ method: GetAuthAttempt200ChallengesItemMethod;
3338
+ /** Current state of this challenge:
3339
+ - `pending`: awaiting proof submission
3340
+ - `failed`: proof rejected (invalid credential, wrong code, etc.)
3341
+ - `expired`: challenge TTL exceeded without verification
3342
+ */
3343
+ state: GetAuthAttempt200ChallengesItemState; /** When this challenge was issued */
3344
+ created_at: string; /** When this challenge expires */
3345
+ expires_at?: string | null;
3346
+ /** Method-specific challenge data. Structure depends on the `method` field.
3347
+ - `identifier`, `password`: null (no additional data needed)
3348
+ - `passkey`: WebAuthn challenge and credential options
3349
+ - `idp`: Authorization URL and provider information
3350
+ */
3351
+ payload?: GetAuthAttempt200ChallengesItemPayload;
3352
+ };
3353
+ //#endregion
3354
+ //#region src/generated/model/getAuthAttempt200CompletedFactorsItemMethod.d.ts
3355
+ /**
3356
+ * Generated by orval v8.10.0 🍺
3357
+ * Do not edit manually.
3358
+ * Zitadel NextGen
3359
+ * This is the next generation of the Zitadel identity platform.
3360
+ * OpenAPI spec version: 0.0.1
3361
+ */
3362
+ /**
3363
+ * An authentication factor method.
3364
+ */
3365
+ type GetAuthAttempt200CompletedFactorsItemMethod = (typeof GetAuthAttempt200CompletedFactorsItemMethod)[keyof typeof GetAuthAttempt200CompletedFactorsItemMethod];
3366
+ declare const GetAuthAttempt200CompletedFactorsItemMethod: {
3367
+ readonly identifier: "identifier";
3368
+ readonly password: "password";
3369
+ readonly passkey: "passkey";
3370
+ };
3371
+ //#endregion
3372
+ //#region src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.d.ts
2997
3373
  /**
2998
3374
  * Generated by orval v8.10.0 🍺
2999
3375
  * Do not edit manually.
@@ -3002,23 +3378,42 @@ type ExchangeHandoff401 = {
3002
3378
  * OpenAPI spec version: 0.0.1
3003
3379
  */
3004
3380
  /**
3005
- * Additional error-specific context.
3381
+ * Method-specific factor metadata. Structure depends on the `method` field.
3382
+ - `identifier`: includes user_id
3383
+ - `password`: no additional data
3384
+ - `passkey`: includes credential details and verification flags
3385
+
3006
3386
  */
3007
- type ExchangeHandoff410Details = {
3387
+ type GetAuthAttempt200CompletedFactorsItemPayload = {
3388
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */user_id: string;
3389
+ } | {
3008
3390
  [key: string]: unknown;
3391
+ } | {
3392
+ /** The credential ID that was used */credential_id: string; /** Whether user verification was performed (PIN/biometric) */
3393
+ user_verified: boolean; /** Whether the credential is backup eligible (can be synced) */
3394
+ backup_eligible?: boolean; /** Whether the credential is currently backed up */
3395
+ backup_state?: boolean; /** Authenticator attachment modality */
3396
+ authenticator_attachment?: "platform" | "cross-platform";
3009
3397
  };
3010
3398
  //#endregion
3011
- //#region src/generated/model/exchangeHandoff410.d.ts
3399
+ //#region src/generated/model/getAuthAttempt200CompletedFactorsItem.d.ts
3012
3400
  /**
3013
- * Standard error payload returned for failed API requests.
3401
+ * A successfully verified authentication factor with verification metadata.
3402
+ Method-specific details are included in the `payload` field.
3403
+
3014
3404
  */
3015
- type ExchangeHandoff410 = {
3016
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3017
- message: string; /** Additional error-specific context. */
3018
- details?: ExchangeHandoff410Details;
3405
+ type GetAuthAttempt200CompletedFactorsItem = {
3406
+ /** An authentication factor method. */method: GetAuthAttempt200CompletedFactorsItemMethod; /** When this factor was successfully verified */
3407
+ verified_at: string;
3408
+ /** Method-specific factor metadata. Structure depends on the `method` field.
3409
+ - `identifier`: includes user_id
3410
+ - `password`: no additional data
3411
+ - `passkey`: includes credential details and verification flags
3412
+ */
3413
+ payload?: GetAuthAttempt200CompletedFactorsItemPayload;
3019
3414
  };
3020
3415
  //#endregion
3021
- //#region src/generated/model/exchangeHandoffBody.d.ts
3416
+ //#region src/generated/model/getAuthAttempt200RequiredFactorsItem.d.ts
3022
3417
  /**
3023
3418
  * Generated by orval v8.10.0 🍺
3024
3419
  * Do not edit manually.
@@ -3027,20 +3422,16 @@ type ExchangeHandoff410 = {
3027
3422
  * OpenAPI spec version: 0.0.1
3028
3423
  */
3029
3424
  /**
3030
- * Request to exchange a handoff token for a session and session_token.
3425
+ * An authentication factor method.
3031
3426
  */
3032
- type ExchangeHandoffBody = {
3033
- /** The one-time handoff token minted by `POST /auth_attempts/{id}/handoff`.
3034
- Single-use replaying it after a successful exchange returns `410 Gone`.
3035
- */
3036
- handoff_token: string;
3037
- /** Optional session lifetime after exchange as an ISO-8601 duration. When omitted, the server
3038
- uses the configured default. Must not exceed the configured maximum.
3039
- */
3040
- ttl?: string;
3427
+ type GetAuthAttempt200RequiredFactorsItem = (typeof GetAuthAttempt200RequiredFactorsItem)[keyof typeof GetAuthAttempt200RequiredFactorsItem];
3428
+ declare const GetAuthAttempt200RequiredFactorsItem: {
3429
+ readonly identifier: "identifier";
3430
+ readonly password: "password";
3431
+ readonly passkey: "passkey";
3041
3432
  };
3042
3433
  //#endregion
3043
- //#region src/generated/model/exchangeHandoffDefaultDetails.d.ts
3434
+ //#region src/generated/model/getAuthAttempt200State.d.ts
3044
3435
  /**
3045
3436
  * Generated by orval v8.10.0 🍺
3046
3437
  * Do not edit manually.
@@ -3049,23 +3440,77 @@ type ExchangeHandoffBody = {
3049
3440
  * OpenAPI spec version: 0.0.1
3050
3441
  */
3051
3442
  /**
3052
- * Additional error-specific context.
3443
+ * Overall state of the authentication attempt:
3444
+ - `in_progress`: factors are still being collected; continue issuing challenges.
3445
+ - `completed`: all required factors have been verified; the attempt is ready for handoff.
3446
+ - `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.
3447
+ - `expired`: the 15-minute TTL has been exceeded.
3448
+
3053
3449
  */
3054
- type ExchangeHandoffDefaultDetails = {
3055
- [key: string]: unknown;
3450
+ type GetAuthAttempt200State = (typeof GetAuthAttempt200State)[keyof typeof GetAuthAttempt200State];
3451
+ declare const GetAuthAttempt200State: {
3452
+ readonly in_progress: "in_progress";
3453
+ readonly completed: "completed";
3454
+ readonly failed: "failed";
3455
+ readonly expired: "expired";
3056
3456
  };
3057
3457
  //#endregion
3058
- //#region src/generated/model/exchangeHandoffDefault.d.ts
3458
+ //#region src/generated/model/getAuthAttempt200.d.ts
3059
3459
  /**
3060
- * Standard error payload returned for failed API requests.
3460
+ * The current state of an authentication attempt.
3461
+
3462
+ An attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.
3463
+ It accepts factor challenges, verifies proofs, and completes into a handoff token.
3464
+ Clients drive the attempt by:
3465
+ 1. Issuing challenges: POST /auth_attempts/{attempt_id}/challenges
3466
+ 2. Verifying proofs: POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
3467
+ 3. Completing: POST /auth_attempts/{attempt_id}/handoff
3468
+
3061
3469
  */
3062
- type ExchangeHandoffDefault = {
3063
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3064
- message: string; /** Additional error-specific context. */
3065
- details?: ExchangeHandoffDefaultDetails;
3470
+ type GetAuthAttempt200 = {
3471
+ /**
3472
+ * Unique identifier for this authentication attempt
3473
+ * @pattern ^[a-zA-Z0-9_-]+$
3474
+ */
3475
+ attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
3476
+ project_id: string;
3477
+ /** Overall state of the authentication attempt:
3478
+ - `in_progress`: factors are still being collected; continue issuing challenges.
3479
+ - `completed`: all required factors have been verified; the attempt is ready for handoff.
3480
+ - `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.
3481
+ - `expired`: the 15-minute TTL has been exceeded.
3482
+ */
3483
+ state: GetAuthAttempt200State;
3484
+ /** The session being authenticated into. Either newly created or passed in on POST.
3485
+ For step-up (re-auth), this is the existing session_id provided on creation.
3486
+ */
3487
+ session_id?: string | null;
3488
+ /** The user ID, if known at this point in the flow.
3489
+ Null until an identifier challenge has been verified.
3490
+ */
3491
+ user_id?: string | null;
3492
+ /** The authentication factor methods that the project policy requires in order
3493
+ to complete this attempt. Computed by the server from the project's auth policy.
3494
+ Clients should use this to determine which challenges still need to be issued.
3495
+ */
3496
+ required_factors?: GetAuthAttempt200RequiredFactorsItem[];
3497
+ /** The factors that have been successfully verified in this attempt so far.
3498
+ Each item includes method-specific metadata in the payload field.
3499
+ The flow engine uses verified_at timestamps to enforce time-based policies, such as
3500
+ requiring password verification within the last 5 minutes for step-up auth to
3501
+ access sensitive operations.
3502
+ A factor appears here once its challenge reaches `verified` state.
3503
+ */
3504
+ completed_factors?: GetAuthAttempt200CompletedFactorsItem[];
3505
+ /** All challenges issued within this attempt, in creation order.
3506
+ Use this to track the state of each factor challenge (pending, verified, failed, expired).
3507
+ */
3508
+ challenges?: GetAuthAttempt200ChallengesItem[]; /** When this attempt expires (15-minute TTL from creation) */
3509
+ expires_at?: string; /** When this attempt was created */
3510
+ created_at: string;
3066
3511
  };
3067
3512
  //#endregion
3068
- //#region src/generated/model/exchangeHandoffParams.d.ts
3513
+ //#region src/generated/model/getAuthAttemptDefault.d.ts
3069
3514
  /**
3070
3515
  * Generated by orval v8.10.0 🍺
3071
3516
  * Do not edit manually.
@@ -3073,15 +3518,25 @@ type ExchangeHandoffDefault = {
3073
3518
  * This is the next generation of the Zitadel identity platform.
3074
3519
  * OpenAPI spec version: 0.0.1
3075
3520
  */
3076
- type ExchangeHandoffParams = {
3077
- /**
3078
- * The unique identifier of the project
3079
- * @pattern ^[a-zA-Z0-9_-]+$
3080
- */
3081
- project_id: string;
3082
- };
3521
+ type GetAuthAttemptDefault = ({
3522
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3523
+ message: string; /** Additional error-specific context. */
3524
+ details?: {
3525
+ [key: string]: unknown;
3526
+ };
3527
+ } & {
3528
+ code: "att.not_found";
3529
+ }) | ({
3530
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3531
+ message: string; /** Additional error-specific context. */
3532
+ details?: {
3533
+ [key: string]: unknown;
3534
+ };
3535
+ } & {
3536
+ code: "internal";
3537
+ });
3083
3538
  //#endregion
3084
- //#region src/generated/model/getAuthAttempt200ChallengesItemMethod.d.ts
3539
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
3085
3540
  /**
3086
3541
  * Generated by orval v8.10.0 🍺
3087
3542
  * Do not edit manually.
@@ -3090,16 +3545,18 @@ type ExchangeHandoffParams = {
3090
3545
  * OpenAPI spec version: 0.0.1
3091
3546
  */
3092
3547
  /**
3093
- * An authentication factor method.
3548
+ * Scopes which teams or apps this flow definition applies to. Empty or
3549
+ omitted fields mean "no restriction"; when both are empty the definition
3550
+ matches every request in the project. The engine picks the most specific
3551
+ matching definition: app > team > project-wide.
3552
+
3094
3553
  */
3095
- type GetAuthAttempt200ChallengesItemMethod = (typeof GetAuthAttempt200ChallengesItemMethod)[keyof typeof GetAuthAttempt200ChallengesItemMethod];
3096
- declare const GetAuthAttempt200ChallengesItemMethod: {
3097
- readonly identifier: "identifier";
3098
- readonly password: "password";
3099
- readonly passkey: "passkey";
3554
+ type GetFlowDefinition200FlowDefinitionAudience = {
3555
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
3556
+ app_ids?: string[];
3100
3557
  };
3101
3558
  //#endregion
3102
- //#region src/generated/model/getAuthAttempt200ChallengesItemPayload.d.ts
3559
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts
3103
3560
  /**
3104
3561
  * Generated by orval v8.10.0 🍺
3105
3562
  * Do not edit manually.
@@ -3108,30 +3565,28 @@ declare const GetAuthAttempt200ChallengesItemMethod: {
3108
3565
  * OpenAPI spec version: 0.0.1
3109
3566
  */
3110
3567
  /**
3111
- * Method-specific challenge data. Structure depends on the `method` field.
3112
- - `identifier`, `password`: null (no additional data needed)
3113
- - `passkey`: WebAuthn challenge and credential options
3114
- - `idp`: Authorization URL and provider information
3568
+ * Actions the user can take. Keyed by action name.
3569
+ The action name is what the frontend sends back in the submit request.
3570
+ If omitted, the engine provides a default `submit` action.
3115
3571
 
3116
3572
  */
3117
- type GetAuthAttempt200ChallengesItemPayload = {
3118
- [key: string]: unknown;
3119
- } | {
3120
- /** Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).
3121
- See also: https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialrequestoptions
3122
- */
3123
- public_key: {
3124
- /** Base64-encoded WebAuthn challenge */challenge: string; /** List of credential IDs that can be used for this authentication */
3125
- allowed_credentials?: {
3126
- /** Base64-encoded credential ID */id: string;
3127
- type: "public-key";
3128
- }[]; /** User verification requirement for this challenge */
3129
- user_verification?: "required" | "preferred" | "discouraged"; /** Relying Party ID for WebAuthn */
3130
- rp_id?: string;
3573
+ type GetFlowDefinition200FlowDefinitionStepsItemActions = {
3574
+ [key: string]: {
3575
+ /** Marks this as the default/primary action. The runtime template uses
3576
+ this hint to choose visual emphasis. At most one action per step
3577
+ should be primary; this is not enforced here.
3578
+ */
3579
+ primary?: boolean;
3580
+ /** Optional localization key override for the action's label. When
3581
+ omitted, the engine derives a key from the step and action names.
3582
+ Display text is resolved client-side from a locale dictionary, never
3583
+ by the engine.
3584
+ */
3585
+ text_key?: string;
3131
3586
  };
3132
3587
  };
3133
3588
  //#endregion
3134
- //#region src/generated/model/getAuthAttempt200ChallengesItemState.d.ts
3589
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
3135
3590
  /**
3136
3591
  * Generated by orval v8.10.0 🍺
3137
3592
  * Do not edit manually.
@@ -3140,51 +3595,35 @@ type GetAuthAttempt200ChallengesItemPayload = {
3140
3595
  * OpenAPI spec version: 0.0.1
3141
3596
  */
3142
3597
  /**
3143
- * Current state of this challenge:
3144
- - `pending`: awaiting proof submission
3145
- - `failed`: proof rejected (invalid credential, wrong code, etc.)
3146
- - `expired`: challenge TTL exceeded without verification
3598
+ * Marks this as a terminal step. Tells the frontend what to do:
3599
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
3600
+ - show: render as a success/info screen
3147
3601
 
3148
3602
  */
3149
- type GetAuthAttempt200ChallengesItemState = (typeof GetAuthAttempt200ChallengesItemState)[keyof typeof GetAuthAttempt200ChallengesItemState];
3150
- declare const GetAuthAttempt200ChallengesItemState: {
3151
- readonly pending: "pending";
3152
- readonly failed: "failed";
3153
- readonly expired: "expired";
3603
+ type GetFlowDefinition200FlowDefinitionStepsItemComplete = (typeof GetFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemComplete];
3604
+ declare const GetFlowDefinition200FlowDefinitionStepsItemComplete: {
3605
+ readonly redirect: "redirect";
3606
+ readonly show: "show";
3154
3607
  };
3155
3608
  //#endregion
3156
- //#region src/generated/model/getAuthAttempt200ChallengesItem.d.ts
3609
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts
3157
3610
  /**
3158
- * A factor challenge issued within an authentication attempt.
3159
-
3160
- A challenge presents a single-factor verification prompt (password entry, TOTP code, passkey assertion, etc.).
3161
- The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify.
3611
+ * Generated by orval v8.10.0 🍺
3612
+ * Do not edit manually.
3613
+ * Zitadel NextGen
3614
+ * This is the next generation of the Zitadel identity platform.
3615
+ * OpenAPI spec version: 0.0.1
3616
+ */
3617
+ /**
3618
+ * Provider-specific configuration consumed by the implementation when
3619
+ issuing the per-render challenge. Opaque to the engine.
3162
3620
 
3163
3621
  */
3164
- type GetAuthAttempt200ChallengesItem = {
3165
- /**
3166
- * Unique identifier for this challenge
3167
- * @pattern ^[a-zA-Z0-9_-]+$
3168
- */
3169
- challenge_id: string; /** An authentication factor method. */
3170
- method: GetAuthAttempt200ChallengesItemMethod;
3171
- /** Current state of this challenge:
3172
- - `pending`: awaiting proof submission
3173
- - `failed`: proof rejected (invalid credential, wrong code, etc.)
3174
- - `expired`: challenge TTL exceeded without verification
3175
- */
3176
- state: GetAuthAttempt200ChallengesItemState; /** When this challenge was issued */
3177
- created_at: string; /** When this challenge expires */
3178
- expires_at?: string | null;
3179
- /** Method-specific challenge data. Structure depends on the `method` field.
3180
- - `identifier`, `password`: null (no additional data needed)
3181
- - `passkey`: WebAuthn challenge and credential options
3182
- - `idp`: Authorization URL and provider information
3183
- */
3184
- payload?: GetAuthAttempt200ChallengesItemPayload;
3622
+ type GetFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
3623
+ [key: string]: unknown;
3185
3624
  };
3186
3625
  //#endregion
3187
- //#region src/generated/model/getAuthAttempt200CompletedFactorsItemMethod.d.ts
3626
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts
3188
3627
  /**
3189
3628
  * Generated by orval v8.10.0 🍺
3190
3629
  * Do not edit manually.
@@ -3193,16 +3632,44 @@ type GetAuthAttempt200ChallengesItem = {
3193
3632
  * OpenAPI spec version: 0.0.1
3194
3633
  */
3195
3634
  /**
3196
- * An authentication factor method.
3635
+ * The gate category. Only `captcha` is currently defined. Authenticator
3636
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
3637
+ `x-credential` on a field, not as gates.
3638
+
3197
3639
  */
3198
- type GetAuthAttempt200CompletedFactorsItemMethod = (typeof GetAuthAttempt200CompletedFactorsItemMethod)[keyof typeof GetAuthAttempt200CompletedFactorsItemMethod];
3199
- declare const GetAuthAttempt200CompletedFactorsItemMethod: {
3200
- readonly identifier: "identifier";
3201
- readonly password: "password";
3202
- readonly passkey: "passkey";
3640
+ type GetFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind];
3641
+ declare const GetFlowDefinition200FlowDefinitionStepsItemGatesKind: {
3642
+ readonly captcha: "captcha";
3203
3643
  };
3204
3644
  //#endregion
3205
- //#region src/generated/model/getAuthAttempt200CompletedFactorsItemPayload.d.ts
3645
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts
3646
+ /**
3647
+ * Security gates that must be satisfied before submission. Keyed by gate
3648
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
3649
+ configuration. The engine may also inject gates dynamically based on
3650
+ policy.
3651
+
3652
+ */
3653
+ type GetFlowDefinition200FlowDefinitionStepsItemGates = {
3654
+ [key: string]: {
3655
+ /** The gate category. Only `captcha` is currently defined. Authenticator
3656
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
3657
+ `x-credential` on a field, not as gates.
3658
+ */
3659
+ kind: GetFlowDefinition200FlowDefinitionStepsItemGatesKind;
3660
+ /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
3661
+ `hcaptcha`. The engine looks up an implementation in its provider
3662
+ registry.
3663
+ */
3664
+ provider: string;
3665
+ /** Provider-specific configuration consumed by the implementation when
3666
+ issuing the per-render challenge. Opaque to the engine.
3667
+ */
3668
+ config?: GetFlowDefinition200FlowDefinitionStepsItemGatesConfig;
3669
+ };
3670
+ };
3671
+ //#endregion
3672
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts
3206
3673
  /**
3207
3674
  * Generated by orval v8.10.0 🍺
3208
3675
  * Do not edit manually.
@@ -3211,42 +3678,18 @@ declare const GetAuthAttempt200CompletedFactorsItemMethod: {
3211
3678
  * OpenAPI spec version: 0.0.1
3212
3679
  */
3213
3680
  /**
3214
- * Method-specific factor metadata. Structure depends on the `method` field.
3215
- - `identifier`: includes user_id
3216
- - `password`: no additional data
3217
- - `passkey`: includes credential details and verification flags
3681
+ * Server-side mutation to execute when this step completes successfully.
3682
+ Runs after field validation passes, before the transition fires.
3218
3683
 
3219
- */
3220
- type GetAuthAttempt200CompletedFactorsItemPayload = {
3221
- /** @pattern ^user_[a-zA-Z0-9_-]+$ */user_id: string;
3222
- } | {
3223
- [key: string]: unknown;
3224
- } | {
3225
- /** The credential ID that was used */credential_id: string; /** Whether user verification was performed (PIN/biometric) */
3226
- user_verified: boolean; /** Whether the credential is backup eligible (can be synced) */
3227
- backup_eligible?: boolean; /** Whether the credential is currently backed up */
3228
- backup_state?: boolean; /** Authenticator attachment modality */
3229
- authenticator_attachment?: "platform" | "cross-platform";
3230
- };
3231
- //#endregion
3232
- //#region src/generated/model/getAuthAttempt200CompletedFactorsItem.d.ts
3233
- /**
3234
- * A successfully verified authentication factor with verification metadata.
3235
- Method-specific details are included in the `payload` field.
3684
+ - create_user: creates the user record (registration flows)
3236
3685
 
3237
3686
  */
3238
- type GetAuthAttempt200CompletedFactorsItem = {
3239
- /** An authentication factor method. */method: GetAuthAttempt200CompletedFactorsItemMethod; /** When this factor was successfully verified */
3240
- verified_at: string;
3241
- /** Method-specific factor metadata. Structure depends on the `method` field.
3242
- - `identifier`: includes user_id
3243
- - `password`: no additional data
3244
- - `passkey`: includes credential details and verification flags
3245
- */
3246
- payload?: GetAuthAttempt200CompletedFactorsItemPayload;
3687
+ type GetFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess];
3688
+ declare const GetFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
3689
+ readonly create_user: "create_user";
3247
3690
  };
3248
3691
  //#endregion
3249
- //#region src/generated/model/getAuthAttempt200RequiredFactorsItem.d.ts
3692
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts
3250
3693
  /**
3251
3694
  * Generated by orval v8.10.0 🍺
3252
3695
  * Do not edit manually.
@@ -3255,16 +3698,15 @@ type GetAuthAttempt200CompletedFactorsItem = {
3255
3698
  * OpenAPI spec version: 0.0.1
3256
3699
  */
3257
3700
  /**
3258
- * An authentication factor method.
3701
+ * An available SSO identity provider.
3259
3702
  */
3260
- type GetAuthAttempt200RequiredFactorsItem = (typeof GetAuthAttempt200RequiredFactorsItem)[keyof typeof GetAuthAttempt200RequiredFactorsItem];
3261
- declare const GetAuthAttempt200RequiredFactorsItem: {
3262
- readonly identifier: "identifier";
3263
- readonly password: "password";
3264
- readonly passkey: "passkey";
3703
+ type GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
3704
+ /** Provider instance identifier. */id: string; /** Display name for the provider. */
3705
+ name: string; /** Template hint for rendering (logo, colors). */
3706
+ template: string;
3265
3707
  };
3266
3708
  //#endregion
3267
- //#region src/generated/model/getAuthAttempt200State.d.ts
3709
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts
3268
3710
  /**
3269
3711
  * Generated by orval v8.10.0 🍺
3270
3712
  * Do not edit manually.
@@ -3273,111 +3715,102 @@ declare const GetAuthAttempt200RequiredFactorsItem: {
3273
3715
  * OpenAPI spec version: 0.0.1
3274
3716
  */
3275
3717
  /**
3276
- * Overall state of the authentication attempt:
3277
- - `in_progress`: factors are still being collected; continue issuing challenges.
3278
- - `completed`: all required factors have been verified; the attempt is ready for handoff.
3279
- - `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.
3280
- - `expired`: the 15-minute TTL has been exceeded.
3718
+ * Maps action/outcome names to their transition descriptor.
3719
+
3720
+ Keys match action names from the `actions` dict. Additional keys
3721
+ come from implicit outcomes based on schema annotations
3722
+ (e.g. `user_not_found` from `x-unique` fields) and engine
3723
+ events (e.g. `sso`, `callback`).
3281
3724
 
3282
3725
  */
3283
- type GetAuthAttempt200State = (typeof GetAuthAttempt200State)[keyof typeof GetAuthAttempt200State];
3284
- declare const GetAuthAttempt200State: {
3285
- readonly in_progress: "in_progress";
3286
- readonly completed: "completed";
3287
- readonly failed: "failed";
3288
- readonly expired: "expired";
3726
+ type GetFlowDefinition200FlowDefinitionStepsItemTransitions = {
3727
+ [key: string]: {
3728
+ /** Step name within this flow (when `action` is null), or the name
3729
+ of another flow (when `action` is `switch` or `pivot`).
3730
+ */
3731
+ target: string;
3732
+ /** How to interpret `target`:
3733
+ - null (omitted): transition to a step in the current flow.
3734
+ - switch: replace the current flow with the target flow.
3735
+ No return — the current flow is discarded.
3736
+ Example: login ↔ register.
3737
+ - pivot: push the target flow onto the stack. The current flow
3738
+ is paused and resumes when the target flow completes (auto-pop).
3739
+ Example: login → recovery → back to login.
3740
+ */
3741
+ action?: "switch" | "pivot" | null;
3742
+ };
3289
3743
  };
3290
3744
  //#endregion
3291
- //#region src/generated/model/getAuthAttempt200.d.ts
3745
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts
3292
3746
  /**
3293
- * The current state of an authentication attempt.
3747
+ * A step in a flow definition. This is the admin-authored configuration,
3748
+ not the runtime payload sent to the frontend.
3294
3749
 
3295
- An attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.
3296
- It accepts factor challenges, verifies proofs, and completes into a handoff token.
3297
- Clients drive the attempt by:
3298
- 1. Issuing challenges: POST /auth_attempts/{attempt_id}/challenges
3299
- 2. Verifying proofs: POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
3300
- 3. Completing: POST /auth_attempts/{attempt_id}/handoff
3750
+ Steps are schema-driven: `fields` references properties from the flow's
3751
+ user schema, and the engine resolves field metadata (type, validation,
3752
+ implicit outcomes) from schema annotations at runtime.
3753
+
3754
+ A step with only `complete` set is a terminal step. All other steps are
3755
+ rendered to the frontend as capability payloads.
3301
3756
 
3302
3757
  */
3303
- type GetAuthAttempt200 = {
3304
- /**
3305
- * Unique identifier for this authentication attempt
3306
- * @pattern ^[a-zA-Z0-9_-]+$
3758
+ type GetFlowDefinition200FlowDefinitionStepsItem = {
3759
+ /** Unique step identifier within this flow. Used as transition targets
3760
+ and returned in the API response as `step.name`.
3307
3761
  */
3308
- attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
3309
- project_id: string;
3310
- /** Overall state of the authentication attempt:
3311
- - `in_progress`: factors are still being collected; continue issuing challenges.
3312
- - `completed`: all required factors have been verified; the attempt is ready for handoff.
3313
- - `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.
3314
- - `expired`: the 15-minute TTL has been exceeded.
3762
+ name: string;
3763
+ /** Schema property names to collect from the user. Each entry references
3764
+ a property in the flow's user schema. The engine resolves field type,
3765
+ validation rules, and implicit outcomes from schema annotations
3766
+ (e.g. a property with `x-unique` set implies a `user_not_found`
3767
+ transition outcome).
3315
3768
  */
3316
- state: GetAuthAttempt200State;
3317
- /** The session being authenticated into. Either newly created or passed in on POST.
3318
- For step-up (re-auth), this is the existing session_id provided on creation.
3769
+ fields?: string[];
3770
+ /** Actions the user can take. Keyed by action name.
3771
+ The action name is what the frontend sends back in the submit request.
3772
+ If omitted, the engine provides a default `submit` action.
3319
3773
  */
3320
- session_id?: string | null;
3321
- /** The user ID, if known at this point in the flow.
3322
- Null until an identifier challenge has been verified.
3774
+ actions?: GetFlowDefinition200FlowDefinitionStepsItemActions;
3775
+ /** Security gates that must be satisfied before submission. Keyed by gate
3776
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
3777
+ configuration. The engine may also inject gates dynamically based on
3778
+ policy.
3323
3779
  */
3324
- user_id?: string | null;
3325
- /** The authentication factor methods that the project policy requires in order
3326
- to complete this attempt. Computed by the server from the project's auth policy.
3327
- Clients should use this to determine which challenges still need to be issued.
3780
+ gates?: GetFlowDefinition200FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
3781
+ sso_providers?: GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
3782
+ /** Server-side mutation to execute when this step completes successfully.
3783
+ Runs after field validation passes, before the transition fires.
3784
+ - create_user: creates the user record (registration flows)
3328
3785
  */
3329
- required_factors?: GetAuthAttempt200RequiredFactorsItem[];
3330
- /** The factors that have been successfully verified in this attempt so far.
3331
- Each item includes method-specific metadata in the payload field.
3332
- The flow engine uses verified_at timestamps to enforce time-based policies, such as
3333
- requiring password verification within the last 5 minutes for step-up auth to
3334
- access sensitive operations.
3335
- A factor appears here once its challenge reaches `verified` state.
3786
+ on_success?: GetFlowDefinition200FlowDefinitionStepsItemOnSuccess;
3787
+ /** Marks this as a terminal step. Tells the frontend what to do:
3788
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
3789
+ - show: render as a success/info screen
3336
3790
  */
3337
- completed_factors?: GetAuthAttempt200CompletedFactorsItem[];
3338
- /** All challenges issued within this attempt, in creation order.
3339
- Use this to track the state of each factor challenge (pending, verified, failed, expired).
3791
+ complete?: GetFlowDefinition200FlowDefinitionStepsItemComplete;
3792
+ /** Maps action/outcome names to their transition descriptor.
3793
+ Keys match action names from the `actions` dict. Additional keys
3794
+ come from implicit outcomes based on schema annotations
3795
+ (e.g. `user_not_found` from `x-unique` fields) and engine
3796
+ events (e.g. `sso`, `callback`).
3340
3797
  */
3341
- challenges?: GetAuthAttempt200ChallengesItem[]; /** When this attempt expires (15-minute TTL from creation) */
3342
- expires_at?: string; /** When this attempt was created */
3343
- created_at: string;
3798
+ transitions?: GetFlowDefinition200FlowDefinitionStepsItemTransitions;
3344
3799
  };
3345
3800
  //#endregion
3346
- //#region src/generated/model/getAuthAttemptDefault.d.ts
3347
- /**
3348
- * Generated by orval v8.10.0 🍺
3349
- * Do not edit manually.
3350
- * Zitadel NextGen
3351
- * This is the next generation of the Zitadel identity platform.
3352
- * OpenAPI spec version: 0.0.1
3353
- */
3354
- type GetAuthAttemptDefault = ({
3355
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3356
- message: string; /** Additional error-specific context. */
3357
- details?: {
3358
- [key: string]: unknown;
3359
- };
3360
- } & {
3361
- code: "att.not_found";
3362
- }) | ({
3363
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3364
- message: string; /** Additional error-specific context. */
3365
- details?: {
3366
- [key: string]: unknown;
3367
- };
3368
- } & {
3369
- code: "internal";
3370
- });
3371
- //#endregion
3372
- //#region src/generated/model/getFlowDefinition200.d.ts
3801
+ //#region src/generated/model/getFlowDefinition200FlowDefinition.d.ts
3373
3802
  /**
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
3803
+ * A flow definition is the server-side configuration that describes a complete
3804
+ authentication or identity flow. It is NOT sent to the frontend — the flow
3805
+ engine evaluates it and produces FlowResponse payloads (steps with capability
3806
+ dictionaries) for the client.
3807
+
3808
+ Flow definitions are created by administrators and stored in the project/team
3809
+ configuration hierarchy. The engine selects the matching definition based on
3810
+ the purpose + audience when a flow is created via POST /flow.
3811
+
3379
3812
  */
3380
- type GetFlowDefinition200 = {
3813
+ type GetFlowDefinition200FlowDefinition = {
3381
3814
  /**
3382
3815
  * Stable identifier for this flow, used as the target of cross-flow
3383
3816
  `switch` and `pivot` transitions. Renaming is not supported — the
@@ -3402,124 +3835,34 @@ type GetFlowDefinition200 = {
3402
3835
  matches every request in the project. The engine picks the most specific
3403
3836
  matching definition: app > team > project-wide.
3404
3837
  */
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
- };
3838
+ audience?: GetFlowDefinition200FlowDefinitionAudience;
3409
3839
  /**
3410
3840
  * Ordered list of steps in this flow. The order is for human readability —
3411
3841
  actual step sequencing is determined by transitions.
3412
3842
  * @minItems 1
3413
3843
  */
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
- } & {
3844
+ steps: GetFlowDefinition200FlowDefinitionStepsItem[];
3845
+ };
3846
+ //#endregion
3847
+ //#region src/generated/model/getFlowDefinition200.d.ts
3848
+ type GetFlowDefinition200 = {
3511
3849
  /** 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.
3850
+ project_id: string; /** Status of the flow definition. */
3851
+ status: string;
3852
+ /** A flow definition is the server-side configuration that describes a complete
3853
+ authentication or identity flow. It is NOT sent to the frontend — the flow
3854
+ engine evaluates it and produces FlowResponse payloads (steps with capability
3855
+ dictionaries) for the client.
3856
+ Flow definitions are created by administrators and stored in the project/team
3857
+ configuration hierarchy. The engine selects the matching definition based on
3858
+ the purpose + audience when a flow is created via POST /flow.
3515
3859
  */
3516
- schema_uri: string; /** Status of the flow definition. */
3517
- status: string;
3860
+ flow_definition: GetFlowDefinition200FlowDefinition;
3518
3861
  created_at: string;
3519
3862
  updated_at: string;
3520
3863
  };
3521
3864
  //#endregion
3522
- //#region src/generated/model/getFlowDefinition404Details.d.ts
3865
+ //#region src/generated/model/getFlowDefinitionDefaultDetails.d.ts
3523
3866
  /**
3524
3867
  * Generated by orval v8.10.0 🍺
3525
3868
  * Do not edit manually.
@@ -3530,21 +3873,21 @@ type GetFlowDefinition200 = {
3530
3873
  /**
3531
3874
  * Additional error-specific context.
3532
3875
  */
3533
- type GetFlowDefinition404Details = {
3876
+ type GetFlowDefinitionDefaultDetails = {
3534
3877
  [key: string]: unknown;
3535
3878
  };
3536
3879
  //#endregion
3537
- //#region src/generated/model/getFlowDefinition404.d.ts
3880
+ //#region src/generated/model/getFlowDefinitionDefault.d.ts
3538
3881
  /**
3539
3882
  * Standard error payload returned for failed API requests.
3540
3883
  */
3541
- type GetFlowDefinition404 = {
3884
+ type GetFlowDefinitionDefault = {
3542
3885
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3543
3886
  message: string; /** Additional error-specific context. */
3544
- details?: GetFlowDefinition404Details;
3887
+ details?: GetFlowDefinitionDefaultDetails;
3545
3888
  };
3546
3889
  //#endregion
3547
- //#region src/generated/model/getFlowDefinitionDefaultDetails.d.ts
3890
+ //#region src/generated/model/getFlowDefinitionParams.d.ts
3548
3891
  /**
3549
3892
  * Generated by orval v8.10.0 🍺
3550
3893
  * Do not edit manually.
@@ -3552,21 +3895,12 @@ type GetFlowDefinition404 = {
3552
3895
  * This is the next generation of the Zitadel identity platform.
3553
3896
  * OpenAPI spec version: 0.0.1
3554
3897
  */
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;
3898
+ type GetFlowDefinitionParams = {
3899
+ /**
3900
+ * The project id to filter by.
3901
+ * @pattern ^[a-zA-Z0-9_-]+$
3902
+ */
3903
+ project_id: string;
3570
3904
  };
3571
3905
  //#endregion
3572
3906
  //#region src/generated/model/getFlowStep200BrandingLayout.d.ts
@@ -4515,6 +4849,92 @@ type GetMySessionDefault = {
4515
4849
  details?: GetMySessionDefaultDetails;
4516
4850
  };
4517
4851
  //#endregion
4852
+ //#region src/generated/model/getMyUser200.d.ts
4853
+ /**
4854
+ * Generated by orval v8.10.0 🍺
4855
+ * Do not edit manually.
4856
+ * Zitadel NextGen
4857
+ * This is the next generation of the Zitadel identity platform.
4858
+ * OpenAPI spec version: 0.0.1
4859
+ */
4860
+ type GetMyUser200 = {
4861
+ [key: string]: unknown;
4862
+ };
4863
+ //#endregion
4864
+ //#region src/generated/model/getMyUser401Details.d.ts
4865
+ /**
4866
+ * Generated by orval v8.10.0 🍺
4867
+ * Do not edit manually.
4868
+ * Zitadel NextGen
4869
+ * This is the next generation of the Zitadel identity platform.
4870
+ * OpenAPI spec version: 0.0.1
4871
+ */
4872
+ /**
4873
+ * Additional error-specific context.
4874
+ */
4875
+ type GetMyUser401Details = {
4876
+ [key: string]: unknown;
4877
+ };
4878
+ //#endregion
4879
+ //#region src/generated/model/getMyUser401.d.ts
4880
+ /**
4881
+ * Standard error payload returned for failed API requests.
4882
+ */
4883
+ type GetMyUser401 = {
4884
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4885
+ message: string; /** Additional error-specific context. */
4886
+ details?: GetMyUser401Details;
4887
+ };
4888
+ //#endregion
4889
+ //#region src/generated/model/getMyUser404.d.ts
4890
+ /**
4891
+ * Generated by orval v8.10.0 🍺
4892
+ * Do not edit manually.
4893
+ * Zitadel NextGen
4894
+ * This is the next generation of the Zitadel identity platform.
4895
+ * OpenAPI spec version: 0.0.1
4896
+ */
4897
+ /**
4898
+ * User not found
4899
+
4900
+ Error code: user.not_found
4901
+
4902
+ */
4903
+ type GetMyUser404 = {
4904
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4905
+ message: string; /** Additional error-specific context. */
4906
+ details?: {
4907
+ [key: string]: unknown;
4908
+ };
4909
+ } & {
4910
+ code: "user.not_found";
4911
+ };
4912
+ //#endregion
4913
+ //#region src/generated/model/getMyUserDefaultDetails.d.ts
4914
+ /**
4915
+ * Generated by orval v8.10.0 🍺
4916
+ * Do not edit manually.
4917
+ * Zitadel NextGen
4918
+ * This is the next generation of the Zitadel identity platform.
4919
+ * OpenAPI spec version: 0.0.1
4920
+ */
4921
+ /**
4922
+ * Additional error-specific context.
4923
+ */
4924
+ type GetMyUserDefaultDetails = {
4925
+ [key: string]: unknown;
4926
+ };
4927
+ //#endregion
4928
+ //#region src/generated/model/getMyUserDefault.d.ts
4929
+ /**
4930
+ * Standard error payload returned for failed API requests.
4931
+ */
4932
+ type GetMyUserDefault = {
4933
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4934
+ message: string; /** Additional error-specific context. */
4935
+ details?: GetMyUserDefaultDetails;
4936
+ };
4937
+ //#endregion
4518
4938
  //#region src/generated/model/getOpenIDConfiguration4xxDetails.d.ts
4519
4939
  /**
4520
4940
  * Generated by orval v8.10.0 🍺
@@ -5955,7 +6375,7 @@ type ListFlowDefinitions200FlowDefinitionsItem = {
5955
6375
  /** URI of the flow definition schema this definition was authored against.
5956
6376
  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
6377
  */
5958
- schema_uri: string; /** Status of the flow definition. */
6378
+ schema_uri?: string; /** Status of the flow definition. */
5959
6379
  status: string; /** Timestamp when the flow definition was created. */
5960
6380
  created_at: string; /** Timestamp when the flow definition was last updated. */
5961
6381
  updated_at: string;
@@ -6051,7 +6471,7 @@ type ListFlowDefinitionsParams = {
6051
6471
  */
6052
6472
  page_token?: string;
6053
6473
  /**
6054
- * The unique identifier of the project
6474
+ * The project id to filter by.
6055
6475
  * @pattern ^[a-zA-Z0-9_-]+$
6056
6476
  */
6057
6477
  project_id: string;
@@ -6596,7 +7016,161 @@ type RevokeMySessionDefault = {
6596
7016
  details?: RevokeMySessionDefaultDetails;
6597
7017
  };
6598
7018
  //#endregion
6599
- //#region src/generated/model/revokeSession401Details.d.ts
7019
+ //#region src/generated/model/revokeSession401Details.d.ts
7020
+ /**
7021
+ * Generated by orval v8.10.0 🍺
7022
+ * Do not edit manually.
7023
+ * Zitadel NextGen
7024
+ * This is the next generation of the Zitadel identity platform.
7025
+ * OpenAPI spec version: 0.0.1
7026
+ */
7027
+ /**
7028
+ * Additional error-specific context.
7029
+ */
7030
+ type RevokeSession401Details = {
7031
+ [key: string]: unknown;
7032
+ };
7033
+ //#endregion
7034
+ //#region src/generated/model/revokeSession401.d.ts
7035
+ /**
7036
+ * Standard error payload returned for failed API requests.
7037
+ */
7038
+ type RevokeSession401 = {
7039
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7040
+ message: string; /** Additional error-specific context. */
7041
+ details?: RevokeSession401Details;
7042
+ };
7043
+ //#endregion
7044
+ //#region src/generated/model/revokeSession404Details.d.ts
7045
+ /**
7046
+ * Generated by orval v8.10.0 🍺
7047
+ * Do not edit manually.
7048
+ * Zitadel NextGen
7049
+ * This is the next generation of the Zitadel identity platform.
7050
+ * OpenAPI spec version: 0.0.1
7051
+ */
7052
+ /**
7053
+ * Additional error-specific context.
7054
+ */
7055
+ type RevokeSession404Details = {
7056
+ [key: string]: unknown;
7057
+ };
7058
+ //#endregion
7059
+ //#region src/generated/model/revokeSession404.d.ts
7060
+ /**
7061
+ * Standard error payload returned for failed API requests.
7062
+ */
7063
+ type RevokeSession404 = {
7064
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7065
+ message: string; /** Additional error-specific context. */
7066
+ details?: RevokeSession404Details;
7067
+ };
7068
+ //#endregion
7069
+ //#region src/generated/model/revokeSession409Details.d.ts
7070
+ /**
7071
+ * Generated by orval v8.10.0 🍺
7072
+ * Do not edit manually.
7073
+ * Zitadel NextGen
7074
+ * This is the next generation of the Zitadel identity platform.
7075
+ * OpenAPI spec version: 0.0.1
7076
+ */
7077
+ /**
7078
+ * Additional error-specific context.
7079
+ */
7080
+ type RevokeSession409Details = {
7081
+ [key: string]: unknown;
7082
+ };
7083
+ //#endregion
7084
+ //#region src/generated/model/revokeSession409.d.ts
7085
+ /**
7086
+ * Standard error payload returned for failed API requests.
7087
+ */
7088
+ type RevokeSession409 = {
7089
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7090
+ message: string; /** Additional error-specific context. */
7091
+ details?: RevokeSession409Details;
7092
+ };
7093
+ //#endregion
7094
+ //#region src/generated/model/revokeSessionDefaultDetails.d.ts
7095
+ /**
7096
+ * Generated by orval v8.10.0 🍺
7097
+ * Do not edit manually.
7098
+ * Zitadel NextGen
7099
+ * This is the next generation of the Zitadel identity platform.
7100
+ * OpenAPI spec version: 0.0.1
7101
+ */
7102
+ /**
7103
+ * Additional error-specific context.
7104
+ */
7105
+ type RevokeSessionDefaultDetails = {
7106
+ [key: string]: unknown;
7107
+ };
7108
+ //#endregion
7109
+ //#region src/generated/model/revokeSessionDefault.d.ts
7110
+ /**
7111
+ * Standard error payload returned for failed API requests.
7112
+ */
7113
+ type RevokeSessionDefault = {
7114
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7115
+ message: string; /** Additional error-specific context. */
7116
+ details?: RevokeSessionDefaultDetails;
7117
+ };
7118
+ //#endregion
7119
+ //#region src/generated/model/revokeSessionParams.d.ts
7120
+ /**
7121
+ * Generated by orval v8.10.0 🍺
7122
+ * Do not edit manually.
7123
+ * Zitadel NextGen
7124
+ * This is the next generation of the Zitadel identity platform.
7125
+ * OpenAPI spec version: 0.0.1
7126
+ */
7127
+ type RevokeSessionParams = {
7128
+ /**
7129
+ * The unique identifier of the project
7130
+ * @pattern ^[a-zA-Z0-9_-]+$
7131
+ */
7132
+ project_id: string;
7133
+ };
7134
+ //#endregion
7135
+ //#region src/generated/model/revokeToken4xxDetails.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
+ /**
7144
+ * Additional error-specific context.
7145
+ */
7146
+ type RevokeToken4xxDetails = {
7147
+ [key: string]: unknown;
7148
+ };
7149
+ //#endregion
7150
+ //#region src/generated/model/revokeToken4xx.d.ts
7151
+ /**
7152
+ * Standard error payload returned for failed API requests.
7153
+ */
7154
+ type RevokeToken4xx = {
7155
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
7156
+ message: string; /** Additional error-specific context. */
7157
+ details?: RevokeToken4xxDetails;
7158
+ };
7159
+ //#endregion
7160
+ //#region src/generated/model/revokeTokenBody.d.ts
7161
+ /**
7162
+ * Generated by orval v8.10.0 🍺
7163
+ * Do not edit manually.
7164
+ * Zitadel NextGen
7165
+ * This is the next generation of the Zitadel identity platform.
7166
+ * OpenAPI spec version: 0.0.1
7167
+ */
7168
+ type RevokeTokenBody = {
7169
+ /** 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) */
7170
+ token_type_hint?: string;
7171
+ };
7172
+ //#endregion
7173
+ //#region src/generated/model/revokeTokenDefaultDetails.d.ts
6600
7174
  /**
6601
7175
  * Generated by orval v8.10.0 🍺
6602
7176
  * Do not edit manually.
@@ -6607,21 +7181,21 @@ type RevokeMySessionDefault = {
6607
7181
  /**
6608
7182
  * Additional error-specific context.
6609
7183
  */
6610
- type RevokeSession401Details = {
7184
+ type RevokeTokenDefaultDetails = {
6611
7185
  [key: string]: unknown;
6612
7186
  };
6613
7187
  //#endregion
6614
- //#region src/generated/model/revokeSession401.d.ts
7188
+ //#region src/generated/model/revokeTokenDefault.d.ts
6615
7189
  /**
6616
7190
  * Standard error payload returned for failed API requests.
6617
7191
  */
6618
- type RevokeSession401 = {
7192
+ type RevokeTokenDefault = {
6619
7193
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6620
7194
  message: string; /** Additional error-specific context. */
6621
- details?: RevokeSession401Details;
7195
+ details?: RevokeTokenDefaultDetails;
6622
7196
  };
6623
7197
  //#endregion
6624
- //#region src/generated/model/revokeSession404Details.d.ts
7198
+ //#region src/generated/model/setUserPassword400Details.d.ts
6625
7199
  /**
6626
7200
  * Generated by orval v8.10.0 🍺
6627
7201
  * Do not edit manually.
@@ -6632,21 +7206,21 @@ type RevokeSession401 = {
6632
7206
  /**
6633
7207
  * Additional error-specific context.
6634
7208
  */
6635
- type RevokeSession404Details = {
7209
+ type SetUserPassword400Details = {
6636
7210
  [key: string]: unknown;
6637
7211
  };
6638
7212
  //#endregion
6639
- //#region src/generated/model/revokeSession404.d.ts
7213
+ //#region src/generated/model/setUserPassword400.d.ts
6640
7214
  /**
6641
7215
  * Standard error payload returned for failed API requests.
6642
7216
  */
6643
- type RevokeSession404 = {
7217
+ type SetUserPassword400 = {
6644
7218
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6645
7219
  message: string; /** Additional error-specific context. */
6646
- details?: RevokeSession404Details;
7220
+ details?: SetUserPassword400Details;
6647
7221
  };
6648
7222
  //#endregion
6649
- //#region src/generated/model/revokeSession409Details.d.ts
7223
+ //#region src/generated/model/setUserPassword404Details.d.ts
6650
7224
  /**
6651
7225
  * Generated by orval v8.10.0 🍺
6652
7226
  * Do not edit manually.
@@ -6657,21 +7231,21 @@ type RevokeSession404 = {
6657
7231
  /**
6658
7232
  * Additional error-specific context.
6659
7233
  */
6660
- type RevokeSession409Details = {
7234
+ type SetUserPassword404Details = {
6661
7235
  [key: string]: unknown;
6662
7236
  };
6663
7237
  //#endregion
6664
- //#region src/generated/model/revokeSession409.d.ts
7238
+ //#region src/generated/model/setUserPassword404.d.ts
6665
7239
  /**
6666
7240
  * Standard error payload returned for failed API requests.
6667
7241
  */
6668
- type RevokeSession409 = {
7242
+ type SetUserPassword404 = {
6669
7243
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6670
7244
  message: string; /** Additional error-specific context. */
6671
- details?: RevokeSession409Details;
7245
+ details?: SetUserPassword404Details;
6672
7246
  };
6673
7247
  //#endregion
6674
- //#region src/generated/model/revokeSessionDefaultDetails.d.ts
7248
+ //#region src/generated/model/setUserPassword500Details.d.ts
6675
7249
  /**
6676
7250
  * Generated by orval v8.10.0 🍺
6677
7251
  * Do not edit manually.
@@ -6682,21 +7256,21 @@ type RevokeSession409 = {
6682
7256
  /**
6683
7257
  * Additional error-specific context.
6684
7258
  */
6685
- type RevokeSessionDefaultDetails = {
7259
+ type SetUserPassword500Details = {
6686
7260
  [key: string]: unknown;
6687
7261
  };
6688
7262
  //#endregion
6689
- //#region src/generated/model/revokeSessionDefault.d.ts
7263
+ //#region src/generated/model/setUserPassword500.d.ts
6690
7264
  /**
6691
7265
  * Standard error payload returned for failed API requests.
6692
7266
  */
6693
- type RevokeSessionDefault = {
7267
+ type SetUserPassword500 = {
6694
7268
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6695
7269
  message: string; /** Additional error-specific context. */
6696
- details?: RevokeSessionDefaultDetails;
7270
+ details?: SetUserPassword500Details;
6697
7271
  };
6698
7272
  //#endregion
6699
- //#region src/generated/model/revokeSessionParams.d.ts
7273
+ //#region src/generated/model/setUserPasswordBody.d.ts
6700
7274
  /**
6701
7275
  * Generated by orval v8.10.0 🍺
6702
7276
  * Do not edit manually.
@@ -6704,15 +7278,18 @@ type RevokeSessionDefault = {
6704
7278
  * This is the next generation of the Zitadel identity platform.
6705
7279
  * OpenAPI spec version: 0.0.1
6706
7280
  */
6707
- type RevokeSessionParams = {
6708
- /**
6709
- * The unique identifier of the project
6710
- * @pattern ^[a-zA-Z0-9_-]+$
7281
+ /**
7282
+ * Request to update the user's password.
7283
+ */
7284
+ type SetUserPasswordBody = {
7285
+ /** The new password for the user. */password: string;
7286
+ /** Whether the user is required to change their password on the next login.
7287
+ If not provided, it will default to false.
6711
7288
  */
6712
- project_id: string;
7289
+ isChangeRequired?: boolean;
6713
7290
  };
6714
7291
  //#endregion
6715
- //#region src/generated/model/revokeToken4xxDetails.d.ts
7292
+ //#region src/generated/model/setUserPasswordDefaultDetails.d.ts
6716
7293
  /**
6717
7294
  * Generated by orval v8.10.0 🍺
6718
7295
  * Do not edit manually.
@@ -6723,34 +7300,21 @@ type RevokeSessionParams = {
6723
7300
  /**
6724
7301
  * Additional error-specific context.
6725
7302
  */
6726
- type RevokeToken4xxDetails = {
7303
+ type SetUserPasswordDefaultDetails = {
6727
7304
  [key: string]: unknown;
6728
7305
  };
6729
7306
  //#endregion
6730
- //#region src/generated/model/revokeToken4xx.d.ts
7307
+ //#region src/generated/model/setUserPasswordDefault.d.ts
6731
7308
  /**
6732
7309
  * Standard error payload returned for failed API requests.
6733
7310
  */
6734
- type RevokeToken4xx = {
7311
+ type SetUserPasswordDefault = {
6735
7312
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6736
7313
  message: string; /** Additional error-specific context. */
6737
- details?: RevokeToken4xxDetails;
6738
- };
6739
- //#endregion
6740
- //#region src/generated/model/revokeTokenBody.d.ts
6741
- /**
6742
- * Generated by orval v8.10.0 🍺
6743
- * Do not edit manually.
6744
- * Zitadel NextGen
6745
- * This is the next generation of the Zitadel identity platform.
6746
- * OpenAPI spec version: 0.0.1
6747
- */
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;
7314
+ details?: SetUserPasswordDefaultDetails;
6751
7315
  };
6752
7316
  //#endregion
6753
- //#region src/generated/model/revokeTokenDefaultDetails.d.ts
7317
+ //#region src/generated/model/setUserPasswordParams.d.ts
6754
7318
  /**
6755
7319
  * Generated by orval v8.10.0 🍺
6756
7320
  * Do not edit manually.
@@ -6758,21 +7322,12 @@ type RevokeTokenBody = {
6758
7322
  * This is the next generation of the Zitadel identity platform.
6759
7323
  * OpenAPI spec version: 0.0.1
6760
7324
  */
6761
- /**
6762
- * Additional error-specific context.
6763
- */
6764
- type RevokeTokenDefaultDetails = {
6765
- [key: string]: unknown;
6766
- };
6767
- //#endregion
6768
- //#region src/generated/model/revokeTokenDefault.d.ts
6769
- /**
6770
- * Standard error payload returned for failed API requests.
6771
- */
6772
- type RevokeTokenDefault = {
6773
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6774
- message: string; /** Additional error-specific context. */
6775
- details?: RevokeTokenDefaultDetails;
7325
+ type SetUserPasswordParams = {
7326
+ /**
7327
+ * The unique identifier of the project
7328
+ * @pattern ^[a-zA-Z0-9_-]+$
7329
+ */
7330
+ project_id: string;
6776
7331
  };
6777
7332
  //#endregion
6778
7333
  //#region src/generated/model/submitFlowEvent400Details.d.ts
@@ -7772,7 +8327,202 @@ type SubmitFlowStep400 = {
7772
8327
  handoff_token_expires_at?: string;
7773
8328
  };
7774
8329
  //#endregion
7775
- //#region src/generated/model/submitFlowStep409Details.d.ts
8330
+ //#region src/generated/model/submitFlowStep409Details.d.ts
8331
+ /**
8332
+ * Generated by orval v8.10.0 🍺
8333
+ * Do not edit manually.
8334
+ * Zitadel NextGen
8335
+ * This is the next generation of the Zitadel identity platform.
8336
+ * OpenAPI spec version: 0.0.1
8337
+ */
8338
+ /**
8339
+ * Additional error-specific context.
8340
+ */
8341
+ type SubmitFlowStep409Details = {
8342
+ [key: string]: unknown;
8343
+ };
8344
+ //#endregion
8345
+ //#region src/generated/model/submitFlowStep409.d.ts
8346
+ /**
8347
+ * Standard error payload returned for failed API requests.
8348
+ */
8349
+ type SubmitFlowStep409 = {
8350
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8351
+ message: string; /** Additional error-specific context. */
8352
+ details?: SubmitFlowStep409Details;
8353
+ };
8354
+ //#endregion
8355
+ //#region src/generated/model/submitFlowStepBodyChallengeResponseProof.d.ts
8356
+ /**
8357
+ * Generated by orval v8.10.0 🍺
8358
+ * Do not edit manually.
8359
+ * Zitadel NextGen
8360
+ * This is the next generation of the Zitadel identity platform.
8361
+ * OpenAPI spec version: 0.0.1
8362
+ */
8363
+ /**
8364
+ * Method-specific proof payload.
8365
+ For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
8366
+
8367
+ */
8368
+ type SubmitFlowStepBodyChallengeResponseProof = {
8369
+ [key: string]: unknown;
8370
+ };
8371
+ //#endregion
8372
+ //#region src/generated/model/submitFlowStepBodyChallengeResponse.d.ts
8373
+ /**
8374
+ * Response to a pending challenge on the step. Required when the step has a
8375
+ `challenge` property (e.g., after submitting a passkey action).
8376
+ The `<zl-passkey>` component populates this after the WebAuthn ceremony.
8377
+
8378
+ */
8379
+ type SubmitFlowStepBodyChallengeResponse = {
8380
+ /** The challenge identifier from `step.challenge.challenge_id`.
8381
+ Matches the server-side challenge for verification.
8382
+ */
8383
+ challenge_id?: string; /** Which auth method this response is for (e.g., 'passkey'). */
8384
+ method?: string;
8385
+ /** Method-specific proof payload.
8386
+ For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
8387
+ */
8388
+ proof?: SubmitFlowStepBodyChallengeResponseProof;
8389
+ };
8390
+ //#endregion
8391
+ //#region src/generated/model/submitFlowStepBodyFields.d.ts
8392
+ /**
8393
+ * Generated by orval v8.10.0 🍺
8394
+ * Do not edit manually.
8395
+ * Zitadel NextGen
8396
+ * This is the next generation of the Zitadel identity platform.
8397
+ * OpenAPI spec version: 0.0.1
8398
+ */
8399
+ /**
8400
+ * User input values. Keys match field names from the step's `fields` dictionary.
8401
+
8402
+ */
8403
+ type SubmitFlowStepBodyFields = {
8404
+ [key: string]: unknown;
8405
+ };
8406
+ //#endregion
8407
+ //#region src/generated/model/submitFlowStepBodyGateProofs.d.ts
8408
+ /**
8409
+ * Generated by orval v8.10.0 🍺
8410
+ * Do not edit manually.
8411
+ * Zitadel NextGen
8412
+ * This is the next generation of the Zitadel identity platform.
8413
+ * OpenAPI spec version: 0.0.1
8414
+ */
8415
+ /**
8416
+ * Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
8417
+ The orchestrator collects these from `<zl-captcha>` component events.
8418
+
8419
+ */
8420
+ type SubmitFlowStepBodyGateProofs = {
8421
+ [key: string]: string;
8422
+ };
8423
+ //#endregion
8424
+ //#region src/generated/model/submitFlowStepBody.d.ts
8425
+ type SubmitFlowStepBody = {
8426
+ /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */session_token?: string;
8427
+ /** Which action to take. Must be a key from the step's `actions` dictionary:
8428
+ - A regular action (e.g., "submit", "register", "back")
8429
+ - The reserved value "sso" — triggers SSO redirect (requires `sso_provider_id`)
8430
+ */
8431
+ action: string;
8432
+ /** User input values. Keys match field names from the step's `fields` dictionary.
8433
+ */
8434
+ fields?: SubmitFlowStepBodyFields;
8435
+ /** Solutions for security gates. Keys match gate names from the step's `gates` dictionary.
8436
+ The orchestrator collects these from `<zl-captcha>` component events.
8437
+ */
8438
+ gate_proofs?: SubmitFlowStepBodyGateProofs;
8439
+ /** Response to a pending challenge on the step. Required when the step has a
8440
+ `challenge` property (e.g., after submitting a passkey action).
8441
+ The `<zl-passkey>` component populates this after the WebAuthn ceremony.
8442
+ */
8443
+ challenge_response?: SubmitFlowStepBodyChallengeResponse;
8444
+ /** ID of the selected SSO provider (from `sso_providers[].id`).
8445
+ Required when `action` is "sso".
8446
+ */
8447
+ sso_provider_id?: string;
8448
+ };
8449
+ //#endregion
8450
+ //#region src/generated/model/submitFlowStepDefaultDetails.d.ts
8451
+ /**
8452
+ * Generated by orval v8.10.0 🍺
8453
+ * Do not edit manually.
8454
+ * Zitadel NextGen
8455
+ * This is the next generation of the Zitadel identity platform.
8456
+ * OpenAPI spec version: 0.0.1
8457
+ */
8458
+ /**
8459
+ * Additional error-specific context.
8460
+ */
8461
+ type SubmitFlowStepDefaultDetails = {
8462
+ [key: string]: unknown;
8463
+ };
8464
+ //#endregion
8465
+ //#region src/generated/model/submitFlowStepDefault.d.ts
8466
+ /**
8467
+ * Standard error payload returned for failed API requests.
8468
+ */
8469
+ type SubmitFlowStepDefault = {
8470
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8471
+ message: string; /** Additional error-specific context. */
8472
+ details?: SubmitFlowStepDefaultDetails;
8473
+ };
8474
+ //#endregion
8475
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts
8476
+ /**
8477
+ * Generated by orval v8.10.0 🍺
8478
+ * Do not edit manually.
8479
+ * Zitadel NextGen
8480
+ * This is the next generation of the Zitadel identity platform.
8481
+ * OpenAPI spec version: 0.0.1
8482
+ */
8483
+ /**
8484
+ * Scopes which teams or apps this flow definition applies to. Empty or
8485
+ omitted fields mean "no restriction"; when both are empty the definition
8486
+ matches every request in the project. The engine picks the most specific
8487
+ matching definition: app > team > project-wide.
8488
+
8489
+ */
8490
+ type UpdateFlowDefinition200FlowDefinitionAudience = {
8491
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
8492
+ app_ids?: string[];
8493
+ };
8494
+ //#endregion
8495
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts
8496
+ /**
8497
+ * Generated by orval v8.10.0 🍺
8498
+ * Do not edit manually.
8499
+ * Zitadel NextGen
8500
+ * This is the next generation of the Zitadel identity platform.
8501
+ * OpenAPI spec version: 0.0.1
8502
+ */
8503
+ /**
8504
+ * Actions the user can take. Keyed by action name.
8505
+ The action name is what the frontend sends back in the submit request.
8506
+ If omitted, the engine provides a default `submit` action.
8507
+
8508
+ */
8509
+ type UpdateFlowDefinition200FlowDefinitionStepsItemActions = {
8510
+ [key: string]: {
8511
+ /** Marks this as the default/primary action. The runtime template uses
8512
+ this hint to choose visual emphasis. At most one action per step
8513
+ should be primary; this is not enforced here.
8514
+ */
8515
+ primary?: boolean;
8516
+ /** Optional localization key override for the action's label. When
8517
+ omitted, the engine derives a key from the step and action names.
8518
+ Display text is resolved client-side from a locale dictionary, never
8519
+ by the engine.
8520
+ */
8521
+ text_key?: string;
8522
+ };
8523
+ };
8524
+ //#endregion
8525
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
7776
8526
  /**
7777
8527
  * Generated by orval v8.10.0 🍺
7778
8528
  * Do not edit manually.
@@ -7781,23 +8531,35 @@ type SubmitFlowStep400 = {
7781
8531
  * OpenAPI spec version: 0.0.1
7782
8532
  */
7783
8533
  /**
7784
- * Additional error-specific context.
8534
+ * Marks this as a terminal step. Tells the frontend what to do:
8535
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
8536
+ - show: render as a success/info screen
8537
+
7785
8538
  */
7786
- type SubmitFlowStep409Details = {
7787
- [key: string]: unknown;
8539
+ type UpdateFlowDefinition200FlowDefinitionStepsItemComplete = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete];
8540
+ declare const UpdateFlowDefinition200FlowDefinitionStepsItemComplete: {
8541
+ readonly redirect: "redirect";
8542
+ readonly show: "show";
7788
8543
  };
7789
8544
  //#endregion
7790
- //#region src/generated/model/submitFlowStep409.d.ts
8545
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts
7791
8546
  /**
7792
- * Standard error payload returned for failed API requests.
8547
+ * Generated by orval v8.10.0 🍺
8548
+ * Do not edit manually.
8549
+ * Zitadel NextGen
8550
+ * This is the next generation of the Zitadel identity platform.
8551
+ * OpenAPI spec version: 0.0.1
7793
8552
  */
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;
8553
+ /**
8554
+ * Provider-specific configuration consumed by the implementation when
8555
+ issuing the per-render challenge. Opaque to the engine.
8556
+
8557
+ */
8558
+ type UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
8559
+ [key: string]: unknown;
7798
8560
  };
7799
8561
  //#endregion
7800
- //#region src/generated/model/submitFlowStepBodyChallengeResponseProof.d.ts
8562
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts
7801
8563
  /**
7802
8564
  * Generated by orval v8.10.0 🍺
7803
8565
  * Do not edit manually.
@@ -7806,34 +8568,44 @@ type SubmitFlowStep409 = {
7806
8568
  * OpenAPI spec version: 0.0.1
7807
8569
  */
7808
8570
  /**
7809
- * Method-specific proof payload.
7810
- For passkeys, this is the WebAuthn JSON serialization of PublicKeyCredential.
8571
+ * The gate category. Only `captcha` is currently defined. Authenticator
8572
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
8573
+ `x-credential` on a field, not as gates.
7811
8574
 
7812
8575
  */
7813
- type SubmitFlowStepBodyChallengeResponseProof = {
7814
- [key: string]: unknown;
8576
+ type UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind];
8577
+ declare const UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind: {
8578
+ readonly captcha: "captcha";
7815
8579
  };
7816
8580
  //#endregion
7817
- //#region src/generated/model/submitFlowStepBodyChallengeResponse.d.ts
8581
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts
7818
8582
  /**
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.
8583
+ * Security gates that must be satisfied before submission. Keyed by gate
8584
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
8585
+ configuration. The engine may also inject gates dynamically based on
8586
+ policy.
7822
8587
 
7823
8588
  */
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;
8589
+ type UpdateFlowDefinition200FlowDefinitionStepsItemGates = {
8590
+ [key: string]: {
8591
+ /** The gate category. Only `captcha` is currently defined. Authenticator
8592
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
8593
+ `x-credential` on a field, not as gates.
8594
+ */
8595
+ kind: UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind;
8596
+ /** Provider identifier within the gate kind e.g. `altcha`, `turnstile`,
8597
+ `hcaptcha`. The engine looks up an implementation in its provider
8598
+ registry.
8599
+ */
8600
+ provider: string;
8601
+ /** Provider-specific configuration consumed by the implementation when
8602
+ issuing the per-render challenge. Opaque to the engine.
8603
+ */
8604
+ config?: UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig;
8605
+ };
7834
8606
  };
7835
8607
  //#endregion
7836
- //#region src/generated/model/submitFlowStepBodyFields.d.ts
8608
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts
7837
8609
  /**
7838
8610
  * Generated by orval v8.10.0 🍺
7839
8611
  * Do not edit manually.
@@ -7842,14 +8614,18 @@ type SubmitFlowStepBodyChallengeResponse = {
7842
8614
  * OpenAPI spec version: 0.0.1
7843
8615
  */
7844
8616
  /**
7845
- * User input values. Keys match field names from the step's `fields` dictionary.
8617
+ * Server-side mutation to execute when this step completes successfully.
8618
+ Runs after field validation passes, before the transition fires.
8619
+
8620
+ - create_user: creates the user record (registration flows)
7846
8621
 
7847
8622
  */
7848
- type SubmitFlowStepBodyFields = {
7849
- [key: string]: unknown;
8623
+ type UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess];
8624
+ declare const UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
8625
+ readonly create_user: "create_user";
7850
8626
  };
7851
8627
  //#endregion
7852
- //#region src/generated/model/submitFlowStepBodyGateProofs.d.ts
8628
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts
7853
8629
  /**
7854
8630
  * Generated by orval v8.10.0 🍺
7855
8631
  * Do not edit manually.
@@ -7858,41 +8634,15 @@ type SubmitFlowStepBodyFields = {
7858
8634
  * OpenAPI spec version: 0.0.1
7859
8635
  */
7860
8636
  /**
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
-
8637
+ * An available SSO identity provider.
7864
8638
  */
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;
8639
+ type UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
8640
+ /** Provider instance identifier. */id: string; /** Display name for the provider. */
8641
+ name: string; /** Template hint for rendering (logo, colors). */
8642
+ template: string;
7893
8643
  };
7894
8644
  //#endregion
7895
- //#region src/generated/model/submitFlowStepDefaultDetails.d.ts
8645
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts
7896
8646
  /**
7897
8647
  * Generated by orval v8.10.0 🍺
7898
8648
  * Do not edit manually.
@@ -7901,31 +8651,102 @@ type SubmitFlowStepBody = {
7901
8651
  * OpenAPI spec version: 0.0.1
7902
8652
  */
7903
8653
  /**
7904
- * Additional error-specific context.
8654
+ * Maps action/outcome names to their transition descriptor.
8655
+
8656
+ Keys match action names from the `actions` dict. Additional keys
8657
+ come from implicit outcomes based on schema annotations
8658
+ (e.g. `user_not_found` from `x-unique` fields) and engine
8659
+ events (e.g. `sso`, `callback`).
8660
+
7905
8661
  */
7906
- type SubmitFlowStepDefaultDetails = {
7907
- [key: string]: unknown;
8662
+ type UpdateFlowDefinition200FlowDefinitionStepsItemTransitions = {
8663
+ [key: string]: {
8664
+ /** Step name within this flow (when `action` is null), or the name
8665
+ of another flow (when `action` is `switch` or `pivot`).
8666
+ */
8667
+ target: string;
8668
+ /** How to interpret `target`:
8669
+ - null (omitted): transition to a step in the current flow.
8670
+ - switch: replace the current flow with the target flow.
8671
+ No return — the current flow is discarded.
8672
+ Example: login ↔ register.
8673
+ - pivot: push the target flow onto the stack. The current flow
8674
+ is paused and resumes when the target flow completes (auto-pop).
8675
+ Example: login → recovery → back to login.
8676
+ */
8677
+ action?: "switch" | "pivot" | null;
8678
+ };
7908
8679
  };
7909
8680
  //#endregion
7910
- //#region src/generated/model/submitFlowStepDefault.d.ts
8681
+ //#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts
7911
8682
  /**
7912
- * Standard error payload returned for failed API requests.
8683
+ * A step in a flow definition. This is the admin-authored configuration,
8684
+ not the runtime payload sent to the frontend.
8685
+
8686
+ Steps are schema-driven: `fields` references properties from the flow's
8687
+ user schema, and the engine resolves field metadata (type, validation,
8688
+ implicit outcomes) from schema annotations at runtime.
8689
+
8690
+ A step with only `complete` set is a terminal step. All other steps are
8691
+ rendered to the frontend as capability payloads.
8692
+
7913
8693
  */
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;
8694
+ type UpdateFlowDefinition200FlowDefinitionStepsItem = {
8695
+ /** Unique step identifier within this flow. Used as transition targets
8696
+ and returned in the API response as `step.name`.
8697
+ */
8698
+ name: string;
8699
+ /** Schema property names to collect from the user. Each entry references
8700
+ a property in the flow's user schema. The engine resolves field type,
8701
+ validation rules, and implicit outcomes from schema annotations
8702
+ (e.g. a property with `x-unique` set implies a `user_not_found`
8703
+ transition outcome).
8704
+ */
8705
+ fields?: string[];
8706
+ /** Actions the user can take. Keyed by action name.
8707
+ The action name is what the frontend sends back in the submit request.
8708
+ If omitted, the engine provides a default `submit` action.
8709
+ */
8710
+ actions?: UpdateFlowDefinition200FlowDefinitionStepsItemActions;
8711
+ /** Security gates that must be satisfied before submission. Keyed by gate
8712
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
8713
+ configuration. The engine may also inject gates dynamically based on
8714
+ policy.
8715
+ */
8716
+ gates?: UpdateFlowDefinition200FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
8717
+ sso_providers?: UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
8718
+ /** Server-side mutation to execute when this step completes successfully.
8719
+ Runs after field validation passes, before the transition fires.
8720
+ - create_user: creates the user record (registration flows)
8721
+ */
8722
+ on_success?: UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess;
8723
+ /** Marks this as a terminal step. Tells the frontend what to do:
8724
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
8725
+ - show: render as a success/info screen
8726
+ */
8727
+ complete?: UpdateFlowDefinition200FlowDefinitionStepsItemComplete;
8728
+ /** Maps action/outcome names to their transition descriptor.
8729
+ Keys match action names from the `actions` dict. Additional keys
8730
+ come from implicit outcomes based on schema annotations
8731
+ (e.g. `user_not_found` from `x-unique` fields) and engine
8732
+ events (e.g. `sso`, `callback`).
8733
+ */
8734
+ transitions?: UpdateFlowDefinition200FlowDefinitionStepsItemTransitions;
7918
8735
  };
7919
8736
  //#endregion
7920
- //#region src/generated/model/updateFlowDefinition200.d.ts
8737
+ //#region src/generated/model/updateFlowDefinition200FlowDefinition.d.ts
7921
8738
  /**
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
8739
+ * A flow definition is the server-side configuration that describes a complete
8740
+ authentication or identity flow. It is NOT sent to the frontend — the flow
8741
+ engine evaluates it and produces FlowResponse payloads (steps with capability
8742
+ dictionaries) for the client.
8743
+
8744
+ Flow definitions are created by administrators and stored in the project/team
8745
+ configuration hierarchy. The engine selects the matching definition based on
8746
+ the purpose + audience when a flow is created via POST /flow.
8747
+
7927
8748
  */
7928
- type UpdateFlowDefinition200 = {
8749
+ type UpdateFlowDefinition200FlowDefinition = {
7929
8750
  /**
7930
8751
  * Stable identifier for this flow, used as the target of cross-flow
7931
8752
  `switch` and `pivot` transitions. Renaming is not supported — the
@@ -7950,119 +8771,29 @@ type UpdateFlowDefinition200 = {
7950
8771
  matches every request in the project. The engine picks the most specific
7951
8772
  matching definition: app > team > project-wide.
7952
8773
  */
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
- };
8774
+ audience?: UpdateFlowDefinition200FlowDefinitionAudience;
7957
8775
  /**
7958
8776
  * Ordered list of steps in this flow. The order is for human readability —
7959
8777
  actual step sequencing is determined by transitions.
7960
8778
  * @minItems 1
7961
8779
  */
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
- } & {
8780
+ steps: UpdateFlowDefinition200FlowDefinitionStepsItem[];
8781
+ };
8782
+ //#endregion
8783
+ //#region src/generated/model/updateFlowDefinition200.d.ts
8784
+ type UpdateFlowDefinition200 = {
8059
8785
  /** 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. */
8786
+ project_id: string; /** Status of the flow definition. */
8065
8787
  status: string;
8788
+ /** A flow definition is the server-side configuration that describes a complete
8789
+ authentication or identity flow. It is NOT sent to the frontend — the flow
8790
+ engine evaluates it and produces FlowResponse payloads (steps with capability
8791
+ dictionaries) for the client.
8792
+ Flow definitions are created by administrators and stored in the project/team
8793
+ configuration hierarchy. The engine selects the matching definition based on
8794
+ the purpose + audience when a flow is created via POST /flow.
8795
+ */
8796
+ flow_definition: UpdateFlowDefinition200FlowDefinition;
8066
8797
  created_at: string;
8067
8798
  updated_at: string;
8068
8799
  };
@@ -8438,6 +9169,22 @@ type UpdateFlowDefinitionDefault = {
8438
9169
  details?: UpdateFlowDefinitionDefaultDetails;
8439
9170
  };
8440
9171
  //#endregion
9172
+ //#region src/generated/model/updateFlowDefinitionParams.d.ts
9173
+ /**
9174
+ * Generated by orval v8.10.0 🍺
9175
+ * Do not edit manually.
9176
+ * Zitadel NextGen
9177
+ * This is the next generation of the Zitadel identity platform.
9178
+ * OpenAPI spec version: 0.0.1
9179
+ */
9180
+ type UpdateFlowDefinitionParams = {
9181
+ /**
9182
+ * The project id to filter by.
9183
+ * @pattern ^[a-zA-Z0-9_-]+$
9184
+ */
9185
+ project_id: string;
9186
+ };
9187
+ //#endregion
8441
9188
  //#region src/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts
8442
9189
  /**
8443
9190
  * Generated by orval v8.10.0 🍺
@@ -8793,5 +9540,5 @@ type VerifyChallengeProofDefault = ({
8793
9540
  code: "internal";
8794
9541
  });
8795
9542
  //#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
9543
+ 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, CreateFlow201StepActions 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, CreateFlow201StepFieldsValidation as Cc, GetOpenIDConfigurationDefault as Ci, ListUsersDefaultDetails as Cn, ExchangeHandoff200SessionFactorsItemPayload as Co, GetUserByIDDefaultDetails as Cr, CreateSchema201 as Cs, SubmitFlowStep200StepFields as Ct, UpdateFlowDefinition404 as D, GetFlowStep200StepFieldsType 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, GetFlowStep200StepFieldsValidationFormat as Ea, CreateFlow201StepComplete as Ec, GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem as Ei, ListUsers400 as En, EndSessionDefault as Eo, GetUserByID401 as Er, CreateProjectBody as Es, SubmitFlowStep200StepFieldsType 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, GetFlowDefinition200FlowDefinitionStepsItemActions 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, GetFlowStep200StepActions 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, CreateFlow201StepFields as Sc, GetProject200 as Si, ListUsersDefault as Sn, ExchangeHandoff200SessionFactorsItem as So, GetUserByIDDefault as Sr, CreateSchema400Details as Ss, SubmitFlowStep200StepGatesConfig as St, UpdateFlowDefinitionBodyStepsItemActions as T, GetFlowStep200StepFieldsValidation as Ta, CreateFlow201StepFieldsType as Tc, GetOpenIDConfiguration200 as Ti, ListUsers500Details as Tn, EndSessionParams as To, GetUserByID404Details as Tr, CreateProjectDefaultDetails as Ts, SubmitFlowStep200StepFieldsValidationFormat 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, UpdateFlowDefinition200FlowDefinitionStepsItemActions 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, CreateFlowDefinitionBodyFlowDefinitionStepsItemActions 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, SubmitFlowStep400StepFields 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, SubmitFlowStep400StepFieldsType 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, SubmitFlowStep200StepActions 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, CreateFlowDefinition201FlowDefinitionStepsItemActions as oc, GetSchemaByIdDefaultDetails as oi, RevokeSessionDefaultDetails as on, GetAuthAttempt200ChallengesItemMethod as oo, IssueChallenge201 as or, CreateSession400Details as os, SubmitFlowStep400StepFieldsValidation 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, SubmitFlowStep400StepActions 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, SubmitFlowStep400StepFieldsValidationFormat 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, GetFlowStep200StepFields as wa, CreateFlow201StepFieldsValidationFormat as wc, GetOpenIDConfigurationDefaultDetails as wi, ListUsers500 as wn, ExchangeHandoff200SessionFactorsItemMethod as wo, GetUserByID404 as wr, CreateProjectDefault as ws, SubmitFlowStep200StepFieldsValidation 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 };
9544
+ //# sourceMappingURL=index-DyBulyp9.d.mts.map