@vercel/sdk 1.12.1 → 1.12.2

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.
Files changed (78) hide show
  1. package/README.md +4 -2
  2. package/bin/mcp-server.js +2413 -2217
  3. package/bin/mcp-server.js.map +14 -11
  4. package/docs/sdks/projects/README.md +92 -0
  5. package/esm/__tests__/accessgroups.test.js +1 -3
  6. package/esm/__tests__/accessgroups.test.js.map +1 -1
  7. package/esm/__tests__/edgeconfig.test.js +6 -6
  8. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  9. package/esm/__tests__/integrations.test.js +1 -1
  10. package/esm/__tests__/logdrains.test.js +2 -6
  11. package/esm/__tests__/logdrains.test.js.map +1 -1
  12. package/esm/__tests__/projects.test.js +24 -0
  13. package/esm/__tests__/projects.test.js.map +1 -1
  14. package/esm/__tests__/rollingrelease.test.js +2 -1
  15. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  16. package/esm/__tests__/security.test.js +4 -4
  17. package/esm/__tests__/security.test.js.map +1 -1
  18. package/esm/funcs/projectsUploadProjectClientCert.d.ts +19 -0
  19. package/esm/funcs/projectsUploadProjectClientCert.d.ts.map +1 -0
  20. package/esm/funcs/projectsUploadProjectClientCert.js +94 -0
  21. package/esm/funcs/projectsUploadProjectClientCert.js.map +1 -0
  22. package/esm/lib/config.d.ts +3 -3
  23. package/esm/lib/config.js +3 -3
  24. package/esm/mcp-server/mcp-server.js +1 -1
  25. package/esm/mcp-server/server.d.ts.map +1 -1
  26. package/esm/mcp-server/server.js +3 -1
  27. package/esm/mcp-server/server.js.map +1 -1
  28. package/esm/mcp-server/tools/projectsUploadProjectClientCert.d.ts +7 -0
  29. package/esm/mcp-server/tools/projectsUploadProjectClientCert.d.ts.map +1 -0
  30. package/esm/mcp-server/tools/projectsUploadProjectClientCert.js +28 -0
  31. package/esm/mcp-server/tools/projectsUploadProjectClientCert.js.map +1 -0
  32. package/esm/models/createintegrationstoredirectop.d.ts +285 -285
  33. package/esm/models/createintegrationstoredirectop.js +351 -351
  34. package/esm/models/createprojectop.d.ts +30 -30
  35. package/esm/models/createprojectop.d.ts.map +1 -1
  36. package/esm/models/createprojectop.js +18 -18
  37. package/esm/models/createprojectop.js.map +1 -1
  38. package/esm/models/getconfigurationproductsop.d.ts +375 -375
  39. package/esm/models/getconfigurationproductsop.js +465 -465
  40. package/esm/models/updateprojectop.d.ts +30 -30
  41. package/esm/models/updateprojectop.d.ts.map +1 -1
  42. package/esm/models/updateprojectop.js +18 -18
  43. package/esm/models/updateprojectop.js.map +1 -1
  44. package/esm/models/uploadprojectclientcertop.d.ts +122 -0
  45. package/esm/models/uploadprojectclientcertop.d.ts.map +1 -0
  46. package/esm/models/uploadprojectclientcertop.js +108 -0
  47. package/esm/models/uploadprojectclientcertop.js.map +1 -0
  48. package/esm/models/userevent.d.ts +1856 -1824
  49. package/esm/models/userevent.d.ts.map +1 -1
  50. package/esm/models/userevent.js +2400 -2367
  51. package/esm/models/userevent.js.map +1 -1
  52. package/esm/sdk/projects.d.ts +8 -0
  53. package/esm/sdk/projects.d.ts.map +1 -1
  54. package/esm/sdk/projects.js +10 -0
  55. package/esm/sdk/projects.js.map +1 -1
  56. package/examples/package-lock.json +1 -1
  57. package/jsr.json +1 -1
  58. package/package.json +1 -1
  59. package/src/__tests__/accessgroups.test.ts +1 -3
  60. package/src/__tests__/edgeconfig.test.ts +6 -6
  61. package/src/__tests__/integrations.test.ts +1 -1
  62. package/src/__tests__/logdrains.test.ts +2 -6
  63. package/src/__tests__/projects.test.ts +27 -0
  64. package/src/__tests__/rollingrelease.test.ts +2 -1
  65. package/src/__tests__/security.test.ts +4 -4
  66. package/src/funcs/projectsUploadProjectClientCert.ts +198 -0
  67. package/src/lib/config.ts +3 -3
  68. package/src/mcp-server/mcp-server.ts +1 -1
  69. package/src/mcp-server/server.ts +3 -1
  70. package/src/mcp-server/tools/projectsUploadProjectClientCert.ts +38 -0
  71. package/src/models/createintegrationstoredirectop.ts +604 -604
  72. package/src/models/createprojectop.ts +30 -30
  73. package/src/models/getconfigurationproductsop.ts +802 -802
  74. package/src/models/updateprojectop.ts +30 -30
  75. package/src/models/uploadprojectclientcertop.ts +263 -0
  76. package/src/models/userevent.ts +4207 -4130
  77. package/src/sdk/projects.ts +22 -0
  78. package/vercel-spec.json +296 -136
