vercel-api-js 0.19.3 → 0.19.5
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +17 -0
- package/dist/index.cjs +6 -0
- package/dist/index.d.cts +287 -44
- package/dist/index.d.mts +287 -44
- package/dist/index.d.ts +287 -44
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -359,6 +359,8 @@ const getProjectEnv = (variables, signal) => fetch$1({ url: "/v1/projects/{idOrN
|
|
|
359
359
|
const createProjectEnv = (variables, signal) => fetch$1({ url: "/v10/projects/{idOrName}/env", method: "post", ...variables, signal });
|
|
360
360
|
const removeProjectEnv = (variables, signal) => fetch$1({ url: "/v9/projects/{idOrName}/env/{id}", method: "delete", ...variables, signal });
|
|
361
361
|
const editProjectEnv = (variables, signal) => fetch$1({ url: "/v9/projects/{idOrName}/env/{id}", method: "patch", ...variables, signal });
|
|
362
|
+
const createProjectTransferRequest = (variables, signal) => fetch$1({ url: "/projects/{idOrName}/transfer-request", method: "post", ...variables, signal });
|
|
363
|
+
const acceptProjectTransferRequest = (variables, signal) => fetch$1({ url: "/projects/transfer-request/{code}", method: "put", ...variables, signal });
|
|
362
364
|
const updateProjectProtectionBypass = (variables, signal) => fetch$1({ url: "/v1/projects/{idOrName}/protection-bypass", method: "patch", ...variables, signal });
|
|
363
365
|
const requestPromote = (variables, signal) => fetch$1({
|
|
364
366
|
url: "/v10/projects/{projectId}/promote/{deploymentId}",
|
|
@@ -388,6 +390,7 @@ const getFirewallConfig = (variables, signal) => fetch$1({
|
|
|
388
390
|
...variables,
|
|
389
391
|
signal
|
|
390
392
|
});
|
|
393
|
+
const getActiveAttackStatus = (variables, signal) => fetch$1({ url: "/v1/security/firewall/attack-status", method: "get", ...variables, signal });
|
|
391
394
|
const getBypassIp = (variables, signal) => fetch$1({ url: "/v1/security/firewall/bypass", method: "get", ...variables, signal });
|
|
392
395
|
const addBypassIp = (variables, signal) => fetch$1({ url: "/v1/security/firewall/bypass", method: "post", ...variables, signal });
|
|
393
396
|
const removeBypassIp = (variables, signal) => fetch$1({ url: "/v1/security/firewall/bypass", method: "delete", ...variables, signal });
|
|
@@ -622,6 +625,8 @@ const operationsByTag = {
|
|
|
622
625
|
createProjectEnv,
|
|
623
626
|
removeProjectEnv,
|
|
624
627
|
editProjectEnv,
|
|
628
|
+
createProjectTransferRequest,
|
|
629
|
+
acceptProjectTransferRequest,
|
|
625
630
|
updateProjectProtectionBypass,
|
|
626
631
|
requestPromote,
|
|
627
632
|
listPromoteAliases,
|
|
@@ -708,6 +713,7 @@ const operationsByTag = {
|
|
|
708
713
|
putFirewallConfig,
|
|
709
714
|
updateFirewallConfig,
|
|
710
715
|
getFirewallConfig,
|
|
716
|
+
getActiveAttackStatus,
|
|
711
717
|
getBypassIp,
|
|
712
718
|
addBypassIp,
|
|
713
719
|
removeBypassIp
|