@vercel/sdk 1.2.0 → 1.2.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 (405) hide show
  1. package/FUNCTIONS.md +2 -0
  2. package/README.md +21 -5
  3. package/RUNTIMES.md +27 -1
  4. package/docs/sdks/accessgroups/README.md +58 -14
  5. package/docs/sdks/aliases/README.md +20 -0
  6. package/docs/sdks/artifacts/README.md +32 -8
  7. package/docs/sdks/authentication/README.md +4 -0
  8. package/docs/sdks/certs/README.md +16 -0
  9. package/docs/sdks/checks/README.md +20 -0
  10. package/docs/sdks/deployments/README.md +40 -2
  11. package/docs/sdks/dns/README.md +16 -0
  12. package/docs/sdks/domains/README.md +40 -0
  13. package/docs/sdks/edgeconfig/README.md +68 -2
  14. package/docs/sdks/integrations/README.md +16 -0
  15. package/docs/sdks/logdrains/README.md +36 -4
  16. package/docs/sdks/projectmembers/README.md +12 -0
  17. package/docs/sdks/projects/README.md +76 -0
  18. package/docs/sdks/security/README.md +16 -0
  19. package/docs/sdks/teams/README.md +28 -22
  20. package/docs/sdks/user/README.md +4 -0
  21. package/docs/sdks/vercel/README.md +1 -1
  22. package/docs/sdks/webhooks/README.md +20 -2
  23. package/esm/funcs/accessGroupsCreateAccessGroup.js +4 -4
  24. package/esm/funcs/accessGroupsCreateAccessGroup.js.map +1 -1
  25. package/esm/funcs/accessGroupsCreateAccessGroupProject.js +4 -4
  26. package/esm/funcs/accessGroupsCreateAccessGroupProject.js.map +1 -1
  27. package/esm/funcs/accessGroupsDeleteAccessGroup.js +4 -4
  28. package/esm/funcs/accessGroupsDeleteAccessGroup.js.map +1 -1
  29. package/esm/funcs/accessGroupsDeleteAccessGroupProject.js +4 -4
  30. package/esm/funcs/accessGroupsDeleteAccessGroupProject.js.map +1 -1
  31. package/esm/funcs/accessGroupsListAccessGroupMembers.js +4 -4
  32. package/esm/funcs/accessGroupsListAccessGroupMembers.js.map +1 -1
  33. package/esm/funcs/accessGroupsListAccessGroupProjects.js +4 -4
  34. package/esm/funcs/accessGroupsListAccessGroupProjects.js.map +1 -1
  35. package/esm/funcs/accessGroupsListAccessGroups.js +4 -4
  36. package/esm/funcs/accessGroupsListAccessGroups.js.map +1 -1
  37. package/esm/funcs/accessGroupsReadAccessGroup.js +4 -4
  38. package/esm/funcs/accessGroupsReadAccessGroup.js.map +1 -1
  39. package/esm/funcs/accessGroupsReadAccessGroupProject.js +4 -4
  40. package/esm/funcs/accessGroupsReadAccessGroupProject.js.map +1 -1
  41. package/esm/funcs/accessGroupsUpdateAccessGroup.js +4 -4
  42. package/esm/funcs/accessGroupsUpdateAccessGroup.js.map +1 -1
  43. package/esm/funcs/accessGroupsUpdateAccessGroupProject.js +4 -4
  44. package/esm/funcs/accessGroupsUpdateAccessGroupProject.js.map +1 -1
  45. package/esm/funcs/aliasesAssignAlias.js +4 -4
  46. package/esm/funcs/aliasesAssignAlias.js.map +1 -1
  47. package/esm/funcs/aliasesDeleteAlias.js +4 -4
  48. package/esm/funcs/aliasesDeleteAlias.js.map +1 -1
  49. package/esm/funcs/aliasesGetAlias.js +4 -4
  50. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  51. package/esm/funcs/aliasesListAliases.js +4 -4
  52. package/esm/funcs/aliasesListAliases.js.map +1 -1
  53. package/esm/funcs/aliasesListDeploymentAliases.js +4 -4
  54. package/esm/funcs/aliasesListDeploymentAliases.js.map +1 -1
  55. package/esm/funcs/artifactsArtifactExists.js +4 -4
  56. package/esm/funcs/artifactsArtifactExists.js.map +1 -1
  57. package/esm/funcs/artifactsArtifactQuery.js +4 -4
  58. package/esm/funcs/artifactsArtifactQuery.js.map +1 -1
  59. package/esm/funcs/artifactsDownloadArtifact.js +4 -4
  60. package/esm/funcs/artifactsDownloadArtifact.js.map +1 -1
  61. package/esm/funcs/artifactsRecordEvents.js +4 -4
  62. package/esm/funcs/artifactsRecordEvents.js.map +1 -1
  63. package/esm/funcs/artifactsStatus.js +4 -4
  64. package/esm/funcs/artifactsStatus.js.map +1 -1
  65. package/esm/funcs/artifactsUploadArtifact.js +4 -4
  66. package/esm/funcs/artifactsUploadArtifact.js.map +1 -1
  67. package/esm/funcs/authenticationCreateAuthToken.js +4 -4
  68. package/esm/funcs/authenticationCreateAuthToken.js.map +1 -1
  69. package/esm/funcs/authenticationDeleteAuthToken.js +4 -4
  70. package/esm/funcs/authenticationDeleteAuthToken.js.map +1 -1
  71. package/esm/funcs/authenticationExchangeSsoToken.js +4 -4
  72. package/esm/funcs/authenticationExchangeSsoToken.js.map +1 -1
  73. package/esm/funcs/authenticationGetAuthToken.js +4 -4
  74. package/esm/funcs/authenticationGetAuthToken.js.map +1 -1
  75. package/esm/funcs/authenticationListAuthTokens.js +4 -4
  76. package/esm/funcs/authenticationListAuthTokens.js.map +1 -1
  77. package/esm/funcs/certsGetCertById.js +4 -4
  78. package/esm/funcs/certsGetCertById.js.map +1 -1
  79. package/esm/funcs/certsIssueCert.js +4 -4
  80. package/esm/funcs/certsIssueCert.js.map +1 -1
  81. package/esm/funcs/certsRemoveCert.js +4 -4
  82. package/esm/funcs/certsRemoveCert.js.map +1 -1
  83. package/esm/funcs/certsUploadCert.js +4 -4
  84. package/esm/funcs/certsUploadCert.js.map +1 -1
  85. package/esm/funcs/checksCreateCheck.js +4 -4
  86. package/esm/funcs/checksCreateCheck.js.map +1 -1
  87. package/esm/funcs/checksGetAllChecks.js +4 -4
  88. package/esm/funcs/checksGetAllChecks.js.map +1 -1
  89. package/esm/funcs/checksGetCheck.js +4 -4
  90. package/esm/funcs/checksGetCheck.js.map +1 -1
  91. package/esm/funcs/checksRerequestCheck.js +4 -4
  92. package/esm/funcs/checksRerequestCheck.js.map +1 -1
  93. package/esm/funcs/checksUpdateCheck.js +4 -4
  94. package/esm/funcs/checksUpdateCheck.js.map +1 -1
  95. package/esm/funcs/deploymentsCancelDeployment.js +4 -4
  96. package/esm/funcs/deploymentsCancelDeployment.js.map +1 -1
  97. package/esm/funcs/deploymentsCreateDeployment.js +4 -4
  98. package/esm/funcs/deploymentsCreateDeployment.js.map +1 -1
  99. package/esm/funcs/deploymentsDeleteDeployment.js +4 -4
  100. package/esm/funcs/deploymentsDeleteDeployment.js.map +1 -1
  101. package/esm/funcs/deploymentsGetDeployment.js +4 -4
  102. package/esm/funcs/deploymentsGetDeployment.js.map +1 -1
  103. package/esm/funcs/deploymentsGetDeploymentEvents.js +4 -4
  104. package/esm/funcs/deploymentsGetDeploymentEvents.js.map +1 -1
  105. package/esm/funcs/deploymentsGetDeploymentFileContents.js +4 -4
  106. package/esm/funcs/deploymentsGetDeploymentFileContents.js.map +1 -1
  107. package/esm/funcs/deploymentsGetDeployments.js +4 -4
  108. package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
  109. package/esm/funcs/deploymentsListDeploymentFiles.js +4 -4
  110. package/esm/funcs/deploymentsListDeploymentFiles.js.map +1 -1
  111. package/esm/funcs/deploymentsUploadFile.js +4 -4
  112. package/esm/funcs/deploymentsUploadFile.js.map +1 -1
  113. package/esm/funcs/dnsCreateRecord.js +4 -4
  114. package/esm/funcs/dnsCreateRecord.js.map +1 -1
  115. package/esm/funcs/dnsGetRecords.js +4 -4
  116. package/esm/funcs/dnsGetRecords.js.map +1 -1
  117. package/esm/funcs/dnsRemoveRecord.js +4 -4
  118. package/esm/funcs/dnsRemoveRecord.js.map +1 -1
  119. package/esm/funcs/dnsUpdateRecord.js +4 -4
  120. package/esm/funcs/dnsUpdateRecord.js.map +1 -1
  121. package/esm/funcs/domainsBuyDomain.js +4 -4
  122. package/esm/funcs/domainsBuyDomain.js.map +1 -1
  123. package/esm/funcs/domainsCheckDomainPrice.js +4 -4
  124. package/esm/funcs/domainsCheckDomainPrice.js.map +1 -1
  125. package/esm/funcs/domainsCheckDomainStatus.js +4 -4
  126. package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
  127. package/esm/funcs/domainsCreateOrTransferDomain.js +4 -4
  128. package/esm/funcs/domainsCreateOrTransferDomain.js.map +1 -1
  129. package/esm/funcs/domainsDeleteDomain.js +4 -4
  130. package/esm/funcs/domainsDeleteDomain.js.map +1 -1
  131. package/esm/funcs/domainsGetDomain.js +4 -4
  132. package/esm/funcs/domainsGetDomain.js.map +1 -1
  133. package/esm/funcs/domainsGetDomainConfig.js +4 -4
  134. package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
  135. package/esm/funcs/domainsGetDomainTransfer.js +4 -4
  136. package/esm/funcs/domainsGetDomainTransfer.js.map +1 -1
  137. package/esm/funcs/domainsGetDomains.js +4 -4
  138. package/esm/funcs/domainsGetDomains.js.map +1 -1
  139. package/esm/funcs/domainsPatchDomain.js +4 -4
  140. package/esm/funcs/domainsPatchDomain.js.map +1 -1
  141. package/esm/funcs/edgeConfigCreateEdgeConfig.js +4 -4
  142. package/esm/funcs/edgeConfigCreateEdgeConfig.js.map +1 -1
  143. package/esm/funcs/edgeConfigCreateEdgeConfigToken.js +4 -4
  144. package/esm/funcs/edgeConfigCreateEdgeConfigToken.js.map +1 -1
  145. package/esm/funcs/edgeConfigDeleteEdgeConfig.js +4 -4
  146. package/esm/funcs/edgeConfigDeleteEdgeConfig.js.map +1 -1
  147. package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js +4 -4
  148. package/esm/funcs/edgeConfigDeleteEdgeConfigSchema.js.map +1 -1
  149. package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js +4 -4
  150. package/esm/funcs/edgeConfigDeleteEdgeConfigTokens.js.map +1 -1
  151. package/esm/funcs/edgeConfigGetEdgeConfig.js +4 -4
  152. package/esm/funcs/edgeConfigGetEdgeConfig.js.map +1 -1
  153. package/esm/funcs/edgeConfigGetEdgeConfigBackup.js +4 -4
  154. package/esm/funcs/edgeConfigGetEdgeConfigBackup.js.map +1 -1
  155. package/esm/funcs/edgeConfigGetEdgeConfigBackups.js +4 -4
  156. package/esm/funcs/edgeConfigGetEdgeConfigBackups.js.map +1 -1
  157. package/esm/funcs/edgeConfigGetEdgeConfigItem.js +4 -4
  158. package/esm/funcs/edgeConfigGetEdgeConfigItem.js.map +1 -1
  159. package/esm/funcs/edgeConfigGetEdgeConfigItems.js +4 -4
  160. package/esm/funcs/edgeConfigGetEdgeConfigItems.js.map +1 -1
  161. package/esm/funcs/edgeConfigGetEdgeConfigSchema.js +4 -4
  162. package/esm/funcs/edgeConfigGetEdgeConfigSchema.js.map +1 -1
  163. package/esm/funcs/edgeConfigGetEdgeConfigToken.js +4 -4
  164. package/esm/funcs/edgeConfigGetEdgeConfigToken.js.map +1 -1
  165. package/esm/funcs/edgeConfigGetEdgeConfigTokens.js +4 -4
  166. package/esm/funcs/edgeConfigGetEdgeConfigTokens.js.map +1 -1
  167. package/esm/funcs/edgeConfigGetEdgeConfigs.js +4 -4
  168. package/esm/funcs/edgeConfigGetEdgeConfigs.js.map +1 -1
  169. package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js +4 -4
  170. package/esm/funcs/edgeConfigPatchEdgeConfigSchema.js.map +1 -1
  171. package/esm/funcs/edgeConfigUpdateEdgeConfig.js +4 -4
  172. package/esm/funcs/edgeConfigUpdateEdgeConfig.js.map +1 -1
  173. package/esm/funcs/integrationsDeleteConfiguration.js +4 -4
  174. package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
  175. package/esm/funcs/integrationsGetConfiguration.js +4 -4
  176. package/esm/funcs/integrationsGetConfiguration.js.map +1 -1
  177. package/esm/funcs/integrationsGetConfigurations.js +4 -4
  178. package/esm/funcs/integrationsGetConfigurations.js.map +1 -1
  179. package/esm/funcs/integrationsGitNamespaces.js +4 -4
  180. package/esm/funcs/integrationsGitNamespaces.js.map +1 -1
  181. package/esm/funcs/integrationsSearchRepo.js +4 -4
  182. package/esm/funcs/integrationsSearchRepo.js.map +1 -1
  183. package/esm/funcs/logDrainsCreateConfigurableLogDrain.js +4 -4
  184. package/esm/funcs/logDrainsCreateConfigurableLogDrain.js.map +1 -1
  185. package/esm/funcs/logDrainsCreateLogDrain.js +4 -4
  186. package/esm/funcs/logDrainsCreateLogDrain.js.map +1 -1
  187. package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js +4 -4
  188. package/esm/funcs/logDrainsDeleteConfigurableLogDrain.js.map +1 -1
  189. package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js +4 -4
  190. package/esm/funcs/logDrainsDeleteIntegrationLogDrain.js.map +1 -1
  191. package/esm/funcs/logDrainsGetAllLogDrains.js +4 -4
  192. package/esm/funcs/logDrainsGetAllLogDrains.js.map +1 -1
  193. package/esm/funcs/logDrainsGetConfigurableLogDrain.js +4 -4
  194. package/esm/funcs/logDrainsGetConfigurableLogDrain.js.map +1 -1
  195. package/esm/funcs/logDrainsGetIntegrationLogDrains.js +4 -4
  196. package/esm/funcs/logDrainsGetIntegrationLogDrains.js.map +1 -1
  197. package/esm/funcs/marketplaceCreateEvent.js +4 -4
  198. package/esm/funcs/marketplaceCreateEvent.js.map +1 -1
  199. package/esm/funcs/marketplaceExchangeSsoToken.js +4 -4
  200. package/esm/funcs/marketplaceExchangeSsoToken.js.map +1 -1
  201. package/esm/funcs/marketplaceGetAccountInfo.js +4 -4
  202. package/esm/funcs/marketplaceGetAccountInfo.js.map +1 -1
  203. package/esm/funcs/marketplaceGetInvoice.js +4 -4
  204. package/esm/funcs/marketplaceGetInvoice.js.map +1 -1
  205. package/esm/funcs/marketplaceGetMember.js +4 -4
  206. package/esm/funcs/marketplaceGetMember.js.map +1 -1
  207. package/esm/funcs/marketplaceSubmitBillingData.js +4 -4
  208. package/esm/funcs/marketplaceSubmitBillingData.js.map +1 -1
  209. package/esm/funcs/marketplaceSubmitInvoice.js +4 -4
  210. package/esm/funcs/marketplaceSubmitInvoice.js.map +1 -1
  211. package/esm/funcs/marketplaceUpdateInvoice.js +4 -4
  212. package/esm/funcs/marketplaceUpdateInvoice.js.map +1 -1
  213. package/esm/funcs/marketplaceUpdateResourceSecrets.js +4 -4
  214. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  215. package/esm/funcs/projectMembersAddProjectMember.js +4 -4
  216. package/esm/funcs/projectMembersAddProjectMember.js.map +1 -1
  217. package/esm/funcs/projectMembersGetProjectMembers.js +4 -4
  218. package/esm/funcs/projectMembersGetProjectMembers.js.map +1 -1
  219. package/esm/funcs/projectMembersRemoveProjectMember.js +4 -4
  220. package/esm/funcs/projectMembersRemoveProjectMember.js.map +1 -1
  221. package/esm/funcs/projectsAddProjectDomain.js +4 -4
  222. package/esm/funcs/projectsAddProjectDomain.js.map +1 -1
  223. package/esm/funcs/projectsCreateProject.js +4 -4
  224. package/esm/funcs/projectsCreateProject.js.map +1 -1
  225. package/esm/funcs/projectsCreateProjectEnv.js +4 -4
  226. package/esm/funcs/projectsCreateProjectEnv.js.map +1 -1
  227. package/esm/funcs/projectsDeleteProject.js +4 -4
  228. package/esm/funcs/projectsDeleteProject.js.map +1 -1
  229. package/esm/funcs/projectsEditProjectEnv.js +4 -4
  230. package/esm/funcs/projectsEditProjectEnv.js.map +1 -1
  231. package/esm/funcs/projectsFilterProjectEnvs.js +4 -4
  232. package/esm/funcs/projectsFilterProjectEnvs.js.map +1 -1
  233. package/esm/funcs/projectsGetProjectDomain.js +4 -4
  234. package/esm/funcs/projectsGetProjectDomain.js.map +1 -1
  235. package/esm/funcs/projectsGetProjectDomains.js +4 -4
  236. package/esm/funcs/projectsGetProjectDomains.js.map +1 -1
  237. package/esm/funcs/projectsGetProjectEnv.js +4 -4
  238. package/esm/funcs/projectsGetProjectEnv.js.map +1 -1
  239. package/esm/funcs/projectsGetProjects.js +4 -4
  240. package/esm/funcs/projectsGetProjects.js.map +1 -1
  241. package/esm/funcs/projectsListPromoteAliases.js +4 -4
  242. package/esm/funcs/projectsListPromoteAliases.js.map +1 -1
  243. package/esm/funcs/projectsRemoveProjectDomain.js +4 -4
  244. package/esm/funcs/projectsRemoveProjectDomain.js.map +1 -1
  245. package/esm/funcs/projectsRemoveProjectEnv.js +4 -4
  246. package/esm/funcs/projectsRemoveProjectEnv.js.map +1 -1
  247. package/esm/funcs/projectsRequestPromote.js +4 -4
  248. package/esm/funcs/projectsRequestPromote.js.map +1 -1
  249. package/esm/funcs/projectsUpdateProject.js +4 -4
  250. package/esm/funcs/projectsUpdateProject.js.map +1 -1
  251. package/esm/funcs/projectsUpdateProjectDataCache.js +4 -4
  252. package/esm/funcs/projectsUpdateProjectDataCache.js.map +1 -1
  253. package/esm/funcs/projectsUpdateProjectDomain.js +4 -4
  254. package/esm/funcs/projectsUpdateProjectDomain.js.map +1 -1
  255. package/esm/funcs/projectsUpdateProjectProtectionBypass.js +4 -4
  256. package/esm/funcs/projectsUpdateProjectProtectionBypass.js.map +1 -1
  257. package/esm/funcs/projectsVerifyProjectDomain.js +4 -4
  258. package/esm/funcs/projectsVerifyProjectDomain.js.map +1 -1
  259. package/esm/funcs/securityGetFirewallConfig.js +4 -4
  260. package/esm/funcs/securityGetFirewallConfig.js.map +1 -1
  261. package/esm/funcs/securityPutFirewallConfig.js +4 -4
  262. package/esm/funcs/securityPutFirewallConfig.js.map +1 -1
  263. package/esm/funcs/securityUpdateAttackChallengeMode.js +4 -4
  264. package/esm/funcs/securityUpdateAttackChallengeMode.js.map +1 -1
  265. package/esm/funcs/securityUpdateFirewallConfig.js +4 -4
  266. package/esm/funcs/securityUpdateFirewallConfig.js.map +1 -1
  267. package/esm/funcs/teamsCreateTeam.js +4 -4
  268. package/esm/funcs/teamsCreateTeam.js.map +1 -1
  269. package/esm/funcs/teamsDeleteTeam.js +4 -4
  270. package/esm/funcs/teamsDeleteTeam.js.map +1 -1
  271. package/esm/funcs/teamsDeleteTeamInviteCode.js +4 -4
  272. package/esm/funcs/teamsDeleteTeamInviteCode.js.map +1 -1
  273. package/esm/funcs/teamsGetTeam.js +4 -4
  274. package/esm/funcs/teamsGetTeam.js.map +1 -1
  275. package/esm/funcs/teamsGetTeamAccessRequest.js +4 -4
  276. package/esm/funcs/teamsGetTeamAccessRequest.js.map +1 -1
  277. package/esm/funcs/teamsGetTeamMembers.js +4 -4
  278. package/esm/funcs/teamsGetTeamMembers.js.map +1 -1
  279. package/esm/funcs/teamsGetTeams.js +4 -4
  280. package/esm/funcs/teamsGetTeams.js.map +1 -1
  281. package/esm/funcs/teamsInviteUserToTeam.js +4 -4
  282. package/esm/funcs/teamsInviteUserToTeam.js.map +1 -1
  283. package/esm/funcs/teamsJoinTeam.js +4 -4
  284. package/esm/funcs/teamsJoinTeam.js.map +1 -1
  285. package/esm/funcs/teamsPatchTeam.js +4 -4
  286. package/esm/funcs/teamsPatchTeam.js.map +1 -1
  287. package/esm/funcs/teamsRemoveTeamMember.js +4 -4
  288. package/esm/funcs/teamsRemoveTeamMember.js.map +1 -1
  289. package/esm/funcs/teamsRequestAccessToTeam.js +4 -4
  290. package/esm/funcs/teamsRequestAccessToTeam.js.map +1 -1
  291. package/esm/funcs/teamsUpdateTeamMember.js +4 -4
  292. package/esm/funcs/teamsUpdateTeamMember.js.map +1 -1
  293. package/esm/funcs/userGetAuthUser.js +4 -4
  294. package/esm/funcs/userGetAuthUser.js.map +1 -1
  295. package/esm/funcs/userListUserEvents.js +4 -4
  296. package/esm/funcs/userListUserEvents.js.map +1 -1
  297. package/esm/funcs/userRequestDelete.js +4 -4
  298. package/esm/funcs/userRequestDelete.js.map +1 -1
  299. package/esm/funcs/webhooksCreateWebhook.js +4 -4
  300. package/esm/funcs/webhooksCreateWebhook.js.map +1 -1
  301. package/esm/funcs/webhooksDeleteWebhook.js +4 -4
  302. package/esm/funcs/webhooksDeleteWebhook.js.map +1 -1
  303. package/esm/funcs/webhooksGetWebhook.js +4 -4
  304. package/esm/funcs/webhooksGetWebhook.js.map +1 -1
  305. package/esm/funcs/webhooksGetWebhooks.js +4 -4
  306. package/esm/funcs/webhooksGetWebhooks.js.map +1 -1
  307. package/esm/lib/config.d.ts +3 -3
  308. package/esm/lib/config.js +4 -5
  309. package/esm/lib/config.js.map +1 -1
  310. package/esm/lib/encodings.js +18 -19
  311. package/esm/lib/encodings.js.map +1 -1
  312. package/esm/lib/http.js +1 -2
  313. package/esm/lib/http.js.map +1 -1
  314. package/esm/lib/matchers.js +5 -6
  315. package/esm/lib/matchers.js.map +1 -1
  316. package/esm/lib/primitives.js +1 -1
  317. package/esm/lib/primitives.js.map +1 -1
  318. package/esm/lib/retries.js +3 -4
  319. package/esm/lib/retries.js.map +1 -1
  320. package/esm/lib/sdks.js +15 -16
  321. package/esm/lib/sdks.js.map +1 -1
  322. package/esm/lib/security.js +2 -2
  323. package/esm/lib/security.js.map +1 -1
  324. package/esm/lib/url.js +1 -1
  325. package/esm/lib/url.js.map +1 -1
  326. package/esm/models/authuser.d.ts +3 -0
  327. package/esm/models/authuser.d.ts.map +1 -1
  328. package/esm/models/authuser.js +1 -0
  329. package/esm/models/authuser.js.map +1 -1
  330. package/esm/models/canceldeploymentop.d.ts +213 -6
  331. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  332. package/esm/models/canceldeploymentop.js +169 -2
  333. package/esm/models/canceldeploymentop.js.map +1 -1
  334. package/esm/models/checkdomainpriceop.d.ts +14 -2
  335. package/esm/models/checkdomainpriceop.d.ts.map +1 -1
  336. package/esm/models/checkdomainpriceop.js +8 -2
  337. package/esm/models/checkdomainpriceop.js.map +1 -1
  338. package/esm/models/createdeploymentop.d.ts +230 -23
  339. package/esm/models/createdeploymentop.d.ts.map +1 -1
  340. package/esm/models/createdeploymentop.js +192 -21
  341. package/esm/models/createdeploymentop.js.map +1 -1
  342. package/esm/models/createprojectenvop.d.ts +6 -6
  343. package/esm/models/createprojectenvop.js +2 -2
  344. package/esm/models/createprojectenvop.js.map +1 -1
  345. package/esm/models/createprojectop.d.ts +3 -3
  346. package/esm/models/createprojectop.js +1 -1
  347. package/esm/models/createprojectop.js.map +1 -1
  348. package/esm/models/editprojectenvop.d.ts +3 -3
  349. package/esm/models/editprojectenvop.js +1 -1
  350. package/esm/models/editprojectenvop.js.map +1 -1
  351. package/esm/models/filterprojectenvsop.d.ts +9 -9
  352. package/esm/models/filterprojectenvsop.js +3 -3
  353. package/esm/models/filterprojectenvsop.js.map +1 -1
  354. package/esm/models/getdeploymentop.d.ts +207 -0
  355. package/esm/models/getdeploymentop.d.ts.map +1 -1
  356. package/esm/models/getdeploymentop.js +169 -0
  357. package/esm/models/getdeploymentop.js.map +1 -1
  358. package/esm/models/getdeploymentsop.d.ts +5 -0
  359. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  360. package/esm/models/getdeploymentsop.js +2 -0
  361. package/esm/models/getdeploymentsop.js.map +1 -1
  362. package/esm/models/getdomainop.d.ts +2 -2
  363. package/esm/models/getdomainop.d.ts.map +1 -1
  364. package/esm/models/getdomainop.js +2 -2
  365. package/esm/models/getdomainop.js.map +1 -1
  366. package/esm/models/getfirewallconfigop.d.ts +3 -0
  367. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  368. package/esm/models/getfirewallconfigop.js.map +1 -1
  369. package/esm/models/getteamop.d.ts +2 -5
  370. package/esm/models/getteamop.d.ts.map +1 -1
  371. package/esm/models/getteamop.js +2 -2
  372. package/esm/models/getteamop.js.map +1 -1
  373. package/esm/models/httpclienterrors.js +2 -2
  374. package/esm/models/httpclienterrors.js.map +1 -1
  375. package/esm/models/removeprojectenvop.d.ts +9 -9
  376. package/esm/models/removeprojectenvop.js +3 -3
  377. package/esm/models/removeprojectenvop.js.map +1 -1
  378. package/esm/models/updateprojectop.d.ts +9 -9
  379. package/esm/models/updateprojectop.js +3 -3
  380. package/esm/models/updateprojectop.js.map +1 -1
  381. package/esm/models/verifyprojectdomainop.d.ts +0 -39
  382. package/esm/models/verifyprojectdomainop.d.ts.map +1 -1
  383. package/esm/models/verifyprojectdomainop.js +0 -33
  384. package/esm/models/verifyprojectdomainop.js.map +1 -1
  385. package/esm/sdk/sdk.js +19 -38
  386. package/esm/sdk/sdk.js.map +1 -1
  387. package/package.json +1 -1
  388. package/src/lib/config.ts +3 -3
  389. package/src/lib/security.ts +1 -1
  390. package/src/models/authuser.ts +1 -0
  391. package/src/models/canceldeploymentop.ts +367 -2
  392. package/src/models/checkdomainpriceop.ts +22 -4
  393. package/src/models/createdeploymentop.ts +362 -36
  394. package/src/models/createprojectenvop.ts +2 -2
  395. package/src/models/createprojectop.ts +1 -1
  396. package/src/models/editprojectenvop.ts +1 -1
  397. package/src/models/filterprojectenvsop.ts +3 -3
  398. package/src/models/getdeploymentop.ts +353 -0
  399. package/src/models/getdeploymentsop.ts +7 -0
  400. package/src/models/getdomainop.ts +4 -4
  401. package/src/models/getfirewallconfigop.ts +3 -0
  402. package/src/models/getteamop.ts +4 -7
  403. package/src/models/removeprojectenvop.ts +3 -3
  404. package/src/models/updateprojectop.ts +3 -3
  405. package/src/models/verifyprojectdomainop.ts +0 -86