package/vercel-spec.json CHANGED
@@ -29698,34 +29698,34 @@
29698
29698
  "minLength": {
29699
29699
  "type": "object",
29700
29700
  "properties": {
29701
- "__@BRAND@543472": {
29701
+ "__@BRAND@543559": {
29702
29702
  "type": "object"
29703
29703
  }
29704
29704
  },
29705
29705
  "required": [
29706
- "__@BRAND@543472"
29706
+ "__@BRAND@543559"
29707
29707
  ]
29708
29708
  },
29709
29709
  "maxLength": {
29710
29710
  "type": "object",
29711
29711
  "properties": {
29712
- "__@BRAND@543472": {
29712
+ "__@BRAND@543559": {
29713
29713
  "type": "object"
29714
29714
  }
29715
29715
  },
29716
29716
  "required": [
29717
- "__@BRAND@543472"
29717
+ "__@BRAND@543559"
29718
29718
  ]
29719
29719
  },
29720
29720
  "pattern": {
29721
29721
  "type": "object",
29722
29722
  "properties": {
29723
- "__@BRAND@543472": {
29723
+ "__@BRAND@543559": {
29724
29724
  "type": "object"
29725
29725
  }
29726
29726
  },
29727
29727
  "required": [
29728
- "__@BRAND@543472"
29728
+ "__@BRAND@543559"
29729
29729
  ]
29730
29730
  },
29731
29731
  "default": {
@@ -30408,34 +30408,34 @@
30408
30408
  "minLength": {
30409
30409
  "type": "object",
30410
30410
  "properties": {
30411
- "__@BRAND@543472": {
30411
+ "__@BRAND@543559": {
30412
30412
  "type": "object"
30413
30413
  }
30414
30414
  },
30415
30415
  "required": [
30416
- "__@BRAND@543472"
30416
+ "__@BRAND@543559"
30417
30417
  ]
30418
30418
  },
30419
30419
  "maxLength": {
30420
30420
  "type": "object",
30421
30421
  "properties": {
30422
- "__@BRAND@543472": {
30422
+ "__@BRAND@543559": {
30423
30423
  "type": "object"
30424
30424
  }
30425
30425
  },
30426
30426
  "required": [
30427
- "__@BRAND@543472"
30427
+ "__@BRAND@543559"
30428
30428
  ]
30429
30429
  },
30430
30430
  "pattern": {
30431
30431
  "type": "object",
30432
30432
  "properties": {
30433
- "__@BRAND@543472": {
30433
+ "__@BRAND@543559": {
30434
30434
  "type": "object"
30435
30435
  }
30436
30436
  },
30437
30437
  "required": [
30438
- "__@BRAND@543472"
30438
+ "__@BRAND@543559"
30439
30439
  ]
30440
30440
  },
30441
30441
  "default": {
@@ -30593,34 +30593,34 @@
30593
30593
  "minLength": {
30594
30594
  "type": "object",
30595
30595
  "properties": {
30596
- "__@BRAND@543472": {
30596
+ "__@BRAND@543559": {
30597
30597
  "type": "object"
30598
30598
  }
30599
30599
  },
30600
30600
  "required": [
30601
- "__@BRAND@543472"
30601
+ "__@BRAND@543559"
30602
30602
  ]
30603
30603
  },
30604
30604
  "maxLength": {
30605
30605
  "type": "object",
30606
30606
  "properties": {
30607
- "__@BRAND@543472": {
30607
+ "__@BRAND@543559": {
30608
30608
  "type": "object"
30609
30609
  }
30610
30610
  },
30611
30611
  "required": [
30612
- "__@BRAND@543472"
30612
+ "__@BRAND@543559"
30613
30613
  ]
30614
30614
  },
30615
30615
  "pattern": {
30616
30616
  "type": "object",
30617
30617
  "properties": {
30618
- "__@BRAND@543472": {
30618
+ "__@BRAND@543559": {
30619
30619
  "type": "object"
30620
30620
  }
30621
30621
  },
30622
30622
  "required": [
30623
- "__@BRAND@543472"
30623
+ "__@BRAND@543559"
30624
30624
  ]
30625
30625
  },
30626
30626
  "default": {
@@ -30931,12 +30931,12 @@
30931
30931
  {
30932
30932
  "type": "object",
30933
30933
  "properties": {
30934
- "__@BRAND@543472": {
30934
+ "__@BRAND@543559": {
30935
30935
  "type": "object"
30936
30936
  }
30937
30937
  },
30938
30938
  "required": [
30939
- "__@BRAND@543472"
30939
+ "__@BRAND@543559"
30940
30940
  ]
30941
30941
  },
30942
30942
  {
@@ -30944,12 +30944,12 @@
30944
30944
  "value": {
30945
30945
  "type": "object",
30946
30946
  "properties": {
30947
- "__@BRAND@543472": {
30947
+ "__@BRAND@543559": {
30948
30948
  "type": "object"
30949
30949
  }
30950
30950
  },
30951
30951
  "required": [
30952
- "__@BRAND@543472"
30952
+ "__@BRAND@543559"
30953
30953
  ]
30954
30954
  },
30955
30955
  "disabled": {
@@ -31018,34 +31018,34 @@
31018
31018
  "minLength": {
31019
31019
  "type": "object",
31020
31020
  "properties": {
31021
- "__@BRAND@543472": {
31021
+ "__@BRAND@543559": {
31022
31022
  "type": "object"
31023
31023
  }
31024
31024
  },
31025
31025
  "required": [
31026
- "__@BRAND@543472"
31026
+ "__@BRAND@543559"
31027
31027
  ]
31028
31028
  },
31029
31029
  "maxLength": {
31030
31030
  "type": "object",
31031
31031
  "properties": {
31032
- "__@BRAND@543472": {
31032
+ "__@BRAND@543559": {
31033
31033
  "type": "object"
31034
31034
  }
31035
31035
  },
31036
31036
  "required": [
31037
- "__@BRAND@543472"
31037
+ "__@BRAND@543559"
31038
31038
  ]
31039
31039
  },
31040
31040
  "pattern": {
31041
31041
  "type": "object",
31042
31042
  "properties": {
31043
- "__@BRAND@543472": {
31043
+ "__@BRAND@543559": {
31044
31044
  "type": "object"
31045
31045
  }
31046
31046
  },
31047
31047
  "required": [
31048
- "__@BRAND@543472"
31048
+ "__@BRAND@543559"
31049
31049
  ]
31050
31050
  },
31051
31051
  "default": {
@@ -31203,34 +31203,34 @@
31203
31203
  "minLength": {
31204
31204
  "type": "object",
31205
31205
  "properties": {
31206
- "__@BRAND@543472": {
31206
+ "__@BRAND@543559": {
31207
31207
  "type": "object"
31208
31208
  }
31209
31209
  },
31210
31210
  "required": [
31211
- "__@BRAND@543472"
31211
+ "__@BRAND@543559"
31212
31212
  ]
31213
31213
  },
31214
31214
  "maxLength": {
31215
31215
  "type": "object",
31216
31216
  "properties": {
31217
- "__@BRAND@543472": {
31217
+ "__@BRAND@543559": {
31218
31218
  "type": "object"
31219
31219
  }
31220
31220
  },
31221
31221
  "required": [
31222
- "__@BRAND@543472"
31222
+ "__@BRAND@543559"
31223
31223
  ]
31224
31224
  },
31225
31225
  "pattern": {
31226
31226
  "type": "object",
31227
31227
  "properties": {
31228
- "__@BRAND@543472": {
31228
+ "__@BRAND@543559": {
31229
31229
  "type": "object"
31230
31230
  }
31231
31231
  },
31232
31232
  "required": [
31233
- "__@BRAND@543472"
31233
+ "__@BRAND@543559"
31234
31234
  ]
31235
31235
  },
31236
31236
  "default": {
@@ -31319,12 +31319,12 @@
31319
31319
  {
31320
31320
  "type": "object",
31321
31321
  "properties": {
31322
- "__@BRAND@543472": {
31322
+ "__@BRAND@543559": {
31323
31323
  "type": "object"
31324
31324
  }
31325
31325
  },
31326
31326
  "required": [
31327
- "__@BRAND@543472"
31327
+ "__@BRAND@543559"
31328
31328
  ]
31329
31329
  },
31330
31330
  {
@@ -31332,12 +31332,12 @@
31332
31332
  "value": {
31333
31333
  "type": "object",
31334
31334
  "properties": {
31335
- "__@BRAND@543472": {
31335
+ "__@BRAND@543559": {
31336
31336
  "type": "object"
31337
31337
  }
31338
31338
  },
31339
31339
  "required": [
31340
- "__@BRAND@543472"
31340
+ "__@BRAND@543559"
31341
31341
  ]
31342
31342
  },
31343
31343
  "disabled": {
@@ -31523,12 +31523,12 @@
31523
31523
  "items": {
31524
31524
  "type": "object",
31525
31525
  "properties": {
31526
- "__@BRAND@543472": {
31526
+ "__@BRAND@543559": {
31527
31527
  "type": "object"
31528
31528
  }
31529
31529
  },
31530
31530
  "required": [
31531
- "__@BRAND@543472"
31531
+ "__@BRAND@543559"
31532
31532
  ]
31533
31533
  },
31534
31534
  "type": "array"
@@ -31537,12 +31537,12 @@
31537
31537
  "items": {
31538
31538
  "type": "object",
31539
31539
  "properties": {
31540
- "__@BRAND@543472": {
31540
+ "__@BRAND@543559": {
31541
31541
  "type": "object"
31542
31542
  }
31543
31543
  },
31544
31544
  "required": [
31545
- "__@BRAND@543472"
31545
+ "__@BRAND@543559"
31546
31546
  ]
31547
31547
  },
31548
31548
  "type": "array"
@@ -31576,34 +31576,34 @@
31576
31576
  "minLength": {
31577
31577
  "type": "object",
31578
31578
  "properties": {
31579
- "__@BRAND@543472": {
31579
+ "__@BRAND@543559": {
31580
31580
  "type": "object"
31581
31581
  }
31582
31582
  },
31583
31583
  "required": [
31584
- "__@BRAND@543472"
31584
+ "__@BRAND@543559"
31585
31585
  ]
31586
31586
  },
31587
31587
  "maxLength": {
31588
31588
  "type": "object",
31589
31589
  "properties": {
31590
- "__@BRAND@543472": {
31590
+ "__@BRAND@543559": {
31591
31591
  "type": "object"
31592
31592
  }
31593
31593
  },
31594
31594
  "required": [
31595
- "__@BRAND@543472"
31595
+ "__@BRAND@543559"
31596
31596
  ]
31597
31597
  },
31598
31598
  "pattern": {
31599
31599
  "type": "object",
31600
31600
  "properties": {
31601
- "__@BRAND@543472": {
31601
+ "__@BRAND@543559": {
31602
31602
  "type": "object"
31603
31603
  }
31604
31604
  },
31605
31605
  "required": [
31606
- "__@BRAND@543472"
31606
+ "__@BRAND@543559"
31607
31607
  ]
31608
31608
  },
31609
31609
  "default": {
@@ -31737,12 +31737,12 @@
31737
31737
  "value": {
31738
31738
  "type": "object",
31739
31739
  "properties": {
31740
- "__@BRAND@543472": {
31740
+ "__@BRAND@543559": {
31741
31741
  "type": "object"
31742
31742
  }
31743
31743
  },
31744
31744
  "required": [
31745
- "__@BRAND@543472"
31745
+ "__@BRAND@543559"
31746
31746
  ]
31747
31747
  },
31748
31748
  "disabled": {
@@ -39050,10 +39050,10 @@
39050
39050
  "type": "string",
39051
39051
  "enum": [
39052
39052
  "system",
39053
+ "secret",
39053
39054
  "encrypted",
39054
39055
  "plain",
39055
- "sensitive",
39056
- "secret"
39056
+ "sensitive"
39057
39057
  ]
39058
39058
  },
39059
39059
  "sunsetSecretId": {
@@ -40057,17 +40057,17 @@
40057
40057
  "github-limited"
40058
40058
  ]
40059
40059
  },
40060
- "repo": {
40061
- "type": "string"
40062
- },
40063
- "repoId": {
40060
+ "updatedAt": {
40064
40061
  "type": "number"
40065
40062
  },
40066
40063
  "createdAt": {
40067
40064
  "type": "number"
40068
40065
  },
40069
- "updatedAt": {
40070
- "type": "number"
40066
+ "repo": {
40067
+ "type": "string"
40068
+ },
40069
+ "sourceless": {
40070
+ "type": "boolean"
40071
40071
  },
40072
40072
  "org": {
40073
40073
  "type": "string"
@@ -40076,6 +40076,9 @@
40076
40076
  "type": "number",
40077
40077
  "description": "A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes."
40078
40078
  },
40079
+ "repoId": {
40080
+ "type": "number"
40081
+ },
40079
40082
  "deployHooks": {
40080
40083
  "items": {
40081
40084
  "properties": {
@@ -40108,9 +40111,6 @@
40108
40111
  "gitCredentialId": {
40109
40112
  "type": "string"
40110
40113
  },
40111
- "sourceless": {
40112
- "type": "boolean"
40113
- },
40114
40114
  "productionBranch": {
40115
40115
  "type": "string"
40116
40116
  }
@@ -40501,9 +40501,6 @@
40501
40501
  },
40502
40502
  "resourceConfig": {
40503
40503
  "properties": {
40504
- "elasticConcurrencyEnabled": {
40505
- "type": "boolean"
40506
- },
40507
40504
  "fluid": {
40508
40505
  "type": "boolean"
40509
40506
  },
@@ -40527,6 +40524,9 @@
40527
40524
  "functionZeroConfigFailover": {
40528
40525
  "type": "boolean"
40529
40526
  },
40527
+ "elasticConcurrencyEnabled": {
40528
+ "type": "boolean"
40529
+ },
40530
40530
  "buildMachineType": {
40531
40531
  "type": "string",
40532
40532
  "enum": [
@@ -40627,9 +40627,6 @@
40627
40627
  },
40628
40628
  "defaultResourceConfig": {
40629
40629
  "properties": {
40630
- "elasticConcurrencyEnabled": {
40631
- "type": "boolean"
40632
- },
40633
40630
  "fluid": {
40634
40631
  "type": "boolean"
40635
40632
  },
@@ -40653,6 +40650,9 @@
40653
40650
  "functionZeroConfigFailover": {
40654
40651
  "type": "boolean"
40655
40652
  },
40653
+ "elasticConcurrencyEnabled": {
40654
+ "type": "boolean"
40655
+ },
40656
40656
  "buildMachineType": {
40657
40657
  "type": "string",
40658
40658
  "enum": [
@@ -40697,8 +40697,8 @@
40697
40697
  "deploymentType": {
40698
40698
  "type": "string",
40699
40699
  "enum": [
40700
- "preview",
40701
40700
  "all",
40701
+ "preview",
40702
40702
  "prod_deployment_urls_and_all_previews",
40703
40703
  "all_except_custom_domains"
40704
40704
  ]
@@ -42439,11 +42439,11 @@
42439
42439
  "deploymentType": {
42440
42440
  "type": "string",
42441
42441
  "enum": [
42442
- "preview",
42443
- "production",
42444
42442
  "all",
42443
+ "preview",
42445
42444
  "prod_deployment_urls_and_all_previews",
42446
- "all_except_custom_domains"
42445
+ "all_except_custom_domains",
42446
+ "production"
42447
42447
  ]
42448
42448
  },
42449
42449
  "addresses": {
@@ -42483,11 +42483,11 @@
42483
42483
  "deploymentType": {
42484
42484
  "type": "string",
42485
42485
  "enum": [
42486
- "preview",
42487
- "production",
42488
42486
  "all",
42487
+ "preview",
42489
42488
  "prod_deployment_urls_and_all_previews",
42490
- "all_except_custom_domains"
42489
+ "all_except_custom_domains",
42490
+ "production"
42491
42491
  ]
42492
42492
  }
42493
42493
  },
@@ -48682,10 +48682,10 @@
48682
48682
  "type": "string",
48683
48683
  "enum": [
48684
48684
  "system",
48685
+ "secret",
48685
48686
  "encrypted",
48686
48687
  "plain",
48687
- "sensitive",
48688
- "secret"
48688
+ "sensitive"
48689
48689
  ]
48690
48690
  },
48691
48691
  "sunsetSecretId": {
@@ -49689,17 +49689,17 @@
49689
49689
  "github-limited"
49690
49690
  ]
49691
49691
  },
49692
- "repo": {
49693
- "type": "string"
49694
- },
49695
- "repoId": {
49692
+ "updatedAt": {
49696
49693
  "type": "number"
49697
49694
  },
49698
49695
  "createdAt": {
49699
49696
  "type": "number"
49700
49697
  },
49701
- "updatedAt": {
49702
- "type": "number"
49698
+ "repo": {
49699
+ "type": "string"
49700
+ },
49701
+ "sourceless": {
49702
+ "type": "boolean"
49703
49703
  },
49704
49704
  "org": {
49705
49705
  "type": "string"
@@ -49708,6 +49708,9 @@
49708
49708
  "type": "number",
49709
49709
  "description": "A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes."
49710
49710
  },
49711
+ "repoId": {
49712
+ "type": "number"
49713
+ },
49711
49714
  "deployHooks": {
49712
49715
  "items": {
49713
49716
  "properties": {
@@ -49740,9 +49743,6 @@
49740
49743
  "gitCredentialId": {
49741
49744
  "type": "string"
49742
49745
  },
49743
- "sourceless": {
49744
- "type": "boolean"
49745
- },
49746
49746
  "productionBranch": {
49747
49747
  "type": "string"
49748
49748
  }
@@ -50133,9 +50133,6 @@
50133
50133
  },
50134
50134
  "resourceConfig": {
50135
50135
  "properties": {
50136
- "elasticConcurrencyEnabled": {
50137
- "type": "boolean"
50138
- },
50139
50136
  "fluid": {
50140
50137
  "type": "boolean"
50141
50138
  },
@@ -50159,6 +50156,9 @@
50159
50156
  "functionZeroConfigFailover": {
50160
50157
  "type": "boolean"
50161
50158
  },
50159
+ "elasticConcurrencyEnabled": {
50160
+ "type": "boolean"
50161
+ },
50162
50162
  "buildMachineType": {
50163
50163
  "type": "string",
50164
50164
  "enum": [
@@ -50259,9 +50259,6 @@
50259
50259
  },
50260
50260
  "defaultResourceConfig": {
50261
50261
  "properties": {
50262
- "elasticConcurrencyEnabled": {
50263
- "type": "boolean"
50264
- },
50265
50262
  "fluid": {
50266
50263
  "type": "boolean"
50267
50264
  },
@@ -50285,6 +50282,9 @@
50285
50282
  "functionZeroConfigFailover": {
50286
50283
  "type": "boolean"
50287
50284
  },
50285
+ "elasticConcurrencyEnabled": {
50286
+ "type": "boolean"
50287
+ },
50288
50288
  "buildMachineType": {
50289
50289
  "type": "string",
50290
50290
  "enum": [
@@ -50329,8 +50329,8 @@
50329
50329
  "deploymentType": {
50330
50330
  "type": "string",
50331
50331
  "enum": [
50332
- "preview",
50333
50332
  "all",
50333
+ "preview",
50334
50334
  "prod_deployment_urls_and_all_previews",
50335
50335
  "all_except_custom_domains"
50336
50336
  ]
@@ -52071,11 +52071,11 @@
52071
52071
  "deploymentType": {
52072
52072
  "type": "string",
52073
52073
  "enum": [
52074
- "preview",
52075
- "production",
52076
52074
  "all",
52075
+ "preview",
52077
52076
  "prod_deployment_urls_and_all_previews",
52078
- "all_except_custom_domains"
52077
+ "all_except_custom_domains",
52078
+ "production"
52079
52079
  ]
52080
52080
  },
52081
52081
  "addresses": {
@@ -52115,11 +52115,11 @@
52115
52115
  "deploymentType": {
52116
52116
  "type": "string",
52117
52117
  "enum": [
52118
- "preview",
52119
- "production",
52120
52118
  "all",
52119
+ "preview",
52121
52120
  "prod_deployment_urls_and_all_previews",
52122
- "all_except_custom_domains"
52121
+ "all_except_custom_domains",
52122
+ "production"
52123
52123
  ]
52124
52124
  }
52125
52125
  },
@@ -62360,6 +62360,148 @@
62360
62360
  }
62361
62361
  }
62362
62362
  },
62363
+ "/v1/projects/{idOrName}/client-cert": {
62364
+ "post": {
62365
+ "description": "Upload or update a client certificate for mTLS authentication to external origins. The certificate is uploaded to S3 in plaintext, while the private key is encrypted. A hash reference is stored in the project document. The certificate will be available in the deployment runtime for establishing mTLS connections.",
62366
+ "operationId": "uploadProjectClientCert",
62367
+ "security": [
62368
+ {
62369
+ "bearerToken": []
62370
+ }
62371
+ ],
62372
+ "summary": "Upload client certificate for egress mTLS",
62373
+ "tags": [
62374
+ "projects"
62375
+ ],
62376
+ "responses": {
62377
+ "200": {
62378
+ "description": "Client certificate uploaded successfully",
62379
+ "content": {
62380
+ "application/json": {
62381
+ "schema": {
62382
+ "properties": {
62383
+ "origin": {
62384
+ "type": "string"
62385
+ },
62386
+ "certId": {
62387
+ "type": "string"
62388
+ }
62389
+ },
62390
+ "required": [
62391
+ "origin",
62392
+ "certId"
62393
+ ],
62394
+ "type": "object"
62395
+ }
62396
+ }
62397
+ }
62398
+ },
62399
+ "400": {
62400
+ "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
62401
+ "content": {
62402
+ "application/json": {
62403
+ "schema": {
62404
+ "$ref": "#/components/schemas/VercelBadRequestError"
62405
+ }
62406
+ }
62407
+ }
62408
+ },
62409
+ "401": {
62410
+ "description": "The request is not authorized.",
62411
+ "content": {
62412
+ "application/json": {
62413
+ "schema": {
62414
+ "$ref": "#/components/schemas/VercelForbiddenError"
62415
+ }
62416
+ }
62417
+ }
62418
+ },
62419
+ "402": {
62420
+ "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated"
62421
+ },
62422
+ "403": {
62423
+ "description": "You do not have permission to access this resource."
62424
+ },
62425
+ "409": {
62426
+ "description": "The project is being transferred and uploading certificates is not possible"
62427
+ },
62428
+ "500": {
62429
+ "description": "Failed to upload the client certificate\nFailed to encrypt the private key"
62430
+ }
62431
+ },
62432
+ "parameters": [
62433
+ {
62434
+ "name": "idOrName",
62435
+ "description": "The unique project identifier or the project name",
62436
+ "in": "path",
62437
+ "required": true,
62438
+ "schema": {
62439
+ "description": "The unique project identifier or the project name",
62440
+ "type": "string",
62441
+ "example": "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA"
62442
+ }
62443
+ },
62444
+ {
62445
+ "description": "The Team identifier to perform the request on behalf of.",
62446
+ "in": "query",
62447
+ "name": "teamId",
62448
+ "schema": {
62449
+ "type": "string",
62450
+ "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
62451
+ }
62452
+ },
62453
+ {
62454
+ "description": "The Team slug to perform the request on behalf of.",
62455
+ "in": "query",
62456
+ "name": "slug",
62457
+ "schema": {
62458
+ "type": "string",
62459
+ "example": "my-team-url-slug"
62460
+ }
62461
+ }
62462
+ ],
62463
+ "requestBody": {
62464
+ "content": {
62465
+ "application/json": {
62466
+ "schema": {
62467
+ "type": "object",
62468
+ "required": [
62469
+ "cert",
62470
+ "key"
62471
+ ],
62472
+ "additionalProperties": false,
62473
+ "properties": {
62474
+ "cert": {
62475
+ "description": "The client certificate in PEM format",
62476
+ "type": "string",
62477
+ "example": "-----BEGIN CERTIFICATE-----\\\\n...\\\\n-----END CERTIFICATE-----"
62478
+ },
62479
+ "key": {
62480
+ "description": "The private key in PEM format",
62481
+ "type": "string",
62482
+ "example": "-----BEGIN PRIVATE KEY-----\\\\n...\\\\n-----END PRIVATE KEY-----"
62483
+ },
62484
+ "ca": {
62485
+ "description": "The certificate authority in PEM format",
62486
+ "type": "string",
62487
+ "example": "-----BEGIN CERTIFICATE-----\\\\n...\\\\n-----END CERTIFICATE-----"
62488
+ },
62489
+ "origin": {
62490
+ "description": "The origin this certificate should be used for. If not specified, the certificate will be project-wide.",
62491
+ "type": "string",
62492
+ "example": "https://api.example.com"
62493
+ },
62494
+ "skipValidation": {
62495
+ "type": "boolean",
62496
+ "description": "Skip validation of the certificate"
62497
+ }
62498
+ }
62499
+ }
62500
+ }
62501
+ }
62502
+ }
62503
+ }
62504
+ },
62363
62505
  "/v1/projects/{idOrName}/rolling-release/billing": {
62364
62506
  "get": {
62365
62507
  "description": "Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.",
@@ -69658,34 +69800,34 @@
69658
69800
  "maxLength": {
69659
69801
  "type": "object",
69660
69802
  "properties": {
69661
- "__@BRAND@8486": {
69803
+ "__@BRAND@8487": {
69662
69804
  "type": "object"
69663
69805
  }
69664
69806
  },
69665
69807
  "required": [
69666
- "__@BRAND@8486"
69808
+ "__@BRAND@8487"
69667
69809
  ]
69668
69810
  },
69669
69811
  "minLength": {
69670
69812
  "type": "object",
69671
69813
  "properties": {
69672
- "__@BRAND@8486": {
69814
+ "__@BRAND@8487": {
69673
69815
  "type": "object"
69674
69816
  }
69675
69817
  },
69676
69818
  "required": [
69677
- "__@BRAND@8486"
69819
+ "__@BRAND@8487"
69678
69820
  ]
69679
69821
  },
69680
69822
  "pattern": {
69681
69823
  "type": "object",
69682
69824
  "properties": {
69683
- "__@BRAND@8486": {
69825
+ "__@BRAND@8487": {
69684
69826
  "type": "object"
69685
69827
  }
69686
69828
  },
69687
69829
  "required": [
69688
- "__@BRAND@8486"
69830
+ "__@BRAND@8487"
69689
69831
  ]
69690
69832
  },
69691
69833
  "description": {
@@ -70368,34 +70510,34 @@
70368
70510
  "maxLength": {
70369
70511
  "type": "object",
70370
70512
  "properties": {
70371
- "__@BRAND@8486": {
70513
+ "__@BRAND@8487": {
70372
70514
  "type": "object"
70373
70515
  }
70374
70516
  },
70375
70517
  "required": [
70376
- "__@BRAND@8486"
70518
+ "__@BRAND@8487"
70377
70519
  ]
70378
70520
  },
70379
70521
  "minLength": {
70380
70522
  "type": "object",
70381
70523
  "properties": {
70382
- "__@BRAND@8486": {
70524
+ "__@BRAND@8487": {
70383
70525
  "type": "object"
70384
70526
  }
70385
70527
  },
70386
70528
  "required": [
70387
- "__@BRAND@8486"
70529
+ "__@BRAND@8487"
70388
70530
  ]
70389
70531
  },
70390
70532
  "pattern": {
70391
70533
  "type": "object",
70392
70534
  "properties": {
70393
- "__@BRAND@8486": {
70535
+ "__@BRAND@8487": {
70394
70536
  "type": "object"
70395
70537
  }
70396
70538
  },
70397
70539
  "required": [
70398
- "__@BRAND@8486"
70540
+ "__@BRAND@8487"
70399
70541
  ]
70400
70542
  },
70401
70543
  "description": {
@@ -70544,34 +70686,34 @@
70544
70686
  "minLength": {
70545
70687
  "type": "object",
70546
70688
  "properties": {
70547
- "__@BRAND@8486": {
70689
+ "__@BRAND@8487": {
70548
70690
  "type": "object"
70549
70691
  }
70550
70692
  },
70551
70693
  "required": [
70552
- "__@BRAND@8486"
70694
+ "__@BRAND@8487"
70553
70695
  ]
70554
70696
  },
70555
70697
  "maxLength": {
70556
70698
  "type": "object",
70557
70699
  "properties": {
70558
- "__@BRAND@8486": {
70700
+ "__@BRAND@8487": {
70559
70701
  "type": "object"
70560
70702
  }
70561
70703
  },
70562
70704
  "required": [
70563
- "__@BRAND@8486"
70705
+ "__@BRAND@8487"
70564
70706
  ]
70565
70707
  },
70566
70708
  "pattern": {
70567
70709
  "type": "object",
70568
70710
  "properties": {
70569
- "__@BRAND@8486": {
70711
+ "__@BRAND@8487": {
70570
70712
  "type": "object"
70571
70713
  }
70572
70714
  },
70573
70715
  "required": [
70574
- "__@BRAND@8486"
70716
+ "__@BRAND@8487"
70575
70717
  ]
70576
70718
  },
70577
70719
  "default": {
@@ -70888,12 +71030,12 @@
70888
71030
  {
70889
71031
  "type": "object",
70890
71032
  "properties": {
70891
- "__@BRAND@8486": {
71033
+ "__@BRAND@8487": {
70892
71034
  "type": "object"
70893
71035
  }
70894
71036
  },
70895
71037
  "required": [
70896
- "__@BRAND@8486"
71038
+ "__@BRAND@8487"
70897
71039
  ]
70898
71040
  },
70899
71041
  {
@@ -70901,12 +71043,12 @@
70901
71043
  "value": {
70902
71044
  "type": "object",
70903
71045
  "properties": {
70904
- "__@BRAND@8486": {
71046
+ "__@BRAND@8487": {
70905
71047
  "type": "object"
70906
71048
  }
70907
71049
  },
70908
71050
  "required": [
70909
- "__@BRAND@8486"
71051
+ "__@BRAND@8487"
70910
71052
  ]
70911
71053
  },
70912
71054
  "disabled": {
@@ -70978,34 +71120,34 @@
70978
71120
  "maxLength": {
70979
71121
  "type": "object",
70980
71122
  "properties": {
70981
- "__@BRAND@8486": {
71123
+ "__@BRAND@8487": {
70982
71124
  "type": "object"
70983
71125
  }
70984
71126
  },
70985
71127
  "required": [
70986
- "__@BRAND@8486"
71128
+ "__@BRAND@8487"
70987
71129
  ]
70988
71130
  },
70989
71131
  "minLength": {
70990
71132
  "type": "object",
70991
71133
  "properties": {
70992
- "__@BRAND@8486": {
71134
+ "__@BRAND@8487": {
70993
71135
  "type": "object"
70994
71136
  }
70995
71137
  },
70996
71138
  "required": [
70997
- "__@BRAND@8486"
71139
+ "__@BRAND@8487"
70998
71140
  ]
70999
71141
  },
71000
71142
  "pattern": {
71001
71143
  "type": "object",
71002
71144
  "properties": {
71003
- "__@BRAND@8486": {
71145
+ "__@BRAND@8487": {
71004
71146
  "type": "object"
71005
71147
  }
71006
71148
  },
71007
71149
  "required": [
71008
- "__@BRAND@8486"
71150
+ "__@BRAND@8487"
71009
71151
  ]
71010
71152
  },
71011
71153
  "description": {
@@ -71155,34 +71297,34 @@
71155
71297
  "maxLength": {
71156
71298
  "type": "object",
71157
71299
  "properties": {
71158
- "__@BRAND@8486": {
71300
+ "__@BRAND@8487": {
71159
71301
  "type": "object"
71160
71302
  }
71161
71303
  },
71162
71304
  "required": [
71163
- "__@BRAND@8486"
71305
+ "__@BRAND@8487"
71164
71306
  ]
71165
71307
  },
71166
71308
  "minLength": {
71167
71309
  "type": "object",
71168
71310
  "properties": {
71169
- "__@BRAND@8486": {
71311
+ "__@BRAND@8487": {
71170
71312
  "type": "object"
71171
71313
  }
71172
71314
  },
71173
71315
  "required": [
71174
- "__@BRAND@8486"
71316
+ "__@BRAND@8487"
71175
71317
  ]
71176
71318
  },
71177
71319
  "pattern": {
71178
71320
  "type": "object",
71179
71321
  "properties": {
71180
- "__@BRAND@8486": {
71322
+ "__@BRAND@8487": {
71181
71323
  "type": "object"
71182
71324
  }
71183
71325
  },
71184
71326
  "required": [
71185
- "__@BRAND@8486"
71327
+ "__@BRAND@8487"
71186
71328
  ]
71187
71329
  },
71188
71330
  "description": {
@@ -71313,12 +71455,12 @@
71313
71455
  "value": {
71314
71456
  "type": "object",
71315
71457
  "properties": {
71316
- "__@BRAND@8486": {
71458
+ "__@BRAND@8487": {
71317
71459
  "type": "object"
71318
71460
  }
71319
71461
  },
71320
71462
  "required": [
71321
- "__@BRAND@8486"
71463
+ "__@BRAND@8487"
71322
71464
  ]
71323
71465
  },
71324
71466
  "disabled": {
@@ -71567,12 +71709,12 @@
71567
71709
  "value": {
71568
71710
  "type": "object",
71569
71711
  "properties": {
71570
- "__@BRAND@8486": {
71712
+ "__@BRAND@8487": {
71571
71713
  "type": "object"
71572
71714
  }
71573
71715
  },
71574
71716
  "required": [
71575
- "__@BRAND@8486"
71717
+ "__@BRAND@8487"
71576
71718
  ]
71577
71719
  },
71578
71720
  "disabled": {
@@ -80789,6 +80931,24 @@
80789
80931
  "type": "object",
80790
80932
  "description": "The payload of the event, if requested."
80791
80933
  },
80934
+ {
80935
+ "properties": {
80936
+ "projectId": {
80937
+ "type": "string"
80938
+ },
80939
+ "projectName": {
80940
+ "type": "string"
80941
+ },
80942
+ "target": {
80943
+ "items": {
80944
+ "type": "string"
80945
+ },
80946
+ "type": "array"
80947
+ }
80948
+ },
80949
+ "type": "object",
80950
+ "description": "The payload of the event, if requested."
80951
+ },
80792
80952
  {
80793
80953
  "properties": {
80794
80954
  "reason": {