@vercel/sdk 1.8.2 → 1.8.3

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 (36) hide show
  1. package/bin/mcp-server.js +178 -149
  2. package/bin/mcp-server.js.map +10 -10
  3. package/esm/__tests__/projects.test.js +13 -15
  4. package/esm/__tests__/projects.test.js.map +1 -1
  5. package/esm/lib/config.d.ts +3 -3
  6. package/esm/lib/config.js +3 -3
  7. package/esm/lib/security.d.ts +2 -2
  8. package/esm/lib/security.d.ts.map +1 -1
  9. package/esm/mcp-server/mcp-server.js +1 -1
  10. package/esm/mcp-server/server.js +1 -1
  11. package/esm/models/filterprojectenvsop.d.ts +9 -9
  12. package/esm/models/filterprojectenvsop.js +3 -3
  13. package/esm/models/filterprojectenvsop.js.map +1 -1
  14. package/esm/models/getconfigurationop.d.ts +61 -0
  15. package/esm/models/getconfigurationop.d.ts.map +1 -1
  16. package/esm/models/getconfigurationop.js +53 -0
  17. package/esm/models/getconfigurationop.js.map +1 -1
  18. package/esm/models/getprojectenvop.d.ts +9 -9
  19. package/esm/models/getprojectenvop.js +3 -3
  20. package/esm/models/getprojectenvop.js.map +1 -1
  21. package/esm/models/getprojectsop.d.ts +128 -128
  22. package/esm/models/getprojectsop.d.ts.map +1 -1
  23. package/esm/models/getprojectsop.js +132 -132
  24. package/esm/models/getprojectsop.js.map +1 -1
  25. package/jsr.json +1 -1
  26. package/package.json +1 -1
  27. package/src/__tests__/projects.test.ts +13 -15
  28. package/src/lib/config.ts +3 -3
  29. package/src/lib/security.ts +2 -2
  30. package/src/mcp-server/mcp-server.ts +1 -1
  31. package/src/mcp-server/server.ts +1 -1
  32. package/src/models/filterprojectenvsop.ts +3 -3
  33. package/src/models/getconfigurationop.ts +105 -0
  34. package/src/models/getprojectenvop.ts +3 -3
  35. package/src/models/getprojectsop.ts +260 -260
  36. package/vercel-spec.json +242 -215
@@ -1020,6 +1020,70 @@ export type GetProjectsTargets = {
1020
1020
  withCache?: boolean | undefined;
1021
1021
  };