@@ -41,6 +41,8 @@ const vercel = new Vercel({
41
41
  async function run() {
42
42
  const result = await vercel.projects.updateProjectDataCache({
43
43
  projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
44
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
45
+ slug: "my-team-url-slug",
44
46
  requestBody: {
45
47
  disabled: true,
46
48
  },
@@ -70,6 +72,8 @@ const vercel = new VercelCore({
70
72
  async function run() {
71
73
  const res = await projectsUpdateProjectDataCache(vercel, {
72
74
  projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
75
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
76
+ slug: "my-team-url-slug",
73
77
  requestBody: {
74
78
  disabled: true,
75
79
  },
@@ -127,6 +131,8 @@ async function run() {
127
131
  const result = await vercel.projects.getProjects({
128
132
  gitForkProtection: "1",
129
133
  repoUrl: "https://github.com/vercel/next.js",
134
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
135
+ slug: "my-team-url-slug",
130
136
  });
131
137
 
132
138
  // Handle the result
@@ -154,6 +160,8 @@ async function run() {
154
160
  const res = await projectsGetProjects(vercel, {
155
161
  gitForkProtection: "1",
156
162
  repoUrl: "https://github.com/vercel/next.js",
163
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
164
+ slug: "my-team-url-slug",
157
165
  });
158
166
 
159
167
  if (!res.ok) {
@@ -205,6 +213,8 @@ const vercel = new Vercel({
205
213
 
206
214
  async function run() {
207
215
  const result = await vercel.projects.createProject({
216
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
217
+ slug: "my-team-url-slug",
208
218
  requestBody: {
209
219
  name: "a-project-name",
210
220
  },
@@ -233,6 +243,8 @@ const vercel = new VercelCore({
233
243
 
234
244
  async function run() {
235
245
  const res = await projectsCreateProject(vercel, {
246
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
247
+ slug: "my-team-url-slug",
236
248
  requestBody: {
237
249
  name: "a-project-name",
238
250
  },
@@ -288,6 +300,8 @@ const vercel = new Vercel({
288
300
  async function run() {
289
301
  const result = await vercel.projects.updateProject({
290
302
  idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
303
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
304
+ slug: "my-team-url-slug",
291
305
  requestBody: {
292
306
  name: "a-project-name",
293
307
  },
@@ -317,6 +331,8 @@ const vercel = new VercelCore({
317
331
  async function run() {
318
332
  const res = await projectsUpdateProject(vercel, {
319
333
  idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
334
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
335
+ slug: "my-team-url-slug",
320
336
  requestBody: {
321
337
  name: "a-project-name",
322
338
  },
@@ -372,6 +388,8 @@ const vercel = new Vercel({
372
388
  async function run() {
373
389
  await vercel.projects.deleteProject({
374
390
  idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
391
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
392
+ slug: "my-team-url-slug",
375
393
  });
376
394
 
377
395
 
@@ -397,6 +415,8 @@ const vercel = new VercelCore({
397
415
  async function run() {
398
416
  const res = await projectsDeleteProject(vercel, {
399
417
  idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
418
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
419
+ slug: "my-team-url-slug",
400
420
  });
401
421
 
402
422
  if (!res.ok) {
@@ -452,6 +472,8 @@ async function run() {
452
472
  limit: 20,
453
473
  since: 1609499532000,
454
474
  until: 1612264332000,
475
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
476
+ slug: "my-team-url-slug",
455
477
  });
456
478
 
457
479
  // Handle the result
@@ -482,6 +504,8 @@ async function run() {
482
504
  limit: 20,
483
505
  since: 1609499532000,
484
506
  until: 1612264332000,
507
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
508
+ slug: "my-team-url-slug",
485
509
  });
486
510
 
487
511
  if (!res.ok) {
@@ -535,6 +559,8 @@ async function run() {
535
559
  const result = await vercel.projects.getProjectDomain({
536
560
  idOrName: "<value>",
537
561
  domain: "www.example.com",
562
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
563
+ slug: "my-team-url-slug",
538
564
  });
539
565
 
540
566
  // Handle the result
@@ -562,6 +588,8 @@ async function run() {
562
588
  const res = await projectsGetProjectDomain(vercel, {
563
589
  idOrName: "<value>",
564
590
  domain: "www.example.com",
591
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
592
+ slug: "my-team-url-slug",
565
593
  });
566
594
 
567
595
  if (!res.ok) {
@@ -615,6 +643,8 @@ async function run() {
615
643
  const result = await vercel.projects.updateProjectDomain({
616
644
  idOrName: "<value>",
617
645
  domain: "www.example.com",
646
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
647
+ slug: "my-team-url-slug",
618
648
  requestBody: {
619
649
  gitBranch: null,
620
650
  redirect: "foobar.com",
@@ -647,6 +677,8 @@ async function run() {
647
677
  const res = await projectsUpdateProjectDomain(vercel, {
648
678
  idOrName: "<value>",
649
679
  domain: "www.example.com",
680
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
681
+ slug: "my-team-url-slug",
650
682
  requestBody: {
651
683
  gitBranch: null,
652
684
  redirect: "foobar.com",
@@ -705,6 +737,8 @@ async function run() {
705
737
  const result = await vercel.projects.removeProjectDomain({
706
738
  idOrName: "<value>",
707
739
  domain: "www.example.com",
740
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
741
+ slug: "my-team-url-slug",
708
742
  });
709
743
 
710
744
  // Handle the result
@@ -732,6 +766,8 @@ async function run() {
732
766
  const res = await projectsRemoveProjectDomain(vercel, {
733
767
  idOrName: "<value>",
734
768
  domain: "www.example.com",
769
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
770
+ slug: "my-team-url-slug",
735
771
  });
736
772
 
737
773
  if (!res.ok) {
@@ -785,6 +821,8 @@ const vercel = new Vercel({
785
821
  async function run() {
786
822
  const result = await vercel.projects.addProjectDomain({
787
823
  idOrName: "<value>",
824
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
825
+ slug: "my-team-url-slug",
788
826
  requestBody: {
789
827
  name: "www.example.com",
790
828
  gitBranch: null,
@@ -817,6 +855,8 @@ const vercel = new VercelCore({
817
855
  async function run() {
818
856
  const res = await projectsAddProjectDomain(vercel, {
819
857
  idOrName: "<value>",
858
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
859
+ slug: "my-team-url-slug",
820
860
  requestBody: {
821
861
  name: "www.example.com",
822
862
  gitBranch: null,
@@ -876,6 +916,8 @@ async function run() {
876
916
  const result = await vercel.projects.verifyProjectDomain({
877
917
  idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
878
918
  domain: "example.com",
919
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
920
+ slug: "my-team-url-slug",
879
921
  });
880
922
 
881
923
  // Handle the result
@@ -903,6 +945,8 @@ async function run() {
903
945
  const res = await projectsVerifyProjectDomain(vercel, {
904
946
  idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
905
947
  domain: "example.com",
948
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
949
+ slug: "my-team-url-slug",
906
950
  });
907
951
 
908
952
  if (!res.ok) {
@@ -958,6 +1002,8 @@ async function run() {
958
1002
  gitBranch: "feature-1",
959
1003
  decrypt: "true",
960
1004
  source: "vercel-cli:pull",
1005
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1006
+ slug: "my-team-url-slug",
961
1007
  });
962
1008
 
963
1009
  // Handle the result
@@ -987,6 +1033,8 @@ async function run() {
987
1033
  gitBranch: "feature-1",
988
1034
  decrypt: "true",
989
1035
  source: "vercel-cli:pull",
1036
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1037
+ slug: "my-team-url-slug",
990
1038
  });
991
1039
 
992
1040
  if (!res.ok) {
@@ -1040,6 +1088,8 @@ async function run() {
1040
1088
  const result = await vercel.projects.getProjectEnv({
1041
1089
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1042
1090
  id: "<id>",
1091
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1092
+ slug: "my-team-url-slug",
1043
1093
  });
1044
1094
 
1045
1095
  // Handle the result
@@ -1067,6 +1117,8 @@ async function run() {
1067
1117
  const res = await projectsGetProjectEnv(vercel, {
1068
1118
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1069
1119
  id: "<id>",
1120
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1121
+ slug: "my-team-url-slug",
1070
1122
  });
1071
1123
 
1072
1124
  if (!res.ok) {
@@ -1120,6 +1172,8 @@ async function run() {
1120
1172
  const result = await vercel.projects.createProjectEnv({
1121
1173
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1122
1174
  upsert: "true",
1175
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1176
+ slug: "my-team-url-slug",
1123
1177
  requestBody: {
1124
1178
  key: "API_URL",
1125
1179
  value: "https://api.vercel.com",
@@ -1157,6 +1211,8 @@ async function run() {
1157
1211
  const res = await projectsCreateProjectEnv(vercel, {
1158
1212
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1159
1213
  upsert: "true",
1214
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1215
+ slug: "my-team-url-slug",
1160
1216
  requestBody: {
1161
1217
  key: "API_URL",
1162
1218
  value: "https://api.vercel.com",
@@ -1220,6 +1276,8 @@ async function run() {
1220
1276
  const result = await vercel.projects.removeProjectEnv({
1221
1277
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1222
1278
  id: "XMbOEya1gUUO1ir4",
1279
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1280
+ slug: "my-team-url-slug",
1223
1281
  });
1224
1282
 
1225
1283
  // Handle the result
@@ -1247,6 +1305,8 @@ async function run() {
1247
1305
  const res = await projectsRemoveProjectEnv(vercel, {
1248
1306
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1249
1307
  id: "XMbOEya1gUUO1ir4",
1308
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1309
+ slug: "my-team-url-slug",
1250
1310
  });
1251
1311
 
1252
1312
  if (!res.ok) {
@@ -1301,6 +1361,8 @@ async function run() {
1301
1361
  const result = await vercel.projects.editProjectEnv({
1302
1362
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1303
1363
  id: "XMbOEya1gUUO1ir4",
1364
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1365
+ slug: "my-team-url-slug",
1304
1366
  requestBody: {
1305
1367
  key: "GITHUB_APP_ID",
1306
1368
  target: [
@@ -1341,6 +1403,8 @@ async function run() {
1341
1403
  const res = await projectsEditProjectEnv(vercel, {
1342
1404
  idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA",
1343
1405
  id: "XMbOEya1gUUO1ir4",
1406
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1407
+ slug: "my-team-url-slug",
1344
1408
  requestBody: {
1345
1409
  key: "GITHUB_APP_ID",
1346
1410
  target: [
@@ -1406,6 +1470,8 @@ const vercel = new Vercel({
1406
1470
  async function run() {
1407
1471
  const result = await vercel.projects.updateProjectProtectionBypass({
1408
1472
  idOrName: "<value>",
1473
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1474
+ slug: "my-team-url-slug",
1409
1475
  requestBody: {},
1410
1476
  });
1411
1477
 
@@ -1433,6 +1499,8 @@ const vercel = new VercelCore({
1433
1499
  async function run() {
1434
1500
  const res = await projectsUpdateProjectProtectionBypass(vercel, {
1435
1501
  idOrName: "<value>",
1502
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1503
+ slug: "my-team-url-slug",
1436
1504
  requestBody: {},
1437
1505
  });
1438
1506
 
@@ -1488,6 +1556,8 @@ async function run() {
1488
1556
  await vercel.projects.requestPromote({
1489
1557
  projectId: "<id>",
1490
1558
  deploymentId: "<id>",
1559
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1560
+ slug: "my-team-url-slug",
1491
1561
  });
1492
1562
 
1493
1563
 
@@ -1514,6 +1584,8 @@ async function run() {
1514
1584
  const res = await projectsRequestPromote(vercel, {
1515
1585
  projectId: "<id>",
1516
1586
  deploymentId: "<id>",
1587
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1588
+ slug: "my-team-url-slug",
1517
1589
  });
1518
1590
 
1519
1591
  if (!res.ok) {
@@ -1568,6 +1640,8 @@ async function run() {
1568
1640
  limit: 20,
1569
1641
  since: 1609499532000,
1570
1642
  until: 1612264332000,
1643
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1644
+ slug: "my-team-url-slug",
1571
1645
  });
1572
1646
 
1573
1647
  // Handle the result
@@ -1597,6 +1671,8 @@ async function run() {
1597
1671
  limit: 20,
1598
1672
  since: 1609499532000,
1599
1673
  until: 1612264332000,
1674
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1675
+ slug: "my-team-url-slug",
1600
1676
  });
1601
1677
 
1602
1678
  if (!res.ok) {
@@ -25,6 +25,8 @@ const vercel = new Vercel({
25
25
 
26
26
  async function run() {
27
27
  const result = await vercel.security.updateAttackChallengeMode({
28
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
29
+ slug: "my-team-url-slug",
28
30
  requestBody: {
29
31
  projectId: "<id>",
30
32
  attackModeEnabled: true,
@@ -54,6 +56,8 @@ const vercel = new VercelCore({
54
56
 
55
57
  async function run() {
56
58
  const res = await securityUpdateAttackChallengeMode(vercel, {
59
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
60
+ slug: "my-team-url-slug",
57
61
  requestBody: {
58
62
  projectId: "<id>",
59
63
  attackModeEnabled: true,
@@ -111,6 +115,8 @@ const vercel = new Vercel({
111
115
  async function run() {
112
116
  const result = await vercel.security.putFirewallConfig({
113
117
  projectId: "<id>",
118
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
119
+ slug: "my-team-url-slug",
114
120
  requestBody: {
115
121
  firewallEnabled: true,
116
122
  },
@@ -140,6 +146,8 @@ const vercel = new VercelCore({
140
146
  async function run() {
141
147
  const res = await securityPutFirewallConfig(vercel, {
142
148
  projectId: "<id>",
149
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
150
+ slug: "my-team-url-slug",
143
151
  requestBody: {
144
152
  firewallEnabled: true,
145
153
  },
@@ -196,6 +204,8 @@ const vercel = new Vercel({
196
204
  async function run() {
197
205
  const result = await vercel.security.updateFirewallConfig({
198
206
  projectId: "<id>",
207
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
208
+ slug: "my-team-url-slug",
199
209
  requestBody: {
200
210
  action: "ip.remove",
201
211
  id: "<id>",
@@ -226,6 +236,8 @@ const vercel = new VercelCore({
226
236
  async function run() {
227
237
  const res = await securityUpdateFirewallConfig(vercel, {
228
238
  projectId: "<id>",
239
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
240
+ slug: "my-team-url-slug",
229
241
  requestBody: {
230
242
  action: "ip.remove",
231
243
  id: "<id>",
@@ -283,6 +295,8 @@ const vercel = new Vercel({
283
295
  async function run() {
284
296
  const result = await vercel.security.getFirewallConfig({
285
297
  projectId: "<id>",
298
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
299
+ slug: "my-team-url-slug",
286
300
  configVersion: "<value>",
287
301
  });
288
302
 
@@ -310,6 +324,8 @@ const vercel = new VercelCore({
310
324
  async function run() {
311
325
  const res = await securityGetFirewallConfig(vercel, {
312
326
  projectId: "<id>",
327
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
328
+ slug: "my-team-url-slug",
313
329
  configVersion: "<value>",
314
330
  });
315
331
 
@@ -38,7 +38,7 @@ async function run() {
38
38
  since: 1540095775951,
39
39
  until: 1540095775951,
40
40
  role: "OWNER",
41
- teamId: "<id>",
41
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
42
42
  });
43
43
 
44
44
  // Handle the result
@@ -68,7 +68,7 @@ async function run() {
68
68
  since: 1540095775951,
69
69
  until: 1540095775951,
70
70
  role: "OWNER",
71
- teamId: "<id>",
71
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
72
72
  });
73
73
 
74
74
  if (!res.ok) {
@@ -121,7 +121,7 @@ const vercel = new Vercel({
121
121
 
122
122
  async function run() {
123
123
  const result = await vercel.teams.inviteUserToTeam({
124
- teamId: "<id>",
124
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
125
125
  requestBody: {
126
126
  uid: "kr1PsOIzqEL5Xg6M4VZcZosf",
127
127
  email: "john@example.com",
@@ -162,7 +162,7 @@ const vercel = new VercelCore({
162
162
 
163
163
  async function run() {
164
164
  const res = await teamsInviteUserToTeam(vercel, {
165
- teamId: "<id>",
165
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
166
166
  requestBody: {
167
167
  uid: "kr1PsOIzqEL5Xg6M4VZcZosf",
168
168
  email: "john@example.com",
@@ -230,7 +230,7 @@ const vercel = new Vercel({
230
230
 
231
231
  async function run() {
232
232
  const result = await vercel.teams.requestAccessToTeam({
233
- teamId: "<id>",
233
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
234
234
  requestBody: {
235
235
  joinedFrom: {
236
236
  origin: "github",
@@ -266,7 +266,7 @@ const vercel = new VercelCore({
266
266
 
267
267
  async function run() {
268
268
  const res = await teamsRequestAccessToTeam(vercel, {
269
- teamId: "<id>",
269
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
270
270
  requestBody: {
271
271
  joinedFrom: {
272
272
  origin: "github",
@@ -330,7 +330,7 @@ const vercel = new Vercel({
330
330
  async function run() {
331
331
  const result = await vercel.teams.getTeamAccessRequest({
332
332
  userId: "<id>",
333
- teamId: "<id>",
333
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
334
334
  });
335
335
 
336
336
  // Handle the result
@@ -357,7 +357,7 @@ const vercel = new VercelCore({
357
357
  async function run() {
358
358
  const res = await teamsGetTeamAccessRequest(vercel, {
359
359
  userId: "<id>",
360
- teamId: "<id>",
360
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
361
361
  });
362
362
 
363
363
  if (!res.ok) {
@@ -410,7 +410,7 @@ const vercel = new Vercel({
410
410
 
411
411
  async function run() {
412
412
  const result = await vercel.teams.joinTeam({
413
- teamId: "<id>",
413
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
414
414
  requestBody: {
415
415
  inviteCode: "fisdh38aejkeivn34nslfore9vjtn4ls",
416
416
  },
@@ -439,7 +439,7 @@ const vercel = new VercelCore({
439
439
 
440
440
  async function run() {
441
441
  const res = await teamsJoinTeam(vercel, {
442
- teamId: "<id>",
442
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
443
443
  requestBody: {
444
444
  inviteCode: "fisdh38aejkeivn34nslfore9vjtn4ls",
445
445
  },
@@ -496,7 +496,7 @@ const vercel = new Vercel({
496
496
  async function run() {
497
497
  const result = await vercel.teams.updateTeamMember({
498
498
  uid: "ndfasllgPyCtREAqxxdyFKb",
499
- teamId: "<id>",
499
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
500
500
  requestBody: {
501
501
  confirmed: true,
502
502
  role: "[\"MEMBER\",\"VIEWER\"]",
@@ -533,7 +533,7 @@ const vercel = new VercelCore({
533
533
  async function run() {
534
534
  const res = await teamsUpdateTeamMember(vercel, {
535
535
  uid: "ndfasllgPyCtREAqxxdyFKb",
536
- teamId: "<id>",
536
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
537
537
  requestBody: {
538
538
  confirmed: true,
539
539
  role: "[\"MEMBER\",\"VIEWER\"]",
@@ -598,7 +598,7 @@ async function run() {
598
598
  const result = await vercel.teams.removeTeamMember({
599
599
  uid: "ndlgr43fadlPyCtREAqxxdyFK",
600
600
  newDefaultTeamId: "team_nllPyCtREAqxxdyFKbbMDlxd",
601
- teamId: "<id>",
601
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
602
602
  });
603
603
 
604
604
  // Handle the result
@@ -626,7 +626,7 @@ async function run() {
626
626
  const res = await teamsRemoveTeamMember(vercel, {
627
627
  uid: "ndlgr43fadlPyCtREAqxxdyFK",
628
628
  newDefaultTeamId: "team_nllPyCtREAqxxdyFKbbMDlxd",
629
- teamId: "<id>",
629
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
630
630
  });
631
631
 
632
632
  if (!res.ok) {
@@ -679,7 +679,8 @@ const vercel = new Vercel({
679
679
 
680
680
  async function run() {
681
681
  const result = await vercel.teams.getTeam({
682
- teamId: "<id>",
682
+ slug: "my-team-url-slug",
683
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
683
684
  });
684
685
 
685
686
  // Handle the result
@@ -705,7 +706,8 @@ const vercel = new VercelCore({
705
706
 
706
707
  async function run() {
707
708
  const res = await teamsGetTeam(vercel, {
708
- teamId: "<id>",
709
+ slug: "my-team-url-slug",
710
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
709
711
  });
710
712
 
711
713
  if (!res.ok) {
@@ -758,7 +760,8 @@ const vercel = new Vercel({
758
760
 
759
761
  async function run() {
760
762
  const result = await vercel.teams.patchTeam({
761
- teamId: "<id>",
763
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
764
+ slug: "my-team-url-slug",
762
765
  requestBody: {
763
766
  description: "Our mission is to make cloud computing accessible to everyone",
764
767
  emailDomain: "example.com",
@@ -803,7 +806,8 @@ const vercel = new VercelCore({
803
806
 
804
807
  async function run() {
805
808
  const res = await teamsPatchTeam(vercel, {
806
- teamId: "<id>",
809
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
810
+ slug: "my-team-url-slug",
807
811
  requestBody: {
808
812
  description: "Our mission is to make cloud computing accessible to everyone",
809
813
  emailDomain: "example.com",
@@ -1038,7 +1042,8 @@ const vercel = new Vercel({
1038
1042
  async function run() {
1039
1043
  const result = await vercel.teams.deleteTeam({
1040
1044
  newDefaultTeamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE",
1041
- teamId: "<id>",
1045
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1046
+ slug: "my-team-url-slug",
1042
1047
  requestBody: {},
1043
1048
  });
1044
1049
 
@@ -1066,7 +1071,8 @@ const vercel = new VercelCore({
1066
1071
  async function run() {
1067
1072
  const res = await teamsDeleteTeam(vercel, {
1068
1073
  newDefaultTeamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE",
1069
- teamId: "<id>",
1074
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1075
+ slug: "my-team-url-slug",
1070
1076
  requestBody: {},
1071
1077
  });
1072
1078
 
@@ -1121,7 +1127,7 @@ const vercel = new Vercel({
1121
1127
  async function run() {
1122
1128
  const result = await vercel.teams.deleteTeamInviteCode({
1123
1129
  inviteId: "2wn2hudbr4chb1ecywo9dvzo7g9sscs6mzcz8htdde0txyom4l",
1124
- teamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE",
1130
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1125
1131
  });
1126
1132
 
1127
1133
  // Handle the result
@@ -1148,7 +1154,7 @@ const vercel = new VercelCore({
1148
1154
  async function run() {
1149
1155
  const res = await teamsDeleteTeamInviteCode(vercel, {
1150
1156
  inviteId: "2wn2hudbr4chb1ecywo9dvzo7g9sscs6mzcz8htdde0txyom4l",
1151
- teamId: "team_LLHUOMOoDlqOp8wPE4kFo9pE",
1157
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
1152
1158
  });
1153
1159
 
1154
1160
  if (!res.ok) {
@@ -30,6 +30,8 @@ async function run() {
30
30
  types: "login,team-member-join,domain-buy",
31
31
  userId: "aeIInYVk59zbFF2SxfyxxmuO",
32
32
  withPayload: "true",
33
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
34
+ slug: "my-team-url-slug",
33
35
  });
34
36
 
35
37
  // Handle the result
@@ -61,6 +63,8 @@ async function run() {
61
63
  types: "login,team-member-join,domain-buy",
62
64
  userId: "aeIInYVk59zbFF2SxfyxxmuO",
63
65
  withPayload: "true",
66
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
67
+ slug: "my-team-url-slug",
64
68
  });
65
69
 
66
70
  if (!res.ok) {
@@ -2,6 +2,6 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- Vercel API: Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables frontend teams to do their best work.
5
+ Vercel SDK: The [`@vercel/sdk`](https://www.npmjs.com/package/@vercel/sdk) is a type-safe Typescript SDK that allows you to access the resources and methods of the Vercel REST API. Learn how to [install it](https://vercel.com/docs/rest-api/sdk#installing-vercel-sdk) and [authenticate](https://vercel.com/docs/rest-api/sdk#authentication) with a Vercel access token.
6
6
 
7
7
  ### Available Operations
@@ -25,6 +25,8 @@ const vercel = new Vercel({
25
25
 
26
26
  async function run() {
27
27
  const result = await vercel.webhooks.createWebhook({
28
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
29
+ slug: "my-team-url-slug",
28
30
  requestBody: {
29
31
  url: "https://woeful-yin.biz",
30
32
  events: [
@@ -56,6 +58,8 @@ const vercel = new VercelCore({
56
58
 
57
59
  async function run() {
58
60
  const res = await webhooksCreateWebhook(vercel, {
61
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
62
+ slug: "my-team-url-slug",
59
63
  requestBody: {
60
64
  url: "https://woeful-yin.biz",
61
65
  events: [
@@ -112,7 +116,10 @@ const vercel = new Vercel({
112
116
  });
113
117
 
114
118
  async function run() {
115
- const result = await vercel.webhooks.getWebhooks({});
119
+ const result = await vercel.webhooks.getWebhooks({
120
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
121
+ slug: "my-team-url-slug",
122
+ });
116
123
 
117
124
  // Handle the result
118
125
  console.log(result);
@@ -136,7 +143,10 @@ const vercel = new VercelCore({
136
143
  });
137
144
 
138
145
  async function run() {
139
- const res = await webhooksGetWebhooks(vercel, {});
146
+ const res = await webhooksGetWebhooks(vercel, {
147
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
148
+ slug: "my-team-url-slug",
149
+ });
140
150
 
141
151
  if (!res.ok) {
142
152
  throw res.error;
@@ -188,6 +198,8 @@ const vercel = new Vercel({
188
198
  async function run() {
189
199
  const result = await vercel.webhooks.getWebhook({
190
200
  id: "<id>",
201
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
202
+ slug: "my-team-url-slug",
191
203
  });
192
204
 
193
205
  // Handle the result
@@ -214,6 +226,8 @@ const vercel = new VercelCore({
214
226
  async function run() {
215
227
  const res = await webhooksGetWebhook(vercel, {
216
228
  id: "<id>",
229
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
230
+ slug: "my-team-url-slug",
217
231
  });
218
232
 
219
233
  if (!res.ok) {
@@ -266,6 +280,8 @@ const vercel = new Vercel({
266
280
  async function run() {
267
281
  await vercel.webhooks.deleteWebhook({
268
282
  id: "<id>",
283
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
284
+ slug: "my-team-url-slug",
269
285
  });
270
286
 
271
287
 
@@ -291,6 +307,8 @@ const vercel = new VercelCore({
291
307
  async function run() {
292
308
  const res = await webhooksDeleteWebhook(vercel, {
293
309
  id: "<id>",
310
+ teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
311
+ slug: "my-team-url-slug",
294
312
  });
295
313
 
296
314
  if (!res.ok) {