vercel-api-js 0.5.0 → 0.5.1

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.5.0 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.5.1 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.5s
7
+ created dist/index.cjs, dist/index.mjs in 4.4s
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 5.4s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3d3fc73: [BREAKING] Remove migrateExistingEnvVariablesToSensitive field from PatchTeamRequestBody
8
+ - 58c0459: [BREAKING] Add new 'sensitive' type for ENV variables
9
+ - e7d1ddf: [BREAKING] Reduce maxLength of projectId in InviteUserToTeamRequestBody
10
+ - 286adc8: Update domain configuration response to include 'dns-01' option
11
+ - 580013f: Remove minimum limit requirement in GetTeamMembersQueryParams
12
+ - 5718437: Add web analytics object to project data endpoints
13
+
3
14
  ## 0.5.0
4
15
 
5
16
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2413,6 +2413,13 @@ type UpdateProjectDataCacheResponse = {
2413
2413
  };
2414
2414
  paused?: boolean;
2415
2415
  concurrencyBucketName?: string;
2416
+ webAnalytics?: {
2417
+ id: string;
2418
+ disabledAt?: number;
2419
+ canceledAt?: number;
2420
+ enabledAt?: number;
2421
+ hasData?: boolean;
2422
+ };
2416
2423
  };
2417
2424
  type UpdateProjectDataCacheRequestBody = {
2418
2425
  /**
@@ -5199,9 +5206,9 @@ type GetDomainConfigQueryParams = {
5199
5206
  type GetDomainConfigError = ErrorWrapper<undefined>;
5200
5207
  type GetDomainConfigResponse = {
5201
5208
  /**
5202
- * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `null`: Domain is not resolving to Vercel.
5209
+ * How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to Vercel. - `A`: Domain's A record is resolving to Vercel. - `http`: Domain is resolving to Vercel but may be behind a Proxy. - `dns-01`: Domain is not resolving to Vercel but dns-01 challenge is enabled. - `null`: Domain is not resolving to Vercel.
5203
5210
  */
5204
- configuredBy?: 'CNAME' | 'A' | 'http' | null;
5211
+ configuredBy?: 'CNAME' | 'A' | 'http' | 'dns-01' | null;
5205
5212
  /**
5206
5213
  * Which challenge types the domain can use for issuing certs.
5207
5214
  */
@@ -8093,6 +8100,13 @@ type GetProjectsResponse = {
8093
8100
  };
8094
8101
  paused?: boolean;
8095
8102
  concurrencyBucketName?: string;
8103
+ webAnalytics?: {
8104
+ id: string;
8105
+ disabledAt?: number;
8106
+ canceledAt?: number;
8107
+ enabledAt?: number;
8108
+ hasData?: boolean;
8109
+ };
8096
8110
  }[];
8097
8111
  pagination: Pagination;
8098
8112
  };
@@ -8624,6 +8638,13 @@ type CreateProjectResponse = {
8624
8638
  };
8625
8639
  paused?: boolean;
8626
8640
  concurrencyBucketName?: string;
8641
+ webAnalytics?: {
8642
+ id: string;
8643
+ disabledAt?: number;
8644
+ canceledAt?: number;
8645
+ enabledAt?: number;
8646
+ hasData?: boolean;
8647
+ };
8627
8648
  };
8628
8649
  type CreateProjectRequestBody = {
8629
8650
  /**
@@ -8664,7 +8685,7 @@ type CreateProjectRequestBody = {
8664
8685
  /**
8665
8686
  * Type of the ENV variable
8666
8687
  */
8667
- type?: 'system' | 'secret' | 'encrypted' | 'plain';
8688
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
8668
8689
  /**
8669
8690
  * Value for the ENV variable
8670
8691
  */
@@ -9269,6 +9290,13 @@ type GetProjectResponse = {
9269
9290
  };
9270
9291
  paused?: boolean;
9271
9292
  concurrencyBucketName?: string;
9293
+ webAnalytics?: {
9294
+ id: string;
9295
+ disabledAt?: number;
9296
+ canceledAt?: number;
9297
+ enabledAt?: number;
9298
+ hasData?: boolean;
9299
+ };
9272
9300
  };
9273
9301
  type GetProjectVariables = {
9274
9302
  pathParams: GetProjectPathParams;
@@ -9807,6 +9835,13 @@ type UpdateProjectResponse = {
9807
9835
  };
9808
9836
  paused?: boolean;
9809
9837
  concurrencyBucketName?: string;
9838
+ webAnalytics?: {
9839
+ id: string;
9840
+ disabledAt?: number;
9841
+ canceledAt?: number;
9842
+ enabledAt?: number;
9843
+ hasData?: boolean;
9844
+ };
9810
9845
  };
9811
9846
  type UpdateProjectRequestBody = {
9812
9847
  /**
@@ -11272,7 +11307,6 @@ type GetTeamMembersQueryParams = {
11272
11307
  * Limit how many teams should be returned
11273
11308
  *
11274
11309
  * @example 20
11275
- * @minimum 1
11276
11310
  */
11277
11311
  limit?: number;
11278
11312
  /**
@@ -11474,7 +11508,7 @@ type InviteUserToTeamRequestBody = {
11474
11508
  /**
11475
11509
  * The ID of the project.
11476
11510
  *
11477
- * @maxLength 256
11511
+ * @maxLength 64
11478
11512
  * @example prj_ndlgr43fadlPyCtREAqxxdyFK
11479
11513
  */
11480
11514
  projectId: string;
@@ -11893,12 +11927,6 @@ type PatchTeamRequestBody = {
11893
11927
  * @example on
11894
11928
  */
11895
11929
  sensitiveEnvironmentVariablePolicy?: string;
11896
- /**
11897
- * Runs a task that migrates all existing environment variables to sensitive environment variables.
11898
- *
11899
- * @example false
11900
- */
11901
- migrateExistingEnvVariablesToSensitive?: boolean;
11902
11930
  /**
11903
11931
  * Whether or not remote caching is enabled for the team
11904
11932
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel-api-js",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Vercel API client for Node.js",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",