vercel-api-js 0.1.25 → 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 +25 -0
- package/dist/index.cjs +9 -34
- package/dist/index.d.ts +8374 -4407
- package/dist/index.mjs +9 -34
- 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 [
|
|
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 [
|
|
10
|
+
[32mcreated [1mdist/index.d.ts[22m in [1m5.1s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# vercel-api-js
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- be76b72: Add 'role' field to InviteUserToTeamRequestBody
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 18f26af: [BREAKING] Remove teamId field from JoinTeamRequestBody
|
|
12
|
+
|
|
13
|
+
## 0.2.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- ce46c2b: [BREAKING] Change endpoint URL from v6 to v7 for file retrieval
|
|
18
|
+
- 37f6643: [BREAKING] Add new request body for DeleteConfiguration
|
|
19
|
+
- 668433e: Add new request body type for cancelling deployment
|
|
20
|
+
- e4b3662: Add sampling rate option to CreateConfigurableLogDrainRequestBody
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 4991311: Remove redundant comment and re-order properties in AuthUser type
|
|
25
|
+
- 350a358: Add validation pattern for edgeConfigId in endpoint path params
|
|
26
|
+
- dd972a2: [BREAKING] Remove 'previousLogDrainId' field from 'CreateLogDrainRequestBody'
|
|
27
|
+
|
|
3
28
|
## 0.1.25
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
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
|
*/
|
|
@@ -335,7 +330,7 @@ const getEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-confi
|
|
|
335
330
|
/**
|
|
336
331
|
* Update multiple Edge Config Items in batch.
|
|
337
332
|
*/
|
|
338
|
-
const
|
|
333
|
+
const patchEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'patch', ...variables, signal });
|
|
339
334
|
/**
|
|
340
335
|
* Returns a specific Edge Config Item.
|
|
341
336
|
*/
|
|
@@ -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
|
*/
|
|
@@ -814,9 +794,9 @@ const uploadCert = (variables, signal) => fetch$1({
|
|
|
814
794
|
*/
|
|
815
795
|
const listDeploymentFiles = (variables, signal) => fetch$1({ url: '/v6/deployments/{id}/files', method: 'get', ...variables, signal });
|
|
816
796
|
/**
|
|
817
|
-
* Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain the
|
|
797
|
+
* Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64.
|
|
818
798
|
*/
|
|
819
|
-
const getDeploymentFileContents = (variables, signal) => fetch$1({ url: '/
|
|
799
|
+
const getDeploymentFileContents = (variables, signal) => fetch$1({ url: '/v7/deployments/{id}/files/{fileId}', method: 'get', ...variables, signal });
|
|
820
800
|
/**
|
|
821
801
|
* List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`.
|
|
822
802
|
*/
|
|
@@ -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 },
|
|
@@ -943,7 +918,7 @@ const operationsByTag = {
|
|
|
943
918
|
updateEdgeConfig,
|
|
944
919
|
deleteEdgeConfig,
|
|
945
920
|
getEdgeConfigItems,
|
|
946
|
-
|
|
921
|
+
patchEdgeConfigItems,
|
|
947
922
|
getEdgeConfigItem,
|
|
948
923
|
getEdgeConfigTokens,
|
|
949
924
|
deleteEdgeConfigTokens,
|