@vercel/sdk 1.8.5 → 1.8.6

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 (191) hide show
  1. package/README.md +11 -3
  2. package/bin/mcp-server.js +1555 -654
  3. package/bin/mcp-server.js.map +38 -26
  4. package/docs/sdks/marketplace/README.md +310 -78
  5. package/docs/sdks/rollingrelease/README.md +80 -0
  6. package/esm/__tests__/marketplace.test.js +53 -0
  7. package/esm/__tests__/marketplace.test.js.map +1 -1
  8. package/esm/__tests__/rollingrelease.test.js +23 -0
  9. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  10. package/esm/funcs/domainsCheckDomainStatus.js +2 -2
  11. package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
  12. package/esm/funcs/marketplaceDeleteResource.d.ts +20 -0
  13. package/esm/funcs/marketplaceDeleteResource.d.ts.map +1 -0
  14. package/esm/funcs/marketplaceDeleteResource.js +91 -0
  15. package/esm/funcs/marketplaceDeleteResource.js.map +1 -0
  16. package/esm/funcs/marketplaceGetResource.d.ts +20 -0
  17. package/esm/funcs/marketplaceGetResource.d.ts.map +1 -0
  18. package/esm/funcs/marketplaceGetResource.js +90 -0
  19. package/esm/funcs/marketplaceGetResource.js.map +1 -0
  20. package/esm/funcs/marketplaceGetResources.d.ts +20 -0
  21. package/esm/funcs/marketplaceGetResources.d.ts.map +1 -0
  22. package/esm/funcs/marketplaceGetResources.js +86 -0
  23. package/esm/funcs/marketplaceGetResources.js.map +1 -0
  24. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts +20 -0
  25. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
  26. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js +94 -0
  27. package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
  28. package/esm/lib/config.d.ts +3 -3
  29. package/esm/lib/config.js +3 -3
  30. package/esm/mcp-server/mcp-server.js +1 -1
  31. package/esm/mcp-server/server.d.ts.map +1 -1
  32. package/esm/mcp-server/server.js +10 -2
  33. package/esm/mcp-server/server.js.map +1 -1
  34. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts +7 -0
  35. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts.map +1 -0
  36. package/esm/mcp-server/tools/marketplaceDeleteResource.js +27 -0
  37. package/esm/mcp-server/tools/marketplaceDeleteResource.js.map +1 -0
  38. package/esm/mcp-server/tools/marketplaceGetResource.d.ts +7 -0
  39. package/esm/mcp-server/tools/marketplaceGetResource.d.ts.map +1 -0
  40. package/esm/mcp-server/tools/marketplaceGetResource.js +28 -0
  41. package/esm/mcp-server/tools/marketplaceGetResource.js.map +1 -0
  42. package/esm/mcp-server/tools/marketplaceGetResources.d.ts +7 -0
  43. package/esm/mcp-server/tools/marketplaceGetResources.d.ts.map +1 -0
  44. package/esm/mcp-server/tools/marketplaceGetResources.js +28 -0
  45. package/esm/mcp-server/tools/marketplaceGetResources.js.map +1 -0
  46. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts +7 -0
  47. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
  48. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js +28 -0
  49. package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
  50. package/esm/models/canceldeploymentop.d.ts +19 -17
  51. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  52. package/esm/models/canceldeploymentop.js +19 -17
  53. package/esm/models/canceldeploymentop.js.map +1 -1
  54. package/esm/models/createdeploymentop.d.ts +51 -106
  55. package/esm/models/createdeploymentop.d.ts.map +1 -1
  56. package/esm/models/createdeploymentop.js +55 -110
  57. package/esm/models/createdeploymentop.js.map +1 -1
  58. package/esm/models/createprojectop.d.ts +2 -0
  59. package/esm/models/createprojectop.d.ts.map +1 -1
  60. package/esm/models/createprojectop.js +2 -0
  61. package/esm/models/createprojectop.js.map +1 -1
  62. package/esm/models/createwebhookop.d.ts +6 -0
  63. package/esm/models/createwebhookop.d.ts.map +1 -1
  64. package/esm/models/createwebhookop.js +2 -0
  65. package/esm/models/createwebhookop.js.map +1 -1
  66. package/esm/models/deleteresourceop.d.ts +31 -0
  67. package/esm/models/deleteresourceop.d.ts.map +1 -0
  68. package/esm/models/deleteresourceop.js +33 -0
  69. package/esm/models/deleteresourceop.js.map +1 -0
  70. package/esm/models/getdeploymentop.d.ts +2 -0
  71. package/esm/models/getdeploymentop.d.ts.map +1 -1
  72. package/esm/models/getdeploymentop.js +2 -0
  73. package/esm/models/getdeploymentop.js.map +1 -1
  74. package/esm/models/getedgeconfigbackupop.d.ts +15 -15
  75. package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
  76. package/esm/models/getedgeconfigbackupop.js +15 -15
  77. package/esm/models/getedgeconfigbackupop.js.map +1 -1
  78. package/esm/models/getfirewallconfigop.d.ts +2 -0
  79. package/esm/models/getfirewallconfigop.d.ts.map +1 -1
  80. package/esm/models/getfirewallconfigop.js +2 -0
  81. package/esm/models/getfirewallconfigop.js.map +1 -1
  82. package/esm/models/getmemberop.d.ts +9 -0
  83. package/esm/models/getmemberop.d.ts.map +1 -1
  84. package/esm/models/getmemberop.js +3 -0
  85. package/esm/models/getmemberop.js.map +1 -1
  86. package/esm/models/getprojectsop.d.ts +2 -0
  87. package/esm/models/getprojectsop.d.ts.map +1 -1
  88. package/esm/models/getprojectsop.js +2 -0
  89. package/esm/models/getprojectsop.js.map +1 -1
  90. package/esm/models/getresourceop.d.ts +293 -0
  91. package/esm/models/getresourceop.d.ts.map +1 -0
  92. package/esm/models/getresourceop.js +250 -0
  93. package/esm/models/getresourceop.js.map +1 -0
  94. package/esm/models/getresourcesop.d.ts +310 -0
  95. package/esm/models/getresourcesop.d.ts.map +1 -0
  96. package/esm/models/getresourcesop.js +278 -0
  97. package/esm/models/getresourcesop.js.map +1 -0
  98. package/esm/models/getrollingreleasebillingstatusop.d.ts +284 -0
  99. package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -0
  100. package/esm/models/getrollingreleasebillingstatusop.js +267 -0
  101. package/esm/models/getrollingreleasebillingstatusop.js.map +1 -0
  102. package/esm/models/getwebhookop.d.ts +3 -0
  103. package/esm/models/getwebhookop.d.ts.map +1 -1
  104. package/esm/models/getwebhookop.js +1 -0
  105. package/esm/models/getwebhookop.js.map +1 -1
  106. package/esm/models/getwebhooksop.d.ts +6 -0
  107. package/esm/models/getwebhooksop.d.ts.map +1 -1
  108. package/esm/models/getwebhooksop.js +2 -0
  109. package/esm/models/getwebhooksop.js.map +1 -1
  110. package/esm/models/importresourceop.d.ts +15 -15
  111. package/esm/models/importresourceop.d.ts.map +1 -1
  112. package/esm/models/importresourceop.js +17 -15
  113. package/esm/models/importresourceop.js.map +1 -1
  114. package/esm/models/putfirewallconfigop.d.ts +4 -0
  115. package/esm/models/putfirewallconfigop.d.ts.map +1 -1
  116. package/esm/models/putfirewallconfigop.js +4 -0
  117. package/esm/models/putfirewallconfigop.js.map +1 -1
  118. package/esm/models/updatefirewallconfigop.d.ts +36 -4
  119. package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
  120. package/esm/models/updatefirewallconfigop.js +33 -0
  121. package/esm/models/updatefirewallconfigop.js.map +1 -1
  122. package/esm/models/updateintegrationdeploymentactionop.d.ts +2 -0
  123. package/esm/models/updateintegrationdeploymentactionop.d.ts.map +1 -1
  124. package/esm/models/updateintegrationdeploymentactionop.js +2 -0
  125. package/esm/models/updateintegrationdeploymentactionop.js.map +1 -1
  126. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  127. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  128. package/esm/models/updateprojectdatacacheop.js +2 -0
  129. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  130. package/esm/models/updateprojectop.d.ts +2 -0
  131. package/esm/models/updateprojectop.d.ts.map +1 -1
  132. package/esm/models/updateprojectop.js +2 -0
  133. package/esm/models/updateprojectop.js.map +1 -1
  134. package/esm/models/updateresourcesecretsop.d.ts +15 -15
  135. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  136. package/esm/models/updateresourcesecretsop.js +15 -17
  137. package/esm/models/updateresourcesecretsop.js.map +1 -1
  138. package/esm/models/userevent.d.ts +5 -0
  139. package/esm/models/userevent.d.ts.map +1 -1
  140. package/esm/models/userevent.js +2 -0
  141. package/esm/models/userevent.js.map +1 -1
  142. package/esm/sdk/marketplace.d.ts +31 -7
  143. package/esm/sdk/marketplace.d.ts.map +1 -1
  144. package/esm/sdk/marketplace.js +39 -9
  145. package/esm/sdk/marketplace.js.map +1 -1
  146. package/esm/sdk/rollingrelease.d.ts +8 -0
  147. package/esm/sdk/rollingrelease.d.ts.map +1 -1
  148. package/esm/sdk/rollingrelease.js +10 -0
  149. package/esm/sdk/rollingrelease.js.map +1 -1
  150. package/jsr.json +1 -1
  151. package/package.json +1 -1
  152. package/src/__tests__/marketplace.test.ts +62 -0
  153. package/src/__tests__/rollingrelease.test.ts +26 -0
  154. package/src/funcs/domainsCheckDomainStatus.ts +2 -2
  155. package/src/funcs/marketplaceDeleteResource.ts +205 -0
  156. package/src/funcs/marketplaceGetResource.ts +206 -0
  157. package/src/funcs/marketplaceGetResources.ts +202 -0
  158. package/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts +208 -0
  159. package/src/lib/config.ts +3 -3
  160. package/src/mcp-server/mcp-server.ts +1 -1
  161. package/src/mcp-server/server.ts +10 -2
  162. package/src/mcp-server/tools/marketplaceDeleteResource.ts +35 -0
  163. package/src/mcp-server/tools/marketplaceGetResource.ts +37 -0
  164. package/src/mcp-server/tools/marketplaceGetResources.ts +37 -0
  165. package/src/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.ts +40 -0
  166. package/src/models/canceldeploymentop.ts +32 -32
  167. package/src/models/createdeploymentop.ts +107 -220
  168. package/src/models/createprojectop.ts +4 -0
  169. package/src/models/createwebhookop.ts +2 -0
  170. package/src/models/deleteresourceop.ts +70 -0
  171. package/src/models/getdeploymentop.ts +4 -0
  172. package/src/models/getedgeconfigbackupop.ts +41 -24
  173. package/src/models/getfirewallconfigop.ts +4 -0
  174. package/src/models/getmemberop.ts +9 -0
  175. package/src/models/getprojectsop.ts +4 -0
  176. package/src/models/getresourceop.ts +545 -0
  177. package/src/models/getresourcesop.ts +604 -0
  178. package/src/models/getrollingreleasebillingstatusop.ts +614 -0
  179. package/src/models/getwebhookop.ts +1 -0
  180. package/src/models/getwebhooksop.ts +2 -0
  181. package/src/models/importresourceop.ts +27 -35
  182. package/src/models/putfirewallconfigop.ts +8 -0
  183. package/src/models/updatefirewallconfigop.ts +73 -0
  184. package/src/models/updateintegrationdeploymentactionop.ts +4 -0
  185. package/src/models/updateprojectdatacacheop.ts +4 -0
  186. package/src/models/updateprojectop.ts +4 -0
  187. package/src/models/updateresourcesecretsop.ts +49 -33
  188. package/src/models/userevent.ts +7 -0
  189. package/src/sdk/marketplace.ts +80 -17
  190. package/src/sdk/rollingrelease.ts +22 -0
  191. package/vercel-spec.json +1037 -352
