@zitadel/api 0.1.0-alpha.14 → 0.1.0-alpha.16
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 +41 -1
- 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 +117 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +81 -5
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +71 -3
- 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 +31 -1
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/{index-4CTwhwmD.d.mts → index-oloR8wb4.d.mts} +560 -38
- package/dist/index-oloR8wb4.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/fetch.d.mts +9 -1
- package/dist/runtime/fetch.d.mts.map +1 -1
- package/dist/runtime/fetch.mjs +32 -1
- package/dist/runtime/fetch.mjs.map +1 -1
- package/dist/{zitadelNextGen-DDnOEggX.d.mts → zitadelNextGen-CXFZoHGo.d.mts} +16 -4
- package/dist/zitadelNextGen-CXFZoHGo.d.mts.map +1 -0
- package/package.json +1 -1
- package/src/generated/endpoints/zitadelNextGen.msw.ts +140 -0
- package/src/generated/endpoints/zitadelNextGen.ts +45 -0
- package/src/generated/endpoints/zitadelNextGen.zod.ts +175 -2
- package/src/generated/model/createFlow201Step.ts +9 -1
- package/src/generated/model/createProject201.ts +2 -0
- package/src/generated/model/createProjectBody.ts +2 -0
- package/src/generated/model/createSession201Session.ts +17 -0
- package/src/generated/model/exchangeHandoff200Session.ts +17 -0
- package/src/generated/model/getFlowStep200Step.ts +9 -1
- package/src/generated/model/getMySession200.ts +17 -0
- package/src/generated/model/getMySessionDefault.ts +21 -12
- package/src/generated/model/getProject200.ts +5 -0
- package/src/generated/model/getSession200.ts +17 -0
- package/src/generated/model/getSessionDefault.ts +21 -12
- package/src/generated/model/index.ts +29 -2
- package/src/generated/model/listSessions200SessionsItem.ts +17 -0
- package/src/generated/model/patchProject200.ts +24 -0
- package/src/generated/model/patchProject400.ts +20 -0
- package/src/generated/model/{getSessionDefaultDetails.ts → patchProject400Details.ts} +1 -1
- package/src/generated/model/patchProject401.ts +20 -0
- package/src/generated/model/patchProject401Details.ts +12 -0
- package/src/generated/model/patchProject404.ts +20 -0
- package/src/generated/model/patchProject404Details.ts +12 -0
- package/src/generated/model/patchProjectBody.ts +12 -0
- package/src/generated/model/patchProjectDefault.ts +20 -0
- package/src/generated/model/{getMySessionDefaultDetails.ts → patchProjectDefaultDetails.ts} +1 -1
- package/src/generated/model/queryProjects200.ts +19 -0
- package/src/generated/model/queryProjects200ProjectsItem.ts +24 -0
- package/src/generated/model/queryProjects400.ts +20 -0
- package/src/generated/model/queryProjects400Details.ts +12 -0
- package/src/generated/model/queryProjects401.ts +20 -0
- package/src/generated/model/queryProjects401Details.ts +12 -0
- package/src/generated/model/queryProjects403.ts +20 -0
- package/src/generated/model/queryProjects403Details.ts +12 -0
- package/src/generated/model/queryProjects429.ts +20 -0
- package/src/generated/model/queryProjects429Details.ts +12 -0
- package/src/generated/model/queryProjectsBody.ts +25 -0
- package/src/generated/model/queryProjectsBodyFilterItem.ts +22 -0
- package/src/generated/model/queryProjectsBodyFilterItemField.ts +15 -0
- package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +26 -0
- package/src/generated/model/queryProjectsBodySorting.ts +14 -0
- package/src/generated/model/queryProjectsBodySortingDirection.ts +15 -0
- package/src/generated/model/queryProjectsBodySortingField.ts +15 -0
- package/src/generated/model/queryProjectsDefault.ts +20 -0
- package/src/generated/model/queryProjectsDefaultDetails.ts +12 -0
- package/src/generated/model/submitFlowStep200Step.ts +9 -1
- package/src/generated/model/submitFlowStep400Step.ts +9 -1
- package/src/runtime/fetch.ts +45 -0
- package/dist/index-4CTwhwmD.d.mts.map +0 -1
- package/dist/zitadelNextGen-DDnOEggX.d.mts.map +0 -1
|
@@ -5,16 +5,25 @@
|
|
|
5
5
|
* This is the next generation of the Zitadel identity platform.
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
|
-
import type { GetMySessionDefaultDetails } from "./getMySessionDefaultDetails";
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
9
|
+
export type GetMySessionDefault =
|
|
10
|
+
| ({
|
|
11
|
+
/** Stable machine-readable error code. */
|
|
12
|
+
code: string;
|
|
13
|
+
/** Human-readable explanation of the error. */
|
|
14
|
+
message: string;
|
|
15
|
+
/** Additional error-specific context. */
|
|
16
|
+
details?: { [key: string]: unknown };
|
|
17
|
+
} & {
|
|
18
|
+
code: "sess.not_found";
|
|
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: "internal";
|
|
29
|
+
});
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
export type GetProject200 = {
|
|
13
13
|
/** The unique identifier of the project. */
|
|
14
14
|
id: string;
|
|
15
|
+
/** The name of the project. */
|
|
16
|
+
name: string;
|
|
17
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
18
|
+
*/
|
|
19
|
+
previewOrigins?: string[];
|
|
15
20
|
/** The time when the project was created. */
|
|
16
21
|
createdAt: string;
|
|
17
22
|
/** The time when the project was last updated. */
|
|
@@ -38,6 +38,23 @@ export type GetSession200 = {
|
|
|
38
38
|
factor has been verified through an `auth_attempt`.
|
|
39
39
|
*/
|
|
40
40
|
user_id?: string | null;
|
|
41
|
+
/** Human-readable name of the authenticated user, resolved from the
|
|
42
|
+
conventional user-schema properties: `name` when defined, otherwise
|
|
43
|
+
the given and family name parts joined — `givenName`/`familyName`
|
|
44
|
+
(the shipped presets' spelling) or `given_name`/`family_name`. Only
|
|
45
|
+
present on reads that hydrate the user's identity
|
|
46
|
+
(`GET /sessions/me`) and only when the session has an authenticated
|
|
47
|
+
user whose schema carries those properties; clients fall back to
|
|
48
|
+
`email`, then `user_id`.
|
|
49
|
+
*/
|
|
50
|
+
name?: string;
|
|
51
|
+
/** Email address of the authenticated user, resolved from the
|
|
52
|
+
conventional `email` user-schema property. Only present on reads
|
|
53
|
+
that hydrate the user's identity (`GET /sessions/me`) and only when
|
|
54
|
+
the session has an authenticated user whose schema carries that
|
|
55
|
+
property.
|
|
56
|
+
*/
|
|
57
|
+
email?: string;
|
|
41
58
|
/** Verified authentication factors accumulated by this session.
|
|
42
59
|
Each key is a factor type (e.g. `password`, `totp`, `passkey`).
|
|
43
60
|
Each value is a factor event object with at least `verified_at` and
|
|
@@ -5,16 +5,25 @@
|
|
|
5
5
|
* This is the next generation of the Zitadel identity platform.
|
|
6
6
|
* OpenAPI spec version: 0.0.1
|
|
7
7
|
*/
|
|
8
|
-
import type { GetSessionDefaultDetails } from "./getSessionDefaultDetails";
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
9
|
+
export type GetSessionDefault =
|
|
10
|
+
| ({
|
|
11
|
+
/** Stable machine-readable error code. */
|
|
12
|
+
code: string;
|
|
13
|
+
/** Human-readable explanation of the error. */
|
|
14
|
+
message: string;
|
|
15
|
+
/** Additional error-specific context. */
|
|
16
|
+
details?: { [key: string]: unknown };
|
|
17
|
+
} & {
|
|
18
|
+
code: "sess.not_found";
|
|
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: "internal";
|
|
29
|
+
});
|
|
@@ -261,7 +261,6 @@ export * from "./getMySession401Details";
|
|
|
261
261
|
export * from "./getMySession404";
|
|
262
262
|
export * from "./getMySession404Details";
|
|
263
263
|
export * from "./getMySessionDefault";
|
|
264
|
-
export * from "./getMySessionDefaultDetails";
|
|
265
264
|
export * from "./getMyUser200";
|
|
266
265
|
export * from "./getMyUser401";
|
|
267
266
|
export * from "./getMyUser401Details";
|
|
@@ -308,7 +307,6 @@ export * from "./getSession401Details";
|
|
|
308
307
|
export * from "./getSession404";
|
|
309
308
|
export * from "./getSession404Details";
|
|
310
309
|
export * from "./getSessionDefault";
|
|
311
|
-
export * from "./getSessionDefaultDetails";
|
|
312
310
|
export * from "./getSessionParams";
|
|
313
311
|
export * from "./getTeam200";
|
|
314
312
|
export * from "./getTeam401";
|
|
@@ -392,6 +390,35 @@ export * from "./listUsers500Details";
|
|
|
392
390
|
export * from "./listUsersDefault";
|
|
393
391
|
export * from "./listUsersDefaultDetails";
|
|
394
392
|
export * from "./listUsersParams";
|
|
393
|
+
export * from "./patchProject200";
|
|
394
|
+
export * from "./patchProject400";
|
|
395
|
+
export * from "./patchProject400Details";
|
|
396
|
+
export * from "./patchProject401";
|
|
397
|
+
export * from "./patchProject401Details";
|
|
398
|
+
export * from "./patchProject404";
|
|
399
|
+
export * from "./patchProject404Details";
|
|
400
|
+
export * from "./patchProjectBody";
|
|
401
|
+
export * from "./patchProjectDefault";
|
|
402
|
+
export * from "./patchProjectDefaultDetails";
|
|
403
|
+
export * from "./queryProjects200";
|
|
404
|
+
export * from "./queryProjects200ProjectsItem";
|
|
405
|
+
export * from "./queryProjects400";
|
|
406
|
+
export * from "./queryProjects400Details";
|
|
407
|
+
export * from "./queryProjects401";
|
|
408
|
+
export * from "./queryProjects401Details";
|
|
409
|
+
export * from "./queryProjects403";
|
|
410
|
+
export * from "./queryProjects403Details";
|
|
411
|
+
export * from "./queryProjects429";
|
|
412
|
+
export * from "./queryProjects429Details";
|
|
413
|
+
export * from "./queryProjectsBody";
|
|
414
|
+
export * from "./queryProjectsBodyFilterItem";
|
|
415
|
+
export * from "./queryProjectsBodyFilterItemField";
|
|
416
|
+
export * from "./queryProjectsBodyFilterItemOperation";
|
|
417
|
+
export * from "./queryProjectsBodySorting";
|
|
418
|
+
export * from "./queryProjectsBodySortingDirection";
|
|
419
|
+
export * from "./queryProjectsBodySortingField";
|
|
420
|
+
export * from "./queryProjectsDefault";
|
|
421
|
+
export * from "./queryProjectsDefaultDetails";
|
|
395
422
|
export * from "./revokeMySession401";
|
|
396
423
|
export * from "./revokeMySession401Details";
|
|
397
424
|
export * from "./revokeMySession404";
|
|
@@ -38,6 +38,23 @@ export type ListSessions200SessionsItem = {
|
|
|
38
38
|
factor has been verified through an `auth_attempt`.
|
|
39
39
|
*/
|
|
40
40
|
user_id?: string | null;
|
|
41
|
+
/** Human-readable name of the authenticated user, resolved from the
|
|
42
|
+
conventional user-schema properties: `name` when defined, otherwise
|
|
43
|
+
the given and family name parts joined — `givenName`/`familyName`
|
|
44
|
+
(the shipped presets' spelling) or `given_name`/`family_name`. Only
|
|
45
|
+
present on reads that hydrate the user's identity
|
|
46
|
+
(`GET /sessions/me`) and only when the session has an authenticated
|
|
47
|
+
user whose schema carries those properties; clients fall back to
|
|
48
|
+
`email`, then `user_id`.
|
|
49
|
+
*/
|
|
50
|
+
name?: string;
|
|
51
|
+
/** Email address of the authenticated user, resolved from the
|
|
52
|
+
conventional `email` user-schema property. Only present on reads
|
|
53
|
+
that hydrate the user's identity (`GET /sessions/me`) and only when
|
|
54
|
+
the session has an authenticated user whose schema carries that
|
|
55
|
+
property.
|
|
56
|
+
*/
|
|
57
|
+
email?: string;
|
|
41
58
|
/** Verified authentication factors accumulated by this session.
|
|
42
59
|
Each key is a factor type (e.g. `password`, `totp`, `passkey`).
|
|
43
60
|
Each value is a factor event object with at least `verified_at` and
|
|
@@ -0,0 +1,24 @@
|
|
|
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 current state of a project.
|
|
11
|
+
*/
|
|
12
|
+
export type PatchProject200 = {
|
|
13
|
+
/** The unique identifier of the project. */
|
|
14
|
+
id: string;
|
|
15
|
+
/** The name of the project. */
|
|
16
|
+
name: string;
|
|
17
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
18
|
+
*/
|
|
19
|
+
previewOrigins?: string[];
|
|
20
|
+
/** The time when the project was created. */
|
|
21
|
+
createdAt: string;
|
|
22
|
+
/** The time when the project was last updated. */
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
};
|
|
@@ -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 { PatchProject400Details } from "./patchProject400Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type PatchProject400 = {
|
|
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?: PatchProject400Details;
|
|
20
|
+
};
|
|
@@ -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 { PatchProject401Details } from "./patchProject401Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type PatchProject401 = {
|
|
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?: PatchProject401Details;
|
|
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 PatchProject401Details = { [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 { PatchProject404Details } from "./patchProject404Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type PatchProject404 = {
|
|
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?: PatchProject404Details;
|
|
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 PatchProject404Details = { [key: string]: unknown };
|
|
@@ -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
|
+
export type PatchProjectBody = {
|
|
10
|
+
/** The name of the project. */
|
|
11
|
+
name?: null | string;
|
|
12
|
+
};
|
|
@@ -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 { PatchProjectDefaultDetails } from "./patchProjectDefaultDetails";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type PatchProjectDefault = {
|
|
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?: PatchProjectDefaultDetails;
|
|
20
|
+
};
|
|
@@ -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 { QueryProjects200ProjectsItem } from "./queryProjects200ProjectsItem";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Paginated list of projects.
|
|
12
|
+
*/
|
|
13
|
+
export type QueryProjects200 = {
|
|
14
|
+
projects: QueryProjects200ProjectsItem[];
|
|
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
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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 current state of a project.
|
|
11
|
+
*/
|
|
12
|
+
export type QueryProjects200ProjectsItem = {
|
|
13
|
+
/** The unique identifier of the project. */
|
|
14
|
+
id: string;
|
|
15
|
+
/** The name of the project. */
|
|
16
|
+
name: string;
|
|
17
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
18
|
+
*/
|
|
19
|
+
previewOrigins?: string[];
|
|
20
|
+
/** The time when the project was created. */
|
|
21
|
+
createdAt: string;
|
|
22
|
+
/** The time when the project was last updated. */
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
};
|
|
@@ -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 { QueryProjects400Details } from "./queryProjects400Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type QueryProjects400 = {
|
|
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?: QueryProjects400Details;
|
|
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 QueryProjects400Details = { [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 { QueryProjects401Details } from "./queryProjects401Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type QueryProjects401 = {
|
|
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?: QueryProjects401Details;
|
|
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 QueryProjects401Details = { [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 { QueryProjects403Details } from "./queryProjects403Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type QueryProjects403 = {
|
|
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?: QueryProjects403Details;
|
|
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 QueryProjects403Details = { [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 { QueryProjects429Details } from "./queryProjects429Details";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type QueryProjects429 = {
|
|
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?: QueryProjects429Details;
|
|
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 QueryProjects429Details = { [key: string]: unknown };
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { QueryProjectsBodyFilterItem } from "./queryProjectsBodyFilterItem";
|
|
9
|
+
import type { QueryProjectsBodySorting } from "./queryProjectsBodySorting";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Request to query projects.
|
|
13
|
+
*/
|
|
14
|
+
export type QueryProjectsBody = {
|
|
15
|
+
/**
|
|
16
|
+
* @minimum 1
|
|
17
|
+
* @maximum 100
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
/** Token to retrieve the next page of results. */
|
|
21
|
+
page_token?: string | null;
|
|
22
|
+
sorting?: QueryProjectsBodySorting;
|
|
23
|
+
/** Filter criteria for querying projects. */
|
|
24
|
+
filter?: QueryProjectsBodyFilterItem[];
|
|
25
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { QueryProjectsBodyFilterItemField } from "./queryProjectsBodyFilterItemField";
|
|
9
|
+
import type { QueryProjectsBodyFilterItemOperation } from "./queryProjectsBodyFilterItemOperation";
|
|
10
|
+
|
|
11
|
+
export type QueryProjectsBodyFilterItem = {
|
|
12
|
+
field: QueryProjectsBodyFilterItemField;
|
|
13
|
+
/** Filter-value specifies which values can be filtered by a query endpoint. This
|
|
14
|
+
is a union of types. When a value is specified which is not assignable to the
|
|
15
|
+
field which is being filtered, a 400 error will be returned.
|
|
16
|
+
*/
|
|
17
|
+
value?: string | number | boolean | null;
|
|
18
|
+
/** Filter operation defines the operations which can be used when filtering on a
|
|
19
|
+
query endpoint.
|
|
20
|
+
*/
|
|
21
|
+
operation: QueryProjectsBodyFilterItemOperation;
|
|
22
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.10.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Zitadel NextGen
|
|
5
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6
|
+
* OpenAPI spec version: 0.0.1
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type QueryProjectsBodyFilterItemField =
|
|
10
|
+
(typeof QueryProjectsBodyFilterItemField)[keyof typeof QueryProjectsBodyFilterItemField];
|
|
11
|
+
|
|
12
|
+
export const QueryProjectsBodyFilterItemField = {
|
|
13
|
+
name: "name",
|
|
14
|
+
createdAt: "createdAt",
|
|
15
|
+
} as const;
|
|
@@ -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
|
+
* Filter operation defines the operations which can be used when filtering on a
|
|
11
|
+
query endpoint.
|
|
12
|
+
|
|
13
|
+
*/
|
|
14
|
+
export type QueryProjectsBodyFilterItemOperation =
|
|
15
|
+
(typeof QueryProjectsBodyFilterItemOperation)[keyof typeof QueryProjectsBodyFilterItemOperation];
|
|
16
|
+
|
|
17
|
+
export const QueryProjectsBodyFilterItemOperation = {
|
|
18
|
+
equals: "equals",
|
|
19
|
+
not_equals: "not_equals",
|
|
20
|
+
contains: "contains",
|
|
21
|
+
not_contains: "not_contains",
|
|
22
|
+
less_than: "less_than",
|
|
23
|
+
less_than_or_equal: "less_than_or_equal",
|
|
24
|
+
greater_than: "greater_than",
|
|
25
|
+
greater_than_or_equal: "greater_than_or_equal",
|
|
26
|
+
} as const;
|
|
@@ -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
|
+
import type { QueryProjectsBodySortingDirection } from "./queryProjectsBodySortingDirection";
|
|
9
|
+
import type { QueryProjectsBodySortingField } from "./queryProjectsBodySortingField";
|
|
10
|
+
|
|
11
|
+
export type QueryProjectsBodySorting = {
|
|
12
|
+
field: QueryProjectsBodySortingField;
|
|
13
|
+
direction: QueryProjectsBodySortingDirection;
|
|
14
|
+
};
|