vercel-api-js 0.1.19 → 0.1.21

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.1.19 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.1.21 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 7.3s
7
+ created dist/index.cjs, dist/index.mjs in 8.9s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
- created dist/index.d.ts in 7.1s
10
+ created dist/index.d.ts in 8.5s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.1.21
4
+
5
+ ### Patch Changes
6
+
7
+ - 8faaa44: [OpenAPI] Add patch domain endpoint
8
+ - 3b9bfd6: [OpenAPI] Add getDomainTransfer endpoint
9
+
10
+ ## 0.1.20
11
+
12
+ ### Patch Changes
13
+
14
+ - 22694e7: [OpenAPI] Spec updates for vercel-api-js
15
+ - b0d9604: [OpenAPI] Spec updates for vercel-api-js
16
+ - c2b314e: [OpenAPI] Remove oauth configurations
17
+ - 7f508cc: [OpenAPI] Add new projects array response
18
+
3
19
  ## 0.1.19
4
20
 
5
21
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -178,7 +178,7 @@ const rerequestCheck = (variables, signal) => fetch$1({
178
178
  signal
179
179
  });
180
180
  /**
181
- * Update the cron job feature on a project.
181
+ * Update the data cache feature on a project.
182
182
  */
183
183
  const updateProjectDataCache = (variables, signal) => fetch$1({ url: '/v1/data-cache/projects/{projectId}', method: 'patch', ...variables, signal });
184
184
  /**
@@ -245,6 +245,15 @@ const checkDomainStatus = (variables, signal) => fetch$1({
245
245
  ...variables,
246
246
  signal
247
247
  });
248
+ /**
249
+ * Fetch domain transfer availability or transfer status if a transfer is in progress.
250
+ */
251
+ const getDomainTransfer = (variables, signal) => fetch$1({
252
+ url: '/v1/domains/{domain}/registry',
253
+ method: 'get',
254
+ ...variables,
255
+ signal
256
+ });
248
257
  /**
249
258
  * Get a Domain's configuration.
250
259
  */
@@ -268,9 +277,13 @@ const getDomains = (variables, signal) => fetch$1({
268
277
  signal
269
278
  });
270
279
  /**
271
- * This endpoint is used for registering a new domain name with Vercel for the authenticating user, and also for initiating a domain transfer request from an external Registrar to Vercel.
280
+ * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.
272
281
  */
273
282
  const createOrTransferDomain = (variables, signal) => fetch$1({ url: '/v5/domains', method: 'post', ...variables, signal });
283
+ /**
284
+ * Update or move apex domain.
285
+ */
286
+ const patchDomain = (variables, signal) => fetch$1({ url: '/v3/domains/{domain}', method: 'patch', ...variables, signal });
274
287
  /**
275
288
  * Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.
276
289
  */
@@ -516,12 +529,7 @@ const getTeamMembers = (variables, signal) => fetch$1({
516
529
  /**
517
530
  * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
518
531
  */
519
- const inviteUserToTeam = (variables, signal) => fetch$1({
520
- url: '/v1/teams/{teamId}/members',
521
- method: 'post',
522
- ...variables,
523
- signal
524
- });
532
+ const inviteUserToTeam = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });
525
533
  /**
526
534
  * Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.
527
535
  */
@@ -887,10 +895,12 @@ const operationsByTag = {
887
895
  buyDomain,
888
896
  checkDomainPrice,
889
897
  checkDomainStatus,
898
+ getDomainTransfer,
890
899
  getDomainConfig,
891
900
  getDomain,
892
901
  getDomains,
893
902
  createOrTransferDomain,
903
+ patchDomain,
894
904
  deleteDomain
895
905
  },
896
906
  dns: { getRecords, createRecord, updateRecord, removeRecord },