@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.
Files changed (151) hide show
  1. package/dist/{api-factory-BPmRCU7u.mjs → api-factory-ConF3NN2.mjs} +14 -2
  2. package/dist/api-factory-ConF3NN2.mjs.map +1 -0
  3. package/dist/{api-factory-DCzYxpdV.d.mts → api-factory-DOg9w_Du.d.mts} +8 -3
  4. package/dist/api-factory-DOg9w_Du.d.mts.map +1 -0
  5. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  6. package/dist/generated/endpoints/zitadelNextGen.mjs +1 -1
  7. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +225 -109
  8. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +737 -41
  10. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +607 -194
  12. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  13. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +801 -359
  14. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  15. package/dist/generated/model/index.d.mts +2 -2
  16. package/dist/generated/model/index.mjs +17 -3
  17. package/dist/generated/model/index.mjs.map +1 -1
  18. package/dist/generated/operations.d.mts.map +1 -1
  19. package/dist/generated/operations.mjs +46 -4
  20. package/dist/generated/operations.mjs.map +1 -1
  21. package/dist/{index-BwYxe7Dw.d.mts → index-REGtKmAu.d.mts} +1466 -327
  22. package/dist/index-REGtKmAu.d.mts.map +1 -0
  23. package/dist/runtime/api-factory.d.mts +1 -1
  24. package/dist/runtime/api-factory.mjs +1 -1
  25. package/dist/runtime/config.d.mts +1 -1
  26. package/dist/runtime/config.mjs +1 -1
  27. package/dist/{zitadelNextGen-DsPFGqLs.mjs → zitadelNextGen-CVFzR-dx.mjs} +154 -570
  28. package/dist/zitadelNextGen-CVFzR-dx.mjs.map +1 -0
  29. package/dist/{zitadelNextGen-SGK-fW1x.d.mts → zitadelNextGen-tszErftX.d.mts} +78 -32
  30. package/dist/zitadelNextGen-tszErftX.d.mts.map +1 -0
  31. package/package.json +2 -2
  32. package/src/generated/endpoints/zitadelNextGen.faker.ts +14 -10
  33. package/src/generated/endpoints/zitadelNextGen.msw.ts +278 -216
  34. package/src/generated/endpoints/zitadelNextGen.ts +222 -748
  35. package/src/generated/endpoints/zitadelNextGen.zod.ts +687 -324
  36. package/src/generated/model/acceptInvitation200.ts +84 -12
  37. package/src/generated/model/acceptInvitationDefault.ts +18 -0
  38. package/src/generated/model/buildReleaseBodyBundle.ts +1 -2
  39. package/src/generated/model/buildReleaseBodyBundleOauth.ts +1 -2
  40. package/src/generated/model/buildReleaseParams.ts +7 -7
  41. package/src/generated/model/cancelInvitationParams.ts +7 -7
  42. package/src/generated/model/createAuthAttempt201ChallengesItemPayload.ts +1 -1
  43. package/src/generated/model/createAuthAttemptChallenge201Payload.ts +1 -1
  44. package/src/generated/model/createDeploymentParams.ts +7 -7
  45. package/src/generated/model/createGrantParams.ts +7 -7
  46. package/src/generated/model/createInvitation201.ts +84 -12
  47. package/src/generated/model/createInvitationBody.ts +4 -4
  48. package/src/generated/model/createInvitationParams.ts +7 -7
  49. package/src/generated/model/createReleaseParams.ts +7 -7
  50. package/src/generated/model/createTeamParams.ts +7 -7
  51. package/src/generated/model/createUserParams.ts +23 -23
  52. package/src/generated/model/deleteGrantParams.ts +7 -7
  53. package/src/generated/model/deleteVariableParams.ts +12 -12
  54. package/src/generated/model/evaluatePolicyParams.ts +7 -7
  55. package/src/generated/model/exchangeHandoffParams.ts +7 -7
  56. package/src/generated/model/getApplicationParams.ts +7 -7
  57. package/src/generated/model/getAuthAttempt200ChallengesItemPayload.ts +1 -1
  58. package/src/generated/model/getDeploymentParams.ts +7 -7
  59. package/src/generated/model/getEvent200.ts +192 -10
  60. package/src/generated/model/getEventParams.ts +7 -7
  61. package/src/generated/model/getGrantParams.ts +13 -13
  62. package/src/generated/model/getIdpParams.ts +7 -7
  63. package/src/generated/model/getIdpRevisionParams.ts +7 -7
  64. package/src/generated/model/getInvitation200.ts +84 -12
  65. package/src/generated/model/getInvitationParams.ts +7 -7
  66. package/src/generated/model/getMyPasswordStateParams.ts +16 -16
  67. package/src/generated/model/getMySessionCsrfTokenParams.ts +16 -16
  68. package/src/generated/model/getMySessionParams.ts +16 -16
  69. package/src/generated/model/getMyUserParams.ts +16 -16
  70. package/src/generated/model/getMyUserSchemaParams.ts +16 -16
  71. package/src/generated/model/getOAuthSettings200.ts +1 -2
  72. package/src/generated/model/getOAuthSettings200Oauth.ts +1 -2
  73. package/src/generated/model/getOAuthSettingsDefault.ts +18 -0
  74. package/src/generated/model/getPolicyParams.ts +7 -7
  75. package/src/generated/model/getPolicyRevisionParams.ts +7 -7
  76. package/src/generated/model/getProjectClaimStatusParams.ts +5 -5
  77. package/src/generated/model/getProjectClaimWindowParams.ts +5 -5
  78. package/src/generated/model/getReleaseParams.ts +7 -7
  79. package/src/generated/model/getSchemaParams.ts +11 -11
  80. package/src/generated/model/getUserParams.ts +21 -21
  81. package/src/generated/model/getVariableParams.ts +12 -12
  82. package/src/generated/model/index.ts +18 -7
  83. package/src/generated/model/listBrandingParams.ts +20 -20
  84. package/src/generated/model/listDeploymentVariablesParams.ts +7 -7
  85. package/src/generated/model/listDeploymentsParams.ts +42 -44
  86. package/src/generated/model/listEvents200EventsItem.ts +192 -10
  87. package/src/generated/model/listEventsParams.ts +83 -105
  88. package/src/generated/model/listFlowDefinitionsParams.ts +44 -48
  89. package/src/generated/model/listIdpRevisionsParams.ts +20 -20
  90. package/src/generated/model/listInvitations200InvitationsItem.ts +84 -12
  91. package/src/generated/model/listInvitationsExpandItem.ts +25 -0
  92. package/src/generated/model/listInvitationsParams.ts +31 -31
  93. package/src/generated/model/listInvitationsStatusItem.ts +22 -0
  94. package/src/generated/model/listMyIdentityLinksParams.ts +29 -29
  95. package/src/generated/model/listMyPasskeysParams.ts +29 -29
  96. package/src/generated/model/listMyProjectsParams.ts +52 -52
  97. package/src/generated/model/listMyTeamsParams.ts +29 -29
  98. package/src/generated/model/listPoliciesParams.ts +22 -24
  99. package/src/generated/model/listPolicyRevisionsParams.ts +20 -20
  100. package/src/generated/model/listProjectAdminsParams.ts +13 -13
  101. package/src/generated/model/listProjectMembers200.ts +20 -0
  102. package/src/generated/model/listProjectMembers200MembersItem.ts +38 -0
  103. package/src/generated/model/listProjectMembers200MembersItemRelation.ts +20 -0
  104. package/src/generated/model/listProjectMembers200MembersItemSourcesItem.ts +55 -0
  105. package/src/generated/model/listProjectMembers200MembersItemUser.ts +40 -0
  106. package/src/generated/model/{acceptInvitation429.ts → listProjectMembers400.ts} +3 -3
  107. package/src/generated/model/{lookupInvitation429Details.ts → listProjectMembers400Details.ts} +1 -1
  108. package/src/generated/model/{lookupInvitation429.ts → listProjectMembers401.ts} +3 -3
  109. package/src/generated/model/{acceptInvitation429Details.ts → listProjectMembers401Details.ts} +1 -1
  110. package/src/generated/model/{rejectInvitation429.ts → listProjectMembers403.ts} +3 -3
  111. package/src/generated/model/{rejectInvitation429Details.ts → listProjectMembers403Details.ts} +1 -1
  112. package/src/generated/model/listProjectMembers404.ts +20 -0
  113. package/src/generated/model/listProjectMembers404Details.ts +12 -0
  114. package/src/generated/model/listProjectMembersDefault.ts +81 -0
  115. package/src/generated/model/listProjectMembersParams.ts +29 -0
  116. package/src/generated/model/listProjectMembersRelation.ts +16 -0
  117. package/src/generated/model/listProjectPreviewsParams.ts +13 -13
  118. package/src/generated/model/listReleasesParams.ts +60 -60
  119. package/src/generated/model/listSchemasParams.ts +54 -56
  120. package/src/generated/model/listUserIdentityLinksParams.ts +13 -13
  121. package/src/generated/model/listUserPasskeysParams.ts +13 -13
  122. package/src/generated/model/listUserTeamsParams.ts +13 -13
  123. package/src/generated/model/listVariablesParams.ts +12 -12
  124. package/src/generated/model/lookupInvitation200.ts +58 -0
  125. package/src/generated/model/publishApplicationParams.ts +7 -7
  126. package/src/generated/model/publishBrandingParams.ts +7 -7
  127. package/src/generated/model/publishIdpParams.ts +7 -7
  128. package/src/generated/model/publishPolicyParams.ts +7 -7
  129. package/src/generated/model/publishSchemaParams.ts +12 -12
  130. package/src/generated/model/queryGrantsParams.ts +7 -7
  131. package/src/generated/model/queryIdpsParams.ts +7 -7
  132. package/src/generated/model/querySessionsParams.ts +7 -7
  133. package/src/generated/model/queryTeamsParams.ts +6 -6
  134. package/src/generated/model/queryUsersParams.ts +6 -6
  135. package/src/generated/model/rejectInvitation200.ts +84 -12
  136. package/src/generated/model/rejectInvitationDefault.ts +18 -0
  137. package/src/generated/model/revokeMySessionParams.ts +16 -16
  138. package/src/generated/model/revokeReleaseParams.ts +7 -7
  139. package/src/generated/model/rollbackDeploymentParams.ts +7 -7
  140. package/src/generated/model/searchParams.ts +7 -7
  141. package/src/generated/model/setVariablesParams.ts +12 -12
  142. package/src/generated/model/updateMyUserParams.ts +16 -16
  143. package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +1 -1
  144. package/src/generated/operations.ts +46 -4
  145. package/src/generated/paging.ts +5 -0
  146. package/dist/api-factory-BPmRCU7u.mjs.map +0 -1
  147. package/dist/api-factory-DCzYxpdV.d.mts.map +0 -1
  148. package/dist/index-BwYxe7Dw.d.mts.map +0 -1
  149. package/dist/zitadelNextGen-DsPFGqLs.mjs.map +0 -1
  150. package/dist/zitadelNextGen-SGK-fW1x.d.mts.map +0 -1
  151. 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 or decline.
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
- /** The user who redeemed the link. Null until accepted. */
59
- accepted_by?: string | null;
60
- /** When the invitation was accepted. Null until accepted. */
61
- accepted_at?: string | null;
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 or decline.
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
- /** The user who redeemed the link. Null until accepted. */
114
- accepted_by?: string | null;
115
- /** When the invitation was accepted. Null until accepted. */
116
- accepted_at?: string | null;
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 { ListInvitationsStatus } from './listInvitationsStatus.ts';
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
- * The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
14
- * it as "Project id" in its summary and as `project_id` with `--json`, and
15
- * writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
16
- * @pattern ^[a-zA-Z0-9_-]+$
17
- */
18
- project_id: string;
19
- /**
20
- * Maximum number of items to return.
21
- * @minimum 1
22
- * @maximum 100
23
- */
24
- limit?: number;
25
- /**
26
- * Token for fetching the next page of results.
27
- * Obtain this value from `next_page_token` in the previous response.
28
- * Omit to start from the beginning.
29
- * Its format is opaque and may change between releases.
30
- */
31
- page_token?: string;
32
- /**
33
- * Lifecycle status of the invitation. `expired` is derived on read from
34
- * `expires_at`; `accepted` and `rejected` are final. Cancel and replace delete
35
- * the row rather than leaving a cancelled status.
36
- */
37
- status?: ListInvitationsStatus;
38
- /**
39
- * Only invitations of this type.
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
- * 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;
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
- * 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;
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
- * 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;
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
- * 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;
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
- * 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
- /**
32
- * An operation a policy can guard; the policy catalog lists them.
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
- * 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;
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
  };