@zitadel/api 0.7.0 → 0.8.0
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/{api-factory-BPmRCU7u.mjs → api-factory-B2kd991F.mjs} +14 -2
- package/dist/api-factory-B2kd991F.mjs.map +1 -0
- package/dist/{api-factory-DCzYxpdV.d.mts → api-factory-DW48-EMM.d.mts} +8 -3
- package/dist/api-factory-DW48-EMM.d.mts.map +1 -0
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +225 -109
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +737 -41
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +594 -182
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +788 -347
- 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 +17 -3
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/generated/operations.d.mts.map +1 -1
- package/dist/generated/operations.mjs +46 -4
- package/dist/generated/operations.mjs.map +1 -1
- package/dist/{index-BwYxe7Dw.d.mts → index-REGtKmAu.d.mts} +1466 -327
- package/dist/index-REGtKmAu.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/api-factory.mjs +1 -1
- package/dist/runtime/config.d.mts +1 -1
- package/dist/runtime/config.mjs +1 -1
- package/dist/{zitadelNextGen-SGK-fW1x.d.mts → zitadelNextGen-C2Qcm9jl.d.mts} +65 -20
- package/dist/zitadelNextGen-C2Qcm9jl.d.mts.map +1 -0
- package/dist/{zitadelNextGen-DsPFGqLs.mjs → zitadelNextGen-CDqt2m_4.mjs} +141 -558
- package/dist/zitadelNextGen-CDqt2m_4.mjs.map +1 -0
- package/package.json +2 -2
- package/src/generated/endpoints/zitadelNextGen.faker.ts +14 -10
- package/src/generated/endpoints/zitadelNextGen.msw.ts +278 -216
- package/src/generated/endpoints/zitadelNextGen.ts +209 -736
- package/src/generated/endpoints/zitadelNextGen.zod.ts +674 -312
- package/src/generated/model/acceptInvitation200.ts +84 -12
- package/src/generated/model/acceptInvitationDefault.ts +18 -0
- package/src/generated/model/buildReleaseBodyBundle.ts +1 -2
- package/src/generated/model/buildReleaseBodyBundleOauth.ts +1 -2
- package/src/generated/model/buildReleaseParams.ts +7 -7
- package/src/generated/model/cancelInvitationParams.ts +7 -7
- package/src/generated/model/createAuthAttempt201ChallengesItemPayload.ts +1 -1
- package/src/generated/model/createAuthAttemptChallenge201Payload.ts +1 -1
- package/src/generated/model/createDeploymentParams.ts +7 -7
- package/src/generated/model/createGrantParams.ts +7 -7
- package/src/generated/model/createInvitation201.ts +84 -12
- package/src/generated/model/createInvitationBody.ts +4 -4
- package/src/generated/model/createInvitationParams.ts +7 -7
- package/src/generated/model/createReleaseParams.ts +7 -7
- package/src/generated/model/createTeamParams.ts +7 -7
- package/src/generated/model/createUserParams.ts +23 -23
- package/src/generated/model/deleteGrantParams.ts +7 -7
- package/src/generated/model/deleteVariableParams.ts +12 -12
- package/src/generated/model/evaluatePolicyParams.ts +7 -7
- package/src/generated/model/exchangeHandoffParams.ts +7 -7
- package/src/generated/model/getApplicationParams.ts +7 -7
- package/src/generated/model/getAuthAttempt200ChallengesItemPayload.ts +1 -1
- package/src/generated/model/getDeploymentParams.ts +7 -7
- package/src/generated/model/getEvent200.ts +192 -10
- package/src/generated/model/getEventParams.ts +7 -7
- package/src/generated/model/getGrantParams.ts +13 -13
- package/src/generated/model/getIdpParams.ts +7 -7
- package/src/generated/model/getIdpRevisionParams.ts +7 -7
- package/src/generated/model/getInvitation200.ts +84 -12
- package/src/generated/model/getInvitationParams.ts +7 -7
- package/src/generated/model/getMyPasswordStateParams.ts +16 -16
- package/src/generated/model/getMySessionCsrfTokenParams.ts +16 -16
- package/src/generated/model/getMySessionParams.ts +16 -16
- package/src/generated/model/getMyUserParams.ts +16 -16
- package/src/generated/model/getMyUserSchemaParams.ts +16 -16
- package/src/generated/model/getOAuthSettings200.ts +1 -2
- package/src/generated/model/getOAuthSettings200Oauth.ts +1 -2
- package/src/generated/model/getOAuthSettingsDefault.ts +18 -0
- package/src/generated/model/getPolicyParams.ts +7 -7
- package/src/generated/model/getPolicyRevisionParams.ts +7 -7
- package/src/generated/model/getProjectClaimStatusParams.ts +5 -5
- package/src/generated/model/getProjectClaimWindowParams.ts +5 -5
- package/src/generated/model/getReleaseParams.ts +7 -7
- package/src/generated/model/getSchemaParams.ts +11 -11
- package/src/generated/model/getUserParams.ts +21 -21
- package/src/generated/model/getVariableParams.ts +12 -12
- package/src/generated/model/index.ts +18 -7
- package/src/generated/model/listBrandingParams.ts +20 -20
- package/src/generated/model/listDeploymentVariablesParams.ts +7 -7
- package/src/generated/model/listDeploymentsParams.ts +42 -44
- package/src/generated/model/listEvents200EventsItem.ts +192 -10
- package/src/generated/model/listEventsParams.ts +83 -105
- package/src/generated/model/listFlowDefinitionsParams.ts +44 -48
- package/src/generated/model/listIdpRevisionsParams.ts +20 -20
- package/src/generated/model/listInvitations200InvitationsItem.ts +84 -12
- package/src/generated/model/listInvitationsExpandItem.ts +25 -0
- package/src/generated/model/listInvitationsParams.ts +31 -31
- package/src/generated/model/listInvitationsStatusItem.ts +22 -0
- package/src/generated/model/listMyIdentityLinksParams.ts +29 -29
- package/src/generated/model/listMyPasskeysParams.ts +29 -29
- package/src/generated/model/listMyProjectsParams.ts +52 -52
- package/src/generated/model/listMyTeamsParams.ts +29 -29
- package/src/generated/model/listPoliciesParams.ts +22 -24
- package/src/generated/model/listPolicyRevisionsParams.ts +20 -20
- package/src/generated/model/listProjectAdminsParams.ts +13 -13
- package/src/generated/model/listProjectMembers200.ts +20 -0
- package/src/generated/model/listProjectMembers200MembersItem.ts +38 -0
- package/src/generated/model/listProjectMembers200MembersItemRelation.ts +20 -0
- package/src/generated/model/listProjectMembers200MembersItemSourcesItem.ts +55 -0
- package/src/generated/model/listProjectMembers200MembersItemUser.ts +40 -0
- package/src/generated/model/{acceptInvitation429.ts → listProjectMembers400.ts} +3 -3
- package/src/generated/model/{lookupInvitation429Details.ts → listProjectMembers400Details.ts} +1 -1
- package/src/generated/model/{lookupInvitation429.ts → listProjectMembers401.ts} +3 -3
- package/src/generated/model/{acceptInvitation429Details.ts → listProjectMembers401Details.ts} +1 -1
- package/src/generated/model/{rejectInvitation429.ts → listProjectMembers403.ts} +3 -3
- package/src/generated/model/{rejectInvitation429Details.ts → listProjectMembers403Details.ts} +1 -1
- package/src/generated/model/listProjectMembers404.ts +20 -0
- package/src/generated/model/listProjectMembers404Details.ts +12 -0
- package/src/generated/model/listProjectMembersDefault.ts +81 -0
- package/src/generated/model/listProjectMembersParams.ts +29 -0
- package/src/generated/model/listProjectMembersRelation.ts +16 -0
- package/src/generated/model/listProjectPreviewsParams.ts +13 -13
- package/src/generated/model/listReleasesParams.ts +60 -60
- package/src/generated/model/listSchemasParams.ts +54 -56
- package/src/generated/model/listUserIdentityLinksParams.ts +13 -13
- package/src/generated/model/listUserPasskeysParams.ts +13 -13
- package/src/generated/model/listUserTeamsParams.ts +13 -13
- package/src/generated/model/listVariablesParams.ts +12 -12
- package/src/generated/model/lookupInvitation200.ts +58 -0
- package/src/generated/model/publishApplicationParams.ts +7 -7
- package/src/generated/model/publishBrandingParams.ts +7 -7
- package/src/generated/model/publishIdpParams.ts +7 -7
- package/src/generated/model/publishPolicyParams.ts +7 -7
- package/src/generated/model/publishSchemaParams.ts +12 -12
- package/src/generated/model/queryGrantsParams.ts +7 -7
- package/src/generated/model/queryIdpsParams.ts +7 -7
- package/src/generated/model/querySessionsParams.ts +7 -7
- package/src/generated/model/queryTeamsParams.ts +6 -6
- package/src/generated/model/queryUsersParams.ts +6 -6
- package/src/generated/model/rejectInvitation200.ts +84 -12
- package/src/generated/model/rejectInvitationDefault.ts +18 -0
- package/src/generated/model/revokeMySessionParams.ts +16 -16
- package/src/generated/model/revokeReleaseParams.ts +7 -7
- package/src/generated/model/rollbackDeploymentParams.ts +7 -7
- package/src/generated/model/searchParams.ts +7 -7
- package/src/generated/model/setVariablesParams.ts +12 -12
- package/src/generated/model/updateMyUserParams.ts +16 -16
- package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +1 -1
- package/src/generated/operations.ts +46 -4
- package/src/generated/paging.ts +5 -0
- package/dist/api-factory-BPmRCU7u.mjs.map +0 -1
- package/dist/api-factory-DCzYxpdV.d.mts.map +0 -1
- package/dist/index-BwYxe7Dw.d.mts.map +0 -1
- package/dist/zitadelNextGen-DsPFGqLs.mjs.map +0 -1
- package/dist/zitadelNextGen-SGK-fW1x.d.mts.map +0 -1
- package/src/generated/model/listInvitationsStatus.ts +0 -17
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListProjectAdminsParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
limit?: number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
page_token?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Maximum number of items to return.
|
|
12
|
+
* @minimum 1
|
|
13
|
+
* @maximum 100
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Token for fetching the next page of results.
|
|
18
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
19
|
+
* Omit to start from the beginning.
|
|
20
|
+
* Its format is opaque and may change between releases.
|
|
21
|
+
*/
|
|
22
|
+
page_token?: string;
|
|
23
23
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 { ListProjectMembers200MembersItem } from './listProjectMembers200MembersItem.ts';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A page of the people who have a role on a project.
|
|
12
|
+
*/
|
|
13
|
+
export type ListProjectMembers200 = {
|
|
14
|
+
members: ListProjectMembers200MembersItem[];
|
|
15
|
+
/**
|
|
16
|
+
* Token to pass as `page_token` in the next request to fetch the following page.
|
|
17
|
+
* Absent when there are no more results.
|
|
18
|
+
*/
|
|
19
|
+
next_page_token?: string | null;
|
|
20
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 { ListProjectMembers200MembersItemRelation } from './listProjectMembers200MembersItemRelation.ts';
|
|
9
|
+
import type { ListProjectMembers200MembersItemSourcesItem } from './listProjectMembers200MembersItemSourcesItem.ts';
|
|
10
|
+
import type { ListProjectMembers200MembersItemUser } from './listProjectMembers200MembersItemUser.ts';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* One person with a role on the project: their strongest role, and every way
|
|
14
|
+
* they hold it.
|
|
15
|
+
*/
|
|
16
|
+
export type ListProjectMembers200MembersItem = {
|
|
17
|
+
/**
|
|
18
|
+
* A resolved reference to a user. Fields are named for their role, not for a
|
|
19
|
+
* schema property, so responses can mix users from different schemas.
|
|
20
|
+
* `identifier` and `display` are resolved independently from the user
|
|
21
|
+
* schema's `x-identifier` and `x-display` designations, live at read time.
|
|
22
|
+
* Clients render `display`, falling back to `identifier`, then `user_id`.
|
|
23
|
+
* A missing or deleted user degrades to `user_id` only.
|
|
24
|
+
*/
|
|
25
|
+
user: ListProjectMembers200MembersItemUser;
|
|
26
|
+
/**
|
|
27
|
+
* The person's strongest role on the project. A stronger role includes
|
|
28
|
+
* the weaker ones.
|
|
29
|
+
*/
|
|
30
|
+
relation: ListProjectMembers200MembersItemRelation;
|
|
31
|
+
/**
|
|
32
|
+
* How the person holds `relation`: owning-team access first, then grants
|
|
33
|
+
* to teams, then grants to the person. Grants of a weaker role are left
|
|
34
|
+
* out; they still show in the project's grants.
|
|
35
|
+
* @minItems 1
|
|
36
|
+
*/
|
|
37
|
+
sources: ListProjectMembers200MembersItemSourcesItem[];
|
|
38
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 person's strongest role on the project. A stronger role includes
|
|
11
|
+
* the weaker ones.
|
|
12
|
+
*/
|
|
13
|
+
export type ListProjectMembers200MembersItemRelation = typeof ListProjectMembers200MembersItemRelation[keyof typeof ListProjectMembers200MembersItemRelation];
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export const ListProjectMembers200MembersItemRelation = {
|
|
17
|
+
viewer: 'viewer',
|
|
18
|
+
editor: 'editor',
|
|
19
|
+
admin: 'admin',
|
|
20
|
+
} as const;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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
|
+
* One way a person holds their role on the project. Discriminate on `type`.
|
|
11
|
+
*
|
|
12
|
+
* - `owning_team`: the person is an active member of the owning team named by
|
|
13
|
+
* `team`, which holds `admin`. There is no `grant_id`: this access is not a
|
|
14
|
+
* grant, so the grants API cannot revoke it.
|
|
15
|
+
* - `grant`: a grant on the project, named by `grant_id`. `team` is present
|
|
16
|
+
* when the grant is to a team the person is an active member of. It is
|
|
17
|
+
* absent when the grant is to the person directly.
|
|
18
|
+
*/
|
|
19
|
+
export type ListProjectMembers200MembersItemSourcesItem = {
|
|
20
|
+
type: 'owning_team';
|
|
21
|
+
/**
|
|
22
|
+
* A resolved reference to a team. It carries the team's ID and name, so a grant
|
|
23
|
+
* list is readable without embedding the full team. Reading it needs only
|
|
24
|
+
* `project.read`, because it holds just the ID and the name. A missing or
|
|
25
|
+
* deleted team degrades to `team_id` only.
|
|
26
|
+
*/
|
|
27
|
+
team: {
|
|
28
|
+
/** The referenced team's ID (`team_<opaque>`). Always present. */
|
|
29
|
+
team_id: string;
|
|
30
|
+
/**
|
|
31
|
+
* The team's name. Absent when the team can no longer be loaded, or where
|
|
32
|
+
* the referencing endpoint leaves it out for a team the caller may not see.
|
|
33
|
+
*/
|
|
34
|
+
name?: string;
|
|
35
|
+
};
|
|
36
|
+
} | {
|
|
37
|
+
type: 'grant';
|
|
38
|
+
/** The grant (`asgn_<opaque>`), as served by `GET /grants/{id}`. */
|
|
39
|
+
grant_id: string;
|
|
40
|
+
/**
|
|
41
|
+
* A resolved reference to a team. It carries the team's ID and name, so a grant
|
|
42
|
+
* list is readable without embedding the full team. Reading it needs only
|
|
43
|
+
* `project.read`, because it holds just the ID and the name. A missing or
|
|
44
|
+
* deleted team degrades to `team_id` only.
|
|
45
|
+
*/
|
|
46
|
+
team?: {
|
|
47
|
+
/** The referenced team's ID (`team_<opaque>`). Always present. */
|
|
48
|
+
team_id: string;
|
|
49
|
+
/**
|
|
50
|
+
* The team's name. Absent when the team can no longer be loaded, or where
|
|
51
|
+
* the referencing endpoint leaves it out for a team the caller may not see.
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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
|
+
* A resolved reference to a user. Fields are named for their role, not for a
|
|
11
|
+
* schema property, so responses can mix users from different schemas.
|
|
12
|
+
* `identifier` and `display` are resolved independently from the user
|
|
13
|
+
* schema's `x-identifier` and `x-display` designations, live at read time.
|
|
14
|
+
* Clients render `display`, falling back to `identifier`, then `user_id`.
|
|
15
|
+
* A missing or deleted user degrades to `user_id` only.
|
|
16
|
+
*/
|
|
17
|
+
export type ListProjectMembers200MembersItemUser = {
|
|
18
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
19
|
+
user_id: string;
|
|
20
|
+
/**
|
|
21
|
+
* The current value of the schema's designated identifier
|
|
22
|
+
* (`x-identifier`). Absent when the schema designates no identifier or
|
|
23
|
+
* the user carries no value for it.
|
|
24
|
+
*/
|
|
25
|
+
identifier?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The schema property `identifier` came from, so clients can reach the
|
|
28
|
+
* property's schema for semantics (a mailto link, a field label)
|
|
29
|
+
* instead of guessing from the value. Present exactly when
|
|
30
|
+
* `identifier` is.
|
|
31
|
+
*/
|
|
32
|
+
identifier_property?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The `x-display` rendering: the designated properties' values joined
|
|
35
|
+
* in list order. It is for display only and names no source.
|
|
36
|
+
* Absent when the schema designates no display properties or the user
|
|
37
|
+
* carries no values for them.
|
|
38
|
+
*/
|
|
39
|
+
display?: string;
|
|
40
|
+
};
|
|
@@ -5,16 +5,16 @@
|
|
|
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 {
|
|
8
|
+
import type { ListProjectMembers400Details } from './listProjectMembers400Details.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Standard error payload returned for failed API requests.
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type ListProjectMembers400 = {
|
|
14
14
|
/** Stable machine-readable error code. */
|
|
15
15
|
code: string;
|
|
16
16
|
/** Human-readable explanation of the error. */
|
|
17
17
|
message: string;
|
|
18
18
|
/** Additional error-specific context. */
|
|
19
|
-
details?:
|
|
19
|
+
details?: ListProjectMembers400Details;
|
|
20
20
|
};
|
|
@@ -5,16 +5,16 @@
|
|
|
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 {
|
|
8
|
+
import type { ListProjectMembers401Details } from './listProjectMembers401Details.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Standard error payload returned for failed API requests.
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type ListProjectMembers401 = {
|
|
14
14
|
/** Stable machine-readable error code. */
|
|
15
15
|
code: string;
|
|
16
16
|
/** Human-readable explanation of the error. */
|
|
17
17
|
message: string;
|
|
18
18
|
/** Additional error-specific context. */
|
|
19
|
-
details?:
|
|
19
|
+
details?: ListProjectMembers401Details;
|
|
20
20
|
};
|
|
@@ -5,16 +5,16 @@
|
|
|
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 {
|
|
8
|
+
import type { ListProjectMembers403Details } from './listProjectMembers403Details.ts';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Standard error payload returned for failed API requests.
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type ListProjectMembers403 = {
|
|
14
14
|
/** Stable machine-readable error code. */
|
|
15
15
|
code: string;
|
|
16
16
|
/** Human-readable explanation of the error. */
|
|
17
17
|
message: string;
|
|
18
18
|
/** Additional error-specific context. */
|
|
19
|
-
details?:
|
|
19
|
+
details?: ListProjectMembers403Details;
|
|
20
20
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 { ListProjectMembers404Details } from './listProjectMembers404Details.ts';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Standard error payload returned for failed API requests.
|
|
12
|
+
*/
|
|
13
|
+
export type ListProjectMembers404 = {
|
|
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?: ListProjectMembers404Details;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 ListProjectMembers404Details = { [key: string]: unknown };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 ListProjectMembersDefault = {
|
|
10
|
+
/** Stable machine-readable error code. */
|
|
11
|
+
code: string;
|
|
12
|
+
/** Human-readable explanation of the error. */
|
|
13
|
+
message: string;
|
|
14
|
+
/** Additional error-specific context. */
|
|
15
|
+
details?: { [key: string]: unknown };
|
|
16
|
+
} & {
|
|
17
|
+
code: 'auth.unauthorized';
|
|
18
|
+
} | {
|
|
19
|
+
/** Stable machine-readable error code. */
|
|
20
|
+
code: string;
|
|
21
|
+
/** Human-readable explanation of the error. */
|
|
22
|
+
message: string;
|
|
23
|
+
/** Additional error-specific context. */
|
|
24
|
+
details?: { [key: string]: unknown };
|
|
25
|
+
} & {
|
|
26
|
+
code: 'internal';
|
|
27
|
+
} | {
|
|
28
|
+
/** Stable machine-readable error code. */
|
|
29
|
+
code: string;
|
|
30
|
+
/** Human-readable explanation of the error. */
|
|
31
|
+
message: string;
|
|
32
|
+
/** Additional error-specific context. */
|
|
33
|
+
details?: { [key: string]: unknown };
|
|
34
|
+
} & {
|
|
35
|
+
code: 'not_implemented';
|
|
36
|
+
} | {
|
|
37
|
+
/** Stable machine-readable error code. */
|
|
38
|
+
code: string;
|
|
39
|
+
/** Human-readable explanation of the error. */
|
|
40
|
+
message: string;
|
|
41
|
+
/** Additional error-specific context. */
|
|
42
|
+
details?: { [key: string]: unknown };
|
|
43
|
+
} & {
|
|
44
|
+
code: 'proj.missing_id';
|
|
45
|
+
} | {
|
|
46
|
+
/** Stable machine-readable error code. */
|
|
47
|
+
code: string;
|
|
48
|
+
/** Human-readable explanation of the error. */
|
|
49
|
+
message: string;
|
|
50
|
+
/** Additional error-specific context. */
|
|
51
|
+
details?: { [key: string]: unknown };
|
|
52
|
+
} & {
|
|
53
|
+
code: 'proj.not_found';
|
|
54
|
+
} | {
|
|
55
|
+
/** Stable machine-readable error code. */
|
|
56
|
+
code: string;
|
|
57
|
+
/** Human-readable explanation of the error. */
|
|
58
|
+
message: string;
|
|
59
|
+
/** Additional error-specific context. */
|
|
60
|
+
details?: { [key: string]: unknown };
|
|
61
|
+
} & {
|
|
62
|
+
code: 'proj.permission_denied';
|
|
63
|
+
} | {
|
|
64
|
+
/** Stable machine-readable error code. */
|
|
65
|
+
code: string;
|
|
66
|
+
/** Human-readable explanation of the error. */
|
|
67
|
+
message: string;
|
|
68
|
+
/** Additional error-specific context. */
|
|
69
|
+
details?: { [key: string]: unknown };
|
|
70
|
+
} & {
|
|
71
|
+
code: 'req.invalid';
|
|
72
|
+
} | {
|
|
73
|
+
/** Stable machine-readable error code. */
|
|
74
|
+
code: string;
|
|
75
|
+
/** Human-readable explanation of the error. */
|
|
76
|
+
message: string;
|
|
77
|
+
/** Additional error-specific context. */
|
|
78
|
+
details?: { [key: string]: unknown };
|
|
79
|
+
} & {
|
|
80
|
+
code: 'unavailable';
|
|
81
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 { ListProjectMembersRelation } from './listProjectMembersRelation.ts';
|
|
9
|
+
|
|
10
|
+
export type ListProjectMembersParams = {
|
|
11
|
+
/**
|
|
12
|
+
* Maximum number of items to return.
|
|
13
|
+
* @minimum 1
|
|
14
|
+
* @maximum 100
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Token for fetching the next page of results.
|
|
19
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
20
|
+
* Omit to start from the beginning.
|
|
21
|
+
* Its format is opaque and may change between releases.
|
|
22
|
+
*/
|
|
23
|
+
page_token?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Only the people whose strongest role is at least this strong. Absent
|
|
26
|
+
* lists everyone with a role.
|
|
27
|
+
*/
|
|
28
|
+
relation?: ListProjectMembersRelation;
|
|
29
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval 🍺
|
|
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 ListProjectMembersRelation = typeof ListProjectMembersRelation[keyof typeof ListProjectMembersRelation];
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export const ListProjectMembersRelation = {
|
|
13
|
+
viewer: 'viewer',
|
|
14
|
+
editor: 'editor',
|
|
15
|
+
admin: 'admin',
|
|
16
|
+
} as const;
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListProjectPreviewsParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
limit?: number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
page_token?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Maximum number of items to return.
|
|
12
|
+
* @minimum 1
|
|
13
|
+
* @maximum 100
|
|
14
|
+
*/
|
|
15
|
+
limit?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Token for fetching the next page of results.
|
|
18
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
19
|
+
* Omit to start from the beginning.
|
|
20
|
+
* Its format is opaque and may change between releases.
|
|
21
|
+
*/
|
|
22
|
+
page_token?: string;
|
|
23
23
|
};
|
|
@@ -7,64 +7,64 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListReleasesParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
project_id: string;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
content_hash?: string;
|
|
57
|
-
/**
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
limit?: number;
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
page_token?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
|
|
12
|
+
* it as "Project id" in its summary and as `project_id` with `--json`, and
|
|
13
|
+
* writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
|
|
14
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
15
|
+
*/
|
|
16
|
+
project_id: string;
|
|
17
|
+
/**
|
|
18
|
+
* The content digest of a release: `sha256:` followed by 64 lowercase hex
|
|
19
|
+
* characters. Always the full digest; no short form is accepted anywhere.
|
|
20
|
+
*
|
|
21
|
+
* The digest covers the content of the resources the release pins and
|
|
22
|
+
* nothing else. Revision ids, metadata and the project are not part of it.
|
|
23
|
+
* A bundle that carries every resource it references therefore has the same
|
|
24
|
+
* digest on every project, and a client can compute it before sending
|
|
25
|
+
* anything. When a bundle leaves a referenced resource to the project, the
|
|
26
|
+
* release pins the project's revision of it too, and the digest covers that
|
|
27
|
+
* resource as the project holds it.
|
|
28
|
+
*
|
|
29
|
+
* To compute it:
|
|
30
|
+
*
|
|
31
|
+
* 1. Take every resource in the release as the `bundle` of
|
|
32
|
+
* `POST /releases/build` carries it, with `kind` set to `schema`,
|
|
33
|
+
* `flow_definition`, `branding`, `idp` or `oauth`, and `handle` set to the
|
|
34
|
+
* schema's `objectType`, the flow definition's `name`, `default` for
|
|
35
|
+
* branding and oauth, or the identity provider's `slug`.
|
|
36
|
+
* A `schema-url` entry's content is the entry as written, and its handle
|
|
37
|
+
* is the `objectType` of the document the URL serves.
|
|
38
|
+
* 2. Build the JSON document
|
|
39
|
+
* `{"version": 1, "resources": [{"kind": …, "handle": …, "content": …}, …]}`,
|
|
40
|
+
* with `resources` sorted by `kind`, then by `handle`.
|
|
41
|
+
* 3. Serialise that document as canonical JSON (RFC 8785).
|
|
42
|
+
* 4. The digest is the SHA-256 of those bytes, written as `sha256:` and
|
|
43
|
+
* lowercase hex.
|
|
44
|
+
*
|
|
45
|
+
* A release built from `pointers` has the digest its pinned revisions would
|
|
46
|
+
* have if they were sent as a bundle.
|
|
47
|
+
*
|
|
48
|
+
* The digest identifies a release on the wire but never appears in a path,
|
|
49
|
+
* which takes the `rel_` id. Fields that look a release up by content say
|
|
50
|
+
* so by name: the `content_hash` filter of `GET /releases`, and
|
|
51
|
+
* `content_hash` in place of `release_id` on `POST /deployments`.
|
|
52
|
+
* @minLength 71
|
|
53
|
+
* @maxLength 71
|
|
54
|
+
* @pattern ^sha256:[0-9a-f]{64}$
|
|
55
|
+
*/
|
|
56
|
+
content_hash?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Maximum number of items to return.
|
|
59
|
+
* @minimum 1
|
|
60
|
+
* @maximum 100
|
|
61
|
+
*/
|
|
62
|
+
limit?: number;
|
|
63
|
+
/**
|
|
64
|
+
* Token for fetching the next page of results.
|
|
65
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
66
|
+
* Omit to start from the beginning.
|
|
67
|
+
* Its format is opaque and may change between releases.
|
|
68
|
+
*/
|
|
69
|
+
page_token?: string;
|
|
70
70
|
};
|