@vercel/sdk 1.18.1 → 1.18.2

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 (113) hide show
  1. package/README.md +51 -53
  2. package/bin/mcp-server.js +1734 -1643
  3. package/bin/mcp-server.js.map +23 -26
  4. package/esm/__tests__/domains.test.js +10 -27
  5. package/esm/__tests__/domains.test.js.map +1 -1
  6. package/esm/__tests__/edgeconfig.test.js +6 -6
  7. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  8. package/esm/__tests__/integrations.test.js +1 -1
  9. package/esm/__tests__/security.test.js +4 -4
  10. package/esm/__tests__/security.test.js.map +1 -1
  11. package/esm/funcs/integrationsGetBillingPlans.js +1 -0
  12. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -1
  13. package/esm/lib/config.d.ts +3 -3
  14. package/esm/lib/config.js +3 -3
  15. package/esm/mcp-server/mcp-server.js +1 -1
  16. package/esm/mcp-server/server.d.ts.map +1 -1
  17. package/esm/mcp-server/server.js +1 -3
  18. package/esm/mcp-server/server.js.map +1 -1
  19. package/esm/models/authuser.d.ts +5 -0
  20. package/esm/models/authuser.d.ts.map +1 -1
  21. package/esm/models/authuser.js +2 -0
  22. package/esm/models/authuser.js.map +1 -1
  23. package/esm/models/canceldeploymentop.d.ts +2 -2
  24. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  25. package/esm/models/canceldeploymentop.js +2 -2
  26. package/esm/models/canceldeploymentop.js.map +1 -1
  27. package/esm/models/createdeploymentop.d.ts +2 -2
  28. package/esm/models/createdeploymentop.d.ts.map +1 -1
  29. package/esm/models/createdeploymentop.js +2 -2
  30. package/esm/models/createdeploymentop.js.map +1 -1
  31. package/esm/models/createintegrationstoredirectop.d.ts +220 -152
  32. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  33. package/esm/models/createintegrationstoredirectop.js +296 -218
  34. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  35. package/esm/models/createprojectop.d.ts +26 -4
  36. package/esm/models/createprojectop.d.ts.map +1 -1
  37. package/esm/models/createprojectop.js +23 -4
  38. package/esm/models/createprojectop.js.map +1 -1
  39. package/esm/models/getbillingplansop.d.ts +2 -0
  40. package/esm/models/getbillingplansop.d.ts.map +1 -1
  41. package/esm/models/getbillingplansop.js +2 -0
  42. package/esm/models/getbillingplansop.js.map +1 -1
  43. package/esm/models/getconfigurationop.d.ts +61 -1
  44. package/esm/models/getconfigurationop.d.ts.map +1 -1
  45. package/esm/models/getconfigurationop.js +44 -1
  46. package/esm/models/getconfigurationop.js.map +1 -1
  47. package/esm/models/getconfigurationproductsop.d.ts +200 -200
  48. package/esm/models/getconfigurationproductsop.js +290 -290
  49. package/esm/models/getconfigurationsop.d.ts +60 -0
  50. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  51. package/esm/models/getconfigurationsop.js +43 -0
  52. package/esm/models/getconfigurationsop.js.map +1 -1
  53. package/esm/models/getdeploymentop.d.ts +4 -4
  54. package/esm/models/getdeploymentop.d.ts.map +1 -1
  55. package/esm/models/getdeploymentop.js +4 -4
  56. package/esm/models/getdeploymentop.js.map +1 -1
  57. package/esm/models/getorderop.d.ts +126 -42
  58. package/esm/models/getorderop.d.ts.map +1 -1
  59. package/esm/models/getorderop.js +138 -24
  60. package/esm/models/getorderop.js.map +1 -1
  61. package/esm/models/getprojectsop.d.ts +21 -4
  62. package/esm/models/getprojectsop.d.ts.map +1 -1
  63. package/esm/models/getprojectsop.js +21 -4
  64. package/esm/models/getprojectsop.js.map +1 -1
  65. package/esm/models/updateinstallationop.d.ts +18 -0
  66. package/esm/models/updateinstallationop.d.ts.map +1 -1
  67. package/esm/models/updateinstallationop.js +17 -0
  68. package/esm/models/updateinstallationop.js.map +1 -1
  69. package/esm/models/updateprojectdatacacheop.d.ts +21 -4
  70. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  71. package/esm/models/updateprojectdatacacheop.js +21 -4
  72. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  73. package/esm/models/updateprojectop.d.ts +26 -4
  74. package/esm/models/updateprojectop.d.ts.map +1 -1
  75. package/esm/models/updateprojectop.js +23 -4
  76. package/esm/models/updateprojectop.js.map +1 -1
  77. package/esm/models/userevent.d.ts +38 -0
  78. package/esm/models/userevent.d.ts.map +1 -1
  79. package/esm/models/userevent.js +34 -0
  80. package/esm/models/userevent.js.map +1 -1
  81. package/esm/sdk/domains.d.ts +0 -8
  82. package/esm/sdk/domains.d.ts.map +1 -1
  83. package/esm/sdk/domains.js +0 -10
  84. package/esm/sdk/domains.js.map +1 -1
  85. package/examples/package-lock.json +1 -1
  86. package/jsr.json +1 -1
  87. package/package.json +1 -1
  88. package/src/__tests__/domains.test.ts +12 -29
  89. package/src/__tests__/edgeconfig.test.ts +6 -6
  90. package/src/__tests__/integrations.test.ts +1 -1
  91. package/src/__tests__/security.test.ts +4 -4
  92. package/src/funcs/integrationsGetBillingPlans.ts +1 -0
  93. package/src/lib/config.ts +3 -3
  94. package/src/mcp-server/mcp-server.ts +1 -1
  95. package/src/mcp-server/server.ts +1 -3
  96. package/src/models/authuser.ts +7 -0
  97. package/src/models/canceldeploymentop.ts +4 -4
  98. package/src/models/createdeploymentop.ts +4 -4
  99. package/src/models/createintegrationstoredirectop.ts +704 -471
  100. package/src/models/createprojectop.ts +53 -8
  101. package/src/models/getbillingplansop.ts +4 -0
  102. package/src/models/getconfigurationop.ts +87 -1
  103. package/src/models/getconfigurationproductsop.ts +627 -627
  104. package/src/models/getconfigurationsop.ts +86 -0
  105. package/src/models/getdeploymentop.ts +8 -8
  106. package/src/models/getorderop.ts +469 -112
  107. package/src/models/getprojectsop.ts +46 -8
  108. package/src/models/updateinstallationop.ts +30 -0
  109. package/src/models/updateprojectdatacacheop.ts +46 -8
  110. package/src/models/updateprojectop.ts +53 -8
  111. package/src/models/userevent.ts +80 -0
  112. package/src/sdk/domains.ts +0 -22
  113. package/vercel-spec.json +480 -258