package/vercel-spec.json CHANGED
@@ -8110,6 +8110,9 @@
8110
8110
  "owasp"
8111
8111
  ],
8112
8112
  "type": "object"
8113
+ },
8114
+ "botIdEnabled": {
8115
+ "type": "boolean"
8113
8116
  }
8114
8117
  },
8115
8118
  "type": "object"
@@ -9083,6 +9086,11 @@
9083
9086
  "statusText": {
9084
9087
  "type": "string"
9085
9088
  },
9089
+ "statusUrl": {
9090
+ "type": "string",
9091
+ "format": "uri",
9092
+ "pattern": "^https?://|^sso:"
9093
+ },
9086
9094
  "outcomes": {
9087
9095
  "type": "array",
9088
9096
  "items": {
@@ -11269,6 +11277,9 @@
11269
11277
  "applications": {
11270
11278
  "additionalProperties": {
11271
11279
  "properties": {
11280
+ "isDefaultApp": {
11281
+ "type": "boolean"
11282
+ },
11272
11283
  "productionHost": {
11273
11284
  "type": "string",
11274
11285
  "description": "This is the production alias, it will always show the most up to date of each application."
@@ -14475,6 +14486,9 @@
14475
14486
  "applications": {
14476
14487
  "additionalProperties": {
14477
14488
  "properties": {
14489
+ "isDefaultApp": {
14490
+ "type": "boolean"
14491
+ },
14478
14492
  "productionHost": {
14479
14493
  "type": "string",
14480
14494
  "description": "This is the production alias, it will always show the most up to date of each application."
@@ -15096,43 +15110,6 @@
15096
15110
  ],
15097
15111
  "type": "object"
15098
15112
  },
15099
- {
15100
- "properties": {
15101
- "org": {
15102
- "type": "string",
15103
- "example": "vercel"
15104
- },
15105
- "ref": {
15106
- "type": "string",
15107
- "example": "main"
15108
- },
15109
- "repo": {
15110
- "type": "string",
15111
- "example": "next.js"
15112
- },
15113
- "sha": {
15114
- "type": "string",
15115
- "example": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0"
15116
- },
15117
- "host": {
15118
- "type": "string"
15119
- },
15120
- "type": {
15121
- "enum": [
15122
- "github-custom-host"
15123
- ],
15124
- "type": "string"
15125
- }
15126
- },
15127
- "required": [
15128
- "type",
15129
- "ref",
15130
- "org",
15131
- "repo",
15132
- "host"
15133
- ],
15134
- "type": "object"
15135
- },
15136
15113
  {
15137
15114
  "properties": {
15138
15115
  "projectId": {
@@ -17547,6 +17524,9 @@
17547
17524
  "applications": {
17548
17525
  "additionalProperties": {
17549
17526
  "properties": {
17527
+ "isDefaultApp": {
17528
+ "type": "boolean"
17529
+ },
17550
17530
  "productionHost": {
17551
17531
  "type": "string",
17552
17532
  "description": "This is the production alias, it will always show the most up to date of each application."
@@ -18209,6 +18189,9 @@
18209
18189
  "403": {
18210
18190
  "description": "You do not have permission to access this resource."
18211
18191
  },
18192
+ "408": {
18193
+ "description": ""
18194
+ },
18212
18195
  "500": {
18213
18196
  "description": ""
18214
18197
  }
@@ -23715,7 +23698,8 @@
23715
23698
  "enum": [
23716
23699
  "ADMIN",
23717
23700
  "USER"
23718
- ]
23701
+ ],
23702
+ "description": "\"The `ADMIN` role, by default, is provided to users capable of installing integrations, while the `USER` role can be granted to Vercel users with the Vercel `Billing` or Vercel `Viewer` role, which are considered to be Read-Only roles.\""
23719
23703
  }
23720
23704
  },
23721
23705
  "required": [
@@ -23848,63 +23832,793 @@
23848
23832
  "schema": {
23849
23833
  "type": "object",
23850
23834
  "required": [
23851
- "event"
23835
+ "event"
23836
+ ],
23837
+ "properties": {
23838
+ "event": {
23839
+ "oneOf": [
23840
+ {
23841
+ "type": "object",
23842
+ "properties": {
23843
+ "type": {
23844
+ "type": "string",
23845
+ "enum": [
23846
+ "installation.updated"
23847
+ ]
23848
+ },
23849
+ "billingPlanId": {
23850
+ "type": "string",
23851
+ "description": "The installation-level billing plan ID"
23852
+ }
23853
+ },
23854
+ "required": [
23855
+ "type"
23856
+ ],
23857
+ "additionalProperties": false
23858
+ },
23859
+ {
23860
+ "type": "object",
23861
+ "properties": {
23862
+ "type": {
23863
+ "type": "string",
23864
+ "enum": [
23865
+ "resource.updated"
23866
+ ]
23867
+ },
23868
+ "productId": {
23869
+ "type": "string",
23870
+ "description": "Partner-provided product slug or id"
23871
+ },
23872
+ "resourceId": {
23873
+ "type": "string",
23874
+ "description": "Partner provided resource ID"
23875
+ }
23876
+ },
23877
+ "required": [
23878
+ "type",
23879
+ "productId",
23880
+ "resourceId"
23881
+ ],
23882
+ "additionalProperties": false
23883
+ }
23884
+ ]
23885
+ }
23886
+ },
23887
+ "additionalProperties": false
23888
+ }
23889
+ }
23890
+ },
23891
+ "required": true
23892
+ }
23893
+ }
23894
+ },
23895
+ "/v1/installations/{integrationConfigurationId}/resources": {
23896
+ "get": {
23897
+ "description": "Get all resources for a given integration configuration ID.",
23898
+ "operationId": "get-resources",
23899
+ "security": [
23900
+ {
23901
+ "bearerToken": []
23902
+ }
23903
+ ],
23904
+ "summary": "Get Resources",
23905
+ "tags": [
23906
+ "marketplace"
23907
+ ],
23908
+ "responses": {
23909
+ "200": {
23910
+ "description": "",
23911
+ "content": {
23912
+ "application/json": {
23913
+ "schema": {
23914
+ "properties": {
23915
+ "resources": {
23916
+ "items": {
23917
+ "properties": {
23918
+ "partnerId": {
23919
+ "type": "string",
23920
+ "description": "The ID provided by the partner for the given resource"
23921
+ },
23922
+ "internalId": {
23923
+ "type": "string",
23924
+ "description": "The ID assigned by Vercel for the given resource"
23925
+ },
23926
+ "name": {
23927
+ "type": "string",
23928
+ "description": "The name of the resource as it is recorded in Vercel"
23929
+ },
23930
+ "status": {
23931
+ "type": "string",
23932
+ "enum": [
23933
+ "ready",
23934
+ "pending",
23935
+ "suspended",
23936
+ "resumed",
23937
+ "uninstalled",
23938
+ "error"
23939
+ ],
23940
+ "description": "The current status of the resource"
23941
+ },
23942
+ "productId": {
23943
+ "type": "string",
23944
+ "description": "The ID of the product the resource is derived from"
23945
+ },
23946
+ "protocolSettings": {
23947
+ "properties": {
23948
+ "experimentation": {
23949
+ "properties": {
23950
+ "edgeConfigSyncingEnabled": {
23951
+ "type": "boolean"
23952
+ },
23953
+ "edgeConfigId": {
23954
+ "type": "string"
23955
+ },
23956
+ "edgeConfigTokenId": {
23957
+ "type": "string"
23958
+ }
23959
+ },
23960
+ "type": "object"
23961
+ }
23962
+ },
23963
+ "type": "object",
23964
+ "description": "Any settings provided for the resource to support its product's protocols"
23965
+ },
23966
+ "notification": {
23967
+ "properties": {
23968
+ "level": {
23969
+ "type": "string",
23970
+ "enum": [
23971
+ "error",
23972
+ "info",
23973
+ "warn"
23974
+ ]
23975
+ },
23976
+ "title": {
23977
+ "type": "string"
23978
+ },
23979
+ "message": {
23980
+ "type": "string"
23981
+ },
23982
+ "href": {
23983
+ "type": "string"
23984
+ }
23985
+ },
23986
+ "required": [
23987
+ "level",
23988
+ "title"
23989
+ ],
23990
+ "type": "object",
23991
+ "description": "The notification, if set, displayed to the user when viewing the resource in Vercel"
23992
+ },
23993
+ "billingPlanId": {
23994
+ "type": "string",
23995
+ "description": "The ID of the billing plan the resource is subscribed to, if applicable"
23996
+ },
23997
+ "metadata": {
23998
+ "additionalProperties": {
23999
+ "oneOf": [
24000
+ {
24001
+ "type": "string"
24002
+ },
24003
+ {
24004
+ "type": "number"
24005
+ },
24006
+ {
24007
+ "type": "boolean"
24008
+ },
24009
+ {
24010
+ "items": {
24011
+ "type": "string"
24012
+ },
24013
+ "type": "array",
24014
+ "description": "The configured metadata for the resource as defined by its product's Metadata Schema"
24015
+ },
24016
+ {
24017
+ "items": {
24018
+ "type": "number"
24019
+ },
24020
+ "type": "array",
24021
+ "description": "The configured metadata for the resource as defined by its product's Metadata Schema"
24022
+ }
24023
+ ]
24024
+ },
24025
+ "type": "object",
24026
+ "description": "The configured metadata for the resource as defined by its product's Metadata Schema"
24027
+ }
24028
+ },
24029
+ "required": [
24030
+ "partnerId",
24031
+ "internalId",
24032
+ "name",
24033
+ "productId"
24034
+ ],
24035
+ "type": "object"
24036
+ },
24037
+ "type": "array"
24038
+ }
24039
+ },
24040
+ "required": [
24041
+ "resources"
24042
+ ],
24043
+ "type": "object"
24044
+ }
24045
+ }
24046
+ }
24047
+ },
24048
+ "400": {
24049
+ "description": "One of the provided values in the request query is invalid.",
24050
+ "content": {
24051
+ "application/json": {
24052
+ "schema": {
24053
+ "$ref": "#/components/schemas/VercelBadRequestError"
24054
+ }
24055
+ }
24056
+ }
24057
+ },
24058
+ "401": {
24059
+ "description": "",
24060
+ "content": {
24061
+ "application/json": {
24062
+ "schema": {
24063
+ "$ref": "#/components/schemas/VercelForbiddenError"
24064
+ }
24065
+ }
24066
+ }
24067
+ },
24068
+ "403": {
24069
+ "description": "You do not have permission to access this resource."
24070
+ },
24071
+ "404": {
24072
+ "description": "",
24073
+ "content": {
24074
+ "application/json": {
24075
+ "schema": {
24076
+ "$ref": "#/components/schemas/VercelNotFoundError"
24077
+ }
24078
+ }
24079
+ }
24080
+ }
24081
+ },
24082
+ "parameters": [
24083
+ {
24084
+ "name": "integrationConfigurationId",
24085
+ "in": "path",
24086
+ "required": true,
24087
+ "schema": {
24088
+ "type": "string"
24089
+ }
24090
+ }
24091
+ ]
24092
+ }
24093
+ },
24094
+ "/v1/installations/{integrationConfigurationId}/resources/{resourceId}": {
24095
+ "get": {
24096
+ "description": "Get a resource by its partner ID.",
24097
+ "operationId": "get-resource",
24098
+ "security": [
24099
+ {
24100
+ "bearerToken": []
24101
+ }
24102
+ ],
24103
+ "summary": "Get Resource",
24104
+ "tags": [
24105
+ "marketplace"
24106
+ ],
24107
+ "responses": {
24108
+ "200": {
24109
+ "description": "",
24110
+ "content": {
24111
+ "application/json": {
24112
+ "schema": {
24113
+ "properties": {
24114
+ "id": {
24115
+ "type": "string",
24116
+ "description": "The ID provided by the 3rd party provider for the given resource"
24117
+ },
24118
+ "internalId": {
24119
+ "type": "string",
24120
+ "description": "The ID assigned by Vercel for the given resource"
24121
+ },
24122
+ "name": {
24123
+ "type": "string",
24124
+ "description": "The name of the resource as it is recorded in Vercel"
24125
+ },
24126
+ "status": {
24127
+ "type": "string",
24128
+ "enum": [
24129
+ "ready",
24130
+ "pending",
24131
+ "suspended",
24132
+ "resumed",
24133
+ "uninstalled",
24134
+ "error"
24135
+ ],
24136
+ "description": "The current status of the resource"
24137
+ },
24138
+ "productId": {
24139
+ "type": "string",
24140
+ "description": "The ID of the product the resource is derived from"
24141
+ },
24142
+ "protocolSettings": {
24143
+ "properties": {
24144
+ "experimentation": {
24145
+ "properties": {
24146
+ "edgeConfigSyncingEnabled": {
24147
+ "type": "boolean"
24148
+ },
24149
+ "edgeConfigId": {
24150
+ "type": "string"
24151
+ },
24152
+ "edgeConfigTokenId": {
24153
+ "type": "string"
24154
+ }
24155
+ },
24156
+ "type": "object"
24157
+ }
24158
+ },
24159
+ "type": "object",
24160
+ "description": "Any settings provided for the resource to support its product's protocols"
24161
+ },
24162
+ "notification": {
24163
+ "properties": {
24164
+ "level": {
24165
+ "type": "string",
24166
+ "enum": [
24167
+ "error",
24168
+ "info",
24169
+ "warn"
24170
+ ]
24171
+ },
24172
+ "title": {
24173
+ "type": "string"
24174
+ },
24175
+ "message": {
24176
+ "type": "string"
24177
+ },
24178
+ "href": {
24179
+ "type": "string"
24180
+ }
24181
+ },
24182
+ "required": [
24183
+ "level",
24184
+ "title"
24185
+ ],
24186
+ "type": "object",
24187
+ "description": "The notification, if set, displayed to the user when viewing the resource in Vercel"
24188
+ },
24189
+ "billingPlanId": {
24190
+ "type": "string",
24191
+ "description": "The ID of the billing plan the resource is subscribed to, if applicable"
24192
+ },
24193
+ "metadata": {
24194
+ "additionalProperties": {
24195
+ "oneOf": [
24196
+ {
24197
+ "type": "string"
24198
+ },
24199
+ {
24200
+ "type": "number"
24201
+ },
24202
+ {
24203
+ "type": "boolean"
24204
+ },
24205
+ {
24206
+ "items": {
24207
+ "type": "string"
24208
+ },
24209
+ "type": "array",
24210
+ "description": "The configured metadata for the resource as defined by its product's Metadata Schema"
24211
+ },
24212
+ {
24213
+ "items": {
24214
+ "type": "number"
24215
+ },
24216
+ "type": "array",
24217
+ "description": "The configured metadata for the resource as defined by its product's Metadata Schema"
24218
+ }
24219
+ ]
24220
+ },
24221
+ "type": "object",
24222
+ "description": "The configured metadata for the resource as defined by its product's Metadata Schema"
24223
+ }
24224
+ },
24225
+ "required": [
24226
+ "id",
24227
+ "internalId",
24228
+ "name",
24229
+ "productId"
24230
+ ],
24231
+ "type": "object"
24232
+ }
24233
+ }
24234
+ }
24235
+ },
24236
+ "400": {
24237
+ "description": "One of the provided values in the request query is invalid.",
24238
+ "content": {
24239
+ "application/json": {
24240
+ "schema": {
24241
+ "$ref": "#/components/schemas/VercelBadRequestError"
24242
+ }
24243
+ }
24244
+ }
24245
+ },
24246
+ "401": {
24247
+ "description": "",
24248
+ "content": {
24249
+ "application/json": {
24250
+ "schema": {
24251
+ "$ref": "#/components/schemas/VercelForbiddenError"
24252
+ }
24253
+ }
24254
+ }
24255
+ },
24256
+ "403": {
24257
+ "description": "You do not have permission to access this resource."
24258
+ },
24259
+ "404": {
24260
+ "description": "",
24261
+ "content": {
24262
+ "application/json": {
24263
+ "schema": {
24264
+ "$ref": "#/components/schemas/VercelNotFoundError"
24265
+ }
24266
+ }
24267
+ }
24268
+ }
24269
+ },
24270
+ "parameters": [
24271
+ {
24272
+ "name": "integrationConfigurationId",
24273
+ "description": "The ID of the integration configuration (installation) the resource belongs to",
24274
+ "in": "path",
24275
+ "required": true,
24276
+ "schema": {
24277
+ "type": "string",
24278
+ "description": "The ID of the integration configuration (installation) the resource belongs to"
24279
+ }
24280
+ },
24281
+ {
24282
+ "name": "resourceId",
24283
+ "description": "The ID provided by the 3rd party provider for the given resource",
24284
+ "in": "path",
24285
+ "required": true,
24286
+ "schema": {
24287
+ "type": "string",
24288
+ "description": "The ID provided by the 3rd party provider for the given resource"
24289
+ }
24290
+ }
24291
+ ]
24292
+ },
24293
+ "delete": {
24294
+ "description": "Delete a resource owned by the selected installation ID.",
24295
+ "operationId": "delete-resource",
24296
+ "security": [
24297
+ {
24298
+ "bearerToken": []
24299
+ }
24300
+ ],
24301
+ "summary": "Delete Resource",
24302
+ "tags": [
24303
+ "marketplace"
24304
+ ],
24305
+ "responses": {
24306
+ "204": {
24307
+ "description": ""
24308
+ },
24309
+ "400": {
24310
+ "description": "One of the provided values in the request query is invalid.",
24311
+ "content": {
24312
+ "application/json": {
24313
+ "schema": {
24314
+ "$ref": "#/components/schemas/VercelBadRequestError"
24315
+ }
24316
+ }
24317
+ }
24318
+ },
24319
+ "401": {
24320
+ "description": "",
24321
+ "content": {
24322
+ "application/json": {
24323
+ "schema": {
24324
+ "$ref": "#/components/schemas/VercelForbiddenError"
24325
+ }
24326
+ }
24327
+ }
24328
+ },
24329
+ "403": {
24330
+ "description": "You do not have permission to access this resource."
24331
+ },
24332
+ "404": {
24333
+ "description": "",
24334
+ "content": {
24335
+ "application/json": {
24336
+ "schema": {
24337
+ "$ref": "#/components/schemas/VercelNotFoundError"
24338
+ }
24339
+ }
24340
+ }
24341
+ }
24342
+ },
24343
+ "parameters": [
24344
+ {
24345
+ "name": "integrationConfigurationId",
24346
+ "in": "path",
24347
+ "required": true,
24348
+ "schema": {
24349
+ "type": "string"
24350
+ }
24351
+ },
24352
+ {
24353
+ "name": "resourceId",
24354
+ "in": "path",
24355
+ "required": true,
24356
+ "schema": {
24357
+ "type": "string",
24358
+ "describe": "The external provider's ID of the resource to delete"
24359
+ }
24360
+ }
24361
+ ]
24362
+ },
24363
+ "put": {
24364
+ "description": "This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.",
24365
+ "operationId": "import-resource",
24366
+ "security": [
24367
+ {
24368
+ "bearerToken": []
24369
+ }
24370
+ ],
24371
+ "summary": "Import Resource",
24372
+ "tags": [
24373
+ "marketplace"
24374
+ ],
24375
+ "responses": {
24376
+ "200": {
24377
+ "description": "",
24378
+ "content": {
24379
+ "application/json": {
24380
+ "schema": {
24381
+ "properties": {
24382
+ "name": {
24383
+ "type": "string"
24384
+ }
24385
+ },
24386
+ "required": [
24387
+ "name"
24388
+ ],
24389
+ "type": "object"
24390
+ }
24391
+ }
24392
+ }
24393
+ },
24394
+ "400": {
24395
+ "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
24396
+ "content": {
24397
+ "application/json": {
24398
+ "schema": {
24399
+ "$ref": "#/components/schemas/VercelBadRequestError"
24400
+ }
24401
+ }
24402
+ }
24403
+ },
24404
+ "401": {
24405
+ "description": "",
24406
+ "content": {
24407
+ "application/json": {
24408
+ "schema": {
24409
+ "$ref": "#/components/schemas/VercelForbiddenError"
24410
+ }
24411
+ }
24412
+ }
24413
+ },
24414
+ "403": {
24415
+ "description": "You do not have permission to access this resource."
24416
+ },
24417
+ "404": {
24418
+ "description": "",
24419
+ "content": {
24420
+ "application/json": {
24421
+ "schema": {
24422
+ "$ref": "#/components/schemas/VercelNotFoundError"
24423
+ }
24424
+ }
24425
+ }
24426
+ }
24427
+ },
24428
+ "parameters": [
24429
+ {
24430
+ "name": "integrationConfigurationId",
24431
+ "in": "path",
24432
+ "required": true,
24433
+ "schema": {
24434
+ "type": "string"
24435
+ }
24436
+ },
24437
+ {
24438
+ "name": "resourceId",
24439
+ "in": "path",
24440
+ "required": true,
24441
+ "schema": {
24442
+ "type": "string"
24443
+ }
24444
+ }
24445
+ ],
24446
+ "requestBody": {
24447
+ "content": {
24448
+ "application/json": {
24449
+ "schema": {
24450
+ "type": "object",
24451
+ "required": [
24452
+ "productId",
24453
+ "name",
24454
+ "status"
23852
24455
  ],
23853
24456
  "properties": {
23854
- "event": {
23855
- "oneOf": [
23856
- {
23857
- "type": "object",
23858
- "properties": {
23859
- "type": {
23860
- "type": "string",
23861
- "enum": [
23862
- "installation.updated"
23863
- ]
23864
- },
23865
- "billingPlanId": {
23866
- "type": "string",
23867
- "description": "The installation-level billing plan ID"
23868
- }
23869
- },
23870
- "required": [
23871
- "type"
23872
- ],
23873
- "additionalProperties": false
24457
+ "productId": {
24458
+ "type": "string"
24459
+ },
24460
+ "name": {
24461
+ "type": "string"
24462
+ },
24463
+ "status": {
24464
+ "type": "string",
24465
+ "enum": [
24466
+ "ready",
24467
+ "pending",
24468
+ "suspended",
24469
+ "resumed",
24470
+ "uninstalled",
24471
+ "error"
24472
+ ]
24473
+ },
24474
+ "metadata": {
24475
+ "type": "object",
24476
+ "additionalProperties": true
24477
+ },
24478
+ "billingPlan": {
24479
+ "type": "object",
24480
+ "required": [
24481
+ "id",
24482
+ "type",
24483
+ "name"
24484
+ ],
24485
+ "properties": {
24486
+ "id": {
24487
+ "type": "string"
23874
24488
  },
23875
- {
23876
- "type": "object",
23877
- "properties": {
23878
- "type": {
23879
- "type": "string",
23880
- "enum": [
23881
- "resource.updated"
23882
- ]
24489
+ "type": {
24490
+ "type": "string",
24491
+ "enum": [
24492
+ "prepayment",
24493
+ "subscription"
24494
+ ]
24495
+ },
24496
+ "name": {
24497
+ "type": "string"
24498
+ },
24499
+ "description": {
24500
+ "type": "string"
24501
+ },
24502
+ "paymentMethodRequired": {
24503
+ "type": "boolean"
24504
+ },
24505
+ "cost": {
24506
+ "type": "string"
24507
+ },
24508
+ "details": {
24509
+ "type": "array",
24510
+ "items": {
24511
+ "type": "object",
24512
+ "properties": {
24513
+ "label": {
24514
+ "type": "string"
24515
+ },
24516
+ "value": {
24517
+ "type": "string"
24518
+ }
23883
24519
  },
23884
- "productId": {
23885
- "type": "string",
23886
- "description": "Partner-provided product slug or id"
24520
+ "required": [
24521
+ "label"
24522
+ ],
24523
+ "additionalProperties": false
24524
+ }
24525
+ },
24526
+ "heightlightedDetails": {
24527
+ "type": "array",
24528
+ "items": {
24529
+ "type": "object",
24530
+ "properties": {
24531
+ "label": {
24532
+ "type": "string"
24533
+ },
24534
+ "value": {
24535
+ "type": "string"
24536
+ }
23887
24537
  },
23888
- "resourceId": {
23889
- "type": "string",
23890
- "description": "Partner provided resource ID"
23891
- }
23892
- },
23893
- "required": [
23894
- "type",
23895
- "productId",
23896
- "resourceId"
23897
- ],
23898
- "additionalProperties": false
24538
+ "required": [
24539
+ "label"
24540
+ ],
24541
+ "additionalProperties": false
24542
+ }
24543
+ },
24544
+ "effectiveDate": {
24545
+ "type": "string"
23899
24546
  }
23900
- ]
24547
+ },
24548
+ "additionalProperties": true
24549
+ },
24550
+ "notification": {
24551
+ "type": "object",
24552
+ "required": [
24553
+ "level",
24554
+ "title"
24555
+ ],
24556
+ "properties": {
24557
+ "level": {
24558
+ "type": "string",
24559
+ "enum": [
24560
+ "info",
24561
+ "warn",
24562
+ "error"
24563
+ ]
24564
+ },
24565
+ "title": {
24566
+ "type": "string"
24567
+ },
24568
+ "message": {
24569
+ "type": "string"
24570
+ },
24571
+ "href": {
24572
+ "type": "string",
24573
+ "format": "uri"
24574
+ }
24575
+ }
24576
+ },
24577
+ "secrets": {
24578
+ "type": "array",
24579
+ "items": {
24580
+ "type": "object",
24581
+ "required": [
24582
+ "name",
24583
+ "value"
24584
+ ],
24585
+ "properties": {
24586
+ "name": {
24587
+ "type": "string"
24588
+ },
24589
+ "value": {
24590
+ "type": "string"
24591
+ },
24592
+ "prefix": {
24593
+ "type": "string"
24594
+ },
24595
+ "environmentOverrides": {
24596
+ "type": "object",
24597
+ "description": "A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.",
24598
+ "properties": {
24599
+ "development": {
24600
+ "type": "string",
24601
+ "description": "Value used for development environment."
24602
+ },
24603
+ "preview": {
24604
+ "type": "string",
24605
+ "description": "Value used for preview environment."
24606
+ },
24607
+ "production": {
24608
+ "type": "string",
24609
+ "description": "Value used for production environment."
24610
+ }
24611
+ }
24612
+ }
24613
+ },
24614
+ "additionalProperties": false
24615
+ }
23901
24616
  }
23902
24617
  },
23903
24618
  "additionalProperties": false
23904
24619
  }
23905
24620
  }
23906
- },
23907
- "required": true
24621
+ }
23908
24622
  }
23909
24623
  }
23910
24624
  },
@@ -25197,276 +25911,9 @@
25197
25911
  "schema": {
25198
25912
  "type": "object",
25199
25913
  "required": [
25200
- "secrets"
25201
- ],
25202
- "properties": {
25203
- "secrets": {
25204
- "type": "array",
25205
- "items": {
25206
- "type": "object",
25207
- "required": [
25208
- "name",
25209
- "value"
25210
- ],
25211
- "properties": {
25212
- "name": {
25213
- "type": "string"
25214
- },
25215
- "value": {
25216
- "type": "string"
25217
- },
25218
- "prefix": {
25219
- "type": "string"
25220
- },
25221
- "environmentOverrides": {
25222
- "type": "object",
25223
- "description": "A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.",
25224
- "properties": {
25225
- "development": {
25226
- "type": "string",
25227
- "description": "Value used for development environment."
25228
- },
25229
- "preview": {
25230
- "type": "string",
25231
- "description": "Value used for preview environment."
25232
- },
25233
- "production": {
25234
- "type": "string",
25235
- "description": "Value used for production environment."
25236
- }
25237
- }
25238
- }
25239
- },
25240
- "additionalProperties": false
25241
- }
25242
- },
25243
- "partial": {
25244
- "type": "boolean",
25245
- "description": "If true, will only overwrite the provided secrets instead of replacing all secrets."
25246
- }
25247
- },
25248
- "additionalProperties": false
25249
- }
25250
- }
25251
- }
25252
- }
25253
- }
25254
- },
25255
- "/v1/installations/{integrationConfigurationId}/resources/{resourceId}": {
25256
- "put": {
25257
- "description": "This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.",
25258
- "operationId": "import-resource",
25259
- "security": [
25260
- {
25261
- "bearerToken": []
25262
- }
25263
- ],
25264
- "summary": "Import Resource",
25265
- "tags": [
25266
- "marketplace"
25267
- ],
25268
- "responses": {
25269
- "200": {
25270
- "description": "",
25271
- "content": {
25272
- "application/json": {
25273
- "schema": {
25274
- "properties": {
25275
- "name": {
25276
- "type": "string"
25277
- }
25278
- },
25279
- "required": [
25280
- "name"
25281
- ],
25282
- "type": "object"
25283
- }
25284
- }
25285
- }
25286
- },
25287
- "400": {
25288
- "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
25289
- "content": {
25290
- "application/json": {
25291
- "schema": {
25292
- "$ref": "#/components/schemas/VercelBadRequestError"
25293
- }
25294
- }
25295
- }
25296
- },
25297
- "401": {
25298
- "description": "",
25299
- "content": {
25300
- "application/json": {
25301
- "schema": {
25302
- "$ref": "#/components/schemas/VercelForbiddenError"
25303
- }
25304
- }
25305
- }
25306
- },
25307
- "403": {
25308
- "description": "You do not have permission to access this resource."
25309
- },
25310
- "404": {
25311
- "description": "",
25312
- "content": {
25313
- "application/json": {
25314
- "schema": {
25315
- "$ref": "#/components/schemas/VercelNotFoundError"
25316
- }
25317
- }
25318
- }
25319
- }
25320
- },
25321
- "parameters": [
25322
- {
25323
- "name": "integrationConfigurationId",
25324
- "in": "path",
25325
- "required": true,
25326
- "schema": {
25327
- "type": "string"
25328
- }
25329
- },
25330
- {
25331
- "name": "resourceId",
25332
- "in": "path",
25333
- "required": true,
25334
- "schema": {
25335
- "type": "string"
25336
- }
25337
- }
25338
- ],
25339
- "requestBody": {
25340
- "content": {
25341
- "application/json": {
25342
- "schema": {
25343
- "type": "object",
25344
- "required": [
25345
- "productId",
25346
- "name",
25347
- "status"
25914
+ "secrets"
25348
25915
  ],
25349
25916
  "properties": {
25350
- "productId": {
25351
- "type": "string"
25352
- },
25353
- "name": {
25354
- "type": "string"
25355
- },
25356
- "status": {
25357
- "type": "string",
25358
- "enum": [
25359
- "ready",
25360
- "pending",
25361
- "suspended",
25362
- "resumed",
25363
- "uninstalled",
25364
- "error"
25365
- ]
25366
- },
25367
- "metadata": {
25368
- "type": "object",
25369
- "additionalProperties": true
25370
- },
25371
- "billingPlan": {
25372
- "type": "object",
25373
- "required": [
25374
- "id",
25375
- "type",
25376
- "name"
25377
- ],
25378
- "properties": {
25379
- "id": {
25380
- "type": "string"
25381
- },
25382
- "type": {
25383
- "type": "string",
25384
- "enum": [
25385
- "prepayment",
25386
- "subscription"
25387
- ]
25388
- },
25389
- "name": {
25390
- "type": "string"
25391
- },
25392
- "description": {
25393
- "type": "string"
25394
- },
25395
- "paymentMethodRequired": {
25396
- "type": "boolean"
25397
- },
25398
- "cost": {
25399
- "type": "string"
25400
- },
25401
- "details": {
25402
- "type": "array",
25403
- "items": {
25404
- "type": "object",
25405
- "properties": {
25406
- "label": {
25407
- "type": "string"
25408
- },
25409
- "value": {
25410
- "type": "string"
25411
- }
25412
- },
25413
- "required": [
25414
- "label"
25415
- ],
25416
- "additionalProperties": false
25417
- }
25418
- },
25419
- "heightlightedDetails": {
25420
- "type": "array",
25421
- "items": {
25422
- "type": "object",
25423
- "properties": {
25424
- "label": {
25425
- "type": "string"
25426
- },
25427
- "value": {
25428
- "type": "string"
25429
- }
25430
- },
25431
- "required": [
25432
- "label"
25433
- ],
25434
- "additionalProperties": false
25435
- }
25436
- },
25437
- "effectiveDate": {
25438
- "type": "string"
25439
- }
25440
- },
25441
- "additionalProperties": true
25442
- },
25443
- "notification": {
25444
- "type": "object",
25445
- "required": [
25446
- "level",
25447
- "title"
25448
- ],
25449
- "properties": {
25450
- "level": {
25451
- "type": "string",
25452
- "enum": [
25453
- "info",
25454
- "warn",
25455
- "error"
25456
- ]
25457
- },
25458
- "title": {
25459
- "type": "string"
25460
- },
25461
- "message": {
25462
- "type": "string"
25463
- },
25464
- "href": {
25465
- "type": "string",
25466
- "format": "uri"
25467
- }
25468
- }
25469
- },
25470
25917
  "secrets": {
25471
25918
  "type": "array",
25472
25919
  "items": {
@@ -25506,6 +25953,10 @@
25506
25953
  },
25507
25954
  "additionalProperties": false
25508
25955
  }
25956
+ },
25957
+ "partial": {
25958
+ "type": "boolean",
25959
+ "description": "If true, will only overwrite the provided secrets instead of replacing all secrets."
25509
25960
  }
25510
25961
  },
25511
25962
  "additionalProperties": false
@@ -32553,6 +33004,9 @@
32553
33004
  "owasp"
32554
33005
  ],
32555
33006
  "type": "object"
33007
+ },
33008
+ "botIdEnabled": {
33009
+ "type": "boolean"
32556
33010
  }
32557
33011
  },
32558
33012
  "type": "object"
@@ -36813,6 +37267,9 @@
36813
37267
  "owasp"
36814
37268
  ],
36815
37269
  "type": "object"
37270
+ },
37271
+ "botIdEnabled": {
37272
+ "type": "boolean"
36816
37273
  }
36817
37274
  },
36818
37275
  "type": "object"
@@ -41292,6 +41749,9 @@
41292
41749
  "owasp"
41293
41750
  ],
41294
41751
  "type": "object"
41752
+ },
41753
+ "botIdEnabled": {
41754
+ "type": "boolean"
41295
41755
  }
41296
41756
  },
41297
41757
  "type": "object"
@@ -45441,6 +45901,9 @@
45441
45901
  "owasp"
45442
45902
  ],
45443
45903
  "type": "object"
45904
+ },
45905
+ "botIdEnabled": {
45906
+ "type": "boolean"
45444
45907
  }
45445
45908
  },
