@vercel/sdk 1.6.9 → 1.6.11

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 (152) hide show
  1. package/README.md +31 -17
  2. package/bin/mcp-server.js +1828 -1318
  3. package/bin/mcp-server.js.map +28 -28
  4. package/docs/sdks/aliases/README.md +84 -0
  5. package/docs/sdks/user/README.md +2 -0
  6. package/docs/sdks/vercel/README.md +0 -77
  7. package/esm/__tests__/aliases.test.js +17 -0
  8. package/esm/__tests__/aliases.test.js.map +1 -1
  9. package/esm/__tests__/projects.test.js +15 -13
  10. package/esm/__tests__/projects.test.js.map +1 -1
  11. package/esm/__tests__/vercel.test.js +3 -16
  12. package/esm/__tests__/vercel.test.js.map +1 -1
  13. package/esm/funcs/{patchAliasesIdProtectionBypass.d.ts → aliasesPatchUrlProtectionBypass.d.ts} +7 -4
  14. package/esm/funcs/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
  15. package/esm/funcs/{patchAliasesIdProtectionBypass.js → aliasesPatchUrlProtectionBypass.js} +22 -9
  16. package/esm/funcs/aliasesPatchUrlProtectionBypass.js.map +1 -0
  17. package/esm/funcs/userListUserEvents.js +1 -0
  18. package/esm/funcs/userListUserEvents.js.map +1 -1
  19. package/esm/lib/config.d.ts +2 -2
  20. package/esm/lib/config.js +2 -2
  21. package/esm/lib/config.js.map +1 -1
  22. package/esm/mcp-server/mcp-server.js +1 -1
  23. package/esm/mcp-server/mcp-server.js.map +1 -1
  24. package/esm/mcp-server/server.js +3 -3
  25. package/esm/mcp-server/server.js.map +1 -1
  26. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts +7 -0
  27. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.d.ts.map +1 -0
  28. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js +28 -0
  29. package/esm/mcp-server/tools/aliasesPatchUrlProtectionBypass.js.map +1 -0
  30. package/esm/models/authuser.d.ts +3 -0
  31. package/esm/models/authuser.d.ts.map +1 -1
  32. package/esm/models/authuser.js +1 -0
  33. package/esm/models/authuser.js.map +1 -1
  34. package/esm/models/createprojectenvop.d.ts +6 -6
  35. package/esm/models/createprojectenvop.js +2 -2
  36. package/esm/models/createprojectenvop.js.map +1 -1
  37. package/esm/models/createprojectop.d.ts +221 -37
  38. package/esm/models/createprojectop.d.ts.map +1 -1
  39. package/esm/models/createprojectop.js +200 -34
  40. package/esm/models/createprojectop.js.map +1 -1
  41. package/esm/models/createrecordop.d.ts +43 -43
  42. package/esm/models/createrecordop.d.ts.map +1 -1
  43. package/esm/models/createrecordop.js +51 -51
  44. package/esm/models/createrecordop.js.map +1 -1
  45. package/esm/models/createwebhookop.d.ts +24 -0
  46. package/esm/models/createwebhookop.d.ts.map +1 -1
  47. package/esm/models/createwebhookop.js +8 -0
  48. package/esm/models/createwebhookop.js.map +1 -1
  49. package/esm/models/editprojectenvop.d.ts +3 -3
  50. package/esm/models/editprojectenvop.js +1 -1
  51. package/esm/models/editprojectenvop.js.map +1 -1
  52. package/esm/models/getaliasop.d.ts +62 -62
  53. package/esm/models/getaliasop.d.ts.map +1 -1
  54. package/esm/models/getaliasop.js +84 -83
  55. package/esm/models/getaliasop.js.map +1 -1
  56. package/esm/models/getprojectsop.d.ts +93 -13
  57. package/esm/models/getprojectsop.d.ts.map +1 -1
  58. package/esm/models/getprojectsop.js +101 -16
  59. package/esm/models/getprojectsop.js.map +1 -1
  60. package/esm/models/getwebhookop.d.ts +12 -0
  61. package/esm/models/getwebhookop.d.ts.map +1 -1
  62. package/esm/models/getwebhookop.js +4 -0
  63. package/esm/models/getwebhookop.js.map +1 -1
  64. package/esm/models/getwebhooksop.d.ts +24 -0
  65. package/esm/models/getwebhooksop.d.ts.map +1 -1
  66. package/esm/models/getwebhooksop.js +8 -0
  67. package/esm/models/getwebhooksop.js.map +1 -1
  68. package/esm/models/listdeploymentaliasesop.d.ts +32 -32
  69. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  70. package/esm/models/listdeploymentaliasesop.js +50 -50
  71. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  72. package/esm/models/listusereventsop.d.ts +6 -1
  73. package/esm/models/listusereventsop.d.ts.map +1 -1
  74. package/esm/models/listusereventsop.js +2 -0
  75. package/esm/models/listusereventsop.js.map +1 -1
  76. package/esm/models/{patchaliasesidprotectionbypassop.d.ts → patchurlprotectionbypassop.d.ts} +86 -76
  77. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -0
  78. package/esm/models/{patchaliasesidprotectionbypassop.js → patchurlprotectionbypassop.js} +95 -91
  79. package/esm/models/patchurlprotectionbypassop.js.map +1 -0
  80. package/esm/models/removeprojectenvop.d.ts +9 -9
  81. package/esm/models/removeprojectenvop.js +3 -3
  82. package/esm/models/removeprojectenvop.js.map +1 -1
  83. package/esm/models/teamlimited.d.ts +30 -1
  84. package/esm/models/teamlimited.d.ts.map +1 -1
  85. package/esm/models/teamlimited.js +24 -0
  86. package/esm/models/teamlimited.js.map +1 -1
  87. package/esm/models/updateprojectdatacacheop.d.ts +109 -29
  88. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  89. package/esm/models/updateprojectdatacacheop.js +128 -42
  90. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  91. package/esm/models/updateprojectop.d.ts +253 -69
  92. package/esm/models/updateprojectop.d.ts.map +1 -1
  93. package/esm/models/updateprojectop.js +253 -83
  94. package/esm/models/updateprojectop.js.map +1 -1
  95. package/esm/models/updateprojectprotectionbypassop.d.ts +88 -14
  96. package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
  97. package/esm/models/updateprojectprotectionbypassop.js +100 -17
  98. package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
  99. package/esm/models/userevent.d.ts +324 -34
  100. package/esm/models/userevent.d.ts.map +1 -1
  101. package/esm/models/userevent.js +313 -40
  102. package/esm/models/userevent.js.map +1 -1
  103. package/esm/sdk/aliases.d.ts +10 -0
  104. package/esm/sdk/aliases.d.ts.map +1 -1
  105. package/esm/sdk/aliases.js +10 -0
  106. package/esm/sdk/aliases.js.map +1 -1
  107. package/esm/sdk/sdk.d.ts +1 -8
  108. package/esm/sdk/sdk.d.ts.map +1 -1
  109. package/esm/sdk/sdk.js +0 -8
  110. package/esm/sdk/sdk.js.map +1 -1
  111. package/jsr.json +1 -1
  112. package/package.json +1 -1
  113. package/src/__tests__/aliases.test.ts +20 -0
  114. package/src/__tests__/projects.test.ts +15 -13
  115. package/src/__tests__/vercel.test.ts +4 -19
  116. package/src/funcs/{patchAliasesIdProtectionBypass.ts → aliasesPatchUrlProtectionBypass.ts} +27 -13
  117. package/src/funcs/userListUserEvents.ts +1 -0
  118. package/src/lib/config.ts +2 -2
  119. package/src/mcp-server/mcp-server.ts +1 -1
  120. package/src/mcp-server/server.ts +3 -3
  121. package/src/mcp-server/tools/aliasesPatchUrlProtectionBypass.ts +38 -0
  122. package/src/models/authuser.ts +1 -0
  123. package/src/models/createprojectenvop.ts +2 -2
  124. package/src/models/createprojectop.ts +406 -58
  125. package/src/models/createrecordop.ts +84 -96
  126. package/src/models/createwebhookop.ts +8 -0
  127. package/src/models/editprojectenvop.ts +1 -1
  128. package/src/models/getaliasop.ts +130 -126
  129. package/src/models/getprojectsop.ts +207 -29
  130. package/src/models/getwebhookop.ts +4 -0
  131. package/src/models/getwebhooksop.ts +8 -0
  132. package/src/models/listdeploymentaliasesop.ts +78 -78
  133. package/src/models/listusereventsop.ts +8 -1
  134. package/src/models/{patchaliasesidprotectionbypassop.ts → patchurlprotectionbypassop.ts} +191 -156
  135. package/src/models/removeprojectenvop.ts +3 -3
  136. package/src/models/teamlimited.ts +34 -1
  137. package/src/models/updateprojectdatacacheop.ts +249 -65
  138. package/src/models/updateprojectop.ts +491 -128
  139. package/src/models/updateprojectprotectionbypassop.ts +239 -31
  140. package/src/models/userevent.ts +579 -70
  141. package/src/sdk/aliases.ts +19 -0
  142. package/src/sdk/sdk.ts +1 -18
  143. package/vercel-spec.json +673 -157
  144. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  145. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +0 -1
  146. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +0 -7
  147. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +0 -1
  148. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +0 -26
  149. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +0 -1
  150. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +0 -1
  151. package/esm/models/patchaliasesidprotectionbypassop.js.map +0 -1
  152. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +0 -37
