@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.
Files changed (44) hide show
  1. package/bin/mcp-server.js +37 -83
  2. package/bin/mcp-server.js.map +13 -13
  3. package/esm/__tests__/projects.test.js +15 -13
  4. package/esm/__tests__/projects.test.js.map +1 -1
  5. package/esm/lib/config.d.ts +2 -2
  6. package/esm/lib/config.js +2 -2
  7. package/esm/mcp-server/mcp-server.js +1 -1
  8. package/esm/mcp-server/server.js +1 -1
  9. package/esm/models/authuser.d.ts +0 -93
  10. package/esm/models/authuser.d.ts.map +1 -1
  11. package/esm/models/authuser.js +0 -64
  12. package/esm/models/authuser.js.map +1 -1
  13. package/esm/models/authuserlimited.d.ts +0 -34
  14. package/esm/models/authuserlimited.d.ts.map +1 -1
  15. package/esm/models/authuserlimited.js +0 -23
  16. package/esm/models/authuserlimited.js.map +1 -1
  17. package/esm/models/createprojectop.d.ts +9 -9
  18. package/esm/models/createprojectop.js +3 -3
  19. package/esm/models/createprojectop.js.map +1 -1
  20. package/esm/models/importresourceop.d.ts +1 -1
  21. package/esm/models/updateprojectop.d.ts +9 -9
  22. package/esm/models/updateprojectop.js +3 -3
  23. package/esm/models/updateprojectop.js.map +1 -1
  24. package/esm/models/updateresourcesecretsbyidop.d.ts +2 -2
  25. package/esm/models/updateresourcesecretsop.d.ts +1 -1
  26. package/esm/models/userevent.d.ts +23 -23
  27. package/esm/models/userevent.d.ts.map +1 -1
  28. package/esm/models/userevent.js +28 -28
  29. package/esm/models/userevent.js.map +1 -1
  30. package/jsr.json +1 -1
  31. package/package.json +1 -1
  32. package/src/__tests__/projects.test.ts +15 -13
  33. package/src/lib/config.ts +2 -2
  34. package/src/mcp-server/mcp-server.ts +1 -1
  35. package/src/mcp-server/server.ts +1 -1
  36. package/src/models/authuser.ts +0 -145
  37. package/src/models/authuserlimited.ts +0 -40
  38. package/src/models/createprojectop.ts +3 -3
  39. package/src/models/importresourceop.ts +1 -1
  40. package/src/models/updateprojectop.ts +3 -3
  41. package/src/models/updateresourcesecretsbyidop.ts +2 -2
  42. package/src/models/updateresourcesecretsop.ts +1 -1
  43. package/src/models/userevent.ts +39 -42
  44. 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
- * @hidden
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 update the provided secrets
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
- * @hidden
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 PayloadVersion: {
2532
+ export declare const Version: {
2533
2533
  readonly Northstar: "northstar";
2534
2534
  };
2535
- export type PayloadVersion = ClosedEnum<typeof PayloadVersion>;
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 PayloadNorthstarMigration = {
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: PayloadVersion;
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?: PayloadNorthstarMigration | undefined;
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 PayloadVersion$inboundSchema: z.ZodNativeEnum<typeof PayloadVersion>;
12213
+ export declare const Version$inboundSchema: z.ZodNativeEnum<typeof Version>;
12214
12214
  /** @internal */
12215
- export declare const PayloadVersion$outboundSchema: z.ZodNativeEnum<typeof PayloadVersion>;
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 PayloadVersion$ {
12221
- /** @deprecated use `PayloadVersion$inboundSchema` instead. */
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 `PayloadVersion$outboundSchema` instead. */
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 PayloadNorthstarMigration$inboundSchema: z.ZodType<PayloadNorthstarMigration, z.ZodTypeDef, unknown>;
12231
+ export declare const NorthstarMigration$inboundSchema: z.ZodType<NorthstarMigration, z.ZodTypeDef, unknown>;
12232
12232
  /** @internal */
12233
- export type PayloadNorthstarMigration$Outbound = {
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 PayloadNorthstarMigration$outboundSchema: z.ZodType<PayloadNorthstarMigration$Outbound, z.ZodTypeDef, PayloadNorthstarMigration>;
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 PayloadNorthstarMigration$ {
12249
- /** @deprecated use `PayloadNorthstarMigration$inboundSchema` instead. */
12250
- const inboundSchema: z.ZodType<PayloadNorthstarMigration, z.ZodTypeDef, unknown>;
12251
- /** @deprecated use `PayloadNorthstarMigration$outboundSchema` instead. */
12252
- const outboundSchema: z.ZodType<PayloadNorthstarMigration$Outbound, z.ZodTypeDef, PayloadNorthstarMigration>;
12253
- /** @deprecated use `PayloadNorthstarMigration$Outbound` instead. */
12254
- type Outbound = PayloadNorthstarMigration$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 payloadNorthstarMigrationToJSON(payloadNorthstarMigration: PayloadNorthstarMigration): string;
12257
- export declare function payloadNorthstarMigrationFromJSON(jsonString: string): SafeParseResult<PayloadNorthstarMigration, SDKValidationError>;
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?: PayloadNorthstarMigration$Outbound | undefined;
12383
+ northstarMigration?: NorthstarMigration$Outbound | undefined;
12384
12384
  opportunityId?: string | undefined;
12385
12385
  mfaConfiguration?: MfaConfiguration$Outbound | undefined;
12386
12386
  };