@zitadel/api 0.1.0-alpha.11 → 0.1.0-alpha.13

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 (90) hide show
  1. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  2. package/dist/generated/endpoints/zitadelNextGen.mjs +55 -5
  3. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  4. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +5 -3
  5. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  6. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +65 -21
  7. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  8. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +151 -51
  9. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  10. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +127 -52
  11. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  12. package/dist/generated/model/index.d.mts +2 -2
  13. package/dist/generated/model/index.mjs +140 -11
  14. package/dist/generated/model/index.mjs.map +1 -1
  15. package/dist/{index-BGnjxx-b.d.mts → index-DLJ0vloQ.d.mts} +819 -77
  16. package/dist/index-DLJ0vloQ.d.mts.map +1 -0
  17. package/dist/runtime/api-factory.d.mts +1 -1
  18. package/dist/{zitadelNextGen-D1t6bmpx.d.mts → zitadelNextGen-CVTkhQJe.d.mts} +29 -7
  19. package/dist/zitadelNextGen-CVTkhQJe.d.mts.map +1 -0
  20. package/package.json +1 -1
  21. package/src/generated/endpoints/zitadelNextGen.msw.ts +92 -10
  22. package/src/generated/endpoints/zitadelNextGen.ts +81 -4
  23. package/src/generated/endpoints/zitadelNextGen.zod.ts +456 -325
  24. package/src/generated/model/activateFlowDefinition400.ts +20 -0
  25. package/src/generated/model/activateFlowDefinition400Details.ts +12 -0
  26. package/src/generated/model/activateFlowDefinitionDefault.ts +20 -0
  27. package/src/generated/model/activateFlowDefinitionDefaultDetails.ts +12 -0
  28. package/src/generated/model/activateFlowDefinitionParams.ts +15 -0
  29. package/src/generated/model/createFlow201StepActionsItem.ts +15 -1
  30. package/src/generated/model/createFlow201StepActionsItemKind.ts +31 -0
  31. package/src/generated/model/createFlow201StepChallengeMethod.ts +1 -0
  32. package/src/generated/model/createFlowBody.ts +5 -0
  33. package/src/generated/model/createFlowDefinition201.ts +0 -2
  34. package/src/generated/model/createFlowDefinition201FlowDefinition.ts +11 -0
  35. package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +26 -0
  36. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +15 -1
  37. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +31 -0
  38. package/src/generated/model/createFlowDefinitionBody.ts +6 -0
  39. package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +11 -0
  40. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +26 -0
  41. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +15 -1
  42. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +31 -0
  43. package/src/generated/model/deactivateFlowDefinition400.ts +20 -0
  44. package/src/generated/model/deactivateFlowDefinition400Details.ts +12 -0
  45. package/src/generated/model/deactivateFlowDefinition409.ts +20 -0
  46. package/src/generated/model/deactivateFlowDefinition409Details.ts +12 -0
  47. package/src/generated/model/deactivateFlowDefinitionDefault.ts +20 -0
  48. package/src/generated/model/deactivateFlowDefinitionDefaultDetails.ts +12 -0
  49. package/src/generated/model/deactivateFlowDefinitionParams.ts +15 -0
  50. package/src/generated/model/deleteFlowDefinition409.ts +20 -0
  51. package/src/generated/model/deleteFlowDefinition409Details.ts +12 -0
  52. package/src/generated/model/getFlowDefinition200.ts +0 -2
  53. package/src/generated/model/getFlowDefinition200FlowDefinition.ts +11 -0
  54. package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +26 -0
  55. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +15 -1
  56. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +31 -0
  57. package/src/generated/model/getFlowStep200StepActionsItem.ts +15 -1
  58. package/src/generated/model/getFlowStep200StepActionsItemKind.ts +31 -0
  59. package/src/generated/model/getFlowStep200StepChallengeMethod.ts +1 -0
  60. package/src/generated/model/index.ts +40 -10
  61. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +11 -2
  62. package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemStatus.ts +26 -0
  63. package/src/generated/model/submitFlowStep200StepActionsItem.ts +15 -1
  64. package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +31 -0
  65. package/src/generated/model/submitFlowStep200StepChallengeMethod.ts +1 -0
  66. package/src/generated/model/submitFlowStep400StepActionsItem.ts +15 -1
  67. package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +31 -0
  68. package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +1 -0
  69. package/src/generated/model/updateFlowDefinition200.ts +0 -2
  70. package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +11 -0
  71. package/src/generated/model/updateFlowDefinition200FlowDefinitionStatus.ts +26 -0
  72. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +15 -1
  73. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +31 -0
  74. package/src/generated/model/updateFlowDefinitionBody.ts +15 -30
  75. package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +69 -0
  76. package/src/generated/model/{updateFlowDefinitionBodyAudience.ts → updateFlowDefinitionBodyFlowDefinitionAudience.ts} +1 -1
  77. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStatus.ts +26 -0
  78. package/src/generated/model/{updateFlowDefinitionBodyStepsItem.ts → updateFlowDefinitionBodyFlowDefinitionStepsItem.ts} +13 -13
  79. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +42 -0
  80. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +31 -0
  81. package/src/generated/model/{updateFlowDefinitionBodyStepsItemComplete.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts} +3 -3
  82. package/src/generated/model/{updateFlowDefinitionBodyStepsItemGates.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemGates.ts} +5 -5
  83. package/src/generated/model/{updateFlowDefinitionBodyStepsItemGatesConfig.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts} +1 -1
  84. package/src/generated/model/{updateFlowDefinitionBodyStepsItemGatesKind.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts} +3 -3
  85. package/src/generated/model/{updateFlowDefinitionBodyStepsItemOnSuccess.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts} +3 -3
  86. package/src/generated/model/{updateFlowDefinitionBodyStepsItemSsoProvidersItem.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts} +1 -1
  87. package/src/generated/model/{updateFlowDefinitionBodyStepsItemTransitions.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts} +1 -1
  88. package/dist/index-BGnjxx-b.d.mts.map +0 -1
  89. package/dist/zitadelNextGen-D1t6bmpx.d.mts.map +0 -1
  90. package/src/generated/model/updateFlowDefinitionBodyStepsItemActionsItem.ts +0 -28
@@ -243,6 +243,7 @@ cookie. The browser sends it automatically on subsequent requests.
243
243
  */
244
244
  const createFlowBodyProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
245
245
  const createFlowBodyFlowDefinitionNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9-]*$");
246
+ const createFlowBodyDryRunDefault = false;
246
247
  const createFlowBodySchemaVersionRegExp = /* @__PURE__ */ new RegExp("^\\d+\\.\\d+\\.\\d+$");
