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.
@@ -1,10 +1,10 @@
1
1
 
2
- > vercel-api-js@0.2.0 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
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
  
6
6
  ./src/index.ts → dist/index.cjs, dist/index.mjs...
7
- created dist/index.cjs, dist/index.mjs in 4.2s
7
+ created dist/index.cjs, dist/index.mjs in 4.1s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
- created dist/index.d.ts in 5.7s
10
+ created dist/index.d.ts in 5.1s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
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
+
3
13
  ## 0.2.0
4
14
 
5
15
  ### Minor 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
  */
@@ -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 },