@zitadel/api 0.0.0 → 0.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.d.ts +17 -7
- package/dist/generated/endpoints/zitadelNextGen.d.ts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.mjs +69 -16
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +8 -5
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.ts +7 -4
- package/dist/generated/endpoints/zitadelNextGen.msw.d.ts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +248 -228
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +140 -106
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.ts +137 -103
- package/dist/generated/endpoints/zitadelNextGen.zod.d.ts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +105 -83
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/createFlowDefinition201.d.ts +11 -144
- package/dist/generated/model/createFlowDefinition201.d.ts.map +1 -1
- package/dist/generated/model/createFlowDefinition201FlowDefinition.d.ts +56 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinition.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts +21 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts +71 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItem.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts +29 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts +19 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts +35 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts +18 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts +35 -0
- package/dist/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
- package/dist/generated/model/deleteFlowDefinitionParams.d.ts +15 -0
- package/dist/generated/model/deleteFlowDefinitionParams.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200.d.ts +11 -144
- package/dist/generated/model/getFlowDefinition200.d.ts.map +1 -1
- package/dist/generated/model/getFlowDefinition200FlowDefinition.d.ts +56 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinition.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts +21 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts +71 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItem.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts +29 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts +19 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts +35 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts +18 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts +35 -0
- package/dist/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
- package/dist/generated/model/getFlowDefinitionParams.d.ts +15 -0
- package/dist/generated/model/getFlowDefinitionParams.d.ts.map +1 -0
- package/dist/generated/model/getMyUser200.d.ts +11 -0
- package/dist/generated/model/getMyUser200.d.ts.map +1 -0
- package/dist/generated/model/{getFlowDefinition404.d.ts → getMyUser401.d.ts} +4 -4
- package/dist/generated/model/getMyUser401.d.ts.map +1 -0
- package/dist/generated/model/{getFlowDefinition404Details.d.ts → getMyUser401Details.d.ts} +2 -2
- package/dist/generated/model/getMyUser401Details.d.ts.map +1 -0
- package/dist/generated/model/getMyUser404.d.ts +26 -0
- package/dist/generated/model/getMyUser404.d.ts.map +1 -0
- package/dist/generated/model/{deleteFlowDefinition404.d.ts → getMyUserDefault.d.ts} +4 -4
- package/dist/generated/model/getMyUserDefault.d.ts.map +1 -0
- package/dist/generated/model/{deleteFlowDefinition404Details.d.ts → getMyUserDefaultDetails.d.ts} +2 -2
- package/dist/generated/model/getMyUserDefaultDetails.d.ts.map +1 -0
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.d.ts +52 -4
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/index.mjs +37 -1
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts +1 -1
- package/dist/generated/model/listFlowDefinitions200FlowDefinitionsItem.d.ts.map +1 -1
- package/dist/generated/model/listFlowDefinitionsParams.d.ts +1 -1
- package/dist/generated/model/setUserPassword400.d.ts +20 -0
- package/dist/generated/model/setUserPassword400.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword400Details.d.ts +14 -0
- package/dist/generated/model/setUserPassword400Details.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword404.d.ts +20 -0
- package/dist/generated/model/setUserPassword404.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword404Details.d.ts +14 -0
- package/dist/generated/model/setUserPassword404Details.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword500.d.ts +20 -0
- package/dist/generated/model/setUserPassword500.d.ts.map +1 -0
- package/dist/generated/model/setUserPassword500Details.d.ts +14 -0
- package/dist/generated/model/setUserPassword500Details.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordBody.d.ts +19 -0
- package/dist/generated/model/setUserPasswordBody.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordDefault.d.ts +20 -0
- package/dist/generated/model/setUserPasswordDefault.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordDefaultDetails.d.ts +14 -0
- package/dist/generated/model/setUserPasswordDefaultDetails.d.ts.map +1 -0
- package/dist/generated/model/setUserPasswordParams.d.ts +15 -0
- package/dist/generated/model/setUserPasswordParams.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200.d.ts +11 -144
- package/dist/generated/model/updateFlowDefinition200.d.ts.map +1 -1
- package/dist/generated/model/updateFlowDefinition200FlowDefinition.d.ts +56 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinition.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts +21 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts +71 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts +29 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts +19 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts +35 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts +16 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts +18 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts +19 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts +19 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts +35 -0
- package/dist/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.d.ts.map +1 -0
- package/dist/generated/model/updateFlowDefinitionParams.d.ts +15 -0
- package/dist/generated/model/updateFlowDefinitionParams.d.ts.map +1 -0
- package/dist/{index-DlEenfQJ.d.mts → index-DyBulyp9.d.mts} +1685 -938
- package/dist/index-DyBulyp9.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/config.d.mts +6 -3
- package/dist/runtime/config.d.mts.map +1 -1
- package/dist/runtime/config.d.ts +6 -3
- package/dist/runtime/config.d.ts.map +1 -1
- package/dist/runtime/config.mjs +42 -11
- package/dist/runtime/config.mjs.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{zitadelNextGen-C-fBEgnH.d.mts → zitadelNextGen-D6pDH5nq.d.mts} +20 -10
- package/dist/zitadelNextGen-D6pDH5nq.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +82 -34
- package/src/generated/endpoints/zitadelNextGen.ts +111 -16
- package/src/generated/endpoints/zitadelNextGen.zod.ts +452 -384
- package/src/generated/model/createFlowDefinition201.ts +11 -144
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +58 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionAudience.ts +21 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItem.ts +71 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActions.ts +29 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemComplete.ts +21 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGates.ts +35 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesConfig.ts +14 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemGatesKind.ts +20 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemOnSuccess.ts +21 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +35 -0
- package/src/generated/model/deleteFlowDefinitionParams.ts +15 -0
- package/src/generated/model/getFlowDefinition200.ts +11 -144
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +58 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionAudience.ts +21 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActions.ts +29 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +14 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +20 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
- package/src/generated/model/getFlowDefinitionParams.ts +15 -0
- package/src/generated/model/getMyUser200.ts +9 -0
- package/src/generated/model/{getFlowDefinition404.ts → getMyUser401.ts} +3 -3
- package/src/generated/model/{getFlowDefinition404Details.ts → getMyUser401Details.ts} +1 -1
- package/src/generated/model/getMyUser404.ts +24 -0
- package/src/generated/model/{deleteFlowDefinition404.ts → getMyUserDefault.ts} +3 -3
- package/src/generated/model/{deleteFlowDefinition404Details.ts → getMyUserDefaultDetails.ts} +1 -1
- package/src/generated/model/index.ts +52 -4
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +1 -1
- package/src/generated/model/listFlowDefinitionsParams.ts +1 -1
- package/src/generated/model/setUserPassword400.ts +20 -0
- package/src/generated/model/setUserPassword400Details.ts +12 -0
- package/src/generated/model/setUserPassword404.ts +20 -0
- package/src/generated/model/setUserPassword404Details.ts +12 -0
- package/src/generated/model/setUserPassword500.ts +20 -0
- package/src/generated/model/setUserPassword500Details.ts +12 -0
- package/src/generated/model/setUserPasswordBody.ts +19 -0
- package/src/generated/model/setUserPasswordDefault.ts +20 -0
- package/src/generated/model/setUserPasswordDefaultDetails.ts +12 -0
- package/src/generated/model/setUserPasswordParams.ts +15 -0
- package/src/generated/model/updateFlowDefinition200.ts +11 -144
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +58 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionAudience.ts +21 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItem.ts +71 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActions.ts +29 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemComplete.ts +21 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGates.ts +35 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesConfig.ts +14 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemGatesKind.ts +20 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemOnSuccess.ts +21 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem.ts +19 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +35 -0
- package/src/generated/model/updateFlowDefinitionParams.ts +15 -0
- package/src/runtime/config.spec.ts +41 -0
- package/src/runtime/config.ts +46 -18
- package/dist/generated/endpoints/zitadelNextGen.d.mts.map +0 -1
- package/dist/generated/model/createSession201SessionFactors.d.ts +0 -18
- package/dist/generated/model/createSession201SessionFactors.d.ts.map +0 -1
- package/dist/generated/model/deleteFlowDefinition404.d.ts.map +0 -1
- package/dist/generated/model/deleteFlowDefinition404Details.d.ts.map +0 -1
- package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts +0 -18
- package/dist/generated/model/exchangeHandoff200SessionFactors.d.ts.map +0 -1
- package/dist/generated/model/getFlowDefinition404.d.ts.map +0 -1
- package/dist/generated/model/getFlowDefinition404Details.d.ts.map +0 -1
- package/dist/generated/model/getMySession200Factors.d.ts +0 -18
- package/dist/generated/model/getMySession200Factors.d.ts.map +0 -1
- package/dist/generated/model/getSession200Factors.d.ts +0 -18
- package/dist/generated/model/getSession200Factors.d.ts.map +0 -1
- package/dist/generated/model/index.d.mts.map +0 -1
- package/dist/generated/model/listSessions200SessionsItemFactors.d.ts +0 -18
- package/dist/generated/model/listSessions200SessionsItemFactors.d.ts.map +0 -1
- package/dist/index-DlEenfQJ.d.mts.map +0 -1
- package/dist/zitadelNextGen-C-fBEgnH.d.mts.map +0 -1
|
@@ -55,6 +55,17 @@ export * from "./createFlowBodyPurpose";
|
|
|
55
55
|
export * from "./createFlowDefault";
|
|
56
56
|
export * from "./createFlowDefaultDetails";
|
|
57
57
|
export * from "./createFlowDefinition201";
|
|
58
|
+
export * from "./createFlowDefinition201FlowDefinition";
|
|
59
|
+
export * from "./createFlowDefinition201FlowDefinitionAudience";
|
|
60
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItem";
|
|
61
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemActions";
|
|
62
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemComplete";
|
|
63
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemGates";
|
|
64
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemGatesConfig";
|
|
65
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemGatesKind";
|
|
66
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemOnSuccess";
|
|
67
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem";
|
|
68
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemTransitions";
|
|
58
69
|
export * from "./createFlowDefinition400";
|
|
59
70
|
export * from "./createFlowDefinition400Details";
|
|
60
71
|
export * from "./createFlowDefinition409";
|
|
@@ -126,10 +137,9 @@ export * from "./createUserBody";
|
|
|
126
137
|
export * from "./createUserDefault";
|
|
127
138
|
export * from "./createUserDefaultDetails";
|
|
128
139
|
export * from "./createUserParams";
|
|
129
|
-
export * from "./deleteFlowDefinition404";
|
|
130
|
-
export * from "./deleteFlowDefinition404Details";
|
|
131
140
|
export * from "./deleteFlowDefinitionDefault";
|
|
132
141
|
export * from "./deleteFlowDefinitionDefaultDetails";
|
|
142
|
+
export * from "./deleteFlowDefinitionParams";
|
|
133
143
|
export * from "./endSession400";
|
|
134
144
|
export * from "./endSession400Details";
|
|
135
145
|
export * from "./endSessionDefault";
|
|
@@ -165,10 +175,20 @@ export * from "./getAuthAttempt200RequiredFactorsItem";
|
|
|
165
175
|
export * from "./getAuthAttempt200State";
|
|
166
176
|
export * from "./getAuthAttemptDefault";
|
|
167
177
|
export * from "./getFlowDefinition200";
|
|
168
|
-
export * from "./
|
|
169
|
-
export * from "./
|
|
178
|
+
export * from "./getFlowDefinition200FlowDefinition";
|
|
179
|
+
export * from "./getFlowDefinition200FlowDefinitionAudience";
|
|
180
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItem";
|
|
181
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemActions";
|
|
182
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemComplete";
|
|
183
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemGates";
|
|
184
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemGatesConfig";
|
|
185
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemGatesKind";
|
|
186
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemOnSuccess";
|
|
187
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem";
|
|
188
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemTransitions";
|
|
170
189
|
export * from "./getFlowDefinitionDefault";
|
|
171
190
|
export * from "./getFlowDefinitionDefaultDetails";
|
|
191
|
+
export * from "./getFlowDefinitionParams";
|
|
172
192
|
export * from "./getFlowStep200";
|
|
173
193
|
export * from "./getFlowStep200Branding";
|
|
174
194
|
export * from "./getFlowStep200BrandingLayout";
|
|
@@ -220,6 +240,12 @@ export * from "./getMySession404";
|
|
|
220
240
|
export * from "./getMySession404Details";
|
|
221
241
|
export * from "./getMySessionDefault";
|
|
222
242
|
export * from "./getMySessionDefaultDetails";
|
|
243
|
+
export * from "./getMyUser200";
|
|
244
|
+
export * from "./getMyUser401";
|
|
245
|
+
export * from "./getMyUser401Details";
|
|
246
|
+
export * from "./getMyUser404";
|
|
247
|
+
export * from "./getMyUserDefault";
|
|
248
|
+
export * from "./getMyUserDefaultDetails";
|
|
223
249
|
export * from "./getOpenIDConfiguration4xx";
|
|
224
250
|
export * from "./getOpenIDConfiguration4xxDetails";
|
|
225
251
|
export * from "./getOpenIDConfiguration200";
|
|
@@ -361,6 +387,16 @@ export * from "./revokeToken4xxDetails";
|
|
|
361
387
|
export * from "./revokeTokenBody";
|
|
362
388
|
export * from "./revokeTokenDefault";
|
|
363
389
|
export * from "./revokeTokenDefaultDetails";
|
|
390
|
+
export * from "./setUserPassword400";
|
|
391
|
+
export * from "./setUserPassword400Details";
|
|
392
|
+
export * from "./setUserPassword404";
|
|
393
|
+
export * from "./setUserPassword404Details";
|
|
394
|
+
export * from "./setUserPassword500";
|
|
395
|
+
export * from "./setUserPassword500Details";
|
|
396
|
+
export * from "./setUserPasswordBody";
|
|
397
|
+
export * from "./setUserPasswordDefault";
|
|
398
|
+
export * from "./setUserPasswordDefaultDetails";
|
|
399
|
+
export * from "./setUserPasswordParams";
|
|
364
400
|
export * from "./submitFlowEvent400";
|
|
365
401
|
export * from "./submitFlowEvent400Details";
|
|
366
402
|
export * from "./submitFlowEvent404";
|
|
@@ -416,6 +452,17 @@ export * from "./submitFlowStepBodyGateProofs";
|
|
|
416
452
|
export * from "./submitFlowStepDefault";
|
|
417
453
|
export * from "./submitFlowStepDefaultDetails";
|
|
418
454
|
export * from "./updateFlowDefinition200";
|
|
455
|
+
export * from "./updateFlowDefinition200FlowDefinition";
|
|
456
|
+
export * from "./updateFlowDefinition200FlowDefinitionAudience";
|
|
457
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItem";
|
|
458
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemActions";
|
|
459
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemComplete";
|
|
460
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemGates";
|
|
461
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemGatesConfig";
|
|
462
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemGatesKind";
|
|
463
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemOnSuccess";
|
|
464
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem";
|
|
465
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemTransitions";
|
|
419
466
|
export * from "./updateFlowDefinition400";
|
|
420
467
|
export * from "./updateFlowDefinition400Details";
|
|
421
468
|
export * from "./updateFlowDefinition404";
|
|
@@ -433,6 +480,7 @@ export * from "./updateFlowDefinitionBodyStepsItemSsoProvidersItem";
|
|
|
433
480
|
export * from "./updateFlowDefinitionBodyStepsItemTransitions";
|
|
434
481
|
export * from "./updateFlowDefinitionDefault";
|
|
435
482
|
export * from "./updateFlowDefinitionDefaultDetails";
|
|
483
|
+
export * from "./updateFlowDefinitionParams";
|
|
436
484
|
export * from "./verifyChallengeProof200";
|
|
437
485
|
export * from "./verifyChallengeProof200ChallengesItem";
|
|
438
486
|
export * from "./verifyChallengeProof200ChallengesItemMethod";
|
|
@@ -24,7 +24,7 @@ export type ListFlowDefinitions200FlowDefinitionsItem = {
|
|
|
24
24
|
/** URI of the flow definition schema this definition was authored against.
|
|
25
25
|
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.
|
|
26
26
|
*/
|
|
27
|
-
schema_uri
|
|
27
|
+
schema_uri?: string;
|
|
28
28
|
/** Status of the flow definition. */
|
|
29
29
|
status: string;
|
|
30
30
|
/** Timestamp when the flow definition was created. */
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { SetUserPassword400Details } from "./setUserPassword400Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type SetUserPassword400 = {
|
|
14
|
+
/** Stable machine-readable error code. */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Human-readable explanation of the error. */
|
|
17
|
+
message: string;
|
|
18
|
+
/** Additional error-specific context. */
|
|
19
|
+
details?: SetUserPassword400Details;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Additional error-specific context.
|
|
11
|
+
*/
|
|
12
|
+
export type SetUserPassword400Details = { [key: string]: unknown };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { SetUserPassword404Details } from "./setUserPassword404Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type SetUserPassword404 = {
|
|
14
|
+
/** Stable machine-readable error code. */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Human-readable explanation of the error. */
|
|
17
|
+
message: string;
|
|
18
|
+
/** Additional error-specific context. */
|
|
19
|
+
details?: SetUserPassword404Details;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Additional error-specific context.
|
|
11
|
+
*/
|
|
12
|
+
export type SetUserPassword404Details = { [key: string]: unknown };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { SetUserPassword500Details } from "./setUserPassword500Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type SetUserPassword500 = {
|
|
14
|
+
/** Stable machine-readable error code. */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Human-readable explanation of the error. */
|
|
17
|
+
message: string;
|
|
18
|
+
/** Additional error-specific context. */
|
|
19
|
+
details?: SetUserPassword500Details;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Additional error-specific context.
|
|
11
|
+
*/
|
|
12
|
+
export type SetUserPassword500Details = { [key: string]: unknown };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Request to update the user's password.
|
|
11
|
+
*/
|
|
12
|
+
export type SetUserPasswordBody = {
|
|
13
|
+
/** The new password for the user. */
|
|
14
|
+
password: string;
|
|
15
|
+
/** Whether the user is required to change their password on the next login.
|
|
16
|
+
If not provided, it will default to false.
|
|
17
|
+
*/
|
|
18
|
+
isChangeRequired?: boolean;
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { SetUserPasswordDefaultDetails } from "./setUserPasswordDefaultDetails";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type SetUserPasswordDefault = {
|
|
14
|
+
/** Stable machine-readable error code. */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Human-readable explanation of the error. */
|
|
17
|
+
message: string;
|
|
18
|
+
/** Additional error-specific context. */
|
|
19
|
+
details?: SetUserPasswordDefaultDetails;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Additional error-specific context.
|
|
11
|
+
*/
|
|
12
|
+
export type SetUserPasswordDefaultDetails = { [key: string]: unknown };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type SetUserPasswordParams = {
|
|
10
|
+
/**
|
|
11
|
+
* The unique identifier of the project
|
|
12
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
13
|
+
*/
|
|
14
|
+
project_id: string;
|
|
15
|
+
};
|
|
@@ -5,158 +5,25 @@
|
|
|
5
5
|
* This is the next generation of the Zitadel identity platform.
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
|
+
import type { UpdateFlowDefinition200FlowDefinition } from "./updateFlowDefinition200FlowDefinition";
|
|
8
9
|
|
|
9
10
|
export type UpdateFlowDefinition200 = {
|
|
10
|
-
/**
|
|
11
|
-
* Stable identifier for this flow, used as the target of cross-flow
|
|
12
|
-
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
13
|
-
`name` is part of the public contract another definition may
|
|
14
|
-
reference. Acts as the human display label as well; no separate slug.
|
|
15
|
-
|
|
16
|
-
* @pattern ^[a-z][a-z0-9-]*$
|
|
17
|
-
*/
|
|
18
|
-
name: string;
|
|
19
|
-
/** User schema this flow operates on. Step `fields` reference properties
|
|
20
|
-
defined in this schema. The engine resolves field types, validation,
|
|
21
|
-
and implicit outcomes from schema annotations at runtime.
|
|
22
|
-
*/
|
|
23
|
-
user_schema: string;
|
|
24
|
-
/** Maps each purpose this definition handles to its entry-point step.
|
|
25
|
-
Keys are purpose names; values must match a `name` in `steps`. A
|
|
26
|
-
definition can serve multiple purposes (e.g. a combined login/register
|
|
27
|
-
flow) by listing one entry per purpose.
|
|
28
|
-
*/
|
|
29
|
-
purposes: Partial<
|
|
30
|
-
Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>
|
|
31
|
-
>;
|
|
32
|
-
/** Scopes which teams or apps this flow definition applies to. Empty or
|
|
33
|
-
omitted fields mean "no restriction"; when both are empty the definition
|
|
34
|
-
matches every request in the project. The engine picks the most specific
|
|
35
|
-
matching definition: app > team > project-wide.
|
|
36
|
-
*/
|
|
37
|
-
audience?: {
|
|
38
|
-
/** Restrict to specific teams (organizations). Empty means no team restriction. */
|
|
39
|
-
team_ids?: string[];
|
|
40
|
-
/** Restrict to specific applications. Empty means no app restriction. */
|
|
41
|
-
app_ids?: string[];
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Ordered list of steps in this flow. The order is for human readability —
|
|
45
|
-
actual step sequencing is determined by transitions.
|
|
46
|
-
|
|
47
|
-
* @minItems 1
|
|
48
|
-
*/
|
|
49
|
-
steps: {
|
|
50
|
-
/** Unique step identifier within this flow. Used as transition targets
|
|
51
|
-
and returned in the API response as `step.name`.
|
|
52
|
-
*/
|
|
53
|
-
name: string;
|
|
54
|
-
/** Schema property names to collect from the user. Each entry references
|
|
55
|
-
a property in the flow's user schema. The engine resolves field type,
|
|
56
|
-
validation rules, and implicit outcomes from schema annotations
|
|
57
|
-
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
58
|
-
transition outcome).
|
|
59
|
-
*/
|
|
60
|
-
fields?: string[];
|
|
61
|
-
/** Actions the user can take. Keyed by action name.
|
|
62
|
-
The action name is what the frontend sends back in the submit request.
|
|
63
|
-
If omitted, the engine provides a default `submit` action.
|
|
64
|
-
*/
|
|
65
|
-
actions?: {
|
|
66
|
-
[key: string]: {
|
|
67
|
-
/** Marks this as the default/primary action. The runtime template uses
|
|
68
|
-
this hint to choose visual emphasis. At most one action per step
|
|
69
|
-
should be primary; this is not enforced here.
|
|
70
|
-
*/
|
|
71
|
-
primary?: boolean;
|
|
72
|
-
/** Optional localization key override for the action's label. When
|
|
73
|
-
omitted, the engine derives a key from the step and action names.
|
|
74
|
-
Display text is resolved client-side from a locale dictionary, never
|
|
75
|
-
by the engine.
|
|
76
|
-
*/
|
|
77
|
-
text_key?: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
81
|
-
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
82
|
-
configuration. The engine may also inject gates dynamically based on
|
|
83
|
-
policy.
|
|
84
|
-
*/
|
|
85
|
-
gates?: {
|
|
86
|
-
[key: string]: {
|
|
87
|
-
/** The gate category. Only `captcha` is currently defined. Authenticator
|
|
88
|
-
ceremonies (e.g. passkey) are modelled as credential auth_attempts via
|
|
89
|
-
`x-credential` on a field, not as gates.
|
|
90
|
-
*/
|
|
91
|
-
kind: "captcha";
|
|
92
|
-
/** Provider identifier within the gate kind — e.g. `altcha`, `turnstile`,
|
|
93
|
-
`hcaptcha`. The engine looks up an implementation in its provider
|
|
94
|
-
registry.
|
|
95
|
-
*/
|
|
96
|
-
provider: string;
|
|
97
|
-
/** Provider-specific configuration consumed by the implementation when
|
|
98
|
-
issuing the per-render challenge. Opaque to the engine.
|
|
99
|
-
*/
|
|
100
|
-
config?: { [key: string]: unknown };
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
/** Available SSO identity providers for this step. */
|
|
104
|
-
sso_providers?: {
|
|
105
|
-
/** Provider instance identifier. */
|
|
106
|
-
id: string;
|
|
107
|
-
/** Display name for the provider. */
|
|
108
|
-
name: string;
|
|
109
|
-
/** Template hint for rendering (logo, colors). */
|
|
110
|
-
template: string;
|
|
111
|
-
}[];
|
|
112
|
-
/** Server-side mutation to execute when this step completes successfully.
|
|
113
|
-
Runs after field validation passes, before the transition fires.
|
|
114
|
-
|
|
115
|
-
- create_user: creates the user record (registration flows)
|
|
116
|
-
*/
|
|
117
|
-
on_success?: "create_user";
|
|
118
|
-
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
119
|
-
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
120
|
-
- show: render as a success/info screen
|
|
121
|
-
*/
|
|
122
|
-
complete?: "redirect" | "show";
|
|
123
|
-
/** Maps action/outcome names to their transition descriptor.
|
|
124
|
-
|
|
125
|
-
Keys match action names from the `actions` dict. Additional keys
|
|
126
|
-
come from implicit outcomes based on schema annotations
|
|
127
|
-
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
128
|
-
events (e.g. `sso`, `callback`).
|
|
129
|
-
*/
|
|
130
|
-
transitions?: {
|
|
131
|
-
[key: string]: {
|
|
132
|
-
/** Step name within this flow (when `action` is null), or the name
|
|
133
|
-
of another flow (when `action` is `switch` or `pivot`).
|
|
134
|
-
*/
|
|
135
|
-
target: string;
|
|
136
|
-
/** How to interpret `target`:
|
|
137
|
-
- null (omitted): transition to a step in the current flow.
|
|
138
|
-
- switch: replace the current flow with the target flow.
|
|
139
|
-
No return — the current flow is discarded.
|
|
140
|
-
Example: login ↔ register.
|
|
141
|
-
- pivot: push the target flow onto the stack. The current flow
|
|
142
|
-
is paused and resumes when the target flow completes (auto-pop).
|
|
143
|
-
Example: login → recovery → back to login.
|
|
144
|
-
*/
|
|
145
|
-
action?: "switch" | "pivot" | null;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
}[];
|
|
149
|
-
} & {
|
|
150
11
|
/** Unique identifier for the flow definition. */
|
|
151
12
|
id: string;
|
|
152
13
|
/** Identifier of the project this flow definition belongs to. */
|
|
153
14
|
project_id: string;
|
|
154
|
-
/** URI of the flow definition schema this definition was authored against.
|
|
155
|
-
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.
|
|
156
|
-
*/
|
|
157
|
-
schema_uri: string;
|
|
158
15
|
/** Status of the flow definition. */
|
|
159
16
|
status: string;
|
|
17
|
+
/** A flow definition is the server-side configuration that describes a complete
|
|
18
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
19
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
20
|
+
dictionaries) for the client.
|
|
21
|
+
|
|
22
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
23
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
24
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
25
|
+
*/
|
|
26
|
+
flow_definition: UpdateFlowDefinition200FlowDefinition;
|
|
160
27
|
created_at: string;
|
|
161
28
|
updated_at: string;
|
|
162
29
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { UpdateFlowDefinition200FlowDefinitionAudience } from "./updateFlowDefinition200FlowDefinitionAudience";
|
|
9
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItem } from "./updateFlowDefinition200FlowDefinitionStepsItem";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* A flow definition is the server-side configuration that describes a complete
|
|
13
|
+
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
14
|
+
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
15
|
+
dictionaries) for the client.
|
|
16
|
+
|
|
17
|
+
Flow definitions are created by administrators and stored in the project/team
|
|
18
|
+
configuration hierarchy. The engine selects the matching definition based on
|
|
19
|
+
the purpose + audience when a flow is created via POST /flow.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
export type UpdateFlowDefinition200FlowDefinition = {
|
|
23
|
+
/**
|
|
24
|
+
* Stable identifier for this flow, used as the target of cross-flow
|
|
25
|
+
`switch` and `pivot` transitions. Renaming is not supported — the
|
|
26
|
+
`name` is part of the public contract another definition may
|
|
27
|
+
reference. Acts as the human display label as well; no separate slug.
|
|
28
|
+
|
|
29
|
+
* @pattern ^[a-z][a-z0-9-]*$
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/** User schema this flow operates on. Step `fields` reference properties
|
|
33
|
+
defined in this schema. The engine resolves field types, validation,
|
|
34
|
+
and implicit outcomes from schema annotations at runtime.
|
|
35
|
+
*/
|
|
36
|
+
user_schema: string;
|
|
37
|
+
/** Maps each purpose this definition handles to its entry-point step.
|
|
38
|
+
Keys are purpose names; values must match a `name` in `steps`. A
|
|
39
|
+
definition can serve multiple purposes (e.g. a combined login/register
|
|
40
|
+
flow) by listing one entry per purpose.
|
|
41
|
+
*/
|
|
42
|
+
purposes: Partial<
|
|
43
|
+
Record<"login" | "register" | "recovery" | "profiling" | "reauth" | "link_account", string>
|
|
44
|
+
>;
|
|
45
|
+
/** Scopes which teams or apps this flow definition applies to. Empty or
|
|
46
|
+
omitted fields mean "no restriction"; when both are empty the definition
|
|
47
|
+
matches every request in the project. The engine picks the most specific
|
|
48
|
+
matching definition: app > team > project-wide.
|
|
49
|
+
*/
|
|
50
|
+
audience?: UpdateFlowDefinition200FlowDefinitionAudience;
|
|
51
|
+
/**
|
|
52
|
+
* Ordered list of steps in this flow. The order is for human readability —
|
|
53
|
+
actual step sequencing is determined by transitions.
|
|
54
|
+
|
|
55
|
+
* @minItems 1
|
|
56
|
+
*/
|
|
57
|
+
steps: UpdateFlowDefinition200FlowDefinitionStepsItem[];
|
|
58
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Scopes which teams or apps this flow definition applies to. Empty or
|
|
11
|
+
omitted fields mean "no restriction"; when both are empty the definition
|
|
12
|
+
matches every request in the project. The engine picks the most specific
|
|
13
|
+
matching definition: app > team > project-wide.
|
|
14
|
+
|
|
15
|
+
*/
|
|
16
|
+
export type UpdateFlowDefinition200FlowDefinitionAudience = {
|
|
17
|
+
/** Restrict to specific teams (organizations). Empty means no team restriction. */
|
|
18
|
+
team_ids?: string[];
|
|
19
|
+
/** Restrict to specific applications. Empty means no app restriction. */
|
|
20
|
+
app_ids?: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItemActions } from "./updateFlowDefinition200FlowDefinitionStepsItemActions";
|
|
9
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItemComplete } from "./updateFlowDefinition200FlowDefinitionStepsItemComplete";
|
|
10
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItemGates } from "./updateFlowDefinition200FlowDefinitionStepsItemGates";
|
|
11
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess } from "./updateFlowDefinition200FlowDefinitionStepsItemOnSuccess";
|
|
12
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem } from "./updateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem";
|
|
13
|
+
import type { UpdateFlowDefinition200FlowDefinitionStepsItemTransitions } from "./updateFlowDefinition200FlowDefinitionStepsItemTransitions";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A step in a flow definition. This is the admin-authored configuration,
|
|
17
|
+
not the runtime payload sent to the frontend.
|
|
18
|
+
|
|
19
|
+
Steps are schema-driven: `fields` references properties from the flow's
|
|
20
|
+
user schema, and the engine resolves field metadata (type, validation,
|
|
21
|
+
implicit outcomes) from schema annotations at runtime.
|
|
22
|
+
|
|
23
|
+
A step with only `complete` set is a terminal step. All other steps are
|
|
24
|
+
rendered to the frontend as capability payloads.
|
|
25
|
+
|
|
26
|
+
*/
|
|
27
|
+
export type UpdateFlowDefinition200FlowDefinitionStepsItem = {
|
|
28
|
+
/** Unique step identifier within this flow. Used as transition targets
|
|
29
|
+
and returned in the API response as `step.name`.
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/** Schema property names to collect from the user. Each entry references
|
|
33
|
+
a property in the flow's user schema. The engine resolves field type,
|
|
34
|
+
validation rules, and implicit outcomes from schema annotations
|
|
35
|
+
(e.g. a property with `x-unique` set implies a `user_not_found`
|
|
36
|
+
transition outcome).
|
|
37
|
+
*/
|
|
38
|
+
fields?: string[];
|
|
39
|
+
/** Actions the user can take. Keyed by action name.
|
|
40
|
+
The action name is what the frontend sends back in the submit request.
|
|
41
|
+
If omitted, the engine provides a default `submit` action.
|
|
42
|
+
*/
|
|
43
|
+
actions?: UpdateFlowDefinition200FlowDefinitionStepsItemActions;
|
|
44
|
+
/** Security gates that must be satisfied before submission. Keyed by gate
|
|
45
|
+
name. Each gate selects a kind (e.g. "captcha") and provider-specific
|
|
46
|
+
configuration. The engine may also inject gates dynamically based on
|
|
47
|
+
policy.
|
|
48
|
+
*/
|
|
49
|
+
gates?: UpdateFlowDefinition200FlowDefinitionStepsItemGates;
|
|
50
|
+
/** Available SSO identity providers for this step. */
|
|
51
|
+
sso_providers?: UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem[];
|
|
52
|
+
/** Server-side mutation to execute when this step completes successfully.
|
|
53
|
+
Runs after field validation passes, before the transition fires.
|
|
54
|
+
|
|
55
|
+
- create_user: creates the user record (registration flows)
|
|
56
|
+
*/
|
|
57
|
+
on_success?: UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess;
|
|
58
|
+
/** Marks this as a terminal step. Tells the frontend what to do:
|
|
59
|
+
- redirect: navigate to redirect_uri (OIDC/SAML callback done)
|
|
60
|
+
- show: render as a success/info screen
|
|
61
|
+
*/
|
|
62
|
+
complete?: UpdateFlowDefinition200FlowDefinitionStepsItemComplete;
|
|
63
|
+
/** Maps action/outcome names to their transition descriptor.
|
|
64
|
+
|
|
65
|
+
Keys match action names from the `actions` dict. Additional keys
|
|
66
|
+
come from implicit outcomes based on schema annotations
|
|
67
|
+
(e.g. `user_not_found` from `x-unique` fields) and engine
|
|
68
|
+
events (e.g. `sso`, `callback`).
|
|
69
|
+
*/
|
|
70
|
+
transitions?: UpdateFlowDefinition200FlowDefinitionStepsItemTransitions;
|
|
71
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Actions the user can take. Keyed by action name.
|
|
11
|
+
The action name is what the frontend sends back in the submit request.
|
|
12
|
+
If omitted, the engine provides a default `submit` action.
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
export type UpdateFlowDefinition200FlowDefinitionStepsItemActions = {
|
|
16
|
+
[key: string]: {
|
|
17
|
+
/** Marks this as the default/primary action. The runtime template uses
|
|
18
|
+
this hint to choose visual emphasis. At most one action per step
|
|
19
|
+
should be primary; this is not enforced here.
|
|
20
|
+
*/
|
|
21
|
+
primary?: boolean;
|
|
22
|
+
/** Optional localization key override for the action's label. When
|
|
23
|
+
omitted, the engine derives a key from the step and action names.
|
|
24
|
+
Display text is resolved client-side from a locale dictionary, never
|
|
25
|
+
by the engine.
|
|
26
|
+
*/
|
|
27
|
+
text_key?: string;
|
|
28
|
+
};
|
|
29
|
+
};
|