@distilled.cloud/planetscale 0.10.1 → 0.11.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 (330) hide show
  1. package/lib/client.d.ts +2 -2
  2. package/lib/operations/addOrganizationTeamMember.d.ts +79 -1
  3. package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -1
  4. package/lib/operations/cancelBouncerResizeRequest.d.ts +7 -1
  5. package/lib/operations/cancelBouncerResizeRequest.d.ts.map +1 -1
  6. package/lib/operations/cancelBranchChangeRequest.d.ts +6 -1
  7. package/lib/operations/cancelBranchChangeRequest.d.ts.map +1 -1
  8. package/lib/operations/cancelDeployRequest.d.ts +148 -1
  9. package/lib/operations/cancelDeployRequest.d.ts.map +1 -1
  10. package/lib/operations/checkDeployRequestStorage.d.ts +22 -1
  11. package/lib/operations/checkDeployRequestStorage.d.ts.map +1 -1
  12. package/lib/operations/closeDeployRequest.d.ts +149 -1
  13. package/lib/operations/closeDeployRequest.d.ts.map +1 -1
  14. package/lib/operations/completeErroredDeploy.d.ts +148 -1
  15. package/lib/operations/completeErroredDeploy.d.ts.map +1 -1
  16. package/lib/operations/completeGatedDeployRequest.d.ts +148 -1
  17. package/lib/operations/completeGatedDeployRequest.d.ts.map +1 -1
  18. package/lib/operations/completeRevert.d.ts +148 -1
  19. package/lib/operations/completeRevert.d.ts.map +1 -1
  20. package/lib/operations/createBackup.d.ts +70 -1
  21. package/lib/operations/createBackup.d.ts.map +1 -1
  22. package/lib/operations/createBackupPolicy.d.ts +31 -1
  23. package/lib/operations/createBackupPolicy.d.ts.map +1 -1
  24. package/lib/operations/createBouncer.d.ts +63 -1
  25. package/lib/operations/createBouncer.d.ts.map +1 -1
  26. package/lib/operations/createBranch.d.ts +73 -1
  27. package/lib/operations/createBranch.d.ts.map +1 -1
  28. package/lib/operations/createDatabase.d.ts +75 -1
  29. package/lib/operations/createDatabase.d.ts.map +1 -1
  30. package/lib/operations/createDatabasePostgresCidr.d.ts +21 -1
  31. package/lib/operations/createDatabasePostgresCidr.d.ts.map +1 -1
  32. package/lib/operations/createDeployRequest.d.ts +152 -1
  33. package/lib/operations/createDeployRequest.d.ts.map +1 -1
  34. package/lib/operations/createKeyspace.d.ts +44 -1
  35. package/lib/operations/createKeyspace.d.ts.map +1 -1
  36. package/lib/operations/createOauthToken.d.ts +88 -1
  37. package/lib/operations/createOauthToken.d.ts.map +1 -1
  38. package/lib/operations/createOrganizationTeam.d.ts +47 -1
  39. package/lib/operations/createOrganizationTeam.d.ts.map +1 -1
  40. package/lib/operations/createPassword.d.ts +54 -1
  41. package/lib/operations/createPassword.d.ts.map +1 -1
  42. package/lib/operations/createQueryPatternsReport.d.ts +18 -1
  43. package/lib/operations/createQueryPatternsReport.d.ts.map +1 -1
  44. package/lib/operations/createRole.d.ts +47 -1
  45. package/lib/operations/createRole.d.ts.map +1 -1
  46. package/lib/operations/createServiceToken.d.ts +83 -1
  47. package/lib/operations/createServiceToken.d.ts.map +1 -1
  48. package/lib/operations/createTrafficBudget.d.ts +50 -1
  49. package/lib/operations/createTrafficBudget.d.ts.map +1 -1
  50. package/lib/operations/createTrafficRule.d.ts +30 -1
  51. package/lib/operations/createTrafficRule.d.ts.map +1 -1
  52. package/lib/operations/createWebhook.d.ts +19 -1
  53. package/lib/operations/createWebhook.d.ts.map +1 -1
  54. package/lib/operations/createWorkflow.d.ts +118 -1
  55. package/lib/operations/createWorkflow.d.ts.map +1 -1
  56. package/lib/operations/deleteBackup.d.ts +7 -1
  57. package/lib/operations/deleteBackup.d.ts.map +1 -1
  58. package/lib/operations/deleteBackupPolicy.d.ts +6 -1
  59. package/lib/operations/deleteBackupPolicy.d.ts.map +1 -1
  60. package/lib/operations/deleteBouncer.d.ts +7 -1
  61. package/lib/operations/deleteBouncer.d.ts.map +1 -1
  62. package/lib/operations/deleteBranch.d.ts +7 -1
  63. package/lib/operations/deleteBranch.d.ts.map +1 -1
  64. package/lib/operations/deleteDatabase.d.ts +5 -1
  65. package/lib/operations/deleteDatabase.d.ts.map +1 -1
  66. package/lib/operations/deleteDatabasePostgresCidr.d.ts +6 -1
  67. package/lib/operations/deleteDatabasePostgresCidr.d.ts.map +1 -1
  68. package/lib/operations/deleteKeyspace.d.ts +7 -1
  69. package/lib/operations/deleteKeyspace.d.ts.map +1 -1
  70. package/lib/operations/deleteOauthToken.d.ts +6 -1
  71. package/lib/operations/deleteOauthToken.d.ts.map +1 -1
  72. package/lib/operations/deleteOrganizationTeam.d.ts +5 -1
  73. package/lib/operations/deleteOrganizationTeam.d.ts.map +1 -1
  74. package/lib/operations/deletePassword.d.ts +7 -1
  75. package/lib/operations/deletePassword.d.ts.map +1 -1
  76. package/lib/operations/deleteQueryPatternsReport.d.ts +7 -1
  77. package/lib/operations/deleteQueryPatternsReport.d.ts.map +1 -1
  78. package/lib/operations/deleteRole.d.ts +8 -1
  79. package/lib/operations/deleteRole.d.ts.map +1 -1
  80. package/lib/operations/deleteServiceToken.d.ts +5 -1
  81. package/lib/operations/deleteServiceToken.d.ts.map +1 -1
  82. package/lib/operations/deleteTrafficBudget.d.ts +7 -1
  83. package/lib/operations/deleteTrafficBudget.d.ts.map +1 -1
  84. package/lib/operations/deleteTrafficRule.d.ts +8 -1
  85. package/lib/operations/deleteTrafficRule.d.ts.map +1 -1
  86. package/lib/operations/deleteWebhook.d.ts +6 -1
  87. package/lib/operations/deleteWebhook.d.ts.map +1 -1
  88. package/lib/operations/demoteBranch.d.ts +62 -1
  89. package/lib/operations/demoteBranch.d.ts.map +1 -1
  90. package/lib/operations/disableSafeMigrations.d.ts +62 -1
  91. package/lib/operations/disableSafeMigrations.d.ts.map +1 -1
  92. package/lib/operations/dismissSchemaRecommendation.d.ts +31 -1
  93. package/lib/operations/dismissSchemaRecommendation.d.ts.map +1 -1
  94. package/lib/operations/enableSafeMigrations.d.ts +62 -1
  95. package/lib/operations/enableSafeMigrations.d.ts.map +1 -1
  96. package/lib/operations/getBackup.d.ts +67 -1
  97. package/lib/operations/getBackup.d.ts.map +1 -1
  98. package/lib/operations/getBackupPolicy.d.ts +23 -1
  99. package/lib/operations/getBackupPolicy.d.ts.map +1 -1
  100. package/lib/operations/getBouncer.d.ts +60 -1
  101. package/lib/operations/getBouncer.d.ts.map +1 -1
  102. package/lib/operations/getBranch.d.ts +62 -1
  103. package/lib/operations/getBranch.d.ts.map +1 -1
  104. package/lib/operations/getBranchChangeRequest.d.ts +48 -1
  105. package/lib/operations/getBranchChangeRequest.d.ts.map +1 -1
  106. package/lib/operations/getBranchSchema.d.ts +14 -1
  107. package/lib/operations/getBranchSchema.d.ts.map +1 -1
  108. package/lib/operations/getCurrentUser.d.ts +22 -1
  109. package/lib/operations/getCurrentUser.d.ts.map +1 -1
  110. package/lib/operations/getDatabase.d.ts +66 -1
  111. package/lib/operations/getDatabase.d.ts.map +1 -1
  112. package/lib/operations/getDatabasePostgresCidr.d.ts +19 -1
  113. package/lib/operations/getDatabasePostgresCidr.d.ts.map +1 -1
  114. package/lib/operations/getDatabaseThrottler.d.ts +18 -1
  115. package/lib/operations/getDatabaseThrottler.d.ts.map +1 -1
  116. package/lib/operations/getDefaultRole.d.ts +42 -1
  117. package/lib/operations/getDefaultRole.d.ts.map +1 -1
  118. package/lib/operations/getDeployQueue.d.ts +119 -1
  119. package/lib/operations/getDeployQueue.d.ts.map +1 -1
  120. package/lib/operations/getDeployRequest.d.ts +148 -1
  121. package/lib/operations/getDeployRequest.d.ts.map +1 -1
  122. package/lib/operations/getDeployRequestThrottler.d.ts +19 -1
  123. package/lib/operations/getDeployRequestThrottler.d.ts.map +1 -1
  124. package/lib/operations/getDeployment.d.ts +111 -1
  125. package/lib/operations/getDeployment.d.ts.map +1 -1
  126. package/lib/operations/getInvoice.d.ts +12 -1
  127. package/lib/operations/getInvoice.d.ts.map +1 -1
  128. package/lib/operations/getInvoiceLineItems.d.ts +28 -1
  129. package/lib/operations/getInvoiceLineItems.d.ts.map +1 -1
  130. package/lib/operations/getKeyspace.d.ts +41 -1
  131. package/lib/operations/getKeyspace.d.ts.map +1 -1
  132. package/lib/operations/getKeyspaceRolloutStatus.d.ts +16 -1
  133. package/lib/operations/getKeyspaceRolloutStatus.d.ts.map +1 -1
  134. package/lib/operations/getKeyspaceVschema.d.ts +9 -1
  135. package/lib/operations/getKeyspaceVschema.d.ts.map +1 -1
  136. package/lib/operations/getMaintenanceSchedule.d.ts +25 -1
  137. package/lib/operations/getMaintenanceSchedule.d.ts.map +1 -1
  138. package/lib/operations/getOauthApplication.d.ts +24 -1
  139. package/lib/operations/getOauthApplication.d.ts.map +1 -1
  140. package/lib/operations/getOauthToken.d.ts +83 -1
  141. package/lib/operations/getOauthToken.d.ts.map +1 -1
  142. package/lib/operations/getOrganization.d.ts +27 -1
  143. package/lib/operations/getOrganization.d.ts.map +1 -1
  144. package/lib/operations/getOrganizationMembership.d.ts +31 -1
  145. package/lib/operations/getOrganizationMembership.d.ts.map +1 -1
  146. package/lib/operations/getOrganizationTeam.d.ts +46 -1
  147. package/lib/operations/getOrganizationTeam.d.ts.map +1 -1
  148. package/lib/operations/getOrganizationTeamMember.d.ts +79 -1
  149. package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -1
  150. package/lib/operations/getPassword.d.ts +49 -1
  151. package/lib/operations/getPassword.d.ts.map +1 -1
  152. package/lib/operations/getQueryPatternsReport.d.ts +7 -1
  153. package/lib/operations/getQueryPatternsReport.d.ts.map +1 -1
  154. package/lib/operations/getQueryPatternsReportStatus.d.ts +19 -1
  155. package/lib/operations/getQueryPatternsReportStatus.d.ts.map +1 -1
  156. package/lib/operations/getRole.d.ts +43 -1
  157. package/lib/operations/getRole.d.ts.map +1 -1
  158. package/lib/operations/getSchemaRecommendation.d.ts +30 -1
  159. package/lib/operations/getSchemaRecommendation.d.ts.map +1 -1
  160. package/lib/operations/getServiceToken.d.ts +82 -1
  161. package/lib/operations/getServiceToken.d.ts.map +1 -1
  162. package/lib/operations/getTrafficBudget.d.ts +43 -1
  163. package/lib/operations/getTrafficBudget.d.ts.map +1 -1
  164. package/lib/operations/getWebhook.d.ts +17 -1
  165. package/lib/operations/getWebhook.d.ts.map +1 -1
  166. package/lib/operations/getWorkflow.d.ts +112 -1
  167. package/lib/operations/getWorkflow.d.ts.map +1 -1
  168. package/lib/operations/lintBranchSchema.d.ts +33 -1
  169. package/lib/operations/lintBranchSchema.d.ts.map +1 -1
  170. package/lib/operations/listAuditLogs.d.ts +33 -1
  171. package/lib/operations/listAuditLogs.d.ts.map +1 -1
  172. package/lib/operations/listBackupPolicies.d.ts +31 -1
  173. package/lib/operations/listBackupPolicies.d.ts.map +1 -1
  174. package/lib/operations/listBackups.d.ts +82 -1
  175. package/lib/operations/listBackups.d.ts.map +1 -1
  176. package/lib/operations/listBouncerResizeRequests.d.ts +57 -1
  177. package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -1
  178. package/lib/operations/listBouncers.d.ts +68 -1
  179. package/lib/operations/listBouncers.d.ts.map +1 -1
  180. package/lib/operations/listBranchBouncerResizeRequests.d.ts +56 -1
  181. package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -1
  182. package/lib/operations/listBranchChangeRequests.d.ts +56 -1
  183. package/lib/operations/listBranchChangeRequests.d.ts.map +1 -1
  184. package/lib/operations/listBranches.d.ts +74 -1
  185. package/lib/operations/listBranches.d.ts.map +1 -1
  186. package/lib/operations/listClusterSizeSkus.d.ts +24 -1
  187. package/lib/operations/listClusterSizeSkus.d.ts.map +1 -1
  188. package/lib/operations/listDatabasePostgresCidrs.d.ts +27 -1
  189. package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -1
  190. package/lib/operations/listDatabaseRegions.d.ts +23 -1
  191. package/lib/operations/listDatabaseRegions.d.ts.map +1 -1
  192. package/lib/operations/listDatabases.d.ts +75 -1
  193. package/lib/operations/listDatabases.d.ts.map +1 -1
  194. package/lib/operations/listDeployOperations.d.ts +35 -1
  195. package/lib/operations/listDeployOperations.d.ts.map +1 -1
  196. package/lib/operations/listDeployRequestReviews.d.ts +27 -1
  197. package/lib/operations/listDeployRequestReviews.d.ts.map +1 -1
  198. package/lib/operations/listDeployRequests.d.ts +161 -1
  199. package/lib/operations/listDeployRequests.d.ts.map +1 -1
  200. package/lib/operations/listExtensions.d.ts +42 -1
  201. package/lib/operations/listExtensions.d.ts.map +1 -1
  202. package/lib/operations/listGeneratedQueryPatternsReports.d.ts +27 -1
  203. package/lib/operations/listGeneratedQueryPatternsReports.d.ts.map +1 -1
  204. package/lib/operations/listInvoices.d.ts +20 -1
  205. package/lib/operations/listInvoices.d.ts.map +1 -1
  206. package/lib/operations/listKeyspaces.d.ts +49 -1
  207. package/lib/operations/listKeyspaces.d.ts.map +1 -1
  208. package/lib/operations/listMaintenanceSchedules.d.ts +33 -1
  209. package/lib/operations/listMaintenanceSchedules.d.ts.map +1 -1
  210. package/lib/operations/listMaintenanceWindows.d.ts +21 -1
  211. package/lib/operations/listMaintenanceWindows.d.ts.map +1 -1
  212. package/lib/operations/listOauthApplications.d.ts +32 -1
  213. package/lib/operations/listOauthApplications.d.ts.map +1 -1
  214. package/lib/operations/listOauthTokens.d.ts +91 -1
  215. package/lib/operations/listOauthTokens.d.ts.map +1 -1
  216. package/lib/operations/listOrganizationMembers.d.ts +40 -1
  217. package/lib/operations/listOrganizationMembers.d.ts.map +1 -1
  218. package/lib/operations/listOrganizationTeamMembers.d.ts +87 -1
  219. package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -1
  220. package/lib/operations/listOrganizationTeams.d.ts +55 -1
  221. package/lib/operations/listOrganizationTeams.d.ts.map +1 -1
  222. package/lib/operations/listOrganizations.d.ts +35 -1
  223. package/lib/operations/listOrganizations.d.ts.map +1 -1
  224. package/lib/operations/listParameters.d.ts +32 -1
  225. package/lib/operations/listParameters.d.ts.map +1 -1
  226. package/lib/operations/listPasswords.d.ts +58 -1
  227. package/lib/operations/listPasswords.d.ts.map +1 -1
  228. package/lib/operations/listPublicRegions.d.ts +20 -1
  229. package/lib/operations/listPublicRegions.d.ts.map +1 -1
  230. package/lib/operations/listReadOnlyRegions.d.ts +36 -1
  231. package/lib/operations/listReadOnlyRegions.d.ts.map +1 -1
  232. package/lib/operations/listRegionsForOrganization.d.ts +22 -1
  233. package/lib/operations/listRegionsForOrganization.d.ts.map +1 -1
  234. package/lib/operations/listRoles.d.ts +51 -1
  235. package/lib/operations/listRoles.d.ts.map +1 -1
  236. package/lib/operations/listSchemaRecommendations.d.ts +39 -1
  237. package/lib/operations/listSchemaRecommendations.d.ts.map +1 -1
  238. package/lib/operations/listServiceTokens.d.ts +90 -1
  239. package/lib/operations/listServiceTokens.d.ts.map +1 -1
  240. package/lib/operations/listTrafficBudgets.d.ts +54 -1
  241. package/lib/operations/listTrafficBudgets.d.ts.map +1 -1
  242. package/lib/operations/listWebhooks.d.ts +25 -1
  243. package/lib/operations/listWebhooks.d.ts.map +1 -1
  244. package/lib/operations/listWorkflows.d.ts +121 -1
  245. package/lib/operations/listWorkflows.d.ts.map +1 -1
  246. package/lib/operations/promoteBranch.d.ts +62 -1
  247. package/lib/operations/promoteBranch.d.ts.map +1 -1
  248. package/lib/operations/queueDeployRequest.d.ts +149 -1
  249. package/lib/operations/queueDeployRequest.d.ts.map +1 -1
  250. package/lib/operations/reassignRoleObjects.d.ts +8 -1
  251. package/lib/operations/reassignRoleObjects.d.ts.map +1 -1
  252. package/lib/operations/removeOrganizationMember.d.ts +7 -1
  253. package/lib/operations/removeOrganizationMember.d.ts.map +1 -1
  254. package/lib/operations/removeOrganizationTeamMember.d.ts +7 -1
  255. package/lib/operations/removeOrganizationTeamMember.d.ts.map +1 -1
  256. package/lib/operations/renewPassword.d.ts +49 -1
  257. package/lib/operations/renewPassword.d.ts.map +1 -1
  258. package/lib/operations/renewRole.d.ts +43 -1
  259. package/lib/operations/renewRole.d.ts.map +1 -1
  260. package/lib/operations/resetDefaultRole.d.ts +42 -1
  261. package/lib/operations/resetDefaultRole.d.ts.map +1 -1
  262. package/lib/operations/resetRole.d.ts +43 -1
  263. package/lib/operations/resetRole.d.ts.map +1 -1
  264. package/lib/operations/reviewDeployRequest.d.ts +20 -1
  265. package/lib/operations/reviewDeployRequest.d.ts.map +1 -1
  266. package/lib/operations/skipRevertPeriod.d.ts +148 -1
  267. package/lib/operations/skipRevertPeriod.d.ts.map +1 -1
  268. package/lib/operations/testWebhook.d.ts +6 -1
  269. package/lib/operations/testWebhook.d.ts.map +1 -1
  270. package/lib/operations/updateAutoApply.d.ts +149 -1
  271. package/lib/operations/updateAutoApply.d.ts.map +1 -1
  272. package/lib/operations/updateAutoDeleteBranch.d.ts +149 -1
  273. package/lib/operations/updateAutoDeleteBranch.d.ts.map +1 -1
  274. package/lib/operations/updateBackup.d.ts +68 -1
  275. package/lib/operations/updateBackup.d.ts.map +1 -1
  276. package/lib/operations/updateBackupPolicy.d.ts +32 -1
  277. package/lib/operations/updateBackupPolicy.d.ts.map +1 -1
  278. package/lib/operations/updateBouncerResizeRequest.d.ts +53 -1
  279. package/lib/operations/updateBouncerResizeRequest.d.ts.map +1 -1
  280. package/lib/operations/updateBranch.d.ts +63 -1
  281. package/lib/operations/updateBranch.d.ts.map +1 -1
  282. package/lib/operations/updateBranchChangeRequest.d.ts +52 -1
  283. package/lib/operations/updateBranchChangeRequest.d.ts.map +1 -1
  284. package/lib/operations/updateBranchClusterConfig.d.ts +7 -1
  285. package/lib/operations/updateBranchClusterConfig.d.ts.map +1 -1
  286. package/lib/operations/updateDatabasePostgresCidr.d.ts +22 -1
  287. package/lib/operations/updateDatabasePostgresCidr.d.ts.map +1 -1
  288. package/lib/operations/updateDatabaseSettings.d.ts +77 -1
  289. package/lib/operations/updateDatabaseSettings.d.ts.map +1 -1
  290. package/lib/operations/updateDatabaseThrottler.d.ts +20 -1
  291. package/lib/operations/updateDatabaseThrottler.d.ts.map +1 -1
  292. package/lib/operations/updateDeployRequestThrottler.d.ts +21 -1
  293. package/lib/operations/updateDeployRequestThrottler.d.ts.map +1 -1
  294. package/lib/operations/updateKeyspace.d.ts +41 -1
  295. package/lib/operations/updateKeyspace.d.ts.map +1 -1
  296. package/lib/operations/updateKeyspaceVschema.d.ts +10 -1
  297. package/lib/operations/updateKeyspaceVschema.d.ts.map +1 -1
  298. package/lib/operations/updateOrganization.d.ts +30 -1
  299. package/lib/operations/updateOrganization.d.ts.map +1 -1
  300. package/lib/operations/updateOrganizationMembership.d.ts +32 -1
  301. package/lib/operations/updateOrganizationMembership.d.ts.map +1 -1
  302. package/lib/operations/updateOrganizationTeam.d.ts +48 -1
  303. package/lib/operations/updateOrganizationTeam.d.ts.map +1 -1
  304. package/lib/operations/updatePassword.d.ts +51 -1
  305. package/lib/operations/updatePassword.d.ts.map +1 -1
  306. package/lib/operations/updateRole.d.ts +46 -1
  307. package/lib/operations/updateRole.d.ts.map +1 -1
  308. package/lib/operations/updateTrafficBudget.d.ts +51 -1
  309. package/lib/operations/updateTrafficBudget.d.ts.map +1 -1
  310. package/lib/operations/updateWebhook.d.ts +20 -1
  311. package/lib/operations/updateWebhook.d.ts.map +1 -1
  312. package/lib/operations/verifyWorkflow.d.ts +112 -1
  313. package/lib/operations/verifyWorkflow.d.ts.map +1 -1
  314. package/lib/operations/workflowCancel.d.ts +112 -1
  315. package/lib/operations/workflowCancel.d.ts.map +1 -1
  316. package/lib/operations/workflowComplete.d.ts +112 -1
  317. package/lib/operations/workflowComplete.d.ts.map +1 -1
  318. package/lib/operations/workflowCutover.d.ts +112 -1
  319. package/lib/operations/workflowCutover.d.ts.map +1 -1
  320. package/lib/operations/workflowRetry.d.ts +112 -1
  321. package/lib/operations/workflowRetry.d.ts.map +1 -1
  322. package/lib/operations/workflowReverseCutover.d.ts +112 -1
  323. package/lib/operations/workflowReverseCutover.d.ts.map +1 -1
  324. package/lib/operations/workflowReverseTraffic.d.ts +112 -1
  325. package/lib/operations/workflowReverseTraffic.d.ts.map +1 -1
  326. package/lib/operations/workflowSwitchPrimaries.d.ts +112 -1
  327. package/lib/operations/workflowSwitchPrimaries.d.ts.map +1 -1
  328. package/lib/operations/workflowSwitchReplicas.d.ts +112 -1
  329. package/lib/operations/workflowSwitchReplicas.d.ts.map +1 -1
  330. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const EnableSafeMigrationsInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -68,5 +69,65 @@ export type EnableSafeMigrationsOutput = typeof EnableSafeMigrationsOutput.Type;
