@vercel/sdk 1.18.8 → 1.18.9

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 (276) hide show
  1. package/README.md +51 -53
  2. package/bin/mcp-server.js +3279 -2534
  3. package/bin/mcp-server.js.map +52 -43
  4. package/esm/__tests__/accessgroups.test.js +6 -2
  5. package/esm/__tests__/accessgroups.test.js.map +1 -1
  6. package/esm/__tests__/domains.test.js +9 -6
  7. package/esm/__tests__/domains.test.js.map +1 -1
  8. package/esm/__tests__/edgeconfig.test.js +6 -6
  9. package/esm/__tests__/edgeconfig.test.js.map +1 -1
  10. package/esm/__tests__/projects.test.js +7 -53
  11. package/esm/__tests__/projects.test.js.map +1 -1
  12. package/esm/funcs/apiBillingGetV1BillingCharges.d.ts +16 -0
  13. package/esm/funcs/apiBillingGetV1BillingCharges.d.ts.map +1 -0
  14. package/esm/funcs/apiBillingGetV1BillingCharges.js +63 -0
  15. package/esm/funcs/apiBillingGetV1BillingCharges.js.map +1 -0
  16. package/esm/funcs/apiBillingGetV1BillingContractCommitments.d.ts +16 -0
  17. package/esm/funcs/apiBillingGetV1BillingContractCommitments.d.ts.map +1 -0
  18. package/esm/funcs/apiBillingGetV1BillingContractCommitments.js +63 -0
  19. package/esm/funcs/apiBillingGetV1BillingContractCommitments.js.map +1 -0
  20. package/esm/funcs/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.d.ts +17 -0
  21. package/esm/funcs/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.d.ts.map +1 -0
  22. package/esm/funcs/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.js +85 -0
  23. package/esm/funcs/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.js.map +1 -0
  24. package/esm/funcs/projectsRequestRollback.d.ts +17 -0
  25. package/esm/funcs/projectsRequestRollback.d.ts.map +1 -0
  26. package/esm/funcs/projectsRequestRollback.js +94 -0
  27. package/esm/funcs/projectsRequestRollback.js.map +1 -0
  28. package/esm/funcs/rollingReleaseUpdateRollingReleaseConfig.d.ts +1 -1
  29. package/esm/funcs/rollingReleaseUpdateRollingReleaseConfig.js +1 -1
  30. package/esm/lib/config.d.ts +3 -3
  31. package/esm/lib/config.js +3 -3
  32. package/esm/mcp-server/mcp-server.js +1 -1
  33. package/esm/mcp-server/server.d.ts.map +1 -1
  34. package/esm/mcp-server/server.js +9 -1
  35. package/esm/mcp-server/server.js.map +1 -1
  36. package/esm/mcp-server/tools/apiBillingGetV1BillingCharges.d.ts +3 -0
  37. package/esm/mcp-server/tools/apiBillingGetV1BillingCharges.d.ts.map +1 -0
  38. package/esm/mcp-server/tools/apiBillingGetV1BillingCharges.js +22 -0
  39. package/esm/mcp-server/tools/apiBillingGetV1BillingCharges.js.map +1 -0
  40. package/esm/mcp-server/tools/apiBillingGetV1BillingContractCommitments.d.ts +3 -0
  41. package/esm/mcp-server/tools/apiBillingGetV1BillingContractCommitments.d.ts.map +1 -0
  42. package/esm/mcp-server/tools/apiBillingGetV1BillingContractCommitments.js +22 -0
  43. package/esm/mcp-server/tools/apiBillingGetV1BillingContractCommitments.js.map +1 -0
  44. package/esm/mcp-server/tools/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.d.ts +7 -0
  45. package/esm/mcp-server/tools/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.d.ts.map +1 -0
  46. package/esm/mcp-server/tools/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.js +27 -0
  47. package/esm/mcp-server/tools/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.js.map +1 -0
  48. package/esm/mcp-server/tools/projectsRequestRollback.d.ts +7 -0
  49. package/esm/mcp-server/tools/projectsRequestRollback.d.ts.map +1 -0
  50. package/esm/mcp-server/tools/projectsRequestRollback.js +27 -0
  51. package/esm/mcp-server/tools/projectsRequestRollback.js.map +1 -0
  52. package/esm/mcp-server/tools/rollingReleaseUpdateRollingReleaseConfig.js +1 -1
  53. package/esm/mcp-server/tools/rollingReleaseUpdateRollingReleaseConfig.js.map +1 -1
  54. package/esm/models/addprojectmemberop.d.ts +3 -3
  55. package/esm/models/addprojectmemberop.js +3 -3
  56. package/esm/models/addprojectmemberop.js.map +1 -1
  57. package/esm/models/buydomainsop.d.ts +1 -2
  58. package/esm/models/buydomainsop.d.ts.map +1 -1
  59. package/esm/models/buydomainsop.js +2 -3
  60. package/esm/models/buydomainsop.js.map +1 -1
  61. package/esm/models/buysingledomainop.d.ts +1 -2
  62. package/esm/models/buysingledomainop.d.ts.map +1 -1
  63. package/esm/models/buysingledomainop.js +2 -3
  64. package/esm/models/buysingledomainop.js.map +1 -1
  65. package/esm/models/canceldeploymentop.d.ts +3 -0
  66. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  67. package/esm/models/canceldeploymentop.js +3 -0
  68. package/esm/models/canceldeploymentop.js.map +1 -1
  69. package/esm/models/createaccessgroupprojectop.d.ts +1 -0
  70. package/esm/models/createaccessgroupprojectop.d.ts.map +1 -1
  71. package/esm/models/createaccessgroupprojectop.js +1 -0
  72. package/esm/models/createaccessgroupprojectop.js.map +1 -1
  73. package/esm/models/createdeploymentop.d.ts +6 -0
  74. package/esm/models/createdeploymentop.d.ts.map +1 -1
  75. package/esm/models/createdeploymentop.js +6 -0
  76. package/esm/models/createdeploymentop.js.map +1 -1
  77. package/esm/models/createintegrationstoredirectop.d.ts +30 -0
  78. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  79. package/esm/models/createintegrationstoredirectop.js +21 -0
  80. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  81. package/esm/models/createprojectop.d.ts +8 -0
  82. package/esm/models/createprojectop.d.ts.map +1 -1
  83. package/esm/models/createprojectop.js +8 -0
  84. package/esm/models/createprojectop.js.map +1 -1
  85. package/esm/models/createwebhookop.d.ts +4 -0
  86. package/esm/models/createwebhookop.d.ts.map +1 -1
  87. package/esm/models/createwebhookop.js +4 -0
  88. package/esm/models/createwebhookop.js.map +1 -1
  89. package/esm/models/editredirectop.d.ts +2 -0
  90. package/esm/models/editredirectop.d.ts.map +1 -1
  91. package/esm/models/editredirectop.js +2 -0
  92. package/esm/models/editredirectop.js.map +1 -1
  93. package/esm/models/getalllogdrainsop.d.ts +3 -0
  94. package/esm/models/getalllogdrainsop.d.ts.map +1 -1
  95. package/esm/models/getalllogdrainsop.js +3 -0
  96. package/esm/models/getalllogdrainsop.js.map +1 -1
  97. package/esm/models/getconfigurablelogdrainop.d.ts +3 -0
  98. package/esm/models/getconfigurablelogdrainop.d.ts.map +1 -1
  99. package/esm/models/getconfigurablelogdrainop.js +3 -0
  100. package/esm/models/getconfigurablelogdrainop.js.map +1 -1
  101. package/esm/models/getdeploymentop.d.ts +3 -0
  102. package/esm/models/getdeploymentop.d.ts.map +1 -1
  103. package/esm/models/getdeploymentop.js +3 -0
  104. package/esm/models/getdeploymentop.js.map +1 -1
  105. package/esm/models/getdeploymentsop.d.ts +3 -0
  106. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  107. package/esm/models/getdeploymentsop.js +3 -0
  108. package/esm/models/getdeploymentsop.js.map +1 -1
  109. package/esm/models/getprojectmembersop.d.ts +2 -0
  110. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  111. package/esm/models/getprojectmembersop.js +2 -0
  112. package/esm/models/getprojectmembersop.js.map +1 -1
  113. package/esm/models/getprojectsop.d.ts +11 -0
  114. package/esm/models/getprojectsop.d.ts.map +1 -1
  115. package/esm/models/getprojectsop.js +11 -0
  116. package/esm/models/getprojectsop.js.map +1 -1
  117. package/esm/models/getredirectsop.d.ts +2 -0
  118. package/esm/models/getredirectsop.d.ts.map +1 -1
  119. package/esm/models/getredirectsop.js +2 -0
  120. package/esm/models/getredirectsop.js.map +1 -1
  121. package/esm/models/getteammembersop.d.ts +2 -0
  122. package/esm/models/getteammembersop.d.ts.map +1 -1
  123. package/esm/models/getteammembersop.js +2 -0
  124. package/esm/models/getteammembersop.js.map +1 -1
  125. package/esm/models/getwebhookop.d.ts +2 -0
  126. package/esm/models/getwebhookop.d.ts.map +1 -1
  127. package/esm/models/getwebhookop.js +2 -0
  128. package/esm/models/getwebhookop.js.map +1 -1
  129. package/esm/models/getwebhooksop.d.ts +7 -0
  130. package/esm/models/getwebhooksop.d.ts.map +1 -1
  131. package/esm/models/getwebhooksop.js +7 -0
  132. package/esm/models/getwebhooksop.js.map +1 -1
  133. package/esm/models/gitnamespacesop.d.ts +5 -5
  134. package/esm/models/gitnamespacesop.d.ts.map +1 -1
  135. package/esm/models/gitnamespacesop.js +5 -6
  136. package/esm/models/gitnamespacesop.js.map +1 -1
  137. package/esm/models/inviteusertoteamop.d.ts +1 -0
  138. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  139. package/esm/models/inviteusertoteamop.js +1 -0
  140. package/esm/models/inviteusertoteamop.js.map +1 -1
  141. package/esm/models/listaccessgroupprojectsop.d.ts +1 -0
  142. package/esm/models/listaccessgroupprojectsop.d.ts.map +1 -1
  143. package/esm/models/listaccessgroupprojectsop.js +1 -0
  144. package/esm/models/listaccessgroupprojectsop.js.map +1 -1
  145. package/esm/models/patchurlprotectionbypassop.d.ts +11 -11
  146. package/esm/models/patchurlprotectionbypassop.d.ts.map +1 -1
  147. package/esm/models/patchurlprotectionbypassop.js +12 -11
  148. package/esm/models/patchurlprotectionbypassop.js.map +1 -1
  149. package/esm/models/patchv1projectsprojectidrollbackdeploymentidupdatedescriptionop.d.ts +37 -0
  150. package/esm/models/patchv1projectsprojectidrollbackdeploymentidupdatedescriptionop.d.ts.map +1 -0
  151. package/esm/models/patchv1projectsprojectidrollbackdeploymentidupdatedescriptionop.js +52 -0
  152. package/esm/models/patchv1projectsprojectidrollbackdeploymentidupdatedescriptionop.js.map +1 -0
  153. package/esm/models/readaccessgroupprojectop.d.ts +1 -0
  154. package/esm/models/readaccessgroupprojectop.d.ts.map +1 -1
  155. package/esm/models/readaccessgroupprojectop.js +1 -0
  156. package/esm/models/readaccessgroupprojectop.js.map +1 -1
  157. package/esm/models/renewdomainop.d.ts +1 -2
  158. package/esm/models/renewdomainop.d.ts.map +1 -1
  159. package/esm/models/renewdomainop.js +2 -3
  160. package/esm/models/renewdomainop.js.map +1 -1
  161. package/esm/models/requestrollbackop.d.ts +37 -0
  162. package/esm/models/requestrollbackop.d.ts.map +1 -0
  163. package/esm/models/requestrollbackop.js +29 -0
  164. package/esm/models/requestrollbackop.js.map +1 -0
  165. package/esm/models/searchrepoop.d.ts +5 -5
  166. package/esm/models/searchrepoop.d.ts.map +1 -1
  167. package/esm/models/searchrepoop.js +5 -5
  168. package/esm/models/searchrepoop.js.map +1 -1
  169. package/esm/models/stageredirectsop.d.ts +2 -0
  170. package/esm/models/stageredirectsop.d.ts.map +1 -1
  171. package/esm/models/stageredirectsop.js +2 -0
  172. package/esm/models/stageredirectsop.js.map +1 -1
  173. package/esm/models/team.d.ts +40 -0
  174. package/esm/models/team.d.ts.map +1 -1
  175. package/esm/models/team.js +27 -0
  176. package/esm/models/team.js.map +1 -1
  177. package/esm/models/teamlimited.d.ts +40 -0
  178. package/esm/models/teamlimited.d.ts.map +1 -1
  179. package/esm/models/teamlimited.js +26 -0
  180. package/esm/models/teamlimited.js.map +1 -1
  181. package/esm/models/transferindomainop.d.ts +1 -2
  182. package/esm/models/transferindomainop.d.ts.map +1 -1
  183. package/esm/models/transferindomainop.js +2 -3
  184. package/esm/models/transferindomainop.js.map +1 -1
  185. package/esm/models/updateaccessgroupprojectop.d.ts +1 -0
  186. package/esm/models/updateaccessgroupprojectop.d.ts.map +1 -1
  187. package/esm/models/updateaccessgroupprojectop.js +1 -0
  188. package/esm/models/updateaccessgroupprojectop.js.map +1 -1
  189. package/esm/models/updateprojectop.d.ts +13 -0
  190. package/esm/models/updateprojectop.d.ts.map +1 -1
  191. package/esm/models/updateprojectop.js +10 -0
  192. package/esm/models/updateprojectop.js.map +1 -1
  193. package/esm/models/userevent.d.ts +2653 -1935
  194. package/esm/models/userevent.d.ts.map +1 -1
  195. package/esm/models/userevent.js +3539 -2807
  196. package/esm/models/userevent.js.map +1 -1
  197. package/esm/sdk/apibilling.d.ts +18 -0
  198. package/esm/sdk/apibilling.d.ts.map +1 -0
  199. package/esm/sdk/apibilling.js +28 -0
  200. package/esm/sdk/apibilling.js.map +1 -0
  201. package/esm/sdk/projects.d.ts +8 -0
  202. package/esm/sdk/projects.d.ts.map +1 -1
  203. package/esm/sdk/projects.js +10 -0
  204. package/esm/sdk/projects.js.map +1 -1
  205. package/esm/sdk/rollingrelease.d.ts +1 -1
  206. package/esm/sdk/rollingrelease.js +1 -1
  207. package/esm/sdk/sdk.d.ts +12 -1
  208. package/esm/sdk/sdk.d.ts.map +1 -1
  209. package/esm/sdk/sdk.js +15 -0
  210. package/esm/sdk/sdk.js.map +1 -1
  211. package/examples/package-lock.json +1 -1
  212. package/jsr.json +1 -1
  213. package/package.json +1 -1
  214. package/src/__tests__/accessgroups.test.ts +6 -2
  215. package/src/__tests__/domains.test.ts +9 -6
  216. package/src/__tests__/edgeconfig.test.ts +6 -6
  217. package/src/__tests__/projects.test.ts +7 -53
  218. package/src/funcs/apiBillingGetV1BillingCharges.ts +136 -0
  219. package/src/funcs/apiBillingGetV1BillingContractCommitments.ts +136 -0
  220. package/src/funcs/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.ts +174 -0
  221. package/src/funcs/projectsRequestRollback.ts +183 -0
  222. package/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts +1 -1
  223. package/src/lib/config.ts +3 -3
  224. package/src/mcp-server/mcp-server.ts +1 -1
  225. package/src/mcp-server/server.ts +9 -1
  226. package/src/mcp-server/tools/apiBillingGetV1BillingCharges.ts +28 -0
  227. package/src/mcp-server/tools/apiBillingGetV1BillingContractCommitments.ts +28 -0
  228. package/src/mcp-server/tools/patchV1ProjectsProjectIdRollbackDeploymentIdUpdateDescription.ts +41 -0
  229. package/src/mcp-server/tools/projectsRequestRollback.ts +35 -0
  230. package/src/mcp-server/tools/rollingReleaseUpdateRollingReleaseConfig.ts +1 -1
  231. package/src/models/addprojectmemberop.ts +3 -3
  232. package/src/models/buydomainsop.ts +3 -8
  233. package/src/models/buysingledomainop.ts +3 -8
  234. package/src/models/canceldeploymentop.ts +3 -0
  235. package/src/models/createaccessgroupprojectop.ts +1 -0
  236. package/src/models/createdeploymentop.ts +6 -0
  237. package/src/models/createintegrationstoredirectop.ts +45 -0
  238. package/src/models/createprojectop.ts +10 -0
  239. package/src/models/createwebhookop.ts +4 -0
  240. package/src/models/editredirectop.ts +4 -0
  241. package/src/models/getalllogdrainsop.ts +3 -0
  242. package/src/models/getconfigurablelogdrainop.ts +3 -0
  243. package/src/models/getdeploymentop.ts +3 -0
  244. package/src/models/getdeploymentsop.ts +3 -0
  245. package/src/models/getprojectmembersop.ts +2 -0
  246. package/src/models/getprojectsop.ts +13 -0
  247. package/src/models/getredirectsop.ts +4 -0
  248. package/src/models/getteammembersop.ts +2 -0
  249. package/src/models/getwebhookop.ts +2 -0
  250. package/src/models/getwebhooksop.ts +7 -0
  251. package/src/models/gitnamespacesop.ts +11 -9
  252. package/src/models/inviteusertoteamop.ts +1 -0
  253. package/src/models/listaccessgroupprojectsop.ts +1 -0
  254. package/src/models/patchurlprotectionbypassop.ts +36 -27
  255. package/src/models/patchv1projectsprojectidrollbackdeploymentidupdatedescriptionop.ts +151 -0
  256. package/src/models/readaccessgroupprojectop.ts +1 -0
  257. package/src/models/renewdomainop.ts +3 -8
  258. package/src/models/requestrollbackop.ts +80 -0
  259. package/src/models/searchrepoop.ts +13 -11
  260. package/src/models/stageredirectsop.ts +4 -0
  261. package/src/models/team.ts +54 -0
  262. package/src/models/teamlimited.ts +58 -0
  263. package/src/models/transferindomainop.ts +3 -8
  264. package/src/models/updateaccessgroupprojectop.ts +1 -0
  265. package/src/models/updateprojectop.ts +17 -0
  266. package/src/models/userevent.ts +11587 -9616
  267. package/src/sdk/apibilling.ts +40 -0
  268. package/src/sdk/projects.ts +19 -0
  269. package/src/sdk/rollingrelease.ts +1 -1
  270. package/src/sdk/sdk.ts +30 -1
  271. package/vercel-spec.json +1031 -308
  272. package/esm/models/countrycode.d.ts +0 -266
  273. package/esm/models/countrycode.d.ts.map +0 -1
  274. package/esm/models/countrycode.js +0 -265
  275. package/esm/models/countrycode.js.map +0 -1
  276. package/src/models/countrycode.ts +0 -273
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { projectsRequestRollback } from "../../funcs/projectsRequestRollback.js";
6
+ import { RequestRollbackRequest$inboundSchema } from "../../models/requestrollbackop.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: RequestRollbackRequest$inboundSchema,
11
+ };
12
+
13
+ export const tool$projectsRequestRollback: ToolDefinition<typeof args> = {
14
+ name: "projects-request-rollback",
15
+ description: `Points all production domains for a project to the given deploy
16
+
17
+ Allows users to rollback to a deployment.`,
18
+ args,
19
+ tool: async (client, args, ctx) => {
20
+ const [result, apiCall] = await projectsRequestRollback(
21
+ client,
22
+ args.request,
23
+ { fetchOptions: { signal: ctx.signal } },
24
+ ).$inspect();
25
+
26
+ if (!result.ok) {
27
+ return {
28
+ content: [{ type: "text", text: result.error.message }],
29
+ isError: true,
30
+ };
31
+ }
32
+
33
+ return formatResult(void 0, apiCall);
34
+ },
35
+ };
@@ -16,7 +16,7 @@ export const tool$rollingReleaseUpdateRollingReleaseConfig: ToolDefinition<
16
16
  name: "rolling-release-update-rolling-release-config",
