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/.turbo/turbo-build.log
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
> vercel-api-js@0.
|
|
2
|
+
> vercel-api-js@0.3.0 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
|
|
3
3
|
> rimraf dist && rollup -c
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.ts[22m → [1mdist/index.cjs, dist/index.mjs[22m...[39m
|
|
7
|
-
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m4.
|
|
7
|
+
[32mcreated [1mdist/index.cjs, dist/index.mjs[22m in [1m4.1s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./src/index.ts[22m → [1mdist/index.d.ts[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.d.ts[22m in [1m5.
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m5.1s[22m[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -171,12 +171,7 @@ const updateCheck = (variables, signal) => fetch$1({ url: '/v1/deployments/{depl
|
|
|
171
171
|
/**
|
|
172
172
|
* Rerequest a selected check that has failed.
|
|
173
173
|
*/
|
|
174
|
-
const rerequestCheck = (variables, signal) => fetch$1({
|
|
175
|
-
url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest',
|
|
176
|
-
method: 'post',
|
|
177
|
-
...variables,
|
|
178
|
-
signal
|
|
179
|
-
});
|
|
174
|
+
const rerequestCheck = (variables, signal) => fetch$1({ url: '/v1/deployments/{deploymentId}/checks/{checkId}/rerequest', method: 'post', ...variables, signal });
|
|
180
175
|
/**
|
|
181
176
|
* Update the data cache feature on a project.
|
|
182
177
|
*/
|
|
@@ -648,12 +643,7 @@ const deleteTeam = (variables, signal) => fetch$1({
|
|
|
648
643
|
/**
|
|
649
644
|
* Delete an active Team invite code.
|
|
650
645
|
*/
|
|
651
|
-
const deleteTeamInviteCode = (variables, signal) => fetch$1({
|
|
652
|
-
url: '/v1/teams/{teamId}/invites/{inviteId}',
|
|
653
|
-
method: 'delete',
|
|
654
|
-
...variables,
|
|
655
|
-
signal
|
|
656
|
-
});
|
|
646
|
+
const deleteTeamInviteCode = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/invites/{inviteId}', method: 'delete', ...variables, signal });
|
|
657
647
|
/**
|
|
658
648
|
* 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.
|
|
659
649
|
*/
|
|
@@ -732,12 +722,7 @@ const getWebhook = (variables, signal) => fetch$1({
|
|
|
732
722
|
/**
|
|
733
723
|
* Deletes a webhook
|
|
734
724
|
*/
|
|
735
|
-
const deleteWebhook = (variables, signal) => fetch$1({
|
|
736
|
-
url: '/v1/webhooks/{id}',
|
|
737
|
-
method: 'delete',
|
|
738
|
-
...variables,
|
|
739
|
-
signal
|
|
740
|
-
});
|
|
725
|
+
const deleteWebhook = (variables, signal) => fetch$1({ url: '/v1/webhooks/{id}', method: 'delete', ...variables, signal });
|
|
741
726
|
/**
|
|
742
727
|
* 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.
|
|
743
728
|
*/
|
|
@@ -759,12 +744,7 @@ const getAlias = (variables, signal) => fetch$1({
|
|
|
759
744
|
/**
|
|
760
745
|
* Delete an Alias with the specified ID.
|
|
761
746
|
*/
|
|
762
|
-
const deleteAlias = (variables, signal) => fetch$1({
|
|
763
|
-
url: '/v2/aliases/{aliasId}',
|
|
764
|
-
method: 'delete',
|
|
765
|
-
...variables,
|
|
766
|
-
signal
|
|
767
|
-
});
|
|
747
|
+
const deleteAlias = (variables, signal) => fetch$1({ url: '/v2/aliases/{aliasId}', method: 'delete', ...variables, signal });
|
|
768
748
|
/**
|
|
769
749
|
* Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
|
|
770
750
|
*/
|
|
@@ -882,12 +862,7 @@ const getSecret = (variables, signal) => fetch$1({
|
|
|
882
862
|
/**
|
|
883
863
|
* This deletes the user or team’s secret defined in the URL.
|
|
884
864
|
*/
|
|
885
|
-
const deleteSecret = (variables, signal) => fetch$1({
|
|
886
|
-
url: '/v2/secrets/{idOrName}',
|
|
887
|
-
method: 'delete',
|
|
888
|
-
...variables,
|
|
889
|
-
signal
|
|
890
|
-
});
|
|
865
|
+
const deleteSecret = (variables, signal) => fetch$1({ url: '/v2/secrets/{idOrName}', method: 'delete', ...variables, signal });
|
|
891
866
|
const operationsByTag = {
|
|
892
867
|
artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, artifactQuery },
|
|
893
868
|
checks: { createCheck, getAllChecks, getCheck, updateCheck, rerequestCheck },
|