@zitadel/api 0.1.0-alpha.11 → 0.1.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +55 -5
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +5 -3
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +65 -21
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +151 -51
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +127 -52
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +140 -11
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-BGnjxx-b.d.mts → index-DLJ0vloQ.d.mts} +819 -77
- package/dist/index-DLJ0vloQ.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/{zitadelNextGen-D1t6bmpx.d.mts → zitadelNextGen-CVTkhQJe.d.mts} +29 -7
- package/dist/zitadelNextGen-CVTkhQJe.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +92 -10
- package/src/generated/endpoints/zitadelNextGen.ts +81 -4
- package/src/generated/endpoints/zitadelNextGen.zod.ts +456 -325
- package/src/generated/model/activateFlowDefinition400.ts +20 -0
- package/src/generated/model/activateFlowDefinition400Details.ts +12 -0
- package/src/generated/model/activateFlowDefinitionDefault.ts +20 -0
- package/src/generated/model/activateFlowDefinitionDefaultDetails.ts +12 -0
- package/src/generated/model/activateFlowDefinitionParams.ts +15 -0
- package/src/generated/model/createFlow201StepActionsItem.ts +15 -1
- package/src/generated/model/createFlow201StepActionsItemKind.ts +31 -0
- package/src/generated/model/createFlow201StepChallengeMethod.ts +1 -0
- package/src/generated/model/createFlowBody.ts +5 -0
- package/src/generated/model/createFlowDefinition201.ts +0 -2
- package/src/generated/model/createFlowDefinition201FlowDefinition.ts +11 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStatus.ts +26 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItem.ts +15 -1
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemActionsItemKind.ts +31 -0
- package/src/generated/model/createFlowDefinitionBody.ts +6 -0
- package/src/generated/model/createFlowDefinitionBodyFlowDefinition.ts +11 -0
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStatus.ts +26 -0
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +15 -1
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +31 -0
- package/src/generated/model/deactivateFlowDefinition400.ts +20 -0
- package/src/generated/model/deactivateFlowDefinition400Details.ts +12 -0
- package/src/generated/model/deactivateFlowDefinition409.ts +20 -0
- package/src/generated/model/deactivateFlowDefinition409Details.ts +12 -0
- package/src/generated/model/deactivateFlowDefinitionDefault.ts +20 -0
- package/src/generated/model/deactivateFlowDefinitionDefaultDetails.ts +12 -0
- package/src/generated/model/deactivateFlowDefinitionParams.ts +15 -0
- package/src/generated/model/deleteFlowDefinition409.ts +20 -0
- package/src/generated/model/deleteFlowDefinition409Details.ts +12 -0
- package/src/generated/model/getFlowDefinition200.ts +0 -2
- package/src/generated/model/getFlowDefinition200FlowDefinition.ts +11 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStatus.ts +26 -0
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +15 -1
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +31 -0
- package/src/generated/model/getFlowStep200StepActionsItem.ts +15 -1
- package/src/generated/model/getFlowStep200StepActionsItemKind.ts +31 -0
- package/src/generated/model/getFlowStep200StepChallengeMethod.ts +1 -0
- package/src/generated/model/index.ts +40 -10
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItem.ts +11 -2
- package/src/generated/model/listFlowDefinitions200FlowDefinitionsItemStatus.ts +26 -0
- package/src/generated/model/submitFlowStep200StepActionsItem.ts +15 -1
- package/src/generated/model/submitFlowStep200StepActionsItemKind.ts +31 -0
- package/src/generated/model/submitFlowStep200StepChallengeMethod.ts +1 -0
- package/src/generated/model/submitFlowStep400StepActionsItem.ts +15 -1
- package/src/generated/model/submitFlowStep400StepActionsItemKind.ts +31 -0
- package/src/generated/model/submitFlowStep400StepChallengeMethod.ts +1 -0
- package/src/generated/model/updateFlowDefinition200.ts +0 -2
- package/src/generated/model/updateFlowDefinition200FlowDefinition.ts +11 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStatus.ts +26 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItem.ts +15 -1
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind.ts +31 -0
- package/src/generated/model/updateFlowDefinitionBody.ts +15 -30
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinition.ts +69 -0
- package/src/generated/model/{updateFlowDefinitionBodyAudience.ts → updateFlowDefinitionBodyFlowDefinitionAudience.ts} +1 -1
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStatus.ts +26 -0
- package/src/generated/model/{updateFlowDefinitionBodyStepsItem.ts → updateFlowDefinitionBodyFlowDefinitionStepsItem.ts} +13 -13
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem.ts +42 -0
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind.ts +31 -0
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemComplete.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemComplete.ts} +3 -3
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemGates.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemGates.ts} +5 -5
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemGatesConfig.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig.ts} +1 -1
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemGatesKind.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind.ts} +3 -3
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemOnSuccess.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess.ts} +3 -3
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemSsoProvidersItem.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem.ts} +1 -1
- package/src/generated/model/{updateFlowDefinitionBodyStepsItemTransitions.ts → updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts} +1 -1
- package/dist/index-BGnjxx-b.d.mts.map +0 -1
- package/dist/zitadelNextGen-D1t6bmpx.d.mts.map +0 -1
- package/src/generated/model/updateFlowDefinitionBodyStepsItemActionsItem.ts +0 -28
|
@@ -5,15 +5,29 @@
|
|
|
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 { GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind } from "./getFlowDefinition200FlowDefinitionStepsItemActionsItemKind";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
11
|
-
back in the submit request as `action
|
|
12
|
+
back in the submit request as `action`; the engine resolves the action's
|
|
13
|
+
declared `kind` to decide how to handle the submission.
|
|
12
14
|
|
|
13
15
|
*/
|
|
14
16
|
export type GetFlowDefinition200FlowDefinitionStepsItemActionsItem = {
|
|
15
17
|
/** Action identifier. Sent back in the submit request as `action`. */
|
|
16
18
|
name: string;
|
|
19
|
+
/** Classifies how the engine handles this action:
|
|
20
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
|
+
fires once the returned assertion verifies.
|
|
23
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
24
|
+
transition fires once the returned attestation verifies.
|
|
25
|
+
- `navigate`: route through the transition without running the input
|
|
26
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
+
when going back is available.
|
|
29
|
+
*/
|
|
30
|
+
kind: GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind;
|
|
17
31
|
/** Marks this as the default/primary action. The runtime template uses
|
|
18
32
|
this hint to choose visual emphasis. At most one action per step
|
|
19
33
|
should be primary; this is not enforced here.
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Classifies how the engine handles this action:
|
|
11
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
|
+
fires once the returned assertion verifies.
|
|
14
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
15
|
+
transition fires once the returned attestation verifies.
|
|
16
|
+
- `navigate`: route through the transition without running the input
|
|
17
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
+
when going back is available.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
export type GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind =
|
|
23
|
+
(typeof GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind)[keyof typeof GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind];
|
|
24
|
+
|
|
25
|
+
export const GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind = {
|
|
26
|
+
submit: "submit",
|
|
27
|
+
passkey: "passkey",
|
|
28
|
+
passkey_register: "passkey_register",
|
|
29
|
+
navigate: "navigate",
|
|
30
|
+
back: "back",
|
|
31
|
+
} as const;
|
|
@@ -5,15 +5,29 @@
|
|
|
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 { GetFlowStep200StepActionsItemKind } from "./getFlowStep200StepActionsItemKind";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
11
|
-
back in the submit request as `action
|
|
12
|
+
back in the submit request as `action`; the engine resolves the action's
|
|
13
|
+
declared `kind` to decide how to handle the submission.
|
|
12
14
|
|
|
13
15
|
*/
|
|
14
16
|
export type GetFlowStep200StepActionsItem = {
|
|
15
17
|
/** Action identifier. Sent back in the submit request as `action`. */
|
|
16
18
|
name: string;
|
|
19
|
+
/** Classifies how the engine handles this action:
|
|
20
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
|
+
fires once the returned assertion verifies.
|
|
23
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
24
|
+
transition fires once the returned attestation verifies.
|
|
25
|
+
- `navigate`: route through the transition without running the input
|
|
26
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
+
when going back is available.
|
|
29
|
+
*/
|
|
30
|
+
kind: GetFlowStep200StepActionsItemKind;
|
|
17
31
|
/** Marks this as the default/primary action. The runtime template uses
|
|
18
32
|
this hint to choose visual emphasis. At most one action per step
|
|
19
33
|
should be primary; this is not enforced here.
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Classifies how the engine handles this action:
|
|
11
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
|
+
fires once the returned assertion verifies.
|
|
14
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
15
|
+
transition fires once the returned attestation verifies.
|
|
16
|
+
- `navigate`: route through the transition without running the input
|
|
17
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
+
when going back is available.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
export type GetFlowStep200StepActionsItemKind =
|
|
23
|
+
(typeof GetFlowStep200StepActionsItemKind)[keyof typeof GetFlowStep200StepActionsItemKind];
|
|
24
|
+
|
|
25
|
+
export const GetFlowStep200StepActionsItemKind = {
|
|
26
|
+
submit: "submit",
|
|
27
|
+
passkey: "passkey",
|
|
28
|
+
passkey_register: "passkey_register",
|
|
29
|
+
navigate: "navigate",
|
|
30
|
+
back: "back",
|
|
31
|
+
} as const;
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
export * from "./activateFlowDefinition400";
|
|
10
|
+
export * from "./activateFlowDefinition400Details";
|
|
11
|
+
export * from "./activateFlowDefinitionDefault";
|
|
12
|
+
export * from "./activateFlowDefinitionDefaultDetails";
|
|
13
|
+
export * from "./activateFlowDefinitionParams";
|
|
9
14
|
export * from "./authorizeDevice200";
|
|
10
15
|
export * from "./authorizeDevice400";
|
|
11
16
|
export * from "./authorizeDevice400Details";
|
|
@@ -34,6 +39,7 @@ export * from "./createFlow201Branding";
|
|
|
34
39
|
export * from "./createFlow201BrandingLayout";
|
|
35
40
|
export * from "./createFlow201Step";
|
|
36
41
|
export * from "./createFlow201StepActionsItem";
|
|
42
|
+
export * from "./createFlow201StepActionsItemKind";
|
|
37
43
|
export * from "./createFlow201StepChallenge";
|
|
38
44
|
export * from "./createFlow201StepChallengeMethod";
|
|
39
45
|
export * from "./createFlow201StepChallengeOptions";
|
|
@@ -57,8 +63,10 @@ export * from "./createFlowDefaultDetails";
|
|
|
57
63
|
export * from "./createFlowDefinition201";
|
|
58
64
|
export * from "./createFlowDefinition201FlowDefinition";
|
|
59
65
|
export * from "./createFlowDefinition201FlowDefinitionAudience";
|
|
66
|
+
export * from "./createFlowDefinition201FlowDefinitionStatus";
|
|
60
67
|
export * from "./createFlowDefinition201FlowDefinitionStepsItem";
|
|
61
68
|
export * from "./createFlowDefinition201FlowDefinitionStepsItemActionsItem";
|
|
69
|
+
export * from "./createFlowDefinition201FlowDefinitionStepsItemActionsItemKind";
|
|
62
70
|
export * from "./createFlowDefinition201FlowDefinitionStepsItemComplete";
|
|
63
71
|
export * from "./createFlowDefinition201FlowDefinitionStepsItemGates";
|
|
64
72
|
export * from "./createFlowDefinition201FlowDefinitionStepsItemGatesConfig";
|
|
@@ -73,8 +81,10 @@ export * from "./createFlowDefinition409Details";
|
|
|
73
81
|
export * from "./createFlowDefinitionBody";
|
|
74
82
|
export * from "./createFlowDefinitionBodyFlowDefinition";
|
|
75
83
|
export * from "./createFlowDefinitionBodyFlowDefinitionAudience";
|
|
84
|
+
export * from "./createFlowDefinitionBodyFlowDefinitionStatus";
|
|
76
85
|
export * from "./createFlowDefinitionBodyFlowDefinitionStepsItem";
|
|
77
86
|
export * from "./createFlowDefinitionBodyFlowDefinitionStepsItemActionsItem";
|
|
87
|
+
export * from "./createFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind";
|
|
78
88
|
export * from "./createFlowDefinitionBodyFlowDefinitionStepsItemComplete";
|
|
79
89
|
export * from "./createFlowDefinitionBodyFlowDefinitionStepsItemGates";
|
|
80
90
|
export * from "./createFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig";
|
|
@@ -137,6 +147,15 @@ export * from "./createUserBody";
|
|
|
137
147
|
export * from "./createUserDefault";
|
|
138
148
|
export * from "./createUserDefaultDetails";
|
|
139
149
|
export * from "./createUserParams";
|
|
150
|
+
export * from "./deactivateFlowDefinition400";
|
|
151
|
+
export * from "./deactivateFlowDefinition400Details";
|
|
152
|
+
export * from "./deactivateFlowDefinition409";
|
|
153
|
+
export * from "./deactivateFlowDefinition409Details";
|
|
154
|
+
export * from "./deactivateFlowDefinitionDefault";
|
|
155
|
+
export * from "./deactivateFlowDefinitionDefaultDetails";
|
|
156
|
+
export * from "./deactivateFlowDefinitionParams";
|
|
157
|
+
export * from "./deleteFlowDefinition409";
|
|
158
|
+
export * from "./deleteFlowDefinition409Details";
|
|
140
159
|
export * from "./deleteFlowDefinitionDefault";
|
|
141
160
|
export * from "./deleteFlowDefinitionDefaultDetails";
|
|
142
161
|
export * from "./deleteFlowDefinitionParams";
|
|
@@ -177,8 +196,10 @@ export * from "./getAuthAttemptDefault";
|
|
|
177
196
|
export * from "./getFlowDefinition200";
|
|
178
197
|
export * from "./getFlowDefinition200FlowDefinition";
|
|
179
198
|
export * from "./getFlowDefinition200FlowDefinitionAudience";
|
|
199
|
+
export * from "./getFlowDefinition200FlowDefinitionStatus";
|
|
180
200
|
export * from "./getFlowDefinition200FlowDefinitionStepsItem";
|
|
181
201
|
export * from "./getFlowDefinition200FlowDefinitionStepsItemActionsItem";
|
|
202
|
+
export * from "./getFlowDefinition200FlowDefinitionStepsItemActionsItemKind";
|
|
182
203
|
export * from "./getFlowDefinition200FlowDefinitionStepsItemComplete";
|
|
183
204
|
export * from "./getFlowDefinition200FlowDefinitionStepsItemGates";
|
|
184
205
|
export * from "./getFlowDefinition200FlowDefinitionStepsItemGatesConfig";
|
|
@@ -194,6 +215,7 @@ export * from "./getFlowStep200Branding";
|
|
|
194
215
|
export * from "./getFlowStep200BrandingLayout";
|
|
195
216
|
export * from "./getFlowStep200Step";
|
|
196
217
|
export * from "./getFlowStep200StepActionsItem";
|
|
218
|
+
export * from "./getFlowStep200StepActionsItemKind";
|
|
197
219
|
export * from "./getFlowStep200StepChallenge";
|
|
198
220
|
export * from "./getFlowStep200StepChallengeMethod";
|
|
199
221
|
export * from "./getFlowStep200StepChallengeOptions";
|
|
@@ -333,6 +355,7 @@ export * from "./issueChallengeBodyPasskeyOptionsUserVerification";
|
|
|
333
355
|
export * from "./issueChallengeDefault";
|
|
334
356
|
export * from "./listFlowDefinitions200";
|
|
335
357
|
export * from "./listFlowDefinitions200FlowDefinitionsItem";
|
|
358
|
+
export * from "./listFlowDefinitions200FlowDefinitionsItemStatus";
|
|
336
359
|
export * from "./listFlowDefinitions400";
|
|
337
360
|
export * from "./listFlowDefinitions400Details";
|
|
338
361
|
export * from "./listFlowDefinitionsDefault";
|
|
@@ -411,6 +434,7 @@ export * from "./submitFlowStep200Branding";
|
|
|
411
434
|
export * from "./submitFlowStep200BrandingLayout";
|
|
412
435
|
export * from "./submitFlowStep200Step";
|
|
413
436
|
export * from "./submitFlowStep200StepActionsItem";
|
|
437
|
+
export * from "./submitFlowStep200StepActionsItemKind";
|
|
414
438
|
export * from "./submitFlowStep200StepChallenge";
|
|
415
439
|
export * from "./submitFlowStep200StepChallengeMethod";
|
|
416
440
|
export * from "./submitFlowStep200StepChallengeOptions";
|
|
@@ -429,6 +453,7 @@ export * from "./submitFlowStep400Branding";
|
|
|
429
453
|
export * from "./submitFlowStep400BrandingLayout";
|
|
430
454
|
export * from "./submitFlowStep400Step";
|
|
431
455
|
export * from "./submitFlowStep400StepActionsItem";
|
|
456
|
+
export * from "./submitFlowStep400StepActionsItemKind";
|
|
432
457
|
export * from "./submitFlowStep400StepChallenge";
|
|
433
458
|
export * from "./submitFlowStep400StepChallengeMethod";
|
|
434
459
|
export * from "./submitFlowStep400StepChallengeOptions";
|
|
@@ -454,8 +479,10 @@ export * from "./submitFlowStepDefaultDetails";
|
|
|
454
479
|
export * from "./updateFlowDefinition200";
|
|
455
480
|
export * from "./updateFlowDefinition200FlowDefinition";
|
|
456
481
|
export * from "./updateFlowDefinition200FlowDefinitionAudience";
|
|
482
|
+
export * from "./updateFlowDefinition200FlowDefinitionStatus";
|
|
457
483
|
export * from "./updateFlowDefinition200FlowDefinitionStepsItem";
|
|
458
484
|
export * from "./updateFlowDefinition200FlowDefinitionStepsItemActionsItem";
|
|
485
|
+
export * from "./updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind";
|
|
459
486
|
export * from "./updateFlowDefinition200FlowDefinitionStepsItemComplete";
|
|
460
487
|
export * from "./updateFlowDefinition200FlowDefinitionStepsItemGates";
|
|
461
488
|
export * from "./updateFlowDefinition200FlowDefinitionStepsItemGatesConfig";
|
|
@@ -468,16 +495,19 @@ export * from "./updateFlowDefinition400Details";
|
|
|
468
495
|
export * from "./updateFlowDefinition404";
|
|
469
496
|
export * from "./updateFlowDefinition404Details";
|
|
470
497
|
export * from "./updateFlowDefinitionBody";
|
|
471
|
-
export * from "./
|
|
472
|
-
export * from "./
|
|
473
|
-
export * from "./
|
|
474
|
-
export * from "./
|
|
475
|
-
export * from "./
|
|
476
|
-
export * from "./
|
|
477
|
-
export * from "./
|
|
478
|
-
export * from "./
|
|
479
|
-
export * from "./
|
|
480
|
-
export * from "./
|
|
498
|
+
export * from "./updateFlowDefinitionBodyFlowDefinition";
|
|
499
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionAudience";
|
|
500
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStatus";
|
|
501
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItem";
|
|
502
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem";
|
|
503
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind";
|
|
504
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemComplete";
|
|
505
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemGates";
|
|
506
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig";
|
|
507
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind";
|
|
508
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess";
|
|
509
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem";
|
|
510
|
+
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions";
|
|
481
511
|
export * from "./updateFlowDefinitionDefault";
|
|
482
512
|
export * from "./updateFlowDefinitionDefaultDetails";
|
|
483
513
|
export * from "./updateFlowDefinitionParams";
|
|
@@ -5,6 +5,7 @@
|
|
|
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 { ListFlowDefinitions200FlowDefinitionsItemStatus } from "./listFlowDefinitions200FlowDefinitionsItemStatus";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Response object for a flow definition after creation.
|
|
@@ -25,8 +26,16 @@ export type ListFlowDefinitions200FlowDefinitionsItem = {
|
|
|
25
26
|
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
27
|
*/
|
|
27
28
|
schema_uri?: string;
|
|
28
|
-
/**
|
|
29
|
-
|
|
29
|
+
/** The lifecycle state of this flow definition.
|
|
30
|
+
|
|
31
|
+
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
32
|
+
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
33
|
+
|
|
34
|
+
Allowed transitions:
|
|
35
|
+
- draft -> active: To activate the flow definition.
|
|
36
|
+
- active -> draft: To remove the flow definition from active use immediately.
|
|
37
|
+
*/
|
|
38
|
+
status: ListFlowDefinitions200FlowDefinitionsItemStatus;
|
|
30
39
|
/** Timestamp when the flow definition was created. */
|
|
31
40
|
created_at: string;
|
|
32
41
|
/** Timestamp when the flow definition was last updated. */
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* The lifecycle state of this flow definition.
|
|
11
|
+
|
|
12
|
+
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
13
|
+
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
14
|
+
|
|
15
|
+
Allowed transitions:
|
|
16
|
+
- draft -> active: To activate the flow definition.
|
|
17
|
+
- active -> draft: To remove the flow definition from active use immediately.
|
|
18
|
+
|
|
19
|
+
*/
|
|
20
|
+
export type ListFlowDefinitions200FlowDefinitionsItemStatus =
|
|
21
|
+
(typeof ListFlowDefinitions200FlowDefinitionsItemStatus)[keyof typeof ListFlowDefinitions200FlowDefinitionsItemStatus];
|
|
22
|
+
|
|
23
|
+
export const ListFlowDefinitions200FlowDefinitionsItemStatus = {
|
|
24
|
+
active: "active",
|
|
25
|
+
draft: "draft",
|
|
26
|
+
} as const;
|
|
@@ -5,15 +5,29 @@
|
|
|
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 { SubmitFlowStep200StepActionsItemKind } from "./submitFlowStep200StepActionsItemKind";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
11
|
-
back in the submit request as `action
|
|
12
|
+
back in the submit request as `action`; the engine resolves the action's
|
|
13
|
+
declared `kind` to decide how to handle the submission.
|
|
12
14
|
|
|
13
15
|
*/
|
|
14
16
|
export type SubmitFlowStep200StepActionsItem = {
|
|
15
17
|
/** Action identifier. Sent back in the submit request as `action`. */
|
|
16
18
|
name: string;
|
|
19
|
+
/** Classifies how the engine handles this action:
|
|
20
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
|
+
fires once the returned assertion verifies.
|
|
23
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
24
|
+
transition fires once the returned attestation verifies.
|
|
25
|
+
- `navigate`: route through the transition without running the input
|
|
26
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
+
when going back is available.
|
|
29
|
+
*/
|
|
30
|
+
kind: SubmitFlowStep200StepActionsItemKind;
|
|
17
31
|
/** Marks this as the default/primary action. The runtime template uses
|
|
18
32
|
this hint to choose visual emphasis. At most one action per step
|
|
19
33
|
should be primary; this is not enforced here.
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Classifies how the engine handles this action:
|
|
11
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
|
+
fires once the returned assertion verifies.
|
|
14
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
15
|
+
transition fires once the returned attestation verifies.
|
|
16
|
+
- `navigate`: route through the transition without running the input
|
|
17
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
+
when going back is available.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
export type SubmitFlowStep200StepActionsItemKind =
|
|
23
|
+
(typeof SubmitFlowStep200StepActionsItemKind)[keyof typeof SubmitFlowStep200StepActionsItemKind];
|
|
24
|
+
|
|
25
|
+
export const SubmitFlowStep200StepActionsItemKind = {
|
|
26
|
+
submit: "submit",
|
|
27
|
+
passkey: "passkey",
|
|
28
|
+
passkey_register: "passkey_register",
|
|
29
|
+
navigate: "navigate",
|
|
30
|
+
back: "back",
|
|
31
|
+
} as const;
|
|
@@ -5,15 +5,29 @@
|
|
|
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 { SubmitFlowStep400StepActionsItemKind } from "./submitFlowStep400StepActionsItemKind";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
11
|
-
back in the submit request as `action
|
|
12
|
+
back in the submit request as `action`; the engine resolves the action's
|
|
13
|
+
declared `kind` to decide how to handle the submission.
|
|
12
14
|
|
|
13
15
|
*/
|
|
14
16
|
export type SubmitFlowStep400StepActionsItem = {
|
|
15
17
|
/** Action identifier. Sent back in the submit request as `action`. */
|
|
16
18
|
name: string;
|
|
19
|
+
/** Classifies how the engine handles this action:
|
|
20
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
|
+
fires once the returned assertion verifies.
|
|
23
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
24
|
+
transition fires once the returned attestation verifies.
|
|
25
|
+
- `navigate`: route through the transition without running the input
|
|
26
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
+
when going back is available.
|
|
29
|
+
*/
|
|
30
|
+
kind: SubmitFlowStep400StepActionsItemKind;
|
|
17
31
|
/** Marks this as the default/primary action. The runtime template uses
|
|
18
32
|
this hint to choose visual emphasis. At most one action per step
|
|
19
33
|
should be primary; this is not enforced here.
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Classifies how the engine handles this action:
|
|
11
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
|
+
fires once the returned assertion verifies.
|
|
14
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
15
|
+
transition fires once the returned attestation verifies.
|
|
16
|
+
- `navigate`: route through the transition without running the input
|
|
17
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
+
when going back is available.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
export type SubmitFlowStep400StepActionsItemKind =
|
|
23
|
+
(typeof SubmitFlowStep400StepActionsItemKind)[keyof typeof SubmitFlowStep400StepActionsItemKind];
|
|
24
|
+
|
|
25
|
+
export const SubmitFlowStep400StepActionsItemKind = {
|
|
26
|
+
submit: "submit",
|
|
27
|
+
passkey: "passkey",
|
|
28
|
+
passkey_register: "passkey_register",
|
|
29
|
+
navigate: "navigate",
|
|
30
|
+
back: "back",
|
|
31
|
+
} as const;
|
|
@@ -12,8 +12,6 @@ export type UpdateFlowDefinition200 = {
|
|
|
12
12
|
id: string;
|
|
13
13
|
/** Identifier of the project this flow definition belongs to. */
|
|
14
14
|
project_id: string;
|
|
15
|
-
/** Status of the flow definition. */
|
|
16
|
-
status: string;
|
|
17
15
|
/** A flow definition is the server-side configuration that describes a complete
|
|
18
16
|
authentication or identity flow. It is NOT sent to the frontend — the flow
|
|
19
17
|
engine evaluates it and produces FlowResponse payloads (steps with capability
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
import type { UpdateFlowDefinition200FlowDefinitionAudience } from "./updateFlowDefinition200FlowDefinitionAudience";
|
|
9
|
+
import type { UpdateFlowDefinition200FlowDefinitionStatus } from "./updateFlowDefinition200FlowDefinitionStatus";
|
|
9
10
|
import type { UpdateFlowDefinition200FlowDefinitionStepsItem } from "./updateFlowDefinition200FlowDefinitionStepsItem";
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -29,6 +30,16 @@ export type UpdateFlowDefinition200FlowDefinition = {
|
|
|
29
30
|
* @pattern ^[a-z][a-z0-9-]*$
|
|
30
31
|
*/
|
|
31
32
|
name: string;
|
|
33
|
+
/** The lifecycle state of this flow definition.
|
|
34
|
+
|
|
35
|
+
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
36
|
+
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
37
|
+
|
|
38
|
+
Allowed transitions:
|
|
39
|
+
- draft -> active: To activate the flow definition.
|
|
40
|
+
- active -> draft: To remove the flow definition from active use immediately.
|
|
41
|
+
*/
|
|
42
|
+
status: UpdateFlowDefinition200FlowDefinitionStatus;
|
|
32
43
|
/** User schema this flow operates on. Step `fields` reference properties
|
|
33
44
|
defined in this schema. The engine resolves field types, validation,
|
|
34
45
|
and implicit outcomes from schema annotations at runtime.
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* The lifecycle state of this flow definition.
|
|
11
|
+
|
|
12
|
+
active: The flow definition is ready to be used. The flow engine can select it for new flows.
|
|
13
|
+
draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
|
|
14
|
+
|
|
15
|
+
Allowed transitions:
|
|
16
|
+
- draft -> active: To activate the flow definition.
|
|
17
|
+
- active -> draft: To remove the flow definition from active use immediately.
|
|
18
|
+
|
|
19
|
+
*/
|
|
20
|
+
export type UpdateFlowDefinition200FlowDefinitionStatus =
|
|
21
|
+
(typeof UpdateFlowDefinition200FlowDefinitionStatus)[keyof typeof UpdateFlowDefinition200FlowDefinitionStatus];
|
|
22
|
+
|
|
23
|
+
export const UpdateFlowDefinition200FlowDefinitionStatus = {
|
|
24
|
+
active: "active",
|
|
25
|
+
draft: "draft",
|
|
26
|
+
} as const;
|
|
@@ -5,15 +5,29 @@
|
|
|
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 { UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind } from "./updateFlowDefinition200FlowDefinitionStepsItemActionsItemKind";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Configuration for a user-invokable action on a step. The `name` is sent
|
|
11
|
-
back in the submit request as `action
|
|
12
|
+
back in the submit request as `action`; the engine resolves the action's
|
|
13
|
+
declared `kind` to decide how to handle the submission.
|
|
12
14
|
|
|
13
15
|
*/
|
|
14
16
|
export type UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem = {
|
|
15
17
|
/** Action identifier. Sent back in the submit request as `action`. */
|
|
16
18
|
name: string;
|
|
19
|
+
/** Classifies how the engine handles this action:
|
|
20
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
21
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
22
|
+
fires once the returned assertion verifies.
|
|
23
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
24
|
+
transition fires once the returned attestation verifies.
|
|
25
|
+
- `navigate`: route through the transition without running the input
|
|
26
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
27
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
28
|
+
when going back is available.
|
|
29
|
+
*/
|
|
30
|
+
kind: UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind;
|
|
17
31
|
/** Marks this as the default/primary action. The runtime template uses
|
|
18
32
|
this hint to choose visual emphasis. At most one action per step
|
|
19
33
|
should be primary; this is not enforced here.
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Classifies how the engine handles this action:
|
|
11
|
+
- `submit`: collect the step's fields and run validate/dispatch/on_success.
|
|
12
|
+
- `passkey`: issue a WebAuthn assertion challenge; the matching transition
|
|
13
|
+
fires once the returned assertion verifies.
|
|
14
|
+
- `passkey_register`: issue a WebAuthn registration challenge; the matching
|
|
15
|
+
transition fires once the returned attestation verifies.
|
|
16
|
+
- `navigate`: route through the transition without running the input
|
|
17
|
+
pipeline. Used for pure-routing actions declared in the flow definition.
|
|
18
|
+
- `back`: return the user to the previous step. Surfaced by the engine
|
|
19
|
+
when going back is available.
|
|
20
|
+
|
|
21
|
+
*/
|
|
22
|
+
export type UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind =
|
|
23
|
+
(typeof UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind)[keyof typeof UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind];
|
|
24
|
+
|
|
25
|
+
export const UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind = {
|
|
26
|
+
submit: "submit",
|
|
27
|
+
passkey: "passkey",
|
|
28
|
+
passkey_register: "passkey_register",
|
|
29
|
+
navigate: "navigate",
|
|
30
|
+
back: "back",
|
|
31
|
+
} as const;
|