@@ -23,11 +23,13 @@ export type ListDeploymentAliasesRequest = {
23
23
  slug?: string | undefined;
24
24
  };
25
25
 
26
- export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = {
26
+ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = {
27
27
  EmailInvite: "email_invite",
28
28
  } as const;
29
- export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
30
- ClosedEnum<typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope>;
29
+ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
30
+ ClosedEnum<
31
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
32
+ >;
31
33
 
32
34
  /**
33
35
  * The protection bypass for the alias
@@ -36,15 +38,14 @@ export type ListDeploymentAliasesProtectionBypass4 = {
36
38
  createdAt: number;
37
39
  lastUpdatedAt: number;
38
40
  lastUpdatedBy: string;
39
- scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
41
+ scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope;
40
42
  };
41
43
 
42
- export const ListDeploymentAliasesProtectionBypassAliasesScope = {
44
+ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope = {
43
45
  AliasProtectionOverride: "alias-protection-override",
44
46
  } as const;
45
- export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
46
- typeof ListDeploymentAliasesProtectionBypassAliasesScope
47
- >;
47
+ export type ListDeploymentAliasesProtectionBypassAliasesResponseScope =
48
+ ClosedEnum<typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope>;
48
49
 
49
50
  /**
50
51
  * The protection bypass for the alias
@@ -52,7 +53,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
52
53
  export type ListDeploymentAliasesProtectionBypass3 = {
53
54
  createdAt: number;
54
55
  createdBy: string;
55
- scope: ListDeploymentAliasesProtectionBypassAliasesScope;
56
+ scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope;
56
57
  };
57
58
 
58
59
  export const ListDeploymentAliasesProtectionBypassAccess = {
@@ -63,11 +64,11 @@ export type ListDeploymentAliasesProtectionBypassAccess = ClosedEnum<
63
64
  typeof ListDeploymentAliasesProtectionBypassAccess
64
65
  >;
65
66
 
66
- export const ListDeploymentAliasesProtectionBypassScope = {
67
+ export const ListDeploymentAliasesProtectionBypassAliasesScope = {
67
68
  User: "user",
68
69
  } as const;
69
- export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum<
70
- typeof ListDeploymentAliasesProtectionBypassScope
70
+ export type ListDeploymentAliasesProtectionBypassAliasesScope = ClosedEnum<
71
+ typeof ListDeploymentAliasesProtectionBypassAliasesScope
71
72
  >;
72
73
 
73
74
  /**
@@ -78,16 +79,15 @@ export type ListDeploymentAliasesProtectionBypass2 = {
78
79
  lastUpdatedAt: number;
79
80
  lastUpdatedBy: string;
80
81
  access: ListDeploymentAliasesProtectionBypassAccess;
81
- scope: ListDeploymentAliasesProtectionBypassScope;
82
+ scope: ListDeploymentAliasesProtectionBypassAliasesScope;
82
83
  };
83
84
 
84
- export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope = {
85
+ export const ListDeploymentAliasesProtectionBypassScope = {
85
86
  ShareableLink: "shareable-link",
86
87
  } as const;
87
- export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
88
- ClosedEnum<
89
- typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
90
- >;
88
+ export type ListDeploymentAliasesProtectionBypassScope = ClosedEnum<
89
+ typeof ListDeploymentAliasesProtectionBypassScope
90
+ >;
91
91
 
92
92
  /**
93
93
  * The protection bypass for the alias
@@ -95,7 +95,7 @@ export type ListDeploymentAliasesProtectionBypassAliasesResponse200Scope =
95
95
  export type ListDeploymentAliasesProtectionBypass1 = {
96
96
  createdAt: number;
97
97
  createdBy: string;
98
- scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope;
98
+ scope: ListDeploymentAliasesProtectionBypassScope;
99
99
  };
100
100
 
101
101
  export type ListDeploymentAliasesProtectionBypass =
@@ -209,28 +209,31 @@ export function listDeploymentAliasesRequestFromJSON(
209
209
  }
210
210
 
211
211
  /** @internal */
212
- export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema:
212
+ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema:
213
213
  z.ZodNativeEnum<
214
- typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
215
- > = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope);
214
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
215
+ > = z.nativeEnum(
216
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope,
217
+ );
216
218
 
