@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
@@ -10,60 +10,58 @@ import type { ListSchemasKind } from './listSchemasKind.ts';
10
10
  import type { ListSchemasRevisions } from './listSchemasRevisions.ts';
11
11
 
12
12
  export type ListSchemasParams = {
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
- * The type of object of the schema to filter by.
35
- * @maxLength 256
36
- */
37
- object_type?: string;
38
- /**
39
- * Which revisions to return. Schemas are immutable and versioned by URL,
40
- * so editing one creates a new revision that shares its `objectType`.
41
- *
42
- * `all` (the default) returns every revision: the full history an export,
43
- * an audit or a GitOps diff needs. `latest` returns the newest revision of
44
- * each `objectType`, which is one entry per schema.
45
- *
46
- * A schema stored without an `objectType` is a revision of nothing, and
47
- * is returned by both.
48
- *
49
- * A `page_token` is bound to the mode it was issued in and is rejected by
50
- * the other.
51
- */
52
- revisions?: ListSchemasRevisions;
53
- /**
54
- * The kind of schema to filter by, read from the stored document's
55
- * `kind` property.
56
- *
57
- * `schema-url` is not a kind: it discriminates the create request body,
58
- * not a stored schema. A schema registered by URL is stored as whatever
59
- * document the URL served, and declares its own kind.
60
- *
61
- * A schema stored without its document being parsed has no kind that
62
- * could be read, and is excluded from every filtered result.
63
- */
64
- kind?: ListSchemasKind;
65
- /**
66
- * Extra fields to add onto each returned schema.
67
- */
68
- expand?: ListSchemasExpandItem[];
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
+ * The type of object of the schema to filter by.
35
+ * @maxLength 256
36
+ */
37
+ object_type?: string;
38
+ /**
39
+ * Which revisions to return. Schemas are immutable and versioned by URL,
40
+ * so editing one creates a new revision that shares its `objectType`.
41
+ *
42
+ * `all` (the default) returns every revision: the full history an export,
43
+ * an audit or a GitOps diff needs. `latest` returns the newest revision of
44
+ * each `objectType`, which is one entry per schema.
45
+ *
46
+ * A schema stored without an `objectType` is a revision of nothing, and
47
+ * is returned by both.
48
+ *
49
+ * A `page_token` is bound to the mode it was issued in and is rejected by
50
+ * the other.
51
+ */
52
+ revisions?: ListSchemasRevisions;
53
+ /**
54
+ * The kind of schema to filter by, read from the stored document's
55
+ * `kind` property.
56
+ *
57
+ * `schema-url` is not a kind: it discriminates the create request body,
58
+ * not a stored schema. A schema registered by URL is stored as whatever
59
+ * document the URL served, and declares its own kind.
60
+ *
61
+ * A schema stored without its document being parsed has no kind that
62
+ * could be read, and is excluded from every filtered result.
63
+ */
64
+ kind?: ListSchemasKind;
65
+ /** Extra fields to add onto each returned schema. */
66
+ expand?: ListSchemasExpandItem[];
69
67
  };
@@ -7,17 +7,17 @@
7
7
  */
8
8
 