17
17
  description: `Update the rolling release settings for the project
18
18
 
19
- Update (or disable) Rolling Releases for a project. Changing the config never alters a rollout that's already in-flight. It only affects the next production deployment. This also applies to disabling Rolling Releases. If you want to also stop the current rollout, call this endpoint to disable the feature, and then call either the /complete or /abort endpoint. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already.`,
19
+ Update (or disable) Rolling Releases for a project. When disabling with the resolve-on-disable feature flag enabled, any active rolling release document is resolved using the disableRolloutAction parameter: "abort" to roll back (default), or "complete" to promote the canary to production. When enabling or updating config, changes only affect the next production deployment and do not alter a rollout that's already in-flight. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already.`,
20
20
  args,
21
21
  tool: async (client, args, ctx) => {
22
22
  const [result, apiCall] = await rollingReleaseUpdateRollingReleaseConfig(
@@ -16,8 +16,8 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
16
16
  */
17
17
  export const AddProjectMemberRequestBodyProjectMembersRole = {
18
18
  Admin: "ADMIN",
19
- ProjectDeveloper: "PROJECT_DEVELOPER",
20
19
  ProjectViewer: "PROJECT_VIEWER",
20
+ ProjectDeveloper: "PROJECT_DEVELOPER",
21
21
  } as const;
22
22
  /**
23
23
  * The project role of the member that will be added.
@@ -50,8 +50,8 @@ export type AddProjectMemberRequestBody3 = {
50
50
  */
51
51
  export const AddProjectMemberRequestBodyRole = {
52
52
  Admin: "ADMIN",
53
- ProjectDeveloper: "PROJECT_DEVELOPER",
54
53
  ProjectViewer: "PROJECT_VIEWER",
54
+ ProjectDeveloper: "PROJECT_DEVELOPER",
55
55
  } as const;
56
56
  /**
57
57
  * The project role of the member that will be added.
@@ -84,8 +84,8 @@ export type AddProjectMemberRequestBody2 = {
84
84
  */
85
85
  export const RequestBodyRole = {
86
86
  Admin: "ADMIN",
87
- ProjectDeveloper: "PROJECT_DEVELOPER",
88
87
  ProjectViewer: "PROJECT_VIEWER",
88
+ ProjectDeveloper: "PROJECT_DEVELOPER",
89
89
  } as const;
90
90
  /**
91
91
  * The project role of the member that will be added.
@@ -15,11 +15,6 @@ import {
15
15
  AdditionalContactInfoRequired$Outbound,
16
16
  AdditionalContactInfoRequired$outboundSchema,
17
17
  } from "./additionalcontactinforequired.js";
18
- import {
19
- CountryCode,
20
- CountryCode$inboundSchema,
21
- CountryCode$outboundSchema,
22
- } from "./countrycode.js";
23
18
  import {
24
19
  DomainNotAvailable,
25
20
  DomainNotAvailable$inboundSchema,
@@ -149,7 +144,7 @@ export type BuyDomainsContactInformation = {
149
144
  /**
150
145
  * A valid ISO 3166-1 alpha-2 country code
151
146
  */
152
- country: CountryCode;
147
+ country: string;
153
148
  /**
154
149
  * a non empty string
155
150
  */
@@ -310,7 +305,7 @@ export const BuyDomainsContactInformation$inboundSchema: z.ZodType<
310
305
  city: types.string(),
311
306
  state: types.string(),
312
307
  zip: types.string(),
313
- country: CountryCode$inboundSchema,
308
+ country: types.string(),
314
309
  companyName: types.optional(types.string()),
315
310
  fax: types.optional(types.string()),
316
311
  additional: types.optional(z.lazy(() => BuyDomainsAdditional$inboundSchema)),
@@ -347,7 +342,7 @@ export const BuyDomainsContactInformation$outboundSchema: z.ZodType<
347
342
  city: z.string(),
348
343
  state: z.string(),
349
344
  zip: z.string(),
350
- country: CountryCode$outboundSchema,
345
+ country: z.string(),
351
346
  companyName: z.string().optional(),
352
347
  fax: z.string().optional(),
353
348
  additional: z.lazy(() => BuyDomainsAdditional$outboundSchema).optional(),
@@ -15,11 +15,6 @@ import {
15
15
  AdditionalContactInfoRequired$Outbound,
16
16
  AdditionalContactInfoRequired$outboundSchema,
17
17
  } from "./additionalcontactinforequired.js";
18
- import {
19
- CountryCode,
20
- CountryCode$inboundSchema,
21
- CountryCode$outboundSchema,
22
- } from "./countrycode.js";
23
18
  import {
24
19
  DomainNotAvailable,
25
20
  DomainNotAvailable$inboundSchema,
@@ -121,7 +116,7 @@ export type ContactInformation = {
121
116
  /**
122
117
  * A valid ISO 3166-1 alpha-2 country code
123
118
  */
124
- country: CountryCode;
119
+ country: string;
125
120
  /**
126
121
  * a non empty string
127
122
  */
@@ -244,7 +239,7 @@ export const ContactInformation$inboundSchema: z.ZodType<
244
239
  city: types.string(),
245
240
  state: types.string(),
246
241
  zip: types.string(),
247
- country: CountryCode$inboundSchema,
242
+ country: types.string(),
248
243
  companyName: types.optional(types.string()),
249
244
  fax: types.optional(types.string()),
250
245
  additional: types.optional(z.lazy(() => Additional$inboundSchema)),
@@ -281,7 +276,7 @@ export const ContactInformation$outboundSchema: z.ZodType<
281
276
  city: z.string(),
282
277
  state: z.string(),
283
278
  zip: z.string(),
284
- country: CountryCode$outboundSchema,
279
+ country: z.string(),
285
280
  companyName: z.string().optional(),
286
281
  fax: z.string().optional(),
287
282
  additional: z.lazy(() => Additional$outboundSchema).optional(),
@@ -119,6 +119,9 @@ export const CancelDeploymentFramework = {
119
119
  Fastify: "fastify",
120
120
  Xmcp: "xmcp",
121
121
  Python: "python",
122
+ Ruby: "ruby",
123
+ Rust: "rust",
124
+ Node: "node",
122
125
  Services: "services",
123
126
  } as const;
124
127
  export type CancelDeploymentFramework = ClosedEnum<
@@ -53,6 +53,7 @@ export const CreateAccessGroupProjectAccessGroupsRole = {
53
53
  Admin: "ADMIN",
54
54
  ProjectDeveloper: "PROJECT_DEVELOPER",
55
55
  ProjectViewer: "PROJECT_VIEWER",
56
+ ProjectGuest: "PROJECT_GUEST",
56
57
  } as const;
57
58
  export type CreateAccessGroupProjectAccessGroupsRole = ClosedEnum<
58
59
  typeof CreateAccessGroupProjectAccessGroupsRole
@@ -325,6 +325,9 @@ export const Framework = {
325
325
  Fastify: "fastify",
326
326
  Xmcp: "xmcp",
327
327
  Python: "python",
328
+ Ruby: "ruby",
329
+ Rust: "rust",
330
+ Node: "node",
328
331
  Services: "services",
329
332
  } as const;
330
333
  /**
@@ -566,6 +569,9 @@ export const CreateDeploymentFramework = {
566
569
  Fastify: "fastify",
567
570
  Xmcp: "xmcp",
568
571
  Python: "python",
572
+ Ruby: "ruby",
573
+ Rust: "rust",
574
+ Node: "node",
569
575
  Services: "services",
570
576
  } as const;
571
577
  export type CreateDeploymentFramework = ClosedEnum<
@@ -155,6 +155,9 @@ export const CreateIntegrationStoreDirectFramework = {
155
155
  Fastify: "fastify",
156
156
  Xmcp: "xmcp",
157
157
  Python: "python",
158
+ Ruby: "ruby",
159
+ Rust: "rust",
160
+ Node: "node",
158
161
  Services: "services",
159
162
  } as const;
160
163
  export type CreateIntegrationStoreDirectFramework = ClosedEnum<
@@ -1998,6 +2001,7 @@ export const CreateIntegrationStoreDirectTags = {
1998
2001
  Libsql: "libsql",
1999
2002
  Sqlite: "sqlite",
2000
2003
  Rds: "rds",
2004
+ Drains: "drains",
2001
2005
  TagAgents: "tag_agents",
2002
2006
  TagAi: "tag_ai",
2003
2007
  TagAnalytics: "tag_analytics",
@@ -2241,6 +2245,21 @@ export type CreateIntegrationStoreDirectBillingPlan = {
2241
2245
  disabled?: boolean | undefined;
2242
2246
  };
2243
2247
 
2248
+ /**
2249
+ * The deployment targets that this resource is available for.
2250
+ */
2251
+ export const CreateIntegrationStoreDirectTargets = {
2252
+ Production: "production",
2253
+ Preview: "preview",
2254
+ Development: "development",
2255
+ } as const;
2256
+ /**
2257
+ * The deployment targets that this resource is available for.
2258
+ */
2259
+ export type CreateIntegrationStoreDirectTargets = ClosedEnum<
2260
+ typeof CreateIntegrationStoreDirectTargets
2261
+ >;
2262
+
2244
2263
  export type CreateIntegrationStoreDirectStore = {
2245
2264
  projectsMetadata: Array<CreateIntegrationStoreDirectProjectsMetadata>;
2246
2265
  projectFilter?: ProjectFilter | undefined;
@@ -2276,6 +2295,14 @@ export type CreateIntegrationStoreDirectStore = {
2276
2295
  * The timestamp when secret rotation was completed.
2277
2296
  */
2278
2297
  secretRotationCompletedAt?: number | undefined;
2298
+ /**
2299
+ * The ID of the parent resource. Used to establish a parent-child relationship between resources, such as sandbox resources linking to their owner account resource.
2300
+ */
2301
+ parentId?: string | undefined;
2302
+ /**
2303
+ * The deployment targets that this resource is available for.
2304
+ */
2305
+ targets?: Array<CreateIntegrationStoreDirectTargets> | undefined;
2279
2306
  };
2280
2307
 
2281
2308
  export type CreateIntegrationStoreDirectResponseBody = {
@@ -14093,6 +14120,15 @@ export function createIntegrationStoreDirectBillingPlanFromJSON(
14093
14120
  );
14094
14121
  }
14095
14122
 
14123
+ /** @internal */
14124
+ export const CreateIntegrationStoreDirectTargets$inboundSchema: z.ZodNativeEnum<
14125
+ typeof CreateIntegrationStoreDirectTargets
14126
+ > = z.nativeEnum(CreateIntegrationStoreDirectTargets);
14127
+ /** @internal */
14128
+ export const CreateIntegrationStoreDirectTargets$outboundSchema:
14129
+ z.ZodNativeEnum<typeof CreateIntegrationStoreDirectTargets> =
14130
+ CreateIntegrationStoreDirectTargets$inboundSchema;
14131
+
14096
14132
  /** @internal */
14097
14133
  export const CreateIntegrationStoreDirectStore$inboundSchema: z.ZodType<
14098
14134
  CreateIntegrationStoreDirectStore,
@@ -14142,6 +14178,10 @@ export const CreateIntegrationStoreDirectStore$inboundSchema: z.ZodType<
14142
14178
  secretRotationRequestedReason: types.optional(types.string()),
14143
14179
  secretRotationRequestedBy: types.optional(types.string()),
14144
14180
  secretRotationCompletedAt: types.optional(types.number()),
14181
+ parentId: types.optional(types.string()),
14182
+ targets: types.optional(
14183
+ z.array(CreateIntegrationStoreDirectTargets$inboundSchema),
14184
+ ),
14145
14185
  });
14146
14186
  /** @internal */
14147
14187
  export type CreateIntegrationStoreDirectStore$Outbound = {
@@ -14171,6 +14211,8 @@ export type CreateIntegrationStoreDirectStore$Outbound = {
14171
14211
  secretRotationRequestedReason?: string | undefined;
14172
14212
  secretRotationRequestedBy?: string | undefined;
14173
14213
  secretRotationCompletedAt?: number | undefined;
14214
+ parentId?: string | undefined;
14215
+ targets?: Array<string> | undefined;
14174
14216
  };
14175
14217
 
14176
14218
  /** @internal */
@@ -14218,6 +14260,9 @@ export const CreateIntegrationStoreDirectStore$outboundSchema: z.ZodType<
14218
14260
  secretRotationRequestedReason: z.string().optional(),
14219
14261
  secretRotationRequestedBy: z.string().optional(),
14220
14262
  secretRotationCompletedAt: z.number().optional(),
14263
+ parentId: z.string().optional(),
14264
+ targets: z.array(CreateIntegrationStoreDirectTargets$outboundSchema)
14265
+ .optional(),
14221
14266
  });
14222
14267
 
14223
14268
  export function createIntegrationStoreDirectStoreToJSON(
@@ -136,6 +136,9 @@ export const CreateProjectFramework = {
136
136
  Fastify: "fastify",
137
137
  Xmcp: "xmcp",
138
138
  Python: "python",
139
+ Ruby: "ruby",
140
+ Rust: "rust",
141
+ Node: "node",
139
142
  Services: "services",
140
143
  } as const;
141
144
  /**
@@ -851,6 +854,9 @@ export const CreateProjectProjectsFramework = {
851
854
  Fastify: "fastify",
852
855
  Xmcp: "xmcp",
853
856
  Python: "python",
857
+ Ruby: "ruby",
858
+ Rust: "rust",
859
+ Node: "node",
854
860
  Services: "services",
855
861
  } as const;
856
862
  export type CreateProjectProjectsFramework = ClosedEnum<
@@ -2210,6 +2216,7 @@ export type CreateProjectResponseBody = {
2210
2216
  internalRoutes?: Array<InternalRoutes1 | InternalRoutes2> | undefined;
2211
2217
  hasDeployments?: boolean | undefined;
2212
2218
  dismissedToasts?: Array<CreateProjectDismissedToasts> | undefined;
2219
+ protectedSourcemaps?: boolean | undefined;
2213
2220
  };
2214
2221
 
2215
2222
  /** @internal */
@@ -10373,6 +10380,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType<
10373
10380
  dismissedToasts: types.optional(
10374
10381
  z.array(z.lazy(() => CreateProjectDismissedToasts$inboundSchema)),
10375
10382
  ),
10383
+ protectedSourcemaps: types.optional(types.boolean()),
10376
10384
  });
10377
10385
  /** @internal */
10378
10386
  export type CreateProjectResponseBody$Outbound = {
@@ -10480,6 +10488,7 @@ export type CreateProjectResponseBody$Outbound = {
10480
10488
  | undefined;
10481
10489
  hasDeployments?: boolean | undefined;
10482
10490
  dismissedToasts?: Array<CreateProjectDismissedToasts$Outbound> | undefined;
10491
+ protectedSourcemaps?: boolean | undefined;
10483
10492
  };
10484
10493
 
10485
10494
  /** @internal */
@@ -10621,6 +10630,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType<
10621
10630
  dismissedToasts: z.array(
10622
10631
  z.lazy(() => CreateProjectDismissedToasts$outboundSchema),
10623
10632
  ).optional(),
10633
+ protectedSourcemaps: z.boolean().optional(),
10624
10634
  });
