@zitadel/components 0.1.0-alpha.0 → 0.1.0-alpha.11
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/README.md +76 -55
- package/dist/atoms/index.d.mts +1 -1
- package/dist/atoms/index.mjs +1 -1
- package/dist/{atoms-B9yd0c-i.mjs → atoms-BHSt5lSe.mjs} +229 -88
- package/dist/atoms-BHSt5lSe.mjs.map +1 -0
- package/dist/default-Cpl78hQN.mjs +6 -0
- package/dist/default-Cpl78hQN.mjs.map +1 -0
- package/dist/{index-B74_igDN.d.mts → index-Bv62se8F.d.mts} +92 -21
- package/dist/index-Bv62se8F.d.mts.map +1 -0
- package/dist/{index-Dd8hfOWt.d.mts → index-DVDCrfkv.d.mts} +1515 -827
- package/dist/index-DVDCrfkv.d.mts.map +1 -0
- package/dist/{index-EJengPPu.d.mts → index-EC-BnGsx.d.mts} +3 -3
- package/dist/{index-EJengPPu.d.mts.map → index-EC-BnGsx.d.mts.map} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/dist/manifests.mjs +1 -1
- package/dist/orchestrator/index.d.mts +2 -2
- package/dist/orchestrator/index.mjs +2 -2
- package/dist/{orchestrator-B8eXcPRi.mjs → orchestrator-BeTmVk54.mjs} +486 -173
- package/dist/orchestrator-BeTmVk54.mjs.map +1 -0
- package/dist/standalone.mjs +12187 -0
- package/dist/tokens/index.d.mts +1 -1
- package/dist/tokens/index.mjs +1 -1
- package/dist/{tokens-TXmurodq.mjs → tokens-C0j4iCrs.mjs} +4 -4
- package/dist/tokens-C0j4iCrs.mjs.map +1 -0
- package/package.json +8 -16
- package/dist/atoms/index.d.ts +0 -9
- package/dist/atoms/index.d.ts.map +0 -1
- package/dist/atoms/zl-alert.d.ts +0 -56
- package/dist/atoms/zl-alert.d.ts.map +0 -1
- package/dist/atoms/zl-button.d.ts +0 -83
- package/dist/atoms/zl-button.d.ts.map +0 -1
- package/dist/atoms/zl-card.d.ts +0 -46
- package/dist/atoms/zl-card.d.ts.map +0 -1
- package/dist/atoms/zl-field.d.ts +0 -80
- package/dist/atoms/zl-field.d.ts.map +0 -1
- package/dist/atoms/zl-icon.d.ts +0 -48
- package/dist/atoms/zl-icon.d.ts.map +0 -1
- package/dist/atoms/zl-page-shell.d.ts +0 -42
- package/dist/atoms/zl-page-shell.d.ts.map +0 -1
- package/dist/atoms/zl-passkey.d.ts +0 -123
- package/dist/atoms/zl-passkey.d.ts.map +0 -1
- package/dist/atoms/zl-pill.d.ts +0 -55
- package/dist/atoms/zl-pill.d.ts.map +0 -1
- package/dist/atoms-B9yd0c-i.mjs.map +0 -1
- package/dist/default-DP74t2io.mjs +0 -6
- package/dist/default-DP74t2io.mjs.map +0 -1
- package/dist/index-B74_igDN.d.mts.map +0 -1
- package/dist/index-Dd8hfOWt.d.mts.map +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.d.ts.map +0 -1
- package/dist/internal/base64url.d.ts +0 -18
- package/dist/internal/base64url.d.ts.map +0 -1
- package/dist/internal/unique-id.d.ts +0 -2
- package/dist/internal/unique-id.d.ts.map +0 -1
- package/dist/manifest.d.ts +0 -36
- package/dist/manifest.d.ts.map +0 -1
- package/dist/manifests.d.ts +0 -6
- package/dist/manifests.d.ts.map +0 -1
- package/dist/orchestrator/api-client.d.ts +0 -33
- package/dist/orchestrator/api-client.d.ts.map +0 -1
- package/dist/orchestrator/branding-to-tokens.d.ts +0 -28
- package/dist/orchestrator/branding-to-tokens.d.ts.map +0 -1
- package/dist/orchestrator/branding-validator.d.ts +0 -7
- package/dist/orchestrator/branding-validator.d.ts.map +0 -1
- package/dist/orchestrator/branding.d.ts +0 -76
- package/dist/orchestrator/branding.d.ts.map +0 -1
- package/dist/orchestrator/font-loader.d.ts +0 -2
- package/dist/orchestrator/font-loader.d.ts.map +0 -1
- package/dist/orchestrator/index.d.ts +0 -23
- package/dist/orchestrator/index.d.ts.map +0 -1
- package/dist/orchestrator/liquid.d.ts +0 -31
- package/dist/orchestrator/liquid.d.ts.map +0 -1
- package/dist/orchestrator/locales/de.d.ts +0 -16
- package/dist/orchestrator/locales/de.d.ts.map +0 -1
- package/dist/orchestrator/locales/en.d.ts +0 -19
- package/dist/orchestrator/locales/en.d.ts.map +0 -1
- package/dist/orchestrator/locales/index.d.ts +0 -13
- package/dist/orchestrator/locales/index.d.ts.map +0 -1
- package/dist/orchestrator/locales/it.d.ts +0 -14
- package/dist/orchestrator/locales/it.d.ts.map +0 -1
- package/dist/orchestrator/mandatory-gates.d.ts +0 -26
- package/dist/orchestrator/mandatory-gates.d.ts.map +0 -1
- package/dist/orchestrator/sanitiser.d.ts +0 -6
- package/dist/orchestrator/sanitiser.d.ts.map +0 -1
- package/dist/orchestrator/template-context.d.ts +0 -55
- package/dist/orchestrator/template-context.d.ts.map +0 -1
- package/dist/orchestrator/template-names.d.ts +0 -16
- package/dist/orchestrator/template-names.d.ts.map +0 -1
- package/dist/orchestrator/theme-controller.d.ts +0 -30
- package/dist/orchestrator/theme-controller.d.ts.map +0 -1
- package/dist/orchestrator/zitadel-login.d.ts +0 -185
- package/dist/orchestrator/zitadel-login.d.ts.map +0 -1
- package/dist/orchestrator/zitadel-logout.d.ts +0 -86
- package/dist/orchestrator/zitadel-logout.d.ts.map +0 -1
- package/dist/orchestrator-B8eXcPRi.mjs.map +0 -1
- package/dist/styles/base.d.ts +0 -7
- package/dist/styles/base.d.ts.map +0 -1
- package/dist/styles/focus-ring.d.ts +0 -7
- package/dist/styles/focus-ring.d.ts.map +0 -1
- package/dist/styles/index.d.ts +0 -5
- package/dist/styles/index.d.ts.map +0 -1
- package/dist/styles/surface.d.ts +0 -8
- package/dist/styles/surface.d.ts.map +0 -1
- package/dist/styles/tokens.d.ts +0 -11
- package/dist/styles/tokens.d.ts.map +0 -1
- package/dist/tokens/index.d.ts +0 -9
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens-TXmurodq.mjs.map +0 -1
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -168,12 +168,28 @@ declare class ZlButton extends LitElement {
|
|
|
168
168
|
accessor disabled: boolean;
|
|
169
169
|
accessor block: boolean;
|
|
170
170
|
accessor label: string | undefined;
|
|
171
|
+
accessor testId: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Forces a visual interaction state on the inner button, projected to its
|
|
174
|
+
* `data-state` attribute. Used by the design playground to capture
|
|
175
|
+
* hover/pressed/focus states; reactive so toggling the host attribute
|
|
176
|
+
* re-renders.
|
|
177
|
+
*/
|
|
178
|
+
accessor forcedState: string | null;
|
|
171
179
|
private readonly internals;
|
|
172
180
|
constructor();
|
|
181
|
+
connectedCallback(): void;
|
|
182
|
+
disconnectedCallback(): void;
|
|
173
183
|
focus(options?: FocusOptions): void;
|
|
174
|
-
private surfaceClasses;
|
|
175
184
|
render(): _$lit.TemplateResult<1>;
|
|
176
185
|
private handleClick;
|
|
186
|
+
private handleHostClick;
|
|
187
|
+
private nativeButtonTestId;
|
|
188
|
+
private buttonType;
|
|
189
|
+
private buttonAction;
|
|
190
|
+
private activate;
|
|
191
|
+
private stringOption;
|
|
192
|
+
private booleanOption;
|
|
177
193
|
}
|
|
178
194
|
declare const zlButtonManifest: AtomManifest;
|
|
179
195
|
declare global {
|
|
@@ -217,6 +233,13 @@ declare class ZlCard extends LitElement {
|
|
|
217
233
|
static styles: _$lit.CSSResult[];
|
|
218
234
|
accessor compact: boolean;
|
|
219
235
|
render(): _$lit.TemplateResult<1>;
|
|
236
|
+
/**
|
|
237
|
+
* `lightDomSlotFilled` is a render-time snapshot, so re-run render whenever a
|
|
238
|
+
* named slot's assignment changes (e.g. a header added after first paint).
|
|
239
|
+
* The initial render still reads children synchronously, avoiding the
|
|
240
|
+
* empty-then-filled flash a slotchange-only approach would introduce.
|
|
241
|
+
*/
|
|
242
|
+
private onSlotChange;
|
|
220
243
|
/** Slotted nodes are always light-DOM children of the host in our templates. */
|
|
221
244
|
private lightDomSlotFilled;
|
|
222
245
|
}
|
|
@@ -227,7 +250,7 @@ declare global {
|
|
|
227
250
|
}
|
|
228
251
|
} //# sourceMappingURL=zl-card.d.ts.map
|
|
229
252
|
//#endregion
|
|
230
|
-
//#region ../api/dist/index-
|
|
253
|
+
//#region ../api/dist/index-BGnjxx-b.d.mts
|
|
231
254
|
//#region src/generated/model/authorizeDevice200.d.ts
|
|
232
255
|
/**
|
|
233
256
|
* Generated by orval v8.10.0 🍺
|
|
@@ -773,7 +796,7 @@ type CreateFlow201Branding = {
|
|
|
773
796
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
774
797
|
hero_url?: string;
|
|
775
798
|
}; //#endregion
|
|
776
|
-
//#region src/generated/model/
|
|
799
|
+
//#region src/generated/model/createFlow201StepActionsItem.d.ts
|
|
777
800
|
/**
|
|
778
801
|
* Generated by orval v8.10.0 🍺
|
|
779
802
|
* Do not edit manually.
|
|
@@ -782,24 +805,23 @@ type CreateFlow201Branding = {
|
|
|
782
805
|
* OpenAPI spec version: 0.0.1
|
|
783
806
|
*/
|
|
784
807
|
/**
|
|
785
|
-
*
|
|
786
|
-
|
|
808
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
809
|
+
back in the submit request as `action`.
|
|
787
810
|
|
|
788
811
|
*/
|
|
789
|
-
type
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
};
|
|
812
|
+
type CreateFlow201StepActionsItem = {
|
|
813
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
814
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
815
|
+
this hint to choose visual emphasis. At most one action per step
|
|
816
|
+
should be primary; this is not enforced here.
|
|
817
|
+
*/
|
|
818
|
+
primary?: boolean;
|
|
819
|
+
/** Optional localization key override for the action's label. When
|
|
820
|
+
omitted, the engine derives a key from the step and action names.
|
|
821
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
822
|
+
by the engine.
|
|
823
|
+
*/
|
|
824
|
+
text_key?: string;
|
|
803
825
|
}; //#endregion
|
|
804
826
|
//#region src/generated/model/createFlow201StepChallengeMethod.d.ts
|
|
805
827
|
/**
|
|
@@ -877,7 +899,7 @@ declare const CreateFlow201StepComplete: {
|
|
|
877
899
|
readonly redirect: "redirect";
|
|
878
900
|
readonly show: "show";
|
|
879
901
|
}; //#endregion
|
|
880
|
-
//#region src/generated/model/
|
|
902
|
+
//#region src/generated/model/createFlow201StepFieldsItemType.d.ts
|
|
881
903
|
/**
|
|
882
904
|
* Generated by orval v8.10.0 🍺
|
|
883
905
|
* Do not edit manually.
|
|
@@ -886,14 +908,15 @@ declare const CreateFlow201StepComplete: {
|
|
|
886
908
|
* OpenAPI spec version: 0.0.1
|
|
887
909
|
*/
|
|
888
910
|
/**
|
|
889
|
-
* The input kind the client should render. Encodes the formats
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
911
|
+
* The input kind the client should render. Encodes the formats and
|
|
912
|
+
JSON types that map to a familiar HTML input: `email`, `url`,
|
|
913
|
+
`date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
914
|
+
`select` from a closed `enum`. For other formats (e.g. uuid) the
|
|
915
|
+
type is `text` and `validation.format` carries the rule.
|
|
893
916
|
|
|
894
917
|
*/
|
|
895
|
-
type
|
|
896
|
-
declare const
|
|
918
|
+
type CreateFlow201StepFieldsItemType = (typeof CreateFlow201StepFieldsItemType)[keyof typeof CreateFlow201StepFieldsItemType];
|
|
919
|
+
declare const CreateFlow201StepFieldsItemType: {
|
|
897
920
|
readonly text: "text";
|
|
898
921
|
readonly email: "email";
|
|
899
922
|
readonly password: "password";
|
|
@@ -902,8 +925,10 @@ declare const CreateFlow201StepFieldsType: {
|
|
|
902
925
|
readonly url: "url";
|
|
903
926
|
readonly date: "date";
|
|
904
927
|
readonly hidden: "hidden";
|
|
928
|
+
readonly checkbox: "checkbox";
|
|
929
|
+
readonly select: "select";
|
|
905
930
|
}; //#endregion
|
|
906
|
-
//#region src/generated/model/
|
|
931
|
+
//#region src/generated/model/createFlow201StepFieldsItemValidationFormat.d.ts
|
|
907
932
|
/**
|
|
908
933
|
* Generated by orval v8.10.0 🍺
|
|
909
934
|
* Do not edit manually.
|
|
@@ -919,14 +944,14 @@ sufficient for client-side validation. When `type` is `text`
|
|
|
919
944
|
(e.g. `format: uuid`), this key is the only signal.
|
|
920
945
|
|
|
921
946
|
*/
|
|
922
|
-
type
|
|
923
|
-
declare const
|
|
947
|
+
type CreateFlow201StepFieldsItemValidationFormat = (typeof CreateFlow201StepFieldsItemValidationFormat)[keyof typeof CreateFlow201StepFieldsItemValidationFormat];
|
|
948
|
+
declare const CreateFlow201StepFieldsItemValidationFormat: {
|
|
924
949
|
readonly email: "email";
|
|
925
950
|
readonly "date-time": "date-time";
|
|
926
951
|
readonly uuid: "uuid";
|
|
927
952
|
readonly uri: "uri";
|
|
928
953
|
}; //#endregion
|
|
929
|
-
//#region src/generated/model/
|
|
954
|
+
//#region src/generated/model/createFlow201StepFieldsItemValidation.d.ts
|
|
930
955
|
/**
|
|
931
956
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
932
957
|
server runs the same rules on submit and is the only authority on
|
|
@@ -938,14 +963,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
|
|
|
938
963
|
property; absent keys mean no rule.
|
|
939
964
|
|
|
940
965
|
*/
|
|
941
|
-
type
|
|
966
|
+
type CreateFlow201StepFieldsItemValidation = {
|
|
942
967
|
/** Semantic format the value must match. Values mirror the user
|
|
943
968
|
meta-schema. When `type` already encodes the format (email,
|
|
944
969
|
url, date), this key is informative and the input type is
|
|
945
970
|
sufficient for client-side validation. When `type` is `text`
|
|
946
971
|
(e.g. `format: uuid`), this key is the only signal.
|
|
947
972
|
*/
|
|
948
|
-
format?:
|
|
973
|
+
format?: CreateFlow201StepFieldsItemValidationFormat;
|
|
949
974
|
/**
|
|
950
975
|
* Minimum length in characters (inclusive). Mirrors `minLength`.
|
|
951
976
|
* @minimum 0
|
|
@@ -956,39 +981,46 @@ type CreateFlow201StepFieldsValidation = {
|
|
|
956
981
|
* @minimum 0
|
|
957
982
|
*/
|
|
958
983
|
max_length?: number;
|
|
984
|
+
/** Closed list of allowed values. Mirrors the JSON Schema `enum`
|
|
985
|
+
keyword on the underlying user property. When `type` is
|
|
986
|
+
`select` the client renders these as options; for other types
|
|
987
|
+
the rule still applies as a membership check.
|
|
988
|
+
*/
|
|
989
|
+
enum?: string[];
|
|
959
990
|
}; //#endregion
|
|
960
|
-
//#region src/generated/model/
|
|
991
|
+
//#region src/generated/model/createFlow201StepFieldsItem.d.ts
|
|
961
992
|
/**
|
|
962
|
-
*
|
|
963
|
-
|
|
964
|
-
Field metadata (type, validation) is resolved by the engine from the
|
|
965
|
-
flow's user schema.
|
|
993
|
+
* A data input capability. Describes what the user must provide.
|
|
994
|
+
Does not contain display text — only a `text_key` resolved client-side.
|
|
966
995
|
|
|
967
996
|
*/
|
|
968
|
-
type
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
997
|
+
type CreateFlow201StepFieldsItem = {
|
|
998
|
+
/** Field name, matching a property in the flow's user schema. Carries
|
|
999
|
+
the submitted value back to the engine.
|
|
1000
|
+
*/
|
|
1001
|
+
name: string;
|
|
1002
|
+
/** The input kind the client should render. Encodes the formats and
|
|
1003
|
+
JSON types that map to a familiar HTML input: `email`, `url`,
|
|
1004
|
+
`date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
1005
|
+
`select` from a closed `enum`. For other formats (e.g. uuid) the
|
|
1006
|
+
type is `text` and `validation.format` carries the rule.
|
|
1007
|
+
*/
|
|
1008
|
+
type: CreateFlow201StepFieldsItemType; /** Localization key for the field label. */
|
|
1009
|
+
text_key: string;
|
|
1010
|
+
/** The field MUST be present and non-empty on submit. Mirrors the
|
|
1011
|
+
schema's top-level `required` array.
|
|
1012
|
+
*/
|
|
1013
|
+
required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
|
|
1014
|
+
value?: unknown;
|
|
1015
|
+
/** Schema-derived rules the frontend SHOULD apply at input time. The
|
|
1016
|
+
server runs the same rules on submit and is the only authority on
|
|
1017
|
+
whether the step advances — these rules are a UX hint to reduce
|
|
1018
|
+
round trips, not a contract guarantee.
|
|
1019
|
+
Omitted entirely when the field has no rules beyond its `type`.
|
|
1020
|
+
Each key mirrors a JSON Schema keyword on the underlying user
|
|
1021
|
+
property; absent keys mean no rule.
|
|
1022
|
+
*/
|
|
1023
|
+
validation?: CreateFlow201StepFieldsItemValidation;
|
|
992
1024
|
}; //#endregion
|
|
993
1025
|
//#region src/generated/model/createFlow201StepGatesConfig.d.ts
|
|
994
1026
|
/**
|
|
@@ -1084,9 +1116,10 @@ type CreateFlow201StepTexts = {
|
|
|
1084
1116
|
}; //#endregion
|
|
1085
1117
|
//#region src/generated/model/createFlow201Step.d.ts
|
|
1086
1118
|
/**
|
|
1087
|
-
* A step contains
|
|
1119
|
+
* A step contains ordered capability arrays: what to collect (fields),
|
|
1088
1120
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
1089
|
-
|
|
1121
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
1122
|
+
and builds name-keyed indexes locally for lookup.
|
|
1090
1123
|
|
|
1091
1124
|
*/
|
|
1092
1125
|
type CreateFlow201Step = {
|
|
@@ -1102,16 +1135,16 @@ type CreateFlow201Step = {
|
|
|
1102
1135
|
*/
|
|
1103
1136
|
complete?: CreateFlow201StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
|
|
1104
1137
|
redirect_url?: string;
|
|
1105
|
-
/**
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1138
|
+
/** Ordered list of input fields to collect. Field metadata (type, validation)
|
|
1139
|
+
is resolved by the engine from the flow's user schema. The LiquidJS
|
|
1140
|
+
template iterates this array; for keyed lookup it builds a name-indexed
|
|
1141
|
+
map locally.
|
|
1109
1142
|
*/
|
|
1110
|
-
fields:
|
|
1111
|
-
/**
|
|
1112
|
-
|
|
1143
|
+
fields: CreateFlow201StepFieldsItem[];
|
|
1144
|
+
/** Ordered list of available user actions. The LiquidJS template iterates
|
|
1145
|
+
this array and builds a name-indexed map locally for keyed lookup.
|
|
1113
1146
|
*/
|
|
1114
|
-
actions:
|
|
1147
|
+
actions: CreateFlow201StepActionsItem[];
|
|
1115
1148
|
/** Security gates that must be satisfied before the step can be submitted.
|
|
1116
1149
|
The engine injects gates dynamically based on policy, even if they
|
|
1117
1150
|
are not declared in the flow definition.
|
|
@@ -1136,9 +1169,10 @@ type CreateFlow201 = {
|
|
|
1136
1169
|
id: string; /** Underlying session ID. Stable across all stacked flows. */
|
|
1137
1170
|
session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
|
|
1138
1171
|
session_token?: string;
|
|
1139
|
-
/** A step contains
|
|
1172
|
+
/** A step contains ordered capability arrays: what to collect (fields),
|
|
1140
1173
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
1141
|
-
|
|
1174
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
1175
|
+
and builds name-keyed indexes locally for lookup.
|
|
1142
1176
|
*/
|
|
1143
1177
|
step: CreateFlow201Step;
|
|
1144
1178
|
/** Resolved branding configuration. Inherited from the app → team → project
|
|
@@ -1242,168 +1276,7 @@ type CreateFlowBody = {
|
|
|
1242
1276
|
* Additional error-specific context.
|
|
1243
1277
|
*/
|
|
1244
1278
|
//#endregion
|
|
1245
|
-
//#region src/generated/model/
|
|
1246
|
-
/**
|
|
1247
|
-
* Generated by orval v8.10.0 🍺
|
|
1248
|
-
* Do not edit manually.
|
|
1249
|
-
* Zitadel NextGen
|
|
1250
|
-
* This is the next generation of the Zitadel identity platform.
|
|
1251
|
-
* OpenAPI spec version: 0.0.1
|
|
1252
|
-
*/
|
|
1253
|
-
type CreateFlowDefinition201 = {
|
|
1254
|
-
/**
|
|
1255
|
-
* Stable identifier for this flow, used as the target of cross-flow
|
|
1256
|
-
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
1257
|
-
`name` is part of the public contract another definition may
|
|
1258
|
-
reference. Acts as the human display label as well; no separate slug.
|
|
1259
|
-
* @pattern ^[a-z][a-z0-9-]*$
|
|
1260
|
-
*/
|
|
1261
|
-
name: string;
|
|
1262
|
-
/** User schema this flow operates on. Step `fields` reference properties
|
|
1263
|
-
defined in this schema. The engine resolves field types, validation,
|
|
1264
|
-
and implicit outcomes from schema annotations at runtime.
|
|
1265
|
-
*/
|
|
1266
|
-
user_schema: string;
|
|
1267
|
-
/** Maps each purpose this definition handles to its entry-point step.
|
|
1268
|
-
Keys are purpose names; values must match a `name` in `steps`. A
|
|
1269
|
-
definition can serve multiple purposes (e.g. a combined login/register
|
|
1270
|
-
flow) by listing one entry per purpose.
|
|
1271
|
-
*/
|
|
1272
|
-
purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
|
|
1273
|
-
/** Scopes which teams or apps this flow definition applies to. Empty or
|
|
1274
|
-
omitted fields mean "no restriction"; when both are empty the definition
|
|
1275
|
-
matches every request in the project. The engine picks the most specific
|
|
1276
|
-
matching definition: app > team > project-wide.
|
|
1277
|
-
*/
|
|
1278
|
-
audience?: {
|
|
1279
|
-
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
1280
|
-
app_ids?: string[];
|
|
1281
|
-
};
|
|
1282
|
-
/**
|
|
1283
|
-
* Ordered list of steps in this flow. The order is for human readability —
|
|
1284
|
-
actual step sequencing is determined by transitions.
|
|
1285
|
-
* @minItems 1
|
|
1286
|
-
*/
|
|
1287
|
-
steps: {
|
|
1288
|
-
/** Unique step identifier within this flow. Used as transition targets
|
|
1289
|
-
and returned in the API response as `step.name`.
|
|
1290
|
-
*/
|
|
1291
|
-
name: string;
|
|
1292
|
-
/** Schema property names to collect from the user. Each entry references
|
|
1293
|
-
a property in the flow's user schema. The engine resolves field type,
|
|
1294
|
-
validation rules, and implicit outcomes from schema annotations
|
|
1295
|
-
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
1296
|
-
transition outcome).
|
|
1297
|
-
*/
|
|
1298
|
-
fields?: string[];
|
|
1299
|
-
/** Actions the user can take. Keyed by action name.
|
|
1300
|
-
The action name is what the frontend sends back in the submit request.
|
|
1301
|
-
If omitted, the engine provides a default `submit` action.
|
|
1302
|
-
*/
|
|
1303
|
-
actions?: {
|
|
1304
|
-
[key: string]: {
|
|
1305
|
-
/** Marks this as the default/primary action. The runtime template uses
|
|
1306
|
-
this hint to choose visual emphasis. At most one action per step
|
|
1307
|
-
should be primary; this is not enforced here.
|
|
1308
|
-
*/
|
|
1309
|
-
primary?: boolean;
|
|
1310
|
-
/** Optional localization key override for the action's label. When
|
|
1311
|
-
omitted, the engine derives a key from the step and action names.
|
|
1312
|
-
Display text is resolved client-side from a locale dictionary, never
|
|
1313
|
-
by the engine.
|
|
1314
|
-
*/
|
|
1315
|
-
text_key?: string;
|
|
1316
|
-
};
|
|
1317
|
-
};
|
|
1318
|
-
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
1319
|
-
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
1320
|
-
configuration. The engine may also inject gates dynamically based on
|
|
1321
|
-
policy.
|
|
1322
|
-
*/
|
|
1323
|
-
gates?: {
|
|
1324
|
-
[key: string]: {
|
|
1325
|
-
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
1326
|
-
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
1327
|
-
`x-credential` on a field, not as gates.
|
|
1328
|
-
*/
|
|
1329
|
-
kind: "captcha";
|
|
1330
|
-
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
1331
|
-
`hcaptcha`. The engine looks up an implementation in its provider
|
|
1332
|
-
registry.
|
|
1333
|
-
*/
|
|
1334
|
-
provider: string;
|
|
1335
|
-
/** Provider-specific configuration consumed by the implementation when
|
|
1336
|
-
issuing the per-render challenge. Opaque to the engine.
|
|
1337
|
-
*/
|
|
1338
|
-
config?: {
|
|
1339
|
-
[key: string]: unknown;
|
|
1340
|
-
};
|
|
1341
|
-
};
|
|
1342
|
-
}; /** Available SSO identity providers for this step. */
|
|
1343
|
-
sso_providers?: {
|
|
1344
|
-
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
1345
|
-
name: string; /** Template hint for rendering (logo, colors). */
|
|
1346
|
-
template: string;
|
|
1347
|
-
}[];
|
|
1348
|
-
/** Server-side mutation to execute when this step completes successfully.
|
|
1349
|
-
Runs after field validation passes, before the transition fires.
|
|
1350
|
-
- create_user: creates the user record (registration flows)
|
|
1351
|
-
*/
|
|
1352
|
-
on_success?: "create_user";
|
|
1353
|
-
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
1354
|
-
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
1355
|
-
- show: render as a success/info screen
|
|
1356
|
-
*/
|
|
1357
|
-
complete?: "redirect" | "show";
|
|
1358
|
-
/** Maps action/outcome names to their transition descriptor.
|
|
1359
|
-
Keys match action names from the `actions` dict. Additional keys
|
|
1360
|
-
come from implicit outcomes based on schema annotations
|
|
1361
|
-
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1362
|
-
events (e.g. `sso`, `callback`).
|
|
1363
|
-
*/
|
|
1364
|
-
transitions?: {
|
|
1365
|
-
[key: string]: {
|
|
1366
|
-
/** Step name within this flow (when `action` is null), or the name
|
|
1367
|
-
of another flow (when `action` is `switch` or `pivot`).
|
|
1368
|
-
*/
|
|
1369
|
-
target: string;
|
|
1370
|
-
/** How to interpret `target`:
|
|
1371
|
-
- null (omitted): transition to a step in the current flow.
|
|
1372
|
-
- switch: replace the current flow with the target flow.
|
|
1373
|
-
No return — the current flow is discarded.
|
|
1374
|
-
Example: login ↔ register.
|
|
1375
|
-
- pivot: push the target flow onto the stack. The current flow
|
|
1376
|
-
is paused and resumes when the target flow completes (auto-pop).
|
|
1377
|
-
Example: login → recovery → back to login.
|
|
1378
|
-
*/
|
|
1379
|
-
action?: "switch" | "pivot" | null;
|
|
1380
|
-
};
|
|
1381
|
-
};
|
|
1382
|
-
}[];
|
|
1383
|
-
} & {
|
|
1384
|
-
/** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
|
|
1385
|
-
project_id: string;
|
|
1386
|
-
/** URI of the flow definition schema this definition was authored against.
|
|
1387
|
-
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.
|
|
1388
|
-
*/
|
|
1389
|
-
schema_uri: string; /** Status of the flow definition. */
|
|
1390
|
-
status: string;
|
|
1391
|
-
created_at: string;
|
|
1392
|
-
updated_at: string;
|
|
1393
|
-
}; //#endregion
|
|
1394
|
-
//#region src/generated/model/createFlowDefinition400Details.d.ts
|
|
1395
|
-
/**
|
|
1396
|
-
* Generated by orval v8.10.0 🍺
|
|
1397
|
-
* Do not edit manually.
|
|
1398
|
-
* Zitadel NextGen
|
|
1399
|
-
* This is the next generation of the Zitadel identity platform.
|
|
1400
|
-
* OpenAPI spec version: 0.0.1
|
|
1401
|
-
*/
|
|
1402
|
-
/**
|
|
1403
|
-
* Additional error-specific context.
|
|
1404
|
-
*/
|
|
1405
|
-
//#endregion
|
|
1406
|
-
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts
|
|
1279
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts
|
|
1407
1280
|
/**
|
|
1408
1281
|
* Generated by orval v8.10.0 🍺
|
|
1409
1282
|
* Do not edit manually.
|
|
@@ -1418,11 +1291,11 @@ matches every request in the project. The engine picks the most specific
|
|
|
1418
1291
|
matching definition: app > team > project-wide.
|
|
1419
1292
|
|
|
1420
1293
|
*/
|
|
1421
|
-
type
|
|
1294
|
+
type CreateFlowDefinition201FlowDefinitionAudience = {
|
|
1422
1295
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
1423
1296
|
app_ids?: string[];
|
|
1424
1297
|
}; //#endregion
|
|
1425
|
-
//#region src/generated/model/
|
|
1298
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.d.ts
|
|
1426
1299
|
/**
|
|
1427
1300
|
* Generated by orval v8.10.0 🍺
|
|
1428
1301
|
* Do not edit manually.
|
|
@@ -1431,27 +1304,25 @@ type CreateFlowDefinitionBodyFlowDefinitionAudience = {
|
|
|
1431
1304
|
* OpenAPI spec version: 0.0.1
|
|
1432
1305
|
*/
|
|
1433
1306
|
/**
|
|
1434
|
-
*
|
|
1435
|
-
|
|
1436
|
-
If omitted, the engine provides a default `submit` action.
|
|
1307
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
1308
|
+
back in the submit request as `action`.
|
|
1437
1309
|
|
|
1438
1310
|
*/
|
|
1439
|
-
type
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
};
|
|
1311
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemActionsItem = {
|
|
1312
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
1313
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
1314
|
+
this hint to choose visual emphasis. At most one action per step
|
|
1315
|
+
should be primary; this is not enforced here.
|
|
1316
|
+
*/
|
|
1317
|
+
primary?: boolean;
|
|
1318
|
+
/** Optional localization key override for the action's label. When
|
|
1319
|
+
omitted, the engine derives a key from the step and action names.
|
|
1320
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
1321
|
+
by the engine.
|
|
1322
|
+
*/
|
|
1323
|
+
text_key?: string;
|
|
1453
1324
|
}; //#endregion
|
|
1454
|
-
//#region src/generated/model/
|
|
1325
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts
|
|
1455
1326
|
/**
|
|
1456
1327
|
* Generated by orval v8.10.0 🍺
|
|
1457
1328
|
* Do not edit manually.
|
|
@@ -1465,12 +1336,12 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemActions = {
|
|
|
1465
1336
|
- show: render as a success/info screen
|
|
1466
1337
|
|
|
1467
1338
|
*/
|
|
1468
|
-
type
|
|
1469
|
-
declare const
|
|
1339
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemComplete = (typeof CreateFlowDefinition201FlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemComplete];
|
|
1340
|
+
declare const CreateFlowDefinition201FlowDefinitionStepsItemComplete: {
|
|
1470
1341
|
readonly redirect: "redirect";
|
|
1471
1342
|
readonly show: "show";
|
|
1472
1343
|
}; //#endregion
|
|
1473
|
-
//#region src/generated/model/
|
|
1344
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts
|
|
1474
1345
|
/**
|
|
1475
1346
|
* Generated by orval v8.10.0 🍺
|
|
1476
1347
|
* Do not edit manually.
|
|
@@ -1483,10 +1354,10 @@ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
|
|
|
1483
1354
|
issuing the per-render challenge. Opaque to the engine.
|
|
1484
1355
|
|
|
1485
1356
|
*/
|
|
1486
|
-
type
|
|
1357
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig = {
|
|
1487
1358
|
[key: string]: unknown;
|
|
1488
1359
|
}; //#endregion
|
|
1489
|
-
//#region src/generated/model/
|
|
1360
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts
|
|
1490
1361
|
/**
|
|
1491
1362
|
* Generated by orval v8.10.0 🍺
|
|
1492
1363
|
* Do not edit manually.
|
|
@@ -1500,11 +1371,11 @@ ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
|
1500
1371
|
`x-credential` on a field, not as gates.
|
|
1501
1372
|
|
|
1502
1373
|
*/
|
|
1503
|
-
type
|
|
1504
|
-
declare const
|
|
1374
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemGatesKind];
|
|
1375
|
+
declare const CreateFlowDefinition201FlowDefinitionStepsItemGatesKind: {
|
|
1505
1376
|
readonly captcha: "captcha";
|
|
1506
1377
|
}; //#endregion
|
|
1507
|
-
//#region src/generated/model/
|
|
1378
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts
|
|
1508
1379
|
/**
|
|
1509
1380
|
* Security gates that must be satisfied before submission. Keyed by gate
|
|
1510
1381
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
@@ -1512,13 +1383,13 @@ configuration. The engine may also inject gates dynamically based on
|
|
|
1512
1383
|
policy.
|
|
1513
1384
|
|
|
1514
1385
|
*/
|
|
1515
|
-
type
|
|
1386
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemGates = {
|
|
1516
1387
|
[key: string]: {
|
|
1517
1388
|
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
1518
1389
|
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
1519
1390
|
`x-credential` on a field, not as gates.
|
|
1520
1391
|
*/
|
|
1521
|
-
kind:
|
|
1392
|
+
kind: CreateFlowDefinition201FlowDefinitionStepsItemGatesKind;
|
|
1522
1393
|
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
1523
1394
|
`hcaptcha`. The engine looks up an implementation in its provider
|
|
1524
1395
|
registry.
|
|
@@ -1527,10 +1398,10 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
|
|
|
1527
1398
|
/** Provider-specific configuration consumed by the implementation when
|
|
1528
1399
|
issuing the per-render challenge. Opaque to the engine.
|
|
1529
1400
|
*/
|
|
1530
|
-
config?:
|
|
1401
|
+
config?: CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig;
|
|
1531
1402
|
};
|
|
1532
1403
|
}; //#endregion
|
|
1533
|
-
//#region src/generated/model/
|
|
1404
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts
|
|
1534
1405
|
/**
|
|
1535
1406
|
* Generated by orval v8.10.0 🍺
|
|
1536
1407
|
* Do not edit manually.
|
|
@@ -1545,11 +1416,11 @@ Runs after field validation passes, before the transition fires.
|
|
|
1545
1416
|
- create_user: creates the user record (registration flows)
|
|
1546
1417
|
|
|
1547
1418
|
*/
|
|
1548
|
-
type
|
|
1549
|
-
declare const
|
|
1419
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess];
|
|
1420
|
+
declare const CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess: {
|
|
1550
1421
|
readonly create_user: "create_user";
|
|
1551
1422
|
}; //#endregion
|
|
1552
|
-
//#region src/generated/model/
|
|
1423
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts
|
|
1553
1424
|
/**
|
|
1554
1425
|
* Generated by orval v8.10.0 🍺
|
|
1555
1426
|
* Do not edit manually.
|
|
@@ -1560,12 +1431,12 @@ declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
|
|
|
1560
1431
|
/**
|
|
1561
1432
|
* An available SSO identity provider.
|
|
1562
1433
|
*/
|
|
1563
|
-
type
|
|
1434
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem = {
|
|
1564
1435
|
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
1565
1436
|
name: string; /** Template hint for rendering (logo, colors). */
|
|
1566
1437
|
template: string;
|
|
1567
1438
|
}; //#endregion
|
|
1568
|
-
//#region src/generated/model/
|
|
1439
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts
|
|
1569
1440
|
/**
|
|
1570
1441
|
* Generated by orval v8.10.0 🍺
|
|
1571
1442
|
* Do not edit manually.
|
|
@@ -1576,13 +1447,13 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
|
|
|
1576
1447
|
/**
|
|
1577
1448
|
* Maps action/outcome names to their transition descriptor.
|
|
1578
1449
|
|
|
1579
|
-
Keys match action names from the `actions`
|
|
1450
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1580
1451
|
come from implicit outcomes based on schema annotations
|
|
1581
1452
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1582
1453
|
events (e.g. `sso`, `callback`).
|
|
1583
1454
|
|
|
1584
1455
|
*/
|
|
1585
|
-
type
|
|
1456
|
+
type CreateFlowDefinition201FlowDefinitionStepsItemTransitions = {
|
|
1586
1457
|
[key: string]: {
|
|
1587
1458
|
/** Step name within this flow (when `action` is null), or the name
|
|
1588
1459
|
of another flow (when `action` is `switch` or `pivot`).
|
|
@@ -1600,7 +1471,7 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
|
|
|
1600
1471
|
action?: "switch" | "pivot" | null;
|
|
1601
1472
|
};
|
|
1602
1473
|
}; //#endregion
|
|
1603
|
-
//#region src/generated/model/
|
|
1474
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts
|
|
1604
1475
|
/**
|
|
1605
1476
|
* A step in a flow definition. This is the admin-authored configuration,
|
|
1606
1477
|
not the runtime payload sent to the frontend.
|
|
@@ -1613,7 +1484,7 @@ A step with only `complete` set is a terminal step. All other steps are
|
|
|
1613
1484
|
rendered to the frontend as capability payloads.
|
|
1614
1485
|
|
|
1615
1486
|
*/
|
|
1616
|
-
type
|
|
1487
|
+
type CreateFlowDefinition201FlowDefinitionStepsItem = {
|
|
1617
1488
|
/** Unique step identifier within this flow. Used as transition targets
|
|
1618
1489
|
and returned in the API response as `step.name`.
|
|
1619
1490
|
*/
|
|
@@ -1625,37 +1496,37 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
|
1625
1496
|
transition outcome).
|
|
1626
1497
|
*/
|
|
1627
1498
|
fields?: string[];
|
|
1628
|
-
/**
|
|
1629
|
-
|
|
1630
|
-
|
|
1499
|
+
/** Ordered list of actions the user can take. The action name is what the
|
|
1500
|
+
frontend sends back in the submit request. If omitted, the engine
|
|
1501
|
+
provides a default `submit` action.
|
|
1631
1502
|
*/
|
|
1632
|
-
actions?:
|
|
1503
|
+
actions?: CreateFlowDefinition201FlowDefinitionStepsItemActionsItem[];
|
|
1633
1504
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
1634
1505
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
1635
1506
|
configuration. The engine may also inject gates dynamically based on
|
|
1636
1507
|
policy.
|
|
1637
1508
|
*/
|
|
1638
|
-
gates?:
|
|
1639
|
-
sso_providers?:
|
|
1509
|
+
gates?: CreateFlowDefinition201FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
|
|
1510
|
+
sso_providers?: CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem[];
|
|
1640
1511
|
/** Server-side mutation to execute when this step completes successfully.
|
|
1641
1512
|
Runs after field validation passes, before the transition fires.
|
|
1642
1513
|
- create_user: creates the user record (registration flows)
|
|
1643
1514
|
*/
|
|
1644
|
-
on_success?:
|
|
1515
|
+
on_success?: CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess;
|
|
1645
1516
|
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
1646
1517
|
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
1647
1518
|
- show: render as a success/info screen
|
|
1648
1519
|
*/
|
|
1649
|
-
complete?:
|
|
1520
|
+
complete?: CreateFlowDefinition201FlowDefinitionStepsItemComplete;
|
|
1650
1521
|
/** Maps action/outcome names to their transition descriptor.
|
|
1651
|
-
Keys match action names from the `actions`
|
|
1522
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1652
1523
|
come from implicit outcomes based on schema annotations
|
|
1653
1524
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1654
1525
|
events (e.g. `sso`, `callback`).
|
|
1655
1526
|
*/
|
|
1656
|
-
transitions?:
|
|
1527
|
+
transitions?: CreateFlowDefinition201FlowDefinitionStepsItemTransitions;
|
|
1657
1528
|
}; //#endregion
|
|
1658
|
-
//#region src/generated/model/
|
|
1529
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinition.d.ts
|
|
1659
1530
|
/**
|
|
1660
1531
|
* A flow definition is the server-side configuration that describes a complete
|
|
1661
1532
|
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
@@ -1667,7 +1538,7 @@ configuration hierarchy. The engine selects the matching definition based on
|
|
|
1667
1538
|
the purpose + audience when a flow is created via POST /flow.
|
|
1668
1539
|
|
|
1669
1540
|
*/
|
|
1670
|
-
type
|
|
1541
|
+
type CreateFlowDefinition201FlowDefinition = {
|
|
1671
1542
|
/**
|
|
1672
1543
|
* Stable identifier for this flow, used as the target of cross-flow
|
|
1673
1544
|
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
@@ -1692,22 +1563,19 @@ type CreateFlowDefinitionBodyFlowDefinition = {
|
|
|
1692
1563
|
matches every request in the project. The engine picks the most specific
|
|
1693
1564
|
matching definition: app > team > project-wide.
|
|
1694
1565
|
*/
|
|
1695
|
-
audience?:
|
|
1566
|
+
audience?: CreateFlowDefinition201FlowDefinitionAudience;
|
|
1696
1567
|
/**
|
|
1697
1568
|
* Ordered list of steps in this flow. The order is for human readability —
|
|
1698
1569
|
actual step sequencing is determined by transitions.
|
|
1699
1570
|
* @minItems 1
|
|
1700
1571
|
*/
|
|
1701
|
-
steps:
|
|
1572
|
+
steps: CreateFlowDefinition201FlowDefinitionStepsItem[];
|
|
1702
1573
|
}; //#endregion
|
|
1703
|
-
//#region src/generated/model/
|
|
1704
|
-
type
|
|
1705
|
-
/**
|
|
1706
|
-
/**
|
|
1707
|
-
|
|
1708
|
-
If not provided, the engine will use the latest schema version for validation.
|
|
1709
|
-
*/
|
|
1710
|
-
schema_uri?: string;
|
|
1574
|
+
//#region src/generated/model/createFlowDefinition201.d.ts
|
|
1575
|
+
type CreateFlowDefinition201 = {
|
|
1576
|
+
/** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
|
|
1577
|
+
project_id: string; /** Status of the flow definition. */
|
|
1578
|
+
status: string;
|
|
1711
1579
|
/** A flow definition is the server-side configuration that describes a complete
|
|
1712
1580
|
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
1713
1581
|
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
@@ -1716,9 +1584,11 @@ type CreateFlowDefinitionBody = {
|
|
|
1716
1584
|
configuration hierarchy. The engine selects the matching definition based on
|
|
1717
1585
|
the purpose + audience when a flow is created via POST /flow.
|
|
1718
1586
|
*/
|
|
1719
|
-
flow_definition:
|
|
1587
|
+
flow_definition: CreateFlowDefinition201FlowDefinition;
|
|
1588
|
+
created_at: string;
|
|
1589
|
+
updated_at: string;
|
|
1720
1590
|
}; //#endregion
|
|
1721
|
-
//#region src/generated/model/
|
|
1591
|
+
//#region src/generated/model/createFlowDefinition400Details.d.ts
|
|
1722
1592
|
/**
|
|
1723
1593
|
* Generated by orval v8.10.0 🍺
|
|
1724
1594
|
* Do not edit manually.
|
|
@@ -1730,7 +1600,7 @@ type CreateFlowDefinitionBody = {
|
|
|
1730
1600
|
* Additional error-specific context.
|
|
1731
1601
|
*/
|
|
1732
1602
|
//#endregion
|
|
1733
|
-
//#region src/generated/model/
|
|
1603
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionAudience.d.ts
|
|
1734
1604
|
/**
|
|
1735
1605
|
* Generated by orval v8.10.0 🍺
|
|
1736
1606
|
* Do not edit manually.
|
|
@@ -1739,26 +1609,17 @@ type CreateFlowDefinitionBody = {
|
|
|
1739
1609
|
* OpenAPI spec version: 0.0.1
|
|
1740
1610
|
*/
|
|
1741
1611
|
/**
|
|
1742
|
-
*
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
The handoff token is single-use and audience-bound to the project.
|
|
1612
|
+
* Scopes which teams or apps this flow definition applies to. Empty or
|
|
1613
|
+
omitted fields mean "no restriction"; when both are empty the definition
|
|
1614
|
+
matches every request in the project. The engine picks the most specific
|
|
1615
|
+
matching definition: app > team > project-wide.
|
|
1747
1616
|
|
|
1748
1617
|
*/
|
|
1749
|
-
type
|
|
1750
|
-
/**
|
|
1751
|
-
|
|
1752
|
-
Requirements:
|
|
1753
|
-
- Single-use (atomic GETDEL on exchange)
|
|
1754
|
-
- TTL ≤ 60 seconds
|
|
1755
|
-
- Audience-bound to project (exchange requires sk_proj_… for matching project)
|
|
1756
|
-
- Idempotency-safe (Category B, 5-minute window)
|
|
1757
|
-
*/
|
|
1758
|
-
handoff_token: string; /** When this handoff token expires */
|
|
1759
|
-
expires_at: string;
|
|
1618
|
+
type CreateFlowDefinitionBodyFlowDefinitionAudience = {
|
|
1619
|
+
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
1620
|
+
app_ids?: string[];
|
|
1760
1621
|
}; //#endregion
|
|
1761
|
-
//#region src/generated/model/
|
|
1622
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.d.ts
|
|
1762
1623
|
/**
|
|
1763
1624
|
* Generated by orval v8.10.0 🍺
|
|
1764
1625
|
* Do not edit manually.
|
|
@@ -1766,29 +1627,26 @@ type CreateHandoff200 = {
|
|
|
1766
1627
|
* This is the next generation of the Zitadel identity platform.
|
|
1767
1628
|
* OpenAPI spec version: 0.0.1
|
|
1768
1629
|
*/
|
|
1769
|
-
//#endregion
|
|
1770
|
-
//#region src/generated/model/createProject201.d.ts
|
|
1771
1630
|
/**
|
|
1772
|
-
*
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
* This is the next generation of the Zitadel identity platform.
|
|
1776
|
-
* OpenAPI spec version: 0.0.1
|
|
1631
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
1632
|
+
back in the submit request as `action`.
|
|
1633
|
+
|
|
1777
1634
|
*/
|
|
1778
|
-
type
|
|
1779
|
-
/**
|
|
1780
|
-
/**
|
|
1635
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem = {
|
|
1636
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
1637
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
1638
|
+
this hint to choose visual emphasis. At most one action per step
|
|
1639
|
+
should be primary; this is not enforced here.
|
|
1781
1640
|
*/
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1641
|
+
primary?: boolean;
|
|
1642
|
+
/** Optional localization key override for the action's label. When
|
|
1643
|
+
omitted, the engine derives a key from the step and action names.
|
|
1644
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
1645
|
+
by the engine.
|
|
1787
1646
|
*/
|
|
1788
|
-
|
|
1789
|
-
createdAt: string;
|
|
1647
|
+
text_key?: string;
|
|
1790
1648
|
}; //#endregion
|
|
1791
|
-
//#region src/generated/model/
|
|
1649
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts
|
|
1792
1650
|
/**
|
|
1793
1651
|
* Generated by orval v8.10.0 🍺
|
|
1794
1652
|
* Do not edit manually.
|
|
@@ -1797,23 +1655,17 @@ type CreateProject201 = {
|
|
|
1797
1655
|
* OpenAPI spec version: 0.0.1
|
|
1798
1656
|
*/
|
|
1799
1657
|
/**
|
|
1800
|
-
*
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
/**
|
|
1805
|
-
* Generated by orval v8.10.0 🍺
|
|
1806
|
-
* Do not edit manually.
|
|
1807
|
-
* Zitadel NextGen
|
|
1808
|
-
* This is the next generation of the Zitadel identity platform.
|
|
1809
|
-
* OpenAPI spec version: 0.0.1
|
|
1658
|
+
* Marks this as a terminal step. Tells the frontend what to do:
|
|
1659
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
1660
|
+
- show: render as a success/info screen
|
|
1661
|
+
|
|
1810
1662
|
*/
|
|
1811
|
-
type
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1663
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete];
|
|
1664
|
+
declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete: {
|
|
1665
|
+
readonly redirect: "redirect";
|
|
1666
|
+
readonly show: "show";
|
|
1815
1667
|
}; //#endregion
|
|
1816
|
-
//#region src/generated/model/
|
|
1668
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.d.ts
|
|
1817
1669
|
/**
|
|
1818
1670
|
* Generated by orval v8.10.0 🍺
|
|
1819
1671
|
* Do not edit manually.
|
|
@@ -1822,21 +1674,14 @@ type CreateProjectBody = {
|
|
|
1822
1674
|
* OpenAPI spec version: 0.0.1
|
|
1823
1675
|
*/
|
|
1824
1676
|
/**
|
|
1825
|
-
*
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
//#region src/generated/model/createSchema201.d.ts
|
|
1829
|
-
/**
|
|
1830
|
-
* Generated by orval v8.10.0 🍺
|
|
1831
|
-
* Do not edit manually.
|
|
1832
|
-
* Zitadel NextGen
|
|
1833
|
-
* This is the next generation of the Zitadel identity platform.
|
|
1834
|
-
* OpenAPI spec version: 0.0.1
|
|
1677
|
+
* Provider-specific configuration consumed by the implementation when
|
|
1678
|
+
issuing the per-render challenge. Opaque to the engine.
|
|
1679
|
+
|
|
1835
1680
|
*/
|
|
1836
|
-
type
|
|
1837
|
-
|
|
1681
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig = {
|
|
1682
|
+
[key: string]: unknown;
|
|
1838
1683
|
}; //#endregion
|
|
1839
|
-
//#region src/generated/model/
|
|
1684
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.d.ts
|
|
1840
1685
|
/**
|
|
1841
1686
|
* Generated by orval v8.10.0 🍺
|
|
1842
1687
|
* Do not edit manually.
|
|
@@ -1845,19 +1690,369 @@ type CreateSchema201 = {
|
|
|
1845
1690
|
* OpenAPI spec version: 0.0.1
|
|
1846
1691
|
*/
|
|
1847
1692
|
/**
|
|
1848
|
-
*
|
|
1693
|
+
* The gate category. Only `captcha` is currently defined. Authenticator
|
|
1694
|
+
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
1695
|
+
`x-credential` on a field, not as gates.
|
|
1696
|
+
|
|
1849
1697
|
*/
|
|
1850
|
-
|
|
1851
|
-
|
|
1698
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind];
|
|
1699
|
+
declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind: {
|
|
1700
|
+
readonly captcha: "captcha";
|
|
1701
|
+
}; //#endregion
|
|
1702
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemGates.d.ts
|
|
1852
1703
|
/**
|
|
1853
|
-
*
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
*/
|
|
1859
|
-
type
|
|
1860
|
-
|
|
1704
|
+
* Security gates that must be satisfied before submission. Keyed by gate
|
|
1705
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
1706
|
+
configuration. The engine may also inject gates dynamically based on
|
|
1707
|
+
policy.
|
|
1708
|
+
|
|
1709
|
+
*/
|
|
1710
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemGates = {
|
|
1711
|
+
[key: string]: {
|
|
1712
|
+
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
1713
|
+
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
1714
|
+
`x-credential` on a field, not as gates.
|
|
1715
|
+
*/
|
|
1716
|
+
kind: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind;
|
|
1717
|
+
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
1718
|
+
`hcaptcha`. The engine looks up an implementation in its provider
|
|
1719
|
+
registry.
|
|
1720
|
+
*/
|
|
1721
|
+
provider: string;
|
|
1722
|
+
/** Provider-specific configuration consumed by the implementation when
|
|
1723
|
+
issuing the per-render challenge. Opaque to the engine.
|
|
1724
|
+
*/
|
|
1725
|
+
config?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig;
|
|
1726
|
+
};
|
|
1727
|
+
}; //#endregion
|
|
1728
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.d.ts
|
|
1729
|
+
/**
|
|
1730
|
+
* Generated by orval v8.10.0 🍺
|
|
1731
|
+
* Do not edit manually.
|
|
1732
|
+
* Zitadel NextGen
|
|
1733
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1734
|
+
* OpenAPI spec version: 0.0.1
|
|
1735
|
+
*/
|
|
1736
|
+
/**
|
|
1737
|
+
* Server-side mutation to execute when this step completes successfully.
|
|
1738
|
+
Runs after field validation passes, before the transition fires.
|
|
1739
|
+
|
|
1740
|
+
- create_user: creates the user record (registration flows)
|
|
1741
|
+
|
|
1742
|
+
*/
|
|
1743
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess = (typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess)[keyof typeof CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess];
|
|
1744
|
+
declare const CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess: {
|
|
1745
|
+
readonly create_user: "create_user";
|
|
1746
|
+
}; //#endregion
|
|
1747
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.d.ts
|
|
1748
|
+
/**
|
|
1749
|
+
* Generated by orval v8.10.0 🍺
|
|
1750
|
+
* Do not edit manually.
|
|
1751
|
+
* Zitadel NextGen
|
|
1752
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1753
|
+
* OpenAPI spec version: 0.0.1
|
|
1754
|
+
*/
|
|
1755
|
+
/**
|
|
1756
|
+
* An available SSO identity provider.
|
|
1757
|
+
*/
|
|
1758
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
|
|
1759
|
+
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
1760
|
+
name: string; /** Template hint for rendering (logo, colors). */
|
|
1761
|
+
template: string;
|
|
1762
|
+
}; //#endregion
|
|
1763
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.d.ts
|
|
1764
|
+
/**
|
|
1765
|
+
* Generated by orval v8.10.0 🍺
|
|
1766
|
+
* Do not edit manually.
|
|
1767
|
+
* Zitadel NextGen
|
|
1768
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1769
|
+
* OpenAPI spec version: 0.0.1
|
|
1770
|
+
*/
|
|
1771
|
+
/**
|
|
1772
|
+
* Maps action/outcome names to their transition descriptor.
|
|
1773
|
+
|
|
1774
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1775
|
+
come from implicit outcomes based on schema annotations
|
|
1776
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1777
|
+
events (e.g. `sso`, `callback`).
|
|
1778
|
+
|
|
1779
|
+
*/
|
|
1780
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
|
|
1781
|
+
[key: string]: {
|
|
1782
|
+
/** Step name within this flow (when `action` is null), or the name
|
|
1783
|
+
of another flow (when `action` is `switch` or `pivot`).
|
|
1784
|
+
*/
|
|
1785
|
+
target: string;
|
|
1786
|
+
/** How to interpret `target`:
|
|
1787
|
+
- null (omitted): transition to a step in the current flow.
|
|
1788
|
+
- switch: replace the current flow with the target flow.
|
|
1789
|
+
No return — the current flow is discarded.
|
|
1790
|
+
Example: login ↔ register.
|
|
1791
|
+
- pivot: push the target flow onto the stack. The current flow
|
|
1792
|
+
is paused and resumes when the target flow completes (auto-pop).
|
|
1793
|
+
Example: login → recovery → back to login.
|
|
1794
|
+
*/
|
|
1795
|
+
action?: "switch" | "pivot" | null;
|
|
1796
|
+
};
|
|
1797
|
+
}; //#endregion
|
|
1798
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItem.d.ts
|
|
1799
|
+
/**
|
|
1800
|
+
* A step in a flow definition. This is the admin-authored configuration,
|
|
1801
|
+
not the runtime payload sent to the frontend.
|
|
1802
|
+
|
|
1803
|
+
Steps are schema-driven: `fields` references properties from the flow's
|
|
1804
|
+
user schema, and the engine resolves field metadata (type, validation,
|
|
1805
|
+
implicit outcomes) from schema annotations at runtime.
|
|
1806
|
+
|
|
1807
|
+
A step with only `complete` set is a terminal step. All other steps are
|
|
1808
|
+
rendered to the frontend as capability payloads.
|
|
1809
|
+
|
|
1810
|
+
*/
|
|
1811
|
+
type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
1812
|
+
/** Unique step identifier within this flow. Used as transition targets
|
|
1813
|
+
and returned in the API response as `step.name`.
|
|
1814
|
+
*/
|
|
1815
|
+
name: string;
|
|
1816
|
+
/** Schema property names to collect from the user. Each entry references
|
|
1817
|
+
a property in the flow's user schema. The engine resolves field type,
|
|
1818
|
+
validation rules, and implicit outcomes from schema annotations
|
|
1819
|
+
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
1820
|
+
transition outcome).
|
|
1821
|
+
*/
|
|
1822
|
+
fields?: string[];
|
|
1823
|
+
/** Ordered list of actions the user can take. The action name is what the
|
|
1824
|
+
frontend sends back in the submit request. If omitted, the engine
|
|
1825
|
+
provides a default `submit` action.
|
|
1826
|
+
*/
|
|
1827
|
+
actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem[];
|
|
1828
|
+
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
1829
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
1830
|
+
configuration. The engine may also inject gates dynamically based on
|
|
1831
|
+
policy.
|
|
1832
|
+
*/
|
|
1833
|
+
gates?: CreateFlowDefinitionBodyFlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
|
|
1834
|
+
sso_providers?: CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem[];
|
|
1835
|
+
/** Server-side mutation to execute when this step completes successfully.
|
|
1836
|
+
Runs after field validation passes, before the transition fires.
|
|
1837
|
+
- create_user: creates the user record (registration flows)
|
|
1838
|
+
*/
|
|
1839
|
+
on_success?: CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess;
|
|
1840
|
+
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
1841
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
1842
|
+
- show: render as a success/info screen
|
|
1843
|
+
*/
|
|
1844
|
+
complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
|
|
1845
|
+
/** Maps action/outcome names to their transition descriptor.
|
|
1846
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1847
|
+
come from implicit outcomes based on schema annotations
|
|
1848
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1849
|
+
events (e.g. `sso`, `callback`).
|
|
1850
|
+
*/
|
|
1851
|
+
transitions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions;
|
|
1852
|
+
}; //#endregion
|
|
1853
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinition.d.ts
|
|
1854
|
+
/**
|
|
1855
|
+
* A flow definition is the server-side configuration that describes a complete
|
|
1856
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
1857
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
1858
|
+
dictionaries) for the client.
|
|
1859
|
+
|
|
1860
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
1861
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
1862
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
1863
|
+
|
|
1864
|
+
*/
|
|
1865
|
+
type CreateFlowDefinitionBodyFlowDefinition = {
|
|
1866
|
+
/**
|
|
1867
|
+
* Stable identifier for this flow, used as the target of cross-flow
|
|
1868
|
+
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
1869
|
+
`name` is part of the public contract another definition may
|
|
1870
|
+
reference. Acts as the human display label as well; no separate slug.
|
|
1871
|
+
* @pattern ^[a-z][a-z0-9-]*$
|
|
1872
|
+
*/
|
|
1873
|
+
name: string;
|
|
1874
|
+
/** User schema this flow operates on. Step `fields` reference properties
|
|
1875
|
+
defined in this schema. The engine resolves field types, validation,
|
|
1876
|
+
and implicit outcomes from schema annotations at runtime.
|
|
1877
|
+
*/
|
|
1878
|
+
user_schema: string;
|
|
1879
|
+
/** Maps each purpose this definition handles to its entry-point step.
|
|
1880
|
+
Keys are purpose names; values must match a `name` in `steps`. A
|
|
1881
|
+
definition can serve multiple purposes (e.g. a combined login/register
|
|
1882
|
+
flow) by listing one entry per purpose.
|
|
1883
|
+
*/
|
|
1884
|
+
purposes: Partial<Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>>;
|
|
1885
|
+
/** Scopes which teams or apps this flow definition applies to. Empty or
|
|
1886
|
+
omitted fields mean "no restriction"; when both are empty the definition
|
|
1887
|
+
matches every request in the project. The engine picks the most specific
|
|
1888
|
+
matching definition: app > team > project-wide.
|
|
1889
|
+
*/
|
|
1890
|
+
audience?: CreateFlowDefinitionBodyFlowDefinitionAudience;
|
|
1891
|
+
/**
|
|
1892
|
+
* Ordered list of steps in this flow. The order is for human readability —
|
|
1893
|
+
actual step sequencing is determined by transitions.
|
|
1894
|
+
* @minItems 1
|
|
1895
|
+
*/
|
|
1896
|
+
steps: CreateFlowDefinitionBodyFlowDefinitionStepsItem[];
|
|
1897
|
+
}; //#endregion
|
|
1898
|
+
//#region src/generated/model/createFlowDefinitionBody.d.ts
|
|
1899
|
+
type CreateFlowDefinitionBody = {
|
|
1900
|
+
/** @pattern ^[a-zA-Z0-9_-]+$ */project_id: string;
|
|
1901
|
+
/** URI of the server-published flow definition schema this definition was
|
|
1902
|
+
authored against. The server uses this to validate the definition.
|
|
1903
|
+
If not provided, the engine will use the latest schema version for validation.
|
|
1904
|
+
*/
|
|
1905
|
+
schema_uri?: string;
|
|
1906
|
+
/** A flow definition is the server-side configuration that describes a complete
|
|
1907
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
1908
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
1909
|
+
dictionaries) for the client.
|
|
1910
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
1911
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
1912
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
1913
|
+
*/
|
|
1914
|
+
flow_definition: CreateFlowDefinitionBodyFlowDefinition;
|
|
1915
|
+
}; //#endregion
|
|
1916
|
+
//#region src/generated/model/createFlowDefinitionDefaultDetails.d.ts
|
|
1917
|
+
/**
|
|
1918
|
+
* Generated by orval v8.10.0 🍺
|
|
1919
|
+
* Do not edit manually.
|
|
1920
|
+
* Zitadel NextGen
|
|
1921
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1922
|
+
* OpenAPI spec version: 0.0.1
|
|
1923
|
+
*/
|
|
1924
|
+
/**
|
|
1925
|
+
* Additional error-specific context.
|
|
1926
|
+
*/
|
|
1927
|
+
//#endregion
|
|
1928
|
+
//#region src/generated/model/createHandoff200.d.ts
|
|
1929
|
+
/**
|
|
1930
|
+
* Generated by orval v8.10.0 🍺
|
|
1931
|
+
* Do not edit manually.
|
|
1932
|
+
* Zitadel NextGen
|
|
1933
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1934
|
+
* OpenAPI spec version: 0.0.1
|
|
1935
|
+
*/
|
|
1936
|
+
/**
|
|
1937
|
+
* The handoff token and metadata for session exchange.
|
|
1938
|
+
|
|
1939
|
+
This is a short-lived credential (TTL ≤ 60 seconds) that the client must exchange
|
|
1940
|
+
at POST /sessions/exchange to receive the final session and session_token.
|
|
1941
|
+
The handoff token is single-use and audience-bound to the project.
|
|
1942
|
+
|
|
1943
|
+
*/
|
|
1944
|
+
type CreateHandoff200 = {
|
|
1945
|
+
/** The short-lived handoff token for session exchange.
|
|
1946
|
+
Exchange at: POST /sessions/exchange
|
|
1947
|
+
Requirements:
|
|
1948
|
+
- Single-use (atomic GETDEL on exchange)
|
|
1949
|
+
- TTL ≤ 60 seconds
|
|
1950
|
+
- Audience-bound to project (exchange requires sk_proj_… for matching project)
|
|
1951
|
+
- Idempotency-safe (Category B, 5-minute window)
|
|
1952
|
+
*/
|
|
1953
|
+
handoff_token: string; /** When this handoff token expires */
|
|
1954
|
+
expires_at: string;
|
|
1955
|
+
}; //#endregion
|
|
1956
|
+
//#region src/generated/model/createHandoffDefault.d.ts
|
|
1957
|
+
/**
|
|
1958
|
+
* Generated by orval v8.10.0 🍺
|
|
1959
|
+
* Do not edit manually.
|
|
1960
|
+
* Zitadel NextGen
|
|
1961
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1962
|
+
* OpenAPI spec version: 0.0.1
|
|
1963
|
+
*/
|
|
1964
|
+
//#endregion
|
|
1965
|
+
//#region src/generated/model/createProject201.d.ts
|
|
1966
|
+
/**
|
|
1967
|
+
* Generated by orval v8.10.0 🍺
|
|
1968
|
+
* Do not edit manually.
|
|
1969
|
+
* Zitadel NextGen
|
|
1970
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1971
|
+
* OpenAPI spec version: 0.0.1
|
|
1972
|
+
*/
|
|
1973
|
+
type CreateProject201 = {
|
|
1974
|
+
/** The unique identifier of the project. */id: string;
|
|
1975
|
+
/** Secret which can be used for authentication when modifying the project.
|
|
1976
|
+
*/
|
|
1977
|
+
projectSecret: string;
|
|
1978
|
+
/** Secret which can be used for previewing and testing the project.
|
|
1979
|
+
*/
|
|
1980
|
+
previewSecret: string;
|
|
1981
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
1982
|
+
*/
|
|
1983
|
+
previewOrigins: string[]; /** The time when the project was created. */
|
|
1984
|
+
createdAt: string;
|
|
1985
|
+
}; //#endregion
|
|
1986
|
+
//#region src/generated/model/createProject429Details.d.ts
|
|
1987
|
+
/**
|
|
1988
|
+
* Generated by orval v8.10.0 🍺
|
|
1989
|
+
* Do not edit manually.
|
|
1990
|
+
* Zitadel NextGen
|
|
1991
|
+
* This is the next generation of the Zitadel identity platform.
|
|
1992
|
+
* OpenAPI spec version: 0.0.1
|
|
1993
|
+
*/
|
|
1994
|
+
/**
|
|
1995
|
+
* Additional error-specific context.
|
|
1996
|
+
*/
|
|
1997
|
+
//#endregion
|
|
1998
|
+
//#region src/generated/model/createProjectBody.d.ts
|
|
1999
|
+
/**
|
|
2000
|
+
* Generated by orval v8.10.0 🍺
|
|
2001
|
+
* Do not edit manually.
|
|
2002
|
+
* Zitadel NextGen
|
|
2003
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2004
|
+
* OpenAPI spec version: 0.0.1
|
|
2005
|
+
*/
|
|
2006
|
+
type CreateProjectBody = {
|
|
2007
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
2008
|
+
*/
|
|
2009
|
+
previewOrigins?: string[];
|
|
2010
|
+
}; //#endregion
|
|
2011
|
+
//#region src/generated/model/createProjectDefaultDetails.d.ts
|
|
2012
|
+
/**
|
|
2013
|
+
* Generated by orval v8.10.0 🍺
|
|
2014
|
+
* Do not edit manually.
|
|
2015
|
+
* Zitadel NextGen
|
|
2016
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2017
|
+
* OpenAPI spec version: 0.0.1
|
|
2018
|
+
*/
|
|
2019
|
+
/**
|
|
2020
|
+
* Additional error-specific context.
|
|
2021
|
+
*/
|
|
2022
|
+
//#endregion
|
|
2023
|
+
//#region src/generated/model/createSchema201.d.ts
|
|
2024
|
+
/**
|
|
2025
|
+
* Generated by orval v8.10.0 🍺
|
|
2026
|
+
* Do not edit manually.
|
|
2027
|
+
* Zitadel NextGen
|
|
2028
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2029
|
+
* OpenAPI spec version: 0.0.1
|
|
2030
|
+
*/
|
|
2031
|
+
type CreateSchema201 = {
|
|
2032
|
+
/** The ID of the created schema */id: string;
|
|
2033
|
+
}; //#endregion
|
|
2034
|
+
//#region src/generated/model/createSchema400Details.d.ts
|
|
2035
|
+
/**
|
|
2036
|
+
* Generated by orval v8.10.0 🍺
|
|
2037
|
+
* Do not edit manually.
|
|
2038
|
+
* Zitadel NextGen
|
|
2039
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2040
|
+
* OpenAPI spec version: 0.0.1
|
|
2041
|
+
*/
|
|
2042
|
+
/**
|
|
2043
|
+
* Additional error-specific context.
|
|
2044
|
+
*/
|
|
2045
|
+
//#endregion
|
|
2046
|
+
//#region src/generated/model/createSchemaBody.d.ts
|
|
2047
|
+
/**
|
|
2048
|
+
* Generated by orval v8.10.0 🍺
|
|
2049
|
+
* Do not edit manually.
|
|
2050
|
+
* Zitadel NextGen
|
|
2051
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2052
|
+
* OpenAPI spec version: 0.0.1
|
|
2053
|
+
*/
|
|
2054
|
+
type CreateSchemaBody = {
|
|
2055
|
+
/** Discriminator value for a user schema create request. */kind: "user-schema"; /** The user Schema version used for this schema. */
|
|
1861
2056
|
metaSchema: string; /** A list of authentication methods supported by the user definition. */
|
|
1862
2057
|
"x-auth-methods": {
|
|
1863
2058
|
password?: {
|
|
@@ -2328,7 +2523,34 @@ type CreateUserParams = {
|
|
|
2328
2523
|
*/
|
|
2329
2524
|
team_id?: string;
|
|
2330
2525
|
}; //#endregion
|
|
2331
|
-
//#region src/generated/model/
|
|
2526
|
+
//#region src/generated/model/deleteFlowDefinitionDefaultDetails.d.ts
|
|
2527
|
+
/**
|
|
2528
|
+
* Generated by orval v8.10.0 🍺
|
|
2529
|
+
* Do not edit manually.
|
|
2530
|
+
* Zitadel NextGen
|
|
2531
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2532
|
+
* OpenAPI spec version: 0.0.1
|
|
2533
|
+
*/
|
|
2534
|
+
/**
|
|
2535
|
+
* Additional error-specific context.
|
|
2536
|
+
*/
|
|
2537
|
+
//#endregion
|
|
2538
|
+
//#region src/generated/model/deleteFlowDefinitionParams.d.ts
|
|
2539
|
+
/**
|
|
2540
|
+
* Generated by orval v8.10.0 🍺
|
|
2541
|
+
* Do not edit manually.
|
|
2542
|
+
* Zitadel NextGen
|
|
2543
|
+
* This is the next generation of the Zitadel identity platform.
|
|
2544
|
+
* OpenAPI spec version: 0.0.1
|
|
2545
|
+
*/
|
|
2546
|
+
type DeleteFlowDefinitionParams = {
|
|
2547
|
+
/**
|
|
2548
|
+
* The project id to filter by.
|
|
2549
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
2550
|
+
*/
|
|
2551
|
+
project_id: string;
|
|
2552
|
+
}; //#endregion
|
|
2553
|
+
//#region src/generated/model/endSession400Details.d.ts
|
|
2332
2554
|
/**
|
|
2333
2555
|
* Generated by orval v8.10.0 🍺
|
|
2334
2556
|
* Do not edit manually.
|
|
@@ -2822,85 +3044,339 @@ declare const GetAuthAttempt200RequiredFactorsItem: {
|
|
|
2822
3044
|
- `expired`: the 15-minute TTL has been exceeded.
|
|
2823
3045
|
|
|
2824
3046
|
*/
|
|
2825
|
-
type GetAuthAttempt200State = (typeof GetAuthAttempt200State)[keyof typeof GetAuthAttempt200State];
|
|
2826
|
-
declare const GetAuthAttempt200State: {
|
|
2827
|
-
readonly in_progress: "in_progress";
|
|
2828
|
-
readonly completed: "completed";
|
|
2829
|
-
readonly failed: "failed";
|
|
2830
|
-
readonly expired: "expired";
|
|
3047
|
+
type GetAuthAttempt200State = (typeof GetAuthAttempt200State)[keyof typeof GetAuthAttempt200State];
|
|
3048
|
+
declare const GetAuthAttempt200State: {
|
|
3049
|
+
readonly in_progress: "in_progress";
|
|
3050
|
+
readonly completed: "completed";
|
|
3051
|
+
readonly failed: "failed";
|
|
3052
|
+
readonly expired: "expired";
|
|
3053
|
+
}; //#endregion
|
|
3054
|
+
//#region src/generated/model/getAuthAttempt200.d.ts
|
|
3055
|
+
/**
|
|
3056
|
+
* The current state of an authentication attempt.
|
|
3057
|
+
|
|
3058
|
+
An attempt is an ephemeral state machine (15-minute TTL) that drives a single authentication round.
|
|
3059
|
+
It accepts factor challenges, verifies proofs, and completes into a handoff token.
|
|
3060
|
+
Clients drive the attempt by:
|
|
3061
|
+
1. Issuing challenges: POST /auth_attempts/{attempt_id}/challenges
|
|
3062
|
+
2. Verifying proofs: POST /auth_attempts/{attempt_id}/challenges/{challenge_id}/verify
|
|
3063
|
+
3. Completing: POST /auth_attempts/{attempt_id}/handoff
|
|
3064
|
+
|
|
3065
|
+
*/
|
|
3066
|
+
type GetAuthAttempt200 = {
|
|
3067
|
+
/**
|
|
3068
|
+
* Unique identifier for this authentication attempt
|
|
3069
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3070
|
+
*/
|
|
3071
|
+
attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
3072
|
+
project_id: string;
|
|
3073
|
+
/** Overall state of the authentication attempt:
|
|
3074
|
+
- `in_progress`: factors are still being collected; continue issuing challenges.
|
|
3075
|
+
- `completed`: all required factors have been verified; the attempt is ready for handoff.
|
|
3076
|
+
- `failed`: the attempt has failed (e.g. too many failed proofs) and cannot be continued.
|
|
3077
|
+
- `expired`: the 15-minute TTL has been exceeded.
|
|
3078
|
+
*/
|
|
3079
|
+
state: GetAuthAttempt200State;
|
|
3080
|
+
/** The session being authenticated into. Either newly created or passed in on POST.
|
|
3081
|
+
For step-up (re-auth), this is the existing session_id provided on creation.
|
|
3082
|
+
*/
|
|
3083
|
+
session_id?: string | null;
|
|
3084
|
+
/** The user ID, if known at this point in the flow.
|
|
3085
|
+
Null until an identifier challenge has been verified.
|
|
3086
|
+
*/
|
|
3087
|
+
user_id?: string | null;
|
|
3088
|
+
/** The authentication factor methods that the project policy requires in order
|
|
3089
|
+
to complete this attempt. Computed by the server from the project's auth policy.
|
|
3090
|
+
Clients should use this to determine which challenges still need to be issued.
|
|
3091
|
+
*/
|
|
3092
|
+
required_factors?: GetAuthAttempt200RequiredFactorsItem[];
|
|
3093
|
+
/** The factors that have been successfully verified in this attempt so far.
|
|
3094
|
+
Each item includes method-specific metadata in the payload field.
|
|
3095
|
+
The flow engine uses verified_at timestamps to enforce time-based policies, such as
|
|
3096
|
+
requiring password verification within the last 5 minutes for step-up auth to
|
|
3097
|
+
access sensitive operations.
|
|
3098
|
+
A factor appears here once its challenge reaches `verified` state.
|
|
3099
|
+
*/
|
|
3100
|
+
completed_factors?: GetAuthAttempt200CompletedFactorsItem[];
|
|
3101
|
+
/** All challenges issued within this attempt, in creation order.
|
|
3102
|
+
Use this to track the state of each factor challenge (pending, verified, failed, expired).
|
|
3103
|
+
*/
|
|
3104
|
+
challenges?: GetAuthAttempt200ChallengesItem[]; /** When this attempt expires (15-minute TTL from creation) */
|
|
3105
|
+
expires_at?: string; /** When this attempt was created */
|
|
3106
|
+
created_at: string;
|
|
3107
|
+
}; //#endregion
|
|
3108
|
+
//#region src/generated/model/getAuthAttemptDefault.d.ts
|
|
3109
|
+
/**
|
|
3110
|
+
* Generated by orval v8.10.0 🍺
|
|
3111
|
+
* Do not edit manually.
|
|
3112
|
+
* Zitadel NextGen
|
|
3113
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3114
|
+
* OpenAPI spec version: 0.0.1
|
|
3115
|
+
*/
|
|
3116
|
+
//#endregion
|
|
3117
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
|
|
3118
|
+
/**
|
|
3119
|
+
* Generated by orval v8.10.0 🍺
|
|
3120
|
+
* Do not edit manually.
|
|
3121
|
+
* Zitadel NextGen
|
|
3122
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3123
|
+
* OpenAPI spec version: 0.0.1
|
|
3124
|
+
*/
|
|
3125
|
+
/**
|
|
3126
|
+
* Scopes which teams or apps this flow definition applies to. Empty or
|
|
3127
|
+
omitted fields mean "no restriction"; when both are empty the definition
|
|
3128
|
+
matches every request in the project. The engine picks the most specific
|
|
3129
|
+
matching definition: app > team > project-wide.
|
|
3130
|
+
|
|
3131
|
+
*/
|
|
3132
|
+
type GetFlowDefinition200FlowDefinitionAudience = {
|
|
3133
|
+
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
3134
|
+
app_ids?: string[];
|
|
3135
|
+
}; //#endregion
|
|
3136
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.d.ts
|
|
3137
|
+
/**
|
|
3138
|
+
* Generated by orval v8.10.0 🍺
|
|
3139
|
+
* Do not edit manually.
|
|
3140
|
+
* Zitadel NextGen
|
|
3141
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3142
|
+
* OpenAPI spec version: 0.0.1
|
|
3143
|
+
*/
|
|
3144
|
+
/**
|
|
3145
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
3146
|
+
back in the submit request as `action`.
|
|
3147
|
+
|
|
3148
|
+
*/
|
|
3149
|
+
type GetFlowDefinition200FlowDefinitionStepsItemActionsItem = {
|
|
3150
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
3151
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
3152
|
+
this hint to choose visual emphasis. At most one action per step
|
|
3153
|
+
should be primary; this is not enforced here.
|
|
3154
|
+
*/
|
|
3155
|
+
primary?: boolean;
|
|
3156
|
+
/** Optional localization key override for the action's label. When
|
|
3157
|
+
omitted, the engine derives a key from the step and action names.
|
|
3158
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
3159
|
+
by the engine.
|
|
3160
|
+
*/
|
|
3161
|
+
text_key?: string;
|
|
3162
|
+
}; //#endregion
|
|
3163
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
|
|
3164
|
+
/**
|
|
3165
|
+
* Generated by orval v8.10.0 🍺
|
|
3166
|
+
* Do not edit manually.
|
|
3167
|
+
* Zitadel NextGen
|
|
3168
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3169
|
+
* OpenAPI spec version: 0.0.1
|
|
3170
|
+
*/
|
|
3171
|
+
/**
|
|
3172
|
+
* Marks this as a terminal step. Tells the frontend what to do:
|
|
3173
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
3174
|
+
- show: render as a success/info screen
|
|
3175
|
+
|
|
3176
|
+
*/
|
|
3177
|
+
type GetFlowDefinition200FlowDefinitionStepsItemComplete = (typeof GetFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemComplete];
|
|
3178
|
+
declare const GetFlowDefinition200FlowDefinitionStepsItemComplete: {
|
|
3179
|
+
readonly redirect: "redirect";
|
|
3180
|
+
readonly show: "show";
|
|
3181
|
+
}; //#endregion
|
|
3182
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts
|
|
3183
|
+
/**
|
|
3184
|
+
* Generated by orval v8.10.0 🍺
|
|
3185
|
+
* Do not edit manually.
|
|
3186
|
+
* Zitadel NextGen
|
|
3187
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3188
|
+
* OpenAPI spec version: 0.0.1
|
|
3189
|
+
*/
|
|
3190
|
+
/**
|
|
3191
|
+
* Provider-specific configuration consumed by the implementation when
|
|
3192
|
+
issuing the per-render challenge. Opaque to the engine.
|
|
3193
|
+
|
|
3194
|
+
*/
|
|
3195
|
+
type GetFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
|
|
3196
|
+
[key: string]: unknown;
|
|
3197
|
+
}; //#endregion
|
|
3198
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts
|
|
3199
|
+
/**
|
|
3200
|
+
* Generated by orval v8.10.0 🍺
|
|
3201
|
+
* Do not edit manually.
|
|
3202
|
+
* Zitadel NextGen
|
|
3203
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3204
|
+
* OpenAPI spec version: 0.0.1
|
|
3205
|
+
*/
|
|
3206
|
+
/**
|
|
3207
|
+
* The gate category. Only `captcha` is currently defined. Authenticator
|
|
3208
|
+
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
3209
|
+
`x-credential` on a field, not as gates.
|
|
3210
|
+
|
|
3211
|
+
*/
|
|
3212
|
+
type GetFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemGatesKind];
|
|
3213
|
+
declare const GetFlowDefinition200FlowDefinitionStepsItemGatesKind: {
|
|
3214
|
+
readonly captcha: "captcha";
|
|
3215
|
+
}; //#endregion
|
|
3216
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts
|
|
3217
|
+
/**
|
|
3218
|
+
* Security gates that must be satisfied before submission. Keyed by gate
|
|
3219
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
3220
|
+
configuration. The engine may also inject gates dynamically based on
|
|
3221
|
+
policy.
|
|
3222
|
+
|
|
3223
|
+
*/
|
|
3224
|
+
type GetFlowDefinition200FlowDefinitionStepsItemGates = {
|
|
3225
|
+
[key: string]: {
|
|
3226
|
+
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
3227
|
+
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
3228
|
+
`x-credential` on a field, not as gates.
|
|
3229
|
+
*/
|
|
3230
|
+
kind: GetFlowDefinition200FlowDefinitionStepsItemGatesKind;
|
|
3231
|
+
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
3232
|
+
`hcaptcha`. The engine looks up an implementation in its provider
|
|
3233
|
+
registry.
|
|
3234
|
+
*/
|
|
3235
|
+
provider: string;
|
|
3236
|
+
/** Provider-specific configuration consumed by the implementation when
|
|
3237
|
+
issuing the per-render challenge. Opaque to the engine.
|
|
3238
|
+
*/
|
|
3239
|
+
config?: GetFlowDefinition200FlowDefinitionStepsItemGatesConfig;
|
|
3240
|
+
};
|
|
3241
|
+
}; //#endregion
|
|
3242
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts
|
|
3243
|
+
/**
|
|
3244
|
+
* Generated by orval v8.10.0 🍺
|
|
3245
|
+
* Do not edit manually.
|
|
3246
|
+
* Zitadel NextGen
|
|
3247
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3248
|
+
* OpenAPI spec version: 0.0.1
|
|
3249
|
+
*/
|
|
3250
|
+
/**
|
|
3251
|
+
* Server-side mutation to execute when this step completes successfully.
|
|
3252
|
+
Runs after field validation passes, before the transition fires.
|
|
3253
|
+
|
|
3254
|
+
- create_user: creates the user record (registration flows)
|
|
3255
|
+
|
|
3256
|
+
*/
|
|
3257
|
+
type GetFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemOnSuccess];
|
|
3258
|
+
declare const GetFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
|
|
3259
|
+
readonly create_user: "create_user";
|
|
3260
|
+
}; //#endregion
|
|
3261
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts
|
|
3262
|
+
/**
|
|
3263
|
+
* Generated by orval v8.10.0 🍺
|
|
3264
|
+
* Do not edit manually.
|
|
3265
|
+
* Zitadel NextGen
|
|
3266
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3267
|
+
* OpenAPI spec version: 0.0.1
|
|
3268
|
+
*/
|
|
3269
|
+
/**
|
|
3270
|
+
* An available SSO identity provider.
|
|
3271
|
+
*/
|
|
3272
|
+
type GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
|
|
3273
|
+
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
3274
|
+
name: string; /** Template hint for rendering (logo, colors). */
|
|
3275
|
+
template: string;
|
|
3276
|
+
}; //#endregion
|
|
3277
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts
|
|
3278
|
+
/**
|
|
3279
|
+
* Generated by orval v8.10.0 🍺
|
|
3280
|
+
* Do not edit manually.
|
|
3281
|
+
* Zitadel NextGen
|
|
3282
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3283
|
+
* OpenAPI spec version: 0.0.1
|
|
3284
|
+
*/
|
|
3285
|
+
/**
|
|
3286
|
+
* Maps action/outcome names to their transition descriptor.
|
|
3287
|
+
|
|
3288
|
+
Keys match action names from the `actions` array. Additional keys
|
|
3289
|
+
come from implicit outcomes based on schema annotations
|
|
3290
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
3291
|
+
events (e.g. `sso`, `callback`).
|
|
3292
|
+
|
|
3293
|
+
*/
|
|
3294
|
+
type GetFlowDefinition200FlowDefinitionStepsItemTransitions = {
|
|
3295
|
+
[key: string]: {
|
|
3296
|
+
/** Step name within this flow (when `action` is null), or the name
|
|
3297
|
+
of another flow (when `action` is `switch` or `pivot`).
|
|
3298
|
+
*/
|
|
3299
|
+
target: string;
|
|
3300
|
+
/** How to interpret `target`:
|
|
3301
|
+
- null (omitted): transition to a step in the current flow.
|
|
3302
|
+
- switch: replace the current flow with the target flow.
|
|
3303
|
+
No return — the current flow is discarded.
|
|
3304
|
+
Example: login ↔ register.
|
|
3305
|
+
- pivot: push the target flow onto the stack. The current flow
|
|
3306
|
+
is paused and resumes when the target flow completes (auto-pop).
|
|
3307
|
+
Example: login → recovery → back to login.
|
|
3308
|
+
*/
|
|
3309
|
+
action?: "switch" | "pivot" | null;
|
|
3310
|
+
};
|
|
2831
3311
|
}; //#endregion
|
|
2832
|
-
//#region src/generated/model/
|
|
3312
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts
|
|
2833
3313
|
/**
|
|
2834
|
-
*
|
|
3314
|
+
* A step in a flow definition. This is the admin-authored configuration,
|
|
3315
|
+
not the runtime payload sent to the frontend.
|
|
2835
3316
|
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
3317
|
+
Steps are schema-driven: `fields` references properties from the flow's
|
|
3318
|
+
user schema, and the engine resolves field metadata (type, validation,
|
|
3319
|
+
implicit outcomes) from schema annotations at runtime.
|
|
3320
|
+
|
|
3321
|
+
A step with only `complete` set is a terminal step. All other steps are
|
|
3322
|
+
rendered to the frontend as capability payloads.
|
|
2842
3323
|
|
|
2843
3324
|
*/
|
|
2844
|
-
type
|
|
2845
|
-
/**
|
|
2846
|
-
|
|
2847
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3325
|
+
type GetFlowDefinition200FlowDefinitionStepsItem = {
|
|
3326
|
+
/** Unique step identifier within this flow. Used as transition targets
|
|
3327
|
+
and returned in the API response as `step.name`.
|
|
2848
3328
|
*/
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
- `expired`: the 15-minute TTL has been exceeded.
|
|
3329
|
+
name: string;
|
|
3330
|
+
/** Schema property names to collect from the user. Each entry references
|
|
3331
|
+
a property in the flow's user schema. The engine resolves field type,
|
|
3332
|
+
validation rules, and implicit outcomes from schema annotations
|
|
3333
|
+
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
3334
|
+
transition outcome).
|
|
2856
3335
|
*/
|
|
2857
|
-
|
|
2858
|
-
/**
|
|
2859
|
-
|
|
3336
|
+
fields?: string[];
|
|
3337
|
+
/** Ordered list of actions the user can take. The action name is what the
|
|
3338
|
+
frontend sends back in the submit request. If omitted, the engine
|
|
3339
|
+
provides a default `submit` action.
|
|
2860
3340
|
*/
|
|
2861
|
-
|
|
2862
|
-
/**
|
|
2863
|
-
|
|
3341
|
+
actions?: GetFlowDefinition200FlowDefinitionStepsItemActionsItem[];
|
|
3342
|
+
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
3343
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
3344
|
+
configuration. The engine may also inject gates dynamically based on
|
|
3345
|
+
policy.
|
|
2864
3346
|
*/
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
3347
|
+
gates?: GetFlowDefinition200FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
|
|
3348
|
+
sso_providers?: GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
|
|
3349
|
+
/** Server-side mutation to execute when this step completes successfully.
|
|
3350
|
+
Runs after field validation passes, before the transition fires.
|
|
3351
|
+
- create_user: creates the user record (registration flows)
|
|
2869
3352
|
*/
|
|
2870
|
-
|
|
2871
|
-
/**
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
requiring password verification within the last 5 minutes for step-up auth to
|
|
2875
|
-
access sensitive operations.
|
|
2876
|
-
A factor appears here once its challenge reaches `verified` state.
|
|
3353
|
+
on_success?: GetFlowDefinition200FlowDefinitionStepsItemOnSuccess;
|
|
3354
|
+
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
3355
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
3356
|
+
- show: render as a success/info screen
|
|
2877
3357
|
*/
|
|
2878
|
-
|
|
2879
|
-
/**
|
|
2880
|
-
|
|
3358
|
+
complete?: GetFlowDefinition200FlowDefinitionStepsItemComplete;
|
|
3359
|
+
/** Maps action/outcome names to their transition descriptor.
|
|
3360
|
+
Keys match action names from the `actions` array. Additional keys
|
|
3361
|
+
come from implicit outcomes based on schema annotations
|
|
3362
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
3363
|
+
events (e.g. `sso`, `callback`).
|
|
2881
3364
|
*/
|
|
2882
|
-
|
|
2883
|
-
expires_at?: string; /** When this attempt was created */
|
|
2884
|
-
created_at: string;
|
|
3365
|
+
transitions?: GetFlowDefinition200FlowDefinitionStepsItemTransitions;
|
|
2885
3366
|
}; //#endregion
|
|
2886
|
-
//#region src/generated/model/
|
|
2887
|
-
/**
|
|
2888
|
-
* Generated by orval v8.10.0 🍺
|
|
2889
|
-
* Do not edit manually.
|
|
2890
|
-
* Zitadel NextGen
|
|
2891
|
-
* This is the next generation of the Zitadel identity platform.
|
|
2892
|
-
* OpenAPI spec version: 0.0.1
|
|
2893
|
-
*/
|
|
2894
|
-
//#endregion
|
|
2895
|
-
//#region src/generated/model/getFlowDefinition200.d.ts
|
|
3367
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinition.d.ts
|
|
2896
3368
|
/**
|
|
2897
|
-
*
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
3369
|
+
* A flow definition is the server-side configuration that describes a complete
|
|
3370
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
3371
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
3372
|
+
dictionaries) for the client.
|
|
3373
|
+
|
|
3374
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
3375
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
3376
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
3377
|
+
|
|
2902
3378
|
*/
|
|
2903
|
-
type
|
|
3379
|
+
type GetFlowDefinition200FlowDefinition = {
|
|
2904
3380
|
/**
|
|
2905
3381
|
* Stable identifier for this flow, used as the target of cross-flow
|
|
2906
3382
|
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
@@ -2925,123 +3401,32 @@ type GetFlowDefinition200 = {
|
|
|
2925
3401
|
matches every request in the project. The engine picks the most specific
|
|
2926
3402
|
matching definition: app > team > project-wide.
|
|
2927
3403
|
*/
|
|
2928
|
-
audience?:
|
|
2929
|
-
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
2930
|
-
app_ids?: string[];
|
|
2931
|
-
};
|
|
3404
|
+
audience?: GetFlowDefinition200FlowDefinitionAudience;
|
|
2932
3405
|
/**
|
|
2933
3406
|
* Ordered list of steps in this flow. The order is for human readability —
|
|
2934
3407
|
actual step sequencing is determined by transitions.
|
|
2935
3408
|
* @minItems 1
|
|
2936
3409
|
*/
|
|
2937
|
-
steps:
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
name: string;
|
|
2942
|
-
/** Schema property names to collect from the user. Each entry references
|
|
2943
|
-
a property in the flow's user schema. The engine resolves field type,
|
|
2944
|
-
validation rules, and implicit outcomes from schema annotations
|
|
2945
|
-
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
2946
|
-
transition outcome).
|
|
2947
|
-
*/
|
|
2948
|
-
fields?: string[];
|
|
2949
|
-
/** Actions the user can take. Keyed by action name.
|
|
2950
|
-
The action name is what the frontend sends back in the submit request.
|
|
2951
|
-
If omitted, the engine provides a default `submit` action.
|
|
2952
|
-
*/
|
|
2953
|
-
actions?: {
|
|
2954
|
-
[key: string]: {
|
|
2955
|
-
/** Marks this as the default/primary action. The runtime template uses
|
|
2956
|
-
this hint to choose visual emphasis. At most one action per step
|
|
2957
|
-
should be primary; this is not enforced here.
|
|
2958
|
-
*/
|
|
2959
|
-
primary?: boolean;
|
|
2960
|
-
/** Optional localization key override for the action's label. When
|
|
2961
|
-
omitted, the engine derives a key from the step and action names.
|
|
2962
|
-
Display text is resolved client-side from a locale dictionary, never
|
|
2963
|
-
by the engine.
|
|
2964
|
-
*/
|
|
2965
|
-
text_key?: string;
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
2969
|
-
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
2970
|
-
configuration. The engine may also inject gates dynamically based on
|
|
2971
|
-
policy.
|
|
2972
|
-
*/
|
|
2973
|
-
gates?: {
|
|
2974
|
-
[key: string]: {
|
|
2975
|
-
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
2976
|
-
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
2977
|
-
`x-credential` on a field, not as gates.
|
|
2978
|
-
*/
|
|
2979
|
-
kind: "captcha";
|
|
2980
|
-
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
2981
|
-
`hcaptcha`. The engine looks up an implementation in its provider
|
|
2982
|
-
registry.
|
|
2983
|
-
*/
|
|
2984
|
-
provider: string;
|
|
2985
|
-
/** Provider-specific configuration consumed by the implementation when
|
|
2986
|
-
issuing the per-render challenge. Opaque to the engine.
|
|
2987
|
-
*/
|
|
2988
|
-
config?: {
|
|
2989
|
-
[key: string]: unknown;
|
|
2990
|
-
};
|
|
2991
|
-
};
|
|
2992
|
-
}; /** Available SSO identity providers for this step. */
|
|
2993
|
-
sso_providers?: {
|
|
2994
|
-
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
2995
|
-
name: string; /** Template hint for rendering (logo, colors). */
|
|
2996
|
-
template: string;
|
|
2997
|
-
}[];
|
|
2998
|
-
/** Server-side mutation to execute when this step completes successfully.
|
|
2999
|
-
Runs after field validation passes, before the transition fires.
|
|
3000
|
-
- create_user: creates the user record (registration flows)
|
|
3001
|
-
*/
|
|
3002
|
-
on_success?: "create_user";
|
|
3003
|
-
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
3004
|
-
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
3005
|
-
- show: render as a success/info screen
|
|
3006
|
-
*/
|
|
3007
|
-
complete?: "redirect" | "show";
|
|
3008
|
-
/** Maps action/outcome names to their transition descriptor.
|
|
3009
|
-
Keys match action names from the `actions` dict. Additional keys
|
|
3010
|
-
come from implicit outcomes based on schema annotations
|
|
3011
|
-
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
3012
|
-
events (e.g. `sso`, `callback`).
|
|
3013
|
-
*/
|
|
3014
|
-
transitions?: {
|
|
3015
|
-
[key: string]: {
|
|
3016
|
-
/** Step name within this flow (when `action` is null), or the name
|
|
3017
|
-
of another flow (when `action` is `switch` or `pivot`).
|
|
3018
|
-
*/
|
|
3019
|
-
target: string;
|
|
3020
|
-
/** How to interpret `target`:
|
|
3021
|
-
- null (omitted): transition to a step in the current flow.
|
|
3022
|
-
- switch: replace the current flow with the target flow.
|
|
3023
|
-
No return — the current flow is discarded.
|
|
3024
|
-
Example: login ↔ register.
|
|
3025
|
-
- pivot: push the target flow onto the stack. The current flow
|
|
3026
|
-
is paused and resumes when the target flow completes (auto-pop).
|
|
3027
|
-
Example: login → recovery → back to login.
|
|
3028
|
-
*/
|
|
3029
|
-
action?: "switch" | "pivot" | null;
|
|
3030
|
-
};
|
|
3031
|
-
};
|
|
3032
|
-
}[];
|
|
3033
|
-
} & {
|
|
3410
|
+
steps: GetFlowDefinition200FlowDefinitionStepsItem[];
|
|
3411
|
+
}; //#endregion
|
|
3412
|
+
//#region src/generated/model/getFlowDefinition200.d.ts
|
|
3413
|
+
type GetFlowDefinition200 = {
|
|
3034
3414
|
/** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
|
|
3035
|
-
project_id: string;
|
|
3036
|
-
/** URI of the flow definition schema this definition was authored against.
|
|
3037
|
-
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.
|
|
3038
|
-
*/
|
|
3039
|
-
schema_uri: string; /** Status of the flow definition. */
|
|
3415
|
+
project_id: string; /** Status of the flow definition. */
|
|
3040
3416
|
status: string;
|
|
3417
|
+
/** A flow definition is the server-side configuration that describes a complete
|
|
3418
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
3419
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
3420
|
+
dictionaries) for the client.
|
|
3421
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
3422
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
3423
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
3424
|
+
*/
|
|
3425
|
+
flow_definition: GetFlowDefinition200FlowDefinition;
|
|
3041
3426
|
created_at: string;
|
|
3042
3427
|
updated_at: string;
|
|
3043
3428
|
}; //#endregion
|
|
3044
|
-
//#region src/generated/model/
|
|
3429
|
+
//#region src/generated/model/getFlowDefinitionDefaultDetails.d.ts
|
|
3045
3430
|
/**
|
|
3046
3431
|
* Generated by orval v8.10.0 🍺
|
|
3047
3432
|
* Do not edit manually.
|
|
@@ -3053,6 +3438,21 @@ type GetFlowDefinition200 = {
|
|
|
3053
3438
|
* Additional error-specific context.
|
|
3054
3439
|
*/
|
|
3055
3440
|
//#endregion
|
|
3441
|
+
//#region src/generated/model/getFlowDefinitionParams.d.ts
|
|
3442
|
+
/**
|
|
3443
|
+
* Generated by orval v8.10.0 🍺
|
|
3444
|
+
* Do not edit manually.
|
|
3445
|
+
* Zitadel NextGen
|
|
3446
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3447
|
+
* OpenAPI spec version: 0.0.1
|
|
3448
|
+
*/
|
|
3449
|
+
type GetFlowDefinitionParams = {
|
|
3450
|
+
/**
|
|
3451
|
+
* The project id to filter by.
|
|
3452
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3453
|
+
*/
|
|
3454
|
+
project_id: string;
|
|
3455
|
+
}; //#endregion
|
|
3056
3456
|
//#region src/generated/model/getFlowStep200BrandingLayout.d.ts
|
|
3057
3457
|
/**
|
|
3058
3458
|
* Generated by orval v8.10.0 🍺
|
|
@@ -3094,7 +3494,7 @@ type GetFlowStep200Branding = {
|
|
|
3094
3494
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
3095
3495
|
hero_url?: string;
|
|
3096
3496
|
}; //#endregion
|
|
3097
|
-
//#region src/generated/model/
|
|
3497
|
+
//#region src/generated/model/getFlowStep200StepActionsItem.d.ts
|
|
3098
3498
|
/**
|
|
3099
3499
|
* Generated by orval v8.10.0 🍺
|
|
3100
3500
|
* Do not edit manually.
|
|
@@ -3103,24 +3503,23 @@ type GetFlowStep200Branding = {
|
|
|
3103
3503
|
* OpenAPI spec version: 0.0.1
|
|
3104
3504
|
*/
|
|
3105
3505
|
/**
|
|
3106
|
-
*
|
|
3107
|
-
|
|
3506
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
3507
|
+
back in the submit request as `action`.
|
|
3108
3508
|
|
|
3109
3509
|
*/
|
|
3110
|
-
type
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
};
|
|
3510
|
+
type GetFlowStep200StepActionsItem = {
|
|
3511
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
3512
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
3513
|
+
this hint to choose visual emphasis. At most one action per step
|
|
3514
|
+
should be primary; this is not enforced here.
|
|
3515
|
+
*/
|
|
3516
|
+
primary?: boolean;
|
|
3517
|
+
/** Optional localization key override for the action's label. When
|
|
3518
|
+
omitted, the engine derives a key from the step and action names.
|
|
3519
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
3520
|
+
by the engine.
|
|
3521
|
+
*/
|
|
3522
|
+
text_key?: string;
|
|
3124
3523
|
}; //#endregion
|
|
3125
3524
|
//#region src/generated/model/getFlowStep200StepChallengeMethod.d.ts
|
|
3126
3525
|
/**
|
|
@@ -3198,7 +3597,7 @@ declare const GetFlowStep200StepComplete: {
|
|
|
3198
3597
|
readonly redirect: "redirect";
|
|
3199
3598
|
readonly show: "show";
|
|
3200
3599
|
}; //#endregion
|
|
3201
|
-
//#region src/generated/model/
|
|
3600
|
+
//#region src/generated/model/getFlowStep200StepFieldsItemType.d.ts
|
|
3202
3601
|
/**
|
|
3203
3602
|
* Generated by orval v8.10.0 🍺
|
|
3204
3603
|
* Do not edit manually.
|
|
@@ -3207,14 +3606,15 @@ declare const GetFlowStep200StepComplete: {
|
|
|
3207
3606
|
* OpenAPI spec version: 0.0.1
|
|
3208
3607
|
*/
|
|
3209
3608
|
/**
|
|
3210
|
-
* The input kind the client should render. Encodes the formats
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3609
|
+
* The input kind the client should render. Encodes the formats and
|
|
3610
|
+
JSON types that map to a familiar HTML input: `email`, `url`,
|
|
3611
|
+
`date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
3612
|
+
`select` from a closed `enum`. For other formats (e.g. uuid) the
|
|
3613
|
+
type is `text` and `validation.format` carries the rule.
|
|
3214
3614
|
|
|
3215
3615
|
*/
|
|
3216
|
-
type
|
|
3217
|
-
declare const
|
|
3616
|
+
type GetFlowStep200StepFieldsItemType = (typeof GetFlowStep200StepFieldsItemType)[keyof typeof GetFlowStep200StepFieldsItemType];
|
|
3617
|
+
declare const GetFlowStep200StepFieldsItemType: {
|
|
3218
3618
|
readonly text: "text";
|
|
3219
3619
|
readonly email: "email";
|
|
3220
3620
|
readonly password: "password";
|
|
@@ -3223,8 +3623,10 @@ declare const GetFlowStep200StepFieldsType: {
|
|
|
3223
3623
|
readonly url: "url";
|
|
3224
3624
|
readonly date: "date";
|
|
3225
3625
|
readonly hidden: "hidden";
|
|
3626
|
+
readonly checkbox: "checkbox";
|
|
3627
|
+
readonly select: "select";
|
|
3226
3628
|
}; //#endregion
|
|
3227
|
-
//#region src/generated/model/
|
|
3629
|
+
//#region src/generated/model/getFlowStep200StepFieldsItemValidationFormat.d.ts
|
|
3228
3630
|
/**
|
|
3229
3631
|
* Generated by orval v8.10.0 🍺
|
|
3230
3632
|
* Do not edit manually.
|
|
@@ -3240,14 +3642,14 @@ sufficient for client-side validation. When `type` is `text`
|
|
|
3240
3642
|
(e.g. `format: uuid`), this key is the only signal.
|
|
3241
3643
|
|
|
3242
3644
|
*/
|
|
3243
|
-
type
|
|
3244
|
-
declare const
|
|
3645
|
+
type GetFlowStep200StepFieldsItemValidationFormat = (typeof GetFlowStep200StepFieldsItemValidationFormat)[keyof typeof GetFlowStep200StepFieldsItemValidationFormat];
|
|
3646
|
+
declare const GetFlowStep200StepFieldsItemValidationFormat: {
|
|
3245
3647
|
readonly email: "email";
|
|
3246
3648
|
readonly "date-time": "date-time";
|
|
3247
3649
|
readonly uuid: "uuid";
|
|
3248
3650
|
readonly uri: "uri";
|
|
3249
3651
|
}; //#endregion
|
|
3250
|
-
//#region src/generated/model/
|
|
3652
|
+
//#region src/generated/model/getFlowStep200StepFieldsItemValidation.d.ts
|
|
3251
3653
|
/**
|
|
3252
3654
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
3253
3655
|
server runs the same rules on submit and is the only authority on
|
|
@@ -3259,14 +3661,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
|
|
|
3259
3661
|
property; absent keys mean no rule.
|
|
3260
3662
|
|
|
3261
3663
|
*/
|
|
3262
|
-
type
|
|
3664
|
+
type GetFlowStep200StepFieldsItemValidation = {
|
|
3263
3665
|
/** Semantic format the value must match. Values mirror the user
|
|
3264
3666
|
meta-schema. When `type` already encodes the format (email,
|
|
3265
3667
|
url, date), this key is informative and the input type is
|
|
3266
3668
|
sufficient for client-side validation. When `type` is `text`
|
|
3267
3669
|
(e.g. `format: uuid`), this key is the only signal.
|
|
3268
3670
|
*/
|
|
3269
|
-
format?:
|
|
3671
|
+
format?: GetFlowStep200StepFieldsItemValidationFormat;
|
|
3270
3672
|
/**
|
|
3271
3673
|
* Minimum length in characters (inclusive). Mirrors `minLength`.
|
|
3272
3674
|
* @minimum 0
|
|
@@ -3277,39 +3679,46 @@ type GetFlowStep200StepFieldsValidation = {
|
|
|
3277
3679
|
* @minimum 0
|
|
3278
3680
|
*/
|
|
3279
3681
|
max_length?: number;
|
|
3682
|
+
/** Closed list of allowed values. Mirrors the JSON Schema `enum`
|
|
3683
|
+
keyword on the underlying user property. When `type` is
|
|
3684
|
+
`select` the client renders these as options; for other types
|
|
3685
|
+
the rule still applies as a membership check.
|
|
3686
|
+
*/
|
|
3687
|
+
enum?: string[];
|
|
3280
3688
|
}; //#endregion
|
|
3281
|
-
//#region src/generated/model/
|
|
3689
|
+
//#region src/generated/model/getFlowStep200StepFieldsItem.d.ts
|
|
3282
3690
|
/**
|
|
3283
|
-
*
|
|
3284
|
-
|
|
3285
|
-
Field metadata (type, validation) is resolved by the engine from the
|
|
3286
|
-
flow's user schema.
|
|
3691
|
+
* A data input capability. Describes what the user must provide.
|
|
3692
|
+
Does not contain display text — only a `text_key` resolved client-side.
|
|
3287
3693
|
|
|
3288
3694
|
*/
|
|
3289
|
-
type
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3695
|
+
type GetFlowStep200StepFieldsItem = {
|
|
3696
|
+
/** Field name, matching a property in the flow's user schema. Carries
|
|
3697
|
+
the submitted value back to the engine.
|
|
3698
|
+
*/
|
|
3699
|
+
name: string;
|
|
3700
|
+
/** The input kind the client should render. Encodes the formats and
|
|
3701
|
+
JSON types that map to a familiar HTML input: `email`, `url`,
|
|
3702
|
+
`date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
3703
|
+
`select` from a closed `enum`. For other formats (e.g. uuid) the
|
|
3704
|
+
type is `text` and `validation.format` carries the rule.
|
|
3705
|
+
*/
|
|
3706
|
+
type: GetFlowStep200StepFieldsItemType; /** Localization key for the field label. */
|
|
3707
|
+
text_key: string;
|
|
3708
|
+
/** The field MUST be present and non-empty on submit. Mirrors the
|
|
3709
|
+
schema's top-level `required` array.
|
|
3710
|
+
*/
|
|
3711
|
+
required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
|
|
3712
|
+
value?: unknown;
|
|
3713
|
+
/** Schema-derived rules the frontend SHOULD apply at input time. The
|
|
3714
|
+
server runs the same rules on submit and is the only authority on
|
|
3715
|
+
whether the step advances — these rules are a UX hint to reduce
|
|
3716
|
+
round trips, not a contract guarantee.
|
|
3717
|
+
Omitted entirely when the field has no rules beyond its `type`.
|
|
3718
|
+
Each key mirrors a JSON Schema keyword on the underlying user
|
|
3719
|
+
property; absent keys mean no rule.
|
|
3720
|
+
*/
|
|
3721
|
+
validation?: GetFlowStep200StepFieldsItemValidation;
|
|
3313
3722
|
}; //#endregion
|
|
3314
3723
|
//#region src/generated/model/getFlowStep200StepGatesConfig.d.ts
|
|
3315
3724
|
/**
|
|
@@ -3405,9 +3814,10 @@ type GetFlowStep200StepTexts = {
|
|
|
3405
3814
|
}; //#endregion
|
|
3406
3815
|
//#region src/generated/model/getFlowStep200Step.d.ts
|
|
3407
3816
|
/**
|
|
3408
|
-
* A step contains
|
|
3817
|
+
* A step contains ordered capability arrays: what to collect (fields),
|
|
3409
3818
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
3410
|
-
|
|
3819
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
3820
|
+
and builds name-keyed indexes locally for lookup.
|
|
3411
3821
|
|
|
3412
3822
|
*/
|
|
3413
3823
|
type GetFlowStep200Step = {
|
|
@@ -3423,16 +3833,16 @@ type GetFlowStep200Step = {
|
|
|
3423
3833
|
*/
|
|
3424
3834
|
complete?: GetFlowStep200StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
|
|
3425
3835
|
redirect_url?: string;
|
|
3426
|
-
/**
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3836
|
+
/** Ordered list of input fields to collect. Field metadata (type, validation)
|
|
3837
|
+
is resolved by the engine from the flow's user schema. The LiquidJS
|
|
3838
|
+
template iterates this array; for keyed lookup it builds a name-indexed
|
|
3839
|
+
map locally.
|
|
3430
3840
|
*/
|
|
3431
|
-
fields:
|
|
3432
|
-
/**
|
|
3433
|
-
|
|
3841
|
+
fields: GetFlowStep200StepFieldsItem[];
|
|
3842
|
+
/** Ordered list of available user actions. The LiquidJS template iterates
|
|
3843
|
+
this array and builds a name-indexed map locally for keyed lookup.
|
|
3434
3844
|
*/
|
|
3435
|
-
actions:
|
|
3845
|
+
actions: GetFlowStep200StepActionsItem[];
|
|
3436
3846
|
/** Security gates that must be satisfied before the step can be submitted.
|
|
3437
3847
|
The engine injects gates dynamically based on policy, even if they
|
|
3438
3848
|
are not declared in the flow definition.
|
|
@@ -3457,9 +3867,10 @@ type GetFlowStep200 = {
|
|
|
3457
3867
|
id: string; /** Underlying session ID. Stable across all stacked flows. */
|
|
3458
3868
|
session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
|
|
3459
3869
|
session_token?: string;
|
|
3460
|
-
/** A step contains
|
|
3870
|
+
/** A step contains ordered capability arrays: what to collect (fields),
|
|
3461
3871
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
3462
|
-
|
|
3872
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
3873
|
+
and builds name-keyed indexes locally for lookup.
|
|
3463
3874
|
*/
|
|
3464
3875
|
step: GetFlowStep200Step;
|
|
3465
3876
|
/** Resolved branding configuration. Inherited from the app → team → project
|
|
@@ -3766,6 +4177,29 @@ type GetMySession200 = {
|
|
|
3766
4177
|
* Additional error-specific context.
|
|
3767
4178
|
*/
|
|
3768
4179
|
//#endregion
|
|
4180
|
+
//#region src/generated/model/getMyUser200.d.ts
|
|
4181
|
+
/**
|
|
4182
|
+
* Generated by orval v8.10.0 🍺
|
|
4183
|
+
* Do not edit manually.
|
|
4184
|
+
* Zitadel NextGen
|
|
4185
|
+
* This is the next generation of the Zitadel identity platform.
|
|
4186
|
+
* OpenAPI spec version: 0.0.1
|
|
4187
|
+
*/
|
|
4188
|
+
type GetMyUser200 = {
|
|
4189
|
+
[key: string]: unknown;
|
|
4190
|
+
}; //#endregion
|
|
4191
|
+
//#region src/generated/model/getMyUser401Details.d.ts
|
|
4192
|
+
/**
|
|
4193
|
+
* Generated by orval v8.10.0 🍺
|
|
4194
|
+
* Do not edit manually.
|
|
4195
|
+
* Zitadel NextGen
|
|
4196
|
+
* This is the next generation of the Zitadel identity platform.
|
|
4197
|
+
* OpenAPI spec version: 0.0.1
|
|
4198
|
+
*/
|
|
4199
|
+
/**
|
|
4200
|
+
* Additional error-specific context.
|
|
4201
|
+
*/
|
|
4202
|
+
//#endregion
|
|
3769
4203
|
//#region src/generated/model/getOpenIDConfiguration200ClaimTypesSupportedItem.d.ts
|
|
3770
4204
|
/**
|
|
3771
4205
|
* Generated by orval v8.10.0 🍺
|
|
@@ -4673,7 +5107,7 @@ type ListFlowDefinitions200FlowDefinitionsItem = {
|
|
|
4673
5107
|
/** URI of the flow definition schema this definition was authored against.
|
|
4674
5108
|
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.
|
|
4675
5109
|
*/
|
|
4676
|
-
schema_uri
|
|
5110
|
+
schema_uri?: string; /** Status of the flow definition. */
|
|
4677
5111
|
status: string; /** Timestamp when the flow definition was created. */
|
|
4678
5112
|
created_at: string; /** Timestamp when the flow definition was last updated. */
|
|
4679
5113
|
updated_at: string;
|
|
@@ -4728,7 +5162,7 @@ type ListFlowDefinitionsParams = {
|
|
|
4728
5162
|
*/
|
|
4729
5163
|
page_token?: string;
|
|
4730
5164
|
/**
|
|
4731
|
-
* The
|
|
5165
|
+
* The project id to filter by.
|
|
4732
5166
|
* @pattern ^[a-zA-Z0-9_-]+$
|
|
4733
5167
|
*/
|
|
4734
5168
|
project_id: string;
|
|
@@ -5072,6 +5506,63 @@ type RevokeTokenBody = {
|
|
|
5072
5506
|
* Additional error-specific context.
|
|
5073
5507
|
*/
|
|
5074
5508
|
//#endregion
|
|
5509
|
+
//#region src/generated/model/setUserPasswordBody.d.ts
|
|
5510
|
+
/**
|
|
5511
|
+
* Generated by orval v8.10.0 🍺
|
|
5512
|
+
* Do not edit manually.
|
|
5513
|
+
* Zitadel NextGen
|
|
5514
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5515
|
+
* OpenAPI spec version: 0.0.1
|
|
5516
|
+
*/
|
|
5517
|
+
/**
|
|
5518
|
+
* Request to update the user's password.
|
|
5519
|
+
*/
|
|
5520
|
+
type SetUserPasswordBody = {
|
|
5521
|
+
/** The new password for the user. */password: string;
|
|
5522
|
+
/** Whether the user is required to change their password on the next login.
|
|
5523
|
+
If not provided, it will default to false.
|
|
5524
|
+
*/
|
|
5525
|
+
isChangeRequired?: boolean;
|
|
5526
|
+
}; //#endregion
|
|
5527
|
+
//#region src/generated/model/setUserPasswordDefaultDetails.d.ts
|
|
5528
|
+
/**
|
|
5529
|
+
* Generated by orval v8.10.0 🍺
|
|
5530
|
+
* Do not edit manually.
|
|
5531
|
+
* Zitadel NextGen
|
|
5532
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5533
|
+
* OpenAPI spec version: 0.0.1
|
|
5534
|
+
*/
|
|
5535
|
+
/**
|
|
5536
|
+
* Additional error-specific context.
|
|
5537
|
+
*/
|
|
5538
|
+
//#endregion
|
|
5539
|
+
//#region src/generated/model/setUserPasswordParams.d.ts
|
|
5540
|
+
/**
|
|
5541
|
+
* Generated by orval v8.10.0 🍺
|
|
5542
|
+
* Do not edit manually.
|
|
5543
|
+
* Zitadel NextGen
|
|
5544
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5545
|
+
* OpenAPI spec version: 0.0.1
|
|
5546
|
+
*/
|
|
5547
|
+
type SetUserPasswordParams = {
|
|
5548
|
+
/**
|
|
5549
|
+
* The unique identifier of the project
|
|
5550
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5551
|
+
*/
|
|
5552
|
+
project_id: string;
|
|
5553
|
+
}; //#endregion
|
|
5554
|
+
//#region src/generated/model/submitFlowEvent400Details.d.ts
|
|
5555
|
+
/**
|
|
5556
|
+
* Generated by orval v8.10.0 🍺
|
|
5557
|
+
* Do not edit manually.
|
|
5558
|
+
* Zitadel NextGen
|
|
5559
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5560
|
+
* OpenAPI spec version: 0.0.1
|
|
5561
|
+
*/
|
|
5562
|
+
/**
|
|
5563
|
+
* Additional error-specific context.
|
|
5564
|
+
*/
|
|
5565
|
+
//#endregion
|
|
5075
5566
|
//#region src/generated/model/submitFlowEventBodyPayload.d.ts
|
|
5076
5567
|
/**
|
|
5077
5568
|
* Generated by orval v8.10.0 🍺
|
|
@@ -5158,7 +5649,7 @@ type SubmitFlowStep200Branding = {
|
|
|
5158
5649
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
5159
5650
|
hero_url?: string;
|
|
5160
5651
|
}; //#endregion
|
|
5161
|
-
//#region src/generated/model/
|
|
5652
|
+
//#region src/generated/model/submitFlowStep200StepActionsItem.d.ts
|
|
5162
5653
|
/**
|
|
5163
5654
|
* Generated by orval v8.10.0 🍺
|
|
5164
5655
|
* Do not edit manually.
|
|
@@ -5167,24 +5658,23 @@ type SubmitFlowStep200Branding = {
|
|
|
5167
5658
|
* OpenAPI spec version: 0.0.1
|
|
5168
5659
|
*/
|
|
5169
5660
|
/**
|
|
5170
|
-
*
|
|
5171
|
-
|
|
5661
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
5662
|
+
back in the submit request as `action`.
|
|
5172
5663
|
|
|
5173
5664
|
*/
|
|
5174
|
-
type
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
};
|
|
5665
|
+
type SubmitFlowStep200StepActionsItem = {
|
|
5666
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
5667
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
5668
|
+
this hint to choose visual emphasis. At most one action per step
|
|
5669
|
+
should be primary; this is not enforced here.
|
|
5670
|
+
*/
|
|
5671
|
+
primary?: boolean;
|
|
5672
|
+
/** Optional localization key override for the action's label. When
|
|
5673
|
+
omitted, the engine derives a key from the step and action names.
|
|
5674
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
5675
|
+
by the engine.
|
|
5676
|
+
*/
|
|
5677
|
+
text_key?: string;
|
|
5188
5678
|
}; //#endregion
|
|
5189
5679
|
//#region src/generated/model/submitFlowStep200StepChallengeMethod.d.ts
|
|
5190
5680
|
/**
|
|
@@ -5262,7 +5752,7 @@ declare const SubmitFlowStep200StepComplete: {
|
|
|
5262
5752
|
readonly redirect: "redirect";
|
|
5263
5753
|
readonly show: "show";
|
|
5264
5754
|
}; //#endregion
|
|
5265
|
-
//#region src/generated/model/
|
|
5755
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItemType.d.ts
|
|
5266
5756
|
/**
|
|
5267
5757
|
* Generated by orval v8.10.0 🍺
|
|
5268
5758
|
* Do not edit manually.
|
|
@@ -5271,14 +5761,15 @@ declare const SubmitFlowStep200StepComplete: {
|
|
|
5271
5761
|
* OpenAPI spec version: 0.0.1
|
|
5272
5762
|
*/
|
|
5273
5763
|
/**
|
|
5274
|
-
* The input kind the client should render. Encodes the formats
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5764
|
+
* The input kind the client should render. Encodes the formats and
|
|
5765
|
+
JSON types that map to a familiar HTML input: `email`, `url`,
|
|
5766
|
+
`date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
5767
|
+
`select` from a closed `enum`. For other formats (e.g. uuid) the
|
|
5768
|
+
type is `text` and `validation.format` carries the rule.
|
|
5278
5769
|
|
|
5279
5770
|
*/
|
|
5280
|
-
type
|
|
5281
|
-
declare const
|
|
5771
|
+
type SubmitFlowStep200StepFieldsItemType = (typeof SubmitFlowStep200StepFieldsItemType)[keyof typeof SubmitFlowStep200StepFieldsItemType];
|
|
5772
|
+
declare const SubmitFlowStep200StepFieldsItemType: {
|
|
5282
5773
|
readonly text: "text";
|
|
5283
5774
|
readonly email: "email";
|
|
5284
5775
|
readonly password: "password";
|
|
@@ -5287,8 +5778,10 @@ declare const SubmitFlowStep200StepFieldsType: {
|
|
|
5287
5778
|
readonly url: "url";
|
|
5288
5779
|
readonly date: "date";
|
|
5289
5780
|
readonly hidden: "hidden";
|
|
5781
|
+
readonly checkbox: "checkbox";
|
|
5782
|
+
readonly select: "select";
|
|
5290
5783
|
}; //#endregion
|
|
5291
|
-
//#region src/generated/model/
|
|
5784
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.d.ts
|
|
5292
5785
|
/**
|
|
5293
5786
|
* Generated by orval v8.10.0 🍺
|
|
5294
5787
|
* Do not edit manually.
|
|
@@ -5304,14 +5797,14 @@ sufficient for client-side validation. When `type` is `text`
|
|
|
5304
5797
|
(e.g. `format: uuid`), this key is the only signal.
|
|
5305
5798
|
|
|
5306
5799
|
*/
|
|
5307
|
-
type
|
|
5308
|
-
declare const
|
|
5800
|
+
type SubmitFlowStep200StepFieldsItemValidationFormat = (typeof SubmitFlowStep200StepFieldsItemValidationFormat)[keyof typeof SubmitFlowStep200StepFieldsItemValidationFormat];
|
|
5801
|
+
declare const SubmitFlowStep200StepFieldsItemValidationFormat: {
|
|
5309
5802
|
readonly email: "email";
|
|
5310
5803
|
readonly "date-time": "date-time";
|
|
5311
5804
|
readonly uuid: "uuid";
|
|
5312
5805
|
readonly uri: "uri";
|
|
5313
5806
|
}; //#endregion
|
|
5314
|
-
//#region src/generated/model/
|
|
5807
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItemValidation.d.ts
|
|
5315
5808
|
/**
|
|
5316
5809
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
5317
5810
|
server runs the same rules on submit and is the only authority on
|
|
@@ -5323,14 +5816,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
|
|
|
5323
5816
|
property; absent keys mean no rule.
|
|
5324
5817
|
|
|
5325
5818
|
*/
|
|
5326
|
-
type
|
|
5819
|
+
type SubmitFlowStep200StepFieldsItemValidation = {
|
|
5327
5820
|
/** Semantic format the value must match. Values mirror the user
|
|
5328
5821
|
meta-schema. When `type` already encodes the format (email,
|
|
5329
5822
|
url, date), this key is informative and the input type is
|
|
5330
5823
|
sufficient for client-side validation. When `type` is `text`
|
|
5331
5824
|
(e.g. `format: uuid`), this key is the only signal.
|
|
5332
5825
|
*/
|
|
5333
|
-
format?:
|
|
5826
|
+
format?: SubmitFlowStep200StepFieldsItemValidationFormat;
|
|
5334
5827
|
/**
|
|
5335
5828
|
* Minimum length in characters (inclusive). Mirrors `minLength`.
|
|
5336
5829
|
* @minimum 0
|
|
@@ -5341,39 +5834,46 @@ type SubmitFlowStep200StepFieldsValidation = {
|
|
|
5341
5834
|
* @minimum 0
|
|
5342
5835
|
*/
|
|
5343
5836
|
max_length?: number;
|
|
5837
|
+
/** Closed list of allowed values. Mirrors the JSON Schema `enum`
|
|
5838
|
+
keyword on the underlying user property. When `type` is
|
|
5839
|
+
`select` the client renders these as options; for other types
|
|
5840
|
+
the rule still applies as a membership check.
|
|
5841
|
+
*/
|
|
5842
|
+
enum?: string[];
|
|
5344
5843
|
}; //#endregion
|
|
5345
|
-
//#region src/generated/model/
|
|
5844
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItem.d.ts
|
|
5346
5845
|
/**
|
|
5347
|
-
*
|
|
5348
|
-
|
|
5349
|
-
Field metadata (type, validation) is resolved by the engine from the
|
|
5350
|
-
flow's user schema.
|
|
5846
|
+
* A data input capability. Describes what the user must provide.
|
|
5847
|
+
Does not contain display text — only a `text_key` resolved client-side.
|
|
5351
5848
|
|
|
5352
5849
|
*/
|
|
5353
|
-
type
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5850
|
+
type SubmitFlowStep200StepFieldsItem = {
|
|
5851
|
+
/** Field name, matching a property in the flow's user schema. Carries
|
|
5852
|
+
the submitted value back to the engine.
|
|
5853
|
+
*/
|
|
5854
|
+
name: string;
|
|
5855
|
+
/** The input kind the client should render. Encodes the formats and
|
|
5856
|
+
JSON types that map to a familiar HTML input: `email`, `url`,
|
|
5857
|
+
`date` come from `format`; `checkbox` from JSON `type: boolean`;
|
|
5858
|
+
`select` from a closed `enum`. For other formats (e.g. uuid) the
|
|
5859
|
+
type is `text` and `validation.format` carries the rule.
|
|
5860
|
+
*/
|
|
5861
|
+
type: SubmitFlowStep200StepFieldsItemType; /** Localization key for the field label. */
|
|
5862
|
+
text_key: string;
|
|
5863
|
+
/** The field MUST be present and non-empty on submit. Mirrors the
|
|
5864
|
+
schema's top-level `required` array.
|
|
5865
|
+
*/
|
|
5866
|
+
required?: boolean; /** Pre-filled value (e.g., an identifier carried over from a pivot). */
|
|
5867
|
+
value?: unknown;
|
|
5868
|
+
/** Schema-derived rules the frontend SHOULD apply at input time. The
|
|
5869
|
+
server runs the same rules on submit and is the only authority on
|
|
5870
|
+
whether the step advances — these rules are a UX hint to reduce
|
|
5871
|
+
round trips, not a contract guarantee.
|
|
5872
|
+
Omitted entirely when the field has no rules beyond its `type`.
|
|
5873
|
+
Each key mirrors a JSON Schema keyword on the underlying user
|
|
5874
|
+
property; absent keys mean no rule.
|
|
5875
|
+
*/
|
|
5876
|
+
validation?: SubmitFlowStep200StepFieldsItemValidation;
|
|
5377
5877
|
}; //#endregion
|
|
5378
5878
|
//#region src/generated/model/submitFlowStep200StepGatesConfig.d.ts
|
|
5379
5879
|
/**
|
|
@@ -5469,9 +5969,10 @@ type SubmitFlowStep200StepTexts = {
|
|
|
5469
5969
|
}; //#endregion
|
|
5470
5970
|
//#region src/generated/model/submitFlowStep200Step.d.ts
|
|
5471
5971
|
/**
|
|
5472
|
-
* A step contains
|
|
5972
|
+
* A step contains ordered capability arrays: what to collect (fields),
|
|
5473
5973
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
5474
|
-
|
|
5974
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
5975
|
+
and builds name-keyed indexes locally for lookup.
|
|
5475
5976
|
|
|
5476
5977
|
*/
|
|
5477
5978
|
type SubmitFlowStep200Step = {
|
|
@@ -5487,16 +5988,16 @@ type SubmitFlowStep200Step = {
|
|
|
5487
5988
|
*/
|
|
5488
5989
|
complete?: SubmitFlowStep200StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
|
|
5489
5990
|
redirect_url?: string;
|
|
5490
|
-
/**
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5991
|
+
/** Ordered list of input fields to collect. Field metadata (type, validation)
|
|
5992
|
+
is resolved by the engine from the flow's user schema. The LiquidJS
|
|
5993
|
+
template iterates this array; for keyed lookup it builds a name-indexed
|
|
5994
|
+
map locally.
|
|
5494
5995
|
*/
|
|
5495
|
-
fields:
|
|
5496
|
-
/**
|
|
5497
|
-
|
|
5996
|
+
fields: SubmitFlowStep200StepFieldsItem[];
|
|
5997
|
+
/** Ordered list of available user actions. The LiquidJS template iterates
|
|
5998
|
+
this array and builds a name-indexed map locally for keyed lookup.
|
|
5498
5999
|
*/
|
|
5499
|
-
actions:
|
|
6000
|
+
actions: SubmitFlowStep200StepActionsItem[];
|
|
5500
6001
|
/** Security gates that must be satisfied before the step can be submitted.
|
|
5501
6002
|
The engine injects gates dynamically based on policy, even if they
|
|
5502
6003
|
are not declared in the flow definition.
|
|
@@ -5521,9 +6022,10 @@ type SubmitFlowStep200 = {
|
|
|
5521
6022
|
id: string; /** Underlying session ID. Stable across all stacked flows. */
|
|
5522
6023
|
session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
|
|
5523
6024
|
session_token?: string;
|
|
5524
|
-
/** A step contains
|
|
6025
|
+
/** A step contains ordered capability arrays: what to collect (fields),
|
|
5525
6026
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
5526
|
-
|
|
6027
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
6028
|
+
and builds name-keyed indexes locally for lookup.
|
|
5527
6029
|
*/
|
|
5528
6030
|
step: SubmitFlowStep200Step;
|
|
5529
6031
|
/** Resolved branding configuration. Inherited from the app → team → project
|
|
@@ -5659,7 +6161,7 @@ type SubmitFlowStepBody = {
|
|
|
5659
6161
|
* Additional error-specific context.
|
|
5660
6162
|
*/
|
|
5661
6163
|
//#endregion
|
|
5662
|
-
//#region src/generated/model/
|
|
6164
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts
|
|
5663
6165
|
/**
|
|
5664
6166
|
* Generated by orval v8.10.0 🍺
|
|
5665
6167
|
* Do not edit manually.
|
|
@@ -5667,7 +6169,261 @@ type SubmitFlowStepBody = {
|
|
|
5667
6169
|
* This is the next generation of the Zitadel identity platform.
|
|
5668
6170
|
* OpenAPI spec version: 0.0.1
|
|
5669
6171
|
*/
|
|
5670
|
-
|
|
6172
|
+
/**
|
|
6173
|
+
* Scopes which teams or apps this flow definition applies to. Empty or
|
|
6174
|
+
omitted fields mean "no restriction"; when both are empty the definition
|
|
6175
|
+
matches every request in the project. The engine picks the most specific
|
|
6176
|
+
matching definition: app > team > project-wide.
|
|
6177
|
+
|
|
6178
|
+
*/
|
|
6179
|
+
type UpdateFlowDefinition200FlowDefinitionAudience = {
|
|
6180
|
+
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
6181
|
+
app_ids?: string[];
|
|
6182
|
+
}; //#endregion
|
|
6183
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.d.ts
|
|
6184
|
+
/**
|
|
6185
|
+
* Generated by orval v8.10.0 🍺
|
|
6186
|
+
* Do not edit manually.
|
|
6187
|
+
* Zitadel NextGen
|
|
6188
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6189
|
+
* OpenAPI spec version: 0.0.1
|
|
6190
|
+
*/
|
|
6191
|
+
/**
|
|
6192
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
6193
|
+
back in the submit request as `action`.
|
|
6194
|
+
|
|
6195
|
+
*/
|
|
6196
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem = {
|
|
6197
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
6198
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
6199
|
+
this hint to choose visual emphasis. At most one action per step
|
|
6200
|
+
should be primary; this is not enforced here.
|
|
6201
|
+
*/
|
|
6202
|
+
primary?: boolean;
|
|
6203
|
+
/** Optional localization key override for the action's label. When
|
|
6204
|
+
omitted, the engine derives a key from the step and action names.
|
|
6205
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
6206
|
+
by the engine.
|
|
6207
|
+
*/
|
|
6208
|
+
text_key?: string;
|
|
6209
|
+
}; //#endregion
|
|
6210
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
|
|
6211
|
+
/**
|
|
6212
|
+
* Generated by orval v8.10.0 🍺
|
|
6213
|
+
* Do not edit manually.
|
|
6214
|
+
* Zitadel NextGen
|
|
6215
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6216
|
+
* OpenAPI spec version: 0.0.1
|
|
6217
|
+
*/
|
|
6218
|
+
/**
|
|
6219
|
+
* Marks this as a terminal step. Tells the frontend what to do:
|
|
6220
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
6221
|
+
- show: render as a success/info screen
|
|
6222
|
+
|
|
6223
|
+
*/
|
|
6224
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemComplete = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemComplete];
|
|
6225
|
+
declare const UpdateFlowDefinition200FlowDefinitionStepsItemComplete: {
|
|
6226
|
+
readonly redirect: "redirect";
|
|
6227
|
+
readonly show: "show";
|
|
6228
|
+
}; //#endregion
|
|
6229
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts
|
|
6230
|
+
/**
|
|
6231
|
+
* Generated by orval v8.10.0 🍺
|
|
6232
|
+
* Do not edit manually.
|
|
6233
|
+
* Zitadel NextGen
|
|
6234
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6235
|
+
* OpenAPI spec version: 0.0.1
|
|
6236
|
+
*/
|
|
6237
|
+
/**
|
|
6238
|
+
* Provider-specific configuration consumed by the implementation when
|
|
6239
|
+
issuing the per-render challenge. Opaque to the engine.
|
|
6240
|
+
|
|
6241
|
+
*/
|
|
6242
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig = {
|
|
6243
|
+
[key: string]: unknown;
|
|
6244
|
+
}; //#endregion
|
|
6245
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts
|
|
6246
|
+
/**
|
|
6247
|
+
* Generated by orval v8.10.0 🍺
|
|
6248
|
+
* Do not edit manually.
|
|
6249
|
+
* Zitadel NextGen
|
|
6250
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6251
|
+
* OpenAPI spec version: 0.0.1
|
|
6252
|
+
*/
|
|
6253
|
+
/**
|
|
6254
|
+
* The gate category. Only `captcha` is currently defined. Authenticator
|
|
6255
|
+
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
6256
|
+
`x-credential` on a field, not as gates.
|
|
6257
|
+
|
|
6258
|
+
*/
|
|
6259
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind];
|
|
6260
|
+
declare const UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind: {
|
|
6261
|
+
readonly captcha: "captcha";
|
|
6262
|
+
}; //#endregion
|
|
6263
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts
|
|
6264
|
+
/**
|
|
6265
|
+
* Security gates that must be satisfied before submission. Keyed by gate
|
|
6266
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
6267
|
+
configuration. The engine may also inject gates dynamically based on
|
|
6268
|
+
policy.
|
|
6269
|
+
|
|
6270
|
+
*/
|
|
6271
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemGates = {
|
|
6272
|
+
[key: string]: {
|
|
6273
|
+
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
6274
|
+
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
6275
|
+
`x-credential` on a field, not as gates.
|
|
6276
|
+
*/
|
|
6277
|
+
kind: UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind;
|
|
6278
|
+
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
6279
|
+
`hcaptcha`. The engine looks up an implementation in its provider
|
|
6280
|
+
registry.
|
|
6281
|
+
*/
|
|
6282
|
+
provider: string;
|
|
6283
|
+
/** Provider-specific configuration consumed by the implementation when
|
|
6284
|
+
issuing the per-render challenge. Opaque to the engine.
|
|
6285
|
+
*/
|
|
6286
|
+
config?: UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig;
|
|
6287
|
+
};
|
|
6288
|
+
}; //#endregion
|
|
6289
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts
|
|
6290
|
+
/**
|
|
6291
|
+
* Generated by orval v8.10.0 🍺
|
|
6292
|
+
* Do not edit manually.
|
|
6293
|
+
* Zitadel NextGen
|
|
6294
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6295
|
+
* OpenAPI spec version: 0.0.1
|
|
6296
|
+
*/
|
|
6297
|
+
/**
|
|
6298
|
+
* Server-side mutation to execute when this step completes successfully.
|
|
6299
|
+
Runs after field validation passes, before the transition fires.
|
|
6300
|
+
|
|
6301
|
+
- create_user: creates the user record (registration flows)
|
|
6302
|
+
|
|
6303
|
+
*/
|
|
6304
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess = (typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess];
|
|
6305
|
+
declare const UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess: {
|
|
6306
|
+
readonly create_user: "create_user";
|
|
6307
|
+
}; //#endregion
|
|
6308
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts
|
|
6309
|
+
/**
|
|
6310
|
+
* Generated by orval v8.10.0 🍺
|
|
6311
|
+
* Do not edit manually.
|
|
6312
|
+
* Zitadel NextGen
|
|
6313
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6314
|
+
* OpenAPI spec version: 0.0.1
|
|
6315
|
+
*/
|
|
6316
|
+
/**
|
|
6317
|
+
* An available SSO identity provider.
|
|
6318
|
+
*/
|
|
6319
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
|
|
6320
|
+
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
6321
|
+
name: string; /** Template hint for rendering (logo, colors). */
|
|
6322
|
+
template: string;
|
|
6323
|
+
}; //#endregion
|
|
6324
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts
|
|
6325
|
+
/**
|
|
6326
|
+
* Generated by orval v8.10.0 🍺
|
|
6327
|
+
* Do not edit manually.
|
|
6328
|
+
* Zitadel NextGen
|
|
6329
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6330
|
+
* OpenAPI spec version: 0.0.1
|
|
6331
|
+
*/
|
|
6332
|
+
/**
|
|
6333
|
+
* Maps action/outcome names to their transition descriptor.
|
|
6334
|
+
|
|
6335
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6336
|
+
come from implicit outcomes based on schema annotations
|
|
6337
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6338
|
+
events (e.g. `sso`, `callback`).
|
|
6339
|
+
|
|
6340
|
+
*/
|
|
6341
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItemTransitions = {
|
|
6342
|
+
[key: string]: {
|
|
6343
|
+
/** Step name within this flow (when `action` is null), or the name
|
|
6344
|
+
of another flow (when `action` is `switch` or `pivot`).
|
|
6345
|
+
*/
|
|
6346
|
+
target: string;
|
|
6347
|
+
/** How to interpret `target`:
|
|
6348
|
+
- null (omitted): transition to a step in the current flow.
|
|
6349
|
+
- switch: replace the current flow with the target flow.
|
|
6350
|
+
No return — the current flow is discarded.
|
|
6351
|
+
Example: login ↔ register.
|
|
6352
|
+
- pivot: push the target flow onto the stack. The current flow
|
|
6353
|
+
is paused and resumes when the target flow completes (auto-pop).
|
|
6354
|
+
Example: login → recovery → back to login.
|
|
6355
|
+
*/
|
|
6356
|
+
action?: "switch" | "pivot" | null;
|
|
6357
|
+
};
|
|
6358
|
+
}; //#endregion
|
|
6359
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts
|
|
6360
|
+
/**
|
|
6361
|
+
* A step in a flow definition. This is the admin-authored configuration,
|
|
6362
|
+
not the runtime payload sent to the frontend.
|
|
6363
|
+
|
|
6364
|
+
Steps are schema-driven: `fields` references properties from the flow's
|
|
6365
|
+
user schema, and the engine resolves field metadata (type, validation,
|
|
6366
|
+
implicit outcomes) from schema annotations at runtime.
|
|
6367
|
+
|
|
6368
|
+
A step with only `complete` set is a terminal step. All other steps are
|
|
6369
|
+
rendered to the frontend as capability payloads.
|
|
6370
|
+
|
|
6371
|
+
*/
|
|
6372
|
+
type UpdateFlowDefinition200FlowDefinitionStepsItem = {
|
|
6373
|
+
/** Unique step identifier within this flow. Used as transition targets
|
|
6374
|
+
and returned in the API response as `step.name`.
|
|
6375
|
+
*/
|
|
6376
|
+
name: string;
|
|
6377
|
+
/** Schema property names to collect from the user. Each entry references
|
|
6378
|
+
a property in the flow's user schema. The engine resolves field type,
|
|
6379
|
+
validation rules, and implicit outcomes from schema annotations
|
|
6380
|
+
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
6381
|
+
transition outcome).
|
|
6382
|
+
*/
|
|
6383
|
+
fields?: string[];
|
|
6384
|
+
/** Ordered list of actions the user can take. The action name is what the
|
|
6385
|
+
frontend sends back in the submit request. If omitted, the engine
|
|
6386
|
+
provides a default `submit` action.
|
|
6387
|
+
*/
|
|
6388
|
+
actions?: UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem[];
|
|
6389
|
+
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
6390
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
6391
|
+
configuration. The engine may also inject gates dynamically based on
|
|
6392
|
+
policy.
|
|
6393
|
+
*/
|
|
6394
|
+
gates?: UpdateFlowDefinition200FlowDefinitionStepsItemGates; /** Available SSO identity providers for this step. */
|
|
6395
|
+
sso_providers?: UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
|
|
6396
|
+
/** Server-side mutation to execute when this step completes successfully.
|
|
6397
|
+
Runs after field validation passes, before the transition fires.
|
|
6398
|
+
- create_user: creates the user record (registration flows)
|
|
6399
|
+
*/
|
|
6400
|
+
on_success?: UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess;
|
|
6401
|
+
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
6402
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
6403
|
+
- show: render as a success/info screen
|
|
6404
|
+
*/
|
|
6405
|
+
complete?: UpdateFlowDefinition200FlowDefinitionStepsItemComplete;
|
|
6406
|
+
/** Maps action/outcome names to their transition descriptor.
|
|
6407
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6408
|
+
come from implicit outcomes based on schema annotations
|
|
6409
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6410
|
+
events (e.g. `sso`, `callback`).
|
|
6411
|
+
*/
|
|
6412
|
+
transitions?: UpdateFlowDefinition200FlowDefinitionStepsItemTransitions;
|
|
6413
|
+
}; //#endregion
|
|
6414
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinition.d.ts
|
|
6415
|
+
/**
|
|
6416
|
+
* A flow definition is the server-side configuration that describes a complete
|
|
6417
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
6418
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
6419
|
+
dictionaries) for the client.
|
|
6420
|
+
|
|
6421
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
6422
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
6423
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
6424
|
+
|
|
6425
|
+
*/
|
|
6426
|
+
type UpdateFlowDefinition200FlowDefinition = {
|
|
5671
6427
|
/**
|
|
5672
6428
|
* Stable identifier for this flow, used as the target of cross-flow
|
|
5673
6429
|
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
@@ -5692,119 +6448,28 @@ type UpdateFlowDefinition200 = {
|
|
|
5692
6448
|
matches every request in the project. The engine picks the most specific
|
|
5693
6449
|
matching definition: app > team > project-wide.
|
|
5694
6450
|
*/
|
|
5695
|
-
audience?:
|
|
5696
|
-
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
5697
|
-
app_ids?: string[];
|
|
5698
|
-
};
|
|
6451
|
+
audience?: UpdateFlowDefinition200FlowDefinitionAudience;
|
|
5699
6452
|
/**
|
|
5700
6453
|
* Ordered list of steps in this flow. The order is for human readability —
|
|
5701
6454
|
actual step sequencing is determined by transitions.
|
|
5702
6455
|
* @minItems 1
|
|
5703
6456
|
*/
|
|
5704
|
-
steps:
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
name: string;
|
|
5709
|
-
/** Schema property names to collect from the user. Each entry references
|
|
5710
|
-
a property in the flow's user schema. The engine resolves field type,
|
|
5711
|
-
validation rules, and implicit outcomes from schema annotations
|
|
5712
|
-
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
5713
|
-
transition outcome).
|
|
5714
|
-
*/
|
|
5715
|
-
fields?: string[];
|
|
5716
|
-
/** Actions the user can take. Keyed by action name.
|
|
5717
|
-
The action name is what the frontend sends back in the submit request.
|
|
5718
|
-
If omitted, the engine provides a default `submit` action.
|
|
5719
|
-
*/
|
|
5720
|
-
actions?: {
|
|
5721
|
-
[key: string]: {
|
|
5722
|
-
/** Marks this as the default/primary action. The runtime template uses
|
|
5723
|
-
this hint to choose visual emphasis. At most one action per step
|
|
5724
|
-
should be primary; this is not enforced here.
|
|
5725
|
-
*/
|
|
5726
|
-
primary?: boolean;
|
|
5727
|
-
/** Optional localization key override for the action's label. When
|
|
5728
|
-
omitted, the engine derives a key from the step and action names.
|
|
5729
|
-
Display text is resolved client-side from a locale dictionary, never
|
|
5730
|
-
by the engine.
|
|
5731
|
-
*/
|
|
5732
|
-
text_key?: string;
|
|
5733
|
-
};
|
|
5734
|
-
};
|
|
5735
|
-
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
5736
|
-
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
5737
|
-
configuration. The engine may also inject gates dynamically based on
|
|
5738
|
-
policy.
|
|
5739
|
-
*/
|
|
5740
|
-
gates?: {
|
|
5741
|
-
[key: string]: {
|
|
5742
|
-
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
5743
|
-
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
5744
|
-
`x-credential` on a field, not as gates.
|
|
5745
|
-
*/
|
|
5746
|
-
kind: "captcha";
|
|
5747
|
-
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
5748
|
-
`hcaptcha`. The engine looks up an implementation in its provider
|
|
5749
|
-
registry.
|
|
5750
|
-
*/
|
|
5751
|
-
provider: string;
|
|
5752
|
-
/** Provider-specific configuration consumed by the implementation when
|
|
5753
|
-
issuing the per-render challenge. Opaque to the engine.
|
|
5754
|
-
*/
|
|
5755
|
-
config?: {
|
|
5756
|
-
[key: string]: unknown;
|
|
5757
|
-
};
|
|
5758
|
-
};
|
|
5759
|
-
}; /** Available SSO identity providers for this step. */
|
|
5760
|
-
sso_providers?: {
|
|
5761
|
-
/** Provider instance identifier. */id: string; /** Display name for the provider. */
|
|
5762
|
-
name: string; /** Template hint for rendering (logo, colors). */
|
|
5763
|
-
template: string;
|
|
5764
|
-
}[];
|
|
5765
|
-
/** Server-side mutation to execute when this step completes successfully.
|
|
5766
|
-
Runs after field validation passes, before the transition fires.
|
|
5767
|
-
- create_user: creates the user record (registration flows)
|
|
5768
|
-
*/
|
|
5769
|
-
on_success?: "create_user";
|
|
5770
|
-
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
5771
|
-
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
5772
|
-
- show: render as a success/info screen
|
|
5773
|
-
*/
|
|
5774
|
-
complete?: "redirect" | "show";
|
|
5775
|
-
/** Maps action/outcome names to their transition descriptor.
|
|
5776
|
-
Keys match action names from the `actions` dict. Additional keys
|
|
5777
|
-
come from implicit outcomes based on schema annotations
|
|
5778
|
-
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
5779
|
-
events (e.g. `sso`, `callback`).
|
|
5780
|
-
*/
|
|
5781
|
-
transitions?: {
|
|
5782
|
-
[key: string]: {
|
|
5783
|
-
/** Step name within this flow (when `action` is null), or the name
|
|
5784
|
-
of another flow (when `action` is `switch` or `pivot`).
|
|
5785
|
-
*/
|
|
5786
|
-
target: string;
|
|
5787
|
-
/** How to interpret `target`:
|
|
5788
|
-
- null (omitted): transition to a step in the current flow.
|
|
5789
|
-
- switch: replace the current flow with the target flow.
|
|
5790
|
-
No return — the current flow is discarded.
|
|
5791
|
-
Example: login ↔ register.
|
|
5792
|
-
- pivot: push the target flow onto the stack. The current flow
|
|
5793
|
-
is paused and resumes when the target flow completes (auto-pop).
|
|
5794
|
-
Example: login → recovery → back to login.
|
|
5795
|
-
*/
|
|
5796
|
-
action?: "switch" | "pivot" | null;
|
|
5797
|
-
};
|
|
5798
|
-
};
|
|
5799
|
-
}[];
|
|
5800
|
-
} & {
|
|
6457
|
+
steps: UpdateFlowDefinition200FlowDefinitionStepsItem[];
|
|
6458
|
+
}; //#endregion
|
|
6459
|
+
//#region src/generated/model/updateFlowDefinition200.d.ts
|
|
6460
|
+
type UpdateFlowDefinition200 = {
|
|
5801
6461
|
/** Unique identifier for the flow definition. */id: string; /** Identifier of the project this flow definition belongs to. */
|
|
5802
|
-
project_id: string;
|
|
5803
|
-
/** URI of the flow definition schema this definition was authored against.
|
|
5804
|
-
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.
|
|
5805
|
-
*/
|
|
5806
|
-
schema_uri: string; /** Status of the flow definition. */
|
|
6462
|
+
project_id: string; /** Status of the flow definition. */
|
|
5807
6463
|
status: string;
|
|
6464
|
+
/** A flow definition is the server-side configuration that describes a complete
|
|
6465
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
6466
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
6467
|
+
dictionaries) for the client.
|
|
6468
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
6469
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
6470
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
6471
|
+
*/
|
|
6472
|
+
flow_definition: UpdateFlowDefinition200FlowDefinition;
|
|
5808
6473
|
created_at: string;
|
|
5809
6474
|
updated_at: string;
|
|
5810
6475
|
}; //#endregion
|
|
@@ -5839,7 +6504,7 @@ type UpdateFlowDefinitionBodyAudience = {
|
|
|
5839
6504
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
5840
6505
|
app_ids?: string[];
|
|
5841
6506
|
}; //#endregion
|
|
5842
|
-
//#region src/generated/model/
|
|
6507
|
+
//#region src/generated/model/updateFlowDefinitionBodyStepsItemActionsItem.d.ts
|
|
5843
6508
|
/**
|
|
5844
6509
|
* Generated by orval v8.10.0 🍺
|
|
5845
6510
|
* Do not edit manually.
|
|
@@ -5848,25 +6513,23 @@ type UpdateFlowDefinitionBodyAudience = {
|
|
|
5848
6513
|
* OpenAPI spec version: 0.0.1
|
|
5849
6514
|
*/
|
|
5850
6515
|
/**
|
|
5851
|
-
*
|
|
5852
|
-
|
|
5853
|
-
If omitted, the engine provides a default `submit` action.
|
|
6516
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
6517
|
+
back in the submit request as `action`.
|
|
5854
6518
|
|
|
5855
6519
|
*/
|
|
5856
|
-
type
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
};
|
|
6520
|
+
type UpdateFlowDefinitionBodyStepsItemActionsItem = {
|
|
6521
|
+
/** Action identifier. Sent back in the submit request as `action`. */name: string;
|
|
6522
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
6523
|
+
this hint to choose visual emphasis. At most one action per step
|
|
6524
|
+
should be primary; this is not enforced here.
|
|
6525
|
+
*/
|
|
6526
|
+
primary?: boolean;
|
|
6527
|
+
/** Optional localization key override for the action's label. When
|
|
6528
|
+
omitted, the engine derives a key from the step and action names.
|
|
6529
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
6530
|
+
by the engine.
|
|
6531
|
+
*/
|
|
6532
|
+
text_key?: string;
|
|
5870
6533
|
}; //#endregion
|
|
5871
6534
|
//#region src/generated/model/updateFlowDefinitionBodyStepsItemComplete.d.ts
|
|
5872
6535
|
/**
|
|
@@ -5993,7 +6656,7 @@ type UpdateFlowDefinitionBodyStepsItemSsoProvidersItem = {
|
|
|
5993
6656
|
/**
|
|
5994
6657
|
* Maps action/outcome names to their transition descriptor.
|
|
5995
6658
|
|
|
5996
|
-
Keys match action names from the `actions`
|
|
6659
|
+
Keys match action names from the `actions` array. Additional keys
|
|
5997
6660
|
come from implicit outcomes based on schema annotations
|
|
5998
6661
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
5999
6662
|
events (e.g. `sso`, `callback`).
|
|
@@ -6042,11 +6705,11 @@ type UpdateFlowDefinitionBodyStepsItem = {
|
|
|
6042
6705
|
transition outcome).
|
|
6043
6706
|
*/
|
|
6044
6707
|
fields?: string[];
|
|
6045
|
-
/**
|
|
6046
|
-
|
|
6047
|
-
|
|
6708
|
+
/** Ordered list of actions the user can take. The action name is what the
|
|
6709
|
+
frontend sends back in the submit request. If omitted, the engine
|
|
6710
|
+
provides a default `submit` action.
|
|
6048
6711
|
*/
|
|
6049
|
-
actions?:
|
|
6712
|
+
actions?: UpdateFlowDefinitionBodyStepsItemActionsItem[];
|
|
6050
6713
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
6051
6714
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
6052
6715
|
configuration. The engine may also inject gates dynamically based on
|
|
@@ -6065,7 +6728,7 @@ type UpdateFlowDefinitionBodyStepsItem = {
|
|
|
6065
6728
|
*/
|
|
6066
6729
|
complete?: UpdateFlowDefinitionBodyStepsItemComplete;
|
|
6067
6730
|
/** Maps action/outcome names to their transition descriptor.
|
|
6068
|
-
Keys match action names from the `actions`
|
|
6731
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6069
6732
|
come from implicit outcomes based on schema annotations
|
|
6070
6733
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6071
6734
|
events (e.g. `sso`, `callback`).
|
|
@@ -6117,6 +6780,21 @@ type UpdateFlowDefinitionBody = {
|
|
|
6117
6780
|
* Additional error-specific context.
|
|
6118
6781
|
*/
|
|
6119
6782
|
//#endregion
|
|
6783
|
+
//#region src/generated/model/updateFlowDefinitionParams.d.ts
|
|
6784
|
+
/**
|
|
6785
|
+
* Generated by orval v8.10.0 🍺
|
|
6786
|
+
* Do not edit manually.
|
|
6787
|
+
* Zitadel NextGen
|
|
6788
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6789
|
+
* OpenAPI spec version: 0.0.1
|
|
6790
|
+
*/
|
|
6791
|
+
type UpdateFlowDefinitionParams = {
|
|
6792
|
+
/**
|
|
6793
|
+
* The project id to filter by.
|
|
6794
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
6795
|
+
*/
|
|
6796
|
+
project_id: string;
|
|
6797
|
+
}; //#endregion
|
|
6120
6798
|
//#region src/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts
|
|
6121
6799
|
/**
|
|
6122
6800
|
* Generated by orval v8.10.0 🍺
|
|
@@ -6409,7 +7087,7 @@ type VerifyChallengeProofBody = {
|
|
|
6409
7087
|
* Alias of the orval-generated wire enum for field types so the atom's
|
|
6410
7088
|
* accepted `type` values track the API contract exactly.
|
|
6411
7089
|
*/
|
|
6412
|
-
type ZlFieldType =
|
|
7090
|
+
type ZlFieldType = CreateFlow201StepFieldsItemType;
|
|
6413
7091
|
/**
|
|
6414
7092
|
* Atom: `<zl-field>` — labelled input bound to a step `field`. Visual
|
|
6415
7093
|
* spec lineage:
|
|
@@ -6447,6 +7125,7 @@ declare class ZlField extends LitElement {
|
|
|
6447
7125
|
accessor pattern: string | undefined;
|
|
6448
7126
|
accessor error: string;
|
|
6449
7127
|
accessor success: string;
|
|
7128
|
+
accessor testId: string | undefined;
|
|
6450
7129
|
accessor forgotPasswordHref: string | undefined;
|
|
6451
7130
|
accessor forgotPasswordLabel: string;
|
|
6452
7131
|
accessor trailingIcon: boolean;
|
|
@@ -6455,6 +7134,7 @@ declare class ZlField extends LitElement {
|
|
|
6455
7134
|
accessor invalid: boolean;
|
|
6456
7135
|
private accessor hasHelp;
|
|
6457
7136
|
private accessor hasSuffixSlot;
|
|
7137
|
+
private accessor inputEl;
|
|
6458
7138
|
private readonly inputId;
|
|
6459
7139
|
private readonly internals;
|
|
6460
7140
|
constructor();
|
|
@@ -6473,6 +7153,9 @@ declare class ZlField extends LitElement {
|
|
|
6473
7153
|
private handleInput;
|
|
6474
7154
|
private handleChange;
|
|
6475
7155
|
private handleKeyDown;
|
|
7156
|
+
private nativeInputTestId;
|
|
7157
|
+
private dispatchNativeInput;
|
|
7158
|
+
private dispatchNativeChange;
|
|
6476
7159
|
}
|
|
6477
7160
|
declare const zlFieldManifest: AtomManifest;
|
|
6478
7161
|
declare global {
|
|
@@ -6513,6 +7196,12 @@ declare global {
|
|
|
6513
7196
|
declare class ZlPageShell extends LitElement {
|
|
6514
7197
|
static styles: _$lit.CSSResult[];
|
|
6515
7198
|
render(): _$lit.TemplateResult<1>;
|
|
7199
|
+
/**
|
|
7200
|
+
* Re-render when a named slot's assignment changes so a footer/header added
|
|
7201
|
+
* after first paint updates the empty-region class. The initial render reads
|
|
7202
|
+
* children synchronously (no empty-then-filled flash).
|
|
7203
|
+
*/
|
|
7204
|
+
private onSlotChange;
|
|
6516
7205
|
private lightDomSlotFilled;
|
|
6517
7206
|
}
|
|
6518
7207
|
declare const zlPageShellManifest: AtomManifest;
|
|
@@ -6694,7 +7383,6 @@ declare class ZlPill extends LitElement {
|
|
|
6694
7383
|
accessor tone: "neutral" | "pink" | "purple" | "orange" | "success";
|
|
6695
7384
|
accessor href: string | undefined;
|
|
6696
7385
|
accessor ariaLabel: string | null;
|
|
6697
|
-
private surfaceClasses;
|
|
6698
7386
|
render(): _$lit.TemplateResult<1>;
|
|
6699
7387
|
}
|
|
6700
7388
|
declare const zlPillManifest: AtomManifest;
|
|
@@ -6704,5 +7392,5 @@ declare global {
|
|
|
6704
7392
|
}
|
|
6705
7393
|
} //# sourceMappingURL=zl-pill.d.ts.map
|
|
6706
7394
|
//#endregion
|
|
6707
|
-
export {
|
|
6708
|
-
//# sourceMappingURL=index-
|
|
7395
|
+
export { GetFlowStep200 as $, CreateFlowDefinitionBody as A, RevokeTokenBody as At, CreateTeamBody as B, VerifyChallengeProofBody as Bt, CreateFlow201StepChallenge as C, ListFlowDefinitions200 as Ct, CreateFlowBody as D, ListUsers200Item as Dt, CreateFlow201StepSsoProvidersItem as E, ListSessionsParams as Et, CreateSchemaBody as F, SubmitFlowStepBody as Ft, DeleteFlowDefinitionParams as G, ZlAlert as Gt, CreateUser201 as H, zlCardManifest as Ht, CreateSchemaParams as I, UpdateFlowDefinition200 as It, ExchangeHandoffBody as J, ZlIcon as Jt, EndSessionParams as K, zlAlertManifest as Kt, CreateSession201 as L, UpdateFlowDefinitionBody as Lt, CreateProject201 as M, SetUserPasswordParams as Mt, CreateProjectBody as N, SubmitFlowEventBody as Nt, CreateFlowBodyPurpose as O, ListUsersParams as Ot, CreateSchema201 as P, SubmitFlowStep200 as Pt, GetFlowDefinitionParams as Q, CreateSessionBody as R, UpdateFlowDefinitionParams as Rt, CreateFlow201StepActionsItem as S, IssueChallengeBody as St, CreateFlow201StepGates as T, ListSessions200 as Tt, CreateUserBody as U, ZlButton as Ut, CreateTeamParams as V, ZlCard as Vt, CreateUserParams as W, zlButtonManifest as Wt, GetAuthAttempt200 as X, ExchangeHandoffParams as Y, zlIconManifest as Yt, GetFlowDefinition200 as Z, CreateAuthAttemptBody as _, GetUserByIDParams as _t, ZlPasskeyResultDetail as a, GetOpenIDConfiguration200 as at, CreateFlow201BrandingLayout as b, IntrospectBody as bt, zlPageShellManifest as c, GetSchemaById200 as ct, zlFieldManifest as d, GetSessionParams as dt, GetHealthDefault as et, AuthorizeDevice200 as f, GetTeam200 as ft, CreateAuthAttempt201 as g, GetUserByID200 as gt, AuthorizeGetParams as h, GetTokenBody as ht, ZlPasskeyErrorDetail as i, GetMyUser200 as it, CreateHandoff200 as j, SetUserPasswordBody as jt, CreateFlowDefinition201 as k, RevokeSessionParams as kt, ZlField as l, GetSchemaByIdParams as lt, AuthorizeGetDefault as m, GetToken200 as mt, zlPillManifest as n, GetLiveDefault as nt, zlPasskeyManifest as o, GetProject200 as ot, AuthorizeDeviceParams as p, GetTeamParams as pt, ExchangeHandoff200 as q, IconName as qt, ZlPasskey as r, GetMySession200 as rt, ZlPageShell as s, GetReadyDefault as st, ZlPill as t, GetKeys200 as tt, ZlFieldType as u, GetSession200 as ut, CreateFlow201 as v, GetUserInfo200 as vt, CreateFlow201StepFieldsItem as w, ListFlowDefinitionsParams as wt, CreateFlow201Step as x, IssueChallenge201 as xt, CreateFlow201Branding as y, Introspect200 as yt, CreateTeam201 as z, VerifyChallengeProof200 as zt };
|
|
7396
|
+
//# sourceMappingURL=index-DVDCrfkv.d.mts.map
|