@zitadel/api 0.7.0 → 0.9.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-ConF3NN2.mjs} +14 -2
- package/dist/api-factory-ConF3NN2.mjs.map +1 -0
- package/dist/{api-factory-DCzYxpdV.d.mts → api-factory-DOg9w_Du.d.mts} +8 -3
- package/dist/api-factory-DOg9w_Du.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 +607 -194
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +801 -359
- 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-DsPFGqLs.mjs → zitadelNextGen-CVFzR-dx.mjs} +154 -570
- package/dist/zitadelNextGen-CVFzR-dx.mjs.map +1 -0
- package/dist/{zitadelNextGen-SGK-fW1x.d.mts → zitadelNextGen-tszErftX.d.mts} +78 -32
- package/dist/zitadelNextGen-tszErftX.d.mts.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 +222 -748
- package/src/generated/endpoints/zitadelNextGen.zod.ts +687 -324
- 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
|
@@ -21,8 +21,8 @@ export type ListInvitations200InvitationsItem = ({
|
|
|
21
21
|
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
22
22
|
project_id: string;
|
|
23
23
|
/**
|
|
24
|
-
* Who the administrator said the link is for. Null after accept
|
|
25
|
-
* Cancel and replace delete the row.
|
|
24
|
+
* Who the administrator said the link is for. Null after accept; a
|
|
25
|
+
* decline keeps it. Cancel and replace delete the row.
|
|
26
26
|
*/
|
|
27
27
|
metadata?: {
|
|
28
28
|
/**
|
|
@@ -55,10 +55,46 @@ export type ListInvitations200InvitationsItem = ({
|
|
|
55
55
|
* @minLength 1
|
|
56
56
|
*/
|
|
57
57
|
journey_id: string;
|
|
58
|
-
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
/**
|
|
59
|
+
* The user who accepted or declined the link; `status` says which. Null
|
|
60
|
+
* while the invitation is pending or expired.
|
|
61
|
+
*/
|
|
62
|
+
responded_by?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* When the invitation was accepted or declined. Null while it is pending or
|
|
65
|
+
* expired.
|
|
66
|
+
*/
|
|
67
|
+
responded_at?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The user who created the invitation, resolved for display: render
|
|
70
|
+
* `display`, falling back to `identifier`, then `user_id`. Present only
|
|
71
|
+
* when `listInvitations` is called with `expand=inviter`; null when a
|
|
72
|
+
* project secret created the invitation.
|
|
73
|
+
*/
|
|
74
|
+
inviter?: {
|
|
75
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
76
|
+
user_id: string;
|
|
77
|
+
/**
|
|
78
|
+
* The current value of the schema's designated identifier
|
|
79
|
+
* (`x-identifier`). Absent when the schema designates no identifier or
|
|
80
|
+
* the user carries no value for it.
|
|
81
|
+
*/
|
|
82
|
+
identifier?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The schema property `identifier` came from, so clients can reach the
|
|
85
|
+
* property's schema for semantics (a mailto link, a field label)
|
|
86
|
+
* instead of guessing from the value. Present exactly when
|
|
87
|
+
* `identifier` is.
|
|
88
|
+
*/
|
|
89
|
+
identifier_property?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The `x-display` rendering: the designated properties' values joined
|
|
92
|
+
* in list order. It is for display only and names no source.
|
|
93
|
+
* Absent when the schema designates no display properties or the user
|
|
94
|
+
* carries no values for them.
|
|
95
|
+
*/
|
|
96
|
+
display?: string;
|
|
97
|
+
} | null;
|
|
62
98
|
}) & ({
|
|
63
99
|
type: 'project_member';
|
|
64
100
|
/** Type-specific input for a `project_member` invitation. */
|
|
@@ -76,8 +112,8 @@ export type ListInvitations200InvitationsItem = ({
|
|
|
76
112
|
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
77
113
|
project_id: string;
|
|
78
114
|
/**
|
|
79
|
-
* Who the administrator said the link is for. Null after accept
|
|
80
|
-
* Cancel and replace delete the row.
|
|
115
|
+
* Who the administrator said the link is for. Null after accept; a
|
|
116
|
+
* decline keeps it. Cancel and replace delete the row.
|
|
81
117
|
*/
|
|
82
118
|
metadata?: {
|
|
83
119
|
/**
|
|
@@ -110,10 +146,46 @@ export type ListInvitations200InvitationsItem = ({
|
|
|
110
146
|
* @minLength 1
|
|
111
147
|
*/
|
|
112
148
|
journey_id: string;
|
|
113
|
-
/**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
149
|
+
/**
|
|
150
|
+
* The user who accepted or declined the link; `status` says which. Null
|
|
151
|
+
* while the invitation is pending or expired.
|
|
152
|
+
*/
|
|
153
|
+
responded_by?: string | null;
|
|
154
|
+
/**
|
|
155
|
+
* When the invitation was accepted or declined. Null while it is pending or
|
|
156
|
+
* expired.
|
|
157
|
+
*/
|
|
158
|
+
responded_at?: string | null;
|
|
159
|
+
/**
|
|
160
|
+
* The user who created the invitation, resolved for display: render
|
|
161
|
+
* `display`, falling back to `identifier`, then `user_id`. Present only
|
|
162
|
+
* when `listInvitations` is called with `expand=inviter`; null when a
|
|
163
|
+
* project secret created the invitation.
|
|
164
|
+
*/
|
|
165
|
+
inviter?: {
|
|
166
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */
|
|
167
|
+
user_id: string;
|
|
168
|
+
/**
|
|
169
|
+
* The current value of the schema's designated identifier
|
|
170
|
+
* (`x-identifier`). Absent when the schema designates no identifier or
|
|
171
|
+
* the user carries no value for it.
|
|
172
|
+
*/
|
|
173
|
+
identifier?: string;
|
|
174
|
+
/**
|
|
175
|
+
* The schema property `identifier` came from, so clients can reach the
|
|
176
|
+
* property's schema for semantics (a mailto link, a field label)
|
|
177
|
+
* instead of guessing from the value. Present exactly when
|
|
178
|
+
* `identifier` is.
|
|
179
|
+
*/
|
|
180
|
+
identifier_property?: string;
|
|
181
|
+
/**
|
|
182
|
+
* The `x-display` rendering: the designated properties' values joined
|
|
183
|
+
* in list order. It is for display only and names no source.
|
|
184
|
+
* Absent when the schema designates no display properties or the user
|
|
185
|
+
* carries no values for them.
|
|
186
|
+
*/
|
|
187
|
+
display?: string;
|
|
188
|
+
} | null;
|
|
117
189
|
}) & {
|
|
118
190
|
type: 'team_member';
|
|
119
191
|
/** Type-specific input for a `team_member` invitation. */
|
|
@@ -0,0 +1,25 @@
|
|
|
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 related object to embed on each returned invitation.
|
|
11
|
+
*
|
|
12
|
+
* - `inviter`: the user who created the invitation, as `inviter`, a user
|
|
13
|
+
* reference. It is null when a project secret created the invitation. The
|
|
14
|
+
* property is omitted when not requested.
|
|
15
|
+
*
|
|
16
|
+
* It needs no permission beyond listing: like the user on a grant, the
|
|
17
|
+
* reference carries only `user_id`, `identifier` and `display`, never the
|
|
18
|
+
* user's record.
|
|
19
|
+
*/
|
|
20
|
+
export type ListInvitationsExpandItem = typeof ListInvitationsExpandItem[keyof typeof ListInvitationsExpandItem];
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export const ListInvitationsExpandItem = {
|
|
24
|
+
inviter: 'inviter',
|
|
25
|
+
} as const;
|
|
@@ -5,38 +5,38 @@
|
|
|
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 { ListInvitationsExpandItem } from './listInvitationsExpandItem.ts';
|
|
9
|
+
import type { ListInvitationsStatusItem } from './listInvitationsStatusItem.ts';
|
|
9
10
|
import type { ListInvitationsType } from './listInvitationsType.ts';
|
|
10
11
|
|
|
11
12
|
export type ListInvitationsParams = {
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
project_id: string;
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
limit?: number;
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
page_token?: string;
|
|
32
|
-
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
type?: ListInvitationsType;
|
|
13
|
+
/**
|
|
14
|
+
* The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
|
|
15
|
+
* it as "Project id" in its summary and as `project_id` with `--json`, and
|
|
16
|
+
* writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
|
|
17
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
18
|
+
*/
|
|
19
|
+
project_id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of items to return.
|
|
22
|
+
* @minimum 1
|
|
23
|
+
* @maximum 100
|
|
24
|
+
*/
|
|
25
|
+
limit?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Token for fetching the next page of results.
|
|
28
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
29
|
+
* Omit to start from the beginning.
|
|
30
|
+
* Its format is opaque and may change between releases.
|
|
31
|
+
*/
|
|
32
|
+
page_token?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Only invitations with this status. Repeat the parameter to match any
|
|
35
|
+
* of several statuses.
|
|
36
|
+
*/
|
|
37
|
+
status?: ListInvitationsStatusItem[];
|
|
38
|
+
/** Only invitations of this type. */
|
|
39
|
+
type?: ListInvitationsType;
|
|
40
|
+
/** Related objects to embed on each returned invitation. */
|
|
41
|
+
expand?: ListInvitationsExpandItem[];
|
|
42
42
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* Lifecycle status of the invitation. `expired` is derived on read from
|
|
11
|
+
* `expires_at`; `accepted` and `rejected` are final. Cancel and replace delete
|
|
12
|
+
* the row rather than leaving a cancelled status.
|
|
13
|
+
*/
|
|
14
|
+
export type ListInvitationsStatusItem = typeof ListInvitationsStatusItem[keyof typeof ListInvitationsStatusItem];
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export const ListInvitationsStatusItem = {
|
|
18
|
+
pending: 'pending',
|
|
19
|
+
accepted: 'accepted',
|
|
20
|
+
rejected: 'rejected',
|
|
21
|
+
expired: 'expired',
|
|
22
|
+
} as const;
|
|
@@ -7,33 +7,33 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListMyIdentityLinksParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
limit?: number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
page_token?: string;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
project_id?: 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
|
+
/**
|
|
24
|
+
* The project the caller signs its users in to. The cookie's session is used
|
|
25
|
+
* only when it belongs to this project; a session of any other project answers
|
|
26
|
+
* `403` with `sess.project_mismatch`.
|
|
27
|
+
*
|
|
28
|
+
* A session belongs to one project, while a browser sends its cookie to every
|
|
29
|
+
* app on the same host. An app passes its own project, so that a session of
|
|
30
|
+
* another project never reads or acts as one of its users, and signing out of
|
|
31
|
+
* the app never ends it. The SDKs pass it when they read the session or sign
|
|
32
|
+
* out.
|
|
33
|
+
*
|
|
34
|
+
* `sess.project_mismatch` does not mean the session is invalid: it is live in
|
|
35
|
+
* its own project, so keep its cookie.
|
|
36
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
37
|
+
*/
|
|
38
|
+
project_id?: string;
|
|
39
39
|
};
|
|
@@ -7,33 +7,33 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListMyPasskeysParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
limit?: number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
page_token?: string;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
project_id?: 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
|
+
/**
|
|
24
|
+
* The project the caller signs its users in to. The cookie's session is used
|
|
25
|
+
* only when it belongs to this project; a session of any other project answers
|
|
26
|
+
* `403` with `sess.project_mismatch`.
|
|
27
|
+
*
|
|
28
|
+
* A session belongs to one project, while a browser sends its cookie to every
|
|
29
|
+
* app on the same host. An app passes its own project, so that a session of
|
|
30
|
+
* another project never reads or acts as one of its users, and signing out of
|
|
31
|
+
* the app never ends it. The SDKs pass it when they read the session or sign
|
|
32
|
+
* out.
|
|
33
|
+
*
|
|
34
|
+
* `sess.project_mismatch` does not mean the session is invalid: it is live in
|
|
35
|
+
* its own project, so keep its cookie.
|
|
36
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
37
|
+
*/
|
|
38
|
+
project_id?: string;
|
|
39
39
|
};
|
|
@@ -8,56 +8,56 @@
|
|
|
8
8
|
import type { ListMyProjectsOrder } from './listMyProjectsOrder.ts';
|
|
9
9
|
|
|
10
10
|
export type ListMyProjectsParams = {
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
limit?: number;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
page_token?: string;
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
name_contains?: string;
|
|
32
|
-
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
order?: ListMyProjectsOrder;
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
exclude_platform?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
project_id?: string;
|
|
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
|
+
* Narrows the list to the projects whose name contains this text,
|
|
26
|
+
* ignoring case, as `contains` matches text in a query endpoint's
|
|
27
|
+
* filter. Send the same value with every `page_token` the search
|
|
28
|
+
* returns: a token continues the list it came from. An empty value
|
|
29
|
+
* lists every project, as leaving it out does.
|
|
30
|
+
*/
|
|
31
|
+
name_contains?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Sorts the list by `created_at` and then `id`: `desc` lists the newest
|
|
34
|
+
* project first, `asc` the oldest first. Leave it out to list by
|
|
35
|
+
* project ID, which says nothing about when a project was created. Send
|
|
36
|
+
* the same value with every `page_token` the list returns: a token
|
|
37
|
+
* continues the list it came from, and under another order it is
|
|
38
|
+
* refused with `400`.
|
|
39
|
+
*/
|
|
40
|
+
order?: ListMyProjectsOrder;
|
|
41
|
+
/**
|
|
42
|
+
* Leaves out the deployment's reserved platform project, the one the
|
|
43
|
+
* console signs in to. Defaults to `false`. Send the same value with
|
|
44
|
+
* every `page_token` the list returns.
|
|
45
|
+
*/
|
|
46
|
+
exclude_platform?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The project the caller signs its users in to. The cookie's session is used
|
|
49
|
+
* only when it belongs to this project; a session of any other project answers
|
|
50
|
+
* `403` with `sess.project_mismatch`.
|
|
51
|
+
*
|
|
52
|
+
* A session belongs to one project, while a browser sends its cookie to every
|
|
53
|
+
* app on the same host. An app passes its own project, so that a session of
|
|
54
|
+
* another project never reads or acts as one of its users, and signing out of
|
|
55
|
+
* the app never ends it. The SDKs pass it when they read the session or sign
|
|
56
|
+
* out.
|
|
57
|
+
*
|
|
58
|
+
* `sess.project_mismatch` does not mean the session is invalid: it is live in
|
|
59
|
+
* its own project, so keep its cookie.
|
|
60
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
61
|
+
*/
|
|
62
|
+
project_id?: string;
|
|
63
63
|
};
|
|
@@ -7,33 +7,33 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListMyTeamsParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
limit?: number;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
page_token?: string;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
project_id?: 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
|
+
/**
|
|
24
|
+
* The project the caller signs its users in to. The cookie's session is used
|
|
25
|
+
* only when it belongs to this project; a session of any other project answers
|
|
26
|
+
* `403` with `sess.project_mismatch`.
|
|
27
|
+
*
|
|
28
|
+
* A session belongs to one project, while a browser sends its cookie to every
|
|
29
|
+
* app on the same host. An app passes its own project, so that a session of
|
|
30
|
+
* another project never reads or acts as one of its users, and signing out of
|
|
31
|
+
* the app never ends it. The SDKs pass it when they read the session or sign
|
|
32
|
+
* out.
|
|
33
|
+
*
|
|
34
|
+
* `sess.project_mismatch` does not mean the session is invalid: it is live in
|
|
35
|
+
* its own project, so keep its cookie.
|
|
36
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
37
|
+
*/
|
|
38
|
+
project_id?: string;
|
|
39
39
|
};
|
|
@@ -8,28 +8,26 @@
|
|
|
8
8
|
import type { ListPoliciesOperation } from './listPoliciesOperation.ts';
|
|
9
9
|
|
|
10
10
|
export type ListPoliciesParams = {
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
project_id: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
limit?: number;
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
page_token?: string;
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
*/
|
|
34
|
-
operation?: ListPoliciesOperation;
|
|
11
|
+
/**
|
|
12
|
+
* The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
|
|
13
|
+
* it as "Project id" in its summary and as `project_id` with `--json`, and
|
|
14
|
+
* writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
|
|
15
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
16
|
+
*/
|
|
17
|
+
project_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Maximum number of items to return.
|
|
20
|
+
* @minimum 1
|
|
21
|
+
* @maximum 100
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Token for fetching the next page of results.
|
|
26
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
27
|
+
* Omit to start from the beginning.
|
|
28
|
+
* Its format is opaque and may change between releases.
|
|
29
|
+
*/
|
|
30
|
+
page_token?: string;
|
|
31
|
+
/** An operation a policy can guard; the policy catalog lists them. */
|
|
32
|
+
operation?: ListPoliciesOperation;
|
|
35
33
|
};
|
|
@@ -7,24 +7,24 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type ListPolicyRevisionsParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
project_id: string;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
limit?: number;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
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
|
+
* Maximum number of items to return.
|
|
19
|
+
* @minimum 1
|
|
20
|
+
* @maximum 100
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Token for fetching the next page of results.
|
|
25
|
+
* Obtain this value from `next_page_token` in the previous response.
|
|
26
|
+
* Omit to start from the beginning.
|
|
27
|
+
* Its format is opaque and may change between releases.
|
|
28
|
+
*/
|
|
29
|
+
page_token?: string;
|
|
30
30
|
};
|