vercel-api-js 0.3.0 → 0.5.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.5.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.5s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
10
  created dist/index.d.ts in 5.1s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 787cf84: Add new endpoints to manage Edge Config schema
8
+ - 4330f7c: Add migration status property to AuthUser schema for Northstar migration
9
+ - d0479f5: Add attribution information for the session or current page to CreateTeamRequestBody
10
+
11
+ ### Patch Changes
12
+
13
+ - ed57233: Add serverlessFunctionZeroConfigFailover field to project related API endpoints
14
+ - 5aeca61: Add new properties to VerifyTokenQueryParams
15
+ - 3359159: Add crons field to deployment response
16
+ - 86aeaf6: Add new 'compression' field to log drain endpoints
17
+ - c6d4fd4: Add 'store.credentials-reset' to webhook events
18
+ - 9b75b8a: Add 'store.updated' to allowed webhook event types
19
+ - 446c95d: Update minimum value for limit parameter in GetTeamMembersQueryParams
20
+
21
+ ## 0.4.0
22
+
23
+ ### Minor Changes
24
+
25
+ - f75fb8d: [BREAKING] Add new fields to the project object in the API response
26
+
27
+ ### Patch Changes
28
+
29
+ - f090e4a: [OpenAPI] Spec updates for vercel-api-js
30
+
3
31
  ## 0.3.0
4
32
 
5
33
  ### 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
  */
@@ -331,6 +336,18 @@ const getEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-confi
331
336
  * Update multiple Edge Config Items in batch.
332
337
  */
333
338
  const patchEdgeConfigItems = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/items', method: 'patch', ...variables, signal });
339
+ /**
340
+ * Returns the schema of an Edge Config.
341
+ */
342
+ const getEdgeConfigSchema = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'get', ...variables, signal });
343
+ /**
344
+ * Update an Edge Config's schema.
345
+ */
346
+ const patchEdgeConfigSchema = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'post', ...variables, signal });
347
+ /**
348
+ * Deletes the schema of existing Edge Config.
349
+ */
350
+ const deleteEdgeConfigSchema = (variables, signal) => fetch$1({ url: '/v1/edge-config/{edgeConfigId}/schema', method: 'delete', ...variables, signal });
334
351
  /**
335
352
  * Returns a specific Edge Config Item.
336
353
  */
@@ -643,7 +660,12 @@ const deleteTeam = (variables, signal) => fetch$1({
643
660
  /**
644
661
  * Delete an active Team invite code.
645
662
  */
646
- const deleteTeamInviteCode = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/invites/{inviteId}', method: 'delete', ...variables, signal });
663
+ const deleteTeamInviteCode = (variables, signal) => fetch$1({
664
+ url: '/v1/teams/{teamId}/invites/{inviteId}',
665
+ method: 'delete',
666
+ ...variables,
667
+ signal
668
+ });
647
669
  /**
648
670
  * 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
671
  */
@@ -722,7 +744,12 @@ const getWebhook = (variables, signal) => fetch$1({
722
744
  /**
723
745
  * Deletes a webhook
724
746
  */
725
- const deleteWebhook = (variables, signal) => fetch$1({ url: '/v1/webhooks/{id}', method: 'delete', ...variables, signal });
747
+ const deleteWebhook = (variables, signal) => fetch$1({
748
+ url: '/v1/webhooks/{id}',
749
+ method: 'delete',
750
+ ...variables,
751
+ signal
752
+ });
726
753
  /**
727
754
  * 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
755
  */
@@ -744,7 +771,12 @@ const getAlias = (variables, signal) => fetch$1({
744
771
  /**
745
772
  * Delete an Alias with the specified ID.
746
773
  */
747
- const deleteAlias = (variables, signal) => fetch$1({ url: '/v2/aliases/{aliasId}', method: 'delete', ...variables, signal });
774
+ const deleteAlias = (variables, signal) => fetch$1({
775
+ url: '/v2/aliases/{aliasId}',
776
+ method: 'delete',
777
+ ...variables,
778
+ signal
779
+ });
748
780
  /**
749
781
  * Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
750
782
  */
@@ -862,7 +894,12 @@ const getSecret = (variables, signal) => fetch$1({
862
894
  /**
863
895
  * This deletes the user or team’s secret defined in the URL.
864
896
  */
865
- const deleteSecret = (variables, signal) => fetch$1({ url: '/v2/secrets/{idOrName}', method: 'delete', ...variables, signal });
897
+ const deleteSecret = (variables, signal) => fetch$1({
898
+ url: '/v2/secrets/{idOrName}',
899
+ method: 'delete',
900
+ ...variables,
901
+ signal
902
+ });
866
903
  const operationsByTag = {
867
904
  artifacts: { recordEvents, status, uploadArtifact, downloadArtifact, artifactQuery },
868
905
  checks: { createCheck, getAllChecks, getCheck, updateCheck, rerequestCheck },
@@ -919,6 +956,9 @@ const operationsByTag = {
919
956
  deleteEdgeConfig,
920
957
  getEdgeConfigItems,
921
958
  patchEdgeConfigItems,
959
+ getEdgeConfigSchema,
960
+ patchEdgeConfigSchema,
961
+ deleteEdgeConfigSchema,
922
962
  getEdgeConfigItem,
923
963
  getEdgeConfigTokens,
924
964
  deleteEdgeConfigTokens,