45446
45909
  "type": "object"
@@ -54717,6 +55180,185 @@
54717
55180
  "x-speakeasy-test": false
54718
55181
  }
54719
55182
  },
55183
+ "/v1/projects/{idOrName}/rolling-release/billing": {
55184
+ "get": {
55185
+ "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.",
55186
+ "operationId": "getRollingReleaseBillingStatus",
55187
+ "security": [
55188
+ {
55189
+ "bearerToken": []
55190
+ }
55191
+ ],
55192
+ "summary": "Get rolling release billing status",
55193
+ "tags": [
55194
+ "rolling-release"
55195
+ ],
55196
+ "responses": {
55197
+ "200": {
55198
+ "description": "",
55199
+ "content": {
55200
+ "application/json": {
55201
+ "schema": {
55202
+ "oneOf": [
55203
+ {
55204
+ "properties": {
55205
+ "availableSlots": {
55206
+ "type": "number"
55207
+ },
55208
+ "reason": {
55209
+ "type": "string",
55210
+ "enum": [
55211
+ "available_slots"
55212
+ ]
55213
+ }
55214
+ },
55215
+ "required": [
55216
+ "availableSlots",
55217
+ "reason"
55218
+ ],
55219
+ "type": "object"
55220
+ },
55221
+ {
55222
+ "properties": {
55223
+ "availableSlots": {
55224
+ "type": "string",
55225
+ "enum": [
55226
+ "unlimited"
55227
+ ]
55228
+ },
55229
+ "reason": {
55230
+ "type": "string",
55231
+ "enum": [
55232
+ "unlimited_slots"
55233
+ ]
55234
+ }
55235
+ },
55236
+ "required": [
55237
+ "availableSlots",
55238
+ "reason"
55239
+ ],
55240
+ "type": "object"
55241
+ },
55242
+ {
55243
+ "properties": {
55244
+ "availableSlots": {
55245
+ "type": "number",
55246
+ "enum": [
55247
+ 0
55248
+ ]
55249
+ },
55250
+ "reason": {
55251
+ "type": "string",
55252
+ "enum": [
55253
+ "plan_not_supported"
55254
+ ]
55255
+ }
55256
+ },
55257
+ "required": [
55258
+ "availableSlots",
55259
+ "reason"
55260
+ ],
55261
+ "type": "object"
55262
+ },
55263
+ {
55264
+ "properties": {
55265
+ "availableSlots": {
55266
+ "type": "number",
55267
+ "enum": [
55268
+ 0
55269
+ ]
55270
+ },
55271
+ "reason": {
55272
+ "type": "string",
55273
+ "enum": [
55274
+ "no_available_slots"
55275
+ ]
55276
+ },
55277
+ "enabledProjects": {
55278
+ "items": {
55279
+ "type": "string"
55280
+ },
55281
+ "type": "array"
55282
+ }
55283
+ },
55284
+ "required": [
55285
+ "availableSlots",
55286
+ "reason",
55287
+ "enabledProjects"
55288
+ ],
55289
+ "type": "object"
55290
+ }
55291
+ ]
55292
+ }
55293
+ }
55294
+ }
55295
+ },
55296
+ "400": {
55297
+ "description": "One of the provided values in the request query is invalid.",
55298
+ "content": {
55299
+ "application/json": {
55300
+ "schema": {
55301
+ "$ref": "#/components/schemas/VercelBadRequestError"
55302
+ }
55303
+ }
55304
+ }
55305
+ },
55306
+ "401": {
55307
+ "description": "",
55308
+ "content": {
55309
+ "application/json": {
55310
+ "schema": {
55311
+ "$ref": "#/components/schemas/VercelForbiddenError"
55312
+ }
55313
+ }
55314
+ }
55315
+ },
55316
+ "403": {
55317
+ "description": "You do not have permission to access this resource."
55318
+ },
55319
+ "404": {
55320
+ "description": "",
55321
+ "content": {
55322
+ "application/json": {
55323
+ "schema": {
55324
+ "$ref": "#/components/schemas/VercelNotFoundError"
55325
+ }
55326
+ }
55327
+ }
55328
+ }
55329
+ },
55330
+ "parameters": [
55331
+ {
55332
+ "name": "idOrName",
55333
+ "description": "Project ID or project name (URL-encoded)",
55334
+ "in": "path",
55335
+ "required": true,
55336
+ "schema": {
55337
+ "description": "Project ID or project name (URL-encoded)",
55338
+ "type": "string"
55339
+ }
55340
+ },
55341
+ {
55342
+ "description": "The Team identifier to perform the request on behalf of.",
55343
+ "in": "query",
55344
+ "name": "teamId",
55345
+ "schema": {
55346
+ "type": "string",
55347
+ "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
55348
+ }
55349
+ },
55350
+ {
55351
+ "description": "The Team slug to perform the request on behalf of.",
55352
+ "in": "query",
55353
+ "name": "slug",
55354
+ "schema": {
55355
+ "type": "string",
55356
+ "example": "my-team-url-slug"
55357
+ }
55358
+ }
55359
+ ]
55360
+ }
55361
+ },
54720
55362
  "/v1/projects/{idOrName}/rolling-release/config": {
54721
55363
  "get": {
54722
55364
  "description": "Get the Rolling Releases configuration for a project. The project-level config is simply a template that will be used for any future rolling release, and not the configuration for any active rolling release.",
@@ -58169,6 +58811,9 @@
58169
58811
  }
58170
58812
  },