247
248
  const CreateFlowBody = zod.object({
248
249
  project_id: zod.string().regex(createFlowBodyProjectIdRegExp),
@@ -255,6 +256,7 @@ const CreateFlowBody = zod.object({
255
256
  "link_account"
256
257
  ]),
257
258
  flow_definition_name: zod.string().regex(createFlowBodyFlowDefinitionNameRegExp).optional().describe("Name of a specific flow definition to use.\nWhen omitted, the engine selects the best-matching definition\nbased on purpose + audience context.\n"),
259
+ dry_run: zod.boolean().default(false).describe("Set to true to simulate the flow without actually creating any\nuser or session. Useful for testing and validation of flow definitions.\nThis requires setting the `flow_definition_name` property as well.\n"),
258
260
  schema_version: zod.string().regex(createFlowBodySchemaVersionRegExp).optional().describe("Semver version of the flow definition JSON Schema to use.\nWhen omitted, the latest version is used.\n"),
259
261
  challenge_nonce: zod.string().optional().describe("Origin-bound, single-use nonce obtained from `POST /bootstrap/challenge`.\nBinds the request to the browser that initiated the flow, preventing\ncross-origin replay.\n"),
260
262
  session_id: zod.string().optional().describe("Existing session to attach to (for step-up / reauth).\nOmit to let the flow create a new session implicitly.\n"),
@@ -327,9 +329,16 @@ const GetFlowStepResponse = zod.object({
327
329
  }).describe("A data input capability. Describes what the user must provide.\nDoes not contain display text — only a `text_key` resolved client-side.\n")).default(getFlowStepResponseStepFieldsDefault).describe("Ordered list of input fields to collect. Field metadata (type, validation)\nis resolved by the engine from the flow's user schema. The LiquidJS\ntemplate iterates this array; for keyed lookup it builds a name-indexed\nmap locally.\n"),
328
330
  actions: zod.array(zod.object({
329
331
  name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
332
+ kind: zod.enum([
333
+ "submit",
334
+ "passkey",
335
+ "passkey_register",
336
+ "navigate",
337
+ "back"
338
+ ]).describe("Classifies how the engine handles this action:\n- `submit`: collect the step's fields and run validate/dispatch/on_success.\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\n fires once the returned assertion verifies.\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\n transition fires once the returned attestation verifies.\n- `navigate`: route through the transition without running the input\n pipeline. Used for pure-routing actions declared in the flow definition.\n- `back`: return the user to the previous step. Surfaced by the engine\n when going back is available.\n"),
330
339
  primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
331
340
  text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
332
- }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`.\n")).default(getFlowStepResponseStepActionsDefault).describe("Ordered list of available user actions. The LiquidJS template iterates\nthis array and builds a name-indexed map locally for keyed lookup.\n"),
341
+ }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`; the engine resolves the action's\ndeclared `kind` to decide how to handle the submission.\n")).default(getFlowStepResponseStepActionsDefault).describe("Ordered list of available user actions. The LiquidJS template iterates\nthis array and builds a name-indexed map locally for keyed lookup.\n"),
333
342
  gates: zod.record(zod.string(), zod.object({
334
343
  kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
335
344
  provider: zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
@@ -341,7 +350,7 @@ const GetFlowStepResponse = zod.object({
341
350
  template: zod.string().describe("Template hint for rendering (logo, colors).")
342
351
  }).describe("An available SSO identity provider.")).default(getFlowStepResponseStepSsoProvidersDefault).describe("Available SSO identity providers for this step."),
343
352
  challenge: zod.object({
344
- method: zod.enum(["passkey"]).optional().describe("Challenge method. Determines which component handles the ceremony."),
353
+ method: zod.enum(["passkey", "passkey_register"]).optional().describe("Challenge method. Determines which component handles the ceremony."),
345
354
  challenge_id: zod.string().optional().describe("Server-side challenge identifier. Included in the proof submission\nso the server can match the response to the original challenge.\n"),
346
355
  options: zod.record(zod.string(), zod.unknown()).optional().describe("Protocol-specific challenge options. For passkey, this is the\n`PublicKeyCredentialRequestOptions` (authenticate) or\n`PublicKeyCredentialCreationOptions` (register). Passed directly\nto the browser's `navigator.credentials` API.\n")
347
356
  }).optional().describe("A pending authentication challenge issued by the server. Present when the\nflow engine has issued a challenge via auth_attempts (e.g., after the user\nsubmits `action: \"passkey\"`). The `<zl-passkey>` component reads this and\ntriggers the appropriate WebAuthn ceremony.\n\nThe challenge is NOT present on the initial step — it appears only after\nthe user explicitly selects a ceremony-based action.\n")
@@ -455,9 +464,16 @@ const SubmitFlowStepResponse = zod.object({
455
464
  }).describe("A data input capability. Describes what the user must provide.\nDoes not contain display text — only a `text_key` resolved client-side.\n")).default(submitFlowStepResponseStepFieldsDefault).describe("Ordered list of input fields to collect. Field metadata (type, validation)\nis resolved by the engine from the flow's user schema. The LiquidJS\ntemplate iterates this array; for keyed lookup it builds a name-indexed\nmap locally.\n"),
456
465
  actions: zod.array(zod.object({
457
466
  name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
467
+ kind: zod.enum([
468
+ "submit",
469
+ "passkey",
470
+ "passkey_register",
471
+ "navigate",
472
+ "back"
473
+ ]).describe("Classifies how the engine handles this action:\n- `submit`: collect the step's fields and run validate/dispatch/on_success.\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\n fires once the returned assertion verifies.\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\n transition fires once the returned attestation verifies.\n- `navigate`: route through the transition without running the input\n pipeline. Used for pure-routing actions declared in the flow definition.\n- `back`: return the user to the previous step. Surfaced by the engine\n when going back is available.\n"),
458
474
  primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
459
475
  text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
460
- }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`.\n")).default(submitFlowStepResponseStepActionsDefault).describe("Ordered list of available user actions. The LiquidJS template iterates\nthis array and builds a name-indexed map locally for keyed lookup.\n"),
476
+ }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`; the engine resolves the action's\ndeclared `kind` to decide how to handle the submission.\n")).default(submitFlowStepResponseStepActionsDefault).describe("Ordered list of available user actions. The LiquidJS template iterates\nthis array and builds a name-indexed map locally for keyed lookup.\n"),
461
477
  gates: zod.record(zod.string(), zod.object({
462
478
  kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
463
479
  provider: zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
@@ -469,7 +485,7 @@ const SubmitFlowStepResponse = zod.object({
469
485
  template: zod.string().describe("Template hint for rendering (logo, colors).")
470
486
  }).describe("An available SSO identity provider.")).default(submitFlowStepResponseStepSsoProvidersDefault).describe("Available SSO identity providers for this step."),
471
487
  challenge: zod.object({
472
- method: zod.enum(["passkey"]).optional().describe("Challenge method. Determines which component handles the ceremony."),
488
+ method: zod.enum(["passkey", "passkey_register"]).optional().describe("Challenge method. Determines which component handles the ceremony."),
473
489
  challenge_id: zod.string().optional().describe("Server-side challenge identifier. Included in the proof submission\nso the server can match the response to the original challenge.\n"),
474
490
  options: zod.record(zod.string(), zod.unknown()).optional().describe("Protocol-specific challenge options. For passkey, this is the\n`PublicKeyCredentialRequestOptions` (authenticate) or\n`PublicKeyCredentialCreationOptions` (register). Passed directly\nto the browser's `navigator.credentials` API.\n")
475
491
  }).optional().describe("A pending authentication challenge issued by the server. Present when the\nflow engine has issued a challenge via auth_attempts (e.g., after the user\nsubmits `action: \"passkey\"`). The `<zl-passkey>` component reads this and\ntriggers the appropriate WebAuthn ceremony.\n\nThe challenge is NOT present on the initial step — it appears only after\nthe user explicitly selects a ceremony-based action.\n")
@@ -1186,7 +1202,7 @@ const GetSchemaByIdResponse = zod.object({
1186
1202
  Flow definitions are templates that define the sequence of steps (capabilities)
1187
1203
  for a particular user journey (e.g., registration, login, password reset).
1188
1204
 
1189
- Flow definitions are created based on the flow meta schema, which includes the flow's purpose, audience, and the steps involved.
1205
+ Flow definitions are created based on the flow definition schema, which includes the flow's purpose, audience, and the steps involved.
1190
1206
 
1191
1207
  * @summary Create a new flow definition
1192
1208
  */
@@ -1202,6 +1218,7 @@ const CreateFlowDefinitionBody = zod.object({
1202
1218
  schema_uri: zod.url().optional().describe("URI of the server-published flow definition schema this definition was\nauthored against. The server uses this to validate the definition.\nIf not provided, the engine will use the latest schema version for validation.\n"),
1203
1219
  flow_definition: zod.object({
1204
1220
  name: zod.string().regex(createFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1221
+ status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1205
1222
  user_schema: zod.url().describe("User schema this flow operates on. Step `fields` reference properties\ndefined in this schema. The engine resolves field types, validation,\nand implicit outcomes from schema annotations at runtime.\n"),
1206
1223
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
1207
1224
  audience: zod.object({
@@ -1213,9 +1230,16 @@ const CreateFlowDefinitionBody = zod.object({
1213
1230
  fields: zod.array(zod.string()).default(createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault).describe("Schema property names to collect from the user. Each entry references\na property in the flow's user schema. The engine resolves field type,\nvalidation rules, and implicit outcomes from schema annotations\n(e.g. a property with `x-unique` set implies a `user_not_found`\ntransition outcome).\n"),
1214
1231
  actions: zod.array(zod.object({
1215
1232
  name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
1233
+ kind: zod.enum([
1234
+ "submit",
1235
+ "passkey",
1236
+ "passkey_register",
1237
+ "navigate",
1238
+ "back"
1239
+ ]).describe("Classifies how the engine handles this action:\n- `submit`: collect the step's fields and run validate/dispatch/on_success.\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\n fires once the returned assertion verifies.\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\n transition fires once the returned attestation verifies.\n- `navigate`: route through the transition without running the input\n pipeline. Used for pure-routing actions declared in the flow definition.\n- `back`: return the user to the previous step. Surfaced by the engine\n when going back is available.\n"),
1216
1240
  primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
1217
1241
  text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
1218
- }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`.\n")).default(createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1242
+ }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`; the engine resolves the action's\ndeclared `kind` to decide how to handle the submission.\n")).default(createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1219
1243
  gates: zod.record(zod.string(), zod.object({
1220
1244
  kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
1221
1245
  provider: zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
@@ -1234,7 +1258,7 @@ const CreateFlowDefinitionBody = zod.object({
1234
1258
  })).optional().describe("Maps action/outcome names to their transition descriptor.\n\nKeys match action names from the `actions` array. Additional keys\ncome from implicit outcomes based on schema annotations\n(e.g. `user_not_found` from `x-unique` fields) and engine\nevents (e.g. `sso`, `callback`).\n")
1235
1259
  }).describe("A step in a flow definition. This is the admin-authored configuration,\nnot the runtime payload sent to the frontend.\n\nSteps are schema-driven: `fields` references properties from the flow's\nuser schema, and the engine resolves field metadata (type, validation,\nimplicit outcomes) from schema annotations at runtime.\n\nA step with only `complete` set is a terminal step. All other steps are\nrendered to the frontend as capability payloads.\n")).min(1).describe("Ordered list of steps in this flow. The order is for human readability —\nactual step sequencing is determined by transitions.\n")
1236
1260
  }).describe("A flow definition is the server-side configuration that describes a complete\nauthentication or identity flow. It is NOT sent to the frontend — the flow\nengine evaluates it and produces FlowResponse payloads (steps with capability\ndictionaries) for the client.\n\nFlow definitions are created by administrators and stored in the project/team\nconfiguration hierarchy. The engine selects the matching definition based on\nthe purpose + audience when a flow is created via POST /flow.\n")
1237
- });
1261
+ }).describe("Creates a flow definition.\nThe flow definition is created in an `active` state by default.\nThe status can also be set via the `status` attribute in the flow definition payload.\n");
1238
1262
  /**
1239
1263
  * Retrieves a list of all flow definitions.
1240
1264
  This endpoint can be used to view existing flow definitions and their configurations.
@@ -1264,7 +1288,7 @@ const ListFlowDefinitionsResponse = zod.object({
1264
1288
  name: zod.string().regex(listFlowDefinitionsResponseFlowDefinitionsItemNameRegExp).describe("Stable identifier for this flow (echoed from the request).\n"),
1265
1289
  project_id: zod.string().describe("Identifier of the project this flow definition belongs to."),
1266
1290
  schema_uri: zod.url().optional().describe("URI of the flow definition schema this definition was authored against.\nIf 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.\n"),
1267
- status: zod.string().describe("Status of the flow definition."),
1291
+ status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1268
1292
  created_at: zod.iso.datetime({ offset: true }).describe("Timestamp when the flow definition was created."),
1269
1293
  updated_at: zod.iso.datetime({ offset: true }).describe("Timestamp when the flow definition was last updated.")
1270
1294
  }).describe("Response object for a flow definition after creation.\n")),
@@ -1286,9 +1310,9 @@ const getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [];
1286
1310
  const GetFlowDefinitionResponse = zod.object({
1287
1311
  id: zod.string().describe("Unique identifier for the flow definition."),
1288
1312
  project_id: zod.string().describe("Identifier of the project this flow definition belongs to."),
1289
- status: zod.string().describe("Status of the flow definition."),
1290
1313
  flow_definition: zod.object({
1291
1314
  name: zod.string().regex(getFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1315
+ status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1292
1316
  user_schema: zod.url().describe("User schema this flow operates on. Step `fields` reference properties\ndefined in this schema. The engine resolves field types, validation,\nand implicit outcomes from schema annotations at runtime.\n"),
1293
1317
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
1294
1318
  audience: zod.object({
@@ -1300,9 +1324,16 @@ const GetFlowDefinitionResponse = zod.object({
1300
1324
  fields: zod.array(zod.string()).default(getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault).describe("Schema property names to collect from the user. Each entry references\na property in the flow's user schema. The engine resolves field type,\nvalidation rules, and implicit outcomes from schema annotations\n(e.g. a property with `x-unique` set implies a `user_not_found`\ntransition outcome).\n"),
1301
1325
  actions: zod.array(zod.object({
1302
1326
  name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
1327
+ kind: zod.enum([
1328
+ "submit",
1329
+ "passkey",
1330
+ "passkey_register",
1331
+ "navigate",
1332
+ "back"
1333
+ ]).describe("Classifies how the engine handles this action:\n- `submit`: collect the step's fields and run validate/dispatch/on_success.\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\n fires once the returned assertion verifies.\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\n transition fires once the returned attestation verifies.\n- `navigate`: route through the transition without running the input\n pipeline. Used for pure-routing actions declared in the flow definition.\n- `back`: return the user to the previous step. Surfaced by the engine\n when going back is available.\n"),
1303
1334
  primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
1304
1335
  text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
1305
- }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`.\n")).default(getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1336
+ }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`; the engine resolves the action's\ndeclared `kind` to decide how to handle the submission.\n")).default(getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1306
1337
  gates: zod.record(zod.string(), zod.object({
1307
1338
  kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
1308
1339
  provider: zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
@@ -1325,50 +1356,65 @@ const GetFlowDefinitionResponse = zod.object({
1325
1356
  updated_at: zod.iso.datetime({ offset: true })
1326
1357
  });
1327
1358
  /**
1328
- * Update a flow definition by id
1359
+ * Update a flow definition by id. This endpoint replaces the existing flow definition.
1360
+ If `flow_definition.status` is omitted, the current status is preserved
1361
+
1329
1362
  * @summary Update a flow definition by id
1330
1363
  */
1331
1364
  const UpdateFlowDefinitionParams = zod.object({ id: zod.string().describe("The id returned by the POST /flow_definitions endpoint.\n") });
1332
1365
  const updateFlowDefinitionQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1333
1366
  const UpdateFlowDefinitionQueryParams = zod.strictObject({ project_id: zod.string().regex(updateFlowDefinitionQueryProjectIdRegExp).describe("The project id to filter by.") });
1334
- const updateFlowDefinitionBodyStepsItemFieldsDefault = [];
1335
- const updateFlowDefinitionBodyStepsItemActionsItemPrimaryDefault = false;
1336
- const updateFlowDefinitionBodyStepsItemActionsDefault = [];
1337
- const updateFlowDefinitionBodyStepsItemGatesDefault = {};
1338
- const updateFlowDefinitionBodyStepsItemSsoProvidersDefault = [];
1367
+ const updateFlowDefinitionBodyFlowDefinitionNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9-]*$");
1368
+ const updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault = [];
1369
+ const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault = false;
1370
+ const updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault = [];
1371
+ const updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault = {};
1372
+ const updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault = [];
1339
1373
  const UpdateFlowDefinitionBody = zod.object({
1340
- user_schema: zod.url().optional().describe("User schema this flow operates on. Replaces the current value if provided.\n"),
1341
- purposes: zod.record(zod.string(), zod.string()).optional().describe("Replaces the full purpose-to-entry-step map if provided. Keys are\npurpose names; values must match a `name` in `steps`.\n"),
1342
- audience: zod.object({
1343
- team_ids: zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
1344
- app_ids: zod.array(zod.string()).optional().describe("Restrict to specific applications. Empty means no app restriction.")
1345
- }).optional().describe("Scopes which teams or apps this flow definition applies to. Empty or\nomitted fields mean \"no restriction\"; when both are empty the definition\nmatches every request in the project. The engine picks the most specific\nmatching definition: app > team > project-wide.\n"),
1346
- steps: zod.array(zod.object({
1347
- name: zod.string().describe("Unique step identifier within this flow. Used as transition targets\nand returned in the API response as `step.name`.\n"),
1348
- fields: zod.array(zod.string()).default(updateFlowDefinitionBodyStepsItemFieldsDefault).describe("Schema property names to collect from the user. Each entry references\na property in the flow's user schema. The engine resolves field type,\nvalidation rules, and implicit outcomes from schema annotations\n(e.g. a property with `x-unique` set implies a `user_not_found`\ntransition outcome).\n"),
1349
- actions: zod.array(zod.object({
1350
- name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
1351
- primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
1352
- text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
1353
- }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`.\n")).default(updateFlowDefinitionBodyStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1354
- gates: zod.record(zod.string(), zod.object({
1355
- kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
1356
- provider: zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
1357
- config: zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
1358
- }).describe("A security challenge that must be satisfied before this step's submission\nis accepted. The engine may also inject gates at runtime based on policy\nor risk evaluation.\n")).default(updateFlowDefinitionBodyStepsItemGatesDefault).describe("Security gates that must be satisfied before submission. Keyed by gate\nname. Each gate selects a kind (e.g. \"captcha\") and provider-specific\nconfiguration. The engine may also inject gates dynamically based on\npolicy.\n"),
1359
- sso_providers: zod.array(zod.object({
1360
- id: zod.string().describe("Provider instance identifier."),
1361
- name: zod.string().describe("Display name for the provider."),
1362
- template: zod.string().describe("Template hint for rendering (logo, colors).")
1363
- }).describe("An available SSO identity provider.")).default(updateFlowDefinitionBodyStepsItemSsoProvidersDefault).describe("Available SSO identity providers for this step."),
1364
- on_success: zod.enum(["create_user"]).optional().describe("Server-side mutation to execute when this step completes successfully.\nRuns after field validation passes, before the transition fires.\n\n- create_user: creates the user record (registration flows)\n"),
1365
- complete: zod.enum(["redirect", "show"]).optional().describe("Marks this as a terminal step. Tells the frontend what to do:\n- redirect: navigate to redirect_uri (OIDC/SAML callback done)\n- show: render as a success/info screen\n"),
1366
- transitions: zod.record(zod.string(), zod.object({
1367
- target: zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
1368
- action: zod.union([zod.enum(["switch", "pivot"]), zod.null()]).optional().describe("How to interpret `target`:\n- null (omitted): transition to a step in the current flow.\n- switch: replace the current flow with the target flow.\n No return — the current flow is discarded.\n Example: login ↔ register.\n- pivot: push the target flow onto the stack. The current flow\n is paused and resumes when the target flow completes (auto-pop).\n Example: login → recovery → back to login.\n")
1369
- })).optional().describe("Maps action/outcome names to their transition descriptor.\n\nKeys match action names from the `actions` array. Additional keys\ncome from implicit outcomes based on schema annotations\n(e.g. `user_not_found` from `x-unique` fields) and engine\nevents (e.g. `sso`, `callback`).\n")
1370
- }).describe("A step in a flow definition. This is the admin-authored configuration,\nnot the runtime payload sent to the frontend.\n\nSteps are schema-driven: `fields` references properties from the flow's\nuser schema, and the engine resolves field metadata (type, validation,\nimplicit outcomes) from schema annotations at runtime.\n\nA step with only `complete` set is a terminal step. All other steps are\nrendered to the frontend as capability payloads.\n")).min(1).optional().describe("Replaces the full steps array if provided. Partial step lists are not\nsupported — supply all steps when updating this field.\n")
1371
- }).describe("Partial update for a flow definition. Only provided fields are replaced;\nomitted fields retain their current server-side values.\n\nCollection fields (`steps`, `purposes`) are treated atomically: if\nprovided, the entire array/object is replaced. If omitted, the current\nvalue is preserved unchanged.\n\n`name` is a stable identifier and cannot be changed after creation.\n");
1374
+ schema_uri: zod.url().optional().describe("URI of the server-published flow definition schema this definition was\nauthored against. The server uses this to validate the definition.\nIf not provided, the engine will use the latest schema version for validation.\n"),
1375
+ flow_definition: zod.object({
1376
+ name: zod.string().regex(updateFlowDefinitionBodyFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1377
+ status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1378
+ user_schema: zod.url().describe("User schema this flow operates on. Step `fields` reference properties\ndefined in this schema. The engine resolves field types, validation,\nand implicit outcomes from schema annotations at runtime.\n"),
1379
+ purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
1380
+ audience: zod.object({
1381
+ team_ids: zod.array(zod.string()).optional().describe("Restrict to specific teams (organizations). Empty means no team restriction."),
1382
+ app_ids: zod.array(zod.string()).optional().describe("Restrict to specific applications. Empty means no app restriction.")
1383
+ }).optional().describe("Scopes which teams or apps this flow definition applies to. Empty or\nomitted fields mean \"no restriction\"; when both are empty the definition\nmatches every request in the project. The engine picks the most specific\nmatching definition: app > team > project-wide.\n"),
1384
+ steps: zod.array(zod.object({
1385
+ name: zod.string().describe("Unique step identifier within this flow. Used as transition targets\nand returned in the API response as `step.name`.\n"),
1386
+ fields: zod.array(zod.string()).default(updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault).describe("Schema property names to collect from the user. Each entry references\na property in the flow's user schema. The engine resolves field type,\nvalidation rules, and implicit outcomes from schema annotations\n(e.g. a property with `x-unique` set implies a `user_not_found`\ntransition outcome).\n"),
1387
+ actions: zod.array(zod.object({
1388
+ name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
1389
+ kind: zod.enum([
1390
+ "submit",
1391
+ "passkey",
1392
+ "passkey_register",
1393
+ "navigate",
1394
+ "back"
1395
+ ]).describe("Classifies how the engine handles this action:\n- `submit`: collect the step's fields and run validate/dispatch/on_success.\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\n fires once the returned assertion verifies.\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\n transition fires once the returned attestation verifies.\n- `navigate`: route through the transition without running the input\n pipeline. Used for pure-routing actions declared in the flow definition.\n- `back`: return the user to the previous step. Surfaced by the engine\n when going back is available.\n"),
1396
+ primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
1397
+ text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
1398
+ }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`; the engine resolves the action's\ndeclared `kind` to decide how to handle the submission.\n")).default(updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1399
+ gates: zod.record(zod.string(), zod.object({
1400
+ kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
1401
+ provider: zod.string().describe("Provider identifier within the gate kind e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
1402
+ config: zod.record(zod.string(), zod.unknown()).optional().describe("Provider-specific configuration consumed by the implementation when\nissuing the per-render challenge. Opaque to the engine.\n")
1403
+ }).describe("A security challenge that must be satisfied before this step's submission\nis accepted. The engine may also inject gates at runtime based on policy\nor risk evaluation.\n")).default(updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault).describe("Security gates that must be satisfied before submission. Keyed by gate\nname. Each gate selects a kind (e.g. \"captcha\") and provider-specific\nconfiguration. The engine may also inject gates dynamically based on\npolicy.\n"),
1404
+ sso_providers: zod.array(zod.object({
1405
+ id: zod.string().describe("Provider instance identifier."),
1406
+ name: zod.string().describe("Display name for the provider."),
1407
+ template: zod.string().describe("Template hint for rendering (logo, colors).")
1408
+ }).describe("An available SSO identity provider.")).default(updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault).describe("Available SSO identity providers for this step."),
1409
+ on_success: zod.enum(["create_user"]).optional().describe("Server-side mutation to execute when this step completes successfully.\nRuns after field validation passes, before the transition fires.\n\n- create_user: creates the user record (registration flows)\n"),
1410
+ complete: zod.enum(["redirect", "show"]).optional().describe("Marks this as a terminal step. Tells the frontend what to do:\n- redirect: navigate to redirect_uri (OIDC/SAML callback done)\n- show: render as a success/info screen\n"),
1411
+ transitions: zod.record(zod.string(), zod.object({
1412
+ target: zod.string().describe("Step name within this flow (when `action` is null), or the name\nof another flow (when `action` is `switch` or `pivot`).\n"),
1413
+ action: zod.union([zod.enum(["switch", "pivot"]), zod.null()]).optional().describe("How to interpret `target`:\n- null (omitted): transition to a step in the current flow.\n- switch: replace the current flow with the target flow.\n No return — the current flow is discarded.\n Example: login ↔ register.\n- pivot: push the target flow onto the stack. The current flow\n is paused and resumes when the target flow completes (auto-pop).\n Example: login → recovery → back to login.\n")
1414
+ })).optional().describe("Maps action/outcome names to their transition descriptor.\n\nKeys match action names from the `actions` array. Additional keys\ncome from implicit outcomes based on schema annotations\n(e.g. `user_not_found` from `x-unique` fields) and engine\nevents (e.g. `sso`, `callback`).\n")
1415
+ }).describe("A step in a flow definition. This is the admin-authored configuration,\nnot the runtime payload sent to the frontend.\n\nSteps are schema-driven: `fields` references properties from the flow's\nuser schema, and the engine resolves field metadata (type, validation,\nimplicit outcomes) from schema annotations at runtime.\n\nA step with only `complete` set is a terminal step. All other steps are\nrendered to the frontend as capability payloads.\n")).min(1).describe("Ordered list of steps in this flow. The order is for human readability —\nactual step sequencing is determined by transitions.\n")
1416
+ }).describe("A flow definition is the server-side configuration that describes a complete\nauthentication or identity flow. It is NOT sent to the frontend — the flow\nengine evaluates it and produces FlowResponse payloads (steps with capability\ndictionaries) for the client.\n\nFlow definitions are created by administrators and stored in the project/team\nconfiguration hierarchy. The engine selects the matching definition based on\nthe purpose + audience when a flow is created via POST /flow.\n")
1417
+ }).describe("Replaces the existing flow definition.\n");
1372
1418
  const updateFlowDefinitionResponseFlowDefinitionNameRegExp = /* @__PURE__ */ new RegExp("^[a-z][a-z0-9-]*$");
1373
1419
  const updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault = [];
1374
1420
  const updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault = false;
@@ -1378,9 +1424,9 @@ const updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault = [
1378
1424
  const UpdateFlowDefinitionResponse = zod.object({
1379
1425
  id: zod.string().describe("Unique identifier for the flow definition."),
1380
1426
  project_id: zod.string().describe("Identifier of the project this flow definition belongs to."),
1381
- status: zod.string().describe("Status of the flow definition."),
1382
1427
  flow_definition: zod.object({
1383
1428
  name: zod.string().regex(updateFlowDefinitionResponseFlowDefinitionNameRegExp).describe("Stable identifier for this flow, used as the target of cross-flow\n`switch` and `pivot` transitions. Renaming is not supported — the\n`name` is part of the public contract another definition may\nreference. Acts as the human display label as well; no separate slug.\n"),
1429
+ status: zod.enum(["active", "draft"]).describe("The lifecycle state of this flow definition. \n\nactive: The flow definition is ready to be used. The flow engine can select it for new flows.\ndraft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.\n\nAllowed transitions:\n- draft -> active: To activate the flow definition.\n- active -> draft: To remove the flow definition from active use immediately.\n"),
1384
1430
  user_schema: zod.url().describe("User schema this flow operates on. Step `fields` reference properties\ndefined in this schema. The engine resolves field types, validation,\nand implicit outcomes from schema annotations at runtime.\n"),
1385
1431
  purposes: zod.record(zod.string(), zod.string()).describe("Maps each purpose this definition handles to its entry-point step.\nKeys are purpose names; values must match a `name` in `steps`. A\ndefinition can serve multiple purposes (e.g. a combined login/register\nflow) by listing one entry per purpose.\n"),
1386
1432
  audience: zod.object({
@@ -1392,9 +1438,16 @@ const UpdateFlowDefinitionResponse = zod.object({
1392
1438
  fields: zod.array(zod.string()).default(updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault).describe("Schema property names to collect from the user. Each entry references\na property in the flow's user schema. The engine resolves field type,\nvalidation rules, and implicit outcomes from schema annotations\n(e.g. a property with `x-unique` set implies a `user_not_found`\ntransition outcome).\n"),
1393
1439
  actions: zod.array(zod.object({
1394
1440
  name: zod.string().describe("Action identifier. Sent back in the submit request as `action`."),
1441
+ kind: zod.enum([
1442
+ "submit",
1443
+ "passkey",
1444
+ "passkey_register",
1445
+ "navigate",
1446
+ "back"
1447
+ ]).describe("Classifies how the engine handles this action:\n- `submit`: collect the step's fields and run validate/dispatch/on_success.\n- `passkey`: issue a WebAuthn assertion challenge; the matching transition\n fires once the returned assertion verifies.\n- `passkey_register`: issue a WebAuthn registration challenge; the matching\n transition fires once the returned attestation verifies.\n- `navigate`: route through the transition without running the input\n pipeline. Used for pure-routing actions declared in the flow definition.\n- `back`: return the user to the previous step. Surfaced by the engine\n when going back is available.\n"),
1395
1448
  primary: zod.boolean().default(false).describe("Marks this as the default/primary action. The runtime template uses\nthis hint to choose visual emphasis. At most one action per step\nshould be primary; this is not enforced here.\n"),
1396
1449
  text_key: zod.string().optional().describe("Optional localization key override for the action's label. When\nomitted, the engine derives a key from the step and action names.\nDisplay text is resolved client-side from a locale dictionary, never\nby the engine.\n")
1397
- }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`.\n")).default(updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1450
+ }).describe("Configuration for a user-invokable action on a step. The `name` is sent\nback in the submit request as `action`; the engine resolves the action's\ndeclared `kind` to decide how to handle the submission.\n")).default(updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault).describe("Ordered list of actions the user can take. The action name is what the\nfrontend sends back in the submit request. If omitted, the engine\nprovides a default `submit` action.\n"),
1398
1451
  gates: zod.record(zod.string(), zod.object({
1399
1452
  kind: zod.enum(["captcha"]).describe("The gate category. Only `captcha` is currently defined. Authenticator\nceremonies (e.g. passkey) are modelled as credential auth_attempts via\n`x-credential` on a field, not as gates.\n"),
1400
1453
  provider: zod.string().describe("Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,\n`hcaptcha`. The engine looks up an implementation in its provider\nregistry.\n"),
@@ -1417,13 +1470,35 @@ const UpdateFlowDefinitionResponse = zod.object({
1417
1470
  updated_at: zod.iso.datetime({ offset: true })
1418
1471
  });
1419
1472
  /**
1420
- * Delete a flow definition by id
1473
+ * Delete a flow definition by id.
1474
+ If the flow definition is currently being used by a flow, the deletion will fail.
1475
+ If the flow definition is the last active flow definition for a given purpose, the deletion will fail to prevent disruption of new flows being started for that purpose.
1476
+
1421
1477
  * @summary Delete a flow definition by id
1422
1478
  */
1423
1479
  const DeleteFlowDefinitionParams = zod.object({ id: zod.string().describe("The id returned by the POST /flow_definitions endpoint.\n") });
1424
1480
  const deleteFlowDefinitionQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1425
1481
  const DeleteFlowDefinitionQueryParams = zod.strictObject({ project_id: zod.string().regex(deleteFlowDefinitionQueryProjectIdRegExp).describe("The project id to filter by.") });
1426
1482
  /**
1483
+ * Activate a flow definition by transitioning it from a `draft` state to an `active` state.
1484
+ Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
1485
+
1486
+ * @summary Activate a flow definition by ID.
1487
+ */
1488
+ const ActivateFlowDefinitionParams = zod.object({ id: zod.string().describe("The id returned by the POST /flow_definitions endpoint.\n") });
1489
+ const activateFlowDefinitionQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1490
+ const ActivateFlowDefinitionQueryParams = zod.strictObject({ project_id: zod.string().regex(activateFlowDefinitionQueryProjectIdRegExp).describe("The unique identifier of the project") });
1491
+ /**
1492
+ * Deactivates a flow definition in the `active` state by transitioning it to the `draft` state.
1493
+ Flow definitions in `draft` state cannot be used to start new flows. Existing flows that use the deactivated flow definition must gracefully handle this.
1494
+ Alternatively, the status of a flow definition can also be set via the `POST /flow_definitions` and `PUT /flow_definitions/{id}` endpoints by setting the `status` attribute in the flow definition payload.
1495
+
1496
+ * @summary Deactivate a flow definition by ID.
1497
+ */
1498
+ const DeactivateFlowDefinitionParams = zod.object({ id: zod.string().describe("The id returned by the POST /flow_definitions endpoint.\n") });
1499
+ const deactivateFlowDefinitionQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
1500
+ const DeactivateFlowDefinitionQueryParams = zod.strictObject({ project_id: zod.string().regex(deactivateFlowDefinitionQueryProjectIdRegExp).describe("The unique identifier of the project") });
1501
+ /**
1427
1502
  * @summary Create team
1428
1503
  */
1429
1504
  const createTeamQueryProjectIdRegExp = /* @__PURE__ */ new RegExp("^[a-zA-Z0-9_-]+$");
@@ -1444,6 +1519,6 @@ const GetTeamResponse = zod.object({
1444
1519
  updatedAt: zod.iso.datetime({ offset: true }).describe("The time when the team was last updated.")
1445
1520
  }).describe("The current state of a team.");
1446
1521
  //#endregion
1447
- export { AuthorizeDeviceQueryParams, AuthorizeDeviceResponse, AuthorizeGetQueryParams, CreateAuthAttemptBody, CreateFlowBody, CreateFlowDefinitionBody, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateProjectBody, CreateSchemaBody, CreateSchemaQueryParams, CreateSessionBody, CreateTeamBody, CreateTeamQueryParams, CreateUserBody, CreateUserQueryParams, DeleteFlowDefinitionParams, DeleteFlowDefinitionQueryParams, EndSessionQueryParams, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, GetAuthAttemptParams, GetAuthAttemptResponse, GetFlowDefinitionParams, GetFlowDefinitionQueryParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetKeysResponse, GetMySessionResponse, GetMyUserResponse, GetOpenIDConfigurationResponse, GetProjectParams, GetProjectResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionQueryParams, GetSessionResponse, GetTeamParams, GetTeamQueryParams, GetTeamResponse, GetTokenResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, GetUserInfoResponse, IntrospectResponse, IssueChallengeBody, IssueChallengeParams, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListSessionsQueryParams, ListSessionsResponse, ListUsersQueryParams, ListUsersResponse, ListUsersResponseItem, RevokeSessionParams, RevokeSessionQueryParams, SetUserPasswordBody, SetUserPasswordParams, SetUserPasswordQueryParams, SubmitFlowEventBody, SubmitFlowEventParams, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateFlowDefinitionBody, UpdateFlowDefinitionParams, UpdateFlowDefinitionQueryParams, UpdateFlowDefinitionResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyProjectIdRegExp, createHandoffPathAttemptIdRegExp, createSchemaBodyOnePropertiesXEditableDefault, createSchemaBodyOnePropertiesXMfaDefault, createSchemaBodyOnePropertiesXSensitiveDefault, createSchemaBodyOneXAuthMethodsMagicLinkPositionMin, createSchemaBodyOneXAuthMethodsOtpPositionMin, createSchemaBodyOneXAuthMethodsPasskeyPositionMin, createSchemaBodyOneXAuthMethodsPasswordPositionMin, createSchemaBodyOneXAuthMethodsSsoPositionMin, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, deleteFlowDefinitionQueryProjectIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getFlowDefinitionQueryProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getOpenIDConfigurationResponseClaimsParameterSupportedDefault, getOpenIDConfigurationResponseRequestParameterSupportedDefault, getOpenIDConfigurationResponseRequestUriParameterSupportedDefault, getOpenIDConfigurationResponseRequireRequestUriRegistrationDefault, getProjectPathProjectIdRegExp, getSchemaByIdQueryProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseOnePropertiesXEditableDefault, getSchemaByIdResponseOnePropertiesXMfaDefault, getSchemaByIdResponseOnePropertiesXSensitiveDefault, getSchemaByIdResponseOneXAuthMethodsMagicLinkPositionMin, getSchemaByIdResponseOneXAuthMethodsOtpPositionMin, getSchemaByIdResponseOneXAuthMethodsPasskeyPositionMin, getSchemaByIdResponseOneXAuthMethodsPasswordPositionMin, getSchemaByIdResponseOneXAuthMethodsSsoPositionMin, getSessionPathSessionIdRegExp, getSessionQueryProjectIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getTeamPathTeamIdRegExp, getTeamQueryProjectIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryProjectIdRegExp, getUserByIDQueryTeamIdRegExp, issueChallengePathAttemptIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsResponseFlowDefinitionsItemNameRegExp, listSessionsQueryLimitDefault, listSessionsQueryLimitMax, listSessionsQueryProjectIdRegExp, listSessionsQueryUserIdRegExp, listSessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, listSessionsResponseSessionsItemProjectIdRegExp, listSessionsResponseSessionsItemSessionIdRegExp, listSessionsResponseSessionsItemUserIdOneRegExp, listUsersQueryLimitDefault, listUsersQueryLimitMax, listUsersQueryOffsetDefault, listUsersQueryOffsetMin, revokeSessionPathSessionIdRegExp, revokeSessionQueryProjectIdRegExp, setUserPasswordPathUserIdRegExp, setUserPasswordQueryProjectIdRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateFlowDefinitionBodyStepsItemActionsDefault, updateFlowDefinitionBodyStepsItemActionsItemPrimaryDefault, updateFlowDefinitionBodyStepsItemFieldsDefault, updateFlowDefinitionBodyStepsItemGatesDefault, updateFlowDefinitionBodyStepsItemSsoProvidersDefault, updateFlowDefinitionQueryProjectIdRegExp, updateFlowDefinitionResponseFlowDefinitionNameRegExp, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
1522
+ export { ActivateFlowDefinitionParams, ActivateFlowDefinitionQueryParams, AuthorizeDeviceQueryParams, AuthorizeDeviceResponse, AuthorizeGetQueryParams, CreateAuthAttemptBody, CreateFlowBody, CreateFlowDefinitionBody, CreateHandoffHeader, CreateHandoffParams, CreateHandoffResponse, CreateProjectBody, CreateSchemaBody, CreateSchemaQueryParams, CreateSessionBody, CreateTeamBody, CreateTeamQueryParams, CreateUserBody, CreateUserQueryParams, DeactivateFlowDefinitionParams, DeactivateFlowDefinitionQueryParams, DeleteFlowDefinitionParams, DeleteFlowDefinitionQueryParams, EndSessionQueryParams, ExchangeHandoffBody, ExchangeHandoffHeader, ExchangeHandoffQueryParams, ExchangeHandoffResponse, GetAuthAttemptParams, GetAuthAttemptResponse, GetFlowDefinitionParams, GetFlowDefinitionQueryParams, GetFlowDefinitionResponse, GetFlowStepParams, GetFlowStepResponse, GetKeysResponse, GetMySessionResponse, GetMyUserResponse, GetOpenIDConfigurationResponse, GetProjectParams, GetProjectResponse, GetSchemaByIdParams, GetSchemaByIdQueryParams, GetSchemaByIdResponse, GetSessionParams, GetSessionQueryParams, GetSessionResponse, GetTeamParams, GetTeamQueryParams, GetTeamResponse, GetTokenResponse, GetUserByIDParams, GetUserByIDQueryParams, GetUserByIDResponse, GetUserInfoResponse, IntrospectResponse, IssueChallengeBody, IssueChallengeParams, ListFlowDefinitionsQueryParams, ListFlowDefinitionsResponse, ListSessionsQueryParams, ListSessionsResponse, ListUsersQueryParams, ListUsersResponse, ListUsersResponseItem, RevokeSessionParams, RevokeSessionQueryParams, SetUserPasswordBody, SetUserPasswordParams, SetUserPasswordQueryParams, SubmitFlowEventBody, SubmitFlowEventParams, SubmitFlowStepBody, SubmitFlowStepHeader, SubmitFlowStepParams, SubmitFlowStepResponse, UpdateFlowDefinitionBody, UpdateFlowDefinitionParams, UpdateFlowDefinitionQueryParams, UpdateFlowDefinitionResponse, VerifyChallengeProofBody, VerifyChallengeProofHeader, VerifyChallengeProofParams, VerifyChallengeProofResponse, activateFlowDefinitionQueryProjectIdRegExp, createAuthAttemptBodyProjectIdRegExp, createAuthAttemptBodySessionIdOneRegExp, createFlowBodyDryRunDefault, createFlowBodyFlowDefinitionNameRegExp, createFlowBodyProjectIdRegExp, createFlowBodySchemaVersionRegExp, createFlowDefinitionBodyFlowDefinitionNameRegExp, createFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, createFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, createFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, createFlowDefinitionBodyProjectIdRegExp, createHandoffPathAttemptIdRegExp, createSchemaBodyOnePropertiesXEditableDefault, createSchemaBodyOnePropertiesXMfaDefault, createSchemaBodyOnePropertiesXSensitiveDefault, createSchemaBodyOneXAuthMethodsMagicLinkPositionMin, createSchemaBodyOneXAuthMethodsOtpPositionMin, createSchemaBodyOneXAuthMethodsPasskeyPositionMin, createSchemaBodyOneXAuthMethodsPasswordPositionMin, createSchemaBodyOneXAuthMethodsSsoPositionMin, createSchemaQueryProjectIdRegExp, createSchemaQueryTeamIdRegExp, createSessionBodyProjectIdRegExp, createTeamQueryProjectIdRegExp, createUserQueryProjectIdRegExp, createUserQueryTeamIdRegExp, deactivateFlowDefinitionQueryProjectIdRegExp, deleteFlowDefinitionQueryProjectIdRegExp, exchangeHandoffQueryProjectIdRegExp, exchangeHandoffResponseSessionFactorsItemPayloadOneUserIdRegExp, exchangeHandoffResponseSessionProjectIdRegExp, exchangeHandoffResponseSessionSessionIdRegExp, exchangeHandoffResponseSessionUserIdOneRegExp, getAuthAttemptPathAttemptIdRegExp, getAuthAttemptResponseAttemptIdRegExp, getAuthAttemptResponseChallengesItemChallengeIdRegExp, getAuthAttemptResponseCompletedFactorsItemPayloadOneUserIdRegExp, getAuthAttemptResponseProjectIdRegExp, getAuthAttemptResponseSessionIdOneRegExp, getAuthAttemptResponseUserIdOneRegExp, getFlowDefinitionQueryProjectIdRegExp, getFlowDefinitionResponseFlowDefinitionNameRegExp, getFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, getFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, getFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, getFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, getFlowStepResponseBrandingLayoutDefault, getFlowStepResponseStepActionsDefault, getFlowStepResponseStepActionsItemPrimaryDefault, getFlowStepResponseStepFieldsDefault, getFlowStepResponseStepFieldsItemRequiredDefault, getFlowStepResponseStepFieldsItemValidationMaxLengthMin, getFlowStepResponseStepFieldsItemValidationMinLengthMin, getFlowStepResponseStepGatesDefault, getFlowStepResponseStepSsoProvidersDefault, getMySessionResponseFactorsItemPayloadOneUserIdRegExp, getMySessionResponseProjectIdRegExp, getMySessionResponseSessionIdRegExp, getMySessionResponseUserIdOneRegExp, getOpenIDConfigurationResponseClaimsParameterSupportedDefault, getOpenIDConfigurationResponseRequestParameterSupportedDefault, getOpenIDConfigurationResponseRequestUriParameterSupportedDefault, getOpenIDConfigurationResponseRequireRequestUriRegistrationDefault, getProjectPathProjectIdRegExp, getSchemaByIdQueryProjectIdRegExp, getSchemaByIdQueryTeamIdRegExp, getSchemaByIdResponseOnePropertiesXEditableDefault, getSchemaByIdResponseOnePropertiesXMfaDefault, getSchemaByIdResponseOnePropertiesXSensitiveDefault, getSchemaByIdResponseOneXAuthMethodsMagicLinkPositionMin, getSchemaByIdResponseOneXAuthMethodsOtpPositionMin, getSchemaByIdResponseOneXAuthMethodsPasskeyPositionMin, getSchemaByIdResponseOneXAuthMethodsPasswordPositionMin, getSchemaByIdResponseOneXAuthMethodsSsoPositionMin, getSessionPathSessionIdRegExp, getSessionQueryProjectIdRegExp, getSessionResponseFactorsItemPayloadOneUserIdRegExp, getSessionResponseProjectIdRegExp, getSessionResponseSessionIdRegExp, getSessionResponseUserIdOneRegExp, getTeamPathTeamIdRegExp, getTeamQueryProjectIdRegExp, getUserByIDPathUserIdRegExp, getUserByIDQueryProjectIdRegExp, getUserByIDQueryTeamIdRegExp, issueChallengePathAttemptIdRegExp, listFlowDefinitionsQueryLimitDefault, listFlowDefinitionsQueryLimitMax, listFlowDefinitionsQueryProjectIdRegExp, listFlowDefinitionsResponseFlowDefinitionsItemNameRegExp, listSessionsQueryLimitDefault, listSessionsQueryLimitMax, listSessionsQueryProjectIdRegExp, listSessionsQueryUserIdRegExp, listSessionsResponseSessionsItemFactorsItemPayloadOneUserIdRegExp, listSessionsResponseSessionsItemProjectIdRegExp, listSessionsResponseSessionsItemSessionIdRegExp, listSessionsResponseSessionsItemUserIdOneRegExp, listUsersQueryLimitDefault, listUsersQueryLimitMax, listUsersQueryOffsetDefault, listUsersQueryOffsetMin, revokeSessionPathSessionIdRegExp, revokeSessionQueryProjectIdRegExp, setUserPasswordPathUserIdRegExp, setUserPasswordQueryProjectIdRegExp, submitFlowStepResponseBrandingLayoutDefault, submitFlowStepResponseStepActionsDefault, submitFlowStepResponseStepActionsItemPrimaryDefault, submitFlowStepResponseStepFieldsDefault, submitFlowStepResponseStepFieldsItemRequiredDefault, submitFlowStepResponseStepFieldsItemValidationMaxLengthMin, submitFlowStepResponseStepFieldsItemValidationMinLengthMin, submitFlowStepResponseStepGatesDefault, submitFlowStepResponseStepSsoProvidersDefault, updateFlowDefinitionBodyFlowDefinitionNameRegExp, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersDefault, updateFlowDefinitionQueryProjectIdRegExp, updateFlowDefinitionResponseFlowDefinitionNameRegExp, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemActionsItemPrimaryDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemFieldsDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemGatesDefault, updateFlowDefinitionResponseFlowDefinitionStepsItemSsoProvidersDefault, verifyChallengeProofPathAttemptIdRegExp, verifyChallengeProofPathChallengeIdRegExp, verifyChallengeProofResponseAttemptIdRegExp, verifyChallengeProofResponseChallengesItemChallengeIdRegExp, verifyChallengeProofResponseCompletedFactorsItemPayloadOneUserIdRegExp, verifyChallengeProofResponseProjectIdRegExp, verifyChallengeProofResponseSessionIdOneRegExp, verifyChallengeProofResponseUserIdOneRegExp };
1448
1523
 
1449
1524
  //# sourceMappingURL=zitadelNextGen.zod.mjs.map