@distilled.cloud/planetscale 0.0.0 → 0.2.0-alpha

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 (790) hide show
  1. package/lib/category.d.ts +13 -0
  2. package/lib/category.d.ts.map +1 -0
  3. package/lib/category.js +13 -0
  4. package/lib/category.js.map +1 -0
  5. package/lib/client.d.ts +17 -0
  6. package/lib/client.d.ts.map +1 -0
  7. package/lib/client.js +49 -0
  8. package/lib/client.js.map +1 -0
  9. package/lib/credentials.d.ts +15 -0
  10. package/lib/credentials.d.ts.map +1 -0
  11. package/lib/credentials.js +23 -0
  12. package/lib/credentials.js.map +1 -0
  13. package/lib/errors.d.ts +36 -0
  14. package/lib/errors.d.ts.map +1 -0
  15. package/lib/errors.js +28 -0
  16. package/lib/errors.js.map +1 -0
  17. package/lib/index.d.ts +16 -0
  18. package/lib/index.d.ts.map +1 -0
  19. package/lib/index.js +16 -0
  20. package/lib/index.js.map +1 -0
  21. package/lib/operations/addOrganizationTeamMember.d.ts +91 -0
  22. package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -0
  23. package/lib/operations/addOrganizationTeamMember.js +104 -0
  24. package/lib/operations/addOrganizationTeamMember.js.map +1 -0
  25. package/lib/operations/cancelBouncerResizeRequest.d.ts +20 -0
  26. package/lib/operations/cancelBouncerResizeRequest.d.ts.map +1 -0
  27. package/lib/operations/cancelBouncerResizeRequest.js +33 -0
  28. package/lib/operations/cancelBouncerResizeRequest.js.map +1 -0
  29. package/lib/operations/cancelBranchChangeRequest.d.ts +18 -0
  30. package/lib/operations/cancelBranchChangeRequest.d.ts.map +1 -0
  31. package/lib/operations/cancelBranchChangeRequest.js +31 -0
  32. package/lib/operations/cancelBranchChangeRequest.js.map +1 -0
  33. package/lib/operations/cancelDeployRequest.d.ts +148 -0
  34. package/lib/operations/cancelDeployRequest.d.ts.map +1 -0
  35. package/lib/operations/cancelDeployRequest.js +223 -0
  36. package/lib/operations/cancelDeployRequest.js.map +1 -0
  37. package/lib/operations/closeDeployRequest.d.ts +150 -0
  38. package/lib/operations/closeDeployRequest.d.ts.map +1 -0
  39. package/lib/operations/closeDeployRequest.js +225 -0
  40. package/lib/operations/closeDeployRequest.js.map +1 -0
  41. package/lib/operations/completeErroredDeploy.d.ts +148 -0
  42. package/lib/operations/completeErroredDeploy.d.ts.map +1 -0
  43. package/lib/operations/completeErroredDeploy.js +223 -0
  44. package/lib/operations/completeErroredDeploy.js.map +1 -0
  45. package/lib/operations/completeGatedDeployRequest.d.ts +148 -0
  46. package/lib/operations/completeGatedDeployRequest.d.ts.map +1 -0
  47. package/lib/operations/completeGatedDeployRequest.js +223 -0
  48. package/lib/operations/completeGatedDeployRequest.js.map +1 -0
  49. package/lib/operations/completeRevert.d.ts +148 -0
  50. package/lib/operations/completeRevert.d.ts.map +1 -0
  51. package/lib/operations/completeRevert.js +221 -0
  52. package/lib/operations/completeRevert.js.map +1 -0
  53. package/lib/operations/createBackup.d.ts +85 -0
  54. package/lib/operations/createBackup.d.ts.map +1 -0
  55. package/lib/operations/createBackup.js +103 -0
  56. package/lib/operations/createBackup.js.map +1 -0
  57. package/lib/operations/createBouncer.d.ts +79 -0
  58. package/lib/operations/createBouncer.d.ts.map +1 -0
  59. package/lib/operations/createBouncer.js +96 -0
  60. package/lib/operations/createBouncer.js.map +1 -0
  61. package/lib/operations/createBranch.d.ts +86 -0
  62. package/lib/operations/createBranch.d.ts.map +1 -0
  63. package/lib/operations/createBranch.js +103 -0
  64. package/lib/operations/createBranch.js.map +1 -0
  65. package/lib/operations/createDatabase.d.ts +87 -0
  66. package/lib/operations/createDatabase.d.ts.map +1 -0
  67. package/lib/operations/createDatabase.js +103 -0
  68. package/lib/operations/createDatabase.js.map +1 -0
  69. package/lib/operations/createDatabasePostgresCidr.d.ts +35 -0
  70. package/lib/operations/createDatabasePostgresCidr.d.ts.map +1 -0
  71. package/lib/operations/createDatabasePostgresCidr.js +48 -0
  72. package/lib/operations/createDatabasePostgresCidr.js.map +1 -0
  73. package/lib/operations/createDeployRequest.d.ts +156 -0
  74. package/lib/operations/createDeployRequest.d.ts.map +1 -0
  75. package/lib/operations/createDeployRequest.js +231 -0
  76. package/lib/operations/createDeployRequest.js.map +1 -0
  77. package/lib/operations/createKeyspace.d.ts +56 -0
  78. package/lib/operations/createKeyspace.d.ts.map +1 -0
  79. package/lib/operations/createKeyspace.js +71 -0
  80. package/lib/operations/createKeyspace.js.map +1 -0
  81. package/lib/operations/createOauthToken.d.ts +107 -0
  82. package/lib/operations/createOauthToken.d.ts.map +1 -0
  83. package/lib/operations/createOauthToken.js +119 -0
  84. package/lib/operations/createOauthToken.js.map +1 -0
  85. package/lib/operations/createOrganizationTeam.d.ts +59 -0
  86. package/lib/operations/createOrganizationTeam.d.ts.map +1 -0
  87. package/lib/operations/createOrganizationTeam.js +69 -0
  88. package/lib/operations/createOrganizationTeam.js.map +1 -0
  89. package/lib/operations/createPassword.d.ts +72 -0
  90. package/lib/operations/createPassword.d.ts.map +1 -0
  91. package/lib/operations/createPassword.js +84 -0
  92. package/lib/operations/createPassword.js.map +1 -0
  93. package/lib/operations/createQueryPatternsReport.d.ts +30 -0
  94. package/lib/operations/createQueryPatternsReport.d.ts.map +1 -0
  95. package/lib/operations/createQueryPatternsReport.js +43 -0
  96. package/lib/operations/createQueryPatternsReport.js.map +1 -0
  97. package/lib/operations/createRole.d.ts +64 -0
  98. package/lib/operations/createRole.d.ts.map +1 -0
  99. package/lib/operations/createRole.js +103 -0
  100. package/lib/operations/createRole.js.map +1 -0
  101. package/lib/operations/createServiceToken.d.ts +97 -0
  102. package/lib/operations/createServiceToken.d.ts.map +1 -0
  103. package/lib/operations/createServiceToken.js +111 -0
  104. package/lib/operations/createServiceToken.js.map +1 -0
  105. package/lib/operations/createWebhook.d.ts +33 -0
  106. package/lib/operations/createWebhook.d.ts.map +1 -0
  107. package/lib/operations/createWebhook.js +64 -0
  108. package/lib/operations/createWebhook.js.map +1 -0
  109. package/lib/operations/createWorkflow.d.ts +136 -0
  110. package/lib/operations/createWorkflow.d.ts.map +1 -0
  111. package/lib/operations/createWorkflow.js +167 -0
  112. package/lib/operations/createWorkflow.js.map +1 -0
  113. package/lib/operations/deleteBackup.d.ts +20 -0
  114. package/lib/operations/deleteBackup.d.ts.map +1 -0
  115. package/lib/operations/deleteBackup.js +31 -0
  116. package/lib/operations/deleteBackup.js.map +1 -0
  117. package/lib/operations/deleteBouncer.d.ts +20 -0
  118. package/lib/operations/deleteBouncer.d.ts.map +1 -0
  119. package/lib/operations/deleteBouncer.js +31 -0
  120. package/lib/operations/deleteBouncer.js.map +1 -0
  121. package/lib/operations/deleteBranch.d.ts +18 -0
  122. package/lib/operations/deleteBranch.d.ts.map +1 -0
  123. package/lib/operations/deleteBranch.js +29 -0
  124. package/lib/operations/deleteBranch.js.map +1 -0
  125. package/lib/operations/deleteDatabase.d.ts +16 -0
  126. package/lib/operations/deleteDatabase.d.ts.map +1 -0
  127. package/lib/operations/deleteDatabase.js +27 -0
  128. package/lib/operations/deleteDatabase.js.map +1 -0
  129. package/lib/operations/deleteDatabasePostgresCidr.d.ts +18 -0
  130. package/lib/operations/deleteDatabasePostgresCidr.d.ts.map +1 -0
  131. package/lib/operations/deleteDatabasePostgresCidr.js +31 -0
  132. package/lib/operations/deleteDatabasePostgresCidr.js.map +1 -0
  133. package/lib/operations/deleteKeyspace.d.ts +20 -0
  134. package/lib/operations/deleteKeyspace.d.ts.map +1 -0
  135. package/lib/operations/deleteKeyspace.js +31 -0
  136. package/lib/operations/deleteKeyspace.js.map +1 -0
  137. package/lib/operations/deleteOauthToken.d.ts +18 -0
  138. package/lib/operations/deleteOauthToken.d.ts.map +1 -0
  139. package/lib/operations/deleteOauthToken.js +29 -0
  140. package/lib/operations/deleteOauthToken.js.map +1 -0
  141. package/lib/operations/deleteOrganizationTeam.d.ts +16 -0
  142. package/lib/operations/deleteOrganizationTeam.d.ts.map +1 -0
  143. package/lib/operations/deleteOrganizationTeam.js +29 -0
  144. package/lib/operations/deleteOrganizationTeam.js.map +1 -0
  145. package/lib/operations/deletePassword.d.ts +20 -0
  146. package/lib/operations/deletePassword.d.ts.map +1 -0
  147. package/lib/operations/deletePassword.js +31 -0
  148. package/lib/operations/deletePassword.js.map +1 -0
  149. package/lib/operations/deleteQueryPatternsReport.d.ts +20 -0
  150. package/lib/operations/deleteQueryPatternsReport.d.ts.map +1 -0
  151. package/lib/operations/deleteQueryPatternsReport.js +33 -0
  152. package/lib/operations/deleteQueryPatternsReport.js.map +1 -0
  153. package/lib/operations/deleteRole.d.ts +22 -0
  154. package/lib/operations/deleteRole.d.ts.map +1 -0
  155. package/lib/operations/deleteRole.js +33 -0
  156. package/lib/operations/deleteRole.js.map +1 -0
  157. package/lib/operations/deleteServiceToken.d.ts +18 -0
  158. package/lib/operations/deleteServiceToken.d.ts.map +1 -0
  159. package/lib/operations/deleteServiceToken.js +30 -0
  160. package/lib/operations/deleteServiceToken.js.map +1 -0
  161. package/lib/operations/deleteWebhook.d.ts +18 -0
  162. package/lib/operations/deleteWebhook.d.ts.map +1 -0
  163. package/lib/operations/deleteWebhook.js +29 -0
  164. package/lib/operations/deleteWebhook.js.map +1 -0
  165. package/lib/operations/demoteBranch.d.ts +74 -0
  166. package/lib/operations/demoteBranch.d.ts.map +1 -0
  167. package/lib/operations/demoteBranch.js +91 -0
  168. package/lib/operations/demoteBranch.js.map +1 -0
  169. package/lib/operations/disableSafeMigrations.d.ts +72 -0
  170. package/lib/operations/disableSafeMigrations.d.ts.map +1 -0
  171. package/lib/operations/disableSafeMigrations.js +91 -0
  172. package/lib/operations/disableSafeMigrations.js.map +1 -0
  173. package/lib/operations/dismissSchemaRecommendation.d.ts +44 -0
  174. package/lib/operations/dismissSchemaRecommendation.d.ts.map +1 -0
  175. package/lib/operations/dismissSchemaRecommendation.js +67 -0
  176. package/lib/operations/dismissSchemaRecommendation.js.map +1 -0
  177. package/lib/operations/enableSafeMigrations.d.ts +72 -0
  178. package/lib/operations/enableSafeMigrations.d.ts.map +1 -0
  179. package/lib/operations/enableSafeMigrations.js +91 -0
  180. package/lib/operations/enableSafeMigrations.js.map +1 -0
  181. package/lib/operations/getBackup.d.ts +79 -0
  182. package/lib/operations/getBackup.d.ts.map +1 -0
  183. package/lib/operations/getBackup.js +97 -0
  184. package/lib/operations/getBackup.js.map +1 -0
  185. package/lib/operations/getBouncer.d.ts +73 -0
  186. package/lib/operations/getBouncer.d.ts.map +1 -0
  187. package/lib/operations/getBouncer.js +90 -0
  188. package/lib/operations/getBouncer.js.map +1 -0
  189. package/lib/operations/getBranch.d.ts +72 -0
  190. package/lib/operations/getBranch.d.ts.map +1 -0
  191. package/lib/operations/getBranch.js +89 -0
  192. package/lib/operations/getBranch.js.map +1 -0
  193. package/lib/operations/getBranchChangeRequest.d.ts +57 -0
  194. package/lib/operations/getBranchChangeRequest.d.ts.map +1 -0
  195. package/lib/operations/getBranchChangeRequest.js +76 -0
  196. package/lib/operations/getBranchChangeRequest.js.map +1 -0
  197. package/lib/operations/getBranchSchema.d.ts +28 -0
  198. package/lib/operations/getBranchSchema.d.ts.map +1 -0
  199. package/lib/operations/getBranchSchema.js +39 -0
  200. package/lib/operations/getBranchSchema.js.map +1 -0
  201. package/lib/operations/getCurrentUser.d.ts +32 -0
  202. package/lib/operations/getCurrentUser.d.ts.map +1 -0
  203. package/lib/operations/getCurrentUser.js +40 -0
  204. package/lib/operations/getCurrentUser.js.map +1 -0
  205. package/lib/operations/getDatabase.d.ts +77 -0
  206. package/lib/operations/getDatabase.d.ts.map +1 -0
  207. package/lib/operations/getDatabase.js +96 -0
  208. package/lib/operations/getDatabase.js.map +1 -0
  209. package/lib/operations/getDatabasePostgresCidr.d.ts +31 -0
  210. package/lib/operations/getDatabasePostgresCidr.d.ts.map +1 -0
  211. package/lib/operations/getDatabasePostgresCidr.js +44 -0
  212. package/lib/operations/getDatabasePostgresCidr.js.map +1 -0
  213. package/lib/operations/getDatabaseThrottler.d.ts +29 -0
  214. package/lib/operations/getDatabaseThrottler.d.ts.map +1 -0
  215. package/lib/operations/getDatabaseThrottler.js +42 -0
  216. package/lib/operations/getDatabaseThrottler.js.map +1 -0
  217. package/lib/operations/getDefaultRole.d.ts +54 -0
  218. package/lib/operations/getDefaultRole.d.ts.map +1 -0
  219. package/lib/operations/getDefaultRole.js +79 -0
  220. package/lib/operations/getDefaultRole.js.map +1 -0
  221. package/lib/operations/getDeployQueue.d.ts +118 -0
  222. package/lib/operations/getDeployQueue.d.ts.map +1 -0
  223. package/lib/operations/getDeployQueue.js +170 -0
  224. package/lib/operations/getDeployQueue.js.map +1 -0
  225. package/lib/operations/getDeployRequest.d.ts +148 -0
  226. package/lib/operations/getDeployRequest.d.ts.map +1 -0
  227. package/lib/operations/getDeployRequest.js +221 -0
  228. package/lib/operations/getDeployRequest.js.map +1 -0
  229. package/lib/operations/getDeployRequestThrottler.d.ts +31 -0
  230. package/lib/operations/getDeployRequestThrottler.d.ts.map +1 -0
  231. package/lib/operations/getDeployRequestThrottler.js +44 -0
  232. package/lib/operations/getDeployRequestThrottler.js.map +1 -0
  233. package/lib/operations/getDeployment.d.ts +113 -0
  234. package/lib/operations/getDeployment.d.ts.map +1 -0
  235. package/lib/operations/getDeployment.js +165 -0
  236. package/lib/operations/getDeployment.js.map +1 -0
  237. package/lib/operations/getInvoice.d.ts +23 -0
  238. package/lib/operations/getInvoice.d.ts.map +1 -0
  239. package/lib/operations/getInvoice.js +34 -0
  240. package/lib/operations/getInvoice.js.map +1 -0
  241. package/lib/operations/getInvoiceLineItems.d.ts +43 -0
  242. package/lib/operations/getInvoiceLineItems.d.ts.map +1 -0
  243. package/lib/operations/getInvoiceLineItems.js +56 -0
  244. package/lib/operations/getInvoiceLineItems.js.map +1 -0
  245. package/lib/operations/getKeyspace.d.ts +50 -0
  246. package/lib/operations/getKeyspace.d.ts.map +1 -0
  247. package/lib/operations/getKeyspace.js +65 -0
  248. package/lib/operations/getKeyspace.js.map +1 -0
  249. package/lib/operations/getKeyspaceRolloutStatus.d.ts +29 -0
  250. package/lib/operations/getKeyspaceRolloutStatus.d.ts.map +1 -0
  251. package/lib/operations/getKeyspaceRolloutStatus.js +42 -0
  252. package/lib/operations/getKeyspaceRolloutStatus.js.map +1 -0
  253. package/lib/operations/getKeyspaceVschema.d.ts +22 -0
  254. package/lib/operations/getKeyspaceVschema.d.ts.map +1 -0
  255. package/lib/operations/getKeyspaceVschema.js +35 -0
  256. package/lib/operations/getKeyspaceVschema.js.map +1 -0
  257. package/lib/operations/getOauthApplication.d.ts +31 -0
  258. package/lib/operations/getOauthApplication.d.ts.map +1 -0
  259. package/lib/operations/getOauthApplication.js +44 -0
  260. package/lib/operations/getOauthApplication.js.map +1 -0
  261. package/lib/operations/getOauthToken.d.ts +95 -0
  262. package/lib/operations/getOauthToken.d.ts.map +1 -0
  263. package/lib/operations/getOauthToken.js +107 -0
  264. package/lib/operations/getOauthToken.js.map +1 -0
  265. package/lib/operations/getOrganization.d.ts +35 -0
  266. package/lib/operations/getOrganization.d.ts.map +1 -0
  267. package/lib/operations/getOrganization.js +43 -0
  268. package/lib/operations/getOrganization.js.map +1 -0
  269. package/lib/operations/getOrganizationMembership.d.ts +42 -0
  270. package/lib/operations/getOrganizationMembership.d.ts.map +1 -0
  271. package/lib/operations/getOrganizationMembership.js +55 -0
  272. package/lib/operations/getOrganizationMembership.js.map +1 -0
  273. package/lib/operations/getOrganizationTeam.d.ts +57 -0
  274. package/lib/operations/getOrganizationTeam.d.ts.map +1 -0
  275. package/lib/operations/getOrganizationTeam.js +70 -0
  276. package/lib/operations/getOrganizationTeam.js.map +1 -0
  277. package/lib/operations/getOrganizationTeamMember.d.ts +91 -0
  278. package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -0
  279. package/lib/operations/getOrganizationTeamMember.js +104 -0
  280. package/lib/operations/getOrganizationTeamMember.js.map +1 -0
  281. package/lib/operations/getPassword.d.ts +62 -0
  282. package/lib/operations/getPassword.d.ts.map +1 -0
  283. package/lib/operations/getPassword.js +74 -0
  284. package/lib/operations/getPassword.js.map +1 -0
  285. package/lib/operations/getQueryPatternsReport.d.ts +20 -0
  286. package/lib/operations/getQueryPatternsReport.d.ts.map +1 -0
  287. package/lib/operations/getQueryPatternsReport.js +33 -0
  288. package/lib/operations/getQueryPatternsReport.js.map +1 -0
  289. package/lib/operations/getQueryPatternsReportStatus.d.ts +32 -0
  290. package/lib/operations/getQueryPatternsReportStatus.d.ts.map +1 -0
  291. package/lib/operations/getQueryPatternsReportStatus.js +46 -0
  292. package/lib/operations/getQueryPatternsReportStatus.js.map +1 -0
  293. package/lib/operations/getRole.d.ts +56 -0
  294. package/lib/operations/getRole.d.ts.map +1 -0
  295. package/lib/operations/getRole.js +81 -0
  296. package/lib/operations/getRole.js.map +1 -0
  297. package/lib/operations/getSchemaRecommendation.d.ts +42 -0
  298. package/lib/operations/getSchemaRecommendation.d.ts.map +1 -0
  299. package/lib/operations/getSchemaRecommendation.js +65 -0
  300. package/lib/operations/getSchemaRecommendation.js.map +1 -0
  301. package/lib/operations/getServiceToken.d.ts +95 -0
  302. package/lib/operations/getServiceToken.d.ts.map +1 -0
  303. package/lib/operations/getServiceToken.js +107 -0
  304. package/lib/operations/getServiceToken.js.map +1 -0
  305. package/lib/operations/getWebhook.d.ts +29 -0
  306. package/lib/operations/getWebhook.d.ts.map +1 -0
  307. package/lib/operations/getWebhook.js +60 -0
  308. package/lib/operations/getWebhook.js.map +1 -0
  309. package/lib/operations/getWorkflow.d.ts +124 -0
  310. package/lib/operations/getWorkflow.d.ts.map +1 -0
  311. package/lib/operations/getWorkflow.js +155 -0
  312. package/lib/operations/getWorkflow.js.map +1 -0
  313. package/lib/operations/index.d.ts +149 -0
  314. package/lib/operations/index.d.ts.map +1 -0
  315. package/lib/operations/index.js +149 -0
  316. package/lib/operations/index.js.map +1 -0
  317. package/lib/operations/lintBranchSchema.d.ts +47 -0
  318. package/lib/operations/lintBranchSchema.d.ts.map +1 -0
  319. package/lib/operations/lintBranchSchema.js +58 -0
  320. package/lib/operations/lintBranchSchema.js.map +1 -0
  321. package/lib/operations/listAuditLogs.d.ts +38 -0
  322. package/lib/operations/listAuditLogs.d.ts.map +1 -0
  323. package/lib/operations/listAuditLogs.js +46 -0
  324. package/lib/operations/listAuditLogs.js.map +1 -0
  325. package/lib/operations/listBackups.d.ts +102 -0
  326. package/lib/operations/listBackups.d.ts.map +1 -0
  327. package/lib/operations/listBackups.js +127 -0
  328. package/lib/operations/listBackups.js.map +1 -0
  329. package/lib/operations/listBouncerResizeRequests.d.ts +68 -0
  330. package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -0
  331. package/lib/operations/listBouncerResizeRequests.js +86 -0
  332. package/lib/operations/listBouncerResizeRequests.js.map +1 -0
  333. package/lib/operations/listBouncers.d.ts +82 -0
  334. package/lib/operations/listBouncers.d.ts.map +1 -0
  335. package/lib/operations/listBouncers.js +99 -0
  336. package/lib/operations/listBouncers.js.map +1 -0
  337. package/lib/operations/listBranchBouncerResizeRequests.d.ts +66 -0
  338. package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -0
  339. package/lib/operations/listBranchBouncerResizeRequests.js +85 -0
  340. package/lib/operations/listBranchBouncerResizeRequests.js.map +1 -0
  341. package/lib/operations/listBranchChangeRequests.d.ts +66 -0
  342. package/lib/operations/listBranchChangeRequests.d.ts.map +1 -0
  343. package/lib/operations/listBranchChangeRequests.js +85 -0
  344. package/lib/operations/listBranchChangeRequests.js.map +1 -0
  345. package/lib/operations/listBranches.d.ts +89 -0
  346. package/lib/operations/listBranches.d.ts.map +1 -0
  347. package/lib/operations/listBranches.js +106 -0
  348. package/lib/operations/listBranches.js.map +1 -0
  349. package/lib/operations/listClusterSizeSkus.d.ts +39 -0
  350. package/lib/operations/listClusterSizeSkus.d.ts.map +1 -0
  351. package/lib/operations/listClusterSizeSkus.js +52 -0
  352. package/lib/operations/listClusterSizeSkus.js.map +1 -0
  353. package/lib/operations/listDatabasePostgresCidrs.d.ts +40 -0
  354. package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -0
  355. package/lib/operations/listDatabasePostgresCidrs.js +53 -0
  356. package/lib/operations/listDatabasePostgresCidrs.js.map +1 -0
  357. package/lib/operations/listDatabaseRegions.d.ts +36 -0
  358. package/lib/operations/listDatabaseRegions.d.ts.map +1 -0
  359. package/lib/operations/listDatabaseRegions.js +49 -0
  360. package/lib/operations/listDatabaseRegions.js.map +1 -0
  361. package/lib/operations/listDatabases.d.ts +88 -0
  362. package/lib/operations/listDatabases.d.ts.map +1 -0
  363. package/lib/operations/listDatabases.js +104 -0
  364. package/lib/operations/listDatabases.js.map +1 -0
  365. package/lib/operations/listDeployOperations.d.ts +51 -0
  366. package/lib/operations/listDeployOperations.d.ts.map +1 -0
  367. package/lib/operations/listDeployOperations.js +71 -0
  368. package/lib/operations/listDeployOperations.js.map +1 -0
  369. package/lib/operations/listDeployRequestReviews.d.ts +37 -0
  370. package/lib/operations/listDeployRequestReviews.d.ts.map +1 -0
  371. package/lib/operations/listDeployRequestReviews.js +50 -0
  372. package/lib/operations/listDeployRequestReviews.js.map +1 -0
  373. package/lib/operations/listDeployRequests.d.ts +169 -0
  374. package/lib/operations/listDeployRequests.d.ts.map +1 -0
  375. package/lib/operations/listDeployRequests.js +244 -0
  376. package/lib/operations/listDeployRequests.js.map +1 -0
  377. package/lib/operations/listExtensions.d.ts +54 -0
  378. package/lib/operations/listExtensions.d.ts.map +1 -0
  379. package/lib/operations/listExtensions.js +75 -0
  380. package/lib/operations/listExtensions.js.map +1 -0
  381. package/lib/operations/listGeneratedQueryPatternsReports.d.ts +36 -0
  382. package/lib/operations/listGeneratedQueryPatternsReports.d.ts.map +1 -0
  383. package/lib/operations/listGeneratedQueryPatternsReports.js +50 -0
  384. package/lib/operations/listGeneratedQueryPatternsReports.js.map +1 -0
  385. package/lib/operations/listInvoices.d.ts +34 -0
  386. package/lib/operations/listInvoices.d.ts.map +1 -0
  387. package/lib/operations/listInvoices.js +42 -0
  388. package/lib/operations/listInvoices.js.map +1 -0
  389. package/lib/operations/listKeyspaces.d.ts +59 -0
  390. package/lib/operations/listKeyspaces.d.ts.map +1 -0
  391. package/lib/operations/listKeyspaces.js +74 -0
  392. package/lib/operations/listKeyspaces.js.map +1 -0
  393. package/lib/operations/listOauthApplications.d.ts +40 -0
  394. package/lib/operations/listOauthApplications.d.ts.map +1 -0
  395. package/lib/operations/listOauthApplications.js +53 -0
  396. package/lib/operations/listOauthApplications.js.map +1 -0
  397. package/lib/operations/listOauthTokens.d.ts +106 -0
  398. package/lib/operations/listOauthTokens.d.ts.map +1 -0
  399. package/lib/operations/listOauthTokens.js +117 -0
  400. package/lib/operations/listOauthTokens.js.map +1 -0
  401. package/lib/operations/listOrganizationMembers.d.ts +53 -0
  402. package/lib/operations/listOrganizationMembers.d.ts.map +1 -0
  403. package/lib/operations/listOrganizationMembers.js +63 -0
  404. package/lib/operations/listOrganizationMembers.js.map +1 -0
  405. package/lib/operations/listOrganizationTeamMembers.d.ts +96 -0
  406. package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -0
  407. package/lib/operations/listOrganizationTeamMembers.js +109 -0
  408. package/lib/operations/listOrganizationTeamMembers.js.map +1 -0
  409. package/lib/operations/listOrganizationTeams.d.ts +64 -0
  410. package/lib/operations/listOrganizationTeams.d.ts.map +1 -0
  411. package/lib/operations/listOrganizationTeams.js +74 -0
  412. package/lib/operations/listOrganizationTeams.js.map +1 -0
  413. package/lib/operations/listOrganizations.d.ts +46 -0
  414. package/lib/operations/listOrganizations.d.ts.map +1 -0
  415. package/lib/operations/listOrganizations.js +55 -0
  416. package/lib/operations/listOrganizations.js.map +1 -0
  417. package/lib/operations/listParameters.d.ts +46 -0
  418. package/lib/operations/listParameters.d.ts.map +1 -0
  419. package/lib/operations/listParameters.js +67 -0
  420. package/lib/operations/listParameters.js.map +1 -0
  421. package/lib/operations/listPasswords.d.ts +73 -0
  422. package/lib/operations/listPasswords.d.ts.map +1 -0
  423. package/lib/operations/listPasswords.js +84 -0
  424. package/lib/operations/listPasswords.js.map +1 -0
  425. package/lib/operations/listPublicRegions.d.ts +33 -0
  426. package/lib/operations/listPublicRegions.d.ts.map +1 -0
  427. package/lib/operations/listPublicRegions.js +42 -0
  428. package/lib/operations/listPublicRegions.js.map +1 -0
  429. package/lib/operations/listReadOnlyRegions.d.ts +51 -0
  430. package/lib/operations/listReadOnlyRegions.d.ts.map +1 -0
  431. package/lib/operations/listReadOnlyRegions.js +64 -0
  432. package/lib/operations/listReadOnlyRegions.js.map +1 -0
  433. package/lib/operations/listRegionsForOrganization.d.ts +34 -0
  434. package/lib/operations/listRegionsForOrganization.d.ts.map +1 -0
  435. package/lib/operations/listRegionsForOrganization.js +44 -0
  436. package/lib/operations/listRegionsForOrganization.js.map +1 -0
  437. package/lib/operations/listRoles.d.ts +65 -0
  438. package/lib/operations/listRoles.d.ts.map +1 -0
  439. package/lib/operations/listRoles.js +90 -0
  440. package/lib/operations/listRoles.js.map +1 -0
  441. package/lib/operations/listSchemaRecommendations.d.ts +49 -0
  442. package/lib/operations/listSchemaRecommendations.d.ts.map +1 -0
  443. package/lib/operations/listSchemaRecommendations.js +72 -0
  444. package/lib/operations/listSchemaRecommendations.js.map +1 -0
  445. package/lib/operations/listServiceTokens.d.ts +104 -0
  446. package/lib/operations/listServiceTokens.d.ts.map +1 -0
  447. package/lib/operations/listServiceTokens.js +116 -0
  448. package/lib/operations/listServiceTokens.js.map +1 -0
  449. package/lib/operations/listWebhooks.d.ts +40 -0
  450. package/lib/operations/listWebhooks.d.ts.map +1 -0
  451. package/lib/operations/listWebhooks.js +71 -0
  452. package/lib/operations/listWebhooks.js.map +1 -0
  453. package/lib/operations/listWorkflows.d.ts +135 -0
  454. package/lib/operations/listWorkflows.d.ts.map +1 -0
  455. package/lib/operations/listWorkflows.js +166 -0
  456. package/lib/operations/listWorkflows.js.map +1 -0
  457. package/lib/operations/promoteBranch.d.ts +74 -0
  458. package/lib/operations/promoteBranch.d.ts.map +1 -0
  459. package/lib/operations/promoteBranch.js +91 -0
  460. package/lib/operations/promoteBranch.js.map +1 -0
  461. package/lib/operations/queueDeployRequest.d.ts +150 -0
  462. package/lib/operations/queueDeployRequest.d.ts.map +1 -0
  463. package/lib/operations/queueDeployRequest.js +225 -0
  464. package/lib/operations/queueDeployRequest.js.map +1 -0
  465. package/lib/operations/reassignRoleObjects.d.ts +22 -0
  466. package/lib/operations/reassignRoleObjects.d.ts.map +1 -0
  467. package/lib/operations/reassignRoleObjects.js +35 -0
  468. package/lib/operations/reassignRoleObjects.js.map +1 -0
  469. package/lib/operations/removeOrganizationMember.d.ts +20 -0
  470. package/lib/operations/removeOrganizationMember.d.ts.map +1 -0
  471. package/lib/operations/removeOrganizationMember.js +33 -0
  472. package/lib/operations/removeOrganizationMember.js.map +1 -0
  473. package/lib/operations/removeOrganizationTeamMember.d.ts +20 -0
  474. package/lib/operations/removeOrganizationTeamMember.d.ts.map +1 -0
  475. package/lib/operations/removeOrganizationTeamMember.js +34 -0
  476. package/lib/operations/removeOrganizationTeamMember.js.map +1 -0
  477. package/lib/operations/renewPassword.d.ts +62 -0
  478. package/lib/operations/renewPassword.d.ts.map +1 -0
  479. package/lib/operations/renewPassword.js +74 -0
  480. package/lib/operations/renewPassword.js.map +1 -0
  481. package/lib/operations/renewRole.d.ts +56 -0
  482. package/lib/operations/renewRole.d.ts.map +1 -0
  483. package/lib/operations/renewRole.js +81 -0
  484. package/lib/operations/renewRole.js.map +1 -0
  485. package/lib/operations/resetDefaultRole.d.ts +54 -0
  486. package/lib/operations/resetDefaultRole.d.ts.map +1 -0
  487. package/lib/operations/resetDefaultRole.js +79 -0
  488. package/lib/operations/resetDefaultRole.js.map +1 -0
  489. package/lib/operations/resetRole.d.ts +56 -0
  490. package/lib/operations/resetRole.d.ts.map +1 -0
  491. package/lib/operations/resetRole.js +81 -0
  492. package/lib/operations/resetRole.js.map +1 -0
  493. package/lib/operations/reviewDeployRequest.d.ts +36 -0
  494. package/lib/operations/reviewDeployRequest.d.ts.map +1 -0
  495. package/lib/operations/reviewDeployRequest.js +49 -0
  496. package/lib/operations/reviewDeployRequest.js.map +1 -0
  497. package/lib/operations/skipRevertPeriod.d.ts +150 -0
  498. package/lib/operations/skipRevertPeriod.d.ts.map +1 -0
  499. package/lib/operations/skipRevertPeriod.js +223 -0
  500. package/lib/operations/skipRevertPeriod.js.map +1 -0
  501. package/lib/operations/testWebhook.d.ts +20 -0
  502. package/lib/operations/testWebhook.d.ts.map +1 -0
  503. package/lib/operations/testWebhook.js +31 -0
  504. package/lib/operations/testWebhook.js.map +1 -0
  505. package/lib/operations/updateAutoApply.d.ts +152 -0
  506. package/lib/operations/updateAutoApply.d.ts.map +1 -0
  507. package/lib/operations/updateAutoApply.js +225 -0
  508. package/lib/operations/updateAutoApply.js.map +1 -0
  509. package/lib/operations/updateAutoDeleteBranch.d.ts +152 -0
  510. package/lib/operations/updateAutoDeleteBranch.d.ts.map +1 -0
  511. package/lib/operations/updateAutoDeleteBranch.js +227 -0
  512. package/lib/operations/updateAutoDeleteBranch.js.map +1 -0
  513. package/lib/operations/updateBackup.d.ts +81 -0
  514. package/lib/operations/updateBackup.d.ts.map +1 -0
  515. package/lib/operations/updateBackup.js +99 -0
  516. package/lib/operations/updateBackup.js.map +1 -0
  517. package/lib/operations/updateBouncerResizeRequest.d.ts +63 -0
  518. package/lib/operations/updateBouncerResizeRequest.d.ts.map +1 -0
  519. package/lib/operations/updateBouncerResizeRequest.js +76 -0
  520. package/lib/operations/updateBouncerResizeRequest.js.map +1 -0
  521. package/lib/operations/updateBranch.d.ts +74 -0
  522. package/lib/operations/updateBranch.d.ts.map +1 -0
  523. package/lib/operations/updateBranch.js +91 -0
  524. package/lib/operations/updateBranch.js.map +1 -0
  525. package/lib/operations/updateBranchChangeRequest.d.ts +61 -0
  526. package/lib/operations/updateBranchChangeRequest.d.ts.map +1 -0
  527. package/lib/operations/updateBranchChangeRequest.js +80 -0
  528. package/lib/operations/updateBranchChangeRequest.js.map +1 -0
  529. package/lib/operations/updateBranchClusterConfig.d.ts +20 -0
  530. package/lib/operations/updateBranchClusterConfig.d.ts.map +1 -0
  531. package/lib/operations/updateBranchClusterConfig.js +33 -0
  532. package/lib/operations/updateBranchClusterConfig.js.map +1 -0
  533. package/lib/operations/updateDatabasePostgresCidr.d.ts +37 -0
  534. package/lib/operations/updateDatabasePostgresCidr.d.ts.map +1 -0
  535. package/lib/operations/updateDatabasePostgresCidr.js +50 -0
  536. package/lib/operations/updateDatabasePostgresCidr.js.map +1 -0
  537. package/lib/operations/updateDatabaseSettings.d.ts +99 -0
  538. package/lib/operations/updateDatabaseSettings.d.ts.map +1 -0
  539. package/lib/operations/updateDatabaseSettings.js +120 -0
  540. package/lib/operations/updateDatabaseSettings.js.map +1 -0
  541. package/lib/operations/updateDatabaseThrottler.d.ts +33 -0
  542. package/lib/operations/updateDatabaseThrottler.d.ts.map +1 -0
  543. package/lib/operations/updateDatabaseThrottler.js +46 -0
  544. package/lib/operations/updateDatabaseThrottler.js.map +1 -0
  545. package/lib/operations/updateDeployRequestThrottler.d.ts +35 -0
  546. package/lib/operations/updateDeployRequestThrottler.d.ts.map +1 -0
  547. package/lib/operations/updateDeployRequestThrottler.js +49 -0
  548. package/lib/operations/updateDeployRequestThrottler.js.map +1 -0
  549. package/lib/operations/updateKeyspace.d.ts +50 -0
  550. package/lib/operations/updateKeyspace.d.ts.map +1 -0
  551. package/lib/operations/updateKeyspace.js +65 -0
  552. package/lib/operations/updateKeyspace.js.map +1 -0
  553. package/lib/operations/updateKeyspaceVschema.d.ts +24 -0
  554. package/lib/operations/updateKeyspaceVschema.d.ts.map +1 -0
  555. package/lib/operations/updateKeyspaceVschema.js +37 -0
  556. package/lib/operations/updateKeyspaceVschema.js.map +1 -0
  557. package/lib/operations/updateOrganization.d.ts +41 -0
  558. package/lib/operations/updateOrganization.d.ts.map +1 -0
  559. package/lib/operations/updateOrganization.js +51 -0
  560. package/lib/operations/updateOrganization.js.map +1 -0
  561. package/lib/operations/updateOrganizationMembership.d.ts +44 -0
  562. package/lib/operations/updateOrganizationMembership.d.ts.map +1 -0
  563. package/lib/operations/updateOrganizationMembership.js +58 -0
  564. package/lib/operations/updateOrganizationMembership.js.map +1 -0
  565. package/lib/operations/updateOrganizationTeam.d.ts +61 -0
  566. package/lib/operations/updateOrganizationTeam.d.ts.map +1 -0
  567. package/lib/operations/updateOrganizationTeam.js +74 -0
  568. package/lib/operations/updateOrganizationTeam.js.map +1 -0
  569. package/lib/operations/updatePassword.d.ts +66 -0
  570. package/lib/operations/updatePassword.d.ts.map +1 -0
  571. package/lib/operations/updatePassword.js +78 -0
  572. package/lib/operations/updatePassword.js.map +1 -0
  573. package/lib/operations/updateRole.d.ts +62 -0
  574. package/lib/operations/updateRole.d.ts.map +1 -0
  575. package/lib/operations/updateRole.js +87 -0
  576. package/lib/operations/updateRole.js.map +1 -0
  577. package/lib/operations/updateWebhook.d.ts +35 -0
  578. package/lib/operations/updateWebhook.d.ts.map +1 -0
  579. package/lib/operations/updateWebhook.js +66 -0
  580. package/lib/operations/updateWebhook.js.map +1 -0
  581. package/lib/operations/verifyWorkflow.d.ts +124 -0
  582. package/lib/operations/verifyWorkflow.d.ts.map +1 -0
  583. package/lib/operations/verifyWorkflow.js +155 -0
  584. package/lib/operations/verifyWorkflow.js.map +1 -0
  585. package/lib/operations/workflowCancel.d.ts +124 -0
  586. package/lib/operations/workflowCancel.d.ts.map +1 -0
  587. package/lib/operations/workflowCancel.js +155 -0
  588. package/lib/operations/workflowCancel.js.map +1 -0
  589. package/lib/operations/workflowComplete.d.ts +124 -0
  590. package/lib/operations/workflowComplete.d.ts.map +1 -0
  591. package/lib/operations/workflowComplete.js +155 -0
  592. package/lib/operations/workflowComplete.js.map +1 -0
  593. package/lib/operations/workflowCutover.d.ts +124 -0
  594. package/lib/operations/workflowCutover.d.ts.map +1 -0
  595. package/lib/operations/workflowCutover.js +155 -0
  596. package/lib/operations/workflowCutover.js.map +1 -0
  597. package/lib/operations/workflowRetry.d.ts +124 -0
  598. package/lib/operations/workflowRetry.d.ts.map +1 -0
  599. package/lib/operations/workflowRetry.js +155 -0
  600. package/lib/operations/workflowRetry.js.map +1 -0
  601. package/lib/operations/workflowReverseCutover.d.ts +124 -0
  602. package/lib/operations/workflowReverseCutover.d.ts.map +1 -0
  603. package/lib/operations/workflowReverseCutover.js +157 -0
  604. package/lib/operations/workflowReverseCutover.js.map +1 -0
  605. package/lib/operations/workflowReverseTraffic.d.ts +124 -0
  606. package/lib/operations/workflowReverseTraffic.d.ts.map +1 -0
  607. package/lib/operations/workflowReverseTraffic.js +157 -0
  608. package/lib/operations/workflowReverseTraffic.js.map +1 -0
  609. package/lib/operations/workflowSwitchPrimaries.d.ts +124 -0
  610. package/lib/operations/workflowSwitchPrimaries.d.ts.map +1 -0
  611. package/lib/operations/workflowSwitchPrimaries.js +157 -0
  612. package/lib/operations/workflowSwitchPrimaries.js.map +1 -0
  613. package/lib/operations/workflowSwitchReplicas.d.ts +124 -0
  614. package/lib/operations/workflowSwitchReplicas.d.ts.map +1 -0
  615. package/lib/operations/workflowSwitchReplicas.js +157 -0
  616. package/lib/operations/workflowSwitchReplicas.js.map +1 -0
  617. package/lib/retry.d.ts +24 -0
  618. package/lib/retry.d.ts.map +1 -0
  619. package/lib/retry.js +23 -0
  620. package/lib/retry.js.map +1 -0
  621. package/lib/sensitive.d.ts +5 -0
  622. package/lib/sensitive.d.ts.map +1 -0
  623. package/lib/sensitive.js +5 -0
  624. package/lib/sensitive.js.map +1 -0
  625. package/lib/traits.d.ts +13 -0
  626. package/lib/traits.d.ts.map +1 -0
  627. package/lib/traits.js +13 -0
  628. package/lib/traits.js.map +1 -0
  629. package/package.json +80 -5
  630. package/src/category.ts +12 -0
  631. package/src/client.ts +60 -0
  632. package/src/credentials.ts +38 -0
  633. package/src/errors.ts +50 -0
  634. package/src/index.ts +15 -0
  635. package/src/operations/addOrganizationTeamMember.ts +121 -0
  636. package/src/operations/cancelBouncerResizeRequest.ts +43 -0
  637. package/src/operations/cancelBranchChangeRequest.ts +41 -0
  638. package/src/operations/cancelDeployRequest.ts +243 -0
  639. package/src/operations/closeDeployRequest.ts +245 -0
  640. package/src/operations/completeErroredDeploy.ts +246 -0
  641. package/src/operations/completeGatedDeployRequest.ts +247 -0
  642. package/src/operations/completeRevert.ts +241 -0
  643. package/src/operations/createBackup.ts +115 -0
  644. package/src/operations/createBouncer.ts +104 -0
  645. package/src/operations/createBranch.ts +111 -0
  646. package/src/operations/createDatabase.ts +113 -0
  647. package/src/operations/createDatabasePostgresCidr.ts +58 -0
  648. package/src/operations/createDeployRequest.ts +251 -0
  649. package/src/operations/createKeyspace.ts +77 -0
  650. package/src/operations/createOauthToken.ts +145 -0
  651. package/src/operations/createOrganizationTeam.ts +88 -0
  652. package/src/operations/createPassword.ts +92 -0
  653. package/src/operations/createQueryPatternsReport.ts +53 -0
  654. package/src/operations/createRole.ts +115 -0
  655. package/src/operations/createServiceToken.ts +135 -0
  656. package/src/operations/createWebhook.ts +72 -0
  657. package/src/operations/createWorkflow.ts +175 -0
  658. package/src/operations/deleteBackup.ts +37 -0
  659. package/src/operations/deleteBouncer.ts +37 -0
  660. package/src/operations/deleteBranch.ts +35 -0
  661. package/src/operations/deleteDatabase.ts +33 -0
  662. package/src/operations/deleteDatabasePostgresCidr.ts +41 -0
  663. package/src/operations/deleteKeyspace.ts +37 -0
  664. package/src/operations/deleteOauthToken.ts +35 -0
  665. package/src/operations/deleteOrganizationTeam.ts +44 -0
  666. package/src/operations/deletePassword.ts +37 -0
  667. package/src/operations/deleteQueryPatternsReport.ts +43 -0
  668. package/src/operations/deleteRole.ts +39 -0
  669. package/src/operations/deleteServiceToken.ts +36 -0
  670. package/src/operations/deleteWebhook.ts +35 -0
  671. package/src/operations/demoteBranch.ts +99 -0
  672. package/src/operations/disableSafeMigrations.ts +102 -0
  673. package/src/operations/dismissSchemaRecommendation.ts +77 -0
  674. package/src/operations/enableSafeMigrations.ts +101 -0
  675. package/src/operations/getBackup.ts +107 -0
  676. package/src/operations/getBouncer.ts +98 -0
  677. package/src/operations/getBranch.ts +97 -0
  678. package/src/operations/getBranchChangeRequest.ts +86 -0
  679. package/src/operations/getBranchSchema.ts +47 -0
  680. package/src/operations/getCurrentUser.ts +48 -0
  681. package/src/operations/getDatabase.ts +106 -0
  682. package/src/operations/getDatabasePostgresCidr.ts +54 -0
  683. package/src/operations/getDatabaseThrottler.ts +52 -0
  684. package/src/operations/getDefaultRole.ts +87 -0
  685. package/src/operations/getDeployQueue.ts +192 -0
  686. package/src/operations/getDeployRequest.ts +243 -0
  687. package/src/operations/getDeployRequestThrottler.ts +56 -0
  688. package/src/operations/getDeployment.ts +185 -0
  689. package/src/operations/getInvoice.ts +40 -0
  690. package/src/operations/getInvoiceLineItems.ts +64 -0
  691. package/src/operations/getKeyspace.ts +71 -0
  692. package/src/operations/getKeyspaceRolloutStatus.ts +54 -0
  693. package/src/operations/getKeyspaceVschema.ts +41 -0
  694. package/src/operations/getOauthApplication.ts +50 -0
  695. package/src/operations/getOauthToken.ts +131 -0
  696. package/src/operations/getOrganization.ts +47 -0
  697. package/src/operations/getOrganizationMembership.ts +67 -0
  698. package/src/operations/getOrganizationTeam.ts +85 -0
  699. package/src/operations/getOrganizationTeamMember.ts +121 -0
  700. package/src/operations/getPassword.ts +80 -0
  701. package/src/operations/getQueryPatternsReport.ts +43 -0
  702. package/src/operations/getQueryPatternsReportStatus.ts +54 -0
  703. package/src/operations/getRole.ts +89 -0
  704. package/src/operations/getSchemaRecommendation.ts +75 -0
  705. package/src/operations/getServiceToken.ts +131 -0
  706. package/src/operations/getWebhook.ts +68 -0
  707. package/src/operations/getWorkflow.ts +161 -0
  708. package/src/operations/index.ts +148 -0
  709. package/src/operations/lintBranchSchema.ts +68 -0
  710. package/src/operations/listAuditLogs.ts +54 -0
  711. package/src/operations/listBackups.ts +141 -0
  712. package/src/operations/listBouncerResizeRequests.ts +98 -0
  713. package/src/operations/listBouncers.ts +109 -0
  714. package/src/operations/listBranchBouncerResizeRequests.ts +95 -0
  715. package/src/operations/listBranchChangeRequests.ts +97 -0
  716. package/src/operations/listBranches.ts +116 -0
  717. package/src/operations/listClusterSizeSkus.ts +60 -0
  718. package/src/operations/listDatabasePostgresCidrs.ts +65 -0
  719. package/src/operations/listDatabaseRegions.ts +57 -0
  720. package/src/operations/listDatabases.ts +116 -0
  721. package/src/operations/listDeployOperations.ts +81 -0
  722. package/src/operations/listDeployRequestReviews.ts +62 -0
  723. package/src/operations/listDeployRequests.ts +271 -0
  724. package/src/operations/listExtensions.ts +85 -0
  725. package/src/operations/listGeneratedQueryPatternsReports.ts +60 -0
  726. package/src/operations/listInvoices.ts +50 -0
  727. package/src/operations/listKeyspaces.ts +84 -0
  728. package/src/operations/listOauthApplications.ts +64 -0
  729. package/src/operations/listOauthTokens.ts +143 -0
  730. package/src/operations/listOrganizationMembers.ts +77 -0
  731. package/src/operations/listOrganizationTeamMembers.ts +128 -0
  732. package/src/operations/listOrganizationTeams.ts +94 -0
  733. package/src/operations/listOrganizations.ts +63 -0
  734. package/src/operations/listParameters.ts +75 -0
  735. package/src/operations/listPasswords.ts +92 -0
  736. package/src/operations/listPublicRegions.ts +50 -0
  737. package/src/operations/listReadOnlyRegions.ts +72 -0
  738. package/src/operations/listRegionsForOrganization.ts +56 -0
  739. package/src/operations/listRoles.ts +100 -0
  740. package/src/operations/listSchemaRecommendations.ts +84 -0
  741. package/src/operations/listServiceTokens.ts +144 -0
  742. package/src/operations/listWebhooks.ts +81 -0
  743. package/src/operations/listWorkflows.ts +174 -0
  744. package/src/operations/promoteBranch.ts +99 -0
  745. package/src/operations/queueDeployRequest.ts +245 -0
  746. package/src/operations/reassignRoleObjects.ts +41 -0
  747. package/src/operations/removeOrganizationMember.ts +43 -0
  748. package/src/operations/removeOrganizationTeamMember.ts +47 -0
  749. package/src/operations/renewPassword.ts +80 -0
  750. package/src/operations/renewRole.ts +89 -0
  751. package/src/operations/resetDefaultRole.ts +89 -0
  752. package/src/operations/resetRole.ts +89 -0
  753. package/src/operations/reviewDeployRequest.ts +55 -0
  754. package/src/operations/skipRevertPeriod.ts +245 -0
  755. package/src/operations/testWebhook.ts +37 -0
  756. package/src/operations/updateAutoApply.ts +245 -0
  757. package/src/operations/updateAutoDeleteBranch.ts +251 -0
  758. package/src/operations/updateBackup.ts +109 -0
  759. package/src/operations/updateBouncerResizeRequest.ts +86 -0
  760. package/src/operations/updateBranch.ts +99 -0
  761. package/src/operations/updateBranchChangeRequest.ts +90 -0
  762. package/src/operations/updateBranchClusterConfig.ts +43 -0
  763. package/src/operations/updateDatabasePostgresCidr.ts +60 -0
  764. package/src/operations/updateDatabaseSettings.ts +134 -0
  765. package/src/operations/updateDatabaseThrottler.ts +58 -0
  766. package/src/operations/updateDeployRequestThrottler.ts +59 -0
  767. package/src/operations/updateKeyspace.ts +71 -0
  768. package/src/operations/updateKeyspaceVschema.ts +46 -0
  769. package/src/operations/updateOrganization.ts +55 -0
  770. package/src/operations/updateOrganizationMembership.ts +68 -0
  771. package/src/operations/updateOrganizationTeam.ts +93 -0
  772. package/src/operations/updatePassword.ts +84 -0
  773. package/src/operations/updateRole.ts +95 -0
  774. package/src/operations/updateWebhook.ts +74 -0
  775. package/src/operations/verifyWorkflow.ts +161 -0
  776. package/src/operations/workflowCancel.ts +161 -0
  777. package/src/operations/workflowComplete.ts +163 -0
  778. package/src/operations/workflowCutover.ts +161 -0
  779. package/src/operations/workflowRetry.ts +161 -0
  780. package/src/operations/workflowReverseCutover.ts +167 -0
  781. package/src/operations/workflowReverseTraffic.ts +167 -0
  782. package/src/operations/workflowSwitchPrimaries.ts +167 -0
  783. package/src/operations/workflowSwitchReplicas.ts +167 -0
  784. package/src/retry.ts +39 -0
  785. package/src/sensitive.ts +4 -0
  786. package/src/traits.ts +12 -0
  787. package/README.md +0 -15
  788. package/bun.lock +0 -26
  789. package/index.ts +0 -1
  790. package/tsconfig.json +0 -29