58171
58813
  "type": "object"
58814
+ },
58815
+ "botIdEnabled": {
58816
+ "type": "boolean"
58172
58817
  }
58173
58818
  },
58174
58819
  "required": [
@@ -58783,6 +59428,9 @@
58783
59428
  ],
58784
59429
  "additionalProperties": false
58785
59430
  }
59431
+ },
59432
+ "botIdEnabled": {
59433
+ "type": "boolean"
58786
59434
  }
58787
59435
  },
58788
59436
  "required": [
@@ -59735,6 +60383,26 @@
59735
60383
  "value"
59736
60384
  ],
59737
60385
  "additionalProperties": false
60386
+ },
60387
+ {
60388
+ "description": "Toggle botID",
60389
+ "type": "object",
60390
+ "properties": {
60391
+ "action": {
60392
+ "type": "string"
60393
+ },
60394
+ "id": {
60395
+ "type": "string"
60396
+ },
60397
+ "value": {
60398
+ "type": "boolean"
60399
+ }
60400
+ },
60401
+ "required": [
60402
+ "action",
60403
+ "value"
60404
+ ],
60405
+ "additionalProperties": false
59738
60406
  }
59739
60407
  ]
59740
60408
  }
@@ -60358,6 +61026,9 @@
60358
61026
  }
