@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.10

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 (246) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +21 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +40 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +80 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +50 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +15 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +15 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/protocol.d.ts +18 -0
  15. package/lib/protocol.d.ts.map +1 -0
  16. package/lib/protocol.js +69 -0
  17. package/lib/protocol.js.map +1 -0
  18. package/lib/retry.d.ts +54 -0
  19. package/lib/retry.d.ts.map +1 -0
  20. package/lib/retry.js +47 -0
  21. package/lib/retry.js.map +1 -0
  22. package/lib/services/access_groups.d.ts +459 -0
  23. package/lib/services/access_groups.d.ts.map +1 -0
  24. package/lib/services/access_groups.js +449 -0
  25. package/lib/services/access_groups.js.map +1 -0
  26. package/lib/services/ai_gateway.d.ts +122 -0
  27. package/lib/services/ai_gateway.d.ts.map +1 -0
  28. package/lib/services/ai_gateway.js +125 -0
  29. package/lib/services/ai_gateway.js.map +1 -0
  30. package/lib/services/aliases.d.ts +591 -0
  31. package/lib/services/aliases.d.ts.map +1 -0
  32. package/lib/services/aliases.js +482 -0
  33. package/lib/services/aliases.js.map +1 -0
  34. package/lib/services/api_ai_gateway.d.ts +275 -0
  35. package/lib/services/api_ai_gateway.d.ts.map +1 -0
  36. package/lib/services/api_ai_gateway.js +227 -0
  37. package/lib/services/api_ai_gateway.js.map +1 -0
  38. package/lib/services/artifacts.d.ts +228 -0
  39. package/lib/services/artifacts.d.ts.map +1 -0
  40. package/lib/services/artifacts.js +214 -0
  41. package/lib/services/artifacts.js.map +1 -0
  42. package/lib/services/authentication.d.ts +373 -0
  43. package/lib/services/authentication.d.ts.map +1 -0
  44. package/lib/services/authentication.js +304 -0
  45. package/lib/services/authentication.js.map +1 -0
  46. package/lib/services/billing.d.ts +930 -0
  47. package/lib/services/billing.d.ts.map +1 -0
  48. package/lib/services/billing.js +695 -0
  49. package/lib/services/billing.js.map +1 -0
  50. package/lib/services/bulk_redirects.d.ts +308 -0
  51. package/lib/services/bulk_redirects.d.ts.map +1 -0
  52. package/lib/services/bulk_redirects.js +302 -0
  53. package/lib/services/bulk_redirects.js.map +1 -0
  54. package/lib/services/certs.d.ts +171 -0
  55. package/lib/services/certs.d.ts.map +1 -0
  56. package/lib/services/certs.js +163 -0
  57. package/lib/services/certs.js.map +1 -0
  58. package/lib/services/checks_v2.d.ts +1167 -0
  59. package/lib/services/checks_v2.d.ts.map +1 -0
  60. package/lib/services/checks_v2.js +1141 -0
  61. package/lib/services/checks_v2.js.map +1 -0
  62. package/lib/services/connect.d.ts +2228 -0
  63. package/lib/services/connect.d.ts.map +1 -0
  64. package/lib/services/connect.js +1575 -0
  65. package/lib/services/connect.js.map +1 -0
  66. package/lib/services/deployments.d.ts +9419 -0
  67. package/lib/services/deployments.d.ts.map +1 -0
  68. package/lib/services/deployments.js +8248 -0
  69. package/lib/services/deployments.js.map +1 -0
  70. package/lib/services/dns.d.ts +279 -0
  71. package/lib/services/dns.d.ts.map +1 -0
  72. package/lib/services/dns.js +277 -0
  73. package/lib/services/dns.js.map +1 -0
  74. package/lib/services/domains.d.ts +564 -0
  75. package/lib/services/domains.d.ts.map +1 -0
  76. package/lib/services/domains.js +469 -0
  77. package/lib/services/domains.js.map +1 -0
  78. package/lib/services/domains_registrar.d.ts +798 -0
  79. package/lib/services/domains_registrar.d.ts.map +1 -0
  80. package/lib/services/domains_registrar.js +916 -0
  81. package/lib/services/domains_registrar.js.map +1 -0
  82. package/lib/services/drains.d.ts +2263 -0
  83. package/lib/services/drains.d.ts.map +1 -0
  84. package/lib/services/drains.js +2121 -0
  85. package/lib/services/drains.js.map +1 -0
  86. package/lib/services/edge_cache.d.ts +125 -0
  87. package/lib/services/edge_cache.d.ts.map +1 -0
  88. package/lib/services/edge_cache.js +138 -0
  89. package/lib/services/edge_cache.js.map +1 -0
  90. package/lib/services/environment.d.ts +1020 -0
  91. package/lib/services/environment.d.ts.map +1 -0
  92. package/lib/services/environment.js +805 -0
  93. package/lib/services/environment.js.map +1 -0
  94. package/lib/services/feature_flags.d.ts +2893 -0
  95. package/lib/services/feature_flags.d.ts.map +1 -0
  96. package/lib/services/feature_flags.js +2707 -0
  97. package/lib/services/feature_flags.js.map +1 -0
  98. package/lib/services/global_config.d.ts +618 -0
  99. package/lib/services/global_config.d.ts.map +1 -0
  100. package/lib/services/global_config.js +709 -0
  101. package/lib/services/global_config.js.map +1 -0
  102. package/lib/services/index.d.ts +42 -0
  103. package/lib/services/index.d.ts.map +1 -0
  104. package/lib/services/index.js +43 -0
  105. package/lib/services/index.js.map +1 -0
  106. package/lib/services/integrations.d.ts +3014 -0
  107. package/lib/services/integrations.d.ts.map +1 -0
  108. package/lib/services/integrations.js +2544 -0
  109. package/lib/services/integrations.js.map +1 -0
  110. package/lib/services/kms.d.ts +1095 -0
  111. package/lib/services/kms.d.ts.map +1 -0
  112. package/lib/services/kms.js +956 -0
  113. package/lib/services/kms.js.map +1 -0
  114. package/lib/services/log_drains.d.ts +848 -0
  115. package/lib/services/log_drains.d.ts.map +1 -0
  116. package/lib/services/log_drains.js +782 -0
  117. package/lib/services/log_drains.js.map +1 -0
  118. package/lib/services/logs.d.ts +40 -0
  119. package/lib/services/logs.d.ts.map +1 -0
  120. package/lib/services/logs.js +43 -0
  121. package/lib/services/logs.js.map +1 -0
  122. package/lib/services/marketplace.d.ts +1053 -0
  123. package/lib/services/marketplace.d.ts.map +1 -0
  124. package/lib/services/marketplace.js +1116 -0
  125. package/lib/services/marketplace.js.map +1 -0
  126. package/lib/services/microfrontends.d.ts +3250 -0
  127. package/lib/services/microfrontends.d.ts.map +1 -0
  128. package/lib/services/microfrontends.js +3154 -0
  129. package/lib/services/microfrontends.js.map +1 -0
  130. package/lib/services/misc.d.ts +192 -0
  131. package/lib/services/misc.d.ts.map +1 -0
  132. package/lib/services/misc.js +124 -0
  133. package/lib/services/misc.js.map +1 -0
  134. package/lib/services/networking.d.ts +360 -0
  135. package/lib/services/networking.d.ts.map +1 -0
  136. package/lib/services/networking.js +353 -0
  137. package/lib/services/networking.js.map +1 -0
  138. package/lib/services/observability.d.ts +168 -0
  139. package/lib/services/observability.d.ts.map +1 -0
  140. package/lib/services/observability.js +190 -0
  141. package/lib/services/observability.js.map +1 -0
  142. package/lib/services/project_members.d.ts +142 -0
  143. package/lib/services/project_members.d.ts.map +1 -0
  144. package/lib/services/project_members.js +135 -0
  145. package/lib/services/project_members.js.map +1 -0
  146. package/lib/services/project_routes.d.ts +1990 -0
  147. package/lib/services/project_routes.d.ts.map +1 -0
  148. package/lib/services/project_routes.js +1883 -0
  149. package/lib/services/project_routes.js.map +1 -0
  150. package/lib/services/projects.d.ts +23677 -0
  151. package/lib/services/projects.d.ts.map +1 -0
  152. package/lib/services/projects.js +22223 -0
  153. package/lib/services/projects.js.map +1 -0
  154. package/lib/services/rolling_release.d.ts +764 -0
  155. package/lib/services/rolling_release.d.ts.map +1 -0
  156. package/lib/services/rolling_release.js +583 -0
  157. package/lib/services/rolling_release.js.map +1 -0
  158. package/lib/services/sandboxes.d.ts +2777 -0
  159. package/lib/services/sandboxes.d.ts.map +1 -0
  160. package/lib/services/sandboxes.js +2142 -0
  161. package/lib/services/sandboxes.js.map +1 -0
  162. package/lib/services/security.d.ts +4247 -0
  163. package/lib/services/security.d.ts.map +1 -0
  164. package/lib/services/security.js +4377 -0
  165. package/lib/services/security.js.map +1 -0
  166. package/lib/services/storage.d.ts +251 -0
  167. package/lib/services/storage.d.ts.map +1 -0
  168. package/lib/services/storage.js +257 -0
  169. package/lib/services/storage.js.map +1 -0
  170. package/lib/services/teams.d.ts +1600 -0
  171. package/lib/services/teams.d.ts.map +1 -0
  172. package/lib/services/teams.js +1314 -0
  173. package/lib/services/teams.js.map +1 -0
  174. package/lib/services/user.d.ts +8559 -0
  175. package/lib/services/user.d.ts.map +1 -0
  176. package/lib/services/user.js +7407 -0
  177. package/lib/services/user.js.map +1 -0
  178. package/lib/services/vcr.d.ts +751 -0
  179. package/lib/services/vcr.d.ts.map +1 -0
  180. package/lib/services/vcr.js +826 -0
  181. package/lib/services/vcr.js.map +1 -0
  182. package/lib/services/web_analytics.d.ts +726 -0
  183. package/lib/services/web_analytics.d.ts.map +1 -0
  184. package/lib/services/web_analytics.js +707 -0
  185. package/lib/services/web_analytics.js.map +1 -0
  186. package/lib/services/webhooks.d.ts +219 -0
  187. package/lib/services/webhooks.d.ts.map +1 -0
  188. package/lib/services/webhooks.js +177 -0
  189. package/lib/services/webhooks.js.map +1 -0
  190. package/lib/traits.d.ts +10 -0
  191. package/lib/traits.d.ts.map +1 -0
  192. package/lib/traits.js +11 -0
  193. package/lib/traits.js.map +1 -0
  194. package/package.json +78 -7
  195. package/src/credentials.ts +70 -0
  196. package/src/errors.ts +93 -0
  197. package/src/index.ts +18 -0
  198. package/src/protocol.ts +98 -0
  199. package/src/retry.ts +78 -0
  200. package/src/services/access_groups.ts +1165 -0
  201. package/src/services/ai_gateway.ts +267 -0
  202. package/src/services/aliases.ts +1315 -0
  203. package/src/services/api_ai_gateway.ts +607 -0
  204. package/src/services/artifacts.ts +542 -0
  205. package/src/services/authentication.ts +827 -0
  206. package/src/services/billing.ts +2104 -0
  207. package/src/services/bulk_redirects.ts +748 -0
  208. package/src/services/certs.ts +371 -0
  209. package/src/services/checks_v2.ts +3084 -0
  210. package/src/services/connect.ts +4805 -0
  211. package/src/services/deployments.ts +24576 -0
  212. package/src/services/dns.ts +715 -0
  213. package/src/services/domains.ts +1257 -0
  214. package/src/services/domains_registrar.ts +2257 -0
  215. package/src/services/drains.ts +5828 -0
  216. package/src/services/edge_cache.ts +303 -0
  217. package/src/services/environment.ts +2379 -0
  218. package/src/services/feature_flags.ts +7722 -0
  219. package/src/services/global_config.ts +1668 -0
  220. package/src/services/index.ts +42 -0
  221. package/src/services/integrations.ts +9022 -0
  222. package/src/services/kms.ts +2614 -0
  223. package/src/services/log_drains.ts +2434 -0
  224. package/src/services/logs.ts +78 -0
  225. package/src/services/marketplace.ts +2849 -0
  226. package/src/services/microfrontends.ts +9921 -0
  227. package/src/services/misc.ts +364 -0
  228. package/src/services/networking.ts +865 -0
  229. package/src/services/observability.ts +435 -0
  230. package/src/services/project_members.ts +326 -0
  231. package/src/services/project_routes.ts +5229 -0
  232. package/src/services/projects.ts +68139 -0
  233. package/src/services/rolling_release.ts +1860 -0
  234. package/src/services/sandboxes.ts +6988 -0
  235. package/src/services/security.ts +13931 -0
  236. package/src/services/storage.ts +850 -0
  237. package/src/services/teams.ts +4055 -0
  238. package/src/services/user.ts +23195 -0
  239. package/src/services/vcr.ts +2070 -0
  240. package/src/services/web_analytics.ts +1638 -0
  241. package/src/services/webhooks.ts +1102 -0
  242. package/src/traits.ts +46 -0
  243. package/README.md +0 -15
  244. package/bun.lock +0 -26
  245. package/index.ts +0 -1
  246. package/tsconfig.json +0 -29