@@ -0,0 +1,99 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateBranchInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ organization: Schema.String.pipe(T.PathParam()),
9
+ database: Schema.String.pipe(T.PathParam()),
10
+ branch: Schema.String.pipe(T.PathParam()),
11
+ new_name: Schema.String,
12
+ }).pipe(
13
+ T.Http({
14
+ method: "PATCH",
15
+ path: "/organizations/{organization}/databases/{database}/branches/{branch}",
16
+ }),
17
+ );
18
+ export type UpdateBranchInput = typeof UpdateBranchInput.Type;
19
+
20
+ // Output Schema
21
+ export const UpdateBranchOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22
+ id: Schema.String,
23
+ name: Schema.String,
24
+ created_at: Schema.String,
25
+ updated_at: Schema.String,
26
+ deleted_at: Schema.NullOr(Schema.String),
27
+ restore_checklist_completed_at: Schema.NullOr(Schema.String),
28
+ schema_last_updated_at: Schema.String,
29
+ kind: Schema.Literals(["mysql", "postgresql"]),
30
+ mysql_address: Schema.String,
31
+ mysql_edge_address: Schema.String,
32
+ state: Schema.Literals([
33
+ "pending",
34
+ "sleep_in_progress",
35
+ "sleeping",
36
+ "awakening",
37
+ "ready",
38
+ ]),
39
+ direct_vtgate: Schema.Boolean,
40
+ vtgate_size: Schema.String,
41
+ vtgate_count: Schema.Number,
42
+ cluster_name: Schema.String,
43
+ cluster_iops: Schema.NullOr(Schema.Number),
44
+ ready: Schema.Boolean,
45
+ schema_ready: Schema.Boolean,
46
+ metal: Schema.Boolean,
47
+ production: Schema.Boolean,
48
+ safe_migrations: Schema.Boolean,
49
+ sharded: Schema.Boolean,
50
+ shard_count: Schema.Number,
51
+ stale_schema: Schema.Boolean,
52
+ actor: Schema.Struct({
53
+ id: Schema.String,
54
+ display_name: Schema.String,
55
+ avatar_url: Schema.String,
56
+ }),
57
+ restored_from_branch: Schema.NullOr(
58
+ Schema.Struct({
59
+ id: Schema.String,
60
+ name: Schema.String,
61
+ created_at: Schema.String,
62
+ updated_at: Schema.String,
63
+ deleted_at: Schema.String,
64
+ }),
65
+ ),
66
+ private_edge_connectivity: Schema.Boolean,
67
+ has_replicas: Schema.Boolean,
68
+ has_read_only_replicas: Schema.Boolean,
69
+ html_url: Schema.String,
70
+ url: Schema.String,
71
+ region: Schema.Struct({
72
+ id: Schema.String,
73
+ provider: Schema.String,
74
+ enabled: Schema.Boolean,
75
+ public_ip_addresses: Schema.Array(Schema.String),
76
+ display_name: Schema.String,
77
+ location: Schema.String,
78
+ slug: Schema.String,
79
+ current_default: Schema.Boolean,
80
+ }),
81
+ parent_branch: Schema.NullOr(Schema.String),
82
+ vtgate_options: Schema.Record(Schema.String, Schema.Unknown),
83
+ });
84
+ export type UpdateBranchOutput = typeof UpdateBranchOutput.Type;
85
+
86
+ // The operation
87
+ /**
88
+ * Update a branch
89
+ *
90
+ * @param organization - The name of the organization the branch belongs to
91
+ * @param database - The name of the database the branch belongs to
92
+ * @param branch - The name of the branch
93
+ * @param new_name - The name to update the branch
94
+ */
95
+ export const updateBranch = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
96
+ inputSchema: UpdateBranchInput,
97
+ outputSchema: UpdateBranchOutput,
98
+ errors: [Forbidden, NotFound] as const,
99
+ }));
@@ -0,0 +1,90 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateBranchChangeRequestInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ branch: Schema.String.pipe(T.PathParam()),
12
+ cluster_size: Schema.optional(Schema.String),
13
+ replicas: Schema.optional(Schema.Number),
14
+ parameters: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
15
+ }).pipe(
16
+ T.Http({
17
+ method: "PATCH",
18
+ path: "/organizations/{organization}/databases/{database}/branches/{branch}/changes",
19
+ }),
20
+ );
21
+ export type UpdateBranchChangeRequestInput =
22
+ typeof UpdateBranchChangeRequestInput.Type;
23
+
24
+ // Output Schema
25
+ export const UpdateBranchChangeRequestOutput =
26
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
27
+ id: Schema.String,
28
+ restart: Schema.Array(Schema.Number),
29
+ state: Schema.Literals([
30
+ "queued",
31
+ "pending",
32
+ "resizing",
33
+ "canceled",
34
+ "completed",
35
+ ]),
36
+ started_at: Schema.String,
37
+ completed_at: Schema.String,
38
+ created_at: Schema.String,
39
+ updated_at: Schema.String,
40
+ actor: Schema.Struct({
41
+ id: Schema.String,
42
+ display_name: Schema.String,
43
+ avatar_url: Schema.String,
44
+ }),
45
+ cluster_name: Schema.String,
46
+ cluster_display_name: Schema.String,
47
+ cluster_metal: Schema.Boolean,
48
+ replicas: Schema.Number,
49
+ parameters: Schema.Record(Schema.String, Schema.Unknown),
50
+ previous_cluster_name: Schema.String,
51
+ previous_cluster_display_name: Schema.String,
52
+ previous_cluster_metal: Schema.Boolean,
53
+ previous_replicas: Schema.Number,
54
+ previous_parameters: Schema.Record(Schema.String, Schema.Unknown),
55
+ minimum_storage_bytes: Schema.Number,
56
+ maximum_storage_bytes: Schema.Number,
57
+ storage_autoscaling: Schema.Boolean,
58
+ storage_shrinking: Schema.Boolean,
59
+ storage_type: Schema.Literals(["gp3", "io2", "pd_ssd"]),
60
+ storage_iops: Schema.Number,
61
+ storage_throughput_mibs: Schema.Number,
62
+ previous_minimum_storage_bytes: Schema.Number,
63
+ previous_maximum_storage_bytes: Schema.Number,
64
+ previous_storage_autoscaling: Schema.Boolean,
65
+ previous_storage_shrinking: Schema.Boolean,
66
+ previous_storage_type: Schema.String,
67
+ previous_storage_iops: Schema.Number,
68
+ previous_storage_throughput_mibs: Schema.Number,
69
+ });
70
+ export type UpdateBranchChangeRequestOutput =
71
+ typeof UpdateBranchChangeRequestOutput.Type;
72
+
73
+ // The operation
74
+ /**
75
+ * Upsert a change request
76
+ *
77
+ * @param organization - Organization name slug from `list_organizations`. Example: `acme`.
78
+ * @param database - Database name slug from `list_databases`. Example: `app-db`.
79
+ * @param branch - Branch name from `list_branches`. Example: `main`.
80
+ * @param cluster_size - The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.
81
+ * @param replicas - The total number of replicas
82
+ * @param parameters - Cluster configuration parameters nested by namespace (e.g., {"pgconf": {"max_connections": "200"}}). Use the 'List cluster parameters' endpoint to retrieve available parameters. Supported namespaces include 'patroni', 'pgconf', and 'pgbouncer'.
83
+ */
84
+ export const updateBranchChangeRequest = /*@__PURE__*/ /*#__PURE__*/ API.make(
85
+ () => ({
86
+ inputSchema: UpdateBranchChangeRequestInput,
87
+ outputSchema: UpdateBranchChangeRequestOutput,
88
+ errors: [Forbidden, NotFound] as const,
89
+ }),
90
+ );
@@ -0,0 +1,43 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateBranchClusterConfigInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ branch: Schema.String.pipe(T.PathParam()),
12
+ cluster_size: Schema.String,
13
+ }).pipe(
14
+ T.Http({
15
+ method: "PATCH",
16
+ path: "/organizations/{organization}/databases/{database}/branches/{branch}/cluster",
17
+ }),
18
+ );
19
+ export type UpdateBranchClusterConfigInput =
20
+ typeof UpdateBranchClusterConfigInput.Type;
21
+
22
+ // Output Schema
23
+ export const UpdateBranchClusterConfigOutput =
24
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
25
+ export type UpdateBranchClusterConfigOutput =
26
+ typeof UpdateBranchClusterConfigOutput.Type;
27
+
28
+ // The operation
29
+ /**
30
+ * Change a branch cluster configuration
31
+ *
32
+ * @param organization - The name of the organization the branch belongs to
33
+ * @param database - The name of the database the branch belongs to
34
+ * @param branch - The name of the branch to configure
35
+ * @param cluster_size - The new size of the database cluster: PS_10, PS_20,…
36
+ */
37
+ export const updateBranchClusterConfig = /*@__PURE__*/ /*#__PURE__*/ API.make(
38
+ () => ({
39
+ inputSchema: UpdateBranchClusterConfigInput,
40
+ outputSchema: UpdateBranchClusterConfigOutput,
41
+ errors: [Forbidden, NotFound] as const,
42
+ }),
43
+ );
@@ -0,0 +1,60 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateDatabasePostgresCidrInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ id: Schema.String.pipe(T.PathParam()),
12
+ schema: Schema.optional(Schema.String),
13
+ role: Schema.optional(Schema.String),
14
+ cidrs: Schema.optional(Schema.Array(Schema.String)),
15
+ }).pipe(
16
+ T.Http({
17
+ method: "PUT",
18
+ path: "/organizations/{organization}/databases/{database}/cidrs/{id}",
19
+ }),
20
+ );
21
+ export type UpdateDatabasePostgresCidrInput =
22
+ typeof UpdateDatabasePostgresCidrInput.Type;
23
+
24
+ // Output Schema
25
+ export const UpdateDatabasePostgresCidrOutput =
26
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
27
+ id: Schema.String,
28
+ schema: Schema.String,
29
+ role: Schema.String,
30
+ cidrs: Schema.Array(Schema.String),
31
+ created_at: Schema.String,
32
+ updated_at: Schema.String,
33
+ deleted_at: Schema.String,
34
+ actor: Schema.Struct({
35
+ id: Schema.String,
36
+ display_name: Schema.String,
37
+ avatar_url: Schema.String,
38
+ }),
39
+ });
40
+ export type UpdateDatabasePostgresCidrOutput =
41
+ typeof UpdateDatabasePostgresCidrOutput.Type;
42
+
43
+ // The operation
44
+ /**
45
+ * Update an IP restriction entry
46
+ *
47
+ * @param organization - The name of the organization the database belongs to
48
+ * @param database - The name of the database
49
+ * @param id - The ID of the IP restriction entry
50
+ * @param schema - The PostgreSQL schema to restrict access to. Leave empty to allow access to all schemas.
51
+ * @param role - The PostgreSQL role to restrict access to. Leave empty to allow access for all roles.
52
+ * @param cidrs - List of IPv4 CIDR ranges (e.g., ['192.168.1.0/24', '192.168.1.1/32']). Only provided fields will be updated.
53
+ */
54
+ export const updateDatabasePostgresCidr = /*@__PURE__*/ /*#__PURE__*/ API.make(
55
+ () => ({
56
+ inputSchema: UpdateDatabasePostgresCidrInput,
57
+ outputSchema: UpdateDatabasePostgresCidrOutput,
58
+ errors: [Forbidden, NotFound, UnprocessableEntity] as const,
59
+ }),
60
+ );
@@ -0,0 +1,134 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateDatabaseSettingsInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ new_name: Schema.optional(Schema.String),
12
+ automatic_migrations: Schema.optional(Schema.Boolean),
13
+ migration_framework: Schema.optional(Schema.String),
14
+ migration_table_name: Schema.optional(Schema.String),
15
+ require_approval_for_deploy: Schema.optional(Schema.Boolean),
16
+ restrict_branch_region: Schema.optional(Schema.Boolean),
17
+ allow_data_branching: Schema.optional(Schema.Boolean),
18
+ allow_foreign_key_constraints: Schema.optional(Schema.Boolean),
19
+ insights_raw_queries: Schema.optional(Schema.Boolean),
20
+ production_branch_web_console: Schema.optional(Schema.Boolean),
21
+ default_branch: Schema.optional(Schema.String),
22
+ }).pipe(
23
+ T.Http({
24
+ method: "PATCH",
25
+ path: "/organizations/{organization}/databases/{database}",
26
+ }),
27
+ );
28
+ export type UpdateDatabaseSettingsInput =
29
+ typeof UpdateDatabaseSettingsInput.Type;
30
+
31
+ // Output Schema
32
+ export const UpdateDatabaseSettingsOutput =
33
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
34
+ id: Schema.String,
35
+ url: Schema.String,
36
+ branches_url: Schema.String,
37
+ branches_count: Schema.optional(Schema.Number),
38
+ open_schema_recommendations_count: Schema.optional(Schema.Number),
39
+ development_branches_count: Schema.optional(Schema.Number),
40
+ production_branches_count: Schema.optional(Schema.Number),
41
+ issues_count: Schema.optional(Schema.Number),
42
+ multiple_admins_required_for_deletion: Schema.optional(Schema.Boolean),
43
+ ready: Schema.Boolean,
44
+ at_backup_restore_branches_limit: Schema.optional(Schema.Boolean),
45
+ at_development_branch_usage_limit: Schema.optional(Schema.Boolean),
46
+ data_import: Schema.optional(
47
+ Schema.NullOr(
48
+ Schema.Struct({
49
+ state: Schema.String,
50
+ import_check_errors: Schema.String,
51
+ started_at: Schema.String,
52
+ finished_at: Schema.String,
53
+ data_source: Schema.Struct({
54
+ hostname: Schema.String,
55
+ port: Schema.Number,
56
+ database: Schema.String,
57
+ }),
58
+ }),
59
+ ),
60
+ ),
61
+ region: Schema.Struct({
62
+ id: Schema.String,
63
+ provider: Schema.String,
64
+ enabled: Schema.Boolean,
65
+ public_ip_addresses: Schema.Array(Schema.String),
66
+ display_name: Schema.String,
67
+ location: Schema.String,
68
+ slug: Schema.String,
69
+ current_default: Schema.Boolean,
70
+ }),
71
+ html_url: Schema.String,
72
+ name: Schema.String,
73
+ state: Schema.Literals([
74
+ "pending",
75
+ "importing",
76
+ "sleep_in_progress",
77
+ "sleeping",
78
+ "awakening",
79
+ "import_ready",
80
+ "ready",
81
+ ]),
82
+ sharded: Schema.optional(Schema.Boolean),
83
+ default_branch_shard_count: Schema.optional(Schema.Number),
84
+ default_branch_read_only_regions_count: Schema.optional(Schema.Number),
85
+ default_branch_table_count: Schema.optional(Schema.Number),
86
+ default_branch: Schema.optional(Schema.String),
87
+ require_approval_for_deploy: Schema.optional(Schema.Boolean),
88
+ resizing: Schema.optional(Schema.Boolean),
89
+ resize_queued: Schema.optional(Schema.Boolean),
90
+ config_changing: Schema.optional(Schema.Boolean),
91
+ config_change_queued: Schema.optional(Schema.Boolean),
92
+ allow_data_branching: Schema.optional(Schema.Boolean),
93
+ foreign_keys_enabled: Schema.optional(Schema.Boolean),
94
+ automatic_migrations: Schema.optional(Schema.NullOr(Schema.Boolean)),
95
+ restrict_branch_region: Schema.optional(Schema.Boolean),
96
+ insights_raw_queries: Schema.optional(Schema.Boolean),
97
+ plan: Schema.optional(Schema.String),
98
+ insights_enabled: Schema.optional(Schema.Boolean),
99
+ production_branch_web_console: Schema.optional(Schema.Boolean),
100
+ migration_table_name: Schema.optional(Schema.NullOr(Schema.String)),
101
+ migration_framework: Schema.optional(Schema.NullOr(Schema.String)),
102
+ created_at: Schema.String,
103
+ updated_at: Schema.String,
104
+ schema_last_updated_at: Schema.optional(Schema.String),
105
+ kind: Schema.Literals(["mysql", "postgresql"]),
106
+ });
107
+ export type UpdateDatabaseSettingsOutput =
108
+ typeof UpdateDatabaseSettingsOutput.Type;
109
+
110
+ // The operation
111
+ /**
112
+ * Update database settings
113
+ *
114
+ * @param organization - Organization name slug from `list_organizations`. Example: `acme`.
115
+ * @param database - Database name slug from `list_databases`. Example: `app-db`.
116
+ * @param new_name - The name to update the database to
117
+ * @param automatic_migrations - Whether or not to copy migration data to new branches and in deploy requests. (Vitess only)
118
+ * @param migration_framework - A migration framework to use on the database. (Vitess only)
119
+ * @param migration_table_name - Name of table to use as migration table for the database. (Vitess only)
120
+ * @param require_approval_for_deploy - Whether or not deploy requests must be approved by a database administrator other than the request creator
121
+ * @param restrict_branch_region - Whether or not to limit branch creation to the same region as the one selected during database creation.
122
+ * @param allow_data_branching - Whether or not data branching is allowed on the database. (Vitess only)
123
+ * @param allow_foreign_key_constraints - Whether or not foreign key constraints are allowed on the database. (Vitess only)
124
+ * @param insights_raw_queries - Whether or not full queries should be collected from the database
125
+ * @param production_branch_web_console - Whether or not the web console can be used on the production branch of the database
126
+ * @param default_branch - The default branch of the database
127
+ */
128
+ export const updateDatabaseSettings = /*@__PURE__*/ /*#__PURE__*/ API.make(
129
+ () => ({
130
+ inputSchema: UpdateDatabaseSettingsInput,
131
+ outputSchema: UpdateDatabaseSettingsOutput,
132
+ errors: [Forbidden, NotFound] as const,
133
+ }),
134
+ );
@@ -0,0 +1,58 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateDatabaseThrottlerInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ ratio: Schema.optional(Schema.Number),
12
+ configurations: Schema.optional(Schema.Array(Schema.String)),
13
+ }).pipe(
14
+ T.Http({
15
+ method: "PATCH",
16
+ path: "/organizations/{organization}/databases/{database}/throttler",
17
+ }),
18
+ );
19
+ export type UpdateDatabaseThrottlerInput =
20
+ typeof UpdateDatabaseThrottlerInput.Type;
21
+
22
+ // Output Schema
23
+ export const UpdateDatabaseThrottlerOutput =
24
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
+ keyspaces: Schema.Array(Schema.String),
26
+ configurable: Schema.Struct({
27
+ id: Schema.String,
28
+ name: Schema.String,
29
+ created_at: Schema.String,
30
+ updated_at: Schema.String,
31
+ deleted_at: Schema.String,
32
+ }),
33
+ configurations: Schema.Array(
34
+ Schema.Struct({
35
+ keyspace_name: Schema.String,
36
+ ratio: Schema.Number,
37
+ }),
38
+ ),
39
+ });
40
+ export type UpdateDatabaseThrottlerOutput =
41
+ typeof UpdateDatabaseThrottlerOutput.Type;
42
+
43
+ // The operation
44
+ /**
45
+ * Update database throttler configurations
46
+ *
47
+ * @param organization - The name of the organization that the throttled deploy requests belong to
48
+ * @param database - The name of the database that the throttled deploy requests belong to
49
+ * @param ratio - A throttler ratio between 0 and 95 that will apply to all keyspaces in the database. 0 effectively disables throttler, while 95 drastically slows down deploy request migrations
50
+ * @param configurations - If specifying throttler ratios per keyspace, an array of { "keyspace_name": "mykeyspace", "ratio": 10 }, one for each eligible keyspace
51
+ */
52
+ export const updateDatabaseThrottler = /*@__PURE__*/ /*#__PURE__*/ API.make(
53
+ () => ({
54
+ inputSchema: UpdateDatabaseThrottlerInput,
55
+ outputSchema: UpdateDatabaseThrottlerOutput,
56
+ errors: [Forbidden, NotFound] as const,
57
+ }),
58
+ );
@@ -0,0 +1,59 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateDeployRequestThrottlerInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ number: Schema.Number.pipe(T.PathParam()),
12
+ ratio: Schema.optional(Schema.Number),
13
+ configurations: Schema.optional(Schema.Array(Schema.String)),
14
+ }).pipe(
15
+ T.Http({
16
+ method: "PATCH",
17
+ path: "/organizations/{organization}/databases/{database}/deploy-requests/{number}/throttler",
18
+ }),
19
+ );
20
+ export type UpdateDeployRequestThrottlerInput =
21
+ typeof UpdateDeployRequestThrottlerInput.Type;
22
+
23
+ // Output Schema
24
+ export const UpdateDeployRequestThrottlerOutput =
25
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
26
+ keyspaces: Schema.Array(Schema.String),
27
+ configurable: Schema.Struct({
28
+ id: Schema.String,
29
+ name: Schema.String,
30
+ created_at: Schema.String,
31
+ updated_at: Schema.String,
32
+ deleted_at: Schema.String,
33
+ }),
34
+ configurations: Schema.Array(
35
+ Schema.Struct({
36
+ keyspace_name: Schema.String,
37
+ ratio: Schema.Number,
38
+ }),
39
+ ),
40
+ });
41
+ export type UpdateDeployRequestThrottlerOutput =
42
+ typeof UpdateDeployRequestThrottlerOutput.Type;
43
+
44
+ // The operation
45
+ /**
46
+ * Update deploy request throttler configurations
47
+ *
48
+ * @param organization - The name of the deploy request's organization
49
+ * @param database - The name of the deploy request's database
50
+ * @param number - The number of the deploy request
51
+ * @param ratio - A throttler ratio between 0 and 95 that will apply to all keyspaces affected by the deploy request. 0 effectively disables throttler, while 95 drastically slows down migrations in the deploy request
52
+ * @param configurations - If specifying throttler ratios per keyspace, an array of { "keyspace_name": "mykeyspace", "ratio": 10 }, one for each eligible keyspace
53
+ */
54
+ export const updateDeployRequestThrottler =
55
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
56
+ inputSchema: UpdateDeployRequestThrottlerInput,
57
+ outputSchema: UpdateDeployRequestThrottlerOutput,
58
+ errors: [Forbidden, NotFound] as const,
59
+ }));
@@ -0,0 +1,71 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateKeyspaceInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ organization: Schema.String.pipe(T.PathParam()),
9
+ database: Schema.String.pipe(T.PathParam()),
10
+ branch: Schema.String.pipe(T.PathParam()),
11
+ keyspace: Schema.String.pipe(T.PathParam()),
12
+ }).pipe(
13
+ T.Http({
14
+ method: "PATCH",
15
+ path: "/organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}",
16
+ }),
17
+ );
18
+ export type UpdateKeyspaceInput = typeof UpdateKeyspaceInput.Type;
19
+
20
+ // Output Schema
21
+ export const UpdateKeyspaceOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22
+ id: Schema.String,
23
+ name: Schema.String,
24
+ shards: Schema.Number,
25
+ sharded: Schema.Boolean,
26
+ replicas: Schema.Number,
27
+ extra_replicas: Schema.Number,
28
+ created_at: Schema.String,
29
+ updated_at: Schema.String,
30
+ cluster_name: Schema.String,
31
+ cluster_display_name: Schema.String,
32
+ resizing: Schema.Boolean,
33
+ resize_pending: Schema.Boolean,
34
+ config_change_in_progress: Schema.Boolean,
35
+ ready: Schema.Boolean,
36
+ metal: Schema.Boolean,
37
+ default: Schema.Boolean,
38
+ imported: Schema.Boolean,
39
+ vector_pool_allocation: Schema.NullOr(Schema.Number),
40
+ node_ttl_strategy: Schema.Literals([
41
+ "node_ttl_follow_maintenance",
42
+ "node_ttl_always",
43
+ "node_ttl_off",
44
+ ]),
45
+ replication_durability_constraints: Schema.Struct({
46
+ strategy: Schema.optional(Schema.Literals(["available", "lag", "always"])),
47
+ }),
48
+ vreplication_flags: Schema.Struct({
49
+ optimize_inserts: Schema.Boolean,
50
+ allow_no_blob_binlog_row_image: Schema.Boolean,
51
+ vplayer_batching: Schema.Boolean,
52
+ }),
53
+ mysqld_options: Schema.Record(Schema.String, Schema.Unknown),
54
+ vttablet_options: Schema.Record(Schema.String, Schema.Unknown),
55
+ });
56
+ export type UpdateKeyspaceOutput = typeof UpdateKeyspaceOutput.Type;
57
+
58
+ // The operation
59
+ /**
60
+ * Configure keyspace settings
61
+ *
62
+ * @param organization - The name of the organization the branch belongs to
63
+ * @param database - The name of the database the branch belongs to
64
+ * @param branch - The name of the branch
65
+ * @param keyspace - The name of the keyspace
66
+ */
67
+ export const updateKeyspace = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
68
+ inputSchema: UpdateKeyspaceInput,
69
+ outputSchema: UpdateKeyspaceOutput,
70
+ errors: [Forbidden, NotFound] as const,
71
+ }));
@@ -0,0 +1,46 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
5
+
6
+ // Input Schema
7
+ export const UpdateKeyspaceVschemaInput =
8
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
9
+ organization: Schema.String.pipe(T.PathParam()),
10
+ database: Schema.String.pipe(T.PathParam()),
11
+ branch: Schema.String.pipe(T.PathParam()),
12
+ keyspace: Schema.String.pipe(T.PathParam()),
13
+ vschema: Schema.String,
14
+ }).pipe(
15
+ T.Http({
16
+ method: "PATCH",
17
+ path: "/organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/vschema",
18
+ }),
19
+ );
20
+ export type UpdateKeyspaceVschemaInput = typeof UpdateKeyspaceVschemaInput.Type;
21
+
22
+ // Output Schema
23
+ export const UpdateKeyspaceVschemaOutput =
24
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25
+ raw: Schema.String,
26
+ });
27
+ export type UpdateKeyspaceVschemaOutput =
28
+ typeof UpdateKeyspaceVschemaOutput.Type;
29
+
30
+ // The operation
31
+ /**
32
+ * Update the VSchema for the keyspace
33
+ *
34
+ * @param organization - The name of the organization the branch belongs to
35
+ * @param database - The name of the database the branch belongs to
36
+ * @param branch - The name of the branch
37
+ * @param keyspace - The name of the keyspace
38
+ * @param vschema - The new VSchema for the keyspace
39
+ */
40
+ export const updateKeyspaceVschema = /*@__PURE__*/ /*#__PURE__*/ API.make(
41
+ () => ({
42
+ inputSchema: UpdateKeyspaceVschemaInput,
43
+ outputSchema: UpdateKeyspaceVschemaOutput,
44
+ errors: [Forbidden, NotFound, UnprocessableEntity] as const,
45
+ }),
46
+ );