@vercel/sdk 1.10.5 → 1.10.6

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 (80) hide show
  1. package/bin/mcp-server.js +496 -463
  2. package/bin/mcp-server.js.map +17 -17
  3. package/docs/sdks/projects/README.md +2 -0
  4. package/esm/__tests__/accessgroups.test.js +1 -3
  5. package/esm/__tests__/accessgroups.test.js.map +1 -1
  6. package/esm/__tests__/domains.test.js +7 -2
  7. package/esm/__tests__/domains.test.js.map +1 -1
  8. package/esm/__tests__/edgeconfig.test.js +6 -6
  9. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  10. package/esm/__tests__/rollingrelease.test.js +6 -2
  11. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  12. package/esm/__tests__/security.test.js +4 -4
  13. package/esm/__tests__/security.test.js.map +1 -1
  14. package/esm/funcs/projectsGetProjects.js +1 -0
  15. package/esm/funcs/projectsGetProjects.js.map +1 -1
  16. package/esm/lib/config.d.ts +3 -3
  17. package/esm/lib/config.js +3 -3
  18. package/esm/mcp-server/mcp-server.js +1 -1
  19. package/esm/mcp-server/server.js +1 -1
  20. package/esm/models/canceldeploymentop.d.ts +35 -35
  21. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  22. package/esm/models/canceldeploymentop.js +13 -13
  23. package/esm/models/canceldeploymentop.js.map +1 -1
  24. package/esm/models/createdeploymentop.d.ts +33 -33
  25. package/esm/models/createdeploymentop.js +11 -11
  26. package/esm/models/createdeploymentop.js.map +1 -1
  27. package/esm/models/createprojectenvop.d.ts +6 -6
  28. package/esm/models/createprojectenvop.js +2 -2
  29. package/esm/models/createprojectenvop.js.map +1 -1
  30. package/esm/models/createprojectop.d.ts +164 -158
  31. package/esm/models/createprojectop.d.ts.map +1 -1
  32. package/esm/models/createprojectop.js +156 -150
  33. package/esm/models/createprojectop.js.map +1 -1
  34. package/esm/models/editprojectenvop.d.ts +3 -3
  35. package/esm/models/editprojectenvop.js +1 -1
  36. package/esm/models/editprojectenvop.js.map +1 -1
  37. package/esm/models/filterprojectenvsop.d.ts +9 -9
  38. package/esm/models/filterprojectenvsop.js +3 -3
  39. package/esm/models/filterprojectenvsop.js.map +1 -1
  40. package/esm/models/getconfigurationproductsop.d.ts +330 -330
  41. package/esm/models/getconfigurationproductsop.js +408 -408
  42. package/esm/models/getprojectsop.d.ts +44 -4
  43. package/esm/models/getprojectsop.d.ts.map +1 -1
  44. package/esm/models/getprojectsop.js +33 -4
  45. package/esm/models/getprojectsop.js.map +1 -1
  46. package/esm/models/removeprojectenvop.d.ts +9 -9
  47. package/esm/models/removeprojectenvop.js +3 -3
  48. package/esm/models/removeprojectenvop.js.map +1 -1
  49. package/esm/models/updateprojectdatacacheop.d.ts +4 -0
  50. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  51. package/esm/models/updateprojectdatacacheop.js +4 -0
  52. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  53. package/esm/models/updateprojectop.d.ts +10 -4
  54. package/esm/models/updateprojectop.d.ts.map +1 -1
  55. package/esm/models/updateprojectop.js +10 -4
  56. package/esm/models/updateprojectop.js.map +1 -1
  57. package/examples/package-lock.json +1 -1
  58. package/jsr.json +1 -1
  59. package/package.json +1 -1
  60. package/src/__tests__/accessgroups.test.ts +1 -3
  61. package/src/__tests__/domains.test.ts +7 -2
  62. package/src/__tests__/edgeconfig.test.ts +6 -6
  63. package/src/__tests__/rollingrelease.test.ts +6 -2
  64. package/src/__tests__/security.test.ts +4 -4
  65. package/src/funcs/projectsGetProjects.ts +1 -0
  66. package/src/lib/config.ts +3 -3
  67. package/src/mcp-server/mcp-server.ts +1 -1
  68. package/src/mcp-server/server.ts +1 -1
  69. package/src/models/canceldeploymentop.ts +15 -15
  70. package/src/models/createdeploymentop.ts +11 -11
  71. package/src/models/createprojectenvop.ts +2 -2
  72. package/src/models/createprojectop.ts +312 -300
  73. package/src/models/editprojectenvop.ts +1 -1
  74. package/src/models/filterprojectenvsop.ts +3 -3
  75. package/src/models/getconfigurationproductsop.ts +703 -703
  76. package/src/models/getprojectsop.ts +59 -8
  77. package/src/models/removeprojectenvop.ts +3 -3
  78. package/src/models/updateprojectdatacacheop.ts +8 -0
  79. package/src/models/updateprojectop.ts +20 -8
  80. package/vercel-spec.json +396 -346
