@zitadel/components 0.1.0-alpha.4 → 0.1.0-alpha.8
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 +33 -19
- package/dist/atoms/index.d.mts +1 -1
- package/dist/atoms/index.mjs +1 -1
- package/dist/{atoms-Dh5J7QwT.mjs → atoms-B25wiDqb.mjs} +2 -2
- package/dist/atoms-B25wiDqb.mjs.map +1 -0
- package/dist/default-Cpl78hQN.mjs +6 -0
- package/dist/default-Cpl78hQN.mjs.map +1 -0
- package/dist/{index-DQryonsO.d.mts → index-DVDCrfkv.d.mts} +360 -337
- package/dist/index-DVDCrfkv.d.mts.map +1 -0
- package/dist/{index-D0NA2hMc.d.mts → index-DZ82Y3_z.d.mts} +6 -6
- package/dist/{index-D0NA2hMc.d.mts.map → index-DZ82Y3_z.d.mts.map} +1 -1
- package/dist/index.d.mts +3 -3
- 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-DGp8rCN7.mjs → orchestrator-CW9zixuw.mjs} +58 -39
- package/dist/orchestrator-CW9zixuw.mjs.map +1 -0
- package/dist/standalone.mjs +56 -37
- package/dist/tokens/index.mjs +1 -1
- package/dist/{tokens-TXmurodq.mjs → tokens-BQ_augxi.mjs} +2 -2
- package/dist/{tokens-TXmurodq.mjs.map → tokens-BQ_augxi.mjs.map} +1 -1
- package/package.json +2 -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 -99
- package/dist/atoms/zl-button.d.ts.map +0 -1
- package/dist/atoms/zl-card.d.ts +0 -53
- package/dist/atoms/zl-card.d.ts.map +0 -1
- package/dist/atoms/zl-field.d.ts +0 -90
- 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 -48
- 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 -54
- package/dist/atoms/zl-pill.d.ts.map +0 -1
- package/dist/atoms-Dh5J7QwT.mjs.map +0 -1
- package/dist/default-BG5uwuAm.mjs +0 -6
- package/dist/default-BG5uwuAm.mjs.map +0 -1
- package/dist/index-DQryonsO.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/emit.d.ts +0 -12
- package/dist/internal/emit.d.ts.map +0 -1
- package/dist/internal/escape-html.d.ts +0 -10
- package/dist/internal/escape-html.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/resolve-api.d.ts +0 -37
- package/dist/orchestrator/resolve-api.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 -213
- package/dist/orchestrator/zitadel-login.d.ts.map +0 -1
- package/dist/orchestrator/zitadel-logout.d.ts +0 -114
- package/dist/orchestrator/zitadel-logout.d.ts.map +0 -1
- package/dist/orchestrator-DGp8rCN7.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/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -250,7 +250,7 @@ declare global {
|
|
|
250
250
|
}
|
|
251
251
|
} //# sourceMappingURL=zl-card.d.ts.map
|
|
252
252
|
//#endregion
|
|
253
|
-
//#region ../api/dist/index-
|
|
253
|
+
//#region ../api/dist/index-BGnjxx-b.d.mts
|
|
254
254
|
//#region src/generated/model/authorizeDevice200.d.ts
|
|
255
255
|
/**
|
|
256
256
|
* Generated by orval v8.10.0 🍺
|
|
@@ -796,7 +796,7 @@ type CreateFlow201Branding = {
|
|
|
796
796
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
797
797
|
hero_url?: string;
|
|
798
798
|
}; //#endregion
|
|
799
|
-
//#region src/generated/model/
|
|
799
|
+
//#region src/generated/model/createFlow201StepActionsItem.d.ts
|
|
800
800
|
/**
|
|
801
801
|
* Generated by orval v8.10.0 🍺
|
|
802
802
|
* Do not edit manually.
|
|
@@ -805,24 +805,23 @@ type CreateFlow201Branding = {
|
|
|
805
805
|
* OpenAPI spec version: 0.0.1
|
|
806
806
|
*/
|
|
807
807
|
/**
|
|
808
|
-
*
|
|
809
|
-
|
|
808
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
809
|
+
back in the submit request as `action`.
|
|
810
810
|
|
|
811
811
|
*/
|
|
812
|
-
type
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
};
|
|
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;
|
|
826
825
|
}; //#endregion
|
|
827
826
|
//#region src/generated/model/createFlow201StepChallengeMethod.d.ts
|
|
828
827
|
/**
|
|
@@ -900,7 +899,7 @@ declare const CreateFlow201StepComplete: {
|
|
|
900
899
|
readonly redirect: "redirect";
|
|
901
900
|
readonly show: "show";
|
|
902
901
|
}; //#endregion
|
|
903
|
-
//#region src/generated/model/
|
|
902
|
+
//#region src/generated/model/createFlow201StepFieldsItemType.d.ts
|
|
904
903
|
/**
|
|
905
904
|
* Generated by orval v8.10.0 🍺
|
|
906
905
|
* Do not edit manually.
|
|
@@ -909,14 +908,15 @@ declare const CreateFlow201StepComplete: {
|
|
|
909
908
|
* OpenAPI spec version: 0.0.1
|
|
910
909
|
*/
|
|
911
910
|
/**
|
|
912
|
-
* The input kind the client should render. Encodes the formats
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
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.
|
|
916
916
|
|
|
917
917
|
*/
|
|
918
|
-
type
|
|
919
|
-
declare const
|
|
918
|
+
type CreateFlow201StepFieldsItemType = (typeof CreateFlow201StepFieldsItemType)[keyof typeof CreateFlow201StepFieldsItemType];
|
|
919
|
+
declare const CreateFlow201StepFieldsItemType: {
|
|
920
920
|
readonly text: "text";
|
|
921
921
|
readonly email: "email";
|
|
922
922
|
readonly password: "password";
|
|
@@ -925,8 +925,10 @@ declare const CreateFlow201StepFieldsType: {
|
|
|
925
925
|
readonly url: "url";
|
|
926
926
|
readonly date: "date";
|
|
927
927
|
readonly hidden: "hidden";
|
|
928
|
+
readonly checkbox: "checkbox";
|
|
929
|
+
readonly select: "select";
|
|
928
930
|
}; //#endregion
|
|
929
|
-
//#region src/generated/model/
|
|
931
|
+
//#region src/generated/model/createFlow201StepFieldsItemValidationFormat.d.ts
|
|
930
932
|
/**
|
|
931
933
|
* Generated by orval v8.10.0 🍺
|
|
932
934
|
* Do not edit manually.
|
|
@@ -942,14 +944,14 @@ sufficient for client-side validation. When `type` is `text`
|
|
|
942
944
|
(e.g. `format: uuid`), this key is the only signal.
|
|
943
945
|
|
|
944
946
|
*/
|
|
945
|
-
type
|
|
946
|
-
declare const
|
|
947
|
+
type CreateFlow201StepFieldsItemValidationFormat = (typeof CreateFlow201StepFieldsItemValidationFormat)[keyof typeof CreateFlow201StepFieldsItemValidationFormat];
|
|
948
|
+
declare const CreateFlow201StepFieldsItemValidationFormat: {
|
|
947
949
|
readonly email: "email";
|
|
948
950
|
readonly "date-time": "date-time";
|
|
949
951
|
readonly uuid: "uuid";
|
|
950
952
|
readonly uri: "uri";
|
|
951
953
|
}; //#endregion
|
|
952
|
-
//#region src/generated/model/
|
|
954
|
+
//#region src/generated/model/createFlow201StepFieldsItemValidation.d.ts
|
|
953
955
|
/**
|
|
954
956
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
955
957
|
server runs the same rules on submit and is the only authority on
|
|
@@ -961,14 +963,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
|
|
|
961
963
|
property; absent keys mean no rule.
|
|
962
964
|
|
|
963
965
|
*/
|
|
964
|
-
type
|
|
966
|
+
type CreateFlow201StepFieldsItemValidation = {
|
|
965
967
|
/** Semantic format the value must match. Values mirror the user
|
|
966
968
|
meta-schema. When `type` already encodes the format (email,
|
|
967
969
|
url, date), this key is informative and the input type is
|
|
968
970
|
sufficient for client-side validation. When `type` is `text`
|
|
969
971
|
(e.g. `format: uuid`), this key is the only signal.
|
|
970
972
|
*/
|
|
971
|
-
format?:
|
|
973
|
+
format?: CreateFlow201StepFieldsItemValidationFormat;
|
|
972
974
|
/**
|
|
973
975
|
* Minimum length in characters (inclusive). Mirrors `minLength`.
|
|
974
976
|
* @minimum 0
|
|
@@ -979,39 +981,46 @@ type CreateFlow201StepFieldsValidation = {
|
|
|
979
981
|
* @minimum 0
|
|
980
982
|
*/
|
|
981
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[];
|
|
982
990
|
}; //#endregion
|
|
983
|
-
//#region src/generated/model/
|
|
991
|
+
//#region src/generated/model/createFlow201StepFieldsItem.d.ts
|
|
984
992
|
/**
|
|
985
|
-
*
|
|
986
|
-
|
|
987
|
-
Field metadata (type, validation) is resolved by the engine from the
|
|
988
|
-
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.
|
|
989
995
|
|
|
990
996
|
*/
|
|
991
|
-
type
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
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;
|
|
1015
1024
|
}; //#endregion
|
|
1016
1025
|
//#region src/generated/model/createFlow201StepGatesConfig.d.ts
|
|
1017
1026
|
/**
|
|
@@ -1107,9 +1116,10 @@ type CreateFlow201StepTexts = {
|
|
|
1107
1116
|
}; //#endregion
|
|
1108
1117
|
//#region src/generated/model/createFlow201Step.d.ts
|
|
1109
1118
|
/**
|
|
1110
|
-
* A step contains
|
|
1119
|
+
* A step contains ordered capability arrays: what to collect (fields),
|
|
1111
1120
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
1112
|
-
|
|
1121
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
1122
|
+
and builds name-keyed indexes locally for lookup.
|
|
1113
1123
|
|
|
1114
1124
|
*/
|
|
1115
1125
|
type CreateFlow201Step = {
|
|
@@ -1125,16 +1135,16 @@ type CreateFlow201Step = {
|
|
|
1125
1135
|
*/
|
|
1126
1136
|
complete?: CreateFlow201StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
|
|
1127
1137
|
redirect_url?: string;
|
|
1128
|
-
/**
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
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.
|
|
1132
1142
|
*/
|
|
1133
|
-
fields:
|
|
1134
|
-
/**
|
|
1135
|
-
|
|
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.
|
|
1136
1146
|
*/
|
|
1137
|
-
actions:
|
|
1147
|
+
actions: CreateFlow201StepActionsItem[];
|
|
1138
1148
|
/** Security gates that must be satisfied before the step can be submitted.
|
|
1139
1149
|
The engine injects gates dynamically based on policy, even if they
|
|
1140
1150
|
are not declared in the flow definition.
|
|
@@ -1159,9 +1169,10 @@ type CreateFlow201 = {
|
|
|
1159
1169
|
id: string; /** Underlying session ID. Stable across all stacked flows. */
|
|
1160
1170
|
session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
|
|
1161
1171
|
session_token?: string;
|
|
1162
|
-
/** A step contains
|
|
1172
|
+
/** A step contains ordered capability arrays: what to collect (fields),
|
|
1163
1173
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
1164
|
-
|
|
1174
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
1175
|
+
and builds name-keyed indexes locally for lookup.
|
|
1165
1176
|
*/
|
|
1166
1177
|
step: CreateFlow201Step;
|
|
1167
1178
|
/** Resolved branding configuration. Inherited from the app → team → project
|
|
@@ -1284,7 +1295,7 @@ type CreateFlowDefinition201FlowDefinitionAudience = {
|
|
|
1284
1295
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
1285
1296
|
app_ids?: string[];
|
|
1286
1297
|
}; //#endregion
|
|
1287
|
-
//#region src/generated/model/
|
|
1298
|
+
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.d.ts
|
|
1288
1299
|
/**
|
|
1289
1300
|
* Generated by orval v8.10.0 🍺
|
|
1290
1301
|
* Do not edit manually.
|
|
@@ -1293,25 +1304,23 @@ type CreateFlowDefinition201FlowDefinitionAudience = {
|
|
|
1293
1304
|
* OpenAPI spec version: 0.0.1
|
|
1294
1305
|
*/
|
|
1295
1306
|
/**
|
|
1296
|
-
*
|
|
1297
|
-
|
|
1298
|
-
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`.
|
|
1299
1309
|
|
|
1300
1310
|
*/
|
|
1301
|
-
type
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
};
|
|
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;
|
|
1315
1324
|
}; //#endregion
|
|
1316
1325
|
//#region src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts
|
|
1317
1326
|
/**
|
|
@@ -1438,7 +1447,7 @@ type CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem = {
|
|
|
1438
1447
|
/**
|
|
1439
1448
|
* Maps action/outcome names to their transition descriptor.
|
|
1440
1449
|
|
|
1441
|
-
Keys match action names from the `actions`
|
|
1450
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1442
1451
|
come from implicit outcomes based on schema annotations
|
|
1443
1452
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1444
1453
|
events (e.g. `sso`, `callback`).
|
|
@@ -1487,11 +1496,11 @@ type CreateFlowDefinition201FlowDefinitionStepsItem = {
|
|
|
1487
1496
|
transition outcome).
|
|
1488
1497
|
*/
|
|
1489
1498
|
fields?: string[];
|
|
1490
|
-
/**
|
|
1491
|
-
|
|
1492
|
-
|
|
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.
|
|
1493
1502
|
*/
|
|
1494
|
-
actions?:
|
|
1503
|
+
actions?: CreateFlowDefinition201FlowDefinitionStepsItemActionsItem[];
|
|
1495
1504
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
1496
1505
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
1497
1506
|
configuration. The engine may also inject gates dynamically based on
|
|
@@ -1510,7 +1519,7 @@ type CreateFlowDefinition201FlowDefinitionStepsItem = {
|
|
|
1510
1519
|
*/
|
|
1511
1520
|
complete?: CreateFlowDefinition201FlowDefinitionStepsItemComplete;
|
|
1512
1521
|
/** Maps action/outcome names to their transition descriptor.
|
|
1513
|
-
Keys match action names from the `actions`
|
|
1522
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1514
1523
|
come from implicit outcomes based on schema annotations
|
|
1515
1524
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1516
1525
|
events (e.g. `sso`, `callback`).
|
|
@@ -1610,7 +1619,7 @@ type CreateFlowDefinitionBodyFlowDefinitionAudience = {
|
|
|
1610
1619
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
1611
1620
|
app_ids?: string[];
|
|
1612
1621
|
}; //#endregion
|
|
1613
|
-
//#region src/generated/model/
|
|
1622
|
+
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.d.ts
|
|
1614
1623
|
/**
|
|
1615
1624
|
* Generated by orval v8.10.0 🍺
|
|
1616
1625
|
* Do not edit manually.
|
|
@@ -1619,25 +1628,23 @@ type CreateFlowDefinitionBodyFlowDefinitionAudience = {
|
|
|
1619
1628
|
* OpenAPI spec version: 0.0.1
|
|
1620
1629
|
*/
|
|
1621
1630
|
/**
|
|
1622
|
-
*
|
|
1623
|
-
|
|
1624
|
-
If omitted, the engine provides a default `submit` action.
|
|
1631
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
1632
|
+
back in the submit request as `action`.
|
|
1625
1633
|
|
|
1626
1634
|
*/
|
|
1627
|
-
type
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
};
|
|
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.
|
|
1640
|
+
*/
|
|
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.
|
|
1646
|
+
*/
|
|
1647
|
+
text_key?: string;
|
|
1641
1648
|
}; //#endregion
|
|
1642
1649
|
//#region src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemComplete.d.ts
|
|
1643
1650
|
/**
|
|
@@ -1764,7 +1771,7 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem = {
|
|
|
1764
1771
|
/**
|
|
1765
1772
|
* Maps action/outcome names to their transition descriptor.
|
|
1766
1773
|
|
|
1767
|
-
Keys match action names from the `actions`
|
|
1774
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1768
1775
|
come from implicit outcomes based on schema annotations
|
|
1769
1776
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1770
1777
|
events (e.g. `sso`, `callback`).
|
|
@@ -1813,11 +1820,11 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
|
1813
1820
|
transition outcome).
|
|
1814
1821
|
*/
|
|
1815
1822
|
fields?: string[];
|
|
1816
|
-
/**
|
|
1817
|
-
|
|
1818
|
-
|
|
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.
|
|
1819
1826
|
*/
|
|
1820
|
-
actions?:
|
|
1827
|
+
actions?: CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem[];
|
|
1821
1828
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
1822
1829
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
1823
1830
|
configuration. The engine may also inject gates dynamically based on
|
|
@@ -1836,7 +1843,7 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItem = {
|
|
|
1836
1843
|
*/
|
|
1837
1844
|
complete?: CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete;
|
|
1838
1845
|
/** Maps action/outcome names to their transition descriptor.
|
|
1839
|
-
Keys match action names from the `actions`
|
|
1846
|
+
Keys match action names from the `actions` array. Additional keys
|
|
1840
1847
|
come from implicit outcomes based on schema annotations
|
|
1841
1848
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
1842
1849
|
events (e.g. `sso`, `callback`).
|
|
@@ -3126,7 +3133,7 @@ type GetFlowDefinition200FlowDefinitionAudience = {
|
|
|
3126
3133
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
3127
3134
|
app_ids?: string[];
|
|
3128
3135
|
}; //#endregion
|
|
3129
|
-
//#region src/generated/model/
|
|
3136
|
+
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.d.ts
|
|
3130
3137
|
/**
|
|
3131
3138
|
* Generated by orval v8.10.0 🍺
|
|
3132
3139
|
* Do not edit manually.
|
|
@@ -3135,25 +3142,23 @@ type GetFlowDefinition200FlowDefinitionAudience = {
|
|
|
3135
3142
|
* OpenAPI spec version: 0.0.1
|
|
3136
3143
|
*/
|
|
3137
3144
|
/**
|
|
3138
|
-
*
|
|
3139
|
-
|
|
3140
|
-
If omitted, the engine provides a default `submit` action.
|
|
3145
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
3146
|
+
back in the submit request as `action`.
|
|
3141
3147
|
|
|
3142
3148
|
*/
|
|
3143
|
-
type
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
};
|
|
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;
|
|
3157
3162
|
}; //#endregion
|
|
3158
3163
|
//#region src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
|
|
3159
3164
|
/**
|
|
@@ -3280,7 +3285,7 @@ type GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
|
|
|
3280
3285
|
/**
|
|
3281
3286
|
* Maps action/outcome names to their transition descriptor.
|
|
3282
3287
|
|
|
3283
|
-
Keys match action names from the `actions`
|
|
3288
|
+
Keys match action names from the `actions` array. Additional keys
|
|
3284
3289
|
come from implicit outcomes based on schema annotations
|
|
3285
3290
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
3286
3291
|
events (e.g. `sso`, `callback`).
|
|
@@ -3329,11 +3334,11 @@ type GetFlowDefinition200FlowDefinitionStepsItem = {
|
|
|
3329
3334
|
transition outcome).
|
|
3330
3335
|
*/
|
|
3331
3336
|
fields?: string[];
|
|
3332
|
-
/**
|
|
3333
|
-
|
|
3334
|
-
|
|
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.
|
|
3335
3340
|
*/
|
|
3336
|
-
actions?:
|
|
3341
|
+
actions?: GetFlowDefinition200FlowDefinitionStepsItemActionsItem[];
|
|
3337
3342
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
3338
3343
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
3339
3344
|
configuration. The engine may also inject gates dynamically based on
|
|
@@ -3352,7 +3357,7 @@ type GetFlowDefinition200FlowDefinitionStepsItem = {
|
|
|
3352
3357
|
*/
|
|
3353
3358
|
complete?: GetFlowDefinition200FlowDefinitionStepsItemComplete;
|
|
3354
3359
|
/** Maps action/outcome names to their transition descriptor.
|
|
3355
|
-
Keys match action names from the `actions`
|
|
3360
|
+
Keys match action names from the `actions` array. Additional keys
|
|
3356
3361
|
come from implicit outcomes based on schema annotations
|
|
3357
3362
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
3358
3363
|
events (e.g. `sso`, `callback`).
|
|
@@ -3489,7 +3494,7 @@ type GetFlowStep200Branding = {
|
|
|
3489
3494
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
3490
3495
|
hero_url?: string;
|
|
3491
3496
|
}; //#endregion
|
|
3492
|
-
//#region src/generated/model/
|
|
3497
|
+
//#region src/generated/model/getFlowStep200StepActionsItem.d.ts
|
|
3493
3498
|
/**
|
|
3494
3499
|
* Generated by orval v8.10.0 🍺
|
|
3495
3500
|
* Do not edit manually.
|
|
@@ -3498,24 +3503,23 @@ type GetFlowStep200Branding = {
|
|
|
3498
3503
|
* OpenAPI spec version: 0.0.1
|
|
3499
3504
|
*/
|
|
3500
3505
|
/**
|
|
3501
|
-
*
|
|
3502
|
-
|
|
3506
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
3507
|
+
back in the submit request as `action`.
|
|
3503
3508
|
|
|
3504
3509
|
*/
|
|
3505
|
-
type
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
};
|
|
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;
|
|
3519
3523
|
}; //#endregion
|
|
3520
3524
|
//#region src/generated/model/getFlowStep200StepChallengeMethod.d.ts
|
|
3521
3525
|
/**
|
|
@@ -3593,7 +3597,7 @@ declare const GetFlowStep200StepComplete: {
|
|
|
3593
3597
|
readonly redirect: "redirect";
|
|
3594
3598
|
readonly show: "show";
|
|
3595
3599
|
}; //#endregion
|
|
3596
|
-
//#region src/generated/model/
|
|
3600
|
+
//#region src/generated/model/getFlowStep200StepFieldsItemType.d.ts
|
|
3597
3601
|
/**
|
|
3598
3602
|
* Generated by orval v8.10.0 🍺
|
|
3599
3603
|
* Do not edit manually.
|
|
@@ -3602,14 +3606,15 @@ declare const GetFlowStep200StepComplete: {
|
|
|
3602
3606
|
* OpenAPI spec version: 0.0.1
|
|
3603
3607
|
*/
|
|
3604
3608
|
/**
|
|
3605
|
-
* The input kind the client should render. Encodes the formats
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
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.
|
|
3609
3614
|
|
|
3610
3615
|
*/
|
|
3611
|
-
type
|
|
3612
|
-
declare const
|
|
3616
|
+
type GetFlowStep200StepFieldsItemType = (typeof GetFlowStep200StepFieldsItemType)[keyof typeof GetFlowStep200StepFieldsItemType];
|
|
3617
|
+
declare const GetFlowStep200StepFieldsItemType: {
|
|
3613
3618
|
readonly text: "text";
|
|
3614
3619
|
readonly email: "email";
|
|
3615
3620
|
readonly password: "password";
|
|
@@ -3618,8 +3623,10 @@ declare const GetFlowStep200StepFieldsType: {
|
|
|
3618
3623
|
readonly url: "url";
|
|
3619
3624
|
readonly date: "date";
|
|
3620
3625
|
readonly hidden: "hidden";
|
|
3626
|
+
readonly checkbox: "checkbox";
|
|
3627
|
+
readonly select: "select";
|
|
3621
3628
|
}; //#endregion
|
|
3622
|
-
//#region src/generated/model/
|
|
3629
|
+
//#region src/generated/model/getFlowStep200StepFieldsItemValidationFormat.d.ts
|
|
3623
3630
|
/**
|
|
3624
3631
|
* Generated by orval v8.10.0 🍺
|
|
3625
3632
|
* Do not edit manually.
|
|
@@ -3635,14 +3642,14 @@ sufficient for client-side validation. When `type` is `text`
|
|
|
3635
3642
|
(e.g. `format: uuid`), this key is the only signal.
|
|
3636
3643
|
|
|
3637
3644
|
*/
|
|
3638
|
-
type
|
|
3639
|
-
declare const
|
|
3645
|
+
type GetFlowStep200StepFieldsItemValidationFormat = (typeof GetFlowStep200StepFieldsItemValidationFormat)[keyof typeof GetFlowStep200StepFieldsItemValidationFormat];
|
|
3646
|
+
declare const GetFlowStep200StepFieldsItemValidationFormat: {
|
|
3640
3647
|
readonly email: "email";
|
|
3641
3648
|
readonly "date-time": "date-time";
|
|
3642
3649
|
readonly uuid: "uuid";
|
|
3643
3650
|
readonly uri: "uri";
|
|
3644
3651
|
}; //#endregion
|
|
3645
|
-
//#region src/generated/model/
|
|
3652
|
+
//#region src/generated/model/getFlowStep200StepFieldsItemValidation.d.ts
|
|
3646
3653
|
/**
|
|
3647
3654
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
3648
3655
|
server runs the same rules on submit and is the only authority on
|
|
@@ -3654,14 +3661,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
|
|
|
3654
3661
|
property; absent keys mean no rule.
|
|
3655
3662
|
|
|
3656
3663
|
*/
|
|
3657
|
-
type
|
|
3664
|
+
type GetFlowStep200StepFieldsItemValidation = {
|
|
3658
3665
|
/** Semantic format the value must match. Values mirror the user
|
|
3659
3666
|
meta-schema. When `type` already encodes the format (email,
|
|
3660
3667
|
url, date), this key is informative and the input type is
|
|
3661
3668
|
sufficient for client-side validation. When `type` is `text`
|
|
3662
3669
|
(e.g. `format: uuid`), this key is the only signal.
|
|
3663
3670
|
*/
|
|
3664
|
-
format?:
|
|
3671
|
+
format?: GetFlowStep200StepFieldsItemValidationFormat;
|
|
3665
3672
|
/**
|
|
3666
3673
|
* Minimum length in characters (inclusive). Mirrors `minLength`.
|
|
3667
3674
|
* @minimum 0
|
|
@@ -3672,39 +3679,46 @@ type GetFlowStep200StepFieldsValidation = {
|
|
|
3672
3679
|
* @minimum 0
|
|
3673
3680
|
*/
|
|
3674
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[];
|
|
3675
3688
|
}; //#endregion
|
|
3676
|
-
//#region src/generated/model/
|
|
3689
|
+
//#region src/generated/model/getFlowStep200StepFieldsItem.d.ts
|
|
3677
3690
|
/**
|
|
3678
|
-
*
|
|
3679
|
-
|
|
3680
|
-
Field metadata (type, validation) is resolved by the engine from the
|
|
3681
|
-
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.
|
|
3682
3693
|
|
|
3683
3694
|
*/
|
|
3684
|
-
type
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
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;
|
|
3708
3722
|
}; //#endregion
|
|
3709
3723
|
//#region src/generated/model/getFlowStep200StepGatesConfig.d.ts
|
|
3710
3724
|
/**
|
|
@@ -3800,9 +3814,10 @@ type GetFlowStep200StepTexts = {
|
|
|
3800
3814
|
}; //#endregion
|
|
3801
3815
|
//#region src/generated/model/getFlowStep200Step.d.ts
|
|
3802
3816
|
/**
|
|
3803
|
-
* A step contains
|
|
3817
|
+
* A step contains ordered capability arrays: what to collect (fields),
|
|
3804
3818
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
3805
|
-
|
|
3819
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
3820
|
+
and builds name-keyed indexes locally for lookup.
|
|
3806
3821
|
|
|
3807
3822
|
*/
|
|
3808
3823
|
type GetFlowStep200Step = {
|
|
@@ -3818,16 +3833,16 @@ type GetFlowStep200Step = {
|
|
|
3818
3833
|
*/
|
|
3819
3834
|
complete?: GetFlowStep200StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
|
|
3820
3835
|
redirect_url?: string;
|
|
3821
|
-
/**
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
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.
|
|
3825
3840
|
*/
|
|
3826
|
-
fields:
|
|
3827
|
-
/**
|
|
3828
|
-
|
|
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.
|
|
3829
3844
|
*/
|
|
3830
|
-
actions:
|
|
3845
|
+
actions: GetFlowStep200StepActionsItem[];
|
|
3831
3846
|
/** Security gates that must be satisfied before the step can be submitted.
|
|
3832
3847
|
The engine injects gates dynamically based on policy, even if they
|
|
3833
3848
|
are not declared in the flow definition.
|
|
@@ -3852,9 +3867,10 @@ type GetFlowStep200 = {
|
|
|
3852
3867
|
id: string; /** Underlying session ID. Stable across all stacked flows. */
|
|
3853
3868
|
session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
|
|
3854
3869
|
session_token?: string;
|
|
3855
|
-
/** A step contains
|
|
3870
|
+
/** A step contains ordered capability arrays: what to collect (fields),
|
|
3856
3871
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
3857
|
-
|
|
3872
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
3873
|
+
and builds name-keyed indexes locally for lookup.
|
|
3858
3874
|
*/
|
|
3859
3875
|
step: GetFlowStep200Step;
|
|
3860
3876
|
/** Resolved branding configuration. Inherited from the app → team → project
|
|
@@ -5633,7 +5649,7 @@ type SubmitFlowStep200Branding = {
|
|
|
5633
5649
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
5634
5650
|
hero_url?: string;
|
|
5635
5651
|
}; //#endregion
|
|
5636
|
-
//#region src/generated/model/
|
|
5652
|
+
//#region src/generated/model/submitFlowStep200StepActionsItem.d.ts
|
|
5637
5653
|
/**
|
|
5638
5654
|
* Generated by orval v8.10.0 🍺
|
|
5639
5655
|
* Do not edit manually.
|
|
@@ -5642,24 +5658,23 @@ type SubmitFlowStep200Branding = {
|
|
|
5642
5658
|
* OpenAPI spec version: 0.0.1
|
|
5643
5659
|
*/
|
|
5644
5660
|
/**
|
|
5645
|
-
*
|
|
5646
|
-
|
|
5661
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
5662
|
+
back in the submit request as `action`.
|
|
5647
5663
|
|
|
5648
5664
|
*/
|
|
5649
|
-
type
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
};
|
|
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;
|
|
5663
5678
|
}; //#endregion
|
|
5664
5679
|
//#region src/generated/model/submitFlowStep200StepChallengeMethod.d.ts
|
|
5665
5680
|
/**
|
|
@@ -5737,7 +5752,7 @@ declare const SubmitFlowStep200StepComplete: {
|
|
|
5737
5752
|
readonly redirect: "redirect";
|
|
5738
5753
|
readonly show: "show";
|
|
5739
5754
|
}; //#endregion
|
|
5740
|
-
//#region src/generated/model/
|
|
5755
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItemType.d.ts
|
|
5741
5756
|
/**
|
|
5742
5757
|
* Generated by orval v8.10.0 🍺
|
|
5743
5758
|
* Do not edit manually.
|
|
@@ -5746,14 +5761,15 @@ declare const SubmitFlowStep200StepComplete: {
|
|
|
5746
5761
|
* OpenAPI spec version: 0.0.1
|
|
5747
5762
|
*/
|
|
5748
5763
|
/**
|
|
5749
|
-
* The input kind the client should render. Encodes the formats
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
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.
|
|
5753
5769
|
|
|
5754
5770
|
*/
|
|
5755
|
-
type
|
|
5756
|
-
declare const
|
|
5771
|
+
type SubmitFlowStep200StepFieldsItemType = (typeof SubmitFlowStep200StepFieldsItemType)[keyof typeof SubmitFlowStep200StepFieldsItemType];
|
|
5772
|
+
declare const SubmitFlowStep200StepFieldsItemType: {
|
|
5757
5773
|
readonly text: "text";
|
|
5758
5774
|
readonly email: "email";
|
|
5759
5775
|
readonly password: "password";
|
|
@@ -5762,8 +5778,10 @@ declare const SubmitFlowStep200StepFieldsType: {
|
|
|
5762
5778
|
readonly url: "url";
|
|
5763
5779
|
readonly date: "date";
|
|
5764
5780
|
readonly hidden: "hidden";
|
|
5781
|
+
readonly checkbox: "checkbox";
|
|
5782
|
+
readonly select: "select";
|
|
5765
5783
|
}; //#endregion
|
|
5766
|
-
//#region src/generated/model/
|
|
5784
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItemValidationFormat.d.ts
|
|
5767
5785
|
/**
|
|
5768
5786
|
* Generated by orval v8.10.0 🍺
|
|
5769
5787
|
* Do not edit manually.
|
|
@@ -5779,14 +5797,14 @@ sufficient for client-side validation. When `type` is `text`
|
|
|
5779
5797
|
(e.g. `format: uuid`), this key is the only signal.
|
|
5780
5798
|
|
|
5781
5799
|
*/
|
|
5782
|
-
type
|
|
5783
|
-
declare const
|
|
5800
|
+
type SubmitFlowStep200StepFieldsItemValidationFormat = (typeof SubmitFlowStep200StepFieldsItemValidationFormat)[keyof typeof SubmitFlowStep200StepFieldsItemValidationFormat];
|
|
5801
|
+
declare const SubmitFlowStep200StepFieldsItemValidationFormat: {
|
|
5784
5802
|
readonly email: "email";
|
|
5785
5803
|
readonly "date-time": "date-time";
|
|
5786
5804
|
readonly uuid: "uuid";
|
|
5787
5805
|
readonly uri: "uri";
|
|
5788
5806
|
}; //#endregion
|
|
5789
|
-
//#region src/generated/model/
|
|
5807
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItemValidation.d.ts
|
|
5790
5808
|
/**
|
|
5791
5809
|
* Schema-derived rules the frontend SHOULD apply at input time. The
|
|
5792
5810
|
server runs the same rules on submit and is the only authority on
|
|
@@ -5798,14 +5816,14 @@ Each key mirrors a JSON Schema keyword on the underlying user
|
|
|
5798
5816
|
property; absent keys mean no rule.
|
|
5799
5817
|
|
|
5800
5818
|
*/
|
|
5801
|
-
type
|
|
5819
|
+
type SubmitFlowStep200StepFieldsItemValidation = {
|
|
5802
5820
|
/** Semantic format the value must match. Values mirror the user
|
|
5803
5821
|
meta-schema. When `type` already encodes the format (email,
|
|
5804
5822
|
url, date), this key is informative and the input type is
|
|
5805
5823
|
sufficient for client-side validation. When `type` is `text`
|
|
5806
5824
|
(e.g. `format: uuid`), this key is the only signal.
|
|
5807
5825
|
*/
|
|
5808
|
-
format?:
|
|
5826
|
+
format?: SubmitFlowStep200StepFieldsItemValidationFormat;
|
|
5809
5827
|
/**
|
|
5810
5828
|
* Minimum length in characters (inclusive). Mirrors `minLength`.
|
|
5811
5829
|
* @minimum 0
|
|
@@ -5816,39 +5834,46 @@ type SubmitFlowStep200StepFieldsValidation = {
|
|
|
5816
5834
|
* @minimum 0
|
|
5817
5835
|
*/
|
|
5818
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[];
|
|
5819
5843
|
}; //#endregion
|
|
5820
|
-
//#region src/generated/model/
|
|
5844
|
+
//#region src/generated/model/submitFlowStep200StepFieldsItem.d.ts
|
|
5821
5845
|
/**
|
|
5822
|
-
*
|
|
5823
|
-
|
|
5824
|
-
Field metadata (type, validation) is resolved by the engine from the
|
|
5825
|
-
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.
|
|
5826
5848
|
|
|
5827
5849
|
*/
|
|
5828
|
-
type
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
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;
|
|
5852
5877
|
}; //#endregion
|
|
5853
5878
|
//#region src/generated/model/submitFlowStep200StepGatesConfig.d.ts
|
|
5854
5879
|
/**
|
|
@@ -5944,9 +5969,10 @@ type SubmitFlowStep200StepTexts = {
|
|
|
5944
5969
|
}; //#endregion
|
|
5945
5970
|
//#region src/generated/model/submitFlowStep200Step.d.ts
|
|
5946
5971
|
/**
|
|
5947
|
-
* A step contains
|
|
5972
|
+
* A step contains ordered capability arrays: what to collect (fields),
|
|
5948
5973
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
5949
|
-
|
|
5974
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
5975
|
+
and builds name-keyed indexes locally for lookup.
|
|
5950
5976
|
|
|
5951
5977
|
*/
|
|
5952
5978
|
type SubmitFlowStep200Step = {
|
|
@@ -5962,16 +5988,16 @@ type SubmitFlowStep200Step = {
|
|
|
5962
5988
|
*/
|
|
5963
5989
|
complete?: SubmitFlowStep200StepComplete; /** URL to navigate to (e.g., SSO provider redirect). */
|
|
5964
5990
|
redirect_url?: string;
|
|
5965
|
-
/**
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
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.
|
|
5969
5995
|
*/
|
|
5970
|
-
fields:
|
|
5971
|
-
/**
|
|
5972
|
-
|
|
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.
|
|
5973
5999
|
*/
|
|
5974
|
-
actions:
|
|
6000
|
+
actions: SubmitFlowStep200StepActionsItem[];
|
|
5975
6001
|
/** Security gates that must be satisfied before the step can be submitted.
|
|
5976
6002
|
The engine injects gates dynamically based on policy, even if they
|
|
5977
6003
|
are not declared in the flow definition.
|
|
@@ -5996,9 +6022,10 @@ type SubmitFlowStep200 = {
|
|
|
5996
6022
|
id: string; /** Underlying session ID. Stable across all stacked flows. */
|
|
5997
6023
|
session_id: string; /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */
|
|
5998
6024
|
session_token?: string;
|
|
5999
|
-
/** A step contains
|
|
6025
|
+
/** A step contains ordered capability arrays: what to collect (fields),
|
|
6000
6026
|
what the user can do (actions), and what security gates must be satisfied (gates).
|
|
6001
|
-
|
|
6027
|
+
The LiquidJS template in `branding.liquid_template` iterates these arrays in order
|
|
6028
|
+
and builds name-keyed indexes locally for lookup.
|
|
6002
6029
|
*/
|
|
6003
6030
|
step: SubmitFlowStep200Step;
|
|
6004
6031
|
/** Resolved branding configuration. Inherited from the app → team → project
|
|
@@ -6153,7 +6180,7 @@ type UpdateFlowDefinition200FlowDefinitionAudience = {
|
|
|
6153
6180
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
6154
6181
|
app_ids?: string[];
|
|
6155
6182
|
}; //#endregion
|
|
6156
|
-
//#region src/generated/model/
|
|
6183
|
+
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.d.ts
|
|
6157
6184
|
/**
|
|
6158
6185
|
* Generated by orval v8.10.0 🍺
|
|
6159
6186
|
* Do not edit manually.
|
|
@@ -6162,25 +6189,23 @@ type UpdateFlowDefinition200FlowDefinitionAudience = {
|
|
|
6162
6189
|
* OpenAPI spec version: 0.0.1
|
|
6163
6190
|
*/
|
|
6164
6191
|
/**
|
|
6165
|
-
*
|
|
6166
|
-
|
|
6167
|
-
If omitted, the engine provides a default `submit` action.
|
|
6192
|
+
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
6193
|
+
back in the submit request as `action`.
|
|
6168
6194
|
|
|
6169
6195
|
*/
|
|
6170
|
-
type
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
};
|
|
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;
|
|
6184
6209
|
}; //#endregion
|
|
6185
6210
|
//#region src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts
|
|
6186
6211
|
/**
|
|
@@ -6307,7 +6332,7 @@ type UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem = {
|
|
|
6307
6332
|
/**
|
|
6308
6333
|
* Maps action/outcome names to their transition descriptor.
|
|
6309
6334
|
|
|
6310
|
-
Keys match action names from the `actions`
|
|
6335
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6311
6336
|
come from implicit outcomes based on schema annotations
|
|
6312
6337
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6313
6338
|
events (e.g. `sso`, `callback`).
|
|
@@ -6356,11 +6381,11 @@ type UpdateFlowDefinition200FlowDefinitionStepsItem = {
|
|
|
6356
6381
|
transition outcome).
|
|
6357
6382
|
*/
|
|
6358
6383
|
fields?: string[];
|
|
6359
|
-
/**
|
|
6360
|
-
|
|
6361
|
-
|
|
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.
|
|
6362
6387
|
*/
|
|
6363
|
-
actions?:
|
|
6388
|
+
actions?: UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem[];
|
|
6364
6389
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
6365
6390
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
6366
6391
|
configuration. The engine may also inject gates dynamically based on
|
|
@@ -6379,7 +6404,7 @@ type UpdateFlowDefinition200FlowDefinitionStepsItem = {
|
|
|
6379
6404
|
*/
|
|
6380
6405
|
complete?: UpdateFlowDefinition200FlowDefinitionStepsItemComplete;
|
|
6381
6406
|
/** Maps action/outcome names to their transition descriptor.
|
|
6382
|
-
Keys match action names from the `actions`
|
|
6407
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6383
6408
|
come from implicit outcomes based on schema annotations
|
|
6384
6409
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6385
6410
|
events (e.g. `sso`, `callback`).
|
|
@@ -6479,7 +6504,7 @@ type UpdateFlowDefinitionBodyAudience = {
|
|
|
6479
6504
|
/** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
|
|
6480
6505
|
app_ids?: string[];
|
|
6481
6506
|
}; //#endregion
|
|
6482
|
-
//#region src/generated/model/
|
|
6507
|
+
//#region src/generated/model/updateFlowDefinitionBodyStepsItemActionsItem.d.ts
|
|
6483
6508
|
/**
|
|
6484
6509
|
* Generated by orval v8.10.0 🍺
|
|
6485
6510
|
* Do not edit manually.
|
|
@@ -6488,25 +6513,23 @@ type UpdateFlowDefinitionBodyAudience = {
|
|
|
6488
6513
|
* OpenAPI spec version: 0.0.1
|
|
6489
6514
|
*/
|
|
6490
6515
|
/**
|
|
6491
|
-
*
|
|
6492
|
-
|
|
6493
|
-
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`.
|
|
6494
6518
|
|
|
6495
6519
|
*/
|
|
6496
|
-
type
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
};
|
|
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;
|
|
6510
6533
|
}; //#endregion
|
|
6511
6534
|
//#region src/generated/model/updateFlowDefinitionBodyStepsItemComplete.d.ts
|
|
6512
6535
|
/**
|
|
@@ -6633,7 +6656,7 @@ type UpdateFlowDefinitionBodyStepsItemSsoProvidersItem = {
|
|
|
6633
6656
|
/**
|
|
6634
6657
|
* Maps action/outcome names to their transition descriptor.
|
|
6635
6658
|
|
|
6636
|
-
Keys match action names from the `actions`
|
|
6659
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6637
6660
|
come from implicit outcomes based on schema annotations
|
|
6638
6661
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6639
6662
|
events (e.g. `sso`, `callback`).
|
|
@@ -6682,11 +6705,11 @@ type UpdateFlowDefinitionBodyStepsItem = {
|
|
|
6682
6705
|
transition outcome).
|
|
6683
6706
|
*/
|
|
6684
6707
|
fields?: string[];
|
|
6685
|
-
/**
|
|
6686
|
-
|
|
6687
|
-
|
|
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.
|
|
6688
6711
|
*/
|
|
6689
|
-
actions?:
|
|
6712
|
+
actions?: UpdateFlowDefinitionBodyStepsItemActionsItem[];
|
|
6690
6713
|
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
6691
6714
|
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
6692
6715
|
configuration. The engine may also inject gates dynamically based on
|
|
@@ -6705,7 +6728,7 @@ type UpdateFlowDefinitionBodyStepsItem = {
|
|
|
6705
6728
|
*/
|
|
6706
6729
|
complete?: UpdateFlowDefinitionBodyStepsItemComplete;
|
|
6707
6730
|
/** Maps action/outcome names to their transition descriptor.
|
|
6708
|
-
Keys match action names from the `actions`
|
|
6731
|
+
Keys match action names from the `actions` array. Additional keys
|
|
6709
6732
|
come from implicit outcomes based on schema annotations
|
|
6710
6733
|
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
6711
6734
|
events (e.g. `sso`, `callback`).
|
|
@@ -7064,7 +7087,7 @@ type VerifyChallengeProofBody = {
|
|
|
7064
7087
|
* Alias of the orval-generated wire enum for field types so the atom's
|
|
7065
7088
|
* accepted `type` values track the API contract exactly.
|
|
7066
7089
|
*/
|
|
7067
|
-
type ZlFieldType =
|
|
7090
|
+
type ZlFieldType = CreateFlow201StepFieldsItemType;
|
|
7068
7091
|
/**
|
|
7069
7092
|
* Atom: `<zl-field>` — labelled input bound to a step `field`. Visual
|
|
7070
7093
|
* spec lineage:
|
|
@@ -7369,5 +7392,5 @@ declare global {
|
|
|
7369
7392
|
}
|
|
7370
7393
|
} //# sourceMappingURL=zl-pill.d.ts.map
|
|
7371
7394
|
//#endregion
|
|
7372
|
-
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,
|
|
7373
|
-
//# 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
|