vercel-api-js 0.18.2 → 0.19.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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +13 -0
- package/dist/index.cjs +25 -7
- package/dist/index.d.cts +375 -48
- package/dist/index.d.mts +375 -48
- package/dist/index.d.ts +375 -48
- package/dist/index.mjs +25 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -138,6 +138,12 @@ const checkDomainPrice = (variables, signal) => fetch$1({
|
|
|
138
138
|
...variables,
|
|
139
139
|
signal
|
|
140
140
|
});
|
|
141
|
+
const checkDomainStatus = (variables, signal) => fetch$1({
|
|
142
|
+
url: "/v4/domains/status",
|
|
143
|
+
method: "get",
|
|
144
|
+
...variables,
|
|
145
|
+
signal
|
|
146
|
+
});
|
|
141
147
|
const getRecords = (variables, signal) => fetch$1({ url: "/v4/domains/{domain}/records", method: "get", ...variables, signal });
|
|
142
148
|
const createRecord = (variables, signal) => fetch$1({ url: "/v2/domains/{domain}/records", method: "post", ...variables, signal });
|
|
143
149
|
const updateRecord = (variables, signal) => fetch$1({ url: "/v1/domains/records/{recordId}", method: "patch", ...variables, signal });
|
|
@@ -147,12 +153,6 @@ const removeRecord = (variables, signal) => fetch$1({
|
|
|
147
153
|
...variables,
|
|
148
154
|
signal
|
|
149
155
|
});
|
|
150
|
-
const checkDomainStatus = (variables, signal) => fetch$1({
|
|
151
|
-
url: "/v4/domains/status",
|
|
152
|
-
method: "get",
|
|
153
|
-
...variables,
|
|
154
|
-
signal
|
|
155
|
-
});
|
|
156
156
|
const getDomainTransfer = (variables, signal) => fetch$1({
|
|
157
157
|
url: "/v1/domains/{domain}/registry",
|
|
158
158
|
method: "get",
|
|
@@ -266,6 +266,12 @@ const updateResourceSecrets = (variables, signal) => fetch$1({
|
|
|
266
266
|
...variables,
|
|
267
267
|
signal
|
|
268
268
|
});
|
|
269
|
+
const updateResourceSecretsById = (variables, signal) => fetch$1({
|
|
270
|
+
url: "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/secrets",
|
|
271
|
+
method: "put",
|
|
272
|
+
...variables,
|
|
273
|
+
signal
|
|
274
|
+
});
|
|
269
275
|
const getConfigurations = (variables, signal) => fetch$1({ url: "/v1/integrations/configurations", method: "get", ...variables, signal });
|
|
270
276
|
const getConfiguration = (variables, signal) => fetch$1({ url: "/v1/integrations/configuration/{id}", method: "get", ...variables, signal });
|
|
271
277
|
const deleteConfiguration = (variables, signal) => fetch$1({ url: "/v1/integrations/configuration/{id}", method: "delete", ...variables, signal });
|
|
@@ -367,6 +373,9 @@ const getFirewallConfig = (variables, signal) => fetch$1({
|
|
|
367
373
|
...variables,
|
|
368
374
|
signal
|
|
369
375
|
});
|
|
376
|
+
const getBypassIp = (variables, signal) => fetch$1({ url: "/v1/security/firewall/bypass", method: "get", ...variables, signal });
|
|
377
|
+
const addBypassIp = (variables, signal) => fetch$1({ url: "/v1/security/firewall/bypass", method: "post", ...variables, signal });
|
|
378
|
+
const removeBypassIp = (variables, signal) => fetch$1({ url: "/v1/security/firewall/bypass", method: "delete", ...variables, signal });
|
|
370
379
|
const getTeamMembers = (variables, signal) => fetch$1({
|
|
371
380
|
url: "/v2/teams/{teamId}/members",
|
|
372
381
|
method: "get",
|
|
@@ -657,6 +666,7 @@ const operationsByTag = {
|
|
|
657
666
|
getInvoice,
|
|
658
667
|
updateInvoice,
|
|
659
668
|
updateResourceSecrets,
|
|
669
|
+
updateResourceSecretsById,
|
|
660
670
|
exchangeSsoToken
|
|
661
671
|
},
|
|
662
672
|
integrations: { getConfigurations, getConfiguration, deleteConfiguration, gitNamespaces, searchRepo },
|
|
@@ -671,7 +681,15 @@ const operationsByTag = {
|
|
|
671
681
|
createConfigurableLogDrain
|
|
672
682
|
},
|
|
673
683
|
projectMembers: { getProjectMembers, addProjectMember, removeProjectMember },
|
|
674
|
-
security: {
|
|
684
|
+
security: {
|
|
685
|
+
updateAttackChallengeMode,
|
|
686
|
+
putFirewallConfig,
|
|
687
|
+
updateFirewallConfig,
|
|
688
|
+
getFirewallConfig,
|
|
689
|
+
getBypassIp,
|
|
690
|
+
addBypassIp,
|
|
691
|
+
removeBypassIp
|
|
692
|
+
},
|
|
675
693
|
teams: {
|
|
676
694
|
getTeamMembers,
|
|
677
695
|
inviteUserToTeam,
|