@vercel/sdk 1.13.5 → 1.13.6
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.
- package/README.md +25 -20
- package/bin/mcp-server.js +1848 -1612
- package/bin/mcp-server.js.map +25 -22
- package/docs/sdks/connect/README.md +95 -0
- package/docs/sdks/projects/README.md +2 -0
- package/esm/__tests__/connect.test.d.ts +2 -0
- package/esm/__tests__/connect.test.d.ts.map +1 -0
- package/esm/__tests__/connect.test.js +36 -0
- package/esm/__tests__/connect.test.js.map +1 -0
- package/esm/__tests__/domains.test.js +11 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/domainsregistrar.test.js +1 -1
- package/esm/__tests__/domainsregistrar.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +3 -1
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -5
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +4 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts +17 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.d.ts.map +1 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.js +90 -0
- package/esm/funcs/connectUpdateSharedConnectLinks.js.map +1 -0
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts +7 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.d.ts.map +1 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js +28 -0
- package/esm/mcp-server/tools/connectUpdateSharedConnectLinks.js.map +1 -0
- package/esm/models/buydomainsop.d.ts +1 -1
- package/esm/models/buysingledomainop.d.ts +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +291 -285
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +353 -351
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +30 -30
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +18 -18
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getdomainpriceop.d.ts +9 -9
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +6 -6
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getintegrationresourceop.d.ts +3 -0
- package/esm/models/getintegrationresourceop.d.ts.map +1 -1
- package/esm/models/getintegrationresourceop.js +1 -0
- package/esm/models/getintegrationresourceop.js.map +1 -1
- package/esm/models/getintegrationresourcesop.d.ts +3 -0
- package/esm/models/getintegrationresourcesop.d.ts.map +1 -1
- package/esm/models/getintegrationresourcesop.js +1 -0
- package/esm/models/getintegrationresourcesop.js.map +1 -1
- package/esm/models/getorderop.d.ts +18 -9
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +6 -6
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +36 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +24 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/gettldpriceop.d.ts +8 -8
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/gettldpriceop.js +6 -6
- package/esm/models/gettldpriceop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +3 -0
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +1 -0
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +1 -1
- package/esm/models/transferindomainop.d.ts +1 -1
- package/esm/models/updateprojectop.d.ts +66 -30
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +45 -18
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updatesharedconnectlinksop.d.ts +182 -0
- package/esm/models/updatesharedconnectlinksop.d.ts.map +1 -0
- package/esm/models/updatesharedconnectlinksop.js +179 -0
- package/esm/models/updatesharedconnectlinksop.js.map +1 -0
- package/esm/sdk/connect.d.ts +12 -0
- package/esm/sdk/connect.d.ts.map +1 -0
- package/esm/sdk/connect.js +18 -0
- package/esm/sdk/connect.js.map +1 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/connect.test.ts +39 -0
- package/src/__tests__/domains.test.ts +11 -4
- package/src/__tests__/domainsregistrar.test.ts +1 -1
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +3 -1
- package/src/__tests__/rollingrelease.test.ts +2 -5
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/connectUpdateSharedConnectLinks.ts +181 -0
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/connectUpdateSharedConnectLinks.ts +38 -0
- package/src/models/buydomainsop.ts +1 -1
- package/src/models/buysingledomainop.ts +1 -1
- package/src/models/createintegrationstoredirectop.ts +606 -604
- package/src/models/createprojectop.ts +30 -30
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getdomainpriceop.ts +15 -15
- package/src/models/getintegrationresourceop.ts +1 -0
- package/src/models/getintegrationresourcesop.ts +1 -0
- package/src/models/getorderop.ts +24 -15
- package/src/models/getprojectsop.ts +40 -0
- package/src/models/gettldpriceop.ts +14 -14
- package/src/models/importresourceop.ts +1 -0
- package/src/models/renewdomainop.ts +1 -1
- package/src/models/transferindomainop.ts +1 -1
- package/src/models/updateprojectop.ts +101 -30
- package/src/models/updatesharedconnectlinksop.ts +402 -0
- package/src/sdk/connect.ts +30 -0
- package/src/sdk/sdk.ts +6 -0
- package/vercel-spec.json +390 -169
package/README.md
CHANGED
|
@@ -340,6 +340,10 @@ run();
|
|
|
340
340
|
* [updateCheck](docs/sdks/checks/README.md#updatecheck) - Update a check
|
|
341
341
|
* [rerequestCheck](docs/sdks/checks/README.md#rerequestcheck) - Rerequest a check
|
|
342
342
|
|
|
343
|
+
### [connect](docs/sdks/connect/README.md)
|
|
344
|
+
|
|
345
|
+
* [updateSharedConnectLinks](docs/sdks/connect/README.md#updatesharedconnectlinks) - Update project connections to shared Secure Compute networks
|
|
346
|
+
|
|
343
347
|
### [deployments](docs/sdks/deployments/README.md)
|
|
344
348
|
|
|
345
349
|
* [getDeploymentEvents](docs/sdks/deployments/README.md#getdeploymentevents) - Get deployment events
|
|
@@ -607,6 +611,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
607
611
|
- [`checksGetCheck`](docs/sdks/checks/README.md#getcheck) - Get a single check
|
|
608
612
|
- [`checksRerequestCheck`](docs/sdks/checks/README.md#rerequestcheck) - Rerequest a check
|
|
609
613
|
- [`checksUpdateCheck`](docs/sdks/checks/README.md#updatecheck) - Update a check
|
|
614
|
+
- [`connectUpdateSharedConnectLinks`](docs/sdks/connect/README.md#updatesharedconnectlinks) - Update project connections to shared Secure Compute networks
|
|
610
615
|
- [`deploymentsCancelDeployment`](docs/sdks/deployments/README.md#canceldeployment) - Cancel a deployment
|
|
611
616
|
- [`deploymentsCreateDeployment`](docs/sdks/deployments/README.md#createdeployment) - Create a new deployment
|
|
612
617
|
- [`deploymentsDeleteDeployment`](docs/sdks/deployments/README.md#deletedeployment) - Delete a Deployment
|
|
@@ -952,26 +957,26 @@ run();
|
|
|
952
957
|
|
|
953
958
|
|
|
954
959
|
**Inherit from [`VercelError`](./src/models/vercelerror.ts)**:
|
|
955
|
-
* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 15 of
|
|
956
|
-
* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 15 of
|
|
957
|
-
* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of
|
|
958
|
-
* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 15 of
|
|
959
|
-
* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of
|
|
960
|
-
* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of
|
|
961
|
-
* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 6 of
|
|
962
|
-
* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 4 of
|
|
963
|
-
* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 4 of
|
|
964
|
-
* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of
|
|
965
|
-
* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of
|
|
966
|
-
* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 4 of
|
|
967
|
-
* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of
|
|
968
|
-
* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of
|
|
969
|
-
* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of
|
|
970
|
-
* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of
|
|
971
|
-
* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of
|
|
972
|
-
* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of
|
|
973
|
-
* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of
|
|
974
|
-
* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of
|
|
960
|
+
* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 15 of 197 methods.*
|
|
961
|
+
* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 15 of 197 methods.*
|
|
962
|
+
* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of 197 methods.*
|
|
963
|
+
* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 15 of 197 methods.*
|
|
964
|
+
* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of 197 methods.*
|
|
965
|
+
* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of 197 methods.*
|
|
966
|
+
* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 6 of 197 methods.*
|
|
967
|
+
* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 4 of 197 methods.*
|
|
968
|
+
* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 4 of 197 methods.*
|
|
969
|
+
* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of 197 methods.*
|
|
970
|
+
* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of 197 methods.*
|
|
971
|
+
* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 4 of 197 methods.*
|
|
972
|
+
* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of 197 methods.*
|
|
973
|
+
* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of 197 methods.*
|
|
974
|
+
* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of 197 methods.*
|
|
975
|
+
* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of 197 methods.*
|
|
976
|
+
* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of 197 methods.*
|
|
977
|
+
* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of 197 methods.*
|
|
978
|
+
* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of 197 methods.*
|
|
979
|
+
* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of 197 methods.*
|
|
975
980
|
* [`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.
|
|
976
981
|
|
|
977
982
|
</details>
|