10625
10635
 
10626
10636
  export function createProjectResponseBodyToJSON(
@@ -89,6 +89,8 @@ export const Events = {
89
89
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
90
90
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
91
91
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
92
+ AiGatewayBalanceDepleted: "ai-gateway.balance-depleted",
93
+ AiGatewayAutoReloadLimitReached: "ai-gateway.auto-reload.limit-reached",
92
94
  ObservabilityAnomaly: "observability.anomaly",
93
95
  ObservabilityAnomalyError: "observability.anomaly-error",
94
96
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
@@ -198,6 +200,8 @@ export const CreateWebhookEvents = {
198
200
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
199
201
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
200
202
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
203
+ AiGatewayBalanceDepleted: "ai-gateway.balance-depleted",
204
+ AiGatewayAutoReloadLimitReached: "ai-gateway.auto-reload.limit-reached",
201
205
  ObservabilityAnomaly: "observability.anomaly",
202
206
  ObservabilityAnomalyError: "observability.anomaly-error",
203
207
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
@@ -19,6 +19,7 @@ export type Redirect = {
19
19
  permanent?: boolean | undefined;
20
20
  caseSensitive?: boolean | undefined;
21
21
  query?: boolean | undefined;
22
+ preserveQueryParams?: boolean | undefined;
22
23
  };
23
24
 
24
25
  export type EditRedirectRequestBody = {
@@ -96,6 +97,7 @@ export const Redirect$inboundSchema: z.ZodType<
96
97
  permanent: types.optional(types.boolean()),
97
98
  caseSensitive: types.optional(types.boolean()),
98
99
  query: types.optional(types.boolean()),
100
+ preserveQueryParams: types.optional(types.boolean()),
99
101
  });
100
102
  /** @internal */
101
103
  export type Redirect$Outbound = {
@@ -105,6 +107,7 @@ export type Redirect$Outbound = {
105
107
  permanent?: boolean | undefined;
106
108
  caseSensitive?: boolean | undefined;
107
109
  query?: boolean | undefined;
110
+ preserveQueryParams?: boolean | undefined;
108
111
  };
109
112
 
110
113
  /** @internal */
@@ -119,6 +122,7 @@ export const Redirect$outboundSchema: z.ZodType<
119
122
  permanent: z.boolean().optional(),
120
123
  caseSensitive: z.boolean().optional(),
121
124
  query: z.boolean().optional(),
125
+ preserveQueryParams: z.boolean().optional(),
122
126
  });
123
127
 
124
128
  export function redirectToJSON(redirect: Redirect): string {
@@ -634,6 +634,9 @@ export const GetAllLogDrainsResponseBodyFramework = {
634
634
  Fastify: "fastify",
635
635
  Xmcp: "xmcp",
636
636
  Python: "python",
637
+ Ruby: "ruby",
638
+ Rust: "rust",
639
+ Node: "node",
637
640
  Services: "services",
638
641
  } as const;
639
642
  export type GetAllLogDrainsResponseBodyFramework = ClosedEnum<
@@ -81,6 +81,9 @@ export const GetConfigurableLogDrainFramework = {
81
81
  Fastify: "fastify",
82
82
  Xmcp: "xmcp",
83
83
  Python: "python",
84
+ Ruby: "ruby",
85
+ Rust: "rust",
86
+ Node: "node",
84
87
  Services: "services",
85
88
  } as const;
86
89
  export type GetConfigurableLogDrainFramework = ClosedEnum<
@@ -985,6 +985,9 @@ export const GetDeploymentResponseBodyFramework = {
985
985
  Fastify: "fastify",
986
986
  Xmcp: "xmcp",
987
987
  Python: "python",
988
+ Ruby: "ruby",
989
+ Rust: "rust",
990
+ Node: "node",
988
991
  Services: "services",
989
992
  } as const;
990
993
  export type GetDeploymentResponseBodyFramework = ClosedEnum<
@@ -344,6 +344,9 @@ export const GetDeploymentsFramework = {
344
344
  Fastify: "fastify",
345
345
  Xmcp: "xmcp",
346
346
  Python: "python",
347
+ Ruby: "ruby",
348
+ Rust: "rust",
349
+ Node: "node",
347
350
  Services: "services",
348
351
  } as const;
349
352
  export type GetDeploymentsFramework = ClosedEnum<
@@ -48,6 +48,7 @@ export const ResponseBodyRole = {
48
48
  Admin: "ADMIN",
49
49
  ProjectDeveloper: "PROJECT_DEVELOPER",
50
50
  ProjectViewer: "PROJECT_VIEWER",
51
+ ProjectGuest: "PROJECT_GUEST",
51
52
  } as const;
52
53
  /**
53
54
  * Role of this user in the project.
@@ -61,6 +62,7 @@ export const ComputedProjectRole = {
61
62
  Admin: "ADMIN",
62
63
  ProjectDeveloper: "PROJECT_DEVELOPER",
63
64
  ProjectViewer: "PROJECT_VIEWER",
65
+ ProjectGuest: "PROJECT_GUEST",
64
66
  } as const;
65
67
  /**
66
68
  * Role of this user in the project.
@@ -636,6 +636,9 @@ export const GetProjectsResponseBodyProjectsFramework = {
636
636
  Fastify: "fastify",
637
637
  Xmcp: "xmcp",
638
638
  Python: "python",
639
+ Ruby: "ruby",
640
+ Rust: "rust",
641
+ Node: "node",
639
642
  Services: "services",
640
643
  } as const;
641
644
  export type GetProjectsResponseBodyProjectsFramework = ClosedEnum<
@@ -2121,6 +2124,7 @@ export type GetProjectsResponseBodyProjects = {
2121
2124
  | undefined;
2122
2125
  hasDeployments?: boolean | undefined;
2123
2126
  dismissedToasts?: Array<ResponseBodyDismissedToasts> | undefined;
2127
+ protectedSourcemaps?: boolean | undefined;
2124
2128
  };
2125
2129
 
2126
2130
  /**
@@ -2537,6 +2541,9 @@ export const GetProjectsResponseBodyFramework = {
2537
2541
  Fastify: "fastify",
2538
2542
  Xmcp: "xmcp",
2539
2543
  Python: "python",
2544
+ Ruby: "ruby",
2545
+ Rust: "rust",
2546
+ Node: "node",
2540
2547
  Services: "services",
2541
2548
  } as const;
2542
2549
  export type GetProjectsResponseBodyFramework = ClosedEnum<
@@ -4030,6 +4037,9 @@ export const ResponseBodyFramework = {
4030
4037
  Fastify: "fastify",
4031
4038
  Xmcp: "xmcp",
4032
4039
  Python: "python",
4040
+ Ruby: "ruby",
4041
+ Rust: "rust",
4042
+ Node: "node",
4033
4043
  Services: "services",
4034
4044
  } as const;
4035
4045
  export type ResponseBodyFramework = ClosedEnum<typeof ResponseBodyFramework>;
@@ -13772,6 +13782,7 @@ export const GetProjectsResponseBodyProjects$inboundSchema: z.ZodType<
13772
13782
  dismissedToasts: types.optional(
13773
13783
  z.array(z.lazy(() => ResponseBodyDismissedToasts$inboundSchema)),
13774
13784
  ),
13785
+ protectedSourcemaps: types.optional(types.boolean()),
13775
13786
  });
13776
13787
  /** @internal */
13777
13788
  export type GetProjectsResponseBodyProjects$Outbound = {
@@ -13909,6 +13920,7 @@ export type GetProjectsResponseBodyProjects$Outbound = {
13909
13920
  | undefined;
13910
13921
  hasDeployments?: boolean | undefined;
13911
13922
  dismissedToasts?: Array<ResponseBodyDismissedToasts$Outbound> | undefined;
13923
+ protectedSourcemaps?: boolean | undefined;
13912
13924
  };
13913
13925
 
13914
13926
  /** @internal */
@@ -14073,6 +14085,7 @@ export const GetProjectsResponseBodyProjects$outboundSchema: z.ZodType<
14073
14085
  dismissedToasts: z.array(
14074
14086
  z.lazy(() => ResponseBodyDismissedToasts$outboundSchema),
14075
14087
  ).optional(),
14088
+ protectedSourcemaps: z.boolean().optional(),
14076
14089
  });
14077
14090
 
14078
14091
  export function getProjectsResponseBodyProjectsToJSON(
@@ -56,6 +56,7 @@ export type ResponseBodyRedirects = {
56
56
  sensitive?: boolean | undefined;
57
57
  caseSensitive?: boolean | undefined;
58
58
  query?: boolean | undefined;
59
+ preserveQueryParams?: boolean | undefined;
59
60
  source: string;
60
61
  destination: string;
61
62
  };
@@ -244,6 +245,7 @@ export const ResponseBodyRedirects$inboundSchema: z.ZodType<
244
245
  sensitive: types.optional(types.boolean()),
245
246
  caseSensitive: types.optional(types.boolean()),
246
247
  query: types.optional(types.boolean()),
248
+ preserveQueryParams: types.optional(types.boolean()),
247
249
  source: types.string(),
248
250
  destination: types.string(),
249
251
  });
