@vercel/sdk 1.13.8 → 1.13.9
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 +24 -20
- package/bin/mcp-server.js +2169 -1565
- package/bin/mcp-server.js.map +27 -21
- package/docs/sdks/marketplace/README.md +150 -0
- package/esm/__tests__/domains.test.js +2 -7
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +2 -6
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/marketplace.test.js +16 -0
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +6 -2
- 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/marketplaceUpdateInstallation.d.ts +17 -0
- package/esm/funcs/marketplaceUpdateInstallation.d.ts.map +1 -0
- package/esm/funcs/marketplaceUpdateInstallation.js +82 -0
- package/esm/funcs/marketplaceUpdateInstallation.js.map +1 -0
- package/esm/funcs/marketplaceUpdateResource.d.ts +17 -0
- package/esm/funcs/marketplaceUpdateResource.d.ts.map +1 -0
- package/esm/funcs/marketplaceUpdateResource.js +85 -0
- package/esm/funcs/marketplaceUpdateResource.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- 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 +5 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.js +27 -0
- package/esm/mcp-server/tools/marketplaceUpdateInstallation.js.map +1 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.d.ts +7 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.d.ts.map +1 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.js +28 -0
- package/esm/mcp-server/tools/marketplaceUpdateResource.js.map +1 -0
- package/esm/models/buysingledomainop.d.ts +8 -8
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +12 -13
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +285 -285
- package/esm/models/createintegrationstoredirectop.js +351 -351
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +154 -156
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +149 -151
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/exchangessotokenop.d.ts +2 -0
- package/esm/models/exchangessotokenop.d.ts.map +1 -1
- package/esm/models/exchangessotokenop.js +4 -0
- package/esm/models/exchangessotokenop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +9 -9
- package/esm/models/filterprojectenvsop.js +3 -3
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getprojectenvop.d.ts +9 -9
- package/esm/models/getprojectenvop.js +3 -3
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +124 -126
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +131 -133
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +68 -68
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +75 -72
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +242 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -0
- package/esm/models/updateinstallationop.js +246 -0
- package/esm/models/updateinstallationop.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +124 -126
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +131 -133
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +154 -156
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +149 -151
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateresourceop.d.ts +432 -0
- package/esm/models/updateresourceop.d.ts.map +1 -0
- package/esm/models/updateresourceop.js +393 -0
- package/esm/models/updateresourceop.js.map +1 -0
- package/esm/models/userevent.d.ts +122 -6
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +90 -2
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/marketplace.d.ts +16 -0
- package/esm/sdk/marketplace.d.ts.map +1 -1
- package/esm/sdk/marketplace.js +20 -0
- package/esm/sdk/marketplace.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/domains.test.ts +2 -7
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +2 -6
- package/src/__tests__/marketplace.test.ts +19 -0
- package/src/__tests__/rollingrelease.test.ts +6 -2
- package/src/__tests__/security.test.ts +4 -4
- package/src/funcs/marketplaceUpdateInstallation.ts +174 -0
- package/src/funcs/marketplaceUpdateResource.ts +179 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/marketplaceUpdateInstallation.ts +35 -0
- package/src/mcp-server/tools/marketplaceUpdateResource.ts +37 -0
- package/src/models/buysingledomainop.ts +16 -14
- package/src/models/createintegrationstoredirectop.ts +604 -604
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +285 -289
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/exchangessotokenop.ts +6 -0
- package/src/models/filterprojectenvsop.ts +3 -3
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getprojectenvop.ts +3 -3
- package/src/models/getprojectsop.ts +255 -259
- package/src/models/importresourceop.ts +142 -115
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateinstallationop.ts +488 -0
- package/src/models/updateprojectdatacacheop.ts +255 -259
- package/src/models/updateprojectop.ts +285 -289
- package/src/models/updateresourceop.ts +823 -0
- package/src/models/userevent.ts +188 -2
- package/src/sdk/marketplace.ts +41 -0
- package/vercel-spec.json +1618 -1190
package/README.md
CHANGED
|
@@ -451,6 +451,7 @@ run();
|
|
|
451
451
|
|
|
452
452
|
### [marketplace](docs/sdks/marketplace/README.md)
|
|
453
453
|
|
|
454
|
+
* [updateInstallation](docs/sdks/marketplace/README.md#updateinstallation) - Update Installation
|
|
454
455
|
* [getAccountInfo](docs/sdks/marketplace/README.md#getaccountinfo) - Get Account Information
|
|
455
456
|
* [getMember](docs/sdks/marketplace/README.md#getmember) - Get Member Information
|
|
456
457
|
* [createEvent](docs/sdks/marketplace/README.md#createevent) - Create Event
|
|
@@ -458,6 +459,7 @@ run();
|
|
|
458
459
|
* [getIntegrationResource](docs/sdks/marketplace/README.md#getintegrationresource) - Get Integration Resource
|
|
459
460
|
* [deleteIntegrationResource](docs/sdks/marketplace/README.md#deleteintegrationresource) - Delete Integration Resource
|
|
460
461
|
* [importResource](docs/sdks/marketplace/README.md#importresource) - Import Resource
|
|
462
|
+
* [updateResource](docs/sdks/marketplace/README.md#updateresource) - Update Resource
|
|
461
463
|
* [submitBillingData](docs/sdks/marketplace/README.md#submitbillingdata) - Submit Billing Data
|
|
462
464
|
* [submitInvoice](docs/sdks/marketplace/README.md#submitinvoice) - Submit Invoice
|
|
463
465
|
* [getInvoice](docs/sdks/marketplace/README.md#getinvoice) - Get Invoice
|
|
@@ -703,9 +705,11 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
703
705
|
- [`marketplaceSubmitBillingData`](docs/sdks/marketplace/README.md#submitbillingdata) - Submit Billing Data
|
|
704
706
|
- [`marketplaceSubmitInvoice`](docs/sdks/marketplace/README.md#submitinvoice) - Submit Invoice
|
|
705
707
|
- [`marketplaceSubmitPrepaymentBalances`](docs/sdks/marketplace/README.md#submitprepaymentbalances) - Submit Prepayment Balances
|
|
708
|
+
- [`marketplaceUpdateInstallation`](docs/sdks/marketplace/README.md#updateinstallation) - Update Installation
|
|
706
709
|
- [`marketplaceUpdateInstallationIntegrationConfiguration`](docs/sdks/marketplace/README.md#updateinstallationintegrationconfiguration) - Patch an existing experimentation item
|
|
707
710
|
- [`marketplaceUpdateInstallationIntegrationEdgeConfig`](docs/sdks/marketplace/README.md#updateinstallationintegrationedgeconfig) - Push data into a user-provided Edge Config
|
|
708
711
|
- [`marketplaceUpdateInvoice`](docs/sdks/marketplace/README.md#updateinvoice) - Invoice Actions
|
|
712
|
+
- [`marketplaceUpdateResource`](docs/sdks/marketplace/README.md#updateresource) - Update Resource
|
|
709
713
|
- [`marketplaceUpdateResourceSecrets`](docs/sdks/marketplace/README.md#updateresourcesecrets) - Update Resource Secrets (Deprecated)
|
|
710
714
|
- [`marketplaceUpdateResourceSecretsById`](docs/sdks/marketplace/README.md#updateresourcesecretsbyid) - Update Resource Secrets
|
|
711
715
|
- [`projectMembersAddProjectMember`](docs/sdks/projectmembers/README.md#addprojectmember) - Adds a new member to a project.
|
|
@@ -959,26 +963,26 @@ run();
|
|
|
959
963
|
|
|
960
964
|
|
|
961
965
|
**Inherit from [`VercelError`](./src/models/vercelerror.ts)**:
|
|
962
|
-
* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 15 of
|
|
963
|
-
* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 15 of
|
|
964
|
-
* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of
|
|
965
|
-
* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 15 of
|
|
966
|
-
* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of
|
|
967
|
-
* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of
|
|
968
|
-
* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 6 of
|
|
969
|
-
* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 4 of
|
|
970
|
-
* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 4 of
|
|
971
|
-
* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of
|
|
972
|
-
* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of
|
|
973
|
-
* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 4 of
|
|
974
|
-
* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of
|
|
975
|
-
* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of
|
|
976
|
-
* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of
|
|
977
|
-
* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of
|
|
978
|
-
* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of
|
|
979
|
-
* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of
|
|
980
|
-
* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of
|
|
981
|
-
* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of
|
|
966
|
+
* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 15 of 199 methods.*
|
|
967
|
+
* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 15 of 199 methods.*
|
|
968
|
+
* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of 199 methods.*
|
|
969
|
+
* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 15 of 199 methods.*
|
|
970
|
+
* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of 199 methods.*
|
|
971
|
+
* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of 199 methods.*
|
|
972
|
+
* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 6 of 199 methods.*
|
|
973
|
+
* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 4 of 199 methods.*
|
|
974
|
+
* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 4 of 199 methods.*
|
|
975
|
+
* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of 199 methods.*
|
|
976
|
+
* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of 199 methods.*
|
|
977
|
+
* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 4 of 199 methods.*
|
|
978
|
+
* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of 199 methods.*
|
|
979
|
+
* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of 199 methods.*
|
|
980
|
+
* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of 199 methods.*
|
|
981
|
+
* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of 199 methods.*
|
|
982
|
+
* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of 199 methods.*
|
|
983
|
+
* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of 199 methods.*
|
|
984
|
+
* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of 199 methods.*
|
|
985
|
+
* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of 199 methods.*
|
|
982
986
|
* [`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.
|
|
983
987
|
|
|
984
988
|
</details>
|