{"id":14979133,"url":"https://github.com/speakeasy-sdks/vercel-ts","last_synced_at":"2026-01-03T17:04:33.861Z","repository":{"id":240440428,"uuid":"799991003","full_name":"speakeasy-sdks/vercel-ts","owner":"speakeasy-sdks","description":"Typescript SDK for Vercel REST API","archived":false,"fork":false,"pushed_at":"2024-05-22T00:11:09.000Z","size":2620,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-22T23:56:42.868Z","etag":null,"topics":["api","sdk","ts","vercel"],"latest_commit_sha":null,"homepage":"https://github.com/speakeasy-sdks/vercel-ts/blob/main/vercel-api-modified.yaml","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/speakeasy-sdks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-13T13:49:14.000Z","updated_at":"2024-05-28T03:30:36.974Z","dependencies_parsed_at":"2024-05-28T03:40:50.133Z","dependency_job_id":null,"html_url":"https://github.com/speakeasy-sdks/vercel-ts","commit_stats":null,"previous_names":["speakeasy-sdks/vercel-ts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fvercel-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fvercel-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fvercel-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-sdks%2Fvercel-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speakeasy-sdks","download_url":"https://codeload.github.com/speakeasy-sdks/vercel-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243979709,"owners_count":20378260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","sdk","ts","vercel"],"created_at":"2024-09-24T13:59:19.962Z","updated_at":"2026-01-03T17:04:33.660Z","avatar_url":"https://github.com/speakeasy-sdks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n        \u003cimg src=\"https://github.com/speakeasy-sdks/vercel-ts/assets/68016351/d64a32d7-acc1-497b-943f-caa3c994901e\" width=\"500\"\u003e\n   \u003cp\u003eVercel is the Frontend Cloud\u003c/p\u003e\n   \u003ca href=\"https://vercel.com/docs/rest-api\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Docs\u0026message=API Ref\u0026color=000000\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003e [!NOTE]\n\u003e This SDK is an example and not yet ready for production usage. Please see the Vercel OSS repository for the [official Vercel SDK](https://github.com/vercel/vercel/tree/main/packages/sdk). \n\n\u003c!-- Start Summary [summary] --\u003e\n## Summary\n\nVercel 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.\n\u003c!-- End Summary [summary] --\u003e\n\n\u003c!-- Start Table of Contents [toc] --\u003e\n## Table of Contents\n\n* [SDK Installation](#sdk-installation)\n* [Requirements](#requirements)\n* [SDK Example Usage](#sdk-example-usage)\n* [Available Resources and Operations](#available-resources-and-operations)\n* [Standalone functions](#standalone-functions)\n* [Pagination](#pagination)\n* [File uploads](#file-uploads)\n* [Retries](#retries)\n* [Error Handling](#error-handling)\n* [Server Selection](#server-selection)\n* [Custom HTTP Client](#custom-http-client)\n* [Authentication](#authentication)\n* [Debugging](#debugging)\n\u003c!-- End Table of Contents [toc] --\u003e\n\n\u003c!-- Start SDK Installation [installation] --\u003e\n## SDK Installation\n\nThe SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.\n\n### NPM\n\n```bash\nnpm add @simplesagar/vercel\n```\n\n### PNPM\n\n```bash\npnpm add @simplesagar/vercel\n```\n\n### Bun\n\n```bash\nbun add @simplesagar/vercel\n```\n\n### Yarn\n\n```bash\nyarn add @simplesagar/vercel zod\n\n# Note that Yarn does not install peer dependencies automatically. You will need\n# to install zod as shown above.\n```\n\n\u003e [!NOTE]\n\u003e This package is published as an ES Module (ESM) only. For applications using\n\u003e CommonJS, use `await import(\"@simplesagar/vercel\")` to import and use this package.\n\u003c!-- End SDK Installation [installation] --\u003e\n\n\u003c!-- Start Requirements [requirements] --\u003e\n## Requirements\n\nFor supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).\n\u003c!-- End Requirements [requirements] --\u003e\n\n\u003c!-- Start SDK Example Usage [usage] --\u003e\n## SDK Example Usage\n\n### Example\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel();\n\nasync function run() {\n  const result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\");\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\u003c!-- End SDK Example Usage [usage] --\u003e\n\n\u003c!-- Start Available Resources and Operations [operations] --\u003e\n## Available Resources and Operations\n\n\u003cdetails open\u003e\n\u003csummary\u003eAvailable methods\u003c/summary\u003e\n\n### [accessGroups](docs/sdks/accessgroups/README.md)\n\n* [read](docs/sdks/accessgroups/README.md#read) - Reads an access group\n* [update](docs/sdks/accessgroups/README.md#update) - Update an access group\n* [delete](docs/sdks/accessgroups/README.md#delete) - Deletes an access group\n* [listMembers](docs/sdks/accessgroups/README.md#listmembers) - List members of an access group\n* [list](docs/sdks/accessgroups/README.md#list) - List access groups for a team, project or member\n* [create](docs/sdks/accessgroups/README.md#create) - Creates an access group\n* [listProjects](docs/sdks/accessgroups/README.md#listprojects) - List projects of an access group\n\n### [aliases](docs/sdks/aliases/README.md)\n\n* [list](docs/sdks/aliases/README.md#list) - List aliases\n* [get](docs/sdks/aliases/README.md#get) - Get an Alias\n* [delete](docs/sdks/aliases/README.md#delete) - Delete an Alias\n* [assign](docs/sdks/aliases/README.md#assign) - Assign an Alias\n\n### [artifacts](docs/sdks/artifacts/README.md)\n\n* [recordEvents](docs/sdks/artifacts/README.md#recordevents) - Record an artifacts cache usage event\n* [status](docs/sdks/artifacts/README.md#status) - Get status of Remote Caching for this principal\n* [upload](docs/sdks/artifacts/README.md#upload) - Upload a cache artifact\n* [download](docs/sdks/artifacts/README.md#download) - Download a cache artifact\n* [exists](docs/sdks/artifacts/README.md#exists) - Check if a cache artifact exists\n* [query](docs/sdks/artifacts/README.md#query) - Query information about an artifact\n\n### [authentication](docs/sdks/authentication/README.md)\n\n* [login](docs/sdks/authentication/README.md#login) - Login with email\n* [verify](docs/sdks/authentication/README.md#verify) - Verify a login request to get an authentication token\n\n### [certs](docs/sdks/certs/README.md)\n\n* [getById](docs/sdks/certs/README.md#getbyid) - Get cert by id\n* [remove](docs/sdks/certs/README.md#remove) - Remove cert\n* [issue](docs/sdks/certs/README.md#issue) - Issue a new cert\n* [upload](docs/sdks/certs/README.md#upload) - Upload a cert\n\n### [checks](docs/sdks/checks/README.md)\n\n* [create](docs/sdks/checks/README.md#create) - Creates a new Check\n* [list](docs/sdks/checks/README.md#list) - Retrieve a list of all checks\n* [get](docs/sdks/checks/README.md#get) - Get a single check\n* [update](docs/sdks/checks/README.md#update) - Update a check\n* [rerequest](docs/sdks/checks/README.md#rerequest) - Rerequest a check\n\n### [deployments](docs/sdks/deployments/README.md)\n\n* [getEvents](docs/sdks/deployments/README.md#getevents) - Get deployment events\n* [get](docs/sdks/deployments/README.md#get) - Get a deployment by ID or URL\n* [create](docs/sdks/deployments/README.md#create) - Create a new deployment\n* [cancel](docs/sdks/deployments/README.md#cancel) - Cancel a deployment\n* [uploadFile](docs/sdks/deployments/README.md#uploadfile) - Upload Deployment Files\n* [listAliases](docs/sdks/deployments/README.md#listaliases) - List Deployment Aliases\n* [listFiles](docs/sdks/deployments/README.md#listfiles) - List Deployment Files\n* [getFileContents](docs/sdks/deployments/README.md#getfilecontents) - Get Deployment File Contents\n* [list](docs/sdks/deployments/README.md#list) - List deployments\n* [delete](docs/sdks/deployments/README.md#delete) - Delete a Deployment\n\n### [dns](docs/sdks/dns/README.md)\n\n* [listRecords](docs/sdks/dns/README.md#listrecords) - List existing DNS records\n* [createRecord](docs/sdks/dns/README.md#createrecord) - Create a DNS record\n* [updateRecord](docs/sdks/dns/README.md#updaterecord) - Update an existing DNS record\n* [removeRecord](docs/sdks/dns/README.md#removerecord) - Delete a DNS record\n\n### [domains](docs/sdks/domains/README.md)\n\n* [buy](docs/sdks/domains/README.md#buy) - Purchase a domain\n* [checkPrice](docs/sdks/domains/README.md#checkprice) - Check the price for a domain\n* [checkStatus](docs/sdks/domains/README.md#checkstatus) - Check a Domain Availability\n* [getTransfer](docs/sdks/domains/README.md#gettransfer) - Get domain transfer info.\n* [getConfig](docs/sdks/domains/README.md#getconfig) - Get a Domain's configuration\n* [get](docs/sdks/domains/README.md#get) - Get Information for a Single Domain\n* [list](docs/sdks/domains/README.md#list) - List all the domains\n* [createOrTransfer](docs/sdks/domains/README.md#createortransfer) - Register or transfer-in a new Domain\n* [update](docs/sdks/domains/README.md#update) - Update or move apex domain\n* [delete](docs/sdks/domains/README.md#delete) - Remove a domain by name\n* [listByProject](docs/sdks/domains/README.md#listbyproject) - Retrieve project domains by project by id or name\n* [create](docs/sdks/domains/README.md#create) - Add a domain to a project\n* [verify](docs/sdks/domains/README.md#verify) - Verify project domain\n\n### [edgeConfigs](docs/sdks/edgeconfigs/README.md)\n\n* [list](docs/sdks/edgeconfigs/README.md#list) - Get Edge Configs\n* [create](docs/sdks/edgeconfigs/README.md#create) - Create an Edge Config\n* [get](docs/sdks/edgeconfigs/README.md#get) - Get an Edge Config\n* [update](docs/sdks/edgeconfigs/README.md#update) - Update an Edge Config\n* [delete](docs/sdks/edgeconfigs/README.md#delete) - Delete an Edge Config\n* [getItems](docs/sdks/edgeconfigs/README.md#getitems) - Get Edge Config items\n* [getSchema](docs/sdks/edgeconfigs/README.md#getschema) - Get Edge Config schema\n* [updateSchema](docs/sdks/edgeconfigs/README.md#updateschema) - Update Edge Config schema\n* [deleteSchema](docs/sdks/edgeconfigs/README.md#deleteschema) - Delete an Edge Config's schema\n* [getItem](docs/sdks/edgeconfigs/README.md#getitem) - Get an Edge Config item\n* [getTokens](docs/sdks/edgeconfigs/README.md#gettokens) - Get all tokens of an Edge Config\n* [deleteTokens](docs/sdks/edgeconfigs/README.md#deletetokens) - Delete one or more Edge Config tokens\n* [getToken](docs/sdks/edgeconfigs/README.md#gettoken) - Get Edge Config token meta data\n* [createToken](docs/sdks/edgeconfigs/README.md#createtoken) - Create an Edge Config token\n\n### [envs](docs/sdks/envs/README.md)\n\n* [listByProject](docs/sdks/envs/README.md#listbyproject) - Retrieve the environment variables of a project by id or name\n* [get](docs/sdks/envs/README.md#get) - Retrieve the decrypted value of an environment variable of a project by id\n* [create](docs/sdks/envs/README.md#create) - Create one or more environment variables\n* [delete](docs/sdks/envs/README.md#delete) - Remove an environment variable\n* [update](docs/sdks/envs/README.md#update) - Edit an environment variable\n\n### [events](docs/sdks/events/README.md)\n\n* [list](docs/sdks/events/README.md#list) - List User Events\n\n### [integrations](docs/sdks/integrations/README.md)\n\n* [getConfigurations](docs/sdks/integrations/README.md#getconfigurations) - Get configurations for the authenticated user or team\n* [getConfiguration](docs/sdks/integrations/README.md#getconfiguration) - Retrieve an integration configuration\n* [deleteConfiguration](docs/sdks/integrations/README.md#deleteconfiguration) - Delete an integration configuration\n* [getGitNamespaces](docs/sdks/integrations/README.md#getgitnamespaces) - List git namespaces by provider\n* [searchRepos](docs/sdks/integrations/README.md#searchrepos) - List git repositories linked to namespace by provider\n\n### [logDrains](docs/sdks/logdrains/README.md)\n\n* [list](docs/sdks/logdrains/README.md#list) - Retrieves a list of Integration log drains\n* [create](docs/sdks/logdrains/README.md#create) - Creates a new Integration Log Drain\n* [deleteIntegration](docs/sdks/logdrains/README.md#deleteintegration) - Deletes the Integration log drain with the provided `id`\n* [getConfigurable](docs/sdks/logdrains/README.md#getconfigurable) - Retrieves a Configurable Log Drain\n* [deleteConfigurable](docs/sdks/logdrains/README.md#deleteconfigurable) - Deletes a Configurable Log Drain\n* [getAll](docs/sdks/logdrains/README.md#getall) - Retrieves a list of all the Log Drains\n* [createConfigurable](docs/sdks/logdrains/README.md#createconfigurable) - Creates a Configurable Log Drain\n\n### [projectDomains](docs/sdks/projectdomains/README.md)\n\n* [get](docs/sdks/projectdomains/README.md#get) - Get a project domain\n* [update](docs/sdks/projectdomains/README.md#update) - Update a project domain\n* [delete](docs/sdks/projectdomains/README.md#delete) - Remove a domain from a project\n\n### [projectMembers](docs/sdks/projectmembers/README.md)\n\n* [get](docs/sdks/projectmembers/README.md#get) - List project members\n* [add](docs/sdks/projectmembers/README.md#add) - Adds a new member to a project.\n* [remove](docs/sdks/projectmembers/README.md#remove) - Remove a Project Member\n\n### [projects](docs/sdks/projects/README.md)\n\n* [updateDataCache](docs/sdks/projects/README.md#updatedatacache) - Update the data cache feature\n* [getAll](docs/sdks/projects/README.md#getall) - Retrieve a list of projects\n* [create](docs/sdks/projects/README.md#create) - Create a new project\n* [update](docs/sdks/projects/README.md#update) - Update an existing project\n* [delete](docs/sdks/projects/README.md#delete) - Delete a Project\n* [pause](docs/sdks/projects/README.md#pause) - Pause a project\n* [unpause](docs/sdks/projects/README.md#unpause) - Unpause a project\n\n### [promotions](docs/sdks/promotions/README.md)\n\n* [create](docs/sdks/promotions/README.md#create) - Points all production domains for a project to the given deploy\n* [listAliases](docs/sdks/promotions/README.md#listaliases) - Gets a list of aliases with status for the current promote\n\n### [protectionBypass](docs/sdks/protectionbypass/README.md)\n\n* [update](docs/sdks/protectionbypass/README.md#update) - Update Protection Bypass for Automation\n\n### [secrets](docs/sdks/secrets/README.md)\n\n* [list](docs/sdks/secrets/README.md#list) - List secrets\n* [create](docs/sdks/secrets/README.md#create) - Create a new secret\n* [rename](docs/sdks/secrets/README.md#rename) - Change secret name\n* [get](docs/sdks/secrets/README.md#get) - Get a single secret\n* [delete](docs/sdks/secrets/README.md#delete) - Delete a secret\n\n### [teams](docs/sdks/teams/README.md)\n\n* [getMembers](docs/sdks/teams/README.md#getmembers) - List team members\n* [inviteUser](docs/sdks/teams/README.md#inviteuser) - Invite a user\n* [requestAccess](docs/sdks/teams/README.md#requestaccess) - Request access to a team\n* [getAccessRequest](docs/sdks/teams/README.md#getaccessrequest) - Get access request status\n* [join](docs/sdks/teams/README.md#join) - Join a team\n* [updateMember](docs/sdks/teams/README.md#updatemember) - Update a Team Member\n* [removeMember](docs/sdks/teams/README.md#removemember) - Remove a Team Member\n* [get](docs/sdks/teams/README.md#get) - Get a Team\n* [update](docs/sdks/teams/README.md#update) - Update a Team\n* [list](docs/sdks/teams/README.md#list) - List all teams\n* [create](docs/sdks/teams/README.md#create) - Create a Team\n* [delete](docs/sdks/teams/README.md#delete) - Delete a Team\n* [deleteInviteCode](docs/sdks/teams/README.md#deleteinvitecode) - Delete a Team invite code\n\n### [tokens](docs/sdks/tokens/README.md)\n\n* [list](docs/sdks/tokens/README.md#list) - List Auth Tokens\n* [create](docs/sdks/tokens/README.md#create) - Create an Auth Token\n* [get](docs/sdks/tokens/README.md#get) - Get Auth Token Metadata\n* [delete](docs/sdks/tokens/README.md#delete) - Delete an authentication token\n\n### [user](docs/sdks/user/README.md)\n\n* [getAuthUser](docs/sdks/user/README.md#getauthuser) - Get the User\n* [requestDelete](docs/sdks/user/README.md#requestdelete) - Delete User Account\n\n### [Vercel SDK](docs/sdks/vercel/README.md)\n\n* [listDeploymentBuilds](docs/sdks/vercel/README.md#listdeploymentbuilds) - Retrieves the list of builds given their deployment's unique identifier. No longer listed as public API as of May 2023.\n* [datacachePurgeall](docs/sdks/vercel/README.md#datacachepurgeall)\n* [dataCacheBillingSettings](docs/sdks/vercel/README.md#datacachebillingsettings)\n\n### [webhooks](docs/sdks/webhooks/README.md)\n\n* [create](docs/sdks/webhooks/README.md#create) - Creates a webhook\n* [list](docs/sdks/webhooks/README.md#list) - Get a list of webhooks\n* [get](docs/sdks/webhooks/README.md#get) - Get a webhook\n* [delete](docs/sdks/webhooks/README.md#delete) - Deletes a webhook\n\n\u003c/details\u003e\n\u003c!-- End Available Resources and Operations [operations] --\u003e\n\n\u003c!-- Start Standalone functions [standalone-funcs] --\u003e\n## Standalone functions\n\nAll the methods listed above are available as standalone functions. These\nfunctions are ideal for use in applications running in the browser, serverless\nruntimes or other environments where application bundle size is a primary\nconcern. When using a bundler to build your application, all unused\nfunctionality will be either excluded from the final bundle or tree-shaken away.\n\nTo read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).\n\n\u003cdetails\u003e\n\n\u003csummary\u003eAvailable standalone functions\u003c/summary\u003e\n\n- [accessGroupsCreate](docs/sdks/accessgroups/README.md#create)\n- [accessGroupsDelete](docs/sdks/accessgroups/README.md#delete)\n- [accessGroupsListMembers](docs/sdks/accessgroups/README.md#listmembers)\n- [accessGroupsListProjects](docs/sdks/accessgroups/README.md#listprojects)\n- [accessGroupsList](docs/sdks/accessgroups/README.md#list)\n- [accessGroupsRead](docs/sdks/accessgroups/README.md#read)\n- [accessGroupsUpdate](docs/sdks/accessgroups/README.md#update)\n- [aliasesAssign](docs/sdks/aliases/README.md#assign)\n- [aliasesDelete](docs/sdks/aliases/README.md#delete)\n- [aliasesGet](docs/sdks/aliases/README.md#get)\n- [aliasesList](docs/sdks/aliases/README.md#list)\n- [artifactsDownload](docs/sdks/artifacts/README.md#download)\n- [artifactsExists](docs/sdks/artifacts/README.md#exists)\n- [artifactsQuery](docs/sdks/artifacts/README.md#query)\n- [artifactsRecordEvents](docs/sdks/artifacts/README.md#recordevents)\n- [artifactsStatus](docs/sdks/artifacts/README.md#status)\n- [artifactsUpload](docs/sdks/artifacts/README.md#upload)\n- [authenticationLogin](docs/sdks/authentication/README.md#login)\n- [authenticationVerify](docs/sdks/authentication/README.md#verify)\n- [certsGetById](docs/sdks/certs/README.md#getbyid)\n- [certsIssue](docs/sdks/certs/README.md#issue)\n- [certsRemove](docs/sdks/certs/README.md#remove)\n- [certsUpload](docs/sdks/certs/README.md#upload)\n- [checksCreate](docs/sdks/checks/README.md#create)\n- [checksGet](docs/sdks/checks/README.md#get)\n- [checksList](docs/sdks/checks/README.md#list)\n- [checksRerequest](docs/sdks/checks/README.md#rerequest)\n- [checksUpdate](docs/sdks/checks/README.md#update)\n- [dataCacheBillingSettings](docs/sdks/vercel/README.md#datacachebillingsettings)\n- [datacachePurgeall](docs/sdks/vercel/README.md#datacachepurgeall)\n- [deploymentsCancel](docs/sdks/deployments/README.md#cancel)\n- [deploymentsCreate](docs/sdks/deployments/README.md#create)\n- [deploymentsDelete](docs/sdks/deployments/README.md#delete)\n- [deploymentsGetEvents](docs/sdks/deployments/README.md#getevents)\n- [deploymentsGetFileContents](docs/sdks/deployments/README.md#getfilecontents)\n- [deploymentsGet](docs/sdks/deployments/README.md#get)\n- [deploymentsListAliases](docs/sdks/deployments/README.md#listaliases)\n- [deploymentsListFiles](docs/sdks/deployments/README.md#listfiles)\n- [deploymentsList](docs/sdks/deployments/README.md#list)\n- [deploymentsUploadFile](docs/sdks/deployments/README.md#uploadfile)\n- [dnsCreateRecord](docs/sdks/dns/README.md#createrecord)\n- [dnsListRecords](docs/sdks/dns/README.md#listrecords)\n- [dnsRemoveRecord](docs/sdks/dns/README.md#removerecord)\n- [dnsUpdateRecord](docs/sdks/dns/README.md#updaterecord)\n- [domainsBuy](docs/sdks/domains/README.md#buy)\n- [domainsCheckPrice](docs/sdks/domains/README.md#checkprice)\n- [domainsCheckStatus](docs/sdks/domains/README.md#checkstatus)\n- [domainsCreateOrTransfer](docs/sdks/domains/README.md#createortransfer)\n- [domainsCreate](docs/sdks/domains/README.md#create)\n- [domainsDelete](docs/sdks/domains/README.md#delete)\n- [domainsGetConfig](docs/sdks/domains/README.md#getconfig)\n- [domainsGetTransfer](docs/sdks/domains/README.md#gettransfer)\n- [domainsGet](docs/sdks/domains/README.md#get)\n- [domainsListByProject](docs/sdks/domains/README.md#listbyproject)\n- [domainsList](docs/sdks/domains/README.md#list)\n- [domainsUpdate](docs/sdks/domains/README.md#update)\n- [domainsVerify](docs/sdks/domains/README.md#verify)\n- [edgeConfigsCreateToken](docs/sdks/edgeconfigs/README.md#createtoken)\n- [edgeConfigsCreate](docs/sdks/edgeconfigs/README.md#create)\n- [edgeConfigsDeleteSchema](docs/sdks/edgeconfigs/README.md#deleteschema)\n- [edgeConfigsDeleteTokens](docs/sdks/edgeconfigs/README.md#deletetokens)\n- [edgeConfigsDelete](docs/sdks/edgeconfigs/README.md#delete)\n- [edgeConfigsGetItem](docs/sdks/edgeconfigs/README.md#getitem)\n- [edgeConfigsGetItems](docs/sdks/edgeconfigs/README.md#getitems)\n- [edgeConfigsGetSchema](docs/sdks/edgeconfigs/README.md#getschema)\n- [edgeConfigsGetToken](docs/sdks/edgeconfigs/README.md#gettoken)\n- [edgeConfigsGetTokens](docs/sdks/edgeconfigs/README.md#gettokens)\n- [edgeConfigsGet](docs/sdks/edgeconfigs/README.md#get)\n- [edgeConfigsList](docs/sdks/edgeconfigs/README.md#list)\n- [edgeConfigsUpdateSchema](docs/sdks/edgeconfigs/README.md#updateschema)\n- [edgeConfigsUpdate](docs/sdks/edgeconfigs/README.md#update)\n- [envsCreate](docs/sdks/envs/README.md#create)\n- [envsDelete](docs/sdks/envs/README.md#delete)\n- [envsGet](docs/sdks/envs/README.md#get)\n- [envsListByProject](docs/sdks/envs/README.md#listbyproject)\n- [envsUpdate](docs/sdks/envs/README.md#update)\n- [eventsList](docs/sdks/events/README.md#list)\n- [integrationsDeleteConfiguration](docs/sdks/integrations/README.md#deleteconfiguration)\n- [integrationsGetConfiguration](docs/sdks/integrations/README.md#getconfiguration)\n- [integrationsGetConfigurations](docs/sdks/integrations/README.md#getconfigurations)\n- [integrationsGetGitNamespaces](docs/sdks/integrations/README.md#getgitnamespaces)\n- [integrationsSearchRepos](docs/sdks/integrations/README.md#searchrepos)\n- [listDeploymentBuilds](docs/sdks/vercel/README.md#listdeploymentbuilds)\n- [logDrainsCreateConfigurable](docs/sdks/logdrains/README.md#createconfigurable)\n- [logDrainsCreate](docs/sdks/logdrains/README.md#create)\n- [logDrainsDeleteConfigurable](docs/sdks/logdrains/README.md#deleteconfigurable)\n- [logDrainsDeleteIntegration](docs/sdks/logdrains/README.md#deleteintegration)\n- [logDrainsGetAll](docs/sdks/logdrains/README.md#getall)\n- [logDrainsGetConfigurable](docs/sdks/logdrains/README.md#getconfigurable)\n- [logDrainsList](docs/sdks/logdrains/README.md#list)\n- [projectDomainsDelete](docs/sdks/projectdomains/README.md#delete)\n- [projectDomainsGet](docs/sdks/projectdomains/README.md#get)\n- [projectDomainsUpdate](docs/sdks/projectdomains/README.md#update)\n- [projectMembersAdd](docs/sdks/projectmembers/README.md#add)\n- [projectMembersGet](docs/sdks/projectmembers/README.md#get)\n- [projectMembersRemove](docs/sdks/projectmembers/README.md#remove)\n- [projectsCreate](docs/sdks/projects/README.md#create)\n- [projectsDelete](docs/sdks/projects/README.md#delete)\n- [projectsGetAll](docs/sdks/projects/README.md#getall)\n- [projectsPause](docs/sdks/projects/README.md#pause)\n- [projectsUnpause](docs/sdks/projects/README.md#unpause)\n- [projectsUpdateDataCache](docs/sdks/projects/README.md#updatedatacache)\n- [projectsUpdate](docs/sdks/projects/README.md#update)\n- [promotionsCreate](docs/sdks/promotions/README.md#create)\n- [promotionsListAliases](docs/sdks/promotions/README.md#listaliases)\n- [protectionBypassUpdate](docs/sdks/protectionbypass/README.md#update)\n- [secretsCreate](docs/sdks/secrets/README.md#create)\n- [secretsDelete](docs/sdks/secrets/README.md#delete)\n- [secretsGet](docs/sdks/secrets/README.md#get)\n- [secretsList](docs/sdks/secrets/README.md#list)\n- [secretsRename](docs/sdks/secrets/README.md#rename)\n- [teamsCreate](docs/sdks/teams/README.md#create)\n- [teamsDeleteInviteCode](docs/sdks/teams/README.md#deleteinvitecode)\n- [teamsDelete](docs/sdks/teams/README.md#delete)\n- [teamsGetAccessRequest](docs/sdks/teams/README.md#getaccessrequest)\n- [teamsGetMembers](docs/sdks/teams/README.md#getmembers)\n- [teamsGet](docs/sdks/teams/README.md#get)\n- [teamsInviteUser](docs/sdks/teams/README.md#inviteuser)\n- [teamsJoin](docs/sdks/teams/README.md#join)\n- [teamsList](docs/sdks/teams/README.md#list)\n- [teamsRemoveMember](docs/sdks/teams/README.md#removemember)\n- [teamsRequestAccess](docs/sdks/teams/README.md#requestaccess)\n- [teamsUpdateMember](docs/sdks/teams/README.md#updatemember)\n- [teamsUpdate](docs/sdks/teams/README.md#update)\n- [tokensCreate](docs/sdks/tokens/README.md#create)\n- [tokensDelete](docs/sdks/tokens/README.md#delete)\n- [tokensGet](docs/sdks/tokens/README.md#get)\n- [tokensList](docs/sdks/tokens/README.md#list)\n- [userGetAuthUser](docs/sdks/user/README.md#getauthuser)\n- [userRequestDelete](docs/sdks/user/README.md#requestdelete)\n- [webhooksCreate](docs/sdks/webhooks/README.md#create)\n- [webhooksDelete](docs/sdks/webhooks/README.md#delete)\n- [webhooksGet](docs/sdks/webhooks/README.md#get)\n- [webhooksList](docs/sdks/webhooks/README.md#list)\n\n\n\u003c/details\u003e\n\u003c!-- End Standalone functions [standalone-funcs] --\u003e\n\n\u003c!-- Start File uploads [file-upload] --\u003e\n## File uploads\n\nCertain SDK methods accept files as part of a multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.\n\n\u003e [!TIP]\n\u003e\n\u003e Depending on your JavaScript runtime, there are convenient utilities that return a handle to a file without reading the entire contents into memory:\n\u003e\n\u003e - **Node.js v20+:** Since v20, Node.js comes with a native `openAsBlob` function in [`node:fs`](https://nodejs.org/docs/latest-v20.x/api/fs.html#fsopenasblobpath-options).\n\u003e - **Bun:** The native [`Bun.file`](https://bun.sh/docs/api/file-io#reading-files-bun-file) function produces a file handle that can be used for streaming file uploads.\n\u003e - **Browsers:** All supported browsers return an instance to a [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) when reading the value from an `\u003cinput type=\"file\"\u003e` element.\n\u003e - **Node.js v18:** A file stream can be created using the `fileFrom` helper from [`fetch-blob/from.js`](https://www.npmjs.com/package/fetch-blob).\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel({\n  bearerToken: \"\u003cYOUR_BEARER_TOKEN_HERE\u003e\",\n});\n\nasync function run() {\n  const result = await vercel.artifacts.upload({\n    contentLength: 4036.54,\n    hash: \"12HKQaOmR5t5Uy6vdcQsNIiZgHGB\",\n  });\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\u003c!-- End File uploads [file-upload] --\u003e\n\n\u003c!-- Start Retries [retries] --\u003e\n## Retries\n\nSome of the endpoints in this SDK support retries.  If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API.  However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.\n\nTo change the default retry strategy for a single API call, simply provide a retryConfig object to the call:\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel();\n\nasync function run() {\n  const result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\", {\n    retries: {\n      strategy: \"backoff\",\n      backoff: {\n        initialInterval: 1,\n        maxInterval: 50,\n        exponent: 1.1,\n        maxElapsedTime: 100,\n      },\n      retryConnectionErrors: false,\n    },\n  });\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\nIf you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel({\n  retryConfig: {\n    strategy: \"backoff\",\n    backoff: {\n      initialInterval: 1,\n      maxInterval: 50,\n      exponent: 1.1,\n      maxElapsedTime: 100,\n    },\n    retryConnectionErrors: false,\n  },\n});\n\nasync function run() {\n  const result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\");\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\u003c!-- End Retries [retries] --\u003e\n\n\u003c!-- Start Error Handling [errors] --\u003e\n## Error Handling\n\nAll SDK methods return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type.\n\n| Error Object    | Status Code     | Content Type    |\n| --------------- | --------------- | --------------- |\n| models.SDKError | 4xx-5xx         | */*             |\n\nValidation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging. \n\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\nimport { SDKValidationError } from \"@simplesagar/vercel/models/sdkvalidationerror.js\";\n\nconst vercel = new Vercel();\n\nasync function run() {\n  let result;\n  try {\n    result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\");\n\n    // Handle the result\n    console.log(result);\n  } catch (err) {\n    switch (true) {\n      case (err instanceof SDKValidationError): {\n        // Validation errors can be pretty-printed\n        console.error(err.pretty());\n        // Raw value may also be inspected\n        console.error(err.rawValue);\n        return;\n      }\n      default: {\n        throw err;\n      }\n    }\n  }\n}\n\nrun();\n\n```\n\u003c!-- End Error Handling [errors] --\u003e\n\n\u003c!-- Start Server Selection [server] --\u003e\n## Server Selection\n\n### Select Server by Index\n\nYou can override the default server globally by passing a server index to the `serverIdx` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:\n\n| # | Server | Variables |\n| - | ------ | --------- |\n| 0 | `https://api.vercel.com` | None |\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel({\n  serverIdx: 0,\n});\n\nasync function run() {\n  const result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\");\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\n\n### Override Server URL Per-Client\n\nThe default server can also be overridden globally by passing a URL to the `serverURL` optional parameter when initializing the SDK client instance. For example:\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel({\n  serverURL: \"https://api.vercel.com\",\n});\n\nasync function run() {\n  const result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\");\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\u003c!-- End Server Selection [server] --\u003e\n\n\u003c!-- Start Custom HTTP Client [http-client] --\u003e\n## Custom HTTP Client\n\nThe TypeScript SDK makes API calls using an `HTTPClient` that wraps the native\n[Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This\nclient is a thin wrapper around `fetch` and provides the ability to attach hooks\naround the request lifecycle that can be used to modify the request or handle\nerrors and response.\n\nThe `HTTPClient` constructor takes an optional `fetcher` argument that can be\nused to integrate a third-party HTTP client or when writing tests to mock out\nthe HTTP client and feed in fixtures.\n\nThe following example shows how to use the `\"beforeRequest\"` hook to to add a\ncustom header and a timeout to requests and how to use the `\"requestError\"` hook\nto log errors:\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\nimport { HTTPClient } from \"@simplesagar/vercel/lib/http\";\n\nconst httpClient = new HTTPClient({\n  // fetcher takes a function that has the same signature as native `fetch`.\n  fetcher: (request) =\u003e {\n    return fetch(request);\n  }\n});\n\nhttpClient.addHook(\"beforeRequest\", (request) =\u003e {\n  const nextRequest = new Request(request, {\n    signal: request.signal || AbortSignal.timeout(5000)\n  });\n\n  nextRequest.headers.set(\"x-custom-header\", \"custom value\");\n\n  return nextRequest;\n});\n\nhttpClient.addHook(\"requestError\", (error, request) =\u003e {\n  console.group(\"Request Error\");\n  console.log(\"Reason:\", `${error}`);\n  console.log(\"Endpoint:\", `${request.method} ${request.url}`);\n  console.groupEnd();\n});\n\nconst sdk = new Vercel({ httpClient });\n```\n\u003c!-- End Custom HTTP Client [http-client] --\u003e\n\n\u003c!-- Start Authentication [security] --\u003e\n## Authentication\n\n### Per-Client Security Schemes\n\nThis SDK supports the following security scheme globally:\n\n| Name          | Type          | Scheme        |\n| ------------- | ------------- | ------------- |\n| `bearerToken` | http          | HTTP Bearer   |\n\nTo authenticate with the API the `bearerToken` parameter must be set when initializing the SDK client instance. For example:\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel({\n  bearerToken: \"\u003cYOUR_BEARER_TOKEN_HERE\u003e\",\n});\n\nasync function run() {\n  const result = await vercel.listDeploymentBuilds(\"\u003cvalue\u003e\");\n\n  // Handle the result\n  console.log(result);\n}\n\nrun();\n\n```\n\u003c!-- End Authentication [security] --\u003e\n\n\u003c!-- Start Debugging [debug] --\u003e\n## Debugging\n\nYou can setup your SDK to emit debug logs for SDK requests and responses.\n\nYou can pass a logger that matches `console`'s interface as an SDK option.\n\n\u003e [!WARNING]\n\u003e Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst sdk = new Vercel({ debugLogger: console });\n```\n\u003c!-- End Debugging [debug] --\u003e\n\n\u003c!-- Start Pagination [pagination] --\u003e\n## Pagination\n\nSome of the endpoints in this SDK support pagination. To use pagination, you\nmake your SDK calls as usual, but the returned response object will also be an\nasync iterable that can be consumed using the [`for await...of`][for-await-of]\nsyntax.\n\n[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of\n\nHere's an example of one such pagination call:\n\n```typescript\nimport { Vercel } from \"@simplesagar/vercel\";\n\nconst vercel = new Vercel({\n  bearerToken: \"\u003cYOUR_BEARER_TOKEN_HERE\u003e\",\n});\n\nasync function run() {\n  const result = await vercel.projects.getAll({});\n\n  for await (const page of result) {\n    // Handle the page\n    console.log(page);\n  }\n}\n\nrun();\n\n```\n\u003c!-- End Pagination [pagination] --\u003e\n\n\u003c!-- Placeholder for Future Speakeasy SDK Sections --\u003e\n\n# Development\n\n## Maturity\n\nThis SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage\nto a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally\nlooking for the latest version.\n\n## Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation. \nWe look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release. \n\n### SDK Created by [Speakeasy](https://www.speakeasy.com/?\u0026utm_campaign=typescript)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-sdks%2Fvercel-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeakeasy-sdks%2Fvercel-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-sdks%2Fvercel-ts/lists"}