9
9
  export type ListUserIdentityLinksParams = {
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;
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,17 +7,17 @@
7
7
  */
8
8
 
9
9
  export type ListUserPasskeysParams = {
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;
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,17 +7,17 @@
7
7
  */
8
8
 
9
9
  export type ListUserTeamsParams = {
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;
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
  };
@@ -8,16 +8,16 @@
8
8
  import type { ListVariablesKind } from './listVariablesKind.ts';
9
9
 
10
10
  export type ListVariablesParams = {
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
- * Which deployments a value reaches: `primary` for primary origins,
20
- * `preview` for preview URLs. There is no fallback between kinds.
21
- */
22
- kind?: ListVariablesKind;
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
+ * Which deployments a value reaches: `primary` for primary origins,
20
+ * `preview` for preview URLs. There is no fallback between kinds.
21
+ */
22
+ kind?: ListVariablesKind;
23
23
  };
@@ -19,6 +19,35 @@ export type LookupInvitation200 = ({
19
19
  created_by?: string | null;
20
20
  /** What kind of principal `created_by` names. */
21
21
  created_by_type?: 'human' | 'service' | 'system' | 'agent' | null;
22
+ /**
23
+ * The user who created the invitation, resolved so the accept page can
24
+ * name them: render `display`, falling back to `identifier`, then
25
+ * `user_id`. Null when a project secret created it.
26
+ */
27
+ inviter?: {
28
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */
29
+ user_id: string;
30
+ /**
31
+ * The current value of the schema's designated identifier
32
+ * (`x-identifier`). Absent when the schema designates no identifier or
33
+ * the user carries no value for it.
34
+ */
35
+ identifier?: string;
36
+ /**
37
+ * The schema property `identifier` came from, so clients can reach the
38
+ * property's schema for semantics (a mailto link, a field label)
39
+ * instead of guessing from the value. Present exactly when
40
+ * `identifier` is.
41
+ */
42
+ identifier_property?: string;
43
+ /**
44
+ * The `x-display` rendering: the designated properties' values joined
45
+ * in list order. It is for display only and names no source.
46
+ * Absent when the schema designates no display properties or the user
47
+ * carries no values for them.
48
+ */
49
+ display?: string;
50
+ } | null;
22
51
  /** When the invitation expires. */
23
52
  expires_at: string;
24
53
  /**
@@ -43,6 +72,35 @@ export type LookupInvitation200 = ({
43
72
  created_by?: string | null;
44
73
  /** What kind of principal `created_by` names. */
45
74
  created_by_type?: 'human' | 'service' | 'system' | 'agent' | null;
75
+ /**
76
+ * The user who created the invitation, resolved so the accept page can
77
+ * name them: render `display`, falling back to `identifier`, then
78
+ * `user_id`. Null when a project secret created it.
79
+ */
80
+ inviter?: {
81
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */
82
+ user_id: string;
83
+ /**
84
+ * The current value of the schema's designated identifier
85
+ * (`x-identifier`). Absent when the schema designates no identifier or
86
+ * the user carries no value for it.
87
+ */
88
+ identifier?: string;
89
+ /**
90
+ * The schema property `identifier` came from, so clients can reach the
91
+ * property's schema for semantics (a mailto link, a field label)
92
+ * instead of guessing from the value. Present exactly when
93
+ * `identifier` is.
94
+ */
95
+ identifier_property?: string;
96
+ /**
97
+ * The `x-display` rendering: the designated properties' values joined
98
+ * in list order. It is for display only and names no source.
99
+ * Absent when the schema designates no display properties or the user
100
+ * carries no values for them.
101
+ */
102
+ display?: string;
103
+ } | null;
46
104
  /** When the invitation expires. */
47
105
  expires_at: string;
48
106
  /**
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type PublishApplicationParams = {
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;
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
17
  };
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type PublishBrandingParams = {
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;
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
17
  };
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type PublishIdpParams = {
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;
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
17
  };
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type PublishPolicyParams = {
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;
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
17
  };
@@ -7,16 +7,16 @@
7
7
  */
8
8
 
9
9
  export type PublishSchemaParams = {
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 team ID: the `id` that `createTeam` (`POST /teams`) or `queryTeams` (`POST /teams/query`) returns.
19
- * @pattern ^[a-zA-Z0-9_-]+$
20
- */
21
- team_id?: 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 team ID: the `id` that `createTeam` (`POST /teams`) or `queryTeams` (`POST /teams/query`) returns.
19
+ * @pattern ^[a-zA-Z0-9_-]+$
20
+ */
21
+ team_id?: string;
22
22
  };
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type QueryGrantsParams = {
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;
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
17
  };
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type QueryIdpsParams = {
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;
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
17
  };
@@ -7,11 +7,11 @@
7
7
  */
8
8
 
9
9
  export type QuerySessionsParams = {
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;
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
17
  };
@@ -7,10 +7,10 @@
7
7
  */
8
8
 
9
9
  export type QueryTeamsParams = {
10
- /**
11
- * The project the request addresses, by the `id` that `createProject` (`POST /projects`)
12
- * returns. Omit it to address the credential's own project.
13
- * @pattern ^[a-zA-Z0-9_-]+$
14
- */
15
- project_id?: string;
10
+ /**
11
+ * The project the request addresses, by the `id` that `createProject` (`POST /projects`)
12
+ * returns. Omit it to address the credential's own project.
13
+ * @pattern ^[a-zA-Z0-9_-]+$
14
+ */
15
+ project_id?: string;
16
16
  };
@@ -7,10 +7,10 @@
7
7
  */
8
8
 
9
9
  export type QueryUsersParams = {
10
- /**
11
- * The project the request addresses, by the `id` that `createProject` (`POST /projects`)
12
- * returns. Omit it to address the credential's own project.
13
- * @pattern ^[a-zA-Z0-9_-]+$
14
- */
15
- project_id?: string;
10
+ /**
11
+ * The project the request addresses, by the `id` that `createProject` (`POST /projects`)
12
+ * returns. Omit it to address the credential's own project.
13
+ * @pattern ^[a-zA-Z0-9_-]+$
14
+ */
15
+ project_id?: string;
16
16
  };
@@ -21,8 +21,8 @@ export type RejectInvitation200 = ({
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 RejectInvitation200 = ({
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 RejectInvitation200 = ({
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 RejectInvitation200 = ({
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. */