217
219
  /** @internal */
218
- export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema:
220
+ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema:
219
221
  z.ZodNativeEnum<
220
- typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
221
- > = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
222
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
223
+ > =
224
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
222
225
 
223
226
  /**
224
227
  * @internal
225
228
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
226
229
  */
227
- export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
228
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */
230
+ export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
231
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
229
232
  export const inboundSchema =
230
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
231
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */
233
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
234
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
232
235
  export const outboundSchema =
233
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema;
236
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema;
234
237
  }
235
238
 
236
239
  /** @internal */
@@ -243,7 +246,7 @@ export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType<
243
246
  lastUpdatedAt: z.number(),
244
247
  lastUpdatedBy: z.string(),
245
248
  scope:
246
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema,
249
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema,
247
250
  });
248
251
 
249
252
  /** @internal */
@@ -264,7 +267,7 @@ export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType<
264
267
  lastUpdatedAt: z.number(),
265
268
  lastUpdatedBy: z.string(),
266
269
  scope:
267
- ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema,
270
+ ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema,
268
271
  });
269
272
 
270
273
  /**
@@ -305,26 +308,28 @@ export function listDeploymentAliasesProtectionBypass4FromJSON(
305
308
  }
306
309
 
307
310
  /** @internal */
