@vercel/sdk 1.13.9 → 1.14.0
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 -21
- package/bin/mcp-server.js +1006 -658
- package/bin/mcp-server.js.map +34 -29
- package/docs/sdks/domainsregistrar/README.md +6 -0
- package/docs/sdks/projects/README.md +2 -0
- package/docs/sdks/security/README.md +70 -0
- package/esm/__tests__/accessgroups.test.js +3 -1
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +11 -3
- package/esm/__tests__/domains.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 +6 -2
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +18 -4
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/integrationsDeleteConfiguration.js +2 -2
- package/esm/funcs/integrationsDeleteConfiguration.js.map +1 -1
- package/esm/funcs/projectsGetProjects.js +1 -0
- package/esm/funcs/projectsGetProjects.js.map +1 -1
- package/esm/funcs/securityGetV1SecurityFirewallEvents.d.ts +17 -0
- package/esm/funcs/securityGetV1SecurityFirewallEvents.d.ts.map +1 -0
- package/esm/funcs/securityGetV1SecurityFirewallEvents.js +78 -0
- package/esm/funcs/securityGetV1SecurityFirewallEvents.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- 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/securityGetV1SecurityFirewallEvents.d.ts +7 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.d.ts.map +1 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.js +28 -0
- package/esm/mcp-server/tools/securityGetV1SecurityFirewallEvents.js.map +1 -0
- package/esm/models/acceptprojecttransferrequestop.d.ts +1 -1
- package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
- package/esm/models/acceptprojecttransferrequestop.js +2 -1
- package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
- package/esm/models/authtoken.d.ts +6 -0
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +2 -0
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +3 -2
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buydomainsop.js +3 -0
- package/esm/models/buydomainsop.js.map +1 -1
- package/esm/models/buysingledomainop.d.ts +3 -2
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +3 -0
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/createeventop.d.ts +2 -2
- package/esm/models/createeventop.d.ts.map +1 -1
- package/esm/models/createeventop.js +2 -2
- package/esm/models/createeventop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +340 -315
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +392 -381
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +12 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/dnssecenabled.d.ts +70 -0
- package/esm/models/dnssecenabled.d.ts.map +1 -0
- package/esm/models/dnssecenabled.js +72 -0
- package/esm/models/dnssecenabled.js.map +1 -0
- package/esm/models/domaintooshort.d.ts +70 -0
- package/esm/models/domaintooshort.d.ts.map +1 -0
- package/esm/models/domaintooshort.js +72 -0
- package/esm/models/domaintooshort.js.map +1 -0
- package/esm/models/filetree.d.ts +0 -5
- package/esm/models/filetree.d.ts.map +1 -1
- package/esm/models/filetree.js +0 -2
- package/esm/models/filetree.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +375 -375
- package/esm/models/getconfigurationproductsop.js +465 -465
- package/esm/models/getconfigurationsop.d.ts +18 -0
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +6 -0
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdomainpriceop.d.ts +3 -2
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +3 -0
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +5 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +2 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getv1securityfirewalleventsop.d.ts +95 -0
- package/esm/models/getv1securityfirewalleventsop.d.ts.map +1 -0
- package/esm/models/getv1securityfirewalleventsop.js +108 -0
- package/esm/models/getv1securityfirewalleventsop.js.map +1 -0
- package/esm/models/getwebhookop.d.ts +6 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +12 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +1 -1
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +1 -1
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +3 -2
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js +3 -0
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/team.d.ts +1 -1
- package/esm/models/team.d.ts.map +1 -1
- package/esm/models/team.js +1 -1
- package/esm/models/team.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +4 -2
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.js +6 -0
- package/esm/models/transferindomainop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +1 -1
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +1 -1
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateresourceop.d.ts +1 -1
- package/esm/models/updateresourceop.d.ts.map +1 -1
- package/esm/models/updateresourceop.js +1 -1
- package/esm/models/updateresourceop.js.map +1 -1
- package/esm/models/userevent.d.ts +77 -11
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +67 -9
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/security.d.ts +8 -0
- package/esm/sdk/security.d.ts.map +1 -1
- package/esm/sdk/security.js +10 -0
- package/esm/sdk/security.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +3 -1
- package/src/__tests__/domains.test.ts +11 -3
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +6 -2
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/__tests__/security.test.ts +23 -4
- package/src/funcs/integrationsDeleteConfiguration.ts +2 -2
- package/src/funcs/projectsGetProjects.ts +1 -0
- package/src/funcs/securityGetV1SecurityFirewallEvents.ts +165 -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/securityGetV1SecurityFirewallEvents.ts +39 -0
- package/src/models/acceptprojecttransferrequestop.ts +3 -2
- package/src/models/authtoken.ts +2 -0
- package/src/models/buydomainsop.ts +10 -0
- package/src/models/buysingledomainop.ts +10 -0
- package/src/models/createeventop.ts +4 -4
- package/src/models/createintegrationstoredirectop.ts +714 -668
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/dnssecenabled.ts +120 -0
- package/src/models/domaintooshort.ts +120 -0
- package/src/models/filetree.ts +0 -7
- package/src/models/getconfigurationproductsop.ts +802 -802
- package/src/models/getconfigurationsop.ts +6 -0
- package/src/models/getdomainpriceop.ts +10 -0
- package/src/models/getprojectsop.ts +7 -0
- package/src/models/getv1securityfirewalleventsop.ts +233 -0
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +4 -0
- package/src/models/importresourceop.ts +2 -2
- package/src/models/renewdomainop.ts +10 -0
- package/src/models/team.ts +2 -2
- package/src/models/transferindomainop.ts +20 -0
- package/src/models/updateinstallationop.ts +2 -2
- package/src/models/updateresourceop.ts +2 -2
- package/src/models/userevent.ts +140 -17
- package/src/sdk/security.ts +22 -0
- package/vercel-spec.json +351 -109
package/README.md
CHANGED
|
@@ -529,6 +529,7 @@ run();
|
|
|
529
529
|
* [getBypassIp](docs/sdks/security/README.md#getbypassip) - Read System Bypass
|
|
530
530
|
* [addBypassIp](docs/sdks/security/README.md#addbypassip) - Create System Bypass Rule
|
|
531
531
|
* [removeBypassIp](docs/sdks/security/README.md#removebypassip) - Remove System Bypass Rule
|
|
532
|
+
* [getV1SecurityFirewallEvents](docs/sdks/security/README.md#getv1securityfirewallevents) - Read Firewall Actions by Project
|
|
532
533
|
|
|
533
534
|
### [teams](docs/sdks/teams/README.md)
|
|
534
535
|
|
|
@@ -752,6 +753,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
752
753
|
- [`securityGetActiveAttackStatus`](docs/sdks/security/README.md#getactiveattackstatus) - Read active attack data
|
|
753
754
|
- [`securityGetBypassIp`](docs/sdks/security/README.md#getbypassip) - Read System Bypass
|
|
754
755
|
- [`securityGetFirewallConfig`](docs/sdks/security/README.md#getfirewallconfig) - Read Firewall Configuration
|
|
756
|
+
- [`securityGetV1SecurityFirewallEvents`](docs/sdks/security/README.md#getv1securityfirewallevents) - Read Firewall Actions by Project
|
|
755
757
|
- [`securityPutFirewallConfig`](docs/sdks/security/README.md#putfirewallconfig) - Put Firewall Configuration
|
|
756
758
|
- [`securityRemoveBypassIp`](docs/sdks/security/README.md#removebypassip) - Remove System Bypass Rule
|
|
757
759
|
- [`securityUpdateAttackChallengeMode`](docs/sdks/security/README.md#updateattackchallengemode) - Update Attack Challenge mode
|
|
@@ -950,7 +952,7 @@ run();
|
|
|
950
952
|
**Primary error:**
|
|
951
953
|
* [`VercelError`](./src/models/vercelerror.ts): The base class for HTTP error responses.
|
|
952
954
|
|
|
953
|
-
<details><summary>Less common errors (
|
|
955
|
+
<details><summary>Less common errors (28)</summary>
|
|
954
956
|
|
|
955
957
|
<br />
|
|
956
958
|
|
|
@@ -963,26 +965,28 @@ run();
|
|
|
963
965
|
|
|
964
966
|
|
|
965
967
|
**Inherit from [`VercelError`](./src/models/vercelerror.ts)**:
|
|
966
|
-
* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 15 of
|
|
967
|
-
* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 15 of
|
|
968
|
-
* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of
|
|
969
|
-
* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 15 of
|
|
970
|
-
* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of
|
|
971
|
-
* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of
|
|
972
|
-
* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 6 of
|
|
973
|
-
* [`
|
|
974
|
-
* [`
|
|
975
|
-
* [`
|
|
976
|
-
* [`
|
|
977
|
-
* [`
|
|
978
|
-
* [`
|
|
979
|
-
* [`
|
|
980
|
-
* [`
|
|
981
|
-
* [`
|
|
982
|
-
* [`
|
|
983
|
-
* [`
|
|
984
|
-
* [`
|
|
985
|
-
* [`
|
|
968
|
+
* [`HttpApiDecodeError`](./src/models/httpapidecodeerror.ts): The request did not match the expected schema. Status code `400`. Applicable to 15 of 200 methods.*
|
|
969
|
+
* [`Unauthorized`](./src/models/unauthorized.ts): Unauthorized. Status code `401`. Applicable to 15 of 200 methods.*
|
|
970
|
+
* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of 200 methods.*
|
|
971
|
+
* [`TooManyRequests`](./src/models/toomanyrequests.ts): TooManyRequests. Status code `429`. Applicable to 15 of 200 methods.*
|
|
972
|
+
* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of 200 methods.*
|
|
973
|
+
* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of 200 methods.*
|
|
974
|
+
* [`TldNotSupported`](./src/models/tldnotsupported.ts): The TLD is not currently supported. Status code `400`. Applicable to 6 of 200 methods.*
|
|
975
|
+
* [`DomainTooShort`](./src/models/domaintooshort.ts): The domain name (excluding the TLD) is too short. Status code `400`. Applicable to 5 of 200 methods.*
|
|
976
|
+
* [`BadRequest`](./src/models/badrequest.ts): There was something wrong with the request. Status code `400`. Applicable to 4 of 200 methods.*
|
|
977
|
+
* [`DomainNotRegistered`](./src/models/domainnotregistered.ts): The domain is not registered with Vercel. Status code `400`. Applicable to 4 of 200 methods.*
|
|
978
|
+
* [`ExpectedPriceMismatch`](./src/models/expectedpricemismatch.ts): The expected price passed does not match the actual price. Status code `400`. Applicable to 4 of 200 methods.*
|
|
979
|
+
* [`DomainNotAvailable`](./src/models/domainnotavailable.ts): The domain is not available. Status code `400`. Applicable to 4 of 200 methods.*
|
|
980
|
+
* [`DomainNotFound`](./src/models/domainnotfound.ts): The domain was not found in our system. Status code `404`. Applicable to 4 of 200 methods.*
|
|
981
|
+
* [`NotFound`](./src/models/notfound.ts): NotFound. Status code `404`. Applicable to 3 of 200 methods.*
|
|
982
|
+
* [`OrderTooExpensive`](./src/models/ordertooexpensive.ts): The total price of the order is too high. Status code `400`. Applicable to 2 of 200 methods.*
|
|
983
|
+
* [`InvalidAdditionalContactInfo`](./src/models/invalidadditionalcontactinfo.ts): Additional contact information provided for the TLD is invalid. Status code `400`. Applicable to 2 of 200 methods.*
|
|
984
|
+
* [`AdditionalContactInfoRequired`](./src/models/additionalcontactinforequired.ts): Additional contact information is required for the TLD. Status code `400`. Applicable to 2 of 200 methods.*
|
|
985
|
+
* [`TooManyDomains`](./src/models/toomanydomains.ts): The number of domains in the order is too high. Status code `400`. Applicable to 1 of 200 methods.*
|
|
986
|
+
* [`DuplicateDomains`](./src/models/duplicatedomains.ts): Duplicate domains were provided. Status code `400`. Applicable to 1 of 200 methods.*
|
|
987
|
+
* [`DNSSECEnabled`](./src/models/dnssecenabled.ts): The operation cannot be completed because DNSSEC is enabled for the domain. Status code `400`. Applicable to 1 of 200 methods.*
|
|
988
|
+
* [`DomainAlreadyRenewing`](./src/models/domainalreadyrenewing.ts): The domain is already renewing. Status code `400`. Applicable to 1 of 200 methods.*
|
|
989
|
+
* [`DomainNotRenewable`](./src/models/domainnotrenewable.ts): The domain is not renewable. Status code `400`. Applicable to 1 of 200 methods.*
|
|
986
990
|
* [`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.
|
|
987
991
|
|
|
988
992
|
</details>
|