@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
|
@@ -6,7 +6,7 @@ export type UpdateResourceSecretsByIdSecrets = {
|
|
|
6
6
|
value: string;
|
|
7
7
|
prefix?: string | undefined;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
|
|
10
10
|
*/
|
|
11
11
|
environmentOverrides?: {
|
|
12
12
|
[k: string]: string;
|
|
@@ -15,7 +15,7 @@ export type UpdateResourceSecretsByIdSecrets = {
|
|
|
15
15
|
export type UpdateResourceSecretsByIdRequestBody = {
|
|
16
16
|
secrets: Array<UpdateResourceSecretsByIdSecrets>;
|
|
17
17
|
/**
|
|
18
|
-
* If true, will only
|
|
18
|
+
* If true, will only overwrite the provided secrets instead of replacing all secrets.
|
|
19
19
|
*/
|
|
20
20
|
partial?: boolean | undefined;
|
|
21
21
|
};
|
|
@@ -6,7 +6,7 @@ export type UpdateResourceSecretsSecrets = {
|
|
|
6
6
|
value: string;
|
|
7
7
|
prefix?: string | undefined;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
|
|
10
10
|
*/
|
|
11
11
|
environmentOverrides?: {
|
|
12
12
|
[k: string]: string;
|
|
@@ -2529,14 +2529,14 @@ export type PayloadFeatureBlocks = {
|
|
|
2529
2529
|
postgres?: Postgres | undefined;
|
|
2530
2530
|
redis?: Redis | undefined;
|
|
2531
2531
|
};
|
|
2532
|
-
export declare const
|
|
2532
|
+
export declare const Version: {
|
|
2533
2533
|
readonly Northstar: "northstar";
|
|
2534
2534
|
};
|
|
2535
|
-
export type
|
|
2535
|
+
export type Version = ClosedEnum<typeof Version>;
|
|
2536
2536
|
/**
|
|
2537
2537
|
* An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.
|
|
2538
2538
|
*/
|
|
2539
|
-
export type
|
|
2539
|
+
export type NorthstarMigration = {
|
|
2540
2540
|
/**
|
|
2541
2541
|
* The ID of the team we created for this user.
|
|
2542
2542
|
*/
|
|
@@ -2685,11 +2685,11 @@ export type NewOwner = {
|
|
|
2685
2685
|
*/
|
|
2686
2686
|
featureBlocks?: PayloadFeatureBlocks | undefined;
|
|
2687
2687
|
defaultTeamId?: string | undefined;
|
|
2688
|
-
version:
|
|
2688
|
+
version: Version;
|
|
2689
2689
|
/**
|
|
2690
2690
|
* An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.
|
|
2691
2691
|
*/
|
|
2692
|
-
northstarMigration?:
|
|
2692
|
+
northstarMigration?: NorthstarMigration | undefined;
|
|
2693
2693
|
/**
|
|
2694
2694
|
* The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user's choosing with the opportunity.
|
|
2695
2695
|
*/
|
|
@@ -12210,27 +12210,27 @@ export declare namespace PayloadFeatureBlocks$ {
|
|
|
12210
12210
|
export declare function payloadFeatureBlocksToJSON(payloadFeatureBlocks: PayloadFeatureBlocks): string;
|
|
12211
12211
|
export declare function payloadFeatureBlocksFromJSON(jsonString: string): SafeParseResult<PayloadFeatureBlocks, SDKValidationError>;
|
|
12212
12212
|
/** @internal */
|
|
12213
|
-
export declare const
|
|
12213
|
+
export declare const Version$inboundSchema: z.ZodNativeEnum<typeof Version>;
|
|
12214
12214
|
/** @internal */
|
|
12215
|
-
export declare const
|
|
12215
|
+
export declare const Version$outboundSchema: z.ZodNativeEnum<typeof Version>;
|
|
12216
12216
|
/**
|
|
12217
12217
|
* @internal
|
|
12218
12218
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12219
12219
|
*/
|
|
12220
|
-
export declare namespace
|
|
12221
|
-
/** @deprecated use `
|
|
12220
|
+
export declare namespace Version$ {
|
|
12221
|
+
/** @deprecated use `Version$inboundSchema` instead. */
|
|
12222
12222
|
const inboundSchema: z.ZodNativeEnum<{
|
|
12223
12223
|
readonly Northstar: "northstar";
|
|
12224
12224
|
}>;
|
|
12225
|
-
/** @deprecated use `
|
|
12225
|
+
/** @deprecated use `Version$outboundSchema` instead. */
|
|
12226
12226
|
const outboundSchema: z.ZodNativeEnum<{
|
|
12227
12227
|
readonly Northstar: "northstar";
|
|
12228
12228
|
}>;
|
|
12229
12229
|
}
|
|
12230
12230
|
/** @internal */
|
|
12231
|
-
export declare const
|
|
12231
|
+
export declare const NorthstarMigration$inboundSchema: z.ZodType<NorthstarMigration, z.ZodTypeDef, unknown>;
|
|
12232
12232
|
/** @internal */
|
|
12233
|
-
export type
|
|
12233
|
+
export type NorthstarMigration$Outbound = {
|
|
12234
12234
|
teamId: string;
|
|
12235
12235
|
projects: number;
|
|
12236
12236
|
stores: number;
|
|
@@ -12240,21 +12240,21 @@ export type PayloadNorthstarMigration$Outbound = {
|
|
|
12240
12240
|
endTime: number;
|
|
12241
12241
|
};
|
|
12242
12242
|
/** @internal */
|
|
12243
|
-
export declare const
|
|
12243
|
+
export declare const NorthstarMigration$outboundSchema: z.ZodType<NorthstarMigration$Outbound, z.ZodTypeDef, NorthstarMigration>;
|
|
12244
12244
|
/**
|
|
12245
12245
|
* @internal
|
|
12246
12246
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
12247
12247
|
*/
|
|
12248
|
-
export declare namespace
|
|
12249
|
-
/** @deprecated use `
|
|
12250
|
-
const inboundSchema: z.ZodType<
|
|
12251
|
-
/** @deprecated use `
|
|
12252
|
-
const outboundSchema: z.ZodType<
|
|
12253
|
-
/** @deprecated use `
|
|
12254
|
-
type Outbound =
|
|
12248
|
+
export declare namespace NorthstarMigration$ {
|
|
12249
|
+
/** @deprecated use `NorthstarMigration$inboundSchema` instead. */
|
|
12250
|
+
const inboundSchema: z.ZodType<NorthstarMigration, z.ZodTypeDef, unknown>;
|
|
12251
|
+
/** @deprecated use `NorthstarMigration$outboundSchema` instead. */
|
|
12252
|
+
const outboundSchema: z.ZodType<NorthstarMigration$Outbound, z.ZodTypeDef, NorthstarMigration>;
|
|
12253
|
+
/** @deprecated use `NorthstarMigration$Outbound` instead. */
|
|
12254
|
+
type Outbound = NorthstarMigration$Outbound;
|
|
12255
12255
|
}
|
|
12256
|
-
export declare function
|
|
12257
|
-
export declare function
|
|
12256
|
+
export declare function northstarMigrationToJSON(northstarMigration: NorthstarMigration): string;
|
|
12257
|
+
export declare function northstarMigrationFromJSON(jsonString: string): SafeParseResult<NorthstarMigration, SDKValidationError>;
|
|
12258
12258
|
/** @internal */
|
|
12259
12259
|
export declare const Totp$inboundSchema: z.ZodType<Totp, z.ZodTypeDef, unknown>;
|
|
12260
12260
|
/** @internal */
|
|
@@ -12380,7 +12380,7 @@ export type NewOwner$Outbound = {
|
|
|
12380
12380
|
featureBlocks?: PayloadFeatureBlocks$Outbound | undefined;
|
|
12381
12381
|
defaultTeamId?: string | undefined;
|
|
12382
12382
|
version: string;
|
|
12383
|
-
northstarMigration?:
|
|
12383
|
+
northstarMigration?: NorthstarMigration$Outbound | undefined;
|
|
12384
12384
|
opportunityId?: string | undefined;
|
|
12385
12385
|
mfaConfiguration?: MfaConfiguration$Outbound | undefined;
|
|
12386
12386
|
};
|