alchemy 0.67.0 → 0.69.0

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 (803) hide show
  1. package/bin/alchemy.js +25580 -26264
  2. package/bin/alchemy.ts +6 -2
  3. package/bin/commands/configure.ts +194 -0
  4. package/bin/commands/login.ts +99 -55
  5. package/bin/commands/logout.ts +66 -0
  6. package/bin/trpc.ts +27 -2
  7. package/lib/apply.d.ts +2 -2
  8. package/lib/apply.d.ts.map +1 -1
  9. package/lib/apply.js +18 -15
  10. package/lib/apply.js.map +1 -1
  11. package/lib/auth.d.ts +72 -0
  12. package/lib/auth.d.ts.map +1 -0
  13. package/lib/auth.js +163 -0
  14. package/lib/auth.js.map +1 -0
  15. package/lib/aws/bucket.d.ts +12 -3
  16. package/lib/aws/bucket.d.ts.map +1 -1
  17. package/lib/aws/bucket.js +2 -2
  18. package/lib/aws/bucket.js.map +1 -1
  19. package/lib/aws/control/properties.d.ts +64 -0
  20. package/lib/aws/control/properties.d.ts.map +1 -1
  21. package/lib/aws/control/properties.js +554 -39
  22. package/lib/aws/control/properties.js.map +1 -1
  23. package/lib/aws/control/resource.d.ts +34 -3
  24. package/lib/aws/control/resource.d.ts.map +1 -1
  25. package/lib/aws/control/resource.js +36 -3
  26. package/lib/aws/control/resource.js.map +1 -1
  27. package/lib/aws/control/types.d.ts +5451 -1587
  28. package/lib/aws/control/types.d.ts.map +1 -1
  29. package/lib/aws/control/types.js.map +1 -1
  30. package/lib/aws/control/update-types.d.ts +12913 -0
  31. package/lib/aws/control/update-types.d.ts.map +1 -0
  32. package/lib/aws/control/update-types.js +12916 -0
  33. package/lib/aws/control/update-types.js.map +1 -0
  34. package/lib/aws/ec2/internet-gateway-attachment.d.ts +1 -2
  35. package/lib/aws/ec2/internet-gateway-attachment.d.ts.map +1 -1
  36. package/lib/aws/ec2/internet-gateway-attachment.js +4 -4
  37. package/lib/aws/ec2/internet-gateway-attachment.js.map +1 -1
  38. package/lib/aws/ec2/internet-gateway.d.ts +1 -2
  39. package/lib/aws/ec2/internet-gateway.d.ts.map +1 -1
  40. package/lib/aws/ec2/internet-gateway.js +2 -2
  41. package/lib/aws/ec2/internet-gateway.js.map +1 -1
  42. package/lib/aws/ec2/nat-gateway.d.ts +1 -2
  43. package/lib/aws/ec2/nat-gateway.d.ts.map +1 -1
  44. package/lib/aws/ec2/nat-gateway.js +2 -2
  45. package/lib/aws/ec2/nat-gateway.js.map +1 -1
  46. package/lib/aws/ec2/route-table-association.d.ts +1 -2
  47. package/lib/aws/ec2/route-table-association.d.ts.map +1 -1
  48. package/lib/aws/ec2/route-table-association.js +2 -2
  49. package/lib/aws/ec2/route-table-association.js.map +1 -1
  50. package/lib/aws/ec2/route-table.d.ts +1 -2
  51. package/lib/aws/ec2/route-table.d.ts.map +1 -1
  52. package/lib/aws/ec2/route-table.js +2 -2
  53. package/lib/aws/ec2/route-table.js.map +1 -1
  54. package/lib/aws/ec2/route.d.ts +1 -2
  55. package/lib/aws/ec2/route.d.ts.map +1 -1
  56. package/lib/aws/ec2/route.js +2 -2
  57. package/lib/aws/ec2/route.js.map +1 -1
  58. package/lib/aws/ec2/security-group-rule.d.ts +1 -2
  59. package/lib/aws/ec2/security-group-rule.d.ts.map +1 -1
  60. package/lib/aws/ec2/security-group-rule.js +2 -2
  61. package/lib/aws/ec2/security-group-rule.js.map +1 -1
  62. package/lib/aws/ec2/security-group.d.ts +1 -2
  63. package/lib/aws/ec2/security-group.d.ts.map +1 -1
  64. package/lib/aws/ec2/security-group.js +2 -2
  65. package/lib/aws/ec2/security-group.js.map +1 -1
  66. package/lib/aws/ec2/subnet.d.ts +1 -2
  67. package/lib/aws/ec2/subnet.d.ts.map +1 -1
  68. package/lib/aws/ec2/subnet.js +2 -2
  69. package/lib/aws/ec2/subnet.js.map +1 -1
  70. package/lib/aws/ec2/vpc.d.ts +1 -2
  71. package/lib/aws/ec2/vpc.d.ts.map +1 -1
  72. package/lib/aws/ec2/vpc.js +2 -2
  73. package/lib/aws/ec2/vpc.js.map +1 -1
  74. package/lib/aws/function.d.ts +116 -3
  75. package/lib/aws/function.d.ts.map +1 -1
  76. package/lib/aws/function.js +2 -2
  77. package/lib/aws/function.js.map +1 -1
  78. package/lib/aws/oidc/github-oidc-provider.d.ts +13 -2
  79. package/lib/aws/oidc/github-oidc-provider.d.ts.map +1 -1
  80. package/lib/aws/oidc/oidc-provider.d.ts +48 -3
  81. package/lib/aws/oidc/oidc-provider.d.ts.map +1 -1
  82. package/lib/aws/oidc/oidc-provider.js +2 -2
  83. package/lib/aws/oidc/oidc-provider.js.map +1 -1
  84. package/lib/aws/policy-attachment.d.ts +2 -3
  85. package/lib/aws/policy-attachment.d.ts.map +1 -1
  86. package/lib/aws/policy-attachment.js +1 -1
  87. package/lib/aws/policy-attachment.js.map +1 -1
  88. package/lib/aws/policy.d.ts +1 -2
  89. package/lib/aws/policy.d.ts.map +1 -1
  90. package/lib/aws/policy.js +4 -4
  91. package/lib/aws/policy.js.map +1 -1
  92. package/lib/aws/queue.d.ts +1 -2
  93. package/lib/aws/queue.d.ts.map +1 -1
  94. package/lib/aws/queue.js +4 -4
  95. package/lib/aws/queue.js.map +1 -1
  96. package/lib/aws/role.d.ts +1 -2
  97. package/lib/aws/role.d.ts.map +1 -1
  98. package/lib/aws/role.js +2 -2
  99. package/lib/aws/role.js.map +1 -1
  100. package/lib/aws/ses.d.ts +1 -2
  101. package/lib/aws/ses.d.ts.map +1 -1
  102. package/lib/aws/ses.js +2 -2
  103. package/lib/aws/ses.js.map +1 -1
  104. package/lib/aws/ssm-parameter.d.ts +1 -2
  105. package/lib/aws/ssm-parameter.d.ts.map +1 -1
  106. package/lib/aws/ssm-parameter.js +2 -2
  107. package/lib/aws/ssm-parameter.js.map +1 -1
  108. package/lib/aws/table.d.ts +1 -2
  109. package/lib/aws/table.d.ts.map +1 -1
  110. package/lib/aws/table.js +2 -2
  111. package/lib/aws/table.js.map +1 -1
  112. package/lib/cloudflare/account-api-token.d.ts +1 -2
  113. package/lib/cloudflare/account-api-token.d.ts.map +1 -1
  114. package/lib/cloudflare/account-api-token.js +2 -2
  115. package/lib/cloudflare/account-api-token.js.map +1 -1
  116. package/lib/cloudflare/ai-gateway.d.ts +1 -2
  117. package/lib/cloudflare/ai-gateway.d.ts.map +1 -1
  118. package/lib/cloudflare/ai-gateway.js +2 -2
  119. package/lib/cloudflare/ai-gateway.js.map +1 -1
  120. package/lib/cloudflare/api-gateway-operation.d.ts +1 -2
  121. package/lib/cloudflare/api-gateway-operation.d.ts.map +1 -1
  122. package/lib/cloudflare/api-gateway-operation.js +2 -2
  123. package/lib/cloudflare/api-gateway-operation.js.map +1 -1
  124. package/lib/cloudflare/api-schema.d.ts +1 -2
  125. package/lib/cloudflare/api-schema.d.ts.map +1 -1
  126. package/lib/cloudflare/api-schema.js +2 -2
  127. package/lib/cloudflare/api-schema.js.map +1 -1
  128. package/lib/cloudflare/api-shield.d.ts +1 -2
  129. package/lib/cloudflare/api-shield.d.ts.map +1 -1
  130. package/lib/cloudflare/api-shield.js +2 -2
  131. package/lib/cloudflare/api-shield.js.map +1 -1
  132. package/lib/cloudflare/api.d.ts +18 -10
  133. package/lib/cloudflare/api.d.ts.map +1 -1
  134. package/lib/cloudflare/api.js +92 -38
  135. package/lib/cloudflare/api.js.map +1 -1
  136. package/lib/cloudflare/assets.d.ts +21 -43
  137. package/lib/cloudflare/assets.d.ts.map +1 -1
  138. package/lib/cloudflare/assets.js +78 -70
  139. package/lib/cloudflare/assets.js.map +1 -1
  140. package/lib/cloudflare/astro/astro.d.ts.map +1 -1
  141. package/lib/cloudflare/astro/astro.js +3 -3
  142. package/lib/cloudflare/astro/astro.js.map +1 -1
  143. package/lib/cloudflare/auth.d.ts +91 -17
  144. package/lib/cloudflare/auth.d.ts.map +1 -1
  145. package/lib/cloudflare/auth.js +141 -62
  146. package/lib/cloudflare/auth.js.map +1 -1
  147. package/lib/cloudflare/bound.d.ts +1 -1
  148. package/lib/cloudflare/bound.d.ts.map +1 -1
  149. package/lib/cloudflare/bucket-object.d.ts +81 -0
  150. package/lib/cloudflare/bucket-object.d.ts.map +1 -0
  151. package/lib/cloudflare/bucket-object.js +67 -0
  152. package/lib/cloudflare/bucket-object.js.map +1 -0
  153. package/lib/cloudflare/bucket.d.ts +87 -8
  154. package/lib/cloudflare/bucket.d.ts.map +1 -1
  155. package/lib/cloudflare/bucket.js +246 -19
  156. package/lib/cloudflare/bucket.js.map +1 -1
  157. package/lib/cloudflare/bundle/plugin-wasm.js +4 -2
  158. package/lib/cloudflare/bundle/plugin-wasm.js.map +1 -1
  159. package/lib/cloudflare/certificate-pack.d.ts +1 -2
  160. package/lib/cloudflare/certificate-pack.d.ts.map +1 -1
  161. package/lib/cloudflare/certificate-pack.js +4 -4
  162. package/lib/cloudflare/certificate-pack.js.map +1 -1
  163. package/lib/cloudflare/compatibility-date.gen.d.ts +1 -1
  164. package/lib/cloudflare/compatibility-date.gen.js +1 -1
  165. package/lib/cloudflare/container.d.ts +1 -2
  166. package/lib/cloudflare/container.d.ts.map +1 -1
  167. package/lib/cloudflare/container.js +7 -7
  168. package/lib/cloudflare/container.js.map +1 -1
  169. package/lib/cloudflare/custom-domain.d.ts +1 -2
  170. package/lib/cloudflare/custom-domain.d.ts.map +1 -1
  171. package/lib/cloudflare/custom-domain.js +2 -2
  172. package/lib/cloudflare/custom-domain.js.map +1 -1
  173. package/lib/cloudflare/d1-database.d.ts +2 -3
  174. package/lib/cloudflare/d1-database.d.ts.map +1 -1
  175. package/lib/cloudflare/d1-database.js +5 -5
  176. package/lib/cloudflare/d1-database.js.map +1 -1
  177. package/lib/cloudflare/dispatch-namespace.d.ts +2 -3
  178. package/lib/cloudflare/dispatch-namespace.d.ts.map +1 -1
  179. package/lib/cloudflare/dispatch-namespace.js +3 -3
  180. package/lib/cloudflare/dispatch-namespace.js.map +1 -1
  181. package/lib/cloudflare/dns-records.d.ts +1 -2
  182. package/lib/cloudflare/dns-records.d.ts.map +1 -1
  183. package/lib/cloudflare/dns-records.js +4 -4
  184. package/lib/cloudflare/dns-records.js.map +1 -1
  185. package/lib/cloudflare/email-address.d.ts +1 -2
  186. package/lib/cloudflare/email-address.d.ts.map +1 -1
  187. package/lib/cloudflare/email-address.js +6 -6
  188. package/lib/cloudflare/email-address.js.map +1 -1
  189. package/lib/cloudflare/email-catch-all.d.ts +1 -2
  190. package/lib/cloudflare/email-catch-all.d.ts.map +1 -1
  191. package/lib/cloudflare/email-catch-all.js +4 -4
  192. package/lib/cloudflare/email-catch-all.js.map +1 -1
  193. package/lib/cloudflare/email-routing.d.ts +1 -2
  194. package/lib/cloudflare/email-routing.d.ts.map +1 -1
  195. package/lib/cloudflare/email-routing.js +4 -4
  196. package/lib/cloudflare/email-routing.js.map +1 -1
  197. package/lib/cloudflare/email-rule.d.ts +1 -2
  198. package/lib/cloudflare/email-rule.d.ts.map +1 -1
  199. package/lib/cloudflare/email-rule.js +4 -4
  200. package/lib/cloudflare/email-rule.js.map +1 -1
  201. package/lib/cloudflare/hyperdrive.d.ts +1 -2
  202. package/lib/cloudflare/hyperdrive.d.ts.map +1 -1
  203. package/lib/cloudflare/hyperdrive.js +4 -4
  204. package/lib/cloudflare/hyperdrive.js.map +1 -1
  205. package/lib/cloudflare/index.d.ts +1 -0
  206. package/lib/cloudflare/index.d.ts.map +1 -1
  207. package/lib/cloudflare/index.js +1 -0
  208. package/lib/cloudflare/index.js.map +1 -1
  209. package/lib/cloudflare/kv-namespace.d.ts +2 -3
  210. package/lib/cloudflare/kv-namespace.d.ts.map +1 -1
  211. package/lib/cloudflare/kv-namespace.js +5 -5
  212. package/lib/cloudflare/kv-namespace.js.map +1 -1
  213. package/lib/cloudflare/miniflare/delete.js +1 -1
  214. package/lib/cloudflare/miniflare/delete.js.map +1 -1
  215. package/lib/cloudflare/miniflare/miniflare-worker-proxy.d.ts.map +1 -1
  216. package/lib/cloudflare/miniflare/miniflare-worker-proxy.js +2 -7
  217. package/lib/cloudflare/miniflare/miniflare-worker-proxy.js.map +1 -1
  218. package/lib/cloudflare/miniflare/remote-binding-proxy.d.ts.map +1 -1
  219. package/lib/cloudflare/miniflare/remote-binding-proxy.js +15 -4
  220. package/lib/cloudflare/miniflare/remote-binding-proxy.js.map +1 -1
  221. package/lib/cloudflare/next.js.map +1 -1
  222. package/lib/cloudflare/nuxt/nuxt.d.ts.map +1 -1
  223. package/lib/cloudflare/nuxt/nuxt.js +3 -3
  224. package/lib/cloudflare/nuxt/nuxt.js.map +1 -1
  225. package/lib/cloudflare/permission-groups.d.ts +1 -2
  226. package/lib/cloudflare/permission-groups.d.ts.map +1 -1
  227. package/lib/cloudflare/permission-groups.js +1 -1
  228. package/lib/cloudflare/permission-groups.js.map +1 -1
  229. package/lib/cloudflare/pipeline.d.ts +2 -3
  230. package/lib/cloudflare/pipeline.d.ts.map +1 -1
  231. package/lib/cloudflare/pipeline.js +5 -5
  232. package/lib/cloudflare/pipeline.js.map +1 -1
  233. package/lib/cloudflare/queue-consumer.d.ts +1 -2
  234. package/lib/cloudflare/queue-consumer.d.ts.map +1 -1
  235. package/lib/cloudflare/queue-consumer.js +4 -4
  236. package/lib/cloudflare/queue-consumer.js.map +1 -1
  237. package/lib/cloudflare/queue.d.ts +1 -2
  238. package/lib/cloudflare/queue.d.ts.map +1 -1
  239. package/lib/cloudflare/queue.js +4 -4
  240. package/lib/cloudflare/queue.js.map +1 -1
  241. package/lib/cloudflare/react-router/plugin.d.ts.map +1 -1
  242. package/lib/cloudflare/react-router/plugin.js +13 -0
  243. package/lib/cloudflare/react-router/plugin.js.map +1 -1
  244. package/lib/cloudflare/redirect-rule.d.ts +1 -2
  245. package/lib/cloudflare/redirect-rule.d.ts.map +1 -1
  246. package/lib/cloudflare/redirect-rule.js +4 -4
  247. package/lib/cloudflare/redirect-rule.js.map +1 -1
  248. package/lib/cloudflare/route.d.ts +1 -2
  249. package/lib/cloudflare/route.d.ts.map +1 -1
  250. package/lib/cloudflare/route.js +4 -4
  251. package/lib/cloudflare/route.js.map +1 -1
  252. package/lib/cloudflare/ruleset.d.ts +1 -2
  253. package/lib/cloudflare/ruleset.d.ts.map +1 -1
  254. package/lib/cloudflare/ruleset.js +2 -2
  255. package/lib/cloudflare/ruleset.js.map +1 -1
  256. package/lib/cloudflare/secret.d.ts +2 -3
  257. package/lib/cloudflare/secret.d.ts.map +1 -1
  258. package/lib/cloudflare/secret.js +3 -3
  259. package/lib/cloudflare/secret.js.map +1 -1
  260. package/lib/cloudflare/secrets-store.d.ts +2 -3
  261. package/lib/cloudflare/secrets-store.d.ts.map +1 -1
  262. package/lib/cloudflare/secrets-store.js +3 -3
  263. package/lib/cloudflare/secrets-store.js.map +1 -1
  264. package/lib/cloudflare/tunnel.d.ts +2 -3
  265. package/lib/cloudflare/tunnel.d.ts.map +1 -1
  266. package/lib/cloudflare/tunnel.js +3 -3
  267. package/lib/cloudflare/tunnel.js.map +1 -1
  268. package/lib/cloudflare/user.d.ts +3 -2
  269. package/lib/cloudflare/user.d.ts.map +1 -1
  270. package/lib/cloudflare/user.js +7 -5
  271. package/lib/cloudflare/user.js.map +1 -1
  272. package/lib/cloudflare/vectorize-index.d.ts +2 -3
  273. package/lib/cloudflare/vectorize-index.d.ts.map +1 -1
  274. package/lib/cloudflare/vectorize-index.js +6 -6
  275. package/lib/cloudflare/vectorize-index.js.map +1 -1
  276. package/lib/cloudflare/vectorize-metadata-index.d.ts +2 -3
  277. package/lib/cloudflare/vectorize-metadata-index.d.ts.map +1 -1
  278. package/lib/cloudflare/vectorize-metadata-index.js +4 -4
  279. package/lib/cloudflare/vectorize-metadata-index.js.map +1 -1
  280. package/lib/cloudflare/vite/vite.d.ts.map +1 -1
  281. package/lib/cloudflare/vite/vite.js +3 -3
  282. package/lib/cloudflare/vite/vite.js.map +1 -1
  283. package/lib/cloudflare/website.d.ts +7 -1
  284. package/lib/cloudflare/website.d.ts.map +1 -1
  285. package/lib/cloudflare/website.js +20 -2
  286. package/lib/cloudflare/website.js.map +1 -1
  287. package/lib/cloudflare/worker-assets.d.ts +1 -29
  288. package/lib/cloudflare/worker-assets.d.ts.map +1 -1
  289. package/lib/cloudflare/worker-assets.js +9 -42
  290. package/lib/cloudflare/worker-assets.js.map +1 -1
  291. package/lib/cloudflare/worker-stub.d.ts +2 -3
  292. package/lib/cloudflare/worker-stub.d.ts.map +1 -1
  293. package/lib/cloudflare/worker-stub.js +3 -3
  294. package/lib/cloudflare/worker-stub.js.map +1 -1
  295. package/lib/cloudflare/worker-subdomain.d.ts +4 -3
  296. package/lib/cloudflare/worker-subdomain.d.ts.map +1 -1
  297. package/lib/cloudflare/worker-subdomain.js +5 -5
  298. package/lib/cloudflare/worker-subdomain.js.map +1 -1
  299. package/lib/cloudflare/worker.d.ts +3 -4
  300. package/lib/cloudflare/worker.d.ts.map +1 -1
  301. package/lib/cloudflare/worker.js +6 -5
  302. package/lib/cloudflare/worker.js.map +1 -1
  303. package/lib/cloudflare/wrangler.json.d.ts +27 -8
  304. package/lib/cloudflare/wrangler.json.d.ts.map +1 -1
  305. package/lib/cloudflare/wrangler.json.js +3 -1
  306. package/lib/cloudflare/wrangler.json.js.map +1 -1
  307. package/lib/cloudflare/zone.d.ts +1 -2
  308. package/lib/cloudflare/zone.d.ts.map +1 -1
  309. package/lib/cloudflare/zone.js +2 -2
  310. package/lib/cloudflare/zone.js.map +1 -1
  311. package/lib/context.d.ts +8 -8
  312. package/lib/context.d.ts.map +1 -1
  313. package/lib/context.js.map +1 -1
  314. package/lib/destroy.d.ts +1 -1
  315. package/lib/destroy.d.ts.map +1 -1
  316. package/lib/destroy.js.map +1 -1
  317. package/lib/dns/import-dns.d.ts +1 -2
  318. package/lib/dns/import-dns.d.ts.map +1 -1
  319. package/lib/dns/import-dns.js +2 -2
  320. package/lib/dns/import-dns.js.map +1 -1
  321. package/lib/docker/container.d.ts +1 -2
  322. package/lib/docker/container.d.ts.map +1 -1
  323. package/lib/docker/container.js +2 -3
  324. package/lib/docker/container.js.map +1 -1
  325. package/lib/docker/image.d.ts +1 -2
  326. package/lib/docker/image.d.ts.map +1 -1
  327. package/lib/docker/image.js +9 -9
  328. package/lib/docker/image.js.map +1 -1
  329. package/lib/docker/network.d.ts +1 -2
  330. package/lib/docker/network.d.ts.map +1 -1
  331. package/lib/docker/network.js +2 -3
  332. package/lib/docker/network.js.map +1 -1
  333. package/lib/docker/remote-image.d.ts +1 -2
  334. package/lib/docker/remote-image.d.ts.map +1 -1
  335. package/lib/docker/remote-image.js +2 -3
  336. package/lib/docker/remote-image.js.map +1 -1
  337. package/lib/docker/volume.d.ts +1 -2
  338. package/lib/docker/volume.d.ts.map +1 -1
  339. package/lib/docker/volume.js +2 -3
  340. package/lib/docker/volume.js.map +1 -1
  341. package/lib/esbuild/bundle.d.ts +1 -2
  342. package/lib/esbuild/bundle.d.ts.map +1 -1
  343. package/lib/esbuild/bundle.js +4 -4
  344. package/lib/esbuild/bundle.js.map +1 -1
  345. package/lib/fs/copy-file.d.ts +1 -2
  346. package/lib/fs/copy-file.d.ts.map +1 -1
  347. package/lib/fs/copy-file.js +2 -2
  348. package/lib/fs/copy-file.js.map +1 -1
  349. package/lib/fs/file.d.ts +1 -2
  350. package/lib/fs/file.d.ts.map +1 -1
  351. package/lib/fs/file.js +2 -2
  352. package/lib/fs/file.js.map +1 -1
  353. package/lib/fs/folder.d.ts +1 -2
  354. package/lib/fs/folder.d.ts.map +1 -1
  355. package/lib/fs/folder.js +2 -2
  356. package/lib/fs/folder.js.map +1 -1
  357. package/lib/github/comment.d.ts +1 -2
  358. package/lib/github/comment.d.ts.map +1 -1
  359. package/lib/github/comment.js +4 -4
  360. package/lib/github/comment.js.map +1 -1
  361. package/lib/github/repository-environment.d.ts +1 -2
  362. package/lib/github/repository-environment.d.ts.map +1 -1
  363. package/lib/github/repository-environment.js +2 -2
  364. package/lib/github/repository-environment.js.map +1 -1
  365. package/lib/github/repository-webhook.d.ts +1 -2
  366. package/lib/github/repository-webhook.d.ts.map +1 -1
  367. package/lib/github/repository-webhook.js +2 -2
  368. package/lib/github/repository-webhook.js.map +1 -1
  369. package/lib/github/secret.d.ts +1 -2
  370. package/lib/github/secret.d.ts.map +1 -1
  371. package/lib/github/secret.js +2 -2
  372. package/lib/github/secret.js.map +1 -1
  373. package/lib/llms.cloudflare.txt +2 -2
  374. package/lib/neon/api/client.gen.d.ts +13 -0
  375. package/lib/neon/api/client.gen.d.ts.map +1 -0
  376. package/lib/neon/api/client.gen.js +7 -0
  377. package/lib/neon/api/client.gen.js.map +1 -0
  378. package/lib/neon/api/sdk.gen.d.ts +880 -0
  379. package/lib/neon/api/sdk.gen.d.ts.map +1 -0
  380. package/lib/neon/api/sdk.gen.js +1527 -0
  381. package/lib/neon/api/sdk.gen.js.map +1 -0
  382. package/lib/neon/api/types.gen.d.ts +7250 -0
  383. package/lib/neon/api/types.gen.d.ts.map +1 -0
  384. package/lib/neon/api/types.gen.js +2 -0
  385. package/lib/neon/api/types.gen.js.map +1 -0
  386. package/lib/neon/api.d.ts +14 -49
  387. package/lib/neon/api.d.ts.map +1 -1
  388. package/lib/neon/api.js +36 -114
  389. package/lib/neon/api.js.map +1 -1
  390. package/lib/neon/branch.d.ts +157 -0
  391. package/lib/neon/branch.d.ts.map +1 -0
  392. package/lib/neon/branch.js +112 -0
  393. package/lib/neon/branch.js.map +1 -0
  394. package/lib/neon/index.d.ts +1 -1
  395. package/lib/neon/index.d.ts.map +1 -1
  396. package/lib/neon/index.js +1 -1
  397. package/lib/neon/index.js.map +1 -1
  398. package/lib/neon/project.d.ts +49 -243
  399. package/lib/neon/project.d.ts.map +1 -1
  400. package/lib/neon/project.js +90 -269
  401. package/lib/neon/project.js.map +1 -1
  402. package/lib/neon/utils.d.ts +49 -0
  403. package/lib/neon/utils.d.ts.map +1 -0
  404. package/lib/neon/utils.js +44 -0
  405. package/lib/neon/utils.js.map +1 -0
  406. package/lib/os/exec.d.ts +1 -2
  407. package/lib/os/exec.d.ts.map +1 -1
  408. package/lib/os/exec.js +2 -2
  409. package/lib/os/exec.js.map +1 -1
  410. package/lib/planetscale/api/client.gen.d.ts +12 -1749
  411. package/lib/planetscale/api/client.gen.d.ts.map +1 -1
  412. package/lib/planetscale/api/client.gen.js +6 -2400
  413. package/lib/planetscale/api/client.gen.js.map +1 -1
  414. package/lib/planetscale/api/sdk.gen.d.ts +1582 -0
  415. package/lib/planetscale/api/sdk.gen.d.ts.map +1 -0
  416. package/lib/planetscale/api/sdk.gen.js +2219 -0
  417. package/lib/planetscale/api/sdk.gen.js.map +1 -0
  418. package/lib/planetscale/api/types.gen.d.ts +594 -449
  419. package/lib/planetscale/api/types.gen.d.ts.map +1 -1
  420. package/lib/planetscale/api.d.ts +43 -0
  421. package/lib/planetscale/api.d.ts.map +1 -0
  422. package/lib/planetscale/api.js +53 -0
  423. package/lib/planetscale/api.js.map +1 -0
  424. package/lib/planetscale/branch.d.ts +2 -3
  425. package/lib/planetscale/branch.d.ts.map +1 -1
  426. package/lib/planetscale/branch.js +17 -15
  427. package/lib/planetscale/branch.js.map +1 -1
  428. package/lib/planetscale/database.d.ts +2 -3
  429. package/lib/planetscale/database.d.ts.map +1 -1
  430. package/lib/planetscale/database.js +34 -34
  431. package/lib/planetscale/database.js.map +1 -1
  432. package/lib/planetscale/index.d.ts +1 -1
  433. package/lib/planetscale/index.d.ts.map +1 -1
  434. package/lib/planetscale/index.js +1 -1
  435. package/lib/planetscale/index.js.map +1 -1
  436. package/lib/planetscale/password.d.ts +2 -3
  437. package/lib/planetscale/password.d.ts.map +1 -1
  438. package/lib/planetscale/password.js +11 -11
  439. package/lib/planetscale/password.js.map +1 -1
  440. package/lib/planetscale/role.d.ts +2 -3
  441. package/lib/planetscale/role.d.ts.map +1 -1
  442. package/lib/planetscale/role.js +18 -18
  443. package/lib/planetscale/role.js.map +1 -1
  444. package/lib/planetscale/utils.d.ts +1 -1
  445. package/lib/planetscale/utils.d.ts.map +1 -1
  446. package/lib/planetscale/utils.js +17 -33
  447. package/lib/planetscale/utils.js.map +1 -1
  448. package/lib/random/random-string.d.ts +1 -2
  449. package/lib/random/random-string.d.ts.map +1 -1
  450. package/lib/random/random-string.js +3 -3
  451. package/lib/random/random-string.js.map +1 -1
  452. package/lib/resource.d.ts +4 -1
  453. package/lib/resource.d.ts.map +1 -1
  454. package/lib/resource.js.map +1 -1
  455. package/lib/sentry/client-key.d.ts +1 -2
  456. package/lib/sentry/client-key.d.ts.map +1 -1
  457. package/lib/sentry/client-key.js +2 -2
  458. package/lib/sentry/client-key.js.map +1 -1
  459. package/lib/sentry/project.d.ts +1 -2
  460. package/lib/sentry/project.d.ts.map +1 -1
  461. package/lib/sentry/project.js +2 -2
  462. package/lib/sentry/project.js.map +1 -1
  463. package/lib/sentry/team.d.ts +1 -2
  464. package/lib/sentry/team.d.ts.map +1 -1
  465. package/lib/sentry/team.js +2 -2
  466. package/lib/sentry/team.js.map +1 -1
  467. package/lib/serde.d.ts +3 -0
  468. package/lib/serde.d.ts.map +1 -1
  469. package/lib/serde.js +40 -0
  470. package/lib/serde.js.map +1 -1
  471. package/lib/state/r2-rest-state-store.d.ts +1 -0
  472. package/lib/state/r2-rest-state-store.d.ts.map +1 -1
  473. package/lib/state/r2-rest-state-store.js +15 -34
  474. package/lib/state/r2-rest-state-store.js.map +1 -1
  475. package/lib/stripe/card.d.ts +1 -2
  476. package/lib/stripe/card.d.ts.map +1 -1
  477. package/lib/stripe/card.js +2 -2
  478. package/lib/stripe/card.js.map +1 -1
  479. package/lib/stripe/coupon.d.ts +1 -2
  480. package/lib/stripe/coupon.d.ts.map +1 -1
  481. package/lib/stripe/coupon.js +2 -2
  482. package/lib/stripe/coupon.js.map +1 -1
  483. package/lib/stripe/customer.d.ts +1 -2
  484. package/lib/stripe/customer.d.ts.map +1 -1
  485. package/lib/stripe/customer.js +2 -2
  486. package/lib/stripe/customer.js.map +1 -1
  487. package/lib/stripe/entitlements-feature.d.ts +1 -2
  488. package/lib/stripe/entitlements-feature.d.ts.map +1 -1
  489. package/lib/stripe/entitlements-feature.js +2 -2
  490. package/lib/stripe/entitlements-feature.js.map +1 -1
  491. package/lib/stripe/file.d.ts +1 -2
  492. package/lib/stripe/file.d.ts.map +1 -1
  493. package/lib/stripe/file.js +2 -2
  494. package/lib/stripe/file.js.map +1 -1
  495. package/lib/stripe/meter.d.ts +1 -2
  496. package/lib/stripe/meter.d.ts.map +1 -1
  497. package/lib/stripe/meter.js +1 -1
  498. package/lib/stripe/meter.js.map +1 -1
  499. package/lib/stripe/portal-configuration.d.ts +1 -2
  500. package/lib/stripe/portal-configuration.d.ts.map +1 -1
  501. package/lib/stripe/portal-configuration.js +2 -2
  502. package/lib/stripe/portal-configuration.js.map +1 -1
  503. package/lib/stripe/price.d.ts +1 -2
  504. package/lib/stripe/price.d.ts.map +1 -1
  505. package/lib/stripe/price.js +2 -2
  506. package/lib/stripe/price.js.map +1 -1
  507. package/lib/stripe/product-feature.d.ts +1 -2
  508. package/lib/stripe/product-feature.d.ts.map +1 -1
  509. package/lib/stripe/product-feature.js +2 -2
  510. package/lib/stripe/product-feature.js.map +1 -1
  511. package/lib/stripe/product.d.ts +1 -2
  512. package/lib/stripe/product.d.ts.map +1 -1
  513. package/lib/stripe/product.js +2 -2
  514. package/lib/stripe/product.js.map +1 -1
  515. package/lib/stripe/promotion-code.d.ts +1 -2
  516. package/lib/stripe/promotion-code.d.ts.map +1 -1
  517. package/lib/stripe/promotion-code.js +2 -2
  518. package/lib/stripe/promotion-code.js.map +1 -1
  519. package/lib/stripe/shipping-rate.d.ts +1 -2
  520. package/lib/stripe/shipping-rate.d.ts.map +1 -1
  521. package/lib/stripe/shipping-rate.js +2 -2
  522. package/lib/stripe/shipping-rate.js.map +1 -1
  523. package/lib/stripe/tax-rate.d.ts +1 -2
  524. package/lib/stripe/tax-rate.d.ts.map +1 -1
  525. package/lib/stripe/tax-rate.js +2 -2
  526. package/lib/stripe/tax-rate.js.map +1 -1
  527. package/lib/stripe/webhook.d.ts +16 -3
  528. package/lib/stripe/webhook.d.ts.map +1 -1
  529. package/lib/stripe/webhook.js +2 -2
  530. package/lib/stripe/webhook.js.map +1 -1
  531. package/lib/test/bun.d.ts.map +1 -1
  532. package/lib/test/bun.js +1 -0
  533. package/lib/test/bun.js.map +1 -1
  534. package/lib/test/options.d.ts +5 -0
  535. package/lib/test/options.d.ts.map +1 -1
  536. package/lib/test/vitest.d.ts.map +1 -1
  537. package/lib/test/vitest.js +1 -0
  538. package/lib/test/vitest.js.map +1 -1
  539. package/lib/upstash/redis.d.ts +1 -2
  540. package/lib/upstash/redis.d.ts.map +1 -1
  541. package/lib/upstash/redis.js.map +1 -1
  542. package/lib/util/api/client/client.gen.d.ts +3 -0
  543. package/lib/util/api/client/client.gen.d.ts.map +1 -0
  544. package/lib/util/api/client/client.gen.js +205 -0
  545. package/lib/util/api/client/client.gen.js.map +1 -0
  546. package/lib/util/api/client/index.d.ts +8 -0
  547. package/lib/util/api/client/index.d.ts.map +1 -0
  548. package/lib/util/api/client/index.js +6 -0
  549. package/lib/util/api/client/index.js.map +1 -0
  550. package/lib/util/api/client/types.gen.d.ts +125 -0
  551. package/lib/util/api/client/types.gen.d.ts.map +1 -0
  552. package/lib/util/api/client/types.gen.js +2 -0
  553. package/lib/util/api/client/types.gen.js.map +1 -0
  554. package/lib/util/api/client/utils.gen.d.ts +34 -0
  555. package/lib/util/api/client/utils.gen.d.ts.map +1 -0
  556. package/lib/util/api/client/utils.gen.js +231 -0
  557. package/lib/util/api/client/utils.gen.js.map +1 -0
  558. package/lib/util/api/core/auth.gen.d.ts +19 -0
  559. package/lib/util/api/core/auth.gen.d.ts.map +1 -0
  560. package/lib/util/api/core/auth.gen.js +15 -0
  561. package/lib/util/api/core/auth.gen.js.map +1 -0
  562. package/lib/util/api/core/bodySerializer.gen.d.ts +18 -0
  563. package/lib/util/api/core/bodySerializer.gen.d.ts.map +1 -0
  564. package/lib/util/api/core/bodySerializer.gen.js +58 -0
  565. package/lib/util/api/core/bodySerializer.gen.js.map +1 -0
  566. package/lib/util/api/core/params.gen.d.ts +34 -0
  567. package/lib/util/api/core/params.gen.d.ts.map +1 -0
  568. package/lib/util/api/core/params.gen.js +89 -0
  569. package/lib/util/api/core/params.gen.js.map +1 -0
  570. package/lib/util/api/core/pathSerializer.gen.d.ts +34 -0
  571. package/lib/util/api/core/pathSerializer.gen.d.ts.map +1 -0
  572. package/lib/util/api/core/pathSerializer.gen.js +115 -0
  573. package/lib/util/api/core/pathSerializer.gen.js.map +1 -0
  574. package/lib/util/api/core/serverSentEvents.gen.d.ts +72 -0
  575. package/lib/util/api/core/serverSentEvents.gen.d.ts.map +1 -0
  576. package/lib/util/api/core/serverSentEvents.gen.js +136 -0
  577. package/lib/util/api/core/serverSentEvents.gen.js.map +1 -0
  578. package/lib/util/api/core/types.gen.d.ts +79 -0
  579. package/lib/util/api/core/types.gen.d.ts.map +1 -0
  580. package/lib/util/api/core/types.gen.js +2 -0
  581. package/lib/util/api/core/types.gen.js.map +1 -0
  582. package/lib/util/api/core/utils.gen.d.ts +20 -0
  583. package/lib/util/api/core/utils.gen.d.ts.map +1 -0
  584. package/lib/util/api/core/utils.gen.js +88 -0
  585. package/lib/util/api/core/utils.gen.js.map +1 -0
  586. package/lib/util/http.d.ts +7 -2
  587. package/lib/util/http.d.ts.map +1 -1
  588. package/lib/util/http.js +29 -11
  589. package/lib/util/http.js.map +1 -1
  590. package/lib/util/lock.d.ts +20 -0
  591. package/lib/util/lock.d.ts.map +1 -0
  592. package/lib/util/lock.js +45 -0
  593. package/lib/util/lock.js.map +1 -0
  594. package/lib/util/memoize.d.ts +6 -0
  595. package/lib/util/memoize.d.ts.map +1 -1
  596. package/lib/util/memoize.js +23 -0
  597. package/lib/util/memoize.js.map +1 -1
  598. package/lib/util/oauth-client.d.ts +71 -0
  599. package/lib/util/oauth-client.d.ts.map +1 -0
  600. package/lib/util/oauth-client.js +188 -0
  601. package/lib/util/oauth-client.js.map +1 -0
  602. package/lib/util/poll.d.ts +33 -0
  603. package/lib/util/poll.d.ts.map +1 -0
  604. package/lib/util/poll.js +19 -0
  605. package/lib/util/poll.js.map +1 -0
  606. package/lib/vercel/project-domain.d.ts +1 -2
  607. package/lib/vercel/project-domain.d.ts.map +1 -1
  608. package/lib/vercel/project-domain.js.map +1 -1
  609. package/lib/vercel/project.d.ts +1 -2
  610. package/lib/vercel/project.d.ts.map +1 -1
  611. package/lib/vercel/project.js +2 -2
  612. package/lib/vercel/project.js.map +1 -1
  613. package/package.json +5 -1
  614. package/src/apply.ts +32 -29
  615. package/src/auth.ts +253 -0
  616. package/src/aws/bucket.ts +3 -3
  617. package/src/aws/control/properties.ts +554 -39
  618. package/src/aws/control/resource.ts +62 -6
  619. package/src/aws/control/types.ts +85281 -84914
  620. package/src/aws/control/update-types.ts +12917 -0
  621. package/src/aws/ec2/internet-gateway-attachment.ts +5 -6
  622. package/src/aws/ec2/internet-gateway.ts +3 -5
  623. package/src/aws/ec2/nat-gateway.ts +3 -5
  624. package/src/aws/ec2/route-table-association.ts +3 -5
  625. package/src/aws/ec2/route-table.ts +3 -5
  626. package/src/aws/ec2/route.ts +3 -3
  627. package/src/aws/ec2/security-group-rule.ts +3 -5
  628. package/src/aws/ec2/security-group.ts +3 -5
  629. package/src/aws/ec2/subnet.ts +3 -3
  630. package/src/aws/ec2/vpc.ts +3 -3
  631. package/src/aws/function.ts +3 -3
  632. package/src/aws/oidc/oidc-provider.ts +3 -5
  633. package/src/aws/policy-attachment.ts +2 -4
  634. package/src/aws/policy.ts +5 -5
  635. package/src/aws/queue.ts +5 -5
  636. package/src/aws/role.ts +3 -3
  637. package/src/aws/ses.ts +3 -3
  638. package/src/aws/ssm-parameter.ts +3 -3
  639. package/src/aws/table.ts +3 -3
  640. package/src/cloudflare/account-api-token.ts +3 -4
  641. package/src/cloudflare/ai-gateway.ts +3 -5
  642. package/src/cloudflare/api-gateway-operation.ts +3 -4
  643. package/src/cloudflare/api-schema.ts +25 -26
  644. package/src/cloudflare/api-shield.ts +3 -4
  645. package/src/cloudflare/api.ts +121 -57
  646. package/src/cloudflare/assets.ts +95 -136
  647. package/src/cloudflare/astro/astro.ts +8 -3
  648. package/src/cloudflare/auth.ts +160 -95
  649. package/src/cloudflare/bound.ts +1 -1
  650. package/src/cloudflare/bucket-object.ts +117 -0
  651. package/src/cloudflare/bucket.ts +452 -55
  652. package/src/cloudflare/bundle/plugin-wasm.ts +5 -5
  653. package/src/cloudflare/certificate-pack.ts +5 -6
  654. package/src/cloudflare/compatibility-date.gen.ts +1 -1
  655. package/src/cloudflare/container.ts +9 -11
  656. package/src/cloudflare/custom-domain.ts +3 -5
  657. package/src/cloudflare/d1-database.ts +33 -34
  658. package/src/cloudflare/dispatch-namespace.ts +5 -6
  659. package/src/cloudflare/dns-records.ts +5 -5
  660. package/src/cloudflare/email-address.ts +7 -7
  661. package/src/cloudflare/email-catch-all.ts +6 -6
  662. package/src/cloudflare/email-routing.ts +5 -5
  663. package/src/cloudflare/email-rule.ts +5 -5
  664. package/src/cloudflare/hyperdrive.ts +35 -36
  665. package/src/cloudflare/index.ts +1 -0
  666. package/src/cloudflare/kv-namespace.ts +31 -32
  667. package/src/cloudflare/miniflare/delete.ts +1 -1
  668. package/src/cloudflare/miniflare/miniflare-worker-proxy.ts +2 -7
  669. package/src/cloudflare/miniflare/remote-binding-proxy.ts +16 -4
  670. package/src/cloudflare/next.ts +2 -2
  671. package/src/cloudflare/nuxt/nuxt.ts +8 -3
  672. package/src/cloudflare/permission-groups.ts +4 -6
  673. package/src/cloudflare/pipeline.ts +29 -30
  674. package/src/cloudflare/queue-consumer.ts +5 -7
  675. package/src/cloudflare/queue.ts +42 -43
  676. package/src/cloudflare/react-router/plugin.ts +20 -0
  677. package/src/cloudflare/redirect-rule.ts +5 -5
  678. package/src/cloudflare/route.ts +5 -5
  679. package/src/cloudflare/ruleset.ts +3 -4
  680. package/src/cloudflare/secret.ts +35 -36
  681. package/src/cloudflare/secrets-store.ts +5 -8
  682. package/src/cloudflare/tunnel.ts +5 -7
  683. package/src/cloudflare/user.ts +12 -9
  684. package/src/cloudflare/vectorize-index.ts +8 -12
  685. package/src/cloudflare/vectorize-metadata-index.ts +6 -8
  686. package/src/cloudflare/vite/vite.ts +8 -3
  687. package/src/cloudflare/website.ts +29 -3
  688. package/src/cloudflare/worker-assets.ts +10 -56
  689. package/src/cloudflare/worker-stub.ts +5 -5
  690. package/src/cloudflare/worker-subdomain.ts +6 -7
  691. package/src/cloudflare/worker.ts +91 -91
  692. package/src/cloudflare/wrangler.json.ts +32 -17
  693. package/src/cloudflare/zone.ts +3 -3
  694. package/src/context.ts +9 -7
  695. package/src/destroy.ts +2 -2
  696. package/src/dns/import-dns.ts +3 -5
  697. package/src/docker/container.ts +3 -6
  698. package/src/docker/image.ts +13 -13
  699. package/src/docker/network.ts +3 -4
  700. package/src/docker/remote-image.ts +3 -6
  701. package/src/docker/volume.ts +3 -4
  702. package/src/esbuild/bundle.ts +10 -8
  703. package/src/fs/copy-file.ts +3 -3
  704. package/src/fs/file.ts +3 -3
  705. package/src/fs/folder.ts +3 -3
  706. package/src/github/comment.ts +5 -7
  707. package/src/github/repository-environment.ts +3 -5
  708. package/src/github/repository-webhook.ts +3 -5
  709. package/src/github/secret.ts +3 -5
  710. package/src/llms.cloudflare.txt +2 -2
  711. package/src/neon/api/client.gen.ts +28 -0
  712. package/src/neon/api/sdk.gen.ts +2596 -0
  713. package/src/neon/api/types.gen.ts +8287 -0
  714. package/src/neon/api.ts +51 -147
  715. package/src/neon/branch.ts +279 -0
  716. package/src/neon/index.ts +1 -1
  717. package/src/neon/project.ts +136 -721
  718. package/src/neon/utils.ts +105 -0
  719. package/src/os/exec.ts +3 -3
  720. package/src/planetscale/api/client.gen.ts +28 -2882
  721. package/src/planetscale/api/sdk.gen.ts +3336 -0
  722. package/src/planetscale/api/types.gen.ts +778 -450
  723. package/src/planetscale/api.ts +101 -0
  724. package/src/planetscale/branch.ts +20 -19
  725. package/src/planetscale/database.ts +69 -70
  726. package/src/planetscale/index.ts +1 -1
  727. package/src/planetscale/password.ts +18 -22
  728. package/src/planetscale/role.ts +21 -21
  729. package/src/planetscale/utils.ts +20 -74
  730. package/src/random/random-string.ts +4 -4
  731. package/src/resource.ts +6 -2
  732. package/src/sentry/client-key.ts +3 -5
  733. package/src/sentry/project.ts +3 -5
  734. package/src/sentry/team.ts +3 -3
  735. package/src/serde.ts +50 -0
  736. package/src/state/r2-rest-state-store.ts +15 -57
  737. package/src/stripe/card.ts +3 -3
  738. package/src/stripe/coupon.ts +3 -3
  739. package/src/stripe/customer.ts +3 -3
  740. package/src/stripe/entitlements-feature.ts +3 -5
  741. package/src/stripe/file.ts +3 -3
  742. package/src/stripe/meter.ts +3 -3
  743. package/src/stripe/portal-configuration.ts +3 -5
  744. package/src/stripe/price.ts +3 -3
  745. package/src/stripe/product-feature.ts +3 -5
  746. package/src/stripe/product.ts +3 -3
  747. package/src/stripe/promotion-code.ts +3 -5
  748. package/src/stripe/shipping-rate.ts +3 -5
  749. package/src/stripe/tax-rate.ts +3 -3
  750. package/src/stripe/webhook.ts +3 -5
  751. package/src/test/bun.ts +2 -1
  752. package/src/test/options.ts +6 -0
  753. package/src/test/vitest.ts +1 -0
  754. package/src/upstash/redis.ts +1 -3
  755. package/src/util/api/client/client.gen.ts +268 -0
  756. package/src/util/api/client/index.ts +25 -0
  757. package/src/util/api/client/types.gen.ts +268 -0
  758. package/src/util/api/client/utils.gen.ts +331 -0
  759. package/src/util/api/core/auth.gen.ts +42 -0
  760. package/src/util/api/core/bodySerializer.gen.ts +92 -0
  761. package/src/util/api/core/params.gen.ts +153 -0
  762. package/src/util/api/core/pathSerializer.gen.ts +181 -0
  763. package/src/util/api/core/serverSentEvents.gen.ts +264 -0
  764. package/src/util/api/core/types.gen.ts +118 -0
  765. package/src/util/api/core/utils.gen.ts +143 -0
  766. package/src/util/http.ts +38 -11
  767. package/src/util/lock.ts +48 -0
  768. package/src/util/memoize.ts +26 -0
  769. package/src/util/oauth-client.ts +238 -0
  770. package/src/util/poll.ts +55 -0
  771. package/src/vercel/project-domain.ts +1 -3
  772. package/src/vercel/project.ts +3 -3
  773. package/templates/rwsdk/.cursor/rules/alchemy_cloudflare.mdc +2 -2
  774. package/workers/cloudflare-state-store.js +8 -5619
  775. package/workers/dofs-state-store.js +2 -802
  776. package/workers/remote-binding-proxy.js +3 -39
  777. package/workers/remote-binding-proxy.ts +126 -35
  778. package/workers/tunnel-proxy.js +6 -73
  779. package/lib/cloudflare/asset-manifest.d.ts +0 -15
  780. package/lib/cloudflare/asset-manifest.d.ts.map +0 -1
  781. package/lib/cloudflare/asset-manifest.js +0 -1
  782. package/lib/cloudflare/asset-manifest.js.map +0 -1
  783. package/lib/cloudflare/oauth.d.ts +0 -22
  784. package/lib/cloudflare/oauth.d.ts.map +0 -1
  785. package/lib/cloudflare/oauth.js +0 -214
  786. package/lib/cloudflare/oauth.js.map +0 -1
  787. package/lib/neon/api-error.d.ts +0 -31
  788. package/lib/neon/api-error.d.ts.map +0 -1
  789. package/lib/neon/api-error.js +0 -73
  790. package/lib/neon/api-error.js.map +0 -1
  791. package/lib/planetscale/api/index.d.ts +0 -3
  792. package/lib/planetscale/api/index.d.ts.map +0 -1
  793. package/lib/planetscale/api/index.js +0 -4
  794. package/lib/planetscale/api/index.js.map +0 -1
  795. package/lib/util/neverthrow.d.ts +0 -16
  796. package/lib/util/neverthrow.d.ts.map +0 -1
  797. package/lib/util/neverthrow.js +0 -46
  798. package/lib/util/neverthrow.js.map +0 -1
  799. package/src/cloudflare/asset-manifest.ts +0 -16
  800. package/src/cloudflare/oauth.ts +0 -301
  801. package/src/neon/api-error.ts +0 -81
  802. package/src/planetscale/api/index.ts +0 -4
  803. package/src/util/neverthrow.ts +0 -64