@@ -0,0 +1,1600 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as Redacted from "effect/Redacted";
3
+ import * as API from "@distilled.cloud/core/api";
4
+ import { type VercelOpError, type VercelOpContext } from "../protocol.ts";
5
+ export type { VercelOpError, VercelOpContext };
6
+ declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
7
+ readonly code: any;
8
+ readonly message: any;
9
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
10
+ "@distilled.cloud/error/categories": {
11
+ BadRequestError: true;
12
+ };
13
+ });
14
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
15
+ }
16
+ declare const Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
17
+ readonly code: any;
18
+ readonly message: any;
19
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
20
+ "@distilled.cloud/error/categories": {
21
+ ConflictError: true;
22
+ };
23
+ });
24
+ export declare class Conflict extends /*@__PURE__*/ Conflict_base {
25
+ }
26
+ declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
27
+ readonly code: any;
28
+ readonly message: any;
29
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
30
+ "@distilled.cloud/error/categories": {
31
+ AuthError: true;
32
+ };
33
+ });
34
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
35
+ }
36
+ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
37
+ readonly code: any;
38
+ readonly message: any;
39
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
40
+ "@distilled.cloud/error/categories": {
41
+ BadRequestError: true;
42
+ };
43
+ });
44
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
45
+ }
46
+ declare const PaymentRequired_base: S.Class<PaymentRequired, S.TaggedStruct<"PaymentRequired", {
47
+ readonly code: any;
48
+ readonly message: any;
49
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
50
+ "@distilled.cloud/error/categories": {
51
+ QuotaError: true;
52
+ };
53
+ });
54
+ export declare class PaymentRequired extends /*@__PURE__*/ PaymentRequired_base {
55
+ }
56
+ export interface CreateTeamRequestAttributionUtm {
57
+ /** UTM source */
58
+ utmSource?: string;
59
+ /** UTM medium */
60
+ utmMedium?: string;
61
+ /** UTM campaign */
62
+ utmCampaign?: string;
63
+ /** UTM term */
64
+ utmTerm?: string;
65
+ }
66
+ export declare const CreateTeamRequestAttributionUtm: S.Schema<CreateTeamRequestAttributionUtm>;
67
+ /** Attribution information for the session or current page */
68
+ export interface CreateTeamRequestAttribution {
69
+ /** Session referrer */
70
+ sessionReferrer?: string;
71
+ /** Session landing page */
72
+ landingPage?: string;
73
+ /** Referrer to the signup page */
74
+ pageBeforeConversionPage?: string;
75
+ utm?: CreateTeamRequestAttributionUtm;
76
+ }
77
+ export declare const CreateTeamRequestAttribution: S.Schema<CreateTeamRequestAttribution>;
78
+ export interface CreateTeamRequest {
79
+ /** The desired slug for the Team */
80
+ slug: string;
81
+ /** The desired name for the Team. It will be generated from the provided slug if nothing is provided */
82
+ name?: string;
83
+ /** Attribution information for the session or current page */
84
+ attribution?: CreateTeamRequestAttribution;
85
+ }
86
+ export declare const CreateTeamRequest: S.Schema<CreateTeamRequest>;
87
+ export interface CreateTeamResponse {
88
+ /** Id of the created team */
89
+ id: string;
90
+ slug: string;
91
+ }
92
+ export declare const CreateTeamResponse: S.Schema<CreateTeamResponse>;
93
+ export type CreateTeamDsyncRoleRequestRolesValueCase0 = "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR";
94
+ export declare const CreateTeamDsyncRoleRequestRolesValueCase0: any;
95
+ export interface CreateTeamDsyncRoleRequestRolesValueCase1 {
96
+ accessGroupId: string;
97
+ }
98
+ export declare const CreateTeamDsyncRoleRequestRolesValueCase1: S.Schema<CreateTeamDsyncRoleRequestRolesValueCase1>;
99
+ export type CreateTeamDsyncRoleRequestRolesValue = CreateTeamDsyncRoleRequestRolesValueCase0 | CreateTeamDsyncRoleRequestRolesValueCase1;
100
+ export declare const CreateTeamDsyncRoleRequestRolesValue: S.Schema<CreateTeamDsyncRoleRequestRolesValue>;
101
+ /** Directory groups to role or access group mappings. */
102
+ export type CreateTeamDsyncRoleRequestRolesMap = {
103
+ [key: string]: CreateTeamDsyncRoleRequestRolesValue | undefined;
104
+ };
105
+ export declare const CreateTeamDsyncRoleRequestRolesMap: S.Schema<CreateTeamDsyncRoleRequestRolesMap>;
106
+ export interface CreateTeamDsyncRoleRequest {
107
+ /** The Team identifier to perform the request on behalf of. */
108
+ teamId: string;
109
+ /** The Team slug to perform the request on behalf of. */
110
+ slug?: string;
111
+ /** Directory groups to role or access group mappings. */
112
+ roles: CreateTeamDsyncRoleRequestRolesMap;
113
+ }
114
+ export declare const CreateTeamDsyncRoleRequest: S.Schema<CreateTeamDsyncRoleRequest>;
115
+ export interface CreateTeamDsyncRoleResponse {
116
+ ok: boolean;
117
+ }
118
+ export declare const CreateTeamDsyncRoleResponse: S.Schema<CreateTeamDsyncRoleResponse>;
119
+ export interface DeleteMicrofrontendsGroupRequest {
120
+ /** The Team identifier to perform the request on behalf of. */
121
+ teamId: string;
122
+ /** The microfrontend group ID to delete. */
123
+ groupId: string;
124
+ /** The Team slug to perform the request on behalf of. */
125
+ slug?: string;
126
+ }
127
+ export declare const DeleteMicrofrontendsGroupRequest: S.Schema<DeleteMicrofrontendsGroupRequest>;
128
+ export type DeleteMicrofrontendsGroupResponse = unknown;
129
+ export declare const DeleteMicrofrontendsGroupResponse: S.Schema<DeleteMicrofrontendsGroupResponse>;
130
+ /** An object describing the reason why the team is being deleted. */
131
+ export interface DeleteTeamRequestReasonsItem {
132
+ /** Idenitifier slug of the reason why the team is being deleted. */
133
+ slug: string;
134
+ /** Description of the reason why the team is being deleted. */
135
+ description: string;
136
+ }
137
+ export declare const DeleteTeamRequestReasonsItem: S.Schema<DeleteTeamRequestReasonsItem>;
138
+ /** Optional array of objects that describe the reason why the team is being deleted. */
139
+ export type DeleteTeamRequestReasonsList = Array<DeleteTeamRequestReasonsItem>;
140
+ export declare const DeleteTeamRequestReasonsList: S.Schema<DeleteTeamRequestReasonsList>;
141
+ export interface DeleteTeamRequest {
142
+ /** The Team identifier to perform the request on behalf of. */
143
+ teamId: string;
144
+ /** Id of the team to be set as the new default team */
145
+ newDefaultTeamId?: string;
146
+ /** The Team slug to perform the request on behalf of. */
147
+ slug?: string;
148
+ /** Optional array of objects that describe the reason why the team is being deleted. */
149
+ reasons?: DeleteTeamRequestReasonsList;
150
+ }
151
+ export declare const DeleteTeamRequest: S.Schema<DeleteTeamRequest>;
152
+ export interface DeleteTeamResponse {
153
+ /** The ID of the deleted Team */
154
+ id: string;
155
+ /** Signifies whether the default team update has failed, when newDefaultTeamId is provided in request query. */
156
+ newDefaultTeamIdError?: boolean;
157
+ }
158
+ export declare const DeleteTeamResponse: S.Schema<DeleteTeamResponse>;
159
+ export interface DeleteTeamInviteCodeRequest {
160
+ /** The Team identifier to perform the request on behalf of. */
161
+ teamId: string;
162
+ /** The Team invite code ID. */
163
+ inviteId: string;
164
+ }
165
+ export declare const DeleteTeamInviteCodeRequest: S.Schema<DeleteTeamInviteCodeRequest>;
166
+ export interface DeleteTeamInviteCodeResponse {
167
+ /** ID of the team. */
168
+ id: string;
169
+ }
170
+ export declare const DeleteTeamInviteCodeResponse: S.Schema<DeleteTeamInviteCodeResponse>;
171
+ export interface GetTeamRequest {
172
+ /** The Team identifier to perform the request on behalf of. */
173
+ teamId: string;
174
+ slug?: string;
175
+ }
176
+ export declare const GetTeamRequest: S.Schema<GetTeamRequest>;
177
+ export interface TeamConnect {
178
+ enabled?: boolean;
179
+ }
180
+ export declare const TeamConnect: S.Schema<TeamConnect>;
181
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
182
+ export type TeamSamlConnectionSyncState = "ACTIVE" | "SETUP";
183
+ export declare const TeamSamlConnectionSyncState: any;
184
+ /** Information for the SAML Single Sign-On configuration. */
185
+ export interface TeamSamlConnection {
186
+ /** The Identity Provider "type", for example Okta. */
187
+ type: string;
188
+ /** Current state of the connection. */
189
+ state: string;
190
+ /** Timestamp (in milliseconds) of when the configuration was connected. */
191
+ connectedAt: number;
192
+ /** Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. */
193
+ lastReceivedWebhookEvent?: number;
194
+ /** Timestamp (in milliseconds) of when the last directory sync was performed. */
195
+ lastSyncedAt?: number;
196
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
197
+ syncState?: TeamSamlConnectionSyncState;
198
+ status: string;
199
+ }
200
+ export declare const TeamSamlConnection: S.Schema<TeamSamlConnection>;
201
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
202
+ export type TeamSamlDirectorySyncState = "ACTIVE" | "SETUP";
203
+ export declare const TeamSamlDirectorySyncState: any;
204
+ /** Information for the Directory Sync configuration. */
205
+ export interface TeamSamlDirectory {
206
+ /** The Identity Provider "type", for example Okta. */
207
+ type: string;
208
+ /** Current state of the connection. */
209
+ state: string;
210
+ /** Timestamp (in milliseconds) of when the configuration was connected. */
211
+ connectedAt: number;
212
+ /** Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. */
213
+ lastReceivedWebhookEvent?: number;
214
+ /** Timestamp (in milliseconds) of when the last directory sync was performed. */
215
+ lastSyncedAt?: number;
216
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
217
+ syncState?: TeamSamlDirectorySyncState;
218
+ }
219
+ export declare const TeamSamlDirectory: S.Schema<TeamSamlDirectory>;
220
+ /** The default redirect URI to use after successful SAML authentication. */
221
+ export type TeamSamlDefaultRedirectUri = "v0.app" | "v0.dev" | "vercel.com";
222
+ export declare const TeamSamlDefaultRedirectUri: any;
223
+ /** When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role". */
224
+ export type TeamSamlRolesValueCase0 = CreateTeamDsyncRoleRequestRolesValueCase1;
225
+ export declare const TeamSamlRolesValueCase0: S.Schema<CreateTeamDsyncRoleRequestRolesValueCase1>;
226
+ export type TeamSamlRolesValueCase1 = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
227
+ export declare const TeamSamlRolesValueCase1: any;
228
+ export type TeamSamlRolesValue = CreateTeamDsyncRoleRequestRolesValueCase1 | TeamSamlRolesValueCase1;
229
+ export declare const TeamSamlRolesValue: S.Schema<TeamSamlRolesValue>;
230
+ /** When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role". */
231
+ export type TeamSamlRolesMap = {
232
+ [key: string]: TeamSamlRolesValue | undefined;
233
+ };
234
+ export declare const TeamSamlRolesMap: S.Schema<TeamSamlRolesMap>;
235
+ /** When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP). */
236
+ export interface TeamSaml {
237
+ /** Information for the SAML Single Sign-On configuration. */
238
+ connection?: TeamSamlConnection;
239
+ /** Information for the Directory Sync configuration. */
240
+ directory?: TeamSamlDirectory;
241
+ /** When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider. */
242
+ enforced: boolean;
243
+ /** The default redirect URI to use after successful SAML authentication. */
244
+ defaultRedirectUri?: TeamSamlDefaultRedirectUri;
245
+ /** When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role". */
246
+ roles?: TeamSamlRolesMap;
247
+ }
248
+ export declare const TeamSaml: S.Schema<TeamSaml>;
249
+ export type TeamBillingPlan = "enterprise" | "hobby" | "pro";
250
+ export declare const TeamBillingPlan: any;
251
+ /** The team's billing plan. */
252
+ export interface TeamBilling {
253
+ plan: TeamBillingPlan;
254
+ }
255
+ export declare const TeamBilling: S.Schema<TeamBilling>;
256
+ export type TeamDefaultRolesTeamRolesItem = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
257
+ export declare const TeamDefaultRolesTeamRolesItem: any;
258
+ export type TeamDefaultRolesTeamRolesList = Array<TeamDefaultRolesTeamRolesItem>;
259
+ export declare const TeamDefaultRolesTeamRolesList: S.Schema<TeamDefaultRolesTeamRolesList>;
260
+ export type TeamDefaultRolesTeamPermissionsItem = "AiGatewayApiKeyOwnedBySelf" | "AiGatewayBudgetManager" | "AiGatewayCredits" | "AiGatewaySettings" | "AiGatewayTranscriptsManager" | "AiGatewayTranscriptsViewer" | "ConnectorManager" | "CreateProject" | "EnvVariableManager" | "EnvironmentManager" | "FullProductionDeployment" | "IntegrationManager" | "OrgAdmin" | "OrgViewer" | "UsageViewer" | "V0Builder" | "V0Chatter" | "V0Viewer" | "WorkflowDecryptor";
261
+ export declare const TeamDefaultRolesTeamPermissionsItem: any;
262
+ export type TeamDefaultRolesTeamPermissionsList = Array<TeamDefaultRolesTeamPermissionsItem>;
263
+ export declare const TeamDefaultRolesTeamPermissionsList: S.Schema<TeamDefaultRolesTeamPermissionsList>;
264
+ /** Default roles for the team. */
265
+ export interface TeamDefaultRoles {
266
+ teamRoles?: TeamDefaultRolesTeamRolesList;
267
+ teamPermissions?: TeamDefaultRolesTeamPermissionsList;
268
+ }
269
+ export declare const TeamDefaultRoles: S.Schema<TeamDefaultRoles>;
270
+ export interface TeamResourceConfigBuildEntitlements {
271
+ enhancedBuilds?: boolean;
272
+ }
273
+ export declare const TeamResourceConfigBuildEntitlements: S.Schema<TeamResourceConfigBuildEntitlements>;
274
+ /** Default build machine type for new builds */
275
+ export type TeamResourceConfigBuildMachineDefault = "basic" | "elastic" | "enhanced" | "standard" | "turbo";
276
+ export declare const TeamResourceConfigBuildMachineDefault: any;
277
+ /** Build machine configuration */
278
+ export interface TeamResourceConfigBuildMachine {
279
+ /** Default build machine type for new builds */
280
+ default?: TeamResourceConfigBuildMachineDefault;
281
+ }
282
+ export declare const TeamResourceConfigBuildMachine: S.Schema<TeamResourceConfigBuildMachine>;
283
+ export interface TeamResourceConfig {
284
+ /** The total amount of concurrent builds that can be used. */
285
+ concurrentBuilds?: number;
286
+ /** Whether every build for this team / user has elastic concurrency enabled automatically. */
287
+ elasticConcurrencyEnabled?: boolean;
288
+ /** The maximum size in kilobytes of an Edge Config. Only specified if a custom limit is set. */
289
+ edgeConfigSize?: number;
290
+ /** The maximum number of edge configs an account can create. */
291
+ edgeConfigs?: number;
292
+ /** The maximum number of kv databases an account can create. */
293
+ kvDatabases?: number;
294
+ /** The maximum number of blob stores an account can create. */
295
+ blobStores?: number;
296
+ /** The maximum number of postgres databases an account can create. */
297
+ postgresDatabases?: number;
298
+ /** The maximum number of custom environments allowed per project. */
299
+ customEnvironmentsPerProject?: number;
300
+ /** The maximum memory size (in MB) for a serverless function. Only specified if a custom limit is set. */
301
+ serverlessFunctionMaxMemorySize?: number;
302
+ buildEntitlements?: TeamResourceConfigBuildEntitlements;
303
+ /** Build machine configuration */
304
+ buildMachine?: TeamResourceConfigBuildMachine;
305
+ }
306
+ export declare const TeamResourceConfig: S.Schema<TeamResourceConfig>;
307
+ export type TeamDisableHardAutoBlocks = number | boolean;
308
+ export declare const TeamDisableHardAutoBlocks: S.Schema<TeamDisableHardAutoBlocks>;
309
+ /** Is remote caching enabled for this team */
310
+ export type TeamRemoteCaching = TeamConnect;
311
+ export declare const TeamRemoteCaching: S.Schema<TeamConnect>;
312
+ export interface TeamDefaultDeploymentProtectionPasswordProtection {
313
+ deploymentType: string;
314
+ }
315
+ export declare const TeamDefaultDeploymentProtectionPasswordProtection: S.Schema<TeamDefaultDeploymentProtectionPasswordProtection>;
316
+ export type TeamDefaultDeploymentProtectionSsoProtection = TeamDefaultDeploymentProtectionPasswordProtection;
317
+ export declare const TeamDefaultDeploymentProtectionSsoProtection: S.Schema<TeamDefaultDeploymentProtectionPasswordProtection>;
318
+ /** Default deployment protection for this team null indicates protection is disabled */
319
+ export interface TeamDefaultDeploymentProtection {
320
+ passwordProtection?: TeamDefaultDeploymentProtectionPasswordProtection | null;
321
+ ssoProtection?: TeamDefaultDeploymentProtectionPasswordProtection | null;
322
+ }
323
+ export declare const TeamDefaultDeploymentProtection: S.Schema<TeamDefaultDeploymentProtection>;
324
+ /** Default Passport configuration for new projects in this team. */
325
+ export type TeamDefaultPassportDeploymentType = "all" | "all_except_custom_domains" | "preview" | "prod_deployment_urls_and_all_previews";
326
+ export declare const TeamDefaultPassportDeploymentType: any;
327
+ /** Default Passport configuration for new projects in this team. */
328
+ export interface TeamDefaultPassport {
329
+ /** Default Passport configuration for new projects in this team. */
330
+ connectorId: string;
331
+ /** Default Passport configuration for new projects in this team. */
332
+ deploymentType: TeamDefaultPassportDeploymentType;
333
+ }
334
+ export declare const TeamDefaultPassport: S.Schema<TeamDefaultPassport>;
335
+ /** Default deployment expiration settings for this team */
336
+ export interface TeamDefaultExpirationSettings {
337
+ /** Number of days to keep non-production deployments (mostly preview deployments) before soft deletion. */
338
+ expirationDays?: number;
339
+ /** Number of days to keep production deployments before soft deletion. */
340
+ expirationDaysProduction?: number;
341
+ /** Number of days to keep canceled deployments before soft deletion. */
342
+ expirationDaysCanceled?: number;
343
+ /** Number of days to keep errored deployments before soft deletion. */
344
+ expirationDaysErrored?: number;
345
+ /** Minimum number of production deployments to keep for this project, even if they are over the production expiration limit. */
346
+ deploymentsToKeep?: number;
347
+ }
348
+ export declare const TeamDefaultExpirationSettings: S.Schema<TeamDefaultExpirationSettings>;
349
+ /** Default job configuration applied to new projects created in this team. */
350
+ export type TeamDefaultProjectJobsLintTargetsList = Array<string>;
351
+ export declare const TeamDefaultProjectJobsLintTargetsList: S.Schema<TeamDefaultProjectJobsLintTargetsList>;
352
+ /** Default job configuration applied to new projects created in this team. */
353
+ export interface TeamDefaultProjectJobsLint {
354
+ /** Default job configuration applied to new projects created in this team. */
355
+ targets: TeamDefaultProjectJobsLintTargetsList;
356
+ }
357
+ export declare const TeamDefaultProjectJobsLint: S.Schema<TeamDefaultProjectJobsLint>;
358
+ /** Default job configuration applied to new projects created in this team. */
359
+ export type TeamDefaultProjectJobsTypecheckTargetsList = Array<string>;
360
+ export declare const TeamDefaultProjectJobsTypecheckTargetsList: S.Schema<TeamDefaultProjectJobsTypecheckTargetsList>;
361
+ /** Default job configuration applied to new projects created in this team. */
362
+ export interface TeamDefaultProjectJobsTypecheck {
363
+ /** Default job configuration applied to new projects created in this team. */
364
+ targets: TeamDefaultProjectJobsTypecheckTargetsList;
365
+ }
366
+ export declare const TeamDefaultProjectJobsTypecheck: S.Schema<TeamDefaultProjectJobsTypecheck>;
367
+ /** Default job configuration applied to new projects created in this team. */
368
+ export type TeamDefaultProjectJobsMfeConfigPresentTargetsList = Array<string>;
369
+ export declare const TeamDefaultProjectJobsMfeConfigPresentTargetsList: S.Schema<TeamDefaultProjectJobsMfeConfigPresentTargetsList>;
370
+ /** Default job configuration applied to new projects created in this team. */
371
+ export interface TeamDefaultProjectJobsMfeConfigPresent {
372
+ /** Default job configuration applied to new projects created in this team. */
373
+ targets: TeamDefaultProjectJobsMfeConfigPresentTargetsList;
374
+ }
375
+ export declare const TeamDefaultProjectJobsMfeConfigPresent: S.Schema<TeamDefaultProjectJobsMfeConfigPresent>;
376
+ /** Default job configuration applied to new projects created in this team. */
377
+ export interface TeamDefaultProjectJobs {
378
+ /** Default job configuration applied to new projects created in this team. */
379
+ lint?: TeamDefaultProjectJobsLint;
380
+ /** Default job configuration applied to new projects created in this team. */
381
+ typecheck?: TeamDefaultProjectJobsTypecheck;
382
+ /** Default job configuration applied to new projects created in this team. */
383
+ mfe_config_present?: TeamDefaultProjectJobsMfeConfigPresent;
384
+ }
385
+ export declare const TeamDefaultProjectJobs: S.Schema<TeamDefaultProjectJobs>;
386
+ /** Whether toolbar is enabled on preview deployments */
387
+ export type TeamEnablePreviewFeedback = "default" | "default-force" | "off" | "off-force" | "on" | "on-force";
388
+ export declare const TeamEnablePreviewFeedback: any;
389
+ /** Whether toolbar is enabled on production deployments */
390
+ export type TeamEnableProductionFeedback = "default" | "default-force" | "off" | "off-force" | "on" | "on-force";
391
+ export declare const TeamEnableProductionFeedback: any;
392
+ /** Sensitive environment variable policy for this team */
393
+ export type TeamSensitiveEnvironmentVariablePolicy = "default" | "off" | "on";
394
+ export declare const TeamSensitiveEnvironmentVariablePolicy: any;
395
+ /** Require production secrets to use a different value than preview or development. */
396
+ export type TeamDisjunctiveProductionSecretPolicy = "default" | "off" | "on";
397
+ export declare const TeamDisjunctiveProductionSecretPolicy: any;
398
+ /** Controls who can request access to protected deployments. */
399
+ export type TeamDpAccessRequestsMode = "all" | "email-domain" | "none";
400
+ export declare const TeamDpAccessRequestsMode: any;
401
+ export interface TeamIpBucketsItem {
402
+ bucket: string;
403
+ supportUntil?: number;
404
+ default?: boolean;
405
+ }
406
+ export declare const TeamIpBucketsItem: S.Schema<TeamIpBucketsItem>;
407
+ export type TeamIpBucketsList = Array<TeamIpBucketsItem>;
408
+ export declare const TeamIpBucketsList: S.Schema<TeamIpBucketsList>;
409
+ /** When enabled, deployment protection settings require stricter permissions (owner-only). */
410
+ export interface TeamStrictDeploymentProtectionSettings {
411
+ enabled: boolean;
412
+ updatedAt: number;
413
+ }
414
+ export declare const TeamStrictDeploymentProtectionSettings: S.Schema<TeamStrictDeploymentProtectionSettings>;
415
+ /** When enabled, creating shareable links requires Owner role. */
416
+ export type TeamStrictShareableLinks = TeamStrictDeploymentProtectionSettings;
417
+ export declare const TeamStrictShareableLinks: S.Schema<TeamStrictDeploymentProtectionSettings>;
418
+ /** When enabled, adding, changing, or removing project password protection requires Owner role. */
419
+ export type TeamStrictPasswordProtectionSettings = TeamStrictDeploymentProtectionSettings;
420
+ export declare const TeamStrictPasswordProtectionSettings: S.Schema<TeamStrictDeploymentProtectionSettings>;
421
+ /** When enabled, creating and managing connectors requires Owner role or the ConnectorManager permission. */
422
+ export type TeamStrictConnectors = TeamStrictDeploymentProtectionSettings;
423
+ export declare const TeamStrictConnectors: S.Schema<TeamStrictDeploymentProtectionSettings>;
424
+ export type TeamNsnbConfigPreference = "auto-approval" | "block" | "manual-approval";
425
+ export declare const TeamNsnbConfigPreference: any;
426
+ /** NSNB configuration for the team. */
427
+ export interface TeamNsnbConfig {
428
+ preference: TeamNsnbConfigPreference;
429
+ }
430
+ export declare const TeamNsnbConfig: S.Schema<TeamNsnbConfig>;
431
+ export type TeamDeploymentPolicyGitSourcesItemSourcesItemCase0Provider = "bitbucket" | "github";
432
+ export declare const TeamDeploymentPolicyGitSourcesItemSourcesItemCase0Provider: any;
433
+ /** Allowlist entry for GitHub and Bitbucket, whose repos are identified by a flat `org`/`repo` (Bitbucket's workspace/owner maps to `org`, its repo slug to `repo`). Omit `repo` to match any repo in the org. Org is matched case-insensitively. */
434
+ export interface TeamDeploymentPolicyGitSourcesItemSourcesItemCase0 {
435
+ provider: TeamDeploymentPolicyGitSourcesItemSourcesItemCase0Provider;
436
+ org: string;
437
+ repo?: string;
438
+ }
439
+ export declare const TeamDeploymentPolicyGitSourcesItemSourcesItemCase0: S.Schema<TeamDeploymentPolicyGitSourcesItemSourcesItemCase0>;
440
+ export type TeamDeploymentPolicyGitSourcesItemSourcesItemCase1Provider = "gitlab";
441
+ export declare const TeamDeploymentPolicyGitSourcesItemSourcesItemCase1Provider: any;
442
+ /** Allowlist entry for GitLab, which uses nested groups rather than a flat org/repo. `namespace` is the full group path (e.g. `group` or `group/subgroup`); `project` is the leaf project name. Omit `project` to match any project under the namespace. Namespace is matched case-insensitively. */
443
+ export interface TeamDeploymentPolicyGitSourcesItemSourcesItemCase1 {
444
+ provider: TeamDeploymentPolicyGitSourcesItemSourcesItemCase1Provider;
445
+ namespace: string;
446
+ project?: string;
447
+ }
448
+ export declare const TeamDeploymentPolicyGitSourcesItemSourcesItemCase1: S.Schema<TeamDeploymentPolicyGitSourcesItemSourcesItemCase1>;
449
+ export type TeamDeploymentPolicyGitSourcesItemSourcesItem = TeamDeploymentPolicyGitSourcesItemSourcesItemCase0 | TeamDeploymentPolicyGitSourcesItemSourcesItemCase1;
450
+ export declare const TeamDeploymentPolicyGitSourcesItemSourcesItem: S.Schema<TeamDeploymentPolicyGitSourcesItemSourcesItem>;
451
+ export type TeamDeploymentPolicyGitSourcesItemSourcesList = Array<TeamDeploymentPolicyGitSourcesItemSourcesItem>;
452
+ export declare const TeamDeploymentPolicyGitSourcesItemSourcesList: S.Schema<TeamDeploymentPolicyGitSourcesItemSourcesList>;
453
+ export type TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0Type = "system";
454
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0Type: any;
455
+ export type TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0Target = "preview" | "production";
456
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0Target: any;
457
+ export interface TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0 {
458
+ type: TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0Type;
459
+ target: TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0Target;
460
+ }
461
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0: S.Schema<TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0>;
462
+ export type TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1Type = "custom";
463
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1Type: any;
464
+ export interface TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1 {
465
+ type: TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1Type;
466
+ environmentId: string;
467
+ }
468
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1: S.Schema<TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1>;
469
+ export type TeamDeploymentPolicyGitSourcesItemEnvironmentsItem = TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase0 | TeamDeploymentPolicyGitSourcesItemEnvironmentsItemCase1;
470
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsItem: S.Schema<TeamDeploymentPolicyGitSourcesItemEnvironmentsItem>;
471
+ export type TeamDeploymentPolicyGitSourcesItemEnvironmentsList = Array<TeamDeploymentPolicyGitSourcesItemEnvironmentsItem>;
472
+ export declare const TeamDeploymentPolicyGitSourcesItemEnvironmentsList: S.Schema<TeamDeploymentPolicyGitSourcesItemEnvironmentsList>;
473
+ /** `enabled: true` with empty `sources` is deny-all. */
474
+ export interface TeamDeploymentPolicyGitSourcesItem {
475
+ sources: TeamDeploymentPolicyGitSourcesItemSourcesList;
476
+ enabled: boolean;
477
+ environments: TeamDeploymentPolicyGitSourcesItemEnvironmentsList;
478
+ }
479
+ export declare const TeamDeploymentPolicyGitSourcesItem: S.Schema<TeamDeploymentPolicyGitSourcesItem>;
480
+ export type TeamDeploymentPolicyGitSourcesList = Array<TeamDeploymentPolicyGitSourcesItem>;
481
+ export declare const TeamDeploymentPolicyGitSourcesList: S.Schema<TeamDeploymentPolicyGitSourcesList>;
482
+ /** Customer-configurable deployment sources. Every deploy classifies to exactly one. JSON schema in `packages/deployment-policy/schemas/body.ts` enumerates exactly these values. - `'git'` — git provider webhook. - `'cli'` — Vercel CLI (legacy classic-token CLI and SIWV CLI both). - `'rest-api'` — direct user/team-token REST upload. Does NOT cover deploy hooks, Marketplace integrations, or first-party app tokens. - `'deploy-hook'` — project deploy-hook URL. The URL is the credential. - `'integration'` — third-party Marketplace actor: Marketplace integration token, user-delegated OAuth from a Marketplace app, or an unrecognized third-party Vercel App. First-party Vercel Apps are never `'integration'`. - `'v0'` — the v0 product surface (entitlement-gated). v0 deploys through the CLI under the hood, but classifies as its own source so a team can allow or deny v0 independently of `'cli'`. First-party Vercel apps (Toolbar, etc.) classify as `'first-party'` — see `ClassifiedSource` in `./checks`. They're not in this union because they aren't customer-configurable; they bypass `checkDeploymentSources` entirely. v0 is intentionally NOT among them: like the CLI, it's a real product surface and is policy-controllable. */
483
+ export type TeamDeploymentPolicyDeploymentSourcesItemSourcesItem = "cli" | "deploy-hook" | "git" | "integration" | "rest-api" | "v0";
484
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemSourcesItem: any;
485
+ export type TeamDeploymentPolicyDeploymentSourcesItemSourcesList = Array<TeamDeploymentPolicyDeploymentSourcesItemSourcesItem>;
486
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemSourcesList: S.Schema<TeamDeploymentPolicyDeploymentSourcesItemSourcesList>;
487
+ export type TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Type = "system";
488
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Type: any;
489
+ export type TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Target = "preview" | "production";
490
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Target: any;
491
+ export interface TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0 {
492
+ type: TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Type;
493
+ target: TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0Target;
494
+ }
495
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0: S.Schema<TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0>;
496
+ export type TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1Type = "custom";
497
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1Type: any;
498
+ export interface TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1 {
499
+ type: TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1Type;
500
+ environmentId: string;
501
+ }
502
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1: S.Schema<TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1>;
503
+ export type TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItem = TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase0 | TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItemCase1;
504
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItem: S.Schema<TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItem>;
505
+ export type TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsList = Array<TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsItem>;
506
+ export declare const TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsList: S.Schema<TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsList>;
507
+ /** `enabled: true` with empty `sources` is deny-all. */
508
+ export interface TeamDeploymentPolicyDeploymentSourcesItem {
509
+ sources: TeamDeploymentPolicyDeploymentSourcesItemSourcesList;
510
+ enabled: boolean;
511
+ environments: TeamDeploymentPolicyDeploymentSourcesItemEnvironmentsList;
512
+ }
513
+ export declare const TeamDeploymentPolicyDeploymentSourcesItem: S.Schema<TeamDeploymentPolicyDeploymentSourcesItem>;
514
+ export type TeamDeploymentPolicyDeploymentSourcesList = Array<TeamDeploymentPolicyDeploymentSourcesItem>;
515
+ export declare const TeamDeploymentPolicyDeploymentSourcesList: S.Schema<TeamDeploymentPolicyDeploymentSourcesList>;
516
+ /** Composable deployment-time policy for the team. Used as the default for every project on the team, with optional per-project overrides on `project.deploymentPolicy`. */
517
+ export interface TeamDeploymentPolicy {
518
+ gitSources?: TeamDeploymentPolicyGitSourcesList;
519
+ deploymentSources?: TeamDeploymentPolicyDeploymentSourcesList;
520
+ }
521
+ export declare const TeamDeploymentPolicy: S.Schema<TeamDeploymentPolicy>;
522
+ export interface TeamMembershipEntitlementsItem {
523
+ entitlement: string;
524
+ }
525
+ export declare const TeamMembershipEntitlementsItem: S.Schema<TeamMembershipEntitlementsItem>;
526
+ export type TeamMembershipEntitlementsList = Array<TeamMembershipEntitlementsItem>;
527
+ export declare const TeamMembershipEntitlementsList: S.Schema<TeamMembershipEntitlementsList>;
528
+ export type TeamMembershipRole = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
529
+ export declare const TeamMembershipRole: any;
530
+ export type TeamMembershipTeamRolesItem = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
531
+ export declare const TeamMembershipTeamRolesItem: any;
532
+ export type TeamMembershipTeamRolesList = Array<TeamMembershipTeamRolesItem>;
533
+ export declare const TeamMembershipTeamRolesList: S.Schema<TeamMembershipTeamRolesList>;
534
+ export type TeamMembershipTeamPermissionsItem = "AiGatewayApiKeyOwnedBySelf" | "AiGatewayBudgetManager" | "AiGatewayCredits" | "AiGatewaySettings" | "AiGatewayTranscriptsManager" | "AiGatewayTranscriptsViewer" | "ConnectorManager" | "CreateProject" | "EnvVariableManager" | "EnvironmentManager" | "FullProductionDeployment" | "IntegrationManager" | "OrgAdmin" | "OrgViewer" | "UsageViewer" | "V0Builder" | "V0Chatter" | "V0Viewer" | "WorkflowDecryptor";
535
+ export declare const TeamMembershipTeamPermissionsItem: any;
536
+ export type TeamMembershipTeamPermissionsList = Array<TeamMembershipTeamPermissionsItem>;
537
+ export declare const TeamMembershipTeamPermissionsList: S.Schema<TeamMembershipTeamPermissionsList>;
538
+ export type TeamMembershipJoinedFromOrigin = "account-update" | "bitbucket" | "dsync" | "feedback" | "github" | "gitlab" | "import" | "link" | "mail" | "nsnb-auto-approve" | "nsnb-hobby-upgrade" | "nsnb-invite" | "nsnb-redeploy" | "nsnb-redeploy-attribution-card" | "nsnb-request-access" | "nsnb-viewer-upgrade" | "organization-teams" | "saml" | "teams";
539
+ export declare const TeamMembershipJoinedFromOrigin: any;
540
+ export type TeamMembershipJoinedFromGitUserId = string | number;
541
+ export declare const TeamMembershipJoinedFromGitUserId: S.Schema<TeamMembershipJoinedFromGitUserId>;
542
+ export interface TeamMembershipJoinedFrom {
543
+ origin: TeamMembershipJoinedFromOrigin;
544
+ commitId?: string;
545
+ repoId?: string;
546
+ repoPath?: string;
547
+ gitUserId?: TeamMembershipJoinedFromGitUserId;
548
+ gitUserLogin?: string;
549
+ ssoUserId?: string;
550
+ ssoConnectedAt?: number;
551
+ idpUserId?: string;
552
+ dsyncUserId?: string;
553
+ dsyncConnectedAt?: number;
554
+ }
555
+ export declare const TeamMembershipJoinedFrom: S.Schema<TeamMembershipJoinedFrom>;
556
+ /** The membership of the authenticated User in relation to the Team. */
557
+ export interface TeamMembership {
558
+ uid?: string;
559
+ entitlements?: TeamMembershipEntitlementsList;
560
+ teamId?: string;
561
+ confirmed: boolean;
562
+ accessRequestedAt?: number;
563
+ role: TeamMembershipRole;
564
+ teamRoles?: TeamMembershipTeamRolesList;
565
+ teamPermissions?: TeamMembershipTeamPermissionsList;
566
+ createdAt: number;
567
+ created: number;
568
+ joinedFrom?: TeamMembershipJoinedFrom;
569
+ }
570
+ export declare const TeamMembership: S.Schema<TeamMembership>;
571
+ /** Data representing a Team. */
572
+ export interface Team {
573
+ connect?: TeamConnect;
574
+ /** The ID of the user who created the Team. */
575
+ creatorId: string;
576
+ /** Timestamp (in milliseconds) of when the Team was last updated. */
577
+ updatedAt: number;
578
+ /** Hostname that'll be matched with emails on sign-up to automatically join the Team. */
579
+ emailDomain?: string | null;
580
+ /** When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP). */
581
+ saml?: TeamSaml;
582
+ /** Code that can be used to join this Team. Only visible to Team owners. */
583
+ inviteCode?: string;
584
+ /** The team's billing plan. */
585
+ billing: TeamBilling | null;
586
+ /** A short description of the Team. */
587
+ description: string | null;
588
+ /** Default roles for the team. */
589
+ defaultRoles?: TeamDefaultRoles;
590
+ /** The prefix that is prepended to automatic aliases. */
591
+ stagingPrefix: string;
592
+ resourceConfig?: TeamResourceConfig;
593
+ /** The hostname that is current set as preview deployment suffix. */
594
+ previewDeploymentSuffix?: string | null;
595
+ /** Whether the team is a platform team. */
596
+ platform?: boolean;
597
+ disableHardAutoBlocks?: TeamDisableHardAutoBlocks;
598
+ /** Is remote caching enabled for this team */
599
+ remoteCaching?: TeamConnect;
600
+ /** Default deployment protection for this team null indicates protection is disabled */
601
+ defaultDeploymentProtection?: TeamDefaultDeploymentProtection;
602
+ /** Default Passport configuration for new projects in this team. */
603
+ defaultPassport?: TeamDefaultPassport | null;
604
+ /** Default deployment expiration settings for this team */
605
+ defaultExpirationSettings?: TeamDefaultExpirationSettings;
606
+ /** Default job configuration applied to new projects created in this team. */
607
+ defaultProjectJobs?: TeamDefaultProjectJobs;
608
+ /** Whether toolbar is enabled on preview deployments */
609
+ enablePreviewFeedback?: TeamEnablePreviewFeedback | null;
610
+ /** Whether toolbar is enabled on production deployments */
611
+ enableProductionFeedback?: TeamEnableProductionFeedback | null;
612
+ /** Sensitive environment variable policy for this team */
613
+ sensitiveEnvironmentVariablePolicy?: TeamSensitiveEnvironmentVariablePolicy | null;
614
+ /** Require production secrets to use a different value than preview or development. */
615
+ disjunctiveProductionSecretPolicy?: TeamDisjunctiveProductionSecretPolicy | null;
616
+ /** Indicates if IP addresses should be accessible in observability (o11y) tooling */
617
+ hideIpAddresses?: boolean | null;
618
+ /** Indicates if IP addresses should be accessible in log drains */
619
+ hideIpAddressesInLogDrains?: boolean | null;
620
+ /** Controls who can request access to protected deployments. */
621
+ dpAccessRequestsMode?: TeamDpAccessRequestsMode;
622
+ ipBuckets?: TeamIpBucketsList;
623
+ /** When enabled, all projects in the team require commits to be signed and verified by the git provider before deployments will be created. Projects may override this via `project.gitProviderOptions.requireVerifiedCommits` (gated by `Project:Update`). */
624
+ requireVerifiedCommits?: boolean;
625
+ /** Default for projects in the team. When `true`, projects in this team will not emit GitHub repository-dispatch events on deployment events unless the project explicitly overrides this setting via `project.gitProviderOptions.disableRepositoryDispatchEvents`. */
626
+ disableRepositoryDispatchEvents?: boolean;
627
+ /** When enabled, deployment protection settings require stricter permissions (owner-only). */
628
+ strictDeploymentProtectionSettings?: TeamStrictDeploymentProtectionSettings;
629
+ /** When enabled, creating shareable links requires Owner role. */
630
+ strictShareableLinks?: TeamStrictDeploymentProtectionSettings;
631
+ /** When enabled, adding, changing, or removing project password protection requires Owner role. */
632
+ strictPasswordProtectionSettings?: TeamStrictDeploymentProtectionSettings;
633
+ /** When enabled, creating and managing connectors requires Owner role or the ConnectorManager permission. */
634
+ strictConnectors?: TeamStrictDeploymentProtectionSettings;
635
+ /** NSNB configuration for the team. */
636
+ nsnbConfig?: TeamNsnbConfig;
637
+ /** Composable deployment-time policy for the team. Used as the default for every project on the team, with optional per-project overrides on `project.deploymentPolicy`. */
638
+ deploymentPolicy?: TeamDeploymentPolicy;
639
+ /** Timestamp (ms) after which personal access tokens created at or before this time are considered invalid for this team. */
640
+ personalAccessTokensInvalidatedAt?: number;
641
+ /** Timestamp (ms) after which Vercel App tokens created at or before this time are considered invalid for this team. */
642
+ appTokensInvalidatedAt?: number;
643
+ /** Timestamp (ms) after which API keys created at or before this time are considered invalid for this team. */
644
+ apiKeysInvalidatedAt?: number;
645
+ /** Timestamp (ms) after which integration tokens created at or before this time are considered invalid for this team. */
646
+ integrationTokensInvalidatedAt?: number;
647
+ /** The Team's unique identifier. */
648
+ id: string;
649
+ /** The Team's slug, which is unique across the Vercel platform. */
650
+ slug: string;
651
+ /** Name associated with the Team account, or `null` if none has been provided. */
652
+ name: string | null;
653
+ /** The ID of the file used as avatar for this Team. */
654
+ avatar: string | null;
655
+ /** The membership of the authenticated User in relation to the Team. */
656
+ membership?: TeamMembership;
657
+ /** UNIX timestamp (in milliseconds) when the Team was created. */
658
+ createdAt: number;
659
+ /** The organizationId for teams that belong to an organization (set on both the organization's root team and its child teams). */
660
+ parentId?: string;
661
+ /** Best-effort ID of the organization’s root billing team. When present, compare `orgRootTeamId === id` to identify the root team. It may be omitted even when `parentId` is set if organization resolution fails or the referenced organization is missing. Always omitted for non-organization teams. */
662
+ orgRootTeamId?: string;
663
+ }
664
+ export declare const Team: S.Schema<Team>;
665
+ export interface GetTeamAccessRequestRequest {
666
+ teamId: string;
667
+ userId: string;
668
+ }
669
+ export declare const GetTeamAccessRequestRequest: S.Schema<GetTeamAccessRequestRequest>;
670
+ export type GetTeamAccessRequestResponseJoinedFromOrigin = "account-update" | "bitbucket" | "dsync" | "feedback" | "github" | "gitlab" | "import" | "link" | "mail" | "nsnb-auto-approve" | "nsnb-hobby-upgrade" | "nsnb-invite" | "nsnb-redeploy" | "nsnb-redeploy-attribution-card" | "nsnb-request-access" | "nsnb-viewer-upgrade" | "organization-teams" | "saml" | "teams";
671
+ export declare const GetTeamAccessRequestResponseJoinedFromOrigin: any;
672
+ export type GetTeamAccessRequestResponseJoinedFromGitUserId = string | number;
673
+ export declare const GetTeamAccessRequestResponseJoinedFromGitUserId: S.Schema<GetTeamAccessRequestResponseJoinedFromGitUserId>;
674
+ /** A map that describes the origin from where the user joined. */
675
+ export interface GetTeamAccessRequestResponseJoinedFrom {
676
+ origin: GetTeamAccessRequestResponseJoinedFromOrigin;
677
+ commitId?: string;
678
+ repoId?: string;
679
+ repoPath?: string;
680
+ gitUserId?: GetTeamAccessRequestResponseJoinedFromGitUserId;
681
+ gitUserLogin?: string;
682
+ ssoUserId?: string;
683
+ ssoConnectedAt?: number;
684
+ idpUserId?: string;
685
+ dsyncUserId?: string;
686
+ dsyncConnectedAt?: number;
687
+ }
688
+ export declare const GetTeamAccessRequestResponseJoinedFrom: S.Schema<GetTeamAccessRequestResponseJoinedFrom>;
689
+ /** Map of the connected GitHub account. */
690
+ export interface GetTeamAccessRequestResponseGithub {
691
+ login?: string;
692
+ }
693
+ export declare const GetTeamAccessRequestResponseGithub: S.Schema<GetTeamAccessRequestResponseGithub>;
694
+ /** Map of the connected GitLab account. */
695
+ export type GetTeamAccessRequestResponseGitlab = GetTeamAccessRequestResponseGithub;
696
+ export declare const GetTeamAccessRequestResponseGitlab: S.Schema<GetTeamAccessRequestResponseGithub>;
697
+ /** Map of the connected Bitbucket account. */
698
+ export type GetTeamAccessRequestResponseBitbucket = GetTeamAccessRequestResponseGithub;
699
+ export declare const GetTeamAccessRequestResponseBitbucket: S.Schema<GetTeamAccessRequestResponseGithub>;
700
+ export interface GetTeamAccessRequestResponse {
701
+ /** The slug of the team. */
702
+ teamSlug: string;
703
+ /** The name of the team. */
704
+ teamName: string;
705
+ /** Current status of the membership. Will be `true` if confirmed, if pending it'll be `false`. */
706
+ confirmed: boolean;
707
+ /** A map that describes the origin from where the user joined. */
708
+ joinedFrom: GetTeamAccessRequestResponseJoinedFrom;
709
+ /** Timestamp in milliseconds when the user requested access to the team. */
710
+ accessRequestedAt: number;
711
+ /** Map of the connected GitHub account. */
712
+ github: GetTeamAccessRequestResponseGithub | null;
713
+ /** Map of the connected GitLab account. */
714
+ gitlab: GetTeamAccessRequestResponseGithub | null;
715
+ /** Map of the connected Bitbucket account. */
716
+ bitbucket: GetTeamAccessRequestResponseGithub | null;
717
+ }
718
+ export declare const GetTeamAccessRequestResponse: S.Schema<GetTeamAccessRequestResponse>;
719
+ /** Only return members with the specified team role. */
720
+ export type GetTeamMembersRequestRole = "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR";
721
+ export declare const GetTeamMembersRequestRole: any;
722
+ export interface GetTeamMembersRequest {
723
+ /** The Team identifier to perform the request on behalf of. */
724
+ teamId: string;
725
+ /** Limit how many teams should be returned */
726
+ limit?: number;
727
+ /** Timestamp in milliseconds to only include members added since then. */
728
+ since?: number;
729
+ /** Timestamp in milliseconds to only include members added until then. */
730
+ until?: number;
731
+ /** Search team members by their name, username, and email. */
732
+ search?: string;
733
+ /** Only return members with the specified team role. */
734
+ role?: GetTeamMembersRequestRole | (string & {});
735
+ /** Exclude members who belong to the specified project. */
736
+ excludeProject?: string;
737
+ /** Include team members who are eligible to be members of the specified project. */
738
+ eligibleMembersForProjectId?: string;
739
+ /** The Team slug to perform the request on behalf of. */
740
+ slug?: string;
741
+ }
742
+ export declare const GetTeamMembersRequest: S.Schema<GetTeamMembersRequest>;
743
+ /** Information about the GitHub account for this user. */
744
+ export type GetTeamMembersResponseMembersItemGithub = GetTeamAccessRequestResponseGithub;
745
+ export declare const GetTeamMembersResponseMembersItemGithub: S.Schema<GetTeamAccessRequestResponseGithub>;
746
+ /** Information about the GitLab account of this user. */
747
+ export type GetTeamMembersResponseMembersItemGitlab = GetTeamAccessRequestResponseGithub;
748
+ export declare const GetTeamMembersResponseMembersItemGitlab: S.Schema<GetTeamAccessRequestResponseGithub>;
749
+ /** Information about the Bitbucket account of this user. */
750
+ export type GetTeamMembersResponseMembersItemBitbucket = GetTeamAccessRequestResponseGithub;
751
+ export declare const GetTeamMembersResponseMembersItemBitbucket: S.Schema<GetTeamAccessRequestResponseGithub>;
752
+ /** Role of this user in the team. */
753
+ export type GetTeamMembersResponseMembersItemRole = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
754
+ export declare const GetTeamMembersResponseMembersItemRole: any;
755
+ export type GetTeamMembersResponseMembersItemJoinedFromOrigin = "account-update" | "bitbucket" | "dsync" | "feedback" | "github" | "gitlab" | "import" | "link" | "mail" | "nsnb-auto-approve" | "nsnb-hobby-upgrade" | "nsnb-invite" | "nsnb-redeploy" | "nsnb-redeploy-attribution-card" | "nsnb-request-access" | "nsnb-viewer-upgrade" | "organization-teams" | "saml" | "teams";
756
+ export declare const GetTeamMembersResponseMembersItemJoinedFromOrigin: any;
757
+ export type GetTeamMembersResponseMembersItemJoinedFromGitUserId = string | number;
758
+ export declare const GetTeamMembersResponseMembersItemJoinedFromGitUserId: S.Schema<GetTeamMembersResponseMembersItemJoinedFromGitUserId>;
759
+ /** Map with information about the members origin if they joined by requesting access. */
760
+ export interface GetTeamMembersResponseMembersItemJoinedFrom {
761
+ origin: GetTeamMembersResponseMembersItemJoinedFromOrigin;
762
+ commitId?: string;
763
+ repoId?: string;
764
+ repoPath?: string;
765
+ gitUserId?: GetTeamMembersResponseMembersItemJoinedFromGitUserId;
766
+ gitUserLogin?: string;
767
+ ssoUserId?: string;
768
+ ssoConnectedAt?: number;
769
+ idpUserId?: string;
770
+ dsyncUserId?: string;
771
+ dsyncConnectedAt?: number;
772
+ }
773
+ export declare const GetTeamMembersResponseMembersItemJoinedFrom: S.Schema<GetTeamMembersResponseMembersItemJoinedFrom>;
774
+ export type GetTeamMembersResponseMembersItemProjectsItemRole = "ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER";
775
+ export declare const GetTeamMembersResponseMembersItemProjectsItemRole: any;
776
+ /** Array of project memberships */
777
+ export interface GetTeamMembersResponseMembersItemProjectsItem {
778
+ name: string;
779
+ id: string;
780
+ role?: GetTeamMembersResponseMembersItemProjectsItemRole;
781
+ }
782
+ export declare const GetTeamMembersResponseMembersItemProjectsItem: S.Schema<GetTeamMembersResponseMembersItemProjectsItem>;
783
+ /** Array of project memberships */
784
+ export type GetTeamMembersResponseMembersItemProjectsList = Array<GetTeamMembersResponseMembersItemProjectsItem>;
785
+ export declare const GetTeamMembersResponseMembersItemProjectsList: S.Schema<GetTeamMembersResponseMembersItemProjectsList>;
786
+ export interface GetTeamMembersResponseMembersItem {
787
+ /** ID of the file for the Avatar of this member. */
788
+ avatar?: string;
789
+ /** Boolean that indicates if this member was confirmed by an owner. */
790
+ confirmed: boolean;
791
+ /** The email of this member. */
792
+ email: string;
793
+ /** Information about the GitHub account for this user. */
794
+ github?: GetTeamAccessRequestResponseGithub;
795
+ /** Information about the GitLab account of this user. */
796
+ gitlab?: GetTeamAccessRequestResponseGithub;
797
+ /** Information about the Bitbucket account of this user. */
798
+ bitbucket?: GetTeamAccessRequestResponseGithub;
799
+ /** Role of this user in the team. */
800
+ role: GetTeamMembersResponseMembersItemRole;
801
+ /** The ID of this user. */
802
+ uid: string;
803
+ /** The unique username of this user. */
804
+ username: string;
805
+ /** The name of this user. */
806
+ name?: string;
807
+ /** Timestamp in milliseconds when this member was added. */
808
+ createdAt: number;
809
+ /** Timestamp in milliseconds for when this team member was accepted by an owner. */
810
+ accessRequestedAt?: number;
811
+ /** Map with information about the members origin if they joined by requesting access. */
812
+ joinedFrom?: GetTeamMembersResponseMembersItemJoinedFrom;
813
+ /** Array of project memberships */
814
+ projects?: GetTeamMembersResponseMembersItemProjectsList;
815
+ /** Indicates whether the user is managed by an enterprise. */
816
+ isEnterpriseManaged?: boolean;
817
+ }
818
+ export declare const GetTeamMembersResponseMembersItem: S.Schema<GetTeamMembersResponseMembersItem>;
819
+ export type GetTeamMembersResponseMembersList = Array<GetTeamMembersResponseMembersItem>;
820
+ export declare const GetTeamMembersResponseMembersList: S.Schema<GetTeamMembersResponseMembersList>;
821
+ export type GetTeamMembersResponseEmailInviteCodesItemAccessGroupsList = Array<string>;
822
+ export declare const GetTeamMembersResponseEmailInviteCodesItemAccessGroupsList: S.Schema<GetTeamMembersResponseEmailInviteCodesItemAccessGroupsList>;
823
+ export type GetTeamMembersResponseEmailInviteCodesItemRole = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
824
+ export declare const GetTeamMembersResponseEmailInviteCodesItemRole: any;
825
+ export type GetTeamMembersResponseEmailInviteCodesItemTeamRolesItem = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
826
+ export declare const GetTeamMembersResponseEmailInviteCodesItemTeamRolesItem: any;
827
+ export type GetTeamMembersResponseEmailInviteCodesItemTeamRolesList = Array<GetTeamMembersResponseEmailInviteCodesItemTeamRolesItem>;
828
+ export declare const GetTeamMembersResponseEmailInviteCodesItemTeamRolesList: S.Schema<GetTeamMembersResponseEmailInviteCodesItemTeamRolesList>;
829
+ export type GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsItem = "AiGatewayApiKeyOwnedBySelf" | "AiGatewayBudgetManager" | "AiGatewayCredits" | "AiGatewaySettings" | "AiGatewayTranscriptsManager" | "AiGatewayTranscriptsViewer" | "ConnectorManager" | "CreateProject" | "EnvVariableManager" | "EnvironmentManager" | "FullProductionDeployment" | "IntegrationManager" | "OrgAdmin" | "OrgViewer" | "UsageViewer" | "V0Builder" | "V0Chatter" | "V0Viewer" | "WorkflowDecryptor";
830
+ export declare const GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsItem: any;
831
+ export type GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsList = Array<GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsItem>;
832
+ export declare const GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsList: S.Schema<GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsList>;
833
+ export type GetTeamMembersResponseEmailInviteCodesItemProjectsValue = "ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_GUEST" | "PROJECT_VIEWER";
834
+ export declare const GetTeamMembersResponseEmailInviteCodesItemProjectsValue: any;
835
+ export type GetTeamMembersResponseEmailInviteCodesItemProjectsMap = {
836
+ [key: string]: GetTeamMembersResponseEmailInviteCodesItemProjectsValue | undefined;
837
+ };
838
+ export declare const GetTeamMembersResponseEmailInviteCodesItemProjectsMap: S.Schema<GetTeamMembersResponseEmailInviteCodesItemProjectsMap>;
839
+ export type GetTeamMembersResponseEmailInviteCodesItemEntitlementsList = Array<string>;
840
+ export declare const GetTeamMembersResponseEmailInviteCodesItemEntitlementsList: S.Schema<GetTeamMembersResponseEmailInviteCodesItemEntitlementsList>;
841
+ export interface GetTeamMembersResponseEmailInviteCodesItem {
842
+ accessGroups?: GetTeamMembersResponseEmailInviteCodesItemAccessGroupsList;
843
+ id: string;
844
+ email?: string;
845
+ role?: GetTeamMembersResponseEmailInviteCodesItemRole;
846
+ teamRoles?: GetTeamMembersResponseEmailInviteCodesItemTeamRolesList;
847
+ teamPermissions?: GetTeamMembersResponseEmailInviteCodesItemTeamPermissionsList;
848
+ isDSyncUser: boolean;
849
+ createdAt?: number;
850
+ expired?: boolean;
851
+ projects?: GetTeamMembersResponseEmailInviteCodesItemProjectsMap;
852
+ entitlements?: GetTeamMembersResponseEmailInviteCodesItemEntitlementsList;
853
+ }
854
+ export declare const GetTeamMembersResponseEmailInviteCodesItem: S.Schema<GetTeamMembersResponseEmailInviteCodesItem>;
855
+ export type GetTeamMembersResponseEmailInviteCodesList = Array<GetTeamMembersResponseEmailInviteCodesItem>;
856
+ export declare const GetTeamMembersResponseEmailInviteCodesList: S.Schema<GetTeamMembersResponseEmailInviteCodesList>;
857
+ export interface GetTeamMembersResponsePagination {
858
+ hasNext: boolean;
859
+ /** Amount of items in the current page. */
860
+ count: number;
861
+ /** Timestamp that must be used to request the next page. */
862
+ next: number | null;
863
+ /** Timestamp that must be used to request the previous page. */
864
+ prev: number | null;
865
+ }
866
+ export declare const GetTeamMembersResponsePagination: S.Schema<GetTeamMembersResponsePagination>;
867
+ export interface GetTeamMembersResponse {
868
+ members: GetTeamMembersResponseMembersList;
869
+ emailInviteCodes?: GetTeamMembersResponseEmailInviteCodesList;
870
+ pagination: GetTeamMembersResponsePagination;
871
+ }
872
+ export declare const GetTeamMembersResponse: S.Schema<GetTeamMembersResponse>;
873
+ export interface GetTeamsRequest {
874
+ /** Maximum number of Teams which may be returned. */
875
+ limit?: number;
876
+ /** Timestamp (in milliseconds) to only include Teams created since then. */
877
+ since?: number;
878
+ /** Timestamp (in milliseconds) to only include Teams created until then. */
879
+ until?: number;
880
+ }
881
+ export declare const GetTeamsRequest: S.Schema<GetTeamsRequest>;
882
+ export type TeamLimitedLimitedByItem = "invalidated" | "mfa" | "scope";
883
+ export declare const TeamLimitedLimitedByItem: any;
884
+ export type TeamLimitedLimitedByList = Array<TeamLimitedLimitedByItem>;
885
+ export declare const TeamLimitedLimitedByList: S.Schema<TeamLimitedLimitedByList>;
886
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
887
+ export type TeamLimitedSamlConnectionSyncState = "ACTIVE" | "SETUP";
888
+ export declare const TeamLimitedSamlConnectionSyncState: any;
889
+ /** Information for the SAML Single Sign-On configuration. */
890
+ export interface TeamLimitedSamlConnection {
891
+ /** The Identity Provider "type", for example Okta. */
892
+ type: string;
893
+ /** Current state of the connection. */
894
+ state: string;
895
+ /** Timestamp (in milliseconds) of when the configuration was connected. */
896
+ connectedAt: number;
897
+ /** Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. */
898
+ lastReceivedWebhookEvent?: number;
899
+ /** Timestamp (in milliseconds) of when the last directory sync was performed. */
900
+ lastSyncedAt?: number;
901
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
902
+ syncState?: TeamLimitedSamlConnectionSyncState;
903
+ status: string;
904
+ }
905
+ export declare const TeamLimitedSamlConnection: S.Schema<TeamLimitedSamlConnection>;
906
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
907
+ export type TeamLimitedSamlDirectorySyncState = "ACTIVE" | "SETUP";
908
+ export declare const TeamLimitedSamlDirectorySyncState: any;
909
+ /** Information for the Directory Sync configuration. */
910
+ export interface TeamLimitedSamlDirectory {
911
+ /** The Identity Provider "type", for example Okta. */
912
+ type: string;
913
+ /** Current state of the connection. */
914
+ state: string;
915
+ /** Timestamp (in milliseconds) of when the configuration was connected. */
916
+ connectedAt: number;
917
+ /** Timestamp (in milliseconds) of when the last webhook event was received from WorkOS. */
918
+ lastReceivedWebhookEvent?: number;
919
+ /** Timestamp (in milliseconds) of when the last directory sync was performed. */
920
+ lastSyncedAt?: number;
921
+ /** Controls whether directory sync events are processed. - 'SETUP': Directory connected but role mappings not yet configured. Events are acknowledged but not processed. - 'ACTIVE': Fully configured. Events are processed normally. - undefined: Legacy directory (pre-feature), treat as 'ACTIVE' for backwards compatibility. */
922
+ syncState?: TeamLimitedSamlDirectorySyncState;
923
+ }
924
+ export declare const TeamLimitedSamlDirectory: S.Schema<TeamLimitedSamlDirectory>;
925
+ /** When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. */
926
+ export interface TeamLimitedSaml {
927
+ /** Information for the SAML Single Sign-On configuration. */
928
+ connection?: TeamLimitedSamlConnection;
929
+ /** Information for the Directory Sync configuration. */
930
+ directory?: TeamLimitedSamlDirectory;
931
+ /** When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider. */
932
+ enforced: boolean;
933
+ }
934
+ export declare const TeamLimitedSaml: S.Schema<TeamLimitedSaml>;
935
+ export type TeamLimitedMembershipEntitlementsItem = TeamMembershipEntitlementsItem;
936
+ export declare const TeamLimitedMembershipEntitlementsItem: S.Schema<TeamMembershipEntitlementsItem>;
937
+ export type TeamLimitedMembershipEntitlementsList = Array<TeamMembershipEntitlementsItem>;
938
+ export declare const TeamLimitedMembershipEntitlementsList: S.Schema<TeamLimitedMembershipEntitlementsList>;
939
+ export type TeamLimitedMembershipRole = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
940
+ export declare const TeamLimitedMembershipRole: any;
941
+ export type TeamLimitedMembershipTeamRolesItem = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
942
+ export declare const TeamLimitedMembershipTeamRolesItem: any;
943
+ export type TeamLimitedMembershipTeamRolesList = Array<TeamLimitedMembershipTeamRolesItem>;
944
+ export declare const TeamLimitedMembershipTeamRolesList: S.Schema<TeamLimitedMembershipTeamRolesList>;
945
+ export type TeamLimitedMembershipTeamPermissionsItem = "AiGatewayApiKeyOwnedBySelf" | "AiGatewayBudgetManager" | "AiGatewayCredits" | "AiGatewaySettings" | "AiGatewayTranscriptsManager" | "AiGatewayTranscriptsViewer" | "ConnectorManager" | "CreateProject" | "EnvVariableManager" | "EnvironmentManager" | "FullProductionDeployment" | "IntegrationManager" | "OrgAdmin" | "OrgViewer" | "UsageViewer" | "V0Builder" | "V0Chatter" | "V0Viewer" | "WorkflowDecryptor";
946
+ export declare const TeamLimitedMembershipTeamPermissionsItem: any;
947
+ export type TeamLimitedMembershipTeamPermissionsList = Array<TeamLimitedMembershipTeamPermissionsItem>;
948
+ export declare const TeamLimitedMembershipTeamPermissionsList: S.Schema<TeamLimitedMembershipTeamPermissionsList>;
949
+ export type TeamLimitedMembershipJoinedFromOrigin = "account-update" | "bitbucket" | "dsync" | "feedback" | "github" | "gitlab" | "import" | "link" | "mail" | "nsnb-auto-approve" | "nsnb-hobby-upgrade" | "nsnb-invite" | "nsnb-redeploy" | "nsnb-redeploy-attribution-card" | "nsnb-request-access" | "nsnb-viewer-upgrade" | "organization-teams" | "saml" | "teams";
950
+ export declare const TeamLimitedMembershipJoinedFromOrigin: any;
951
+ export type TeamLimitedMembershipJoinedFromGitUserId = string | number;
952
+ export declare const TeamLimitedMembershipJoinedFromGitUserId: S.Schema<TeamLimitedMembershipJoinedFromGitUserId>;
953
+ export interface TeamLimitedMembershipJoinedFrom {
954
+ origin: TeamLimitedMembershipJoinedFromOrigin;
955
+ commitId?: string;
956
+ repoId?: string;
957
+ repoPath?: string;
958
+ gitUserId?: TeamLimitedMembershipJoinedFromGitUserId;
959
+ gitUserLogin?: string;
960
+ ssoUserId?: string;
961
+ ssoConnectedAt?: number;
962
+ idpUserId?: string;
963
+ dsyncUserId?: string;
964
+ dsyncConnectedAt?: number;
965
+ }
966
+ export declare const TeamLimitedMembershipJoinedFrom: S.Schema<TeamLimitedMembershipJoinedFrom>;
967
+ /** The membership of the authenticated User in relation to the Team. */
968
+ export interface TeamLimitedMembership {
969
+ uid?: string;
970
+ entitlements?: TeamLimitedMembershipEntitlementsList;
971
+ teamId?: string;
972
+ confirmed: boolean;
973
+ accessRequestedAt?: number;
974
+ role: TeamLimitedMembershipRole;
975
+ teamRoles?: TeamLimitedMembershipTeamRolesList;
976
+ teamPermissions?: TeamLimitedMembershipTeamPermissionsList;
977
+ createdAt: number;
978
+ created: number;
979
+ joinedFrom?: TeamLimitedMembershipJoinedFrom;
980
+ }
981
+ export declare const TeamLimitedMembership: S.Schema<TeamLimitedMembership>;
982
+ /** A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data. */
983
+ export interface TeamLimited {
984
+ /** Property indicating that this Team data contains only limited information, due to the authentication token missing privileges to read the full Team data or due to team having MFA enforced and the user not having MFA enabled. Re-login with the Team's configured SAML Single Sign-On provider in order to upgrade the authentication token with the necessary privileges. */
985
+ limited: boolean;
986
+ limitedBy: TeamLimitedLimitedByList;
987
+ /** When "Single Sign-On (SAML)" is configured, this object contains information that allows the client-side to identify whether or not this Team has SAML enforced. */
988
+ saml?: TeamLimitedSaml;
989
+ /** The Team's unique identifier. */
990
+ id: string;
991
+ /** The Team's slug, which is unique across the Vercel platform. */
992
+ slug: string;
993
+ /** Name associated with the Team account, or `null` if none has been provided. */
994
+ name: string | null;
995
+ /** The ID of the file used as avatar for this Team. */
996
+ avatar: string | null;
997
+ /** The membership of the authenticated User in relation to the Team. */
998
+ membership?: TeamLimitedMembership;
999
+ /** UNIX timestamp (in milliseconds) when the Team was created. */
1000
+ createdAt: number;
1001
+ /** The organizationId for teams that belong to an organization (set on both the organization's root team and its child teams). */
1002
+ parentId?: string;
1003
+ /** Best-effort ID of the organization’s root billing team. When present, compare `orgRootTeamId === id` to identify the root team. It may be omitted even when `parentId` is set if organization resolution fails or the referenced organization is missing. Always omitted for non-organization teams. */
1004
+ orgRootTeamId?: string;
1005
+ }
1006
+ export declare const TeamLimited: S.Schema<TeamLimited>;
1007
+ export type GetTeamsResponseTeamsItem = Team | TeamLimited;
1008
+ export declare const GetTeamsResponseTeamsItem: S.Schema<GetTeamsResponseTeamsItem>;
1009
+ export type GetTeamsResponseTeamsList = Array<GetTeamsResponseTeamsItem>;
1010
+ export declare const GetTeamsResponseTeamsList: S.Schema<GetTeamsResponseTeamsList>;
1011
+ /** This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. */
1012
+ export interface Pagination {
1013
+ /** Amount of items in the current page. */
1014
+ count: number;
1015
+ /** Timestamp that must be used to request the next page. */
1016
+ next: number | null;
1017
+ /** Timestamp that must be used to request the previous page. */
1018
+ prev: number | null;
1019
+ }
1020
+ export declare const Pagination: S.Schema<Pagination>;
1021
+ export interface GetTeamsResponse {
1022
+ teams: GetTeamsResponseTeamsList;
1023
+ pagination: Pagination;
1024
+ }
1025
+ export declare const GetTeamsResponse: S.Schema<GetTeamsResponse>;
1026
+ /** The role of the user to invite */
1027
+ export type InviteUserToTeamRequestBodyItemRole = "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR";
1028
+ export declare const InviteUserToTeamRequestBodyItemRole: any;
1029
+ /** Sets the project roles for the invited user */
1030
+ export type InviteUserToTeamRequestBodyItemProjectsItemRole = "ADMIN" | "PROJECT_VIEWER" | "PROJECT_DEVELOPER" | "PROJECT_GUEST";
1031
+ export declare const InviteUserToTeamRequestBodyItemProjectsItemRole: any;
1032
+ export interface InviteUserToTeamRequestBodyItemProjectsItem {
1033
+ /** The ID of the project. */
1034
+ projectId: string;
1035
+ /** Sets the project roles for the invited user */
1036
+ role: InviteUserToTeamRequestBodyItemProjectsItemRole | (string & {});
1037
+ }
1038
+ export declare const InviteUserToTeamRequestBodyItemProjectsItem: S.Schema<InviteUserToTeamRequestBodyItemProjectsItem>;
1039
+ export type InviteUserToTeamRequestBodyItemProjectsList = Array<InviteUserToTeamRequestBodyItemProjectsItem>;
1040
+ export declare const InviteUserToTeamRequestBodyItemProjectsList: S.Schema<InviteUserToTeamRequestBodyItemProjectsList>;
1041
+ export interface InviteUserToTeamRequestBodyItem {
1042
+ /** The email address of the user to invite */
1043
+ email: string;
1044
+ /** The role of the user to invite */
1045
+ role?: InviteUserToTeamRequestBodyItemRole | (string & {});
1046
+ projects?: InviteUserToTeamRequestBodyItemProjectsList;
1047
+ }
1048
+ export declare const InviteUserToTeamRequestBodyItem: S.Schema<InviteUserToTeamRequestBodyItem>;
1049
+ export type InviteUserToTeamRequestBodyList = Array<InviteUserToTeamRequestBodyItem>;
1050
+ export declare const InviteUserToTeamRequestBodyList: S.Schema<InviteUserToTeamRequestBodyList>;
1051
+ export interface InviteUserToTeamRequest {
1052
+ /** The Team identifier to perform the request on behalf of. */
1053
+ teamId: string;
1054
+ /** The Team slug to perform the request on behalf of. */
1055
+ slug?: string;
1056
+ body?: InviteUserToTeamRequestBodyList;
1057
+ }
1058
+ export declare const InviteUserToTeamRequest: S.Schema<InviteUserToTeamRequest>;
1059
+ /** The role used for the invitation */
1060
+ export type InvitedTeamMemberRole = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
1061
+ export declare const InvitedTeamMemberRole: any;
1062
+ /** The team roles of the user */
1063
+ export type InvitedTeamMemberTeamRolesItem = "BILLING" | "CONTRIBUTOR" | "DEVELOPER" | "MEMBER" | "OWNER" | "SECURITY" | "VIEWER" | "VIEWER_FOR_PLUS";
1064
+ export declare const InvitedTeamMemberTeamRolesItem: any;
1065
+ /** The team roles of the user */
1066
+ export type InvitedTeamMemberTeamRolesList = Array<InvitedTeamMemberTeamRolesItem>;
1067
+ export declare const InvitedTeamMemberTeamRolesList: S.Schema<InvitedTeamMemberTeamRolesList>;
1068
+ /** The team permissions of the user */
1069
+ export type InvitedTeamMemberTeamPermissionsItem = "AiGatewayApiKeyOwnedBySelf" | "AiGatewayBudgetManager" | "AiGatewayCredits" | "AiGatewaySettings" | "AiGatewayTranscriptsManager" | "AiGatewayTranscriptsViewer" | "ConnectorManager" | "CreateProject" | "EnvVariableManager" | "EnvironmentManager" | "FullProductionDeployment" | "IntegrationManager" | "OrgAdmin" | "OrgViewer" | "UsageViewer" | "V0Builder" | "V0Chatter" | "V0Viewer" | "WorkflowDecryptor";
1070
+ export declare const InvitedTeamMemberTeamPermissionsItem: any;
1071
+ /** The team permissions of the user */
1072
+ export type InvitedTeamMemberTeamPermissionsList = Array<InvitedTeamMemberTeamPermissionsItem>;
1073
+ export declare const InvitedTeamMemberTeamPermissionsList: S.Schema<InvitedTeamMemberTeamPermissionsList>;
1074
+ /** The member was successfully added to the team. */
1075
+ export interface InvitedTeamMember {
1076
+ /** The ID of the invited user */
1077
+ uid: string;
1078
+ /** The username of the invited user */
1079
+ username: string;
1080
+ /** The email of the invited user. */
1081
+ email: string;
1082
+ /** The role used for the invitation */
1083
+ role: InvitedTeamMemberRole;
1084
+ /** The team roles of the user */
1085
+ teamRoles?: InvitedTeamMemberTeamRolesList;
1086
+ /** The team permissions of the user */
1087
+ teamPermissions?: InvitedTeamMemberTeamPermissionsList;
1088
+ }
1089
+ export declare const InvitedTeamMember: S.Schema<InvitedTeamMember>;
1090
+ export interface JoinTeamRequest {
1091
+ teamId: string;
1092
+ /** The invite code to join the team. */
1093
+ inviteCode?: string;
1094
+ }
1095
+ export declare const JoinTeamRequest: S.Schema<JoinTeamRequest>;
1096
+ export interface JoinTeamResponse {
1097
+ /** The ID of the team the user joined. */
1098
+ teamId: string;
1099
+ /** The slug of the team the user joined. */
1100
+ slug: string;
1101
+ /** The name of the team the user joined. */
1102
+ name: string;
1103
+ /** The origin of how the user joined. */
1104
+ from: string;
1105
+ }
1106
+ export declare const JoinTeamResponse: S.Schema<JoinTeamResponse>;
1107
+ export interface RemoveTeamMemberRequest {
1108
+ teamId: string;
1109
+ /** The user ID of the member. */
1110
+ uid: string;
1111
+ /** The ID of the team to set as the new default team for the Northstar user. */
1112
+ newDefaultTeamId?: string;
1113
+ }
1114
+ export declare const RemoveTeamMemberRequest: S.Schema<RemoveTeamMemberRequest>;
1115
+ export interface RemoveTeamMemberResponse {
1116
+ /** ID of the team. */
1117
+ id: string;
1118
+ }
1119
+ export declare const RemoveTeamMemberResponse: S.Schema<RemoveTeamMemberResponse>;
1120
+ /** The origin of the request. */
1121
+ export type RequestAccessToTeamRequestJoinedFromOrigin = "import" | "teams" | "github" | "gitlab" | "bitbucket" | "feedback" | "organization-teams";
1122
+ export declare const RequestAccessToTeamRequestJoinedFromOrigin: any;
1123
+ /** The ID of the Git account of the user who requests access. */
1124
+ export type RequestAccessToTeamRequestJoinedFromGitUserId = string | number;
1125
+ export declare const RequestAccessToTeamRequestJoinedFromGitUserId: S.Schema<RequestAccessToTeamRequestJoinedFromGitUserId>;
1126
+ export interface RequestAccessToTeamRequestJoinedFrom {
1127
+ /** The origin of the request. */
1128
+ origin: RequestAccessToTeamRequestJoinedFromOrigin | (string & {});
1129
+ /** The commit sha if the origin is a git provider. */
1130
+ commitId?: string;
1131
+ /** The ID of the repository for the given Git provider. */
1132
+ repoId?: string;
1133
+ /** The path to the repository for the given Git provider. */
1134
+ repoPath?: string;
1135
+ /** The ID of the Git account of the user who requests access. */
1136
+ gitUserId?: RequestAccessToTeamRequestJoinedFromGitUserId;
1137
+ /** The login name for the Git account of the user who requests access. */
1138
+ gitUserLogin?: string;
1139
+ }
1140
+ export declare const RequestAccessToTeamRequestJoinedFrom: S.Schema<RequestAccessToTeamRequestJoinedFrom>;
1141
+ export interface RequestAccessToTeamRequest {
1142
+ teamId: string;
1143
+ joinedFrom: RequestAccessToTeamRequestJoinedFrom;
1144
+ }
1145
+ export declare const RequestAccessToTeamRequest: S.Schema<RequestAccessToTeamRequest>;
1146
+ export type RequestAccessToTeamResponseJoinedFromOrigin = "account-update" | "bitbucket" | "dsync" | "feedback" | "github" | "gitlab" | "import" | "link" | "mail" | "nsnb-auto-approve" | "nsnb-hobby-upgrade" | "nsnb-invite" | "nsnb-redeploy" | "nsnb-redeploy-attribution-card" | "nsnb-request-access" | "nsnb-viewer-upgrade" | "organization-teams" | "saml" | "teams";
1147
+ export declare const RequestAccessToTeamResponseJoinedFromOrigin: any;
1148
+ export type RequestAccessToTeamResponseJoinedFromGitUserId = string | number;
1149
+ export declare const RequestAccessToTeamResponseJoinedFromGitUserId: S.Schema<RequestAccessToTeamResponseJoinedFromGitUserId>;
1150
+ export interface RequestAccessToTeamResponseJoinedFrom {
1151
+ origin: RequestAccessToTeamResponseJoinedFromOrigin;
1152
+ commitId?: string;
1153
+ repoId?: string;
1154
+ repoPath?: string;
1155
+ gitUserId?: RequestAccessToTeamResponseJoinedFromGitUserId;
1156
+ gitUserLogin?: string;
1157
+ ssoUserId?: string;
1158
+ ssoConnectedAt?: number;
1159
+ idpUserId?: string;
1160
+ dsyncUserId?: string;
1161
+ dsyncConnectedAt?: number;
1162
+ }
1163
+ export declare const RequestAccessToTeamResponseJoinedFrom: S.Schema<RequestAccessToTeamResponseJoinedFrom>;
1164
+ export type RequestAccessToTeamResponseGithub = GetTeamAccessRequestResponseGithub;
1165
+ export declare const RequestAccessToTeamResponseGithub: S.Schema<GetTeamAccessRequestResponseGithub>;
1166
+ export type RequestAccessToTeamResponseGitlab = GetTeamAccessRequestResponseGithub;
1167
+ export declare const RequestAccessToTeamResponseGitlab: S.Schema<GetTeamAccessRequestResponseGithub>;
1168
+ export type RequestAccessToTeamResponseBitbucket = GetTeamAccessRequestResponseGithub;
1169
+ export declare const RequestAccessToTeamResponseBitbucket: S.Schema<GetTeamAccessRequestResponseGithub>;
1170
+ export interface RequestAccessToTeamResponse {
1171
+ teamSlug: string;
1172
+ teamName: string;
1173
+ confirmed?: boolean;
1174
+ joinedFrom?: RequestAccessToTeamResponseJoinedFrom;
1175
+ accessRequestedAt?: number;
1176
+ github: GetTeamAccessRequestResponseGithub | null;
1177
+ gitlab: GetTeamAccessRequestResponseGithub | null;
1178
+ bitbucket: GetTeamAccessRequestResponseGithub | null;
1179
+ }
1180
+ export declare const RequestAccessToTeamResponse: S.Schema<RequestAccessToTeamResponse>;
1181
+ export interface UpdateMicrofrontendsGroupRequest {
1182
+ /** The Team identifier to perform the request on behalf of. */
1183
+ teamId: string;
1184
+ groupId: string;
1185
+ /** The Team slug to perform the request on behalf of. */
1186
+ slug?: string;
1187
+ /** The new name for the existing microfrontends group. */
1188
+ name?: string;
1189
+ /** The new fallback environment for the microfrontends group. Must be "SAME_ENV", "PRODUCTION", or a valid custom environment slug from the default app. */
1190
+ fallbackEnvironment?: string;
1191
+ /** Whether Preview Deployments can link to branches with the same name in other Git repositories. */
1192
+ enablePolyrepoBranchRouting?: boolean;
1193
+ }
1194
+ export declare const UpdateMicrofrontendsGroupRequest: S.Schema<UpdateMicrofrontendsGroupRequest>;
1195
+ export interface UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup {
1196
+ name?: string;
1197
+ slug?: string;
1198
+ id: string;
1199
+ fallbackEnvironment?: string;
1200
+ enablePolyrepoBranchRouting?: boolean;
1201
+ }
1202
+ export declare const UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup: S.Schema<UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup>;
1203
+ export interface UpdateMicrofrontendsGroupResponse {
1204
+ updatedMicrofrontendsGroup: UpdateMicrofrontendsGroupResponseUpdatedMicrofrontendsGroup;
1205
+ }
1206
+ export declare const UpdateMicrofrontendsGroupResponse: S.Schema<UpdateMicrofrontendsGroupResponse>;
1207
+ export type UpdateTeamRequestSamlRolesValueCase0 = "OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR";
1208
+ export declare const UpdateTeamRequestSamlRolesValueCase0: any;
1209
+ export type UpdateTeamRequestSamlRolesValueCase1 = CreateTeamDsyncRoleRequestRolesValueCase1;
1210
+ export declare const UpdateTeamRequestSamlRolesValueCase1: S.Schema<CreateTeamDsyncRoleRequestRolesValueCase1>;
1211
+ export type UpdateTeamRequestSamlRolesValue = UpdateTeamRequestSamlRolesValueCase0 | CreateTeamDsyncRoleRequestRolesValueCase1;
1212
+ export declare const UpdateTeamRequestSamlRolesValue: S.Schema<UpdateTeamRequestSamlRolesValue>;
1213
+ /** Directory groups to role or access group mappings. */
1214
+ export type UpdateTeamRequestSamlRolesMap = {
1215
+ [key: string]: UpdateTeamRequestSamlRolesValue | undefined;
1216
+ };
1217
+ export declare const UpdateTeamRequestSamlRolesMap: S.Schema<UpdateTeamRequestSamlRolesMap>;
1218
+ export interface UpdateTeamRequestSaml {
1219
+ /** Require that members of the team use SAML Single Sign-On. */
1220
+ enforced?: boolean;
1221
+ /** Directory groups to role or access group mappings. */
1222
+ roles?: UpdateTeamRequestSamlRolesMap;
1223
+ }
1224
+ export declare const UpdateTeamRequestSaml: S.Schema<UpdateTeamRequestSaml>;
1225
+ /** Whether or not remote caching is enabled for the team */
1226
+ export interface UpdateTeamRequestRemoteCaching {
1227
+ /** Enable or disable remote caching for the team. */
1228
+ enabled?: boolean;
1229
+ }
1230
+ export declare const UpdateTeamRequestRemoteCaching: S.Schema<UpdateTeamRequestRemoteCaching>;
1231
+ /** Controls who can request access to protected deployments. */
1232
+ export type UpdateTeamRequestDpAccessRequestsMode = "all" | "none" | "email-domain";
1233
+ export declare const UpdateTeamRequestDpAccessRequestsMode: any;
1234
+ /** Specify if the password will apply to every Deployment Target or just Preview */
1235
+ export type UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType = "all" | "preview" | "prod_deployment_urls_and_all_previews" | "all_except_custom_domains";
1236
+ export declare const UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType: any;
1237
+ /** Allows to protect project deployments with a password */
1238
+ export interface UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection {
1239
+ /** Specify if the password will apply to every Deployment Target or just Preview */
1240
+ deploymentType: UpdateTeamRequestDefaultDeploymentProtectionPasswordProtectionDeploymentType | (string & {});
1241
+ /** The password that will be used to protect Project Deployments */
1242
+ password?: string | Redacted.Redacted<string> | null;
1243
+ }
1244
+ export declare const UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection: S.Schema<UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection>;
1245
+ /** Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */
1246
+ export type UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType = "all" | "preview" | "prod_deployment_urls_and_all_previews" | "all_except_custom_domains";
1247
+ export declare const UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType: any;
1248
+ /** Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team */
1249
+ export interface UpdateTeamRequestDefaultDeploymentProtectionSsoProtection {
1250
+ /** Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */
1251
+ deploymentType: UpdateTeamRequestDefaultDeploymentProtectionSsoProtectionDeploymentType | (string & {});
1252
+ }
1253
+ export declare const UpdateTeamRequestDefaultDeploymentProtectionSsoProtection: S.Schema<UpdateTeamRequestDefaultDeploymentProtectionSsoProtection>;
1254
+ /** Default deployment protection settings for new projects. */
1255
+ export interface UpdateTeamRequestDefaultDeploymentProtection {
1256
+ /** Allows to protect project deployments with a password */
1257
+ passwordProtection?: UpdateTeamRequestDefaultDeploymentProtectionPasswordProtection | null;
1258
+ /** Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team */
1259
+ ssoProtection?: UpdateTeamRequestDefaultDeploymentProtectionSsoProtection | null;
1260
+ }
1261
+ export declare const UpdateTeamRequestDefaultDeploymentProtection: S.Schema<UpdateTeamRequestDefaultDeploymentProtection>;
1262
+ export type UpdateTeamRequestDefaultPassportDeploymentType = "all" | "preview" | "prod_deployment_urls_and_all_previews" | "all_except_custom_domains";
1263
+ export declare const UpdateTeamRequestDefaultPassportDeploymentType: any;
1264
+ /** Default Passport configuration for new projects. */
1265
+ export interface UpdateTeamRequestDefaultPassport {
1266
+ connectorId: string;
1267
+ deploymentType?: UpdateTeamRequestDefaultPassportDeploymentType | (string & {});
1268
+ }
1269
+ export declare const UpdateTeamRequestDefaultPassport: S.Schema<UpdateTeamRequestDefaultPassport>;
1270
+ /** The time period to keep non-production deployments for */
1271
+ export type UpdateTeamRequestDefaultExpirationSettingsExpiration = "3y" | "2y" | "1y" | "6m" | "3m" | "2m" | "1m" | "2w" | "1w" | "1d" | "unlimited";
1272
+ export declare const UpdateTeamRequestDefaultExpirationSettingsExpiration: any;
1273
+ /** The time period to keep production deployments for */
1274
+ export type UpdateTeamRequestDefaultExpirationSettingsExpirationProduction = "3y" | "2y" | "1y" | "6m" | "3m" | "2m" | "1m" | "2w" | "1w" | "1d" | "unlimited";
1275
+ export declare const UpdateTeamRequestDefaultExpirationSettingsExpirationProduction: any;
1276
+ /** The time period to keep canceled deployments for */
1277
+ export type UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled = "1y" | "6m" | "3m" | "2m" | "1m" | "2w" | "1w" | "1d" | "unlimited";
1278
+ export declare const UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled: any;
1279
+ /** The time period to keep errored deployments for */
1280
+ export type UpdateTeamRequestDefaultExpirationSettingsExpirationErrored = "1y" | "6m" | "3m" | "2m" | "1m" | "2w" | "1w" | "1d" | "unlimited";
1281
+ export declare const UpdateTeamRequestDefaultExpirationSettingsExpirationErrored: any;
1282
+ export interface UpdateTeamRequestDefaultExpirationSettings {
1283
+ /** The time period to keep non-production deployments for */
1284
+ expiration?: UpdateTeamRequestDefaultExpirationSettingsExpiration | (string & {});
1285
+ /** The time period to keep production deployments for */
1286
+ expirationProduction?: UpdateTeamRequestDefaultExpirationSettingsExpirationProduction | (string & {});
1287
+ /** The time period to keep canceled deployments for */
1288
+ expirationCanceled?: UpdateTeamRequestDefaultExpirationSettingsExpirationCanceled | (string & {});
1289
+ /** The time period to keep errored deployments for */
1290
+ expirationErrored?: UpdateTeamRequestDefaultExpirationSettingsExpirationErrored | (string & {});
1291
+ }
1292
+ export declare const UpdateTeamRequestDefaultExpirationSettings: S.Schema<UpdateTeamRequestDefaultExpirationSettings>;
1293
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type = "system";
1294
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type: any;
1295
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target = "production" | "preview";
1296
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target: any;
1297
+ export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0 {
1298
+ type: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Type;
1299
+ target: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0Target | (string & {});
1300
+ }
1301
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0>;
1302
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type = "custom";
1303
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type: any;
1304
+ export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1 {
1305
+ type: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1Type;
1306
+ environmentId: string;
1307
+ }
1308
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1>;
1309
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem = UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase0 | UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItemCase1;
1310
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem>;
1311
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList = Array<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsItem>;
1312
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList>;
1313
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider = "github" | "bitbucket";
1314
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider: any;
1315
+ export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0 {
1316
+ provider: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0Provider | (string & {});
1317
+ org: string;
1318
+ repo?: string;
1319
+ }
1320
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0>;
1321
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider = "gitlab";
1322
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider: any;
1323
+ export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1 {
1324
+ provider: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1Provider;
1325
+ namespace: string;
1326
+ project?: string;
1327
+ }
1328
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1>;
1329
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem = UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase0 | UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItemCase1;
1330
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem>;
1331
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList = Array<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesItem>;
1332
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList>;
1333
+ export interface UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item {
1334
+ enabled: boolean;
1335
+ environments: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemEnvironmentsList;
1336
+ sources: UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0ItemSourcesList;
1337
+ }
1338
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item>;
1339
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List = Array<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0Item>;
1340
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List>;
1341
+ export type UpdateTeamRequestDeploymentPolicyCase0GitSources = UpdateTeamRequestDeploymentPolicyCase0GitSourcesCase0List | string;
1342
+ export declare const UpdateTeamRequestDeploymentPolicyCase0GitSources: S.Schema<UpdateTeamRequestDeploymentPolicyCase0GitSources>;
1343
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type = "system";
1344
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type: any;
1345
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target = "production" | "preview";
1346
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target: any;
1347
+ export interface UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0 {
1348
+ type: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Type;
1349
+ target: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0Target | (string & {});
1350
+ }
1351
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0>;
1352
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type = "custom";
1353
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type: any;
1354
+ export interface UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1 {
1355
+ type: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1Type;
1356
+ environmentId: string;
1357
+ }
1358
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1>;
1359
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem = UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase0 | UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItemCase1;
1360
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem>;
1361
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList = Array<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsItem>;
1362
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList>;
1363
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem = "git" | "cli" | "rest-api" | "deploy-hook" | "integration" | "v0";
1364
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem: any;
1365
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList = Array<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesItem | (string & {})>;
1366
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList>;
1367
+ export interface UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item {
1368
+ enabled: boolean;
1369
+ environments: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemEnvironmentsList;
1370
+ sources: UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0ItemSourcesList;
1371
+ }
1372
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item>;
1373
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List = Array<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0Item>;
1374
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List>;
1375
+ export type UpdateTeamRequestDeploymentPolicyCase0DeploymentSources = UpdateTeamRequestDeploymentPolicyCase0DeploymentSourcesCase0List | string;
1376
+ export declare const UpdateTeamRequestDeploymentPolicyCase0DeploymentSources: S.Schema<UpdateTeamRequestDeploymentPolicyCase0DeploymentSources>;
1377
+ /** Composable deployment-time policy. Each rule type holds a list of rules, one per environment scope. */
1378
+ export interface UpdateTeamRequestDeploymentPolicyCase0 {
1379
+ gitSources?: UpdateTeamRequestDeploymentPolicyCase0GitSources;
1380
+ deploymentSources?: UpdateTeamRequestDeploymentPolicyCase0DeploymentSources;
1381
+ }
1382
+ export declare const UpdateTeamRequestDeploymentPolicyCase0: S.Schema<UpdateTeamRequestDeploymentPolicyCase0>;
1383
+ export type UpdateTeamRequestDeploymentPolicy = UpdateTeamRequestDeploymentPolicyCase0 | string;
1384
+ export declare const UpdateTeamRequestDeploymentPolicy: S.Schema<UpdateTeamRequestDeploymentPolicy>;
1385
+ /** When enabled, deployment protection settings require stricter permissions (owner-only). */
1386
+ export interface UpdateTeamRequestStrictDeploymentProtectionSettings {
1387
+ /** Enable or disable strict deployment protection settings. */
1388
+ enabled: boolean;
1389
+ }
1390
+ export declare const UpdateTeamRequestStrictDeploymentProtectionSettings: S.Schema<UpdateTeamRequestStrictDeploymentProtectionSettings>;
1391
+ /** When enabled, creating shareable links requires Owner role. */
1392
+ export interface UpdateTeamRequestStrictShareableLinks {
1393
+ /** Enable or disable requiring Owner role to create shareable links. */
1394
+ enabled: boolean;
1395
+ }
1396
+ export declare const UpdateTeamRequestStrictShareableLinks: S.Schema<UpdateTeamRequestStrictShareableLinks>;
1397
+ /** When enabled, adding, changing, or removing project password protection requires Owner role. */
1398
+ export interface UpdateTeamRequestStrictPasswordProtectionSettings {
1399
+ /** Enable or disable requiring Owner role to change project password protection. */
1400
+ enabled: boolean;
1401
+ }
1402
+ export declare const UpdateTeamRequestStrictPasswordProtectionSettings: S.Schema<UpdateTeamRequestStrictPasswordProtectionSettings>;
1403
+ /** When enabled, creating and managing connectors requires Owner role. */
1404
+ export interface UpdateTeamRequestStrictConnectors {
1405
+ /** Enable or disable requiring Owner role to manage connectors. */
1406
+ enabled: boolean;
1407
+ }
1408
+ export declare const UpdateTeamRequestStrictConnectors: S.Schema<UpdateTeamRequestStrictConnectors>;
1409
+ /** The NSNB preference for the team. */
1410
+ export type UpdateTeamRequestNsnbConfigCase0Preference = "auto-approval" | "manual-approval" | "block";
1411
+ export declare const UpdateTeamRequestNsnbConfigCase0Preference: any;
1412
+ /** NSNB configuration for the team. */
1413
+ export interface UpdateTeamRequestNsnbConfigCase0 {
1414
+ /** The NSNB preference for the team. */
1415
+ preference: UpdateTeamRequestNsnbConfigCase0Preference | (string & {});
1416
+ }
1417
+ export declare const UpdateTeamRequestNsnbConfigCase0: S.Schema<UpdateTeamRequestNsnbConfigCase0>;
1418
+ export type UpdateTeamRequestNsnbConfig = UpdateTeamRequestNsnbConfigCase0 | string;
1419
+ export declare const UpdateTeamRequestNsnbConfig: S.Schema<UpdateTeamRequestNsnbConfig>;
1420
+ export type UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList = Array<string>;
1421
+ export declare const UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList: S.Schema<UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList>;
1422
+ export interface UpdateTeamRequestDefaultProjectJobsCase0Lint {
1423
+ targets: UpdateTeamRequestDefaultProjectJobsCase0LintTargetsList;
1424
+ }
1425
+ export declare const UpdateTeamRequestDefaultProjectJobsCase0Lint: S.Schema<UpdateTeamRequestDefaultProjectJobsCase0Lint>;
1426
+ export type UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList = Array<string>;
1427
+ export declare const UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList: S.Schema<UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList>;
1428
+ export interface UpdateTeamRequestDefaultProjectJobsCase0Typecheck {
1429
+ targets: UpdateTeamRequestDefaultProjectJobsCase0TypecheckTargetsList;
1430
+ }
1431
+ export declare const UpdateTeamRequestDefaultProjectJobsCase0Typecheck: S.Schema<UpdateTeamRequestDefaultProjectJobsCase0Typecheck>;
1432
+ /** Default job configuration applied to new projects created in this team. */
1433
+ export interface UpdateTeamRequestDefaultProjectJobsCase0 {
1434
+ lint?: UpdateTeamRequestDefaultProjectJobsCase0Lint;
1435
+ typecheck?: UpdateTeamRequestDefaultProjectJobsCase0Typecheck;
1436
+ }
1437
+ export declare const UpdateTeamRequestDefaultProjectJobsCase0: S.Schema<UpdateTeamRequestDefaultProjectJobsCase0>;
1438
+ export type UpdateTeamRequestDefaultProjectJobs = UpdateTeamRequestDefaultProjectJobsCase0 | string;
1439
+ export declare const UpdateTeamRequestDefaultProjectJobs: S.Schema<UpdateTeamRequestDefaultProjectJobs>;
1440
+ /** Default build machine type for new builds: standard, enhanced, turbo, or elastic. */
1441
+ export type UpdateTeamRequestResourceConfigBuildMachineDefault = "basic" | "enhanced" | "turbo" | "standard" | "elastic";
1442
+ export declare const UpdateTeamRequestResourceConfigBuildMachineDefault: any;
1443
+ /** Build machine configuration. */
1444
+ export interface UpdateTeamRequestResourceConfigBuildMachine {
1445
+ /** Default build machine type for new builds: standard, enhanced, turbo, or elastic. */
1446
+ default?: UpdateTeamRequestResourceConfigBuildMachineDefault | (string & {});
1447
+ }
1448
+ export declare const UpdateTeamRequestResourceConfigBuildMachine: S.Schema<UpdateTeamRequestResourceConfigBuildMachine>;
1449
+ /** Resource configuration for the team. */
1450
+ export interface UpdateTeamRequestResourceConfig {
1451
+ /** Build machine configuration. */
1452
+ buildMachine?: UpdateTeamRequestResourceConfigBuildMachine;
1453
+ }
1454
+ export declare const UpdateTeamRequestResourceConfig: S.Schema<UpdateTeamRequestResourceConfig>;
1455
+ export interface UpdateTeamRequest {
1456
+ /** The Team identifier to perform the request on behalf of. */
1457
+ teamId: string;
1458
+ /** The Team slug to perform the request on behalf of. */
1459
+ slug?: string;
1460
+ /** The hash value of an uploaded image, or `null` to clear the avatar. */
1461
+ avatar?: string | null;
1462
+ /** A short text that describes the team. */
1463
+ description?: string;
1464
+ emailDomain?: string | null;
1465
+ /** The name of the team. */
1466
+ name?: string;
1467
+ /** Suffix that will be used for all preview deployments. */
1468
+ previewDeploymentSuffix?: string | null;
1469
+ /** Create a new invite code and replace the current one. */
1470
+ regenerateInviteCode?: boolean;
1471
+ saml?: UpdateTeamRequestSaml;
1472
+ /** Enable preview toolbar: one of on, off or default. */
1473
+ enablePreviewFeedback?: string;
1474
+ /** Enable production toolbar: one of on, off or default. */
1475
+ enableProductionFeedback?: string;
1476
+ /** Sensitive environment variable policy: one of on, off or default. */
1477
+ sensitiveEnvironmentVariablePolicy?: string;
1478
+ /** Require production secrets to be in their own environment group: one of on, off or default. */
1479
+ disjunctiveProductionSecretPolicy?: string;
1480
+ /** Whether or not remote caching is enabled for the team */
1481
+ remoteCaching?: UpdateTeamRequestRemoteCaching;
1482
+ /** Display or hide IP addresses in Monitoring queries. */
1483
+ hideIpAddresses?: boolean;
1484
+ /** Display or hide IP addresses in Log Drains. */
1485
+ hideIpAddressesInLogDrains?: boolean;
1486
+ /** Controls who can request access to protected deployments. */
1487
+ dpAccessRequestsMode?: UpdateTeamRequestDpAccessRequestsMode | (string & {});
1488
+ /** When enabled, all projects in the team require commits to be signed and verified by the git provider before deployments will be created. */
1489
+ requireVerifiedCommits?: boolean;
1490
+ /** Default for projects in the team. When `true`, projects in this team will not emit GitHub repository-dispatch events on deployment events unless the project explicitly overrides this setting. */
1491
+ disableRepositoryDispatchEvents?: boolean;
1492
+ /** Default deployment protection settings for new projects. */
1493
+ defaultDeploymentProtection?: UpdateTeamRequestDefaultDeploymentProtection;
1494
+ /** Default Passport configuration for new projects. */
1495
+ defaultPassport?: UpdateTeamRequestDefaultPassport | null;
1496
+ defaultExpirationSettings?: UpdateTeamRequestDefaultExpirationSettings;
1497
+ deploymentPolicy?: UpdateTeamRequestDeploymentPolicy;
1498
+ /** When enabled, deployment protection settings require stricter permissions (owner-only). */
1499
+ strictDeploymentProtectionSettings?: UpdateTeamRequestStrictDeploymentProtectionSettings;
1500
+ /** When enabled, creating shareable links requires Owner role. */
1501
+ strictShareableLinks?: UpdateTeamRequestStrictShareableLinks;
1502
+ /** When enabled, adding, changing, or removing project password protection requires Owner role. */
1503
+ strictPasswordProtectionSettings?: UpdateTeamRequestStrictPasswordProtectionSettings;
1504
+ /** When enabled, creating and managing connectors requires Owner role. */
1505
+ strictConnectors?: UpdateTeamRequestStrictConnectors;
1506
+ nsnbConfig?: UpdateTeamRequestNsnbConfig;
1507
+ defaultProjectJobs?: UpdateTeamRequestDefaultProjectJobs;
1508
+ /** Resource configuration for the team. */
1509
+ resourceConfig?: UpdateTeamRequestResourceConfig;
1510
+ }
1511
+ export declare const UpdateTeamRequest: S.Schema<UpdateTeamRequest>;
1512
+ export type UpdateTeamMemberRequestTeamPermissionsItem = "ConnectorManager" | "IntegrationManager" | "CreateProject" | "FullProductionDeployment" | "UsageViewer" | "EnvVariableManager" | "EnvironmentManager" | "WorkflowDecryptor" | "OrgAdmin" | "OrgViewer" | "AiGatewaySettings" | "AiGatewayCredits" | "AiGatewayApiKeyOwnedBySelf" | "AiGatewayBudgetManager" | "AiGatewayTranscriptsManager" | "AiGatewayTranscriptsViewer" | "V0Builder" | "V0Chatter" | "V0Viewer";
1513
+ export declare const UpdateTeamMemberRequestTeamPermissionsItem: any;
1514
+ /** The team permissions to set for the member. Permissions must be compatible with the team roles assigned to the member. */
1515
+ export type UpdateTeamMemberRequestTeamPermissionsList = Array<UpdateTeamMemberRequestTeamPermissionsItem | (string & {})>;
1516
+ export declare const UpdateTeamMemberRequestTeamPermissionsList: S.Schema<UpdateTeamMemberRequestTeamPermissionsList>;
1517
+ /** The project role of the member that will be added. \"null\" will remove this project level role. */
1518
+ export type UpdateTeamMemberRequestProjectsItemRole = "ADMIN" | "PROJECT_VIEWER" | "PROJECT_DEVELOPER";
1519
+ export declare const UpdateTeamMemberRequestProjectsItemRole: any;
1520
+ export interface UpdateTeamMemberRequestProjectsItem {
1521
+ /** The ID of the project. */
1522
+ projectId: string;
1523
+ /** The project role of the member that will be added. \"null\" will remove this project level role. */
1524
+ role: UpdateTeamMemberRequestProjectsItemRole | (string & {}) | null;
1525
+ }
1526
+ export declare const UpdateTeamMemberRequestProjectsItem: S.Schema<UpdateTeamMemberRequestProjectsItem>;
1527
+ export type UpdateTeamMemberRequestProjectsList = Array<UpdateTeamMemberRequestProjectsItem>;
1528
+ export declare const UpdateTeamMemberRequestProjectsList: S.Schema<UpdateTeamMemberRequestProjectsList>;
1529
+ export interface UpdateTeamMemberRequestJoinedFrom {
1530
+ ssoUserId?: unknown | null;
1531
+ }
1532
+ export declare const UpdateTeamMemberRequestJoinedFrom: S.Schema<UpdateTeamMemberRequestJoinedFrom>;
1533
+ export interface UpdateTeamMemberRequest {
1534
+ teamId: string;
1535
+ /** The ID of the member. */
1536
+ uid: string;
1537
+ /** Accept a user who requested access to the team. */
1538
+ confirmed?: boolean;
1539
+ /** The role in the team of the member. */
1540
+ role?: string;
1541
+ /** The team permissions to set for the member. Permissions must be compatible with the team roles assigned to the member. */
1542
+ teamPermissions?: UpdateTeamMemberRequestTeamPermissionsList;
1543
+ projects?: UpdateTeamMemberRequestProjectsList;
1544
+ joinedFrom?: UpdateTeamMemberRequestJoinedFrom;
1545
+ }
1546
+ export declare const UpdateTeamMemberRequest: S.Schema<UpdateTeamMemberRequest>;
1547
+ export interface UpdateTeamMemberResponse {
1548
+ /** ID of the team. */
1549
+ id: string;
1550
+ }
1551
+ export declare const UpdateTeamMemberResponse: S.Schema<UpdateTeamMemberResponse>;
1552
+ export type CreateTeamError = BadRequest | Forbidden | NotFound | Conflict | VercelOpError;
1553
+ /** Create a Team Create a new Team under your account. You need to send a POST request with the desired Team slug, and optionally the Team name. */
1554
+ export declare const createTeam: API.OperationMethod<CreateTeamRequest, CreateTeamResponse, CreateTeamError, VercelOpContext>;
1555
+ export type CreateTeamDsyncRoleError = BadRequest | Forbidden | VercelOpError;
1556
+ /** Update Team Directory Sync Role Mappings Update the Directory Sync role mappings for a Team. This endpoint allows updating the mapping between directory groups and team roles or access groups. */
1557
+ export declare const createTeamDsyncRole: API.OperationMethod<CreateTeamDsyncRoleRequest, CreateTeamDsyncRoleResponse, CreateTeamDsyncRoleError, VercelOpContext>;
1558
+ export type DeleteMicrofrontendsGroupError = BadRequest | Forbidden | NotFound | VercelOpError;
1559
+ /** Delete a microfrontends group Deletes a microfrontends group from the team associated with the group ID. */
1560
+ export declare const deleteMicrofrontendsGroup: API.OperationMethod<DeleteMicrofrontendsGroupRequest, DeleteMicrofrontendsGroupResponse, DeleteMicrofrontendsGroupError, VercelOpContext>;
1561
+ export type DeleteTeamError = BadRequest | PaymentRequired | Forbidden | Conflict | VercelOpError;
1562
+ /** Delete a Team Delete a team under your account. You need to send a `DELETE` request with the desired team `id`. An optional array of reasons for deletion may also be sent. */
1563
+ export declare const deleteTeam: API.OperationMethod<DeleteTeamRequest, DeleteTeamResponse, DeleteTeamError, VercelOpContext>;
1564
+ export type DeleteTeamInviteCodeError = BadRequest | Forbidden | NotFound | VercelOpError;
1565
+ /** Delete a Team invite code Delete an active Team invite code. */
1566
+ export declare const deleteTeamInviteCode: API.OperationMethod<DeleteTeamInviteCodeRequest, DeleteTeamInviteCodeResponse, DeleteTeamInviteCodeError, VercelOpContext>;
1567
+ export type GetTeamError = BadRequest | Forbidden | NotFound | VercelOpError;
1568
+ /** Get a Team Get information for the Team specified by the `teamId` parameter. */
1569
+ export declare const getTeam: API.OperationMethod<GetTeamRequest, Team, GetTeamError, VercelOpContext>;
1570
+ export type GetTeamAccessRequestError = BadRequest | Forbidden | NotFound | VercelOpError;
1571
+ /** Get access request status Check the status of a join request. It'll respond with a 404 if the request has been declined. If no `userId` path segment was provided, this endpoint will instead return the status of the authenticated user. */
1572
+ export declare const getTeamAccessRequest: API.OperationMethod<GetTeamAccessRequestRequest, GetTeamAccessRequestResponse, GetTeamAccessRequestError, VercelOpContext>;
1573
+ export type GetTeamMembersError = BadRequest | Forbidden | NotFound | VercelOpError;
1574
+ /** List team members Get a paginated list of team members for the provided team. */
1575
+ export declare const getTeamMembers: API.OperationMethod<GetTeamMembersRequest, GetTeamMembersResponse, GetTeamMembersError, VercelOpContext>;
1576
+ export type GetTeamsError = BadRequest | Forbidden | VercelOpError;
1577
+ /** List all teams Get a paginated list of all the Teams the authenticated User is a member of. */
1578
+ export declare const getTeams: API.OperationMethod<GetTeamsRequest, GetTeamsResponse, GetTeamsError, VercelOpContext>;
1579
+ export type InviteUserToTeamError = BadRequest | Forbidden | VercelOpError;
1580
+ /** Invite a user Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email. */
1581
+ export declare const inviteUserToTeam: API.OperationMethod<InviteUserToTeamRequest, InvitedTeamMember, InviteUserToTeamError, VercelOpContext>;
1582
+ export type JoinTeamError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
1583
+ /** Join a team Join a team with a provided invite code or team ID. */
1584
+ export declare const joinTeam: API.OperationMethod<JoinTeamRequest, JoinTeamResponse, JoinTeamError, VercelOpContext>;
1585
+ export type RemoveTeamMemberError = BadRequest | Forbidden | NotFound | VercelOpError;
1586
+ /** Remove a Team Member Remove a Team Member from the Team, or dismiss a user that requested access, or leave a team. Directory Sync members can be removed when their directory email is absent or does not match the user's primary or verified secondary emails. */
1587
+ export declare const removeTeamMember: API.OperationMethod<RemoveTeamMemberRequest, RemoveTeamMemberResponse, RemoveTeamMemberError, VercelOpContext>;
1588
+ export type RequestAccessToTeamError = BadRequest | Forbidden | NotFound | VercelOpError;
1589
+ /** Request access to a team Request access to a team as a member. An owner has to approve the request. Only 100 users can request access to a team at the same time. */
1590
+ export declare const requestAccessToTeam: API.OperationMethod<RequestAccessToTeamRequest, RequestAccessToTeamResponse, RequestAccessToTeamError, VercelOpContext>;
1591
+ export type UpdateMicrofrontendsGroupError = BadRequest | Forbidden | NotFound | VercelOpError;
1592
+ /** Update a microfrontends group Updates a microfrontends group's settings. */
1593
+ export declare const updateMicrofrontendsGroup: API.OperationMethod<UpdateMicrofrontendsGroupRequest, UpdateMicrofrontendsGroupResponse, UpdateMicrofrontendsGroupError, VercelOpContext>;
1594
+ export type UpdateTeamError = BadRequest | PaymentRequired | Forbidden | VercelOpError;
1595
+ /** Update a Team Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team. */
1596
+ export declare const updateTeam: API.OperationMethod<UpdateTeamRequest, Team, UpdateTeamError, VercelOpContext>;
1597
+ export type UpdateTeamMemberError = BadRequest | PaymentRequired | Forbidden | NotFound | Conflict | VercelOpError;
1598
+ /** Update a Team Member Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. The authenticated user must be an `OWNER` of the Team. */
1599
+ export declare const updateTeamMember: API.OperationMethod<UpdateTeamMemberRequest, UpdateTeamMemberResponse, UpdateTeamMemberError, VercelOpContext>;
1600
+ //# sourceMappingURL=teams.d.ts.map