68
69
  * @param database - The name of the database the branch belongs to
69
70
  * @param branch - The name of the branch
70
71
  */
71
- export declare const enableSafeMigrations: any;
72
+ export declare const enableSafeMigrations: import("@distilled.cloud/core/client").OperationMethod<{
73
+ readonly branch: string;
74
+ readonly database: string;
75
+ readonly organization: string;
76
+ }, {
77
+ readonly actor: {
78
+ readonly avatar_url: string;
79
+ readonly display_name: string;
80
+ readonly id: string;
81
+ };
82
+ readonly cluster_iops: number | null;
83
+ readonly cluster_name: string;
84
+ readonly created_at: string;
85
+ readonly deleted_at: string | null;
86
+ readonly direct_vtgate: boolean;
87
+ readonly has_read_only_replicas: boolean;
88
+ readonly has_replicas: boolean;
89
+ readonly html_url: string;
90
+ readonly id: string;
91
+ readonly kind: "mysql" | "postgresql";
92
+ readonly metal: boolean;
93
+ readonly mysql_address: string;
94
+ readonly mysql_edge_address: string;
95
+ readonly name: string;
96
+ readonly parent_branch: string | null;
97
+ readonly private_edge_connectivity: boolean;
98
+ readonly production: boolean;
99
+ readonly ready: boolean;
100
+ readonly region: {
101
+ readonly current_default: boolean;
102
+ readonly display_name: string;
103
+ readonly enabled: boolean;
104
+ readonly id: string;
105
+ readonly location: string;
106
+ readonly provider: string;
107
+ readonly public_ip_addresses: readonly string[];
108
+ readonly slug: string;
109
+ };
110
+ readonly restore_checklist_completed_at: string | null;
111
+ readonly restored_from_branch: {
112
+ readonly created_at: string;
113
+ readonly deleted_at: string;
114
+ readonly id: string;
115
+ readonly name: string;
116
+ readonly updated_at: string;
117
+ } | null;
118
+ readonly safe_migrations: boolean;
119
+ readonly schema_last_updated_at: string;
120
+ readonly schema_ready: boolean;
121
+ readonly shard_count: number;
122
+ readonly sharded: boolean;
123
+ readonly stale_schema: boolean;
124
+ readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
125
+ readonly updated_at: string;
126
+ readonly url: string;
127
+ readonly vtgate_count: number;
128
+ readonly vtgate_options: {
129
+ readonly [x: string]: unknown;
130
+ };
131
+ readonly vtgate_size: string;
132
+ }, Forbidden | NotFound, any>;
72
133
  //# sourceMappingURL=enableSafeMigrations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enableSafeMigrations.d.ts","sourceRoot":"","sources":["../../src/operations/enableSafeMigrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,yBAAyB;;;;EAUnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,KAMhC,CAAC"}
