alchemy 0.67.0 → 0.68.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 (750) hide show
  1. package/bin/alchemy.js +25563 -26265
  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/resource.d.ts +34 -3
  20. package/lib/aws/control/resource.d.ts.map +1 -1
  21. package/lib/aws/control/resource.js +3 -3
  22. package/lib/aws/control/resource.js.map +1 -1
  23. package/lib/aws/ec2/internet-gateway-attachment.d.ts +1 -2
  24. package/lib/aws/ec2/internet-gateway-attachment.d.ts.map +1 -1
  25. package/lib/aws/ec2/internet-gateway-attachment.js +4 -4
  26. package/lib/aws/ec2/internet-gateway-attachment.js.map +1 -1
  27. package/lib/aws/ec2/internet-gateway.d.ts +1 -2
  28. package/lib/aws/ec2/internet-gateway.d.ts.map +1 -1
  29. package/lib/aws/ec2/internet-gateway.js +2 -2
  30. package/lib/aws/ec2/internet-gateway.js.map +1 -1
  31. package/lib/aws/ec2/nat-gateway.d.ts +1 -2
  32. package/lib/aws/ec2/nat-gateway.d.ts.map +1 -1
  33. package/lib/aws/ec2/nat-gateway.js +2 -2
  34. package/lib/aws/ec2/nat-gateway.js.map +1 -1
  35. package/lib/aws/ec2/route-table-association.d.ts +1 -2
  36. package/lib/aws/ec2/route-table-association.d.ts.map +1 -1
  37. package/lib/aws/ec2/route-table-association.js +2 -2
  38. package/lib/aws/ec2/route-table-association.js.map +1 -1
  39. package/lib/aws/ec2/route-table.d.ts +1 -2
  40. package/lib/aws/ec2/route-table.d.ts.map +1 -1
  41. package/lib/aws/ec2/route-table.js +2 -2
  42. package/lib/aws/ec2/route-table.js.map +1 -1
  43. package/lib/aws/ec2/route.d.ts +1 -2
  44. package/lib/aws/ec2/route.d.ts.map +1 -1
  45. package/lib/aws/ec2/route.js +2 -2
  46. package/lib/aws/ec2/route.js.map +1 -1
  47. package/lib/aws/ec2/security-group-rule.d.ts +1 -2
  48. package/lib/aws/ec2/security-group-rule.d.ts.map +1 -1
  49. package/lib/aws/ec2/security-group-rule.js +2 -2
  50. package/lib/aws/ec2/security-group-rule.js.map +1 -1
  51. package/lib/aws/ec2/security-group.d.ts +1 -2
  52. package/lib/aws/ec2/security-group.d.ts.map +1 -1
  53. package/lib/aws/ec2/security-group.js +2 -2
  54. package/lib/aws/ec2/security-group.js.map +1 -1
  55. package/lib/aws/ec2/subnet.d.ts +1 -2
  56. package/lib/aws/ec2/subnet.d.ts.map +1 -1
  57. package/lib/aws/ec2/subnet.js +2 -2
  58. package/lib/aws/ec2/subnet.js.map +1 -1
  59. package/lib/aws/ec2/vpc.d.ts +1 -2
  60. package/lib/aws/ec2/vpc.d.ts.map +1 -1
  61. package/lib/aws/ec2/vpc.js +2 -2
  62. package/lib/aws/ec2/vpc.js.map +1 -1
  63. package/lib/aws/function.d.ts +116 -3
  64. package/lib/aws/function.d.ts.map +1 -1
  65. package/lib/aws/function.js +2 -2
  66. package/lib/aws/function.js.map +1 -1
  67. package/lib/aws/oidc/github-oidc-provider.d.ts +13 -2
  68. package/lib/aws/oidc/github-oidc-provider.d.ts.map +1 -1
  69. package/lib/aws/oidc/oidc-provider.d.ts +48 -3
  70. package/lib/aws/oidc/oidc-provider.d.ts.map +1 -1
  71. package/lib/aws/oidc/oidc-provider.js +2 -2
  72. package/lib/aws/oidc/oidc-provider.js.map +1 -1
  73. package/lib/aws/policy-attachment.d.ts +2 -3
  74. package/lib/aws/policy-attachment.d.ts.map +1 -1
  75. package/lib/aws/policy-attachment.js +1 -1
  76. package/lib/aws/policy-attachment.js.map +1 -1
  77. package/lib/aws/policy.d.ts +1 -2
  78. package/lib/aws/policy.d.ts.map +1 -1
  79. package/lib/aws/policy.js +4 -4
  80. package/lib/aws/policy.js.map +1 -1
  81. package/lib/aws/queue.d.ts +1 -2
  82. package/lib/aws/queue.d.ts.map +1 -1
  83. package/lib/aws/queue.js +4 -4
  84. package/lib/aws/queue.js.map +1 -1
  85. package/lib/aws/role.d.ts +1 -2
  86. package/lib/aws/role.d.ts.map +1 -1
  87. package/lib/aws/role.js +2 -2
  88. package/lib/aws/role.js.map +1 -1
  89. package/lib/aws/ses.d.ts +1 -2
  90. package/lib/aws/ses.d.ts.map +1 -1
  91. package/lib/aws/ses.js +2 -2
  92. package/lib/aws/ses.js.map +1 -1
  93. package/lib/aws/ssm-parameter.d.ts +1 -2
  94. package/lib/aws/ssm-parameter.d.ts.map +1 -1
  95. package/lib/aws/ssm-parameter.js +2 -2
  96. package/lib/aws/ssm-parameter.js.map +1 -1
  97. package/lib/aws/table.d.ts +1 -2
  98. package/lib/aws/table.d.ts.map +1 -1
  99. package/lib/aws/table.js +2 -2
  100. package/lib/aws/table.js.map +1 -1
  101. package/lib/cloudflare/account-api-token.d.ts +1 -2
  102. package/lib/cloudflare/account-api-token.d.ts.map +1 -1
  103. package/lib/cloudflare/account-api-token.js +2 -2
  104. package/lib/cloudflare/account-api-token.js.map +1 -1
  105. package/lib/cloudflare/ai-gateway.d.ts +1 -2
  106. package/lib/cloudflare/ai-gateway.d.ts.map +1 -1
  107. package/lib/cloudflare/ai-gateway.js +2 -2
  108. package/lib/cloudflare/ai-gateway.js.map +1 -1
  109. package/lib/cloudflare/api-gateway-operation.d.ts +1 -2
  110. package/lib/cloudflare/api-gateway-operation.d.ts.map +1 -1
  111. package/lib/cloudflare/api-gateway-operation.js +2 -2
  112. package/lib/cloudflare/api-gateway-operation.js.map +1 -1
  113. package/lib/cloudflare/api-schema.d.ts +1 -2
  114. package/lib/cloudflare/api-schema.d.ts.map +1 -1
  115. package/lib/cloudflare/api-schema.js +2 -2
  116. package/lib/cloudflare/api-schema.js.map +1 -1
  117. package/lib/cloudflare/api-shield.d.ts +1 -2
  118. package/lib/cloudflare/api-shield.d.ts.map +1 -1
  119. package/lib/cloudflare/api-shield.js +2 -2
  120. package/lib/cloudflare/api-shield.js.map +1 -1
  121. package/lib/cloudflare/api.d.ts +18 -10
  122. package/lib/cloudflare/api.d.ts.map +1 -1
  123. package/lib/cloudflare/api.js +93 -38
  124. package/lib/cloudflare/api.js.map +1 -1
  125. package/lib/cloudflare/assets.d.ts +21 -43
  126. package/lib/cloudflare/assets.d.ts.map +1 -1
  127. package/lib/cloudflare/assets.js +78 -70
  128. package/lib/cloudflare/assets.js.map +1 -1
  129. package/lib/cloudflare/auth.d.ts +91 -17
  130. package/lib/cloudflare/auth.d.ts.map +1 -1
  131. package/lib/cloudflare/auth.js +141 -62
  132. package/lib/cloudflare/auth.js.map +1 -1
  133. package/lib/cloudflare/bound.d.ts +1 -1
  134. package/lib/cloudflare/bound.d.ts.map +1 -1
  135. package/lib/cloudflare/bucket.d.ts +60 -8
  136. package/lib/cloudflare/bucket.d.ts.map +1 -1
  137. package/lib/cloudflare/bucket.js +161 -18
  138. package/lib/cloudflare/bucket.js.map +1 -1
  139. package/lib/cloudflare/bundle/plugin-wasm.js +4 -2
  140. package/lib/cloudflare/bundle/plugin-wasm.js.map +1 -1
  141. package/lib/cloudflare/certificate-pack.d.ts +1 -2
  142. package/lib/cloudflare/certificate-pack.d.ts.map +1 -1
  143. package/lib/cloudflare/certificate-pack.js +4 -4
  144. package/lib/cloudflare/certificate-pack.js.map +1 -1
  145. package/lib/cloudflare/compatibility-date.gen.d.ts +1 -1
  146. package/lib/cloudflare/compatibility-date.gen.js +1 -1
  147. package/lib/cloudflare/container.d.ts +1 -2
  148. package/lib/cloudflare/container.d.ts.map +1 -1
  149. package/lib/cloudflare/container.js +6 -6
  150. package/lib/cloudflare/container.js.map +1 -1
  151. package/lib/cloudflare/custom-domain.d.ts +1 -2
  152. package/lib/cloudflare/custom-domain.d.ts.map +1 -1
  153. package/lib/cloudflare/custom-domain.js +2 -2
  154. package/lib/cloudflare/custom-domain.js.map +1 -1
  155. package/lib/cloudflare/d1-database.d.ts +2 -3
  156. package/lib/cloudflare/d1-database.d.ts.map +1 -1
  157. package/lib/cloudflare/d1-database.js +5 -5
  158. package/lib/cloudflare/d1-database.js.map +1 -1
  159. package/lib/cloudflare/dispatch-namespace.d.ts +2 -3
  160. package/lib/cloudflare/dispatch-namespace.d.ts.map +1 -1
  161. package/lib/cloudflare/dispatch-namespace.js +3 -3
  162. package/lib/cloudflare/dispatch-namespace.js.map +1 -1
  163. package/lib/cloudflare/dns-records.d.ts +1 -2
  164. package/lib/cloudflare/dns-records.d.ts.map +1 -1
  165. package/lib/cloudflare/dns-records.js +4 -4
  166. package/lib/cloudflare/dns-records.js.map +1 -1
  167. package/lib/cloudflare/email-address.d.ts +1 -2
  168. package/lib/cloudflare/email-address.d.ts.map +1 -1
  169. package/lib/cloudflare/email-address.js +6 -6
  170. package/lib/cloudflare/email-address.js.map +1 -1
  171. package/lib/cloudflare/email-catch-all.d.ts +1 -2
  172. package/lib/cloudflare/email-catch-all.d.ts.map +1 -1
  173. package/lib/cloudflare/email-catch-all.js +4 -4
  174. package/lib/cloudflare/email-catch-all.js.map +1 -1
  175. package/lib/cloudflare/email-routing.d.ts +1 -2
  176. package/lib/cloudflare/email-routing.d.ts.map +1 -1
  177. package/lib/cloudflare/email-routing.js +4 -4
  178. package/lib/cloudflare/email-routing.js.map +1 -1
  179. package/lib/cloudflare/email-rule.d.ts +1 -2
  180. package/lib/cloudflare/email-rule.d.ts.map +1 -1
  181. package/lib/cloudflare/email-rule.js +4 -4
  182. package/lib/cloudflare/email-rule.js.map +1 -1
  183. package/lib/cloudflare/hyperdrive.d.ts +1 -2
  184. package/lib/cloudflare/hyperdrive.d.ts.map +1 -1
  185. package/lib/cloudflare/hyperdrive.js +4 -4
  186. package/lib/cloudflare/hyperdrive.js.map +1 -1
  187. package/lib/cloudflare/kv-namespace.d.ts +2 -3
  188. package/lib/cloudflare/kv-namespace.d.ts.map +1 -1
  189. package/lib/cloudflare/kv-namespace.js +5 -5
  190. package/lib/cloudflare/kv-namespace.js.map +1 -1
  191. package/lib/cloudflare/miniflare/delete.js +1 -1
  192. package/lib/cloudflare/miniflare/delete.js.map +1 -1
  193. package/lib/cloudflare/miniflare/miniflare-worker-proxy.d.ts.map +1 -1
  194. package/lib/cloudflare/miniflare/miniflare-worker-proxy.js +2 -7
  195. package/lib/cloudflare/miniflare/miniflare-worker-proxy.js.map +1 -1
  196. package/lib/cloudflare/miniflare/remote-binding-proxy.d.ts.map +1 -1
  197. package/lib/cloudflare/miniflare/remote-binding-proxy.js +15 -4
  198. package/lib/cloudflare/miniflare/remote-binding-proxy.js.map +1 -1
  199. package/lib/cloudflare/permission-groups.d.ts +1 -2
  200. package/lib/cloudflare/permission-groups.d.ts.map +1 -1
  201. package/lib/cloudflare/permission-groups.js +1 -1
  202. package/lib/cloudflare/permission-groups.js.map +1 -1
  203. package/lib/cloudflare/pipeline.d.ts +2 -3
  204. package/lib/cloudflare/pipeline.d.ts.map +1 -1
  205. package/lib/cloudflare/pipeline.js +5 -5
  206. package/lib/cloudflare/pipeline.js.map +1 -1
  207. package/lib/cloudflare/queue-consumer.d.ts +1 -2
  208. package/lib/cloudflare/queue-consumer.d.ts.map +1 -1
  209. package/lib/cloudflare/queue-consumer.js +4 -4
  210. package/lib/cloudflare/queue-consumer.js.map +1 -1
  211. package/lib/cloudflare/queue.d.ts +1 -2
  212. package/lib/cloudflare/queue.d.ts.map +1 -1
  213. package/lib/cloudflare/queue.js +4 -4
  214. package/lib/cloudflare/queue.js.map +1 -1
  215. package/lib/cloudflare/react-router/plugin.d.ts.map +1 -1
  216. package/lib/cloudflare/react-router/plugin.js +13 -0
  217. package/lib/cloudflare/react-router/plugin.js.map +1 -1
  218. package/lib/cloudflare/redirect-rule.d.ts +1 -2
  219. package/lib/cloudflare/redirect-rule.d.ts.map +1 -1
  220. package/lib/cloudflare/redirect-rule.js +4 -4
  221. package/lib/cloudflare/redirect-rule.js.map +1 -1
  222. package/lib/cloudflare/route.d.ts +1 -2
  223. package/lib/cloudflare/route.d.ts.map +1 -1
  224. package/lib/cloudflare/route.js +4 -4
  225. package/lib/cloudflare/route.js.map +1 -1
  226. package/lib/cloudflare/ruleset.d.ts +1 -2
  227. package/lib/cloudflare/ruleset.d.ts.map +1 -1
  228. package/lib/cloudflare/ruleset.js +2 -2
  229. package/lib/cloudflare/ruleset.js.map +1 -1
  230. package/lib/cloudflare/secret.d.ts +2 -3
  231. package/lib/cloudflare/secret.d.ts.map +1 -1
  232. package/lib/cloudflare/secret.js +3 -3
  233. package/lib/cloudflare/secret.js.map +1 -1
  234. package/lib/cloudflare/secrets-store.d.ts +2 -3
  235. package/lib/cloudflare/secrets-store.d.ts.map +1 -1
  236. package/lib/cloudflare/secrets-store.js +3 -3
  237. package/lib/cloudflare/secrets-store.js.map +1 -1
  238. package/lib/cloudflare/tunnel.d.ts +2 -3
  239. package/lib/cloudflare/tunnel.d.ts.map +1 -1
  240. package/lib/cloudflare/tunnel.js +3 -3
  241. package/lib/cloudflare/tunnel.js.map +1 -1
  242. package/lib/cloudflare/user.d.ts +3 -2
  243. package/lib/cloudflare/user.d.ts.map +1 -1
  244. package/lib/cloudflare/user.js +7 -5
  245. package/lib/cloudflare/user.js.map +1 -1
  246. package/lib/cloudflare/vectorize-index.d.ts +2 -3
  247. package/lib/cloudflare/vectorize-index.d.ts.map +1 -1
  248. package/lib/cloudflare/vectorize-index.js +6 -6
  249. package/lib/cloudflare/vectorize-index.js.map +1 -1
  250. package/lib/cloudflare/vectorize-metadata-index.d.ts +2 -3
  251. package/lib/cloudflare/vectorize-metadata-index.d.ts.map +1 -1
  252. package/lib/cloudflare/vectorize-metadata-index.js +4 -4
  253. package/lib/cloudflare/vectorize-metadata-index.js.map +1 -1
  254. package/lib/cloudflare/website.js +1 -1
  255. package/lib/cloudflare/website.js.map +1 -1
  256. package/lib/cloudflare/worker-assets.d.ts +1 -29
  257. package/lib/cloudflare/worker-assets.d.ts.map +1 -1
  258. package/lib/cloudflare/worker-assets.js +9 -42
  259. package/lib/cloudflare/worker-assets.js.map +1 -1
  260. package/lib/cloudflare/worker-stub.d.ts +2 -3
  261. package/lib/cloudflare/worker-stub.d.ts.map +1 -1
  262. package/lib/cloudflare/worker-stub.js +3 -3
  263. package/lib/cloudflare/worker-stub.js.map +1 -1
  264. package/lib/cloudflare/worker-subdomain.d.ts +4 -3
  265. package/lib/cloudflare/worker-subdomain.d.ts.map +1 -1
  266. package/lib/cloudflare/worker-subdomain.js +5 -5
  267. package/lib/cloudflare/worker-subdomain.js.map +1 -1
  268. package/lib/cloudflare/worker.d.ts +3 -4
  269. package/lib/cloudflare/worker.d.ts.map +1 -1
  270. package/lib/cloudflare/worker.js +6 -5
  271. package/lib/cloudflare/worker.js.map +1 -1
  272. package/lib/cloudflare/zone.d.ts +1 -2
  273. package/lib/cloudflare/zone.d.ts.map +1 -1
  274. package/lib/cloudflare/zone.js +2 -2
  275. package/lib/cloudflare/zone.js.map +1 -1
  276. package/lib/context.d.ts +8 -8
  277. package/lib/context.d.ts.map +1 -1
  278. package/lib/context.js.map +1 -1
  279. package/lib/destroy.d.ts +1 -1
  280. package/lib/destroy.d.ts.map +1 -1
  281. package/lib/destroy.js.map +1 -1
  282. package/lib/dns/import-dns.d.ts +1 -2
  283. package/lib/dns/import-dns.d.ts.map +1 -1
  284. package/lib/dns/import-dns.js +2 -2
  285. package/lib/dns/import-dns.js.map +1 -1
  286. package/lib/docker/container.d.ts +1 -2
  287. package/lib/docker/container.d.ts.map +1 -1
  288. package/lib/docker/container.js +2 -3
  289. package/lib/docker/container.js.map +1 -1
  290. package/lib/docker/image.d.ts +1 -2
  291. package/lib/docker/image.d.ts.map +1 -1
  292. package/lib/docker/image.js +9 -9
  293. package/lib/docker/image.js.map +1 -1
  294. package/lib/docker/network.d.ts +1 -2
  295. package/lib/docker/network.d.ts.map +1 -1
  296. package/lib/docker/network.js +2 -3
  297. package/lib/docker/network.js.map +1 -1
  298. package/lib/docker/remote-image.d.ts +1 -2
  299. package/lib/docker/remote-image.d.ts.map +1 -1
  300. package/lib/docker/remote-image.js +2 -3
  301. package/lib/docker/remote-image.js.map +1 -1
  302. package/lib/docker/volume.d.ts +1 -2
  303. package/lib/docker/volume.d.ts.map +1 -1
  304. package/lib/docker/volume.js +2 -3
  305. package/lib/docker/volume.js.map +1 -1
  306. package/lib/esbuild/bundle.d.ts +1 -2
  307. package/lib/esbuild/bundle.d.ts.map +1 -1
  308. package/lib/esbuild/bundle.js +4 -4
  309. package/lib/esbuild/bundle.js.map +1 -1
  310. package/lib/fs/copy-file.d.ts +1 -2
  311. package/lib/fs/copy-file.d.ts.map +1 -1
  312. package/lib/fs/copy-file.js +2 -2
  313. package/lib/fs/copy-file.js.map +1 -1
  314. package/lib/fs/file.d.ts +1 -2
  315. package/lib/fs/file.d.ts.map +1 -1
  316. package/lib/fs/file.js +2 -2
  317. package/lib/fs/file.js.map +1 -1
  318. package/lib/fs/folder.d.ts +1 -2
  319. package/lib/fs/folder.d.ts.map +1 -1
  320. package/lib/fs/folder.js +2 -2
  321. package/lib/fs/folder.js.map +1 -1
  322. package/lib/github/comment.d.ts +1 -2
  323. package/lib/github/comment.d.ts.map +1 -1
  324. package/lib/github/comment.js +4 -4
  325. package/lib/github/comment.js.map +1 -1
  326. package/lib/github/repository-environment.d.ts +1 -2
  327. package/lib/github/repository-environment.d.ts.map +1 -1
  328. package/lib/github/repository-environment.js +2 -2
  329. package/lib/github/repository-environment.js.map +1 -1
  330. package/lib/github/repository-webhook.d.ts +1 -2
  331. package/lib/github/repository-webhook.d.ts.map +1 -1
  332. package/lib/github/repository-webhook.js +2 -2
  333. package/lib/github/repository-webhook.js.map +1 -1
  334. package/lib/github/secret.d.ts +1 -2
  335. package/lib/github/secret.d.ts.map +1 -1
  336. package/lib/github/secret.js +2 -2
  337. package/lib/github/secret.js.map +1 -1
  338. package/lib/neon/api/client.gen.d.ts +13 -0
  339. package/lib/neon/api/client.gen.d.ts.map +1 -0
  340. package/lib/neon/api/client.gen.js +7 -0
  341. package/lib/neon/api/client.gen.js.map +1 -0
  342. package/lib/neon/api/sdk.gen.d.ts +880 -0
  343. package/lib/neon/api/sdk.gen.d.ts.map +1 -0
  344. package/lib/neon/api/sdk.gen.js +1527 -0
  345. package/lib/neon/api/sdk.gen.js.map +1 -0
  346. package/lib/neon/api/types.gen.d.ts +7250 -0
  347. package/lib/neon/api/types.gen.d.ts.map +1 -0
  348. package/lib/neon/api/types.gen.js +2 -0
  349. package/lib/neon/api/types.gen.js.map +1 -0
  350. package/lib/neon/api.d.ts +14 -49
  351. package/lib/neon/api.d.ts.map +1 -1
  352. package/lib/neon/api.js +36 -114
  353. package/lib/neon/api.js.map +1 -1
  354. package/lib/neon/branch.d.ts +141 -0
  355. package/lib/neon/branch.d.ts.map +1 -0
  356. package/lib/neon/branch.js +112 -0
  357. package/lib/neon/branch.js.map +1 -0
  358. package/lib/neon/index.d.ts +1 -1
  359. package/lib/neon/index.d.ts.map +1 -1
  360. package/lib/neon/index.js +1 -1
  361. package/lib/neon/index.js.map +1 -1
  362. package/lib/neon/project.d.ts +32 -242
  363. package/lib/neon/project.d.ts.map +1 -1
  364. package/lib/neon/project.js +90 -269
  365. package/lib/neon/project.js.map +1 -1
  366. package/lib/neon/utils.d.ts +49 -0
  367. package/lib/neon/utils.d.ts.map +1 -0
  368. package/lib/neon/utils.js +44 -0
  369. package/lib/neon/utils.js.map +1 -0
  370. package/lib/os/exec.d.ts +1 -2
  371. package/lib/os/exec.d.ts.map +1 -1
  372. package/lib/os/exec.js +2 -2
  373. package/lib/os/exec.js.map +1 -1
  374. package/lib/planetscale/api/client.gen.d.ts +12 -1749
  375. package/lib/planetscale/api/client.gen.d.ts.map +1 -1
  376. package/lib/planetscale/api/client.gen.js +6 -2400
  377. package/lib/planetscale/api/client.gen.js.map +1 -1
  378. package/lib/planetscale/api/sdk.gen.d.ts +1582 -0
  379. package/lib/planetscale/api/sdk.gen.d.ts.map +1 -0
  380. package/lib/planetscale/api/sdk.gen.js +2219 -0
  381. package/lib/planetscale/api/sdk.gen.js.map +1 -0
  382. package/lib/planetscale/api/types.gen.d.ts +594 -449
  383. package/lib/planetscale/api/types.gen.d.ts.map +1 -1
  384. package/lib/planetscale/api.d.ts +43 -0
  385. package/lib/planetscale/api.d.ts.map +1 -0
  386. package/lib/planetscale/api.js +53 -0
  387. package/lib/planetscale/api.js.map +1 -0
  388. package/lib/planetscale/branch.d.ts +2 -3
  389. package/lib/planetscale/branch.d.ts.map +1 -1
  390. package/lib/planetscale/branch.js +17 -15
  391. package/lib/planetscale/branch.js.map +1 -1
  392. package/lib/planetscale/database.d.ts +2 -3
  393. package/lib/planetscale/database.d.ts.map +1 -1
  394. package/lib/planetscale/database.js +34 -34
  395. package/lib/planetscale/database.js.map +1 -1
  396. package/lib/planetscale/index.d.ts +1 -1
  397. package/lib/planetscale/index.d.ts.map +1 -1
  398. package/lib/planetscale/index.js +1 -1
  399. package/lib/planetscale/index.js.map +1 -1
  400. package/lib/planetscale/password.d.ts +2 -3
  401. package/lib/planetscale/password.d.ts.map +1 -1
  402. package/lib/planetscale/password.js +11 -11
  403. package/lib/planetscale/password.js.map +1 -1
  404. package/lib/planetscale/role.d.ts +2 -3
  405. package/lib/planetscale/role.d.ts.map +1 -1
  406. package/lib/planetscale/role.js +18 -18
  407. package/lib/planetscale/role.js.map +1 -1
  408. package/lib/planetscale/utils.d.ts +1 -1
  409. package/lib/planetscale/utils.d.ts.map +1 -1
  410. package/lib/planetscale/utils.js +17 -33
  411. package/lib/planetscale/utils.js.map +1 -1
  412. package/lib/random/random-string.d.ts +1 -2
  413. package/lib/random/random-string.d.ts.map +1 -1
  414. package/lib/random/random-string.js +3 -3
  415. package/lib/random/random-string.js.map +1 -1
  416. package/lib/resource.d.ts +4 -1
  417. package/lib/resource.d.ts.map +1 -1
  418. package/lib/resource.js.map +1 -1
  419. package/lib/sentry/client-key.d.ts +1 -2
  420. package/lib/sentry/client-key.d.ts.map +1 -1
  421. package/lib/sentry/client-key.js +2 -2
  422. package/lib/sentry/client-key.js.map +1 -1
  423. package/lib/sentry/project.d.ts +1 -2
  424. package/lib/sentry/project.d.ts.map +1 -1
  425. package/lib/sentry/project.js +2 -2
  426. package/lib/sentry/project.js.map +1 -1
  427. package/lib/sentry/team.d.ts +1 -2
  428. package/lib/sentry/team.d.ts.map +1 -1
  429. package/lib/sentry/team.js +2 -2
  430. package/lib/sentry/team.js.map +1 -1
  431. package/lib/state/r2-rest-state-store.d.ts +1 -0
  432. package/lib/state/r2-rest-state-store.d.ts.map +1 -1
  433. package/lib/state/r2-rest-state-store.js +15 -34
  434. package/lib/state/r2-rest-state-store.js.map +1 -1
  435. package/lib/stripe/card.d.ts +1 -2
  436. package/lib/stripe/card.d.ts.map +1 -1
  437. package/lib/stripe/card.js +2 -2
  438. package/lib/stripe/card.js.map +1 -1
  439. package/lib/stripe/coupon.d.ts +1 -2
  440. package/lib/stripe/coupon.d.ts.map +1 -1
  441. package/lib/stripe/coupon.js +2 -2
  442. package/lib/stripe/coupon.js.map +1 -1
  443. package/lib/stripe/customer.d.ts +1 -2
  444. package/lib/stripe/customer.d.ts.map +1 -1
  445. package/lib/stripe/customer.js +2 -2
  446. package/lib/stripe/customer.js.map +1 -1
  447. package/lib/stripe/entitlements-feature.d.ts +1 -2
  448. package/lib/stripe/entitlements-feature.d.ts.map +1 -1
  449. package/lib/stripe/entitlements-feature.js +2 -2
  450. package/lib/stripe/entitlements-feature.js.map +1 -1
  451. package/lib/stripe/file.d.ts +1 -2
  452. package/lib/stripe/file.d.ts.map +1 -1
  453. package/lib/stripe/file.js +2 -2
  454. package/lib/stripe/file.js.map +1 -1
  455. package/lib/stripe/meter.d.ts +1 -2
  456. package/lib/stripe/meter.d.ts.map +1 -1
  457. package/lib/stripe/meter.js +1 -1
  458. package/lib/stripe/meter.js.map +1 -1
  459. package/lib/stripe/portal-configuration.d.ts +1 -2
  460. package/lib/stripe/portal-configuration.d.ts.map +1 -1
  461. package/lib/stripe/portal-configuration.js +2 -2
  462. package/lib/stripe/portal-configuration.js.map +1 -1
  463. package/lib/stripe/price.d.ts +1 -2
  464. package/lib/stripe/price.d.ts.map +1 -1
  465. package/lib/stripe/price.js +2 -2
  466. package/lib/stripe/price.js.map +1 -1
  467. package/lib/stripe/product-feature.d.ts +1 -2
  468. package/lib/stripe/product-feature.d.ts.map +1 -1
  469. package/lib/stripe/product-feature.js +2 -2
  470. package/lib/stripe/product-feature.js.map +1 -1
  471. package/lib/stripe/product.d.ts +1 -2
  472. package/lib/stripe/product.d.ts.map +1 -1
  473. package/lib/stripe/product.js +2 -2
  474. package/lib/stripe/product.js.map +1 -1
  475. package/lib/stripe/promotion-code.d.ts +1 -2
  476. package/lib/stripe/promotion-code.d.ts.map +1 -1
  477. package/lib/stripe/promotion-code.js +2 -2
  478. package/lib/stripe/promotion-code.js.map +1 -1
  479. package/lib/stripe/shipping-rate.d.ts +1 -2
  480. package/lib/stripe/shipping-rate.d.ts.map +1 -1
  481. package/lib/stripe/shipping-rate.js +2 -2
  482. package/lib/stripe/shipping-rate.js.map +1 -1
  483. package/lib/stripe/tax-rate.d.ts +1 -2
  484. package/lib/stripe/tax-rate.d.ts.map +1 -1
  485. package/lib/stripe/tax-rate.js +2 -2
  486. package/lib/stripe/tax-rate.js.map +1 -1
  487. package/lib/stripe/webhook.d.ts +16 -3
  488. package/lib/stripe/webhook.d.ts.map +1 -1
  489. package/lib/stripe/webhook.js +2 -2
  490. package/lib/stripe/webhook.js.map +1 -1
  491. package/lib/test/bun.d.ts.map +1 -1
  492. package/lib/test/bun.js +1 -0
  493. package/lib/test/bun.js.map +1 -1
  494. package/lib/test/options.d.ts +5 -0
  495. package/lib/test/options.d.ts.map +1 -1
  496. package/lib/test/vitest.d.ts.map +1 -1
  497. package/lib/test/vitest.js +1 -0
  498. package/lib/test/vitest.js.map +1 -1
  499. package/lib/upstash/redis.d.ts +1 -2
  500. package/lib/upstash/redis.d.ts.map +1 -1
  501. package/lib/upstash/redis.js.map +1 -1
  502. package/lib/util/api/client/client.gen.d.ts +3 -0
  503. package/lib/util/api/client/client.gen.d.ts.map +1 -0
  504. package/lib/util/api/client/client.gen.js +205 -0
  505. package/lib/util/api/client/client.gen.js.map +1 -0
  506. package/lib/util/api/client/index.d.ts +8 -0
  507. package/lib/util/api/client/index.d.ts.map +1 -0
  508. package/lib/util/api/client/index.js +6 -0
  509. package/lib/util/api/client/index.js.map +1 -0
  510. package/lib/util/api/client/types.gen.d.ts +125 -0
  511. package/lib/util/api/client/types.gen.d.ts.map +1 -0
  512. package/lib/util/api/client/types.gen.js +2 -0
  513. package/lib/util/api/client/types.gen.js.map +1 -0
  514. package/lib/util/api/client/utils.gen.d.ts +34 -0
  515. package/lib/util/api/client/utils.gen.d.ts.map +1 -0
  516. package/lib/util/api/client/utils.gen.js +231 -0
  517. package/lib/util/api/client/utils.gen.js.map +1 -0
  518. package/lib/util/api/core/auth.gen.d.ts +19 -0
  519. package/lib/util/api/core/auth.gen.d.ts.map +1 -0
  520. package/lib/util/api/core/auth.gen.js +15 -0
  521. package/lib/util/api/core/auth.gen.js.map +1 -0
  522. package/lib/util/api/core/bodySerializer.gen.d.ts +18 -0
  523. package/lib/util/api/core/bodySerializer.gen.d.ts.map +1 -0
  524. package/lib/util/api/core/bodySerializer.gen.js +58 -0
  525. package/lib/util/api/core/bodySerializer.gen.js.map +1 -0
  526. package/lib/util/api/core/params.gen.d.ts +34 -0
  527. package/lib/util/api/core/params.gen.d.ts.map +1 -0
  528. package/lib/util/api/core/params.gen.js +89 -0
  529. package/lib/util/api/core/params.gen.js.map +1 -0
  530. package/lib/util/api/core/pathSerializer.gen.d.ts +34 -0
  531. package/lib/util/api/core/pathSerializer.gen.d.ts.map +1 -0
  532. package/lib/util/api/core/pathSerializer.gen.js +115 -0
  533. package/lib/util/api/core/pathSerializer.gen.js.map +1 -0
  534. package/lib/util/api/core/serverSentEvents.gen.d.ts +72 -0
  535. package/lib/util/api/core/serverSentEvents.gen.d.ts.map +1 -0
  536. package/lib/util/api/core/serverSentEvents.gen.js +136 -0
  537. package/lib/util/api/core/serverSentEvents.gen.js.map +1 -0
  538. package/lib/util/api/core/types.gen.d.ts +79 -0
  539. package/lib/util/api/core/types.gen.d.ts.map +1 -0
  540. package/lib/util/api/core/types.gen.js +2 -0
  541. package/lib/util/api/core/types.gen.js.map +1 -0
  542. package/lib/util/api/core/utils.gen.d.ts +20 -0
  543. package/lib/util/api/core/utils.gen.d.ts.map +1 -0
  544. package/lib/util/api/core/utils.gen.js +88 -0
  545. package/lib/util/api/core/utils.gen.js.map +1 -0
  546. package/lib/util/http.d.ts +7 -2
  547. package/lib/util/http.d.ts.map +1 -1
  548. package/lib/util/http.js +29 -11
  549. package/lib/util/http.js.map +1 -1
  550. package/lib/util/lock.d.ts +20 -0
  551. package/lib/util/lock.d.ts.map +1 -0
  552. package/lib/util/lock.js +45 -0
  553. package/lib/util/lock.js.map +1 -0
  554. package/lib/util/memoize.d.ts +6 -0
  555. package/lib/util/memoize.d.ts.map +1 -1
  556. package/lib/util/memoize.js +23 -0
  557. package/lib/util/memoize.js.map +1 -1
  558. package/lib/util/oauth-client.d.ts +71 -0
  559. package/lib/util/oauth-client.d.ts.map +1 -0
  560. package/lib/util/oauth-client.js +188 -0
  561. package/lib/util/oauth-client.js.map +1 -0
  562. package/lib/util/poll.d.ts +33 -0
  563. package/lib/util/poll.d.ts.map +1 -0
  564. package/lib/util/poll.js +19 -0
  565. package/lib/util/poll.js.map +1 -0
  566. package/lib/vercel/project-domain.d.ts +1 -2
  567. package/lib/vercel/project-domain.d.ts.map +1 -1
  568. package/lib/vercel/project-domain.js.map +1 -1
  569. package/lib/vercel/project.d.ts +1 -2
  570. package/lib/vercel/project.d.ts.map +1 -1
  571. package/lib/vercel/project.js +2 -2
  572. package/lib/vercel/project.js.map +1 -1
  573. package/package.json +5 -1
  574. package/src/apply.ts +32 -29
  575. package/src/auth.ts +253 -0
  576. package/src/aws/bucket.ts +3 -3
  577. package/src/aws/control/resource.ts +4 -6
  578. package/src/aws/ec2/internet-gateway-attachment.ts +5 -6
  579. package/src/aws/ec2/internet-gateway.ts +3 -5
  580. package/src/aws/ec2/nat-gateway.ts +3 -5
  581. package/src/aws/ec2/route-table-association.ts +3 -5
  582. package/src/aws/ec2/route-table.ts +3 -5
  583. package/src/aws/ec2/route.ts +3 -3
  584. package/src/aws/ec2/security-group-rule.ts +3 -5
  585. package/src/aws/ec2/security-group.ts +3 -5
  586. package/src/aws/ec2/subnet.ts +3 -3
  587. package/src/aws/ec2/vpc.ts +3 -3
  588. package/src/aws/function.ts +3 -3
  589. package/src/aws/oidc/oidc-provider.ts +3 -5
  590. package/src/aws/policy-attachment.ts +2 -4
  591. package/src/aws/policy.ts +5 -5
  592. package/src/aws/queue.ts +5 -5
  593. package/src/aws/role.ts +3 -3
  594. package/src/aws/ses.ts +3 -3
  595. package/src/aws/ssm-parameter.ts +3 -3
  596. package/src/aws/table.ts +3 -3
  597. package/src/cloudflare/account-api-token.ts +3 -4
  598. package/src/cloudflare/ai-gateway.ts +3 -5
  599. package/src/cloudflare/api-gateway-operation.ts +3 -4
  600. package/src/cloudflare/api-schema.ts +25 -26
  601. package/src/cloudflare/api-shield.ts +3 -4
  602. package/src/cloudflare/api.ts +122 -57
  603. package/src/cloudflare/assets.ts +95 -136
  604. package/src/cloudflare/auth.ts +160 -95
  605. package/src/cloudflare/bound.ts +1 -1
  606. package/src/cloudflare/bucket.ts +321 -58
  607. package/src/cloudflare/bundle/plugin-wasm.ts +5 -5
  608. package/src/cloudflare/certificate-pack.ts +5 -6
  609. package/src/cloudflare/compatibility-date.gen.ts +1 -1
  610. package/src/cloudflare/container.ts +7 -8
  611. package/src/cloudflare/custom-domain.ts +3 -5
  612. package/src/cloudflare/d1-database.ts +33 -34
  613. package/src/cloudflare/dispatch-namespace.ts +5 -6
  614. package/src/cloudflare/dns-records.ts +5 -5
  615. package/src/cloudflare/email-address.ts +7 -7
  616. package/src/cloudflare/email-catch-all.ts +6 -6
  617. package/src/cloudflare/email-routing.ts +5 -5
  618. package/src/cloudflare/email-rule.ts +5 -5
  619. package/src/cloudflare/hyperdrive.ts +35 -36
  620. package/src/cloudflare/kv-namespace.ts +31 -32
  621. package/src/cloudflare/miniflare/delete.ts +1 -1
  622. package/src/cloudflare/miniflare/miniflare-worker-proxy.ts +2 -7
  623. package/src/cloudflare/miniflare/remote-binding-proxy.ts +16 -4
  624. package/src/cloudflare/permission-groups.ts +4 -6
  625. package/src/cloudflare/pipeline.ts +29 -30
  626. package/src/cloudflare/queue-consumer.ts +5 -7
  627. package/src/cloudflare/queue.ts +42 -43
  628. package/src/cloudflare/react-router/plugin.ts +20 -0
  629. package/src/cloudflare/redirect-rule.ts +5 -5
  630. package/src/cloudflare/route.ts +5 -5
  631. package/src/cloudflare/ruleset.ts +3 -4
  632. package/src/cloudflare/secret.ts +35 -36
  633. package/src/cloudflare/secrets-store.ts +5 -8
  634. package/src/cloudflare/tunnel.ts +5 -7
  635. package/src/cloudflare/user.ts +12 -9
  636. package/src/cloudflare/vectorize-index.ts +8 -12
  637. package/src/cloudflare/vectorize-metadata-index.ts +6 -8
  638. package/src/cloudflare/website.ts +1 -1
  639. package/src/cloudflare/worker-assets.ts +10 -56
  640. package/src/cloudflare/worker-stub.ts +5 -5
  641. package/src/cloudflare/worker-subdomain.ts +6 -7
  642. package/src/cloudflare/worker.ts +91 -91
  643. package/src/cloudflare/zone.ts +3 -3
  644. package/src/context.ts +9 -7
  645. package/src/destroy.ts +2 -2
  646. package/src/dns/import-dns.ts +3 -5
  647. package/src/docker/container.ts +3 -6
  648. package/src/docker/image.ts +13 -13
  649. package/src/docker/network.ts +3 -4
  650. package/src/docker/remote-image.ts +3 -6
  651. package/src/docker/volume.ts +3 -4
  652. package/src/esbuild/bundle.ts +10 -8
  653. package/src/fs/copy-file.ts +3 -3
  654. package/src/fs/file.ts +3 -3
  655. package/src/fs/folder.ts +3 -3
  656. package/src/github/comment.ts +5 -7
  657. package/src/github/repository-environment.ts +3 -5
  658. package/src/github/repository-webhook.ts +3 -5
  659. package/src/github/secret.ts +3 -5
  660. package/src/neon/api/client.gen.ts +28 -0
  661. package/src/neon/api/sdk.gen.ts +2596 -0
  662. package/src/neon/api/types.gen.ts +8287 -0
  663. package/src/neon/api.ts +51 -147
  664. package/src/neon/branch.ts +278 -0
  665. package/src/neon/index.ts +1 -1
  666. package/src/neon/project.ts +136 -721
  667. package/src/neon/utils.ts +105 -0
  668. package/src/os/exec.ts +3 -3
  669. package/src/planetscale/api/client.gen.ts +28 -2882
  670. package/src/planetscale/api/sdk.gen.ts +3336 -0
  671. package/src/planetscale/api/types.gen.ts +778 -450
  672. package/src/planetscale/api.ts +101 -0
  673. package/src/planetscale/branch.ts +20 -19
  674. package/src/planetscale/database.ts +69 -70
  675. package/src/planetscale/index.ts +1 -1
  676. package/src/planetscale/password.ts +18 -22
  677. package/src/planetscale/role.ts +21 -21
  678. package/src/planetscale/utils.ts +20 -74
  679. package/src/random/random-string.ts +4 -4
  680. package/src/resource.ts +6 -2
  681. package/src/sentry/client-key.ts +3 -5
  682. package/src/sentry/project.ts +3 -5
  683. package/src/sentry/team.ts +3 -3
  684. package/src/state/r2-rest-state-store.ts +15 -57
  685. package/src/stripe/card.ts +3 -3
  686. package/src/stripe/coupon.ts +3 -3
  687. package/src/stripe/customer.ts +3 -3
  688. package/src/stripe/entitlements-feature.ts +3 -5
  689. package/src/stripe/file.ts +3 -3
  690. package/src/stripe/meter.ts +3 -3
  691. package/src/stripe/portal-configuration.ts +3 -5
  692. package/src/stripe/price.ts +3 -3
  693. package/src/stripe/product-feature.ts +3 -5
  694. package/src/stripe/product.ts +3 -3
  695. package/src/stripe/promotion-code.ts +3 -5
  696. package/src/stripe/shipping-rate.ts +3 -5
  697. package/src/stripe/tax-rate.ts +3 -3
  698. package/src/stripe/webhook.ts +3 -5
  699. package/src/test/bun.ts +1 -0
  700. package/src/test/options.ts +6 -0
  701. package/src/test/vitest.ts +1 -0
  702. package/src/upstash/redis.ts +1 -3
  703. package/src/util/api/client/client.gen.ts +268 -0
  704. package/src/util/api/client/index.ts +25 -0
  705. package/src/util/api/client/types.gen.ts +268 -0
  706. package/src/util/api/client/utils.gen.ts +331 -0
  707. package/src/util/api/core/auth.gen.ts +42 -0
  708. package/src/util/api/core/bodySerializer.gen.ts +92 -0
  709. package/src/util/api/core/params.gen.ts +153 -0
  710. package/src/util/api/core/pathSerializer.gen.ts +181 -0
  711. package/src/util/api/core/serverSentEvents.gen.ts +264 -0
  712. package/src/util/api/core/types.gen.ts +118 -0
  713. package/src/util/api/core/utils.gen.ts +143 -0
  714. package/src/util/http.ts +38 -11
  715. package/src/util/lock.ts +48 -0
  716. package/src/util/memoize.ts +26 -0
  717. package/src/util/oauth-client.ts +238 -0
  718. package/src/util/poll.ts +55 -0
  719. package/src/vercel/project-domain.ts +1 -3
  720. package/src/vercel/project.ts +3 -3
  721. package/workers/cloudflare-state-store.js +8 -5619
  722. package/workers/dofs-state-store.js +2 -802
  723. package/workers/remote-binding-proxy.js +3 -39
  724. package/workers/remote-binding-proxy.ts +126 -35
  725. package/workers/tunnel-proxy.js +6 -73
  726. package/lib/cloudflare/asset-manifest.d.ts +0 -15
  727. package/lib/cloudflare/asset-manifest.d.ts.map +0 -1
  728. package/lib/cloudflare/asset-manifest.js +0 -1
  729. package/lib/cloudflare/asset-manifest.js.map +0 -1
  730. package/lib/cloudflare/oauth.d.ts +0 -22
  731. package/lib/cloudflare/oauth.d.ts.map +0 -1
  732. package/lib/cloudflare/oauth.js +0 -214
  733. package/lib/cloudflare/oauth.js.map +0 -1
  734. package/lib/neon/api-error.d.ts +0 -31
  735. package/lib/neon/api-error.d.ts.map +0 -1
  736. package/lib/neon/api-error.js +0 -73
  737. package/lib/neon/api-error.js.map +0 -1
  738. package/lib/planetscale/api/index.d.ts +0 -3
  739. package/lib/planetscale/api/index.d.ts.map +0 -1
  740. package/lib/planetscale/api/index.js +0 -4
  741. package/lib/planetscale/api/index.js.map +0 -1
  742. package/lib/util/neverthrow.d.ts +0 -16
  743. package/lib/util/neverthrow.d.ts.map +0 -1
  744. package/lib/util/neverthrow.js +0 -46
  745. package/lib/util/neverthrow.js.map +0 -1
  746. package/src/cloudflare/asset-manifest.ts +0 -16
  747. package/src/cloudflare/oauth.ts +0 -301
  748. package/src/neon/api-error.ts +0 -81
  749. package/src/planetscale/api/index.ts +0 -4
  750. package/src/util/neverthrow.ts +0 -64
