vercel-api-js 0.1.13 → 0.1.15

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.
package/dist/index.d.ts CHANGED
@@ -502,6 +502,42 @@ type AuthUser = {
502
502
  hidden: boolean;
503
503
  disabledAt?: number | null;
504
504
  };
505
+ storageRedisTotalCommands?: {
506
+ tier?: number;
507
+ price: number;
508
+ batch: number;
509
+ threshold: number;
510
+ name?: string;
511
+ hidden: boolean;
512
+ disabledAt?: number | null;
513
+ };
514
+ storageRedisTotalBandwidthInBytes?: {
515
+ tier?: number;
516
+ price: number;
517
+ batch: number;
518
+ threshold: number;
519
+ name?: string;
520
+ hidden: boolean;
521
+ disabledAt?: number | null;
522
+ };
523
+ storageRedisTotalDailyAvgStorageInBytes?: {
524
+ tier?: number;
525
+ price: number;
526
+ batch: number;
527
+ threshold: number;
528
+ name?: string;
529
+ hidden: boolean;
530
+ disabledAt?: number | null;
531
+ };
532
+ storageRedisTotalDatabases?: {
533
+ tier?: number;
534
+ price: number;
535
+ batch: number;
536
+ threshold: number;
537
+ name?: string;
538
+ hidden: boolean;
539
+ disabledAt?: number | null;
540
+ };
505
541
  } | null;