@@ -13,6 +13,13 @@ export const GitForkProtection = {
13
13
  One: "1",
14
14
  Zero: "0",
15
15
  };
16
+ /**
17
+ * Filter results by projects with elastic concurrency enabled
18
+ */
19
+ export const ElasticConcurrencyEnabled = {
20
+ One: "1",
21
+ Zero: "0",
22
+ };
16
23
  export const GetProjectsEnvId2 = {
17
24
  Preview: "preview",
18
25
  Production: "production",
@@ -364,6 +371,21 @@ export var GitForkProtection$;
364
371
  GitForkProtection$.outboundSchema = GitForkProtection$outboundSchema;
365
372
  })(GitForkProtection$ || (GitForkProtection$ = {}));
366
373
  /** @internal */
374
+ export const ElasticConcurrencyEnabled$inboundSchema = z.nativeEnum(ElasticConcurrencyEnabled);
375
+ /** @internal */
376
+ export const ElasticConcurrencyEnabled$outboundSchema = ElasticConcurrencyEnabled$inboundSchema;
377
+ /**
378
+ * @internal
379
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
380
+ */
381
+ export var ElasticConcurrencyEnabled$;
382
+ (function (ElasticConcurrencyEnabled$) {
383
+ /** @deprecated use `ElasticConcurrencyEnabled$inboundSchema` instead. */
384
+ ElasticConcurrencyEnabled$.inboundSchema = ElasticConcurrencyEnabled$inboundSchema;
385
+ /** @deprecated use `ElasticConcurrencyEnabled$outboundSchema` instead. */
386
+ ElasticConcurrencyEnabled$.outboundSchema = ElasticConcurrencyEnabled$outboundSchema;
387
+ })(ElasticConcurrencyEnabled$ || (ElasticConcurrencyEnabled$ = {}));
388
+ /** @internal */
367
389
  export const GetProjectsRequest$inboundSchema = z.object({
368
390
  from: z.string().optional(),
369
391
  gitForkProtection: GitForkProtection$inboundSchema.optional(),
@@ -376,6 +398,7 @@ export const GetProjectsRequest$inboundSchema = z.object({
376
398
  edgeConfigId: z.string().optional(),
377
399
  edgeConfigTokenId: z.string().optional(),
378
400
  deprecated: z.boolean().optional(),
401
+ elasticConcurrencyEnabled: ElasticConcurrencyEnabled$inboundSchema.optional(),
379
402
  teamId: z.string().optional(),
380
403
  slug: z.string().optional(),
381
404
  });
@@ -392,6 +415,8 @@ export const GetProjectsRequest$outboundSchema = z.object({
392
415
  edgeConfigId: z.string().optional(),
393
416
  edgeConfigTokenId: z.string().optional(),
394
417
  deprecated: z.boolean().optional(),
418
+ elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema
419
+ .optional(),
395
420
  teamId: z.string().optional(),
396
421
  slug: z.string().optional(),
397
422
  });
@@ -2947,25 +2972,27 @@ export var GetProjectsBuildMachineType$;
2947
2972
  })(GetProjectsBuildMachineType$ || (GetProjectsBuildMachineType$ = {}));