@@ -1,3 +1,6 @@
1
+ export type ClientOptions = {
2
+ baseUrl: "https://api.planetscale.com/v1" | (string & {});
3
+ };
1
4
  export type PaginatedBackup = {
2
5
  /**
3
6
  * The current page number
@@ -455,9 +458,9 @@ export type PaginatedPostgresClusterResizeRequest = {
455
458
  */
456
459
  id: string;
457
460
  /**
458
- * The process requiring a restart when changes are applied
461
+ * The ports requiring a restart when changes are applied
459
462
  */
460
- restart: string;
463
+ restart: Array<number>;
461
464
  /**
462
465
  * The state of the branch change request
463
466
  */
@@ -540,6 +543,10 @@ export type PaginatedPostgresClusterResizeRequest = {
540
543
  * Whether storage autoscaling is enabled
541
544
  */
542
545
  storage_autoscaling: boolean;
546
+ /**
547
+ * Whether storage shrinking is enabled when autoscaling is enabled
548
+ */
549
+ storage_shrinking: boolean;
543
550
  /**
544
551
  * The storage type (gp3 or io2)
545
552
  */
@@ -564,6 +571,10 @@ export type PaginatedPostgresClusterResizeRequest = {
564
571
  * Whether storage autoscaling was previously enabled
565
572
  */
566
573
  previous_storage_autoscaling: boolean;
574
+ /**
575
+ * Whether storage shrinking was previously enabled
576
+ */
577
+ previous_storage_shrinking: boolean;
567
578
  /**
568
579
  * The previous storage type
569
580
  */
@@ -584,9 +595,9 @@ export type PostgresClusterResizeRequest = {
584
595
  */
585
596
  id: string;
586
597
  /**
587
- * The process requiring a restart when changes are applied
598
+ * The ports requiring a restart when changes are applied
588
599
  */
589
- restart: string;
600
+ restart: Array<number>;
590
601
  /**
591
602
  * The state of the branch change request
592
603
  */
@@ -669,6 +680,10 @@ export type PostgresClusterResizeRequest = {
669
680
  * Whether storage autoscaling is enabled
670
681
  */
671
682
  storage_autoscaling: boolean;
683
+ /**
684
+ * Whether storage shrinking is enabled when autoscaling is enabled
685
+ */
686
+ storage_shrinking: boolean;
672
687
  /**
673
688
  * The storage type (gp3 or io2)
674
689
  */
@@ -693,6 +708,10 @@ export type PostgresClusterResizeRequest = {
693
708
  * Whether storage autoscaling was previously enabled
694
709
  */
695
710
  previous_storage_autoscaling: boolean;
711
+ /**
712
+ * Whether storage shrinking was previously enabled
713
+ */
714
+ previous_storage_shrinking: boolean;
696
715
  /**
697
716
  * The previous storage type
698
717
  */
@@ -1237,7 +1256,7 @@ export type PostgresClusterExtension = {
1237
1256
  /**
1238
1257
  * The namespace of the parameter
1239
1258
  */
1240
- namespace: "patroni" | "pgconf" | "psbouncer";
1259
+ namespace: "patroni" | "pgconf" | "pgbouncer";
1241
1260
  /**
1242
1261
  * The category of the parameter
1243
1262
  */
@@ -1257,7 +1276,7 @@ export type PostgresClusterExtension = {
1257
1276
  /**
1258
1277
  * The type of the parameter
1259
1278
  */
1260
- parameter_type: "boolean" | "bytes" | "float" | "integer" | "internal" | "select" | "seconds" | "string";
1279
+ parameter_type: "boolean" | "bytes" | "float" | "integer" | "internal" | "milliseconds" | "seconds" | "select" | "string";
1261
1280
  /**
1262
1281
  * The default value of the parameter
1263
1282
  */
@@ -1334,7 +1353,7 @@ export type PostgresClusterParameter = {
1334
1353
  /**
1335
1354
  * The namespace of the parameter
1336
1355
  */
1337
- namespace: "patroni" | "pgconf" | "psbouncer";
1356
+ namespace: "patroni" | "pgconf" | "pgbouncer";
1338
1357
  /**
1339
1358
  * The category of the parameter
1340
1359
  */
@@ -1354,7 +1373,7 @@ export type PostgresClusterParameter = {
1354
1373
  /**
1355
1374
  * The type of the parameter
1356
1375
  */
1357
- parameter_type: "boolean" | "bytes" | "float" | "integer" | "internal" | "select" | "seconds" | "string";
1376
+ parameter_type: "boolean" | "bytes" | "float" | "integer" | "internal" | "milliseconds" | "seconds" | "select" | "string";
1358
1377
  /**
1359
1378
  * The default value of the parameter
1360
1379
  */
@@ -3548,6 +3567,14 @@ export type PaginatedPostgresRole = {
3548
3567
  * The database connection string
3549
3568
  */
3550
3569
  access_host_url: string;
3570
+ /**
3571
+ * The database connection string for private connections
3572
+ */
3573
+ private_access_host_url: string;
3574
+ /**
3575
+ * The service name to set up private connectivity
3576
+ */
3577
+ private_connection_service_name: string;
3551
3578
  /**
3552
3579
  * The database user name
3553
3580
  */
@@ -3651,6 +3678,14 @@ export type PostgresRole = {
3651
3678
  * The database connection string
3652
3679
  */
3653
3680
  access_host_url: string;
3681
+ /**
3682
+ * The database connection string for private connections
3683
+ */
3684
+ private_access_host_url: string;
3685
+ /**
3686
+ * The service name to set up private connectivity
3687
+ */
3688
+ private_connection_service_name: string;
3654
3689
  /**
3655
3690
  * The database user name
3656
3691
  */
@@ -6806,6 +6841,10 @@ export type PaginatedKeyspaceResizeRequest = {
6806
6841
  prev_page_url: string;
6807
6842
  data: Array<KeyspaceResizeRequest>;
6808
6843
  };
6844
+ export type GeneralError = {
6845
+ code?: string;
6846
+ message?: string;
6847
+ };
6809
6848
  export type ListOrganizationsData = {
6810
6849
  body?: never;
6811
6850
  path?: never;
@@ -6825,20 +6864,21 @@ export type ListOrganizationsErrors = {
6825
6864
  /**
6826
6865
  * Unauthorized
6827
6866
  */
6828
- 401: unknown;
6867
+ 401: GeneralError;
6829
6868
  /**
6830
6869
  * Forbidden
6831
6870
  */
6832
- 403: unknown;
6871
+ 403: GeneralError;
6833
6872
  /**
6834
6873
  * Not Found
6835
6874
  */
6836
- 404: unknown;
6875
+ 404: GeneralError;
6837
6876
  /**
6838
6877
  * Internal Server Error
6839
6878
  */
6840
- 500: unknown;
6879
+ 500: GeneralError;
6841
6880
  };
6881
+ export type ListOrganizationsError = ListOrganizationsErrors[keyof ListOrganizationsErrors];
6842
6882
  export type ListOrganizationsResponses = {
6843
6883
  /**
6844
6884
  * Gets the organizations for the current user
@@ -6861,20 +6901,21 @@ export type GetOrganizationErrors = {
6861
6901
  /**
6862
6902
  * Unauthorized
6863
6903
  */
6864
- 401: unknown;
6904
+ 401: GeneralError;
6865
6905
  /**
6866
6906
  * Forbidden
6867
6907
  */
6868
- 403: unknown;
6908
+ 403: GeneralError;
6869
6909
  /**
6870
6910
  * Not Found
6871
6911
  */
6872
- 404: unknown;
6912
+ 404: GeneralError;
6873
6913
  /**
6874
6914
  * Internal Server Error
6875
6915
  */
6876
- 500: unknown;
6916
+ 500: GeneralError;
6877
6917
  };
6918
+ export type GetOrganizationError = GetOrganizationErrors[keyof GetOrganizationErrors];
6878
6919
  export type GetOrganizationResponses = {
6879
6920
  /**
6880
6921
  * Returns an organization
@@ -6910,20 +6951,21 @@ export type UpdateOrganizationErrors = {
6910
6951
  /**
6911
6952
  * Unauthorized
6912
6953
  */
6913
- 401: unknown;
6954
+ 401: GeneralError;
6914
6955
  /**
6915
6956
  * Forbidden
6916
6957
  */
6917
- 403: unknown;
6958
+ 403: GeneralError;
6918
6959
  /**
6919
6960
  * Not Found
6920
6961
  */
6921
- 404: unknown;
6962
+ 404: GeneralError;
6922
6963
  /**
6923
6964
  * Internal Server Error
6924
6965
  */
6925
- 500: unknown;
6966
+ 500: GeneralError;
6926
6967
  };
6968
+ export type UpdateOrganizationError = UpdateOrganizationErrors[keyof UpdateOrganizationErrors];
6927
6969
  export type UpdateOrganizationResponses = {
6928
6970
  /**
6929
6971
  * Returns the updated organization
@@ -6946,20 +6988,21 @@ export type ListAuditLogsErrors = {
6946
6988
  /**
6947
6989
  * Unauthorized
6948
6990
  */
6949
- 401: unknown;
6991
+ 401: GeneralError;
6950
6992
  /**
6951
6993
  * Forbidden
6952
6994
  */
6953
- 403: unknown;
6995
+ 403: GeneralError;
6954
6996
  /**
6955
6997
  * Not Found
6956
6998
  */
6957
- 404: unknown;
6999
+ 404: GeneralError;
6958
7000
  /**
6959
7001
  * Internal Server Error
6960
7002
  */
6961
- 500: unknown;
7003
+ 500: GeneralError;
6962
7004
  };
7005
+ export type ListAuditLogsError = ListAuditLogsErrors[keyof ListAuditLogsErrors];
6963
7006
  export type ListAuditLogsResponses = {
6964
7007
  /**
6965
7008
  * Returns the audit log events
@@ -6991,20 +7034,21 @@ export type ListRegionsForOrganizationErrors = {
6991
7034
  /**
6992
7035
  * Unauthorized
6993
7036
  */
6994
- 401: unknown;
7037
+ 401: GeneralError;
6995
7038
  /**
6996
7039
  * Forbidden
6997
7040
  */
6998
- 403: unknown;
7041
+ 403: GeneralError;
6999
7042
  /**
7000
7043
  * Not Found
7001
7044
  */
7002
- 404: unknown;
7045
+ 404: GeneralError;
7003
7046
  /**
7004
7047
  * Internal Server Error
7005
7048
  */
7006
- 500: unknown;
7049
+ 500: GeneralError;
7007
7050
  };
7051
+ export type ListRegionsForOrganizationError = ListRegionsForOrganizationErrors[keyof ListRegionsForOrganizationErrors];
7008
7052
  export type ListRegionsForOrganizationResponses = {
7009
7053
  /**
7010
7054
  * Returns the organization's regions
@@ -7040,20 +7084,21 @@ export type ListDatabasesErrors = {
7040
7084
  /**
7041
7085
  * Unauthorized
7042
7086
  */
7043
- 401: unknown;
7087
+ 401: GeneralError;
7044
7088
  /**
7045
7089
  * Forbidden
7046
7090
  */
7047
- 403: unknown;
7091
+ 403: GeneralError;
7048
7092
  /**
7049
7093
  * Not Found
7050
7094
  */
7051
- 404: unknown;
7095
+ 404: GeneralError;
7052
7096
  /**
7053
7097
  * Internal Server Error
7054
7098
  */
7055
- 500: unknown;
7099
+ 500: GeneralError;
7056
7100
  };
7101
+ export type ListDatabasesError = ListDatabasesErrors[keyof ListDatabasesErrors];
7057
7102
  export type ListDatabasesResponses = {
7058
7103
  /**
7059
7104
  * Retrieves the databases for an organization
@@ -7093,20 +7138,21 @@ export type CreateDatabaseErrors = {
7093
7138
  /**
7094
7139
  * Unauthorized
7095
7140
  */
7096
- 401: unknown;
7141
+ 401: GeneralError;
7097
7142
  /**
7098
7143
  * Forbidden
7099
7144
  */
7100
- 403: unknown;
7145
+ 403: GeneralError;
7101
7146
  /**
7102
7147
  * Not Found
7103
7148
  */
7104
- 404: unknown;
7149
+ 404: GeneralError;
7105
7150
  /**
7106
7151
  * Internal Server Error
7107
7152
  */
7108
- 500: unknown;
7153
+ 500: GeneralError;
7109
7154
  };
7155
+ export type CreateDatabaseError = CreateDatabaseErrors[keyof CreateDatabaseErrors];
7110
7156
  export type CreateDatabaseResponses = {
7111
7157
  /**
7112
7158
  * Returns the created database
@@ -7158,20 +7204,21 @@ export type ListBranchesErrors = {
7158
7204
  /**
7159
7205
  * Unauthorized
7160
7206
  */
7161
- 401: unknown;
7207
+ 401: GeneralError;
7162
7208
  /**
7163
7209
  * Forbidden
7164
7210
  */
7165
- 403: unknown;
7211
+ 403: GeneralError;
7166
7212
  /**
7167
7213
  * Not Found
7168
7214
  */
7169
- 404: unknown;
7215
+ 404: GeneralError;
7170
7216
  /**
7171
7217
  * Internal Server Error
7172
7218
  */
7173
- 500: unknown;
7219
+ 500: GeneralError;
7174
7220
  };
7221
+ export type ListBranchesError = ListBranchesErrors[keyof ListBranchesErrors];
7175
7222
  export type ListBranchesResponses = {
7176
7223
  /**
7177
7224
  * Returns database branches
@@ -7227,20 +7274,21 @@ export type CreateBranchErrors = {
7227
7274
  /**
7228
7275
  * Unauthorized
7229
7276
  */
7230
- 401: unknown;
7277
+ 401: GeneralError;
7231
7278
  /**
7232
7279
  * Forbidden
7233
7280
  */
7234
- 403: unknown;
7281
+ 403: GeneralError;
7235
7282
  /**
7236
7283
  * Not Found
7237
7284
  */
7238
- 404: unknown;
7285
+ 404: GeneralError;
7239
7286
  /**
7240
7287
  * Internal Server Error
7241
7288
  */
7242
- 500: unknown;
7289
+ 500: GeneralError;
7243
7290
  };
7291
+ export type CreateBranchError = CreateBranchErrors[keyof CreateBranchErrors];
7244
7292
  export type CreateBranchResponses = {
7245
7293
  /**
7246
7294
  * Returns the created branch
@@ -7308,20 +7356,21 @@ export type ListBackupsErrors = {
7308
7356
  /**
7309
7357
  * Unauthorized
7310
7358
  */
7311
- 401: unknown;
7359
+ 401: GeneralError;
7312
7360
  /**
7313
7361
  * Forbidden
7314
7362
  */
7315
- 403: unknown;
7363
+ 403: GeneralError;
7316
7364
  /**
7317
7365
  * Not Found
7318
7366
  */
7319
- 404: unknown;
7367
+ 404: GeneralError;
7320
7368
  /**
7321
7369
  * Internal Server Error
7322
7370
  */
7323
- 500: unknown;
7371
+ 500: GeneralError;
7324
7372
  };
7373
+ export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
7325
7374
  export type ListBackupsResponses = {
7326
7375
  /**
7327
7376
  * Returns database branch backups
@@ -7369,20 +7418,21 @@ export type CreateBackupErrors = {
7369
7418
  /**
7370
7419
  * Unauthorized
7371
7420
  */
7372
- 401: unknown;
7421
+ 401: GeneralError;
7373
7422
  /**
7374
7423
  * Forbidden
7375
7424
  */
7376
- 403: unknown;
7425
+ 403: GeneralError;
7377
7426
  /**
7378
7427
  * Not Found
7379
7428
  */
7380
- 404: unknown;
7429
+ 404: GeneralError;
7381
7430
  /**
7382
7431
  * Internal Server Error
7383
7432
  */
7384
- 500: unknown;
7433
+ 500: GeneralError;
7385
7434
  };
7435
+ export type CreateBackupError = CreateBackupErrors[keyof CreateBackupErrors];
7386
7436
  export type CreateBackupResponses = {
7387
7437
  /**
7388
7438
  * Returns the created database branch backup
@@ -7417,20 +7467,21 @@ export type DeleteBackupErrors = {
7417
7467
  /**
7418
7468
  * Unauthorized
7419
7469
  */
7420
- 401: unknown;
7470
+ 401: GeneralError;
7421
7471
  /**
7422
7472
  * Forbidden
7423
7473
  */
7424
- 403: unknown;
7474
+ 403: GeneralError;
7425
7475
  /**
7426
7476
  * Not Found
7427
7477
  */
7428
- 404: unknown;
7478
+ 404: GeneralError;
7429
7479
  /**
7430
7480
  * Internal Server Error
7431
7481
  */
7432
- 500: unknown;
7482
+ 500: GeneralError;
7433
7483
  };
7484
+ export type DeleteBackupError = DeleteBackupErrors[keyof DeleteBackupErrors];
7434
7485
  export type DeleteBackupResponses = {
7435
7486
  /**
7436
7487
  * Delete a backup
@@ -7464,20 +7515,21 @@ export type GetBackupErrors = {
7464
7515
  /**
7465
7516
  * Unauthorized
7466
7517
  */
7467
- 401: unknown;
7518
+ 401: GeneralError;
7468
7519
  /**
7469
7520
  * Forbidden
7470
7521
  */
7471
- 403: unknown;
7522
+ 403: GeneralError;
7472
7523
  /**
7473
7524
  * Not Found
7474
7525
  */
7475
- 404: unknown;
7526
+ 404: GeneralError;
7476
7527
  /**
7477
7528
  * Internal Server Error
7478
7529
  */
7479
- 500: unknown;
7530
+ 500: GeneralError;
7480
7531
  };
7532
+ export type GetBackupError = GetBackupErrors[keyof GetBackupErrors];
7481
7533
  export type GetBackupResponses = {
7482
7534
  /**
7483
7535
  * Returns a database branch backup
@@ -7517,20 +7569,21 @@ export type UpdateBackupErrors = {
7517
7569
  /**
7518
7570
  * Unauthorized
7519
7571
  */
7520
- 401: unknown;
7572
+ 401: GeneralError;
7521
7573
  /**
7522
7574
  * Forbidden
7523
7575
  */
7524
- 403: unknown;
7576
+ 403: GeneralError;
7525
7577
  /**
7526
7578
  * Not Found
7527
7579
  */
7528
- 404: unknown;
7580
+ 404: GeneralError;
7529
7581
  /**
7530
7582
  * Internal Server Error
7531
7583
  */
7532
- 500: unknown;
7584
+ 500: GeneralError;
7533
7585
  };
7586
+ export type UpdateBackupError = UpdateBackupErrors[keyof UpdateBackupErrors];
7534
7587
  export type UpdateBackupResponses = {
7535
7588
  /**
7536
7589
  * Returns the backup
@@ -7570,20 +7623,21 @@ export type ListBranchChangeRequestsErrors = {
7570
7623
  /**
7571
7624
  * Unauthorized
7572
7625
  */
7573
- 401: unknown;
7626
+ 401: GeneralError;
7574
7627
  /**
7575
7628
  * Forbidden
7576
7629
  */
7577
- 403: unknown;
7630
+ 403: GeneralError;
7578
7631
  /**
7579
7632
  * Not Found
7580
7633
  */
7581
- 404: unknown;
7634
+ 404: GeneralError;
7582
7635
  /**
7583
7636
  * Internal Server Error
7584
7637
  */
7585
- 500: unknown;
7638
+ 500: GeneralError;
7586
7639
  };
7640
+ export type ListBranchChangeRequestsError = ListBranchChangeRequestsErrors[keyof ListBranchChangeRequestsErrors];
7587
7641
  export type ListBranchChangeRequestsResponses = {
7588
7642
  /**
7589
7643
  * Returns branch change requests
@@ -7616,20 +7670,21 @@ export type UpdateBranchChangeRequestErrors = {
7616
7670
  /**
7617
7671
  * Unauthorized
7618
7672
  */
7619
- 401: unknown;
7673
+ 401: GeneralError;
7620
7674
  /**
7621
7675
  * Forbidden
7622
7676
  */
7623
- 403: unknown;
7677
+ 403: GeneralError;
7624
7678
  /**
7625
7679
  * Not Found
7626
7680
  */
7627
- 404: unknown;
7681
+ 404: GeneralError;
7628
7682
  /**
7629
7683
  * Internal Server Error
7630
7684
  */
7631
- 500: unknown;
7685
+ 500: GeneralError;
7632
7686
  };
7687
+ export type UpdateBranchChangeRequestError = UpdateBranchChangeRequestErrors[keyof UpdateBranchChangeRequestErrors];
7633
7688
  export type UpdateBranchChangeRequestResponses = {
7634
7689
  /**
7635
7690
  * Returns the branch change request
@@ -7660,20 +7715,21 @@ export type ListExtensionsErrors = {
7660
7715
  /**
7661
7716
  * Unauthorized
7662
7717
  */
7663
- 401: unknown;
7718
+ 401: GeneralError;
7664
7719
  /**
7665
7720
  * Forbidden
7666
7721
  */
7667
- 403: unknown;
7722
+ 403: GeneralError;
7668
7723
  /**
7669
7724
  * Not Found
7670
7725
  */
7671
- 404: unknown;
7726
+ 404: GeneralError;
7672
7727
  /**
7673
7728
  * Internal Server Error
7674
7729
  */
7675
- 500: unknown;
7730
+ 500: GeneralError;
7676
7731
  };
7732
+ export type ListExtensionsError = ListExtensionsErrors[keyof ListExtensionsErrors];
7677
7733
  export type ListExtensionsResponses = {
7678
7734
  /**
7679
7735
  * Returns cluster extensions
@@ -7713,20 +7769,21 @@ export type ListKeyspacesErrors = {
7713
7769
  /**
7714
7770
  * Unauthorized
7715
7771
  */
7716
- 401: unknown;
7772
+ 401: GeneralError;
7717
7773
  /**
7718
7774
  * Forbidden
7719
7775
  */
7720
- 403: unknown;
7776
+ 403: GeneralError;
7721
7777
  /**
7722
7778
  * Not Found
7723
7779
  */
7724
- 404: unknown;
7780
+ 404: GeneralError;
7725
7781
  /**
7726
7782
  * Internal Server Error
7727
7783
  */
7728
- 500: unknown;
7784
+ 500: GeneralError;
7729
7785
  };
7786
+ export type ListKeyspacesError = ListKeyspacesErrors[keyof ListKeyspacesErrors];
7730
7787
  export type ListKeyspacesResponses = {
7731
7788
  /**
7732
7789
  * Returns keyspaces
@@ -7762,20 +7819,21 @@ export type CreateKeyspaceErrors = {
7762
7819
  /**
7763
7820
  * Unauthorized
7764
7821
  */
7765
- 401: unknown;
7822
+ 401: GeneralError;
7766
7823
  /**
7767
7824
  * Forbidden
7768
7825
  */
7769
- 403: unknown;
7826
+ 403: GeneralError;
7770
7827
  /**
7771
7828
  * Not Found
7772
7829
  */
7773
- 404: unknown;
7830
+ 404: GeneralError;
7774
7831
  /**
7775
7832
  * Internal Server Error
7776
7833
  */
7777
- 500: unknown;
7834
+ 500: GeneralError;
7778
7835
  };
7836
+ export type CreateKeyspaceError = CreateKeyspaceErrors[keyof CreateKeyspaceErrors];
7779
7837
  export type CreateKeyspaceResponses = {
7780
7838
  /**
7781
7839
  * Returns a created keyspace
@@ -7810,20 +7868,21 @@ export type GetKeyspaceVschemaErrors = {
7810
7868
  /**
7811
7869
  * Unauthorized
7812
7870
  */
7813
- 401: unknown;
7871
+ 401: GeneralError;
7814
7872
  /**
7815
7873
  * Forbidden
7816
7874
  */
7817
- 403: unknown;
7875
+ 403: GeneralError;
7818
7876
  /**
7819
7877
  * Not Found
7820
7878
  */
7821
- 404: unknown;
7879
+ 404: GeneralError;
7822
7880
  /**
7823
7881
  * Internal Server Error
7824
7882
  */
7825
- 500: unknown;
7883
+ 500: GeneralError;
7826
7884
  };
7885
+ export type GetKeyspaceVschemaError = GetKeyspaceVschemaErrors[keyof GetKeyspaceVschemaErrors];
7827
7886
  export type GetKeyspaceVschemaResponses = {
7828
7887
  /**
7829
7888
  * Returns the VSchema for the keyspace
@@ -7868,24 +7927,25 @@ export type UpdateKeyspaceVschemaErrors = {
7868
7927
  /**
7869
7928
  * Unauthorized
7870
7929
  */
7871
- 401: unknown;
7930
+ 401: GeneralError;
7872
7931
  /**
7873
7932
  * Forbidden
7874
7933
  */
7875
- 403: unknown;
7934
+ 403: GeneralError;
7876
7935
  /**
7877
7936
  * Not Found
7878
7937
  */
7879
- 404: unknown;
7938
+ 404: GeneralError;
7880
7939
  /**
7881
7940
  * Unprocessable Content
7882
7941
  */
7883
- 422: unknown;
7942
+ 422: GeneralError;
7884
7943
  /**
7885
7944
  * Internal Server Error
7886
7945
  */
7887
- 500: unknown;
7946
+ 500: GeneralError;
7888
7947
  };
7948
+ export type UpdateKeyspaceVschemaError = UpdateKeyspaceVschemaErrors[keyof UpdateKeyspaceVschemaErrors];
7889
7949
  export type UpdateKeyspaceVschemaResponses = {
7890
7950
  /**
7891
7951
  * Returns the VSchema for the keyspace
@@ -7925,20 +7985,21 @@ export type DeleteKeyspaceErrors = {
7925
7985
  /**
7926
7986
  * Unauthorized
7927
7987
  */
7928
- 401: unknown;
7988
+ 401: GeneralError;
7929
7989
  /**
7930
7990
  * Forbidden
7931
7991
  */
7932
- 403: unknown;
7992
+ 403: GeneralError;
7933
7993
  /**
7934
7994
  * Not Found
7935
7995
  */
7936
- 404: unknown;
7996
+ 404: GeneralError;
7937
7997
  /**
7938
7998
  * Internal Server Error
7939
7999
  */
7940
- 500: unknown;
8000
+ 500: GeneralError;
7941
8001
  };
8002
+ export type DeleteKeyspaceError = DeleteKeyspaceErrors[keyof DeleteKeyspaceErrors];
7942
8003
  export type DeleteKeyspaceResponses = {
7943
8004
  /**
7944
8005
  * Delete a keyspace
@@ -7972,20 +8033,21 @@ export type GetKeyspaceErrors = {
7972
8033
  /**
7973
8034
  * Unauthorized
7974
8035
  */
7975
- 401: unknown;
8036
+ 401: GeneralError;
7976
8037
  /**
7977
8038
  * Forbidden
7978
8039
  */
7979
- 403: unknown;
8040
+ 403: GeneralError;
7980
8041
  /**
7981
8042
  * Not Found
7982
8043
  */
7983
- 404: unknown;
8044
+ 404: GeneralError;
7984
8045
  /**
7985
8046
  * Internal Server Error
7986
8047
  */
7987
- 500: unknown;
8048
+ 500: GeneralError;
7988
8049
  };
8050
+ export type GetKeyspaceError = GetKeyspaceErrors[keyof GetKeyspaceErrors];
7989
8051
  export type GetKeyspaceResponses = {
7990
8052
  /**
7991
8053
  * Returns information about a keyspace
@@ -8020,20 +8082,21 @@ export type UpdateKeyspaceErrors = {
8020
8082
  /**
8021
8083
  * Unauthorized
8022
8084
  */
8023
- 401: unknown;
8085
+ 401: GeneralError;
8024
8086
  /**
8025
8087
  * Forbidden
8026
8088
  */
8027
- 403: unknown;
8089
+ 403: GeneralError;
8028
8090
  /**
8029
8091
  * Not Found
8030
8092
  */
8031
- 404: unknown;
8093
+ 404: GeneralError;
8032
8094
  /**
8033
8095
  * Internal Server Error
8034
8096
  */
8035
- 500: unknown;
8097
+ 500: GeneralError;
8036
8098
  };
8099
+ export type UpdateKeyspaceError = UpdateKeyspaceErrors[keyof UpdateKeyspaceErrors];
8037
8100
  export type UpdateKeyspaceResponses = {
8038
8101
  /**
8039
8102
  * Returns the keyspace
@@ -8068,20 +8131,21 @@ export type GetKeyspaceRolloutStatusErrors = {
8068
8131
  /**
8069
8132
  * Unauthorized
8070
8133
  */
8071
- 401: unknown;
8134
+ 401: GeneralError;
8072
8135
  /**
8073
8136
  * Forbidden
8074
8137
  */
8075
- 403: unknown;
8138
+ 403: GeneralError;
8076
8139
  /**
8077
8140
  * Not Found
8078
8141
  */
8079
- 404: unknown;
8142
+ 404: GeneralError;
8080
8143
  /**
8081
8144
  * Internal Server Error
8082
8145
  */
8083
- 500: unknown;
8146
+ 500: GeneralError;
8084
8147
  };
8148
+ export type GetKeyspaceRolloutStatusError = GetKeyspaceRolloutStatusErrors[keyof GetKeyspaceRolloutStatusErrors];
8085
8149
  export type GetKeyspaceRolloutStatusResponses = {
8086
8150
  /**
8087
8151
  * Returns information about a keyspace's rollout
@@ -8139,20 +8203,21 @@ export type ListParametersErrors = {
8139
8203
  /**
8140
8204
  * Unauthorized
8141
8205
  */
8142
- 401: unknown;
8206
+ 401: GeneralError;
8143
8207
  /**
8144
8208
  * Forbidden
8145
8209
  */
8146
- 403: unknown;
8210
+ 403: GeneralError;
8147
8211
  /**
8148
8212
  * Not Found
8149
8213
  */
8150
- 404: unknown;
8214
+ 404: GeneralError;
8151
8215
  /**
8152
8216
  * Internal Server Error
8153
8217
  */
8154
- 500: unknown;
8218
+ 500: GeneralError;
8155
8219
  };
8220
+ export type ListParametersError = ListParametersErrors[keyof ListParametersErrors];
8156
8221
  export type ListParametersResponses = {
8157
8222
  /**
8158
8223
  * Returns cluster parameters
@@ -8196,20 +8261,21 @@ export type ListPasswordsErrors = {
8196
8261
  /**
8197
8262
  * Unauthorized
8198
8263
  */
8199
- 401: unknown;
8264
+ 401: GeneralError;
8200
8265
  /**
8201
8266
  * Forbidden
8202
8267
  */
8203
- 403: unknown;
8268
+ 403: GeneralError;
8204
8269
  /**
8205
8270
  * Not Found
8206
8271
  */
8207
- 404: unknown;
8272
+ 404: GeneralError;
8208
8273
  /**
8209
8274
  * Internal Server Error
8210
8275
  */
8211
- 500: unknown;
8276
+ 500: GeneralError;
8212
8277
  };
8278
+ export type ListPasswordsError = ListPasswordsErrors[keyof ListPasswordsErrors];
8213
8279
  export type ListPasswordsResponses = {
8214
8280
  /**
8215
8281
  * Returns passwords for the branch
@@ -8261,24 +8327,25 @@ export type CreatePasswordErrors = {
8261
8327
  /**
8262
8328
  * Unauthorized
8263
8329
  */
8264
- 401: unknown;
8330
+ 401: GeneralError;
8265
8331
  /**
8266
8332
  * Forbidden
8267
8333
  */
8268
- 403: unknown;
8334
+ 403: GeneralError;
8269
8335
  /**
8270
8336
  * Not Found
8271
8337
  */
8272
- 404: unknown;
8338
+ 404: GeneralError;
8273
8339
  /**
8274
8340
  * Unprocessable Content
8275
8341
  */
8276
- 422: unknown;
8342
+ 422: GeneralError;
8277
8343
  /**
8278
8344
  * Internal Server Error
8279
8345
  */
8280
- 500: unknown;
8346
+ 500: GeneralError;
8281
8347
  };
8348
+ export type CreatePasswordError = CreatePasswordErrors[keyof CreatePasswordErrors];
8282
8349
  export type CreatePasswordResponses = {
8283
8350
  /**
8284
8351
  * Returns the new credentials
@@ -8313,20 +8380,21 @@ export type DeletePasswordErrors = {
8313
8380
  /**
8314
8381
  * Unauthorized
8315
8382
  */
8316
- 401: unknown;
8383
+ 401: GeneralError;
8317
8384
  /**
8318
8385
  * Forbidden
8319
8386
  */
8320
- 403: unknown;
8387
+ 403: GeneralError;
8321
8388
  /**
8322
8389
  * Not Found
8323
8390
  */
8324
- 404: unknown;
8391
+ 404: GeneralError;
8325
8392
  /**
8326
8393
  * Internal Server Error
8327
8394
  */
8328
- 500: unknown;
8395
+ 500: GeneralError;
8329
8396
  };
8397
+ export type DeletePasswordError = DeletePasswordErrors[keyof DeletePasswordErrors];
8330
8398
  export type DeletePasswordResponses = {
8331
8399
  /**
8332
8400
  * Deletes the password
@@ -8360,20 +8428,21 @@ export type GetPasswordErrors = {
8360
8428
  /**
8361
8429
  * Unauthorized
8362
8430
  */
8363
- 401: unknown;
8431
+ 401: GeneralError;
8364
8432
  /**
8365
8433
  * Forbidden
8366
8434
  */
8367
- 403: unknown;
8435
+ 403: GeneralError;
8368
8436
  /**
8369
8437
  * Not Found
8370
8438
  */
8371
- 404: unknown;
8439
+ 404: GeneralError;
8372
8440
  /**
8373
8441
  * Internal Server Error
8374
8442
  */
8375
- 500: unknown;
8443
+ 500: GeneralError;
8376
8444
  };
8445
+ export type GetPasswordError = GetPasswordErrors[keyof GetPasswordErrors];
8377
8446
  export type GetPasswordResponses = {
8378
8447
  /**
8379
8448
  * Returns a password
@@ -8417,20 +8486,21 @@ export type UpdatePasswordErrors = {
8417
8486
  /**
8418
8487
  * Unauthorized
8419
8488
  */
8420
- 401: unknown;
8489
+ 401: GeneralError;
8421
8490
  /**
8422
8491
  * Forbidden
8423
8492
  */
8424
- 403: unknown;
8493
+ 403: GeneralError;
8425
8494
  /**
8426
8495
  * Not Found
8427
8496
  */
8428
- 404: unknown;
8497
+ 404: GeneralError;
8429
8498
  /**
8430
8499
  * Internal Server Error
8431
8500
  */
8432
- 500: unknown;
8501
+ 500: GeneralError;
8433
8502
  };
8503
+ export type UpdatePasswordError = UpdatePasswordErrors[keyof UpdatePasswordErrors];
8434
8504
  export type UpdatePasswordResponses = {
8435
8505
  /**
8436
8506
  * Returns the updated password
@@ -8465,20 +8535,21 @@ export type RenewPasswordErrors = {
8465
8535
  /**
8466
8536
  * Unauthorized
8467
8537
  */
8468
- 401: unknown;
8538
+ 401: GeneralError;
8469
8539
  /**
8470
8540
  * Forbidden
8471
8541
  */
8472
- 403: unknown;
8542
+ 403: GeneralError;
8473
8543
  /**
8474
8544
  * Not Found
8475
8545
  */
8476
- 404: unknown;
8546
+ 404: GeneralError;
8477
8547
  /**
8478
8548
  * Internal Server Error
8479
8549
  */
8480
- 500: unknown;
8550
+ 500: GeneralError;
8481
8551
  };
8552
+ export type RenewPasswordError = RenewPasswordErrors[keyof RenewPasswordErrors];
8482
8553
  export type RenewPasswordResponses = {
8483
8554
  /**
8484
8555
  * Returns the renewed password
@@ -8509,20 +8580,21 @@ export type ListGeneratedQueryPatternsReportsErrors = {
8509
8580
  /**
8510
8581
  * Unauthorized
8511
8582
  */
8512
- 401: unknown;
8583
+ 401: GeneralError;
8513
8584
  /**
8514
8585
  * Forbidden
8515
8586
  */
8516
- 403: unknown;
8587
+ 403: GeneralError;
8517
8588
  /**
8518
8589
  * Not Found
8519
8590
  */
8520
- 404: unknown;
8591
+ 404: GeneralError;
8521
8592
  /**
8522
8593
  * Internal Server Error
8523
8594
  */
8524
- 500: unknown;
8595
+ 500: GeneralError;
8525
8596
  };
8597
+ export type ListGeneratedQueryPatternsReportsError = ListGeneratedQueryPatternsReportsErrors[keyof ListGeneratedQueryPatternsReportsErrors];
8526
8598
  export type ListGeneratedQueryPatternsReportsResponses = {
8527
8599
  /**
8528
8600
  * Returns the generated query patterns reports
@@ -8553,20 +8625,21 @@ export type CreateQueryPatternsReportErrors = {
8553
8625
  /**
8554
8626
  * Unauthorized
8555
8627
  */
8556
- 401: unknown;
8628
+ 401: GeneralError;
8557
8629
  /**
8558
8630
  * Forbidden
8559
8631
  */
8560
- 403: unknown;
8632
+ 403: GeneralError;
8561
8633
  /**
8562
8634
  * Not Found
8563
8635
  */
8564
- 404: unknown;
8636
+ 404: GeneralError;
8565
8637
  /**
8566
8638
  * Internal Server Error
8567
8639
  */
8568
- 500: unknown;
8640
+ 500: GeneralError;
8569
8641
  };
8642
+ export type CreateQueryPatternsReportError = CreateQueryPatternsReportErrors[keyof CreateQueryPatternsReportErrors];
8570
8643
  export type CreateQueryPatternsReportResponses = {
8571
8644
  /**
8572
8645
  * The created query patterns download
@@ -8601,20 +8674,21 @@ export type DeleteQueryPatternsReportErrors = {
8601
8674
  /**
8602
8675
  * Unauthorized
8603
8676
  */
8604
- 401: unknown;
8677
+ 401: GeneralError;
8605
8678
  /**
8606
8679
  * Forbidden
8607
8680
  */
8608
- 403: unknown;
8681
+ 403: GeneralError;
8609
8682
  /**
8610
8683
  * Not Found
8611
8684
  */
8612
- 404: unknown;
8685
+ 404: GeneralError;
8613
8686
  /**
8614
8687
  * Internal Server Error
8615
8688
  */
8616
- 500: unknown;
8689
+ 500: GeneralError;
8617
8690
  };
8691
+ export type DeleteQueryPatternsReportError = DeleteQueryPatternsReportErrors[keyof DeleteQueryPatternsReportErrors];
8618
8692
  export type DeleteQueryPatternsReportResponses = {
8619
8693
  /**
8620
8694
  * Delete a query patterns report
@@ -8648,20 +8722,21 @@ export type GetQueryPatternsReportStatusErrors = {
8648
8722
  /**
8649
8723
  * Unauthorized
8650
8724
  */
8651
- 401: unknown;
8725
+ 401: GeneralError;
8652
8726
  /**
8653
8727
  * Forbidden
8654
8728
  */
8655
- 403: unknown;
8729
+ 403: GeneralError;
8656
8730
  /**
8657
8731
  * Not Found
8658
8732
  */
8659
- 404: unknown;
8733
+ 404: GeneralError;
8660
8734
  /**
8661
8735
  * Internal Server Error
8662
8736
  */
8663
- 500: unknown;
8737
+ 500: GeneralError;
8664
8738
  };
8739
+ export type GetQueryPatternsReportStatusError = GetQueryPatternsReportStatusErrors[keyof GetQueryPatternsReportStatusErrors];
8665
8740
  export type GetQueryPatternsReportStatusResponses = {
8666
8741
  /**
8667
8742
  * The retrieved query patterns download
@@ -8696,20 +8771,21 @@ export type GetQueryPatternsReportErrors = {
8696
8771
  /**
8697
8772
  * Unauthorized
8698
8773
  */
8699
- 401: unknown;
8774
+ 401: GeneralError;
8700
8775
  /**
8701
8776
  * Forbidden
8702
8777
  */
8703
- 403: unknown;
8778
+ 403: GeneralError;
8704
8779
  /**
8705
8780
  * Not Found
8706
8781
  */
8707
- 404: unknown;
8782
+ 404: GeneralError;
8708
8783
  /**
8709
8784
  * Internal Server Error
8710
8785
  */
8711
- 500: unknown;
8786
+ 500: GeneralError;
8712
8787
  };
8788
+ export type GetQueryPatternsReportError = GetQueryPatternsReportErrors[keyof GetQueryPatternsReportErrors];
8713
8789
  export type CancelBranchChangeRequestData = {
8714
8790
  body?: never;
8715
8791
  path: {
@@ -8733,20 +8809,21 @@ export type CancelBranchChangeRequestErrors = {
8733
8809
  /**
8734
8810
  * Unauthorized
8735
8811
  */
8736
- 401: unknown;
8812
+ 401: GeneralError;
8737
8813
  /**
8738
8814
  * Forbidden
8739
8815
  */
8740
- 403: unknown;
8816
+ 403: GeneralError;
8741
8817
  /**
8742
8818
  * Not Found
8743
8819
  */
8744
- 404: unknown;
8820
+ 404: GeneralError;
8745
8821
  /**
8746
8822
  * Internal Server Error
8747
8823
  */
8748
- 500: unknown;
8824
+ 500: GeneralError;
8749
8825
  };
8826
+ export type CancelBranchChangeRequestError = CancelBranchChangeRequestErrors[keyof CancelBranchChangeRequestErrors];
8750
8827
  export type CancelBranchChangeRequestResponses = {
8751
8828
  /**
8752
8829
  * Cancels a change request
@@ -8785,20 +8862,21 @@ export type ListRolesErrors = {
8785
8862
  /**
8786
8863
  * Unauthorized
8787
8864
  */
8788
- 401: unknown;
8865
+ 401: GeneralError;
8789
8866
  /**
8790
8867
  * Forbidden
8791
8868
  */
8792
- 403: unknown;
8869
+ 403: GeneralError;
8793
8870
  /**
8794
8871
  * Not Found
8795
8872
  */
8796
- 404: unknown;
8873
+ 404: GeneralError;
8797
8874
  /**
8798
8875
  * Internal Server Error
8799
8876
  */
8800
- 500: unknown;
8877
+ 500: GeneralError;
8801
8878
  };
8879
+ export type ListRolesError = ListRolesErrors[keyof ListRolesErrors];
8802
8880
  export type ListRolesResponses = {
8803
8881
  /**
8804
8882
  * Returns roles
@@ -8838,20 +8916,21 @@ export type CreateRoleErrors = {
8838
8916
  /**
8839
8917
  * Unauthorized
8840
8918
  */
8841
- 401: unknown;
8919
+ 401: GeneralError;
8842
8920
  /**
8843
8921
  * Forbidden
8844
8922
  */
8845
- 403: unknown;
8923
+ 403: GeneralError;
8846
8924
  /**
8847
8925
  * Not Found
8848
8926
  */
8849
- 404: unknown;
8927
+ 404: GeneralError;
8850
8928
  /**
8851
8929
  * Internal Server Error
8852
8930
  */
8853
- 500: unknown;
8931
+ 500: GeneralError;
8854
8932
  };
8933
+ export type CreateRoleError = CreateRoleErrors[keyof CreateRoleErrors];
8855
8934
  export type CreateRoleResponses = {
8856
8935
  /**
8857
8936
  * Returns the new credentials
@@ -8891,20 +8970,21 @@ export type DeleteRoleErrors = {
8891
8970
  /**
8892
8971
  * Unauthorized
8893
8972
  */
8894
- 401: unknown;
8973
+ 401: GeneralError;
8895
8974
  /**
8896
8975
  * Forbidden
8897
8976
  */
8898
- 403: unknown;
8977
+ 403: GeneralError;
8899
8978
  /**
8900
8979
  * Not Found
8901
8980
  */
8902
- 404: unknown;
8981
+ 404: GeneralError;
8903
8982
  /**
8904
8983
  * Internal Server Error
8905
8984
  */
8906
- 500: unknown;
8985
+ 500: GeneralError;
8907
8986
  };
8987
+ export type DeleteRoleError = DeleteRoleErrors[keyof DeleteRoleErrors];
8908
8988
  export type DeleteRoleResponses = {
8909
8989
  /**
8910
8990
  * Deletes the role credentials
@@ -8938,20 +9018,21 @@ export type GetRoleErrors = {
8938
9018
  /**
8939
9019
  * Unauthorized
8940
9020
  */
8941
- 401: unknown;
9021
+ 401: GeneralError;
8942
9022
  /**
8943
9023
  * Forbidden
8944
9024
  */
8945
- 403: unknown;
9025
+ 403: GeneralError;
8946
9026
  /**
8947
9027
  * Not Found
8948
9028
  */
8949
- 404: unknown;
9029
+ 404: GeneralError;
8950
9030
  /**
8951
9031
  * Internal Server Error
8952
9032
  */
8953
- 500: unknown;
9033
+ 500: GeneralError;
8954
9034
  };
9035
+ export type GetRoleError = GetRoleErrors[keyof GetRoleErrors];
8955
9036
  export type GetRoleResponses = {
8956
9037
  /**
8957
9038
  * Returns a role
@@ -8991,20 +9072,21 @@ export type UpdateRoleErrors = {
8991
9072
  /**
8992
9073
  * Unauthorized
8993
9074
  */
8994
- 401: unknown;
9075
+ 401: GeneralError;
8995
9076
  /**
8996
9077
  * Forbidden
8997
9078
  */
8998
- 403: unknown;
9079
+ 403: GeneralError;
8999
9080
  /**
9000
9081
  * Not Found
9001
9082
  */
9002
- 404: unknown;
9083
+ 404: GeneralError;
9003
9084
  /**
9004
9085
  * Internal Server Error
9005
9086
  */
9006
- 500: unknown;
9087
+ 500: GeneralError;
9007
9088
  };
9089
+ export type UpdateRoleError = UpdateRoleErrors[keyof UpdateRoleErrors];
9008
9090
  export type UpdateRoleResponses = {
9009
9091
  /**
9010
9092
  * Returns the updated role
@@ -9039,20 +9121,21 @@ export type RenewRoleErrors = {
9039
9121
  /**
9040
9122
  * Unauthorized
9041
9123
  */
9042
- 401: unknown;
9124
+ 401: GeneralError;
9043
9125
  /**
9044
9126
  * Forbidden
9045
9127
  */
9046
- 403: unknown;
9128
+ 403: GeneralError;
9047
9129
  /**
9048
9130
  * Not Found
9049
9131
  */
9050
- 404: unknown;
9132
+ 404: GeneralError;
9051
9133
  /**
9052
9134
  * Internal Server Error
9053
9135
  */
9054
- 500: unknown;
9136
+ 500: GeneralError;
9055
9137
  };
9138
+ export type RenewRoleError = RenewRoleErrors[keyof RenewRoleErrors];
9056
9139
  export type RenewRoleResponses = {
9057
9140
  /**
9058
9141
  * Returns the renewed role
@@ -9083,20 +9166,21 @@ export type DeleteBranchErrors = {
9083
9166
  /**
9084
9167
  * Unauthorized
9085
9168
  */
9086
- 401: unknown;
9169
+ 401: GeneralError;
9087
9170
  /**
9088
9171
  * Forbidden
9089
9172
  */
9090
- 403: unknown;
9173
+ 403: GeneralError;
9091
9174
  /**
9092
9175
  * Not Found
9093
9176
  */
9094
- 404: unknown;
9177
+ 404: GeneralError;
9095
9178
  /**
9096
9179
  * Internal Server Error
9097
9180
  */
9098
- 500: unknown;
9181
+ 500: GeneralError;
9099
9182
  };
9183
+ export type DeleteBranchError = DeleteBranchErrors[keyof DeleteBranchErrors];
9100
9184
  export type DeleteBranchResponses = {
9101
9185
  /**
9102
9186
  * Delete a branch
@@ -9126,20 +9210,21 @@ export type GetBranchErrors = {
9126
9210
  /**
9127
9211
  * Unauthorized
9128
9212
  */
9129
- 401: unknown;
9213
+ 401: GeneralError;
9130
9214
  /**
9131
9215
  * Forbidden
9132
9216
  */
9133
- 403: unknown;
9217
+ 403: GeneralError;
9134
9218
  /**
9135
9219
  * Not Found
9136
9220
  */
9137
- 404: unknown;
9221
+ 404: GeneralError;
9138
9222
  /**
9139
9223
  * Internal Server Error
9140
9224
  */
9141
- 500: unknown;
9225
+ 500: GeneralError;
9142
9226
  };
9227
+ export type GetBranchError = GetBranchErrors[keyof GetBranchErrors];
9143
9228
  export type GetBranchResponses = {
9144
9229
  /**
9145
9230
  * Returns information about a branch
@@ -9175,20 +9260,21 @@ export type UpdateBranchClusterConfigErrors = {
9175
9260
  /**
9176
9261
  * Unauthorized
9177
9262
  */
9178
- 401: unknown;
9263
+ 401: GeneralError;
9179
9264
  /**
9180
9265
  * Forbidden
9181
9266
  */
9182
- 403: unknown;
9267
+ 403: GeneralError;
9183
9268
  /**
9184
9269
  * Not Found
9185
9270
  */
9186
- 404: unknown;
9271
+ 404: GeneralError;
9187
9272
  /**
9188
9273
  * Internal Server Error
9189
9274
  */
9190
- 500: unknown;
9275
+ 500: GeneralError;
9191
9276
  };
9277
+ export type UpdateBranchClusterConfigError = UpdateBranchClusterConfigErrors[keyof UpdateBranchClusterConfigErrors];
9192
9278
  export type UpdateBranchClusterConfigResponses = {
9193
9279
  /**
9194
9280
  * Returns an empty response body
@@ -9218,20 +9304,21 @@ export type DemoteBranchErrors = {
9218
9304
  /**
9219
9305
  * Unauthorized
9220
9306
  */
9221
- 401: unknown;
9307
+ 401: GeneralError;
9222
9308
  /**
9223
9309
  * Forbidden
9224
9310
  */
9225
- 403: unknown;
9311
+ 403: GeneralError;
9226
9312
  /**
9227
9313
  * Not Found
9228
9314
  */
9229
- 404: unknown;
9315
+ 404: GeneralError;
9230
9316
  /**
9231
9317
  * Internal Server Error
9232
9318
  */
9233
- 500: unknown;
9319
+ 500: GeneralError;
9234
9320
  };
9321
+ export type DemoteBranchError = DemoteBranchErrors[keyof DemoteBranchErrors];
9235
9322
  export type DemoteBranchResponses = {
9236
9323
  /**
9237
9324
  * Returns a development branch
@@ -9262,20 +9349,21 @@ export type PromoteBranchErrors = {
9262
9349
  /**
9263
9350
  * Unauthorized
9264
9351
  */
9265
- 401: unknown;
9352
+ 401: GeneralError;
9266
9353
  /**
9267
9354
  * Forbidden
9268
9355
  */
9269
- 403: unknown;
9356
+ 403: GeneralError;
9270
9357
  /**
9271
9358
  * Not Found
9272
9359
  */
9273
- 404: unknown;
9360
+ 404: GeneralError;
9274
9361
  /**
9275
9362
  * Internal Server Error
9276
9363
  */
9277
- 500: unknown;
9364
+ 500: GeneralError;
9278
9365
  };
9366
+ export type PromoteBranchError = PromoteBranchErrors[keyof PromoteBranchErrors];
9279
9367
  export type PromoteBranchResponses = {
9280
9368
  /**
9281
9369
  * Returns a production branch
@@ -9306,20 +9394,21 @@ export type DisableSafeMigrationsErrors = {
9306
9394
  /**
9307
9395
  * Unauthorized
9308
9396
  */
9309
- 401: unknown;
9397
+ 401: GeneralError;
9310
9398
  /**
9311
9399
  * Forbidden
9312
9400
  */
9313
- 403: unknown;
9401
+ 403: GeneralError;
9314
9402
  /**
9315
9403
  * Not Found
9316
9404
  */
9317
- 404: unknown;
9405
+ 404: GeneralError;
9318
9406
  /**
9319
9407
  * Internal Server Error
9320
9408
  */
9321
- 500: unknown;
9409
+ 500: GeneralError;
9322
9410
  };
9411
+ export type DisableSafeMigrationsError = DisableSafeMigrationsErrors[keyof DisableSafeMigrationsErrors];
9323
9412
  export type DisableSafeMigrationsResponses = {
9324
9413
  /**
9325
9414
  * Returns the branch with safe migrations disabled
@@ -9350,20 +9439,21 @@ export type EnableSafeMigrationsErrors = {
9350
9439
  /**
9351
9440
  * Unauthorized
9352
9441
  */
9353
- 401: unknown;
9442
+ 401: GeneralError;
9354
9443
  /**
9355
9444
  * Forbidden
9356
9445
  */
9357
- 403: unknown;
9446
+ 403: GeneralError;
9358
9447
  /**
9359
9448
  * Not Found
9360
9449
  */
9361
- 404: unknown;
9450
+ 404: GeneralError;
9362
9451
  /**
9363
9452
  * Internal Server Error
9364
9453
  */
9365
- 500: unknown;
9454
+ 500: GeneralError;
9366
9455
  };
9456
+ export type EnableSafeMigrationsError = EnableSafeMigrationsErrors[keyof EnableSafeMigrationsErrors];
9367
9457
  export type EnableSafeMigrationsResponses = {
9368
9458
  /**
9369
9459
  * Returns the branch with safe migrations enabled
@@ -9403,20 +9493,21 @@ export type GetBranchSchemaErrors = {
9403
9493
  /**
9404
9494
  * Unauthorized
9405
9495
  */
9406
- 401: unknown;
9496
+ 401: GeneralError;
9407
9497
  /**
9408
9498
  * Forbidden
9409
9499
  */
9410
- 403: unknown;
9500
+ 403: GeneralError;
9411
9501
  /**
9412
9502
  * Not Found
9413
9503
  */
9414
- 404: unknown;
9504
+ 404: GeneralError;
9415
9505
  /**
9416
9506
  * Internal Server Error
9417
9507
  */
9418
- 500: unknown;
9508
+ 500: GeneralError;
9419
9509
  };
9510
+ export type GetBranchSchemaError = GetBranchSchemaErrors[keyof GetBranchSchemaErrors];
9420
9511
  export type GetBranchSchemaResponses = {
9421
9512
  /**
9422
9513
  * Gets the schema for the branch
@@ -9471,20 +9562,21 @@ export type LintBranchSchemaErrors = {
9471
9562
  /**
9472
9563
  * Unauthorized
9473
9564
  */
9474
- 401: unknown;
9565
+ 401: GeneralError;
9475
9566
  /**
9476
9567
  * Forbidden
9477
9568
  */
9478
- 403: unknown;
9569
+ 403: GeneralError;
9479
9570
  /**
9480
9571
  * Not Found
9481
9572
  */
9482
- 404: unknown;
9573
+ 404: GeneralError;
9483
9574
  /**
9484
9575
  * Internal Server Error
9485
9576
  */
9486
- 500: unknown;
9577
+ 500: GeneralError;
9487
9578
  };
9579
+ export type LintBranchSchemaError = LintBranchSchemaErrors[keyof LintBranchSchemaErrors];
9488
9580
  export type LintBranchSchemaResponses = {
9489
9581
  /**
9490
9582
  * Returns a list of schema errors for a branch
@@ -9511,20 +9603,21 @@ export type GetDeployQueueErrors = {
9511
9603
  /**
9512
9604
  * Unauthorized
9513
9605
  */
9514
- 401: unknown;
9606
+ 401: GeneralError;
9515
9607
  /**
9516
9608
  * Forbidden
9517
9609
  */
9518
- 403: unknown;
9610
+ 403: GeneralError;
9519
9611
  /**
9520
9612
  * Not Found
9521
9613
  */
9522
- 404: unknown;
9614
+ 404: GeneralError;
9523
9615
  /**
9524
9616
  * Internal Server Error
9525
9617
  */
9526
- 500: unknown;
9618
+ 500: GeneralError;
9527
9619
  };
9620
+ export type GetDeployQueueError = GetDeployQueueErrors[keyof GetDeployQueueErrors];
9528
9621
  export type GetDeployQueueResponses = {
9529
9622
  /**
9530
9623
  * Returns the deploy queue for a database
@@ -9580,20 +9673,21 @@ export type ListDeployRequestsErrors = {
9580
9673
  /**
9581
9674
  * Unauthorized
9582
9675
  */
9583
- 401: unknown;
9676
+ 401: GeneralError;
9584
9677
  /**
9585
9678
  * Forbidden
9586
9679
  */
9587
- 403: unknown;
9680
+ 403: GeneralError;
9588
9681
  /**
9589
9682
  * Not Found
9590
9683
  */
9591
- 404: unknown;
9684
+ 404: GeneralError;
9592
9685
  /**
9593
9686
  * Internal Server Error
9594
9687
  */
9595
- 500: unknown;
9688
+ 500: GeneralError;
9596
9689
  };
9690
+ export type ListDeployRequestsError = ListDeployRequestsErrors[keyof ListDeployRequestsErrors];
9597
9691
  export type ListDeployRequestsResponses = {
9598
9692
  /**
9599
9693
  * Returns a list of deploy requests
@@ -9641,20 +9735,21 @@ export type CreateDeployRequestErrors = {
9641
9735
  /**
9642
9736
  * Unauthorized
9643
9737
  */
9644
- 401: unknown;
9738
+ 401: GeneralError;
9645
9739
  /**
9646
9740
  * Forbidden
9647
9741
  */
9648
- 403: unknown;
9742
+ 403: GeneralError;
9649
9743
  /**
9650
9744
  * Not Found
9651
9745
  */
9652
- 404: unknown;
9746
+ 404: GeneralError;
9653
9747
  /**
9654
9748
  * Internal Server Error
9655
9749
  */
9656
- 500: unknown;
9750
+ 500: GeneralError;
9657
9751
  };
9752
+ export type CreateDeployRequestError = CreateDeployRequestErrors[keyof CreateDeployRequestErrors];
9658
9753
  export type CreateDeployRequestResponses = {
9659
9754
  /**
9660
9755
  * Returns the created deploy request
@@ -9685,20 +9780,21 @@ export type GetDeployRequestErrors = {
9685
9780
  /**
9686
9781
  * Unauthorized
9687
9782
  */
9688
- 401: unknown;
9783
+ 401: GeneralError;
9689
9784
  /**
9690
9785
  * Forbidden
9691
9786
  */
9692
- 403: unknown;
9787
+ 403: GeneralError;
9693
9788
  /**
9694
9789
  * Not Found
9695
9790
  */
9696
- 404: unknown;
9791
+ 404: GeneralError;
9697
9792
  /**
9698
9793
  * Internal Server Error
9699
9794
  */
9700
- 500: unknown;
9795
+ 500: GeneralError;
9701
9796
  };
9797
+ export type GetDeployRequestError = GetDeployRequestErrors[keyof GetDeployRequestErrors];
9702
9798
  export type GetDeployRequestResponses = {
9703
9799
  /**
9704
9800
  * Returns information about a deploy request
@@ -9734,20 +9830,21 @@ export type CloseDeployRequestErrors = {
9734
9830
  /**
9735
9831
  * Unauthorized
9736
9832
  */
9737
- 401: unknown;
9833
+ 401: GeneralError;
9738
9834
  /**
9739
9835
  * Forbidden
9740
9836
  */
9741
- 403: unknown;
9837
+ 403: GeneralError;
9742
9838
  /**
9743
9839
  * Not Found
9744
9840
  */
9745
- 404: unknown;
9841
+ 404: GeneralError;
9746
9842
  /**
9747
9843
  * Internal Server Error
9748
9844
  */
9749
- 500: unknown;
9845
+ 500: GeneralError;
9750
9846
  };
9847
+ export type CloseDeployRequestError = CloseDeployRequestErrors[keyof CloseDeployRequestErrors];
9751
9848
  export type CloseDeployRequestResponses = {
9752
9849
  /**
9753
9850
  * Returns the updated deploy request
@@ -9778,20 +9875,21 @@ export type CompleteGatedDeployRequestErrors = {
9778
9875
  /**
9779
9876
  * Unauthorized
9780
9877
  */
9781
- 401: unknown;
9878
+ 401: GeneralError;
9782
9879
  /**
9783
9880
  * Forbidden
9784
9881
  */
9785
- 403: unknown;
9882
+ 403: GeneralError;
9786
9883
  /**
9787
9884
  * Not Found
9788
9885
  */
9789
- 404: unknown;
9886
+ 404: GeneralError;
9790
9887
  /**
9791
9888
  * Internal Server Error
9792
9889
  */
9793
- 500: unknown;
9890
+ 500: GeneralError;
9794
9891
  };
9892
+ export type CompleteGatedDeployRequestError = CompleteGatedDeployRequestErrors[keyof CompleteGatedDeployRequestErrors];
9795
9893
  export type CompleteGatedDeployRequestResponses = {
9796
9894
  /**
9797
9895
  * Returns the deploy request whose deployment has been completed
@@ -9827,20 +9925,21 @@ export type UpdateAutoApplyErrors = {
9827
9925
  /**
9828
9926
  * Unauthorized
9829
9927
  */
9830
- 401: unknown;
9928
+ 401: GeneralError;
9831
9929
  /**
9832
9930
  * Forbidden
9833
9931
  */
9834
- 403: unknown;
9932
+ 403: GeneralError;
9835
9933
  /**
9836
9934
  * Not Found
9837
9935
  */
9838
- 404: unknown;
9936
+ 404: GeneralError;
9839
9937
  /**
9840
9938
  * Internal Server Error
9841
9939
  */
9842
- 500: unknown;
9940
+ 500: GeneralError;
9843
9941
  };
9942
+ export type UpdateAutoApplyError = UpdateAutoApplyErrors[keyof UpdateAutoApplyErrors];
9844
9943
  export type UpdateAutoApplyResponses = {
9845
9944
  /**
9846
9945
  * Returns the deploy request whose auto-apply setting was updated
@@ -9871,20 +9970,21 @@ export type CancelDeployRequestErrors = {
9871
9970
  /**
9872
9971
  * Unauthorized
9873
9972
  */
9874
- 401: unknown;
9973
+ 401: GeneralError;
9875
9974
  /**
9876
9975
  * Forbidden
9877
9976
  */
9878
- 403: unknown;
9977
+ 403: GeneralError;
9879
9978
  /**
9880
9979
  * Not Found
9881
9980
  */
9882
- 404: unknown;
9981
+ 404: GeneralError;
9883
9982
  /**
9884
9983
  * Internal Server Error
9885
9984
  */
9886
- 500: unknown;
9985
+ 500: GeneralError;
9887
9986
  };
9987
+ export type CancelDeployRequestError = CancelDeployRequestErrors[keyof CancelDeployRequestErrors];
9888
9988
  export type CancelDeployRequestResponses = {
9889
9989
  /**
9890
9990
  * Returns the deploy request whose deployment was canceled
@@ -9915,20 +10015,21 @@ export type CompleteErroredDeployErrors = {
9915
10015
  /**
9916
10016
  * Unauthorized
9917
10017
  */
9918
- 401: unknown;
10018
+ 401: GeneralError;
9919
10019
  /**
9920
10020
  * Forbidden
9921
10021
  */
9922
- 403: unknown;
10022
+ 403: GeneralError;
9923
10023
  /**
9924
10024
  * Not Found
9925
10025
  */
9926
- 404: unknown;
10026
+ 404: GeneralError;
9927
10027
  /**
9928
10028
  * Internal Server Error
9929
10029
  */
9930
- 500: unknown;
10030
+ 500: GeneralError;
9931
10031
  };
10032
+ export type CompleteErroredDeployError = CompleteErroredDeployErrors[keyof CompleteErroredDeployErrors];
9932
10033
  export type CompleteErroredDeployResponses = {
9933
10034
  /**
9934
10035
  * Returns the completed deploy request
@@ -9964,20 +10065,21 @@ export type QueueDeployRequestErrors = {
9964
10065
  /**
9965
10066
  * Unauthorized
9966
10067
  */
9967
- 401: unknown;
10068
+ 401: GeneralError;
9968
10069
  /**
9969
10070
  * Forbidden
9970
10071
  */
9971
- 403: unknown;
10072
+ 403: GeneralError;
9972
10073
  /**
9973
10074
  * Not Found
9974
10075
  */
9975
- 404: unknown;
10076
+ 404: GeneralError;
9976
10077
  /**
9977
10078
  * Internal Server Error
9978
10079
  */
9979
- 500: unknown;
10080
+ 500: GeneralError;
9980
10081
  };
10082
+ export type QueueDeployRequestError = QueueDeployRequestErrors[keyof QueueDeployRequestErrors];
9981
10083
  export type QueueDeployRequestResponses = {
9982
10084
  /**
9983
10085
  * Returns the deployed deploy request
@@ -10008,20 +10110,21 @@ export type GetDeploymentErrors = {
10008
10110
  /**
10009
10111
  * Unauthorized
10010
10112
  */
10011
- 401: unknown;
10113
+ 401: GeneralError;
10012
10114
  /**
10013
10115
  * Forbidden
10014
10116
  */
10015
- 403: unknown;
10117
+ 403: GeneralError;
10016
10118
  /**
10017
10119
  * Not Found
10018
10120
  */
10019
- 404: unknown;
10121
+ 404: GeneralError;
10020
10122
  /**
10021
10123
  * Internal Server Error
10022
10124
  */
10023
- 500: unknown;
10125
+ 500: GeneralError;
10024
10126
  };
10127
+ export type GetDeploymentError = GetDeploymentErrors[keyof GetDeploymentErrors];
10025
10128
  export type GetDeploymentResponses = {
10026
10129
  /**
10027
10130
  * Returns the deployment for a deploy request
@@ -10061,20 +10164,21 @@ export type ListDeployOperationsErrors = {
10061
10164
  /**
10062
10165
  * Unauthorized
10063
10166
  */
10064
- 401: unknown;
10167
+ 401: GeneralError;
10065
10168
  /**
10066
10169
  * Forbidden
10067
10170
  */
10068
- 403: unknown;
10171
+ 403: GeneralError;
10069
10172
  /**
10070
10173
  * Not Found
10071
10174
  */
10072
- 404: unknown;
10175
+ 404: GeneralError;
10073
10176
  /**
10074
10177
  * Internal Server Error
10075
10178
  */
10076
- 500: unknown;
10179
+ 500: GeneralError;
10077
10180
  };
10181
+ export type ListDeployOperationsError = ListDeployOperationsErrors[keyof ListDeployOperationsErrors];
10078
10182
  export type ListDeployOperationsResponses = {
10079
10183
  /**
10080
10184
  * Returns deploy operations for the deploy request
@@ -10105,20 +10209,21 @@ export type CompleteRevertErrors = {
10105
10209
  /**
10106
10210
  * Unauthorized
10107
10211
  */
10108
- 401: unknown;
10212
+ 401: GeneralError;
10109
10213
  /**
10110
10214
  * Forbidden
10111
10215
  */
10112
- 403: unknown;
10216
+ 403: GeneralError;
10113
10217
  /**
10114
10218
  * Not Found
10115
10219
  */
10116
- 404: unknown;
10220
+ 404: GeneralError;
10117
10221
  /**
10118
10222
  * Internal Server Error
10119
10223
  */
10120
- 500: unknown;
10224
+ 500: GeneralError;
10121
10225
  };
10226
+ export type CompleteRevertError = CompleteRevertErrors[keyof CompleteRevertErrors];
10122
10227
  export type CompleteRevertResponses = {
10123
10228
  /**
10124
10229
  * Returns the deploy request that was reverted
@@ -10149,20 +10254,21 @@ export type ListDeployRequestReviewsErrors = {
10149
10254
  /**
10150
10255
  * Unauthorized
10151
10256
  */
10152
- 401: unknown;
10257
+ 401: GeneralError;
10153
10258
  /**
10154
10259
  * Forbidden
10155
10260
  */
10156
- 403: unknown;
10261
+ 403: GeneralError;
10157
10262
  /**
10158
10263
  * Not Found
10159
10264
  */
10160
- 404: unknown;
10265
+ 404: GeneralError;
10161
10266
  /**
10162
10267
  * Internal Server Error
10163
10268
  */
10164
- 500: unknown;
10269
+ 500: GeneralError;
10165
10270
  };
10271
+ export type ListDeployRequestReviewsError = ListDeployRequestReviewsErrors[keyof ListDeployRequestReviewsErrors];
10166
10272
  export type ListDeployRequestReviewsResponses = {
10167
10273
  /**
10168
10274
  * Returns an array of deploy request reviews
@@ -10202,20 +10308,21 @@ export type ReviewDeployRequestErrors = {
10202
10308
  /**
10203
10309
  * Unauthorized
10204
10310
  */
10205
- 401: unknown;
10311
+ 401: GeneralError;
10206
10312
  /**
10207
10313
  * Forbidden
10208
10314
  */
10209
- 403: unknown;
10315
+ 403: GeneralError;
10210
10316
  /**
10211
10317
  * Not Found
10212
10318
  */
10213
- 404: unknown;
10319
+ 404: GeneralError;
10214
10320
  /**
10215
10321
  * Internal Server Error
10216
10322
  */
10217
- 500: unknown;
10323
+ 500: GeneralError;
10218
10324
  };
10325
+ export type ReviewDeployRequestError = ReviewDeployRequestErrors[keyof ReviewDeployRequestErrors];
10219
10326
  export type ReviewDeployRequestResponses = {
10220
10327
  /**
10221
10328
  * Returns the created deploy request review
@@ -10246,20 +10353,21 @@ export type SkipRevertPeriodErrors = {
10246
10353
  /**
10247
10354
  * Unauthorized
10248
10355
  */
10249
- 401: unknown;
10356
+ 401: GeneralError;
10250
10357
  /**
10251
10358
  * Forbidden
10252
10359
  */
10253
- 403: unknown;
10360
+ 403: GeneralError;
10254
10361
  /**
10255
10362
  * Not Found
10256
10363
  */
10257
- 404: unknown;
10364
+ 404: GeneralError;
10258
10365
  /**
10259
10366
  * Internal Server Error
10260
10367
  */
10261
- 500: unknown;
10368
+ 500: GeneralError;
10262
10369
  };
10370
+ export type SkipRevertPeriodError = SkipRevertPeriodErrors[keyof SkipRevertPeriodErrors];
10263
10371
  export type SkipRevertPeriodResponses = {
10264
10372
  /**
10265
10373
  * Returns the deploy request whose deploy revert was skipped
@@ -10290,20 +10398,21 @@ export type GetDeployRequestThrottlerErrors = {
10290
10398
  /**
10291
10399
  * Unauthorized
10292
10400
  */
10293
- 401: unknown;
10401
+ 401: GeneralError;
10294
10402
  /**
10295
10403
  * Forbidden
10296
10404
  */
10297
- 403: unknown;
10405
+ 403: GeneralError;
10298
10406
  /**
10299
10407
  * Not Found
10300
10408
  */
10301
- 404: unknown;
10409
+ 404: GeneralError;
10302
10410
  /**
10303
10411
  * Internal Server Error
10304
10412
  */
10305
- 500: unknown;
10413
+ 500: GeneralError;
10306
10414
  };
10415
+ export type GetDeployRequestThrottlerError = GetDeployRequestThrottlerErrors[keyof GetDeployRequestThrottlerErrors];
10307
10416
  export type GetDeployRequestThrottlerResponses = {
10308
10417
  /**
10309
10418
  * Deploy request throttler configurations
@@ -10343,20 +10452,21 @@ export type UpdateDeployRequestThrottlerErrors = {
10343
10452
  /**
10344
10453
  * Unauthorized
10345
10454
  */
10346
- 401: unknown;
10455
+ 401: GeneralError;
10347
10456
  /**
10348
10457
  * Forbidden
10349
10458
  */
10350
- 403: unknown;
10459
+ 403: GeneralError;
10351
10460
  /**
10352
10461
  * Not Found
10353
10462
  */
10354
- 404: unknown;
10463
+ 404: GeneralError;
10355
10464
  /**
10356
10465
  * Internal Server Error
10357
10466
  */
10358
- 500: unknown;
10467
+ 500: GeneralError;
10359
10468
  };
10469
+ export type UpdateDeployRequestThrottlerError = UpdateDeployRequestThrottlerErrors[keyof UpdateDeployRequestThrottlerErrors];
10360
10470
  export type UpdateDeployRequestThrottlerResponses = {
10361
10471
  /**
10362
10472
  * Deploy request throttler configurations
@@ -10383,20 +10493,21 @@ export type GetDatabaseThrottlerErrors = {
10383
10493
  /**
10384
10494
  * Unauthorized
10385
10495
  */
10386
- 401: unknown;
10496
+ 401: GeneralError;
10387
10497
  /**
10388
10498
  * Forbidden
10389
10499
  */
10390
- 403: unknown;
10500
+ 403: GeneralError;
10391
10501
  /**
10392
10502
  * Not Found
10393
10503
  */
10394
- 404: unknown;
10504
+ 404: GeneralError;
10395
10505
  /**
10396
10506
  * Internal Server Error
10397
10507
  */
10398
- 500: unknown;
10508
+ 500: GeneralError;
10399
10509
  };
10510
+ export type GetDatabaseThrottlerError = GetDatabaseThrottlerErrors[keyof GetDatabaseThrottlerErrors];
10400
10511
  export type GetDatabaseThrottlerResponses = {
10401
10512
  /**
10402
10513
  * Database throttler configurations
@@ -10432,20 +10543,21 @@ export type UpdateDatabaseThrottlerErrors = {
10432
10543
  /**
10433
10544
  * Unauthorized
10434
10545
  */
10435
- 401: unknown;
10546
+ 401: GeneralError;
10436
10547
  /**
10437
10548
  * Forbidden
10438
10549
  */
10439
- 403: unknown;
10550
+ 403: GeneralError;
10440
10551
  /**
10441
10552
  * Not Found
10442
10553
  */
10443
- 404: unknown;
10554
+ 404: GeneralError;
10444
10555
  /**
10445
10556
  * Internal Server Error
10446
10557
  */
10447
- 500: unknown;
10558
+ 500: GeneralError;
10448
10559
  };
10560
+ export type UpdateDatabaseThrottlerError = UpdateDatabaseThrottlerErrors[keyof UpdateDatabaseThrottlerErrors];
10449
10561
  export type UpdateDatabaseThrottlerResponses = {
10450
10562
  /**
10451
10563
  * Database throttler configurations
@@ -10481,20 +10593,21 @@ export type ListWebhooksErrors = {
10481
10593
  /**
10482
10594
  * Unauthorized
10483
10595
  */
10484
- 401: unknown;
10596
+ 401: GeneralError;
10485
10597
  /**
10486
10598
  * Forbidden
10487
10599
  */
10488
- 403: unknown;
10600
+ 403: GeneralError;
10489
10601
  /**
10490
10602
  * Not Found
10491
10603
  */
10492
- 404: unknown;
10604
+ 404: GeneralError;
10493
10605
  /**
10494
10606
  * Internal Server Error
10495
10607
  */
10496
- 500: unknown;
10608
+ 500: GeneralError;
10497
10609
  };
10610
+ export type ListWebhooksError = ListWebhooksErrors[keyof ListWebhooksErrors];
10498
10611
  export type ListWebhooksResponses = {
10499
10612
  /**
10500
10613
  * Returns a list of webhooks for a database
@@ -10534,20 +10647,21 @@ export type CreateWebhookErrors = {
10534
10647
  /**
10535
10648
  * Unauthorized
10536
10649
  */
10537
- 401: unknown;
10650
+ 401: GeneralError;
10538
10651
  /**
10539
10652
  * Forbidden
10540
10653
  */
10541
- 403: unknown;
10654
+ 403: GeneralError;
10542
10655
  /**
10543
10656
  * Not Found
10544
10657
  */
10545
- 404: unknown;
10658
+ 404: GeneralError;
10546
10659
  /**
10547
10660
  * Internal Server Error
10548
10661
  */
10549
- 500: unknown;
10662
+ 500: GeneralError;
10550
10663
  };
10664
+ export type CreateWebhookError = CreateWebhookErrors[keyof CreateWebhookErrors];
10551
10665
  export type CreateWebhookResponses = {
10552
10666
  /**
10553
10667
  * Returns the created webhook
@@ -10578,20 +10692,21 @@ export type DeleteWebhookErrors = {
10578
10692
  /**
10579
10693
  * Unauthorized
10580
10694
  */
10581
- 401: unknown;
10695
+ 401: GeneralError;
10582
10696
  /**
10583
10697
  * Forbidden
10584
10698
  */
10585
- 403: unknown;
10699
+ 403: GeneralError;
10586
10700
  /**
10587
10701
  * Not Found
10588
10702
  */
10589
- 404: unknown;
10703
+ 404: GeneralError;
10590
10704
  /**
10591
10705
  * Internal Server Error
10592
10706
  */
10593
- 500: unknown;
10707
+ 500: GeneralError;
10594
10708
  };
10709
+ export type DeleteWebhookError = DeleteWebhookErrors[keyof DeleteWebhookErrors];
10595
10710
  export type DeleteWebhookResponses = {
10596
10711
  /**
10597
10712
  * Webhook successfully deleted
@@ -10621,20 +10736,21 @@ export type GetWebhookErrors = {
10621
10736
  /**
10622
10737
  * Unauthorized
10623
10738
  */
10624
- 401: unknown;
10739
+ 401: GeneralError;
10625
10740
  /**
10626
10741
  * Forbidden
10627
10742
  */
10628
- 403: unknown;
10743
+ 403: GeneralError;
10629
10744
  /**
10630
10745
  * Not Found
10631
10746
  */
10632
- 404: unknown;
10747
+ 404: GeneralError;
10633
10748
  /**
10634
10749
  * Internal Server Error
10635
10750
  */
10636
- 500: unknown;
10751
+ 500: GeneralError;
10637
10752
  };
10753
+ export type GetWebhookError = GetWebhookErrors[keyof GetWebhookErrors];
10638
10754
  export type GetWebhookResponses = {
10639
10755
  /**
10640
10756
  * Returns the webhook
@@ -10678,20 +10794,21 @@ export type UpdateWebhookErrors = {
10678
10794
  /**
10679
10795
  * Unauthorized
10680
10796
  */
10681
- 401: unknown;
10797
+ 401: GeneralError;
10682
10798
  /**
10683
10799
  * Forbidden
10684
10800
  */
10685
- 403: unknown;
10801
+ 403: GeneralError;
10686
10802
  /**
10687
10803
  * Not Found
10688
10804
  */
10689
- 404: unknown;
10805
+ 404: GeneralError;
10690
10806
  /**
10691
10807
  * Internal Server Error
10692
10808
  */
10693
- 500: unknown;
10809
+ 500: GeneralError;
10694
10810
  };
10811
+ export type UpdateWebhookError = UpdateWebhookErrors[keyof UpdateWebhookErrors];
10695
10812
  export type UpdateWebhookResponses = {
10696
10813
  /**
10697
10814
  * Returns the updated webhook
@@ -10722,20 +10839,21 @@ export type TestWebhookErrors = {
10722
10839
  /**
10723
10840
  * Unauthorized
10724
10841
  */
10725
- 401: unknown;
10842
+ 401: GeneralError;
10726
10843
  /**
10727
10844
  * Forbidden
10728
10845
  */
10729
- 403: unknown;
10846
+ 403: GeneralError;
10730
10847
  /**
10731
10848
  * Not Found
10732
10849
  */
10733
- 404: unknown;
10850
+ 404: GeneralError;
10734
10851
  /**
10735
10852
  * Internal Server Error
10736
10853
  */
10737
- 500: unknown;
10854
+ 500: GeneralError;
10738
10855
  };
10856
+ export type TestWebhookError = TestWebhookErrors[keyof TestWebhookErrors];
10739
10857
  export type TestWebhookResponses = {
10740
10858
  /**
10741
10859
  * Webhook test event successfully triggered
@@ -10774,20 +10892,21 @@ export type ListWorkflowsErrors = {
10774
10892
  /**
10775
10893
  * Unauthorized
10776
10894
  */
10777
- 401: unknown;
10895
+ 401: GeneralError;
10778
10896
  /**
10779
10897
  * Forbidden
10780
10898
  */
10781
- 403: unknown;
10899
+ 403: GeneralError;
10782
10900
  /**
10783
10901
  * Not Found
10784
10902
  */
10785
- 404: unknown;
10903
+ 404: GeneralError;
10786
10904
  /**
10787
10905
  * Internal Server Error
10788
10906
  */
10789
- 500: unknown;
10907
+ 500: GeneralError;
10790
10908
  };
10909
+ export type ListWorkflowsError = ListWorkflowsErrors[keyof ListWorkflowsErrors];
10791
10910
  export type ListWorkflowsResponses = {
10792
10911
  /**
10793
10912
  * Returns workflows
@@ -10843,20 +10962,21 @@ export type CreateWorkflowErrors = {
10843
10962
  /**
10844
10963
  * Unauthorized
10845
10964
  */
10846
- 401: unknown;
10965
+ 401: GeneralError;
10847
10966
  /**
10848
10967
  * Forbidden
10849
10968
  */
10850
- 403: unknown;
10969
+ 403: GeneralError;
10851
10970
  /**
10852
10971
  * Not Found
10853
10972
  */
10854
- 404: unknown;
10973
+ 404: GeneralError;
10855
10974
  /**
10856
10975
  * Internal Server Error
10857
10976
  */
10858
- 500: unknown;
10977
+ 500: GeneralError;
10859
10978
  };
10979
+ export type CreateWorkflowError = CreateWorkflowErrors[keyof CreateWorkflowErrors];
10860
10980
  export type CreateWorkflowResponses = {
10861
10981
  /**
10862
10982
  * Returns the workflow
@@ -10887,20 +11007,21 @@ export type WorkflowCancelErrors = {
10887
11007
  /**
10888
11008
  * Unauthorized
10889
11009
  */
10890
- 401: unknown;
11010
+ 401: GeneralError;
10891
11011
  /**
10892
11012
  * Forbidden
10893
11013
  */
10894
- 403: unknown;
11014
+ 403: GeneralError;
10895
11015
  /**
10896
11016
  * Not Found
10897
11017
  */
10898
- 404: unknown;
11018
+ 404: GeneralError;
10899
11019
  /**
10900
11020
  * Internal Server Error
10901
11021
  */
10902
- 500: unknown;
11022
+ 500: GeneralError;
10903
11023
  };
11024
+ export type WorkflowCancelError = WorkflowCancelErrors[keyof WorkflowCancelErrors];
10904
11025
  export type WorkflowCancelResponses = {
10905
11026
  /**
10906
11027
  * Returns a workflow
@@ -10931,20 +11052,21 @@ export type GetWorkflowErrors = {
10931
11052
  /**
10932
11053
  * Unauthorized
10933
11054
  */
10934
- 401: unknown;
11055
+ 401: GeneralError;
10935
11056
  /**
10936
11057
  * Forbidden
10937
11058
  */
10938
- 403: unknown;
11059
+ 403: GeneralError;
10939
11060
  /**
10940
11061
  * Not Found
10941
11062
  */
10942
- 404: unknown;
11063
+ 404: GeneralError;
10943
11064
  /**
10944
11065
  * Internal Server Error
10945
11066
  */
10946
- 500: unknown;
11067
+ 500: GeneralError;
10947
11068
  };
11069
+ export type GetWorkflowError = GetWorkflowErrors[keyof GetWorkflowErrors];
10948
11070
  export type GetWorkflowResponses = {
10949
11071
  /**
10950
11072
  * Returns a workflow
@@ -10975,20 +11097,21 @@ export type WorkflowCompleteErrors = {
10975
11097
  /**
10976
11098
  * Unauthorized
10977
11099
  */
10978
- 401: unknown;
11100
+ 401: GeneralError;
10979
11101
  /**
10980
11102
  * Forbidden
10981
11103
  */
10982
- 403: unknown;
11104
+ 403: GeneralError;
10983
11105
  /**
10984
11106
  * Not Found
10985
11107
  */
10986
- 404: unknown;
11108
+ 404: GeneralError;
10987
11109
  /**
10988
11110
  * Internal Server Error
10989
11111
  */
10990
- 500: unknown;
11112
+ 500: GeneralError;
10991
11113
  };
11114
+ export type WorkflowCompleteError = WorkflowCompleteErrors[keyof WorkflowCompleteErrors];
10992
11115
  export type WorkflowCompleteResponses = {
10993
11116
  /**
10994
11117
  * Returns a workflow
@@ -11019,20 +11142,21 @@ export type WorkflowCutoverErrors = {
11019
11142
  /**
11020
11143
  * Unauthorized
11021
11144
  */
11022
- 401: unknown;
11145
+ 401: GeneralError;
11023
11146
  /**
11024
11147
  * Forbidden
11025
11148
  */
11026
- 403: unknown;
11149
+ 403: GeneralError;
11027
11150
  /**
11028
11151
  * Not Found
11029
11152
  */
11030
- 404: unknown;
11153
+ 404: GeneralError;
11031
11154
  /**
11032
11155
  * Internal Server Error
11033
11156
  */
11034
- 500: unknown;
11157
+ 500: GeneralError;
11035
11158
  };
11159
+ export type WorkflowCutoverError = WorkflowCutoverErrors[keyof WorkflowCutoverErrors];
11036
11160
  export type WorkflowCutoverResponses = {
11037
11161
  /**
11038
11162
  * Returns a workflow
@@ -11063,20 +11187,21 @@ export type WorkflowRetryErrors = {
11063
11187
  /**
11064
11188
  * Unauthorized
11065
11189
  */
11066
- 401: unknown;
11190
+ 401: GeneralError;
11067
11191
  /**
11068
11192
  * Forbidden
11069
11193
  */
11070
- 403: unknown;
11194
+ 403: GeneralError;
11071
11195
  /**
11072
11196
  * Not Found
11073
11197
  */
11074
- 404: unknown;
11198
+ 404: GeneralError;
11075
11199
  /**
11076
11200
  * Internal Server Error
11077
11201
  */
11078
- 500: unknown;
11202
+ 500: GeneralError;
11079
11203
  };
11204
+ export type WorkflowRetryError = WorkflowRetryErrors[keyof WorkflowRetryErrors];
11080
11205
  export type WorkflowRetryResponses = {
11081
11206
  /**
11082
11207
  * Returns a workflow
@@ -11107,20 +11232,21 @@ export type WorkflowReverseCutoverErrors = {
11107
11232
  /**
11108
11233
  * Unauthorized
11109
11234
  */
11110
- 401: unknown;
11235
+ 401: GeneralError;
11111
11236
  /**
11112
11237
  * Forbidden
11113
11238
  */
11114
- 403: unknown;
11239
+ 403: GeneralError;
11115
11240
  /**
11116
11241
  * Not Found
11117
11242
  */
11118
- 404: unknown;
11243
+ 404: GeneralError;
11119
11244
  /**
11120
11245
  * Internal Server Error
11121
11246
  */
11122
- 500: unknown;
11247
+ 500: GeneralError;
11123
11248
  };
11249
+ export type WorkflowReverseCutoverError = WorkflowReverseCutoverErrors[keyof WorkflowReverseCutoverErrors];
11124
11250
  export type WorkflowReverseCutoverResponses = {
11125
11251
  /**
11126
11252
  * Returns a workflow
@@ -11151,20 +11277,21 @@ export type WorkflowReverseTrafficErrors = {
11151
11277
  /**
11152
11278
  * Unauthorized
11153
11279
  */
11154
- 401: unknown;
11280
+ 401: GeneralError;
11155
11281
  /**
11156
11282
  * Forbidden
11157
11283
  */
11158
- 403: unknown;
11284
+ 403: GeneralError;
11159
11285
  /**
11160
11286
  * Not Found
11161
11287
  */
11162
- 404: unknown;
11288
+ 404: GeneralError;
11163
11289
  /**
11164
11290
  * Internal Server Error
11165
11291
  */
11166
- 500: unknown;
11292
+ 500: GeneralError;
11167
11293
  };
11294
+ export type WorkflowReverseTrafficError = WorkflowReverseTrafficErrors[keyof WorkflowReverseTrafficErrors];
11168
11295
  export type WorkflowReverseTrafficResponses = {
11169
11296
  /**
11170
11297
  * Returns a workflow
@@ -11195,20 +11322,21 @@ export type WorkflowSwitchPrimariesErrors = {
11195
11322
  /**
11196
11323
  * Unauthorized
11197
11324
  */
11198
- 401: unknown;
11325
+ 401: GeneralError;
11199
11326
  /**
11200
11327
  * Forbidden
11201
11328
  */
11202
- 403: unknown;
11329
+ 403: GeneralError;
11203
11330
  /**
11204
11331
  * Not Found
11205
11332
  */
11206
- 404: unknown;
11333
+ 404: GeneralError;
11207
11334
  /**
11208
11335
  * Internal Server Error
11209
11336
  */
11210
- 500: unknown;
11337
+ 500: GeneralError;
11211
11338
  };
11339
+ export type WorkflowSwitchPrimariesError = WorkflowSwitchPrimariesErrors[keyof WorkflowSwitchPrimariesErrors];
11212
11340
  export type WorkflowSwitchPrimariesResponses = {
11213
11341
  /**
11214
11342
  * Returns a workflow
@@ -11239,20 +11367,21 @@ export type WorkflowSwitchReplicasErrors = {
11239
11367
  /**
11240
11368
  * Unauthorized
11241
11369
  */
11242
- 401: unknown;
11370
+ 401: GeneralError;
11243
11371
  /**
11244
11372
  * Forbidden
11245
11373
  */
11246
- 403: unknown;
11374
+ 403: GeneralError;
11247
11375
  /**
11248
11376
  * Not Found
11249
11377
  */
11250
- 404: unknown;
11378
+ 404: GeneralError;
11251
11379
  /**
11252
11380
  * Internal Server Error
11253
11381
  */
11254
- 500: unknown;
11382
+ 500: GeneralError;
11255
11383
  };
11384
+ export type WorkflowSwitchReplicasError = WorkflowSwitchReplicasErrors[keyof WorkflowSwitchReplicasErrors];
11256
11385
  export type WorkflowSwitchReplicasResponses = {
11257
11386
  /**
11258
11387
  * Returns a workflow
@@ -11283,20 +11412,21 @@ export type VerifyWorkflowErrors = {
11283
11412
  /**
11284
11413
  * Unauthorized
11285
11414
  */
11286
- 401: unknown;
11415
+ 401: GeneralError;
11287
11416
  /**
11288
11417
  * Forbidden
11289
11418
  */
11290
- 403: unknown;
11419
+ 403: GeneralError;
11291
11420
  /**
11292
11421
  * Not Found
11293
11422
  */
11294
- 404: unknown;
11423
+ 404: GeneralError;
11295
11424
  /**
11296
11425
  * Internal Server Error
11297
11426
  */
11298
- 500: unknown;
11427
+ 500: GeneralError;
11299
11428
  };
11429
+ export type VerifyWorkflowError = VerifyWorkflowErrors[keyof VerifyWorkflowErrors];
11300
11430
  export type VerifyWorkflowResponses = {
11301
11431
  /**
11302
11432
  * Returns a workflow
@@ -11323,20 +11453,21 @@ export type DeleteDatabaseErrors = {
11323
11453
  /**
11324
11454
  * Unauthorized
11325
11455
  */
11326
- 401: unknown;
11456
+ 401: GeneralError;
11327
11457
  /**
11328
11458
  * Forbidden
11329
11459
  */
11330
- 403: unknown;
11460
+ 403: GeneralError;
11331
11461
  /**
11332
11462
  * Not Found
11333
11463
  */
11334
- 404: unknown;
11464
+ 404: GeneralError;
11335
11465
  /**
11336
11466
  * Internal Server Error
11337
11467
  */
11338
- 500: unknown;
11468
+ 500: GeneralError;
11339
11469
  };
11470
+ export type DeleteDatabaseError = DeleteDatabaseErrors[keyof DeleteDatabaseErrors];
11340
11471
  export type DeleteDatabaseResponses = {
11341
11472
  /**
11342
11473
  * Deletes a database
@@ -11362,20 +11493,21 @@ export type GetDatabaseErrors = {
11362
11493
  /**
11363
11494
  * Unauthorized
11364
11495
  */
11365
- 401: unknown;
11496
+ 401: GeneralError;
11366
11497
  /**
11367
11498
  * Forbidden
11368
11499
  */
11369
- 403: unknown;
11500
+ 403: GeneralError;
11370
11501
  /**
11371
11502
  * Not Found
11372
11503
  */
11373
- 404: unknown;
11504
+ 404: GeneralError;
11374
11505
  /**
11375
11506
  * Internal Server Error
11376
11507
  */
11377
- 500: unknown;
11508
+ 500: GeneralError;
11378
11509
  };
11510
+ export type GetDatabaseError = GetDatabaseErrors[keyof GetDatabaseErrors];
11379
11511
  export type GetDatabaseResponses = {
11380
11512
  /**
11381
11513
  * Returns a database
@@ -11447,20 +11579,21 @@ export type UpdateDatabaseSettingsErrors = {
11447
11579
  /**
11448
11580
  * Unauthorized
11449
11581
  */
11450
- 401: unknown;
11582
+ 401: GeneralError;
11451
11583
  /**
11452
11584
  * Forbidden
11453
11585
  */
11454
- 403: unknown;
11586
+ 403: GeneralError;
11455
11587
  /**
11456
11588
  * Not Found
11457
11589
  */
11458
- 404: unknown;
11590
+ 404: GeneralError;
11459
11591
  /**
11460
11592
  * Internal Server Error
11461
11593
  */
11462
- 500: unknown;
11594
+ 500: GeneralError;
11463
11595
  };
11596
+ export type UpdateDatabaseSettingsError = UpdateDatabaseSettingsErrors[keyof UpdateDatabaseSettingsErrors];
11464
11597
  export type UpdateDatabaseSettingsResponses = {
11465
11598
  /**
11466
11599
  * Returns the updated database
@@ -11496,20 +11629,21 @@ export type ListReadOnlyRegionsErrors = {
11496
11629
  /**
11497
11630
  * Unauthorized
11498
11631
  */
11499
- 401: unknown;
11632
+ 401: GeneralError;
11500
11633
  /**
11501
11634
  * Forbidden
11502
11635
  */
11503
- 403: unknown;
11636
+ 403: GeneralError;
11504
11637
  /**
11505
11638
  * Not Found
11506
11639
  */
11507
- 404: unknown;
11640
+ 404: GeneralError;
11508
11641
  /**
11509
11642
  * Internal Server Error
11510
11643
  */
11511
- 500: unknown;
11644
+ 500: GeneralError;
11512
11645
  };
11646
+ export type ListReadOnlyRegionsError = ListReadOnlyRegionsErrors[keyof ListReadOnlyRegionsErrors];
11513
11647
  export type ListReadOnlyRegionsResponses = {
11514
11648
  /**
11515
11649
  * List of the database's read-only regions
@@ -11545,20 +11679,21 @@ export type ListDatabaseRegionsErrors = {
11545
11679
  /**
11546
11680
  * Unauthorized
11547
11681
  */
11548
- 401: unknown;
11682
+ 401: GeneralError;
11549
11683
  /**
11550
11684
  * Forbidden
11551
11685
  */
11552
- 403: unknown;
11686
+ 403: GeneralError;
11553
11687
  /**
11554
11688
  * Not Found
11555
11689
  */
11556
- 404: unknown;
11690
+ 404: GeneralError;
11557
11691
  /**
11558
11692
  * Internal Server Error
11559
11693
  */
11560
- 500: unknown;
11694
+ 500: GeneralError;
11561
11695
  };
11696
+ export type ListDatabaseRegionsError = ListDatabaseRegionsErrors[keyof ListDatabaseRegionsErrors];
11562
11697
  export type ListDatabaseRegionsResponses = {
11563
11698
  /**
11564
11699
  * Returns the available regions for a database
@@ -11590,20 +11725,21 @@ export type ListInvoicesErrors = {
11590
11725
  /**
11591
11726
  * Unauthorized
11592
11727
  */
11593
- 401: unknown;
11728
+ 401: GeneralError;
11594
11729
  /**
11595
11730
  * Forbidden
11596
11731
  */
11597
- 403: unknown;
11732
+ 403: GeneralError;
11598
11733
  /**
11599
11734
  * Not Found
11600
11735
  */
11601
- 404: unknown;
11736
+ 404: GeneralError;
11602
11737
  /**
11603
11738
  * Internal Server Error
11604
11739
  */
11605
- 500: unknown;
11740
+ 500: GeneralError;
11606
11741
  };
11742
+ export type ListInvoicesError = ListInvoicesErrors[keyof ListInvoicesErrors];
11607
11743
  export type ListInvoicesResponses = {
11608
11744
  /**
11609
11745
  * Gets the invoices for an organization
@@ -11630,20 +11766,21 @@ export type GetInvoiceErrors = {
11630
11766
  /**
11631
11767
  * Unauthorized
11632
11768
  */
11633
- 401: unknown;
11769
+ 401: GeneralError;
11634
11770
  /**
11635
11771
  * Forbidden
11636
11772
  */
11637
- 403: unknown;
11773
+ 403: GeneralError;
11638
11774
  /**
11639
11775
  * Not Found
11640
11776
  */
11641
- 404: unknown;
11777
+ 404: GeneralError;
11642
11778
  /**
11643
11779
  * Internal Server Error
11644
11780
  */
11645
- 500: unknown;
11781
+ 500: GeneralError;
11646
11782
  };
11783
+ export type GetInvoiceError = GetInvoiceErrors[keyof GetInvoiceErrors];
11647
11784
  export type GetInvoiceResponses = {
11648
11785
  /**
11649
11786
  * Returns an invoice
@@ -11679,20 +11816,21 @@ export type GetInvoiceLineItemsErrors = {
11679
11816
  /**
11680
11817
  * Unauthorized
11681
11818
  */
11682
- 401: unknown;
11819
+ 401: GeneralError;
11683
11820
  /**
11684
11821
  * Forbidden
11685
11822
  */
11686
- 403: unknown;
11823
+ 403: GeneralError;
11687
11824
  /**
11688
11825
  * Not Found
11689
11826
  */
11690
- 404: unknown;
11827
+ 404: GeneralError;
11691
11828
  /**
11692
11829
  * Internal Server Error
11693
11830
  */
11694
- 500: unknown;
11831
+ 500: GeneralError;
11695
11832
  };
11833
+ export type GetInvoiceLineItemsError = GetInvoiceLineItemsErrors[keyof GetInvoiceLineItemsErrors];
11696
11834
  export type GetInvoiceLineItemsResponses = {
11697
11835
  /**
11698
11836
  * Gets the line items for an invoice
@@ -11724,20 +11862,21 @@ export type ListOrganizationMembersErrors = {
11724
11862
  /**
11725
11863
  * Unauthorized
11726
11864
  */
11727
- 401: unknown;
11865
+ 401: GeneralError;
11728
11866
  /**
11729
11867
  * Forbidden
11730
11868
  */
11731
- 403: unknown;
11869
+ 403: GeneralError;
11732
11870
  /**
11733
11871
  * Not Found
11734
11872
  */
11735
- 404: unknown;
11873
+ 404: GeneralError;
11736
11874
  /**
11737
11875
  * Internal Server Error
11738
11876
  */
11739
- 500: unknown;
11877
+ 500: GeneralError;
11740
11878
  };
11879
+ export type ListOrganizationMembersError = ListOrganizationMembersErrors[keyof ListOrganizationMembersErrors];
11741
11880
  export type ListOrganizationMembersResponses = {
11742
11881
  /**
11743
11882
  * Returns members of the organization
@@ -11769,20 +11908,21 @@ export type ListOauthApplicationsErrors = {
11769
11908
  /**
11770
11909
  * Unauthorized
11771
11910
  */
11772
- 401: unknown;
11911
+ 401: GeneralError;
11773
11912
  /**
11774
11913
  * Forbidden
11775
11914
  */
11776
- 403: unknown;
11915
+ 403: GeneralError;
11777
11916
  /**
11778
11917
  * Not Found
11779
11918
  */
11780
- 404: unknown;
11919
+ 404: GeneralError;
11781
11920
  /**
11782
11921
  * Internal Server Error
11783
11922
  */
11784
- 500: unknown;
11923
+ 500: GeneralError;
11785
11924
  };
11925
+ export type ListOauthApplicationsError = ListOauthApplicationsErrors[keyof ListOauthApplicationsErrors];
11786
11926
  export type ListOauthApplicationsResponses = {
11787
11927
  /**
11788
11928
  * Returns a list of the organization's oauth applications
@@ -11809,20 +11949,21 @@ export type GetOauthApplicationErrors = {
11809
11949
  /**
11810
11950
  * Unauthorized
11811
11951
  */
11812
- 401: unknown;
11952
+ 401: GeneralError;
11813
11953
  /**
11814
11954
  * Forbidden
11815
11955
  */
11816
- 403: unknown;
11956
+ 403: GeneralError;
11817
11957
  /**
11818
11958
  * Not Found
11819
11959
  */
11820
- 404: unknown;
11960
+ 404: GeneralError;
11821
11961
  /**
11822
11962
  * Internal Server Error
11823
11963
  */
11824
- 500: unknown;
11964
+ 500: GeneralError;
11825
11965
  };
11966
+ export type GetOauthApplicationError = GetOauthApplicationErrors[keyof GetOauthApplicationErrors];
11826
11967
  export type GetOauthApplicationResponses = {
11827
11968
  /**
11828
11969
  * Returns information abuot an OAuth application
@@ -11858,20 +11999,21 @@ export type ListOauthTokensErrors = {
11858
11999
  /**
11859
12000
  * Unauthorized
11860
12001
  */
11861
- 401: unknown;
12002
+ 401: GeneralError;
11862
12003
  /**
11863
12004
  * Forbidden
11864
12005
  */
11865
- 403: unknown;
12006
+ 403: GeneralError;
11866
12007
  /**
11867
12008
  * Not Found
11868
12009
  */
11869
- 404: unknown;
12010
+ 404: GeneralError;
11870
12011
  /**
11871
12012
  * Internal Server Error
11872
12013
  */
11873
- 500: unknown;
12014
+ 500: GeneralError;
11874
12015
  };
12016
+ export type ListOauthTokensError = ListOauthTokensErrors[keyof ListOauthTokensErrors];
11875
12017
  export type ListOauthTokensResponses = {
11876
12018
  /**
11877
12019
  * Returns the OAuth tokens issued on behalf of the OAuth application
@@ -11902,20 +12044,21 @@ export type DeleteOauthTokenErrors = {
11902
12044
  /**
11903
12045
  * Unauthorized
11904
12046
  */
11905
- 401: unknown;
12047
+ 401: GeneralError;
11906
12048
  /**
11907
12049
  * Forbidden
11908
12050
  */
11909
- 403: unknown;
12051
+ 403: GeneralError;
11910
12052
  /**
11911
12053
  * Not Found
11912
12054
  */
11913
- 404: unknown;
12055
+ 404: GeneralError;
11914
12056
  /**
11915
12057
  * Internal Server Error
11916
12058
  */
11917
- 500: unknown;
12059
+ 500: GeneralError;
11918
12060
  };
12061
+ export type DeleteOauthTokenError = DeleteOauthTokenErrors[keyof DeleteOauthTokenErrors];
11919
12062
  export type DeleteOauthTokenResponses = {
11920
12063
  /**
11921
12064
  * Deletes an OAuth application's OAuth token
@@ -11945,20 +12088,21 @@ export type GetOauthTokenErrors = {
11945
12088
  /**
11946
12089
  * Unauthorized
11947
12090
  */
11948
- 401: unknown;
12091
+ 401: GeneralError;
11949
12092
  /**
11950
12093
  * Forbidden
11951
12094
  */
11952
- 403: unknown;
12095
+ 403: GeneralError;
11953
12096
  /**
11954
12097
  * Not Found
11955
12098
  */
11956
- 404: unknown;
12099
+ 404: GeneralError;
11957
12100
  /**
11958
12101
  * Internal Server Error
11959
12102
  */
11960
- 500: unknown;
12103
+ 500: GeneralError;
11961
12104
  };
12105
+ export type GetOauthTokenError = GetOauthTokenErrors[keyof GetOauthTokenErrors];
11962
12106
  export type GetOauthTokenResponses = {
11963
12107
  /**
11964
12108
  * Returns an OAuth token that was issued on behalf of the OAuth application
@@ -12010,20 +12154,21 @@ export type CreateOauthTokenErrors = {
12010
12154
  /**
12011
12155
  * Forbidden
12012
12156
  */
12013
- 403: unknown;
12157
+ 403: GeneralError;
12014
12158
  /**
12015
12159
  * Not Found
12016
12160
  */
12017
- 404: unknown;
12161
+ 404: GeneralError;
12018
12162
  /**
12019
12163
  * Unprocessable Entity
12020
12164
  */
12021
- 422: unknown;
12165
+ 422: GeneralError;
12022
12166
  /**
12023
12167
  * Internal Server Error
12024
12168
  */
12025
- 500: unknown;
12169
+ 500: GeneralError;
12026
12170
  };
12171
+ export type CreateOauthTokenError = CreateOauthTokenErrors[keyof CreateOauthTokenErrors];
12027
12172
  export type CreateOauthTokenResponses = {
12028
12173
  /**
12029
12174
  * Returns the created OAuth token
@@ -12050,20 +12195,21 @@ export type ListPublicRegionsErrors = {
12050
12195
  /**
12051
12196
  * Unauthorized
12052
12197
  */
12053
- 401: unknown;
12198
+ 401: GeneralError;
12054
12199
  /**
12055
12200
  * Forbidden
12056
12201
  */
12057
- 403: unknown;
12202
+ 403: GeneralError;
12058
12203
  /**
12059
12204
  * Not Found
12060
12205
  */
12061
- 404: unknown;
12206
+ 404: GeneralError;
12062
12207
  /**
12063
12208
  * Internal Server Error
12064
12209
  */
12065
- 500: unknown;
12210
+ 500: GeneralError;
12066
12211
  };
12212
+ export type ListPublicRegionsError = ListPublicRegionsErrors[keyof ListPublicRegionsErrors];
12067
12213
  export type ListPublicRegionsResponses = {
12068
12214
  /**
12069
12215
  * Returns the available public PlanetScale regions
@@ -12081,20 +12227,21 @@ export type GetCurrentUserErrors = {
12081
12227
  /**
12082
12228
  * Unauthorized
12083
12229
  */
12084
- 401: unknown;
12230
+ 401: GeneralError;
12085
12231
  /**
12086
12232
  * Forbidden
12087
12233
  */
12088
- 403: unknown;
12234
+ 403: GeneralError;
12089
12235
  /**
12090
12236
  * Not Found
12091
12237
  */
12092
- 404: unknown;
12238
+ 404: GeneralError;
12093
12239
  /**
12094
12240
  * Internal Server Error
12095
12241
  */
12096
- 500: unknown;
12242
+ 500: GeneralError;
12097
12243
  };
12244
+ export type GetCurrentUserError = GetCurrentUserErrors[keyof GetCurrentUserErrors];
12098
12245
  export type GetCurrentUserResponses = {
12099
12246
  /**
12100
12247
  * Returns the user associated with this service token
@@ -12129,20 +12276,21 @@ export type ListKeyspaceResizesErrors = {
12129
12276
  /**
12130
12277
  * Unauthorized
12131
12278
  */
12132
- 401: unknown;
12279
+ 401: GeneralError;
12133
12280
  /**
12134
12281
  * Forbidden
12135
12282
  */
12136
- 403: unknown;
12283
+ 403: GeneralError;
12137
12284
  /**
12138
12285
  * Not Found
12139
12286
  */
12140
- 404: unknown;
12287
+ 404: GeneralError;
12141
12288
  /**
12142
12289
  * Internal Server Error
12143
12290
  */
12144
- 500: unknown;
12291
+ 500: GeneralError;
12145
12292
  };
12293
+ export type ListKeyspaceResizesError = ListKeyspaceResizesErrors[keyof ListKeyspaceResizesErrors];
12146
12294
  export type ListKeyspaceResizesResponses = {
12147
12295
  /**
12148
12296
  * List the keyspace resize requests
@@ -12150,7 +12298,4 @@ export type ListKeyspaceResizesResponses = {
12150
12298
  200: PaginatedKeyspaceResizeRequest;
12151
12299
  };
12152
12300
  export type ListKeyspaceResizesResponse = ListKeyspaceResizesResponses[keyof ListKeyspaceResizesResponses];
12153
- export type ClientOptions = {
12154
- baseUrl: "https://api.planetscale.com/v1" | (string & {});
12155
- };
12156
12301
  //# sourceMappingURL=types.gen.d.ts.map