vercel-api-js 0.25.0 → 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.25.0 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,11 @@
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
+
3
9
  ## 0.25.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -17640,7 +17640,7 @@ type CreateProjectEnvError = ErrorWrapper<undefined>;
17640
17640
  type CreateProjectEnvResponse = {
17641
17641
  created: {
17642
17642
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17643
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17643
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17644
17644
  /**
17645
17645
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17646
17646
  */
@@ -17722,7 +17722,7 @@ type CreateProjectEnvResponse = {
17722
17722
  system?: boolean;
17723
17723
  } | {
17724
17724
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17725
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17725
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17726
17726
  /**
17727
17727
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17728
17728
  */
@@ -18312,7 +18312,7 @@ type RemoveProjectEnvVariables = {
18312
18312
  declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
18313
18313
  system?: boolean;
18314
18314
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18315
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18315
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18316
18316
  /**
18317
18317
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18318
18318
  */
@@ -18393,7 +18393,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18393
18393
  customEnvironmentIds?: string[];
18394
18394
  } | {
18395
18395
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18396
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18396
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18397
18397
  /**
18398
18398
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18399
18399
  */
@@ -18474,7 +18474,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18474
18474
  customEnvironmentIds?: string[];
18475
18475
  } | {
18476
18476
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18477
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18477
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18478
18478
  /**
18479
18479
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18480
18480
  */
@@ -18633,7 +18633,7 @@ type EditProjectEnvVariables = {
18633
18633
  */
18634
18634
  declare const editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
18635
18635
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18636
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18636
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18637
18637
  /**
18638
18638
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18639
18639
  */
@@ -18868,6 +18868,10 @@ type RequestPromotePathParams = {
18868
18868
  deploymentId: string;
18869
18869
  };
18870
18870
  type RequestPromoteQueryParams = {
18871
+ /**
18872
+ * Skip the rolling release process and promote directly to production
18873
+ */
18874
+ dangerouslyForcePromoteCanary?: boolean;
18871
18875
  /**
18872
18876
  * The Team identifier to perform the request on behalf of.
18873
18877
  */
@@ -23454,7 +23458,7 @@ declare const operationsByTag: {
23454
23458
  removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
23455
23459
  system?: boolean;
23456
23460
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23457
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23461
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23458
23462
  /**
23459
23463
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23460
23464
  */
@@ -23535,7 +23539,7 @@ declare const operationsByTag: {
23535
23539
  customEnvironmentIds?: string[];
23536
23540
  } | {
23537
23541
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23538
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23542
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23539
23543
  /**
23540
23544
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23541
23545
  */
@@ -23616,7 +23620,7 @@ declare const operationsByTag: {
23616
23620
  customEnvironmentIds?: string[];
23617
23621
  } | {
23618
23622
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23619
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23623
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23620
23624
  /**
23621
23625
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23622
23626
  */
@@ -23698,7 +23702,7 @@ declare const operationsByTag: {
23698
23702
  }[]>;
23699
23703
  editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
23700
23704
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23701
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23705
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23702
23706
  /**
23703
23707
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23704
23708
  */
@@ -28200,7 +28204,7 @@ declare const operationsByPath: {
28200
28204
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
28201
28205
  system?: boolean;
28202
28206
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28203
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28207
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28204
28208
  sunsetSecretId?: string;
28205
28209
  decrypted?: boolean;
28206
28210
  value: string;
@@ -28272,7 +28276,7 @@ declare const operationsByPath: {
28272
28276
  customEnvironmentIds?: string[];
28273
28277
  } | {
28274
28278
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28275
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28279
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28276
28280
  sunsetSecretId?: string;
28277
28281
  decrypted?: boolean;
28278
28282
  value: string;
@@ -28344,7 +28348,7 @@ declare const operationsByPath: {
28344
28348
  customEnvironmentIds?: string[];
28345
28349
  } | {
28346
28350
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28347
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28351
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28348
28352
  sunsetSecretId?: string;
28349
28353
  decrypted?: boolean;
28350
28354
  value: string;
@@ -28417,7 +28421,7 @@ declare const operationsByPath: {
28417
28421
  }[]>;
28418
28422
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
28419
28423
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28420
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28424
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28421
28425
  sunsetSecretId?: string;
28422
28426
  decrypted?: boolean;
28423
28427
  value: string;
@@ -30261,7 +30265,7 @@ declare class VercelApi {
30261
30265
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
30262
30266
  system?: boolean;
30263
30267
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30264
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30268
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30265
30269
  sunsetSecretId?: string;
30266
30270
  decrypted?: boolean;
30267
30271
  value: string;
@@ -30333,7 +30337,7 @@ declare class VercelApi {
30333
30337
  customEnvironmentIds?: string[];
30334
30338
  } | {
30335
30339
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30336
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30340
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30337
30341
  sunsetSecretId?: string;
30338
30342
  decrypted?: boolean;
30339
30343
  value: string;
@@ -30405,7 +30409,7 @@ declare class VercelApi {
30405
30409
  customEnvironmentIds?: string[];
30406
30410
  } | {
30407
30411
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30408
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30412
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30409
30413
  sunsetSecretId?: string;
30410
30414
  decrypted?: boolean;
30411
30415
  value: string;
@@ -30478,7 +30482,7 @@ declare class VercelApi {
30478
30482
  }[]>;
30479
30483
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
30480
30484
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30481
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30485
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30482
30486
  sunsetSecretId?: string;
30483
30487
  decrypted?: boolean;
30484
30488
  value: string;
package/dist/index.d.mts CHANGED
@@ -17640,7 +17640,7 @@ type CreateProjectEnvError = ErrorWrapper<undefined>;
17640
17640
  type CreateProjectEnvResponse = {
17641
17641
  created: {
17642
17642
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17643
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17643
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17644
17644
  /**
17645
17645
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17646
17646
  */
@@ -17722,7 +17722,7 @@ type CreateProjectEnvResponse = {
17722
17722
  system?: boolean;
17723
17723
  } | {
17724
17724
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17725
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17725
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17726
17726
  /**
17727
17727
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17728
17728
  */
@@ -18312,7 +18312,7 @@ type RemoveProjectEnvVariables = {
18312
18312
  declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
18313
18313
  system?: boolean;
18314
18314
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18315
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18315
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18316
18316
  /**
18317
18317
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18318
18318
  */
@@ -18393,7 +18393,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18393
18393
  customEnvironmentIds?: string[];
18394
18394
  } | {
18395
18395
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18396
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18396
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18397
18397
  /**
18398
18398
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18399
18399
  */
@@ -18474,7 +18474,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18474
18474
  customEnvironmentIds?: string[];
18475
18475
  } | {
18476
18476
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18477
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18477
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18478
18478
  /**
18479
18479
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18480
18480
  */
@@ -18633,7 +18633,7 @@ type EditProjectEnvVariables = {
18633
18633
  */
18634
18634
  declare const editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
18635
18635
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18636
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18636
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18637
18637
  /**
18638
18638
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18639
18639
  */
@@ -18868,6 +18868,10 @@ type RequestPromotePathParams = {
18868
18868
  deploymentId: string;
18869
18869
  };
18870
18870
  type RequestPromoteQueryParams = {
18871
+ /**
18872
+ * Skip the rolling release process and promote directly to production
18873
+ */
18874
+ dangerouslyForcePromoteCanary?: boolean;
18871
18875
  /**
18872
18876
  * The Team identifier to perform the request on behalf of.
18873
18877
  */
@@ -23454,7 +23458,7 @@ declare const operationsByTag: {
23454
23458
  removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
23455
23459
  system?: boolean;
23456
23460
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23457
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23461
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23458
23462
  /**
23459
23463
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23460
23464
  */
@@ -23535,7 +23539,7 @@ declare const operationsByTag: {
23535
23539
  customEnvironmentIds?: string[];
23536
23540
  } | {
23537
23541
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23538
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23542
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23539
23543
  /**
23540
23544
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23541
23545
  */
@@ -23616,7 +23620,7 @@ declare const operationsByTag: {
23616
23620
  customEnvironmentIds?: string[];
23617
23621
  } | {
23618
23622
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23619
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23623
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23620
23624
  /**
23621
23625
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23622
23626
  */
@@ -23698,7 +23702,7 @@ declare const operationsByTag: {
23698
23702
  }[]>;
23699
23703
  editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
23700
23704
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23701
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23705
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23702
23706
  /**
23703
23707
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23704
23708
  */
@@ -28200,7 +28204,7 @@ declare const operationsByPath: {
28200
28204
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
28201
28205
  system?: boolean;
28202
28206
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28203
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28207
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28204
28208
  sunsetSecretId?: string;
28205
28209
  decrypted?: boolean;
28206
28210
  value: string;
@@ -28272,7 +28276,7 @@ declare const operationsByPath: {
28272
28276
  customEnvironmentIds?: string[];
28273
28277
  } | {
28274
28278
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28275
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28279
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28276
28280
  sunsetSecretId?: string;
28277
28281
  decrypted?: boolean;
28278
28282
  value: string;
@@ -28344,7 +28348,7 @@ declare const operationsByPath: {
28344
28348
  customEnvironmentIds?: string[];
28345
28349
  } | {
28346
28350
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28347
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28351
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28348
28352
  sunsetSecretId?: string;
28349
28353
  decrypted?: boolean;
28350
28354
  value: string;
@@ -28417,7 +28421,7 @@ declare const operationsByPath: {
28417
28421
  }[]>;
28418
28422
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
28419
28423
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28420
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28424
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28421
28425
  sunsetSecretId?: string;
28422
28426
  decrypted?: boolean;
28423
28427
  value: string;
@@ -30261,7 +30265,7 @@ declare class VercelApi {
30261
30265
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
30262
30266
  system?: boolean;
30263
30267
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30264
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30268
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30265
30269
  sunsetSecretId?: string;
30266
30270
  decrypted?: boolean;
30267
30271
  value: string;
@@ -30333,7 +30337,7 @@ declare class VercelApi {
30333
30337
  customEnvironmentIds?: string[];
30334
30338
  } | {
30335
30339
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30336
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30340
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30337
30341
  sunsetSecretId?: string;
30338
30342
  decrypted?: boolean;
30339
30343
  value: string;
@@ -30405,7 +30409,7 @@ declare class VercelApi {
30405
30409
  customEnvironmentIds?: string[];
30406
30410
  } | {
30407
30411
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30408
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30412
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30409
30413
  sunsetSecretId?: string;
30410
30414
  decrypted?: boolean;
30411
30415
  value: string;
@@ -30478,7 +30482,7 @@ declare class VercelApi {
30478
30482
  }[]>;
30479
30483
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
30480
30484
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30481
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30485
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30482
30486
  sunsetSecretId?: string;
30483
30487
  decrypted?: boolean;
30484
30488
  value: string;
package/dist/index.d.ts CHANGED
@@ -17640,7 +17640,7 @@ type CreateProjectEnvError = ErrorWrapper<undefined>;
17640
17640
  type CreateProjectEnvResponse = {
17641
17641
  created: {
17642
17642
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17643
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17643
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17644
17644
  /**
17645
17645
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17646
17646
  */
@@ -17722,7 +17722,7 @@ type CreateProjectEnvResponse = {
17722
17722
  system?: boolean;
17723
17723
  } | {
17724
17724
  target?: ('production' | 'preview' | 'development' | 'preview' | 'development')[] | ('production' | 'preview' | 'development' | 'preview' | 'development');
17725
- type?: 'system' | 'encrypted' | 'plain' | 'sensitive' | 'secret';
17725
+ type?: 'system' | 'secret' | 'encrypted' | 'plain' | 'sensitive';
17726
17726
  /**
17727
17727
  * This is used to identiy variables that have been migrated from type secret to sensitive.
17728
17728
  */
@@ -18312,7 +18312,7 @@ type RemoveProjectEnvVariables = {
18312
18312
  declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
18313
18313
  system?: boolean;
18314
18314
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18315
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18315
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18316
18316
  /**
18317
18317
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18318
18318
  */
@@ -18393,7 +18393,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18393
18393
  customEnvironmentIds?: string[];
18394
18394
  } | {
18395
18395
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18396
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18396
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18397
18397
  /**
18398
18398
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18399
18399
  */
@@ -18474,7 +18474,7 @@ declare const removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?:
18474
18474
  customEnvironmentIds?: string[];
18475
18475
  } | {
18476
18476
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18477
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18477
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18478
18478
  /**
18479
18479
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18480
18480
  */
@@ -18633,7 +18633,7 @@ type EditProjectEnvVariables = {
18633
18633
  */
18634
18634
  declare const editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
18635
18635
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
18636
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
18636
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
18637
18637
  /**
18638
18638
  * This is used to identiy variables that have been migrated from type secret to sensitive.
18639
18639
  */
@@ -18868,6 +18868,10 @@ type RequestPromotePathParams = {
18868
18868
  deploymentId: string;
18869
18869
  };
18870
18870
  type RequestPromoteQueryParams = {
18871
+ /**
18872
+ * Skip the rolling release process and promote directly to production
18873
+ */
18874
+ dangerouslyForcePromoteCanary?: boolean;
18871
18875
  /**
18872
18876
  * The Team identifier to perform the request on behalf of.
18873
18877
  */
@@ -23454,7 +23458,7 @@ declare const operationsByTag: {
23454
23458
  removeProjectEnv: (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
23455
23459
  system?: boolean;
23456
23460
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23457
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23461
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23458
23462
  /**
23459
23463
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23460
23464
  */
@@ -23535,7 +23539,7 @@ declare const operationsByTag: {
23535
23539
  customEnvironmentIds?: string[];
23536
23540
  } | {
23537
23541
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23538
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23542
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23539
23543
  /**
23540
23544
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23541
23545
  */
@@ -23616,7 +23620,7 @@ declare const operationsByTag: {
23616
23620
  customEnvironmentIds?: string[];
23617
23621
  } | {
23618
23622
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23619
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23623
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23620
23624
  /**
23621
23625
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23622
23626
  */
@@ -23698,7 +23702,7 @@ declare const operationsByTag: {
23698
23702
  }[]>;
23699
23703
  editProjectEnv: (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
23700
23704
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
23701
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
23705
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
23702
23706
  /**
23703
23707
  * This is used to identiy variables that have been migrated from type secret to sensitive.
23704
23708
  */
@@ -28200,7 +28204,7 @@ declare const operationsByPath: {
28200
28204
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
28201
28205
  system?: boolean;
28202
28206
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28203
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28207
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28204
28208
  sunsetSecretId?: string;
28205
28209
  decrypted?: boolean;
28206
28210
  value: string;
@@ -28272,7 +28276,7 @@ declare const operationsByPath: {
28272
28276
  customEnvironmentIds?: string[];
28273
28277
  } | {
28274
28278
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28275
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28279
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28276
28280
  sunsetSecretId?: string;
28277
28281
  decrypted?: boolean;
28278
28282
  value: string;
@@ -28344,7 +28348,7 @@ declare const operationsByPath: {
28344
28348
  customEnvironmentIds?: string[];
28345
28349
  } | {
28346
28350
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28347
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28351
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28348
28352
  sunsetSecretId?: string;
28349
28353
  decrypted?: boolean;
28350
28354
  value: string;
@@ -28417,7 +28421,7 @@ declare const operationsByPath: {
28417
28421
  }[]>;
28418
28422
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
28419
28423
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
28420
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
28424
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
28421
28425
  sunsetSecretId?: string;
28422
28426
  decrypted?: boolean;
28423
28427
  value: string;
@@ -30261,7 +30265,7 @@ declare class VercelApi {
30261
30265
  'DELETE /v9/projects/{idOrName}/env/{id}': (variables: RemoveProjectEnvVariables, signal?: AbortSignal) => Promise<{
30262
30266
  system?: boolean;
30263
30267
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30264
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30268
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30265
30269
  sunsetSecretId?: string;
30266
30270
  decrypted?: boolean;
30267
30271
  value: string;
@@ -30333,7 +30337,7 @@ declare class VercelApi {
30333
30337
  customEnvironmentIds?: string[];
30334
30338
  } | {
30335
30339
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30336
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30340
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30337
30341
  sunsetSecretId?: string;
30338
30342
  decrypted?: boolean;
30339
30343
  value: string;
@@ -30405,7 +30409,7 @@ declare class VercelApi {
30405
30409
  customEnvironmentIds?: string[];
30406
30410
  } | {
30407
30411
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30408
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30412
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30409
30413
  sunsetSecretId?: string;
30410
30414
  decrypted?: boolean;
30411
30415
  value: string;
@@ -30478,7 +30482,7 @@ declare class VercelApi {
30478
30482
  }[]>;
30479
30483
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal) => Promise<Record<string, any> | {
30480
30484
  target?: ("production" | "preview" | "development" | "preview" | "development")[] | ("production" | "preview" | "development" | "preview" | "development");
30481
- type: "system" | "encrypted" | "plain" | "sensitive" | "secret";
30485
+ type: "system" | "secret" | "encrypted" | "plain" | "sensitive";
30482
30486
  sunsetSecretId?: string;
30483
30487
  decrypted?: boolean;
30484
30488
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel-api-js",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Vercel auto-generated type-safe API client",
5
5
  "author": "SferaDev",
6
6
  "license": "ISC",