60359
61027
  },
60360
61028
  "type": "object"
61029
+ },
61030
+ "botIdEnabled": {
61031
+ "type": "boolean"
60361
61032
  }
60362
61033
  },
60363
61034
  "required": [
@@ -64377,6 +65048,7 @@
64377
65048
  "deployment.integration.action.start",
64378
65049
  "deployment.integration.action.cancel",
64379
65050
  "deployment.integration.action.cleanup",
65051
+ "deployment.checkrun.start",
64380
65052
  "edge-config.created",
64381
65053
  "edge-config.deleted",
64382
65054
  "edge-config.items.updated",
@@ -64446,6 +65118,7 @@
64446
65118
  "deployment.integration.action.start",
64447
65119
  "deployment.integration.action.cancel",
64448
65120
  "deployment.integration.action.cleanup",
65121
+ "deployment.checkrun.start",
64449
65122
  "edge-config.created",
64450
65123
  "edge-config.deleted",
64451
65124
  "edge-config.items.updated",
@@ -64633,6 +65306,7 @@
64633
65306
  "deployment.integration.action.start",
64634
65307
  "deployment.integration.action.cancel",
64635
65308
  "deployment.integration.action.cleanup",
65309
+ "deployment.checkrun.start",
64636
65310
  "edge-config.created",
64637
65311
  "edge-config.deleted",
64638
65312
  "edge-config.items.updated",
@@ -64700,6 +65374,7 @@
64700
65374
  "deployment.integration.action.start",
64701
65375
  "deployment.integration.action.cancel",
64702
65376
  "deployment.integration.action.cleanup",
65377
+ "deployment.checkrun.start",
64703
65378
  "edge-config.created",
64704
65379
  "edge-config.deleted",
64705
65380
  "edge-config.items.updated",
@@ -64884,6 +65559,7 @@
64884
65559
  "deployment.integration.action.start",
64885
65560
  "deployment.integration.action.cancel",
64886
65561
  "deployment.integration.action.cleanup",
65562
+ "deployment.checkrun.start",
64887
65563
  "edge-config.created",
64888
65564
  "edge-config.deleted",
64889
65565
  "edge-config.items.updated",
@@ -64953,6 +65629,7 @@
64953
65629
  "deployment.integration.action.start",
64954
65630
  "deployment.integration.action.cancel",
64955
65631
  "deployment.integration.action.cleanup",
65632
+ "deployment.checkrun.start",
64956
65633
  "edge-config.created",
64957
65634
  "edge-config.deleted",
64958
65635
  "edge-config.items.updated",
@@ -65080,6 +65757,7 @@
65080
65757
  "deployment.integration.action.start",
65081
65758
  "deployment.integration.action.cancel",
65082
65759
  "deployment.integration.action.cleanup",
65760
+ "deployment.checkrun.start",
65083
65761
  "edge-config.created",
65084
65762
  "edge-config.deleted",
65085
65763
  "edge-config.items.updated",
@@ -65149,6 +65827,7 @@
65149
65827
  "deployment.integration.action.start",
65150
65828
  "deployment.integration.action.cancel",
65151
65829
  "deployment.integration.action.cleanup",
65830
+ "deployment.checkrun.start",
65152
65831
  "edge-config.created",
65153
65832
  "edge-config.deleted",
65154
65833
  "edge-config.items.updated",
@@ -65351,6 +66030,7 @@
65351
66030
  "deployment.integration.action.start",
65352
66031
  "deployment.integration.action.cancel",
65353
66032
  "deployment.integration.action.cleanup",
66033
+ "deployment.checkrun.start",
65354
66034
  "edge-config.created",
65355
66035
  "edge-config.deleted",
65356
66036
  "edge-config.items.updated",
@@ -65420,6 +66100,7 @@
65420
66100
  "deployment.integration.action.start",
65421
66101
  "deployment.integration.action.cancel",
65422
66102
  "deployment.integration.action.cleanup",
66103
+ "deployment.checkrun.start",
65423
66104
  "edge-config.created",
65424
66105
  "edge-config.deleted",
65425
66106
  "edge-config.items.updated",
@@ -73022,6 +73703,10 @@
73022
73703
  "increasedOnDemandEmailSentAt": {
73023
73704
  "type": "number",
73024
73705
  "description": "Tracks the last time we sent a increased on-demand email."
73706
+ },
73707
+ "increasedOnDemandEmailAttemptedAt": {
73708
+ "type": "number",
73709
+ "description": "Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day."
73025
73710
  }
73026
73711
  },
73027
73712
  "type": "object",