@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.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.d.ts +17 -7
- package/dist/generated/endpoints/zitadelNextGen.d.ts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.mjs +69 -16
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +8 -5
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.ts +7 -4
- package/dist/generated/endpoints/zitadelNextGen.msw.d.ts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +248 -228
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +140 -106
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.ts +137 -103
- package/dist/generated/endpoints/zitadelNextGen.zod.d.ts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +105 -83
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/createFlowDefinition201.d.ts +11 -144
- package/dist/generated/model/createFlowDefinition201.d.ts.map +1 -1
- package/dist/generated/model/createFlowDefinition201FlowDefinition.d.ts +56 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinition.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts +21 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts +71 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts +29 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts +19 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts +35 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts +18 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts +35 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
- package/dist/generated/model/deleteFlowDefinitionParams.d.ts +15 -0
- package/dist/generated/model/deleteFlowDefinitionParams.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200.d.ts +11 -144
- package/dist/generated/model/getFlowDefinition200.d.ts.map +1 -1
- package/dist/generated/model/getFlowDefinition200FlowDefinition.d.ts +56 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinition.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts +21 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts +71 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts +29 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts +19 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts +35 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts +18 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts +35 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinitionParams.d.ts +15 -0
- package/dist/generated/model/getFlowDefinitionParams.d.ts.map +1 -0
- package/dist/generated/model/getMyUser200.d.ts +11 -0
- package/dist/generated/model/getMyUser200.d.ts.map +1 -0
- package/dist/generated/model/{getFlowDefinition404.d.ts → getMyUser401.d.ts} +4 -4
- package/dist/generated/model/getMyUser401.d.ts.map +1 -0
- package/dist/generated/model/{getFlowDefinition404Details.d.ts → getMyUser401Details.d.ts} +2 -2
- package/dist/generated/model/getMyUser401Details.d.ts.map +1 -0
- package/dist/generated/model/getMyUser404.d.ts +26 -0
- package/dist/generated/model/getMyUser404.d.ts.map +1 -0
- package/dist/generated/model/{deleteFlowDefinition404.d.ts → getMyUserDefault.d.ts} +4 -4
- package/dist/generated/model/getMyUserDefault.d.ts.map +1 -0
- package/dist/generated/model/{deleteFlowDefinition404Details.d.ts → getMyUserDefaultDetails.d.ts} +2 -2
- package/dist/generated/model/getMyUserDefaultDetails.d.ts.map +1 -0
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.d.ts +52 -4
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.mjs +37 -1
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts +1 -1
- package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts.map +1 -1
- package/dist/generated/model/listFlowDefinitionsParams.d.ts +1 -1
- package/dist/generated/model/setUserPassword400.d.ts +20 -0
- package/dist/generated/model/setUserPassword400.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword400Details.d.ts +14 -0
- package/dist/generated/model/setUserPassword400Details.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword404.d.ts +20 -0
- package/dist/generated/model/setUserPassword404.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword404Details.d.ts +14 -0
- package/dist/generated/model/setUserPassword404Details.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword500.d.ts +20 -0
- package/dist/generated/model/setUserPassword500.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword500Details.d.ts +14 -0
- package/dist/generated/model/setUserPassword500Details.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordBody.d.ts +19 -0
- package/dist/generated/model/setUserPasswordBody.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordDefault.d.ts +20 -0
- package/dist/generated/model/setUserPasswordDefault.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordDefaultDetails.d.ts +14 -0
- package/dist/generated/model/setUserPasswordDefaultDetails.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordParams.d.ts +15 -0
- package/dist/generated/model/setUserPasswordParams.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200.d.ts +11 -144
- package/dist/generated/model/updateFlowDefinition200.d.ts.map +1 -1
- package/dist/generated/model/updateFlowDefinition200FlowDefinition.d.ts +56 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinition.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts +21 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts +71 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts +29 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts +19 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts +35 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts +18 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts +35 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinitionParams.d.ts +15 -0
- package/dist/generated/model/updateFlowDefinitionParams.d.ts.map +1 -0
- package/dist/{index-DlEenfQJ.d.mts → index-DyBulyp9.d.mts} +1685 -938
- package/dist/index-DyBulyp9.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/config.d.mts +6 -3
- package/dist/runtime/config.d.mts.map +1 -1
- package/dist/runtime/config.d.ts +6 -3
- package/dist/runtime/config.d.ts.map +1 -1
- package/dist/runtime/config.mjs +42 -11
- package/dist/runtime/config.mjs.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{zitadelNextGen-C-fBEgnH.d.mts → zitadelNextGen-D6pDH5nq.d.mts} +20 -10
- package/dist/zitadelNextGen-D6pDH5nq.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +82 -34
- package/src/generated/endpoints/zitadelNextGen.ts +111 -16
- package/src/generated/endpoints/zitadelNextGen.zod.ts +452 -384
- package/src/generated/model/createFlowDefinition201.ts +11 -144
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +58 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +21 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +71 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.ts +29 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +21 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +35 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +14 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +21 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +35 -0
- package/src/generated/model/deleteFlowDefinitionParams.ts +15 -0
- package/src/generated/model/getFlowDefinition200.ts +11 -144
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +58 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +21 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.ts +29 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +14 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +20 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
- package/src/generated/model/getFlowDefinitionParams.ts +15 -0
- package/src/generated/model/getMyUser200.ts +9 -0
- package/src/generated/model/{getFlowDefinition404.ts → getMyUser401.ts} +3 -3
- package/src/generated/model/{getFlowDefinition404Details.ts → getMyUser401Details.ts} +1 -1
- package/src/generated/model/getMyUser404.ts +24 -0
- package/src/generated/model/{deleteFlowDefinition404.ts → getMyUserDefault.ts} +3 -3
- package/src/generated/model/{deleteFlowDefinition404Details.ts → getMyUserDefaultDetails.ts} +1 -1
- package/src/generated/model/index.ts +52 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +1 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +1 -1
- package/src/generated/model/setUserPassword400.ts +20 -0
- package/src/generated/model/setUserPassword400Details.ts +12 -0
- package/src/generated/model/setUserPassword404.ts +20 -0
- package/src/generated/model/setUserPassword404Details.ts +12 -0
- package/src/generated/model/setUserPassword500.ts +20 -0
- package/src/generated/model/setUserPassword500Details.ts +12 -0
- package/src/generated/model/setUserPasswordBody.ts +19 -0
- package/src/generated/model/setUserPasswordDefault.ts +20 -0
- package/src/generated/model/setUserPasswordDefaultDetails.ts +12 -0
- package/src/generated/model/setUserPasswordParams.ts +15 -0
- package/src/generated/model/updateFlowDefinition200.ts +11 -144
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +58 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +21 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.ts +29 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +14 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +20 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
- package/src/generated/model/updateFlowDefinitionParams.ts +15 -0
- package/src/runtime/config.spec.ts +41 -0
- package/src/runtime/config.ts +46 -18
- package/dist/generated/endpoints/zitadelNextGen.d.mts.map +0 -1
- package/dist/generated/model/createSession201SessionFactors.d.ts +0 -18
- package/dist/generated/model/createSession201SessionFactors.d.ts.map +0 -1
- package/dist/generated/model/deleteFlowDefinition404.d.ts.map +0 -1
- package/dist/generated/model/deleteFlowDefinition404Details.d.ts.map +0 -1
- package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts +0 -18
- package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts.map +0 -1
- package/dist/generated/model/getFlowDefinition404.d.ts.map +0 -1
- package/dist/generated/model/getFlowDefinition404Details.d.ts.map +0 -1
- package/dist/generated/model/getMySession200Factors.d.ts +0 -18
- package/dist/generated/model/getMySession200Factors.d.ts.map +0 -1
- package/dist/generated/model/getSession200Factors.d.ts +0 -18
- package/dist/generated/model/getSession200Factors.d.ts.map +0 -1
- package/dist/generated/model/index.d.mts.map +0 -1
- package/dist/generated/model/listSessions200SessionsItemFactors.d.ts +0 -18
- package/dist/generated/model/listSessions200SessionsItemFactors.d.ts.map +0 -1
- package/dist/index-DlEenfQJ.d.mts.map +0 -1
- 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 { GetFlowDefinition200FlowDefinition } from "./getFlowDefinition200FlowDefinition";
|
|
8
9
|
export type GetFlowDefinition200 = {
|
|
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: GetFlowDefinition200FlowDefinition;
|
|
159
26
|
created_at: string;
|
|
160
27
|
updated_at: string;
|
|
161
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFlowDefinition200.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,MAAM,MAAM,oBAAoB,GAAG;IACjC,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,kCAAkC,CAAC;IACpD,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 { GetFlowDefinition200FlowDefinitionAudience } from "./getFlowDefinition200FlowDefinitionAudience";
|
|
9
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItem } from "./getFlowDefinition200FlowDefinitionStepsItem";
|
|
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 GetFlowDefinition200FlowDefinition = {
|
|
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?: GetFlowDefinition200FlowDefinitionAudience;
|
|
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: GetFlowDefinition200FlowDefinitionStepsItem[];
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinition.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAC/G,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,+CAA+C,CAAC;AAEjH;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;;;;;;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,0CAA0C,CAAC;IACtD;;;;;SAKK;IACL,KAAK,EAAE,2CAA2C,EAAE,CAAC;CACtD,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 GetFlowDefinition200FlowDefinitionAudience = {
|
|
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=getFlowDefinition200FlowDefinitionAudience.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionAudience.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,0CAA0C,GAAG;IACvD,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 { GetFlowDefinition200FlowDefinitionStepsItemActions } from "./getFlowDefinition200FlowDefinitionStepsItemActions";
|
|
9
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItemComplete } from "./getFlowDefinition200FlowDefinitionStepsItemComplete";
|
|
10
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItemGates } from "./getFlowDefinition200FlowDefinitionStepsItemGates";
|
|
11
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItemOnSuccess } from "./getFlowDefinition200FlowDefinitionStepsItemOnSuccess";
|
|
12
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem } from "./getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem";
|
|
13
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItemTransitions } from "./getFlowDefinition200FlowDefinitionStepsItemTransitions";
|
|
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 GetFlowDefinition200FlowDefinitionStepsItem = {
|
|
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?: GetFlowDefinition200FlowDefinitionStepsItemActions;
|
|
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?: GetFlowDefinition200FlowDefinitionStepsItemGates;
|
|
49
|
+
/** Available SSO identity providers for this step. */
|
|
50
|
+
sso_providers?: GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
|
|
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?: GetFlowDefinition200FlowDefinitionStepsItemOnSuccess;
|
|
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?: GetFlowDefinition200FlowDefinitionStepsItemComplete;
|
|
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?: GetFlowDefinition200FlowDefinitionStepsItemTransitions;
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinitionStepsItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItem.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,sDAAsD,CAAC;AAC/H,OAAO,KAAK,EAAE,mDAAmD,EAAE,MAAM,uDAAuD,CAAC;AACjI,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,oDAAoD,CAAC;AAC3H,OAAO,KAAK,EAAE,oDAAoD,EAAE,MAAM,wDAAwD,CAAC;AACnI,OAAO,KAAK,EAAE,2DAA2D,EAAE,MAAM,+DAA+D,CAAC;AACjJ,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,0DAA0D,CAAC;AAEvI;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,kDAAkD,CAAC;IAC7D;;;;OAIG;IACH,KAAK,CAAC,EAAE,gDAAgD,CAAC;IACzD,sDAAsD;IACtD,aAAa,CAAC,EAAE,2DAA2D,EAAE,CAAC;IAC9E;;;;OAIG;IACH,UAAU,CAAC,EAAE,oDAAoD,CAAC;IAClE;;;OAGG;IACH,QAAQ,CAAC,EAAE,mDAAmD,CAAC;IAC/D;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,sDAAsD,CAAC;CACtE,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 GetFlowDefinition200FlowDefinitionStepsItemActions = {
|
|
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=getFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemActions.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,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 GetFlowDefinition200FlowDefinitionStepsItemComplete = (typeof GetFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemComplete];
|
|
15
|
+
export declare const GetFlowDefinition200FlowDefinitionStepsItemComplete: {
|
|
16
|
+
readonly redirect: "redirect";
|
|
17
|
+
readonly show: "show";
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,mDAAmD,GAC7D,CAAC,OAAO,mDAAmD,CAAC,CAAC,MAAM,OAAO,mDAAmD,CAAC,CAAC;AAEjI,eAAO,MAAM,mDAAmD;aAC9D,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 { GetFlowDefinition200FlowDefinitionStepsItemGatesConfig } from "./getFlowDefinition200FlowDefinitionStepsItemGatesConfig";
|
|
9
|
+
import type { GetFlowDefinition200FlowDefinitionStepsItemGatesKind } from "./getFlowDefinition200FlowDefinitionStepsItemGatesKind";
|
|
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 GetFlowDefinition200FlowDefinitionStepsItemGates = {
|
|
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: GetFlowDefinition200FlowDefinitionStepsItemGatesKind;
|
|
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?: GetFlowDefinition200FlowDefinitionStepsItemGatesConfig;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemGates.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,sDAAsD,EAAE,MAAM,0DAA0D,CAAC;AACvI,OAAO,KAAK,EAAE,oDAAoD,EAAE,MAAM,wDAAwD,CAAC;AAEnI;;;;;;GAMG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,CAAC,GAAG,EAAE,MAAM,GAAG;QACb;;;SAGC;QACD,IAAI,EAAE,oDAAoD,CAAC;QAC3D;;;SAGC;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB;;SAEC;QACD,MAAM,CAAC,EAAE,sDAAsD,CAAC;KACjE,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 GetFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;GAIG;AACH,MAAM,MAAM,sDAAsD,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 GetFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind];
|
|
15
|
+
export declare const GetFlowDefinition200FlowDefinitionStepsItemGatesKind: {
|
|
16
|
+
readonly captcha: "captcha";
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,oDAAoD,GAC9D,CAAC,OAAO,oDAAoD,CAAC,CAAC,MAAM,OAAO,oDAAoD,CAAC,CAAC;AAEnI,eAAO,MAAM,oDAAoD;aAC/D,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 GetFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess];
|
|
16
|
+
export declare const GetFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
|
|
17
|
+
readonly create_user: "create_user";
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,oDAAoD,GAC9D,CAAC,OAAO,oDAAoD,CAAC,CAAC,MAAM,OAAO,oDAAoD,CAAC,CAAC;AAEnI,eAAO,MAAM,oDAAoD;aAC/D,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 GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
|
|
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=getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map
|
package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,MAAM,2DAA2D,GAAG;IACxE,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 GetFlowDefinition200FlowDefinitionStepsItemTransitions = {
|
|
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=getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,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 GetFlowDefinitionParams = {
|
|
9
|
+
/**
|
|
10
|
+
* The project id to filter by.
|
|
11
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
12
|
+
*/
|
|
13
|
+
project_id: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=getFlowDefinitionParams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFlowDefinitionParams.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getFlowDefinitionParams.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 GetMyUser200 = {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=getMyUser200.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMyUser200.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getMyUser200.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC"}
|
|
@@ -5,16 +5,16 @@
|
|
|
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 {
|
|
8
|
+
import type { GetMyUser401Details } from "./getMyUser401Details";
|
|
9
9
|
/**
|
|
10
10
|
* Standard error payload returned for failed API requests.
|
|
11
11
|
*/
|
|
12
|
-
export type
|
|
12
|
+
export type GetMyUser401 = {
|
|
13
13
|
/** Stable machine-readable error code. */
|
|
14
14
|
code: string;
|
|
15
15
|
/** Human-readable explanation of the error. */
|
|
16
16
|
message: string;
|
|
17
17
|
/** Additional error-specific context. */
|
|
18
|
-
details?:
|
|
18
|
+
details?: GetMyUser401Details;
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=getMyUser401.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMyUser401.d.ts","sourceRoot":"","sources":["../../../src/generated/model/getMyUser401.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,OAAO,CAAC,EAAE,mBAAmB,CAAC;CAC/B,CAAC"}
|