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