@@ -198,10 +198,10 @@ const vercel = new Vercel({
198
198
});
199
199
200
200
async function run() {
201
- const result = await vercel .postDomains ({
202
- name : " example.com " ,
203
- method : " transfer-in " ,
204
- token : " fdhfr820ad#@FAdlj$$ " ,
201
+ const result = await vercel .accessGroups . readAccessGroup ({
202
+ idOrName : " ag_1a2b3c4d5e6f7g8h9i0j " ,
203
+ teamId : " team_1a2b3c4d5e6f7g8h9i0j1k2l " ,
204
+ slug : " my-team-url-slug " ,
205
205
});
206
206
207
207
console .log (result );
@@ -368,6 +368,7 @@ run();
368
368
* [ getDomainConfig] ( docs/sdks/domains/README.md#getdomainconfig ) - Get a Domain's configuration
369
369
* [ getDomain] ( docs/sdks/domains/README.md#getdomain ) - Get Information for a Single Domain
370
370
* [ getDomains] ( docs/sdks/domains/README.md#getdomains ) - List all the domains
371
+ * [ createOrTransferDomain] ( docs/sdks/domains/README.md#createortransferdomain ) - Register or transfer-in a new Domain
371
372
* [ patchDomain] ( docs/sdks/domains/README.md#patchdomain ) - Update or move apex domain
372
373
* [ deleteDomain] ( docs/sdks/domains/README.md#deletedomain ) - Remove a domain by name
373
374
@@ -512,13 +513,6 @@ run();
512
513
* [ getAuthUser] ( docs/sdks/user/README.md#getauthuser ) - Get the User
513
514
* [ requestDelete] ( docs/sdks/user/README.md#requestdelete ) - Delete User Account
514
515
515
- ### [ Vercel SDK] ( docs/sdks/vercel/README.md )
516
-
517
- * [ postDomains] ( docs/sdks/vercel/README.md#postdomains )
518
- * [ getProjectsProjectIdLogsPresets] ( docs/sdks/vercel/README.md#getprojectsprojectidlogspresets )
519
- * [ postProjectsProjectIdLogsPresets] ( docs/sdks/vercel/README.md#postprojectsprojectidlogspresets )
520
- * [ deleteProjectsProjectIdLogsPresetsId] ( docs/sdks/vercel/README.md#deleteprojectsprojectidlogspresetsid )
521
- * [ patchProjectsProjectIdLogsPresetsId] ( docs/sdks/vercel/README.md#patchprojectsprojectidlogspresetsid )
522
516
523
517
### [ webhooks] ( docs/sdks/webhooks/README.md )
524
518
@@ -581,7 +575,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
581
575
- [ ` checksGetCheck ` ] ( docs/sdks/checks/README.md#getcheck ) - Get a single check
582
576
- [ ` checksRerequestCheck ` ] ( docs/sdks/checks/README.md#rerequestcheck ) - Rerequest a check
583
577
- [ ` checksUpdateCheck ` ] ( docs/sdks/checks/README.md#updatecheck ) - Update a check
584
- - [ ` deleteProjectsProjectIdLogsPresetsId ` ] ( docs/sdks/vercel/README.md#deleteprojectsprojectidlogspresetsid )
585
578
- [ ` deploymentsCancelDeployment ` ] ( docs/sdks/deployments/README.md#canceldeployment ) - Cancel a deployment
586
579
- [ ` deploymentsCreateDeployment ` ] ( docs/sdks/deployments/README.md#createdeployment ) - Create a new deployment
587
580
- [ ` deploymentsDeleteDeployment ` ] ( docs/sdks/deployments/README.md#deletedeployment ) - Delete a Deployment
@@ -600,6 +593,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
600
593
- [ ` domainsBuyDomain ` ] ( docs/sdks/domains/README.md#buydomain ) - Purchase a domain
601
594
- [ ` domainsCheckDomainPrice ` ] ( docs/sdks/domains/README.md#checkdomainprice ) - Check the price for a domain
602
595
- [ ` domainsCheckDomainStatus ` ] ( docs/sdks/domains/README.md#checkdomainstatus ) - Check a Domain Availability
596
+ - [ ` domainsCreateOrTransferDomain ` ] ( docs/sdks/domains/README.md#createortransferdomain ) - Register or transfer-in a new Domain
603
597
- [ ` domainsDeleteDomain ` ] ( docs/sdks/domains/README.md#deletedomain ) - Remove a domain by name
604
598
- [ ` domainsGetDomain ` ] ( docs/sdks/domains/README.md#getdomain ) - Get Information for a Single Domain
605
599
- [ ` domainsGetDomainConfig ` ] ( docs/sdks/domains/README.md#getdomainconfig ) - Get a Domain's configuration
@@ -628,7 +622,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
628
622
- [ ` environmentGetV9ProjectsIdOrNameCustomEnvironments ` ] ( docs/sdks/environment/README.md#getv9projectsidornamecustomenvironments ) - Retrieve custom environments
629
623
- [ ` environmentRemoveCustomEnvironment ` ] ( docs/sdks/environment/README.md#removecustomenvironment ) - Remove a custom environment
630
624
- [ ` environmentUpdateCustomEnvironment ` ] ( docs/sdks/environment/README.md#updatecustomenvironment ) - Update a custom environment
631
- - [ ` getProjectsProjectIdLogsPresets ` ] ( docs/sdks/vercel/README.md#getprojectsprojectidlogspresets )
632
625
- [ ` integrationsDeleteConfiguration ` ] ( docs/sdks/integrations/README.md#deleteconfiguration ) - Delete an integration configuration
633
626
- [ ` integrationsGetConfiguration ` ] ( docs/sdks/integrations/README.md#getconfiguration ) - Retrieve an integration configuration
634
627
- [ ` integrationsGetConfigurations ` ] ( docs/sdks/integrations/README.md#getconfigurations ) - Get configurations for the authenticated user or team
@@ -655,9 +648,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
655
648
- [ ` marketplaceUpdateInvoice ` ] ( docs/sdks/marketplace/README.md#updateinvoice ) - Invoice Actions
656
649
- [ ` marketplaceUpdateResourceSecrets ` ] ( docs/sdks/marketplace/README.md#updateresourcesecrets ) - Update Resource Secrets (Deprecated)
657
650
- [ ` marketplaceUpdateResourceSecretsById ` ] ( docs/sdks/marketplace/README.md#updateresourcesecretsbyid ) - Update Resource Secrets
658
- - [ ` patchProjectsProjectIdLogsPresetsId ` ] ( docs/sdks/vercel/README.md#patchprojectsprojectidlogspresetsid )
659
- - [ ` postDomains ` ] ( docs/sdks/vercel/README.md#postdomains )
660
- - [ ` postProjectsProjectIdLogsPresets ` ] ( docs/sdks/vercel/README.md#postprojectsprojectidlogspresets )
661
651
- [ ` projectMembersAddProjectMember ` ] ( docs/sdks/projectmembers/README.md#addprojectmember ) - Adds a new member to a project.
662
652
- [ ` projectMembersGetProjectMembers ` ] ( docs/sdks/projectmembers/README.md#getprojectmembers ) - List project members
663
653
- [ ` projectMembersRemoveProjectMember ` ] ( docs/sdks/projectmembers/README.md#removeprojectmember ) - Remove a Project Member
@@ -775,13 +765,15 @@ To change the default retry strategy for a single API call, simply provide a ret
775
765
``` typescript
776
766
import { Vercel } from " @vercel/sdk" ;
777
767
778
- const vercel = new Vercel ();
768
+ const vercel = new Vercel ({
769
+ bearerToken: " <YOUR_BEARER_TOKEN_HERE>" ,
770
+ });
779
771
780
772
async function run() {
781
- const result = await vercel .postDomains ({
782
- name : " example.com " ,
783
- method : " transfer-in " ,
784
- token : " fdhfr820ad#@FAdlj$$ " ,
773
+ const result = await vercel .accessGroups . readAccessGroup ({
774
+ idOrName : " ag_1a2b3c4d5e6f7g8h9i0j " ,
775
+ teamId : " team_1a2b3c4d5e6f7g8h9i0j1k2l " ,
776
+ slug : " my-team-url-slug " ,
785
777
}, {
786
778
retries: {
787
779
strategy: " backoff" ,
@@ -817,13 +809,14 @@ const vercel = new Vercel({
817
809
},
818
810
retryConnectionErrors: false ,
819
811
},
812
+ bearerToken: " <YOUR_BEARER_TOKEN_HERE>" ,
820
813
});
821
814
822
815
async function run() {
823
- const result = await vercel .postDomains ({
824
- name : " example.com " ,
825
- method : " transfer-in " ,
826
- token : " fdhfr820ad#@FAdlj$$ " ,
816
+ const result = await vercel .accessGroups . readAccessGroup ({
817
+ idOrName : " ag_1a2b3c4d5e6f7g8h9i0j " ,
818
+ teamId : " team_1a2b3c4d5e6f7g8h9i0j1k2l " ,
819
+ slug : " my-team-url-slug " ,
827
820
});
828
821
829
822
console .log (result );
@@ -854,14 +847,16 @@ import { Vercel } from "@vercel/sdk";
854
847
import { VercelBadRequestError } from " @vercel/sdk/models/vercelbadrequesterror.js" ;
855
848
import { VercelError } from " @vercel/sdk/models/vercelerror.js.js" ;
856
849
857
- const vercel = new Vercel ();
850
+ const vercel = new Vercel ({
851
+ bearerToken: " <YOUR_BEARER_TOKEN_HERE>" ,
852
+ });
858
853
859
854
async function run() {
860
855
try {
861
- const result = await vercel .postDomains ({
862
- name : " example.com " ,
863
- method : " transfer-in " ,
864
- token : " fdhfr820ad#@FAdlj$$ " ,
856
+ const result = await vercel .accessGroups . readAccessGroup ({
857
+ idOrName : " ag_1a2b3c4d5e6f7g8h9i0j " ,
858
+ teamId : " team_1a2b3c4d5e6f7g8h9i0j1k2l " ,
859
+ slug : " my-team-url-slug " ,
865
860
});
866
861
867
862
console .log (result );
@@ -904,8 +899,8 @@ run();
904
899
905
900
906
901
** Inherit from [ ` VercelError ` ] ( ./src/models/vercelerror.ts ) ** :
907
- * [ ` VercelNotFoundError ` ] ( docs/models/vercelnotfounderror.md ) : Status code ` 404 ` . Applicable to 100 of 174 methods.*
908
- * [ ` VercelRateLimitError ` ] ( docs/models/vercelratelimiterror.md ) : . Status code ` 429 ` . Applicable to 1 of 174 methods.*
902
+ * [ ` VercelNotFoundError ` ] ( docs/models/vercelnotfounderror.md ) : Status code ` 404 ` . Applicable to 99 of 170 methods.*
903
+ * [ ` VercelRateLimitError ` ] ( docs/models/vercelratelimiterror.md ) : . Status code ` 429 ` . Applicable to 1 of 170 methods.*
909
904
* [ ` ResponseValidationError ` ] ( ./src/models/responsevalidationerror.ts ) : Type mismatch between the data returned from the server and the structure expected by the SDK. See ` error.rawValue ` for the raw value and ` error.pretty() ` for a nicely formatted multi-line string.
910
905
911
906
</details >
@@ -924,13 +919,14 @@ import { Vercel } from "@vercel/sdk";
924
919
925
920
const vercel = new Vercel ({
926
921
serverURL: " https://api.vercel.com" ,
922
+ bearerToken: " <YOUR_BEARER_TOKEN_HERE>" ,
927
923
});
928
924
929
925
async function run() {
930
- const result = await vercel .postDomains ({
931
- name : " example.com " ,
932
- method : " transfer-in " ,
933
- token : " fdhfr820ad#@FAdlj$$ " ,
926
+ const result = await vercel .accessGroups . readAccessGroup ({
927
+ idOrName : " ag_1a2b3c4d5e6f7g8h9i0j " ,
928
+ teamId : " team_1a2b3c4d5e6f7g8h9i0j1k2l " ,
929
+ slug : " my-team-url-slug " ,
934
930
});
935
931
936
932
console .log (result );
0 commit comments