308
- export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema:
309
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> = z
310
- .nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope);
311
+ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema:
312
+ z.ZodNativeEnum<
313
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
314
+ > = z.nativeEnum(ListDeploymentAliasesProtectionBypassAliasesResponseScope);
311
315
 
312
316
  /** @internal */
313
- export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema:
314
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> =
315
- ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
317
+ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema:
318
+ z.ZodNativeEnum<
319
+ typeof ListDeploymentAliasesProtectionBypassAliasesResponseScope
320
+ > = ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
316
321
 
317
322
  /**
318
323
  * @internal
319
324
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
320
325
  */
321
- export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ {
322
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */
326
+ export namespace ListDeploymentAliasesProtectionBypassAliasesResponseScope$ {
327
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema` instead. */
323
328
  export const inboundSchema =
324
- ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
325
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */
329
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema;
330
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema` instead. */
326
331
  export const outboundSchema =
327
- ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema;
332
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema;
328
333
  }
329
334
 
330
335
  /** @internal */
@@ -335,7 +340,8 @@ export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType<
335
340
  > = z.object({
336
341
  createdAt: z.number(),
337
342
  createdBy: z.string(),
338
- scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema,
343
+ scope:
344
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema,
339
345
  });
340
346
 
341
347
  /** @internal */
@@ -353,7 +359,8 @@ export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType<
353
359
  > = z.object({
354
360
  createdAt: z.number(),
355
361
  createdBy: z.string(),
356
- scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema,
362
+ scope:
363
+ ListDeploymentAliasesProtectionBypassAliasesResponseScope$outboundSchema,
357
364
  });
358
365
 
359
366
  /**
@@ -417,26 +424,26 @@ export namespace ListDeploymentAliasesProtectionBypassAccess$ {
417
424
  }
418
425
 
419
426
  /** @internal */
420
- export const ListDeploymentAliasesProtectionBypassScope$inboundSchema:
421
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> = z
422
- .nativeEnum(ListDeploymentAliasesProtectionBypassScope);
427
+ export const ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema:
428
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> = z
429
+ .nativeEnum(ListDeploymentAliasesProtectionBypassAliasesScope);
423
430
 
424
431
  /** @internal */
425
- export const ListDeploymentAliasesProtectionBypassScope$outboundSchema:
426
- z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> =
427
- ListDeploymentAliasesProtectionBypassScope$inboundSchema;
432
+ export const ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema:
433
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassAliasesScope> =
434
+ ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
428
435
 
429
436
  /**
430
437
  * @internal
431
438
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
432
439
  */
433
- export namespace ListDeploymentAliasesProtectionBypassScope$ {
434
- /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */
440
+ export namespace ListDeploymentAliasesProtectionBypassAliasesScope$ {
441
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema` instead. */
435
442
  export const inboundSchema =
436
- ListDeploymentAliasesProtectionBypassScope$inboundSchema;
437
- /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */
443
+ ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema;
444
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema` instead. */
438
445
  export const outboundSchema =
439
- ListDeploymentAliasesProtectionBypassScope$outboundSchema;
446
+ ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema;
440
447
  }
441
448
 
442
449
  /** @internal */
@@ -449,7 +456,7 @@ export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType<
449
456
  lastUpdatedAt: z.number(),
450
457
  lastUpdatedBy: z.string(),
451
458
  access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema,
452
- scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema,
459
+ scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema,
453
460
  });