@@ -1145,6 +1145,7 @@ export type OneHundredAndTwentyTwo = {
1145
1145
  slug: string;
1146
1146
  teamId: string;
1147
1147
  by: string;
1148
+ byUid?: string | undefined;
1148
1149
  reasons?: Array<Reasons> | undefined;
1149
1150
  removedUsers?: {
1150
1151
  [k: string]: PayloadRemovedUsers;
@@ -1739,6 +1740,7 @@ export declare const UserEventPayload93Action: {
1739
1740
  readonly Enabled: "enabled";
1740
1741
  readonly Disabled: "disabled";
1741
1742
  readonly Regenerated: "regenerated";
1743
+ readonly Updated: "updated";
1742
1744
  };
1743
1745
  export type UserEventPayload93Action = ClosedEnum<typeof UserEventPayload93Action>;
1744
1746
  /**
@@ -1747,6 +1749,7 @@ export type UserEventPayload93Action = ClosedEnum<typeof UserEventPayload93Actio
1747
1749
  export type NinetyThree = {
1748
1750
  projectName: string;
1749
1751
  action: UserEventPayload93Action;
1752
+ envVarName?: string | undefined;
1750
1753
  };
1751
1754
  export type Paths = {
1752
1755
  value: string;
@@ -1852,8 +1855,16 @@ export declare const DeploymentType: {
1852
1855
  readonly AllExceptCustomDomains: "all_except_custom_domains";
1853
1856
  };
1854
1857
  export type DeploymentType = ClosedEnum<typeof DeploymentType>;
1858
+ export declare const Cve55182MigrationAppliedFrom: {
1859
+ readonly All: "all";
1860
+ readonly Preview: "preview";
1861
+ readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
1862
+ readonly AllExceptCustomDomains: "all_except_custom_domains";
1863
+ };
1864
+ export type Cve55182MigrationAppliedFrom = ClosedEnum<typeof Cve55182MigrationAppliedFrom>;
1855
1865
  export type SsoProtection1 = {
1856
1866
  deploymentType: DeploymentType;
1867
+ cve55182MigrationAppliedFrom?: Cve55182MigrationAppliedFrom | null | undefined;
1857
1868
  };
1858
1869
  export type PayloadSsoProtection = SsoProtection1 | SsoProtection2;
1859
1870
  export declare const OldSsoProtection2: {
@@ -1870,8 +1881,16 @@ export declare const OldSsoProtectionDeploymentType: {
1870
1881
  readonly AllExceptCustomDomains: "all_except_custom_domains";
1871
1882
  };
1872
1883
  export type OldSsoProtectionDeploymentType = ClosedEnum<typeof OldSsoProtectionDeploymentType>;
1884
+ export declare const OldSsoProtectionCve55182MigrationAppliedFrom: {
1885
+ readonly All: "all";
1886
+ readonly Preview: "preview";
1887
+ readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
1888
+ readonly AllExceptCustomDomains: "all_except_custom_domains";
1889
+ };
1890
+ export type OldSsoProtectionCve55182MigrationAppliedFrom = ClosedEnum<typeof OldSsoProtectionCve55182MigrationAppliedFrom>;
1873
1891
  export type OldSsoProtection1 = {
1874
1892
  deploymentType: OldSsoProtectionDeploymentType;
1893
+ cve55182MigrationAppliedFrom?: OldSsoProtectionCve55182MigrationAppliedFrom | null | undefined;
1875
1894
  };
1876
1895
  export type OldSsoProtection = OldSsoProtection1 | OldSsoProtection2;
1877
1896
  /**
@@ -2227,6 +2246,10 @@ export type Abuse = {
2227
2246
  * Since November 2021. Guides the abuse scanner in build container.
2228
2247
  */
2229
2248
  scanner?: string | undefined;
2249
+ /**
2250
+ * Since December 2025. UTC timestamp string of when an auto-unblock is scheduled. Format: "Wed, 03 Dec 2025 20:32:13 GMT"
2251
+ */
2252
+ scheduledUnblockAt?: string | undefined;
2230
2253
  /**
2231
2254
  * Since November 2021
2232
2255
  */
@@ -2368,6 +2391,7 @@ export type PayloadResourceConfig = {
2368
2391
  customEnvironmentsPerProject?: number | undefined;
2369
2392
  buildMachine?: PayloadBuildMachine | undefined;
2370
2393
  security?: PayloadSecurity | undefined;
2394
+ bulkRedirectsFreeLimitOverride?: number | undefined;
2371
2395
  };
2372
2396
  export type ResourceLimits = {
2373
2397
  max: number;
@@ -6027,6 +6051,7 @@ export type OneHundredAndTwentyTwo$Outbound = {
6027
6051
  slug: string;
6028
6052
  teamId: string;
6029
6053
  by: string;
6054
+ byUid?: string | undefined;
6030
6055
  reasons?: Array<Reasons$Outbound> | undefined;
6031
6056
  removedUsers?: {
6032
6057
  [k: string]: PayloadRemovedUsers$Outbound;
@@ -6745,6 +6770,7 @@ export declare const NinetyThree$inboundSchema: z.ZodType<NinetyThree, z.ZodType
6745
6770
  export type NinetyThree$Outbound = {
6746
6771
  projectName: string;
6747
6772
  action: string;
6773
+ envVarName?: string | undefined;
6748
6774
  };
6749
6775
  /** @internal */
6750
6776
  export declare const NinetyThree$outboundSchema: z.ZodType<NinetyThree$Outbound, z.ZodTypeDef, NinetyThree>;
@@ -6897,10 +6923,15 @@ export declare const DeploymentType$inboundSchema: z.ZodNativeEnum<typeof Deploy
6897
6923
  /** @internal */
6898
6924
  export declare const DeploymentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentType>;
6899
6925
  /** @internal */
6926
+ export declare const Cve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum<typeof Cve55182MigrationAppliedFrom>;
6927
+ /** @internal */
6928
+ export declare const Cve55182MigrationAppliedFrom$outboundSchema: z.ZodNativeEnum<typeof Cve55182MigrationAppliedFrom>;
6929
+ /** @internal */
6900
6930
  export declare const SsoProtection1$inboundSchema: z.ZodType<SsoProtection1, z.ZodTypeDef, unknown>;
6901
6931
  /** @internal */
6902
6932
  export type SsoProtection1$Outbound = {
6903
6933
  deploymentType: string;
6934
+ cve55182MigrationAppliedFrom?: string | null | undefined;
6904
6935
  };
6905
6936
  /** @internal */
6906
6937
  export declare const SsoProtection1$outboundSchema: z.ZodType<SsoProtection1$Outbound, z.ZodTypeDef, SsoProtection1>;
@@ -6923,10 +6954,15 @@ export declare const OldSsoProtectionDeploymentType$inboundSchema: z.ZodNativeEn
6923
6954
  /** @internal */
6924
6955
  export declare const OldSsoProtectionDeploymentType$outboundSchema: z.ZodNativeEnum<typeof OldSsoProtectionDeploymentType>;
6925
6956
  /** @internal */
6957
+ export declare const OldSsoProtectionCve55182MigrationAppliedFrom$inboundSchema: z.ZodNativeEnum<typeof OldSsoProtectionCve55182MigrationAppliedFrom>;
6958
+ /** @internal */
6959
+ export declare const OldSsoProtectionCve55182MigrationAppliedFrom$outboundSchema: z.ZodNativeEnum<typeof OldSsoProtectionCve55182MigrationAppliedFrom>;
6960
+ /** @internal */
6926
6961
  export declare const OldSsoProtection1$inboundSchema: z.ZodType<OldSsoProtection1, z.ZodTypeDef, unknown>;
6927
6962
  /** @internal */
6928
6963
  export type OldSsoProtection1$Outbound = {
6929
6964
  deploymentType: string;
6965
+ cve55182MigrationAppliedFrom?: string | null | undefined;
6930
6966
  };
6931
6967
  /** @internal */
6932
6968
  export declare const OldSsoProtection1$outboundSchema: z.ZodType<OldSsoProtection1$Outbound, z.ZodTypeDef, OldSsoProtection1>;
@@ -7428,6 +7464,7 @@ export type Abuse$Outbound = {
7428
7464
  gitLineageBlocks?: number | undefined;
7429
7465
  gitLineageBlocksDry?: number | undefined;
7430
7466
  scanner?: string | undefined;
7467
+ scheduledUnblockAt?: string | undefined;
7431
7468
  updatedAt: number;
7432
7469
  creationUserAgent?: string | undefined;
7433
7470
  creationIp?: string | undefined;
@@ -7683,6 +7720,7 @@ export type PayloadResourceConfig$Outbound = {
7683
7720
  customEnvironmentsPerProject?: number | undefined;
7684
7721
  buildMachine?: PayloadBuildMachine$Outbound | undefined;
7685
7722
  security?: PayloadSecurity$Outbound | undefined;
7723
+ bulkRedirectsFreeLimitOverride?: number | undefined;
7686
7724
  };
7687
7725
  /** @internal */
7688
7726
  export declare const PayloadResourceConfig$outboundSchema: z.ZodType<PayloadResourceConfig$Outbound, z.ZodTypeDef, PayloadResourceConfig>;