@@ -254,6 +256,7 @@ export type ResponseBodyRedirects$Outbound = {
254
256
  sensitive?: boolean | undefined;
255
257
  caseSensitive?: boolean | undefined;
256
258
  query?: boolean | undefined;
259
+ preserveQueryParams?: boolean | undefined;
257
260
  source: string;
258
261
  destination: string;
259
262
  };
@@ -269,6 +272,7 @@ export const ResponseBodyRedirects$outboundSchema: z.ZodType<
269
272
  sensitive: z.boolean().optional(),
270
273
  caseSensitive: z.boolean().optional(),
271
274
  query: z.boolean().optional(),
275
+ preserveQueryParams: z.boolean().optional(),
272
276
  source: z.string(),
273
277
  destination: z.string(),
274
278
  });
@@ -137,6 +137,7 @@ export const GetTeamMembersTeamsResponseRole = {
137
137
  Admin: "ADMIN",
138
138
  ProjectDeveloper: "PROJECT_DEVELOPER",
139
139
  ProjectViewer: "PROJECT_VIEWER",
140
+ ProjectGuest: "PROJECT_GUEST",
140
141
  } as const;
141
142
  export type GetTeamMembersTeamsResponseRole = ClosedEnum<
142
143
  typeof GetTeamMembersTeamsResponseRole
