@vercel/sdk 1.7.5 → 1.7.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 +37 -83
- package/bin/mcp-server.js.map +13 -13
- package/esm/__tests__/projects.test.js +15 -13
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/authuser.d.ts +0 -93
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -64
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/authuserlimited.d.ts +0 -34
- package/esm/models/authuserlimited.d.ts.map +1 -1
- package/esm/models/authuserlimited.js +0 -23
- package/esm/models/authuserlimited.js.map +1 -1
- package/esm/models/createprojectop.d.ts +9 -9
- package/esm/models/createprojectop.js +3 -3
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +1 -1
- package/esm/models/updateprojectop.d.ts +9 -9
- package/esm/models/updateprojectop.js +3 -3
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourcesecretsbyidop.d.ts +2 -2
- package/esm/models/updateresourcesecretsop.d.ts +1 -1
- package/esm/models/userevent.d.ts +23 -23
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +28 -28
- package/esm/models/userevent.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/projects.test.ts +15 -13
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/authuser.ts +0 -145
- package/src/models/authuserlimited.ts +0 -40
- package/src/models/createprojectop.ts +3 -3
- package/src/models/importresourceop.ts +1 -1
- package/src/models/updateprojectop.ts +3 -3
- package/src/models/updateresourcesecretsbyidop.ts +2 -2
- package/src/models/updateresourcesecretsop.ts +1 -1
- package/src/models/userevent.ts +39 -42
- package/vercel-spec.json +14 -72
package/esm/models/userevent.js
CHANGED
|
@@ -568,7 +568,7 @@ export const UserEventPayloadOverageReason = {
|
|
|
568
568
|
WafRateLimitRequest: "wafRateLimitRequest",
|
|
569
569
|
WebAnalyticsEvent: "webAnalyticsEvent",
|
|
570
570
|
};
|
|
571
|
-
export const
|
|
571
|
+
export const Version = {
|
|
572
572
|
Northstar: "northstar",
|
|
573
573
|
};
|
|
574
574
|
/**
|
|
@@ -9783,22 +9783,23 @@ export function payloadFeatureBlocksFromJSON(jsonString) {
|
|
|
9783
9783
|
return safeParse(jsonString, (x) => PayloadFeatureBlocks$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PayloadFeatureBlocks' from JSON`);
|
|
9784
9784
|
}
|
|
9785
9785
|
/** @internal */
|
|
9786
|
-
export const
|
|
9786
|
+
export const Version$inboundSchema = z
|
|
9787
|
+
.nativeEnum(Version);
|
|
9787
9788
|
/** @internal */
|
|
9788
|
-
export const
|
|
9789
|
+
export const Version$outboundSchema = Version$inboundSchema;
|
|
9789
9790
|
/**
|
|
9790
9791
|
* @internal
|
|
9791
9792
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9792
9793
|
*/
|
|
9793
|
-
export var
|
|
9794
|
-
(function (
|
|
9795
|
-
/** @deprecated use `
|
|
9796
|
-
|
|
9797
|
-
/** @deprecated use `
|
|
9798
|
-
|
|
9799
|
-
})(
|
|
9794
|
+
export var Version$;
|
|
9795
|
+
(function (Version$) {
|
|
9796
|
+
/** @deprecated use `Version$inboundSchema` instead. */
|
|
9797
|
+
Version$.inboundSchema = Version$inboundSchema;
|
|
9798
|
+
/** @deprecated use `Version$outboundSchema` instead. */
|
|
9799
|
+
Version$.outboundSchema = Version$outboundSchema;
|
|
9800
|
+
})(Version$ || (Version$ = {}));
|
|
9800
9801
|
/** @internal */
|
|
9801
|
-
export const
|
|
9802
|
+
export const NorthstarMigration$inboundSchema = z.object({
|
|
9802
9803
|
teamId: z.string(),
|
|
9803
9804
|
projects: z.number(),
|
|
9804
9805
|
stores: z.number(),
|
|
@@ -9808,7 +9809,7 @@ export const PayloadNorthstarMigration$inboundSchema = z.object({
|
|
|
9808
9809
|
endTime: z.number(),
|
|
9809
9810
|
});
|
|
9810
9811
|
/** @internal */
|
|
9811
|
-
export const
|
|
9812
|
+
export const NorthstarMigration$outboundSchema = z.object({
|
|
9812
9813
|
teamId: z.string(),
|
|
9813
9814
|
projects: z.number(),
|
|
9814
9815
|
stores: z.number(),
|
|
@@ -9821,18 +9822,18 @@ export const PayloadNorthstarMigration$outboundSchema = z.object({
|
|
|
9821
9822
|
* @internal
|
|
9822
9823
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
9823
9824
|
*/
|
|
9824
|
-
export var
|
|
9825
|
-
(function (
|
|
9826
|
-
/** @deprecated use `
|
|
9827
|
-
|
|
9828
|
-
/** @deprecated use `
|
|
9829
|
-
|
|
9830
|
-
})(
|
|
9831
|
-
export function
|
|
9832
|
-
return JSON.stringify(
|
|
9825
|
+
export var NorthstarMigration$;
|
|
9826
|
+
(function (NorthstarMigration$) {
|
|
9827
|
+
/** @deprecated use `NorthstarMigration$inboundSchema` instead. */
|
|
9828
|
+
NorthstarMigration$.inboundSchema = NorthstarMigration$inboundSchema;
|
|
9829
|
+
/** @deprecated use `NorthstarMigration$outboundSchema` instead. */
|
|
9830
|
+
NorthstarMigration$.outboundSchema = NorthstarMigration$outboundSchema;
|
|
9831
|
+
})(NorthstarMigration$ || (NorthstarMigration$ = {}));
|
|
9832
|
+
export function northstarMigrationToJSON(northstarMigration) {
|
|
9833
|
+
return JSON.stringify(NorthstarMigration$outboundSchema.parse(northstarMigration));
|
|
9833
9834
|
}
|
|
9834
|
-
export function
|
|
9835
|
-
return safeParse(jsonString, (x) =>
|
|
9835
|
+
export function northstarMigrationFromJSON(jsonString) {
|
|
9836
|
+
return safeParse(jsonString, (x) => NorthstarMigration$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'NorthstarMigration' from JSON`);
|
|
9836
9837
|
}
|
|
9837
9838
|
/** @internal */
|
|
9838
9839
|
export const Totp$inboundSchema = z
|
|
@@ -9974,9 +9975,8 @@ export const NewOwner$inboundSchema = z.object({
|
|
|
9974
9975
|
enablePreviewFeedback: EnablePreviewFeedback$inboundSchema.optional(),
|
|
9975
9976
|
featureBlocks: z.lazy(() => PayloadFeatureBlocks$inboundSchema).optional(),
|
|
9976
9977
|
defaultTeamId: z.string().optional(),
|
|
9977
|
-
version:
|
|
9978
|
-
northstarMigration: z.lazy(() =>
|
|
9979
|
-
.optional(),
|
|
9978
|
+
version: Version$inboundSchema,
|
|
9979
|
+
northstarMigration: z.lazy(() => NorthstarMigration$inboundSchema).optional(),
|
|
9980
9980
|
opportunityId: z.string().optional(),
|
|
9981
9981
|
mfaConfiguration: z.lazy(() => MfaConfiguration$inboundSchema).optional(),
|
|
9982
9982
|
});
|
|
@@ -10063,8 +10063,8 @@ export const NewOwner$outboundSchema = z.object({
|
|
|
10063
10063
|
enablePreviewFeedback: EnablePreviewFeedback$outboundSchema.optional(),
|
|
10064
10064
|
featureBlocks: z.lazy(() => PayloadFeatureBlocks$outboundSchema).optional(),
|
|
10065
10065
|
defaultTeamId: z.string().optional(),
|
|
10066
|
-
version:
|
|
10067
|
-
northstarMigration: z.lazy(() =>
|
|
10066
|
+
version: Version$outboundSchema,
|
|
10067
|
+
northstarMigration: z.lazy(() => NorthstarMigration$outboundSchema)
|
|
10068
10068
|
.optional(),
|
|
10069
10069
|
opportunityId: z.string().optional(),
|
|
10070
10070
|
mfaConfiguration: z.lazy(() => MfaConfiguration$outboundSchema).optional(),
|