@zitadel/api 0.1.0-alpha.18 → 0.1.0-alpha.19
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 +38 -3
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +104 -98
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +6 -2
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +5132 -262
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +2523 -110
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +2581 -143
- 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 +29 -5
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-D6qIOslB.d.mts → index-Dt_0fSH9.d.mts} +2759 -390
- package/dist/index-Dt_0fSH9.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/{zitadelNextGen-BCljAZpG.d.mts → zitadelNextGen-BkDpEAS9.d.mts} +62 -35
- package/dist/zitadelNextGen-BkDpEAS9.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +5330 -241
- package/src/generated/endpoints/zitadelNextGen.ts +129 -209
- package/src/generated/endpoints/zitadelNextGen.zod.ts +4635 -336
- package/src/generated/model/createAuthAttemptDefault.ts +10 -0
- package/src/generated/model/createFlowDefault.ts +10 -0
- package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +11 -0
- package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +11 -0
- package/src/generated/model/createFlowDefinitionDefault.ts +10 -0
- package/src/generated/model/createHandoffDefault.ts +10 -0
- package/src/generated/model/createProjectDefault.ts +20 -0
- package/src/generated/model/createSchemaBody.ts +5 -34
- package/src/generated/model/createSession201Session.ts +1 -1
- package/src/generated/model/createSession201SessionState.ts +1 -1
- package/src/generated/model/createSessionDefault.ts +20 -0
- package/src/generated/model/createUser201.ts +24 -4
- package/src/generated/model/createUser201Attributes.ts +14 -0
- package/src/generated/model/{createUserBodyMetadata.ts → createUser201Metadata.ts} +3 -3
- package/src/generated/model/{createUserBodyMetadataStatus.ts → createUser201MetadataStatus.ts} +3 -3
- package/src/generated/model/createUser500.ts +20 -0
- package/src/generated/model/{deleteTeamParams.ts → createUser500Details.ts} +4 -7
- package/src/generated/model/createUserBody.ts +22 -11
- package/src/generated/model/createUserBodyAttributes.ts +14 -0
- package/src/generated/model/createUserDefault.ts +10 -0
- package/src/generated/model/deleteFlowDefinitionDefault.ts +10 -0
- package/src/generated/model/deleteUserByIDDefault.ts +10 -0
- package/src/generated/model/exchangeHandoff200Session.ts +1 -1
- package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
- package/src/generated/model/exchangeHandoffDefault.ts +10 -0
- package/src/generated/model/getEvent200.ts +1372 -0
- package/src/generated/model/getEvent401.ts +20 -0
- package/src/generated/model/{getSessionParams.ts → getEvent401Details.ts} +4 -7
- package/src/generated/model/getEvent403.ts +20 -0
- package/src/generated/model/getEvent403Details.ts +12 -0
- package/src/generated/model/getEvent404.ts +20 -0
- package/src/generated/model/getEvent404Details.ts +12 -0
- package/src/generated/model/getEventDefault.ts +20 -0
- package/src/generated/model/getEventDefaultDetails.ts +12 -0
- package/src/generated/model/{getTeamParams.ts → getEventParams.ts} +1 -1
- package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +11 -0
- package/src/generated/model/getMySession200.ts +1 -1
- package/src/generated/model/getMySession200State.ts +1 -1
- package/src/generated/model/getMyUser200.ts +20 -7
- package/src/generated/model/getMyUser200Attributes.ts +14 -0
- package/src/generated/model/getSchemaById200.ts +5 -34
- package/src/generated/model/getSchemaByIdParams.ts +0 -5
- package/src/generated/model/getSession200.ts +1 -1
- package/src/generated/model/getSession200State.ts +1 -1
- package/src/generated/model/getUserByID200.ts +20 -7
- package/src/generated/model/getUserByID200Attributes.ts +14 -0
- package/src/generated/model/getUserByIDParams.ts +0 -5
- package/src/generated/model/index.ts +32 -13
- package/src/generated/model/listEvents200.ts +19 -0
- package/src/generated/model/listEvents200DataItem.ts +1372 -0
- package/src/generated/model/listEvents400.ts +20 -0
- package/src/generated/model/listEvents400Details.ts +12 -0
- package/src/generated/model/listEvents401.ts +20 -0
- package/src/generated/model/listEvents401Details.ts +12 -0
- package/src/generated/model/listEvents403.ts +20 -0
- package/src/generated/model/listEvents403Details.ts +12 -0
- package/src/generated/model/listEventsCategoryItem.ts +19 -0
- package/src/generated/model/listEventsDefault.ts +20 -0
- package/src/generated/model/{getFlowDefinitionParams.ts → listEventsDefaultDetails.ts} +4 -7
- package/src/generated/model/{getBrandingByIdParams.ts → listEventsOrder.ts} +6 -7
- package/src/generated/model/listEventsParams.ts +67 -0
- package/src/generated/model/listUserPasskeysParams.ts +0 -5
- package/src/generated/model/listUserTeamsDefault.ts +0 -20
- package/src/generated/model/listUserTeamsParams.ts +0 -5
- package/src/generated/model/listUsers200UsersItem.ts +20 -7
- package/src/generated/model/listUsers200UsersItemAttributes.ts +14 -0
- package/src/generated/model/patchProjectDefault.ts +10 -0
- package/src/generated/model/queryProjectsBodyFilterItem.ts +4 -0
- package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +4 -0
- package/src/generated/model/querySessions200SessionsItem.ts +1 -1
- package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
- package/src/generated/model/querySessionsBodyFilterItem.ts +6 -1
- package/src/generated/model/querySessionsBodyFilterItemField.ts +2 -1
- package/src/generated/model/querySessionsBodyFilterItemOperation.ts +4 -0
- package/src/generated/model/querySessionsDefault.ts +10 -0
- package/src/generated/model/queryTeamsBodyFilterItem.ts +9 -0
- package/src/generated/model/queryTeamsBodyFilterItemField.ts +9 -0
- package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +4 -0
- package/src/generated/model/queryTeamsBodySorting.ts +5 -0
- package/src/generated/model/queryTeamsBodySortingField.ts +9 -0
- package/src/generated/model/revokeMySessionDefault.ts +10 -0
- package/src/generated/model/revokeSessionDefault.ts +10 -0
- package/src/generated/model/setUserPasswordDefault.ts +10 -0
- package/src/generated/model/submitFlowStepDefault.ts +10 -0
- package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +11 -0
- package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +11 -0
- package/src/generated/model/updateFlowDefinitionDefault.ts +10 -0
- package/src/generated/model/verifyChallengeProofDefault.ts +10 -0
- package/dist/index-D6qIOslB.d.mts.map +0 -1
- package/dist/zitadelNextGen-BCljAZpG.d.mts.map +0 -1
- package/src/generated/model/deleteFlowDefinitionParams.ts +0 -15
- package/src/generated/model/deleteUserByIDParams.ts +0 -15
- package/src/generated/model/revokeSessionParams.ts +0 -15
- package/src/generated/model/setUserPasswordParams.ts +0 -15
- package/src/generated/model/updateFlowDefinitionParams.ts +0 -15
- package/src/generated/model/updateTeamParams.ts +0 -15
|
@@ -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 { GetEvent401Details } from "./getEvent401Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type GetEvent401 = {
|
|
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?: GetEvent401Details;
|
|
20
|
+
};
|
|
@@ -6,10 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
*/
|
|
14
|
-
project_id: string;
|
|
15
|
-
};
|
|
9
|
+
/**
|
|
10
|
+
* Additional error-specific context.
|
|
11
|
+
*/
|
|
12
|
+
export type GetEvent401Details = { [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 { GetEvent403Details } from "./getEvent403Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type GetEvent403 = {
|
|
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?: GetEvent403Details;
|
|
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 GetEvent403Details = { [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 { GetEvent404Details } from "./getEvent404Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type GetEvent404 = {
|
|
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?: GetEvent404Details;
|
|
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 GetEvent404Details = { [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 { GetEventDefaultDetails } from "./getEventDefaultDetails";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type GetEventDefault = {
|
|
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?: GetEventDefaultDetails;
|
|
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 GetEventDefaultDetails = { [key: string]: unknown };
|
|
@@ -31,5 +31,16 @@ export type GetFlowDefinition200FlowDefinitionStepsItemTransitions = {
|
|
|
31
31
|
Example: login → recovery → back to login.
|
|
32
32
|
*/
|
|
33
33
|
action?: "switch" | "pivot" | null;
|
|
34
|
+
/** Local re-purposing. When set, taking this transition changes the
|
|
35
|
+
flow's current purpose to this value — the dispatch mode a step's
|
|
36
|
+
challenges run under — while the flow's original purpose stays
|
|
37
|
+
pinned. Must be a purpose this definition serves, and `target`
|
|
38
|
+
must be that purpose's entry step. Mutually exclusive with
|
|
39
|
+
`action`: a transition either re-purposes within this flow or
|
|
40
|
+
targets another flow, never both.
|
|
41
|
+
Example: a "Sign up" navigation on the login identifier step
|
|
42
|
+
(`{ target: register, purpose: register }`).
|
|
43
|
+
*/
|
|
44
|
+
purpose?: "login" | "register" | "recovery" | "profiling" | "reauth" | "link_account" | null;
|
|
34
45
|
};
|
|
35
46
|
};
|
|
@@ -28,7 +28,7 @@ export type GetMySession200 = {
|
|
|
28
28
|
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
29
29
|
project_id: string;
|
|
30
30
|
/** Current lifecycle state of the session:
|
|
31
|
-
- `building`:
|
|
31
|
+
- `building`: no verified authentication factors yet
|
|
32
32
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
33
33
|
- `expired`: TTL elapsed
|
|
34
34
|
*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Current lifecycle state of the session:
|
|
11
|
-
- `building`:
|
|
11
|
+
- `building`: no verified authentication factors yet
|
|
12
12
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
13
13
|
- `expired`: TTL elapsed
|
|
14
14
|
|
|
@@ -5,21 +5,34 @@
|
|
|
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 { GetMyUser200Attributes } from "./getMyUser200Attributes";
|
|
8
9
|
import type { GetMyUser200Metadata } from "./getMyUser200Metadata";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* A user represents an individual identity in the system. It can be used to
|
|
12
13
|
represent a human user, but also a service account or any other type of
|
|
13
|
-
identity.
|
|
14
|
-
users, this is only a base schema.
|
|
14
|
+
identity.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
`attributes` is the document that satisfies the user schema named by
|
|
17
|
+
`schema`: its property names and types are defined entirely by that schema,
|
|
18
|
+
and it is what the schema validates. The rest of the object — `id`,
|
|
19
|
+
`schema`, `metadata` — is the server-owned envelope. Keeping the two apart
|
|
20
|
+
means a schema may name a property `id` or `metadata` without colliding with
|
|
21
|
+
the envelope, and closed-world keywords (`additionalProperties: false`,
|
|
22
|
+
`propertyNames`, `unevaluatedProperties`) behave as their author expects.
|
|
18
23
|
|
|
19
24
|
*/
|
|
20
25
|
export type GetMyUser200 = {
|
|
21
26
|
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
22
|
-
id
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
id: string;
|
|
28
|
+
/** The schema that defines the content of `attributes`. These schemas can be
|
|
29
|
+
created using the `/schemas` endpoint. A default schema is provided.
|
|
30
|
+
This schema can be retrieved using the same endpoint.
|
|
31
|
+
*/
|
|
32
|
+
schema: string;
|
|
33
|
+
/** The user's content, satisfying the schema named by `schema`. Property
|
|
34
|
+
names and types are determined entirely by that schema.
|
|
35
|
+
*/
|
|
36
|
+
attributes: GetMyUser200Attributes;
|
|
37
|
+
metadata: GetMyUser200Metadata;
|
|
25
38
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 user's content, satisfying the schema named by `schema`. Property
|
|
11
|
+
names and types are determined entirely by that schema.
|
|
12
|
+
|
|
13
|
+
*/
|
|
14
|
+
export type GetMyUser200Attributes = { [key: string]: unknown };
|
|
@@ -22,47 +22,22 @@ export type GetSchemaById200 = {
|
|
|
22
22
|
password?: {
|
|
23
23
|
/** Whether the authentication method is enabled or not */
|
|
24
24
|
enabled: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* The position of the authentication method in the list of supported methods
|
|
27
|
-
* @minimum 0
|
|
28
|
-
*/
|
|
29
|
-
position: number;
|
|
30
25
|
};
|
|
31
26
|
passkey?: {
|
|
32
27
|
/** Whether the authentication method is enabled or not */
|
|
33
28
|
enabled: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The position of the authentication method in the list of supported methods
|
|
36
|
-
* @minimum 0
|
|
37
|
-
*/
|
|
38
|
-
position: number;
|
|
39
29
|
};
|
|
40
30
|
magic_link?: {
|
|
41
31
|
/** Whether the authentication method is enabled or not */
|
|
42
32
|
enabled: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* The position of the authentication method in the list of supported methods
|
|
45
|
-
* @minimum 0
|
|
46
|
-
*/
|
|
47
|
-
position: number;
|
|
48
33
|
};
|
|
49
34
|
sso?: {
|
|
50
35
|
/** Whether the authentication method is enabled or not */
|
|
51
36
|
enabled: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* The position of the authentication method in the list of supported methods
|
|
54
|
-
* @minimum 0
|
|
55
|
-
*/
|
|
56
|
-
position: number;
|
|
57
37
|
};
|
|
58
38
|
otp?: {
|
|
59
39
|
/** Whether the authentication method is enabled or not */
|
|
60
40
|
enabled: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* The position of the authentication method in the list of supported methods
|
|
63
|
-
* @minimum 0
|
|
64
|
-
*/
|
|
65
|
-
position: number;
|
|
66
41
|
};
|
|
67
42
|
};
|
|
68
43
|
/** A map of additional properties for the user definition, where the
|
|
@@ -70,19 +45,15 @@ export type GetSchemaById200 = {
|
|
|
70
45
|
*/
|
|
71
46
|
properties?: {
|
|
72
47
|
[key: string]: {
|
|
73
|
-
/** The verification method for this property, if applicable */
|
|
74
|
-
"x-verify"?: string | null;
|
|
75
48
|
/** The level of uniqueness for this property, if applicable */
|
|
76
49
|
"x-unique"?: "unspecified" | "project" | "team" | null;
|
|
77
50
|
/** The claim name for this property, if applicable */
|
|
78
51
|
"x-claim"?: string | null;
|
|
79
|
-
/** Whether this property
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*/
|
|
85
|
-
"x-mfa"?: boolean;
|
|
52
|
+
/** Whether this property's value may appear in audit event payloads. Audit
|
|
53
|
+
payloads are deny-by-default: a property without this annotation
|
|
54
|
+
contributes its key but never its value.
|
|
55
|
+
*/
|
|
56
|
+
"x-audit"?: boolean;
|
|
86
57
|
/** A map of additional properties for the user definition, where the key is
|
|
87
58
|
the property name and the value is the property schema.
|
|
88
59
|
*/
|
|
@@ -28,7 +28,7 @@ export type GetSession200 = {
|
|
|
28
28
|
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
29
29
|
project_id: string;
|
|
30
30
|
/** Current lifecycle state of the session:
|
|
31
|
-
- `building`:
|
|
31
|
+
- `building`: no verified authentication factors yet
|
|
32
32
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
33
33
|
- `expired`: TTL elapsed
|
|
34
34
|
*/
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Current lifecycle state of the session:
|
|
11
|
-
- `building`:
|
|
11
|
+
- `building`: no verified authentication factors yet
|
|
12
12
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
13
13
|
- `expired`: TTL elapsed
|
|
14
14
|
|
|
@@ -5,21 +5,34 @@
|
|
|
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 { GetUserByID200Attributes } from "./getUserByID200Attributes";
|
|
8
9
|
import type { GetUserByID200Metadata } from "./getUserByID200Metadata";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* A user represents an individual identity in the system. It can be used to
|
|
12
13
|
represent a human user, but also a service account or any other type of
|
|
13
|
-
identity.
|
|
14
|
-
users, this is only a base schema.
|
|
14
|
+
identity.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
`attributes` is the document that satisfies the user schema named by
|
|
17
|
+
`schema`: its property names and types are defined entirely by that schema,
|
|
18
|
+
and it is what the schema validates. The rest of the object — `id`,
|
|
19
|
+
`schema`, `metadata` — is the server-owned envelope. Keeping the two apart
|
|
20
|
+
means a schema may name a property `id` or `metadata` without colliding with
|
|
21
|
+
the envelope, and closed-world keywords (`additionalProperties: false`,
|
|
22
|
+
`propertyNames`, `unevaluatedProperties`) behave as their author expects.
|
|
18
23
|
|
|
19
24
|
*/
|
|
20
25
|
export type GetUserByID200 = {
|
|
21
26
|
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
22
|
-
id
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
id: string;
|
|
28
|
+
/** The schema that defines the content of `attributes`. These schemas can be
|
|
29
|
+
created using the `/schemas` endpoint. A default schema is provided.
|
|
30
|
+
This schema can be retrieved using the same endpoint.
|
|
31
|
+
*/
|
|
32
|
+
schema: string;
|
|
33
|
+
/** The user's content, satisfying the schema named by `schema`. Property
|
|
34
|
+
names and types are determined entirely by that schema.
|
|
35
|
+
*/
|
|
36
|
+
attributes: GetUserByID200Attributes;
|
|
37
|
+
metadata: GetUserByID200Metadata;
|
|
25
38
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 user's content, satisfying the schema named by `schema`. Property
|
|
11
|
+
names and types are determined entirely by that schema.
|
|
12
|
+
|
|
13
|
+
*/
|
|
14
|
+
export type GetUserByID200Attributes = { [key: string]: unknown };
|
|
@@ -148,6 +148,9 @@ export * from "./createTeamDefault";
|
|
|
148
148
|
export * from "./createTeamDefaultDetails";
|
|
149
149
|
export * from "./createTeamParams";
|
|
150
150
|
export * from "./createUser201";
|
|
151
|
+
export * from "./createUser201Attributes";
|
|
152
|
+
export * from "./createUser201Metadata";
|
|
153
|
+
export * from "./createUser201MetadataStatus";
|
|
151
154
|
export * from "./createUser400";
|
|
152
155
|
export * from "./createUser400Details";
|
|
153
156
|
export * from "./createUser401";
|
|
@@ -156,15 +159,15 @@ export * from "./createUser403";
|
|
|
156
159
|
export * from "./createUser403Details";
|
|
157
160
|
export * from "./createUser409";
|
|
158
161
|
export * from "./createUser409Details";
|
|
162
|
+
export * from "./createUser500";
|
|
163
|
+
export * from "./createUser500Details";
|
|
159
164
|
export * from "./createUserBody";
|
|
160
|
-
export * from "./
|
|
161
|
-
export * from "./createUserBodyMetadataStatus";
|
|
165
|
+
export * from "./createUserBodyAttributes";
|
|
162
166
|
export * from "./createUserDefault";
|
|
163
167
|
export * from "./createUserParams";
|
|
164
168
|
export * from "./deleteFlowDefinition409";
|
|
165
169
|
export * from "./deleteFlowDefinition409Details";
|
|
166
170
|
export * from "./deleteFlowDefinitionDefault";
|
|
167
|
-
export * from "./deleteFlowDefinitionParams";
|
|
168
171
|
export * from "./deleteTeam400";
|
|
169
172
|
export * from "./deleteTeam400Details";
|
|
170
173
|
export * from "./deleteTeam401";
|
|
@@ -173,13 +176,11 @@ export * from "./deleteTeam403";
|
|
|
173
176
|
export * from "./deleteTeam403Details";
|
|
174
177
|
export * from "./deleteTeamDefault";
|
|
175
178
|
export * from "./deleteTeamDefaultDetails";
|
|
176
|
-
export * from "./deleteTeamParams";
|
|
177
179
|
export * from "./deleteUserByID401";
|
|
178
180
|
export * from "./deleteUserByID401Details";
|
|
179
181
|
export * from "./deleteUserByID404";
|
|
180
182
|
export * from "./deleteUserByID404Details";
|
|
181
183
|
export * from "./deleteUserByIDDefault";
|
|
182
|
-
export * from "./deleteUserByIDParams";
|
|
183
184
|
export * from "./exchangeHandoff200";
|
|
184
185
|
export * from "./exchangeHandoff200Session";
|
|
185
186
|
export * from "./exchangeHandoff200SessionFactorsItem";
|
|
@@ -215,7 +216,6 @@ export * from "./getBrandingById404";
|
|
|
215
216
|
export * from "./getBrandingById404Details";
|
|
216
217
|
export * from "./getBrandingByIdDefault";
|
|
217
218
|
export * from "./getBrandingByIdDefaultDetails";
|
|
218
|
-
export * from "./getBrandingByIdParams";
|
|
219
219
|
export * from "./getClaimStatus200";
|
|
220
220
|
export * from "./getClaimStatus401";
|
|
221
221
|
export * from "./getClaimStatus401Details";
|
|
@@ -228,6 +228,16 @@ export * from "./getClaimStatus429Details";
|
|
|
228
228
|
export * from "./getClaimStatusDefault";
|
|
229
229
|
export * from "./getClaimStatusDefaultDetails";
|
|
230
230
|
export * from "./getClaimStatusParams";
|
|
231
|
+
export * from "./getEvent200";
|
|
232
|
+
export * from "./getEvent401";
|
|
233
|
+
export * from "./getEvent401Details";
|
|
234
|
+
export * from "./getEvent403";
|
|
235
|
+
export * from "./getEvent403Details";
|
|
236
|
+
export * from "./getEvent404";
|
|
237
|
+
export * from "./getEvent404Details";
|
|
238
|
+
export * from "./getEventDefault";
|
|
239
|
+
export * from "./getEventDefaultDetails";
|
|
240
|
+
export * from "./getEventParams";
|
|
231
241
|
export * from "./getFlowDefinition200";
|
|
232
242
|
export * from "./getFlowDefinition200FlowDefinition";
|
|
233
243
|
export * from "./getFlowDefinition200FlowDefinitionAudience";
|
|
@@ -243,7 +253,6 @@ export * from "./getFlowDefinition200FlowDefinitionStepsItemOnSuccess";
|
|
|
243
253
|
export * from "./getFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem";
|
|
244
254
|
export * from "./getFlowDefinition200FlowDefinitionStepsItemTransitions";
|
|
245
255
|
export * from "./getFlowDefinitionDefault";
|
|
246
|
-
export * from "./getFlowDefinitionParams";
|
|
247
256
|
export * from "./getFlowStep200";
|
|
248
257
|
export * from "./getFlowStep200Branding";
|
|
249
258
|
export * from "./getFlowStep200BrandingLayout";
|
|
@@ -287,6 +296,7 @@ export * from "./getMySession401";
|
|
|
287
296
|
export * from "./getMySession404";
|
|
288
297
|
export * from "./getMySessionDefault";
|
|
289
298
|
export * from "./getMyUser200";
|
|
299
|
+
export * from "./getMyUser200Attributes";
|
|
290
300
|
export * from "./getMyUser200Metadata";
|
|
291
301
|
export * from "./getMyUser200MetadataStatus";
|
|
292
302
|
export * from "./getMyUser401";
|
|
@@ -325,7 +335,6 @@ export * from "./getSession403Details";
|
|
|
325
335
|
export * from "./getSession404";
|
|
326
336
|
export * from "./getSession404Details";
|
|
327
337
|
export * from "./getSessionDefault";
|
|
328
|
-
export * from "./getSessionParams";
|
|
329
338
|
export * from "./getTeam200";
|
|
330
339
|
export * from "./getTeam200Status";
|
|
331
340
|
export * from "./getTeam401";
|
|
@@ -334,8 +343,8 @@ export * from "./getTeam404";
|
|
|
334
343
|
export * from "./getTeam404Details";
|
|
335
344
|
export * from "./getTeamDefault";
|
|
336
345
|
export * from "./getTeamDefaultDetails";
|
|
337
|
-
export * from "./getTeamParams";
|
|
338
346
|
export * from "./getUserByID200";
|
|
347
|
+
export * from "./getUserByID200Attributes";
|
|
339
348
|
export * from "./getUserByID200Metadata";
|
|
340
349
|
export * from "./getUserByID200MetadataStatus";
|
|
341
350
|
export * from "./getUserByID401";
|
|
@@ -365,6 +374,19 @@ export * from "./listBranding200Item";
|
|
|
365
374
|
export * from "./listBrandingDefault";
|
|
366
375
|
export * from "./listBrandingDefaultDetails";
|
|
367
376
|
export * from "./listBrandingParams";
|
|
377
|
+
export * from "./listEvents200";
|
|
378
|
+
export * from "./listEvents200DataItem";
|
|
379
|
+
export * from "./listEvents400";
|
|
380
|
+
export * from "./listEvents400Details";
|
|
381
|
+
export * from "./listEvents401";
|
|
382
|
+
export * from "./listEvents401Details";
|
|
383
|
+
export * from "./listEvents403";
|
|
384
|
+
export * from "./listEvents403Details";
|
|
385
|
+
export * from "./listEventsCategoryItem";
|
|
386
|
+
export * from "./listEventsDefault";
|
|
387
|
+
export * from "./listEventsDefaultDetails";
|
|
388
|
+
export * from "./listEventsOrder";
|
|
389
|
+
export * from "./listEventsParams";
|
|
368
390
|
export * from "./listFlowDefinitions200";
|
|
369
391
|
export * from "./listFlowDefinitions200FlowDefinitionsItem";
|
|
370
392
|
export * from "./listFlowDefinitions200FlowDefinitionsItemStatus";
|
|
@@ -393,6 +415,7 @@ export * from "./listUserPasskeysDefault";
|
|
|
393
415
|
export * from "./listUserPasskeysParams";
|
|
394
416
|
export * from "./listUsers200";
|
|
395
417
|
export * from "./listUsers200UsersItem";
|
|
418
|
+
export * from "./listUsers200UsersItemAttributes";
|
|
396
419
|
export * from "./listUsers200UsersItemMetadata";
|
|
397
420
|
export * from "./listUsers200UsersItemMetadataStatus";
|
|
398
421
|
export * from "./listUsers400";
|
|
@@ -496,7 +519,6 @@ export * from "./revokeSession401Details";
|
|
|
496
519
|
export * from "./revokeSession403";
|
|
497
520
|
export * from "./revokeSession403Details";
|
|
498
521
|
export * from "./revokeSessionDefault";
|
|
499
|
-
export * from "./revokeSessionParams";
|
|
500
522
|
export * from "./setUserPassword400";
|
|
501
523
|
export * from "./setUserPassword400Details";
|
|
502
524
|
export * from "./setUserPassword404";
|
|
@@ -505,7 +527,6 @@ export * from "./setUserPassword500";
|
|
|
505
527
|
export * from "./setUserPassword500Details";
|
|
506
528
|
export * from "./setUserPasswordBody";
|
|
507
529
|
export * from "./setUserPasswordDefault";
|
|
508
|
-
export * from "./setUserPasswordParams";
|
|
509
530
|
export * from "./submitFlowStep200";
|
|
510
531
|
export * from "./submitFlowStep200Branding";
|
|
511
532
|
export * from "./submitFlowStep200BrandingLayout";
|
|
@@ -585,7 +606,6 @@ export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess";
|
|
|
585
606
|
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem";
|
|
586
607
|
export * from "./updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions";
|
|
587
608
|
export * from "./updateFlowDefinitionDefault";
|
|
588
|
-
export * from "./updateFlowDefinitionParams";
|
|
589
609
|
export * from "./updateTeam200";
|
|
590
610
|
export * from "./updateTeam200Status";
|
|
591
611
|
export * from "./updateTeam400";
|
|
@@ -601,7 +621,6 @@ export * from "./updateTeam409Details";
|
|
|
601
621
|
export * from "./updateTeamBody";
|
|
602
622
|
export * from "./updateTeamDefault";
|
|
603
623
|
export * from "./updateTeamDefaultDetails";
|
|
604
|
-
export * from "./updateTeamParams";
|
|
605
624
|
export * from "./verifyChallengeProof200";
|
|
606
625
|
export * from "./verifyChallengeProof200ChallengesItem";
|
|
607
626
|
export * from "./verifyChallengeProof200ChallengesItemMethod";
|
|
@@ -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
|
+
import type { ListEvents200DataItem } from "./listEvents200DataItem";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Paginated list of events (ADR 027 / ADR 049).
|
|
12
|
+
*/
|
|
13
|
+
export type ListEvents200 = {
|
|
14
|
+
data: ListEvents200DataItem[];
|
|
15
|
+
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
16
|
+
Absent when there are no more results.
|
|
17
|
+
*/
|
|
18
|
+
next_page_token?: string | null;
|
|
19
|
+
};
|