454
461
 
455
462
  /** @internal */
@@ -471,7 +478,7 @@ export const ListDeploymentAliasesProtectionBypass2$outboundSchema: z.ZodType<
471
478
  lastUpdatedAt: z.number(),
472
479
  lastUpdatedBy: z.string(),
473
480
  access: ListDeploymentAliasesProtectionBypassAccess$outboundSchema,
474
- scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema,
481
+ scope: ListDeploymentAliasesProtectionBypassAliasesScope$outboundSchema,
475
482
  });
476
483
 
477
484
  /**
@@ -512,31 +519,26 @@ export function listDeploymentAliasesProtectionBypass2FromJSON(
512
519
  }
513
520
 
514
521
  /** @internal */
515
- export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema:
516
- z.ZodNativeEnum<
517
- typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
518
- > = z.nativeEnum(
519
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope,
520
- );
522
+ export const ListDeploymentAliasesProtectionBypassScope$inboundSchema:
523
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> = z
524
+ .nativeEnum(ListDeploymentAliasesProtectionBypassScope);
521
525
 
522
526
  /** @internal */
523
- export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema:
524
- z.ZodNativeEnum<
525
- typeof ListDeploymentAliasesProtectionBypassAliasesResponse200Scope
526
- > =
527
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
527
+ export const ListDeploymentAliasesProtectionBypassScope$outboundSchema:
528
+ z.ZodNativeEnum<typeof ListDeploymentAliasesProtectionBypassScope> =
529
+ ListDeploymentAliasesProtectionBypassScope$inboundSchema;
528
530
 
