@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
@@ -5,157 +5,24 @@
5
5
  * This is the next generation of the Zitadel identity platform.
6
6
  * OpenAPI spec version: 0.0.1
7
7
  */
8
+ import type { UpdateFlowDefinition200FlowDefinition } from "./updateFlowDefinition200FlowDefinition";
8
9
  export type UpdateFlowDefinition200 = {
9
- /**
10
- * Stable identifier for this flow, used as the target of cross-flow
11
- `switch` and `pivot` transitions. Renaming is not supported — the
12
- `name` is part of the public contract another definition may
13
- reference. Acts as the human display label as well; no separate slug.
14
-
15
- * @pattern ^[a-z][a-z0-9-]*$
16
- */
17
- name: string;
18
- /** User schema this flow operates on. Step `fields` reference properties
19
- defined in this schema. The engine resolves field types, validation,
20
- and implicit outcomes from schema annotations at runtime.
21
- */
22
- user_schema: string;
23
- /** Maps each purpose this definition handles to its entry-point step.
24
- Keys are purpose names; values must match a `name` in `steps`. A
25
- definition can serve multiple purposes (e.g. a combined login/register
26
- flow) by listing one entry per purpose.
27
- */
28
- purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
29
- /** Scopes which teams or apps this flow definition applies to. Empty or
30
- omitted fields mean "no restriction"; when both are empty the definition
31
- matches every request in the project. The engine picks the most specific
32
- matching definition: app > team > project-wide.
33
- */
34
- audience?: {
35
- /** Restrict to specific teams (organizations). Empty means no team restriction. */
36
- team_ids?: string[];
37
- /** Restrict to specific applications. Empty means no app restriction. */
38
- app_ids?: string[];
39
- };
40
- /**
41
- * Ordered list of steps in this flow. The order is for human readability —
42
- actual step sequencing is determined by transitions.
43
-
44
- * @minItems 1
45
- */
46
- steps: {
47
- /** Unique step identifier within this flow. Used as transition targets
48
- and returned in the API response as `step.name`.
49
- */
50
- name: string;
51
- /** Schema property names to collect from the user. Each entry references
52
- a property in the flow's user schema. The engine resolves field type,
53
- validation rules, and implicit outcomes from schema annotations
54
- (e.g. a property with `x-unique` set implies a `user_not_found`
55
- transition outcome).
56
- */
57
- fields?: string[];
58
- /** Actions the user can take. Keyed by action name.
59
- The action name is what the frontend sends back in the submit request.
60
- If omitted, the engine provides a default `submit` action.
61
- */
62
- actions?: {
63
- [key: string]: {
64
- /** Marks this as the default/primary action. The runtime template uses
65
- this hint to choose visual emphasis. At most one action per step
66
- should be primary; this is not enforced here.
67
- */
68
- primary?: boolean;
69
- /** Optional localization key override for the action's label. When
70
- omitted, the engine derives a key from the step and action names.
71
- Display text is resolved client-side from a locale dictionary, never
72
- by the engine.
73
- */
74
- text_key?: string;
75
- };
76
- };
77
- /** Security gates that must be satisfied before submission. Keyed by gate
78
- name. Each gate selects a kind (e.g. "captcha") and provider-specific
79
- configuration. The engine may also inject gates dynamically based on
80
- policy.
81
- */
82
- gates?: {
83
- [key: string]: {
84
- /** The gate category. Only `captcha` is currently defined. Authenticator
85
- ceremonies (e.g. passkey) are modelled as credential auth_attempts via
86
- `x-credential` on a field, not as gates.
87
- */
88
- kind: "captcha";
89
- /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
90
- `hcaptcha`. The engine looks up an implementation in its provider
91
- registry.
92
- */
93
- provider: string;
94
- /** Provider-specific configuration consumed by the implementation when
95
- issuing the per-render challenge. Opaque to the engine.
96
- */
97
- config?: {
98
- [key: string]: unknown;
99
- };
100
- };
101
- };
102
- /** Available SSO identity providers for this step. */
103
- sso_providers?: {
104
- /** Provider instance identifier. */
105
- id: string;
106
- /** Display name for the provider. */
107
- name: string;
108
- /** Template hint for rendering (logo, colors). */
109
- template: string;
110
- }[];
111
- /** Server-side mutation to execute when this step completes successfully.
112
- Runs after field validation passes, before the transition fires.
113
-
114
- - create_user: creates the user record (registration flows)
115
- */
116
- on_success?: "create_user";
117
- /** Marks this as a terminal step. Tells the frontend what to do:
118
- - redirect: navigate to redirect_uri (OIDC/SAML callback done)
119
- - show: render as a success/info screen
120
- */
121
- complete?: "redirect" | "show";
122
- /** Maps action/outcome names to their transition descriptor.
123
-
124
- Keys match action names from the `actions` dict. Additional keys
125
- come from implicit outcomes based on schema annotations
126
- (e.g. `user_not_found` from `x-unique` fields) and engine
127
- events (e.g. `sso`, `callback`).
128
- */
129
- transitions?: {
130
- [key: string]: {
131
- /** Step name within this flow (when `action` is null), or the name
132
- of another flow (when `action` is `switch` or `pivot`).
133
- */
134
- target: string;
135
- /** How to interpret `target`:
136
- - null (omitted): transition to a step in the current flow.
137
- - switch: replace the current flow with the target flow.
138
- No return — the current flow is discarded.
139
- Example: login ↔ register.
140
- - pivot: push the target flow onto the stack. The current flow
141
- is paused and resumes when the target flow completes (auto-pop).
142
- Example: login → recovery → back to login.
143
- */
144
- action?: "switch" | "pivot" | null;
145
- };
146
- };
147
- }[];
148
- } & {
149
10
  /** Unique identifier for the flow definition. */
150
11
  id: string;
151
12
  /** Identifier of the project this flow definition belongs to. */
152
13
  project_id: string;
153
- /** URI of the flow definition schema this definition was authored against.
154
- 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.
155
- */
156
- schema_uri: string;
157
14
  /** Status of the flow definition. */
158
15
  status: string;
16
+ /** A flow definition is the server-side configuration that describes a complete
17
+ authentication or identity flow. It is NOT sent to the frontend — the flow
18
+ engine evaluates it and produces FlowResponse payloads (steps with capability
19
+ dictionaries) for the client.
20
+
21
+ Flow definitions are created by administrators and stored in the project/team
22
+ configuration hierarchy. The engine selects the matching definition based on
23
+ the purpose + audience when a flow is created via POST /flow.
24
+ */
25
+ flow_definition: UpdateFlowDefinition200FlowDefinition;
159
26
  created_at: string;
160
27
  updated_at: string;
161
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"updateFlowDefinition200.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;;;;;SAOK;IACL,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CACf,MAAM,CAAC,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,EAAE,MAAM,CAAC,CAC5F,CAAC;IACF;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QACT,mFAAmF;QACnF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QACpB,yEAAyE;QACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;KACpB,CAAC;IACF;;;;;SAKK;IACL,KAAK,EAAE;QACL;;SAEC;QACD,IAAI,EAAE,MAAM,CAAC;QACb;;;;;SAKC;QACD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB;;;SAGC;QACD,OAAO,CAAC,EAAE;YACR,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb;;;aAGH;gBACG,OAAO,CAAC,EAAE,OAAO,CAAC;gBAClB;;;;aAIH;gBACG,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;SACH,CAAC;QACF;;;;SAIC;QACD,KAAK,CAAC,EAAE;YACN,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb;;;aAGH;gBACG,IAAI,EAAE,SAAS,CAAC;gBAChB;;;aAGH;gBACG,QAAQ,EAAE,MAAM,CAAC;gBACjB;;aAEH;gBACG,MAAM,CAAC,EAAE;oBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;iBAAE,CAAC;aACrC,CAAC;SACH,CAAC;QACF,sDAAsD;QACtD,aAAa,CAAC,EAAE;YACd,oCAAoC;YACpC,EAAE,EAAE,MAAM,CAAC;YACX,qCAAqC;YACrC,IAAI,EAAE,MAAM,CAAC;YACb,kDAAkD;YAClD,QAAQ,EAAE,MAAM,CAAC;SAClB,EAAE,CAAC;QACJ;;;;SAIC;QACD,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B;;;SAGC;QACD,QAAQ,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;QAC/B;;;;;;SAMC;QACD,WAAW,CAAC,EAAE;YACZ,CAAC,GAAG,EAAE,MAAM,GAAG;gBACb;;aAEH;gBACG,MAAM,EAAE,MAAM,CAAC;gBACf;;;;;;;;aAQH;gBACG,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;aACpC,CAAC;SACH,CAAC;KACH,EAAE,CAAC;CACL,GAAG;IACF,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"updateFlowDefinition200.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAErG,MAAM,MAAM,uBAAuB,GAAG;IACpC,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,UAAU,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,eAAe,EAAE,qCAAqC,CAAC;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ import type { UpdateFlowDefinition200FlowDefinitionAudience } from "./updateFlowDefinition200FlowDefinitionAudience";
9
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItem } from "./updateFlowDefinition200FlowDefinitionStepsItem";
10
+ /**
11
+ * A flow definition is the server-side configuration that describes a complete
12
+ authentication or identity flow. It is NOT sent to the frontend — the flow
13
+ engine evaluates it and produces FlowResponse payloads (steps with capability
14
+ dictionaries) for the client.
15
+
16
+ Flow definitions are created by administrators and stored in the project/team
17
+ configuration hierarchy. The engine selects the matching definition based on
18
+ the purpose + audience when a flow is created via POST /flow.
19
+
20
+ */
21
+ export type UpdateFlowDefinition200FlowDefinition = {
22
+ /**
23
+ * Stable identifier for this flow, used as the target of cross-flow
24
+ `switch` and `pivot` transitions. Renaming is not supported — the
25
+ `name` is part of the public contract another definition may
26
+ reference. Acts as the human display label as well; no separate slug.
27
+
28
+ * @pattern ^[a-z][a-z0-9-]*$
29
+ */
30
+ name: string;
31
+ /** User schema this flow operates on. Step `fields` reference properties
32
+ defined in this schema. The engine resolves field types, validation,
33
+ and implicit outcomes from schema annotations at runtime.
34
+ */
35
+ user_schema: string;
36
+ /** Maps each purpose this definition handles to its entry-point step.
37
+ Keys are purpose names; values must match a `name` in `steps`. A
38
+ definition can serve multiple purposes (e.g. a combined login/register
39
+ flow) by listing one entry per purpose.
40
+ */
41
+ purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
42
+ /** Scopes which teams or apps this flow definition applies to. Empty or
43
+ omitted fields mean "no restriction"; when both are empty the definition
44
+ matches every request in the project. The engine picks the most specific
45
+ matching definition: app > team > project-wide.
46
+ */
47
+ audience?: UpdateFlowDefinition200FlowDefinitionAudience;
48
+ /**
49
+ * Ordered list of steps in this flow. The order is for human readability —
50
+ actual step sequencing is determined by transitions.
51
+
52
+ * @minItems 1
53
+ */
54
+ steps: UpdateFlowDefinition200FlowDefinitionStepsItem[];
55
+ };
56
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinition.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,iDAAiD,CAAC;AACrH,OAAO,KAAK,EAAE,8CAA8C,EAAE,MAAM,kDAAkD,CAAC;AAEvH;;;;;;;;;;GAUG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD;;;;;;;SAOK;IACL,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CACf,MAAM,CAAC,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,EAAE,MAAM,CAAC,CAC5F,CAAC;IACF;;;;OAIG;IACH,QAAQ,CAAC,EAAE,6CAA6C,CAAC;IACzD;;;;;SAKK;IACL,KAAK,EAAE,8CAA8C,EAAE,CAAC;CACzD,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * Scopes which teams or apps this flow definition applies to. Empty or
10
+ omitted fields mean "no restriction"; when both are empty the definition
11
+ matches every request in the project. The engine picks the most specific
12
+ matching definition: app > team > project-wide.
13
+
14
+ */
15
+ export type UpdateFlowDefinition200FlowDefinitionAudience = {
16
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */
17
+ team_ids?: string[];
18
+ /** Restrict to specific applications. Empty means no app restriction. */
19
+ app_ids?: string[];
20
+ };
21
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionAudience.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionAudience.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC"}
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemActions } from "./updateFlowDefinition200FlowDefinitionStepsItemActions";
9
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemComplete } from "./updateFlowDefinition200FlowDefinitionStepsItemComplete";
10
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemGates } from "./updateFlowDefinition200FlowDefinitionStepsItemGates";
11
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess } from "./updateFlowDefinition200FlowDefinitionStepsItemOnSuccess";
12
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem } from "./updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem";
13
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemTransitions } from "./updateFlowDefinition200FlowDefinitionStepsItemTransitions";
14
+ /**
15
+ * A step in a flow definition. This is the admin-authored configuration,
16
+ not the runtime payload sent to the frontend.
17
+
18
+ Steps are schema-driven: `fields` references properties from the flow's
19
+ user schema, and the engine resolves field metadata (type, validation,
20
+ implicit outcomes) from schema annotations at runtime.
21
+
22
+ A step with only `complete` set is a terminal step. All other steps are
23
+ rendered to the frontend as capability payloads.
24
+
25
+ */
26
+ export type UpdateFlowDefinition200FlowDefinitionStepsItem = {
27
+ /** Unique step identifier within this flow. Used as transition targets
28
+ and returned in the API response as `step.name`.
29
+ */
30
+ name: string;
31
+ /** Schema property names to collect from the user. Each entry references
32
+ a property in the flow's user schema. The engine resolves field type,
33
+ validation rules, and implicit outcomes from schema annotations
34
+ (e.g. a property with `x-unique` set implies a `user_not_found`
35
+ transition outcome).
36
+ */
37
+ fields?: string[];
38
+ /** Actions the user can take. Keyed by action name.
39
+ The action name is what the frontend sends back in the submit request.
40
+ If omitted, the engine provides a default `submit` action.
41
+ */
42
+ actions?: UpdateFlowDefinition200FlowDefinitionStepsItemActions;
43
+ /** Security gates that must be satisfied before submission. Keyed by gate
44
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
45
+ configuration. The engine may also inject gates dynamically based on
46
+ policy.
47
+ */
48
+ gates?: UpdateFlowDefinition200FlowDefinitionStepsItemGates;
49
+ /** Available SSO identity providers for this step. */
50
+ sso_providers?: UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
51
+ /** Server-side mutation to execute when this step completes successfully.
52
+ Runs after field validation passes, before the transition fires.
53
+
54
+ - create_user: creates the user record (registration flows)
55
+ */
56
+ on_success?: UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess;
57
+ /** Marks this as a terminal step. Tells the frontend what to do:
58
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
59
+ - show: render as a success/info screen
60
+ */
61
+ complete?: UpdateFlowDefinition200FlowDefinitionStepsItemComplete;
62
+ /** Maps action/outcome names to their transition descriptor.
63
+
64
+ Keys match action names from the `actions` dict. Additional keys
65
+ come from implicit outcomes based on schema annotations
66
+ (e.g. `user_not_found` from `x-unique` fields) and engine
67
+ events (e.g. `sso`, `callback`).
68
+ */
69
+ transitions?: UpdateFlowDefinition200FlowDefinitionStepsItemTransitions;
70
+ };
71
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItem.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,qDAAqD,EAAE,MAAM,yDAAyD,CAAC;AACrI,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,0DAA0D,CAAC;AACvI,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,uDAAuD,CAAC;AACjI,OAAO,KAAK,EAAE,uDAAuD,EAAE,MAAM,2DAA2D,CAAC;AACzI,OAAO,KAAK,EAAE,8DAA8D,EAAE,MAAM,kEAAkE,CAAC;AACvJ,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,6DAA6D,CAAC;AAE7I;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,qDAAqD,CAAC;IAChE;;;;OAIG;IACH,KAAK,CAAC,EAAE,mDAAmD,CAAC;IAC5D,sDAAsD;IACtD,aAAa,CAAC,EAAE,8DAA8D,EAAE,CAAC;IACjF;;;;OAIG;IACH,UAAU,CAAC,EAAE,uDAAuD,CAAC;IACrE;;;OAGG;IACH,QAAQ,CAAC,EAAE,sDAAsD,CAAC;IAClE;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,yDAAyD,CAAC;CACzE,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * Actions the user can take. Keyed by action name.
10
+ The action name is what the frontend sends back in the submit request.
11
+ If omitted, the engine provides a default `submit` action.
12
+
13
+ */
14
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemActions = {
15
+ [key: string]: {
16
+ /** Marks this as the default/primary action. The runtime template uses
17
+ this hint to choose visual emphasis. At most one action per step
18
+ should be primary; this is not enforced here.
19
+ */
20
+ primary?: boolean;
21
+ /** Optional localization key override for the action's label. When
22
+ omitted, the engine derives a key from the step and action names.
23
+ Display text is resolved client-side from a locale dictionary, never
24
+ by the engine.
25
+ */
26
+ text_key?: string;
27
+ };
28
+ };
29
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,qDAAqD,GAAG;IAClE,CAAC,GAAG,EAAE,MAAM,GAAG;QACb;;;SAGC;QACD,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB;;;;SAIC;QACD,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * Marks this as a terminal step. Tells the frontend what to do:
10
+ - redirect: navigate to redirect_uri (OIDC/SAML callback done)
11
+ - show: render as a success/info screen
12
+
13
+ */
14
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemComplete = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete];
15
+ export declare const UpdateFlowDefinition200FlowDefinitionStepsItemComplete: {
16
+ readonly redirect: "redirect";
17
+ readonly show: "show";
18
+ };
19
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,sDAAsD,GAChE,CAAC,OAAO,sDAAsD,CAAC,CAAC,MAAM,OAAO,sDAAsD,CAAC,CAAC;AAEvI,eAAO,MAAM,sDAAsD;aACjE,QAAQ,EAAE,UAAU;aACpB,IAAI,EAAE,MAAM;CACJ,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig } from "./updateFlowDefinition200FlowDefinitionStepsItemGatesConfig";
9
+ import type { UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind } from "./updateFlowDefinition200FlowDefinitionStepsItemGatesKind";
10
+ /**
11
+ * Security gates that must be satisfied before submission. Keyed by gate
12
+ name. Each gate selects a kind (e.g. "captcha") and provider-specific
13
+ configuration. The engine may also inject gates dynamically based on
14
+ policy.
15
+
16
+ */
17
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemGates = {
18
+ [key: string]: {
19
+ /** The gate category. Only `captcha` is currently defined. Authenticator
20
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
21
+ `x-credential` on a field, not as gates.
22
+ */
23
+ kind: UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind;
24
+ /** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
25
+ `hcaptcha`. The engine looks up an implementation in its provider
26
+ registry.
27
+ */
28
+ provider: string;
29
+ /** Provider-specific configuration consumed by the implementation when
30
+ issuing the per-render challenge. Opaque to the engine.
31
+ */
32
+ config?: UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig;
33
+ };
34
+ };
35
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,yDAAyD,EAAE,MAAM,6DAA6D,CAAC;AAC7I,OAAO,KAAK,EAAE,uDAAuD,EAAE,MAAM,2DAA2D,CAAC;AAEzI;;;;;;GAMG;AACH,MAAM,MAAM,mDAAmD,GAAG;IAChE,CAAC,GAAG,EAAE,MAAM,GAAG;QACb;;;SAGC;QACD,IAAI,EAAE,uDAAuD,CAAC;QAC9D;;;SAGC;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB;;SAEC;QACD,MAAM,CAAC,EAAE,yDAAyD,CAAC;KACpE,CAAC;CACH,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * Provider-specific configuration consumed by the implementation when
10
+ issuing the per-render challenge. Opaque to the engine.
11
+
12
+ */
13
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
14
+ [key: string]: unknown;
15
+ };
16
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AACH,MAAM,MAAM,yDAAyD,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * The gate category. Only `captcha` is currently defined. Authenticator
10
+ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
11
+ `x-credential` on a field, not as gates.
12
+
13
+ */
14
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind];
15
+ export declare const UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind: {
16
+ readonly captcha: "captcha";
17
+ };
18
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,uDAAuD,GACjE,CAAC,OAAO,uDAAuD,CAAC,CAAC,MAAM,OAAO,uDAAuD,CAAC,CAAC;AAEzI,eAAO,MAAM,uDAAuD;aAClE,OAAO,EAAE,SAAS;CACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * Server-side mutation to execute when this step completes successfully.
10
+ Runs after field validation passes, before the transition fires.
11
+
12
+ - create_user: creates the user record (registration flows)
13
+
14
+ */
15
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess];
16
+ export declare const UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
17
+ readonly create_user: "create_user";
18
+ };
19
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,uDAAuD,GACjE,CAAC,OAAO,uDAAuD,CAAC,CAAC,MAAM,OAAO,uDAAuD,CAAC,CAAC;AAEzI,eAAO,MAAM,uDAAuD;aAClE,WAAW,EAAE,aAAa;CAClB,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * An available SSO identity provider.
10
+ */
11
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
12
+ /** Provider instance identifier. */
13
+ id: string;
14
+ /** Display name for the provider. */
15
+ name: string;
16
+ /** Template hint for rendering (logo, colors). */
17
+ template: string;
18
+ };
19
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,MAAM,8DAA8D,GAAG;IAC3E,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ /**
9
+ * Maps action/outcome names to their transition descriptor.
10
+
11
+ Keys match action names from the `actions` dict. Additional keys
12
+ come from implicit outcomes based on schema annotations
13
+ (e.g. `user_not_found` from `x-unique` fields) and engine
14
+ events (e.g. `sso`, `callback`).
15
+
16
+ */
17
+ export type UpdateFlowDefinition200FlowDefinitionStepsItemTransitions = {
18
+ [key: string]: {
19
+ /** Step name within this flow (when `action` is null), or the name
20
+ of another flow (when `action` is `switch` or `pivot`).
21
+ */
22
+ target: string;
23
+ /** How to interpret `target`:
24
+ - null (omitted): transition to a step in the current flow.
25
+ - switch: replace the current flow with the target flow.
26
+ No return — the current flow is discarded.
27
+ Example: login ↔ register.
28
+ - pivot: push the target flow onto the stack. The current flow
29
+ is paused and resumes when the target flow completes (auto-pop).
30
+ Example: login → recovery → back to login.
31
+ */
32
+ action?: "switch" | "pivot" | null;
33
+ };
34
+ };
35
+ //# sourceMappingURL=updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE,CAAC,GAAG,EAAE,MAAM,GAAG;QACb;;SAEC;QACD,MAAM,EAAE,MAAM,CAAC;QACf;;;;;;;;SAQC;QACD,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;KACpC,CAAC;CACH,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.10.0 🍺
3
+ * Do not edit manually.
4
+ * Zitadel NextGen
5
+ * This is the next generation of the Zitadel identity platform.
6
+ * OpenAPI spec version: 0.0.1
7
+ */
8
+ export type UpdateFlowDefinitionParams = {
9
+ /**
10
+ * The project id to filter by.
11
+ * @pattern ^[a-zA-Z0-9_-]+$
12
+ */
13
+ project_id: string;
14
+ };
15
+ //# sourceMappingURL=updateFlowDefinitionParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFlowDefinitionParams.d.ts","sourceRoot":"","sources":["../../../src/generated/model/updateFlowDefinitionParams.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}