@@ -1,5 +1,9 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
+ export type ClientOptions = {
4
+ baseUrl: "https://api.planetscale.com/v1" | (string & {});
5
+ };
6
+
3
7
  export type PaginatedBackup = {
4
8
  /**
5
9
  * The current page number
@@ -465,9 +469,9 @@ export type PaginatedPostgresClusterResizeRequest = {
465
469
  */
466
470
  id: string;
467
471
  /**
468
- * The process requiring a restart when changes are applied
472
+ * The ports requiring a restart when changes are applied
469
473
  */
470
- restart: string;
474
+ restart: Array<number>;
471
475
  /**
472
476
  * The state of the branch change request
473
477
  */
@@ -550,6 +554,10 @@ export type PaginatedPostgresClusterResizeRequest = {
550
554
  * Whether storage autoscaling is enabled
551
555
  */
552
556
  storage_autoscaling: boolean;
557
+ /**
558
+ * Whether storage shrinking is enabled when autoscaling is enabled
559
+ */
560
+ storage_shrinking: boolean;
553
561
  /**
554
562
  * The storage type (gp3 or io2)
555
563
  */
@@ -574,6 +582,10 @@ export type PaginatedPostgresClusterResizeRequest = {
574
582
  * Whether storage autoscaling was previously enabled
575
583
  */
576
584
  previous_storage_autoscaling: boolean;
585
+ /**
586
+ * Whether storage shrinking was previously enabled
587
+ */
588
+ previous_storage_shrinking: boolean;
577
589
  /**
578
590
  * The previous storage type
579
591
  */
@@ -595,9 +607,9 @@ export type PostgresClusterResizeRequest = {
595
607
  */
596
608
  id: string;
597
609
  /**
598
- * The process requiring a restart when changes are applied
610
+ * The ports requiring a restart when changes are applied
599
611
  */
600
- restart: string;
612
+ restart: Array<number>;
601
613
  /**
602
614
  * The state of the branch change request
603
615
  */
@@ -680,6 +692,10 @@ export type PostgresClusterResizeRequest = {
680
692
  * Whether storage autoscaling is enabled
681
693
  */
682
694
  storage_autoscaling: boolean;
695
+ /**
696
+ * Whether storage shrinking is enabled when autoscaling is enabled
697
+ */
698
+ storage_shrinking: boolean;
683
699
  /**
684
700
  * The storage type (gp3 or io2)
685
701
  */
@@ -704,6 +720,10 @@ export type PostgresClusterResizeRequest = {
704
720
  * Whether storage autoscaling was previously enabled
705
721
  */
706
722
  previous_storage_autoscaling: boolean;
723
+ /**
724
+ * Whether storage shrinking was previously enabled
725
+ */
726
+ previous_storage_shrinking: boolean;
707
727
  /**
708
728
  * The previous storage type
709
729
  */
@@ -1252,7 +1272,7 @@ export type PostgresClusterExtension = {
1252
1272
  /**
1253
1273
  * The namespace of the parameter
1254
1274
  */
1255
- namespace: "patroni" | "pgconf" | "psbouncer";
1275
+ namespace: "patroni" | "pgconf" | "pgbouncer";
1256
1276
  /**
1257
1277
  * The category of the parameter
1258
1278
  */
@@ -1278,8 +1298,9 @@ export type PostgresClusterExtension = {
1278
1298
  | "float"
1279
1299
  | "integer"
1280
1300
  | "internal"
1281
- | "select"
1301
+ | "milliseconds"
1282
1302
  | "seconds"
1303
+ | "select"
1283
1304
  | "string";
1284
1305
  /**
1285
1306
  * The default value of the parameter
@@ -1358,7 +1379,7 @@ export type PostgresClusterParameter = {
1358
1379
  /**
1359
1380
  * The namespace of the parameter
1360
1381
  */
1361
- namespace: "patroni" | "pgconf" | "psbouncer";
1382
+ namespace: "patroni" | "pgconf" | "pgbouncer";
1362
1383
  /**
1363
1384
  * The category of the parameter
1364
1385
  */
@@ -1384,8 +1405,9 @@ export type PostgresClusterParameter = {
1384
1405
  | "float"
1385
1406
  | "integer"
1386
1407
  | "internal"
1387
- | "select"
1408
+ | "milliseconds"
1388
1409
  | "seconds"
1410
+ | "select"
1389
1411
  | "string";
1390
1412
  /**
1391
1413
  * The default value of the parameter
@@ -3612,6 +3634,14 @@ export type PaginatedPostgresRole = {
3612
3634
  * The database connection string
3613
3635
  */
3614
3636
  access_host_url: string;
3637
+ /**
3638
+ * The database connection string for private connections
3639
+ */
3640
+ private_access_host_url: string;
3641
+ /**
3642
+ * The service name to set up private connectivity
3643
+ */
3644
+ private_connection_service_name: string;
3615
3645
  /**
3616
3646
  * The database user name
3617
3647
  */
@@ -3729,6 +3759,14 @@ export type PostgresRole = {
3729
3759
  * The database connection string
3730
3760
  */
3731
3761
  access_host_url: string;
3762
+ /**
3763
+ * The database connection string for private connections
3764
+ */
3765
+ private_access_host_url: string;
3766
+ /**
3767
+ * The service name to set up private connectivity
3768
+ */
3769
+ private_connection_service_name: string;
3732
3770
  /**
3733
3771
  * The database user name
3734
3772
  */
@@ -7164,6 +7202,11 @@ export type PaginatedKeyspaceResizeRequest = {
7164
7202
  data: Array<KeyspaceResizeRequest>;
7165
7203
  };
7166
7204
 
7205
+ export type GeneralError = {
7206
+ code?: string;
7207
+ message?: string;
7208
+ };
7209
+
7167
7210
  export type ListOrganizationsData = {
7168
7211
  body?: never;
7169
7212
  path?: never;
@@ -7184,21 +7227,24 @@ export type ListOrganizationsErrors = {
7184
7227
  /**
7185
7228
  * Unauthorized
7186
7229
  */
7187
- 401: unknown;
7230
+ 401: GeneralError;
7188
7231
  /**
7189
7232
  * Forbidden
7190
7233
  */
7191
- 403: unknown;
7234
+ 403: GeneralError;
7192
7235
  /**
7193
7236
  * Not Found
7194
7237
  */
7195
- 404: unknown;
7238
+ 404: GeneralError;
7196
7239
  /**
7197
7240
  * Internal Server Error
7198
7241
  */
7199
- 500: unknown;
7242
+ 500: GeneralError;
7200
7243
  };
7201
7244
 
7245
+ export type ListOrganizationsError =
7246
+ ListOrganizationsErrors[keyof ListOrganizationsErrors];
7247
+
7202
7248
  export type ListOrganizationsResponses = {
7203
7249
  /**
7204
7250
  * Gets the organizations for the current user
@@ -7225,21 +7271,24 @@ export type GetOrganizationErrors = {
7225
7271
  /**
7226
7272
  * Unauthorized
7227
7273
  */
7228
- 401: unknown;
7274
+ 401: GeneralError;
7229
7275
  /**
7230
7276
  * Forbidden
7231
7277
  */
7232
- 403: unknown;
7278
+ 403: GeneralError;
7233
7279
  /**
7234
7280
  * Not Found
7235
7281
  */
7236
- 404: unknown;
7282
+ 404: GeneralError;
7237
7283
  /**
7238
7284
  * Internal Server Error
7239
7285
  */
7240
- 500: unknown;
7286
+ 500: GeneralError;
7241
7287
  };
7242
7288
 
7289
+ export type GetOrganizationError =
7290
+ GetOrganizationErrors[keyof GetOrganizationErrors];
7291
+
7243
7292
  export type GetOrganizationResponses = {
7244
7293
  /**
7245
7294
  * Returns an organization
@@ -7279,21 +7328,24 @@ export type UpdateOrganizationErrors = {
7279
7328
  /**
7280
7329
  * Unauthorized
7281
7330
  */
7282
- 401: unknown;
7331
+ 401: GeneralError;
7283
7332
  /**
7284
7333
  * Forbidden
7285
7334
  */
7286
- 403: unknown;
7335
+ 403: GeneralError;
7287
7336
  /**
7288
7337
  * Not Found
7289
7338
  */
7290
- 404: unknown;
7339
+ 404: GeneralError;
7291
7340
  /**
7292
7341
  * Internal Server Error
7293
7342
  */
7294
- 500: unknown;
7343
+ 500: GeneralError;
7295
7344
  };
7296
7345
 
7346
+ export type UpdateOrganizationError =
7347
+ UpdateOrganizationErrors[keyof UpdateOrganizationErrors];
7348
+
7297
7349
  export type UpdateOrganizationResponses = {
7298
7350
  /**
7299
7351
  * Returns the updated organization
@@ -7320,21 +7372,23 @@ export type ListAuditLogsErrors = {
7320
7372
  /**
7321
7373
  * Unauthorized
7322
7374
  */
7323
- 401: unknown;
7375
+ 401: GeneralError;
7324
7376
  /**
7325
7377
  * Forbidden
7326
7378
  */
7327
- 403: unknown;
7379
+ 403: GeneralError;
7328
7380
  /**
7329
7381
  * Not Found
7330
7382
  */
7331
- 404: unknown;
7383
+ 404: GeneralError;
7332
7384
  /**
7333
7385
  * Internal Server Error
7334
7386
  */
7335
- 500: unknown;
7387
+ 500: GeneralError;
7336
7388
  };
7337
7389
 
7390
+ export type ListAuditLogsError = ListAuditLogsErrors[keyof ListAuditLogsErrors];
7391
+
7338
7392
  export type ListAuditLogsResponses = {
7339
7393
  /**
7340
7394
  * Returns the audit log events
@@ -7370,21 +7424,24 @@ export type ListRegionsForOrganizationErrors = {
7370
7424
  /**
7371
7425
  * Unauthorized
7372
7426
  */
7373
- 401: unknown;
7427
+ 401: GeneralError;
7374
7428
  /**
7375
7429
  * Forbidden
7376
7430
  */
7377
- 403: unknown;
7431
+ 403: GeneralError;
7378
7432
  /**
7379
7433
  * Not Found
7380
7434
  */
7381
- 404: unknown;
7435
+ 404: GeneralError;
7382
7436
  /**
7383
7437
  * Internal Server Error
7384
7438
  */
7385
- 500: unknown;
7439
+ 500: GeneralError;
7386
7440
  };
7387
7441
 
7442
+ export type ListRegionsForOrganizationError =
7443
+ ListRegionsForOrganizationErrors[keyof ListRegionsForOrganizationErrors];
7444
+
7388
7445
  export type ListRegionsForOrganizationResponses = {
7389
7446
  /**
7390
7447
  * Returns the organization's regions
@@ -7424,21 +7481,23 @@ export type ListDatabasesErrors = {
7424
7481
  /**
7425
7482
  * Unauthorized
7426
7483
  */
7427
- 401: unknown;
7484
+ 401: GeneralError;
7428
7485
  /**
7429
7486
  * Forbidden
7430
7487
  */
7431
- 403: unknown;
7488
+ 403: GeneralError;
7432
7489
  /**
7433
7490
  * Not Found
7434
7491
  */
7435
- 404: unknown;
7492
+ 404: GeneralError;
7436
7493
  /**
7437
7494
  * Internal Server Error
7438
7495
  */
7439
- 500: unknown;
7496
+ 500: GeneralError;
7440
7497
  };
7441
7498
 
7499
+ export type ListDatabasesError = ListDatabasesErrors[keyof ListDatabasesErrors];
7500
+
7442
7501
  export type ListDatabasesResponses = {
7443
7502
  /**
7444
7503
  * Retrieves the databases for an organization
@@ -7482,21 +7541,24 @@ export type CreateDatabaseErrors = {
7482
7541
  /**
7483
7542
  * Unauthorized
7484
7543
  */
7485
- 401: unknown;
7544
+ 401: GeneralError;
7486
7545
  /**
7487
7546
  * Forbidden
7488
7547
  */
7489
- 403: unknown;
7548
+ 403: GeneralError;
7490
7549
  /**
7491
7550
  * Not Found
7492
7551
  */
7493
- 404: unknown;
7552
+ 404: GeneralError;
7494
7553
  /**
7495
7554
  * Internal Server Error
7496
7555
  */
7497
- 500: unknown;
7556
+ 500: GeneralError;
7498
7557
  };
7499
7558
 
7559
+ export type CreateDatabaseError =
7560
+ CreateDatabaseErrors[keyof CreateDatabaseErrors];
7561
+
7500
7562
  export type CreateDatabaseResponses = {
7501
7563
  /**
7502
7564
  * Returns the created database
@@ -7552,21 +7614,23 @@ export type ListBranchesErrors = {
7552
7614
  /**
7553
7615
  * Unauthorized
7554
7616
  */
7555
- 401: unknown;
7617
+ 401: GeneralError;
7556
7618
  /**
7557
7619
  * Forbidden
7558
7620
  */
7559
- 403: unknown;
7621
+ 403: GeneralError;
7560
7622
  /**
7561
7623
  * Not Found
7562
7624
  */
7563
- 404: unknown;
7625
+ 404: GeneralError;
7564
7626
  /**
7565
7627
  * Internal Server Error
7566
7628
  */
7567
- 500: unknown;
7629
+ 500: GeneralError;
7568
7630
  };
7569
7631
 
7632
+ export type ListBranchesError = ListBranchesErrors[keyof ListBranchesErrors];
7633
+
7570
7634
  export type ListBranchesResponses = {
7571
7635
  /**
7572
7636
  * Returns database branches
@@ -7626,21 +7690,23 @@ export type CreateBranchErrors = {
7626
7690
  /**
7627
7691
  * Unauthorized
7628
7692
  */
7629
- 401: unknown;
7693
+ 401: GeneralError;
7630
7694
  /**
7631
7695
  * Forbidden
7632
7696
  */
7633
- 403: unknown;
7697
+ 403: GeneralError;
7634
7698
  /**
7635
7699
  * Not Found
7636
7700
  */
7637
- 404: unknown;
7701
+ 404: GeneralError;
7638
7702
  /**
7639
7703
  * Internal Server Error
7640
7704
  */
7641
- 500: unknown;
7705
+ 500: GeneralError;
7642
7706
  };
7643
7707
 
7708
+ export type CreateBranchError = CreateBranchErrors[keyof CreateBranchErrors];
7709
+
7644
7710
  export type CreateBranchResponses = {
7645
7711
  /**
7646
7712
  * Returns the created branch
@@ -7718,21 +7784,23 @@ export type ListBackupsErrors = {
7718
7784
  /**
7719
7785
  * Unauthorized
7720
7786
  */
7721
- 401: unknown;
7787
+ 401: GeneralError;
7722
7788
  /**
7723
7789
  * Forbidden
7724
7790
  */
7725
- 403: unknown;
7791
+ 403: GeneralError;
7726
7792
  /**
7727
7793
  * Not Found
7728
7794
  */
7729
- 404: unknown;
7795
+ 404: GeneralError;
7730
7796
  /**
7731
7797
  * Internal Server Error
7732
7798
  */
7733
- 500: unknown;
7799
+ 500: GeneralError;
7734
7800
  };
7735
7801
 
7802
+ export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
7803
+
7736
7804
  export type ListBackupsResponses = {
7737
7805
  /**
7738
7806
  * Returns database branch backups
@@ -7784,21 +7852,23 @@ export type CreateBackupErrors = {
7784
7852
  /**
7785
7853
  * Unauthorized
7786
7854
  */
7787
- 401: unknown;
7855
+ 401: GeneralError;
7788
7856
  /**
7789
7857
  * Forbidden
7790
7858
  */
7791
- 403: unknown;
7859
+ 403: GeneralError;
7792
7860
  /**
7793
7861
  * Not Found
7794
7862
  */
7795
- 404: unknown;
7863
+ 404: GeneralError;
7796
7864
  /**
7797
7865
  * Internal Server Error
7798
7866
  */
7799
- 500: unknown;
7867
+ 500: GeneralError;
7800
7868
  };
7801
7869
 
7870
+ export type CreateBackupError = CreateBackupErrors[keyof CreateBackupErrors];
7871
+
7802
7872
  export type CreateBackupResponses = {
7803
7873
  /**
7804
7874
  * Returns the created database branch backup
@@ -7837,21 +7907,23 @@ export type DeleteBackupErrors = {
7837
7907
  /**
7838
7908
  * Unauthorized
7839
7909
  */
7840
- 401: unknown;
7910
+ 401: GeneralError;
7841
7911
  /**
7842
7912
  * Forbidden
7843
7913
  */
7844
- 403: unknown;
7914
+ 403: GeneralError;
7845
7915
  /**
7846
7916
  * Not Found
7847
7917
  */
7848
- 404: unknown;
7918
+ 404: GeneralError;
7849
7919
  /**
7850
7920
  * Internal Server Error
7851
7921
  */
7852
- 500: unknown;
7922
+ 500: GeneralError;
7853
7923
  };
7854
7924
 
7925
+ export type DeleteBackupError = DeleteBackupErrors[keyof DeleteBackupErrors];
7926
+
7855
7927
  export type DeleteBackupResponses = {
7856
7928
  /**
7857
7929
  * Delete a backup
@@ -7887,21 +7959,23 @@ export type GetBackupErrors = {
7887
7959
  /**
7888
7960
  * Unauthorized
7889
7961
  */
7890
- 401: unknown;
7962
+ 401: GeneralError;
7891
7963
  /**
7892
7964
  * Forbidden
7893
7965
  */
7894
- 403: unknown;
7966
+ 403: GeneralError;
7895
7967
  /**
7896
7968
  * Not Found
7897
7969
  */
7898
- 404: unknown;
7970
+ 404: GeneralError;
7899
7971
  /**
7900
7972
  * Internal Server Error
7901
7973
  */
7902
- 500: unknown;
7974
+ 500: GeneralError;
7903
7975
  };
7904
7976
 
7977
+ export type GetBackupError = GetBackupErrors[keyof GetBackupErrors];
7978
+
7905
7979
  export type GetBackupResponses = {
7906
7980
  /**
7907
7981
  * Returns a database branch backup
@@ -7944,21 +8018,23 @@ export type UpdateBackupErrors = {
7944
8018
  /**
7945
8019
  * Unauthorized
7946
8020
  */
7947
- 401: unknown;
8021
+ 401: GeneralError;
7948
8022
  /**
7949
8023
  * Forbidden
7950
8024
  */
7951
- 403: unknown;
8025
+ 403: GeneralError;
7952
8026
  /**
7953
8027
  * Not Found
7954
8028
  */
7955
- 404: unknown;
8029
+ 404: GeneralError;
7956
8030
  /**
7957
8031
  * Internal Server Error
7958
8032
  */
7959
- 500: unknown;
8033
+ 500: GeneralError;
7960
8034
  };
7961
8035
 
8036
+ export type UpdateBackupError = UpdateBackupErrors[keyof UpdateBackupErrors];
8037
+
7962
8038
  export type UpdateBackupResponses = {
7963
8039
  /**
7964
8040
  * Returns the backup
@@ -8002,21 +8078,24 @@ export type ListBranchChangeRequestsErrors = {
8002
8078
  /**
8003
8079
  * Unauthorized
8004
8080
  */
8005
- 401: unknown;
8081
+ 401: GeneralError;
8006
8082
  /**
8007
8083
  * Forbidden
8008
8084
  */
8009
- 403: unknown;
8085
+ 403: GeneralError;
8010
8086
  /**
8011
8087
  * Not Found
8012
8088
  */
8013
- 404: unknown;
8089
+ 404: GeneralError;
8014
8090
  /**
8015
8091
  * Internal Server Error
8016
8092
  */
8017
- 500: unknown;
8093
+ 500: GeneralError;
8018
8094
  };
8019
8095
 
8096
+ export type ListBranchChangeRequestsError =
8097
+ ListBranchChangeRequestsErrors[keyof ListBranchChangeRequestsErrors];
8098
+
8020
8099
  export type ListBranchChangeRequestsResponses = {
8021
8100
  /**
8022
8101
  * Returns branch change requests
@@ -8053,21 +8132,24 @@ export type UpdateBranchChangeRequestErrors = {
8053
8132
  /**
8054
8133
  * Unauthorized
8055
8134
  */
8056
- 401: unknown;
8135
+ 401: GeneralError;
8057
8136
  /**
8058
8137
  * Forbidden
8059
8138
  */
8060
- 403: unknown;
8139
+ 403: GeneralError;
8061
8140
  /**
8062
8141
  * Not Found
8063
8142
  */
8064
- 404: unknown;
8143
+ 404: GeneralError;
8065
8144
  /**
8066
8145
  * Internal Server Error
8067
8146
  */
8068
- 500: unknown;
8147
+ 500: GeneralError;
8069
8148
  };
8070
8149
 
8150
+ export type UpdateBranchChangeRequestError =
8151
+ UpdateBranchChangeRequestErrors[keyof UpdateBranchChangeRequestErrors];
8152
+
8071
8153
  export type UpdateBranchChangeRequestResponses = {
8072
8154
  /**
8073
8155
  * Returns the branch change request
@@ -8102,21 +8184,24 @@ export type ListExtensionsErrors = {
8102
8184
  /**
8103
8185
  * Unauthorized
8104
8186
  */
8105
- 401: unknown;
8187
+ 401: GeneralError;
8106
8188
  /**
8107
8189
  * Forbidden
8108
8190
  */
8109
- 403: unknown;
8191
+ 403: GeneralError;
8110
8192
  /**
8111
8193
  * Not Found
8112
8194
  */
8113
- 404: unknown;
8195
+ 404: GeneralError;
8114
8196
  /**
8115
8197
  * Internal Server Error
8116
8198
  */
8117
- 500: unknown;
8199
+ 500: GeneralError;
8118
8200
  };
8119
8201
 
8202
+ export type ListExtensionsError =
8203
+ ListExtensionsErrors[keyof ListExtensionsErrors];
8204
+
8120
8205
  export type ListExtensionsResponses = {
8121
8206
  /**
8122
8207
  * Returns cluster extensions
@@ -8160,21 +8245,23 @@ export type ListKeyspacesErrors = {
8160
8245
  /**
8161
8246
  * Unauthorized
8162
8247
  */
8163
- 401: unknown;
8248
+ 401: GeneralError;
8164
8249
  /**
8165
8250
  * Forbidden
8166
8251
  */
8167
- 403: unknown;
8252
+ 403: GeneralError;
8168
8253
  /**
8169
8254
  * Not Found
8170
8255
  */
8171
- 404: unknown;
8256
+ 404: GeneralError;
8172
8257
  /**
8173
8258
  * Internal Server Error
8174
8259
  */
8175
- 500: unknown;
8260
+ 500: GeneralError;
8176
8261
  };
8177
8262
 
8263
+ export type ListKeyspacesError = ListKeyspacesErrors[keyof ListKeyspacesErrors];
8264
+
8178
8265
  export type ListKeyspacesResponses = {
8179
8266
  /**
8180
8267
  * Returns keyspaces
@@ -8214,21 +8301,24 @@ export type CreateKeyspaceErrors = {
8214
8301
  /**
8215
8302
  * Unauthorized
8216
8303
  */
8217
- 401: unknown;
8304
+ 401: GeneralError;
8218
8305
  /**
8219
8306
  * Forbidden
8220
8307
  */
8221
- 403: unknown;
8308
+ 403: GeneralError;
8222
8309
  /**
8223
8310
  * Not Found
8224
8311
  */
8225
- 404: unknown;
8312
+ 404: GeneralError;
8226
8313
  /**
8227
8314
  * Internal Server Error
8228
8315
  */
8229
- 500: unknown;
8316
+ 500: GeneralError;
8230
8317
  };
8231
8318
 
8319
+ export type CreateKeyspaceError =
8320
+ CreateKeyspaceErrors[keyof CreateKeyspaceErrors];
8321
+
8232
8322
  export type CreateKeyspaceResponses = {
8233
8323
  /**
8234
8324
  * Returns a created keyspace
@@ -8267,21 +8357,24 @@ export type GetKeyspaceVschemaErrors = {
8267
8357
  /**
8268
8358
  * Unauthorized
8269
8359
  */
8270
- 401: unknown;
8360
+ 401: GeneralError;
8271
8361
  /**
8272
8362
  * Forbidden
8273
8363
  */
8274
- 403: unknown;
8364
+ 403: GeneralError;
8275
8365
  /**
8276
8366
  * Not Found
8277
8367
  */
8278
- 404: unknown;
8368
+ 404: GeneralError;
8279
8369
  /**
8280
8370
  * Internal Server Error
8281
8371
  */
8282
- 500: unknown;
8372
+ 500: GeneralError;
8283
8373
  };
8284
8374
 
8375
+ export type GetKeyspaceVschemaError =
8376
+ GetKeyspaceVschemaErrors[keyof GetKeyspaceVschemaErrors];
8377
+
8285
8378
  export type GetKeyspaceVschemaResponses = {
8286
8379
  /**
8287
8380
  * Returns the VSchema for the keyspace
@@ -8330,25 +8423,28 @@ export type UpdateKeyspaceVschemaErrors = {
8330
8423
  /**
8331
8424
  * Unauthorized
8332
8425
  */
8333
- 401: unknown;
8426
+ 401: GeneralError;
8334
8427
  /**
8335
8428
  * Forbidden
8336
8429
  */
8337
- 403: unknown;
8430
+ 403: GeneralError;
8338
8431
  /**
8339
8432
  * Not Found
8340
8433
  */
8341
- 404: unknown;
8434
+ 404: GeneralError;
8342
8435
  /**
8343
8436
  * Unprocessable Content
8344
8437
  */
8345
- 422: unknown;
8438
+ 422: GeneralError;
8346
8439
  /**
8347
8440
  * Internal Server Error
8348
8441
  */
8349
- 500: unknown;
8442
+ 500: GeneralError;
8350
8443
  };
8351
8444
 
8445
+ export type UpdateKeyspaceVschemaError =
8446
+ UpdateKeyspaceVschemaErrors[keyof UpdateKeyspaceVschemaErrors];
8447
+
8352
8448
  export type UpdateKeyspaceVschemaResponses = {
8353
8449
  /**
8354
8450
  * Returns the VSchema for the keyspace
@@ -8392,21 +8488,24 @@ export type DeleteKeyspaceErrors = {
8392
8488
  /**
8393
8489
  * Unauthorized
8394
8490
  */
8395
- 401: unknown;
8491
+ 401: GeneralError;
8396
8492
  /**
8397
8493
  * Forbidden
8398
8494
  */
8399
- 403: unknown;
8495
+ 403: GeneralError;
8400
8496
  /**
8401
8497
  * Not Found
8402
8498
  */
8403
- 404: unknown;
8499
+ 404: GeneralError;
8404
8500
  /**
8405
8501
  * Internal Server Error
8406
8502
  */
8407
- 500: unknown;
8503
+ 500: GeneralError;
8408
8504
  };
8409
8505
 
8506
+ export type DeleteKeyspaceError =
8507
+ DeleteKeyspaceErrors[keyof DeleteKeyspaceErrors];
8508
+
8410
8509
  export type DeleteKeyspaceResponses = {
8411
8510
  /**
8412
8511
  * Delete a keyspace
@@ -8442,21 +8541,23 @@ export type GetKeyspaceErrors = {
8442
8541
  /**
8443
8542
  * Unauthorized
8444
8543
  */
8445
- 401: unknown;
8544
+ 401: GeneralError;
8446
8545
  /**
8447
8546
  * Forbidden
8448
8547
  */
8449
- 403: unknown;
8548
+ 403: GeneralError;
8450
8549
  /**
8451
8550
  * Not Found
8452
8551
  */
8453
- 404: unknown;
8552
+ 404: GeneralError;
8454
8553
  /**
8455
8554
  * Internal Server Error
8456
8555
  */
8457
- 500: unknown;
8556
+ 500: GeneralError;
8458
8557
  };
8459
8558
 
8559
+ export type GetKeyspaceError = GetKeyspaceErrors[keyof GetKeyspaceErrors];
8560
+
8460
8561
  export type GetKeyspaceResponses = {
8461
8562
  /**
8462
8563
  * Returns information about a keyspace
@@ -8495,21 +8596,24 @@ export type UpdateKeyspaceErrors = {
8495
8596
  /**
8496
8597
  * Unauthorized
8497
8598
  */
8498
- 401: unknown;
8599
+ 401: GeneralError;
8499
8600
  /**
8500
8601
  * Forbidden
8501
8602
  */
8502
- 403: unknown;
8603
+ 403: GeneralError;
8503
8604
  /**
8504
8605
  * Not Found
8505
8606
  */
8506
- 404: unknown;
8607
+ 404: GeneralError;
8507
8608
  /**
8508
8609
  * Internal Server Error
8509
8610
  */
8510
- 500: unknown;
8611
+ 500: GeneralError;
8511
8612
  };
8512
8613
 
8614
+ export type UpdateKeyspaceError =
8615
+ UpdateKeyspaceErrors[keyof UpdateKeyspaceErrors];
8616
+
8513
8617
  export type UpdateKeyspaceResponses = {
8514
8618
  /**
8515
8619
  * Returns the keyspace
@@ -8548,21 +8652,24 @@ export type GetKeyspaceRolloutStatusErrors = {
8548
8652
  /**
8549
8653
  * Unauthorized
8550
8654
  */
8551
- 401: unknown;
8655
+ 401: GeneralError;
8552
8656
  /**
8553
8657
  * Forbidden
8554
8658
  */
8555
- 403: unknown;
8659
+ 403: GeneralError;
8556
8660
  /**
8557
8661
  * Not Found
8558
8662
  */
8559
- 404: unknown;
8663
+ 404: GeneralError;
8560
8664
  /**
8561
8665
  * Internal Server Error
8562
8666
  */
8563
- 500: unknown;
8667
+ 500: GeneralError;
8564
8668
  };
8565
8669
 
8670
+ export type GetKeyspaceRolloutStatusError =
8671
+ GetKeyspaceRolloutStatusErrors[keyof GetKeyspaceRolloutStatusErrors];
8672
+
8566
8673
  export type GetKeyspaceRolloutStatusResponses = {
8567
8674
  /**
8568
8675
  * Returns information about a keyspace's rollout
@@ -8624,21 +8731,24 @@ export type ListParametersErrors = {
8624
8731
  /**
8625
8732
  * Unauthorized
8626
8733
  */
8627
- 401: unknown;
8734
+ 401: GeneralError;
8628
8735
  /**
8629
8736
  * Forbidden
8630
8737
  */
8631
- 403: unknown;
8738
+ 403: GeneralError;
8632
8739
  /**
8633
8740
  * Not Found
8634
8741
  */
8635
- 404: unknown;
8742
+ 404: GeneralError;
8636
8743
  /**
8637
8744
  * Internal Server Error
8638
8745
  */
8639
- 500: unknown;
8746
+ 500: GeneralError;
8640
8747
  };
8641
8748
 
8749
+ export type ListParametersError =
8750
+ ListParametersErrors[keyof ListParametersErrors];
8751
+
8642
8752
  export type ListParametersResponses = {
8643
8753
  /**
8644
8754
  * Returns cluster parameters
@@ -8686,21 +8796,23 @@ export type ListPasswordsErrors = {
8686
8796
  /**
8687
8797
  * Unauthorized
8688
8798
  */
8689
- 401: unknown;
8799
+ 401: GeneralError;
8690
8800
  /**
8691
8801
  * Forbidden
8692
8802
  */
8693
- 403: unknown;
8803
+ 403: GeneralError;
8694
8804
  /**
8695
8805
  * Not Found
8696
8806
  */
8697
- 404: unknown;
8807
+ 404: GeneralError;
8698
8808
  /**
8699
8809
  * Internal Server Error
8700
8810
  */
8701
- 500: unknown;
8811
+ 500: GeneralError;
8702
8812
  };
8703
8813
 
8814
+ export type ListPasswordsError = ListPasswordsErrors[keyof ListPasswordsErrors];
8815
+
8704
8816
  export type ListPasswordsResponses = {
8705
8817
  /**
8706
8818
  * Returns passwords for the branch
@@ -8756,25 +8868,28 @@ export type CreatePasswordErrors = {
8756
8868
  /**
8757
8869
  * Unauthorized
8758
8870
  */
8759
- 401: unknown;
8871
+ 401: GeneralError;
8760
8872
  /**
8761
8873
  * Forbidden
8762
8874
  */
8763
- 403: unknown;
8875
+ 403: GeneralError;
8764
8876
  /**
8765
8877
  * Not Found
8766
8878
  */
8767
- 404: unknown;
8879
+ 404: GeneralError;
8768
8880
  /**
8769
8881
  * Unprocessable Content
8770
8882
  */
8771
- 422: unknown;
8883
+ 422: GeneralError;
8772
8884
  /**
8773
8885
  * Internal Server Error
8774
8886
  */
8775
- 500: unknown;
8887
+ 500: GeneralError;
8776
8888
  };
8777
8889
 
8890
+ export type CreatePasswordError =
8891
+ CreatePasswordErrors[keyof CreatePasswordErrors];
8892
+
8778
8893
  export type CreatePasswordResponses = {
8779
8894
  /**
8780
8895
  * Returns the new credentials
@@ -8813,21 +8928,24 @@ export type DeletePasswordErrors = {
8813
8928
  /**
8814
8929
  * Unauthorized
8815
8930
  */
8816
- 401: unknown;
8931
+ 401: GeneralError;
8817
8932
  /**
8818
8933
  * Forbidden
8819
8934
  */
8820
- 403: unknown;
8935
+ 403: GeneralError;
8821
8936
  /**
8822
8937
  * Not Found
8823
8938
  */
8824
- 404: unknown;
8939
+ 404: GeneralError;
8825
8940
  /**
8826
8941
  * Internal Server Error
8827
8942
  */
8828
- 500: unknown;
8943
+ 500: GeneralError;
8829
8944
  };
8830
8945
 
8946
+ export type DeletePasswordError =
8947
+ DeletePasswordErrors[keyof DeletePasswordErrors];
8948
+
8831
8949
  export type DeletePasswordResponses = {
8832
8950
  /**
8833
8951
  * Deletes the password
@@ -8863,21 +8981,23 @@ export type GetPasswordErrors = {
8863
8981
  /**
8864
8982
  * Unauthorized
8865
8983
  */
8866
- 401: unknown;
8984
+ 401: GeneralError;
8867
8985
  /**
8868
8986
  * Forbidden
8869
8987
  */
8870
- 403: unknown;
8988
+ 403: GeneralError;
8871
8989
  /**
8872
8990
  * Not Found
8873
8991
  */
8874
- 404: unknown;
8992
+ 404: GeneralError;
8875
8993
  /**
8876
8994
  * Internal Server Error
8877
8995
  */
8878
- 500: unknown;
8996
+ 500: GeneralError;
8879
8997
  };
8880
8998
 
8999
+ export type GetPasswordError = GetPasswordErrors[keyof GetPasswordErrors];
9000
+
8881
9001
  export type GetPasswordResponses = {
8882
9002
  /**
8883
9003
  * Returns a password
@@ -8925,21 +9045,24 @@ export type UpdatePasswordErrors = {
8925
9045
  /**
8926
9046
  * Unauthorized
8927
9047
  */
8928
- 401: unknown;
9048
+ 401: GeneralError;
8929
9049
  /**
8930
9050
  * Forbidden
8931
9051
  */
8932
- 403: unknown;
9052
+ 403: GeneralError;
8933
9053
  /**
8934
9054
  * Not Found
8935
9055
  */
8936
- 404: unknown;
9056
+ 404: GeneralError;
8937
9057
  /**
8938
9058
  * Internal Server Error
8939
9059
  */
8940
- 500: unknown;
9060
+ 500: GeneralError;
8941
9061
  };
8942
9062
 
9063
+ export type UpdatePasswordError =
9064
+ UpdatePasswordErrors[keyof UpdatePasswordErrors];
9065
+
8943
9066
  export type UpdatePasswordResponses = {
8944
9067
  /**
8945
9068
  * Returns the updated password
@@ -8978,21 +9101,23 @@ export type RenewPasswordErrors = {
8978
9101
  /**
8979
9102
  * Unauthorized
8980
9103
  */
8981
- 401: unknown;
9104
+ 401: GeneralError;
8982
9105
  /**
8983
9106
  * Forbidden
8984
9107
  */
8985
- 403: unknown;
9108
+ 403: GeneralError;
8986
9109
  /**
8987
9110
  * Not Found
8988
9111
  */
8989
- 404: unknown;
9112
+ 404: GeneralError;
8990
9113
  /**
8991
9114
  * Internal Server Error
8992
9115
  */
8993
- 500: unknown;
9116
+ 500: GeneralError;
8994
9117
  };
8995
9118
 
9119
+ export type RenewPasswordError = RenewPasswordErrors[keyof RenewPasswordErrors];
9120
+
8996
9121
  export type RenewPasswordResponses = {
8997
9122
  /**
8998
9123
  * Returns the renewed password
@@ -9027,21 +9152,24 @@ export type ListGeneratedQueryPatternsReportsErrors = {
9027
9152
  /**
9028
9153
  * Unauthorized
9029
9154
  */
9030
- 401: unknown;
9155
+ 401: GeneralError;
9031
9156
  /**
9032
9157
  * Forbidden
9033
9158
  */
9034
- 403: unknown;
9159
+ 403: GeneralError;
9035
9160
  /**
9036
9161
  * Not Found
9037
9162
  */
9038
- 404: unknown;
9163
+ 404: GeneralError;
9039
9164
  /**
9040
9165
  * Internal Server Error
9041
9166
  */
9042
- 500: unknown;
9167
+ 500: GeneralError;
9043
9168
  };
9044
9169
 
9170
+ export type ListGeneratedQueryPatternsReportsError =
9171
+ ListGeneratedQueryPatternsReportsErrors[keyof ListGeneratedQueryPatternsReportsErrors];
9172
+
9045
9173
  export type ListGeneratedQueryPatternsReportsResponses = {
9046
9174
  /**
9047
9175
  * Returns the generated query patterns reports
@@ -9076,21 +9204,24 @@ export type CreateQueryPatternsReportErrors = {
9076
9204
  /**
9077
9205
  * Unauthorized
9078
9206
  */
9079
- 401: unknown;
9207
+ 401: GeneralError;
9080
9208
  /**
9081
9209
  * Forbidden
9082
9210
  */
9083
- 403: unknown;
9211
+ 403: GeneralError;
9084
9212
  /**
9085
9213
  * Not Found
9086
9214
  */
9087
- 404: unknown;
9215
+ 404: GeneralError;
9088
9216
  /**
9089
9217
  * Internal Server Error
9090
9218
  */
9091
- 500: unknown;
9219
+ 500: GeneralError;
9092
9220
  };
9093
9221
 
9222
+ export type CreateQueryPatternsReportError =
9223
+ CreateQueryPatternsReportErrors[keyof CreateQueryPatternsReportErrors];
9224
+
9094
9225
  export type CreateQueryPatternsReportResponses = {
9095
9226
  /**
9096
9227
  * The created query patterns download
@@ -9129,21 +9260,24 @@ export type DeleteQueryPatternsReportErrors = {
9129
9260
  /**
9130
9261
  * Unauthorized
9131
9262
  */
9132
- 401: unknown;
9263
+ 401: GeneralError;
9133
9264
  /**
9134
9265
  * Forbidden
9135
9266
  */
9136
- 403: unknown;
9267
+ 403: GeneralError;
9137
9268
  /**
9138
9269
  * Not Found
9139
9270
  */
9140
- 404: unknown;
9271
+ 404: GeneralError;
9141
9272
  /**
9142
9273
  * Internal Server Error
9143
9274
  */
9144
- 500: unknown;
9275
+ 500: GeneralError;
9145
9276
  };
9146
9277
 
9278
+ export type DeleteQueryPatternsReportError =
9279
+ DeleteQueryPatternsReportErrors[keyof DeleteQueryPatternsReportErrors];
9280
+
9147
9281
  export type DeleteQueryPatternsReportResponses = {
9148
9282
  /**
9149
9283
  * Delete a query patterns report
@@ -9179,21 +9313,24 @@ export type GetQueryPatternsReportStatusErrors = {
9179
9313
  /**
9180
9314
  * Unauthorized
9181
9315
  */
9182
- 401: unknown;
9316
+ 401: GeneralError;
9183
9317
  /**
9184
9318
  * Forbidden
9185
9319
  */
9186
- 403: unknown;
9320
+ 403: GeneralError;
9187
9321
  /**
9188
9322
  * Not Found
9189
9323
  */
9190
- 404: unknown;
9324
+ 404: GeneralError;
9191
9325
  /**
9192
9326
  * Internal Server Error
9193
9327
  */
9194
- 500: unknown;
9328
+ 500: GeneralError;
9195
9329
  };
9196
9330
 
9331
+ export type GetQueryPatternsReportStatusError =
9332
+ GetQueryPatternsReportStatusErrors[keyof GetQueryPatternsReportStatusErrors];
9333
+
9197
9334
  export type GetQueryPatternsReportStatusResponses = {
9198
9335
  /**
9199
9336
  * The retrieved query patterns download
@@ -9232,21 +9369,24 @@ export type GetQueryPatternsReportErrors = {
9232
9369
  /**
9233
9370
  * Unauthorized
9234
9371
  */
9235
- 401: unknown;
9372
+ 401: GeneralError;
9236
9373
  /**
9237
9374
  * Forbidden
9238
9375
  */
9239
- 403: unknown;
9376
+ 403: GeneralError;
9240
9377
  /**
9241
9378
  * Not Found
9242
9379
  */
9243
- 404: unknown;
9380
+ 404: GeneralError;
9244
9381
  /**
9245
9382
  * Internal Server Error
9246
9383
  */
9247
- 500: unknown;
9384
+ 500: GeneralError;
9248
9385
  };
9249
9386
 
9387
+ export type GetQueryPatternsReportError =
9388
+ GetQueryPatternsReportErrors[keyof GetQueryPatternsReportErrors];
9389
+
9250
9390
  export type CancelBranchChangeRequestData = {
9251
9391
  body?: never;
9252
9392
  path: {
@@ -9271,21 +9411,24 @@ export type CancelBranchChangeRequestErrors = {
9271
9411
  /**
9272
9412
  * Unauthorized
9273
9413
  */
9274
- 401: unknown;
9414
+ 401: GeneralError;
9275
9415
  /**
9276
9416
  * Forbidden
9277
9417
  */
9278
- 403: unknown;
9418
+ 403: GeneralError;
9279
9419
  /**
9280
9420
  * Not Found
9281
9421
  */
9282
- 404: unknown;
9422
+ 404: GeneralError;
9283
9423
  /**
9284
9424
  * Internal Server Error
9285
9425
  */
9286
- 500: unknown;
9426
+ 500: GeneralError;
9287
9427
  };
9288
9428
 
9429
+ export type CancelBranchChangeRequestError =
9430
+ CancelBranchChangeRequestErrors[keyof CancelBranchChangeRequestErrors];
9431
+
9289
9432
  export type CancelBranchChangeRequestResponses = {
9290
9433
  /**
9291
9434
  * Cancels a change request
@@ -9326,21 +9469,23 @@ export type ListRolesErrors = {
9326
9469
  /**
9327
9470
  * Unauthorized
9328
9471
  */
9329
- 401: unknown;
9472
+ 401: GeneralError;
9330
9473
  /**
9331
9474
  * Forbidden
9332
9475
  */
9333
- 403: unknown;
9476
+ 403: GeneralError;
9334
9477
  /**
9335
9478
  * Not Found
9336
9479
  */
9337
- 404: unknown;
9480
+ 404: GeneralError;
9338
9481
  /**
9339
9482
  * Internal Server Error
9340
9483
  */
9341
- 500: unknown;
9484
+ 500: GeneralError;
9342
9485
  };
9343
9486
 
9487
+ export type ListRolesError = ListRolesErrors[keyof ListRolesErrors];
9488
+
9344
9489
  export type ListRolesResponses = {
9345
9490
  /**
9346
9491
  * Returns roles
@@ -9396,21 +9541,23 @@ export type CreateRoleErrors = {
9396
9541
  /**
9397
9542
  * Unauthorized
9398
9543
  */
9399
- 401: unknown;
9544
+ 401: GeneralError;
9400
9545
  /**
9401
9546
  * Forbidden
9402
9547
  */
9403
- 403: unknown;
9548
+ 403: GeneralError;
9404
9549
  /**
9405
9550
  * Not Found
9406
9551
  */
9407
- 404: unknown;
9552
+ 404: GeneralError;
9408
9553
  /**
9409
9554
  * Internal Server Error
9410
9555
  */
9411
- 500: unknown;
9556
+ 500: GeneralError;
9412
9557
  };
9413
9558
 
9559
+ export type CreateRoleError = CreateRoleErrors[keyof CreateRoleErrors];
9560
+
9414
9561
  export type CreateRoleResponses = {
9415
9562
  /**
9416
9563
  * Returns the new credentials
@@ -9453,21 +9600,23 @@ export type DeleteRoleErrors = {
9453
9600
  /**
9454
9601
  * Unauthorized
9455
9602
  */
9456
- 401: unknown;
9603
+ 401: GeneralError;
9457
9604
  /**
9458
9605
  * Forbidden
9459
9606
  */
9460
- 403: unknown;
9607
+ 403: GeneralError;
9461
9608
  /**
9462
9609
  * Not Found
9463
9610
  */
9464
- 404: unknown;
9611
+ 404: GeneralError;
9465
9612
  /**
9466
9613
  * Internal Server Error
9467
9614
  */
9468
- 500: unknown;
9615
+ 500: GeneralError;
9469
9616
  };
9470
9617
 
9618
+ export type DeleteRoleError = DeleteRoleErrors[keyof DeleteRoleErrors];
9619
+
9471
9620
  export type DeleteRoleResponses = {
9472
9621
  /**
9473
9622
  * Deletes the role credentials
@@ -9503,21 +9652,23 @@ export type GetRoleErrors = {
9503
9652
  /**
9504
9653
  * Unauthorized
9505
9654
  */
9506
- 401: unknown;
9655
+ 401: GeneralError;
9507
9656
  /**
9508
9657
  * Forbidden
9509
9658
  */
9510
- 403: unknown;
9659
+ 403: GeneralError;
9511
9660
  /**
9512
9661
  * Not Found
9513
9662
  */
9514
- 404: unknown;
9663
+ 404: GeneralError;
9515
9664
  /**
9516
9665
  * Internal Server Error
9517
9666
  */
9518
- 500: unknown;
9667
+ 500: GeneralError;
9519
9668
  };
9520
9669
 
9670
+ export type GetRoleError = GetRoleErrors[keyof GetRoleErrors];
9671
+
9521
9672
  export type GetRoleResponses = {
9522
9673
  /**
9523
9674
  * Returns a role
@@ -9560,21 +9711,23 @@ export type UpdateRoleErrors = {
9560
9711
  /**
9561
9712
  * Unauthorized
9562
9713
  */
9563
- 401: unknown;
9714
+ 401: GeneralError;
9564
9715
  /**
9565
9716
  * Forbidden
9566
9717
  */
9567
- 403: unknown;
9718
+ 403: GeneralError;
9568
9719
  /**
9569
9720
  * Not Found
9570
9721
  */
9571
- 404: unknown;
9722
+ 404: GeneralError;
9572
9723
  /**
9573
9724
  * Internal Server Error
9574
9725
  */
9575
- 500: unknown;
9726
+ 500: GeneralError;
9576
9727
  };
9577
9728
 
9729
+ export type UpdateRoleError = UpdateRoleErrors[keyof UpdateRoleErrors];
9730
+
9578
9731
  export type UpdateRoleResponses = {
9579
9732
  /**
9580
9733
  * Returns the updated role
@@ -9612,21 +9765,23 @@ export type RenewRoleErrors = {
9612
9765
  /**
9613
9766
  * Unauthorized
9614
9767
  */
9615
- 401: unknown;
9768
+ 401: GeneralError;
9616
9769
  /**
9617
9770
  * Forbidden
9618
9771
  */
9619
- 403: unknown;
9772
+ 403: GeneralError;
9620
9773
  /**
9621
9774
  * Not Found
9622
9775
  */
9623
- 404: unknown;
9776
+ 404: GeneralError;
9624
9777
  /**
9625
9778
  * Internal Server Error
9626
9779
  */
9627
- 500: unknown;
9780
+ 500: GeneralError;
9628
9781
  };
9629
9782
 
9783
+ export type RenewRoleError = RenewRoleErrors[keyof RenewRoleErrors];
9784
+
9630
9785
  export type RenewRoleResponses = {
9631
9786
  /**
9632
9787
  * Returns the renewed role
@@ -9660,21 +9815,23 @@ export type DeleteBranchErrors = {
9660
9815
  /**
9661
9816
  * Unauthorized
9662
9817
  */
9663
- 401: unknown;
9818
+ 401: GeneralError;
9664
9819
  /**
9665
9820
  * Forbidden
9666
9821
  */
9667
- 403: unknown;
9822
+ 403: GeneralError;
9668
9823
  /**
9669
9824
  * Not Found
9670
9825
  */
9671
- 404: unknown;
9826
+ 404: GeneralError;
9672
9827
  /**
9673
9828
  * Internal Server Error
9674
9829
  */
9675
- 500: unknown;
9830
+ 500: GeneralError;
9676
9831
  };
9677
9832
 
9833
+ export type DeleteBranchError = DeleteBranchErrors[keyof DeleteBranchErrors];
9834
+
9678
9835
  export type DeleteBranchResponses = {
9679
9836
  /**
9680
9837
  * Delete a branch
@@ -9706,21 +9863,23 @@ export type GetBranchErrors = {
9706
9863
  /**
9707
9864
  * Unauthorized
9708
9865
  */
9709
- 401: unknown;
9866
+ 401: GeneralError;
9710
9867
  /**
9711
9868
  * Forbidden
9712
9869
  */
9713
- 403: unknown;
9870
+ 403: GeneralError;
9714
9871
  /**
9715
9872
  * Not Found
9716
9873
  */
9717
- 404: unknown;
9874
+ 404: GeneralError;
9718
9875
  /**
9719
9876
  * Internal Server Error
9720
9877
  */
9721
- 500: unknown;
9878
+ 500: GeneralError;
9722
9879
  };
9723
9880
 
9881
+ export type GetBranchError = GetBranchErrors[keyof GetBranchErrors];
9882
+
9724
9883
  export type GetBranchResponses = {
9725
9884
  /**
9726
9885
  * Returns information about a branch
@@ -9759,21 +9918,24 @@ export type UpdateBranchClusterConfigErrors = {
9759
9918
  /**
9760
9919
  * Unauthorized
9761
9920
  */
9762
- 401: unknown;
9921
+ 401: GeneralError;
9763
9922
  /**
9764
9923
  * Forbidden
9765
9924
  */
9766
- 403: unknown;
9925
+ 403: GeneralError;
9767
9926
  /**
9768
9927
  * Not Found
9769
9928
  */
9770
- 404: unknown;
9929
+ 404: GeneralError;
9771
9930
  /**
9772
9931
  * Internal Server Error
9773
9932
  */
9774
- 500: unknown;
9933
+ 500: GeneralError;
9775
9934
  };
9776
9935
 
9936
+ export type UpdateBranchClusterConfigError =
9937
+ UpdateBranchClusterConfigErrors[keyof UpdateBranchClusterConfigErrors];
9938
+
9777
9939
  export type UpdateBranchClusterConfigResponses = {
9778
9940
  /**
9779
9941
  * Returns an empty response body
@@ -9805,21 +9967,23 @@ export type DemoteBranchErrors = {
9805
9967
  /**
9806
9968
  * Unauthorized
9807
9969
  */
9808
- 401: unknown;
9970
+ 401: GeneralError;
9809
9971
  /**
9810
9972
  * Forbidden
9811
9973
  */
9812
- 403: unknown;
9974
+ 403: GeneralError;
9813
9975
  /**
9814
9976
  * Not Found
9815
9977
  */
9816
- 404: unknown;
9978
+ 404: GeneralError;
9817
9979
  /**
9818
9980
  * Internal Server Error
9819
9981
  */
9820
- 500: unknown;
9982
+ 500: GeneralError;
9821
9983
  };
9822
9984
 
9985
+ export type DemoteBranchError = DemoteBranchErrors[keyof DemoteBranchErrors];
9986
+
9823
9987
  export type DemoteBranchResponses = {
9824
9988
  /**
9825
9989
  * Returns a development branch
@@ -9854,21 +10018,23 @@ export type PromoteBranchErrors = {
9854
10018
  /**
9855
10019
  * Unauthorized
9856
10020
  */
9857
- 401: unknown;
10021
+ 401: GeneralError;
9858
10022
  /**
9859
10023
  * Forbidden
9860
10024
  */
9861
- 403: unknown;
10025
+ 403: GeneralError;
9862
10026
  /**
9863
10027
  * Not Found
9864
10028
  */
9865
- 404: unknown;
10029
+ 404: GeneralError;
9866
10030
  /**
9867
10031
  * Internal Server Error
9868
10032
  */
9869
- 500: unknown;
10033
+ 500: GeneralError;
9870
10034
  };
9871
10035
 
10036
+ export type PromoteBranchError = PromoteBranchErrors[keyof PromoteBranchErrors];
10037
+
9872
10038
  export type PromoteBranchResponses = {
9873
10039
  /**
9874
10040
  * Returns a production branch
@@ -9903,21 +10069,24 @@ export type DisableSafeMigrationsErrors = {
9903
10069
  /**
9904
10070
  * Unauthorized
9905
10071
  */
9906
- 401: unknown;
10072
+ 401: GeneralError;
9907
10073
  /**
9908
10074
  * Forbidden
9909
10075
  */
9910
- 403: unknown;
10076
+ 403: GeneralError;
9911
10077
  /**
9912
10078
  * Not Found
9913
10079
  */
9914
- 404: unknown;
10080
+ 404: GeneralError;
9915
10081
  /**
9916
10082
  * Internal Server Error
9917
10083
  */
9918
- 500: unknown;
10084
+ 500: GeneralError;
9919
10085
  };
9920
10086
 
10087
+ export type DisableSafeMigrationsError =
10088
+ DisableSafeMigrationsErrors[keyof DisableSafeMigrationsErrors];
10089
+
9921
10090
  export type DisableSafeMigrationsResponses = {
9922
10091
  /**
9923
10092
  * Returns the branch with safe migrations disabled
@@ -9952,21 +10121,24 @@ export type EnableSafeMigrationsErrors = {
9952
10121
  /**
9953
10122
  * Unauthorized
9954
10123
  */
9955
- 401: unknown;
10124
+ 401: GeneralError;
9956
10125
  /**
9957
10126
  * Forbidden
9958
10127
  */
9959
- 403: unknown;
10128
+ 403: GeneralError;
9960
10129
  /**
9961
10130
  * Not Found
9962
10131
  */
9963
- 404: unknown;
10132
+ 404: GeneralError;
9964
10133
  /**
9965
10134
  * Internal Server Error
9966
10135
  */
9967
- 500: unknown;
10136
+ 500: GeneralError;
9968
10137
  };
9969
10138
 
10139
+ export type EnableSafeMigrationsError =
10140
+ EnableSafeMigrationsErrors[keyof EnableSafeMigrationsErrors];
10141
+
9970
10142
  export type EnableSafeMigrationsResponses = {
9971
10143
  /**
9972
10144
  * Returns the branch with safe migrations enabled
@@ -10010,21 +10182,24 @@ export type GetBranchSchemaErrors = {
10010
10182
  /**
10011
10183
  * Unauthorized
10012
10184
  */
10013
- 401: unknown;
10185
+ 401: GeneralError;
10014
10186
  /**
10015
10187
  * Forbidden
10016
10188
  */
10017
- 403: unknown;
10189
+ 403: GeneralError;
10018
10190
  /**
10019
10191
  * Not Found
10020
10192
  */
10021
- 404: unknown;
10193
+ 404: GeneralError;
10022
10194
  /**
10023
10195
  * Internal Server Error
10024
10196
  */
10025
- 500: unknown;
10197
+ 500: GeneralError;
10026
10198
  };
10027
10199
 
10200
+ export type GetBranchSchemaError =
10201
+ GetBranchSchemaErrors[keyof GetBranchSchemaErrors];
10202
+
10028
10203
  export type GetBranchSchemaResponses = {
10029
10204
  /**
10030
10205
  * Gets the schema for the branch
@@ -10083,21 +10258,24 @@ export type LintBranchSchemaErrors = {
10083
10258
  /**
10084
10259
  * Unauthorized
10085
10260
  */
10086
- 401: unknown;
10261
+ 401: GeneralError;
10087
10262
  /**
10088
10263
  * Forbidden
10089
10264
  */
10090
- 403: unknown;
10265
+ 403: GeneralError;
10091
10266
  /**
10092
10267
  * Not Found
10093
10268
  */
10094
- 404: unknown;
10269
+ 404: GeneralError;
10095
10270
  /**
10096
10271
  * Internal Server Error
10097
10272
  */
10098
- 500: unknown;
10273
+ 500: GeneralError;
10099
10274
  };
10100
10275
 
10276
+ export type LintBranchSchemaError =
10277
+ LintBranchSchemaErrors[keyof LintBranchSchemaErrors];
10278
+
10101
10279
  export type LintBranchSchemaResponses = {
10102
10280
  /**
10103
10281
  * Returns a list of schema errors for a branch
@@ -10128,21 +10306,24 @@ export type GetDeployQueueErrors = {
10128
10306
  /**
10129
10307
  * Unauthorized
10130
10308
  */
10131
- 401: unknown;
10309
+ 401: GeneralError;
10132
10310
  /**
10133
10311
  * Forbidden
10134
10312
  */
10135
- 403: unknown;
10313
+ 403: GeneralError;
10136
10314
  /**
10137
10315
  * Not Found
10138
10316
  */
10139
- 404: unknown;
10317
+ 404: GeneralError;
10140
10318
  /**
10141
10319
  * Internal Server Error
10142
10320
  */
10143
- 500: unknown;
10321
+ 500: GeneralError;
10144
10322
  };
10145
10323
 
10324
+ export type GetDeployQueueError =
10325
+ GetDeployQueueErrors[keyof GetDeployQueueErrors];
10326
+
10146
10327
  export type GetDeployQueueResponses = {
10147
10328
  /**
10148
10329
  * Returns the deploy queue for a database
@@ -10202,21 +10383,24 @@ export type ListDeployRequestsErrors = {
10202
10383
  /**
10203
10384
  * Unauthorized
10204
10385
  */
10205
- 401: unknown;
10386
+ 401: GeneralError;
10206
10387
  /**
10207
10388
  * Forbidden
10208
10389
  */
10209
- 403: unknown;
10390
+ 403: GeneralError;
10210
10391
  /**
10211
10392
  * Not Found
10212
10393
  */
10213
- 404: unknown;
10394
+ 404: GeneralError;
10214
10395
  /**
10215
10396
  * Internal Server Error
10216
10397
  */
10217
- 500: unknown;
10398
+ 500: GeneralError;
10218
10399
  };
10219
10400
 
10401
+ export type ListDeployRequestsError =
10402
+ ListDeployRequestsErrors[keyof ListDeployRequestsErrors];
10403
+
10220
10404
  export type ListDeployRequestsResponses = {
10221
10405
  /**
10222
10406
  * Returns a list of deploy requests
@@ -10268,21 +10452,24 @@ export type CreateDeployRequestErrors = {
10268
10452
  /**
10269
10453
  * Unauthorized
10270
10454
  */
10271
- 401: unknown;
10455
+ 401: GeneralError;
10272
10456
  /**
10273
10457
  * Forbidden
10274
10458
  */
10275
- 403: unknown;
10459
+ 403: GeneralError;
10276
10460
  /**
10277
10461
  * Not Found
10278
10462
  */
10279
- 404: unknown;
10463
+ 404: GeneralError;
10280
10464
  /**
10281
10465
  * Internal Server Error
10282
10466
  */
10283
- 500: unknown;
10467
+ 500: GeneralError;
10284
10468
  };
10285
10469
 
10470
+ export type CreateDeployRequestError =
10471
+ CreateDeployRequestErrors[keyof CreateDeployRequestErrors];
10472
+
10286
10473
  export type CreateDeployRequestResponses = {
10287
10474
  /**
10288
10475
  * Returns the created deploy request
@@ -10317,21 +10504,24 @@ export type GetDeployRequestErrors = {
10317
10504
  /**
10318
10505
  * Unauthorized
10319
10506
  */
10320
- 401: unknown;
10507
+ 401: GeneralError;
10321
10508
  /**
10322
10509
  * Forbidden
10323
10510
  */
10324
- 403: unknown;
10511
+ 403: GeneralError;
10325
10512
  /**
10326
10513
  * Not Found
10327
10514
  */
10328
- 404: unknown;
10515
+ 404: GeneralError;
10329
10516
  /**
10330
10517
  * Internal Server Error
10331
10518
  */
10332
- 500: unknown;
10519
+ 500: GeneralError;
10333
10520
  };
10334
10521
 
10522
+ export type GetDeployRequestError =
10523
+ GetDeployRequestErrors[keyof GetDeployRequestErrors];
10524
+
10335
10525
  export type GetDeployRequestResponses = {
10336
10526
  /**
10337
10527
  * Returns information about a deploy request
@@ -10371,21 +10561,24 @@ export type CloseDeployRequestErrors = {
10371
10561
  /**
10372
10562
  * Unauthorized
10373
10563
  */
10374
- 401: unknown;
10564
+ 401: GeneralError;
10375
10565
  /**
10376
10566
  * Forbidden
10377
10567
  */
10378
- 403: unknown;
10568
+ 403: GeneralError;
10379
10569
  /**
10380
10570
  * Not Found
10381
10571
  */
10382
- 404: unknown;
10572
+ 404: GeneralError;
10383
10573
  /**
10384
10574
  * Internal Server Error
10385
10575
  */
10386
- 500: unknown;
10576
+ 500: GeneralError;
10387
10577
  };
10388
10578
 
10579
+ export type CloseDeployRequestError =
10580
+ CloseDeployRequestErrors[keyof CloseDeployRequestErrors];
10581
+
10389
10582
  export type CloseDeployRequestResponses = {
10390
10583
  /**
10391
10584
  * Returns the updated deploy request
@@ -10420,21 +10613,24 @@ export type CompleteGatedDeployRequestErrors = {
10420
10613
  /**
10421
10614
  * Unauthorized
10422
10615
  */
10423
- 401: unknown;
10616
+ 401: GeneralError;
10424
10617
  /**
10425
10618
  * Forbidden
10426
10619
  */
10427
- 403: unknown;
10620
+ 403: GeneralError;
10428
10621
  /**
10429
10622
  * Not Found
10430
10623
  */
10431
- 404: unknown;
10624
+ 404: GeneralError;
10432
10625
  /**
10433
10626
  * Internal Server Error
10434
10627
  */
10435
- 500: unknown;
10628
+ 500: GeneralError;
10436
10629
  };
10437
10630
 
10631
+ export type CompleteGatedDeployRequestError =
10632
+ CompleteGatedDeployRequestErrors[keyof CompleteGatedDeployRequestErrors];
10633
+
10438
10634
  export type CompleteGatedDeployRequestResponses = {
10439
10635
  /**
10440
10636
  * Returns the deploy request whose deployment has been completed
@@ -10474,21 +10670,24 @@ export type UpdateAutoApplyErrors = {
10474
10670
  /**
10475
10671
  * Unauthorized
10476
10672
  */
10477
- 401: unknown;
10673
+ 401: GeneralError;
10478
10674
  /**
10479
10675
  * Forbidden
10480
10676
  */
10481
- 403: unknown;
10677
+ 403: GeneralError;
10482
10678
  /**
10483
10679
  * Not Found
10484
10680
  */
10485
- 404: unknown;
10681
+ 404: GeneralError;
10486
10682
  /**
10487
10683
  * Internal Server Error
10488
10684
  */
10489
- 500: unknown;
10685
+ 500: GeneralError;
10490
10686
  };
10491
10687
 
10688
+ export type UpdateAutoApplyError =
10689
+ UpdateAutoApplyErrors[keyof UpdateAutoApplyErrors];
10690
+
10492
10691
  export type UpdateAutoApplyResponses = {
10493
10692
  /**
10494
10693
  * Returns the deploy request whose auto-apply setting was updated
@@ -10523,21 +10722,24 @@ export type CancelDeployRequestErrors = {
10523
10722
  /**
10524
10723
  * Unauthorized
10525
10724
  */
10526
- 401: unknown;
10725
+ 401: GeneralError;
10527
10726
  /**
10528
10727
  * Forbidden
10529
10728
  */
10530
- 403: unknown;
10729
+ 403: GeneralError;
10531
10730
  /**
10532
10731
  * Not Found
10533
10732
  */
10534
- 404: unknown;
10733
+ 404: GeneralError;
10535
10734
  /**
10536
10735
  * Internal Server Error
10537
10736
  */
10538
- 500: unknown;
10737
+ 500: GeneralError;
10539
10738
  };
10540
10739
 
10740
+ export type CancelDeployRequestError =
10741
+ CancelDeployRequestErrors[keyof CancelDeployRequestErrors];
10742
+
10541
10743
  export type CancelDeployRequestResponses = {
10542
10744
  /**
10543
10745
  * Returns the deploy request whose deployment was canceled
@@ -10572,21 +10774,24 @@ export type CompleteErroredDeployErrors = {
10572
10774
  /**
10573
10775
  * Unauthorized
10574
10776
  */
10575
- 401: unknown;
10777
+ 401: GeneralError;
10576
10778
  /**
10577
10779
  * Forbidden
10578
10780
  */
10579
- 403: unknown;
10781
+ 403: GeneralError;
10580
10782
  /**
10581
10783
  * Not Found
10582
10784
  */
10583
- 404: unknown;
10785
+ 404: GeneralError;
10584
10786
  /**
10585
10787
  * Internal Server Error
10586
10788
  */
10587
- 500: unknown;
10789
+ 500: GeneralError;
10588
10790
  };
10589
10791
 
10792
+ export type CompleteErroredDeployError =
10793
+ CompleteErroredDeployErrors[keyof CompleteErroredDeployErrors];
10794
+
10590
10795
  export type CompleteErroredDeployResponses = {
10591
10796
  /**
10592
10797
  * Returns the completed deploy request
@@ -10626,21 +10831,24 @@ export type QueueDeployRequestErrors = {
10626
10831
  /**
10627
10832
  * Unauthorized
10628
10833
  */
10629
- 401: unknown;
10834
+ 401: GeneralError;
10630
10835
  /**
10631
10836
  * Forbidden
10632
10837
  */
10633
- 403: unknown;
10838
+ 403: GeneralError;
10634
10839
  /**
10635
10840
  * Not Found
10636
10841
  */
10637
- 404: unknown;
10842
+ 404: GeneralError;
10638
10843
  /**
10639
10844
  * Internal Server Error
10640
10845
  */
10641
- 500: unknown;
10846
+ 500: GeneralError;
10642
10847
  };
10643
10848
 
10849
+ export type QueueDeployRequestError =
10850
+ QueueDeployRequestErrors[keyof QueueDeployRequestErrors];
10851
+
10644
10852
  export type QueueDeployRequestResponses = {
10645
10853
  /**
10646
10854
  * Returns the deployed deploy request
@@ -10675,21 +10883,23 @@ export type GetDeploymentErrors = {
10675
10883
  /**
10676
10884
  * Unauthorized
10677
10885
  */
10678
- 401: unknown;
10886
+ 401: GeneralError;
10679
10887
  /**
10680
10888
  * Forbidden
10681
10889
  */
10682
- 403: unknown;
10890
+ 403: GeneralError;
10683
10891
  /**
10684
10892
  * Not Found
10685
10893
  */
10686
- 404: unknown;
10894
+ 404: GeneralError;
10687
10895
  /**
10688
10896
  * Internal Server Error
10689
10897
  */
10690
- 500: unknown;
10898
+ 500: GeneralError;
10691
10899
  };
10692
10900
 
10901
+ export type GetDeploymentError = GetDeploymentErrors[keyof GetDeploymentErrors];
10902
+
10693
10903
  export type GetDeploymentResponses = {
10694
10904
  /**
10695
10905
  * Returns the deployment for a deploy request
@@ -10733,21 +10943,24 @@ export type ListDeployOperationsErrors = {
10733
10943
  /**
10734
10944
  * Unauthorized
10735
10945
  */
10736
- 401: unknown;
10946
+ 401: GeneralError;
10737
10947
  /**
10738
10948
  * Forbidden
10739
10949
  */
10740
- 403: unknown;
10950
+ 403: GeneralError;
10741
10951
  /**
10742
10952
  * Not Found
10743
10953
  */
10744
- 404: unknown;
10954
+ 404: GeneralError;
10745
10955
  /**
10746
10956
  * Internal Server Error
10747
10957
  */
10748
- 500: unknown;
10958
+ 500: GeneralError;
10749
10959
  };
10750
10960
 
10961
+ export type ListDeployOperationsError =
10962
+ ListDeployOperationsErrors[keyof ListDeployOperationsErrors];
10963
+
10751
10964
  export type ListDeployOperationsResponses = {
10752
10965
  /**
10753
10966
  * Returns deploy operations for the deploy request
@@ -10782,21 +10995,24 @@ export type CompleteRevertErrors = {
10782
10995
  /**
10783
10996
  * Unauthorized
10784
10997
  */
10785
- 401: unknown;
10998
+ 401: GeneralError;
10786
10999
  /**
10787
11000
  * Forbidden
10788
11001
  */
10789
- 403: unknown;
11002
+ 403: GeneralError;
10790
11003
  /**
10791
11004
  * Not Found
10792
11005
  */
10793
- 404: unknown;
11006
+ 404: GeneralError;
10794
11007
  /**
10795
11008
  * Internal Server Error
10796
11009
  */
10797
- 500: unknown;
11010
+ 500: GeneralError;
10798
11011
  };
10799
11012
 
11013
+ export type CompleteRevertError =
11014
+ CompleteRevertErrors[keyof CompleteRevertErrors];
11015
+
10800
11016
  export type CompleteRevertResponses = {
10801
11017
  /**
10802
11018
  * Returns the deploy request that was reverted
@@ -10831,21 +11047,24 @@ export type ListDeployRequestReviewsErrors = {
10831
11047
  /**
10832
11048
  * Unauthorized
10833
11049
  */
10834
- 401: unknown;
11050
+ 401: GeneralError;
10835
11051
  /**
10836
11052
  * Forbidden
10837
11053
  */
10838
- 403: unknown;
11054
+ 403: GeneralError;
10839
11055
  /**
10840
11056
  * Not Found
10841
11057
  */
10842
- 404: unknown;
11058
+ 404: GeneralError;
10843
11059
  /**
10844
11060
  * Internal Server Error
10845
11061
  */
10846
- 500: unknown;
11062
+ 500: GeneralError;
10847
11063
  };
10848
11064
 
11065
+ export type ListDeployRequestReviewsError =
11066
+ ListDeployRequestReviewsErrors[keyof ListDeployRequestReviewsErrors];
11067
+
10849
11068
  export type ListDeployRequestReviewsResponses = {
10850
11069
  /**
10851
11070
  * Returns an array of deploy request reviews
@@ -10889,21 +11108,24 @@ export type ReviewDeployRequestErrors = {
10889
11108
  /**
10890
11109
  * Unauthorized
10891
11110
  */
10892
- 401: unknown;
11111
+ 401: GeneralError;
10893
11112
  /**
10894
11113
  * Forbidden
10895
11114
  */
10896
- 403: unknown;
11115
+ 403: GeneralError;
10897
11116
  /**
10898
11117
  * Not Found
10899
11118
  */
10900
- 404: unknown;
11119
+ 404: GeneralError;
10901
11120
  /**
10902
11121
  * Internal Server Error
10903
11122
  */
10904
- 500: unknown;
11123
+ 500: GeneralError;
10905
11124
  };
10906
11125
 
11126
+ export type ReviewDeployRequestError =
11127
+ ReviewDeployRequestErrors[keyof ReviewDeployRequestErrors];
11128
+
10907
11129
  export type ReviewDeployRequestResponses = {
10908
11130
  /**
10909
11131
  * Returns the created deploy request review
@@ -10938,21 +11160,24 @@ export type SkipRevertPeriodErrors = {
10938
11160
  /**
10939
11161
  * Unauthorized
10940
11162
  */
10941
- 401: unknown;
11163
+ 401: GeneralError;
10942
11164
  /**
10943
11165
  * Forbidden
10944
11166
  */
10945
- 403: unknown;
11167
+ 403: GeneralError;
10946
11168
  /**
10947
11169
  * Not Found
10948
11170
  */
10949
- 404: unknown;
11171
+ 404: GeneralError;
10950
11172
  /**
10951
11173
  * Internal Server Error
10952
11174
  */
10953
- 500: unknown;
11175
+ 500: GeneralError;
10954
11176
  };
10955
11177
 
11178
+ export type SkipRevertPeriodError =
11179
+ SkipRevertPeriodErrors[keyof SkipRevertPeriodErrors];
11180
+
10956
11181
  export type SkipRevertPeriodResponses = {
10957
11182
  /**
10958
11183
  * Returns the deploy request whose deploy revert was skipped
@@ -10987,21 +11212,24 @@ export type GetDeployRequestThrottlerErrors = {
10987
11212
  /**
10988
11213
  * Unauthorized
10989
11214
  */
10990
- 401: unknown;
11215
+ 401: GeneralError;
10991
11216
  /**
10992
11217
  * Forbidden
10993
11218
  */
10994
- 403: unknown;
11219
+ 403: GeneralError;
10995
11220
  /**
10996
11221
  * Not Found
10997
11222
  */
10998
- 404: unknown;
11223
+ 404: GeneralError;
10999
11224
  /**
11000
11225
  * Internal Server Error
11001
11226
  */
11002
- 500: unknown;
11227
+ 500: GeneralError;
11003
11228
  };
11004
11229
 
11230
+ export type GetDeployRequestThrottlerError =
11231
+ GetDeployRequestThrottlerErrors[keyof GetDeployRequestThrottlerErrors];
11232
+
11005
11233
  export type GetDeployRequestThrottlerResponses = {
11006
11234
  /**
11007
11235
  * Deploy request throttler configurations
@@ -11045,21 +11273,24 @@ export type UpdateDeployRequestThrottlerErrors = {
11045
11273
  /**
11046
11274
  * Unauthorized
11047
11275
  */
11048
- 401: unknown;
11276
+ 401: GeneralError;
11049
11277
  /**
11050
11278
  * Forbidden
11051
11279
  */
11052
- 403: unknown;
11280
+ 403: GeneralError;
11053
11281
  /**
11054
11282
  * Not Found
11055
11283
  */
11056
- 404: unknown;
11284
+ 404: GeneralError;
11057
11285
  /**
11058
11286
  * Internal Server Error
11059
11287
  */
11060
- 500: unknown;
11288
+ 500: GeneralError;
11061
11289
  };
11062
11290
 
11291
+ export type UpdateDeployRequestThrottlerError =
11292
+ UpdateDeployRequestThrottlerErrors[keyof UpdateDeployRequestThrottlerErrors];
11293
+
11063
11294
  export type UpdateDeployRequestThrottlerResponses = {
11064
11295
  /**
11065
11296
  * Deploy request throttler configurations
@@ -11090,21 +11321,24 @@ export type GetDatabaseThrottlerErrors = {
11090
11321
  /**
11091
11322
  * Unauthorized
11092
11323
  */
11093
- 401: unknown;
11324
+ 401: GeneralError;
11094
11325
  /**
11095
11326
  * Forbidden
11096
11327
  */
11097
- 403: unknown;
11328
+ 403: GeneralError;
11098
11329
  /**
11099
11330
  * Not Found
11100
11331
  */
11101
- 404: unknown;
11332
+ 404: GeneralError;
11102
11333
  /**
11103
11334
  * Internal Server Error
11104
11335
  */
11105
- 500: unknown;
11336
+ 500: GeneralError;
11106
11337
  };
11107
11338
 
11339
+ export type GetDatabaseThrottlerError =
11340
+ GetDatabaseThrottlerErrors[keyof GetDatabaseThrottlerErrors];
11341
+
11108
11342
  export type GetDatabaseThrottlerResponses = {
11109
11343
  /**
11110
11344
  * Database throttler configurations
@@ -11144,21 +11378,24 @@ export type UpdateDatabaseThrottlerErrors = {
11144
11378
  /**
11145
11379
  * Unauthorized
11146
11380
  */
11147
- 401: unknown;
11381
+ 401: GeneralError;
11148
11382
  /**
11149
11383
  * Forbidden
11150
11384
  */
11151
- 403: unknown;
11385
+ 403: GeneralError;
11152
11386
  /**
11153
11387
  * Not Found
11154
11388
  */
11155
- 404: unknown;
11389
+ 404: GeneralError;
11156
11390
  /**
11157
11391
  * Internal Server Error
11158
11392
  */
11159
- 500: unknown;
11393
+ 500: GeneralError;
11160
11394
  };
11161
11395
 
11396
+ export type UpdateDatabaseThrottlerError =
11397
+ UpdateDatabaseThrottlerErrors[keyof UpdateDatabaseThrottlerErrors];
11398
+
11162
11399
  export type UpdateDatabaseThrottlerResponses = {
11163
11400
  /**
11164
11401
  * Database throttler configurations
@@ -11198,21 +11435,23 @@ export type ListWebhooksErrors = {
11198
11435
  /**
11199
11436
  * Unauthorized
11200
11437
  */
11201
- 401: unknown;
11438
+ 401: GeneralError;
11202
11439
  /**
11203
11440
  * Forbidden
11204
11441
  */
11205
- 403: unknown;
11442
+ 403: GeneralError;
11206
11443
  /**
11207
11444
  * Not Found
11208
11445
  */
11209
- 404: unknown;
11446
+ 404: GeneralError;
11210
11447
  /**
11211
11448
  * Internal Server Error
11212
11449
  */
11213
- 500: unknown;
11450
+ 500: GeneralError;
11214
11451
  };
11215
11452
 
11453
+ export type ListWebhooksError = ListWebhooksErrors[keyof ListWebhooksErrors];
11454
+
11216
11455
  export type ListWebhooksResponses = {
11217
11456
  /**
11218
11457
  * Returns a list of webhooks for a database
@@ -11256,21 +11495,23 @@ export type CreateWebhookErrors = {
11256
11495
  /**
11257
11496
  * Unauthorized
11258
11497
  */
11259
- 401: unknown;
11498
+ 401: GeneralError;
11260
11499
  /**
11261
11500
  * Forbidden
11262
11501
  */
11263
- 403: unknown;
11502
+ 403: GeneralError;
11264
11503
  /**
11265
11504
  * Not Found
11266
11505
  */
11267
- 404: unknown;
11506
+ 404: GeneralError;
11268
11507
  /**
11269
11508
  * Internal Server Error
11270
11509
  */
11271
- 500: unknown;
11510
+ 500: GeneralError;
11272
11511
  };
11273
11512
 
11513
+ export type CreateWebhookError = CreateWebhookErrors[keyof CreateWebhookErrors];
11514
+
11274
11515
  export type CreateWebhookResponses = {
11275
11516
  /**
11276
11517
  * Returns the created webhook
@@ -11305,21 +11546,23 @@ export type DeleteWebhookErrors = {
11305
11546
  /**
11306
11547
  * Unauthorized
11307
11548
  */
11308
- 401: unknown;
11549
+ 401: GeneralError;
11309
11550
  /**
11310
11551
  * Forbidden
11311
11552
  */
11312
- 403: unknown;
11553
+ 403: GeneralError;
11313
11554
  /**
11314
11555
  * Not Found
11315
11556
  */
11316
- 404: unknown;
11557
+ 404: GeneralError;
11317
11558
  /**
11318
11559
  * Internal Server Error
11319
11560
  */
11320
- 500: unknown;
11561
+ 500: GeneralError;
11321
11562
  };
11322
11563
 
11564
+ export type DeleteWebhookError = DeleteWebhookErrors[keyof DeleteWebhookErrors];
11565
+
11323
11566
  export type DeleteWebhookResponses = {
11324
11567
  /**
11325
11568
  * Webhook successfully deleted
@@ -11351,21 +11594,23 @@ export type GetWebhookErrors = {
11351
11594
  /**
11352
11595
  * Unauthorized
11353
11596
  */
11354
- 401: unknown;
11597
+ 401: GeneralError;
11355
11598
  /**
11356
11599
  * Forbidden
11357
11600
  */
11358
- 403: unknown;
11601
+ 403: GeneralError;
11359
11602
  /**
11360
11603
  * Not Found
11361
11604
  */
11362
- 404: unknown;
11605
+ 404: GeneralError;
11363
11606
  /**
11364
11607
  * Internal Server Error
11365
11608
  */
11366
- 500: unknown;
11609
+ 500: GeneralError;
11367
11610
  };
11368
11611
 
11612
+ export type GetWebhookError = GetWebhookErrors[keyof GetWebhookErrors];
11613
+
11369
11614
  export type GetWebhookResponses = {
11370
11615
  /**
11371
11616
  * Returns the webhook
@@ -11412,21 +11657,23 @@ export type UpdateWebhookErrors = {
11412
11657
  /**
11413
11658
  * Unauthorized
11414
11659
  */
11415
- 401: unknown;
11660
+ 401: GeneralError;
11416
11661
  /**
11417
11662
  * Forbidden
11418
11663
  */
11419
- 403: unknown;
11664
+ 403: GeneralError;
11420
11665
  /**
11421
11666
  * Not Found
11422
11667
  */
11423
- 404: unknown;
11668
+ 404: GeneralError;
11424
11669
  /**
11425
11670
  * Internal Server Error
11426
11671
  */
11427
- 500: unknown;
11672
+ 500: GeneralError;
11428
11673
  };
11429
11674
 
11675
+ export type UpdateWebhookError = UpdateWebhookErrors[keyof UpdateWebhookErrors];
11676
+
11430
11677
  export type UpdateWebhookResponses = {
11431
11678
  /**
11432
11679
  * Returns the updated webhook
@@ -11461,21 +11708,23 @@ export type TestWebhookErrors = {
11461
11708
  /**
11462
11709
  * Unauthorized
11463
11710
  */
11464
- 401: unknown;
11711
+ 401: GeneralError;
11465
11712
  /**
11466
11713
  * Forbidden
11467
11714
  */
11468
- 403: unknown;
11715
+ 403: GeneralError;
11469
11716
  /**
11470
11717
  * Not Found
11471
11718
  */
11472
- 404: unknown;
11719
+ 404: GeneralError;
11473
11720
  /**
11474
11721
  * Internal Server Error
11475
11722
  */
11476
- 500: unknown;
11723
+ 500: GeneralError;
11477
11724
  };
11478
11725
 
11726
+ export type TestWebhookError = TestWebhookErrors[keyof TestWebhookErrors];
11727
+
11479
11728
  export type TestWebhookResponses = {
11480
11729
  /**
11481
11730
  * Webhook test event successfully triggered
@@ -11516,21 +11765,23 @@ export type ListWorkflowsErrors = {
11516
11765
  /**
11517
11766
  * Unauthorized
11518
11767
  */
11519
- 401: unknown;
11768
+ 401: GeneralError;
11520
11769
  /**
11521
11770
  * Forbidden
11522
11771
  */
11523
- 403: unknown;
11772
+ 403: GeneralError;
11524
11773
  /**
11525
11774
  * Not Found
11526
11775
  */
11527
- 404: unknown;
11776
+ 404: GeneralError;
11528
11777
  /**
11529
11778
  * Internal Server Error
11530
11779
  */
11531
- 500: unknown;
11780
+ 500: GeneralError;
11532
11781
  };
11533
11782
 
11783
+ export type ListWorkflowsError = ListWorkflowsErrors[keyof ListWorkflowsErrors];
11784
+
11534
11785
  export type ListWorkflowsResponses = {
11535
11786
  /**
11536
11787
  * Returns workflows
@@ -11590,21 +11841,24 @@ export type CreateWorkflowErrors = {
11590
11841
  /**
11591
11842
  * Unauthorized
11592
11843
  */
11593
- 401: unknown;
11844
+ 401: GeneralError;
11594
11845
  /**
11595
11846
  * Forbidden
11596
11847
  */
11597
- 403: unknown;
11848
+ 403: GeneralError;
11598
11849
  /**
11599
11850
  * Not Found
11600
11851
  */
11601
- 404: unknown;
11852
+ 404: GeneralError;
11602
11853
  /**
11603
11854
  * Internal Server Error
11604
11855
  */
11605
- 500: unknown;
11856
+ 500: GeneralError;
11606
11857
  };
11607
11858
 
11859
+ export type CreateWorkflowError =
11860
+ CreateWorkflowErrors[keyof CreateWorkflowErrors];
11861
+
11608
11862
  export type CreateWorkflowResponses = {
11609
11863
  /**
11610
11864
  * Returns the workflow
@@ -11639,21 +11893,24 @@ export type WorkflowCancelErrors = {
11639
11893
  /**
11640
11894
  * Unauthorized
11641
11895
  */
11642
- 401: unknown;
11896
+ 401: GeneralError;
11643
11897
  /**
11644
11898
  * Forbidden
11645
11899
  */
11646
- 403: unknown;
11900
+ 403: GeneralError;
11647
11901
  /**
11648
11902
  * Not Found
11649
11903
  */
11650
- 404: unknown;
11904
+ 404: GeneralError;
11651
11905
  /**
11652
11906
  * Internal Server Error
11653
11907
  */
11654
- 500: unknown;
11908
+ 500: GeneralError;
11655
11909
  };
11656
11910
 
11911
+ export type WorkflowCancelError =
11912
+ WorkflowCancelErrors[keyof WorkflowCancelErrors];
11913
+
11657
11914
  export type WorkflowCancelResponses = {
11658
11915
  /**
11659
11916
  * Returns a workflow
@@ -11688,21 +11945,23 @@ export type GetWorkflowErrors = {
11688
11945
  /**
11689
11946
  * Unauthorized
11690
11947
  */
11691
- 401: unknown;
11948
+ 401: GeneralError;
11692
11949
  /**
11693
11950
  * Forbidden
11694
11951
  */
11695
- 403: unknown;
11952
+ 403: GeneralError;
11696
11953
  /**
11697
11954
  * Not Found
11698
11955
  */
11699
- 404: unknown;
11956
+ 404: GeneralError;
11700
11957
  /**
11701
11958
  * Internal Server Error
11702
11959
  */
11703
- 500: unknown;
11960
+ 500: GeneralError;
11704
11961
  };
11705
11962
 
11963
+ export type GetWorkflowError = GetWorkflowErrors[keyof GetWorkflowErrors];
11964
+
11706
11965
  export type GetWorkflowResponses = {
11707
11966
  /**
11708
11967
  * Returns a workflow
@@ -11737,21 +11996,24 @@ export type WorkflowCompleteErrors = {
11737
11996
  /**
11738
11997
  * Unauthorized
11739
11998
  */
11740
- 401: unknown;
11999
+ 401: GeneralError;
11741
12000
  /**
11742
12001
  * Forbidden
11743
12002
  */
11744
- 403: unknown;
12003
+ 403: GeneralError;
11745
12004
  /**
11746
12005
  * Not Found
11747
12006
  */
11748
- 404: unknown;
12007
+ 404: GeneralError;
11749
12008
  /**
11750
12009
  * Internal Server Error
11751
12010
  */
11752
- 500: unknown;
12011
+ 500: GeneralError;
11753
12012
  };
11754
12013
 
12014
+ export type WorkflowCompleteError =
12015
+ WorkflowCompleteErrors[keyof WorkflowCompleteErrors];
12016
+
11755
12017
  export type WorkflowCompleteResponses = {
11756
12018
  /**
11757
12019
  * Returns a workflow
@@ -11786,21 +12048,24 @@ export type WorkflowCutoverErrors = {
11786
12048
  /**
11787
12049
  * Unauthorized
11788
12050
  */
11789
- 401: unknown;
12051
+ 401: GeneralError;
11790
12052
  /**
11791
12053
  * Forbidden
11792
12054
  */
11793
- 403: unknown;
12055
+ 403: GeneralError;
11794
12056
  /**
11795
12057
  * Not Found
11796
12058
  */
11797
- 404: unknown;
12059
+ 404: GeneralError;
11798
12060
  /**
11799
12061
  * Internal Server Error
11800
12062
  */
11801
- 500: unknown;
12063
+ 500: GeneralError;
11802
12064
  };
11803
12065
 
12066
+ export type WorkflowCutoverError =
12067
+ WorkflowCutoverErrors[keyof WorkflowCutoverErrors];
12068
+
11804
12069
  export type WorkflowCutoverResponses = {
11805
12070
  /**
11806
12071
  * Returns a workflow
@@ -11835,21 +12100,23 @@ export type WorkflowRetryErrors = {
11835
12100
  /**
11836
12101
  * Unauthorized
11837
12102
  */
11838
- 401: unknown;
12103
+ 401: GeneralError;
11839
12104
  /**
11840
12105
  * Forbidden
11841
12106
  */
11842
- 403: unknown;
12107
+ 403: GeneralError;
11843
12108
  /**
11844
12109
  * Not Found
11845
12110
  */
11846
- 404: unknown;
12111
+ 404: GeneralError;
11847
12112
  /**
11848
12113
  * Internal Server Error
11849
12114
  */
11850
- 500: unknown;
12115
+ 500: GeneralError;
11851
12116
  };
11852
12117
 
12118
+ export type WorkflowRetryError = WorkflowRetryErrors[keyof WorkflowRetryErrors];
12119
+
11853
12120
  export type WorkflowRetryResponses = {
11854
12121
  /**
11855
12122
  * Returns a workflow
@@ -11884,21 +12151,24 @@ export type WorkflowReverseCutoverErrors = {
11884
12151
  /**
11885
12152
  * Unauthorized
11886
12153
  */
11887
- 401: unknown;
12154
+ 401: GeneralError;
11888
12155
  /**
11889
12156
  * Forbidden
11890
12157
  */
11891
- 403: unknown;
12158
+ 403: GeneralError;
11892
12159
  /**
11893
12160
  * Not Found
11894
12161
  */
11895
- 404: unknown;
12162
+ 404: GeneralError;
11896
12163
  /**
11897
12164
  * Internal Server Error
11898
12165
  */
11899
- 500: unknown;
12166
+ 500: GeneralError;
11900
12167
  };
11901
12168
 
12169
+ export type WorkflowReverseCutoverError =
12170
+ WorkflowReverseCutoverErrors[keyof WorkflowReverseCutoverErrors];
12171
+
11902
12172
  export type WorkflowReverseCutoverResponses = {
11903
12173
  /**
11904
12174
  * Returns a workflow
@@ -11933,21 +12203,24 @@ export type WorkflowReverseTrafficErrors = {
11933
12203
  /**
11934
12204
  * Unauthorized
11935
12205
  */
11936
- 401: unknown;
12206
+ 401: GeneralError;
11937
12207
  /**
11938
12208
  * Forbidden
11939
12209
  */
11940
- 403: unknown;
12210
+ 403: GeneralError;
11941
12211
  /**
11942
12212
  * Not Found
11943
12213
  */
11944
- 404: unknown;
12214
+ 404: GeneralError;
11945
12215
  /**
11946
12216
  * Internal Server Error
11947
12217
  */
11948
- 500: unknown;
12218
+ 500: GeneralError;
11949
12219
  };
11950
12220
 
12221
+ export type WorkflowReverseTrafficError =
12222
+ WorkflowReverseTrafficErrors[keyof WorkflowReverseTrafficErrors];
12223
+
11951
12224
  export type WorkflowReverseTrafficResponses = {
11952
12225
  /**
11953
12226
  * Returns a workflow
@@ -11982,21 +12255,24 @@ export type WorkflowSwitchPrimariesErrors = {
11982
12255
  /**
11983
12256
  * Unauthorized
11984
12257
  */
11985
- 401: unknown;
12258
+ 401: GeneralError;
11986
12259
  /**
11987
12260
  * Forbidden
11988
12261
  */
11989
- 403: unknown;
12262
+ 403: GeneralError;
11990
12263
  /**
11991
12264
  * Not Found
11992
12265
  */
11993
- 404: unknown;
12266
+ 404: GeneralError;
11994
12267
  /**
11995
12268
  * Internal Server Error
11996
12269
  */
11997
- 500: unknown;
12270
+ 500: GeneralError;
11998
12271
  };
11999
12272
 
12273
+ export type WorkflowSwitchPrimariesError =
12274
+ WorkflowSwitchPrimariesErrors[keyof WorkflowSwitchPrimariesErrors];
12275
+
12000
12276
  export type WorkflowSwitchPrimariesResponses = {
12001
12277
  /**
12002
12278
  * Returns a workflow
@@ -12031,21 +12307,24 @@ export type WorkflowSwitchReplicasErrors = {
12031
12307
  /**
12032
12308
  * Unauthorized
12033
12309
  */
12034
- 401: unknown;
12310
+ 401: GeneralError;
12035
12311
  /**
12036
12312
  * Forbidden
12037
12313
  */
12038
- 403: unknown;
12314
+ 403: GeneralError;
12039
12315
  /**
12040
12316
  * Not Found
12041
12317
  */
12042
- 404: unknown;
12318
+ 404: GeneralError;
12043
12319
  /**
12044
12320
  * Internal Server Error
12045
12321
  */
12046
- 500: unknown;
12322
+ 500: GeneralError;
12047
12323
  };
12048
12324
 
12325
+ export type WorkflowSwitchReplicasError =
12326
+ WorkflowSwitchReplicasErrors[keyof WorkflowSwitchReplicasErrors];
12327
+
12049
12328
  export type WorkflowSwitchReplicasResponses = {
12050
12329
  /**
12051
12330
  * Returns a workflow
@@ -12080,21 +12359,24 @@ export type VerifyWorkflowErrors = {
12080
12359
  /**
12081
12360
  * Unauthorized
12082
12361
  */
12083
- 401: unknown;
12362
+ 401: GeneralError;
12084
12363
  /**
12085
12364
  * Forbidden
12086
12365
  */
12087
- 403: unknown;
12366
+ 403: GeneralError;
12088
12367
  /**
12089
12368
  * Not Found
12090
12369
  */
12091
- 404: unknown;
12370
+ 404: GeneralError;
12092
12371
  /**
12093
12372
  * Internal Server Error
12094
12373
  */
12095
- 500: unknown;
12374
+ 500: GeneralError;
12096
12375
  };
12097
12376
 
12377
+ export type VerifyWorkflowError =
12378
+ VerifyWorkflowErrors[keyof VerifyWorkflowErrors];
12379
+
12098
12380
  export type VerifyWorkflowResponses = {
12099
12381
  /**
12100
12382
  * Returns a workflow
@@ -12125,21 +12407,24 @@ export type DeleteDatabaseErrors = {
12125
12407
  /**
12126
12408
  * Unauthorized
12127
12409
  */
12128
- 401: unknown;
12410
+ 401: GeneralError;
12129
12411
  /**
12130
12412
  * Forbidden
12131
12413
  */
12132
- 403: unknown;
12414
+ 403: GeneralError;
12133
12415
  /**
12134
12416
  * Not Found
12135
12417
  */
12136
- 404: unknown;
12418
+ 404: GeneralError;
12137
12419
  /**
12138
12420
  * Internal Server Error
12139
12421
  */
12140
- 500: unknown;
12422
+ 500: GeneralError;
12141
12423
  };
12142
12424
 
12425
+ export type DeleteDatabaseError =
12426
+ DeleteDatabaseErrors[keyof DeleteDatabaseErrors];
12427
+
12143
12428
  export type DeleteDatabaseResponses = {
12144
12429
  /**
12145
12430
  * Deletes a database
@@ -12167,21 +12452,23 @@ export type GetDatabaseErrors = {
12167
12452
  /**
12168
12453
  * Unauthorized
12169
12454
  */
12170
- 401: unknown;
12455
+ 401: GeneralError;
12171
12456
  /**
12172
12457
  * Forbidden
12173
12458
  */
12174
- 403: unknown;
12459
+ 403: GeneralError;
12175
12460
  /**
12176
12461
  * Not Found
12177
12462
  */
12178
- 404: unknown;
12463
+ 404: GeneralError;
12179
12464
  /**
12180
12465
  * Internal Server Error
12181
12466
  */
12182
- 500: unknown;
12467
+ 500: GeneralError;
12183
12468
  };
12184
12469
 
12470
+ export type GetDatabaseError = GetDatabaseErrors[keyof GetDatabaseErrors];
12471
+
12185
12472
  export type GetDatabaseResponses = {
12186
12473
  /**
12187
12474
  * Returns a database
@@ -12257,21 +12544,24 @@ export type UpdateDatabaseSettingsErrors = {
12257
12544
  /**
12258
12545
  * Unauthorized
12259
12546
  */
12260
- 401: unknown;
12547
+ 401: GeneralError;
12261
12548
  /**
12262
12549
  * Forbidden
12263
12550
  */
12264
- 403: unknown;
12551
+ 403: GeneralError;
12265
12552
  /**
12266
12553
  * Not Found
12267
12554
  */
12268
- 404: unknown;
12555
+ 404: GeneralError;
12269
12556
  /**
12270
12557
  * Internal Server Error
12271
12558
  */
12272
- 500: unknown;
12559
+ 500: GeneralError;
12273
12560
  };
12274
12561
 
12562
+ export type UpdateDatabaseSettingsError =
12563
+ UpdateDatabaseSettingsErrors[keyof UpdateDatabaseSettingsErrors];
12564
+
12275
12565
  export type UpdateDatabaseSettingsResponses = {
12276
12566
  /**
12277
12567
  * Returns the updated database
@@ -12311,21 +12601,24 @@ export type ListReadOnlyRegionsErrors = {
12311
12601
  /**
12312
12602
  * Unauthorized
12313
12603
  */
12314
- 401: unknown;
12604
+ 401: GeneralError;
12315
12605
  /**
12316
12606
  * Forbidden
12317
12607
  */
12318
- 403: unknown;
12608
+ 403: GeneralError;
12319
12609
  /**
12320
12610
  * Not Found
12321
12611
  */
12322
- 404: unknown;
12612
+ 404: GeneralError;
12323
12613
  /**
12324
12614
  * Internal Server Error
12325
12615
  */
12326
- 500: unknown;
12616
+ 500: GeneralError;
12327
12617
  };
12328
12618
 
12619
+ export type ListReadOnlyRegionsError =
12620
+ ListReadOnlyRegionsErrors[keyof ListReadOnlyRegionsErrors];
12621
+
12329
12622
  export type ListReadOnlyRegionsResponses = {
12330
12623
  /**
12331
12624
  * List of the database's read-only regions
@@ -12365,21 +12658,24 @@ export type ListDatabaseRegionsErrors = {
12365
12658
  /**
12366
12659
  * Unauthorized
12367
12660
  */
12368
- 401: unknown;
12661
+ 401: GeneralError;
12369
12662
  /**
12370
12663
  * Forbidden
12371
12664
  */
12372
- 403: unknown;
12665
+ 403: GeneralError;
12373
12666
  /**
12374
12667
  * Not Found
12375
12668
  */
12376
- 404: unknown;
12669
+ 404: GeneralError;
12377
12670
  /**
12378
12671
  * Internal Server Error
12379
12672
  */
12380
- 500: unknown;
12673
+ 500: GeneralError;
12381
12674
  };
12382
12675
 
12676
+ export type ListDatabaseRegionsError =
12677
+ ListDatabaseRegionsErrors[keyof ListDatabaseRegionsErrors];
12678
+
12383
12679
  export type ListDatabaseRegionsResponses = {
12384
12680
  /**
12385
12681
  * Returns the available regions for a database
@@ -12415,21 +12711,23 @@ export type ListInvoicesErrors = {
12415
12711
  /**
12416
12712
  * Unauthorized
12417
12713
  */
12418
- 401: unknown;
12714
+ 401: GeneralError;
12419
12715
  /**
12420
12716
  * Forbidden
12421
12717
  */
12422
- 403: unknown;
12718
+ 403: GeneralError;
12423
12719
  /**
12424
12720
  * Not Found
12425
12721
  */
12426
- 404: unknown;
12722
+ 404: GeneralError;
12427
12723
  /**
12428
12724
  * Internal Server Error
12429
12725
  */
12430
- 500: unknown;
12726
+ 500: GeneralError;
12431
12727
  };
12432
12728
 
12729
+ export type ListInvoicesError = ListInvoicesErrors[keyof ListInvoicesErrors];
12730
+
12433
12731
  export type ListInvoicesResponses = {
12434
12732
  /**
12435
12733
  * Gets the invoices for an organization
@@ -12460,21 +12758,23 @@ export type GetInvoiceErrors = {
12460
12758
  /**
12461
12759
  * Unauthorized
12462
12760
  */
12463
- 401: unknown;
12761
+ 401: GeneralError;
12464
12762
  /**
12465
12763
  * Forbidden
12466
12764
  */
12467
- 403: unknown;
12765
+ 403: GeneralError;
12468
12766
  /**
12469
12767
  * Not Found
12470
12768
  */
12471
- 404: unknown;
12769
+ 404: GeneralError;
12472
12770
  /**
12473
12771
  * Internal Server Error
12474
12772
  */
12475
- 500: unknown;
12773
+ 500: GeneralError;
12476
12774
  };
12477
12775
 
12776
+ export type GetInvoiceError = GetInvoiceErrors[keyof GetInvoiceErrors];
12777
+
12478
12778
  export type GetInvoiceResponses = {
12479
12779
  /**
12480
12780
  * Returns an invoice
@@ -12513,21 +12813,24 @@ export type GetInvoiceLineItemsErrors = {
12513
12813
  /**
12514
12814
  * Unauthorized
12515
12815
  */
12516
- 401: unknown;
12816
+ 401: GeneralError;
12517
12817
  /**
12518
12818
  * Forbidden
12519
12819
  */
12520
- 403: unknown;
12820
+ 403: GeneralError;
12521
12821
  /**
12522
12822
  * Not Found
12523
12823
  */
12524
- 404: unknown;
12824
+ 404: GeneralError;
12525
12825
  /**
12526
12826
  * Internal Server Error
12527
12827
  */
12528
- 500: unknown;
12828
+ 500: GeneralError;
12529
12829
  };
12530
12830
 
12831
+ export type GetInvoiceLineItemsError =
12832
+ GetInvoiceLineItemsErrors[keyof GetInvoiceLineItemsErrors];
12833
+
12531
12834
  export type GetInvoiceLineItemsResponses = {
12532
12835
  /**
12533
12836
  * Gets the line items for an invoice
@@ -12563,21 +12866,24 @@ export type ListOrganizationMembersErrors = {
12563
12866
  /**
12564
12867
  * Unauthorized
12565
12868
  */
12566
- 401: unknown;
12869
+ 401: GeneralError;
12567
12870
  /**
12568
12871
  * Forbidden
12569
12872
  */
12570
- 403: unknown;
12873
+ 403: GeneralError;
12571
12874
  /**
12572
12875
  * Not Found
12573
12876
  */
12574
- 404: unknown;
12877
+ 404: GeneralError;
12575
12878
  /**
12576
12879
  * Internal Server Error
12577
12880
  */
12578
- 500: unknown;
12881
+ 500: GeneralError;
12579
12882
  };
12580
12883
 
12884
+ export type ListOrganizationMembersError =
12885
+ ListOrganizationMembersErrors[keyof ListOrganizationMembersErrors];
12886
+
12581
12887
  export type ListOrganizationMembersResponses = {
12582
12888
  /**
12583
12889
  * Returns members of the organization
@@ -12613,21 +12919,24 @@ export type ListOauthApplicationsErrors = {
12613
12919
  /**
12614
12920
  * Unauthorized
12615
12921
  */
12616
- 401: unknown;
12922
+ 401: GeneralError;
12617
12923
  /**
12618
12924
  * Forbidden
12619
12925
  */
12620
- 403: unknown;
12926
+ 403: GeneralError;
12621
12927
  /**
12622
12928
  * Not Found
12623
12929
  */
12624
- 404: unknown;
12930
+ 404: GeneralError;
12625
12931
  /**
12626
12932
  * Internal Server Error
12627
12933
  */
12628
- 500: unknown;
12934
+ 500: GeneralError;
12629
12935
  };
12630
12936
 
12937
+ export type ListOauthApplicationsError =
12938
+ ListOauthApplicationsErrors[keyof ListOauthApplicationsErrors];
12939
+
12631
12940
  export type ListOauthApplicationsResponses = {
12632
12941
  /**
12633
12942
  * Returns a list of the organization's oauth applications
@@ -12658,21 +12967,24 @@ export type GetOauthApplicationErrors = {
12658
12967
  /**
12659
12968
  * Unauthorized
12660
12969
  */
12661
- 401: unknown;
12970
+ 401: GeneralError;
12662
12971
  /**
12663
12972
  * Forbidden
12664
12973
  */
12665
- 403: unknown;
12974
+ 403: GeneralError;
12666
12975
  /**
12667
12976
  * Not Found
12668
12977
  */
12669
- 404: unknown;
12978
+ 404: GeneralError;
12670
12979
  /**
12671
12980
  * Internal Server Error
12672
12981
  */
12673
- 500: unknown;
12982
+ 500: GeneralError;
12674
12983
  };
12675
12984
 
12985
+ export type GetOauthApplicationError =
12986
+ GetOauthApplicationErrors[keyof GetOauthApplicationErrors];
12987
+
12676
12988
  export type GetOauthApplicationResponses = {
12677
12989
  /**
12678
12990
  * Returns information abuot an OAuth application
@@ -12712,21 +13024,24 @@ export type ListOauthTokensErrors = {
12712
13024
  /**
12713
13025
  * Unauthorized
12714
13026
  */
12715
- 401: unknown;
13027
+ 401: GeneralError;
12716
13028
  /**
12717
13029
  * Forbidden
12718
13030
  */
12719
- 403: unknown;
13031
+ 403: GeneralError;
12720
13032
  /**
12721
13033
  * Not Found
12722
13034
  */
12723
- 404: unknown;
13035
+ 404: GeneralError;
12724
13036
  /**
12725
13037
  * Internal Server Error
12726
13038
  */
12727
- 500: unknown;
13039
+ 500: GeneralError;
12728
13040
  };
12729
13041
 
13042
+ export type ListOauthTokensError =
13043
+ ListOauthTokensErrors[keyof ListOauthTokensErrors];
13044
+
12730
13045
  export type ListOauthTokensResponses = {
12731
13046
  /**
12732
13047
  * Returns the OAuth tokens issued on behalf of the OAuth application
@@ -12761,21 +13076,24 @@ export type DeleteOauthTokenErrors = {
12761
13076
  /**
12762
13077
  * Unauthorized
12763
13078
  */
12764
- 401: unknown;
13079
+ 401: GeneralError;
12765
13080
  /**
12766
13081
  * Forbidden
12767
13082
  */
12768
- 403: unknown;
13083
+ 403: GeneralError;
12769
13084
  /**
12770
13085
  * Not Found
12771
13086
  */
12772
- 404: unknown;
13087
+ 404: GeneralError;
12773
13088
  /**
12774
13089
  * Internal Server Error
12775
13090
  */
12776
- 500: unknown;
13091
+ 500: GeneralError;
12777
13092
  };
12778
13093
 
13094
+ export type DeleteOauthTokenError =
13095
+ DeleteOauthTokenErrors[keyof DeleteOauthTokenErrors];
13096
+
12779
13097
  export type DeleteOauthTokenResponses = {
12780
13098
  /**
12781
13099
  * Deletes an OAuth application's OAuth token
@@ -12807,21 +13125,23 @@ export type GetOauthTokenErrors = {
12807
13125
  /**
12808
13126
  * Unauthorized
12809
13127
  */
12810
- 401: unknown;
13128
+ 401: GeneralError;
12811
13129
  /**
12812
13130
  * Forbidden
12813
13131
  */
12814
- 403: unknown;
13132
+ 403: GeneralError;
12815
13133
  /**
12816
13134
  * Not Found
12817
13135
  */
12818
- 404: unknown;
13136
+ 404: GeneralError;
12819
13137
  /**
12820
13138
  * Internal Server Error
12821
13139
  */
12822
- 500: unknown;
13140
+ 500: GeneralError;
12823
13141
  };
12824
13142
 
13143
+ export type GetOauthTokenError = GetOauthTokenErrors[keyof GetOauthTokenErrors];
13144
+
12825
13145
  export type GetOauthTokenResponses = {
12826
13146
  /**
12827
13147
  * Returns an OAuth token that was issued on behalf of the OAuth application
@@ -12877,21 +13197,24 @@ export type CreateOauthTokenErrors = {
12877
13197
  /**
12878
13198
  * Forbidden
12879
13199
  */
12880
- 403: unknown;
13200
+ 403: GeneralError;
12881
13201
  /**
12882
13202
  * Not Found
12883
13203
  */
12884
- 404: unknown;
13204
+ 404: GeneralError;
12885
13205
  /**
12886
13206
  * Unprocessable Entity
12887
13207
  */
12888
- 422: unknown;
13208
+ 422: GeneralError;
12889
13209
  /**
12890
13210
  * Internal Server Error
12891
13211
  */
12892
- 500: unknown;
13212
+ 500: GeneralError;
12893
13213
  };
12894
13214
 
13215
+ export type CreateOauthTokenError =
13216
+ CreateOauthTokenErrors[keyof CreateOauthTokenErrors];
13217
+
12895
13218
  export type CreateOauthTokenResponses = {
12896
13219
  /**
12897
13220
  * Returns the created OAuth token
@@ -12922,21 +13245,24 @@ export type ListPublicRegionsErrors = {
12922
13245
  /**
12923
13246
  * Unauthorized
12924
13247
  */
12925
- 401: unknown;
13248
+ 401: GeneralError;
12926
13249
  /**
12927
13250
  * Forbidden
12928
13251
  */
12929
- 403: unknown;
13252
+ 403: GeneralError;
12930
13253
  /**
12931
13254
  * Not Found
12932
13255
  */
12933
- 404: unknown;
13256
+ 404: GeneralError;
12934
13257
  /**
12935
13258
  * Internal Server Error
12936
13259
  */
12937
- 500: unknown;
13260
+ 500: GeneralError;
12938
13261
  };
12939
13262
 
13263
+ export type ListPublicRegionsError =
13264
+ ListPublicRegionsErrors[keyof ListPublicRegionsErrors];
13265
+
12940
13266
  export type ListPublicRegionsResponses = {
12941
13267
  /**
12942
13268
  * Returns the available public PlanetScale regions
@@ -12958,21 +13284,24 @@ export type GetCurrentUserErrors = {
12958
13284
  /**
12959
13285
  * Unauthorized
12960
13286
  */
12961
- 401: unknown;
13287
+ 401: GeneralError;
12962
13288
  /**
12963
13289
  * Forbidden
12964
13290
  */
12965
- 403: unknown;
13291
+ 403: GeneralError;
12966
13292
  /**
12967
13293
  * Not Found
12968
13294
  */
12969
- 404: unknown;
13295
+ 404: GeneralError;
12970
13296
  /**
12971
13297
  * Internal Server Error
12972
13298
  */
12973
- 500: unknown;
13299
+ 500: GeneralError;
12974
13300
  };
12975
13301
 
13302
+ export type GetCurrentUserError =
13303
+ GetCurrentUserErrors[keyof GetCurrentUserErrors];
13304
+
12976
13305
  export type GetCurrentUserResponses = {
12977
13306
  /**
12978
13307
  * Returns the user associated with this service token
@@ -13011,21 +13340,24 @@ export type ListKeyspaceResizesErrors = {
13011
13340
  /**
13012
13341
  * Unauthorized
13013
13342
  */
13014
- 401: unknown;
13343
+ 401: GeneralError;
13015
13344
  /**
13016
13345
  * Forbidden
13017
13346
  */
13018
- 403: unknown;
13347
+ 403: GeneralError;
13019
13348
  /**
13020
13349
  * Not Found
13021
13350
  */
13022
- 404: unknown;
13351
+ 404: GeneralError;
13023
13352
  /**
13024
13353
  * Internal Server Error
13025
13354
  */
13026
- 500: unknown;
13355
+ 500: GeneralError;
13027
13356
  };
13028
13357
 
13358
+ export type ListKeyspaceResizesError =
13359
+ ListKeyspaceResizesErrors[keyof ListKeyspaceResizesErrors];
13360
+
13029
13361
  export type ListKeyspaceResizesResponses = {
13030
13362
  /**
13031
13363
  * List the keyspace resize requests
@@ -13035,7 +13367,3 @@ export type ListKeyspaceResizesResponses = {
13035
13367
 
13036
13368
  export type ListKeyspaceResizesResponse =
13037
13369
  ListKeyspaceResizesResponses[keyof ListKeyspaceResizesResponses];
13038
-
13039
- export type ClientOptions = {
13040
- baseUrl: "https://api.planetscale.com/v1" | (string & {});
13041
- };