529
531
  /**
530
532
  * @internal
531
533
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
532
534
  */
533
- export namespace ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$ {
534
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */
535
+ export namespace ListDeploymentAliasesProtectionBypassScope$ {
536
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$inboundSchema` instead. */
535
537
  export const inboundSchema =
536
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema;
537
- /** @deprecated use `ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */
538
+ ListDeploymentAliasesProtectionBypassScope$inboundSchema;
539
+ /** @deprecated use `ListDeploymentAliasesProtectionBypassScope$outboundSchema` instead. */
538
540
  export const outboundSchema =
539
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema;
541
+ ListDeploymentAliasesProtectionBypassScope$outboundSchema;
540
542
  }
541
543
 
542
544
  /** @internal */
@@ -547,8 +549,7 @@ export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType<
547
549
  > = z.object({
548
550
  createdAt: z.number(),
549
551
  createdBy: z.string(),
550
- scope:
551
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema,
552
+ scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema,
552
553
  });
553
554
 
554
555
  /** @internal */
@@ -566,8 +567,7 @@ export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType<
566
567
  > = z.object({
567
568
  createdAt: z.number(),
568
569
  createdBy: z.string(),
569
- scope:
570
- ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema,
570
+ scope: ListDeploymentAliasesProtectionBypassScope$outboundSchema,
571
571
  });
572
572
 
573
573
  /**
@@ -31,9 +31,13 @@ export type ListUserEventsRequest = {
31
31
  */
32
32
  types?: string | undefined;
33
33
  /**
34
- * When retrieving events for a Team, the `userId` parameter may be specified to filter events generated by a specific member of the Team.
34
+ * Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.
35
35
  */
36
36
  userId?: string | undefined;
37
+ /**
38
+ * When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.
39
+ */
40
+ principalId?: string | undefined;
37
41
  /**
38
42
  * When set to `true`, the response will include the `payload` field for each event.
39
43
  */
@@ -69,6 +73,7 @@ export const ListUserEventsRequest$inboundSchema: z.ZodType<
69
73
  until: z.string().optional(),
70
74
  types: z.string().optional(),
71
75
  userId: z.string().optional(),
76
+ principalId: z.string().optional(),
72
77
  withPayload: z.string().optional(),
73
78
  teamId: z.string().optional(),
74
79
  slug: z.string().optional(),
@@ -81,6 +86,7 @@ export type ListUserEventsRequest$Outbound = {
81
86
  until?: string | undefined;
82
87
  types?: string | undefined;
83
88
  userId?: string | undefined;
89
+ principalId?: string | undefined;
84
90
  withPayload?: string | undefined;
85
91
  teamId?: string | undefined;
86
92
  slug?: string | undefined;
@@ -97,6 +103,7 @@ export const ListUserEventsRequest$outboundSchema: z.ZodType<
97
103
  until: z.string().optional(),
98
104
  types: z.string().optional(),
99
105
  userId: z.string().optional(),
106
+ principalId: z.string().optional(),
100
107
  withPayload: z.string().optional(),
101
108
  teamId: z.string().optional(),
102
109
  slug: z.string().optional(),