vercel-api-js 0.2.0 → 0.3.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 +3 -3
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +5 -30
- package/dist/index.d.ts +4519 -1237
- package/dist/index.mjs +5 -30
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -169,12 +169,7 @@ const updateCheck = (variables, signal) => fetch$1({ url: '/v1/deployments/{depl
|
|
|
169
169
|
/**
|
|
170
170
|
* Rerequest a selected check that has failed.
|
|
171
171
|
*/
|
|
172
|
-
const rerequestCheck = (variables, signal) => fetch$1({
|
|
173
|
-
url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest',
|
|
174
|
-
method: 'post',
|
|
175
|
-
...variables,
|
|
176
|
-
signal
|
|
177
|
-
});
|
|
172
|
+
const rerequestCheck = (variables, signal) => fetch$1({ url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest', method: 'post', ...variables, signal });
|
|
178
173
|
/**
|
|
179
174
|
* Update the data cache feature on a project.
|
|
180
175
|
*/
|
|
@@ -646,12 +641,7 @@ const deleteTeam = (variables, signal) => fetch$1({
|
|
|
646
641
|
/**
|
|
647
642
|
* Delete an active Team invite code.
|
|
648
643
|
*/
|
|
649
|
-
const deleteTeamInviteCode = (variables, signal) => fetch$1({
|
|
650
|
-
url: '/v1/teams/{teamId}/invites/{inviteId}',
|
|
651
|
-
method: 'delete',
|
|
652
|
-
...variables,
|
|
653
|
-
signal
|
|
654
|
-
});
|
|
644
|
+
const deleteTeamInviteCode = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/invites/{inviteId}', method: 'delete', ...variables, signal });
|
|
655
645
|
/**
|
|
656
646
|
* Before you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body.
|
|
657
647
|
*/
|
|
@@ -730,12 +720,7 @@ const getWebhook = (variables, signal) => fetch$1({
|
|
|
730
720
|
/**
|
|
731
721
|
* Deletes a webhook
|
|
732
722
|
*/
|
|
733
|
-
const deleteWebhook = (variables, signal) => fetch$1({
|
|
734
|
-
url: '/v1/webhooks/{id}',
|
|
735
|
-
method: 'delete',
|
|
736
|
-
...variables,
|
|
737
|
-
signal
|
|
738
|
-
});
|
|
723
|
+
const deleteWebhook = (variables, signal) => fetch$1({ url: '/v1/webhooks/{id}', method: 'delete', ...variables, signal });
|
|
739
724
|
/**
|
|
740
725
|
* Retrieves a list of aliases for the authenticated User or Team. When `domain` is provided, only aliases for that domain will be returned. When `projectId` is provided, it will only return the given project aliases.
|
|
741
726
|
*/
|
|
@@ -757,12 +742,7 @@ const getAlias = (variables, signal) => fetch$1({
|
|
|
757
742
|
/**
|
|
758
743
|
* Delete an Alias with the specified ID.
|
|
759
744
|
*/
|
|
760
|
-
const deleteAlias = (variables, signal) => fetch$1({
|
|
761
|
-
url: '/v2/aliases/{aliasId}',
|
|
762
|
-
method: 'delete',
|
|
763
|
-
...variables,
|
|
764
|
-
signal
|
|
765
|
-
});
|
|
745
|
+
const deleteAlias = (variables, signal) => fetch$1({ url: '/v2/aliases/{aliasId}', method: 'delete', ...variables, signal });
|
|
766
746
|
/**
|
|
767
747
|
* Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
|
|
768
748
|
*/
|
|
@@ -880,12 +860,7 @@ const getSecret = (variables, signal) => fetch$1({
|
|
|
880
860
|
/**
|
|
881
861
|
* This deletes the user or team’s secret defined in the URL.
|
|
882
862
|
*/
|
|
883
|
-
const deleteSecret = (variables, signal) => fetch$1({
|
|
884
|
-
url: '/v2/secrets/{idOrName}',
|
|
885
|
-
method: 'delete',
|
|
886
|
-
...variables,
|
|
887
|
-
signal
|
|
888
|
-
});
|
|
863
|
+
const deleteSecret = (variables, signal) => fetch$1({ url: '/v2/secrets/{idOrName}', method: 'delete', ...variables, signal });
|
|
889
864
|
const operationsByTag = {
|
|
890
865
|
artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, artifactQuery },
|
|
891
866
|
checks: { createCheck, getAllChecks, getCheck, updateCheck, rerequestCheck },
|