1022
1022
  export type GetProjectsPermissions = {
1023
+ aliasProject?: Array<ACLAction> | undefined;
1024
+ aliasProtectionBypass?: Array<ACLAction> | undefined;
1025
+ buildMachine?: Array<ACLAction> | undefined;
1026
+ productionAliasProtectionBypass?: Array<ACLAction> | undefined;
1027
+ connectConfigurationLink?: Array<ACLAction> | undefined;
1028
+ dataCacheNamespace?: Array<ACLAction> | undefined;
1029
+ deployment?: Array<ACLAction> | undefined;
1030
+ deploymentCheck?: Array<ACLAction> | undefined;
1031
+ deploymentCheckPreview?: Array<ACLAction> | undefined;
1032
+ deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
1033
+ deploymentProductionGit?: Array<ACLAction> | undefined;
1034
+ deploymentV0?: Array<ACLAction> | undefined;
1035
+ deploymentPreview?: Array<ACLAction> | undefined;
1036
+ deploymentPrivate?: Array<ACLAction> | undefined;
1037
+ deploymentPromote?: Array<ACLAction> | undefined;
1038
+ deploymentRollback?: Array<ACLAction> | undefined;
1039
+ edgeCacheNamespace?: Array<ACLAction> | undefined;
1040
+ environments?: Array<ACLAction> | undefined;
1041
+ logs?: Array<ACLAction> | undefined;
1042
+ logsPreset?: Array<ACLAction> | undefined;
1043
+ passwordProtection?: Array<ACLAction> | undefined;
1044
+ optionsAllowlist?: Array<ACLAction> | undefined;
1045
+ job?: Array<ACLAction> | undefined;
1046
+ observabilityData?: Array<ACLAction> | undefined;
1047
+ onDemandBuild?: Array<ACLAction> | undefined;
1048
+ onDemandConcurrency?: Array<ACLAction> | undefined;
1049
+ project?: Array<ACLAction> | undefined;
1050
+ projectFromV0?: Array<ACLAction> | undefined;
1051
+ projectAccessGroup?: Array<ACLAction> | undefined;
1052
+ projectAnalyticsSampling?: Array<ACLAction> | undefined;
1053
+ projectCheck?: Array<ACLAction> | undefined;
1054
+ projectCheckRun?: Array<ACLAction> | undefined;
1055
+ projectDeploymentHook?: Array<ACLAction> | undefined;
1056
+ projectDomain?: Array<ACLAction> | undefined;
1057
+ projectDomainMove?: Array<ACLAction> | undefined;
1058
+ projectDomainCheckConfig?: Array<ACLAction> | undefined;
1059
+ projectEnvVars?: Array<ACLAction> | undefined;
1060
+ projectEnvVarsProduction?: Array<ACLAction> | undefined;
1061
+ projectEnvVarsUnownedByIntegration?: Array<ACLAction> | undefined;
1062
+ projectFlags?: Array<ACLAction> | undefined;
1063
+ projectId?: Array<ACLAction> | undefined;
1064
+ projectIntegrationConfiguration?: Array<ACLAction> | undefined;
1065
+ projectLink?: Array<ACLAction> | undefined;
1066
+ projectMember?: Array<ACLAction> | undefined;
1067
+ projectMonitoring?: Array<ACLAction> | undefined;
1068
+ projectPermissions?: Array<ACLAction> | undefined;
1069
+ projectProductionBranch?: Array<ACLAction> | undefined;
1070
+ projectTransfer?: Array<ACLAction> | undefined;
1071
+ projectTransferOut?: Array<ACLAction> | undefined;
1072
+ projectProtectionBypass?: Array<ACLAction> | undefined;
1073
+ projectUsage?: Array<ACLAction> | undefined;
1074
+ projectAnalyticsUsage?: Array<ACLAction> | undefined;
1075
+ projectSupportCase?: Array<ACLAction> | undefined;
1076
+ projectSupportCaseComment?: Array<ACLAction> | undefined;
1077
+ projectDeploymentExpiration?: Array<ACLAction> | undefined;
1078
+ projectRollingRelease?: Array<ACLAction> | undefined;
1079
+ projectTier?: Array<ACLAction> | undefined;
1080
+ seawallConfig?: Array<ACLAction> | undefined;
1081
+ skewProtection?: Array<ACLAction> | undefined;
1082
+ analytics?: Array<ACLAction> | undefined;
1083
+ trustedIps?: Array<ACLAction> | undefined;
1084
+ webAnalytics?: Array<ACLAction> | undefined;
1085
+ sharedEnvVarConnection?: Array<ACLAction> | undefined;
1086
+ sonar?: Array<ACLAction> | undefined;
1023
1087
  user?: Array<ACLAction> | undefined;
1024
1088
  userConnection?: Array<ACLAction> | undefined;
1025
1089
  userSudo?: Array<ACLAction> | undefined;
@@ -1159,70 +1223,6 @@ export type GetProjectsPermissions = {
1159
1223
  vercelRunExec?: Array<ACLAction> | undefined;
1160
1224
  apiKey?: Array<ACLAction> | undefined;
1161
1225
  apiKeyOwnedBySelf?: Array<ACLAction> | undefined;
1162
- aliasProject?: Array<ACLAction> | undefined;
1163
- aliasProtectionBypass?: Array<ACLAction> | undefined;
1164
- buildMachine?: Array<ACLAction> | undefined;
1165
- productionAliasProtectionBypass?: Array<ACLAction> | undefined;
1166
- connectConfigurationLink?: Array<ACLAction> | undefined;
1167
- dataCacheNamespace?: Array<ACLAction> | undefined;
1168
- deployment?: Array<ACLAction> | undefined;
1169
- deploymentCheck?: Array<ACLAction> | undefined;
1170
- deploymentCheckPreview?: Array<ACLAction> | undefined;
1171
- deploymentCheckReRunFromProductionBranch?: Array<ACLAction> | undefined;
1172
- deploymentProductionGit?: Array<ACLAction> | undefined;
1173
- deploymentV0?: Array<ACLAction> | undefined;
1174
- deploymentPreview?: Array<ACLAction> | undefined;
1175
- deploymentPrivate?: Array<ACLAction> | undefined;
1176
- deploymentPromote?: Array<ACLAction> | undefined;
1177
- deploymentRollback?: Array<ACLAction> | undefined;
1178
- edgeCacheNamespace?: Array<ACLAction> | undefined;
1179
- environments?: Array<ACLAction> | undefined;
1180
- logs?: Array<ACLAction> | undefined;
1181
- logsPreset?: Array<ACLAction> | undefined;
1182
- passwordProtection?: Array<ACLAction> | undefined;
1183
- optionsAllowlist?: Array<ACLAction> | undefined;
1184
- job?: Array<ACLAction> | undefined;
1185
- observabilityData?: Array<ACLAction> | undefined;
1186
- onDemandBuild?: Array<ACLAction> | undefined;
1187
- onDemandConcurrency?: Array<ACLAction> | undefined;
1188
- project?: Array<ACLAction> | undefined;
1189
- projectFromV0?: Array<ACLAction> | undefined;
1190
- projectAccessGroup?: Array<ACLAction> | undefined;
1191
- projectAnalyticsSampling?: Array<ACLAction> | undefined;
1192
- projectCheck?: Array<ACLAction> | undefined;
1193
- projectCheckRun?: Array<ACLAction> | undefined;
1194
- projectDeploymentHook?: Array<ACLAction> | undefined;
1195
- projectDomain?: Array<ACLAction> | undefined;
1196
- projectDomainMove?: Array<ACLAction> | undefined;
1197
- projectDomainCheckConfig?: Array<ACLAction> | undefined;
1198
- projectEnvVars?: Array<ACLAction> | undefined;
1199
- projectEnvVarsProduction?: Array<ACLAction> | undefined;
1200
- projectEnvVarsUnownedByIntegration?: Array<ACLAction> | undefined;
1201
- projectFlags?: Array<ACLAction> | undefined;
1202
- projectId?: Array<ACLAction> | undefined;
1203
- projectIntegrationConfiguration?: Array<ACLAction> | undefined;
1204
- projectLink?: Array<ACLAction> | undefined;
1205
- projectMember?: Array<ACLAction> | undefined;
1206
- projectMonitoring?: Array<ACLAction> | undefined;
1207
- projectPermissions?: Array<ACLAction> | undefined;
1208
- projectProductionBranch?: Array<ACLAction> | undefined;
1209
- projectTransfer?: Array<ACLAction> | undefined;
1210
- projectTransferOut?: Array<ACLAction> | undefined;
1211
- projectProtectionBypass?: Array<ACLAction> | undefined;
1212
- projectUsage?: Array<ACLAction> | undefined;
1213
- projectAnalyticsUsage?: Array<ACLAction> | undefined;
1214
- projectSupportCase?: Array<ACLAction> | undefined;
1215
- projectSupportCaseComment?: Array<ACLAction> | undefined;
1216
- projectDeploymentExpiration?: Array<ACLAction> | undefined;
1217
- projectRollingRelease?: Array<ACLAction> | undefined;
1218
- projectTier?: Array<ACLAction> | undefined;
1219
- seawallConfig?: Array<ACLAction> | undefined;
1220
- skewProtection?: Array<ACLAction> | undefined;
1221
- analytics?: Array<ACLAction> | undefined;
1222
- trustedIps?: Array<ACLAction> | undefined;
1223
- webAnalytics?: Array<ACLAction> | undefined;
1224
- sharedEnvVarConnection?: Array<ACLAction> | undefined;
1225
- sonar?: Array<ACLAction> | undefined;
1226
1226
  };
1227
1227
  export type GetProjectsLastRollbackTarget = {};
1228
1228
  export declare const GetProjectsJobStatus: {
@@ -4510,6 +4510,70 @@ export declare function getProjectsTargetsFromJSON(jsonString: string): SafePars
4510
4510
  export declare const GetProjectsPermissions$inboundSchema: z.ZodType<GetProjectsPermissions, z.ZodTypeDef, unknown>;
4511
4511
  /** @internal */
4512
4512
  export type GetProjectsPermissions$Outbound = {
4513
+ aliasProject?: Array<string> | undefined;
4514
+ aliasProtectionBypass?: Array<string> | undefined;
4515
+ buildMachine?: Array<string> | undefined;
4516
+ productionAliasProtectionBypass?: Array<string> | undefined;
4517
+ connectConfigurationLink?: Array<string> | undefined;
4518
+ dataCacheNamespace?: Array<string> | undefined;
4519
+ deployment?: Array<string> | undefined;
4520
+ deploymentCheck?: Array<string> | undefined;
4521
+ deploymentCheckPreview?: Array<string> | undefined;
4522
+ deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
4523
+ deploymentProductionGit?: Array<string> | undefined;
4524
+ deploymentV0?: Array<string> | undefined;
4525
+ deploymentPreview?: Array<string> | undefined;
4526
+ deploymentPrivate?: Array<string> | undefined;
4527
+ deploymentPromote?: Array<string> | undefined;
4528
+ deploymentRollback?: Array<string> | undefined;
4529
+ edgeCacheNamespace?: Array<string> | undefined;
4530
+ environments?: Array<string> | undefined;
4531
+ logs?: Array<string> | undefined;
4532
+ logsPreset?: Array<string> | undefined;
4533
+ passwordProtection?: Array<string> | undefined;
4534
+ optionsAllowlist?: Array<string> | undefined;
4535
+ job?: Array<string> | undefined;
4536
+ observabilityData?: Array<string> | undefined;
4537
+ onDemandBuild?: Array<string> | undefined;
4538
+ onDemandConcurrency?: Array<string> | undefined;
4539
+ project?: Array<string> | undefined;
4540
+ projectFromV0?: Array<string> | undefined;
4541
+ projectAccessGroup?: Array<string> | undefined;
4542
+ projectAnalyticsSampling?: Array<string> | undefined;
4543
+ projectCheck?: Array<string> | undefined;
4544
+ projectCheckRun?: Array<string> | undefined;
4545
+ projectDeploymentHook?: Array<string> | undefined;
4546
+ projectDomain?: Array<string> | undefined;
4547
+ projectDomainMove?: Array<string> | undefined;
4548
+ projectDomainCheckConfig?: Array<string> | undefined;
4549
+ projectEnvVars?: Array<string> | undefined;
4550
+ projectEnvVarsProduction?: Array<string> | undefined;
4551
+ projectEnvVarsUnownedByIntegration?: Array<string> | undefined;
4552
+ projectFlags?: Array<string> | undefined;
4553
+ projectId?: Array<string> | undefined;
4554
+ projectIntegrationConfiguration?: Array<string> | undefined;
4555
+ projectLink?: Array<string> | undefined;
4556
+ projectMember?: Array<string> | undefined;
4557
+ projectMonitoring?: Array<string> | undefined;
4558
+ projectPermissions?: Array<string> | undefined;
4559
+ projectProductionBranch?: Array<string> | undefined;
4560
+ projectTransfer?: Array<string> | undefined;
4561
+ projectTransferOut?: Array<string> | undefined;
4562
+ projectProtectionBypass?: Array<string> | undefined;
4563
+ projectUsage?: Array<string> | undefined;
4564
+ projectAnalyticsUsage?: Array<string> | undefined;
4565
+ projectSupportCase?: Array<string> | undefined;
4566
+ projectSupportCaseComment?: Array<string> | undefined;
4567
+ projectDeploymentExpiration?: Array<string> | undefined;
4568
+ projectRollingRelease?: Array<string> | undefined;
4569
+ projectTier?: Array<string> | undefined;
4570
+ seawallConfig?: Array<string> | undefined;
4571
+ skewProtection?: Array<string> | undefined;
4572
+ analytics?: Array<string> | undefined;
4573
+ trustedIps?: Array<string> | undefined;
4574
+ webAnalytics?: Array<string> | undefined;
4575
+ sharedEnvVarConnection?: Array<string> | undefined;
4576
+ sonar?: Array<string> | undefined;
4513
4577
  user?: Array<string> | undefined;
4514
4578
  userConnection?: Array<string> | undefined;
4515
4579
  userSudo?: Array<string> | undefined;
@@ -4649,70 +4713,6 @@ export type GetProjectsPermissions$Outbound = {
4649
4713
  vercelRunExec?: Array<string> | undefined;
4650
4714
  apiKey?: Array<string> | undefined;
4651
4715
  apiKeyOwnedBySelf?: Array<string> | undefined;
4652
- aliasProject?: Array<string> | undefined;
4653
- aliasProtectionBypass?: Array<string> | undefined;
4654
- buildMachine?: Array<string> | undefined;
4655
- productionAliasProtectionBypass?: Array<string> | undefined;
4656
- connectConfigurationLink?: Array<string> | undefined;
4657
- dataCacheNamespace?: Array<string> | undefined;
4658
- deployment?: Array<string> | undefined;
4659
- deploymentCheck?: Array<string> | undefined;
4660
- deploymentCheckPreview?: Array<string> | undefined;
4661
- deploymentCheckReRunFromProductionBranch?: Array<string> | undefined;
4662
- deploymentProductionGit?: Array<string> | undefined;
4663
- deploymentV0?: Array<string> | undefined;
4664
- deploymentPreview?: Array<string> | undefined;
4665
- deploymentPrivate?: Array<string> | undefined;
4666
- deploymentPromote?: Array<string> | undefined;
4667
- deploymentRollback?: Array<string> | undefined;
4668
- edgeCacheNamespace?: Array<string> | undefined;
4669
- environments?: Array<string> | undefined;
4670
- logs?: Array<string> | undefined;
4671
- logsPreset?: Array<string> | undefined;
4672
- passwordProtection?: Array<string> | undefined;
4673
- optionsAllowlist?: Array<string> | undefined;
4674
- job?: Array<string> | undefined;
4675
- observabilityData?: Array<string> | undefined;
4676
- onDemandBuild?: Array<string> | undefined;
4677
- onDemandConcurrency?: Array<string> | undefined;
4678
- project?: Array<string> | undefined;
4679
- projectFromV0?: Array<string> | undefined;
4680
- projectAccessGroup?: Array<string> | undefined;
4681
- projectAnalyticsSampling?: Array<string> | undefined;
4682
- projectCheck?: Array<string> | undefined;
4683
- projectCheckRun?: Array<string> | undefined;
4684
- projectDeploymentHook?: Array<string> | undefined;
4685
- projectDomain?: Array<string> | undefined;
4686
- projectDomainMove?: Array<string> | undefined;
4687
- projectDomainCheckConfig?: Array<string> | undefined;
4688
- projectEnvVars?: Array<string> | undefined;
4689
- projectEnvVarsProduction?: Array<string> | undefined;
4690
- projectEnvVarsUnownedByIntegration?: Array<string> | undefined;
4691
- projectFlags?: Array<string> | undefined;
4692
- projectId?: Array<string> | undefined;
4693
- projectIntegrationConfiguration?: Array<string> | undefined;
4694
- projectLink?: Array<string> | undefined;
4695
- projectMember?: Array<string> | undefined;
4696
- projectMonitoring?: Array<string> | undefined;
4697
- projectPermissions?: Array<string> | undefined;
4698
- projectProductionBranch?: Array<string> | undefined;
4699
- projectTransfer?: Array<string> | undefined;
4700
- projectTransferOut?: Array<string> | undefined;
4701
- projectProtectionBypass?: Array<string> | undefined;
4702
- projectUsage?: Array<string> | undefined;
4703
- projectAnalyticsUsage?: Array<string> | undefined;
4704
- projectSupportCase?: Array<string> | undefined;
4705
- projectSupportCaseComment?: Array<string> | undefined;
4706
- projectDeploymentExpiration?: Array<string> | undefined;
4707
- projectRollingRelease?: Array<string> | undefined;
4708
- projectTier?: Array<string> | undefined;
4709
- seawallConfig?: Array<string> | undefined;
4710
- skewProtection?: Array<string> | undefined;
4711
- analytics?: Array<string> | undefined;
4712
- trustedIps?: Array<string> | undefined;
4713
- webAnalytics?: Array<string> | undefined;
4714
- sharedEnvVarConnection?: Array<string> | undefined;
4715
- sonar?: Array<string> | undefined;
4716
4716
  };
4717
4717
  /** @internal */
4718
4718
  export declare const GetProjectsPermissions$outboundSchema: z.ZodType<GetProjectsPermissions$Outbound, z.ZodTypeDef, GetProjectsPermissions>;