vercel-api-js 0.1.18 → 0.1.19

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
@@ -237,13 +237,13 @@ type TeamLimited = {
237
237
  confirmed: boolean;
238
238
  confirmedAt: number;
239
239
  accessRequestedAt?: number;
240
- role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
240
+ role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
241
241
  teamId?: string;
242
242
  uid: string;
243
243
  createdAt: number;
244
244
  created: number;
245
245
  joinedFrom?: {
246
- origin: 'link' | 'import' | 'saml' | 'mail' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'dsync' | 'feedback' | 'organization-teams';
246
+ origin: 'link' | 'saml' | 'mail' | 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'dsync' | 'feedback' | 'organization-teams';
247
247
  commitId?: string;
248
248
  repoId?: string;
249
249
  repoPath?: string;
@@ -259,13 +259,13 @@ type TeamLimited = {
259
259
  confirmed: boolean;
260
260
  confirmedAt?: number;
261
261
  accessRequestedAt: number;
262
- role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
262
+ role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
263
263
  teamId?: string;
264
264
  uid: string;
265
265
  createdAt: number;
266
266
  created: number;
267
267
  joinedFrom?: {
268
- origin: 'link' | 'import' | 'saml' | 'mail' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'dsync' | 'feedback' | 'organization-teams';
268
+ origin: 'link' | 'saml' | 'mail' | 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'dsync' | 'feedback' | 'organization-teams';
269
269
  commitId?: string;
270
270
  repoId?: string;
271
271
  repoPath?: string;
@@ -345,40 +345,6 @@ type AuthUser = {
345
345
  name?: string | null;
346
346
  overdue?: boolean | null;
347
347
  invoiceItems?: {
348
- /**
349
- * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
350
- */
351
- pro?: {
352
- tier?: number;
353
- price: number;
354
- quantity: number;
355
- name?: string;
356
- hidden: boolean;
357
- createdAt?: number;
358
- disabledAt?: number | null;
359
- frequency?: {
360
- interval: 'month';
361
- intervalCount: 1 | 2 | 3 | 6 | 12;
362
- };
363
- maxQuantity?: number;
364
- };
365
- /**
366
- * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
367
- */
368
- enterprise?: {
369
- tier?: number;
370
- price: number;
371
- quantity: number;
372
- name?: string;
373
- hidden: boolean;
374
- createdAt?: number;
375
- disabledAt?: number | null;
376
- frequency?: {
377
- interval: 'month';
378
- intervalCount: 1 | 2 | 3 | 6 | 12;
379
- };
380
- maxQuantity?: number;
381
- };
382
348
  /**
383
349
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
384
350
  */
@@ -399,7 +365,7 @@ type AuthUser = {
399
365
  /**
400
366
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
401
367
  */
402
- saml?: {
368
+ webAnalytics?: {
403
369
  tier?: number;
404
370
  price: number;
405
371
  quantity: number;
@@ -416,7 +382,7 @@ type AuthUser = {
416
382
  /**
417
383
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
418
384
  */
419
- teamSeats?: {
385
+ enterprise?: {
420
386
  tier?: number;
421
387
  price: number;
422
388
  quantity: number;
@@ -433,7 +399,7 @@ type AuthUser = {
433
399
  /**
434
400
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
435
401
  */
436
- customCerts?: {
402
+ pro?: {
437
403
  tier?: number;
438
404
  price: number;
439
405
  quantity: number;
@@ -450,7 +416,7 @@ type AuthUser = {
450
416
  /**
451
417
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
452
418
  */
453
- previewDeploymentSuffix?: {
419
+ analytics?: {
454
420
  tier?: number;
455
421
  price: number;
456
422
  quantity: number;
@@ -467,7 +433,7 @@ type AuthUser = {
467
433
  /**
468
434
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
469
435
  */
470
- passwordProtection?: {
436
+ monitoring?: {
471
437
  tier?: number;
472
438
  price: number;
473
439
  quantity: number;
@@ -484,7 +450,7 @@ type AuthUser = {
484
450
  /**
485
451
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
486
452
  */
487
- ssoProtection?: {
453
+ passwordProtection?: {
488
454
  tier?: number;
489
455
  price: number;
490
456
  quantity: number;
@@ -501,7 +467,7 @@ type AuthUser = {
501
467
  /**
502
468
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
503
469
  */
504
- analytics?: {
470
+ previewDeploymentSuffix?: {
505
471
  tier?: number;
506
472
  price: number;
507
473
  quantity: number;
@@ -518,7 +484,7 @@ type AuthUser = {
518
484
  /**
519
485
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
520
486
  */
521
- monitoring?: {
487
+ saml?: {
522
488
  tier?: number;
523
489
  price: number;
524
490
  quantity: number;
@@ -535,7 +501,7 @@ type AuthUser = {
535
501
  /**
536
502
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
537
503
  */
538
- webAnalytics?: {
504
+ teamSeats?: {
539
505
  tier?: number;
540
506
  price: number;
541
507
  quantity: number;
@@ -557,6 +523,7 @@ type AuthUser = {
557
523
  name?: string;
558
524
  hidden: boolean;
559
525
  disabledAt?: number | null;
526
+ enabledAt?: number | null;
560
527
  };
561
528
  artifacts?: {
562
529
  tier?: number;
@@ -566,6 +533,7 @@ type AuthUser = {
566
533
  name?: string;
567
534
  hidden: boolean;
568
535
  disabledAt?: number | null;
536
+ enabledAt?: number | null;
569
537
  };
570
538
  bandwidth?: {
571
539
  tier?: number;
@@ -575,8 +543,9 @@ type AuthUser = {
575
543
  name?: string;
576
544
  hidden: boolean;
577
545
  disabledAt?: number | null;
546
+ enabledAt?: number | null;
578
547
  };
579
- builds?: {
548
+ cronJobInvocation?: {
580
549
  tier?: number;
581
550
  price: number;
582
551
  batch: number;
@@ -584,8 +553,9 @@ type AuthUser = {
584
553
  name?: string;
585
554
  hidden: boolean;
586
555
  disabledAt?: number | null;
556
+ enabledAt?: number | null;
587
557
  };
588
- edgeMiddlewareInvocations?: {
558
+ dataCacheRead?: {
589
559
  tier?: number;
590
560
  price: number;
591
561
  batch: number;
@@ -593,8 +563,9 @@ type AuthUser = {
593
563
  name?: string;
594
564
  hidden: boolean;
595
565
  disabledAt?: number | null;
566
+ enabledAt?: number | null;
596
567
  };
597
- edgeFunctionExecutionUnits?: {
568
+ dataCacheRevalidation?: {
598
569
  tier?: number;
599
570
  price: number;
600
571
  batch: number;
@@ -602,8 +573,9 @@ type AuthUser = {
602
573
  name?: string;
603
574
  hidden: boolean;
604
575
  disabledAt?: number | null;
576
+ enabledAt?: number | null;
605
577
  };
606
- monitoringMetric?: {
578
+ dataCacheWrite?: {
607
579
  tier?: number;
608
580
  price: number;
609
581
  batch: number;
@@ -611,8 +583,9 @@ type AuthUser = {
611
583
  name?: string;
612
584
  hidden: boolean;
613
585
  disabledAt?: number | null;
586
+ enabledAt?: number | null;
614
587
  };
615
- serverlessFunctionExecution?: {
588
+ edgeConfigRead?: {
616
589
  tier?: number;
617
590
  price: number;
618
591
  batch: number;
@@ -620,8 +593,9 @@ type AuthUser = {
620
593
  name?: string;
621
594
  hidden: boolean;
622
595
  disabledAt?: number | null;
596
+ enabledAt?: number | null;
623
597
  };
624
- sourceImages?: {
598
+ edgeConfigWrite?: {
625
599
  tier?: number;
626
600
  price: number;
627
601
  batch: number;
@@ -629,8 +603,9 @@ type AuthUser = {
629
603
  name?: string;
630
604
  hidden: boolean;
631
605
  disabledAt?: number | null;
606
+ enabledAt?: number | null;
632
607
  };
633
- webAnalyticsEvent?: {
608
+ edgeFunctionExecutionUnits?: {
634
609
  tier?: number;
635
610
  price: number;
636
611
  batch: number;
@@ -638,8 +613,9 @@ type AuthUser = {
638
613
  name?: string;
639
614
  hidden: boolean;
640
615
  disabledAt?: number | null;
616
+ enabledAt?: number | null;
641
617
  };
642
- edgeConfigRead?: {
618
+ edgeMiddlewareInvocations?: {
643
619
  tier?: number;
644
620
  price: number;
645
621
  batch: number;
@@ -647,8 +623,9 @@ type AuthUser = {
647
623
  name?: string;
648
624
  hidden: boolean;
649
625
  disabledAt?: number | null;
626
+ enabledAt?: number | null;
650
627
  };
651
- edgeConfigWrite?: {
628
+ monitoringMetric?: {
652
629
  tier?: number;
653
630
  price: number;
654
631
  batch: number;
@@ -656,8 +633,9 @@ type AuthUser = {
656
633
  name?: string;
657
634
  hidden: boolean;
658
635
  disabledAt?: number | null;
636
+ enabledAt?: number | null;
659
637
  };
660
- cronJobInvocation?: {
638
+ postgresComputeTime?: {
661
639
  tier?: number;
662
640
  price: number;
663
641
  batch: number;
@@ -665,8 +643,9 @@ type AuthUser = {
665
643
  name?: string;
666
644
  hidden: boolean;
667
645
  disabledAt?: number | null;
646
+ enabledAt?: number | null;
668
647
  };
669
- postgresComputeTime?: {
648
+ postgresDatabase?: {
670
649
  tier?: number;
671
650
  price: number;
672
651
  batch: number;
@@ -674,6 +653,7 @@ type AuthUser = {
674
653
  name?: string;
675
654
  hidden: boolean;
676
655
  disabledAt?: number | null;
656
+ enabledAt?: number | null;
677
657
  };
678
658
  postgresDataStorage?: {
679
659
  tier?: number;
@@ -683,6 +663,7 @@ type AuthUser = {
683
663
  name?: string;
684
664
  hidden: boolean;
685
665
  disabledAt?: number | null;
666
+ enabledAt?: number | null;
686
667
  };
687
668
  postgresDataTransfer?: {
688
669
  tier?: number;
@@ -692,6 +673,7 @@ type AuthUser = {
692
673
  name?: string;
693
674
  hidden: boolean;
694
675
  disabledAt?: number | null;
676
+ enabledAt?: number | null;
695
677
  };
696
678
  postgresWrittenData?: {
697
679
  tier?: number;
@@ -701,8 +683,9 @@ type AuthUser = {
701
683
  name?: string;
702
684
  hidden: boolean;
703
685
  disabledAt?: number | null;
686
+ enabledAt?: number | null;
704
687
  };
705
- storageRedisTotalCommands?: {
688
+ serverlessFunctionExecution?: {
706
689
  tier?: number;
707
690
  price: number;
708
691
  batch: number;
@@ -710,8 +693,9 @@ type AuthUser = {
710
693
  name?: string;
711
694
  hidden: boolean;
712
695
  disabledAt?: number | null;
696
+ enabledAt?: number | null;
713
697
  };
714
- storageRedisTotalBandwidthInBytes?: {
698
+ sourceImages?: {
715
699
  tier?: number;
716
700
  price: number;
717
701
  batch: number;
@@ -719,8 +703,9 @@ type AuthUser = {
719
703
  name?: string;
720
704
  hidden: boolean;
721
705
  disabledAt?: number | null;
706
+ enabledAt?: number | null;
722
707
  };
723
- storageRedisTotalDailyAvgStorageInBytes?: {
708
+ storageRedisTotalBandwidthInBytes?: {
724
709
  tier?: number;
725
710
  price: number;
726
711
  batch: number;
@@ -728,8 +713,9 @@ type AuthUser = {
728
713
  name?: string;
729
714
  hidden: boolean;
730
715
  disabledAt?: number | null;
716
+ enabledAt?: number | null;
731
717
  };
732
- storageRedisTotalDatabases?: {
718
+ storageRedisTotalCommands?: {
733
719
  tier?: number;
734
720
  price: number;
735
721
  batch: number;
@@ -737,8 +723,9 @@ type AuthUser = {
737
723
  name?: string;
738
724
  hidden: boolean;
739
725
  disabledAt?: number | null;
726
+ enabledAt?: number | null;
740
727
  };
741
- dataCacheRead?: {
728
+ storageRedisTotalDailyAvgStorageInBytes?: {
742
729
  tier?: number;
743
730
  price: number;
744
731
  batch: number;
@@ -746,8 +733,9 @@ type AuthUser = {
746
733
  name?: string;
747
734
  hidden: boolean;
748
735
  disabledAt?: number | null;
736
+ enabledAt?: number | null;
749
737
  };
750
- dataCacheRevalidation?: {
738
+ storageRedisTotalDatabases?: {
751
739
  tier?: number;
752
740
  price: number;
753
741
  batch: number;
@@ -755,8 +743,9 @@ type AuthUser = {
755
743
  name?: string;
756
744
  hidden: boolean;
757
745
  disabledAt?: number | null;
746
+ enabledAt?: number | null;
758
747
  };
759
- dataCacheWrite?: {
748
+ webAnalyticsEvent?: {
760
749
  tier?: number;
761
750
  price: number;
762
751
  batch: number;
@@ -764,6 +753,7 @@ type AuthUser = {
764
753
  name?: string;
765
754
  hidden: boolean;
766
755
  disabledAt?: number | null;
756
+ enabledAt?: number | null;
767
757
  };
768
758
  } | null;
769
759
  invoiceSettings?: {
@@ -807,7 +797,7 @@ type AuthUser = {
807
797
  analyticsSpendLimitInDollars?: number | null;
808
798
  } | null;
809
799
  purchaseOrder?: string | null;
810
- status?: 'active' | 'canceled' | 'trialing' | 'overdue' | 'expired';
800
+ status?: 'active' | 'trialing' | 'overdue' | 'expired' | 'canceled';
811
801
  pricingExperiment?: 'august-2022';
812
802
  } | null;
813
803
  /**
@@ -850,6 +840,10 @@ type AuthUser = {
850
840
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
851
841
  */
852
842
  edgeFunctionExecutionTimeoutMs?: number;
843
+ /**
844
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
845
+ */
846
+ serverlessFunctionDefaultMaxExecutionTime?: number;
853
847
  /**
854
848
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
855
849
  */
@@ -872,7 +866,7 @@ type AuthUser = {
872
866
  */
873
867
  activeDashboardViews?: {
874
868
  scopeId: string;
875
- viewPreference: 'list' | 'cards';
869
+ viewPreference: 'cards' | 'list';
876
870
  }[];
877
871
  importFlowGitNamespace?: string | number | null;
878
872
  importFlowGitNamespaceId?: string | number | null;
@@ -919,6 +913,16 @@ type AuthUser = {
919
913
  dataCache?: {
920
914
  excessBillingEnabled?: boolean;
921
915
  };
916
+ /**
917
+ * Feature blocks for the user
918
+ */
919
+ featureBlocks?: {
920
+ webAnalytics?: {
921
+ blockedFrom?: number;
922
+ blockedUntil?: number;
923
+ isCurrentlyBlocked: boolean;
924
+ };
925
+ };
922
926
  /**
923
927
  * The User's unique identifier.
924
928
  *
@@ -1879,14 +1883,17 @@ type UpdateProjectDataCacheResponse = {
1879
1883
  spendLimitInDollars?: number | null;
1880
1884
  };
1881
1885
  autoExposeSystemEnvs?: boolean;
1886
+ autoAssignCustomDomains?: boolean;
1887
+ autoAssignCustomDomainsUpdatedBy?: string;
1882
1888
  buildCommand?: string | null;
1883
1889
  commandForIgnoringBuildStep?: string | null;
1884
1890
  connectConfigurationId?: string | null;
1885
1891
  connectBuildsEnabled?: boolean;
1886
1892
  createdAt?: number;
1887
1893
  dataCache?: {
1888
- userEnabled: boolean;
1889
- enableAt: number | null;
1894
+ userDisabled: boolean;
1895
+ storageSizeBytes?: number | null;
1896
+ unlimited?: boolean;
1890
1897
  };
1891
1898
  crons?: {
1892
1899
  /**
@@ -2000,6 +2007,7 @@ type UpdateProjectDataCacheResponse = {
2000
2007
  src?: string;
2001
2008
  dest?: string;
2002
2009
  }[];
2010
+ connectBuildsEnabled?: boolean;
2003
2011
  connectConfigurationId?: string;
2004
2012
  createdAt: number;
2005
2013
  createdIn: string;
@@ -2021,6 +2029,7 @@ type UpdateProjectDataCacheResponse = {
2021
2029
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
2022
2030
  private: boolean;
2023
2031
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
2032
+ readySubstate?: 'STAGED' | 'PROMOTED';
2024
2033
  requestedAt?: number;
2025
2034
  target?: string | null;
2026
2035
  teamId?: string | null;
@@ -2124,6 +2133,7 @@ type UpdateProjectDataCacheResponse = {
2124
2133
  src?: string;
2125
2134
  dest?: string;
2126
2135
  }[];
2136
+ connectBuildsEnabled?: boolean;
2127
2137
  connectConfigurationId?: string;
2128
2138
  createdAt: number;
2129
2139
  createdIn: string;
@@ -2145,6 +2155,7 @@ type UpdateProjectDataCacheResponse = {
2145
2155
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
2146
2156
  private: boolean;
2147
2157
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
2158
+ readySubstate?: 'STAGED' | 'PROMOTED';
2148
2159
  requestedAt?: number;
2149
2160
  target?: string | null;
2150
2161
  teamId?: string | null;
@@ -2173,8 +2184,6 @@ type UpdateProjectDataCacheResponse = {
2173
2184
  enablePreviewFeedback?: boolean | null;
2174
2185
  permissions?: {
2175
2186
  aliasGlobal?: ACLAction[];
2176
- aliasProject?: ACLAction[];
2177
- analytics?: ACLAction[];
2178
2187
  analyticsSampling?: ACLAction[];
2179
2188
  analyticsUsage?: ACLAction[];
2180
2189
  auditLog?: ACLAction[];
@@ -2192,16 +2201,6 @@ type UpdateProjectDataCacheResponse = {
2192
2201
  concurrentBuilds?: ACLAction[];
2193
2202
  connect?: ACLAction[];
2194
2203
  connectConfiguration?: ACLAction[];
2195
- connectConfigurationLink?: ACLAction[];
2196
- deployment?: ACLAction[];
2197
- deploymentProductionGit?: ACLAction[];
2198
- deploymentCheck?: ACLAction[];
2199
- deploymentCheckPreview?: ACLAction[];
2200
- deploymentPreview?: ACLAction[];
2201
- deploymentPrivate?: ACLAction[];
2202
- deploymentCheckReRunFromProductionBranch?: ACLAction[];
2203
- deploymentPromote?: ACLAction[];
2204
- deploymentRollback?: ACLAction[];
2205
2204
  domain?: ACLAction[];
2206
2205
  domainAcceptDelegation?: ACLAction[];
2207
2206
  domainAuthCodes?: ACLAction[];
@@ -2212,21 +2211,23 @@ type UpdateProjectDataCacheResponse = {
2212
2211
  domainRecord?: ACLAction[];
2213
2212
  domainTransferIn?: ACLAction[];
2214
2213
  event?: ACLAction[];
2214
+ ownEvent?: ACLAction[];
2215
2215
  sensitiveEnvironmentVariablePolicy?: ACLAction[];
2216
2216
  fileUpload?: ACLAction[];
2217
2217
  gitRepository?: ACLAction[];
2218
2218
  ipBlocking?: ACLAction[];
2219
- trustedIps?: ACLAction[];
2220
2219
  integration?: ACLAction[];
2221
2220
  integrationConfiguration?: ACLAction[];
2222
2221
  integrationConfigurationTransfer?: ACLAction[];
2223
2222
  integrationConfigurationProjects?: ACLAction[];
2224
2223
  integrationVercelConfigurationOverride?: ACLAction[];
2225
- job?: ACLAction[];
2224
+ jobGlobal?: ACLAction[];
2226
2225
  logDrain?: ACLAction[];
2227
2226
  Monitoring?: ACLAction[];
2228
2227
  monitoringQuery?: ACLAction[];
2229
2228
  monitoringChart?: ACLAction[];
2229
+ monitoringAlert?: ACLAction[];
2230
+ notificationDeploymentFailed?: ACLAction[];
2230
2231
  notificationDomainConfiguration?: ACLAction[];
2231
2232
  notificationDomainExpire?: ACLAction[];
2232
2233
  notificationDomainMoved?: ACLAction[];
@@ -2234,31 +2235,21 @@ type UpdateProjectDataCacheResponse = {
2234
2235
  notificationDomainRenewal?: ACLAction[];
2235
2236
  notificationDomainTransfer?: ACLAction[];
2236
2237
  notificationDomainUnverified?: ACLAction[];
2238
+ NotificationMonitoringAlert?: ACLAction[];
2237
2239
  notificationPaymentFailed?: ACLAction[];
2238
2240
  notificationUsageAlert?: ACLAction[];
2239
2241
  notificationSpendCap?: ACLAction[];
2240
2242
  openTelemetryEndpoint?: ACLAction[];
2241
- passwordProtection?: ACLAction[];
2242
2243
  paymentMethod?: ACLAction[];
2243
2244
  permissions?: ACLAction[];
2244
2245
  postgres?: ACLAction[];
2245
2246
  previewDeploymentSuffix?: ACLAction[];
2246
2247
  proTrialOnboarding?: ACLAction[];
2247
- project?: ACLAction[];
2248
- projectDeploymentHook?: ACLAction[];
2249
- projectDomain?: ACLAction[];
2250
- projectDomainMove?: ACLAction[];
2251
- projectEnvVars?: ACLAction[];
2252
- projectEnvVarsUnownedByIntegration?: ACLAction[];
2248
+ seawallConfig?: ACLAction[];
2253
2249
  sharedEnvVars?: ACLAction[];
2254
- projectEnvVarsProduction?: ACLAction[];
2255
2250
  sharedEnvVarsProduction?: ACLAction[];
2256
- projectIntegrationConfiguration?: ACLAction[];
2257
- projectLink?: ACLAction[];
2258
- projectMember?: ACLAction[];
2259
- projectProductionBranch?: ACLAction[];
2260
- projectTransfer?: ACLAction[];
2261
- projectProtectionBypass?: ACLAction[];
2251
+ space?: ACLAction[];
2252
+ passwordProtectionInvoiceItem?: ACLAction[];
2262
2253
  rateLimit?: ACLAction[];
2263
2254
  redis?: ACLAction[];
2264
2255
  remoteCaching?: ACLAction[];
@@ -2268,8 +2259,7 @@ type UpdateProjectDataCacheResponse = {
2268
2259
  spendCapState?: ACLAction[];
2269
2260
  supportCase?: ACLAction[];
2270
2261
  supportCaseComment?: ACLAction[];
2271
- DataCacheNamespace?: ACLAction[];
2272
- DataCacheBillingSettings?: ACLAction[];
2262
+ dataCacheBillingSettings?: ACLAction[];
2273
2263
  team?: ACLAction[];
2274
2264
  teamAccessRequest?: ACLAction[];
2275
2265
  teamFellowMembership?: ACLAction[];
@@ -2282,7 +2272,6 @@ type UpdateProjectDataCacheResponse = {
2282
2272
  usage?: ACLAction[];
2283
2273
  user?: ACLAction[];
2284
2274
  userConnection?: ACLAction[];
2285
- webAnalytics?: ACLAction[];
2286
2275
  webAnalyticsPlan?: ACLAction[];
2287
2276
  edgeConfig?: ACLAction[];
2288
2277
  edgeConfigItem?: ACLAction[];
@@ -2290,14 +2279,41 @@ type UpdateProjectDataCacheResponse = {
2290
2279
  webhook?: ACLAction[];
2291
2280
  ['webhook-event']?: ACLAction[];
2292
2281
  endpointVerification?: ACLAction[];
2282
+ aliasProject?: ACLAction[];
2293
2283
  aliasProtectionBypass?: ACLAction[];
2284
+ connectConfigurationLink?: ACLAction[];
2285
+ dataCacheNamespace?: ACLAction[];
2286
+ deployment?: ACLAction[];
2287
+ deploymentCheck?: ACLAction[];
2288
+ deploymentCheckPreview?: ACLAction[];
2289
+ deploymentCheckReRunFromProductionBranch?: ACLAction[];
2290
+ deploymentProductionGit?: ACLAction[];
2291
+ deploymentPreview?: ACLAction[];
2292
+ deploymentPrivate?: ACLAction[];
2293
+ deploymentPromote?: ACLAction[];
2294
+ deploymentRollback?: ACLAction[];
2295
+ passwordProtection?: ACLAction[];
2296
+ job?: ACLAction[];
2297
+ project?: ACLAction[];
2298
+ projectAnalyticsSampling?: ACLAction[];
2299
+ projectDeploymentHook?: ACLAction[];
2300
+ projectDomain?: ACLAction[];
2301
+ projectDomainMove?: ACLAction[];
2302
+ projectEnvVars?: ACLAction[];
2303
+ projectEnvVarsProduction?: ACLAction[];
2304
+ projectEnvVarsUnownedByIntegration?: ACLAction[];
2305
+ projectIntegrationConfiguration?: ACLAction[];
2306
+ projectLink?: ACLAction[];
2307
+ projectMember?: ACLAction[];
2308
+ projectPermissions?: ACLAction[];
2309
+ projectProductionBranch?: ACLAction[];
2310
+ projectTransfer?: ACLAction[];
2311
+ projectProtectionBypass?: ACLAction[];
2312
+ analytics?: ACLAction[];
2313
+ trustedIps?: ACLAction[];
2314
+ webAnalytics?: ACLAction[];
2294
2315
  };
2295
- lastRollbackTarget?: {
2296
- fromDeploymentId: string;
2297
- toDeploymentId: string;
2298
- jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
2299
- requestedAt: number;
2300
- } | null;
2316
+ lastRollbackTarget?: Record<string, any> | null;
2301
2317
  lastAliasRequest?: {
2302
2318
  fromDeploymentId: string;
2303
2319
  toDeploymentId: string;
@@ -2310,7 +2326,13 @@ type UpdateProjectDataCacheResponse = {
2310
2326
  [key: string]: {
2311
2327
  createdAt: number;
2312
2328
  createdBy: string;
2313
- scope?: 'automation-bypass' | 'shareable-link';
2329
+ scope: 'shareable-link' | 'automation-bypass';
2330
+ } | {
2331
+ createdAt: number;
2332
+ lastUpdatedAt: number;
2333
+ lastUpdatedBy: string;
2334
+ access: 'requested' | 'granted';
2335
+ scope: 'user';
2314
2336
  };
2315
2337
  };
2316
2338
  hasActiveBranches?: boolean;
@@ -2321,15 +2343,27 @@ type UpdateProjectDataCacheResponse = {
2321
2343
  note?: string;
2322
2344
  }[];
2323
2345
  protectionMode: 'additional' | 'exclusive';
2346
+ } | {
2347
+ deploymentType: 'preview' | 'all';
2324
2348
  } | null;
2349
+ gitComments?: {
2350
+ /**
2351
+ * Whether the Vercel bot should comment on PRs
2352
+ */
2353
+ onPullRequest: boolean;
2354
+ /**
2355
+ * Whether the Vercel bot should comment on commits
2356
+ */
2357
+ onCommit: boolean;
2358
+ };
2325
2359
  };
2326
2360
  type UpdateProjectDataCacheRequestBody = {
2327
2361
  /**
2328
- * Enable or disable data cache for the project
2362
+ * Enable or disable data cache for the project - default: false
2329
2363
  *
2330
2364
  * @example true
2331
2365
  */
2332
- enabled?: boolean;
2366
+ disabled?: boolean;
2333
2367
  };
2334
2368
  type UpdateProjectDataCacheVariables = {
2335
2369
  body?: UpdateProjectDataCacheRequestBody;
@@ -2534,7 +2568,6 @@ type GetDeploymentVariables = {
2534
2568
  * Retrieves information for a deployment either by supplying its ID (`id` property) or Hostname (`url` property). Additional details will be included when the authenticated user is an owner of the deployment.
2535
2569
  */
2536
2570
  declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortSignal) => Promise<{
2537
- aliasAssignedAt?: number | boolean | null;
2538
2571
  build: {
2539
2572
  /**
2540
2573
  * The keys of the environment variables that were assigned during the build phase.
@@ -2544,6 +2577,10 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2544
2577
  env: string[];
2545
2578
  };
2546
2579
  builds?: Record<string, any>[];
2580
+ /**
2581
+ * The flag saying if Vercel Connect configuration is used for builds
2582
+ */
2583
+ connectBuildsEnabled?: boolean;
2547
2584
  /**
2548
2585
  * The ID of Vercel Connect configuration used for this deployment
2549
2586
  */
@@ -2719,64 +2756,161 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2719
2756
  private: boolean;
2720
2757
  ownerType: 'team' | 'user';
2721
2758
  } | null;
2759
+ aliasAssignedAt?: number | boolean | null;
2760
+ lambdas?: {
2761
+ id: string;
2762
+ createdAt?: number;
2763
+ entrypoint?: string | null;
2764
+ readyState?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY';
2765
+ readyStateAt?: number;
2766
+ output: {
2767
+ path: string;
2768
+ functionName: string;
2769
+ }[];
2770
+ }[];
2722
2771
  /**
2723
- * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
2772
+ * A boolean representing if the deployment is public or not. By default this is `false`
2773
+ *
2774
+ * @example false
2724
2775
  */
2725
- alias: string[];
2776
+ public: boolean;
2726
2777
  /**
2727
- * A boolean that will be true when the aliases from the alias property were assigned successfully
2778
+ * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
2728
2779
  *
2729
- * @example true
2780
+ * @example READY
2730
2781
  */
2731
- aliasAssigned: boolean;
2782
+ readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
2732
2783
  /**
2733
- * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
2784
+ * The substate of the deployment when the state is "READY"
2734
2785
  *
2735
- * @example null
2786
+ * @example STAGED
2736
2787
  */
2737
- aliasError?: {
2738
- code: string;
2739
- message: string;
2740
- } | null;
2741
- aliasFinal?: string | null;
2742
- aliasWarning?: {
2743
- code: string;
2744
- message: string;
2745
- link?: string;
2746
- action?: string;
2747
- } | null;
2748
- autoAssignCustomDomains?: boolean;
2749
- automaticAliases?: string[];
2750
- bootedAt: number;
2751
- buildErrorAt?: number;
2752
- buildingAt: number;
2753
- canceledAt?: number;
2754
- checksState?: 'registered' | 'running' | 'completed';
2755
- checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
2788
+ readySubstate?: 'STAGED' | 'PROMOTED';
2756
2789
  /**
2757
- * A number containing the date when the deployment was created in milliseconds
2790
+ * The regions the deployment exists in
2758
2791
  *
2759
- * @example 1540257589405
2792
+ * @example sfo1
2760
2793
  */
2761
- createdAt: number;
2794
+ regions: string[];
2762
2795
  /**
2763
- * Information about the deployment creator
2796
+ * Where was the deployment created from
2797
+ *
2798
+ * @example cli
2764
2799
  */
2765
- creator: {
2800
+ source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo';
2801
+ /**
2802
+ * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned
2803
+ *
2804
+ * @example null
2805
+ */
2806
+ target?: 'staging' | 'production' | null;
2807
+ /**
2808
+ * The team that owns the deployment if any
2809
+ */
2810
+ team?: {
2766
2811
  /**
2767
- * The ID of the user that created the deployment
2812
+ * The ID of the team owner
2768
2813
  *
2769
- * @example 96SnxkFiMyVKsK3pnoHfx3Hz
2814
+ * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
2770
2815
  */
2771
- uid: string;
2816
+ id: string;
2772
2817
  /**
2773
- * The username of the user that created the deployment
2818
+ * The name of the team owner
2774
2819
  *
2775
- * @example john-doe
2820
+ * @example FSociety
2776
2821
  */
2777
- username?: string;
2822
+ name: string;
2823
+ /**
2824
+ * The slug of the team owner
2825
+ *
2826
+ * @example fsociety
2827
+ */
2828
+ slug: string;
2778
2829
  };
2779
- errorCode?: string;
2830
+ type: 'LAMBDAS';
2831
+ /**
2832
+ * A string with the unique URL of the deployment
2833
+ *
2834
+ * @example my-instant-deployment-3ij3cxz9qr.now.sh
2835
+ */
2836
+ url: string;
2837
+ /**
2838
+ * An array of domains that were provided by the user when creating the Deployment.
2839
+ *
2840
+ * @example sub1.example.com
2841
+ * @example sub2.example.com
2842
+ */
2843
+ userAliases?: string[];
2844
+ /**
2845
+ * The platform version that was used to create the deployment.
2846
+ *
2847
+ * @example 2
2848
+ */
2849
+ version: 2;
2850
+ /**
2851
+ * Whether or not preview comments are enabled for the deployment
2852
+ *
2853
+ * @example false
2854
+ */
2855
+ previewCommentsEnabled?: boolean;
2856
+ /**
2857
+ * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
2858
+ */
2859
+ alias: string[];
2860
+ /**
2861
+ * A boolean that will be true when the aliases from the alias property were assigned successfully
2862
+ *
2863
+ * @example true
2864
+ */
2865
+ aliasAssigned: boolean;
2866
+ /**
2867
+ * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
2868
+ *
2869
+ * @example null
2870
+ */
2871
+ aliasError?: {
2872
+ code: string;
2873
+ message: string;
2874
+ } | null;
2875
+ aliasFinal?: string | null;
2876
+ aliasWarning?: {
2877
+ code: string;
2878
+ message: string;
2879
+ link?: string;
2880
+ action?: string;
2881
+ } | null;
2882
+ autoAssignCustomDomains?: boolean;
2883
+ automaticAliases?: string[];
2884
+ bootedAt: number;
2885
+ buildErrorAt?: number;
2886
+ buildingAt: number;
2887
+ canceledAt?: number;
2888
+ checksState?: 'registered' | 'running' | 'completed';
2889
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
2890
+ /**
2891
+ * A number containing the date when the deployment was created in milliseconds
2892
+ *
2893
+ * @example 1540257589405
2894
+ */
2895
+ createdAt: number;
2896
+ /**
2897
+ * Information about the deployment creator
2898
+ */
2899
+ creator: {
2900
+ /**
2901
+ * The ID of the user that created the deployment
2902
+ *
2903
+ * @example 96SnxkFiMyVKsK3pnoHfx3Hz
2904
+ */
2905
+ uid: string;
2906
+ /**
2907
+ * The username of the user that created the deployment
2908
+ *
2909
+ * @example john-doe
2910
+ */
2911
+ username?: string;
2912
+ };
2913
+ errorCode?: string;
2780
2914
  errorLink?: string;
2781
2915
  errorMessage?: string | null;
2782
2916
  errorStep?: string;
@@ -2845,6 +2979,7 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2845
2979
  * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
2846
2980
  */
2847
2981
  id: string;
2982
+ } | {
2848
2983
  lambdas?: {
2849
2984
  id: string;
2850
2985
  createdAt?: number;
@@ -2856,6 +2991,20 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2856
2991
  functionName: string;
2857
2992
  }[];
2858
2993
  }[];
2994
+ /**
2995
+ * The name of the project associated with the deployment at the time that the deployment was created
2996
+ *
2997
+ * @example my-project
2998
+ */
2999
+ name: string;
3000
+ /**
3001
+ * An object containing the deployment's metadata
3002
+ *
3003
+ * @example {"foo":"bar"}
3004
+ */
3005
+ meta: {
3006
+ [key: string]: string;
3007
+ };
2859
3008
  /**
2860
3009
  * A boolean representing if the deployment is public or not. By default this is `false`
2861
3010
  *
@@ -2868,6 +3017,12 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2868
3017
  * @example READY
2869
3018
  */
2870
3019
  readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
3020
+ /**
3021
+ * The substate of the deployment when the state is "READY"
3022
+ *
3023
+ * @example STAGED
3024
+ */
3025
+ readySubstate?: 'STAGED' | 'PROMOTED';
2871
3026
  /**
2872
3027
  * The regions the deployment exists in
2873
3028
  *
@@ -2935,7 +3090,6 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2935
3090
  * @example false
2936
3091
  */
2937
3092
  previewCommentsEnabled?: boolean;
2938
- } | {
2939
3093
  /**
2940
3094
  * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
2941
3095
  */
@@ -3062,110 +3216,6 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
3062
3216
  * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
3063
3217
  */
3064
3218
  id: string;
3065
- lambdas?: {
3066
- id: string;
3067
- createdAt?: number;
3068
- entrypoint?: string | null;
3069
- readyState?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY';
3070
- readyStateAt?: number;
3071
- output: {
3072
- path: string;
3073
- functionName: string;
3074
- }[];
3075
- }[];
3076
- /**
3077
- * The name of the project associated with the deployment at the time that the deployment was created
3078
- *
3079
- * @example my-project
3080
- */
3081
- name: string;
3082
- /**
3083
- * An object containing the deployment's metadata
3084
- *
3085
- * @example {"foo":"bar"}
3086
- */
3087
- meta: {
3088
- [key: string]: string;
3089
- };
3090
- /**
3091
- * A boolean representing if the deployment is public or not. By default this is `false`
3092
- *
3093
- * @example false
3094
- */
3095
- public: boolean;
3096
- /**
3097
- * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
3098
- *
3099
- * @example READY
3100
- */
3101
- readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
3102
- /**
3103
- * The regions the deployment exists in
3104
- *
3105
- * @example sfo1
3106
- */
3107
- regions: string[];
3108
- /**
3109
- * Where was the deployment created from
3110
- *
3111
- * @example cli
3112
- */
3113
- source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo';
3114
- /**
3115
- * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned
3116
- *
3117
- * @example null
3118
- */
3119
- target?: 'staging' | 'production' | null;
3120
- /**
3121
- * The team that owns the deployment if any
3122
- */
3123
- team?: {
3124
- /**
3125
- * The ID of the team owner
3126
- *
3127
- * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
3128
- */
3129
- id: string;
3130
- /**
3131
- * The name of the team owner
3132
- *
3133
- * @example FSociety
3134
- */
3135
- name: string;
3136
- /**
3137
- * The slug of the team owner
3138
- *
3139
- * @example fsociety
3140
- */
3141
- slug: string;
3142
- };
3143
- type: 'LAMBDAS';
3144
- /**
3145
- * A string with the unique URL of the deployment
3146
- *
3147
- * @example my-instant-deployment-3ij3cxz9qr.now.sh
3148
- */
3149
- url: string;
3150
- /**
3151
- * An array of domains that were provided by the user when creating the Deployment.
3152
- *
3153
- * @example sub1.example.com
3154
- * @example sub2.example.com
3155
- */
3156
- userAliases?: string[];
3157
- /**
3158
- * The platform version that was used to create the deployment.
3159
- *
3160
- * @example 2
3161
- */
3162
- version: 2;
3163
- /**
3164
- * Whether or not preview comments are enabled for the deployment
3165
- *
3166
- * @example false
3167
- */
3168
- previewCommentsEnabled?: boolean;
3169
3219
  }>;
3170
3220
  type CreateDeploymentQueryParams = {
3171
3221
  /**
@@ -3183,7 +3233,6 @@ type CreateDeploymentQueryParams = {
3183
3233
  };
3184
3234
  type CreateDeploymentError = ErrorWrapper<undefined>;
3185
3235
  type CreateDeploymentResponse = {
3186
- aliasAssignedAt?: number | boolean | null;
3187
3236
  build: {
3188
3237
  /**
3189
3238
  * The keys of the environment variables that were assigned during the build phase.
@@ -3193,6 +3242,10 @@ type CreateDeploymentResponse = {
3193
3242
  env: string[];
3194
3243
  };
3195
3244
  builds?: Record<string, any>[];
3245
+ /**
3246
+ * The flag saying if Vercel Connect configuration is used for builds
3247
+ */
3248
+ connectBuildsEnabled?: boolean;
3196
3249
  /**
3197
3250
  * The ID of Vercel Connect configuration used for this deployment
3198
3251
  */
@@ -3368,40 +3421,137 @@ type CreateDeploymentResponse = {
3368
3421
  private: boolean;
3369
3422
  ownerType: 'team' | 'user';
3370
3423
  } | null;
3424
+ aliasAssignedAt?: number | boolean | null;
3425
+ lambdas?: {
3426
+ id: string;
3427
+ createdAt?: number;
3428
+ entrypoint?: string | null;
3429
+ readyState?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY';
3430
+ readyStateAt?: number;
3431
+ output: {
3432
+ path: string;
3433
+ functionName: string;
3434
+ }[];
3435
+ }[];
3371
3436
  /**
3372
- * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
3437
+ * A boolean representing if the deployment is public or not. By default this is `false`
3438
+ *
3439
+ * @example false
3373
3440
  */
3374
- alias: string[];
3441
+ public: boolean;
3375
3442
  /**
3376
- * A boolean that will be true when the aliases from the alias property were assigned successfully
3443
+ * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
3377
3444
  *
3378
- * @example true
3445
+ * @example READY
3379
3446
  */
3380
- aliasAssigned: boolean;
3447
+ readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
3381
3448
  /**
3382
- * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
3449
+ * The substate of the deployment when the state is "READY"
3383
3450
  *
3384
- * @example null
3451
+ * @example STAGED
3385
3452
  */
3386
- aliasError?: {
3387
- code: string;
3388
- message: string;
3389
- } | null;
3390
- aliasFinal?: string | null;
3391
- aliasWarning?: {
3392
- code: string;
3393
- message: string;
3394
- link?: string;
3395
- action?: string;
3396
- } | null;
3397
- autoAssignCustomDomains?: boolean;
3398
- automaticAliases?: string[];
3399
- bootedAt: number;
3400
- buildErrorAt?: number;
3401
- buildingAt: number;
3402
- canceledAt?: number;
3403
- checksState?: 'registered' | 'running' | 'completed';
3404
- checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
3453
+ readySubstate?: 'STAGED' | 'PROMOTED';
3454
+ /**
3455
+ * The regions the deployment exists in
3456
+ *
3457
+ * @example sfo1
3458
+ */
3459
+ regions: string[];
3460
+ /**
3461
+ * Where was the deployment created from
3462
+ *
3463
+ * @example cli
3464
+ */
3465
+ source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo';
3466
+ /**
3467
+ * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned
3468
+ *
3469
+ * @example null
3470
+ */
3471
+ target?: 'staging' | 'production' | null;
3472
+ /**
3473
+ * The team that owns the deployment if any
3474
+ */
3475
+ team?: {
3476
+ /**
3477
+ * The ID of the team owner
3478
+ *
3479
+ * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
3480
+ */
3481
+ id: string;
3482
+ /**
3483
+ * The name of the team owner
3484
+ *
3485
+ * @example FSociety
3486
+ */
3487
+ name: string;
3488
+ /**
3489
+ * The slug of the team owner
3490
+ *
3491
+ * @example fsociety
3492
+ */
3493
+ slug: string;
3494
+ };
3495
+ type: 'LAMBDAS';
3496
+ /**
3497
+ * A string with the unique URL of the deployment
3498
+ *
3499
+ * @example my-instant-deployment-3ij3cxz9qr.now.sh
3500
+ */
3501
+ url: string;
3502
+ /**
3503
+ * An array of domains that were provided by the user when creating the Deployment.
3504
+ *
3505
+ * @example sub1.example.com
3506
+ * @example sub2.example.com
3507
+ */
3508
+ userAliases?: string[];
3509
+ /**
3510
+ * The platform version that was used to create the deployment.
3511
+ *
3512
+ * @example 2
3513
+ */
3514
+ version: 2;
3515
+ /**
3516
+ * Whether or not preview comments are enabled for the deployment
3517
+ *
3518
+ * @example false
3519
+ */
3520
+ previewCommentsEnabled?: boolean;
3521
+ /**
3522
+ * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
3523
+ */
3524
+ alias: string[];
3525
+ /**
3526
+ * A boolean that will be true when the aliases from the alias property were assigned successfully
3527
+ *
3528
+ * @example true
3529
+ */
3530
+ aliasAssigned: boolean;
3531
+ /**
3532
+ * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
3533
+ *
3534
+ * @example null
3535
+ */
3536
+ aliasError?: {
3537
+ code: string;
3538
+ message: string;
3539
+ } | null;
3540
+ aliasFinal?: string | null;
3541
+ aliasWarning?: {
3542
+ code: string;
3543
+ message: string;
3544
+ link?: string;
3545
+ action?: string;
3546
+ } | null;
3547
+ autoAssignCustomDomains?: boolean;
3548
+ automaticAliases?: string[];
3549
+ bootedAt: number;
3550
+ buildErrorAt?: number;
3551
+ buildingAt: number;
3552
+ canceledAt?: number;
3553
+ checksState?: 'registered' | 'running' | 'completed';
3554
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
3405
3555
  /**
3406
3556
  * A number containing the date when the deployment was created in milliseconds
3407
3557
  *
@@ -3494,96 +3644,6 @@ type CreateDeploymentResponse = {
3494
3644
  * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
3495
3645
  */
3496
3646
  id: string;
3497
- lambdas?: {
3498
- id: string;
3499
- createdAt?: number;
3500
- entrypoint?: string | null;
3501
- readyState?: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY';
3502
- readyStateAt?: number;
3503
- output: {
3504
- path: string;
3505
- functionName: string;
3506
- }[];
3507
- }[];
3508
- /**
3509
- * A boolean representing if the deployment is public or not. By default this is `false`
3510
- *
3511
- * @example false
3512
- */
3513
- public: boolean;
3514
- /**
3515
- * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
3516
- *
3517
- * @example READY
3518
- */
3519
- readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
3520
- /**
3521
- * The regions the deployment exists in
3522
- *
3523
- * @example sfo1
3524
- */
3525
- regions: string[];
3526
- /**
3527
- * Where was the deployment created from
3528
- *
3529
- * @example cli
3530
- */
3531
- source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo';
3532
- /**
3533
- * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned
3534
- *
3535
- * @example null
3536
- */
3537
- target?: 'staging' | 'production' | null;
3538
- /**
3539
- * The team that owns the deployment if any
3540
- */
3541
- team?: {
3542
- /**
3543
- * The ID of the team owner
3544
- *
3545
- * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
3546
- */
3547
- id: string;
3548
- /**
3549
- * The name of the team owner
3550
- *
3551
- * @example FSociety
3552
- */
3553
- name: string;
3554
- /**
3555
- * The slug of the team owner
3556
- *
3557
- * @example fsociety
3558
- */
3559
- slug: string;
3560
- };
3561
- type: 'LAMBDAS';
3562
- /**
3563
- * A string with the unique URL of the deployment
3564
- *
3565
- * @example my-instant-deployment-3ij3cxz9qr.now.sh
3566
- */
3567
- url: string;
3568
- /**
3569
- * An array of domains that were provided by the user when creating the Deployment.
3570
- *
3571
- * @example sub1.example.com
3572
- * @example sub2.example.com
3573
- */
3574
- userAliases?: string[];
3575
- /**
3576
- * The platform version that was used to create the deployment.
3577
- *
3578
- * @example 2
3579
- */
3580
- version: 2;
3581
- /**
3582
- * Whether or not preview comments are enabled for the deployment
3583
- *
3584
- * @example false
3585
- */
3586
- previewCommentsEnabled?: boolean;
3587
3647
  };
3588
3648
  type CreateDeploymentRequestBody = {
3589
3649
  /**
@@ -4596,10 +4656,15 @@ type CreateDeploymentRequestBody = {
4596
4656
  projects: {
4597
4657
  id: string;
4598
4658
  data_storage_bytes_hour: number;
4659
+ data_storage_bytes_hour_updated_at?: string;
4599
4660
  data_transfer_bytes: number;
4661
+ data_transfer_bytes_updated_at?: string;
4600
4662
  written_data_bytes: number;
4663
+ written_data_bytes_updated_at?: string;
4601
4664
  compute_time_seconds: number;
4665
+ compute_time_seconds_updated_at?: string;
4602
4666
  synthetic_storage_size: number;
4667
+ synthetic_storage_size_updated_at?: string;
4603
4668
  }[];
4604
4669
  pagination: {
4605
4670
  cursor: string;
@@ -4629,7 +4694,6 @@ type CancelDeploymentQueryParams = {
4629
4694
  };
4630
4695
  type CancelDeploymentError = ErrorWrapper<undefined>;
4631
4696
  type CancelDeploymentResponse = {
4632
- aliasAssignedAt?: number | boolean | null;
4633
4697
  build: {
4634
4698
  /**
4635
4699
  * The keys of the environment variables that were assigned during the build phase.
@@ -4639,6 +4703,10 @@ type CancelDeploymentResponse = {
4639
4703
  env: string[];
4640
4704
  };
4641
4705
  builds?: Record<string, any>[];
4706
+ /**
4707
+ * The flag saying if Vercel Connect configuration is used for builds
4708
+ */
4709
+ connectBuildsEnabled?: boolean;
4642
4710
  /**
4643
4711
  * The ID of Vercel Connect configuration used for this deployment
4644
4712
  */
@@ -4814,55 +4882,152 @@ type CancelDeploymentResponse = {
4814
4882
  private: boolean;
4815
4883
  ownerType: 'user' | 'team';
4816
4884
  } | null;
4885
+ aliasAssignedAt?: number | boolean | null;
4886
+ lambdas?: {
4887
+ id: string;
4888
+ createdAt?: number;
4889
+ entrypoint?: string | null;
4890
+ readyState?: 'INITIALIZING' | 'BUILDING' | 'READY' | 'ERROR';
4891
+ readyStateAt?: number;
4892
+ output: {
4893
+ path: string;
4894
+ functionName: string;
4895
+ }[];
4896
+ }[];
4817
4897
  /**
4818
- * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
4898
+ * A boolean representing if the deployment is public or not. By default this is `false`
4899
+ *
4900
+ * @example false
4819
4901
  */
4820
- alias: string[];
4902
+ public: boolean;
4821
4903
  /**
4822
- * A boolean that will be true when the aliases from the alias property were assigned successfully
4904
+ * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
4823
4905
  *
4824
- * @example true
4906
+ * @example READY
4825
4907
  */
4826
- aliasAssigned: boolean;
4908
+ readyState: 'INITIALIZING' | 'BUILDING' | 'READY' | 'ERROR' | 'QUEUED' | 'CANCELED';
4827
4909
  /**
4828
- * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
4910
+ * The substate of the deployment when the state is "READY"
4829
4911
  *
4830
- * @example null
4912
+ * @example STAGED
4831
4913
  */
4832
- aliasError?: {
4833
- code: string;
4834
- message: string;
4835
- } | null;
4836
- aliasFinal?: string | null;
4837
- aliasWarning?: {
4838
- code: string;
4839
- message: string;
4840
- link?: string;
4841
- action?: string;
4842
- } | null;
4843
- autoAssignCustomDomains?: boolean;
4844
- automaticAliases?: string[];
4845
- bootedAt: number;
4846
- buildErrorAt?: number;
4847
- buildingAt: number;
4848
- canceledAt?: number;
4849
- checksState?: 'registered' | 'running' | 'completed';
4850
- checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
4914
+ readySubstate?: 'STAGED' | 'PROMOTED';
4851
4915
  /**
4852
- * A number containing the date when the deployment was created in milliseconds
4916
+ * The regions the deployment exists in
4853
4917
  *
4854
- * @example 1540257589405
4918
+ * @example sfo1
4855
4919
  */
4856
- createdAt: number;
4920
+ regions: string[];
4857
4921
  /**
4858
- * Information about the deployment creator
4922
+ * Where was the deployment created from
4923
+ *
4924
+ * @example cli
4859
4925
  */
4860
- creator: {
4861
- /**
4862
- * The ID of the user that created the deployment
4863
- *
4864
- * @example 96SnxkFiMyVKsK3pnoHfx3Hz
4865
- */
4926
+ source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo';
4927
+ /**
4928
+ * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned
4929
+ *
4930
+ * @example null
4931
+ */
4932
+ target?: 'staging' | 'production' | null;
4933
+ /**
4934
+ * The team that owns the deployment if any
4935
+ */
4936
+ team?: {
4937
+ /**
4938
+ * The ID of the team owner
4939
+ *
4940
+ * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
4941
+ */
4942
+ id: string;
4943
+ /**
4944
+ * The name of the team owner
4945
+ *
4946
+ * @example FSociety
4947
+ */
4948
+ name: string;
4949
+ /**
4950
+ * The slug of the team owner
4951
+ *
4952
+ * @example fsociety
4953
+ */
4954
+ slug: string;
4955
+ };
4956
+ type: 'LAMBDAS';
4957
+ /**
4958
+ * A string with the unique URL of the deployment
4959
+ *
4960
+ * @example my-instant-deployment-3ij3cxz9qr.now.sh
4961
+ */
4962
+ url: string;
4963
+ /**
4964
+ * An array of domains that were provided by the user when creating the Deployment.
4965
+ *
4966
+ * @example sub1.example.com
4967
+ * @example sub2.example.com
4968
+ */
4969
+ userAliases?: string[];
4970
+ /**
4971
+ * The platform version that was used to create the deployment.
4972
+ *
4973
+ * @example 2
4974
+ */
4975
+ version: 2;
4976
+ /**
4977
+ * Whether or not preview comments are enabled for the deployment
4978
+ *
4979
+ * @example false
4980
+ */
4981
+ previewCommentsEnabled?: boolean;
4982
+ /**
4983
+ * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
4984
+ */
4985
+ alias: string[];
4986
+ /**
4987
+ * A boolean that will be true when the aliases from the alias property were assigned successfully
4988
+ *
4989
+ * @example true
4990
+ */
4991
+ aliasAssigned: boolean;
4992
+ /**
4993
+ * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
4994
+ *
4995
+ * @example null
4996
+ */
4997
+ aliasError?: {
4998
+ code: string;
4999
+ message: string;
5000
+ } | null;
5001
+ aliasFinal?: string | null;
5002
+ aliasWarning?: {
5003
+ code: string;
5004
+ message: string;
5005
+ link?: string;
5006
+ action?: string;
5007
+ } | null;
5008
+ autoAssignCustomDomains?: boolean;
5009
+ automaticAliases?: string[];
5010
+ bootedAt: number;
5011
+ buildErrorAt?: number;
5012
+ buildingAt: number;
5013
+ canceledAt?: number;
5014
+ checksState?: 'registered' | 'running' | 'completed';
5015
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
5016
+ /**
5017
+ * A number containing the date when the deployment was created in milliseconds
5018
+ *
5019
+ * @example 1540257589405
5020
+ */
5021
+ createdAt: number;
5022
+ /**
5023
+ * Information about the deployment creator
5024
+ */
5025
+ creator: {
5026
+ /**
5027
+ * The ID of the user that created the deployment
5028
+ *
5029
+ * @example 96SnxkFiMyVKsK3pnoHfx3Hz
5030
+ */
4866
5031
  uid: string;
4867
5032
  /**
4868
5033
  * The username of the user that created the deployment
@@ -4940,96 +5105,6 @@ type CancelDeploymentResponse = {
4940
5105
  * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
4941
5106
  */
4942
5107
  id: string;
4943
- lambdas?: {
4944
- id: string;
4945
- createdAt?: number;
4946
- entrypoint?: string | null;
4947
- readyState?: 'INITIALIZING' | 'BUILDING' | 'READY' | 'ERROR';
4948
- readyStateAt?: number;
4949
- output: {
4950
- path: string;
4951
- functionName: string;
4952
- }[];
4953
- }[];
4954
- /**
4955
- * A boolean representing if the deployment is public or not. By default this is `false`
4956
- *
4957
- * @example false
4958
- */
4959
- public: boolean;
4960
- /**
4961
- * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
4962
- *
4963
- * @example READY
4964
- */
4965
- readyState: 'INITIALIZING' | 'BUILDING' | 'READY' | 'ERROR' | 'QUEUED' | 'CANCELED';
4966
- /**
4967
- * The regions the deployment exists in
4968
- *
4969
- * @example sfo1
4970
- */
4971
- regions: string[];
4972
- /**
4973
- * Where was the deployment created from
4974
- *
4975
- * @example cli
4976
- */
4977
- source?: 'cli' | 'git' | 'import' | 'import/repo' | 'clone/repo';
4978
- /**
4979
- * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned
4980
- *
4981
- * @example null
4982
- */
4983
- target?: 'staging' | 'production' | null;
4984
- /**
4985
- * The team that owns the deployment if any
4986
- */
4987
- team?: {
4988
- /**
4989
- * The ID of the team owner
4990
- *
4991
- * @example team_LLHUOMOoDlqOp8wPE4kFo9pE
4992
- */
4993
- id: string;
4994
- /**
4995
- * The name of the team owner
4996
- *
4997
- * @example FSociety
4998
- */
4999
- name: string;
5000
- /**
5001
- * The slug of the team owner
5002
- *
5003
- * @example fsociety
5004
- */
5005
- slug: string;
5006
- };
5007
- type: 'LAMBDAS';
5008
- /**
5009
- * A string with the unique URL of the deployment
5010
- *
5011
- * @example my-instant-deployment-3ij3cxz9qr.now.sh
5012
- */
5013
- url: string;
5014
- /**
5015
- * An array of domains that were provided by the user when creating the Deployment.
5016
- *
5017
- * @example sub1.example.com
5018
- * @example sub2.example.com
5019
- */
5020
- userAliases?: string[];
5021
- /**
5022
- * The platform version that was used to create the deployment.
5023
- *
5024
- * @example 2
5025
- */
5026
- version: 2;
5027
- /**
5028
- * Whether or not preview comments are enabled for the deployment
5029
- *
5030
- * @example false
5031
- */
5032
- previewCommentsEnabled?: boolean;
5033
5108
  };
5034
5109
  type CancelDeploymentVariables = {
5035
5110
  pathParams: CancelDeploymentPathParams;
@@ -6111,6 +6186,14 @@ type GetEdgeConfigsResponse = {
6111
6186
  slug?: string;
6112
6187
  updatedAt?: number;
6113
6188
  digest?: string;
6189
+ /**
6190
+ * Keeps track of the current state of the Edge Config while it gets transferred.
6191
+ */
6192
+ transfer?: {
6193
+ fromAccountId: string;
6194
+ startedAt: number;
6195
+ doneAt: number | null;
6196
+ };
6114
6197
  sizeInBytes: number;
6115
6198
  itemCount: number;
6116
6199
  };
@@ -6138,6 +6221,14 @@ type CreateEdgeConfigResponse = {
6138
6221
  slug?: string;
6139
6222
  ownerId?: string;
6140
6223
  digest?: string;
6224
+ /**
6225
+ * Keeps track of the current state of the Edge Config while it gets transferred.
6226
+ */
6227
+ transfer?: {
6228
+ fromAccountId: string;
6229
+ startedAt: number;
6230
+ doneAt: number | null;
6231
+ };
6141
6232
  sizeInBytes: number;
6142
6233
  itemCount: number;
6143
6234
  };
@@ -6179,6 +6270,14 @@ type GetEdgeConfigResponse = {
6179
6270
  slug?: string;
6180
6271
  ownerId?: string;
6181
6272
  digest?: string;
6273
+ /**
6274
+ * Keeps track of the current state of the Edge Config while it gets transferred.
6275
+ */
6276
+ transfer?: {
6277
+ fromAccountId: string;
6278
+ startedAt: number;
6279
+ doneAt: number | null;
6280
+ };
6182
6281
  sizeInBytes: number;
6183
6282
  itemCount: number;
6184
6283
  };
@@ -6210,6 +6309,14 @@ type UpdateEdgeConfigResponse = {
6210
6309
  slug?: string;
6211
6310
  ownerId?: string;
6212
6311
  digest?: string;
6312
+ /**
6313
+ * Keeps track of the current state of the Edge Config while it gets transferred.
6314
+ */
6315
+ transfer?: {
6316
+ fromAccountId: string;
6317
+ startedAt: number;
6318
+ doneAt: number | null;
6319
+ };
6213
6320
  sizeInBytes: number;
6214
6321
  itemCount: number;
6215
6322
  };
@@ -6582,6 +6689,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
6582
6689
  * @example 1558531915505
6583
6690
  */
6584
6691
  deletedAt?: number | null;
6692
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
6585
6693
  }[] | {
6586
6694
  integration: {
6587
6695
  name: string;
@@ -6696,6 +6804,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
6696
6804
  * @example 1558531915505
6697
6805
  */
6698
6806
  deletedAt?: number | null;
6807
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
6699
6808
  }[]>;
6700
6809
  type GetConfigurationPathParams = {
6701
6810
  /**
@@ -6825,6 +6934,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
6825
6934
  * @example 1558531915505
6826
6935
  */
6827
6936
  deletedAt?: number | null;
6937
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
6828
6938
  } | {
6829
6939
  /**
6830
6940
  * A string representing the permission for projects. Possible values are `all` or `selected`.
@@ -6937,6 +7047,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
6937
7047
  * @example 1558531915505
6938
7048
  */
6939
7049
  deletedAt?: number | null;
7050
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
6940
7051
  canConfigureOpenTelemetry?: boolean;
6941
7052
  }>;
6942
7053
  type DeleteConfigurationPathParams = {
@@ -7049,7 +7160,7 @@ type GetIntegrationLogDrainsResponse = {
7049
7160
  *
7050
7161
  * @example production
7051
7162
  */
7052
- environment?: 'production' | 'preview';
7163
+ environment?: 'preview' | 'production';
7053
7164
  /**
7054
7165
  * The branch regexp of log drain
7055
7166
  *
@@ -7293,14 +7404,19 @@ type SearchRepoResponse = {
7293
7404
  };
7294
7405
  repos: {
7295
7406
  id: string | number;
7407
+ provider: 'github' | 'gitlab' | 'bitbucket';
7408
+ url: string;
7296
7409
  name: string;
7297
7410
  slug: string;
7298
7411
  namespace: string;
7412
+ owner: {
7413
+ id: string | number;
7414
+ name: string;
7415
+ };
7416
+ ownerType: 'user' | 'team';
7299
7417
  private: boolean;
7300
7418
  defaultBranch: string;
7301
- url: string;
7302
7419
  updatedAt: number;
7303
- ownerType: 'team' | 'user';
7304
7420
  }[];
7305
7421
  };
7306
7422
  type SearchRepoVariables = {
@@ -7321,77 +7437,29 @@ type GetConfigurableLogDrainQueryParams = {
7321
7437
  };
7322
7438
  type GetConfigurableLogDrainError = ErrorWrapper<undefined>;
7323
7439
  type GetConfigurableLogDrainResponse = {
7324
- /**
7325
- * The environment to filter logs by
7326
- *
7327
- * @example production
7328
- */
7329
- environment?: 'preview' | 'production';
7330
- /**
7331
- * The branch to filter logs by
7332
- *
7333
- * @example main
7334
- */
7335
- branch?: string;
7336
- /**
7337
- * The ID of the related integration configuration
7338
- */
7440
+ id: string;
7441
+ deliveryFormat: 'json' | 'ndjson' | 'syslog';
7442
+ url: string;
7443
+ name: string;
7444
+ clientId?: string;
7339
7445
  configurationId?: string;
7340
- /**
7341
- * The key/value pairs that will be sent as headers to the log-drain
7342
- *
7343
- * @example {"foo":"bar"}
7344
- */
7446
+ teamId?: string | null;
7447
+ ownerId: string;
7448
+ projectIds?: string[];
7449
+ createdAt: number;
7450
+ sources?: ('static' | 'lambda' | 'build' | 'edge' | 'external' | 'deployment')[];
7345
7451
  headers?: {
7346
7452
  [key: string]: string;
7347
7453
  };
7348
- /**
7349
- * The ID of the projects the deployment is associated with
7350
- *
7351
- * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
7352
- */
7353
- projectIds?: string[];
7354
- /**
7355
- * A number containing the date when the log-drain was created in in milliseconds
7356
- *
7357
- * @example 1567024758130
7358
- */
7359
- createdAt: number;
7360
- /**
7361
- * The log-drain id
7362
- *
7363
- * @example ld_GflD6EYyo7F4ViYS
7364
- */
7365
- id: string;
7366
- /**
7367
- * The unique ID of the team the deployment belongs to
7368
- *
7369
- * @example team_ZspSRT4ljIEEmMHgoDwKWDei
7370
- */
7371
- ownerId: string;
7372
- /**
7373
- * The log-drain defined sources
7374
- *
7375
- * @example lambda
7376
- * @example build
7377
- */
7378
- sources?: ('static' | 'lambda' | 'build' | 'edge' | 'external' | 'deployment')[];
7379
- /**
7380
- * The log-drain defined delivery format
7381
- *
7382
- * @example json
7383
- * @example ndjson
7384
- */
7385
- deliveryFormat: 'json' | 'ndjson' | 'syslog';
7386
- /**
7387
- * A string with the URL of the log-drain
7388
- *
7389
- * @example https://my-log-drain.com
7390
- */
7391
- url: string;
7392
- status?: 'enabled' | 'disabled';
7454
+ environment?: 'preview' | 'production';
7455
+ branch?: string;
7456
+ status?: 'enabled' | 'disabled' | 'errored';
7393
7457
  disabledAt?: number;
7394
- disabledReason?: string;
7458
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'disabled-by-admin' | 'account-plan-downgrade';
7459
+ disabledBy?: string;
7460
+ firstErrorTimestamp?: number;
7461
+ secret: string;
7462
+ createdFrom?: 'self-served';
7395
7463
  };
7396
7464
  type GetConfigurableLogDrainVariables = {
7397
7465
  pathParams: GetConfigurableLogDrainPathParams;
@@ -7431,77 +7499,29 @@ type GetConfigurableLogDrainsQueryParams = {
7431
7499
  };
7432
7500
  type GetConfigurableLogDrainsError = ErrorWrapper<undefined>;
7433
7501
  type GetConfigurableLogDrainsResponse = {
7434
- /**
7435
- * The environment to filter logs by
7436
- *
7437
- * @example production
7438
- */
7439
- environment?: 'preview' | 'production';
7440
- /**
7441
- * The branch to filter logs by
7442
- *
7443
- * @example main
7444
- */
7445
- branch?: string;
7446
- /**
7447
- * The ID of the related integration configuration
7448
- */
7502
+ id: string;
7503
+ deliveryFormat: 'json' | 'ndjson' | 'syslog';
7504
+ url: string;
7505
+ name: string;
7506
+ clientId?: string;
7449
7507
  configurationId?: string;
7450
- /**
7451
- * The key/value pairs that will be sent as headers to the log-drain
7452
- *
7453
- * @example {"foo":"bar"}
7454
- */
7455
- headers?: {
7456
- [key: string]: string;
7457
- };
7458
- /**
7459
- * The ID of the projects the deployment is associated with
7460
- *
7461
- * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
7462
- */
7508
+ teamId?: string | null;
7509
+ ownerId: string;
7463
7510
  projectIds?: string[];
7464
- /**
7465
- * A number containing the date when the log-drain was created in in milliseconds
7466
- *
7467
- * @example 1567024758130
7468
- */
7469
7511
  createdAt: number;
7470
- /**
7471
- * The log-drain id
7472
- *
7473
- * @example ld_GflD6EYyo7F4ViYS
7474
- */
7475
- id: string;
7476
- /**
7477
- * The unique ID of the team the deployment belongs to
7478
- *
7479
- * @example team_ZspSRT4ljIEEmMHgoDwKWDei
7480
- */
7481
- ownerId: string;
7482
- /**
7483
- * The log-drain defined sources
7484
- *
7485
- * @example lambda
7486
- * @example build
7487
- */
7488
7512
  sources?: ('static' | 'lambda' | 'build' | 'edge' | 'external' | 'deployment')[];
7489
- /**
7490
- * The log-drain defined delivery format
7491
- *
7492
- * @example json
7493
- * @example ndjson
7494
- */
7495
- deliveryFormat: 'json' | 'ndjson' | 'syslog';
7496
- /**
7497
- * A string with the URL of the log-drain
7498
- *
7499
- * @example https://my-log-drain.com
7500
- */
7501
- url: string;
7502
- status?: 'enabled' | 'disabled';
7513
+ headers?: {
7514
+ [key: string]: string;
7515
+ };
7516
+ environment?: 'preview' | 'production';
7517
+ branch?: string;
7518
+ status?: 'enabled' | 'disabled' | 'errored';
7503
7519
  disabledAt?: number;
7504
- disabledReason?: string;
7520
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'disabled-by-admin' | 'account-plan-downgrade';
7521
+ disabledBy?: string;
7522
+ firstErrorTimestamp?: number;
7523
+ secret: string;
7524
+ createdFrom?: 'self-served';
7505
7525
  }[];
7506
7526
  type GetConfigurableLogDrainsVariables = {
7507
7527
  queryParams?: GetConfigurableLogDrainsQueryParams;
@@ -7522,77 +7542,28 @@ type CreateConfigurableLogDrainResponse = {
7522
7542
  * The secret to validate the log-drain payload
7523
7543
  */
7524
7544
  secret?: string;
7525
- /**
7526
- * The environment to filter logs by
7527
- *
7528
- * @example production
7529
- */
7530
- environment?: 'preview' | 'production';
7531
- /**
7532
- * The branch to filter logs by
7533
- *
7534
- * @example main
7535
- */
7536
- branch?: string;
7537
- /**
7538
- * The ID of the related integration configuration
7539
- */
7545
+ id: string;
7546
+ deliveryFormat: 'json' | 'ndjson' | 'syslog';
7547
+ url: string;
7548
+ name: string;
7549
+ clientId?: string;
7540
7550
  configurationId?: string;
7541
- /**
7542
- * The key/value pairs that will be sent as headers to the log-drain
7543
- *
7544
- * @example {"foo":"bar"}
7545
- */
7546
- headers?: {
7547
- [key: string]: string;
7548
- };
7549
- /**
7550
- * The ID of the projects the deployment is associated with
7551
- *
7552
- * @example prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
7553
- */
7551
+ teamId?: string | null;
7552
+ ownerId: string;
7554
7553
  projectIds?: string[];
7555
- /**
7556
- * A number containing the date when the log-drain was created in in milliseconds
7557
- *
7558
- * @example 1567024758130
7559
- */
7560
7554
  createdAt: number;
7561
- /**
7562
- * The log-drain id
7563
- *
7564
- * @example ld_GflD6EYyo7F4ViYS
7565
- */
7566
- id: string;
7567
- /**
7568
- * The unique ID of the team the deployment belongs to
7569
- *
7570
- * @example team_ZspSRT4ljIEEmMHgoDwKWDei
7571
- */
7572
- ownerId: string;
7573
- /**
7574
- * The log-drain defined sources
7575
- *
7576
- * @example lambda
7577
- * @example build
7578
- */
7579
7555
  sources?: ('static' | 'lambda' | 'build' | 'edge' | 'external' | 'deployment')[];
7580
- /**
7581
- * The log-drain defined delivery format
7582
- *
7583
- * @example json
7584
- * @example ndjson
7585
- */
7586
- deliveryFormat: 'json' | 'ndjson' | 'syslog';
7587
- /**
7588
- * A string with the URL of the log-drain
7589
- *
7590
- * @example https://my-log-drain.com
7591
- */
7592
- url: string;
7593
- status?: 'enabled' | 'disabled';
7556
+ headers?: {
7557
+ [key: string]: string;
7558
+ };
7559
+ environment?: 'preview' | 'production';
7560
+ branch?: string;
7561
+ status?: 'enabled' | 'disabled' | 'errored';
7594
7562
  disabledAt?: number;
7595
- disabledReason?: string;
7563
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'disabled-by-admin' | 'account-plan-downgrade';
7564
+ disabledBy?: string;
7565
+ firstErrorTimestamp?: number;
7566
+ createdFrom?: 'self-served';
7596
7567
  };
7597
7568
  type CreateConfigurableLogDrainRequestBody = {
7598
7569
  /**
@@ -7636,6 +7607,10 @@ type CreateConfigurableLogDrainRequestBody = {
7636
7607
  * @example feature/*
7637
7608
  */
7638
7609
  branch?: string;
7610
+ /**
7611
+ * Custom secret of log drain
7612
+ */
7613
+ secret?: string;
7639
7614
  };
7640
7615
  type CreateConfigurableLogDrainVariables = {
7641
7616
  body: CreateConfigurableLogDrainRequestBody;
@@ -7709,14 +7684,17 @@ type GetProjectsResponse = {
7709
7684
  spendLimitInDollars?: number | null;
7710
7685
  };
7711
7686
  autoExposeSystemEnvs?: boolean;
7687
+ autoAssignCustomDomains?: boolean;
7688
+ autoAssignCustomDomainsUpdatedBy?: string;
7712
7689
  buildCommand?: string | null;
7713
7690
  commandForIgnoringBuildStep?: string | null;
7714
7691
  connectConfigurationId?: string | null;
7715
7692
  connectBuildsEnabled?: boolean;
7716
7693
  createdAt?: number;
7717
7694
  dataCache?: {
7718
- userEnabled: boolean;
7719
- enableAt: number | null;
7695
+ userDisabled: boolean;
7696
+ storageSizeBytes?: number | null;
7697
+ unlimited?: boolean;
7720
7698
  };
7721
7699
  crons?: {
7722
7700
  /**
@@ -7830,6 +7808,7 @@ type GetProjectsResponse = {
7830
7808
  src?: string;
7831
7809
  dest?: string;
7832
7810
  }[];
7811
+ connectBuildsEnabled?: boolean;
7833
7812
  connectConfigurationId?: string;
7834
7813
  createdAt: number;
7835
7814
  createdIn: string;
@@ -7851,6 +7830,7 @@ type GetProjectsResponse = {
7851
7830
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
7852
7831
  private: boolean;
7853
7832
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
7833
+ readySubstate?: 'STAGED' | 'PROMOTED';
7854
7834
  requestedAt?: number;
7855
7835
  target?: string | null;
7856
7836
  teamId?: string | null;
@@ -7954,6 +7934,7 @@ type GetProjectsResponse = {
7954
7934
  src?: string;
7955
7935
  dest?: string;
7956
7936
  }[];
7937
+ connectBuildsEnabled?: boolean;
7957
7938
  connectConfigurationId?: string;
7958
7939
  createdAt: number;
7959
7940
  createdIn: string;
@@ -7975,6 +7956,7 @@ type GetProjectsResponse = {
7975
7956
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
7976
7957
  private: boolean;
7977
7958
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
7959
+ readySubstate?: 'STAGED' | 'PROMOTED';
7978
7960
  requestedAt?: number;
7979
7961
  target?: string | null;
7980
7962
  teamId?: string | null;
@@ -8003,8 +7985,6 @@ type GetProjectsResponse = {
8003
7985
  enablePreviewFeedback?: boolean | null;
8004
7986
  permissions?: {
8005
7987
  aliasGlobal?: ACLAction[];
8006
- aliasProject?: ACLAction[];
8007
- analytics?: ACLAction[];
8008
7988
  analyticsSampling?: ACLAction[];
8009
7989
  analyticsUsage?: ACLAction[];
8010
7990
  auditLog?: ACLAction[];
@@ -8022,16 +8002,6 @@ type GetProjectsResponse = {
8022
8002
  concurrentBuilds?: ACLAction[];
8023
8003
  connect?: ACLAction[];
8024
8004
  connectConfiguration?: ACLAction[];
8025
- connectConfigurationLink?: ACLAction[];
8026
- deployment?: ACLAction[];
8027
- deploymentProductionGit?: ACLAction[];
8028
- deploymentCheck?: ACLAction[];
8029
- deploymentCheckPreview?: ACLAction[];
8030
- deploymentPreview?: ACLAction[];
8031
- deploymentPrivate?: ACLAction[];
8032
- deploymentCheckReRunFromProductionBranch?: ACLAction[];
8033
- deploymentPromote?: ACLAction[];
8034
- deploymentRollback?: ACLAction[];
8035
8005
  domain?: ACLAction[];
8036
8006
  domainAcceptDelegation?: ACLAction[];
8037
8007
  domainAuthCodes?: ACLAction[];
@@ -8042,21 +8012,23 @@ type GetProjectsResponse = {
8042
8012
  domainRecord?: ACLAction[];
8043
8013
  domainTransferIn?: ACLAction[];
8044
8014
  event?: ACLAction[];
8015
+ ownEvent?: ACLAction[];
8045
8016
  sensitiveEnvironmentVariablePolicy?: ACLAction[];
8046
8017
  fileUpload?: ACLAction[];
8047
8018
  gitRepository?: ACLAction[];
8048
8019
  ipBlocking?: ACLAction[];
8049
- trustedIps?: ACLAction[];
8050
8020
  integration?: ACLAction[];
8051
8021
  integrationConfiguration?: ACLAction[];
8052
8022
  integrationConfigurationTransfer?: ACLAction[];
8053
8023
  integrationConfigurationProjects?: ACLAction[];
8054
8024
  integrationVercelConfigurationOverride?: ACLAction[];
8055
- job?: ACLAction[];
8025
+ jobGlobal?: ACLAction[];
8056
8026
  logDrain?: ACLAction[];
8057
8027
  Monitoring?: ACLAction[];
8058
8028
  monitoringQuery?: ACLAction[];
8059
8029
  monitoringChart?: ACLAction[];
8030
+ monitoringAlert?: ACLAction[];
8031
+ notificationDeploymentFailed?: ACLAction[];
8060
8032
  notificationDomainConfiguration?: ACLAction[];
8061
8033
  notificationDomainExpire?: ACLAction[];
8062
8034
  notificationDomainMoved?: ACLAction[];
@@ -8064,31 +8036,21 @@ type GetProjectsResponse = {
8064
8036
  notificationDomainRenewal?: ACLAction[];
8065
8037
  notificationDomainTransfer?: ACLAction[];
8066
8038
  notificationDomainUnverified?: ACLAction[];
8039
+ NotificationMonitoringAlert?: ACLAction[];
8067
8040
  notificationPaymentFailed?: ACLAction[];
8068
8041
  notificationUsageAlert?: ACLAction[];
8069
8042
  notificationSpendCap?: ACLAction[];
8070
8043
  openTelemetryEndpoint?: ACLAction[];
8071
- passwordProtection?: ACLAction[];
8072
8044
  paymentMethod?: ACLAction[];
8073
8045
  permissions?: ACLAction[];
8074
8046
  postgres?: ACLAction[];
8075
8047
  previewDeploymentSuffix?: ACLAction[];
8076
8048
  proTrialOnboarding?: ACLAction[];
8077
- project?: ACLAction[];
8078
- projectDeploymentHook?: ACLAction[];
8079
- projectDomain?: ACLAction[];
8080
- projectDomainMove?: ACLAction[];
8081
- projectEnvVars?: ACLAction[];
8082
- projectEnvVarsUnownedByIntegration?: ACLAction[];
8049
+ seawallConfig?: ACLAction[];
8083
8050
  sharedEnvVars?: ACLAction[];
8084
- projectEnvVarsProduction?: ACLAction[];
8085
8051
  sharedEnvVarsProduction?: ACLAction[];
8086
- projectIntegrationConfiguration?: ACLAction[];
8087
- projectLink?: ACLAction[];
8088
- projectMember?: ACLAction[];
8089
- projectProductionBranch?: ACLAction[];
8090
- projectTransfer?: ACLAction[];
8091
- projectProtectionBypass?: ACLAction[];
8052
+ space?: ACLAction[];
8053
+ passwordProtectionInvoiceItem?: ACLAction[];
8092
8054
  rateLimit?: ACLAction[];
8093
8055
  redis?: ACLAction[];
8094
8056
  remoteCaching?: ACLAction[];
@@ -8098,8 +8060,7 @@ type GetProjectsResponse = {
8098
8060
  spendCapState?: ACLAction[];
8099
8061
  supportCase?: ACLAction[];
8100
8062
  supportCaseComment?: ACLAction[];
8101
- DataCacheNamespace?: ACLAction[];
8102
- DataCacheBillingSettings?: ACLAction[];
8063
+ dataCacheBillingSettings?: ACLAction[];
8103
8064
  team?: ACLAction[];
8104
8065
  teamAccessRequest?: ACLAction[];
8105
8066
  teamFellowMembership?: ACLAction[];
@@ -8112,7 +8073,6 @@ type GetProjectsResponse = {
8112
8073
  usage?: ACLAction[];
8113
8074
  user?: ACLAction[];
8114
8075
  userConnection?: ACLAction[];
8115
- webAnalytics?: ACLAction[];
8116
8076
  webAnalyticsPlan?: ACLAction[];
8117
8077
  edgeConfig?: ACLAction[];
8118
8078
  edgeConfigItem?: ACLAction[];
@@ -8120,14 +8080,41 @@ type GetProjectsResponse = {
8120
8080
  webhook?: ACLAction[];
8121
8081
  ['webhook-event']?: ACLAction[];
8122
8082
  endpointVerification?: ACLAction[];
8083
+ aliasProject?: ACLAction[];
8123
8084
  aliasProtectionBypass?: ACLAction[];
8085
+ connectConfigurationLink?: ACLAction[];
8086
+ dataCacheNamespace?: ACLAction[];
8087
+ deployment?: ACLAction[];
8088
+ deploymentCheck?: ACLAction[];
8089
+ deploymentCheckPreview?: ACLAction[];
8090
+ deploymentCheckReRunFromProductionBranch?: ACLAction[];
8091
+ deploymentProductionGit?: ACLAction[];
8092
+ deploymentPreview?: ACLAction[];
8093
+ deploymentPrivate?: ACLAction[];
8094
+ deploymentPromote?: ACLAction[];
8095
+ deploymentRollback?: ACLAction[];
8096
+ passwordProtection?: ACLAction[];
8097
+ job?: ACLAction[];
8098
+ project?: ACLAction[];
8099
+ projectAnalyticsSampling?: ACLAction[];
8100
+ projectDeploymentHook?: ACLAction[];
8101
+ projectDomain?: ACLAction[];
8102
+ projectDomainMove?: ACLAction[];
8103
+ projectEnvVars?: ACLAction[];
8104
+ projectEnvVarsProduction?: ACLAction[];
8105
+ projectEnvVarsUnownedByIntegration?: ACLAction[];
8106
+ projectIntegrationConfiguration?: ACLAction[];
8107
+ projectLink?: ACLAction[];
8108
+ projectMember?: ACLAction[];
8109
+ projectPermissions?: ACLAction[];
8110
+ projectProductionBranch?: ACLAction[];
8111
+ projectTransfer?: ACLAction[];
8112
+ projectProtectionBypass?: ACLAction[];
8113
+ analytics?: ACLAction[];
8114
+ trustedIps?: ACLAction[];
8115
+ webAnalytics?: ACLAction[];
8124
8116
  };
8125
- lastRollbackTarget?: {
8126
- fromDeploymentId: string;
8127
- toDeploymentId: string;
8128
- jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
8129
- requestedAt: number;
8130
- } | null;
8117
+ lastRollbackTarget?: Record<string, any> | null;
8131
8118
  lastAliasRequest?: {
8132
8119
  fromDeploymentId: string;
8133
8120
  toDeploymentId: string;
@@ -8140,7 +8127,13 @@ type GetProjectsResponse = {
8140
8127
  [key: string]: {
8141
8128
  createdAt: number;
8142
8129
  createdBy: string;
8143
- scope?: 'automation-bypass' | 'shareable-link';
8130
+ scope: 'shareable-link' | 'automation-bypass';
8131
+ } | {
8132
+ createdAt: number;
8133
+ lastUpdatedAt: number;
8134
+ lastUpdatedBy: string;
8135
+ access: 'requested' | 'granted';
8136
+ scope: 'user';
8144
8137
  };
8145
8138
  };
8146
8139
  hasActiveBranches?: boolean;
@@ -8151,7 +8144,19 @@ type GetProjectsResponse = {
8151
8144
  note?: string;
8152
8145
  }[];
8153
8146
  protectionMode: 'additional' | 'exclusive';
8147
+ } | {
8148
+ deploymentType: 'preview' | 'all';
8154
8149
  } | null;
8150
+ gitComments?: {
8151
+ /**
8152
+ * Whether the Vercel bot should comment on PRs
8153
+ */
8154
+ onPullRequest: boolean;
8155
+ /**
8156
+ * Whether the Vercel bot should comment on commits
8157
+ */
8158
+ onCommit: boolean;
8159
+ };
8155
8160
  }[];
8156
8161
  pagination: Pagination;
8157
8162
  };
@@ -8181,14 +8186,17 @@ type CreateProjectResponse = {
8181
8186
  spendLimitInDollars?: number | null;
8182
8187
  };
8183
8188
  autoExposeSystemEnvs?: boolean;
8189
+ autoAssignCustomDomains?: boolean;
8190
+ autoAssignCustomDomainsUpdatedBy?: string;
8184
8191
  buildCommand?: string | null;
8185
8192
  commandForIgnoringBuildStep?: string | null;
8186
8193
  connectConfigurationId?: string | null;
8187
8194
  connectBuildsEnabled?: boolean;
8188
8195
  createdAt?: number;
8189
8196
  dataCache?: {
8190
- userEnabled: boolean;
8191
- enableAt: number | null;
8197
+ userDisabled: boolean;
8198
+ storageSizeBytes?: number | null;
8199
+ unlimited?: boolean;
8192
8200
  };
8193
8201
  crons?: {
8194
8202
  /**
@@ -8302,6 +8310,7 @@ type CreateProjectResponse = {
8302
8310
  src?: string;
8303
8311
  dest?: string;
8304
8312
  }[];
8313
+ connectBuildsEnabled?: boolean;
8305
8314
  connectConfigurationId?: string;
8306
8315
  createdAt: number;
8307
8316
  createdIn: string;
@@ -8323,6 +8332,7 @@ type CreateProjectResponse = {
8323
8332
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8324
8333
  private: boolean;
8325
8334
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8335
+ readySubstate?: 'STAGED' | 'PROMOTED';
8326
8336
  requestedAt?: number;
8327
8337
  target?: string | null;
8328
8338
  teamId?: string | null;
@@ -8426,6 +8436,7 @@ type CreateProjectResponse = {
8426
8436
  src?: string;
8427
8437
  dest?: string;
8428
8438
  }[];
8439
+ connectBuildsEnabled?: boolean;
8429
8440
  connectConfigurationId?: string;
8430
8441
  createdAt: number;
8431
8442
  createdIn: string;
@@ -8447,6 +8458,7 @@ type CreateProjectResponse = {
8447
8458
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8448
8459
  private: boolean;
8449
8460
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8461
+ readySubstate?: 'STAGED' | 'PROMOTED';
8450
8462
  requestedAt?: number;
8451
8463
  target?: string | null;
8452
8464
  teamId?: string | null;
@@ -8475,8 +8487,6 @@ type CreateProjectResponse = {
8475
8487
  enablePreviewFeedback?: boolean | null;
8476
8488
  permissions?: {
8477
8489
  aliasGlobal?: ACLAction[];
8478
- aliasProject?: ACLAction[];
8479
- analytics?: ACLAction[];
8480
8490
  analyticsSampling?: ACLAction[];
8481
8491
  analyticsUsage?: ACLAction[];
8482
8492
  auditLog?: ACLAction[];
@@ -8494,16 +8504,6 @@ type CreateProjectResponse = {
8494
8504
  concurrentBuilds?: ACLAction[];
8495
8505
  connect?: ACLAction[];
8496
8506
  connectConfiguration?: ACLAction[];
8497
- connectConfigurationLink?: ACLAction[];
8498
- deployment?: ACLAction[];
8499
- deploymentProductionGit?: ACLAction[];
8500
- deploymentCheck?: ACLAction[];
8501
- deploymentCheckPreview?: ACLAction[];
8502
- deploymentPreview?: ACLAction[];
8503
- deploymentPrivate?: ACLAction[];
8504
- deploymentCheckReRunFromProductionBranch?: ACLAction[];
8505
- deploymentPromote?: ACLAction[];
8506
- deploymentRollback?: ACLAction[];
8507
8507
  domain?: ACLAction[];
8508
8508
  domainAcceptDelegation?: ACLAction[];
8509
8509
  domainAuthCodes?: ACLAction[];
@@ -8514,21 +8514,23 @@ type CreateProjectResponse = {
8514
8514
  domainRecord?: ACLAction[];
8515
8515
  domainTransferIn?: ACLAction[];
8516
8516
  event?: ACLAction[];
8517
+ ownEvent?: ACLAction[];
8517
8518
  sensitiveEnvironmentVariablePolicy?: ACLAction[];
8518
8519
  fileUpload?: ACLAction[];
8519
8520
  gitRepository?: ACLAction[];
8520
8521
  ipBlocking?: ACLAction[];
8521
- trustedIps?: ACLAction[];
8522
8522
  integration?: ACLAction[];
8523
8523
  integrationConfiguration?: ACLAction[];
8524
8524
  integrationConfigurationTransfer?: ACLAction[];
8525
8525
  integrationConfigurationProjects?: ACLAction[];
8526
8526
  integrationVercelConfigurationOverride?: ACLAction[];
8527
- job?: ACLAction[];
8527
+ jobGlobal?: ACLAction[];
8528
8528
  logDrain?: ACLAction[];
8529
8529
  Monitoring?: ACLAction[];
8530
8530
  monitoringQuery?: ACLAction[];
8531
8531
  monitoringChart?: ACLAction[];
8532
+ monitoringAlert?: ACLAction[];
8533
+ notificationDeploymentFailed?: ACLAction[];
8532
8534
  notificationDomainConfiguration?: ACLAction[];
8533
8535
  notificationDomainExpire?: ACLAction[];
8534
8536
  notificationDomainMoved?: ACLAction[];
@@ -8536,31 +8538,21 @@ type CreateProjectResponse = {
8536
8538
  notificationDomainRenewal?: ACLAction[];
8537
8539
  notificationDomainTransfer?: ACLAction[];
8538
8540
  notificationDomainUnverified?: ACLAction[];
8541
+ NotificationMonitoringAlert?: ACLAction[];
8539
8542
  notificationPaymentFailed?: ACLAction[];
8540
8543
  notificationUsageAlert?: ACLAction[];
8541
8544
  notificationSpendCap?: ACLAction[];
8542
8545
  openTelemetryEndpoint?: ACLAction[];
8543
- passwordProtection?: ACLAction[];
8544
8546
  paymentMethod?: ACLAction[];
8545
8547
  permissions?: ACLAction[];
8546
8548
  postgres?: ACLAction[];
8547
8549
  previewDeploymentSuffix?: ACLAction[];
8548
8550
  proTrialOnboarding?: ACLAction[];
8549
- project?: ACLAction[];
8550
- projectDeploymentHook?: ACLAction[];
8551
- projectDomain?: ACLAction[];
8552
- projectDomainMove?: ACLAction[];
8553
- projectEnvVars?: ACLAction[];
8554
- projectEnvVarsUnownedByIntegration?: ACLAction[];
8551
+ seawallConfig?: ACLAction[];
8555
8552
  sharedEnvVars?: ACLAction[];
8556
- projectEnvVarsProduction?: ACLAction[];
8557
8553
  sharedEnvVarsProduction?: ACLAction[];
8558
- projectIntegrationConfiguration?: ACLAction[];
8559
- projectLink?: ACLAction[];
8560
- projectMember?: ACLAction[];
8561
- projectProductionBranch?: ACLAction[];
8562
- projectTransfer?: ACLAction[];
8563
- projectProtectionBypass?: ACLAction[];
8554
+ space?: ACLAction[];
8555
+ passwordProtectionInvoiceItem?: ACLAction[];
8564
8556
  rateLimit?: ACLAction[];
8565
8557
  redis?: ACLAction[];
8566
8558
  remoteCaching?: ACLAction[];
@@ -8570,8 +8562,7 @@ type CreateProjectResponse = {
8570
8562
  spendCapState?: ACLAction[];
8571
8563
  supportCase?: ACLAction[];
8572
8564
  supportCaseComment?: ACLAction[];
8573
- DataCacheNamespace?: ACLAction[];
8574
- DataCacheBillingSettings?: ACLAction[];
8565
+ dataCacheBillingSettings?: ACLAction[];
8575
8566
  team?: ACLAction[];
8576
8567
  teamAccessRequest?: ACLAction[];
8577
8568
  teamFellowMembership?: ACLAction[];
@@ -8584,7 +8575,6 @@ type CreateProjectResponse = {
8584
8575
  usage?: ACLAction[];
8585
8576
  user?: ACLAction[];
8586
8577
  userConnection?: ACLAction[];
8587
- webAnalytics?: ACLAction[];
8588
8578
  webAnalyticsPlan?: ACLAction[];
8589
8579
  edgeConfig?: ACLAction[];
8590
8580
  edgeConfigItem?: ACLAction[];
@@ -8592,18 +8582,45 @@ type CreateProjectResponse = {
8592
8582
  webhook?: ACLAction[];
8593
8583
  ['webhook-event']?: ACLAction[];
8594
8584
  endpointVerification?: ACLAction[];
8585
+ aliasProject?: ACLAction[];
8595
8586
  aliasProtectionBypass?: ACLAction[];
8596
- };
8597
- lastRollbackTarget?: {
8598
- fromDeploymentId: string;
8599
- toDeploymentId: string;
8600
- jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
8601
- requestedAt: number;
8602
- } | null;
8603
- lastAliasRequest?: {
8604
- fromDeploymentId: string;
8605
- toDeploymentId: string;
8606
- jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
8587
+ connectConfigurationLink?: ACLAction[];
8588
+ dataCacheNamespace?: ACLAction[];
8589
+ deployment?: ACLAction[];
8590
+ deploymentCheck?: ACLAction[];
8591
+ deploymentCheckPreview?: ACLAction[];
8592
+ deploymentCheckReRunFromProductionBranch?: ACLAction[];
8593
+ deploymentProductionGit?: ACLAction[];
8594
+ deploymentPreview?: ACLAction[];
8595
+ deploymentPrivate?: ACLAction[];
8596
+ deploymentPromote?: ACLAction[];
8597
+ deploymentRollback?: ACLAction[];
8598
+ passwordProtection?: ACLAction[];
8599
+ job?: ACLAction[];
8600
+ project?: ACLAction[];
8601
+ projectAnalyticsSampling?: ACLAction[];
8602
+ projectDeploymentHook?: ACLAction[];
8603
+ projectDomain?: ACLAction[];
8604
+ projectDomainMove?: ACLAction[];
8605
+ projectEnvVars?: ACLAction[];
8606
+ projectEnvVarsProduction?: ACLAction[];
8607
+ projectEnvVarsUnownedByIntegration?: ACLAction[];
8608
+ projectIntegrationConfiguration?: ACLAction[];
8609
+ projectLink?: ACLAction[];
8610
+ projectMember?: ACLAction[];
8611
+ projectPermissions?: ACLAction[];
8612
+ projectProductionBranch?: ACLAction[];
8613
+ projectTransfer?: ACLAction[];
8614
+ projectProtectionBypass?: ACLAction[];
8615
+ analytics?: ACLAction[];
8616
+ trustedIps?: ACLAction[];
8617
+ webAnalytics?: ACLAction[];
8618
+ };
8619
+ lastRollbackTarget?: Record<string, any> | null;
8620
+ lastAliasRequest?: {
8621
+ fromDeploymentId: string;
8622
+ toDeploymentId: string;
8623
+ jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
8607
8624
  requestedAt: number;
8608
8625
  type: 'promote' | 'rollback';
8609
8626
  } | null;
@@ -8612,7 +8629,13 @@ type CreateProjectResponse = {
8612
8629
  [key: string]: {
8613
8630
  createdAt: number;
8614
8631
  createdBy: string;
8615
- scope?: 'automation-bypass' | 'shareable-link';
8632
+ scope: 'shareable-link' | 'automation-bypass';
8633
+ } | {
8634
+ createdAt: number;
8635
+ lastUpdatedAt: number;
8636
+ lastUpdatedBy: string;
8637
+ access: 'requested' | 'granted';
8638
+ scope: 'user';
8616
8639
  };
8617
8640
  };
8618
8641
  hasActiveBranches?: boolean;
@@ -8623,7 +8646,19 @@ type CreateProjectResponse = {
8623
8646
  note?: string;
8624
8647
  }[];
8625
8648
  protectionMode: 'additional' | 'exclusive';
8649
+ } | {
8650
+ deploymentType: 'preview' | 'all';
8626
8651
  } | null;
8652
+ gitComments?: {
8653
+ /**
8654
+ * Whether the Vercel bot should comment on PRs
8655
+ */
8656
+ onPullRequest: boolean;
8657
+ /**
8658
+ * Whether the Vercel bot should comment on commits
8659
+ */
8660
+ onCommit: boolean;
8661
+ };
8627
8662
  };
8628
8663
  type CreateProjectRequestBody = {
8629
8664
  /**
@@ -8763,14 +8798,17 @@ type GetProjectResponse = {
8763
8798
  spendLimitInDollars?: number | null;
8764
8799
  };
8765
8800
  autoExposeSystemEnvs?: boolean;
8801
+ autoAssignCustomDomains?: boolean;
8802
+ autoAssignCustomDomainsUpdatedBy?: string;
8766
8803
  buildCommand?: string | null;
8767
8804
  commandForIgnoringBuildStep?: string | null;
8768
8805
  connectConfigurationId?: string | null;
8769
8806
  connectBuildsEnabled?: boolean;
8770
8807
  createdAt?: number;
8771
8808
  dataCache?: {
8772
- userEnabled: boolean;
8773
- enableAt: number | null;
8809
+ userDisabled: boolean;
8810
+ storageSizeBytes?: number | null;
8811
+ unlimited?: boolean;
8774
8812
  };
8775
8813
  crons?: {
8776
8814
  /**
@@ -8884,6 +8922,7 @@ type GetProjectResponse = {
8884
8922
  src?: string;
8885
8923
  dest?: string;
8886
8924
  }[];
8925
+ connectBuildsEnabled?: boolean;
8887
8926
  connectConfigurationId?: string;
8888
8927
  createdAt: number;
8889
8928
  createdIn: string;
@@ -8905,6 +8944,7 @@ type GetProjectResponse = {
8905
8944
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8906
8945
  private: boolean;
8907
8946
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8947
+ readySubstate?: 'STAGED' | 'PROMOTED';
8908
8948
  requestedAt?: number;
8909
8949
  target?: string | null;
8910
8950
  teamId?: string | null;
@@ -9008,6 +9048,7 @@ type GetProjectResponse = {
9008
9048
  src?: string;
9009
9049
  dest?: string;
9010
9050
  }[];
9051
+ connectBuildsEnabled?: boolean;
9011
9052
  connectConfigurationId?: string;
9012
9053
  createdAt: number;
9013
9054
  createdIn: string;
@@ -9029,6 +9070,7 @@ type GetProjectResponse = {
9029
9070
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9030
9071
  private: boolean;
9031
9072
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
9073
+ readySubstate?: 'STAGED' | 'PROMOTED';
9032
9074
  requestedAt?: number;
9033
9075
  target?: string | null;
9034
9076
  teamId?: string | null;
@@ -9057,8 +9099,6 @@ type GetProjectResponse = {
9057
9099
  enablePreviewFeedback?: boolean | null;
9058
9100
  permissions?: {
9059
9101
  aliasGlobal?: ACLAction[];
9060
- aliasProject?: ACLAction[];
9061
- analytics?: ACLAction[];
9062
9102
  analyticsSampling?: ACLAction[];
9063
9103
  analyticsUsage?: ACLAction[];
9064
9104
  auditLog?: ACLAction[];
@@ -9076,16 +9116,6 @@ type GetProjectResponse = {
9076
9116
  concurrentBuilds?: ACLAction[];
9077
9117
  connect?: ACLAction[];
9078
9118
  connectConfiguration?: ACLAction[];
9079
- connectConfigurationLink?: ACLAction[];
9080
- deployment?: ACLAction[];
9081
- deploymentProductionGit?: ACLAction[];
9082
- deploymentCheck?: ACLAction[];
9083
- deploymentCheckPreview?: ACLAction[];
9084
- deploymentPreview?: ACLAction[];
9085
- deploymentPrivate?: ACLAction[];
9086
- deploymentCheckReRunFromProductionBranch?: ACLAction[];
9087
- deploymentPromote?: ACLAction[];
9088
- deploymentRollback?: ACLAction[];
9089
9119
  domain?: ACLAction[];
9090
9120
  domainAcceptDelegation?: ACLAction[];
9091
9121
  domainAuthCodes?: ACLAction[];
@@ -9096,21 +9126,23 @@ type GetProjectResponse = {
9096
9126
  domainRecord?: ACLAction[];
9097
9127
  domainTransferIn?: ACLAction[];
9098
9128
  event?: ACLAction[];
9129
+ ownEvent?: ACLAction[];
9099
9130
  sensitiveEnvironmentVariablePolicy?: ACLAction[];
9100
9131
  fileUpload?: ACLAction[];
9101
9132
  gitRepository?: ACLAction[];
9102
9133
  ipBlocking?: ACLAction[];
9103
- trustedIps?: ACLAction[];
9104
9134
  integration?: ACLAction[];
9105
9135
  integrationConfiguration?: ACLAction[];
9106
9136
  integrationConfigurationTransfer?: ACLAction[];
9107
9137
  integrationConfigurationProjects?: ACLAction[];
9108
9138
  integrationVercelConfigurationOverride?: ACLAction[];
9109
- job?: ACLAction[];
9139
+ jobGlobal?: ACLAction[];
9110
9140
  logDrain?: ACLAction[];
9111
9141
  Monitoring?: ACLAction[];
9112
9142
  monitoringQuery?: ACLAction[];
9113
9143
  monitoringChart?: ACLAction[];
9144
+ monitoringAlert?: ACLAction[];
9145
+ notificationDeploymentFailed?: ACLAction[];
9114
9146
  notificationDomainConfiguration?: ACLAction[];
9115
9147
  notificationDomainExpire?: ACLAction[];
9116
9148
  notificationDomainMoved?: ACLAction[];
@@ -9118,31 +9150,21 @@ type GetProjectResponse = {
9118
9150
  notificationDomainRenewal?: ACLAction[];
9119
9151
  notificationDomainTransfer?: ACLAction[];
9120
9152
  notificationDomainUnverified?: ACLAction[];
9153
+ NotificationMonitoringAlert?: ACLAction[];
9121
9154
  notificationPaymentFailed?: ACLAction[];
9122
9155
  notificationUsageAlert?: ACLAction[];
9123
9156
  notificationSpendCap?: ACLAction[];
9124
9157
  openTelemetryEndpoint?: ACLAction[];
9125
- passwordProtection?: ACLAction[];
9126
9158
  paymentMethod?: ACLAction[];
9127
9159
  permissions?: ACLAction[];
9128
9160
  postgres?: ACLAction[];
9129
9161
  previewDeploymentSuffix?: ACLAction[];
9130
9162
  proTrialOnboarding?: ACLAction[];
9131
- project?: ACLAction[];
9132
- projectDeploymentHook?: ACLAction[];
9133
- projectDomain?: ACLAction[];
9134
- projectDomainMove?: ACLAction[];
9135
- projectEnvVars?: ACLAction[];
9136
- projectEnvVarsUnownedByIntegration?: ACLAction[];
9163
+ seawallConfig?: ACLAction[];
9137
9164
  sharedEnvVars?: ACLAction[];
9138
- projectEnvVarsProduction?: ACLAction[];
9139
9165
  sharedEnvVarsProduction?: ACLAction[];
9140
- projectIntegrationConfiguration?: ACLAction[];
9141
- projectLink?: ACLAction[];
9142
- projectMember?: ACLAction[];
9143
- projectProductionBranch?: ACLAction[];
9144
- projectTransfer?: ACLAction[];
9145
- projectProtectionBypass?: ACLAction[];
9166
+ space?: ACLAction[];
9167
+ passwordProtectionInvoiceItem?: ACLAction[];
9146
9168
  rateLimit?: ACLAction[];
9147
9169
  redis?: ACLAction[];
9148
9170
  remoteCaching?: ACLAction[];
@@ -9152,8 +9174,7 @@ type GetProjectResponse = {
9152
9174
  spendCapState?: ACLAction[];
9153
9175
  supportCase?: ACLAction[];
9154
9176
  supportCaseComment?: ACLAction[];
9155
- DataCacheNamespace?: ACLAction[];
9156
- DataCacheBillingSettings?: ACLAction[];
9177
+ dataCacheBillingSettings?: ACLAction[];
9157
9178
  team?: ACLAction[];
9158
9179
  teamAccessRequest?: ACLAction[];
9159
9180
  teamFellowMembership?: ACLAction[];
@@ -9166,7 +9187,6 @@ type GetProjectResponse = {
9166
9187
  usage?: ACLAction[];
9167
9188
  user?: ACLAction[];
9168
9189
  userConnection?: ACLAction[];
9169
- webAnalytics?: ACLAction[];
9170
9190
  webAnalyticsPlan?: ACLAction[];
9171
9191
  edgeConfig?: ACLAction[];
9172
9192
  edgeConfigItem?: ACLAction[];
@@ -9174,14 +9194,41 @@ type GetProjectResponse = {
9174
9194
  webhook?: ACLAction[];
9175
9195
  ['webhook-event']?: ACLAction[];
9176
9196
  endpointVerification?: ACLAction[];
9197
+ aliasProject?: ACLAction[];
9177
9198
  aliasProtectionBypass?: ACLAction[];
9199
+ connectConfigurationLink?: ACLAction[];
9200
+ dataCacheNamespace?: ACLAction[];
9201
+ deployment?: ACLAction[];
9202
+ deploymentCheck?: ACLAction[];
9203
+ deploymentCheckPreview?: ACLAction[];
9204
+ deploymentCheckReRunFromProductionBranch?: ACLAction[];
9205
+ deploymentProductionGit?: ACLAction[];
9206
+ deploymentPreview?: ACLAction[];
9207
+ deploymentPrivate?: ACLAction[];
9208
+ deploymentPromote?: ACLAction[];
9209
+ deploymentRollback?: ACLAction[];
9210
+ passwordProtection?: ACLAction[];
9211
+ job?: ACLAction[];
9212
+ project?: ACLAction[];
9213
+ projectAnalyticsSampling?: ACLAction[];
9214
+ projectDeploymentHook?: ACLAction[];
9215
+ projectDomain?: ACLAction[];
9216
+ projectDomainMove?: ACLAction[];
9217
+ projectEnvVars?: ACLAction[];
9218
+ projectEnvVarsProduction?: ACLAction[];
9219
+ projectEnvVarsUnownedByIntegration?: ACLAction[];
9220
+ projectIntegrationConfiguration?: ACLAction[];
9221
+ projectLink?: ACLAction[];
9222
+ projectMember?: ACLAction[];
9223
+ projectPermissions?: ACLAction[];
9224
+ projectProductionBranch?: ACLAction[];
9225
+ projectTransfer?: ACLAction[];
9226
+ projectProtectionBypass?: ACLAction[];
9227
+ analytics?: ACLAction[];
9228
+ trustedIps?: ACLAction[];
9229
+ webAnalytics?: ACLAction[];
9178
9230
  };
9179
- lastRollbackTarget?: {
9180
- fromDeploymentId: string;
9181
- toDeploymentId: string;
9182
- jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
9183
- requestedAt: number;
9184
- } | null;
9231
+ lastRollbackTarget?: Record<string, any> | null;
9185
9232
  lastAliasRequest?: {
9186
9233
  fromDeploymentId: string;
9187
9234
  toDeploymentId: string;
@@ -9194,7 +9241,13 @@ type GetProjectResponse = {
9194
9241
  [key: string]: {
9195
9242
  createdAt: number;
9196
9243
  createdBy: string;
9197
- scope?: 'automation-bypass' | 'shareable-link';
9244
+ scope: 'shareable-link' | 'automation-bypass';
9245
+ } | {
9246
+ createdAt: number;
9247
+ lastUpdatedAt: number;
9248
+ lastUpdatedBy: string;
9249
+ access: 'requested' | 'granted';
9250
+ scope: 'user';
9198
9251
  };
9199
9252
  };
9200
9253
  hasActiveBranches?: boolean;
@@ -9205,7 +9258,19 @@ type GetProjectResponse = {
9205
9258
  note?: string;
9206
9259
  }[];
9207
9260
  protectionMode: 'additional' | 'exclusive';
9261
+ } | {
9262
+ deploymentType: 'preview' | 'all';
9208
9263
  } | null;
9264
+ gitComments?: {
9265
+ /**
9266
+ * Whether the Vercel bot should comment on PRs
9267
+ */
9268
+ onPullRequest: boolean;
9269
+ /**
9270
+ * Whether the Vercel bot should comment on commits
9271
+ */
9272
+ onCommit: boolean;
9273
+ };
9209
9274
  };
9210
9275
  type GetProjectVariables = {
9211
9276
  pathParams: GetProjectPathParams;
@@ -9242,14 +9307,17 @@ type UpdateProjectResponse = {
9242
9307
  spendLimitInDollars?: number | null;
9243
9308
  };
9244
9309
  autoExposeSystemEnvs?: boolean;
9310
+ autoAssignCustomDomains?: boolean;
9311
+ autoAssignCustomDomainsUpdatedBy?: string;
9245
9312
  buildCommand?: string | null;
9246
9313
  commandForIgnoringBuildStep?: string | null;
9247
9314
  connectConfigurationId?: string | null;
9248
9315
  connectBuildsEnabled?: boolean;
9249
9316
  createdAt?: number;
9250
9317
  dataCache?: {
9251
- userEnabled: boolean;
9252
- enableAt: number | null;
9318
+ userDisabled: boolean;
9319
+ storageSizeBytes?: number | null;
9320
+ unlimited?: boolean;
9253
9321
  };
9254
9322
  crons?: {
9255
9323
  /**
@@ -9363,6 +9431,7 @@ type UpdateProjectResponse = {
9363
9431
  src?: string;
9364
9432
  dest?: string;
9365
9433
  }[];
9434
+ connectBuildsEnabled?: boolean;
9366
9435
  connectConfigurationId?: string;
9367
9436
  createdAt: number;
9368
9437
  createdIn: string;
@@ -9384,6 +9453,7 @@ type UpdateProjectResponse = {
9384
9453
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9385
9454
  private: boolean;
9386
9455
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
9456
+ readySubstate?: 'STAGED' | 'PROMOTED';
9387
9457
  requestedAt?: number;
9388
9458
  target?: string | null;
9389
9459
  teamId?: string | null;
@@ -9487,6 +9557,7 @@ type UpdateProjectResponse = {
9487
9557
  src?: string;
9488
9558
  dest?: string;
9489
9559
  }[];
9560
+ connectBuildsEnabled?: boolean;
9490
9561
  connectConfigurationId?: string;
9491
9562
  createdAt: number;
9492
9563
  createdIn: string;
@@ -9508,6 +9579,7 @@ type UpdateProjectResponse = {
9508
9579
  plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9509
9580
  private: boolean;
9510
9581
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
9582
+ readySubstate?: 'STAGED' | 'PROMOTED';
9511
9583
  requestedAt?: number;
9512
9584
  target?: string | null;
9513
9585
  teamId?: string | null;
@@ -9536,8 +9608,6 @@ type UpdateProjectResponse = {
9536
9608
  enablePreviewFeedback?: boolean | null;
9537
9609
  permissions?: {
9538
9610
  aliasGlobal?: ACLAction[];
9539
- aliasProject?: ACLAction[];
9540
- analytics?: ACLAction[];
9541
9611
  analyticsSampling?: ACLAction[];
9542
9612
  analyticsUsage?: ACLAction[];
9543
9613
  auditLog?: ACLAction[];
@@ -9555,16 +9625,6 @@ type UpdateProjectResponse = {
9555
9625
  concurrentBuilds?: ACLAction[];
9556
9626
  connect?: ACLAction[];
9557
9627
  connectConfiguration?: ACLAction[];
9558
- connectConfigurationLink?: ACLAction[];
9559
- deployment?: ACLAction[];
9560
- deploymentProductionGit?: ACLAction[];
9561
- deploymentCheck?: ACLAction[];
9562
- deploymentCheckPreview?: ACLAction[];
9563
- deploymentPreview?: ACLAction[];
9564
- deploymentPrivate?: ACLAction[];
9565
- deploymentCheckReRunFromProductionBranch?: ACLAction[];
9566
- deploymentPromote?: ACLAction[];
9567
- deploymentRollback?: ACLAction[];
9568
9628
  domain?: ACLAction[];
9569
9629
  domainAcceptDelegation?: ACLAction[];
9570
9630
  domainAuthCodes?: ACLAction[];
@@ -9575,21 +9635,23 @@ type UpdateProjectResponse = {
9575
9635
  domainRecord?: ACLAction[];
9576
9636
  domainTransferIn?: ACLAction[];
9577
9637
  event?: ACLAction[];
9638
+ ownEvent?: ACLAction[];
9578
9639
  sensitiveEnvironmentVariablePolicy?: ACLAction[];
9579
9640
  fileUpload?: ACLAction[];
9580
9641
  gitRepository?: ACLAction[];
9581
9642
  ipBlocking?: ACLAction[];
9582
- trustedIps?: ACLAction[];
9583
9643
  integration?: ACLAction[];
9584
9644
  integrationConfiguration?: ACLAction[];
9585
9645
  integrationConfigurationTransfer?: ACLAction[];
9586
9646
  integrationConfigurationProjects?: ACLAction[];
9587
9647
  integrationVercelConfigurationOverride?: ACLAction[];
9588
- job?: ACLAction[];
9648
+ jobGlobal?: ACLAction[];
9589
9649
  logDrain?: ACLAction[];
9590
9650
  Monitoring?: ACLAction[];
9591
9651
  monitoringQuery?: ACLAction[];
9592
9652
  monitoringChart?: ACLAction[];
9653
+ monitoringAlert?: ACLAction[];
9654
+ notificationDeploymentFailed?: ACLAction[];
9593
9655
  notificationDomainConfiguration?: ACLAction[];
9594
9656
  notificationDomainExpire?: ACLAction[];
9595
9657
  notificationDomainMoved?: ACLAction[];
@@ -9597,31 +9659,21 @@ type UpdateProjectResponse = {
9597
9659
  notificationDomainRenewal?: ACLAction[];
9598
9660
  notificationDomainTransfer?: ACLAction[];
9599
9661
  notificationDomainUnverified?: ACLAction[];
9662
+ NotificationMonitoringAlert?: ACLAction[];
9600
9663
  notificationPaymentFailed?: ACLAction[];
9601
9664
  notificationUsageAlert?: ACLAction[];
9602
9665
  notificationSpendCap?: ACLAction[];
9603
9666
  openTelemetryEndpoint?: ACLAction[];
9604
- passwordProtection?: ACLAction[];
9605
9667
  paymentMethod?: ACLAction[];
9606
9668
  permissions?: ACLAction[];
9607
9669
  postgres?: ACLAction[];
9608
9670
  previewDeploymentSuffix?: ACLAction[];
9609
9671
  proTrialOnboarding?: ACLAction[];
9610
- project?: ACLAction[];
9611
- projectDeploymentHook?: ACLAction[];
9612
- projectDomain?: ACLAction[];
9613
- projectDomainMove?: ACLAction[];
9614
- projectEnvVars?: ACLAction[];
9615
- projectEnvVarsUnownedByIntegration?: ACLAction[];
9672
+ seawallConfig?: ACLAction[];
9616
9673
  sharedEnvVars?: ACLAction[];
9617
- projectEnvVarsProduction?: ACLAction[];
9618
9674
  sharedEnvVarsProduction?: ACLAction[];
9619
- projectIntegrationConfiguration?: ACLAction[];
9620
- projectLink?: ACLAction[];
9621
- projectMember?: ACLAction[];
9622
- projectProductionBranch?: ACLAction[];
9623
- projectTransfer?: ACLAction[];
9624
- projectProtectionBypass?: ACLAction[];
9675
+ space?: ACLAction[];
9676
+ passwordProtectionInvoiceItem?: ACLAction[];
9625
9677
  rateLimit?: ACLAction[];
9626
9678
  redis?: ACLAction[];
9627
9679
  remoteCaching?: ACLAction[];
@@ -9631,8 +9683,7 @@ type UpdateProjectResponse = {
9631
9683
  spendCapState?: ACLAction[];
9632
9684
  supportCase?: ACLAction[];
9633
9685
  supportCaseComment?: ACLAction[];
9634
- DataCacheNamespace?: ACLAction[];
9635
- DataCacheBillingSettings?: ACLAction[];
9686
+ dataCacheBillingSettings?: ACLAction[];
9636
9687
  team?: ACLAction[];
9637
9688
  teamAccessRequest?: ACLAction[];
9638
9689
  teamFellowMembership?: ACLAction[];
@@ -9645,7 +9696,6 @@ type UpdateProjectResponse = {
9645
9696
  usage?: ACLAction[];
9646
9697
  user?: ACLAction[];
9647
9698
  userConnection?: ACLAction[];
9648
- webAnalytics?: ACLAction[];
9649
9699
  webAnalyticsPlan?: ACLAction[];
9650
9700
  edgeConfig?: ACLAction[];
9651
9701
  edgeConfigItem?: ACLAction[];
@@ -9653,14 +9703,41 @@ type UpdateProjectResponse = {
9653
9703
  webhook?: ACLAction[];
9654
9704
  ['webhook-event']?: ACLAction[];
9655
9705
  endpointVerification?: ACLAction[];
9706
+ aliasProject?: ACLAction[];
9656
9707
  aliasProtectionBypass?: ACLAction[];
9708
+ connectConfigurationLink?: ACLAction[];
9709
+ dataCacheNamespace?: ACLAction[];
9710
+ deployment?: ACLAction[];
9711
+ deploymentCheck?: ACLAction[];
9712
+ deploymentCheckPreview?: ACLAction[];
9713
+ deploymentCheckReRunFromProductionBranch?: ACLAction[];
9714
+ deploymentProductionGit?: ACLAction[];
9715
+ deploymentPreview?: ACLAction[];
9716
+ deploymentPrivate?: ACLAction[];
9717
+ deploymentPromote?: ACLAction[];
9718
+ deploymentRollback?: ACLAction[];
9719
+ passwordProtection?: ACLAction[];
9720
+ job?: ACLAction[];
9721
+ project?: ACLAction[];
9722
+ projectAnalyticsSampling?: ACLAction[];
9723
+ projectDeploymentHook?: ACLAction[];
9724
+ projectDomain?: ACLAction[];
9725
+ projectDomainMove?: ACLAction[];
9726
+ projectEnvVars?: ACLAction[];
9727
+ projectEnvVarsProduction?: ACLAction[];
9728
+ projectEnvVarsUnownedByIntegration?: ACLAction[];
9729
+ projectIntegrationConfiguration?: ACLAction[];
9730
+ projectLink?: ACLAction[];
9731
+ projectMember?: ACLAction[];
9732
+ projectPermissions?: ACLAction[];
9733
+ projectProductionBranch?: ACLAction[];
9734
+ projectTransfer?: ACLAction[];
9735
+ projectProtectionBypass?: ACLAction[];
9736
+ analytics?: ACLAction[];
9737
+ trustedIps?: ACLAction[];
9738
+ webAnalytics?: ACLAction[];
9657
9739
  };
9658
- lastRollbackTarget?: {
9659
- fromDeploymentId: string;
9660
- toDeploymentId: string;
9661
- jobStatus: 'succeeded' | 'failed' | 'skipped' | 'pending' | 'in-progress';
9662
- requestedAt: number;
9663
- } | null;
9740
+ lastRollbackTarget?: Record<string, any> | null;
9664
9741
  lastAliasRequest?: {
9665
9742
  fromDeploymentId: string;
9666
9743
  toDeploymentId: string;
@@ -9673,7 +9750,13 @@ type UpdateProjectResponse = {
9673
9750
  [key: string]: {
9674
9751
  createdAt: number;
9675
9752
  createdBy: string;
9676
- scope?: 'automation-bypass' | 'shareable-link';
9753
+ scope: 'shareable-link' | 'automation-bypass';
9754
+ } | {
9755
+ createdAt: number;
9756
+ lastUpdatedAt: number;
9757
+ lastUpdatedBy: string;
9758
+ access: 'requested' | 'granted';
9759
+ scope: 'user';
9677
9760
  };
9678
9761
  };
9679
9762
  hasActiveBranches?: boolean;
@@ -9684,10 +9767,24 @@ type UpdateProjectResponse = {
9684
9767
  note?: string;
9685
9768
  }[];
9686
9769
  protectionMode: 'exclusive' | 'additional';
9770
+ } | {
9771
+ deploymentType: 'all' | 'preview';
9687
9772
  } | null;
9773
+ gitComments?: {
9774
+ /**
9775
+ * Whether the Vercel bot should comment on PRs
9776
+ */
9777
+ onPullRequest: boolean;
9778
+ /**
9779
+ * Whether the Vercel bot should comment on commits
9780
+ */
9781
+ onCommit: boolean;
9782
+ };
9688
9783
  };
9689
9784
  type UpdateProjectRequestBody = {
9690
9785
  autoExposeSystemEnvs?: boolean;
9786
+ autoAssignCustomDomains?: boolean;
9787
+ autoAssignCustomDomainsUpdatedBy?: string;
9691
9788
  /**
9692
9789
  * The build command for this project. When `null` is used this value will be automatically detected
9693
9790
  *
@@ -9803,7 +9900,7 @@ type UpdateProjectRequestBody = {
9803
9900
  */
9804
9901
  addresses: {
9805
9902
  /**
9806
- * The IP addresses that are allowlisted. Supported formats are IPv4, IPv6 and CIDR.
9903
+ * The IP addresses that are allowlisted. Supported formats are IPv4 and CIDR.
9807
9904
  */
9808
9905
  value: string;
9809
9906
  /**
@@ -11090,56 +11187,19 @@ type GetTeamMembersQueryParams = {
11090
11187
  *
11091
11188
  * @example OWNER
11092
11189
  */
11093
- role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER';
11190
+ role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING';
11094
11191
  /**
11095
11192
  * Exclude members who belong to the specified project.
11096
11193
  */
11097
11194
  excludeProject?: string;
11195
+ /**
11196
+ * Include team members who are eligible to be members of the specified project.
11197
+ */
11198
+ eligibleMembersForProjectId?: string;
11098
11199
  };
11099
11200
  type GetTeamMembersError = ErrorWrapper<undefined>;
11100
11201
  type GetTeamMembersResponse = {
11101
- members: ({
11102
- avatar?: string;
11103
- confirmed: boolean;
11104
- role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
11105
- uid: string;
11106
- username: string;
11107
- name?: string;
11108
- createdAt: number;
11109
- accessRequestedAt: number;
11110
- joinedFrom?: {
11111
- origin: 'link' | 'import' | 'github' | 'gitlab' | 'bitbucket' | 'mail' | 'teams' | 'saml' | 'dsync' | 'feedback' | 'organization-teams';
11112
- commitId?: string;
11113
- repoId?: string;
11114
- repoPath?: string;
11115
- gitUserId?: string | number;
11116
- gitUserLogin?: string;
11117
- ssoUserId?: string;
11118
- ssoConnectedAt?: number;
11119
- idpUserId?: string;
11120
- dsyncUserId?: string;
11121
- dsyncConnectedAt?: number;
11122
- };
11123
- email: string;
11124
- /**
11125
- * Information about the GitHub account for this user.
11126
- */
11127
- github?: {
11128
- login?: string;
11129
- };
11130
- /**
11131
- * Information about the GitLab account of this user.
11132
- */
11133
- gitlab?: {
11134
- login?: string;
11135
- };
11136
- /**
11137
- * Information about the Bitbucket account of this user.
11138
- */
11139
- bitbucket?: {
11140
- login?: string;
11141
- };
11142
- } | {
11202
+ members: {
11143
11203
  /**
11144
11204
  * ID of the file for the Avatar of this member.
11145
11205
  *
@@ -11181,7 +11241,7 @@ type GetTeamMembersResponse = {
11181
11241
  *
11182
11242
  * @example OWNER
11183
11243
  */
11184
- role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
11244
+ role: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
11185
11245
  /**
11186
11246
  * The ID of this user.
11187
11247
  *
@@ -11216,7 +11276,7 @@ type GetTeamMembersResponse = {
11216
11276
  * Map with information about the members origin if they joined by requesting access.
11217
11277
  */
11218
11278
  joinedFrom?: {
11219
- origin: 'link' | 'import' | 'github' | 'gitlab' | 'bitbucket' | 'mail' | 'teams' | 'saml' | 'dsync' | 'feedback' | 'organization-teams';
11279
+ origin: 'link' | 'mail' | 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'saml' | 'dsync' | 'feedback' | 'organization-teams';
11220
11280
  commitId?: string;
11221
11281
  repoId?: string;
11222
11282
  repoPath?: string;
@@ -11228,13 +11288,22 @@ type GetTeamMembersResponse = {
11228
11288
  dsyncUserId?: string;
11229
11289
  dsyncConnectedAt?: number;
11230
11290
  };
11231
- })[];
11291
+ /**
11292
+ * Array of project memberships
11293
+ */
11294
+ projects?: {
11295
+ name?: string;
11296
+ id?: string;
11297
+ role?: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
11298
+ }[];
11299
+ }[];
11232
11300
  emailInviteCodes?: {
11233
11301
  id: string;
11234
11302
  email?: string;
11235
- role?: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
11303
+ role?: 'MEMBER' | 'OWNER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
11236
11304
  isDSyncUser: boolean;
11237
11305
  createdAt?: number;
11306
+ expired?: boolean;
11238
11307
  }[];
11239
11308
  pagination: {
11240
11309
  hasNext: boolean;
@@ -11280,7 +11349,30 @@ type InviteUserToTeamRequestBody = {
11280
11349
  * @example john@example.com
11281
11350
  */
11282
11351
  email?: string;
11283
- role?: void;
11352
+ /**
11353
+ * The role of the user to invite
11354
+ *
11355
+ * @default MEMBER
11356
+ * @default VIEWER
11357
+ * @example MEMBER
11358
+ * @example VIEWER
11359
+ */
11360
+ role?: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
11361
+ projects?: {
11362
+ /**
11363
+ * The ID of the project.
11364
+ *
11365
+ * @maxLength 256
11366
+ * @example prj_ndlgr43fadlPyCtREAqxxdyFK
11367
+ */
11368
+ projectId: string;
11369
+ /**
11370
+ * Sets the project roles for the invited user
11371
+ *
11372
+ * @example ADMIN
11373
+ */
11374
+ role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER';
11375
+ }[];
11284
11376
  };
11285
11377
  type InviteUserToTeamVariables = {
11286
11378
  body?: InviteUserToTeamRequestBody;
@@ -11288,36 +11380,7 @@ type InviteUserToTeamVariables = {
11288
11380
  /**
11289
11381
  * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
11290
11382
  */
11291
- declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<{
11292
- /**
11293
- * The ID of the invited user
11294
- *
11295
- * @example kr1PsOIzqEL5Xg6M4VZcZosf
11296
- */
11297
- uid: string;
11298
- /**
11299
- * The username of the invited user
11300
- *
11301
- * @example john-doe
11302
- */
11303
- username: string;
11304
- /**
11305
- * The email of the invited user. Not included if the user was invited via their UID.
11306
- *
11307
- * @example john@user.co
11308
- */
11309
- email: string;
11310
- /**
11311
- * The role used for the invitation
11312
- *
11313
- * @example MEMBER
11314
- */
11315
- role: string;
11316
- } | {
11317
- uid: string;
11318
- username: string;
11319
- role: string;
11320
- }>;
11383
+ declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
11321
11384
  type RequestAccessToTeamError = ErrorWrapper<undefined>;
11322
11385
  type RequestAccessToTeamResponse = {
11323
11386
  teamSlug: string;
@@ -11421,7 +11484,7 @@ type GetTeamAccessRequestResponse = {
11421
11484
  * A map that describes the origin from where the user joined.
11422
11485
  */
11423
11486
  joinedFrom: {
11424
- origin: 'link' | 'import' | 'mail' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'saml' | 'dsync' | 'feedback' | 'organization-teams';
11487
+ origin: 'link' | 'mail' | 'import' | 'teams' | 'github' | 'gitlab' | 'bitbucket' | 'saml' | 'dsync' | 'feedback' | 'organization-teams';
11425
11488
  commitId?: string;
11426
11489
  repoId?: string;
11427
11490
  repoPath?: string;
@@ -11650,99 +11713,590 @@ type PatchTeamRequestBody = {
11650
11713
  */
11651
11714
  enforced?: boolean;
11652
11715
  roles?: {
11653
- [key: string]: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING';
11716
+ [key: string]: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
11717
+ };
11718
+ };
11719
+ /**
11720
+ * A new slug for the team.
11721
+ *
11722
+ * @example my-team
11723
+ */
11724
+ slug?: string;
11725
+ /**
11726
+ * Enable preview comments: one of on, off or default.
11727
+ *
11728
+ * @example on
11729
+ */
11730
+ enablePreviewFeedback?: string;
11731
+ /**
11732
+ * Sensitive environment variable policy: one of on, off or default.
11733
+ *
11734
+ * @example on
11735
+ */
11736
+ sensitiveEnvironmentVariablePolicy?: string;
11737
+ /**
11738
+ * Runs a task that migrates all existing environment variables to sensitive environment variables.
11739
+ *
11740
+ * @example false
11741
+ */
11742
+ migrateExistingEnvVariablesToSensitive?: boolean;
11743
+ /**
11744
+ * Whether or not remote caching is enabled for the team
11745
+ */
11746
+ remoteCaching?: {
11747
+ /**
11748
+ * Enable or disable remote caching for the team.
11749
+ *
11750
+ * @example true
11751
+ */
11752
+ enabled?: boolean;
11753
+ };
11754
+ /**
11755
+ * Display or hide IP addresses in Monitoring queries.
11756
+ *
11757
+ * @example false
11758
+ */
11759
+ hideIpAddresses?: boolean;
11760
+ };
11761
+ type PatchTeamVariables = {
11762
+ body?: PatchTeamRequestBody;
11763
+ pathParams: PatchTeamPathParams;
11764
+ } & FetcherExtraProps;
11765
+ /**
11766
+ * Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team.
11767
+ */
11768
+ declare const patchTeam: (variables: PatchTeamVariables, signal?: AbortSignal) => Promise<Team>;
11769
+ type GetTeamsQueryParams = {
11770
+ /**
11771
+ * Maximum number of Teams which may be returned.
11772
+ *
11773
+ * @example 20
11774
+ */
11775
+ limit?: number;
11776
+ /**
11777
+ * Timestamp (in milliseconds) to only include Teams created since then.
11778
+ *
11779
+ * @example 1540095775951
11780
+ */
11781
+ since?: number;
11782
+ /**
11783
+ * Timestamp (in milliseconds) to only include Teams created until then.
11784
+ *
11785
+ * @example 1540095775951
11786
+ */
11787
+ until?: number;
11788
+ };
11789
+ type GetTeamsError = ErrorWrapper<undefined>;
11790
+ type GetTeamsResponse = {
11791
+ teams: (Team | TeamLimited)[];
11792
+ pagination: Pagination;
11793
+ };
11794
+ type GetTeamsVariables = {
11795
+ queryParams?: GetTeamsQueryParams;
11796
+ } & FetcherExtraProps;
11797
+ /**
11798
+ * Get a paginated list of all the Teams the authenticated User is a member of.
11799
+ */
11800
+ declare const getTeams: (variables: GetTeamsVariables, signal?: AbortSignal) => Promise<GetTeamsResponse>;
11801
+ type CreateTeamError = ErrorWrapper<undefined>;
11802
+ type CreateTeamResponse = {
11803
+ /**
11804
+ * Id of the created team
11805
+ *
11806
+ * @example team_nLlpyC6RE1qxqglFKbrMxlud
11807
+ */
11808
+ id: string;
11809
+ billing: {
11810
+ currency?: 'usd' | 'eur';
11811
+ cancelation?: number | null;
11812
+ period: {
11813
+ start: number;
11814
+ end: number;
11815
+ } | null;
11816
+ contract?: {
11817
+ start: number;
11818
+ end: number;
11819
+ } | null;
11820
+ plan: 'enterprise' | 'pro' | 'hobby';
11821
+ platform?: 'stripeTestMode' | 'stripe';
11822
+ orbCustomerId?: string;
11823
+ programType?: 'startup' | 'agency';
11824
+ trial?: {
11825
+ start: number;
11826
+ end: number;
11827
+ } | null;
11828
+ email?: string | null;
11829
+ tax?: {
11830
+ type: string;
11831
+ id: string;
11832
+ } | null;
11833
+ language?: string | null;
11834
+ address?: {
11835
+ line1: string;
11836
+ line2?: string;
11837
+ postalCode?: string;
11838
+ city?: string;
11839
+ country?: string;
11840
+ state?: string;
11841
+ } | null;
11842
+ name?: string | null;
11843
+ overdue?: boolean | null;
11844
+ invoiceItems?: {
11845
+ /**
11846
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11847
+ */
11848
+ analytics?: {
11849
+ tier?: number;
11850
+ price: number;
11851
+ quantity: number;
11852
+ name?: string;
11853
+ hidden: boolean;
11854
+ createdAt?: number;
11855
+ disabledAt?: number | null;
11856
+ frequency?: {
11857
+ interval: 'month';
11858
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11859
+ };
11860
+ maxQuantity?: number;
11861
+ };
11862
+ /**
11863
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11864
+ */
11865
+ enterprise?: {
11866
+ tier?: number;
11867
+ price: number;
11868
+ quantity: number;
11869
+ name?: string;
11870
+ hidden: boolean;
11871
+ createdAt?: number;
11872
+ disabledAt?: number | null;
11873
+ frequency?: {
11874
+ interval: 'month';
11875
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11876
+ };
11877
+ maxQuantity?: number;
11878
+ };
11879
+ /**
11880
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11881
+ */
11882
+ monitoring?: {
11883
+ tier?: number;
11884
+ price: number;
11885
+ quantity: number;
11886
+ name?: string;
11887
+ hidden: boolean;
11888
+ createdAt?: number;
11889
+ disabledAt?: number | null;
11890
+ frequency?: {
11891
+ interval: 'month';
11892
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11893
+ };
11894
+ maxQuantity?: number;
11895
+ };
11896
+ /**
11897
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11898
+ */
11899
+ pro?: {
11900
+ tier?: number;
11901
+ price: number;
11902
+ quantity: number;
11903
+ name?: string;
11904
+ hidden: boolean;
11905
+ createdAt?: number;
11906
+ disabledAt?: number | null;
11907
+ frequency?: {
11908
+ interval: 'month';
11909
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11910
+ };
11911
+ maxQuantity?: number;
11912
+ };
11913
+ /**
11914
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11915
+ */
11916
+ concurrentBuilds?: {
11917
+ tier?: number;
11918
+ price: number;
11919
+ quantity: number;
11920
+ name?: string;
11921
+ hidden: boolean;
11922
+ createdAt?: number;
11923
+ disabledAt?: number | null;
11924
+ frequency?: {
11925
+ interval: 'month';
11926
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11927
+ };
11928
+ maxQuantity?: number;
11929
+ };
11930
+ /**
11931
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11932
+ */
11933
+ passwordProtection?: {
11934
+ tier?: number;
11935
+ price: number;
11936
+ quantity: number;
11937
+ name?: string;
11938
+ hidden: boolean;
11939
+ createdAt?: number;
11940
+ disabledAt?: number | null;
11941
+ frequency?: {
11942
+ interval: 'month';
11943
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11944
+ };
11945
+ maxQuantity?: number;
11946
+ };
11947
+ /**
11948
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11949
+ */
11950
+ previewDeploymentSuffix?: {
11951
+ tier?: number;
11952
+ price: number;
11953
+ quantity: number;
11954
+ name?: string;
11955
+ hidden: boolean;
11956
+ createdAt?: number;
11957
+ disabledAt?: number | null;
11958
+ frequency?: {
11959
+ interval: 'month';
11960
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11961
+ };
11962
+ maxQuantity?: number;
11963
+ };
11964
+ /**
11965
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11966
+ */
11967
+ webAnalytics?: {
11968
+ tier?: number;
11969
+ price: number;
11970
+ quantity: number;
11971
+ name?: string;
11972
+ hidden: boolean;
11973
+ createdAt?: number;
11974
+ disabledAt?: number | null;
11975
+ frequency?: {
11976
+ interval: 'month';
11977
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11978
+ };
11979
+ maxQuantity?: number;
11980
+ };
11981
+ /**
11982
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
11983
+ */
11984
+ saml?: {
11985
+ tier?: number;
11986
+ price: number;
11987
+ quantity: number;
11988
+ name?: string;
11989
+ hidden: boolean;
11990
+ createdAt?: number;
11991
+ disabledAt?: number | null;
11992
+ frequency?: {
11993
+ interval: 'month';
11994
+ intervalCount: 1 | 2 | 3 | 6 | 12;
11995
+ };
11996
+ maxQuantity?: number;
11997
+ };
11998
+ /**
11999
+ * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
12000
+ */
12001
+ teamSeats?: {
12002
+ tier?: number;
12003
+ price: number;
12004
+ quantity: number;
12005
+ name?: string;
12006
+ hidden: boolean;
12007
+ createdAt?: number;
12008
+ disabledAt?: number | null;
12009
+ frequency?: {
12010
+ interval: 'month';
12011
+ intervalCount: 1 | 2 | 3 | 6 | 12;
12012
+ };
12013
+ maxQuantity?: number;
12014
+ };
12015
+ analyticsUsage?: {
12016
+ tier?: number;
12017
+ price: number;
12018
+ batch: number;
12019
+ threshold: number;
12020
+ name?: string;
12021
+ hidden: boolean;
12022
+ disabledAt?: number | null;
12023
+ enabledAt?: number | null;
12024
+ };
12025
+ artifacts?: {
12026
+ tier?: number;
12027
+ price: number;
12028
+ batch: number;
12029
+ threshold: number;
12030
+ name?: string;
12031
+ hidden: boolean;
12032
+ disabledAt?: number | null;
12033
+ enabledAt?: number | null;
12034
+ };
12035
+ bandwidth?: {
12036
+ tier?: number;
12037
+ price: number;
12038
+ batch: number;
12039
+ threshold: number;
12040
+ name?: string;
12041
+ hidden: boolean;
12042
+ disabledAt?: number | null;
12043
+ enabledAt?: number | null;
12044
+ };
12045
+ cronJobInvocation?: {
12046
+ tier?: number;
12047
+ price: number;
12048
+ batch: number;
12049
+ threshold: number;
12050
+ name?: string;
12051
+ hidden: boolean;
12052
+ disabledAt?: number | null;
12053
+ enabledAt?: number | null;
12054
+ };
12055
+ dataCacheRead?: {
12056
+ tier?: number;
12057
+ price: number;
12058
+ batch: number;
12059
+ threshold: number;
12060
+ name?: string;
12061
+ hidden: boolean;
12062
+ disabledAt?: number | null;
12063
+ enabledAt?: number | null;
12064
+ };
12065
+ dataCacheRevalidation?: {
12066
+ tier?: number;
12067
+ price: number;
12068
+ batch: number;
12069
+ threshold: number;
12070
+ name?: string;
12071
+ hidden: boolean;
12072
+ disabledAt?: number | null;
12073
+ enabledAt?: number | null;
12074
+ };
12075
+ dataCacheWrite?: {
12076
+ tier?: number;
12077
+ price: number;
12078
+ batch: number;
12079
+ threshold: number;
12080
+ name?: string;
12081
+ hidden: boolean;
12082
+ disabledAt?: number | null;
12083
+ enabledAt?: number | null;
12084
+ };
12085
+ edgeConfigRead?: {
12086
+ tier?: number;
12087
+ price: number;
12088
+ batch: number;
12089
+ threshold: number;
12090
+ name?: string;
12091
+ hidden: boolean;
12092
+ disabledAt?: number | null;
12093
+ enabledAt?: number | null;
12094
+ };
12095
+ edgeConfigWrite?: {
12096
+ tier?: number;
12097
+ price: number;
12098
+ batch: number;
12099
+ threshold: number;
12100
+ name?: string;
12101
+ hidden: boolean;
12102
+ disabledAt?: number | null;
12103
+ enabledAt?: number | null;
12104
+ };
12105
+ edgeFunctionExecutionUnits?: {
12106
+ tier?: number;
12107
+ price: number;
12108
+ batch: number;
12109
+ threshold: number;
12110
+ name?: string;
12111
+ hidden: boolean;
12112
+ disabledAt?: number | null;
12113
+ enabledAt?: number | null;
12114
+ };
12115
+ edgeMiddlewareInvocations?: {
12116
+ tier?: number;
12117
+ price: number;
12118
+ batch: number;
12119
+ threshold: number;
12120
+ name?: string;
12121
+ hidden: boolean;
12122
+ disabledAt?: number | null;
12123
+ enabledAt?: number | null;
12124
+ };
12125
+ monitoringMetric?: {
12126
+ tier?: number;
12127
+ price: number;
12128
+ batch: number;
12129
+ threshold: number;
12130
+ name?: string;
12131
+ hidden: boolean;
12132
+ disabledAt?: number | null;
12133
+ enabledAt?: number | null;
12134
+ };
12135
+ postgresComputeTime?: {
12136
+ tier?: number;
12137
+ price: number;
12138
+ batch: number;
12139
+ threshold: number;
12140
+ name?: string;
12141
+ hidden: boolean;
12142
+ disabledAt?: number | null;
12143
+ enabledAt?: number | null;
12144
+ };
12145
+ postgresDatabase?: {
12146
+ tier?: number;
12147
+ price: number;
12148
+ batch: number;
12149
+ threshold: number;
12150
+ name?: string;
12151
+ hidden: boolean;
12152
+ disabledAt?: number | null;
12153
+ enabledAt?: number | null;
12154
+ };
12155
+ postgresDataStorage?: {
12156
+ tier?: number;
12157
+ price: number;
12158
+ batch: number;
12159
+ threshold: number;
12160
+ name?: string;
12161
+ hidden: boolean;
12162
+ disabledAt?: number | null;
12163
+ enabledAt?: number | null;
12164
+ };
12165
+ postgresDataTransfer?: {
12166
+ tier?: number;
12167
+ price: number;
12168
+ batch: number;
12169
+ threshold: number;
12170
+ name?: string;
12171
+ hidden: boolean;
12172
+ disabledAt?: number | null;
12173
+ enabledAt?: number | null;
12174
+ };
12175
+ postgresWrittenData?: {
12176
+ tier?: number;
12177
+ price: number;
12178
+ batch: number;
12179
+ threshold: number;
12180
+ name?: string;
12181
+ hidden: boolean;
12182
+ disabledAt?: number | null;
12183
+ enabledAt?: number | null;
12184
+ };
12185
+ serverlessFunctionExecution?: {
12186
+ tier?: number;
12187
+ price: number;
12188
+ batch: number;
12189
+ threshold: number;
12190
+ name?: string;
12191
+ hidden: boolean;
12192
+ disabledAt?: number | null;
12193
+ enabledAt?: number | null;
12194
+ };
12195
+ sourceImages?: {
12196
+ tier?: number;
12197
+ price: number;
12198
+ batch: number;
12199
+ threshold: number;
12200
+ name?: string;
12201
+ hidden: boolean;
12202
+ disabledAt?: number | null;
12203
+ enabledAt?: number | null;
12204
+ };
12205
+ storageRedisTotalBandwidthInBytes?: {
12206
+ tier?: number;
12207
+ price: number;
12208
+ batch: number;
12209
+ threshold: number;
12210
+ name?: string;
12211
+ hidden: boolean;
12212
+ disabledAt?: number | null;
12213
+ enabledAt?: number | null;
12214
+ };
12215
+ storageRedisTotalCommands?: {
12216
+ tier?: number;
12217
+ price: number;
12218
+ batch: number;
12219
+ threshold: number;
12220
+ name?: string;
12221
+ hidden: boolean;
12222
+ disabledAt?: number | null;
12223
+ enabledAt?: number | null;
12224
+ };
12225
+ storageRedisTotalDailyAvgStorageInBytes?: {
12226
+ tier?: number;
12227
+ price: number;
12228
+ batch: number;
12229
+ threshold: number;
12230
+ name?: string;
12231
+ hidden: boolean;
12232
+ disabledAt?: number | null;
12233
+ enabledAt?: number | null;
12234
+ };
12235
+ storageRedisTotalDatabases?: {
12236
+ tier?: number;
12237
+ price: number;
12238
+ batch: number;
12239
+ threshold: number;
12240
+ name?: string;
12241
+ hidden: boolean;
12242
+ disabledAt?: number | null;
12243
+ enabledAt?: number | null;
12244
+ };
12245
+ webAnalyticsEvent?: {
12246
+ tier?: number;
12247
+ price: number;
12248
+ batch: number;
12249
+ threshold: number;
12250
+ name?: string;
12251
+ hidden: boolean;
12252
+ disabledAt?: number | null;
12253
+ enabledAt?: number | null;
12254
+ };
12255
+ } | null;
12256
+ invoiceSettings?: {
12257
+ footer?: string;
11654
12258
  };
12259
+ subscriptions?: {
12260
+ id: string;
12261
+ trial: {
12262
+ start: number;
12263
+ end: number;
12264
+ } | null;
12265
+ period: {
12266
+ start: number;
12267
+ end: number;
12268
+ };
12269
+ frequency: {
12270
+ interval: 'day' | 'month' | 'week' | 'year';
12271
+ intervalCount: number;
12272
+ };
12273
+ discount: {
12274
+ id: string;
12275
+ coupon: {
12276
+ id: string;
12277
+ name: string | null;
12278
+ amountOff: number | null;
12279
+ percentageOff: number | null;
12280
+ durationInMonths: number | null;
12281
+ duration: 'forever' | 'repeating' | 'once';
12282
+ };
12283
+ } | null;
12284
+ items: {
12285
+ id: string;
12286
+ priceId: string;
12287
+ productId: string;
12288
+ amount: number;
12289
+ quantity: number;
12290
+ }[];
12291
+ }[] | null;
12292
+ controls?: {
12293
+ analyticsSampleRateInPercent?: number | null;
12294
+ analyticsSpendLimitInDollars?: number | null;
12295
+ } | null;
12296
+ purchaseOrder?: string | null;
12297
+ status?: 'active' | 'trialing' | 'overdue' | 'expired' | 'canceled';
12298
+ pricingExperiment?: 'august-2022';
11655
12299
  };
11656
- /**
11657
- * A new slug for the team.
11658
- *
11659
- * @example my-team
11660
- */
11661
- slug?: string;
11662
- /**
11663
- * Enable preview comments: one of on, off or default.
11664
- *
11665
- * @example on
11666
- */
11667
- enablePreviewFeedback?: string;
11668
- /**
11669
- * Sensitive environment variable policy: one of on, off or default.
11670
- *
11671
- * @example on
11672
- */
11673
- sensitiveEnvironmentVariablePolicy?: string;
11674
- /**
11675
- * Runs a task that migrates all existing environment variables to sensitive environment variables.
11676
- *
11677
- * @example false
11678
- */
11679
- migrateExistingEnvVariablesToSensitive?: boolean;
11680
- /**
11681
- * Whether or not remote caching is enabled for the team
11682
- */
11683
- remoteCaching?: {
11684
- /**
11685
- * Enable or disable remote caching for the team.
11686
- *
11687
- * @example true
11688
- */
11689
- enabled?: boolean;
11690
- };
11691
- /**
11692
- * Display or hide IP addresses in Monitoring queries.
11693
- *
11694
- * @example false
11695
- */
11696
- hideIpAddresses?: boolean;
11697
- };
11698
- type PatchTeamVariables = {
11699
- body?: PatchTeamRequestBody;
11700
- pathParams: PatchTeamPathParams;
11701
- } & FetcherExtraProps;
11702
- /**
11703
- * Update the information of a Team specified by the `teamId` parameter. The request body should contain the information that will be updated on the Team.
11704
- */
11705
- declare const patchTeam: (variables: PatchTeamVariables, signal?: AbortSignal) => Promise<Team>;
11706
- type GetTeamsQueryParams = {
11707
- /**
11708
- * Maximum number of Teams which may be returned.
11709
- *
11710
- * @example 20
11711
- */
11712
- limit?: number;
11713
- /**
11714
- * Timestamp (in milliseconds) to only include Teams created since then.
11715
- *
11716
- * @example 1540095775951
11717
- */
11718
- since?: number;
11719
- /**
11720
- * Timestamp (in milliseconds) to only include Teams created until then.
11721
- *
11722
- * @example 1540095775951
11723
- */
11724
- until?: number;
11725
- };
11726
- type GetTeamsError = ErrorWrapper<undefined>;
11727
- type GetTeamsResponse = {
11728
- teams: (Team | TeamLimited)[];
11729
- pagination: Pagination;
11730
- };
11731
- type GetTeamsVariables = {
11732
- queryParams?: GetTeamsQueryParams;
11733
- } & FetcherExtraProps;
11734
- /**
11735
- * Get a paginated list of all the Teams the authenticated User is a member of.
11736
- */
11737
- declare const getTeams: (variables: GetTeamsVariables, signal?: AbortSignal) => Promise<GetTeamsResponse>;
11738
- type CreateTeamError = ErrorWrapper<undefined>;
11739
- type CreateTeamResponse = {
11740
- /**
11741
- * Id of the created team
11742
- *
11743
- * @example team_nLlpyC6RE1qxqglFKbrMxlud
11744
- */
11745
- id: string;
11746
12300
  };
11747
12301
  type CreateTeamRequestBody = {
11748
12302
  /**
@@ -12073,7 +12627,7 @@ type CreateWebhookRequestBody = {
12073
12627
  /**
12074
12628
  * @minItems 1
12075
12629
  */
12076
- events: ('mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DomainCreate' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DeploymentCreate' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DeploymentErro' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DeploymentCancele' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DeploymentSucceede' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DeploymentRead' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.DeploymentCheckRerequeste' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.IntegrationConfigurationPermissionUpgrade' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.IntegrationConfigurationRemove' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.IntegrationConfigurationScopeChangeConfirme' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.ProjectCreate' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.ProjectRemove' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentChecksComplete' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentRead' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentPrepare' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentErro' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentCheckRerequeste' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymentCancele' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyProjectCreate' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyProjectRemove' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDomainCreate' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyDeploymen' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyIntegrationConfigurationPermissionUpdate' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyIntegrationConfigurationRemove' | 'mport("/vercel/path0/utils/webhooks/webhooks/types").WebhookName.LegacyIntegrationConfigurationScopeChangeConfirme')[];
12630
+ 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')[];
12077
12631
  /**
12078
12632
  * @minItems 1
12079
12633
  * @maxItems 50
@@ -12439,7 +12993,13 @@ type ListAliasesResponse = {
12439
12993
  [key: string]: {
12440
12994
  createdAt: number;
12441
12995
  createdBy: string;
12442
- scope?: 'automation-bypass' | 'shareable-link';
12996
+ scope: 'shareable-link' | 'automation-bypass';
12997
+ } | {
12998
+ createdAt: number;
12999
+ lastUpdatedAt: number;
13000
+ lastUpdatedBy: string;
13001
+ access: 'requested' | 'granted';
13002
+ scope: 'user';
12443
13003
  };
12444
13004
  };
12445
13005
  }[];
@@ -12601,7 +13161,13 @@ type GetAliasResponse = {
12601
13161
  [key: string]: {
12602
13162
  createdAt: number;
12603
13163
  createdBy: string;
12604
- scope?: 'automation-bypass' | 'shareable-link';
13164
+ scope: 'shareable-link' | 'automation-bypass';
13165
+ } | {
13166
+ createdAt: number;
13167
+ lastUpdatedAt: number;
13168
+ lastUpdatedBy: string;
13169
+ access: 'requested' | 'granted';
13170
+ scope: 'user';
12605
13171
  };
12606
13172
  };
12607
13173
  };
@@ -12688,8 +13254,14 @@ type ListDeploymentAliasesResponse = {
12688
13254
  protectionBypass?: {
12689
13255
  [key: string]: {
12690
13256
  createdAt: number;
12691
- createdBy: string;
12692
- scope?: 'automation-bypass' | 'shareable-link';
13257
+ createdBy: string;
13258
+ scope: 'shareable-link' | 'automation-bypass';
13259
+ } | {
13260
+ createdAt: number;
13261
+ lastUpdatedAt: number;
13262
+ lastUpdatedBy: string;
13263
+ access: 'requested' | 'granted';
13264
+ scope: 'user';
12693
13265
  };
12694
13266
  };
12695
13267
  }[];
@@ -12717,33 +13289,6 @@ type AssignAliasQueryParams = {
12717
13289
  teamId?: string;
12718
13290
  };
12719
13291
  type AssignAliasError = ErrorWrapper<undefined>;
12720
- type AssignAliasResponse = {
12721
- /**
12722
- * The unique identifier of the alias
12723
- *
12724
- * @example 2WjyKQmM8ZnGcJsPWMrHRHrE
12725
- */
12726
- uid: string;
12727
- /**
12728
- * The assigned alias name
12729
- *
12730
- * @example my-alias.vercel.app
12731
- */
12732
- alias: string;
12733
- /**
12734
- * The date when the alias was created
12735
- *
12736
- * @format date-time
12737
- * @example 2017-04-26T23:00:34.232Z
12738
- */
12739
- created: string;
12740
- /**
12741
- * The unique identifier of the previously aliased deployment, only received when the alias was used before
12742
- *
12743
- * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa
12744
- */
12745
- oldDeploymentId?: string | null;
12746
- };
12747
13292
  type AssignAliasRequestBody = {
12748
13293
  /**
12749
13294
  * The alias we want to assign to the deployment defined in the URL
@@ -12766,7 +13311,7 @@ type AssignAliasVariables = {
12766
13311
  /**
12767
13312
  * Creates a new alias for the deployment with the given deployment ID. The authenticated user must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.
12768
13313
  */
12769
- declare const assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<AssignAliasResponse>;
13314
+ declare const assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
12770
13315
  type GetCertByIdPathParams = {
12771
13316
  /**
12772
13317
  * The cert id
@@ -13122,6 +13667,10 @@ type GetDeploymentsResponse = {
13122
13667
  * @example 1609492210000
13123
13668
  */
13124
13669
  ready?: number;
13670
+ /**
13671
+ * Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - PROMOTED: has seen production traffic
13672
+ */
13673
+ readySubstate?: 'STAGED' | 'PROMOTED';
13125
13674
  /**
13126
13675
  * State of all registered checks
13127
13676
  */
@@ -13159,7 +13708,24 @@ type GetDeploymentsResponse = {
13159
13708
  commandForIgnoringBuildStep?: string | null;
13160
13709
  createdAt?: number;
13161
13710
  skipGitConnectDuringLink?: boolean;
13711
+ /**
13712
+ * Since June '23
13713
+ */
13714
+ gitComments?: {
13715
+ /**
13716
+ * Whether the Vercel bot should comment on PRs
13717
+ */
13718
+ onPullRequest: boolean;
13719
+ /**
13720
+ * Whether the Vercel bot should comment on commits
13721
+ */
13722
+ onCommit: boolean;
13723
+ };
13162
13724
  };
13725
+ /**
13726
+ * The flag saying if Vercel Connect configuration is used for builds
13727
+ */
13728
+ connectBuildsEnabled?: boolean;
13163
13729
  /**
13164
13730
  * The ID of Vercel Connect configuration used for this deployment
13165
13731
  */
@@ -14027,7 +14593,6 @@ declare const operationsByTag: {
14027
14593
  deployments: {
14028
14594
  getDeploymentEvents: (variables: GetDeploymentEventsVariables, signal?: AbortSignal) => Promise<GetDeploymentEventsResponse>;
14029
14595
  getDeployment: (variables: GetDeploymentVariables, signal?: AbortSignal) => Promise<{
14030
- aliasAssignedAt?: number | boolean | null;
14031
14596
  build: {
14032
14597
  /**
14033
14598
  * The keys of the environment variables that were assigned during the build phase.
@@ -14037,6 +14602,10 @@ declare const operationsByTag: {
14037
14602
  env: string[];
14038
14603
  };
14039
14604
  builds?: Record<string, any>[];
14605
+ /**
14606
+ * The flag saying if Vercel Connect configuration is used for builds
14607
+ */
14608
+ connectBuildsEnabled?: boolean;
14040
14609
  /**
14041
14610
  * The ID of Vercel Connect configuration used for this deployment
14042
14611
  */
@@ -14212,132 +14781,7 @@ declare const operationsByTag: {
14212
14781
  private: boolean;
14213
14782
  ownerType: 'team' | 'user';
14214
14783
  } | null;
14215
- /**
14216
- * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
14217
- */
14218
- alias: string[];
14219
- /**
14220
- * A boolean that will be true when the aliases from the alias property were assigned successfully
14221
- *
14222
- * @example true
14223
- */
14224
- aliasAssigned: boolean;
14225
- /**
14226
- * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
14227
- *
14228
- * @example null
14229
- */
14230
- aliasError?: {
14231
- code: string;
14232
- message: string;
14233
- } | null;
14234
- aliasFinal?: string | null;
14235
- aliasWarning?: {
14236
- code: string;
14237
- message: string;
14238
- link?: string;
14239
- action?: string;
14240
- } | null;
14241
- autoAssignCustomDomains?: boolean;
14242
- automaticAliases?: string[];
14243
- bootedAt: number;
14244
- buildErrorAt?: number;
14245
- buildingAt: number;
14246
- canceledAt?: number;
14247
- checksState?: 'registered' | 'running' | 'completed';
14248
- checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
14249
- /**
14250
- * A number containing the date when the deployment was created in milliseconds
14251
- *
14252
- * @example 1540257589405
14253
- */
14254
- createdAt: number;
14255
- /**
14256
- * Information about the deployment creator
14257
- */
14258
- creator: {
14259
- /**
14260
- * The ID of the user that created the deployment
14261
- *
14262
- * @example 96SnxkFiMyVKsK3pnoHfx3Hz
14263
- */
14264
- uid: string;
14265
- /**
14266
- * The username of the user that created the deployment
14267
- *
14268
- * @example john-doe
14269
- */
14270
- username?: string;
14271
- };
14272
- errorCode?: string;
14273
- errorLink?: string;
14274
- errorMessage?: string | null;
14275
- errorStep?: string;
14276
- gitSource?: {
14277
- type: 'github';
14278
- repoId: string | number;
14279
- ref?: string | null;
14280
- sha?: string;
14281
- prId?: number | null;
14282
- } | {
14283
- type: 'github';
14284
- org: string;
14285
- repo: string;
14286
- ref?: string | null;
14287
- sha?: string;
14288
- prId?: number | null;
14289
- } | {
14290
- type: 'gitlab';
14291
- projectId: string | number;
14292
- ref?: string | null;
14293
- sha?: string;
14294
- prId?: number | null;
14295
- } | {
14296
- type: 'bitbucket';
14297
- workspaceUuid?: string;
14298
- repoUuid: string;
14299
- ref?: string | null;
14300
- sha?: string;
14301
- prId?: number | null;
14302
- } | {
14303
- type: 'bitbucket';
14304
- owner: string;
14305
- slug: string;
14306
- ref?: string | null;
14307
- sha?: string;
14308
- prId?: number | null;
14309
- } | {
14310
- type: 'custom';
14311
- ref: string;
14312
- sha: string;
14313
- gitUrl: string;
14314
- } | {
14315
- type: 'github';
14316
- ref: string;
14317
- sha: string;
14318
- repoId: number;
14319
- org?: string;
14320
- repo?: string;
14321
- } | {
14322
- type: 'gitlab';
14323
- ref: string;
14324
- sha: string;
14325
- projectId: number;
14326
- } | {
14327
- type: 'bitbucket';
14328
- ref: string;
14329
- sha: string;
14330
- owner?: string;
14331
- slug?: string;
14332
- workspaceUuid: string;
14333
- repoUuid: string;
14334
- };
14335
- /**
14336
- * A string holding the unique ID of the deployment
14337
- *
14338
- * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
14339
- */
14340
- id: string;
14784
+ aliasAssignedAt?: number | boolean | null;
14341
14785
  lambdas?: {
14342
14786
  id: string;
14343
14787
  createdAt?: number;
@@ -14361,6 +14805,12 @@ declare const operationsByTag: {
14361
14805
  * @example READY
14362
14806
  */
14363
14807
  readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
14808
+ /**
14809
+ * The substate of the deployment when the state is "READY"
14810
+ *
14811
+ * @example STAGED
14812
+ */
14813
+ readySubstate?: 'STAGED' | 'PROMOTED';
14364
14814
  /**
14365
14815
  * The regions the deployment exists in
14366
14816
  *
@@ -14428,7 +14878,6 @@ declare const operationsByTag: {
14428
14878
  * @example false
14429
14879
  */
14430
14880
  previewCommentsEnabled?: boolean;
14431
- } | {
14432
14881
  /**
14433
14882
  * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
14434
14883
  */
@@ -14555,6 +15004,7 @@ declare const operationsByTag: {
14555
15004
  * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
14556
15005
  */
14557
15006
  id: string;
15007
+ } | {
14558
15008
  lambdas?: {
14559
15009
  id: string;
14560
15010
  createdAt?: number;
@@ -14592,6 +15042,12 @@ declare const operationsByTag: {
14592
15042
  * @example READY
14593
15043
  */
14594
15044
  readyState: 'QUEUED' | 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'READY' | 'CANCELED';
15045
+ /**
15046
+ * The substate of the deployment when the state is "READY"
15047
+ *
15048
+ * @example STAGED
15049
+ */
15050
+ readySubstate?: 'STAGED' | 'PROMOTED';
14595
15051
  /**
14596
15052
  * The regions the deployment exists in
14597
15053
  *
@@ -14629,36 +15085,162 @@ declare const operationsByTag: {
14629
15085
  /**
14630
15086
  * The slug of the team owner
14631
15087
  *
14632
- * @example fsociety
15088
+ * @example fsociety
15089
+ */
15090
+ slug: string;
15091
+ };
15092
+ type: 'LAMBDAS';
15093
+ /**
15094
+ * A string with the unique URL of the deployment
15095
+ *
15096
+ * @example my-instant-deployment-3ij3cxz9qr.now.sh
15097
+ */
15098
+ url: string;
15099
+ /**
15100
+ * An array of domains that were provided by the user when creating the Deployment.
15101
+ *
15102
+ * @example sub1.example.com
15103
+ * @example sub2.example.com
15104
+ */
15105
+ userAliases?: string[];
15106
+ /**
15107
+ * The platform version that was used to create the deployment.
15108
+ *
15109
+ * @example 2
15110
+ */
15111
+ version: 2;
15112
+ /**
15113
+ * Whether or not preview comments are enabled for the deployment
15114
+ *
15115
+ * @example false
15116
+ */
15117
+ previewCommentsEnabled?: boolean;
15118
+ /**
15119
+ * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
15120
+ */
15121
+ alias: string[];
15122
+ /**
15123
+ * A boolean that will be true when the aliases from the alias property were assigned successfully
15124
+ *
15125
+ * @example true
15126
+ */
15127
+ aliasAssigned: boolean;
15128
+ /**
15129
+ * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
15130
+ *
15131
+ * @example null
15132
+ */
15133
+ aliasError?: {
15134
+ code: string;
15135
+ message: string;
15136
+ } | null;
15137
+ aliasFinal?: string | null;
15138
+ aliasWarning?: {
15139
+ code: string;
15140
+ message: string;
15141
+ link?: string;
15142
+ action?: string;
15143
+ } | null;
15144
+ autoAssignCustomDomains?: boolean;
15145
+ automaticAliases?: string[];
15146
+ bootedAt: number;
15147
+ buildErrorAt?: number;
15148
+ buildingAt: number;
15149
+ canceledAt?: number;
15150
+ checksState?: 'registered' | 'running' | 'completed';
15151
+ checksConclusion?: 'succeeded' | 'failed' | 'skipped' | 'canceled';
15152
+ /**
15153
+ * A number containing the date when the deployment was created in milliseconds
15154
+ *
15155
+ * @example 1540257589405
15156
+ */
15157
+ createdAt: number;
15158
+ /**
15159
+ * Information about the deployment creator
15160
+ */
15161
+ creator: {
15162
+ /**
15163
+ * The ID of the user that created the deployment
15164
+ *
15165
+ * @example 96SnxkFiMyVKsK3pnoHfx3Hz
15166
+ */
15167
+ uid: string;
15168
+ /**
15169
+ * The username of the user that created the deployment
15170
+ *
15171
+ * @example john-doe
14633
15172
  */
15173
+ username?: string;
15174
+ };
15175
+ errorCode?: string;
15176
+ errorLink?: string;
15177
+ errorMessage?: string | null;
15178
+ errorStep?: string;
15179
+ gitSource?: {
15180
+ type: 'github';
15181
+ repoId: string | number;
15182
+ ref?: string | null;
15183
+ sha?: string;
15184
+ prId?: number | null;
15185
+ } | {
15186
+ type: 'github';
15187
+ org: string;
15188
+ repo: string;
15189
+ ref?: string | null;
15190
+ sha?: string;
15191
+ prId?: number | null;
15192
+ } | {
15193
+ type: 'gitlab';
15194
+ projectId: string | number;
15195
+ ref?: string | null;
15196
+ sha?: string;
15197
+ prId?: number | null;
15198
+ } | {
15199
+ type: 'bitbucket';
15200
+ workspaceUuid?: string;
15201
+ repoUuid: string;
15202
+ ref?: string | null;
15203
+ sha?: string;
15204
+ prId?: number | null;
15205
+ } | {
15206
+ type: 'bitbucket';
15207
+ owner: string;
14634
15208
  slug: string;
15209
+ ref?: string | null;
15210
+ sha?: string;
15211
+ prId?: number | null;
15212
+ } | {
15213
+ type: 'custom';
15214
+ ref: string;
15215
+ sha: string;
15216
+ gitUrl: string;
15217
+ } | {
15218
+ type: 'github';
15219
+ ref: string;
15220
+ sha: string;
15221
+ repoId: number;
15222
+ org?: string;
15223
+ repo?: string;
15224
+ } | {
15225
+ type: 'gitlab';
15226
+ ref: string;
15227
+ sha: string;
15228
+ projectId: number;
15229
+ } | {
15230
+ type: 'bitbucket';
15231
+ ref: string;
15232
+ sha: string;
15233
+ owner?: string;
15234
+ slug?: string;
15235
+ workspaceUuid: string;
15236
+ repoUuid: string;
14635
15237
  };
14636
- type: 'LAMBDAS';
14637
- /**
14638
- * A string with the unique URL of the deployment
14639
- *
14640
- * @example my-instant-deployment-3ij3cxz9qr.now.sh
14641
- */
14642
- url: string;
14643
- /**
14644
- * An array of domains that were provided by the user when creating the Deployment.
14645
- *
14646
- * @example sub1.example.com
14647
- * @example sub2.example.com
14648
- */
14649
- userAliases?: string[];
14650
15238
  /**
14651
- * The platform version that was used to create the deployment.
14652
- *
14653
- * @example 2
14654
- */
14655
- version: 2;
14656
- /**
14657
- * Whether or not preview comments are enabled for the deployment
15239
+ * A string holding the unique ID of the deployment
14658
15240
  *
14659
- * @example false
15241
+ * @example dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ
14660
15242
  */
14661
- previewCommentsEnabled?: boolean;
15243
+ id: string;
14662
15244
  }>;
14663
15245
  createDeployment: (variables: CreateDeploymentVariables, signal?: AbortSignal) => Promise<CreateDeploymentResponse>;
14664
15246
  cancelDeployment: (variables: CancelDeploymentVariables, signal?: AbortSignal) => Promise<CancelDeploymentResponse>;
@@ -14858,6 +15440,7 @@ declare const operationsByTag: {
14858
15440
  * @example 1558531915505
14859
15441
  */
14860
15442
  deletedAt?: number | null;
15443
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
14861
15444
  }[] | {
14862
15445
  integration: {
14863
15446
  name: string;
@@ -14972,6 +15555,7 @@ declare const operationsByTag: {
14972
15555
  * @example 1558531915505
14973
15556
  */
14974
15557
  deletedAt?: number | null;
15558
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
14975
15559
  }[]>;
14976
15560
  getConfiguration: (variables: GetConfigurationVariables, signal?: AbortSignal) => Promise<{
14977
15561
  /**
@@ -15079,6 +15663,7 @@ declare const operationsByTag: {
15079
15663
  * @example 1558531915505
15080
15664
  */
15081
15665
  deletedAt?: number | null;
15666
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
15082
15667
  } | {
15083
15668
  /**
15084
15669
  * A string representing the permission for projects. Possible values are `all` or `selected`.
@@ -15191,6 +15776,7 @@ declare const operationsByTag: {
15191
15776
  * @example 1558531915505
15192
15777
  */
15193
15778
  deletedAt?: number | null;
15779
+ disabledReason?: 'log-drain-high-error-rate' | 'log-drains-add-on-disabled-by-owner' | 'account-plan-downgrade' | 'disabled-by-admin' | 'original-owner-left-the-team';
15194
15780
  canConfigureOpenTelemetry?: boolean;
15195
15781
  }>;
15196
15782
  deleteConfiguration: (variables: DeleteConfigurationVariables, signal?: AbortSignal) => Promise<undefined>;
@@ -15208,36 +15794,7 @@ declare const operationsByTag: {
15208
15794
  };
15209
15795
  teams: {
15210
15796
  getTeamMembers: (variables: GetTeamMembersVariables, signal?: AbortSignal) => Promise<GetTeamMembersResponse>;
15211
- inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<{
15212
- /**
15213
- * The ID of the invited user
15214
- *
15215
- * @example kr1PsOIzqEL5Xg6M4VZcZosf
15216
- */
15217
- uid: string;
15218
- /**
15219
- * The username of the invited user
15220
- *
15221
- * @example john-doe
15222
- */
15223
- username: string;
15224
- /**
15225
- * The email of the invited user. Not included if the user was invited via their UID.
15226
- *
15227
- * @example john@user.co
15228
- */
15229
- email: string;
15230
- /**
15231
- * The role used for the invitation
15232
- *
15233
- * @example MEMBER
15234
- */
15235
- role: string;
15236
- } | {
15237
- uid: string;
15238
- username: string;
15239
- role: string;
15240
- }>;
15797
+ inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
15241
15798
  requestAccessToTeam: (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
15242
15799
  getTeamAccessRequest: (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
15243
15800
  joinTeam: (variables: JoinTeamVariables, signal?: AbortSignal) => Promise<JoinTeamResponse>;
@@ -15361,7 +15918,7 @@ declare const operationsByTag: {
15361
15918
  getAlias: (variables: GetAliasVariables, signal?: AbortSignal) => Promise<GetAliasResponse>;
15362
15919
  deleteAlias: (variables: DeleteAliasVariables, signal?: AbortSignal) => Promise<DeleteAliasResponse>;
15363
15920
  listDeploymentAliases: (variables: ListDeploymentAliasesVariables, signal?: AbortSignal) => Promise<ListDeploymentAliasesResponse>;
15364
- assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<AssignAliasResponse>;
15921
+ assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
15365
15922
  };
15366
15923
  certs: {
15367
15924
  getCertById: (variables: GetCertByIdVariables, signal?: AbortSignal) => Promise<GetCertByIdResponse>;
@@ -15393,7 +15950,6 @@ type components_AssignAliasError = AssignAliasError;
15393
15950
  type components_AssignAliasPathParams = AssignAliasPathParams;
15394
15951
  type components_AssignAliasQueryParams = AssignAliasQueryParams;
15395
15952
  type components_AssignAliasRequestBody = AssignAliasRequestBody;
15396
- type components_AssignAliasResponse = AssignAliasResponse;
15397
15953
  type components_AssignAliasVariables = AssignAliasVariables;
15398
15954
  type components_BuyDomainError = BuyDomainError;
15399
15955
  type components_BuyDomainQueryParams = BuyDomainQueryParams;
@@ -16019,7 +16575,6 @@ declare namespace components {
16019
16575
  components_AssignAliasPathParams as AssignAliasPathParams,
16020
16576
  components_AssignAliasQueryParams as AssignAliasQueryParams,
16021
16577
  components_AssignAliasRequestBody as AssignAliasRequestBody,
16022
- components_AssignAliasResponse as AssignAliasResponse,
16023
16578
  components_AssignAliasVariables as AssignAliasVariables,
16024
16579
  components_BuyDomainError as BuyDomainError,
16025
16580
  components_BuyDomainQueryParams as BuyDomainQueryParams,
@@ -16645,11 +17200,11 @@ declare const operationsByPath: {
16645
17200
  'PATCH /v1/data-cache/projects/{projectId}': (variables: UpdateProjectDataCacheVariables, signal?: AbortSignal | undefined) => Promise<UpdateProjectDataCacheResponse>;
16646
17201
  'GET /v2/deployments/{idOrUrl}/events': (variables: GetDeploymentEventsVariables, signal?: AbortSignal | undefined) => Promise<GetDeploymentEventsResponse>;
16647
17202
  'GET /v13/deployments/{idOrUrl}': (variables: GetDeploymentVariables, signal?: AbortSignal | undefined) => Promise<{
16648
- aliasAssignedAt?: number | boolean | null;
16649
17203
  build: {
16650
17204
  env: string[];
16651
17205
  };
16652
17206
  builds?: Record<string, any>[];
17207
+ connectBuildsEnabled?: boolean;
16653
17208
  connectConfigurationId?: string;
16654
17209
  createdIn: string;
16655
17210
  env: string[];
@@ -16753,6 +17308,34 @@ declare const operationsByPath: {
16753
17308
  private: boolean;
16754
17309
  ownerType: "user" | "team";
16755
17310
  } | null;
17311
+ aliasAssignedAt?: number | boolean | null;
17312
+ lambdas?: {
17313
+ id: string;
17314
+ createdAt?: number;
17315
+ entrypoint?: string | null;
17316
+ readyState?: "BUILDING" | "ERROR" | "INITIALIZING" | "READY";
17317
+ readyStateAt?: number;
17318
+ output: {
17319
+ path: string;
17320
+ functionName: string;
17321
+ }[];
17322
+ }[];
17323
+ public: boolean;
17324
+ readyState: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED";
17325
+ readySubstate?: "STAGED" | "PROMOTED";
17326
+ regions: string[];
17327
+ source?: "import" | "cli" | "git" | "import/repo" | "clone/repo";
17328
+ target?: "production" | "staging" | null;
17329
+ team?: {
17330
+ id: string;
17331
+ name: string;
17332
+ slug: string;
17333
+ };
17334
+ type: "LAMBDAS";
17335
+ url: string;
17336
+ userAliases?: string[];
17337
+ version: 2;
17338
+ previewCommentsEnabled?: boolean;
16756
17339
  alias: string[];
16757
17340
  aliasAssigned: boolean;
16758
17341
  aliasError?: {
@@ -16843,6 +17426,7 @@ declare const operationsByPath: {
16843
17426
  repoUuid: string;
16844
17427
  };
16845
17428
  id: string;
17429
+ } | {
16846
17430
  lambdas?: {
16847
17431
  id: string;
16848
17432
  createdAt?: number;
@@ -16854,8 +17438,13 @@ declare const operationsByPath: {
16854
17438
  functionName: string;
16855
17439
  }[];
16856
17440
  }[];
17441
+ name: string;
17442
+ meta: {
17443
+ [key: string]: string;
17444
+ };
16857
17445
  public: boolean;
16858
17446
  readyState: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED";
17447
+ readySubstate?: "STAGED" | "PROMOTED";
16859
17448
  regions: string[];
16860
17449
  source?: "import" | "cli" | "git" | "import/repo" | "clone/repo";
16861
17450
  target?: "production" | "staging" | null;
@@ -16869,7 +17458,6 @@ declare const operationsByPath: {
16869
17458
  userAliases?: string[];
16870
17459
  version: 2;
16871
17460
  previewCommentsEnabled?: boolean;
16872
- } | {
16873
17461
  alias: string[];
16874
17462
  aliasAssigned: boolean;
16875
17463
  aliasError?: {
@@ -16960,36 +17548,6 @@ declare const operationsByPath: {
16960
17548
  repoUuid: string;
16961
17549
  };
16962
17550
  id: string;
16963
- lambdas?: {
16964
- id: string;
16965
- createdAt?: number;
16966
- entrypoint?: string | null;
16967
- readyState?: "BUILDING" | "ERROR" | "INITIALIZING" | "READY";
16968
- readyStateAt?: number;
16969
- output: {
16970
- path: string;
16971
- functionName: string;
16972
- }[];
16973
- }[];
16974
- name: string;
16975
- meta: {
16976
- [key: string]: string;
16977
- };
16978
- public: boolean;
16979
- readyState: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED";
16980
- regions: string[];
16981
- source?: "import" | "cli" | "git" | "import/repo" | "clone/repo";
16982
- target?: "production" | "staging" | null;
16983
- team?: {
16984
- id: string;
16985
- name: string;
16986
- slug: string;
16987
- };
16988
- type: "LAMBDAS";
16989
- url: string;
16990
- userAliases?: string[];
16991
- version: 2;
16992
- previewCommentsEnabled?: boolean;
16993
17551
  }>;
16994
17552
  'POST /v13/deployments': (variables: CreateDeploymentVariables, signal?: AbortSignal | undefined) => Promise<CreateDeploymentResponse>;
16995
17553
  'PATCH /v12/deployments/{id}/cancel': (variables: CancelDeploymentVariables, signal?: AbortSignal | undefined) => Promise<CancelDeploymentResponse>;
@@ -17084,6 +17642,7 @@ declare const operationsByPath: {
17084
17642
  }[];
17085
17643
  disabledAt?: number;
17086
17644
  deletedAt?: number | null;
17645
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
17087
17646
  }[] | {
17088
17647
  integration: {
17089
17648
  name: string;
@@ -17122,6 +17681,7 @@ declare const operationsByPath: {
17122
17681
  }[];
17123
17682
  disabledAt?: number;
17124
17683
  deletedAt?: number | null;
17684
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
17125
17685
  }[]>;
17126
17686
  'GET /v1/integrations/configuration/{id}': (variables: GetConfigurationVariables, signal?: AbortSignal | undefined) => Promise<{
17127
17687
  completedAt?: number;
@@ -17153,6 +17713,7 @@ declare const operationsByPath: {
17153
17713
  }[];
17154
17714
  disabledAt?: number;
17155
17715
  deletedAt?: number | null;
17716
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
17156
17717
  } | {
17157
17718
  projectSelection: "all" | "selected";
17158
17719
  completedAt?: number;
@@ -17184,6 +17745,7 @@ declare const operationsByPath: {
17184
17745
  }[];
17185
17746
  disabledAt?: number;
17186
17747
  deletedAt?: number | null;
17748
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
17187
17749
  canConfigureOpenTelemetry?: boolean;
17188
17750
  }>;
17189
17751
  'DELETE /v1/integrations/configuration/{id}': (variables: DeleteConfigurationVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
@@ -17534,16 +18096,7 @@ declare const operationsByPath: {
17534
18096
  }[]>;
17535
18097
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal | undefined) => Promise<EditProjectEnvResponse>;
17536
18098
  'GET /v2/teams/{teamId}/members': (variables: GetTeamMembersVariables, signal?: AbortSignal | undefined) => Promise<GetTeamMembersResponse>;
17537
- 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<{
17538
- uid: string;
17539
- username: string;
17540
- email: string;
17541
- role: string;
17542
- } | {
17543
- uid: string;
17544
- username: string;
17545
- role: string;
17546
- }>;
18099
+ 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
17547
18100
  'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal | undefined) => Promise<RequestAccessToTeamResponse>;
17548
18101
  'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal | undefined) => Promise<GetTeamAccessRequestResponse>;
17549
18102
  'POST /v1/teams/{teamId}/members/teams/join': (variables: JoinTeamVariables, signal?: AbortSignal | undefined) => Promise<JoinTeamResponse>;
@@ -17594,7 +18147,7 @@ declare const operationsByPath: {
17594
18147
  'GET /v4/aliases/{idOrAlias}': (variables: GetAliasVariables, signal?: AbortSignal | undefined) => Promise<GetAliasResponse>;
17595
18148
  'DELETE /v2/aliases/{aliasId}': (variables: DeleteAliasVariables, signal?: AbortSignal | undefined) => Promise<DeleteAliasResponse>;
17596
18149
  'GET /v2/deployments/{id}/aliases': (variables: ListDeploymentAliasesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentAliasesResponse>;
17597
- 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<AssignAliasResponse>;
18150
+ 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
17598
18151
  'GET /v7/certs/{id}': (variables: GetCertByIdVariables, signal?: AbortSignal | undefined) => Promise<GetCertByIdResponse>;
17599
18152
  'DELETE /v7/certs/{id}': (variables: RemoveCertVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
17600
18153
  'POST /v7/certs': (variables: IssueCertVariables, signal?: AbortSignal | undefined) => Promise<IssueCertResponse>;
@@ -17647,11 +18200,11 @@ declare class VercelApi {
17647
18200
  'PATCH /v1/data-cache/projects/{projectId}': (variables: UpdateProjectDataCacheVariables, signal?: AbortSignal | undefined) => Promise<UpdateProjectDataCacheResponse>;
17648
18201
  'GET /v2/deployments/{idOrUrl}/events': (variables: GetDeploymentEventsVariables, signal?: AbortSignal | undefined) => Promise<GetDeploymentEventsResponse>;
17649
18202
  'GET /v13/deployments/{idOrUrl}': (variables: GetDeploymentVariables, signal?: AbortSignal | undefined) => Promise<{
17650
- aliasAssignedAt?: number | boolean | null;
17651
18203
  build: {
17652
18204
  env: string[];
17653
18205
  };
17654
18206
  builds?: Record<string, any>[];
18207
+ connectBuildsEnabled?: boolean;
17655
18208
  connectConfigurationId?: string;
17656
18209
  createdIn: string;
17657
18210
  env: string[];
@@ -17755,6 +18308,34 @@ declare class VercelApi {
17755
18308
  private: boolean;
17756
18309
  ownerType: "user" | "team";
17757
18310
  } | null;
18311
+ aliasAssignedAt?: number | boolean | null;
18312
+ lambdas?: {
18313
+ id: string;
18314
+ createdAt?: number;
18315
+ entrypoint?: string | null;
18316
+ readyState?: "BUILDING" | "ERROR" | "INITIALIZING" | "READY";
18317
+ readyStateAt?: number;
18318
+ output: {
18319
+ path: string;
18320
+ functionName: string;
18321
+ }[];
18322
+ }[];
18323
+ public: boolean;
18324
+ readyState: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED";
18325
+ readySubstate?: "STAGED" | "PROMOTED";
18326
+ regions: string[];
18327
+ source?: "import" | "cli" | "git" | "import/repo" | "clone/repo";
18328
+ target?: "production" | "staging" | null;
18329
+ team?: {
18330
+ id: string;
18331
+ name: string;
18332
+ slug: string;
18333
+ };
18334
+ type: "LAMBDAS";
18335
+ url: string;
18336
+ userAliases?: string[];
18337
+ version: 2;
18338
+ previewCommentsEnabled?: boolean;
17758
18339
  alias: string[];
17759
18340
  aliasAssigned: boolean;
17760
18341
  aliasError?: {
@@ -17845,6 +18426,7 @@ declare class VercelApi {
17845
18426
  repoUuid: string;
17846
18427
  };
17847
18428
  id: string;
18429
+ } | {
17848
18430
  lambdas?: {
17849
18431
  id: string;
17850
18432
  createdAt?: number;
@@ -17856,8 +18438,13 @@ declare class VercelApi {
17856
18438
  functionName: string;
17857
18439
  }[];
17858
18440
  }[];
18441
+ name: string;
18442
+ meta: {
18443
+ [key: string]: string;
18444
+ };
17859
18445
  public: boolean;
17860
18446
  readyState: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED";
18447
+ readySubstate?: "STAGED" | "PROMOTED";
17861
18448
  regions: string[];
17862
18449
  source?: "import" | "cli" | "git" | "import/repo" | "clone/repo";
17863
18450
  target?: "production" | "staging" | null;
@@ -17871,7 +18458,6 @@ declare class VercelApi {
17871
18458
  userAliases?: string[];
17872
18459
  version: 2;
17873
18460
  previewCommentsEnabled?: boolean;
17874
- } | {
17875
18461
  alias: string[];
17876
18462
  aliasAssigned: boolean;
17877
18463
  aliasError?: {
@@ -17962,36 +18548,6 @@ declare class VercelApi {
17962
18548
  repoUuid: string;
17963
18549
  };
17964
18550
  id: string;
17965
- lambdas?: {
17966
- id: string;
17967
- createdAt?: number;
17968
- entrypoint?: string | null;
17969
- readyState?: "BUILDING" | "ERROR" | "INITIALIZING" | "READY";
17970
- readyStateAt?: number;
17971
- output: {
17972
- path: string;
17973
- functionName: string;
17974
- }[];
17975
- }[];
17976
- name: string;
17977
- meta: {
17978
- [key: string]: string;
17979
- };
17980
- public: boolean;
17981
- readyState: "BUILDING" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY" | "CANCELED";
17982
- regions: string[];
17983
- source?: "import" | "cli" | "git" | "import/repo" | "clone/repo";
17984
- target?: "production" | "staging" | null;
17985
- team?: {
17986
- id: string;
17987
- name: string;
17988
- slug: string;
17989
- };
17990
- type: "LAMBDAS";
17991
- url: string;
17992
- userAliases?: string[];
17993
- version: 2;
17994
- previewCommentsEnabled?: boolean;
17995
18551
  }>;
17996
18552
  'POST /v13/deployments': (variables: CreateDeploymentVariables, signal?: AbortSignal | undefined) => Promise<CreateDeploymentResponse>;
17997
18553
  'PATCH /v12/deployments/{id}/cancel': (variables: CancelDeploymentVariables, signal?: AbortSignal | undefined) => Promise<CancelDeploymentResponse>;
@@ -18086,6 +18642,7 @@ declare class VercelApi {
18086
18642
  }[];
18087
18643
  disabledAt?: number;
18088
18644
  deletedAt?: number | null;
18645
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
18089
18646
  }[] | {
18090
18647
  integration: {
18091
18648
  name: string;
@@ -18124,6 +18681,7 @@ declare class VercelApi {
18124
18681
  }[];
18125
18682
  disabledAt?: number;
18126
18683
  deletedAt?: number | null;
18684
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
18127
18685
  }[]>;
18128
18686
  'GET /v1/integrations/configuration/{id}': (variables: GetConfigurationVariables, signal?: AbortSignal | undefined) => Promise<{
18129
18687
  completedAt?: number;
@@ -18155,6 +18713,7 @@ declare class VercelApi {
18155
18713
  }[];
18156
18714
  disabledAt?: number;
18157
18715
  deletedAt?: number | null;
18716
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
18158
18717
  } | {
18159
18718
  projectSelection: "all" | "selected";
18160
18719
  completedAt?: number;
@@ -18186,6 +18745,7 @@ declare class VercelApi {
18186
18745
  }[];
18187
18746
  disabledAt?: number;
18188
18747
  deletedAt?: number | null;
18748
+ disabledReason?: "log-drain-high-error-rate" | "log-drains-add-on-disabled-by-owner" | "disabled-by-admin" | "account-plan-downgrade" | "original-owner-left-the-team";
18189
18749
  canConfigureOpenTelemetry?: boolean;
18190
18750
  }>;
18191
18751
  'DELETE /v1/integrations/configuration/{id}': (variables: DeleteConfigurationVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
@@ -18536,16 +19096,7 @@ declare class VercelApi {
18536
19096
  }[]>;
18537
19097
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal | undefined) => Promise<EditProjectEnvResponse>;
18538
19098
  'GET /v2/teams/{teamId}/members': (variables: GetTeamMembersVariables, signal?: AbortSignal | undefined) => Promise<GetTeamMembersResponse>;
18539
- 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<{
18540
- uid: string;
18541
- username: string;
18542
- email: string;
18543
- role: string;
18544
- } | {
18545
- uid: string;
18546
- username: string;
18547
- role: string;
18548
- }>;
19099
+ 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18549
19100
  'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal | undefined) => Promise<RequestAccessToTeamResponse>;
18550
19101
  'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal | undefined) => Promise<GetTeamAccessRequestResponse>;
18551
19102
  'POST /v1/teams/{teamId}/members/teams/join': (variables: JoinTeamVariables, signal?: AbortSignal | undefined) => Promise<JoinTeamResponse>;
@@ -18596,7 +19147,7 @@ declare class VercelApi {
18596
19147
  'GET /v4/aliases/{idOrAlias}': (variables: GetAliasVariables, signal?: AbortSignal | undefined) => Promise<GetAliasResponse>;
18597
19148
  'DELETE /v2/aliases/{aliasId}': (variables: DeleteAliasVariables, signal?: AbortSignal | undefined) => Promise<DeleteAliasResponse>;
18598
19149
  'GET /v2/deployments/{id}/aliases': (variables: ListDeploymentAliasesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentAliasesResponse>;
18599
- 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<AssignAliasResponse>;
19150
+ 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18600
19151
  'GET /v7/certs/{id}': (variables: GetCertByIdVariables, signal?: AbortSignal | undefined) => Promise<GetCertByIdResponse>;
18601
19152
  'DELETE /v7/certs/{id}': (variables: RemoveCertVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18602
19153
  'POST /v7/certs': (variables: IssueCertVariables, signal?: AbortSignal | undefined) => Promise<IssueCertResponse>;