@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 { ListEvents400Details } from "./listEvents400Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type ListEvents400 = {
|
|
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?: ListEvents400Details;
|
|
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 ListEvents400Details = { [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 { ListEvents401Details } from "./listEvents401Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type ListEvents401 = {
|
|
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?: ListEvents401Details;
|
|
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 ListEvents401Details = { [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 { ListEvents403Details } from "./listEvents403Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type ListEvents403 = {
|
|
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?: ListEvents403Details;
|
|
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 ListEvents403Details = { [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
|
+
export type ListEventsCategoryItem =
|
|
10
|
+
(typeof ListEventsCategoryItem)[keyof typeof ListEventsCategoryItem];
|
|
11
|
+
|
|
12
|
+
export const ListEventsCategoryItem = {
|
|
13
|
+
request: "request",
|
|
14
|
+
auth: "auth",
|
|
15
|
+
session: "session",
|
|
16
|
+
admin: "admin",
|
|
17
|
+
entity: "entity",
|
|
18
|
+
signal: "signal",
|
|
19
|
+
} as const;
|
|
@@ -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 { ListEventsDefaultDetails } from "./listEventsDefaultDetails";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type ListEventsDefault = {
|
|
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?: ListEventsDefaultDetails;
|
|
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 ListEventsDefaultDetails = { [key: string]: unknown };
|
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
9
|
+
export type ListEventsOrder = (typeof ListEventsOrder)[keyof typeof ListEventsOrder];
|
|
10
|
+
|
|
11
|
+
export const ListEventsOrder = {
|
|
12
|
+
asc: "asc",
|
|
13
|
+
desc: "desc",
|
|
14
|
+
} as const;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { ListEventsCategoryItem } from "./listEventsCategoryItem";
|
|
9
|
+
import type { ListEventsOrder } from "./listEventsOrder";
|
|
10
|
+
|
|
11
|
+
export type ListEventsParams = {
|
|
12
|
+
/**
|
|
13
|
+
* The unique identifier of the project
|
|
14
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
15
|
+
*/
|
|
16
|
+
project_id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Filter by wide-event category. Repeatable (OR within the parameter).
|
|
19
|
+
|
|
20
|
+
*/
|
|
21
|
+
category?: ListEventsCategoryItem[];
|
|
22
|
+
/**
|
|
23
|
+
* Exact-match filter on `event_type`. Repeatable (OR within the parameter).
|
|
24
|
+
|
|
25
|
+
*/
|
|
26
|
+
event_type?: string[];
|
|
27
|
+
actor_id?: string;
|
|
28
|
+
client_id?: string;
|
|
29
|
+
session_id?: string;
|
|
30
|
+
flow_id?: string;
|
|
31
|
+
request_id?: string;
|
|
32
|
+
fingerprint?: string;
|
|
33
|
+
entity_type?: string;
|
|
34
|
+
entity_id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Filter by emit-time team scope stored on the event.
|
|
37
|
+
*/
|
|
38
|
+
team_id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Inclusive lower bound on `created_at` (RFC 3339).
|
|
41
|
+
*/
|
|
42
|
+
created_after?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Exclusive upper bound on `created_at` (RFC 3339).
|
|
45
|
+
*/
|
|
46
|
+
created_before?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Sort direction on `(created_at, id)`. Default `desc` (newest first)
|
|
49
|
+
for audit UI. Pass `asc` for oldest-first.
|
|
50
|
+
|
|
51
|
+
*/
|
|
52
|
+
order?: ListEventsOrder;
|
|
53
|
+
/**
|
|
54
|
+
* Token for fetching the next page of results.
|
|
55
|
+
Obtain this value from `next_page_token` in the previous response.
|
|
56
|
+
Omit to start from the beginning.
|
|
57
|
+
Its format is opaque and may change between releases.
|
|
58
|
+
|
|
59
|
+
*/
|
|
60
|
+
page_token?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Maximum number of items to return.
|
|
63
|
+
* @minimum 1
|
|
64
|
+
* @maximum 100
|
|
65
|
+
*/
|
|
66
|
+
limit?: number;
|
|
67
|
+
};
|
|
@@ -37,26 +37,6 @@ export type ListUserTeamsDefault =
|
|
|
37
37
|
} & {
|
|
38
38
|
code: "req.invalid";
|
|
39
39
|
})
|
|
40
|
-
| ({
|
|
41
|
-
/** Stable machine-readable error code. */
|
|
42
|
-
code: string;
|
|
43
|
-
/** Human-readable explanation of the error. */
|
|
44
|
-
message: string;
|
|
45
|
-
/** Additional error-specific context. */
|
|
46
|
-
details?: { [key: string]: unknown };
|
|
47
|
-
} & {
|
|
48
|
-
code: "team.team_not_found";
|
|
49
|
-
})
|
|
50
|
-
| ({
|
|
51
|
-
/** Stable machine-readable error code. */
|
|
52
|
-
code: string;
|
|
53
|
-
/** Human-readable explanation of the error. */
|
|
54
|
-
message: string;
|
|
55
|
-
/** Additional error-specific context. */
|
|
56
|
-
details?: { [key: string]: unknown };
|
|
57
|
-
} & {
|
|
58
|
-
code: "team.permission_denied";
|
|
59
|
-
})
|
|
60
40
|
| ({
|
|
61
41
|
/** Stable machine-readable error code. */
|
|
62
42
|
code: string;
|
|
@@ -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 { ListUsers200UsersItemAttributes } from "./listUsers200UsersItemAttributes";
|
|
8
9
|
import type { ListUsers200UsersItemMetadata } from "./listUsers200UsersItemMetadata";
|
|
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 ListUsers200UsersItem = {
|
|
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: ListUsers200UsersItemAttributes;
|
|
37
|
+
metadata: ListUsers200UsersItemMetadata;
|
|
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 ListUsers200UsersItemAttributes = { [key: string]: unknown };
|
|
@@ -17,6 +17,16 @@ export type PatchProjectDefault =
|
|
|
17
17
|
} & {
|
|
18
18
|
code: "auth.unauthorized";
|
|
19
19
|
})
|
|
20
|
+
| ({
|
|
21
|
+
/** Stable machine-readable error code. */
|
|
22
|
+
code: string;
|
|
23
|
+
/** Human-readable explanation of the error. */
|
|
24
|
+
message: string;
|
|
25
|
+
/** Additional error-specific context. */
|
|
26
|
+
details?: { [key: string]: unknown };
|
|
27
|
+
} & {
|
|
28
|
+
code: "evt.invalid";
|
|
29
|
+
})
|
|
20
30
|
| ({
|
|
21
31
|
/** Stable machine-readable error code. */
|
|
22
32
|
code: string;
|
|
@@ -17,6 +17,10 @@ export type QueryProjectsBodyFilterItem = {
|
|
|
17
17
|
value?: string | number | boolean | null;
|
|
18
18
|
/** Filter operation defines the operations which can be used when filtering on a
|
|
19
19
|
query endpoint.
|
|
20
|
+
|
|
21
|
+
On text fields, `contains` is a case-insensitive substring match. `equals`
|
|
22
|
+
compares the whole value and is case-sensitive unless the field documents
|
|
23
|
+
otherwise.
|
|
20
24
|
*/
|
|
21
25
|
operation: QueryProjectsBodyFilterItemOperation;
|
|
22
26
|
};
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
* Filter operation defines the operations which can be used when filtering on a
|
|
11
11
|
query endpoint.
|
|
12
12
|
|
|
13
|
+
On text fields, `contains` is a case-insensitive substring match. `equals`
|
|
14
|
+
compares the whole value and is case-sensitive unless the field documents
|
|
15
|
+
otherwise.
|
|
16
|
+
|
|
13
17
|
*/
|
|
14
18
|
export type QueryProjectsBodyFilterItemOperation =
|
|
15
19
|
(typeof QueryProjectsBodyFilterItemOperation)[keyof typeof QueryProjectsBodyFilterItemOperation];
|
|
@@ -28,7 +28,7 @@ export type QuerySessions200SessionsItem = {
|
|
|
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
|
|
|
@@ -12,7 +12,8 @@ export type QuerySessionsBodyFilterItem = {
|
|
|
12
12
|
/** Field to filter sessions by:
|
|
13
13
|
- `created_at`: RFC3339 timestamp
|
|
14
14
|
- `user_id`: user id
|
|
15
|
-
- `state`: one of `building`, `active`, `expired
|
|
15
|
+
- `state`: one of `building`, `active`, `expired`. State is computed at read
|
|
16
|
+
time, so a session expiring mid-request can match `active` but return `expired`.
|
|
16
17
|
*/
|
|
17
18
|
field: QuerySessionsBodyFilterItemField;
|
|
18
19
|
/** Filter-value specifies which values can be filtered by a query endpoint. This
|
|
@@ -22,6 +23,10 @@ export type QuerySessionsBodyFilterItem = {
|
|
|
22
23
|
value?: string | number | boolean | null;
|
|
23
24
|
/** Filter operation defines the operations which can be used when filtering on a
|
|
24
25
|
query endpoint.
|
|
26
|
+
|
|
27
|
+
On text fields, `contains` is a case-insensitive substring match. `equals`
|
|
28
|
+
compares the whole value and is case-sensitive unless the field documents
|
|
29
|
+
otherwise.
|
|
25
30
|
*/
|
|
26
31
|
operation: QuerySessionsBodyFilterItemOperation;
|
|
27
32
|
};
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
* Field to filter sessions by:
|
|
11
11
|
- `created_at`: RFC3339 timestamp
|
|
12
12
|
- `user_id`: user id
|
|
13
|
-
- `state`: one of `building`, `active`, `expired
|
|
13
|
+
- `state`: one of `building`, `active`, `expired`. State is computed at read
|
|
14
|
+
time, so a session expiring mid-request can match `active` but return `expired`.
|
|
14
15
|
|
|
15
16
|
*/
|
|
16
17
|
export type QuerySessionsBodyFilterItemField =
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
* Filter operation defines the operations which can be used when filtering on a
|
|
11
11
|
query endpoint.
|
|
12
12
|
|
|
13
|
+
On text fields, `contains` is a case-insensitive substring match. `equals`
|
|
14
|
+
compares the whole value and is case-sensitive unless the field documents
|
|
15
|
+
otherwise.
|
|
16
|
+
|
|
13
17
|
*/
|
|
14
18
|
export type QuerySessionsBodyFilterItemOperation =
|
|
15
19
|
(typeof QuerySessionsBodyFilterItemOperation)[keyof typeof QuerySessionsBodyFilterItemOperation];
|
|
@@ -37,6 +37,16 @@ export type QuerySessionsDefault =
|
|
|
37
37
|
} & {
|
|
38
38
|
code: "not_implemented";
|
|
39
39
|
})
|
|
40
|
+
| ({
|
|
41
|
+
/** Stable machine-readable error code. */
|
|
42
|
+
code: string;
|
|
43
|
+
/** Human-readable explanation of the error. */
|
|
44
|
+
message: string;
|
|
45
|
+
/** Additional error-specific context. */
|
|
46
|
+
details?: { [key: string]: unknown };
|
|
47
|
+
} & {
|
|
48
|
+
code: "proj.missing_id";
|
|
49
|
+
})
|
|
40
50
|
| ({
|
|
41
51
|
/** Stable machine-readable error code. */
|
|
42
52
|
code: string;
|
|
@@ -9,6 +9,11 @@ import type { QueryTeamsBodyFilterItemField } from "./queryTeamsBodyFilterItemFi
|
|
|
9
9
|
import type { QueryTeamsBodyFilterItemOperation } from "./queryTeamsBodyFilterItemOperation";
|
|
10
10
|
|
|
11
11
|
export type QueryTeamsBodyFilterItem = {
|
|
12
|
+
/** Field to filter or sort teams by.
|
|
13
|
+
|
|
14
|
+
Team names are unique per project case-insensitively, so `name` is matched
|
|
15
|
+
case-insensitively by `equals` as well as by `contains`.
|
|
16
|
+
*/
|
|
12
17
|
field: QueryTeamsBodyFilterItemField;
|
|
13
18
|
/** Filter-value specifies which values can be filtered by a query endpoint. This
|
|
14
19
|
is a union of types. When a value is specified which is not assignable to the
|
|
@@ -17,6 +22,10 @@ export type QueryTeamsBodyFilterItem = {
|
|
|
17
22
|
value?: string | number | boolean | null;
|
|
18
23
|
/** Filter operation defines the operations which can be used when filtering on a
|
|
19
24
|
query endpoint.
|
|
25
|
+
|
|
26
|
+
On text fields, `contains` is a case-insensitive substring match. `equals`
|
|
27
|
+
compares the whole value and is case-sensitive unless the field documents
|
|
28
|
+
otherwise.
|
|
20
29
|
*/
|
|
21
30
|
operation: QueryTeamsBodyFilterItemOperation;
|
|
22
31
|
};
|
|
@@ -6,9 +6,18 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Field to filter or sort teams by.
|
|
11
|
+
|
|
12
|
+
Team names are unique per project case-insensitively, so `name` is matched
|
|
13
|
+
case-insensitively by `equals` as well as by `contains`.
|
|
14
|
+
|
|
15
|
+
*/
|
|
9
16
|
export type QueryTeamsBodyFilterItemField =
|
|
10
17
|
(typeof QueryTeamsBodyFilterItemField)[keyof typeof QueryTeamsBodyFilterItemField];
|
|
11
18
|
|
|
12
19
|
export const QueryTeamsBodyFilterItemField = {
|
|
13
20
|
created_at: "created_at",
|
|
21
|
+
name: "name",
|
|
22
|
+
status: "status",
|
|
14
23
|
} as const;
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
* Filter operation defines the operations which can be used when filtering on a
|
|
11
11
|
query endpoint.
|
|
12
12
|
|
|
13
|
+
On text fields, `contains` is a case-insensitive substring match. `equals`
|
|
14
|
+
compares the whole value and is case-sensitive unless the field documents
|
|
15
|
+
otherwise.
|
|
16
|
+
|
|
13
17
|
*/
|
|
14
18
|
export type QueryTeamsBodyFilterItemOperation =
|
|
15
19
|
(typeof QueryTeamsBodyFilterItemOperation)[keyof typeof QueryTeamsBodyFilterItemOperation];
|
|
@@ -9,6 +9,11 @@ import type { QueryTeamsBodySortingDirection } from "./queryTeamsBodySortingDire
|
|
|
9
9
|
import type { QueryTeamsBodySortingField } from "./queryTeamsBodySortingField";
|
|
10
10
|
|
|
11
11
|
export type QueryTeamsBodySorting = {
|
|
12
|
+
/** Field to filter or sort teams by.
|
|
13
|
+
|
|
14
|
+
Team names are unique per project case-insensitively, so `name` is matched
|
|
15
|
+
case-insensitively by `equals` as well as by `contains`.
|
|
16
|
+
*/
|
|
12
17
|
field: QueryTeamsBodySortingField;
|
|
13
18
|
direction: QueryTeamsBodySortingDirection;
|
|
14
19
|
};
|
|
@@ -6,9 +6,18 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Field to filter or sort teams by.
|
|
11
|
+
|
|
12
|
+
Team names are unique per project case-insensitively, so `name` is matched
|
|
13
|
+
case-insensitively by `equals` as well as by `contains`.
|
|
14
|
+
|
|
15
|
+
*/
|
|
9
16
|
export type QueryTeamsBodySortingField =
|
|
10
17
|
(typeof QueryTeamsBodySortingField)[keyof typeof QueryTeamsBodySortingField];
|
|
11
18
|
|
|
12
19
|
export const QueryTeamsBodySortingField = {
|
|
13
20
|
created_at: "created_at",
|
|
21
|
+
name: "name",
|
|
22
|
+
status: "status",
|
|
14
23
|
} as const;
|
|
@@ -17,6 +17,16 @@ export type RevokeMySessionDefault =
|
|
|
17
17
|
} & {
|
|
18
18
|
code: "auth.unauthorized";
|
|
19
19
|
})
|
|
20
|
+
| ({
|
|
21
|
+
/** Stable machine-readable error code. */
|
|
22
|
+
code: string;
|
|
23
|
+
/** Human-readable explanation of the error. */
|
|
24
|
+
message: string;
|
|
25
|
+
/** Additional error-specific context. */
|
|
26
|
+
details?: { [key: string]: unknown };
|
|
27
|
+
} & {
|
|
28
|
+
code: "evt.invalid";
|
|
29
|
+
})
|
|
20
30
|
| ({
|
|
21
31
|
/** Stable machine-readable error code. */
|
|
22
32
|
code: string;
|
|
@@ -17,6 +17,16 @@ export type RevokeSessionDefault =
|
|
|
17
17
|
} & {
|
|
18
18
|
code: "auth.unauthorized";
|
|
19
19
|
})
|
|
20
|
+
| ({
|
|
21
|
+
/** Stable machine-readable error code. */
|
|
22
|
+
code: string;
|
|
23
|
+
/** Human-readable explanation of the error. */
|
|
24
|
+
message: string;
|
|
25
|
+
/** Additional error-specific context. */
|
|
26
|
+
details?: { [key: string]: unknown };
|
|
27
|
+
} & {
|
|
28
|
+
code: "evt.invalid";
|
|
29
|
+
})
|
|
20
30
|
| ({
|
|
21
31
|
/** Stable machine-readable error code. */
|
|
22
32
|
code: string;
|
|
@@ -17,6 +17,16 @@ export type SetUserPasswordDefault =
|
|
|
17
17
|
} & {
|
|
18
18
|
code: "auth.unauthorized";
|
|
19
19
|
})
|
|
20
|
+
| ({
|
|
21
|
+
/** Stable machine-readable error code. */
|
|
22
|
+
code: string;
|
|
23
|
+
/** Human-readable explanation of the error. */
|
|
24
|
+
message: string;
|
|
25
|
+
/** Additional error-specific context. */
|
|
26
|
+
details?: { [key: string]: unknown };
|
|
27
|
+
} & {
|
|
28
|
+
code: "evt.invalid";
|
|
29
|
+
})
|
|
20
30
|
| ({
|
|
21
31
|
/** Stable machine-readable error code. */
|
|
22
32
|
code: string;
|
|
@@ -107,6 +107,16 @@ export type SubmitFlowStepDefault =
|
|
|
107
107
|
} & {
|
|
108
108
|
code: "enc_key.not_found";
|
|
109
109
|
})
|
|
110
|
+
| ({
|
|
111
|
+
/** Stable machine-readable error code. */
|
|
112
|
+
code: string;
|
|
113
|
+
/** Human-readable explanation of the error. */
|
|
114
|
+
message: string;
|
|
115
|
+
/** Additional error-specific context. */
|
|
116
|
+
details?: { [key: string]: unknown };
|
|
117
|
+
} & {
|
|
118
|
+
code: "evt.invalid";
|
|
119
|
+
})
|
|
110
120
|
| ({
|
|
111
121
|
/** Stable machine-readable error code. */
|
|
112
122
|
code: string;
|
|
@@ -31,5 +31,16 @@ export type UpdateFlowDefinition200FlowDefinitionStepsItemTransitions = {
|
|
|
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
|
};
|