@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.
- package/bin/mcp-server.js +496 -463
- package/bin/mcp-server.js.map +17 -17
- package/docs/sdks/projects/README.md +2 -0
- package/esm/__tests__/accessgroups.test.js +1 -3
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +7 -2
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/canceldeploymentop.d.ts +35 -35
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +13 -13
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +33 -33
- package/esm/models/createdeploymentop.js +11 -11
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +164 -158
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +156 -150
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getprojectsop.d.ts +44 -4
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +33 -4
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +4 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +4 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +10 -4
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +10 -4
- package/esm/models/updateprojectop.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +1 -3
- package/src/__tests__/domains.test.ts +7 -2
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/canceldeploymentop.ts +15 -15
- package/src/models/createdeploymentop.ts +11 -11
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +312 -300
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getprojectsop.ts +59 -8
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectdatacacheop.ts +8 -0
- package/src/models/updateprojectop.ts +20 -8
- 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
|