vercel-api-js 0.24.3 → 0.25.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,5 +1,5 @@
1
1
 
2
- > vercel-api-js@0.24.3 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.25.1 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
3
3
  > unbuild
4
4
 
5
5
  [info] Automatically detected entries: src/index [esm] [cjs] [dts]
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ee2684f: Update buildMachineType field in resourceConfig and defaultResourceConfig
8
+
9
+ ## 0.25.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 9df31d8: [BREAKING] Added configurationId field to CreateProjectResponse, GetProjectResponse, UpdateProjectResponse, and UpdateProjectDataCacheResponse
14
+
15
+ ### Patch Changes
16
+
17
+ - 640279f: Add shared v0 token
18
+
3
19
  ## 0.24.3
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -109,9 +109,9 @@ type UserEvent = {
109
109
  * Metadata for {@link userId}.
110
110
  */
111
111
  user?: {
112
+ username: string;
112
113
  avatar: string;
113
114
  email: string;
114
- username: string;
115
115
  slug?: string;
116
116
  uid: string;
117
117
  };
@@ -191,8 +191,8 @@ type UserEvent = {
191
191
  id: string;
192
192
  name?: string;
193
193
  };
194
- next_role?: string | null;
195
- previous_role?: string;
194
+ next_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER' | null;
195
+ previous_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
196
196
  } | {
197
197
  alias?: string;
198
198
  deployment?: {
@@ -967,7 +967,6 @@ type UserEvent = {
967
967
  edgeConfigSize?: number;
968
968
  edgeFunctionMaxSizeBytes?: number;
969
969
  edgeFunctionExecutionTimeoutMs?: number;
970
- serverlessFunctionDefaultMaxExecutionTime?: number;
971
970
  serverlessFunctionMaxMemorySize?: number;
972
971
  kvDatabases?: number;
973
972
  postgresDatabases?: number;
@@ -1648,6 +1647,13 @@ type UserEvent = {
1648
1647
  };
1649
1648
  } | {
1650
1649
  projectId: string;
1650
+ } | {
1651
+ projectId: string;
1652
+ projectName: string;
1653
+ } | {
1654
+ projectId?: string;
1655
+ projectName?: string;
1656
+ newTargetPercentage?: number;
1651
1657
  } | {
1652
1658
  gitProvider: string;
1653
1659
  gitProviderGroupDescriptor: string;
@@ -2544,10 +2550,6 @@ type AuthUser = {
2544
2550
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2545
2551
  */
2546
2552
  edgeFunctionExecutionTimeoutMs?: number;
2547
- /**
2548
- * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2549
- */
2550
- serverlessFunctionDefaultMaxExecutionTime?: number;
2551
2553
  /**
2552
2554
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2553
2555
  */
@@ -5168,6 +5170,7 @@ type UpdateProjectDataCacheResponse = {
5168
5170
  createdBy: string;
5169
5171
  scope: 'integration-automation-bypass';
5170
5172
  integrationId: string;
5173
+ configurationId: string;
5171
5174
  } | {
5172
5175
  createdAt: number;
5173
5176
  createdBy: string;
@@ -12743,6 +12746,7 @@ type GetProjectsResponse = {
12743
12746
  createdBy: string;
12744
12747
  scope: 'integration-automation-bypass';
12745
12748
  integrationId: string;
12749
+ configurationId: string;
12746
12750
  } | {
12747
12751
  createdAt: number;
12748
12752
  createdBy: string;
@@ -13707,6 +13711,7 @@ type CreateProjectResponse = {
13707
13711
  createdBy: string;
13708
13712
  scope: 'integration-automation-bypass';
13709
13713
  integrationId: string;
13714
+ configurationId: string;
13710
13715
  } | {
13711
13716
  createdAt: number;
13712
13717
  createdBy: string;
@@ -14837,6 +14842,7 @@ type GetProjectResponse = {
14837
14842
  createdBy: string;
14838
14843
  scope: 'integration-automation-bypass';
14839
14844
  integrationId: string;
14845
+ configurationId: string;
14840
14846
  } | {
14841
14847
  createdAt: number;
14842
14848
  createdBy: string;
@@ -15808,6 +15814,7 @@ type UpdateProjectResponse = {
15808
15814
  createdBy: string;
15809
15815
  scope: 'integration-automation-bypass';
15810
15816
  integrationId: string;
15817
+ configurationId: string;
15811
15818
  } | {
15812
15819
  createdAt: number;
15813
15820
  createdBy: string;
@@ -17633,7 +17640,7 @@ type CreateProjectEnvError = ErrorWrapper<undefined>;
17633
17640
  type CreateProjectEnvResponse = {
17634
17641
  created: {
17635
17642
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17636
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17643
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17637
17644
  /**
17638
17645
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17639
17646
  */
@@ -17715,7 +17722,7 @@ type CreateProjectEnvResponse = {
17715
17722
  system?: boolean;
17716
17723
  } | {
17717
17724
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17718
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17725
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17719
17726
  /**
17720
17727
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17721
17728
  */
@@ -18305,7 +18312,7 @@ type RemoveProjectEnvVariables = {
18305
18312
  declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
18306
18313
  system?: boolean;
18307
18314
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18308
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18315
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18309
18316
  /**
18310
18317
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18311
18318
  */
@@ -18386,7 +18393,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18386
18393
  customEnvironmentIds?: string[];
18387
18394
  } | {
18388
18395
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18389
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18396
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18390
18397
  /**
18391
18398
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18392
18399
  */
@@ -18467,7 +18474,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18467
18474
  customEnvironmentIds?: string[];
18468
18475
  } | {
18469
18476
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18470
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18477
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18471
18478
  /**
18472
18479
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18473
18480
  */
@@ -18626,7 +18633,7 @@ type EditProjectEnvVariables = {
18626
18633
  */
18627
18634
  declare const editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
18628
18635
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18629
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18636
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18630
18637
  /**
18631
18638
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18632
18639
  */
@@ -18813,6 +18820,7 @@ type UpdateProjectProtectionBypassResponse = {
18813
18820
  createdBy: string;
18814
18821
  scope: 'integration-automation-bypass';
18815
18822
  integrationId: string;
18823
+ configurationId: string;
18816
18824
  } | {
18817
18825
  createdAt: number;
18818
18826
  createdBy: string;
@@ -18860,6 +18868,10 @@ type RequestPromotePathParams = {
18860
18868
  deploymentId: string;
18861
18869
  };
18862
18870
  type RequestPromoteQueryParams = {
18871
+ /**
18872
+ * Skip the rolling release process and promote directly to production
18873
+ */
18874
+ dangerouslyForcePromoteCanary?: boolean;
18863
18875
  /**
18864
18876
  * The Team identifier to perform the request on behalf of.
18865
18877
  */
@@ -20739,6 +20751,10 @@ type UploadFileHeaders = {
20739
20751
  * @deprecated true
20740
20752
  */
20741
20753
  ['x-now-size']?: number;
20754
+ /**
20755
+ * Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
20756
+ */
20757
+ ['x-internal-v0-token']?: string;
20742
20758
  };
20743
20759
  type UploadFileError = ErrorWrapper<undefined>;
20744
20760
  type UploadFileVariables = {
@@ -23442,7 +23458,7 @@ declare const operationsByTag: {
23442
23458
  removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
23443
23459
  system?: boolean;
23444
23460
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23445
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23461
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23446
23462
  /**
23447
23463
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23448
23464
  */
@@ -23523,7 +23539,7 @@ declare const operationsByTag: {
23523
23539
  customEnvironmentIds?: string[];
23524
23540
  } | {
23525
23541
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23526
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23542
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23527
23543
  /**
23528
23544
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23529
23545
  */
@@ -23604,7 +23620,7 @@ declare const operationsByTag: {
23604
23620
  customEnvironmentIds?: string[];
23605
23621
  } | {
23606
23622
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23607
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23623
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23608
23624
  /**
23609
23625
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23610
23626
  */
@@ -23686,7 +23702,7 @@ declare const operationsByTag: {
23686
23702
  }[]>;
23687
23703
  editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
23688
23704
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23689
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23705
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23690
23706
  /**
23691
23707
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23692
23708
  */
@@ -28188,7 +28204,7 @@ declare const operationsByPath: {
28188
28204
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
28189
28205
  system?: boolean;
28190
28206
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28191
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28207
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28192
28208
  sunsetSecretId?: string;
28193
28209
  decrypted?: boolean;
28194
28210
  value: string;
@@ -28260,7 +28276,7 @@ declare const operationsByPath: {
28260
28276
  customEnvironmentIds?: string[];
28261
28277
  } | {
28262
28278
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28263
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28279
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28264
28280
  sunsetSecretId?: string;
28265
28281
  decrypted?: boolean;
28266
28282
  value: string;
@@ -28332,7 +28348,7 @@ declare const operationsByPath: {
28332
28348
  customEnvironmentIds?: string[];
28333
28349
  } | {
28334
28350
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28335
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28351
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28336
28352
  sunsetSecretId?: string;
28337
28353
  decrypted?: boolean;
28338
28354
  value: string;
@@ -28405,7 +28421,7 @@ declare const operationsByPath: {
28405
28421
  }[]>;
28406
28422
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
28407
28423
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28408
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28424
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28409
28425
  sunsetSecretId?: string;
28410
28426
  decrypted?: boolean;
28411
28427
  value: string;
@@ -30249,7 +30265,7 @@ declare class VercelApi {
30249
30265
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
30250
30266
  system?: boolean;
30251
30267
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30252
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30268
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30253
30269
  sunsetSecretId?: string;
30254
30270
  decrypted?: boolean;
30255
30271
  value: string;
@@ -30321,7 +30337,7 @@ declare class VercelApi {
30321
30337
  customEnvironmentIds?: string[];
30322
30338
  } | {
30323
30339
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30324
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30340
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30325
30341
  sunsetSecretId?: string;
30326
30342
  decrypted?: boolean;
30327
30343
  value: string;
@@ -30393,7 +30409,7 @@ declare class VercelApi {
30393
30409
  customEnvironmentIds?: string[];
30394
30410
  } | {
30395
30411
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30396
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30412
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30397
30413
  sunsetSecretId?: string;
30398
30414
  decrypted?: boolean;
30399
30415
  value: string;
@@ -30466,7 +30482,7 @@ declare class VercelApi {
30466
30482
  }[]>;
30467
30483
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
30468
30484
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30469
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30485
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30470
30486
  sunsetSecretId?: string;
30471
30487
  decrypted?: boolean;
30472
30488
  value: string;
package/dist/index.d.mts CHANGED
@@ -109,9 +109,9 @@ type UserEvent = {
109
109
  * Metadata for {@link userId}.
110
110
  */
111
111
  user?: {
112
+ username: string;
112
113
  avatar: string;
113
114
  email: string;
114
- username: string;
115
115
  slug?: string;
116
116
  uid: string;
117
117
  };
@@ -191,8 +191,8 @@ type UserEvent = {
191
191
  id: string;
192
192
  name?: string;
193
193
  };
194
- next_role?: string | null;
195
- previous_role?: string;
194
+ next_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER' | null;
195
+ previous_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
196
196
  } | {
197
197
  alias?: string;
198
198
  deployment?: {
@@ -967,7 +967,6 @@ type UserEvent = {
967
967
  edgeConfigSize?: number;
968
968
  edgeFunctionMaxSizeBytes?: number;
969
969
  edgeFunctionExecutionTimeoutMs?: number;
970
- serverlessFunctionDefaultMaxExecutionTime?: number;
971
970
  serverlessFunctionMaxMemorySize?: number;
972
971
  kvDatabases?: number;
973
972
  postgresDatabases?: number;
@@ -1648,6 +1647,13 @@ type UserEvent = {
1648
1647
  };
1649
1648
  } | {
1650
1649
  projectId: string;
1650
+ } | {
1651
+ projectId: string;
1652
+ projectName: string;
1653
+ } | {
1654
+ projectId?: string;
1655
+ projectName?: string;
1656
+ newTargetPercentage?: number;
1651
1657
  } | {
1652
1658
  gitProvider: string;
1653
1659
  gitProviderGroupDescriptor: string;
@@ -2544,10 +2550,6 @@ type AuthUser = {
2544
2550
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2545
2551
  */
2546
2552
  edgeFunctionExecutionTimeoutMs?: number;
2547
- /**
2548
- * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2549
- */
2550
- serverlessFunctionDefaultMaxExecutionTime?: number;
2551
2553
  /**
2552
2554
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2553
2555
  */
@@ -5168,6 +5170,7 @@ type UpdateProjectDataCacheResponse = {
5168
5170
  createdBy: string;
5169
5171
  scope: 'integration-automation-bypass';
5170
5172
  integrationId: string;
5173
+ configurationId: string;
5171
5174
  } | {
5172
5175
  createdAt: number;
5173
5176
  createdBy: string;
@@ -12743,6 +12746,7 @@ type GetProjectsResponse = {
12743
12746
  createdBy: string;
12744
12747
  scope: 'integration-automation-bypass';
12745
12748
  integrationId: string;
12749
+ configurationId: string;
12746
12750
  } | {
12747
12751
  createdAt: number;
12748
12752
  createdBy: string;
@@ -13707,6 +13711,7 @@ type CreateProjectResponse = {
13707
13711
  createdBy: string;
13708
13712
  scope: 'integration-automation-bypass';
13709
13713
  integrationId: string;
13714
+ configurationId: string;
13710
13715
  } | {
13711
13716
  createdAt: number;
13712
13717
  createdBy: string;
@@ -14837,6 +14842,7 @@ type GetProjectResponse = {
14837
14842
  createdBy: string;
14838
14843
  scope: 'integration-automation-bypass';
14839
14844
  integrationId: string;
14845
+ configurationId: string;
14840
14846
  } | {
14841
14847
  createdAt: number;
14842
14848
  createdBy: string;
@@ -15808,6 +15814,7 @@ type UpdateProjectResponse = {
15808
15814
  createdBy: string;
15809
15815
  scope: 'integration-automation-bypass';
15810
15816
  integrationId: string;
15817
+ configurationId: string;
15811
15818
  } | {
15812
15819
  createdAt: number;
15813
15820
  createdBy: string;
@@ -17633,7 +17640,7 @@ type CreateProjectEnvError = ErrorWrapper<undefined>;
17633
17640
  type CreateProjectEnvResponse = {
17634
17641
  created: {
17635
17642
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17636
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17643
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17637
17644
  /**
17638
17645
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17639
17646
  */
@@ -17715,7 +17722,7 @@ type CreateProjectEnvResponse = {
17715
17722
  system?: boolean;
17716
17723
  } | {
17717
17724
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17718
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17725
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17719
17726
  /**
17720
17727
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17721
17728
  */
@@ -18305,7 +18312,7 @@ type RemoveProjectEnvVariables = {
18305
18312
  declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
18306
18313
  system?: boolean;
18307
18314
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18308
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18315
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18309
18316
  /**
18310
18317
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18311
18318
  */
@@ -18386,7 +18393,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18386
18393
  customEnvironmentIds?: string[];
18387
18394
  } | {
18388
18395
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18389
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18396
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18390
18397
  /**
18391
18398
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18392
18399
  */
@@ -18467,7 +18474,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18467
18474
  customEnvironmentIds?: string[];
18468
18475
  } | {
18469
18476
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18470
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18477
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18471
18478
  /**
18472
18479
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18473
18480
  */
@@ -18626,7 +18633,7 @@ type EditProjectEnvVariables = {
18626
18633
  */
18627
18634
  declare const editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
18628
18635
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18629
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18636
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18630
18637
  /**
18631
18638
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18632
18639
  */
@@ -18813,6 +18820,7 @@ type UpdateProjectProtectionBypassResponse = {
18813
18820
  createdBy: string;
18814
18821
  scope: 'integration-automation-bypass';
18815
18822
  integrationId: string;
18823
+ configurationId: string;
18816
18824
  } | {
18817
18825
  createdAt: number;
18818
18826
  createdBy: string;
@@ -18860,6 +18868,10 @@ type RequestPromotePathParams = {
18860
18868
  deploymentId: string;
18861
18869
  };
18862
18870
  type RequestPromoteQueryParams = {
18871
+ /**
18872
+ * Skip the rolling release process and promote directly to production
18873
+ */
18874
+ dangerouslyForcePromoteCanary?: boolean;
18863
18875
  /**
18864
18876
  * The Team identifier to perform the request on behalf of.
18865
18877
  */
@@ -20739,6 +20751,10 @@ type UploadFileHeaders = {
20739
20751
  * @deprecated true
20740
20752
  */
20741
20753
  ['x-now-size']?: number;
20754
+ /**
20755
+ * Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
20756
+ */
20757
+ ['x-internal-v0-token']?: string;
20742
20758
  };
20743
20759
  type UploadFileError = ErrorWrapper<undefined>;
20744
20760
  type UploadFileVariables = {
@@ -23442,7 +23458,7 @@ declare const operationsByTag: {
23442
23458
  removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
23443
23459
  system?: boolean;
23444
23460
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23445
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23461
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23446
23462
  /**
23447
23463
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23448
23464
  */
@@ -23523,7 +23539,7 @@ declare const operationsByTag: {
23523
23539
  customEnvironmentIds?: string[];
23524
23540
  } | {
23525
23541
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23526
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23542
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23527
23543
  /**
23528
23544
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23529
23545
  */
@@ -23604,7 +23620,7 @@ declare const operationsByTag: {
23604
23620
  customEnvironmentIds?: string[];
23605
23621
  } | {
23606
23622
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23607
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23623
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23608
23624
  /**
23609
23625
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23610
23626
  */
@@ -23686,7 +23702,7 @@ declare const operationsByTag: {
23686
23702
  }[]>;
23687
23703
  editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
23688
23704
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23689
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23705
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23690
23706
  /**
23691
23707
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23692
23708
  */
@@ -28188,7 +28204,7 @@ declare const operationsByPath: {
28188
28204
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
28189
28205
  system?: boolean;
28190
28206
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28191
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28207
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28192
28208
  sunsetSecretId?: string;
28193
28209
  decrypted?: boolean;
28194
28210
  value: string;
@@ -28260,7 +28276,7 @@ declare const operationsByPath: {
28260
28276
  customEnvironmentIds?: string[];
28261
28277
  } | {
28262
28278
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28263
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28279
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28264
28280
  sunsetSecretId?: string;
28265
28281
  decrypted?: boolean;
28266
28282
  value: string;
@@ -28332,7 +28348,7 @@ declare const operationsByPath: {
28332
28348
  customEnvironmentIds?: string[];
28333
28349
  } | {
28334
28350
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28335
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28351
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28336
28352
  sunsetSecretId?: string;
28337
28353
  decrypted?: boolean;
28338
28354
  value: string;
@@ -28405,7 +28421,7 @@ declare const operationsByPath: {
28405
28421
  }[]>;
28406
28422
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
28407
28423
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28408
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28424
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28409
28425
  sunsetSecretId?: string;
28410
28426
  decrypted?: boolean;
28411
28427
  value: string;
@@ -30249,7 +30265,7 @@ declare class VercelApi {
30249
30265
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
30250
30266
  system?: boolean;
30251
30267
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30252
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30268
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30253
30269
  sunsetSecretId?: string;
30254
30270
  decrypted?: boolean;
30255
30271
  value: string;
@@ -30321,7 +30337,7 @@ declare class VercelApi {
30321
30337
  customEnvironmentIds?: string[];
30322
30338
  } | {
30323
30339
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30324
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30340
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30325
30341
  sunsetSecretId?: string;
30326
30342
  decrypted?: boolean;
30327
30343
  value: string;
@@ -30393,7 +30409,7 @@ declare class VercelApi {
30393
30409
  customEnvironmentIds?: string[];
30394
30410
  } | {
30395
30411
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30396
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30412
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30397
30413
  sunsetSecretId?: string;
30398
30414
  decrypted?: boolean;
30399
30415
  value: string;
@@ -30466,7 +30482,7 @@ declare class VercelApi {
30466
30482
  }[]>;
30467
30483
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
30468
30484
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30469
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30485
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30470
30486
  sunsetSecretId?: string;
30471
30487
  decrypted?: boolean;
30472
30488
  value: string;
package/dist/index.d.ts CHANGED
@@ -109,9 +109,9 @@ type UserEvent = {
109
109
  * Metadata for {@link userId}.
110
110
  */
111
111
  user?: {
112
+ username: string;
112
113
  avatar: string;
113
114
  email: string;
114
- username: string;
115
115
  slug?: string;
116
116
  uid: string;
117
117
  };
@@ -191,8 +191,8 @@ type UserEvent = {
191
191
  id: string;
192
192
  name?: string;
193
193
  };
194
- next_role?: string | null;
195
- previous_role?: string;
194
+ next_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER' | null;
195
+ previous_role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
196
196
  } | {
197
197
  alias?: string;
198
198
  deployment?: {
@@ -967,7 +967,6 @@ type UserEvent = {
967
967
  edgeConfigSize?: number;
968
968
  edgeFunctionMaxSizeBytes?: number;
969
969
  edgeFunctionExecutionTimeoutMs?: number;
970
- serverlessFunctionDefaultMaxExecutionTime?: number;
971
970
  serverlessFunctionMaxMemorySize?: number;
972
971
  kvDatabases?: number;
973
972
  postgresDatabases?: number;
@@ -1648,6 +1647,13 @@ type UserEvent = {
1648
1647
  };
1649
1648
  } | {
1650
1649
  projectId: string;
1650
+ } | {
1651
+ projectId: string;
1652
+ projectName: string;
1653
+ } | {
1654
+ projectId?: string;
1655
+ projectName?: string;
1656
+ newTargetPercentage?: number;
1651
1657
  } | {
1652
1658
  gitProvider: string;
1653
1659
  gitProviderGroupDescriptor: string;
@@ -2544,10 +2550,6 @@ type AuthUser = {
2544
2550
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2545
2551
  */
2546
2552
  edgeFunctionExecutionTimeoutMs?: number;
2547
- /**
2548
- * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2549
- */
2550
- serverlessFunctionDefaultMaxExecutionTime?: number;
2551
2553
  /**
2552
2554
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
2553
2555
  */
@@ -5168,6 +5170,7 @@ type UpdateProjectDataCacheResponse = {
5168
5170
  createdBy: string;
5169
5171
  scope: 'integration-automation-bypass';
5170
5172
  integrationId: string;
5173
+ configurationId: string;
5171
5174
  } | {
5172
5175
  createdAt: number;
5173
5176
  createdBy: string;
@@ -12743,6 +12746,7 @@ type GetProjectsResponse = {
12743
12746
  createdBy: string;
12744
12747
  scope: 'integration-automation-bypass';
12745
12748
  integrationId: string;
12749
+ configurationId: string;
12746
12750
  } | {
12747
12751
  createdAt: number;
12748
12752
  createdBy: string;
@@ -13707,6 +13711,7 @@ type CreateProjectResponse = {
13707
13711
  createdBy: string;
13708
13712
  scope: 'integration-automation-bypass';
13709
13713
  integrationId: string;
13714
+ configurationId: string;
13710
13715
  } | {
13711
13716
  createdAt: number;
13712
13717
  createdBy: string;
@@ -14837,6 +14842,7 @@ type GetProjectResponse = {
14837
14842
  createdBy: string;
14838
14843
  scope: 'integration-automation-bypass';
14839
14844
  integrationId: string;
14845
+ configurationId: string;
14840
14846
  } | {
14841
14847
  createdAt: number;
14842
14848
  createdBy: string;
@@ -15808,6 +15814,7 @@ type UpdateProjectResponse = {
15808
15814
  createdBy: string;
15809
15815
  scope: 'integration-automation-bypass';
15810
15816
  integrationId: string;
15817
+ configurationId: string;
15811
15818
  } | {
15812
15819
  createdAt: number;
15813
15820
  createdBy: string;
@@ -17633,7 +17640,7 @@ type CreateProjectEnvError = ErrorWrapper<undefined>;
17633
17640
  type CreateProjectEnvResponse = {
17634
17641
  created: {
17635
17642
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17636
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17643
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17637
17644
  /**
17638
17645
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17639
17646
  */
@@ -17715,7 +17722,7 @@ type CreateProjectEnvResponse = {
17715
17722
  system?: boolean;
17716
17723
  } | {
17717
17724
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17718
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17725
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17719
17726
  /**
17720
17727
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17721
17728
  */
@@ -18305,7 +18312,7 @@ type RemoveProjectEnvVariables = {
18305
18312
  declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
18306
18313
  system?: boolean;
18307
18314
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18308
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18315
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18309
18316
  /**
18310
18317
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18311
18318
  */
@@ -18386,7 +18393,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18386
18393
  customEnvironmentIds?: string[];
18387
18394
  } | {
18388
18395
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18389
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18396
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18390
18397
  /**
18391
18398
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18392
18399
  */
@@ -18467,7 +18474,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18467
18474
  customEnvironmentIds?: string[];
18468
18475
  } | {
18469
18476
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18470
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18477
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18471
18478
  /**
18472
18479
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18473
18480
  */
@@ -18626,7 +18633,7 @@ type EditProjectEnvVariables = {
18626
18633
  */
18627
18634
  declare const editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
18628
18635
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18629
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18636
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18630
18637
  /**
18631
18638
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18632
18639
  */
@@ -18813,6 +18820,7 @@ type UpdateProjectProtectionBypassResponse = {
18813
18820
  createdBy: string;
18814
18821
  scope: 'integration-automation-bypass';
18815
18822
  integrationId: string;
18823
+ configurationId: string;
18816
18824
  } | {
18817
18825
  createdAt: number;
18818
18826
  createdBy: string;
@@ -18860,6 +18868,10 @@ type RequestPromotePathParams = {
18860
18868
  deploymentId: string;
18861
18869
  };
18862
18870
  type RequestPromoteQueryParams = {
18871
+ /**
18872
+ * Skip the rolling release process and promote directly to production
18873
+ */
18874
+ dangerouslyForcePromoteCanary?: boolean;
18863
18875
  /**
18864
18876
  * The Team identifier to perform the request on behalf of.
18865
18877
  */
@@ -20739,6 +20751,10 @@ type UploadFileHeaders = {
20739
20751
  * @deprecated true
20740
20752
  */
20741
20753
  ['x-now-size']?: number;
20754
+ /**
20755
+ * Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.
20756
+ */
20757
+ ['x-internal-v0-token']?: string;
20742
20758
  };
20743
20759
  type UploadFileError = ErrorWrapper<undefined>;
20744
20760
  type UploadFileVariables = {
@@ -23442,7 +23458,7 @@ declare const operationsByTag: {
23442
23458
  removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
23443
23459
  system?: boolean;
23444
23460
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23445
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23461
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23446
23462
  /**
23447
23463
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23448
23464
  */
@@ -23523,7 +23539,7 @@ declare const operationsByTag: {
23523
23539
  customEnvironmentIds?: string[];
23524
23540
  } | {
23525
23541
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23526
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23542
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23527
23543
  /**
23528
23544
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23529
23545
  */
@@ -23604,7 +23620,7 @@ declare const operationsByTag: {
23604
23620
  customEnvironmentIds?: string[];
23605
23621
  } | {
23606
23622
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23607
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23623
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23608
23624
  /**
23609
23625
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23610
23626
  */
@@ -23686,7 +23702,7 @@ declare const operationsByTag: {
23686
23702
  }[]>;
23687
23703
  editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
23688
23704
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23689
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23705
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23690
23706
  /**
23691
23707
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23692
23708
  */
@@ -28188,7 +28204,7 @@ declare const operationsByPath: {
28188
28204
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
28189
28205
  system?: boolean;
28190
28206
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28191
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28207
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28192
28208
  sunsetSecretId?: string;
28193
28209
  decrypted?: boolean;
28194
28210
  value: string;
@@ -28260,7 +28276,7 @@ declare const operationsByPath: {
28260
28276
  customEnvironmentIds?: string[];
28261
28277
  } | {
28262
28278
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28263
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28279
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28264
28280
  sunsetSecretId?: string;
28265
28281
  decrypted?: boolean;
28266
28282
  value: string;
@@ -28332,7 +28348,7 @@ declare const operationsByPath: {
28332
28348
  customEnvironmentIds?: string[];
28333
28349
  } | {
28334
28350
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28335
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28351
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28336
28352
  sunsetSecretId?: string;
28337
28353
  decrypted?: boolean;
28338
28354
  value: string;
@@ -28405,7 +28421,7 @@ declare const operationsByPath: {
28405
28421
  }[]>;
28406
28422
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
28407
28423
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28408
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28424
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28409
28425
  sunsetSecretId?: string;
28410
28426
  decrypted?: boolean;
28411
28427
  value: string;
@@ -30249,7 +30265,7 @@ declare class VercelApi {
30249
30265
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
30250
30266
  system?: boolean;
30251
30267
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30252
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30268
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30253
30269
  sunsetSecretId?: string;
30254
30270
  decrypted?: boolean;
30255
30271
  value: string;
@@ -30321,7 +30337,7 @@ declare class VercelApi {
30321
30337
  customEnvironmentIds?: string[];
30322
30338
  } | {
30323
30339
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30324
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30340
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30325
30341
  sunsetSecretId?: string;
30326
30342
  decrypted?: boolean;
30327
30343
  value: string;
@@ -30393,7 +30409,7 @@ declare class VercelApi {
30393
30409
  customEnvironmentIds?: string[];
30394
30410
  } | {
30395
30411
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30396
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30412
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30397
30413
  sunsetSecretId?: string;
30398
30414
  decrypted?: boolean;
30399
30415
  value: string;
@@ -30466,7 +30482,7 @@ declare class VercelApi {
30466
30482
  }[]>;
30467
30483
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
30468
30484
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30469
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30485
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30470
30486
  sunsetSecretId?: string;
30471
30487
  decrypted?: boolean;
30472
30488
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel-api-js",
3
- "version": "0.24.3",
3
+ "version": "0.25.1",
4
4
  "description": "Vercel auto-generated type-safe API client",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",