@@ -257,6 +258,7 @@ export const GetTeamMembersTeamsProjects = {
257
258
  Admin: "ADMIN",
258
259
  ProjectDeveloper: "PROJECT_DEVELOPER",
259
260
  ProjectViewer: "PROJECT_VIEWER",
261
+ ProjectGuest: "PROJECT_GUEST",
260
262
  } as const;
261
263
  export type GetTeamMembersTeamsProjects = ClosedEnum<
262
264
  typeof GetTeamMembersTeamsProjects
@@ -103,6 +103,8 @@ export const GetWebhookEvents = {
103
103
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
104
104
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
105
105
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
106
+ AiGatewayBalanceDepleted: "ai-gateway.balance-depleted",
107
+ AiGatewayAutoReloadLimitReached: "ai-gateway.auto-reload.limit-reached",
106
108
  ObservabilityAnomaly: "observability.anomaly",
107
109
  ObservabilityAnomalyError: "observability.anomaly-error",
108
110
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
@@ -104,6 +104,8 @@ export const GetWebhooksResponseBodyEvents = {
104
104
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
105
105
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
106
106
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
107
+ AiGatewayBalanceDepleted: "ai-gateway.balance-depleted",
108
+ AiGatewayAutoReloadLimitReached: "ai-gateway.auto-reload.limit-reached",
107
109
  ObservabilityAnomaly: "observability.anomaly",
108
110
  ObservabilityAnomalyError: "observability.anomaly-error",
109
111
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
@@ -209,6 +211,9 @@ export const GetWebhooksResponseBodyFramework = {
209
211
  Fastify: "fastify",
210
212
  Xmcp: "xmcp",
211
213
  Python: "python",
214
+ Ruby: "ruby",
215
+ Rust: "rust",
216
+ Node: "node",
212
217
  Services: "services",
213
218
  } as const;
214
219
  export type GetWebhooksResponseBodyFramework = ClosedEnum<
@@ -304,6 +309,8 @@ export const ResponseBodyEvents = {
304
309
  MarketplaceInvoicePaid: "marketplace.invoice.paid",
305
310
  MarketplaceInvoiceNotpaid: "marketplace.invoice.notpaid",
306
311
  MarketplaceInvoiceRefunded: "marketplace.invoice.refunded",
312
+ AiGatewayBalanceDepleted: "ai-gateway.balance-depleted",
313
+ AiGatewayAutoReloadLimitReached: "ai-gateway.auto-reload.limit-reached",
307
314
  ObservabilityAnomaly: "observability.anomaly",
308
315
  ObservabilityAnomalyError: "observability.anomaly-error",
309
316
  ObservabilityUsageAnomaly: "observability.usage-anomaly",
@@ -10,21 +10,21 @@ import * as types from "../types/primitives.js";
10
10
  import { smartUnion } from "../types/smartUnion.js";
11
11
  import { SDKValidationError } from "./sdkvalidationerror.js";
12
12
 
13
- export const Provider = {
13
+ export const QueryParamProvider = {
14
14
  Github: "github",
15
15
  GithubLimited: "github-limited",
16
16
  GithubCustomHost: "github-custom-host",
17
17
  Gitlab: "gitlab",
18
18
  Bitbucket: "bitbucket",
19
19
  } as const;
20
- export type Provider = ClosedEnum<typeof Provider>;
20
+ export type QueryParamProvider = ClosedEnum<typeof QueryParamProvider>;
21
21
 
22
22
  export type GitNamespacesRequest = {
23
23
  /**
24
24
  * The custom Git host if using a custom Git provider, like GitHub Enterprise Server
25
25
  */
26
26
  host?: string | undefined;
27
- provider?: Provider | undefined;
27
+ provider?: QueryParamProvider | undefined;
28
28
  };
29
29
 
30
30
  export type GitNamespacesId = string | number;
@@ -41,11 +41,13 @@ export type GitNamespacesResponseBody = {
41
41
  };
42
42
 
43
43
  /** @internal */
44
- export const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider> = z
45
- .nativeEnum(Provider);
44
+ export const QueryParamProvider$inboundSchema: z.ZodNativeEnum<
45
+ typeof QueryParamProvider
46
+ > = z.nativeEnum(QueryParamProvider);
46
47
  /** @internal */
47
- export const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider> =
48
- Provider$inboundSchema;
48
+ export const QueryParamProvider$outboundSchema: z.ZodNativeEnum<
49
+ typeof QueryParamProvider
50
+ > = QueryParamProvider$inboundSchema;
49
51
 
50
52
  /** @internal */
51
53
  export const GitNamespacesRequest$inboundSchema: z.ZodType<
@@ -54,7 +56,7 @@ export const GitNamespacesRequest$inboundSchema: z.ZodType<
54
56
  unknown
55
57
  > = z.object({
56
58
  host: types.optional(types.string()),
57
- provider: types.optional(Provider$inboundSchema),
59
+ provider: types.optional(QueryParamProvider$inboundSchema),
58
60
  });
59
61
  /** @internal */
60
62
  export type GitNamespacesRequest$Outbound = {
@@ -69,7 +71,7 @@ export const GitNamespacesRequest$outboundSchema: z.ZodType<
69
71
  GitNamespacesRequest
70
72
  > = z.object({
71
73
  host: z.string().optional(),
72
- provider: Provider$outboundSchema.optional(),
74
+ provider: QueryParamProvider$outboundSchema.optional(),
73
75
  });
74
76
 
75
77
  export function gitNamespacesRequestToJSON(