2948
2973
  /** @internal */
2949
2974
  export const GetProjectsResourceConfig$inboundSchema = z.object({
2975
+ elasticConcurrencyEnabled: z.boolean().optional(),
2950
2976
  fluid: z.boolean().optional(),
2951
2977
  functionDefaultRegions: z.array(z.string()),
2952
2978
  functionDefaultTimeout: z.number().optional(),
2953
2979
  functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$inboundSchema
2954
2980
  .optional(),
2955
2981
  functionZeroConfigFailover: z.boolean().optional(),
2956
- elasticConcurrencyEnabled: z.boolean().optional(),
2957
2982
  buildMachineType: GetProjectsBuildMachineType$inboundSchema.optional(),
2983
+ isNSNBDisabled: z.boolean().optional(),
2958
2984
  });
2959
2985
  /** @internal */
2960
2986
  export const GetProjectsResourceConfig$outboundSchema = z.object({
2987
+ elasticConcurrencyEnabled: z.boolean().optional(),
2961
2988
  fluid: z.boolean().optional(),
2962
2989
  functionDefaultRegions: z.array(z.string()),
2963
2990
  functionDefaultTimeout: z.number().optional(),
2964
2991
  functionDefaultMemoryType: GetProjectsFunctionDefaultMemoryType$outboundSchema
2965
2992
  .optional(),
2966
2993
  functionZeroConfigFailover: z.boolean().optional(),
2967
- elasticConcurrencyEnabled: z.boolean().optional(),
2968
2994
  buildMachineType: GetProjectsBuildMachineType$outboundSchema.optional(),
2995
+ isNSNBDisabled: z.boolean().optional(),
2969
2996
  });
2970
2997
  /**
2971
2998
  * @internal
@@ -3108,25 +3135,27 @@ export var GetProjectsProjectsBuildMachineType$;
3108
3135
  })(GetProjectsProjectsBuildMachineType$ || (GetProjectsProjectsBuildMachineType$ = {}));
3109
3136
  /** @internal */
3110
3137
  export const GetProjectsDefaultResourceConfig$inboundSchema = z.object({
3138
+ elasticConcurrencyEnabled: z.boolean().optional(),
3111
3139
  fluid: z.boolean().optional(),
3112
3140
  functionDefaultRegions: z.array(z.string()),
3113
3141
  functionDefaultTimeout: z.number().optional(),
3114
3142
  functionDefaultMemoryType: GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema.optional(),
3115
3143
  functionZeroConfigFailover: z.boolean().optional(),
3116
- elasticConcurrencyEnabled: z.boolean().optional(),
3117
3144
  buildMachineType: GetProjectsProjectsBuildMachineType$inboundSchema
3118
3145
  .optional(),
3146
+ isNSNBDisabled: z.boolean().optional(),
3119
3147
  });
3120
3148
  /** @internal */
3121
3149
  export const GetProjectsDefaultResourceConfig$outboundSchema = z.object({
3150
+ elasticConcurrencyEnabled: z.boolean().optional(),
3122
3151
  fluid: z.boolean().optional(),
3123
3152
  functionDefaultRegions: z.array(z.string()),
3124
3153
  functionDefaultTimeout: z.number().optional(),
3125
3154
  functionDefaultMemoryType: GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema.optional(),
3126
3155
  functionZeroConfigFailover: z.boolean().optional(),
3127
- elasticConcurrencyEnabled: z.boolean().optional(),
3128
3156
  buildMachineType: GetProjectsProjectsBuildMachineType$outboundSchema
3129
3157
  .optional(),
3158
+ isNSNBDisabled: z.boolean().optional(),
3130
3159
  });
3131
3160
  /**
3132
3161
  * @internal