506
542
  invoiceSettings?: {
507
543
  footer?: string;
@@ -572,6 +608,18 @@ type AuthUser = {
572
608
  * The maximum time to wait (in milliseconds) for the response headers.
573
609
  */
574
610
  edgeFunctionExecutionTimeoutMs?: number;
611
+ /**
612
+ * To overwrite the number of KV databases an account can create.
613
+ */
614
+ kvDatabases?: number;
615
+ /**
616
+ * To overwrite the number of Postgres databases an account can create.
617
+ */
618
+ postgresDatabases?: number;
619
+ /**
620
+ * To overwrite the number of Blob stores an account can create.
621
+ */
622
+ blobStores?: number;
575
623
  };
576
624
  /**
577
625
  * Prefix that will be used in the URL of "Preview" deployments created by the User account.
@@ -774,32 +822,74 @@ type TeamLimited = {
774
822
  */
775
823
  saml?: {
776
824
  /**
777
- * From T, pick a set of properties whose keys are in the union K
825
+ * Information for the SAML Single Sign-On configuration.
778
826
  */
779
827
  connection?: {
780
- createdAt?: number | null;
781
- creator: string;
782
- domain: string;
783
- id: string;
784
- name: string;
785
- recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
786
- ttl?: number;
787
- type: 'record' | 'record-sys';
788
- value: string;
828
+ /**
829
+ * The Identity Provider "type", for example Okta.
830
+ *
831
+ * @example OktaSAML
832
+ */
833
+ type: string;
834
+ /**
835
+ * Current status of the connection.
836
+ *
837
+ * @example linked
838
+ */
839
+ status: string;
840
+ /**
841
+ * Current state of the connection.
842
+ *
843
+ * @example active
844
+ */
845
+ state: string;
846
+ /**
847
+ * Timestamp (in milliseconds) of when the configuration was connected.
848
+ *
849
+ * @example 1611796915677
850
+ */
851
+ connectedAt: number;
852
+ /**
853
+ * Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
854
+ *
855
+ * @example 1611796915677
856
+ */
857
+ lastReceivedWebhookEvent?: number;
789
858
  };
790
859
  /**
791
- * From T, pick a set of properties whose keys are in the union K
860
+ * Information for the SAML Single Sign-On configuration.
792
861
  */
793
862
  directory?: {
794
- createdAt?: number | null;
795
- creator: string;
796
- domain: string;
797
- id: string;
798
- name: string;
799
- recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
800
- ttl?: number;
801
- type: 'record' | 'record-sys';
802
- value: string;
863
+ /**
864
+ * The Identity Provider "type", for example Okta.
865
+ *
866
+ * @example OktaSAML
867
+ */
868
+ type: string;
869
+ /**
870
+ * Current status of the connection.
871
+ *
872
+ * @example linked
873
+ */
874
+ status: string;
875
+ /**
876
+ * Current state of the connection.
877
+ *
878
+ * @example active
879
+ */
880
+ state: string;
881
+ /**
882
+ * Timestamp (in milliseconds) of when the configuration was connected.
883
+ *
884
+ * @example 1611796915677
885
+ */
886
+ connectedAt: number;
887
+ /**
888
+ * Timestamp (in milliseconds) of when the last webhook event was received from WorkOS.
889
+ *
890
+ * @example 1611796915677
891
+ */
892
+ lastReceivedWebhookEvent?: number;
803
893
  };
804
894
  /**
805
895
  * When `true`, interactions with the Team **must** be done with an authentication token that has been authenticated with the Team's SAML Single Sign-On provider.
@@ -1080,13 +1170,16 @@ type StatusQueryParams = {
1080
1170
  teamId?: string;
1081
1171
  };
1082
1172
  type StatusError = ErrorWrapper<undefined>;
1173
+ type StatusResponse = {
1174
+ status: 'disabled' | 'enabled' | 'over_limit' | 'paused';
1175
+ };
1083
1176
  type StatusVariables = {
1084
1177
  queryParams?: StatusQueryParams;
1085
1178
  } & FetcherExtraProps;
1086
1179
  /**
1087
1180
  * Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits.
1088
1181
  */
1089
- declare const status: (variables: StatusVariables, signal?: AbortSignal) => Promise<undefined>;
1182
+ declare const status: (variables: StatusVariables, signal?: AbortSignal) => Promise<StatusResponse>;
1090
1183
  type UploadArtifactPathParams = {
1091
1184
  /**
1092
1185
  * The artifact hash
@@ -1136,6 +1229,14 @@ type UploadArtifactHeaders = {
1136
1229
  ['x-artifact-tag']?: string;
1137
1230
  };
1138
1231
  type UploadArtifactError = ErrorWrapper<undefined>;
1232
+ type UploadArtifactResponse = {
1233
+ /**
1234
+ * Array of URLs where the artifact was updated
1235
+ *
1236
+ * @example https://api.vercel.com/v2/now/artifact/12HKQaOmR5t5Uy6vdcQsNIiZgHGB
1237
+ */
1238
+ urls: string[];
1239
+ };
1139
1240
  type UploadArtifactVariables = {
1140
1241
  body?: Blob;
1141
1242
  headers: UploadArtifactHeaders;
@@ -1145,7 +1246,7 @@ type UploadArtifactVariables = {
1145
1246
  /**
1146
1247
  * Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`.
1147
1248
  */
1148
- declare const uploadArtifact: (variables: UploadArtifactVariables, signal?: AbortSignal) => Promise<undefined>;
1249
+ declare const uploadArtifact: (variables: UploadArtifactVariables, signal?: AbortSignal) => Promise<UploadArtifactResponse>;
1149
1250
  type DownloadArtifactPathParams = {
1150
1251
  /**
1151
1252
  * The artifact hash
@@ -1186,7 +1287,7 @@ type DownloadArtifactVariables = {
1186
1287
  /**
1187
1288
  * Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body.
1188
1289
  */
1189
- declare const downloadArtifact: (variables: DownloadArtifactVariables, signal?: AbortSignal) => Promise<undefined>;
1290
+ declare const downloadArtifact: (variables: DownloadArtifactVariables, signal?: AbortSignal) => Promise<Blob>;
1190
1291
  type ArtifactQueryQueryParams = {
1191
1292
  /**
1192
1293
  * The Team identifier or slug to perform the request on behalf of.
@@ -1194,6 +1295,17 @@ type ArtifactQueryQueryParams = {
1194
1295
  teamId?: string;
1195
1296
  };
1196
1297
  type ArtifactQueryError = ErrorWrapper<undefined>;
1298
+ type ArtifactQueryResponse = {
1299
+ [key: string]: {
1300
+ size: number;
1301
+ taskDurationMs: number;
1302
+ tag?: string;
1303
+ } | {
1304
+ name: string;
1305
+ message: string;
1306
+ stack?: string;
1307
+ } | null;
1308
+ };
1197
1309
  type ArtifactQueryRequestBody = {
1198
1310
  /**
1199
1311
  * artifact hashes
@@ -1207,7 +1319,7 @@ type ArtifactQueryVariables = {
1207
1319
  /**
1208
1320
  * Query information about an array of artifacts.
1209
1321
  */
1210
- declare const artifactQuery: (variables: ArtifactQueryVariables, signal?: AbortSignal) => Promise<undefined>;
1322
+ declare const artifactQuery: (variables: ArtifactQueryVariables, signal?: AbortSignal) => Promise<ArtifactQueryResponse>;
1211
1323
  type GetDeploymentPathParams = {
1212
1324
  /**
1213
1325
  * The unique identifier or hostname of the deployment.
@@ -1896,18 +2008,7 @@ type CreateDeploymentResponse = {
1896
2008
  */
1897
2009
  env: string[];
1898
2010
  };
1899
- builds?: {
1900
- use: string;
1901
- src?: string;
1902
- /**
1903
- * An object containing the deployment's metadata
1904
- *
1905
- * @example {"foo":"bar"}
1906
- */
1907
- config?: {
1908
- [key: string]: string;
1909
- };
1910
- }[];
2011
+ builds?: Record<string, any>[];
1911
2012
  /**
1912
2013
  * The ID of Vercel Connect configuration used for this deployment
1913
2014
  */
@@ -2935,7 +3036,7 @@ type CreateDeploymentRequestBody = {
2935
3036
  /**
2936
3037
  * The framework that is being used for this project. When `null` is used no framework is selected
2937
3038
  */
2938
- framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
3039
+ framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
2939
3040
  /**
2940
3041
  * The install command for this project. When `null` is used this value will be automatically detected
2941
3042
  *
@@ -3229,7 +3330,7 @@ type CreateDeploymentRequestBody = {
3229
3330
  /**
3230
3331
  * The framework that is being used for this project. When `null` is used no framework is selected
3231
3332
  */
3232
- framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
3333
+ framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
3233
3334
  /**
3234
3335
  * The install command for this project. When `null` is used this value will be automatically detected
3235
3336
  *
@@ -3307,18 +3408,7 @@ type CancelDeploymentResponse = {
3307
3408
  */
3308
3409
  env: string[];
3309
3410
  };
3310
- builds?: {
3311
- use: string;
3312
- src?: string;
3313
- /**
3314
- * An object containing the deployment's metadata
3315
- *
3316
- * @example {"foo":"bar"}
3317
- */
3318
- config?: {
3319
- [key: string]: string;
3320
- };
3321
- }[];
3411
+ builds?: Record<string, any>[];
3322
3412
  /**
3323
3413
  * The ID of Vercel Connect configuration used for this deployment
3324
3414
  */
@@ -3976,7 +4066,7 @@ type GetDeploymentEventsResponse = ({
3976
4066
  requestId?: string;
3977
4067
  };
3978
4068
  } | {
3979
- type: 'delimiter' | 'command' | 'stdout' | 'stderr' | 'exit' | 'deployment-state' | 'middleware' | 'middleware-invocation' | 'edge-function-invocation' | 'fatal';
4069
+ type: 'command' | 'stdout' | 'stderr' | 'exit' | 'deployment-state' | 'delimiter' | 'middleware' | 'middleware-invocation' | 'edge-function-invocation' | 'fatal';
3980
4070
  created: number;
3981
4071
  payload: {
3982
4072
  deploymentId: string;
@@ -4208,10 +4298,14 @@ type ListAliasesResponse = {
4208
4298
  */
4209
4299
  updatedAt?: number;
4210
4300
  /**
4211
- * Construct a type with a set of properties K of type T
4301
+ * The protection bypass for the alias
4212
4302
  */
4213
4303
  protectionBypass?: {
4214
- [key: string]: string;
4304
+ [key: string]: {
4305
+ createdAt: number;
4306
+ createdBy: string;
4307
+ scope?: 'automation-bypass' | 'shareable-link';
4308
+ };
4215
4309
  };
4216
4310
  }[];
4217
4311
  pagination: Pagination;
@@ -4366,10 +4460,14 @@ type GetAliasResponse = {
4366
4460
  */
4367
4461
  updatedAt?: number;
4368
4462
  /**
4369
- * Construct a type with a set of properties K of type T
4463
+ * The protection bypass for the alias
4370
4464
  */
4371
4465
  protectionBypass?: {
4372
- [key: string]: string;
4466
+ [key: string]: {
4467
+ createdAt: number;
4468
+ createdBy: string;
4469
+ scope?: 'automation-bypass' | 'shareable-link';
4470
+ };
4373
4471
  };
4374
4472
  };
4375
4473
  type GetAliasVariables = {
@@ -4450,10 +4548,14 @@ type ListDeploymentAliasesResponse = {
4450
4548
  */
4451
4549
  redirect?: string | null;
4452
4550
  /**
4453
- * Construct a type with a set of properties K of type T
4551
+ * The protection bypass for the alias
4454
4552
  */
4455
4553
  protectionBypass?: {
4456
- [key: string]: string;
4554
+ [key: string]: {
4555
+ createdAt: number;
4556
+ createdBy: string;
4557
+ scope?: 'automation-bypass' | 'shareable-link';
4558
+ };
4457
4559
  };
4458
4560
  }[];
4459
4561
  };
@@ -5607,12 +5709,6 @@ type CreateOrTransferDomainResponse = {
5607
5709
  isDomainReseller?: boolean;
5608
5710
  id: string;
5609
5711
  };
5610
- /**
5611
- * The domain name.
5612
- *
5613
- * @example example.com
5614
- */
5615
- name: string;
5616
5712
  /**
5617
5713
  * Timestamp in milliseconds when the domain was created in the registry.
5618
5714
  *
@@ -5625,6 +5721,12 @@ type CreateOrTransferDomainResponse = {
5625
5721
  * @example EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1
5626
5722
  */
5627
5723
  id: string;
5724
+ /**
5725
+ * The domain name.
5726
+ *
5727
+ * @example example.com
5728
+ */
5729
+ name: string;
5628
5730
  /**
5629
5731
  * Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.
5630
5732
  *
@@ -6317,9 +6419,7 @@ type GetDeploymentsResponse = {
6317
6419
  gitlabLogin?: string;
6318
6420
  };
6319
6421
  /**
6320
- * An object containing the deployment's metadata
6321
- *
6322
- * @example {"foo":"bar"}
6422
+ * Metadata information from the Git provider.
6323
6423
  */
6324
6424
  meta?: {
6325
6425
  [key: string]: string;
@@ -6329,7 +6429,7 @@ type GetDeploymentsResponse = {
6329
6429
  *
6330
6430
  * @example production
6331
6431
  */
6332
- target?: 'staging' | 'production' | null;
6432
+ target?: 'production' | 'staging' | null;
6333
6433
  /**
6334
6434
  * An error object in case aliasing of the deployment failed.
6335
6435
  */
@@ -6378,7 +6478,7 @@ type GetDeploymentsResponse = {
6378
6478
  * The project settings which was used for this deployment
6379
6479
  */
6380
6480
  projectSettings?: {
6381
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
6481
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
6382
6482
  gitForkProtection?: boolean;
6383
6483
  gitLFS?: boolean;
6384
6484
  devCommand?: string | null;
@@ -6535,7 +6635,7 @@ type GetProjectsResponse = {
6535
6635
  */
6536
6636
  decrypted?: boolean;
6537
6637
  }[];
6538
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
6638
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
6539
6639
  gitForkProtection?: boolean;
6540
6640
  gitLFS?: boolean;
6541
6641
  id: string;
@@ -6665,13 +6765,63 @@ type GetProjectsResponse = {
6665
6765
  ssoProtection?: {
6666
6766
  deploymentType: 'preview' | 'all';
6667
6767
  } | null;
6668
- /**
6669
- * An object containing the deployment's metadata
6670
- *
6671
- * @example {"foo":"bar"}
6672
- */
6673
6768
  targets?: {
6674
- [key: string]: string;
6769
+ [key: string]: {
6770
+ alias?: string[];
6771
+ aliasAssigned?: number | boolean | null;
6772
+ aliasError?: {
6773
+ code: string;
6774
+ message: string;
6775
+ } | null;
6776
+ aliasFinal?: string | null;
6777
+ automaticAliases?: string[];
6778
+ builds?: {
6779
+ use: string;
6780
+ src?: string;
6781
+ dest?: string;
6782
+ }[];
6783
+ connectConfigurationId?: string;
6784
+ createdAt: number;
6785
+ createdIn: string;
6786
+ creator: {
6787
+ email: string;
6788
+ githubLogin?: string;
6789
+ gitlabLogin?: string;
6790
+ uid: string;
6791
+ username: string;
6792
+ } | null;
6793
+ deploymentHostname: string;
6794
+ name: string;
6795
+ forced?: boolean;
6796
+ id: string;
6797
+ /**
6798
+ * Construct a type with a set of properties K of type T
6799
+ */
6800
+ meta?: {
6801
+ [key: string]: string;
6802
+ };
6803
+ monorepoManager?: string | null;
6804
+ plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
6805
+ private: boolean;
6806
+ readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
6807
+ requestedAt?: number;
6808
+ target?: string | null;
6809
+ teamId?: string | null;
6810
+ type: 'LAMBDAS';
6811
+ url: string;
6812
+ userId: string;
6813
+ withCache?: boolean;
6814
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
6815
+ checksState?: 'registered' | 'running' | 'completed';
6816
+ readyAt?: number;
6817
+ buildingAt?: number;
6818
+ /**
6819
+ * Whether or not preview comments are enabled for the deployment
6820
+ *
6821
+ * @example false
6822
+ */
6823
+ previewCommentsEnabled?: boolean;
6824
+ } | null;
6675
6825
  };
6676
6826
  transferCompletedAt?: number;
6677
6827
  transferStartedAt?: number;
@@ -6724,6 +6874,7 @@ type GetProjectsResponse = {
6724
6874
  fileUpload?: ACLAction[];
6725
6875
  gitRepository?: ACLAction[];
6726
6876
  ipBlocking?: ACLAction[];
6877
+ ipAllowlist?: ACLAction[];
6727
6878
  integration?: ACLAction[];
6728
6879
  integrationConfiguration?: ACLAction[];
6729
6880
  integrationConfigurationTransfer?: ACLAction[];
@@ -6812,6 +6963,11 @@ type GetProjectsResponse = {
6812
6963
  [key: string]: string;
6813
6964
  };
6814
6965
  hasActiveBranches?: boolean;
6966
+ ipAllowlist?: {
6967
+ deploymentType: 'preview' | 'all';
6968
+ ipAddresses: string[];
6969
+ protectionMode: 'additional' | 'exclusive';
6970
+ } | null;
6815
6971
  }[];
6816
6972
  pagination: Pagination;
6817
6973
  };
@@ -6905,7 +7061,7 @@ type CreateProjectResponse = {
6905
7061
  */
6906
7062
  decrypted?: boolean;
6907
7063
  }[];
6908
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
7064
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
6909
7065
  gitForkProtection?: boolean;
6910
7066
  gitLFS?: boolean;
6911
7067
  id: string;
@@ -7035,13 +7191,63 @@ type CreateProjectResponse = {
7035
7191
  ssoProtection?: {
7036
7192
  deploymentType: 'preview' | 'all';
7037
7193
  } | null;
7038
- /**
7039
- * An object containing the deployment's metadata
7040
- *
7041
- * @example {"foo":"bar"}
7042
- */
7043
7194
  targets?: {
7044
- [key: string]: string;
7195
+ [key: string]: {
7196
+ alias?: string[];
7197
+ aliasAssigned?: number | boolean | null;
7198
+ aliasError?: {
7199
+ code: string;
7200
+ message: string;
7201
+ } | null;
7202
+ aliasFinal?: string | null;
7203
+ automaticAliases?: string[];
7204
+ builds?: {
7205
+ use: string;
7206
+ src?: string;
7207
+ dest?: string;
7208
+ }[];
7209
+ connectConfigurationId?: string;
7210
+ createdAt: number;
7211
+ createdIn: string;
7212
+ creator: {
7213
+ email: string;
7214
+ githubLogin?: string;
7215
+ gitlabLogin?: string;
7216
+ uid: string;
7217
+ username: string;
7218
+ } | null;
7219
+ deploymentHostname: string;
7220
+ name: string;
7221
+ forced?: boolean;
7222
+ id: string;
7223
+ /**
7224
+ * Construct a type with a set of properties K of type T
7225
+ */
7226
+ meta?: {
7227
+ [key: string]: string;
7228
+ };
7229
+ monorepoManager?: string | null;
7230
+ plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
7231
+ private: boolean;
7232
+ readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
7233
+ requestedAt?: number;
7234
+ target?: string | null;
7235
+ teamId?: string | null;
7236
+ type: 'LAMBDAS';
7237
+ url: string;
7238
+ userId: string;
7239
+ withCache?: boolean;
7240
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
7241
+ checksState?: 'registered' | 'running' | 'completed';
7242
+ readyAt?: number;
7243
+ buildingAt?: number;
7244
+ /**
7245
+ * Whether or not preview comments are enabled for the deployment
7246
+ *
7247
+ * @example false
7248
+ */
7249
+ previewCommentsEnabled?: boolean;
7250
+ } | null;
7045
7251
  };
7046
7252
  transferCompletedAt?: number;
7047
7253
  transferStartedAt?: number;
@@ -7094,6 +7300,7 @@ type CreateProjectResponse = {
7094
7300
  fileUpload?: ACLAction[];
7095
7301
  gitRepository?: ACLAction[];
7096
7302
  ipBlocking?: ACLAction[];
7303
+ ipAllowlist?: ACLAction[];
7097
7304
  integration?: ACLAction[];
7098
7305
  integrationConfiguration?: ACLAction[];
7099
7306
  integrationConfigurationTransfer?: ACLAction[];
@@ -7182,6 +7389,11 @@ type CreateProjectResponse = {
7182
7389
  [key: string]: string;
7183
7390
  };
7184
7391
  hasActiveBranches?: boolean;
7392
+ ipAllowlist?: {
7393
+ deploymentType: 'preview' | 'all';
7394
+ ipAddresses: string[];
7395
+ protectionMode: 'additional' | 'exclusive';
7396
+ } | null;
7185
7397
  };
7186
7398
  type CreateProjectRequestBody = {
7187
7399
  /**
@@ -7211,7 +7423,7 @@ type CreateProjectRequestBody = {
7211
7423
  /**
7212
7424
  * Deployment Target or Targets in which the ENV variable will be used
7213
7425
  */
7214
- target: ('production' | 'preview' | 'development') | ('production' | 'preview' | 'development')[];
7426
+ target: ('mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Productio' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Previe' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Developmen') | ('mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Productio' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Previe' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Developmen')[];
7215
7427
  /**
7216
7428
  * The git branch of the environment variable
7217
7429
  *
@@ -7231,7 +7443,7 @@ type CreateProjectRequestBody = {
7231
7443
  /**
7232
7444
  * The framework that is being used for this project. When `null` is used no framework is selected
7233
7445
  */
7234
- framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity';
7446
+ framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook';
7235
7447
  /**
7236
7448
  * The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed
7237
7449
  */
@@ -7385,7 +7597,7 @@ type GetProjectResponse = {
7385
7597
  */
7386
7598
  decrypted?: boolean;
7387
7599
  }[];
7388
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
7600
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
7389
7601
  gitForkProtection?: boolean;
7390
7602
  gitLFS?: boolean;
7391
7603
  id: string;
@@ -7515,40 +7727,90 @@ type GetProjectResponse = {
7515
7727
  ssoProtection?: {
7516
7728
  deploymentType: 'preview' | 'all';
7517
7729
  } | null;
7518
- /**
7519
- * An object containing the deployment's metadata
7520
- *
7521
- * @example {"foo":"bar"}
7522
- */
7523
7730
  targets?: {
7524
- [key: string]: string;
7525
- };
7526
- transferCompletedAt?: number;
7527
- transferStartedAt?: number;
7528
- transferToAccountId?: string;
7529
- transferredFromAccountId?: string;
7530
- updatedAt?: number;
7531
- live?: boolean;
7532
- enablePreviewFeedback?: boolean | null;
7533
- permissions?: {
7534
- aliasGlobal?: ACLAction[];
7535
- aliasProject?: ACLAction[];
7536
- analytics?: ACLAction[];
7537
- analyticsSampling?: ACLAction[];
7538
- analyticsUsage?: ACLAction[];
7539
- auditLog?: ACLAction[];
7540
- billingAddress?: ACLAction[];
7541
- billingInformation?: ACLAction[];
7542
- billingInvoice?: ACLAction[];
7543
- billingInvoiceEmailRecipient?: ACLAction[];
7544
- billingInvoiceLanguage?: ACLAction[];
7545
- billingPlan?: ACLAction[];
7546
- billingPurchaseOrder?: ACLAction[];
7547
- billingTaxId?: ACLAction[];
7548
- blob?: ACLAction[];
7549
- cacheArtifact?: ACLAction[];
7550
- cacheArtifactUsageEvent?: ACLAction[];
7551
- concurrentBuilds?: ACLAction[];
7731
+ [key: string]: {
7732
+ alias?: string[];
7733
+ aliasAssigned?: number | boolean | null;
7734
+ aliasError?: {
7735
+ code: string;
7736
+ message: string;
7737
+ } | null;
7738
+ aliasFinal?: string | null;
7739
+ automaticAliases?: string[];
7740
+ builds?: {
7741
+ use: string;
7742
+ src?: string;
7743
+ dest?: string;
7744
+ }[];
7745
+ connectConfigurationId?: string;
7746
+ createdAt: number;
7747
+ createdIn: string;
7748
+ creator: {
7749
+ email: string;
7750
+ githubLogin?: string;
7751
+ gitlabLogin?: string;
7752
+ uid: string;
7753
+ username: string;
7754
+ } | null;
7755
+ deploymentHostname: string;
7756
+ name: string;
7757
+ forced?: boolean;
7758
+ id: string;
7759
+ /**
7760
+ * Construct a type with a set of properties K of type T
7761
+ */
7762
+ meta?: {
7763
+ [key: string]: string;
7764
+ };
7765
+ monorepoManager?: string | null;
7766
+ plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
7767
+ private: boolean;
7768
+ readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
7769
+ requestedAt?: number;
7770
+ target?: string | null;
7771
+ teamId?: string | null;
7772
+ type: 'LAMBDAS';
7773
+ url: string;
7774
+ userId: string;
7775
+ withCache?: boolean;
7776
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
7777
+ checksState?: 'registered' | 'running' | 'completed';
7778
+ readyAt?: number;
7779
+ buildingAt?: number;
7780
+ /**
7781
+ * Whether or not preview comments are enabled for the deployment
7782
+ *
7783
+ * @example false
7784
+ */
7785
+ previewCommentsEnabled?: boolean;
7786
+ } | null;
7787
+ };
7788
+ transferCompletedAt?: number;
7789
+ transferStartedAt?: number;
7790
+ transferToAccountId?: string;
7791
+ transferredFromAccountId?: string;
7792
+ updatedAt?: number;
7793
+ live?: boolean;
7794
+ enablePreviewFeedback?: boolean | null;
7795
+ permissions?: {
7796
+ aliasGlobal?: ACLAction[];
7797
+ aliasProject?: ACLAction[];
7798
+ analytics?: ACLAction[];
7799
+ analyticsSampling?: ACLAction[];
7800
+ analyticsUsage?: ACLAction[];
7801
+ auditLog?: ACLAction[];
7802
+ billingAddress?: ACLAction[];
7803
+ billingInformation?: ACLAction[];
7804
+ billingInvoice?: ACLAction[];
7805
+ billingInvoiceEmailRecipient?: ACLAction[];
7806
+ billingInvoiceLanguage?: ACLAction[];
7807
+ billingPlan?: ACLAction[];
7808
+ billingPurchaseOrder?: ACLAction[];
7809
+ billingTaxId?: ACLAction[];
7810
+ blob?: ACLAction[];
7811
+ cacheArtifact?: ACLAction[];
7812
+ cacheArtifactUsageEvent?: ACLAction[];
7813
+ concurrentBuilds?: ACLAction[];
7552
7814
  connect?: ACLAction[];
7553
7815
  connectConfiguration?: ACLAction[];
7554
7816
  connectConfigurationLink?: ACLAction[];
@@ -7574,6 +7836,7 @@ type GetProjectResponse = {
7574
7836
  fileUpload?: ACLAction[];
7575
7837
  gitRepository?: ACLAction[];
7576
7838
  ipBlocking?: ACLAction[];
7839
+ ipAllowlist?: ACLAction[];
7577
7840
  integration?: ACLAction[];
7578
7841
  integrationConfiguration?: ACLAction[];
7579
7842
  integrationConfigurationTransfer?: ACLAction[];
@@ -7662,6 +7925,11 @@ type GetProjectResponse = {
7662
7925
  [key: string]: string;
7663
7926
  };
7664
7927
  hasActiveBranches?: boolean;
7928
+ ipAllowlist?: {
7929
+ deploymentType: 'preview' | 'all';
7930
+ ipAddresses: string[];
7931
+ protectionMode: 'additional' | 'exclusive';
7932
+ } | null;
7665
7933
  };
7666
7934
  type GetProjectVariables = {
7667
7935
  pathParams: GetProjectPathParams;
@@ -7762,7 +8030,7 @@ type UpdateProjectResponse = {
7762
8030
  */
7763
8031
  decrypted?: boolean;
7764
8032
  }[];
7765
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
8033
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
7766
8034
  gitForkProtection?: boolean;
7767
8035
  gitLFS?: boolean;
7768
8036
  id: string;
@@ -7892,13 +8160,63 @@ type UpdateProjectResponse = {
7892
8160
  ssoProtection?: {
7893
8161
  deploymentType: 'all' | 'preview';
7894
8162
  } | null;
7895
- /**
7896
- * An object containing the deployment's metadata
7897
- *
7898
- * @example {"foo":"bar"}
7899
- */
7900
8163
  targets?: {
7901
- [key: string]: string;
8164
+ [key: string]: {
8165
+ alias?: string[];
8166
+ aliasAssigned?: number | boolean | null;
8167
+ aliasError?: {
8168
+ code: string;
8169
+ message: string;
8170
+ } | null;
8171
+ aliasFinal?: string | null;
8172
+ automaticAliases?: string[];
8173
+ builds?: {
8174
+ use: string;
8175
+ src?: string;
8176
+ dest?: string;
8177
+ }[];
8178
+ connectConfigurationId?: string;
8179
+ createdAt: number;
8180
+ createdIn: string;
8181
+ creator: {
8182
+ email: string;
8183
+ githubLogin?: string;
8184
+ gitlabLogin?: string;
8185
+ uid: string;
8186
+ username: string;
8187
+ } | null;
8188
+ deploymentHostname: string;
8189
+ name: string;
8190
+ forced?: boolean;
8191
+ id: string;
8192
+ /**
8193
+ * Construct a type with a set of properties K of type T
8194
+ */
8195
+ meta?: {
8196
+ [key: string]: string;
8197
+ };
8198
+ monorepoManager?: string | null;
8199
+ plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8200
+ private: boolean;
8201
+ readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8202
+ requestedAt?: number;
8203
+ target?: string | null;
8204
+ teamId?: string | null;
8205
+ type: 'LAMBDAS';
8206
+ url: string;
8207
+ userId: string;
8208
+ withCache?: boolean;
8209
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
8210
+ checksState?: 'registered' | 'running' | 'completed';
8211
+ readyAt?: number;
8212
+ buildingAt?: number;
8213
+ /**
8214
+ * Whether or not preview comments are enabled for the deployment
8215
+ *
8216
+ * @example false
8217
+ */
8218
+ previewCommentsEnabled?: boolean;
8219
+ } | null;
7902
8220
  };
7903
8221
  transferCompletedAt?: number;
7904
8222
  transferStartedAt?: number;
@@ -7951,6 +8269,7 @@ type UpdateProjectResponse = {
7951
8269
  fileUpload?: ACLAction[];
7952
8270
  gitRepository?: ACLAction[];
7953
8271
  ipBlocking?: ACLAction[];
8272
+ ipAllowlist?: ACLAction[];
7954
8273
  integration?: ACLAction[];
7955
8274
  integrationConfiguration?: ACLAction[];
7956
8275
  integrationConfigurationTransfer?: ACLAction[];
@@ -8039,6 +8358,11 @@ type UpdateProjectResponse = {
8039
8358
  [key: string]: string;
8040
8359
  };
8041
8360
  hasActiveBranches?: boolean;
8361
+ ipAllowlist?: {
8362
+ deploymentType: 'all' | 'preview';
8363
+ ipAddresses: string[];
8364
+ protectionMode: 'exclusive' | 'additional';
8365
+ } | null;
8042
8366
  };
8043
8367
  type UpdateProjectRequestBody = {
8044
8368
  autoExposeSystemEnvs?: boolean;
@@ -8062,7 +8386,7 @@ type UpdateProjectRequestBody = {
8062
8386
  /**
8063
8387
  * The framework that is being used for this project. When `null` is used no framework is selected
8064
8388
  */
8065
- framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
8389
+ framework?: any | 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
8066
8390
  /**
8067
8391
  * Specifies whether PRs from Git forks should require a team member's authorization before it can be deployed
8068
8392
  */
@@ -8144,6 +8468,23 @@ type UpdateProjectRequestBody = {
8144
8468
  */
8145
8469
  deploymentType: 'all' | 'preview';
8146
8470
  } | null;
8471
+ /**
8472
+ * Restricts access to deployments based on the incoming request IP address
8473
+ */
8474
+ ipAllowlist?: {
8475
+ /**
8476
+ * Specify if the IP Allowlist will apply to every Deployment Target or just Preview
8477
+ */
8478
+ deploymentType: 'all' | 'preview';
8479
+ /**
8480
+ * The IP addresses that are allowlisted e.g. 127.0.0.1, 192.168.0.0/16, ::1, fe80::/32
8481
+ */
8482
+ ipAddresses: string[];
8483
+ /**
8484
+ * exclusive: ip match is enough to bypass deployment protection (regardless of other settings). additional: ip must match + any other protection should be also provided (password, vercel auth, shareable link, automation bypass header, automation bypass query param)
8485
+ */
8486
+ protectionMode: 'exclusive' | 'additional';
8487
+ } | null;
8147
8488
  /**
8148
8489
  * Opt-in to Preview comments on the project level
8149
8490
  */
@@ -9027,7 +9368,7 @@ type CreateProjectEnvVariables = {
9027
9368
  * @example production
9028
9369
  * @example preview
9029
9370
  */
9030
- target: ('production' | 'preview' | 'development')[];
9371
+ target: ('mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Productio' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Previe' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Developmen')[];
9031
9372
  /**
9032
9373
  * The git branch of the environment variable
9033
9374
  *
@@ -9060,7 +9401,7 @@ type CreateProjectEnvVariables = {
9060
9401
  * @example production
9061
9402
  * @example preview
9062
9403
  */
9063
- target: ('production' | 'preview' | 'development')[];
9404
+ target: ('mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Productio' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Previe' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Developmen')[];
9064
9405
  /**
9065
9406
  * The git branch of the environment variable
9066
9407
  *
@@ -9360,7 +9701,7 @@ type EditProjectEnvRequestBody = {
9360
9701
  *
9361
9702
  * @example preview
9362
9703
  */
9363
- target?: ('production' | 'preview' | 'development')[];
9704
+ target?: ('mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Productio' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Previe' | 'mport("/Users/andy/projects/vercel/api/utils/env-variable-util/types").EnvTarget.Developmen')[];
9364
9705
  /**
9365
9706
  * The git branch of the environment variable
9366
9707
  *
@@ -9845,17 +10186,17 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
9845
10186
  */
9846
10187
  projectSelection: 'selected' | 'all';
9847
10188
  /**
9848
- * A timestamp that tells you when the configuration was created
10189
+ * A timestamp that tells you when the configuration was installed successfully
9849
10190
  *
9850
10191
  * @example 1558531915505
9851
10192
  */
9852
- createdAt: number;
10193
+ completedAt?: number;
9853
10194
  /**
9854
- * A timestamp that tells you when the configuration was installed successfully
10195
+ * A timestamp that tells you when the configuration was created
9855
10196
  *
9856
10197
  * @example 1558531915505
9857
10198
  */
9858
- completedAt?: number;
10199
+ createdAt: number;
9859
10200
  /**
9860
10201
  * The unique identifier of the configuration
9861
10202
  *
@@ -9886,6 +10227,16 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
9886
10227
  * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO
9887
10228
  */
9888
10229
  projects?: string[];
10230
+ /**
10231
+ * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
10232
+ *
10233
+ * @example marketplace
10234
+ */
10235
+ source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
10236
+ removedLogDrainsAt?: number;
10237
+ removedProjectEnvsAt?: number;
10238
+ removedTokensAt?: number;
10239
+ removedWebhooksAt?: number;
9889
10240
  /**
9890
10241
  * The slug of the integration the configuration is created for.
9891
10242
  *
@@ -9898,6 +10249,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
9898
10249
  * @example team_nLlpyC6RE1qxydlFKbrxDlud
9899
10250
  */
9900
10251
  teamId?: string | null;
10252
+ type: 'integration-configuration';
9901
10253
  /**
9902
10254
  * A timestamp that tells you when the configuration was updated.
9903
10255
  *
@@ -9917,24 +10269,6 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
9917
10269
  * @example read-write:log-drain
9918
10270
  */
9919
10271
  scopes: string[];
9920
- /**
9921
- * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
9922
- *
9923
- * @example 1558531915505
9924
- */
9925
- disabledAt?: number;
9926
- /**
9927
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
9928
- *
9929
- * @example marketplace
9930
- */
9931
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
9932
- canConfigureOpenTelemetry?: boolean;
9933
- removedLogDrainsAt?: number;
9934
- removedProjectEnvsAt?: number;
9935
- removedTokensAt?: number;
9936
- removedWebhooksAt?: number;
9937
- type: 'integration-configuration';
9938
10272
  scopesQueue?: {
9939
10273
  scopes: {
9940
10274
  added: ('read:integration-configuration' | 'read-write:integration-configuration' | 'read:deployment' | 'read-write:deployment' | 'read-write:deployment-check' | 'read:project' | 'read-write:project' | 'read-write:project-env-vars' | 'read-write:global-project-env-vars' | 'read:team' | 'read:user' | 'read-write:log-drain' | 'read:domain' | 'read-write:domain' | 'read-write:edge-config' | 'read-write:otel-endpoint' | 'read:monitoring')[];
@@ -9944,12 +10278,19 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
9944
10278
  requestedAt: number;
9945
10279
  confirmedAt?: number;
9946
10280
  }[];
10281
+ /**
10282
+ * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
10283
+ *
10284
+ * @example 1558531915505
10285
+ */
10286
+ disabledAt?: number;
9947
10287
  /**
9948
10288
  * A timestamp that tells you when the configuration was updated.
9949
10289
  *
9950
10290
  * @example 1558531915505
9951
10291
  */
9952
10292
  deletedAt?: number | null;
10293
+ canConfigureOpenTelemetry?: boolean;
9953
10294
  }>;
9954
10295
  type DeleteConfigurationPathParams = {
9955
10296
  id: string;
@@ -10049,7 +10390,7 @@ type GetIntegrationLogDrainsResponse = {
10049
10390
  */
10050
10391
  createdFrom?: 'self-served' | 'integration';
10051
10392
  /**
10052
- * Construct a type with a set of properties K of type T
10393
+ * The headers to send with the request
10053
10394
  *
10054
10395
  * @example {"Authorization": "Bearer 123"}
10055
10396
  */
@@ -10156,7 +10497,7 @@ type CreateLogDrainResponse = {
10156
10497
  */
10157
10498
  createdFrom?: 'self-served' | 'integration';
10158
10499
  /**
10159
- * Construct a type with a set of properties K of type T
10500
+ * The headers to send with the request
10160
10501
  *
10161
10502
  * @example {"Authorization": "Bearer 123"}
10162
10503
  */
@@ -10386,7 +10727,7 @@ type CreateWebhookRequestBody = {
10386
10727
  /**
10387
10728
  * @minItems 1
10388
10729
  */
10389
- events: ('domain.created' | 'deployment.created' | 'deployment.error' | 'deployment.canceled' | 'deployment.succeeded' | 'deployment.ready' | 'deployment.check-rerequested' | 'integration-configuration.permission-upgraded' | 'integration-configuration.removed' | 'integration-configuration.scope-change-confirmed' | 'project.created' | 'project.removed' | 'deployment-checks-completed' | 'deployment-ready' | 'deployment-prepared' | 'deployment-error' | 'deployment-check-rerequested' | 'deployment-canceled' | 'project-created' | 'project-removed' | 'domain-created' | 'deployment' | 'integration-configuration-permission-updated' | 'integration-configuration-removed' | 'integration-configuration-scope-change-confirmed')[];
10730
+ events: ('mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DomainCreate' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DeploymentCreate' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DeploymentErro' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DeploymentCancele' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DeploymentSucceede' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DeploymentRead' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.DeploymentCheckRerequeste' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.IntegrationConfigurationPermissionUpgrade' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.IntegrationConfigurationRemove' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.IntegrationConfigurationScopeChangeConfirme' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.ProjectCreate' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.ProjectRemove' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentChecksComplete' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentRead' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentPrepare' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentErro' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentCheckRerequeste' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentCancele' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyProjectCreate' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyProjectRemove' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDomainCreate' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymen' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyIntegrationConfigurationPermissionUpdate' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyIntegrationConfigurationRemove' | 'mport("/Users/andy/projects/vercel/api/utils/webhooks/webhooks/types").WebhookName.LegacyIntegrationConfigurationScopeChangeConfirme')[];
10390
10731
  /**
10391
10732
  * @minItems 1
10392
10733
  * @maxItems 50
@@ -10422,7 +10763,7 @@ declare const getWebhooks: (variables: GetWebhooksVariables, signal?: AbortSigna
10422
10763
  projectsMetadata: {
10423
10764
  id: string;
10424
10765
  name: string;
10425
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
10766
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
10426
10767
  latestDeployment?: string;
10427
10768
  }[] | null;
10428
10769
  /**
@@ -10619,7 +10960,7 @@ type GetConfigurableLogDrainResponse = {
10619
10960
  */
10620
10961
  configurationId?: string;
10621
10962
  /**
10622
- * Construct a type with a set of properties K of type T
10963
+ * The key/value pairs that will be sent as headers to the log-drain
10623
10964
  *
10624
10965
  * @example {"foo":"bar"}
10625
10966
  */
@@ -10726,7 +11067,7 @@ type GetConfigurableLogDrainsResponse = {
10726
11067
  */
10727
11068
  configurationId?: string;
10728
11069
  /**
10729
- * Construct a type with a set of properties K of type T
11070
+ * The key/value pairs that will be sent as headers to the log-drain
10730
11071
  *
10731
11072
  * @example {"foo":"bar"}
10732
11073
  */
@@ -10814,7 +11155,7 @@ type CreateConfigurableLogDrainResponse = {
10814
11155
  */
10815
11156
  configurationId?: string;
10816
11157
  /**
10817
- * Construct a type with a set of properties K of type T
11158
+ * The key/value pairs that will be sent as headers to the log-drain
10818
11159
  *
10819
11160
  * @example {"foo":"bar"}
10820
11161
  */
@@ -11196,7 +11537,48 @@ type GetTeamMembersQueryParams = {
11196
11537
  };
11197
11538
  type GetTeamMembersError = ErrorWrapper<undefined>;
11198
11539
  type GetTeamMembersResponse = {
11199
- members: {
11540
+ members: ({
11541
+ avatar?: string;
11542
+ confirmed: boolean;
11543
+ role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
11544
+ uid: string;
11545
+ username: string;
11546
+ name?: string;
11547
+ createdAt: number;
11548
+ accessRequestedAt: number;
11549
+ joinedFrom?: {
11550
+ origin: 'import' | 'gitlab' | 'bitbucket' | 'github' | 'mail' | 'link' | 'teams' | 'saml' | 'dsync' | 'feedback' | 'organization-teams';
11551
+ commitId?: string;
11552
+ repoId?: string;
11553
+ repoPath?: string;
11554
+ gitUserId?: string | number;
11555
+ gitUserLogin?: string;
11556
+ ssoUserId?: string;
11557
+ ssoConnectedAt?: number;
11558
+ idpUserId?: string;
11559
+ dsyncUserId?: string;
11560
+ dsyncConnectedAt?: number;
11561
+ };
11562
+ email: string;
11563
+ /**
11564
+ * Information about the GitHub account for this user.
11565
+ */
11566
+ github?: {
11567
+ login?: string;
11568
+ };
11569
+ /**
11570
+ * Information about the GitLab account of this user.
11571
+ */
11572
+ gitlab?: {
11573
+ login?: string;
11574
+ };
11575
+ /**
11576
+ * Information about the Bitbucket account of this user.
11577
+ */
11578
+ bitbucket?: {
11579
+ login?: string;
11580
+ };
11581
+ } | {
11200
11582
  /**
11201
11583
  * ID of the file for the Avatar of this member.
11202
11584
  *
@@ -11219,27 +11601,18 @@ type GetTeamMembersResponse = {
11219
11601
  * Information about the GitHub account for this user.
11220
11602
  */
11221
11603
  github?: {
11222
- userId?: number;
11223
- accountId?: string;
11224
- email?: string;
11225
11604
  login?: string;
11226
11605
  };
11227
11606
  /**
11228
11607
  * Information about the GitLab account of this user.
11229
11608
  */
11230
11609
  gitlab?: {
11231
- userId?: number;
11232
- accountId?: string;
11233
- email?: string;
11234
11610
  login?: string;
11235
11611
  };
11236
11612
  /**
11237
11613
  * Information about the Bitbucket account of this user.
11238
11614
  */
11239
11615
  bitbucket?: {
11240
- userId?: number;
11241
- accountId?: string;
11242
- email?: string;
11243
11616
  login?: string;
11244
11617
  };
11245
11618
  /**
@@ -11294,7 +11667,7 @@ type GetTeamMembersResponse = {
11294
11667
  dsyncUserId?: string;
11295
11668
  dsyncConnectedAt?: number;
11296
11669
  };
11297
- }[];
11670
+ })[];
11298
11671
  emailInviteCodes?: {
11299
11672
  id: string;
11300
11673
  email?: string;
@@ -11682,162 +12055,15 @@ type GetDeploymentFileContentsQueryParams = {
11682
12055
  */
11683
12056
  teamId?: string;
11684
12057
  };
11685
- type GetDeploymentFileContentsError = ErrorWrapper<undefined>;
11686
- type GetDeploymentFileContentsVariables = {
11687
- pathParams: GetDeploymentFileContentsPathParams;
11688
- queryParams?: GetDeploymentFileContentsQueryParams;
11689
- } & FetcherExtraProps;
11690
- /**
11691
- * Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain the raw content of the file.
11692
- */
11693
- declare const getDeploymentFileContents: (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal) => Promise<undefined>;
11694
- type ListDeploymentBuildsPathParams = {
11695
- /**
11696
- * The deployment unique identifier
11697
- */
11698
- deploymentId: string;
11699
- };
11700
- type ListDeploymentBuildsQueryParams = {
11701
- /**
11702
- * The Team identifier or slug to perform the request on behalf of.
11703
- */
11704
- teamId?: string;
11705
- };
11706
- type ListDeploymentBuildsError = ErrorWrapper<undefined>;
11707
- type ListDeploymentBuildsResponse = {
11708
- builds: {
11709
- /**
11710
- * The unique identifier of the Build
11711
- *
11712
- * @example bld_q5fj68jh7eewfe8
11713
- */
11714
- id: string;
11715
- /**
11716
- * The unique identifier of the deployment
11717
- *
11718
- * @example dpl_BRGyoU2Jzzwx7myBnqv3xjRDD2GnHTwUWyFybnrUvjDD
11719
- */
11720
- deploymentId: string;
11721
- /**
11722
- * The entrypoint of the deployment
11723
- *
11724
- * @example api/index.js
11725
- */
11726
- entrypoint: string;
11727
- /**
11728
- * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
11729
- *
11730
- * @example READY
11731
- */
11732
- readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED' | 'UPLOADING' | 'DEPLOYING' | 'ARCHIVED';
11733
- /**
11734
- * The time at which the Build state was last modified
11735
- *
11736
- * @example 1567024758130
11737
- */
11738
- readyStateAt?: number;
11739
- /**
11740
- * The time at which the Build was scheduled to be built
11741
- *
11742
- * @example 1567024756543
11743
- */
11744
- scheduledAt?: number | null;
11745
- /**
11746
- * The time at which the Build was created
11747
- *
11748
- * @example 1567071524208
11749
- */
11750
- createdAt?: number;
11751
- /**
11752
- * The time at which the Build was deployed
11753
- *
11754
- * @example 1567071598563
11755
- */
11756
- deployedAt?: number;
11757
- /**
11758
- * The region where the Build was first created
11759
- *
11760
- * @example sfo1
11761
- */
11762
- createdIn?: string;
11763
- /**
11764
- * The Runtime the Build used to generate the output
11765
- *
11766
- * @example @vercel/node
11767
- */
11768
- use?: string;
11769
- /**
11770
- * An object that contains the Build's configuration
11771
- *
11772
- * @example {"zeroConfig":true}
11773
- */
11774
- config?: {
11775
- distDir?: string;
11776
- forceBuildIn?: string;
11777
- reuseWorkPathFrom?: string;
11778
- zeroConfig?: boolean;
11779
- };
11780
- /**
11781
- * A list of outputs for the Build that can be either Serverless Functions or static files
11782
- */
11783
- output: {
11784
- /**
11785
- * The type of the output
11786
- */
11787
- type?: 'lambda' | 'file' | 'edge';
11788
- /**
11789
- * The absolute path of the file or Serverless Function
11790
- */
11791
- path: string;
11792
- /**
11793
- * The SHA1 of the file
11794
- */
11795
- digest: string;
11796
- /**
11797
- * The POSIX file permissions
11798
- */
11799
- mode: number;
11800
- /**
11801
- * The size of the file in bytes
11802
- */
11803
- size?: number;
11804
- /**
11805
- * If the output is a Serverless Function, an object containing the name, location and memory size of the function
11806
- */
11807
- lambda?: {
11808
- functionName: string;
11809
- deployedTo: string[];
11810
- memorySize?: number;
11811
- timeout?: number;
11812
- layers?: string[];
11813
- } | null;
11814
- /**
11815
- * Exists if the output is an edge function.
11816
- */
11817
- edge?: {
11818
- /**
11819
- * The regions where the edge function will be invoked. Only exists if the edge function as a regional edge function, see: https://vercel.com/docs/concepts/edge-network/regions#setting-edge-function-regions
11820
- */
11821
- regions: string[] | null;
11822
- } | null;
11823
- }[];
11824
- /**
11825
- * If the Build uses the `@vercel/static` Runtime, it contains a hashed string of all outputs
11826
- *
11827
- * @example null
11828
- */
11829
- fingerprint?: string | null;
11830
- copiedFrom?: string;
11831
- }[];
11832
- };
11833
- type ListDeploymentBuildsVariables = {
11834
- pathParams: ListDeploymentBuildsPathParams;
11835
- queryParams?: ListDeploymentBuildsQueryParams;
12058
+ type GetDeploymentFileContentsError = ErrorWrapper<undefined>;
12059
+ type GetDeploymentFileContentsVariables = {
12060
+ pathParams: GetDeploymentFileContentsPathParams;
12061
+ queryParams?: GetDeploymentFileContentsQueryParams;
11836
12062
  } & FetcherExtraProps;
11837
12063
  /**
11838
- * Retrieves the list of builds given their deployment's unique identifier.
12064
+ * Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain the raw content of the file.
11839
12065
  */
11840
- declare const listDeploymentBuilds: (variables: ListDeploymentBuildsVariables, signal?: AbortSignal) => Promise<ListDeploymentBuildsResponse>;
12066
+ declare const getDeploymentFileContents: (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal) => Promise<undefined>;
11841
12067
  type CreateCheckPathParams = {
11842
12068
  /**
11843
12069
  * The deployment to create the check for.
@@ -11854,15 +12080,50 @@ type CreateCheckQueryParams = {
11854
12080
  };
11855
12081
  type CreateCheckError = ErrorWrapper<undefined>;
11856
12082
  type CreateCheckResponse = {
11857
- createdAt?: number | null;
11858
- creator: string;
11859
- domain: string;
11860
12083
  id: string;
11861
12084
  name: string;
11862
- recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
11863
- ttl?: number;
11864
- type: 'record' | 'record-sys';
11865
- value: string;
12085
+ path?: string;
12086
+ status: 'registered' | 'running' | 'completed';
12087
+ conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';
12088
+ blocking: boolean;
12089
+ output?: {
12090
+ metrics?: {
12091
+ FCP: {
12092
+ value: number | null;
12093
+ previousValue?: number;
12094
+ source: 'web-vitals';
12095
+ };
12096
+ LCP: {
12097
+ value: number | null;
12098
+ previousValue?: number;
12099
+ source: 'web-vitals';
12100
+ };
12101
+ CLS: {
12102
+ value: number | null;
12103
+ previousValue?: number;
12104
+ source: 'web-vitals';
12105
+ };
12106
+ TBT: {
12107
+ value: number | null;
12108
+ previousValue?: number;
12109
+ source: 'web-vitals';
12110
+ };
12111
+ virtualExperienceScore?: {
12112
+ value: number | null;
12113
+ previousValue?: number;
12114
+ source: 'web-vitals';
12115
+ };
12116
+ };
12117
+ };
12118
+ detailsUrl?: string;
12119
+ integrationId: string;
12120
+ deploymentId: string;
12121
+ externalId?: string;
12122
+ createdAt: number;
12123
+ updatedAt: number;
12124
+ startedAt?: number;
12125
+ completedAt?: number;
12126
+ rerequestable?: boolean;
11866
12127
  };
11867
12128
  type CreateCheckRequestBody = {
11868
12129
  /**
@@ -12003,15 +12264,50 @@ type GetCheckQueryParams = {
12003
12264
  };
12004
12265
  type GetCheckError = ErrorWrapper<undefined>;
12005
12266
  type GetCheckResponse = {
12006
- createdAt?: number | null;
12007
- creator: string;
12008
- domain: string;
12009
12267
  id: string;
12010
12268
  name: string;
12011
- recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
12012
- ttl?: number;
12013
- type: 'record' | 'record-sys';
12014
- value: string;
12269
+ path?: string;
12270
+ status: 'registered' | 'running' | 'completed';
12271
+ conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';
12272
+ blocking: boolean;
12273
+ output?: {
12274
+ metrics?: {
12275
+ FCP: {
12276
+ value: number | null;
12277
+ previousValue?: number;
12278
+ source: 'web-vitals';
12279
+ };
12280
+ LCP: {
12281
+ value: number | null;
12282
+ previousValue?: number;
12283
+ source: 'web-vitals';
12284
+ };
12285
+ CLS: {
12286
+ value: number | null;
12287
+ previousValue?: number;
12288
+ source: 'web-vitals';
12289
+ };
12290
+ TBT: {
12291
+ value: number | null;
12292
+ previousValue?: number;
12293
+ source: 'web-vitals';
12294
+ };
12295
+ virtualExperienceScore?: {
12296
+ value: number | null;
12297
+ previousValue?: number;
12298
+ source: 'web-vitals';
12299
+ };
12300
+ };
12301
+ };
12302
+ detailsUrl?: string;
12303
+ integrationId: string;
12304
+ deploymentId: string;
12305
+ externalId?: string;
12306
+ createdAt: number;
12307
+ updatedAt: number;
12308
+ startedAt?: number;
12309
+ completedAt?: number;
12310
+ rerequestable?: boolean;
12015
12311
  };
12016
12312
  type GetCheckVariables = {
12017
12313
  pathParams: GetCheckPathParams;
@@ -12043,15 +12339,50 @@ type UpdateCheckQueryParams = {
12043
12339
  };
12044
12340
  type UpdateCheckError = ErrorWrapper<undefined>;
12045
12341
  type UpdateCheckResponse = {
12046
- createdAt?: number | null;
12047
- creator: string;
12048
- domain: string;
12049
12342
  id: string;
12050
12343
  name: string;
12051
- recordType: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
12052
- ttl?: number;
12053
- type: 'record' | 'record-sys';
12054
- value: string;
12344
+ path?: string;
12345
+ status: 'registered' | 'running' | 'completed';
12346
+ conclusion?: 'canceled' | 'failed' | 'neutral' | 'succeeded' | 'skipped' | 'stale';
12347
+ blocking: boolean;
12348
+ output?: {
12349
+ metrics?: {
12350
+ FCP: {
12351
+ value: number | null;
12352
+ previousValue?: number;
12353
+ source: 'web-vitals';
12354
+ };
12355
+ LCP: {
12356
+ value: number | null;
12357
+ previousValue?: number;
12358
+ source: 'web-vitals';
12359
+ };
12360
+ CLS: {
12361
+ value: number | null;
12362
+ previousValue?: number;
12363
+ source: 'web-vitals';
12364
+ };
12365
+ TBT: {
12366
+ value: number | null;
12367
+ previousValue?: number;
12368
+ source: 'web-vitals';
12369
+ };
12370
+ virtualExperienceScore?: {
12371
+ value: number | null;
12372
+ previousValue?: number;
12373
+ source: 'web-vitals';
12374
+ };
12375
+ };
12376
+ };
12377
+ detailsUrl?: string;
12378
+ integrationId: string;
12379
+ deploymentId: string;
12380
+ externalId?: string;
12381
+ createdAt: number;
12382
+ updatedAt: number;
12383
+ startedAt?: number;
12384
+ completedAt?: number;
12385
+ rerequestable?: boolean;
12055
12386
  };
12056
12387
  type UpdateCheckRequestBody = {
12057
12388
  /**
@@ -12224,15 +12555,15 @@ type GetEdgeConfigsQueryParams = {
12224
12555
  };
12225
12556
  type GetEdgeConfigsError = ErrorWrapper<undefined>;
12226
12557
  type GetEdgeConfigsResponse = {
12227
- createdAt?: number | null;
12228
- creator?: string;
12229
- domain?: string;
12230
12558
  id?: string;
12231
- name?: string;
12232
- recordType?: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
12233
- ttl?: number;
12234
- type?: 'record' | 'record-sys';
12235
- value?: string;
12559
+ createdAt?: number;
12560
+ ownerId?: string;
12561
+ /**
12562
+ * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
12563
+ */
12564
+ slug?: string;
12565
+ updatedAt?: number;
12566
+ digest?: string;
12236
12567
  sizeInBytes: number;
12237
12568
  itemCount: number;
12238
12569
  };
@@ -12251,15 +12582,15 @@ type CreateEdgeConfigQueryParams = {
12251
12582
  };
12252
12583
  type CreateEdgeConfigError = ErrorWrapper<undefined>;
12253
12584
  type CreateEdgeConfigResponse = {
12254
- createdAt?: number | null;
12255
- creator?: string;
12256
- domain?: string;
12585
+ createdAt?: number;
12586
+ updatedAt?: number;
12257
12587
  id?: string;
12258
- name?: string;
12259
- recordType?: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
12260
- ttl?: number;
12261
- type?: 'record' | 'record-sys';
12262
- value?: string;
12588
+ /**
12589
+ * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
12590
+ */
12591
+ slug?: string;
12592
+ ownerId?: string;
12593
+ digest?: string;
12263
12594
  sizeInBytes: number;
12264
12595
  itemCount: number;
12265
12596
  };
@@ -12292,15 +12623,15 @@ type GetEdgeConfigQueryParams = {
12292
12623
  };
12293
12624
  type GetEdgeConfigError = ErrorWrapper<undefined>;
12294
12625
  type GetEdgeConfigResponse = {
12295
- createdAt?: number | null;
12296
- creator?: string;
12297
- domain?: string;
12626
+ createdAt?: number;
12627
+ updatedAt?: number;
12298
12628
  id?: string;
12299
- name?: string;
12300
- recordType?: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
12301
- ttl?: number;
12302
- type?: 'record' | 'record-sys';
12303
- value?: string;
12629
+ /**
12630
+ * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
12631
+ */
12632
+ slug?: string;
12633
+ ownerId?: string;
12634
+ digest?: string;
12304
12635
  sizeInBytes: number;
12305
12636
  itemCount: number;
12306
12637
  };
@@ -12323,15 +12654,15 @@ type UpdateEdgeConfigQueryParams = {
12323
12654
  };
12324
12655
  type UpdateEdgeConfigError = ErrorWrapper<undefined>;
12325
12656
  type UpdateEdgeConfigResponse = {
12326
- createdAt?: number | null;
12327
- creator?: string;
12328
- domain?: string;
12657
+ createdAt?: number;
12658
+ updatedAt?: number;
12329
12659
  id?: string;
12330
- name?: string;
12331
- recordType?: 'A' | 'AAAA' | 'ALIAS' | 'CAA' | 'CNAME' | 'MX' | 'SRV' | 'TXT' | 'NS';
12332
- ttl?: number;
12333
- type?: 'record' | 'record-sys';
12334
- value?: string;
12660
+ /**
12661
+ * Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
12662
+ */
12663
+ slug?: string;
12664
+ ownerId?: string;
12665
+ digest?: string;
12335
12666
  sizeInBytes: number;
12336
12667
  itemCount: number;
12337
12668
  };
@@ -12537,10 +12868,10 @@ declare const createEdgeConfigToken: (variables: CreateEdgeConfigTokenVariables,
12537
12868
  declare const operationsByTag: {
12538
12869
  artifacts: {
12539
12870
  recordEvents: (variables: RecordEventsVariables, signal?: AbortSignal) => Promise<undefined>;
12540
- status: (variables: StatusVariables, signal?: AbortSignal) => Promise<undefined>;
12541
- uploadArtifact: (variables: UploadArtifactVariables, signal?: AbortSignal) => Promise<undefined>;
12542
- downloadArtifact: (variables: DownloadArtifactVariables, signal?: AbortSignal) => Promise<undefined>;
12543
- artifactQuery: (variables: ArtifactQueryVariables, signal?: AbortSignal) => Promise<undefined>;
12871
+ status: (variables: StatusVariables, signal?: AbortSignal) => Promise<StatusResponse>;
12872
+ uploadArtifact: (variables: UploadArtifactVariables, signal?: AbortSignal) => Promise<UploadArtifactResponse>;
12873
+ downloadArtifact: (variables: DownloadArtifactVariables, signal?: AbortSignal) => Promise<Blob>;
12874
+ artifactQuery: (variables: ArtifactQueryVariables, signal?: AbortSignal) => Promise<ArtifactQueryResponse>;
12544
12875
  };
12545
12876
  deployments: {
12546
12877
  getDeployment: (variables: GetDeploymentVariables, signal?: AbortSignal) => Promise<{
@@ -13193,7 +13524,6 @@ declare const operationsByTag: {
13193
13524
  getDeployments: (variables: GetDeploymentsVariables, signal?: AbortSignal) => Promise<GetDeploymentsResponse>;
13194
13525
  listDeploymentFiles: (variables: ListDeploymentFilesVariables, signal?: AbortSignal) => Promise<ListDeploymentFilesResponse>;
13195
13526
  getDeploymentFileContents: (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal) => Promise<undefined>;
13196
- listDeploymentBuilds: (variables: ListDeploymentBuildsVariables, signal?: AbortSignal) => Promise<ListDeploymentBuildsResponse>;
13197
13527
  };
13198
13528
  certs: {
13199
13529
  getCertById: (variables: GetCertByIdVariables, signal?: AbortSignal) => Promise<GetCertByIdResponse>;
@@ -13978,17 +14308,17 @@ declare const operationsByTag: {
13978
14308
  */
13979
14309
  projectSelection: 'selected' | 'all';
13980
14310
  /**
13981
- * A timestamp that tells you when the configuration was created
14311
+ * A timestamp that tells you when the configuration was installed successfully
13982
14312
  *
13983
14313
  * @example 1558531915505
13984
14314
  */
13985
- createdAt: number;
14315
+ completedAt?: number;
13986
14316
  /**
13987
- * A timestamp that tells you when the configuration was installed successfully
14317
+ * A timestamp that tells you when the configuration was created
13988
14318
  *
13989
14319
  * @example 1558531915505
13990
14320
  */
13991
- completedAt?: number;
14321
+ createdAt: number;
13992
14322
  /**
13993
14323
  * The unique identifier of the configuration
13994
14324
  *
@@ -14019,6 +14349,16 @@ declare const operationsByTag: {
14019
14349
  * @example prj_xQxbutw1HpL6HLYPAzt5h75m8NjO
14020
14350
  */
14021
14351
  projects?: string[];
14352
+ /**
14353
+ * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
14354
+ *
14355
+ * @example marketplace
14356
+ */
14357
+ source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
14358
+ removedLogDrainsAt?: number;
14359
+ removedProjectEnvsAt?: number;
14360
+ removedTokensAt?: number;
14361
+ removedWebhooksAt?: number;
14022
14362
  /**
14023
14363
  * The slug of the integration the configuration is created for.
14024
14364
  *
@@ -14031,6 +14371,7 @@ declare const operationsByTag: {
14031
14371
  * @example team_nLlpyC6RE1qxydlFKbrxDlud
14032
14372
  */
14033
14373
  teamId?: string | null;
14374
+ type: 'integration-configuration';
14034
14375
  /**
14035
14376
  * A timestamp that tells you when the configuration was updated.
14036
14377
  *
@@ -14050,24 +14391,6 @@ declare const operationsByTag: {
14050
14391
  * @example read-write:log-drain
14051
14392
  */
14052
14393
  scopes: string[];
14053
- /**
14054
- * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
14055
- *
14056
- * @example 1558531915505
14057
- */
14058
- disabledAt?: number;
14059
- /**
14060
- * Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
14061
- *
14062
- * @example marketplace
14063
- */
14064
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
14065
- canConfigureOpenTelemetry?: boolean;
14066
- removedLogDrainsAt?: number;
14067
- removedProjectEnvsAt?: number;
14068
- removedTokensAt?: number;
14069
- removedWebhooksAt?: number;
14070
- type: 'integration-configuration';
14071
14394
  scopesQueue?: {
14072
14395
  scopes: {
14073
14396
  added: ('read:integration-configuration' | 'read-write:integration-configuration' | 'read:deployment' | 'read-write:deployment' | 'read-write:deployment-check' | 'read:project' | 'read-write:project' | 'read-write:project-env-vars' | 'read-write:global-project-env-vars' | 'read:team' | 'read:user' | 'read-write:log-drain' | 'read:domain' | 'read-write:domain' | 'read-write:edge-config' | 'read-write:otel-endpoint' | 'read:monitoring')[];
@@ -14077,12 +14400,19 @@ declare const operationsByTag: {
14077
14400
  requestedAt: number;
14078
14401
  confirmedAt?: number;
14079
14402
  }[];
14403
+ /**
14404
+ * A timestamp that tells you when the configuration was disabled. Note: Configurations can be disabled when the associated user loses access to a team. They do not function during this time until the configuration is 'transferred', meaning the associated user is changed to one with access to the team.
14405
+ *
14406
+ * @example 1558531915505
14407
+ */
14408
+ disabledAt?: number;
14080
14409
  /**
14081
14410
  * A timestamp that tells you when the configuration was updated.
14082
14411
  *
14083
14412
  * @example 1558531915505
14084
14413
  */
14085
14414
  deletedAt?: number | null;
14415
+ canConfigureOpenTelemetry?: boolean;
14086
14416
  }>;
14087
14417
  deleteConfiguration: (variables: DeleteConfigurationVariables, signal?: AbortSignal) => Promise<undefined>;
14088
14418
  gitNamespaces: (variables: GitNamespacesVariables, signal?: AbortSignal) => Promise<GitNamespacesResponse>;
@@ -14103,7 +14433,7 @@ declare const operationsByTag: {
14103
14433
  projectsMetadata: {
14104
14434
  id: string;
14105
14435
  name: string;
14106
- framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | null;
14436
+ framework?: 'blitzjs' | 'nextjs' | 'gatsby' | 'remix' | 'astro' | 'hexo' | 'eleventy' | 'docusaurus-2' | 'docusaurus' | 'preact' | 'solidstart' | 'dojo' | 'ember' | 'vue' | 'scully' | 'ionic-angular' | 'angular' | 'polymer' | 'svelte' | 'sveltekit' | 'sveltekit-1' | 'ionic-react' | 'create-react-app' | 'gridsome' | 'umijs' | 'sapper' | 'saber' | 'stencil' | 'nuxtjs' | 'redwoodjs' | 'hugo' | 'jekyll' | 'brunch' | 'middleman' | 'zola' | 'hydrogen' | 'vite' | 'vitepress' | 'vuepress' | 'parcel' | 'sanity' | 'storybook' | null;
14107
14437
  latestDeployment?: string;
14108
14438
  }[] | null;
14109
14439
  /**
@@ -14271,6 +14601,7 @@ type components_AddProjectDomainVariables = AddProjectDomainVariables;
14271
14601
  type components_ArtifactQueryError = ArtifactQueryError;
14272
14602
  type components_ArtifactQueryQueryParams = ArtifactQueryQueryParams;
14273
14603
  type components_ArtifactQueryRequestBody = ArtifactQueryRequestBody;
14604
+ type components_ArtifactQueryResponse = ArtifactQueryResponse;
14274
14605
  type components_ArtifactQueryVariables = ArtifactQueryVariables;
14275
14606
  type components_AssignAliasError = AssignAliasError;
14276
14607
  type components_AssignAliasPathParams = AssignAliasPathParams;
@@ -14637,11 +14968,6 @@ type components_ListDeploymentAliasesPathParams = ListDeploymentAliasesPathParam
14637
14968
  type components_ListDeploymentAliasesQueryParams = ListDeploymentAliasesQueryParams;
14638
14969
  type components_ListDeploymentAliasesResponse = ListDeploymentAliasesResponse;
14639
14970
  type components_ListDeploymentAliasesVariables = ListDeploymentAliasesVariables;
14640
- type components_ListDeploymentBuildsError = ListDeploymentBuildsError;
14641
- type components_ListDeploymentBuildsPathParams = ListDeploymentBuildsPathParams;
14642
- type components_ListDeploymentBuildsQueryParams = ListDeploymentBuildsQueryParams;
14643
- type components_ListDeploymentBuildsResponse = ListDeploymentBuildsResponse;
14644
- type components_ListDeploymentBuildsVariables = ListDeploymentBuildsVariables;
14645
14971
  type components_ListDeploymentFilesError = ListDeploymentFilesError;
14646
14972
  type components_ListDeploymentFilesPathParams = ListDeploymentFilesPathParams;
14647
14973
  type components_ListDeploymentFilesQueryParams = ListDeploymentFilesQueryParams;
@@ -14710,6 +15036,7 @@ type components_SearchRepoResponse = SearchRepoResponse;
14710
15036
  type components_SearchRepoVariables = SearchRepoVariables;
14711
15037
  type components_StatusError = StatusError;
14712
15038
  type components_StatusQueryParams = StatusQueryParams;
15039
+ type components_StatusResponse = StatusResponse;
14713
15040
  type components_StatusVariables = StatusVariables;
14714
15041
  type components_UpdateCheckError = UpdateCheckError;
14715
15042
  type components_UpdateCheckPathParams = UpdateCheckPathParams;
@@ -14750,6 +15077,7 @@ type components_UploadArtifactError = UploadArtifactError;
14750
15077
  type components_UploadArtifactHeaders = UploadArtifactHeaders;
14751
15078
  type components_UploadArtifactPathParams = UploadArtifactPathParams;
14752
15079
  type components_UploadArtifactQueryParams = UploadArtifactQueryParams;
15080
+ type components_UploadArtifactResponse = UploadArtifactResponse;
14753
15081
  type components_UploadArtifactVariables = UploadArtifactVariables;
14754
15082
  type components_UploadCertError = UploadCertError;
14755
15083
  type components_UploadCertQueryParams = UploadCertQueryParams;
@@ -14853,7 +15181,6 @@ declare const components_joinTeam: typeof joinTeam;
14853
15181
  declare const components_listAliases: typeof listAliases;
14854
15182
  declare const components_listAuthTokens: typeof listAuthTokens;
14855
15183
  declare const components_listDeploymentAliases: typeof listDeploymentAliases;
14856
- declare const components_listDeploymentBuilds: typeof listDeploymentBuilds;
14857
15184
  declare const components_listDeploymentFiles: typeof listDeploymentFiles;
14858
15185
  declare const components_listUserEvents: typeof listUserEvents;
14859
15186
  declare const components_operationsByTag: typeof operationsByTag;
@@ -14893,6 +15220,7 @@ declare namespace components {
14893
15220
  components_ArtifactQueryError as ArtifactQueryError,
14894
15221
  components_ArtifactQueryQueryParams as ArtifactQueryQueryParams,
14895
15222
  components_ArtifactQueryRequestBody as ArtifactQueryRequestBody,
15223
+ components_ArtifactQueryResponse as ArtifactQueryResponse,
14896
15224
  components_ArtifactQueryVariables as ArtifactQueryVariables,
14897
15225
  components_AssignAliasError as AssignAliasError,
14898
15226
  components_AssignAliasPathParams as AssignAliasPathParams,
@@ -15259,11 +15587,6 @@ declare namespace components {
15259
15587
  components_ListDeploymentAliasesQueryParams as ListDeploymentAliasesQueryParams,
15260
15588
  components_ListDeploymentAliasesResponse as ListDeploymentAliasesResponse,
15261
15589
  components_ListDeploymentAliasesVariables as ListDeploymentAliasesVariables,
15262
- components_ListDeploymentBuildsError as ListDeploymentBuildsError,
15263
- components_ListDeploymentBuildsPathParams as ListDeploymentBuildsPathParams,
15264
- components_ListDeploymentBuildsQueryParams as ListDeploymentBuildsQueryParams,
15265
- components_ListDeploymentBuildsResponse as ListDeploymentBuildsResponse,
15266
- components_ListDeploymentBuildsVariables as ListDeploymentBuildsVariables,
15267
15590
  components_ListDeploymentFilesError as ListDeploymentFilesError,
15268
15591
  components_ListDeploymentFilesPathParams as ListDeploymentFilesPathParams,
15269
15592
  components_ListDeploymentFilesQueryParams as ListDeploymentFilesQueryParams,
@@ -15332,6 +15655,7 @@ declare namespace components {
15332
15655
  components_SearchRepoVariables as SearchRepoVariables,
15333
15656
  components_StatusError as StatusError,
15334
15657
  components_StatusQueryParams as StatusQueryParams,
15658
+ components_StatusResponse as StatusResponse,
15335
15659
  components_StatusVariables as StatusVariables,
15336
15660
  components_UpdateCheckError as UpdateCheckError,
15337
15661
  components_UpdateCheckPathParams as UpdateCheckPathParams,
@@ -15372,6 +15696,7 @@ declare namespace components {
15372
15696
  components_UploadArtifactHeaders as UploadArtifactHeaders,
15373
15697
  components_UploadArtifactPathParams as UploadArtifactPathParams,
15374
15698
  components_UploadArtifactQueryParams as UploadArtifactQueryParams,
15699
+ components_UploadArtifactResponse as UploadArtifactResponse,
15375
15700
  components_UploadArtifactVariables as UploadArtifactVariables,
15376
15701
  components_UploadCertError as UploadCertError,
15377
15702
  components_UploadCertQueryParams as UploadCertQueryParams,
@@ -15475,7 +15800,6 @@ declare namespace components {
15475
15800
  components_listAliases as listAliases,
15476
15801
  components_listAuthTokens as listAuthTokens,
15477
15802
  components_listDeploymentAliases as listDeploymentAliases,
15478
- components_listDeploymentBuilds as listDeploymentBuilds,
15479
15803
  components_listDeploymentFiles as listDeploymentFiles,
15480
15804
  components_listUserEvents as listUserEvents,
15481
15805
  components_operationsByTag as operationsByTag,
@@ -15509,10 +15833,10 @@ declare namespace components {
15509
15833
 
15510
15834
  declare const operationsByPath: {
15511
15835
  'POST /v8/artifacts/events': (variables: RecordEventsVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
15512
- 'GET /v8/artifacts/status': (variables: StatusVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
15513
- 'PUT /v8/artifacts/{hash}': (variables: UploadArtifactVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
15514
- 'GET /v8/artifacts/{hash}': (variables: DownloadArtifactVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
15515
- 'POST /v8/artifacts': (variables: ArtifactQueryVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
15836
+ 'GET /v8/artifacts/status': (variables: StatusVariables, signal?: AbortSignal | undefined) => Promise<StatusResponse>;
15837
+ 'PUT /v8/artifacts/{hash}': (variables: UploadArtifactVariables, signal?: AbortSignal | undefined) => Promise<UploadArtifactResponse>;
15838
+ 'GET /v8/artifacts/{hash}': (variables: DownloadArtifactVariables, signal?: AbortSignal | undefined) => Promise<Blob>;
15839
+ 'POST /v8/artifacts': (variables: ArtifactQueryVariables, signal?: AbortSignal | undefined) => Promise<ArtifactQueryResponse>;
15516
15840
  'GET /v13/deployments/{idOrUrl}': (variables: GetDeploymentVariables, signal?: AbortSignal | undefined) => Promise<{
15517
15841
  aliasAssignedAt?: number | boolean | null;
15518
15842
  build: {
@@ -16375,26 +16699,24 @@ declare const operationsByPath: {
16375
16699
  deletedAt?: number | null;
16376
16700
  } | {
16377
16701
  projectSelection: "all" | "selected";
16378
- createdAt: number;
16379
16702
  completedAt?: number;
16703
+ createdAt: number;
16380
16704
  id: string;
16381
16705
  integrationId: string;
16382
16706
  oauthConfiguration?: boolean;
16383
16707
  ownerId: string;
16384
16708
  projects?: string[];
16385
- slug: string;
16386
- teamId?: string | null;
16387
- updatedAt: number;
16388
- userId: string;
16389
- scopes: string[];
16390
- disabledAt?: number;
16391
16709
  source?: "external" | "marketplace" | "deploy-button" | "oauth";
16392
- canConfigureOpenTelemetry?: boolean;
16393
16710
  removedLogDrainsAt?: number;
16394
16711
  removedProjectEnvsAt?: number;
16395
16712
  removedTokensAt?: number;
16396
16713
  removedWebhooksAt?: number;
16714
+ slug: string;
16715
+ teamId?: string | null;
16397
16716
  type: "integration-configuration";
16717
+ updatedAt: number;
16718
+ userId: string;
16719
+ scopes: string[];
16398
16720
  scopesQueue?: {
16399
16721
  scopes: {
16400
16722
  added: ("read:integration-configuration" | "read-write:integration-configuration" | "read:deployment" | "read-write:deployment" | "read-write:deployment-check" | "read:project" | "read-write:project" | "read-write:project-env-vars" | "read-write:global-project-env-vars" | "read:team" | "read:user" | "read-write:log-drain" | "read:domain" | "read-write:domain" | "read-write:edge-config" | "read-write:otel-endpoint" | "read:monitoring")[];
@@ -16404,7 +16726,9 @@ declare const operationsByPath: {
16404
16726
  requestedAt: number;
16405
16727
  confirmedAt?: number;
16406
16728
  }[];
16729
+ disabledAt?: number;
16407
16730
  deletedAt?: number | null;
16731
+ canConfigureOpenTelemetry?: boolean;
16408
16732
  }>;
16409
16733
  'DELETE /v1/integrations/configuration/{id}': (variables: DeleteConfigurationVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16410
16734
  'GET /v2/integrations/log-drains': (variables: GetIntegrationLogDrainsVariables, signal?: AbortSignal | undefined) => Promise<GetIntegrationLogDrainsResponse>;
@@ -16417,7 +16741,7 @@ declare const operationsByPath: {
16417
16741
  projectsMetadata: {
16418
16742
  id: string;
16419
16743
  name: string;
16420
- framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | null;
16744
+ framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
16421
16745
  latestDeployment?: string;
16422
16746
  }[] | null;
16423
16747
  events: ("deployment" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
@@ -16466,7 +16790,6 @@ declare const operationsByPath: {
16466
16790
  'DELETE /v1/teams/{teamId}/members/{uid}': (variables: RemoveTeamMemberVariables, signal?: AbortSignal | undefined) => Promise<RemoveTeamMemberResponse>;
16467
16791
  'GET /v6/deployments/{id}/files': (variables: ListDeploymentFilesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentFilesResponse>;
16468
16792
  'GET /v6/deployments/{id}/files/{fileId}': (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16469
- 'GET /v11/deployments/{deploymentId}/builds': (variables: ListDeploymentBuildsVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentBuildsResponse>;
16470
16793
  'POST /v1/deployments/{deploymentId}/checks': (variables: CreateCheckVariables, signal?: AbortSignal | undefined) => Promise<CreateCheckResponse>;
16471
16794
  'GET /v1/deployments/{deploymentId}/checks': (variables: GetAllChecksVariables, signal?: AbortSignal | undefined) => Promise<GetAllChecksResponse>;
16472
16795
  'GET /v1/deployments/{deploymentId}/checks/{checkId}': (variables: GetCheckVariables, signal?: AbortSignal | undefined) => Promise<GetCheckResponse>;
@@ -16509,10 +16832,10 @@ declare class VercelApi {
16509
16832
  };
16510
16833
  request<Endpoint extends keyof typeof operationsByPath>(endpoint: Endpoint, params: RequestEndpointParams<Endpoint>): Promise<ReturnType<{
16511
16834
  'POST /v8/artifacts/events': (variables: RecordEventsVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16512
- 'GET /v8/artifacts/status': (variables: StatusVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16513
- 'PUT /v8/artifacts/{hash}': (variables: UploadArtifactVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16514
- 'GET /v8/artifacts/{hash}': (variables: DownloadArtifactVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16515
- 'POST /v8/artifacts': (variables: ArtifactQueryVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
16835
+ 'GET /v8/artifacts/status': (variables: StatusVariables, signal?: AbortSignal | undefined) => Promise<StatusResponse>;
16836
+ 'PUT /v8/artifacts/{hash}': (variables: UploadArtifactVariables, signal?: AbortSignal | undefined) => Promise<UploadArtifactResponse>;
16837
+ 'GET /v8/artifacts/{hash}': (variables: DownloadArtifactVariables, signal?: AbortSignal | undefined) => Promise<Blob>;
16838
+ 'POST /v8/artifacts': (variables: ArtifactQueryVariables, signal?: AbortSignal | undefined) => Promise<ArtifactQueryResponse>;
16516
16839
  'GET /v13/deployments/{idOrUrl}': (variables: GetDeploymentVariables, signal?: AbortSignal | undefined) => Promise<{
16517
16840
  aliasAssignedAt?: number | boolean | null;
16518
16841
  build: {
@@ -17375,26 +17698,24 @@ declare class VercelApi {
17375
17698
  deletedAt?: number | null;
17376
17699
  } | {
17377
17700
  projectSelection: "all" | "selected";
17378
- createdAt: number;
17379
17701
  completedAt?: number;
17702
+ createdAt: number;
17380
17703
  id: string;
17381
17704
  integrationId: string;
17382
17705
  oauthConfiguration?: boolean;
17383
17706
  ownerId: string;
17384
17707
  projects?: string[];
17385
- slug: string;
17386
- teamId?: string | null;
17387
- updatedAt: number;
17388
- userId: string;
17389
- scopes: string[];
17390
- disabledAt?: number;
17391
17708
  source?: "external" | "marketplace" | "deploy-button" | "oauth";
17392
- canConfigureOpenTelemetry?: boolean;
17393
17709
  removedLogDrainsAt?: number;
17394
17710
  removedProjectEnvsAt?: number;
17395
17711
  removedTokensAt?: number;
17396
17712
  removedWebhooksAt?: number;
17713
+ slug: string;
17714
+ teamId?: string | null;
17397
17715
  type: "integration-configuration";
17716
+ updatedAt: number;
17717
+ userId: string;
17718
+ scopes: string[];
17398
17719
  scopesQueue?: {
17399
17720
  scopes: {
17400
17721
  added: ("read:integration-configuration" | "read-write:integration-configuration" | "read:deployment" | "read-write:deployment" | "read-write:deployment-check" | "read:project" | "read-write:project" | "read-write:project-env-vars" | "read-write:global-project-env-vars" | "read:team" | "read:user" | "read-write:log-drain" | "read:domain" | "read-write:domain" | "read-write:edge-config" | "read-write:otel-endpoint" | "read:monitoring")[];
@@ -17404,7 +17725,9 @@ declare class VercelApi {
17404
17725
  requestedAt: number;
17405
17726
  confirmedAt?: number;
17406
17727
  }[];
17728
+ disabledAt?: number;
17407
17729
  deletedAt?: number | null;
17730
+ canConfigureOpenTelemetry?: boolean;
17408
17731
  }>;
17409
17732
  'DELETE /v1/integrations/configuration/{id}': (variables: DeleteConfigurationVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
17410
17733
  'GET /v2/integrations/log-drains': (variables: GetIntegrationLogDrainsVariables, signal?: AbortSignal | undefined) => Promise<GetIntegrationLogDrainsResponse>;
@@ -17417,7 +17740,7 @@ declare class VercelApi {
17417
17740
  projectsMetadata: {
17418
17741
  id: string;
17419
17742
  name: string;
17420
- framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | null;
17743
+ framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
17421
17744
  latestDeployment?: string;
17422
17745
  }[] | null;
17423
17746
  events: ("deployment" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
@@ -17466,7 +17789,6 @@ declare class VercelApi {
17466
17789
  'DELETE /v1/teams/{teamId}/members/{uid}': (variables: RemoveTeamMemberVariables, signal?: AbortSignal | undefined) => Promise<RemoveTeamMemberResponse>;
17467
17790
  'GET /v6/deployments/{id}/files': (variables: ListDeploymentFilesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentFilesResponse>;
17468
17791
  'GET /v6/deployments/{id}/files/{fileId}': (variables: GetDeploymentFileContentsVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
17469
- 'GET /v11/deployments/{deploymentId}/builds': (variables: ListDeploymentBuildsVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentBuildsResponse>;
17470
17792
  'POST /v1/deployments/{deploymentId}/checks': (variables: CreateCheckVariables, signal?: AbortSignal | undefined) => Promise<CreateCheckResponse>;
17471
17793
  'GET /v1/deployments/{deploymentId}/checks': (variables: GetAllChecksVariables, signal?: AbortSignal | undefined) => Promise<GetAllChecksResponse>;
17472
17794
  'GET /v1/deployments/{deploymentId}/checks/{checkId}': (variables: GetCheckVariables, signal?: AbortSignal | undefined) => Promise<GetCheckResponse>;