1
+ {"version":3,"file":"enableSafeMigrations.d.ts","sourceRoot":"","sources":["../../src/operations/enableSafeMigrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,yBAAyB;;;;EAUnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAMhC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetBackupInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  readonly organization: Schema.String;
@@ -76,5 +77,70 @@ export type GetBackupOutput = typeof GetBackupOutput.Type;
76
77
  * @param database - The name of the database the branch belongs to
77
78
  * @param branch - The name of the branch
78
79
  */
79
- export declare const getBackup: any;
80
+ export declare const getBackup: import("@distilled.cloud/core/client").OperationMethod<{
81
+ readonly branch: string;
82
+ readonly database: string;
83
+ readonly id: string;
84
+ readonly organization: string;
85
+ }, {
86
+ readonly actor: {
87
+ readonly avatar_url: string;
88
+ readonly display_name: string;
89
+ readonly id: string;
90
+ };
91
+ readonly backup_policy: {
92
+ readonly created_at: string;
93
+ readonly display_name: string;
94
+ readonly frequency_unit: string;
95
+ readonly frequency_value: number;
96
+ readonly id: string;
97
+ readonly last_ran_at: string | null;
98
+ readonly name: string;
99
+ readonly next_run_at: string | null;
100
+ readonly required: boolean;
101
+ readonly retention_unit: string;
102
+ readonly retention_value: number;
103
+ readonly schedule_day: number;
104
+ readonly schedule_time: string | null;
105
+ readonly schedule_week: number;
106
+ readonly target: "development" | "production";
107
+ readonly updated_at: string;
108
+ } | null;
109
+ readonly completed_at: string | null;
110
+ readonly created_at: string;
111
+ readonly database_branch: {
112
+ readonly created_at: string;
113
+ readonly deleted_at: string | null;
114
+ readonly id: string;
115
+ readonly name: string;
116
+ readonly updated_at: string;
117
+ };
118
+ readonly deleted_at: string | null;
119
+ readonly estimated_storage_cost: number;
120
+ readonly expires_at: string | null;
121
+ readonly id: string;
122
+ readonly name: string;
123
+ readonly protected: boolean;
124
+ readonly pvc_size: number;
125
+ readonly required: boolean;
126
+ readonly restored_branches: readonly {
127
+ readonly created_at: string;
128
+ readonly deleted_at: string | null;
129
+ readonly id: string;
130
+ readonly name: string;
131
+ readonly updated_at: string;
132
+ }[];
133
+ readonly schema_snapshot: {
134
+ readonly created_at: string;
135
+ readonly id: string;
136
+ readonly linted_at: string | null;
137
+ readonly name: string;
138
+ readonly updated_at: string;
139
+ readonly url: string;
140
+ };
141
+ readonly size: number;
142
+ readonly started_at: string | null;
143
+ readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
144
+ readonly updated_at: string;
145
+ }, Forbidden | NotFound, any>;
80
146
  //# sourceMappingURL=getBackup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBackup.d.ts","sourceRoot":"","sources":["../../src/operations/getBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,cAAc;;;;;EAU1B,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAGxD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,KAInB,CAAC"}
1
+ {"version":3,"file":"getBackup.d.ts","sourceRoot":"","sources":["../../src/operations/getBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,cAAc;;;;;EAU1B,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAGxD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAInB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetBackupPolicyInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  readonly organization: Schema.String;
@@ -31,5 +32,26 @@ export type GetBackupPolicyOutput = typeof GetBackupPolicyOutput.Type;
31
32
  * @param organization - Organization name slug from `list_organizations`. Example: `acme`.
32
33
  * @param database - Database name slug from `list_databases`. Example: `app-db`.
33
34
  */
34
- export declare const getBackupPolicy: any;
35
+ export declare const getBackupPolicy: import("@distilled.cloud/core/client").OperationMethod<{
36
+ readonly database: string;
37
+ readonly id: string;
38
+ readonly organization: string;
39
+ }, {
40
+ readonly created_at: string;
41
+ readonly display_name: string;
42
+ readonly frequency_unit: string;
43
+ readonly frequency_value: number;
44
+ readonly id: string;
45
+ readonly last_ran_at: string;
46
+ readonly name: string;
47
+ readonly next_run_at: string;
48
+ readonly required: boolean;
49
+ readonly retention_unit: string;
50
+ readonly retention_value: number;
51
+ readonly schedule_day: number;
52
+ readonly schedule_time: string;
53
+ readonly schedule_week: number;
54
+ readonly target: "development" | "production";
55
+ readonly updated_at: string;
56
+ }, Forbidden | NotFound, any>;
35
57
  //# sourceMappingURL=getBackupPolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBackupPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/getBackupPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,oBAAoB;;;;EAShC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAiBhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,KAIzB,CAAC"}
1
+ {"version":3,"file":"getBackupPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/getBackupPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oBAAoB;;;;EAShC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAiBhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;6BAIzB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetBouncerInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -69,5 +70,63 @@ export type GetBouncerOutput = typeof GetBouncerOutput.Type;
69
70
  * @param branch - Branch name from `list_branches`. Example: `main`.
70
71
  * @param bouncer - The name of the bouncer
71
72
  */
72
- export declare const getBouncer: any;
73
+ export declare const getBouncer: import("@distilled.cloud/core/client").OperationMethod<{
74
+ readonly bouncer: string;
75
+ readonly branch: string;
76
+ readonly database: string;
77
+ readonly organization: string;
78
+ }, {
79
+ readonly actor: {
80
+ readonly avatar_url: string;
81
+ readonly display_name: string;
82
+ readonly id: string;
83
+ };
84
+ readonly branch: {
85
+ readonly created_at: string;
86
+ readonly deleted_at: string;
87
+ readonly id: string;
88
+ readonly name: string;
89
+ readonly updated_at: string;
90
+ };
91
+ readonly created_at: string;
92
+ readonly deleted_at: string;
93
+ readonly id: string;
94
+ readonly name: string;
95
+ readonly parameters: readonly {
96
+ readonly actor: {
97
+ readonly avatar_url: string;
98
+ readonly display_name: string;
99
+ readonly id: string;
100
+ };
101
+ readonly category: string;
102
+ readonly created_at: string;
103
+ readonly default_value: string;
104
+ readonly description: string;
105
+ readonly display_name: string;
106
+ readonly id: string;
107
+ readonly immutable: boolean;
108
+ readonly max: number;
109
+ readonly min: number;
110
+ readonly name: string;
111
+ readonly namespace: "pgbouncer";
112
+ readonly options: readonly string[];
113
+ readonly parameter_type: "array" | "integer" | "seconds" | "select" | "string";
114
+ readonly required: boolean;
115
+ readonly restart: boolean;
116
+ readonly step: number;
117
+ readonly updated_at: string;
118
+ readonly url: string;
119
+ readonly value: string;
120
+ }[];
121
+ readonly replicas_per_cell: number;
122
+ readonly sku: {
123
+ readonly cpu: string;
124
+ readonly display_name: string;
125
+ readonly name: string;
126
+ readonly ram: number;
127
+ readonly sort_order: number;
128
+ };
129
+ readonly target: "primary" | "replica" | "replica_az_affinity";
130
+ readonly updated_at: string;
131
+ }, Forbidden | NotFound, any>;
73
132
  //# sourceMappingURL=getBouncer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBouncer.d.ts","sourceRoot":"","sources":["../../src/operations/getBouncer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,eAAe;;;;;EAU3B,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,KAIpB,CAAC"}
1
+ {"version":3,"file":"getBouncer.d.ts","sourceRoot":"","sources":["../../src/operations/getBouncer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,eAAe;;;;;EAU3B,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAIpB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetBranchInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -68,5 +69,65 @@ export type GetBranchOutput = typeof GetBranchOutput.Type;
68
69
  * @param database - Database name slug from `list_databases`. Example: `app-db`.
69
70
  * @param branch - Branch name from `list_branches`. Example: `main`.
70
71
  */
71
- export declare const getBranch: any;
72
+ export declare const getBranch: import("@distilled.cloud/core/client").OperationMethod<{
73
+ readonly branch: string;
74
+ readonly database: string;
75
+ readonly organization: string;
76
+ }, {
77
+ readonly actor: {
78
+ readonly avatar_url: string;
79
+ readonly display_name: string;
80
+ readonly id: string;
81
+ };
82
+ readonly cluster_iops: number | null;
83
+ readonly cluster_name: string;
84
+ readonly created_at: string;
85
+ readonly deleted_at: string | null;
86
+ readonly direct_vtgate: boolean;
87
+ readonly has_read_only_replicas: boolean;
88
+ readonly has_replicas: boolean;
89
+ readonly html_url: string;
90
+ readonly id: string;
91
+ readonly kind: "mysql" | "postgresql";
92
+ readonly metal: boolean;
93
+ readonly mysql_address: string;
94
+ readonly mysql_edge_address: string;
95
+ readonly name: string;
96
+ readonly parent_branch: string | null;
97
+ readonly private_edge_connectivity: boolean;
98
+ readonly production: boolean;
99
+ readonly ready: boolean;
100
+ readonly region: {
101
+ readonly current_default: boolean;
102
+ readonly display_name: string;
103
+ readonly enabled: boolean;
104
+ readonly id: string;
105
+ readonly location: string;
106
+ readonly provider: string;
107
+ readonly public_ip_addresses: readonly string[];
108
+ readonly slug: string;
109
+ };
110
+ readonly restore_checklist_completed_at: string | null;
111
+ readonly restored_from_branch: {
112
+ readonly created_at: string;
113
+ readonly deleted_at: string;
114
+ readonly id: string;
115
+ readonly name: string;
116
+ readonly updated_at: string;
117
+ } | null;
118
+ readonly safe_migrations: boolean;
119
+ readonly schema_last_updated_at: string;
120
+ readonly schema_ready: boolean;
121
+ readonly shard_count: number;
122
+ readonly sharded: boolean;
123
+ readonly stale_schema: boolean;
124
+ readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
125
+ readonly updated_at: string;
126
+ readonly url: string;
127
+ readonly vtgate_count: number;
128
+ readonly vtgate_options: {
129
+ readonly [x: string]: unknown;
130
+ };
131
+ readonly vtgate_size: string;
132
+ }, Forbidden | NotFound, any>;
72
133
  //# sourceMappingURL=getBranch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBranch.d.ts","sourceRoot":"","sources":["../../src/operations/getBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,cAAc;;;;EAS1B,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAGxD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8D1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,KAInB,CAAC"}
1
+ {"version":3,"file":"getBranch.d.ts","sourceRoot":"","sources":["../../src/operations/getBranch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,cAAc;;;;EAS1B,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;AAGxD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8D1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAInB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetBranchChangeRequestInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -53,5 +54,51 @@ export type GetBranchChangeRequestOutput = typeof GetBranchChangeRequestOutput.T
53
54
  * @param branch - Branch name from `list_branches`. Example: `main`.
54
55
  * @param id - The ID of the change request
55
56
  */
56
- export declare const getBranchChangeRequest: any;
57
+ export declare const getBranchChangeRequest: import("@distilled.cloud/core/client").OperationMethod<{
58
+ readonly branch: string;
59
+ readonly database: string;
60
+ readonly id: string;
61
+ readonly organization: string;
62
+ }, {
63
+ readonly actor: {
64
+ readonly avatar_url: string;
65
+ readonly display_name: string;
66
+ readonly id: string;
67
+ };
68
+ readonly cluster_display_name: string;
69
+ readonly cluster_metal: boolean;
70
+ readonly cluster_name: string;
71
+ readonly completed_at: string;
72
+ readonly created_at: string;
73
+ readonly id: string;
74
+ readonly maximum_storage_bytes: number;
75
+ readonly minimum_storage_bytes: number;
76
+ readonly parameters: {
77
+ readonly [x: string]: unknown;
78
+ };
79
+ readonly previous_cluster_display_name: string;
80
+ readonly previous_cluster_metal: boolean;
81
+ readonly previous_cluster_name: string;
82
+ readonly previous_maximum_storage_bytes: number;
83
+ readonly previous_minimum_storage_bytes: number;
84
+ readonly previous_parameters: {
85
+ readonly [x: string]: unknown;
86
+ };
87
+ readonly previous_replicas: number;
88
+ readonly previous_storage_autoscaling: boolean;
89
+ readonly previous_storage_iops: number;
90
+ readonly previous_storage_shrinking: boolean;
91
+ readonly previous_storage_throughput_mibs: number;
92
+ readonly previous_storage_type: string;
93
+ readonly replicas: number;
94
+ readonly restart: readonly number[];
95
+ readonly started_at: string;
96
+ readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
97
+ readonly storage_autoscaling: boolean;
98
+ readonly storage_iops: number;
99
+ readonly storage_shrinking: boolean;
100
+ readonly storage_throughput_mibs: number;
101
+ readonly storage_type: "gp3" | "io2" | "pd_ssd";
102
+ readonly updated_at: string;
103
+ }, Forbidden | NotFound, any>;
57
104
  //# sourceMappingURL=getBranchChangeRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBranchChangeRequest.d.ts","sourceRoot":"","sources":["../../src/operations/getBranchChangeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,2BAA2B;;;;;EAWrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,KAMlC,CAAC"}
1
+ {"version":3,"file":"getBranchChangeRequest.d.ts","sourceRoot":"","sources":["../../src/operations/getBranchChangeRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,2BAA2B;;;;;EAWrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAMlC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetBranchSchemaInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -24,5 +25,17 @@ export type GetBranchSchemaOutput = typeof GetBranchSchemaOutput.Type;
24
25
  * @param keyspace - Return the schema for a single Vitess keyspace
25
26
  * @param namespace - Return the schema for a PostgreSQL catalog namespace in `<database>.<schema>` format (e.g. public.schema1)
26
27
  */
27
- export declare const getBranchSchema: any;
28
+ export declare const getBranchSchema: import("@distilled.cloud/core/client").OperationMethod<{
29
+ readonly branch: string;
30
+ readonly database: string;
31
+ readonly keyspace?: string | undefined;
32
+ readonly namespace?: string | undefined;
33
+ readonly organization: string;
34
+ }, {
35
+ readonly data: readonly {
36
+ readonly html: string;
37
+ readonly name: string;
38
+ readonly raw: string;
39
+ }[];
40
+ }, Forbidden | NotFound, any>;
28
41
  //# sourceMappingURL=getBranchSchema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBranchSchema.d.ts","sourceRoot":"","sources":["../../src/operations/getBranchSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,oBAAoB;;;;;;EAWhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;EAQhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,KAIzB,CAAC"}
1
+ {"version":3,"file":"getBranchSchema.d.ts","sourceRoot":"","sources":["../../src/operations/getBranchSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oBAAoB;;;;;;EAWhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;EAQhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;6BAIzB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetCurrentUserInput: Schema.Struct<{}>;
3
4
  export type GetCurrentUserInput = typeof GetCurrentUserInput.Type;
4
5
  export declare const GetCurrentUserOutput: Schema.Struct<{
@@ -28,5 +29,25 @@ export type GetCurrentUserOutput = typeof GetCurrentUserOutput.Type;
28
29
  *
29
30
  * Get the user associated with this service token
30
31
  */
31
- export declare const getCurrentUser: any;
32
+ export declare const getCurrentUser: import("@distilled.cloud/core/client").OperationMethod<{}, {
33
+ readonly avatar_url: string;
34
+ readonly created_at: string;
35
+ readonly default_organization?: {
36
+ readonly created_at: string;
37
+ readonly deleted_at: string;
38
+ readonly id: string;
39
+ readonly name: string;
40
+ readonly updated_at: string;
41
+ } | undefined;
42
+ readonly directory_managed?: boolean | undefined;
43
+ readonly display_name: string;
44
+ readonly email: string;
45
+ readonly email_verified?: boolean | undefined;
46
+ readonly id: string;
47
+ readonly managed?: boolean | undefined;
48
+ readonly name?: string | null | undefined;
49
+ readonly sso?: boolean | undefined;
50
+ readonly two_factor_auth_configured: boolean;
51
+ readonly updated_at: string;
52
+ }, Forbidden | NotFound, any>;
32
53
  //# sourceMappingURL=getCurrentUser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../src/operations/getCurrentUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,mBAAmB,mBAEgB,CAAC;AACjD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;EAsB/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,cAAc,KAIxB,CAAC"}
1
+ {"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../src/operations/getCurrentUser.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,mBAAmB,mBAEgB,CAAC;AACjD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;EAsB/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;6BAIxB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetDatabaseInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -73,5 +74,69 @@ export type GetDatabaseOutput = typeof GetDatabaseOutput.Type;
73
74
  * @param organization - Organization name slug from `list_organizations`. Example: `acme`.
74
75
  * @param database - Database name slug from `list_databases`. Example: `app-db`.
75
76
  */
76
- export declare const getDatabase: any;
77
+ export declare const getDatabase: import("@distilled.cloud/core/client").OperationMethod<{
78
+ readonly database: string;
79
+ readonly organization: string;
80
+ }, {
81
+ readonly allow_data_branching?: boolean | undefined;
82
+ readonly at_backup_restore_branches_limit?: boolean | undefined;
83
+ readonly at_development_branch_usage_limit?: boolean | undefined;
84
+ readonly automatic_migrations?: boolean | null | undefined;
85
+ readonly branches_count?: number | undefined;
86
+ readonly branches_url: string;
87
+ readonly config_change_queued?: boolean | undefined;
88
+ readonly config_changing?: boolean | undefined;
89
+ readonly created_at: string;
90
+ readonly data_import?: {
91
+ readonly data_source: {
92
+ readonly database: string;
93
+ readonly hostname: string;
94
+ readonly port: number;
95
+ };
96
+ readonly finished_at: string;
97
+ readonly import_check_errors: string;
98
+ readonly started_at: string;
99
+ readonly state: string;
100
+ } | null | undefined;
101
+ readonly default_branch?: string | undefined;
102
+ readonly default_branch_read_only_regions_count?: number | undefined;
103
+ readonly default_branch_shard_count?: number | undefined;
104
+ readonly default_branch_table_count?: number | undefined;
105
+ readonly development_branches_count?: number | undefined;
106
+ readonly foreign_keys_enabled?: boolean | undefined;
107
+ readonly html_url: string;
108
+ readonly id: string;
109
+ readonly insights_enabled?: boolean | undefined;
110
+ readonly insights_raw_queries?: boolean | undefined;
111
+ readonly issues_count?: number | undefined;
112
+ readonly kind: "mysql" | "postgresql";
113
+ readonly migration_framework?: string | null | undefined;
114
+ readonly migration_table_name?: string | null | undefined;
115
+ readonly multiple_admins_required_for_deletion?: boolean | undefined;
116
+ readonly name: string;
117
+ readonly open_schema_recommendations_count?: number | undefined;
118
+ readonly plan?: string | undefined;
119
+ readonly production_branch_web_console?: boolean | undefined;
120
+ readonly production_branches_count?: number | undefined;
121
+ readonly ready: boolean;
122
+ readonly region: {
123
+ readonly current_default: boolean;
124
+ readonly display_name: string;
125
+ readonly enabled: boolean;
126
+ readonly id: string;
127
+ readonly location: string;
128
+ readonly provider: string;
129
+ readonly public_ip_addresses: readonly string[];
130
+ readonly slug: string;
131
+ };
132
+ readonly require_approval_for_deploy?: boolean | undefined;
133
+ readonly resize_queued?: boolean | undefined;
134
+ readonly resizing?: boolean | undefined;
135
+ readonly restrict_branch_region?: boolean | undefined;
136
+ readonly schema_last_updated_at?: string | undefined;
137
+ readonly sharded?: boolean | undefined;
138
+ readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
139
+ readonly updated_at: string;
140
+ readonly url: string;
141
+ }, Forbidden | NotFound, any>;
77
142
  //# sourceMappingURL=getDatabase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,gBAAgB;;;EAQ5B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,KAIrB,CAAC"}
1
+ {"version":3,"file":"getDatabase.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,gBAAgB;;;EAQ5B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAIrB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const GetDatabasePostgresCidrInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -27,5 +28,22 @@ export type GetDatabasePostgresCidrOutput = typeof GetDatabasePostgresCidrOutput
27
28
  * @param database - The name of the database
28
29
  * @param id - The ID of the IP restriction entry
29
30
  */
30
- export declare const getDatabasePostgresCidr: any;
31
+ export declare const getDatabasePostgresCidr: import("@distilled.cloud/core/client").OperationMethod<{
32
+ readonly database: string;
33
+ readonly id: string;
34
+ readonly organization: string;
35
+ }, {
36
+ readonly actor: {
37
+ readonly avatar_url: string;
38
+ readonly display_name: string;
39
+ readonly id: string;
40
+ };
41
+ readonly cidrs: readonly string[];
42
+ readonly created_at: string;
43
+ readonly deleted_at: string;
44
+ readonly id: string;
45
+ readonly role: string;
46
+ readonly schema: string;
47
+ readonly updated_at: string;
48
+ }, Forbidden | NotFound | UnprocessableEntity, any>;
31
49
  //# sourceMappingURL=getDatabasePostgresCidr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabasePostgresCidr.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabasePostgresCidr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,4BAA4B;;;;EAUtC,CAAC;AACJ,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;EActC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,KAMnC,CAAC"}
1
+ {"version":3,"file":"getDatabasePostgresCidr.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabasePostgresCidr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrE,eAAO,MAAM,4BAA4B;;;;EAUtC,CAAC;AACJ,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;EActC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;mDAMnC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const GetDatabaseThrottlerInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -25,5 +26,21 @@ export type GetDatabaseThrottlerOutput = typeof GetDatabaseThrottlerOutput.Type;
25
26
  * @param organization - The name of the organization that the throttled deploy requests belong to
26
27
  * @param database - The name of the database that the throttled deploy requests belong to
27
28
  */
28
- export declare const getDatabaseThrottler: any;
29
+ export declare const getDatabaseThrottler: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly database: string;
31
+ readonly organization: string;
32
+ }, {
33
+ readonly configurable: {
34
+ readonly created_at: string;
35
+ readonly deleted_at: string;
36
+ readonly id: string;
37
+ readonly name: string;
38
+ readonly updated_at: string;
39
+ };
40
+ readonly configurations: readonly {
41
+ readonly keyspace_name: string;
42
+ readonly ratio: number;
43
+ }[];
44
+ readonly keyspaces: readonly string[];
45
+ }, Forbidden | NotFound, any>;
29
46
  //# sourceMappingURL=getDatabaseThrottler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDatabaseThrottler.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabaseThrottler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,yBAAyB;;;EASnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;EAgBnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,KAMhC,CAAC"}
1
+ {"version":3,"file":"getDatabaseThrottler.d.ts","sourceRoot":"","sources":["../../src/operations/getDatabaseThrottler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,yBAAyB;;;EASnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;EAgBnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;6BAMhC,CAAC"}