vercel-api-js 0.1.19 → 0.1.21

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
@@ -81,7 +81,7 @@ type UserEvent = {
81
81
  *
82
82
  * @example author
83
83
  */
84
- type: 'target' | 'bold' | 'link' | 'author' | 'bitbucket_login' | 'deployment_host' | 'dns_record' | 'git_link' | 'github_login' | 'gitlab_login' | 'hook_name' | 'integration' | 'edge-config' | 'project_name' | 'scaling_rules' | 'env_var_name' | 'system';
84
+ type: 'target' | 'bold' | 'link' | 'author' | 'bitbucket_login' | 'deployment_host' | 'dns_record' | 'git_link' | 'github_login' | 'gitlab_login' | 'hook_name' | 'integration' | 'edge-config' | 'project_name' | 'scaling_rules' | 'env_var_name' | 'store' | 'system';
85
85
  /**
86
86
  * The index of where the entity begins within the `text` (inclusive).
87
87
  *
@@ -304,7 +304,8 @@ type AuthUser = {
304
304
  */
305
305
  softBlock: {
306
306
  blockedAt: number;
307
- reason: 'FAIR_USE_LIMITS_EXCEEDED' | 'ENTERPRISE_TRIAL_ENDED' | 'BLOCKED_FOR_PLATFORM_ABUSE' | 'UNPAID_INVOICE' | 'SUBSCRIPTION_EXPIRED' | 'SUBSCRIPTION_CANCELED';
307
+ reason: 'SUBSCRIPTION_CANCELED' | 'SUBSCRIPTION_EXPIRED' | 'UNPAID_INVOICE' | 'ENTERPRISE_TRIAL_ENDED' | 'FAIR_USE_LIMITS_EXCEEDED' | 'BLOCKED_FOR_PLATFORM_ABUSE';
308
+ blockedDueToOverageType?: 'analyticsUsage' | 'artifacts' | 'bandwidth' | 'cronJobInvocation' | 'dataCacheRead' | 'dataCacheRevalidation' | 'dataCacheWrite' | 'edgeConfigRead' | 'edgeConfigWrite' | 'edgeFunctionExecutionUnits' | 'edgeMiddlewareInvocations' | 'monitoringMetric' | 'postgresComputeTime' | 'postgresDatabase' | 'postgresDataStorage' | 'postgresDataTransfer' | 'postgresWrittenData' | 'serverlessFunctionExecution' | 'sourceImages' | 'storageRedisTotalBandwidthInBytes' | 'storageRedisTotalCommands' | 'storageRedisTotalDailyAvgStorageInBytes' | 'storageRedisTotalDatabases' | 'webAnalyticsEvent';
308
309
  } | null;
309
310
  /**
310
311
  * An object containing billing infomation associated with the User account.
@@ -320,7 +321,7 @@ type AuthUser = {
320
321
  start: number;
321
322
  end: number;
322
323
  } | null;
323
- plan: 'hobby' | 'enterprise' | 'pro';
324
+ plan: 'pro' | 'enterprise' | 'hobby';
324
325
  platform?: 'stripe' | 'stripeTestMode';
325
326
  orbCustomerId?: string;
326
327
  programType?: 'startup' | 'agency';
@@ -343,7 +344,6 @@ type AuthUser = {
343
344
  state?: string;
344
345
  } | null;
345
346
  name?: string | null;
346
- overdue?: boolean | null;
347
347
  invoiceItems?: {
348
348
  /**
349
349
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
@@ -382,7 +382,7 @@ type AuthUser = {
382
382
  /**
383
383
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
384
384
  */
385
- enterprise?: {
385
+ pro?: {
386
386
  tier?: number;
387
387
  price: number;
388
388
  quantity: number;
@@ -399,7 +399,7 @@ type AuthUser = {
399
399
  /**
400
400
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
401
401
  */
402
- pro?: {
402
+ enterprise?: {
403
403
  tier?: number;
404
404
  price: number;
405
405
  quantity: number;
@@ -923,6 +923,10 @@ type AuthUser = {
923
923
  isCurrentlyBlocked: boolean;
924
924
  };
925
925
  };
926
+ /**
927
+ * The user's default team. Only applies if the user's `version` is `'northstar'`.
928
+ */
929
+ defaultTeamId: string | null;
926
930
  /**
927
931
  * The User's unique identifier.
928
932
  *
@@ -953,6 +957,10 @@ type AuthUser = {
953
957
  * @example 22cb30c85ff45ac4c72de8981500006b28114aa1
954
958
  */
955
959
  avatar: string | null;
960
+ /**
961
+ * The user's version. Will either be unset or `northstar`.
962
+ */
963
+ version: 'northstar' | null;
956
964
  };
957
965
  /**
958
966
  * A limited form of data for the currently authenticated User, due to the authentication token missing privileges to read the full User data.
@@ -992,6 +1000,10 @@ type AuthUserLimited = {
992
1000
  * @example 22cb30c85ff45ac4c72de8981500006b28114aa1
993
1001
  */
994
1002
  avatar: string | null;
1003
+ /**
1004
+ * The user's version. Will either be unset or `northstar`.
1005
+ */
1006
+ version: 'northstar' | null;
995
1007
  };
996
1008
  /**
997
1009
  * Authentication token metadata.
@@ -2026,7 +2038,7 @@ type UpdateProjectDataCacheResponse = {
2026
2038
  [key: string]: string;
2027
2039
  };
2028
2040
  monorepoManager?: string | null;
2029
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
2041
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
2030
2042
  private: boolean;
2031
2043
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
2032
2044
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -2110,6 +2122,7 @@ type UpdateProjectDataCacheResponse = {
2110
2122
  passwordProtection?: {
2111
2123
  deploymentType: 'preview' | 'all';
2112
2124
  } | null;
2125
+ productionDeploymentsFastLane?: boolean;
2113
2126
  publicSource?: boolean | null;
2114
2127
  rootDirectory?: string | null;
2115
2128
  serverlessFunctionRegion?: string | null;
@@ -2152,7 +2165,7 @@ type UpdateProjectDataCacheResponse = {
2152
2165
  [key: string]: string;
2153
2166
  };
2154
2167
  monorepoManager?: string | null;
2155
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
2168
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
2156
2169
  private: boolean;
2157
2170
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
2158
2171
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -2196,6 +2209,7 @@ type UpdateProjectDataCacheResponse = {
2196
2209
  billingPurchaseOrder?: ACLAction[];
2197
2210
  billingTaxId?: ACLAction[];
2198
2211
  blob?: ACLAction[];
2212
+ budget?: ACLAction[];
2199
2213
  cacheArtifact?: ACLAction[];
2200
2214
  cacheArtifactUsageEvent?: ACLAction[];
2201
2215
  concurrentBuilds?: ACLAction[];
@@ -2223,6 +2237,7 @@ type UpdateProjectDataCacheResponse = {
2223
2237
  integrationVercelConfigurationOverride?: ACLAction[];
2224
2238
  jobGlobal?: ACLAction[];
2225
2239
  logDrain?: ACLAction[];
2240
+ logsPreset?: ACLAction[];
2226
2241
  Monitoring?: ACLAction[];
2227
2242
  monitoringQuery?: ACLAction[];
2228
2243
  monitoringChart?: ACLAction[];
@@ -2249,6 +2264,7 @@ type UpdateProjectDataCacheResponse = {
2249
2264
  sharedEnvVars?: ACLAction[];
2250
2265
  sharedEnvVarsProduction?: ACLAction[];
2251
2266
  space?: ACLAction[];
2267
+ spaceRun?: ACLAction[];
2252
2268
  passwordProtectionInvoiceItem?: ACLAction[];
2253
2269
  rateLimit?: ACLAction[];
2254
2270
  redis?: ACLAction[];
@@ -2337,14 +2353,14 @@ type UpdateProjectDataCacheResponse = {
2337
2353
  };
2338
2354
  hasActiveBranches?: boolean;
2339
2355
  trustedIps?: {
2340
- deploymentType: 'preview' | 'all';
2356
+ deploymentType: 'preview' | 'all' | 'production';
2341
2357
  addresses: {
2342
2358
  value: string;
2343
2359
  note?: string;
2344
2360
  }[];
2345
2361
  protectionMode: 'additional' | 'exclusive';
2346
2362
  } | {
2347
- deploymentType: 'preview' | 'all';
2363
+ deploymentType: 'preview' | 'all' | 'production';
2348
2364
  } | null;
2349
2365
  gitComments?: {
2350
2366
  /**
@@ -2371,7 +2387,7 @@ type UpdateProjectDataCacheVariables = {
2371
2387
  queryParams?: UpdateProjectDataCacheQueryParams;
2372
2388
  } & FetcherExtraProps;
2373
2389
  /**
2374
- * Update the cron job feature on a project.
2390
+ * Update the data cache feature on a project.
2375
2391
  */
2376
2392
  declare const updateProjectDataCache: (variables: UpdateProjectDataCacheVariables, signal?: AbortSignal) => Promise<UpdateProjectDataCacheResponse>;
2377
2393
  type GetDeploymentEventsPathParams = {
@@ -2654,7 +2670,7 @@ declare const getDeployment: (variables: GetDeploymentVariables, signal?: AbortS
2654
2670
  *
2655
2671
  * @example pro
2656
2672
  */
2657
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
2673
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
2658
2674
  /**
2659
2675
  * The ID of the project the deployment is associated with
2660
2676
  *
@@ -3319,7 +3335,7 @@ type CreateDeploymentResponse = {
3319
3335
  *
3320
3336
  * @example pro
3321
3337
  */
3322
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
3338
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
3323
3339
  /**
3324
3340
  * The ID of the project the deployment is associated with
3325
3341
  *
@@ -4780,7 +4796,7 @@ type CancelDeploymentResponse = {
4780
4796
  *
4781
4797
  * @example pro
4782
4798
  */
4783
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
4799
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
4784
4800
  /**
4785
4801
  * The ID of the project the deployment is associated with
4786
4802
  *
@@ -5310,6 +5326,13 @@ type CreateRecordVariables = {
5310
5326
  * @example 192.0.2.42
5311
5327
  */
5312
5328
  value: string;
5329
+ /**
5330
+ * A comment to add context on what this DNS record is for
5331
+ *
5332
+ * @example used to verify ownership of domain
5333
+ * @maxLength 500
5334
+ */
5335
+ comment?: string;
5313
5336
  } | {
5314
5337
  /**
5315
5338
  * A subdomain name or an empty string for the root domain.
@@ -5336,6 +5359,13 @@ type CreateRecordVariables = {
5336
5359
  * @example 2001:DB8::42
5337
5360
  */
5338
5361
  value: string;
5362
+ /**
5363
+ * A comment to add context on what this DNS record is for
5364
+ *
5365
+ * @example used to verify ownership of domain
5366
+ * @maxLength 500
5367
+ */
5368
+ comment?: string;
5339
5369
  } | {
5340
5370
  /**
5341
5371
  * A subdomain name or an empty string for the root domain.
@@ -5361,6 +5391,13 @@ type CreateRecordVariables = {
5361
5391
  * @example cname.vercel-dns.com
5362
5392
  */
5363
5393
  value: string;
5394
+ /**
5395
+ * A comment to add context on what this DNS record is for
5396
+ *
5397
+ * @example used to verify ownership of domain
5398
+ * @maxLength 500
5399
+ */
5400
+ comment?: string;
5364
5401
  } | {
5365
5402
  /**
5366
5403
  * A subdomain name or an empty string for the root domain.
@@ -5386,6 +5423,13 @@ type CreateRecordVariables = {
5386
5423
  * @example 0 issue \"letsencrypt.org\"
5387
5424
  */
5388
5425
  value: string;
5426
+ /**
5427
+ * A comment to add context on what this DNS record is for
5428
+ *
5429
+ * @example used to verify ownership of domain
5430
+ * @maxLength 500
5431
+ */
5432
+ comment?: string;
5389
5433
  } | {
5390
5434
  /**
5391
5435
  * A subdomain name or an empty string for the root domain.
@@ -5411,6 +5455,13 @@ type CreateRecordVariables = {
5411
5455
  * @example cname.vercel-dns.com
5412
5456
  */
5413
5457
  value?: string;
5458
+ /**
5459
+ * A comment to add context on what this DNS record is for
5460
+ *
5461
+ * @example used to verify ownership of domain
5462
+ * @maxLength 500
5463
+ */
5464
+ comment?: string;
5414
5465
  } | {
5415
5466
  /**
5416
5467
  * A subdomain name or an empty string for the root domain.
@@ -5442,6 +5493,13 @@ type CreateRecordVariables = {
5442
5493
  * @example 10
5443
5494
  */
5444
5495
  mxPriority: number;
5496
+ /**
5497
+ * A comment to add context on what this DNS record is for
5498
+ *
5499
+ * @example used to verify ownership of domain
5500
+ * @maxLength 500
5501
+ */
5502
+ comment?: string;
5445
5503
  } | {
5446
5504
  /**
5447
5505
  * A subdomain name or an empty string for the root domain.
@@ -5468,6 +5526,13 @@ type CreateRecordVariables = {
5468
5526
  */
5469
5527
  target?: string;
5470
5528
  };
5529
+ /**
5530
+ * A comment to add context on what this DNS record is for
5531
+ *
5532
+ * @example used to verify ownership of domain
5533
+ * @maxLength 500
5534
+ */
5535
+ comment?: string;
5471
5536
  } | {
5472
5537
  /**
5473
5538
  * A subdomain name or an empty string for the root domain.
@@ -5491,6 +5556,13 @@ type CreateRecordVariables = {
5491
5556
  * @example hello
5492
5557
  */
5493
5558
  value: string;
5559
+ /**
5560
+ * A comment to add context on what this DNS record is for
5561
+ *
5562
+ * @example used to verify ownership of domain
5563
+ * @maxLength 500
5564
+ */
5565
+ comment?: string;
5494
5566
  } | {
5495
5567
  /**
5496
5568
  * A subdomain name.
@@ -5516,6 +5588,13 @@ type CreateRecordVariables = {
5516
5588
  * @example ns1.example.com
5517
5589
  */
5518
5590
  value?: string;
5591
+ /**
5592
+ * A comment to add context on what this DNS record is for
5593
+ *
5594
+ * @example used to verify ownership of domain
5595
+ * @maxLength 500
5596
+ */
5597
+ comment?: string;
5519
5598
  };
5520
5599
  pathParams: CreateRecordPathParams;
5521
5600
  queryParams?: CreateRecordQueryParams;
@@ -5550,6 +5629,7 @@ type UpdateRecordQueryParams = {
5550
5629
  };
5551
5630
  type UpdateRecordError = ErrorWrapper<undefined>;
5552
5631
  type UpdateRecordResponse = {
5632
+ comment?: string;
5553
5633
  createdAt?: number | null;
5554
5634
  creator: string;
5555
5635
  domain: string;
@@ -5603,6 +5683,13 @@ type UpdateRecordRequestBody = {
5603
5683
  port: number | null;
5604
5684
  priority: number | null;
5605
5685
  } | null;
5686
+ /**
5687
+ * A comment to add context on what this DNS record is for
5688
+ *
5689
+ * @example used to verify ownership of domain
5690
+ * @maxLength 500
5691
+ */
5692
+ comment?: string;
5606
5693
  };
5607
5694
  type UpdateRecordVariables = {
5608
5695
  body?: UpdateRecordRequestBody;
@@ -5661,6 +5748,38 @@ type CheckDomainStatusVariables = {
5661
5748
  * Check if a domain name is available for purchase.
5662
5749
  */
5663
5750
  declare const checkDomainStatus: (variables: CheckDomainStatusVariables, signal?: AbortSignal) => Promise<CheckDomainStatusResponse>;
5751
+ type GetDomainTransferQueryParams = {
5752
+ /**
5753
+ * The Team identifier or slug to perform the request on behalf of.
5754
+ */
5755
+ teamId?: string;
5756
+ };
5757
+ type GetDomainTransferError = ErrorWrapper<undefined>;
5758
+ type GetDomainTransferResponse = {
5759
+ /**
5760
+ * Whether or not the domain is transferable
5761
+ */
5762
+ transferable: boolean;
5763
+ /**
5764
+ * The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: transfer will charge for renewal and will renew the existing domain's registration. `no-charge-no-change`: transfer will have no change to registration period and does not require charge. `no-change`: transfer charge is required, but no change in registration period. `new-term`: transfer charge is required and a new registry term is set based on the transfer date. `not-supported`: transfers are not supported for this domain or TLD. `null`: This TLD is not supported by Vercel's Registrar.
5765
+ */
5766
+ transferPolicy: 'charge-and-renew' | 'no-charge-no-change' | 'no-change' | 'new-term' | 'not-supported' | null;
5767
+ /**
5768
+ * Description associated with transferable state.
5769
+ */
5770
+ reason: string;
5771
+ /**
5772
+ * The current state of an ongoing transfer. `pending_owner`: Awaiting approval by domain's admin contact (every transfer begins with this status). If approval is not given within five days, the transfer is cancelled. `pending_admin`: Waiting for approval by Vercel Registrar admin. `pending_registry`: Awaiting registry approval (the transfer completes after 7 days unless it is declined by the current registrar). `completed`: The transfer completed successfully. `cancelled`: The transfer was cancelled. `undef`: No transfer exists for this domain. `unknown`: This TLD is not supported by Vercel's Registrar.
5773
+ */
5774
+ status: 'pending_owner' | 'pending_admin' | 'pending_registry' | 'completed' | 'cancelled' | 'undef' | 'unknown';
5775
+ };
5776
+ type GetDomainTransferVariables = {
5777
+ queryParams?: GetDomainTransferQueryParams;
5778
+ } & FetcherExtraProps;
5779
+ /**
5780
+ * Fetch domain transfer availability or transfer status if a transfer is in progress.
5781
+ */
5782
+ declare const getDomainTransfer: (variables: GetDomainTransferVariables, signal?: AbortSignal) => Promise<GetDomainTransferResponse>;
5664
5783
  type GetDomainConfigPathParams = {
5665
5784
  /**
5666
5785
  * The name of the domain.
@@ -6073,6 +6192,26 @@ type CreateOrTransferDomainResponse = {
6073
6192
  };
6074
6193
  type CreateOrTransferDomainVariables = {
6075
6194
  body?: {
6195
+ /**
6196
+ * The domain name you want to add.
6197
+ *
6198
+ * @example example.com
6199
+ */
6200
+ name: string;
6201
+ /**
6202
+ * Whether the domain has the Vercel Edge Network enabled or not.
6203
+ *
6204
+ * @example true
6205
+ */
6206
+ cdnEnabled?: boolean;
6207
+ zone?: boolean;
6208
+ /**
6209
+ * The domain operation to perform.
6210
+ *
6211
+ * @example add
6212
+ */
6213
+ method?: string;
6214
+ } | {
6076
6215
  /**
6077
6216
  * The domain name you want to add.
6078
6217
  *
@@ -6116,33 +6255,71 @@ type CreateOrTransferDomainVariables = {
6116
6255
  * @example 8
6117
6256
  */
6118
6257
  expectedPrice?: number;
6119
- } | {
6258
+ };
6259
+ queryParams?: CreateOrTransferDomainQueryParams;
6260
+ } & FetcherExtraProps;
6261
+ /**
6262
+ * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.
6263
+ */
6264
+ declare const createOrTransferDomain: (variables: CreateOrTransferDomainVariables, signal?: AbortSignal) => Promise<CreateOrTransferDomainResponse>;
6265
+ type PatchDomainPathParams = {
6266
+ domain?: string;
6267
+ };
6268
+ type PatchDomainQueryParams = {
6269
+ /**
6270
+ * The Team identifier or slug to perform the request on behalf of.
6271
+ */
6272
+ teamId?: string;
6273
+ };
6274
+ type PatchDomainError = ErrorWrapper<undefined>;
6275
+ type PatchDomainVariables = {
6276
+ body?: {
6120
6277
  /**
6121
- * The domain name you want to add.
6122
- *
6123
- * @example example.com
6278
+ * @example update
6124
6279
  */
6125
- name: string;
6280
+ op?: string;
6126
6281
  /**
6127
- * Whether the domain has the Vercel Edge Network enabled or not.
6282
+ * Specifies whether domain should be renewed.
6283
+ */
6284
+ renew?: boolean;
6285
+ /**
6286
+ * The custom nameservers for this project.
6128
6287
  *
6129
- * @example true
6288
+ * @maxItems 4
6289
+ * @minItems 0
6290
+ * @uniqueItems true
6291
+ */
6292
+ customNameservers?: string[];
6293
+ /**
6294
+ * Specifies whether this is a DNS zone that intends to use Vercel's nameservers.
6130
6295
  */
6131
- cdnEnabled?: boolean;
6132
6296
  zone?: boolean;
6297
+ } | {
6133
6298
  /**
6134
- * The domain operation to perform.
6135
- *
6136
- * @example add
6299
+ * @example move-out
6137
6300
  */
6138
- method?: string;
6301
+ op?: string;
6302
+ /**
6303
+ * User or team to move domain to
6304
+ */
6305
+ destination?: string;
6139
6306
  };
6140
- queryParams?: CreateOrTransferDomainQueryParams;
6307
+ pathParams?: PatchDomainPathParams;
6308
+ queryParams?: PatchDomainQueryParams;
6141
6309
  } & FetcherExtraProps;
6142
6310
  /**
6143
- * This endpoint is used for registering a new domain name with Vercel for the authenticating user, and also for initiating a domain transfer request from an external Registrar to Vercel.
6311
+ * Update or move apex domain.
6144
6312
  */
6145
- declare const createOrTransferDomain: (variables: CreateOrTransferDomainVariables, signal?: AbortSignal) => Promise<CreateOrTransferDomainResponse>;
6313
+ declare const patchDomain: (variables: PatchDomainVariables, signal?: AbortSignal) => Promise<{
6314
+ moved: boolean;
6315
+ } | {
6316
+ moved: boolean;
6317
+ token: string;
6318
+ } | {
6319
+ renew?: boolean;
6320
+ customNameservers?: string[];
6321
+ zone?: boolean;
6322
+ }>;
6146
6323
  type DeleteDomainPathParams = {
6147
6324
  /**
6148
6325
  * The name of the domain.
@@ -6608,12 +6785,6 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
6608
6785
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
6609
6786
  */
6610
6787
  integrationId: string;
6611
- /**
6612
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
6613
- *
6614
- * @example false
6615
- */
6616
- oauthConfiguration?: boolean;
6617
6788
  /**
6618
6789
  * The user or team ID that owns the configuration
6619
6790
  *
@@ -6631,7 +6802,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
6631
6802
  *
6632
6803
  * @example marketplace
6633
6804
  */
6634
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
6805
+ source?: 'marketplace' | 'deploy-button' | 'external';
6635
6806
  removedLogDrainsAt?: number;
6636
6807
  removedProjectEnvsAt?: number;
6637
6808
  removedTokensAt?: number;
@@ -6723,12 +6894,6 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
6723
6894
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
6724
6895
  */
6725
6896
  integrationId: string;
6726
- /**
6727
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
6728
- *
6729
- * @example false
6730
- */
6731
- oauthConfiguration?: boolean;
6732
6897
  /**
6733
6898
  * The user or team ID that owns the configuration
6734
6899
  *
@@ -6746,7 +6911,7 @@ declare const getConfigurations: (variables: GetConfigurationsVariables, signal?
6746
6911
  *
6747
6912
  * @example marketplace
6748
6913
  */
6749
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
6914
+ source?: 'marketplace' | 'deploy-button' | 'external';
6750
6915
  removedLogDrainsAt?: number;
6751
6916
  removedProjectEnvsAt?: number;
6752
6917
  removedTokensAt?: number;
@@ -6853,12 +7018,6 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
6853
7018
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
6854
7019
  */
6855
7020
  integrationId: string;
6856
- /**
6857
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
6858
- *
6859
- * @example false
6860
- */
6861
- oauthConfiguration?: boolean;
6862
7021
  /**
6863
7022
  * The user or team ID that owns the configuration
6864
7023
  *
@@ -6876,7 +7035,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
6876
7035
  *
6877
7036
  * @example marketplace
6878
7037
  */
6879
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
7038
+ source?: 'marketplace' | 'deploy-button' | 'external';
6880
7039
  removedLogDrainsAt?: number;
6881
7040
  removedProjectEnvsAt?: number;
6882
7041
  removedTokensAt?: number;
@@ -6966,12 +7125,6 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
6966
7125
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
6967
7126
  */
6968
7127
  integrationId: string;
6969
- /**
6970
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
6971
- *
6972
- * @example false
6973
- */
6974
- oauthConfiguration?: boolean;
6975
7128
  /**
6976
7129
  * The user or team ID that owns the configuration
6977
7130
  *
@@ -6989,7 +7142,7 @@ declare const getConfiguration: (variables: GetConfigurationVariables, signal?:
6989
7142
  *
6990
7143
  * @example marketplace
6991
7144
  */
6992
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
7145
+ source?: 'marketplace' | 'deploy-button' | 'external';
6993
7146
  removedLogDrainsAt?: number;
6994
7147
  removedProjectEnvsAt?: number;
6995
7148
  removedTokensAt?: number;
@@ -7376,8 +7529,11 @@ type GitNamespacesResponse = {
7376
7529
  provider: string;
7377
7530
  slug: string;
7378
7531
  id: string | number;
7379
- name?: string;
7380
7532
  ownerType: string;
7533
+ name?: string;
7534
+ isAccessRestricted?: boolean;
7535
+ installationId?: number;
7536
+ requireReauth?: boolean;
7381
7537
  }[];
7382
7538
  type GitNamespacesVariables = {
7383
7539
  queryParams?: GitNamespacesQueryParams;
@@ -7827,7 +7983,7 @@ type GetProjectsResponse = {
7827
7983
  [key: string]: string;
7828
7984
  };
7829
7985
  monorepoManager?: string | null;
7830
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
7986
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
7831
7987
  private: boolean;
7832
7988
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
7833
7989
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -7911,6 +8067,7 @@ type GetProjectsResponse = {
7911
8067
  passwordProtection?: {
7912
8068
  deploymentType: 'preview' | 'all';
7913
8069
  } | null;
8070
+ productionDeploymentsFastLane?: boolean;
7914
8071
  publicSource?: boolean | null;
7915
8072
  rootDirectory?: string | null;
7916
8073
  serverlessFunctionRegion?: string | null;
@@ -7953,7 +8110,7 @@ type GetProjectsResponse = {
7953
8110
  [key: string]: string;
7954
8111
  };
7955
8112
  monorepoManager?: string | null;
7956
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8113
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
7957
8114
  private: boolean;
7958
8115
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
7959
8116
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -7997,6 +8154,7 @@ type GetProjectsResponse = {
7997
8154
  billingPurchaseOrder?: ACLAction[];
7998
8155
  billingTaxId?: ACLAction[];
7999
8156
  blob?: ACLAction[];
8157
+ budget?: ACLAction[];
8000
8158
  cacheArtifact?: ACLAction[];
8001
8159
  cacheArtifactUsageEvent?: ACLAction[];
8002
8160
  concurrentBuilds?: ACLAction[];
@@ -8024,6 +8182,7 @@ type GetProjectsResponse = {
8024
8182
  integrationVercelConfigurationOverride?: ACLAction[];
8025
8183
  jobGlobal?: ACLAction[];
8026
8184
  logDrain?: ACLAction[];
8185
+ logsPreset?: ACLAction[];
8027
8186
  Monitoring?: ACLAction[];
8028
8187
  monitoringQuery?: ACLAction[];
8029
8188
  monitoringChart?: ACLAction[];
@@ -8050,6 +8209,7 @@ type GetProjectsResponse = {
8050
8209
  sharedEnvVars?: ACLAction[];
8051
8210
  sharedEnvVarsProduction?: ACLAction[];
8052
8211
  space?: ACLAction[];
8212
+ spaceRun?: ACLAction[];
8053
8213
  passwordProtectionInvoiceItem?: ACLAction[];
8054
8214
  rateLimit?: ACLAction[];
8055
8215
  redis?: ACLAction[];
@@ -8138,14 +8298,14 @@ type GetProjectsResponse = {
8138
8298
  };
8139
8299
  hasActiveBranches?: boolean;
8140
8300
  trustedIps?: {
8141
- deploymentType: 'preview' | 'all';
8301
+ deploymentType: 'preview' | 'all' | 'production';
8142
8302
  addresses: {
8143
8303
  value: string;
8144
8304
  note?: string;
8145
8305
  }[];
8146
8306
  protectionMode: 'additional' | 'exclusive';
8147
8307
  } | {
8148
- deploymentType: 'preview' | 'all';
8308
+ deploymentType: 'preview' | 'all' | 'production';
8149
8309
  } | null;
8150
8310
  gitComments?: {
8151
8311
  /**
@@ -8329,7 +8489,7 @@ type CreateProjectResponse = {
8329
8489
  [key: string]: string;
8330
8490
  };
8331
8491
  monorepoManager?: string | null;
8332
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8492
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
8333
8493
  private: boolean;
8334
8494
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8335
8495
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -8413,6 +8573,7 @@ type CreateProjectResponse = {
8413
8573
  passwordProtection?: {
8414
8574
  deploymentType: 'preview' | 'all';
8415
8575
  } | null;
8576
+ productionDeploymentsFastLane?: boolean;
8416
8577
  publicSource?: boolean | null;
8417
8578
  rootDirectory?: string | null;
8418
8579
  serverlessFunctionRegion?: string | null;
@@ -8455,7 +8616,7 @@ type CreateProjectResponse = {
8455
8616
  [key: string]: string;
8456
8617
  };
8457
8618
  monorepoManager?: string | null;
8458
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
8619
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
8459
8620
  private: boolean;
8460
8621
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8461
8622
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -8499,6 +8660,7 @@ type CreateProjectResponse = {
8499
8660
  billingPurchaseOrder?: ACLAction[];
8500
8661
  billingTaxId?: ACLAction[];
8501
8662
  blob?: ACLAction[];
8663
+ budget?: ACLAction[];
8502
8664
  cacheArtifact?: ACLAction[];
8503
8665
  cacheArtifactUsageEvent?: ACLAction[];
8504
8666
  concurrentBuilds?: ACLAction[];
@@ -8526,6 +8688,7 @@ type CreateProjectResponse = {
8526
8688
  integrationVercelConfigurationOverride?: ACLAction[];
8527
8689
  jobGlobal?: ACLAction[];
8528
8690
  logDrain?: ACLAction[];
8691
+ logsPreset?: ACLAction[];
8529
8692
  Monitoring?: ACLAction[];
8530
8693
  monitoringQuery?: ACLAction[];
8531
8694
  monitoringChart?: ACLAction[];
@@ -8552,6 +8715,7 @@ type CreateProjectResponse = {
8552
8715
  sharedEnvVars?: ACLAction[];
8553
8716
  sharedEnvVarsProduction?: ACLAction[];
8554
8717
  space?: ACLAction[];
8718
+ spaceRun?: ACLAction[];
8555
8719
  passwordProtectionInvoiceItem?: ACLAction[];
8556
8720
  rateLimit?: ACLAction[];
8557
8721
  redis?: ACLAction[];
@@ -8640,14 +8804,14 @@ type CreateProjectResponse = {
8640
8804
  };
8641
8805
  hasActiveBranches?: boolean;
8642
8806
  trustedIps?: {
8643
- deploymentType: 'preview' | 'all';
8807
+ deploymentType: 'preview' | 'all' | 'production';
8644
8808
  addresses: {
8645
8809
  value: string;
8646
8810
  note?: string;
8647
8811
  }[];
8648
8812
  protectionMode: 'additional' | 'exclusive';
8649
8813
  } | {
8650
- deploymentType: 'preview' | 'all';
8814
+ deploymentType: 'preview' | 'all' | 'production';
8651
8815
  } | null;
8652
8816
  gitComments?: {
8653
8817
  /**
@@ -8941,7 +9105,7 @@ type GetProjectResponse = {
8941
9105
  [key: string]: string;
8942
9106
  };
8943
9107
  monorepoManager?: string | null;
8944
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9108
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
8945
9109
  private: boolean;
8946
9110
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
8947
9111
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -9025,6 +9189,7 @@ type GetProjectResponse = {
9025
9189
  passwordProtection?: {
9026
9190
  deploymentType: 'preview' | 'all';
9027
9191
  } | null;
9192
+ productionDeploymentsFastLane?: boolean;
9028
9193
  publicSource?: boolean | null;
9029
9194
  rootDirectory?: string | null;
9030
9195
  serverlessFunctionRegion?: string | null;
@@ -9067,7 +9232,7 @@ type GetProjectResponse = {
9067
9232
  [key: string]: string;
9068
9233
  };
9069
9234
  monorepoManager?: string | null;
9070
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9235
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
9071
9236
  private: boolean;
9072
9237
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
9073
9238
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -9111,6 +9276,7 @@ type GetProjectResponse = {
9111
9276
  billingPurchaseOrder?: ACLAction[];
9112
9277
  billingTaxId?: ACLAction[];
9113
9278
  blob?: ACLAction[];
9279
+ budget?: ACLAction[];
9114
9280
  cacheArtifact?: ACLAction[];
9115
9281
  cacheArtifactUsageEvent?: ACLAction[];
9116
9282
  concurrentBuilds?: ACLAction[];
@@ -9138,6 +9304,7 @@ type GetProjectResponse = {
9138
9304
  integrationVercelConfigurationOverride?: ACLAction[];
9139
9305
  jobGlobal?: ACLAction[];
9140
9306
  logDrain?: ACLAction[];
9307
+ logsPreset?: ACLAction[];
9141
9308
  Monitoring?: ACLAction[];
9142
9309
  monitoringQuery?: ACLAction[];
9143
9310
  monitoringChart?: ACLAction[];
@@ -9164,6 +9331,7 @@ type GetProjectResponse = {
9164
9331
  sharedEnvVars?: ACLAction[];
9165
9332
  sharedEnvVarsProduction?: ACLAction[];
9166
9333
  space?: ACLAction[];
9334
+ spaceRun?: ACLAction[];
9167
9335
  passwordProtectionInvoiceItem?: ACLAction[];
9168
9336
  rateLimit?: ACLAction[];
9169
9337
  redis?: ACLAction[];
@@ -9252,14 +9420,14 @@ type GetProjectResponse = {
9252
9420
  };
9253
9421
  hasActiveBranches?: boolean;
9254
9422
  trustedIps?: {
9255
- deploymentType: 'preview' | 'all';
9423
+ deploymentType: 'preview' | 'all' | 'production';
9256
9424
  addresses: {
9257
9425
  value: string;
9258
9426
  note?: string;
9259
9427
  }[];
9260
9428
  protectionMode: 'additional' | 'exclusive';
9261
9429
  } | {
9262
- deploymentType: 'preview' | 'all';
9430
+ deploymentType: 'preview' | 'all' | 'production';
9263
9431
  } | null;
9264
9432
  gitComments?: {
9265
9433
  /**
@@ -9450,7 +9618,7 @@ type UpdateProjectResponse = {
9450
9618
  [key: string]: string;
9451
9619
  };
9452
9620
  monorepoManager?: string | null;
9453
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9621
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
9454
9622
  private: boolean;
9455
9623
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
9456
9624
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -9534,6 +9702,7 @@ type UpdateProjectResponse = {
9534
9702
  passwordProtection?: {
9535
9703
  deploymentType: 'all' | 'preview';
9536
9704
  } | null;
9705
+ productionDeploymentsFastLane?: boolean;
9537
9706
  publicSource?: boolean | null;
9538
9707
  rootDirectory?: string | null;
9539
9708
  serverlessFunctionRegion?: string | null;
@@ -9576,7 +9745,7 @@ type UpdateProjectResponse = {
9576
9745
  [key: string]: string;
9577
9746
  };
9578
9747
  monorepoManager?: string | null;
9579
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
9748
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
9580
9749
  private: boolean;
9581
9750
  readyState: 'BUILDING' | 'ERROR' | 'INITIALIZING' | 'QUEUED' | 'READY' | 'CANCELED';
9582
9751
  readySubstate?: 'STAGED' | 'PROMOTED';
@@ -9620,6 +9789,7 @@ type UpdateProjectResponse = {
9620
9789
  billingPurchaseOrder?: ACLAction[];
9621
9790
  billingTaxId?: ACLAction[];
9622
9791
  blob?: ACLAction[];
9792
+ budget?: ACLAction[];
9623
9793
  cacheArtifact?: ACLAction[];
9624
9794
  cacheArtifactUsageEvent?: ACLAction[];
9625
9795
  concurrentBuilds?: ACLAction[];
@@ -9647,6 +9817,7 @@ type UpdateProjectResponse = {
9647
9817
  integrationVercelConfigurationOverride?: ACLAction[];
9648
9818
  jobGlobal?: ACLAction[];
9649
9819
  logDrain?: ACLAction[];
9820
+ logsPreset?: ACLAction[];
9650
9821
  Monitoring?: ACLAction[];
9651
9822
  monitoringQuery?: ACLAction[];
9652
9823
  monitoringChart?: ACLAction[];
@@ -9673,6 +9844,7 @@ type UpdateProjectResponse = {
9673
9844
  sharedEnvVars?: ACLAction[];
9674
9845
  sharedEnvVarsProduction?: ACLAction[];
9675
9846
  space?: ACLAction[];
9847
+ spaceRun?: ACLAction[];
9676
9848
  passwordProtectionInvoiceItem?: ACLAction[];
9677
9849
  rateLimit?: ACLAction[];
9678
9850
  redis?: ACLAction[];
@@ -9761,14 +9933,14 @@ type UpdateProjectResponse = {
9761
9933
  };
9762
9934
  hasActiveBranches?: boolean;
9763
9935
  trustedIps?: {
9764
- deploymentType: 'all' | 'preview';
9936
+ deploymentType: 'all' | 'preview' | 'production';
9765
9937
  addresses: {
9766
9938
  value: string;
9767
9939
  note?: string;
9768
9940
  }[];
9769
9941
  protectionMode: 'exclusive' | 'additional';
9770
9942
  } | {
9771
- deploymentType: 'all' | 'preview';
9943
+ deploymentType: 'all' | 'preview' | 'production';
9772
9944
  } | null;
9773
9945
  gitComments?: {
9774
9946
  /**
@@ -9894,7 +10066,7 @@ type UpdateProjectRequestBody = {
9894
10066
  /**
9895
10067
  * Specify if the Trusted IPs will apply to every Deployment Target or just Preview
9896
10068
  */
9897
- deploymentType: 'all' | 'preview';
10069
+ deploymentType: 'all' | 'preview' | 'production';
9898
10070
  /**
9899
10071
  * @minItems 1
9900
10072
  */
@@ -11187,7 +11359,7 @@ type GetTeamMembersQueryParams = {
11187
11359
  *
11188
11360
  * @example OWNER
11189
11361
  */
11190
- role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING';
11362
+ role?: 'OWNER' | 'MEMBER' | 'DEVELOPER' | 'VIEWER' | 'BILLING' | 'CONTRIBUTOR';
11191
11363
  /**
11192
11364
  * Exclude members who belong to the specified project.
11193
11365
  */
@@ -11304,6 +11476,9 @@ type GetTeamMembersResponse = {
11304
11476
  isDSyncUser: boolean;
11305
11477
  createdAt?: number;
11306
11478
  expired?: boolean;
11479
+ projects?: {
11480
+ [key: string]: 'ADMIN' | 'PROJECT_DEVELOPER' | 'PROJECT_VIEWER';
11481
+ };
11307
11482
  }[];
11308
11483
  pagination: {
11309
11484
  hasNext: boolean;
@@ -11380,7 +11555,36 @@ type InviteUserToTeamVariables = {
11380
11555
  /**
11381
11556
  * 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.
11382
11557
  */
11383
- declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
11558
+ declare const inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<{
11559
+ /**
11560
+ * The ID of the invited user
11561
+ *
11562
+ * @example kr1PsOIzqEL5Xg6M4VZcZosf
11563
+ */
11564
+ uid: string;
11565
+ /**
11566
+ * The username of the invited user
11567
+ *
11568
+ * @example john-doe
11569
+ */
11570
+ username: string;
11571
+ /**
11572
+ * The email of the invited user. Not included if the user was invited via their UID.
11573
+ *
11574
+ * @example john@user.co
11575
+ */
11576
+ email: string;
11577
+ /**
11578
+ * The role used for the invitation
11579
+ *
11580
+ * @example MEMBER
11581
+ */
11582
+ role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
11583
+ } | {
11584
+ uid: string;
11585
+ username: string;
11586
+ role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
11587
+ }>;
11384
11588
  type RequestAccessToTeamError = ErrorWrapper<undefined>;
11385
11589
  type RequestAccessToTeamResponse = {
11386
11590
  teamSlug: string;
@@ -11607,6 +11811,21 @@ type UpdateTeamMemberRequestBody = {
11607
11811
  * @example VIEWER
11608
11812
  */
11609
11813
  role?: string;
11814
+ projects?: {
11815
+ /**
11816
+ * The ID of the project.
11817
+ *
11818
+ * @maxLength 256
11819
+ * @example prj_ndlgr43fadlPyCtREAqxxdyFK
11820
+ */
11821
+ projectId: string;
11822
+ /**
11823
+ * The project role of the member that will be added. \"null\" will remove this project level role.
11824
+ *
11825
+ * @example ADMIN
11826
+ */
11827
+ role: 'ADMIN' | 'PROJECT_VIEWER' | 'PROJECT_DEVELOPER' | any | null;
11828
+ }[];
11610
11829
  joinedFrom?: {
11611
11830
  ssoUserId?: null;
11612
11831
  };
@@ -11840,7 +12059,6 @@ type CreateTeamResponse = {
11840
12059
  state?: string;
11841
12060
  } | null;
11842
12061
  name?: string | null;
11843
- overdue?: boolean | null;
11844
12062
  invoiceItems?: {
11845
12063
  /**
11846
12064
  * Will be used to create an invoice item. The price must be in cents: 2000 for $20.
@@ -12580,7 +12798,7 @@ type CreateWebhookResponse = {
12580
12798
  *
12581
12799
  * @example deployment.created
12582
12800
  */
12583
- 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')[];
12801
+ events: ('budget.reached' | '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')[];
12584
12802
  /**
12585
12803
  * The webhook id
12586
12804
  *
@@ -12627,7 +12845,7 @@ type CreateWebhookRequestBody = {
12627
12845
  /**
12628
12846
  * @minItems 1
12629
12847
  */
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')[];
12848
+ events: ('budget.reached' | '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')[];
12631
12849
  /**
12632
12850
  * @minItems 1
12633
12851
  * @maxItems 50
@@ -12671,7 +12889,7 @@ declare const getWebhooks: (variables: GetWebhooksVariables, signal?: AbortSigna
12671
12889
  *
12672
12890
  * @example deployment.created
12673
12891
  */
12674
- 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')[];
12892
+ events: ('budget.reached' | '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')[];
12675
12893
  /**
12676
12894
  * The webhook id
12677
12895
  *
@@ -12714,7 +12932,7 @@ declare const getWebhooks: (variables: GetWebhooksVariables, signal?: AbortSigna
12714
12932
  *
12715
12933
  * @example deployment.created
12716
12934
  */
12717
- 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')[];
12935
+ events: ('budget.reached' | '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')[];
12718
12936
  /**
12719
12937
  * The webhook id
12720
12938
  *
@@ -12768,7 +12986,7 @@ type GetWebhookResponse = {
12768
12986
  *
12769
12987
  * @example deployment.created
12770
12988
  */
12771
- 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')[];
12989
+ events: ('budget.reached' | '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')[];
12772
12990
  /**
12773
12991
  * The webhook id
12774
12992
  *
@@ -13289,6 +13507,33 @@ type AssignAliasQueryParams = {
13289
13507
  teamId?: string;
13290
13508
  };
13291
13509
  type AssignAliasError = ErrorWrapper<undefined>;
13510
+ type AssignAliasResponse = {
13511
+ /**
13512
+ * The unique identifier of the alias
13513
+ *
13514
+ * @example 2WjyKQmM8ZnGcJsPWMrHRHrE
13515
+ */
13516
+ uid: string;
13517
+ /**
13518
+ * The assigned alias name
13519
+ *
13520
+ * @example my-alias.vercel.app
13521
+ */
13522
+ alias: string;
13523
+ /**
13524
+ * The date when the alias was created
13525
+ *
13526
+ * @format date-time
13527
+ * @example 2017-04-26T23:00:34.232Z
13528
+ */
13529
+ created: string;
13530
+ /**
13531
+ * The unique identifier of the previously aliased deployment, only received when the alias was used before
13532
+ *
13533
+ * @example dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa
13534
+ */
13535
+ oldDeploymentId?: string | null;
13536
+ };
13292
13537
  type AssignAliasRequestBody = {
13293
13538
  /**
13294
13539
  * The alias we want to assign to the deployment defined in the URL
@@ -13311,7 +13556,7 @@ type AssignAliasVariables = {
13311
13556
  /**
13312
13557
  * 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.
13313
13558
  */
13314
- declare const assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
13559
+ declare const assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<AssignAliasResponse>;
13315
13560
  type GetCertByIdPathParams = {
13316
13561
  /**
13317
13562
  * The cert id
@@ -13462,6 +13707,10 @@ type GetDeploymentFileContentsPathParams = {
13462
13707
  fileId: string;
13463
13708
  };
13464
13709
  type GetDeploymentFileContentsQueryParams = {
13710
+ /**
13711
+ * Path to the file to fetch (only for Git deployments)
13712
+ */
13713
+ path?: string;
13465
13714
  /**
13466
13715
  * The Team identifier or slug to perform the request on behalf of.
13467
13716
  */
@@ -14679,7 +14928,7 @@ declare const operationsByTag: {
14679
14928
  *
14680
14929
  * @example pro
14681
14930
  */
14682
- plan: 'hobby' | 'enterprise' | 'pro' | 'oss';
14931
+ plan: 'pro' | 'enterprise' | 'hobby' | 'oss';
14683
14932
  /**
14684
14933
  * The ID of the project the deployment is associated with
14685
14934
  *
@@ -15261,10 +15510,21 @@ declare const operationsByTag: {
15261
15510
  buyDomain: (variables: BuyDomainVariables, signal?: AbortSignal) => Promise<BuyDomainResponse>;
15262
15511
  checkDomainPrice: (variables: CheckDomainPriceVariables, signal?: AbortSignal) => Promise<CheckDomainPriceResponse>;
15263
15512
  checkDomainStatus: (variables: CheckDomainStatusVariables, signal?: AbortSignal) => Promise<CheckDomainStatusResponse>;
15513
+ getDomainTransfer: (variables: GetDomainTransferVariables, signal?: AbortSignal) => Promise<GetDomainTransferResponse>;
15264
15514
  getDomainConfig: (variables: GetDomainConfigVariables, signal?: AbortSignal) => Promise<GetDomainConfigResponse>;
15265
15515
  getDomain: (variables: GetDomainVariables, signal?: AbortSignal) => Promise<GetDomainResponse>;
15266
15516
  getDomains: (variables: GetDomainsVariables, signal?: AbortSignal) => Promise<GetDomainsResponse>;
15267
15517
  createOrTransferDomain: (variables: CreateOrTransferDomainVariables, signal?: AbortSignal) => Promise<CreateOrTransferDomainResponse>;
15518
+ patchDomain: (variables: PatchDomainVariables, signal?: AbortSignal) => Promise<{
15519
+ moved: boolean;
15520
+ } | {
15521
+ moved: boolean;
15522
+ token: string;
15523
+ } | {
15524
+ renew?: boolean;
15525
+ customNameservers?: string[];
15526
+ zone?: boolean;
15527
+ }>;
15268
15528
  deleteDomain: (variables: DeleteDomainVariables, signal?: AbortSignal) => Promise<DeleteDomainResponse>;
15269
15529
  };
15270
15530
  dns: {
@@ -15359,12 +15619,6 @@ declare const operationsByTag: {
15359
15619
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
15360
15620
  */
15361
15621
  integrationId: string;
15362
- /**
15363
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
15364
- *
15365
- * @example false
15366
- */
15367
- oauthConfiguration?: boolean;
15368
15622
  /**
15369
15623
  * The user or team ID that owns the configuration
15370
15624
  *
@@ -15382,7 +15636,7 @@ declare const operationsByTag: {
15382
15636
  *
15383
15637
  * @example marketplace
15384
15638
  */
15385
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
15639
+ source?: 'marketplace' | 'deploy-button' | 'external';
15386
15640
  removedLogDrainsAt?: number;
15387
15641
  removedProjectEnvsAt?: number;
15388
15642
  removedTokensAt?: number;
@@ -15474,12 +15728,6 @@ declare const operationsByTag: {
15474
15728
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
15475
15729
  */
15476
15730
  integrationId: string;
15477
- /**
15478
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
15479
- *
15480
- * @example false
15481
- */
15482
- oauthConfiguration?: boolean;
15483
15731
  /**
15484
15732
  * The user or team ID that owns the configuration
15485
15733
  *
@@ -15497,7 +15745,7 @@ declare const operationsByTag: {
15497
15745
  *
15498
15746
  * @example marketplace
15499
15747
  */
15500
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
15748
+ source?: 'marketplace' | 'deploy-button' | 'external';
15501
15749
  removedLogDrainsAt?: number;
15502
15750
  removedProjectEnvsAt?: number;
15503
15751
  removedTokensAt?: number;
@@ -15582,12 +15830,6 @@ declare const operationsByTag: {
15582
15830
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
15583
15831
  */
15584
15832
  integrationId: string;
15585
- /**
15586
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
15587
- *
15588
- * @example false
15589
- */
15590
- oauthConfiguration?: boolean;
15591
15833
  /**
15592
15834
  * The user or team ID that owns the configuration
15593
15835
  *
@@ -15605,7 +15847,7 @@ declare const operationsByTag: {
15605
15847
  *
15606
15848
  * @example marketplace
15607
15849
  */
15608
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
15850
+ source?: 'marketplace' | 'deploy-button' | 'external';
15609
15851
  removedLogDrainsAt?: number;
15610
15852
  removedProjectEnvsAt?: number;
15611
15853
  removedTokensAt?: number;
@@ -15695,12 +15937,6 @@ declare const operationsByTag: {
15695
15937
  * @example oac_xzpVzcUOgcB1nrVlirtKhbWV
15696
15938
  */
15697
15939
  integrationId: string;
15698
- /**
15699
- * Will be truthy in those cases where the configuration was created to authorize a client through the OAuth2 flow.
15700
- *
15701
- * @example false
15702
- */
15703
- oauthConfiguration?: boolean;
15704
15940
  /**
15705
15941
  * The user or team ID that owns the configuration
15706
15942
  *
@@ -15718,7 +15954,7 @@ declare const operationsByTag: {
15718
15954
  *
15719
15955
  * @example marketplace
15720
15956
  */
15721
- source?: 'marketplace' | 'deploy-button' | 'oauth' | 'external';
15957
+ source?: 'marketplace' | 'deploy-button' | 'external';
15722
15958
  removedLogDrainsAt?: number;
15723
15959
  removedProjectEnvsAt?: number;
15724
15960
  removedTokensAt?: number;
@@ -15794,7 +16030,36 @@ declare const operationsByTag: {
15794
16030
  };
15795
16031
  teams: {
15796
16032
  getTeamMembers: (variables: GetTeamMembersVariables, signal?: AbortSignal) => Promise<GetTeamMembersResponse>;
15797
- inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
16033
+ inviteUserToTeam: (variables: InviteUserToTeamVariables, signal?: AbortSignal) => Promise<{
16034
+ /**
16035
+ * The ID of the invited user
16036
+ *
16037
+ * @example kr1PsOIzqEL5Xg6M4VZcZosf
16038
+ */
16039
+ uid: string;
16040
+ /**
16041
+ * The username of the invited user
16042
+ *
16043
+ * @example john-doe
16044
+ */
16045
+ username: string;
16046
+ /**
16047
+ * The email of the invited user. Not included if the user was invited via their UID.
16048
+ *
16049
+ * @example john@user.co
16050
+ */
16051
+ email: string;
16052
+ /**
16053
+ * The role used for the invitation
16054
+ *
16055
+ * @example MEMBER
16056
+ */
16057
+ role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
16058
+ } | {
16059
+ uid: string;
16060
+ username: string;
16061
+ role: 'OWNER' | 'MEMBER' | 'VIEWER' | 'DEVELOPER' | 'BILLING' | 'CONTRIBUTOR';
16062
+ }>;
15798
16063
  requestAccessToTeam: (variables: RequestAccessToTeamVariables, signal?: AbortSignal) => Promise<RequestAccessToTeamResponse>;
15799
16064
  getTeamAccessRequest: (variables: GetTeamAccessRequestVariables, signal?: AbortSignal) => Promise<GetTeamAccessRequestResponse>;
15800
16065
  joinTeam: (variables: JoinTeamVariables, signal?: AbortSignal) => Promise<JoinTeamResponse>;
@@ -15829,7 +16094,7 @@ declare const operationsByTag: {
15829
16094
  *
15830
16095
  * @example deployment.created
15831
16096
  */
15832
- 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')[];
16097
+ events: ('budget.reached' | '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')[];
15833
16098
  /**
15834
16099
  * The webhook id
15835
16100
  *
@@ -15872,7 +16137,7 @@ declare const operationsByTag: {
15872
16137
  *
15873
16138
  * @example deployment.created
15874
16139
  */
15875
- 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')[];
16140
+ events: ('budget.reached' | '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')[];
15876
16141
  /**
15877
16142
  * The webhook id
15878
16143
  *
@@ -15918,7 +16183,7 @@ declare const operationsByTag: {
15918
16183
  getAlias: (variables: GetAliasVariables, signal?: AbortSignal) => Promise<GetAliasResponse>;
15919
16184
  deleteAlias: (variables: DeleteAliasVariables, signal?: AbortSignal) => Promise<DeleteAliasResponse>;
15920
16185
  listDeploymentAliases: (variables: ListDeploymentAliasesVariables, signal?: AbortSignal) => Promise<ListDeploymentAliasesResponse>;
15921
- assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<Record<string, any>>;
16186
+ assignAlias: (variables: AssignAliasVariables, signal?: AbortSignal) => Promise<AssignAliasResponse>;
15922
16187
  };
15923
16188
  certs: {
15924
16189
  getCertById: (variables: GetCertByIdVariables, signal?: AbortSignal) => Promise<GetCertByIdResponse>;
@@ -15950,6 +16215,7 @@ type components_AssignAliasError = AssignAliasError;
15950
16215
  type components_AssignAliasPathParams = AssignAliasPathParams;
15951
16216
  type components_AssignAliasQueryParams = AssignAliasQueryParams;
15952
16217
  type components_AssignAliasRequestBody = AssignAliasRequestBody;
16218
+ type components_AssignAliasResponse = AssignAliasResponse;
15953
16219
  type components_AssignAliasVariables = AssignAliasVariables;
15954
16220
  type components_BuyDomainError = BuyDomainError;
15955
16221
  type components_BuyDomainQueryParams = BuyDomainQueryParams;
@@ -16187,6 +16453,10 @@ type components_GetDomainError = GetDomainError;
16187
16453
  type components_GetDomainPathParams = GetDomainPathParams;
16188
16454
  type components_GetDomainQueryParams = GetDomainQueryParams;
16189
16455
  type components_GetDomainResponse = GetDomainResponse;
16456
+ type components_GetDomainTransferError = GetDomainTransferError;
16457
+ type components_GetDomainTransferQueryParams = GetDomainTransferQueryParams;
16458
+ type components_GetDomainTransferResponse = GetDomainTransferResponse;
16459
+ type components_GetDomainTransferVariables = GetDomainTransferVariables;
16190
16460
  type components_GetDomainVariables = GetDomainVariables;
16191
16461
  type components_GetDomainsError = GetDomainsError;
16192
16462
  type components_GetDomainsQueryParams = GetDomainsQueryParams;
@@ -16319,6 +16589,10 @@ type components_ListUserEventsError = ListUserEventsError;
16319
16589
  type components_ListUserEventsQueryParams = ListUserEventsQueryParams;
16320
16590
  type components_ListUserEventsResponse = ListUserEventsResponse;
16321
16591
  type components_ListUserEventsVariables = ListUserEventsVariables;
16592
+ type components_PatchDomainError = PatchDomainError;
16593
+ type components_PatchDomainPathParams = PatchDomainPathParams;
16594
+ type components_PatchDomainQueryParams = PatchDomainQueryParams;
16595
+ type components_PatchDomainVariables = PatchDomainVariables;
16322
16596
  type components_PatchTeamError = PatchTeamError;
16323
16597
  type components_PatchTeamPathParams = PatchTeamPathParams;
16324
16598
  type components_PatchTeamRequestBody = PatchTeamRequestBody;
@@ -16500,6 +16774,7 @@ declare const components_getDeploymentFileContents: typeof getDeploymentFileCont
16500
16774
  declare const components_getDeployments: typeof getDeployments;
16501
16775
  declare const components_getDomain: typeof getDomain;
16502
16776
  declare const components_getDomainConfig: typeof getDomainConfig;
16777
+ declare const components_getDomainTransfer: typeof getDomainTransfer;
16503
16778
  declare const components_getDomains: typeof getDomains;
16504
16779
  declare const components_getEdgeConfig: typeof getEdgeConfig;
16505
16780
  declare const components_getEdgeConfigItem: typeof getEdgeConfigItem;
@@ -16532,6 +16807,7 @@ declare const components_listDeploymentAliases: typeof listDeploymentAliases;
16532
16807
  declare const components_listDeploymentFiles: typeof listDeploymentFiles;
16533
16808
  declare const components_listUserEvents: typeof listUserEvents;
16534
16809
  declare const components_operationsByTag: typeof operationsByTag;
16810
+ declare const components_patchDomain: typeof patchDomain;
16535
16811
  declare const components_patchTeam: typeof patchTeam;
16536
16812
  declare const components_patchtEdgeConfigItems: typeof patchtEdgeConfigItems;
16537
16813
  declare const components_recordEvents: typeof recordEvents;
@@ -16575,6 +16851,7 @@ declare namespace components {
16575
16851
  components_AssignAliasPathParams as AssignAliasPathParams,
16576
16852
  components_AssignAliasQueryParams as AssignAliasQueryParams,
16577
16853
  components_AssignAliasRequestBody as AssignAliasRequestBody,
16854
+ components_AssignAliasResponse as AssignAliasResponse,
16578
16855
  components_AssignAliasVariables as AssignAliasVariables,
16579
16856
  components_BuyDomainError as BuyDomainError,
16580
16857
  components_BuyDomainQueryParams as BuyDomainQueryParams,
@@ -16812,6 +17089,10 @@ declare namespace components {
16812
17089
  components_GetDomainPathParams as GetDomainPathParams,
16813
17090
  components_GetDomainQueryParams as GetDomainQueryParams,
16814
17091
  components_GetDomainResponse as GetDomainResponse,
17092
+ components_GetDomainTransferError as GetDomainTransferError,
17093
+ components_GetDomainTransferQueryParams as GetDomainTransferQueryParams,
17094
+ components_GetDomainTransferResponse as GetDomainTransferResponse,
17095
+ components_GetDomainTransferVariables as GetDomainTransferVariables,
16815
17096
  components_GetDomainVariables as GetDomainVariables,
16816
17097
  components_GetDomainsError as GetDomainsError,
16817
17098
  components_GetDomainsQueryParams as GetDomainsQueryParams,
@@ -16944,6 +17225,10 @@ declare namespace components {
16944
17225
  components_ListUserEventsQueryParams as ListUserEventsQueryParams,
16945
17226
  components_ListUserEventsResponse as ListUserEventsResponse,
16946
17227
  components_ListUserEventsVariables as ListUserEventsVariables,
17228
+ components_PatchDomainError as PatchDomainError,
17229
+ components_PatchDomainPathParams as PatchDomainPathParams,
17230
+ components_PatchDomainQueryParams as PatchDomainQueryParams,
17231
+ components_PatchDomainVariables as PatchDomainVariables,
16947
17232
  components_PatchTeamError as PatchTeamError,
16948
17233
  components_PatchTeamPathParams as PatchTeamPathParams,
16949
17234
  components_PatchTeamRequestBody as PatchTeamRequestBody,
@@ -17125,6 +17410,7 @@ declare namespace components {
17125
17410
  components_getDeployments as getDeployments,
17126
17411
  components_getDomain as getDomain,
17127
17412
  components_getDomainConfig as getDomainConfig,
17413
+ components_getDomainTransfer as getDomainTransfer,
17128
17414
  components_getDomains as getDomains,
17129
17415
  components_getEdgeConfig as getEdgeConfig,
17130
17416
  components_getEdgeConfigItem as getEdgeConfigItem,
@@ -17157,6 +17443,7 @@ declare namespace components {
17157
17443
  components_listDeploymentFiles as listDeploymentFiles,
17158
17444
  components_listUserEvents as listUserEvents,
17159
17445
  components_operationsByTag as operationsByTag,
17446
+ components_patchDomain as patchDomain,
17160
17447
  components_patchTeam as patchTeam,
17161
17448
  components_patchtEdgeConfigItems as patchtEdgeConfigItems,
17162
17449
  components_recordEvents as recordEvents,
@@ -17225,7 +17512,7 @@ declare const operationsByPath: {
17225
17512
  monorepoManager?: string | null;
17226
17513
  name: string;
17227
17514
  ownerId: string;
17228
- plan: "hobby" | "enterprise" | "pro" | "oss";
17515
+ plan: "pro" | "enterprise" | "hobby" | "oss";
17229
17516
  projectId: string;
17230
17517
  routes: ({
17231
17518
  src: string;
@@ -17594,10 +17881,21 @@ declare const operationsByPath: {
17594
17881
  'PATCH /v1/domains/records/{recordId}': (variables: UpdateRecordVariables, signal?: AbortSignal | undefined) => Promise<UpdateRecordResponse>;
17595
17882
  'DELETE /v2/domains/{domain}/records/{recordId}': (variables: RemoveRecordVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
17596
17883
  'GET /v4/domains/status': (variables: CheckDomainStatusVariables, signal?: AbortSignal | undefined) => Promise<CheckDomainStatusResponse>;
17884
+ 'GET /v1/domains/{domain}/registry': (variables: GetDomainTransferVariables, signal?: AbortSignal | undefined) => Promise<GetDomainTransferResponse>;
17597
17885
  'GET /v6/domains/{domain}/config': (variables: GetDomainConfigVariables, signal?: AbortSignal | undefined) => Promise<GetDomainConfigResponse>;
17598
17886
  'GET /v5/domains/{domain}': (variables: GetDomainVariables, signal?: AbortSignal | undefined) => Promise<GetDomainResponse>;
17599
17887
  'GET /v5/domains': (variables: GetDomainsVariables, signal?: AbortSignal | undefined) => Promise<GetDomainsResponse>;
17600
17888
  'POST /v5/domains': (variables: CreateOrTransferDomainVariables, signal?: AbortSignal | undefined) => Promise<CreateOrTransferDomainResponse>;
17889
+ 'PATCH /v3/domains/{domain}': (variables: PatchDomainVariables, signal?: AbortSignal | undefined) => Promise<{
17890
+ moved: boolean;
17891
+ } | {
17892
+ moved: boolean;
17893
+ token: string;
17894
+ } | {
17895
+ renew?: boolean;
17896
+ customNameservers?: string[];
17897
+ zone?: boolean;
17898
+ }>;
17601
17899
  'DELETE /v6/domains/{domain}': (variables: DeleteDomainVariables, signal?: AbortSignal | undefined) => Promise<DeleteDomainResponse>;
17602
17900
  'GET /v1/edge-config': (variables: GetEdgeConfigsVariables, signal?: AbortSignal | undefined) => Promise<GetEdgeConfigsResponse>;
17603
17901
  'POST /v1/edge-config': (variables: CreateEdgeConfigVariables, signal?: AbortSignal | undefined) => Promise<CreateEdgeConfigResponse>;
@@ -17617,10 +17915,9 @@ declare const operationsByPath: {
17617
17915
  createdAt: number;
17618
17916
  id: string;
17619
17917
  integrationId: string;
17620
- oauthConfiguration?: boolean;
17621
17918
  ownerId: string;
17622
17919
  projects?: string[];
17623
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
17920
+ source?: "external" | "marketplace" | "deploy-button";
17624
17921
  removedLogDrainsAt?: number;
17625
17922
  removedProjectEnvsAt?: number;
17626
17923
  removedTokensAt?: number;
@@ -17656,10 +17953,9 @@ declare const operationsByPath: {
17656
17953
  createdAt: number;
17657
17954
  id: string;
17658
17955
  integrationId: string;
17659
- oauthConfiguration?: boolean;
17660
17956
  ownerId: string;
17661
17957
  projects?: string[];
17662
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
17958
+ source?: "external" | "marketplace" | "deploy-button";
17663
17959
  removedLogDrainsAt?: number;
17664
17960
  removedProjectEnvsAt?: number;
17665
17961
  removedTokensAt?: number;
@@ -17688,10 +17984,9 @@ declare const operationsByPath: {
17688
17984
  createdAt: number;
17689
17985
  id: string;
17690
17986
  integrationId: string;
17691
- oauthConfiguration?: boolean;
17692
17987
  ownerId: string;
17693
17988
  projects?: string[];
17694
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
17989
+ source?: "external" | "marketplace" | "deploy-button";
17695
17990
  removedLogDrainsAt?: number;
17696
17991
  removedProjectEnvsAt?: number;
17697
17992
  removedTokensAt?: number;
@@ -17720,10 +18015,9 @@ declare const operationsByPath: {
17720
18015
  createdAt: number;
17721
18016
  id: string;
17722
18017
  integrationId: string;
17723
- oauthConfiguration?: boolean;
17724
18018
  ownerId: string;
17725
18019
  projects?: string[];
17726
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
18020
+ source?: "external" | "marketplace" | "deploy-button";
17727
18021
  removedLogDrainsAt?: number;
17728
18022
  removedProjectEnvsAt?: number;
17729
18023
  removedTokensAt?: number;
@@ -18096,7 +18390,16 @@ declare const operationsByPath: {
18096
18390
  }[]>;
18097
18391
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal | undefined) => Promise<EditProjectEnvResponse>;
18098
18392
  'GET /v2/teams/{teamId}/members': (variables: GetTeamMembersVariables, signal?: AbortSignal | undefined) => Promise<GetTeamMembersResponse>;
18099
- 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18393
+ 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<{
18394
+ uid: string;
18395
+ username: string;
18396
+ email: string;
18397
+ role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
18398
+ } | {
18399
+ uid: string;
18400
+ username: string;
18401
+ role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
18402
+ }>;
18100
18403
  'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal | undefined) => Promise<RequestAccessToTeamResponse>;
18101
18404
  'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal | undefined) => Promise<GetTeamAccessRequestResponse>;
18102
18405
  'POST /v1/teams/{teamId}/members/teams/join': (variables: JoinTeamVariables, signal?: AbortSignal | undefined) => Promise<JoinTeamResponse>;
@@ -18125,7 +18428,7 @@ declare const operationsByPath: {
18125
18428
  framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
18126
18429
  latestDeployment?: string;
18127
18430
  }[] | null;
18128
- events: ("deployment" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
18431
+ events: ("deployment" | "budget.reached" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
18129
18432
  id: string;
18130
18433
  url: string;
18131
18434
  ownerId: string;
@@ -18133,7 +18436,7 @@ declare const operationsByPath: {
18133
18436
  updatedAt: number;
18134
18437
  projectIds?: string[];
18135
18438
  }[] | {
18136
- events: ("deployment" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
18439
+ events: ("deployment" | "budget.reached" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
18137
18440
  id: string;
18138
18441
  url: string;
18139
18442
  ownerId: string;
@@ -18147,7 +18450,7 @@ declare const operationsByPath: {
18147
18450
  'GET /v4/aliases/{idOrAlias}': (variables: GetAliasVariables, signal?: AbortSignal | undefined) => Promise<GetAliasResponse>;
18148
18451
  'DELETE /v2/aliases/{aliasId}': (variables: DeleteAliasVariables, signal?: AbortSignal | undefined) => Promise<DeleteAliasResponse>;
18149
18452
  'GET /v2/deployments/{id}/aliases': (variables: ListDeploymentAliasesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentAliasesResponse>;
18150
- 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18453
+ 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<AssignAliasResponse>;
18151
18454
  'GET /v7/certs/{id}': (variables: GetCertByIdVariables, signal?: AbortSignal | undefined) => Promise<GetCertByIdResponse>;
18152
18455
  'DELETE /v7/certs/{id}': (variables: RemoveCertVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18153
18456
  'POST /v7/certs': (variables: IssueCertVariables, signal?: AbortSignal | undefined) => Promise<IssueCertResponse>;
@@ -18225,7 +18528,7 @@ declare class VercelApi {
18225
18528
  monorepoManager?: string | null;
18226
18529
  name: string;
18227
18530
  ownerId: string;
18228
- plan: "hobby" | "enterprise" | "pro" | "oss";
18531
+ plan: "pro" | "enterprise" | "hobby" | "oss";
18229
18532
  projectId: string;
18230
18533
  routes: ({
18231
18534
  src: string;
@@ -18594,10 +18897,21 @@ declare class VercelApi {
18594
18897
  'PATCH /v1/domains/records/{recordId}': (variables: UpdateRecordVariables, signal?: AbortSignal | undefined) => Promise<UpdateRecordResponse>;
18595
18898
  'DELETE /v2/domains/{domain}/records/{recordId}': (variables: RemoveRecordVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
18596
18899
  'GET /v4/domains/status': (variables: CheckDomainStatusVariables, signal?: AbortSignal | undefined) => Promise<CheckDomainStatusResponse>;
18900
+ 'GET /v1/domains/{domain}/registry': (variables: GetDomainTransferVariables, signal?: AbortSignal | undefined) => Promise<GetDomainTransferResponse>;
18597
18901
  'GET /v6/domains/{domain}/config': (variables: GetDomainConfigVariables, signal?: AbortSignal | undefined) => Promise<GetDomainConfigResponse>;
18598
18902
  'GET /v5/domains/{domain}': (variables: GetDomainVariables, signal?: AbortSignal | undefined) => Promise<GetDomainResponse>;
18599
18903
  'GET /v5/domains': (variables: GetDomainsVariables, signal?: AbortSignal | undefined) => Promise<GetDomainsResponse>;
18600
18904
  'POST /v5/domains': (variables: CreateOrTransferDomainVariables, signal?: AbortSignal | undefined) => Promise<CreateOrTransferDomainResponse>;
18905
+ 'PATCH /v3/domains/{domain}': (variables: PatchDomainVariables, signal?: AbortSignal | undefined) => Promise<{
18906
+ moved: boolean;
18907
+ } | {
18908
+ moved: boolean;
18909
+ token: string;
18910
+ } | {
18911
+ renew?: boolean;
18912
+ customNameservers?: string[];
18913
+ zone?: boolean;
18914
+ }>;
18601
18915
  'DELETE /v6/domains/{domain}': (variables: DeleteDomainVariables, signal?: AbortSignal | undefined) => Promise<DeleteDomainResponse>;
18602
18916
  'GET /v1/edge-config': (variables: GetEdgeConfigsVariables, signal?: AbortSignal | undefined) => Promise<GetEdgeConfigsResponse>;
18603
18917
  'POST /v1/edge-config': (variables: CreateEdgeConfigVariables, signal?: AbortSignal | undefined) => Promise<CreateEdgeConfigResponse>;
@@ -18617,10 +18931,9 @@ declare class VercelApi {
18617
18931
  createdAt: number;
18618
18932
  id: string;
18619
18933
  integrationId: string;
18620
- oauthConfiguration?: boolean;
18621
18934
  ownerId: string;
18622
18935
  projects?: string[];
18623
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
18936
+ source?: "external" | "marketplace" | "deploy-button";
18624
18937
  removedLogDrainsAt?: number;
18625
18938
  removedProjectEnvsAt?: number;
18626
18939
  removedTokensAt?: number;
@@ -18656,10 +18969,9 @@ declare class VercelApi {
18656
18969
  createdAt: number;
18657
18970
  id: string;
18658
18971
  integrationId: string;
18659
- oauthConfiguration?: boolean;
18660
18972
  ownerId: string;
18661
18973
  projects?: string[];
18662
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
18974
+ source?: "external" | "marketplace" | "deploy-button";
18663
18975
  removedLogDrainsAt?: number;
18664
18976
  removedProjectEnvsAt?: number;
18665
18977
  removedTokensAt?: number;
@@ -18688,10 +19000,9 @@ declare class VercelApi {
18688
19000
  createdAt: number;
18689
19001
  id: string;
18690
19002
  integrationId: string;
18691
- oauthConfiguration?: boolean;
18692
19003
  ownerId: string;
18693
19004
  projects?: string[];
18694
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
19005
+ source?: "external" | "marketplace" | "deploy-button";
18695
19006
  removedLogDrainsAt?: number;
18696
19007
  removedProjectEnvsAt?: number;
18697
19008
  removedTokensAt?: number;
@@ -18720,10 +19031,9 @@ declare class VercelApi {
18720
19031
  createdAt: number;
18721
19032
  id: string;
18722
19033
  integrationId: string;
18723
- oauthConfiguration?: boolean;
18724
19034
  ownerId: string;
18725
19035
  projects?: string[];
18726
- source?: "external" | "marketplace" | "deploy-button" | "oauth";
19036
+ source?: "external" | "marketplace" | "deploy-button";
18727
19037
  removedLogDrainsAt?: number;
18728
19038
  removedProjectEnvsAt?: number;
18729
19039
  removedTokensAt?: number;
@@ -19096,7 +19406,16 @@ declare class VercelApi {
19096
19406
  }[]>;
19097
19407
  'PATCH /v9/projects/{idOrName}/env/{id}': (variables: EditProjectEnvVariables, signal?: AbortSignal | undefined) => Promise<EditProjectEnvResponse>;
19098
19408
  'GET /v2/teams/{teamId}/members': (variables: GetTeamMembersVariables, signal?: AbortSignal | undefined) => Promise<GetTeamMembersResponse>;
19099
- 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
19409
+ 'POST /v1/teams/{teamId}/members': (variables: InviteUserToTeamVariables, signal?: AbortSignal | undefined) => Promise<{
19410
+ uid: string;
19411
+ username: string;
19412
+ email: string;
19413
+ role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
19414
+ } | {
19415
+ uid: string;
19416
+ username: string;
19417
+ role: "MEMBER" | "OWNER" | "VIEWER" | "DEVELOPER" | "BILLING" | "CONTRIBUTOR";
19418
+ }>;
19100
19419
  'POST /v1/teams/{teamId}/request': (variables: RequestAccessToTeamVariables, signal?: AbortSignal | undefined) => Promise<RequestAccessToTeamResponse>;
19101
19420
  'GET /v1/teams/{teamId}/request/{userId}': (variables: GetTeamAccessRequestVariables, signal?: AbortSignal | undefined) => Promise<GetTeamAccessRequestResponse>;
19102
19421
  'POST /v1/teams/{teamId}/members/teams/join': (variables: JoinTeamVariables, signal?: AbortSignal | undefined) => Promise<JoinTeamResponse>;
@@ -19125,7 +19444,7 @@ declare class VercelApi {
19125
19444
  framework?: "blitzjs" | "nextjs" | "gatsby" | "remix" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "sanity" | "storybook" | null;
19126
19445
  latestDeployment?: string;
19127
19446
  }[] | null;
19128
- events: ("deployment" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
19447
+ events: ("deployment" | "budget.reached" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
19129
19448
  id: string;
19130
19449
  url: string;
19131
19450
  ownerId: string;
@@ -19133,7 +19452,7 @@ declare class VercelApi {
19133
19452
  updatedAt: number;
19134
19453
  projectIds?: string[];
19135
19454
  }[] | {
19136
- events: ("deployment" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
19455
+ events: ("deployment" | "budget.reached" | "domain.created" | "deployment.created" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "project.created" | "project.removed" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed")[];
19137
19456
  id: string;
19138
19457
  url: string;
19139
19458
  ownerId: string;
@@ -19147,7 +19466,7 @@ declare class VercelApi {
19147
19466
  'GET /v4/aliases/{idOrAlias}': (variables: GetAliasVariables, signal?: AbortSignal | undefined) => Promise<GetAliasResponse>;
19148
19467
  'DELETE /v2/aliases/{aliasId}': (variables: DeleteAliasVariables, signal?: AbortSignal | undefined) => Promise<DeleteAliasResponse>;
19149
19468
  'GET /v2/deployments/{id}/aliases': (variables: ListDeploymentAliasesVariables, signal?: AbortSignal | undefined) => Promise<ListDeploymentAliasesResponse>;
19150
- 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
19469
+ 'POST /v2/deployments/{id}/aliases': (variables: AssignAliasVariables, signal?: AbortSignal | undefined) => Promise<AssignAliasResponse>;
19151
19470
  'GET /v7/certs/{id}': (variables: GetCertByIdVariables, signal?: AbortSignal | undefined) => Promise<GetCertByIdResponse>;
19152
19471
  'DELETE /v7/certs/{id}': (variables: RemoveCertVariables, signal?: AbortSignal | undefined) => Promise<Record<string, any>>;
19153
19472
  'POST /v7/certs': (variables: IssueCertVariables, signal?: AbortSignal | undefined) => Promise<IssueCertResponse>;