@distilled.cloud/planetscale 0.10.2 → 0.12.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 { BadRequest, Forbidden, NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const CreateOrganizationTeamInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly name: Schema.String;
@@ -55,5 +56,50 @@ export type CreateOrganizationTeamOutput = typeof CreateOrganizationTeamOutput.T
55
56
  * @param name - The name of the team
56
57
  * @param description - A description of the team's purpose
57
58
  */
58
- export declare const createOrganizationTeam: any;
59
+ export declare const createOrganizationTeam: import("@distilled.cloud/core/client").OperationMethod<{
60
+ readonly description?: string | undefined;
61
+ readonly name: string;
62
+ readonly organization: string;
63
+ }, {
64
+ readonly created_at: string;
65
+ readonly creator: {
66
+ readonly avatar_url: string;
67
+ readonly display_name: string;
68
+ readonly id: string;
69
+ };
70
+ readonly databases: readonly {
71
+ readonly branches_url: string;
72
+ readonly id: string;
73
+ readonly name: string;
74
+ readonly url: string;
75
+ }[];
76
+ readonly description: string;
77
+ readonly display_name: string;
78
+ readonly id: string;
79
+ readonly managed: boolean;
80
+ readonly members: readonly {
81
+ readonly avatar_url: string;
82
+ readonly created_at: string;
83
+ readonly default_organization: {
84
+ readonly created_at: string;
85
+ readonly deleted_at: string;
86
+ readonly id: string;
87
+ readonly name: string;
88
+ readonly updated_at: string;
89
+ };
90
+ readonly directory_managed: boolean;
91
+ readonly display_name: string;
92
+ readonly email: string;
93
+ readonly email_verified: boolean;
94
+ readonly id: string;
95
+ readonly managed: boolean;
96
+ readonly name: string;
97
+ readonly sso: boolean;
98
+ readonly two_factor_auth_configured: boolean;
99
+ readonly updated_at: string;
100
+ }[];
101
+ readonly name: string;
102
+ readonly slug: string;
103
+ readonly updated_at: string;
104
+ }, BadRequest | Forbidden | NotFound | UnprocessableEntity, any>;
59
105
  //# sourceMappingURL=createOrganizationTeam.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createOrganizationTeam.d.ts","sourceRoot":"","sources":["../../src/operations/createOrganizationTeam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAWxC,eAAO,MAAM,2BAA2B;;;;EAOrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,KAMlC,CAAC"}
1
+ {"version":3,"file":"createOrganizationTeam.d.ts","sourceRoot":"","sources":["../../src/operations/createOrganizationTeam.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,mBAAmB,EACpB,MAAM,WAAW,CAAC;AAGnB,eAAO,MAAM,2BAA2B;;;;EAOrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAMlC,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 CreatePasswordInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -68,5 +69,57 @@ export type CreatePasswordOutput = typeof CreatePasswordOutput.Type;
68
69
  * @param cidrs - List of IP addresses or CIDR ranges that can use this password
69
70
  * @param direct_vtgate - Whether the password connects directly to a VTGate
70
71
  */
71
- export declare const createPassword: any;
72
+ export declare const createPassword: import("@distilled.cloud/core/client").OperationMethod<{
73
+ readonly branch: string;
74
+ readonly cidrs?: readonly string[] | undefined;
75
+ readonly database: string;
76
+ readonly direct_vtgate?: boolean | undefined;
77
+ readonly name?: string | undefined;
78
+ readonly organization: string;
79
+ readonly replica?: boolean | undefined;
80
+ readonly role?: "admin" | "reader" | "readwriter" | "writer" | undefined;
81
+ readonly ttl?: number | undefined;
82
+ }, {
83
+ readonly access_host_regional_url: string;
84
+ readonly access_host_regional_urls: readonly string[];
85
+ readonly access_host_url: string;
86
+ readonly actor: {
87
+ readonly avatar_url: string;
88
+ readonly display_name: string;
89
+ readonly id: string;
90
+ };
91
+ readonly cidrs: readonly string[] | null;
92
+ readonly created_at: string;
93
+ readonly database_branch: {
94
+ readonly id: string;
95
+ readonly mysql_edge_address: string;
96
+ readonly name: string;
97
+ readonly private_edge_connectivity: boolean;
98
+ readonly production: boolean;
99
+ };
100
+ readonly deleted_at: string | null;
101
+ readonly direct_vtgate: boolean;
102
+ readonly direct_vtgate_addresses: readonly string[];
103
+ readonly expired: boolean;
104
+ readonly expires_at: string | null;
105
+ readonly id: string;
106
+ readonly last_used_at: string | null;
107
+ readonly name: string;
108
+ readonly plain_text: string | import("effect/Redacted").Redacted<string> | null;
109
+ readonly region: {
110
+ readonly current_default: boolean;
111
+ readonly display_name: string;
112
+ readonly enabled: boolean;
113
+ readonly id: string;
114
+ readonly location: string;
115
+ readonly provider: string;
116
+ readonly public_ip_addresses: readonly string[];
117
+ readonly slug: string;
118
+ };
119
+ readonly renewable: boolean;
120
+ readonly replica: boolean;
121
+ readonly role: "admin" | "reader" | "readwriter" | "writer";
122
+ readonly ttl_seconds: number | null;
123
+ readonly username: string;
124
+ }, Forbidden | NotFound | UnprocessableEntity, any>;
72
125
  //# sourceMappingURL=createPassword.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPassword.d.ts","sourceRoot":"","sources":["../../src/operations/createPassword.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,mBAAmB;;;;;;;;;;EAiB/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0C/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,KAIxB,CAAC"}
1
+ {"version":3,"file":"createPassword.d.ts","sourceRoot":"","sources":["../../src/operations/createPassword.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAIrE,eAAO,MAAM,mBAAmB;;;;;;;;;;EAiB/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0C/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAIxB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const CreateQueryPatternsReportInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -26,5 +27,21 @@ export type CreateQueryPatternsReportOutput = typeof CreateQueryPatternsReportOu
26
27
  * @param database - The name of the database the branch belongs to
27
28
  * @param branch - The name of the branch
28
29
  */
29
- export declare const createQueryPatternsReport: any;
30
+ export declare const createQueryPatternsReport: import("@distilled.cloud/core/client").OperationMethod<{
31
+ readonly branch: string;
32
+ readonly database: string;
33
+ readonly organization: string;
34
+ }, {
35
+ readonly actor: {
36
+ readonly avatar_url: string;
37
+ readonly display_name: string;
38
+ readonly id: string;
39
+ };
40
+ readonly created_at: string;
41
+ readonly download_url: string;
42
+ readonly finished_at: string;
43
+ readonly id: string;
44
+ readonly state: "completed" | "failed" | "pending";
45
+ readonly url: string;
46
+ }, Forbidden | NotFound, any>;
30
47
  //# sourceMappingURL=createQueryPatternsReport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createQueryPatternsReport.d.ts","sourceRoot":"","sources":["../../src/operations/createQueryPatternsReport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,8BAA8B;;;;EAUxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAaxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,KAMrC,CAAC"}
1
+ {"version":3,"file":"createQueryPatternsReport.d.ts","sourceRoot":"","sources":["../../src/operations/createQueryPatternsReport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,8BAA8B;;;;EAUxC,CAAC;AACJ,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAaxC,CAAC;AACL,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;6BAMrC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const CreateRoleInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -60,5 +61,50 @@ export type CreateRoleOutput = typeof CreateRoleOutput.Type;
60
61
  * @param require_where_on_delete - Require WHERE clause on DELETE statements
61
62
  * @param require_where_on_update - Require WHERE clause on UPDATE statements
62
63
  */
63
- export declare const createRole: any;
64
+ export declare const createRole: import("@distilled.cloud/core/client").OperationMethod<{
65
+ readonly branch: string;
66
+ readonly database: string;
67
+ readonly inherited_roles?: readonly ("pg_checkpoint" | "pg_create_subscription" | "pg_maintain" | "pg_monitor" | "pg_read_all_data" | "pg_read_all_settings" | "pg_read_all_stats" | "pg_signal_backend" | "pg_stat_scan_tables" | "pg_use_reserved_connections" | "pg_write_all_data" | "postgres" | "pscale_managed")[] | undefined;
68
+ readonly name?: string | undefined;
69
+ readonly organization: string;
70
+ readonly require_where_on_delete?: string | undefined;
71
+ readonly require_where_on_update?: string | undefined;
72
+ readonly ttl?: number | undefined;
73
+ }, {
74
+ readonly access_host_url: string;
75
+ readonly actor: {
76
+ readonly avatar_url: string;
77
+ readonly display_name: string;
78
+ readonly id: string;
79
+ };
80
+ readonly branch: {
81
+ readonly created_at: string;
82
+ readonly deleted_at: string;
83
+ readonly id: string;
84
+ readonly name: string;
85
+ readonly updated_at: string;
86
+ };
87
+ readonly created_at: string;
88
+ readonly database_name: string;
89
+ readonly default: boolean;
90
+ readonly deleted_at: string;
91
+ readonly disabled_at: string;
92
+ readonly drop_failed: string;
93
+ readonly dropped_at: string;
94
+ readonly expired: boolean;
95
+ readonly expires_at: string;
96
+ readonly id: string;
97
+ readonly inherited_roles: readonly ("pg_checkpoint" | "pg_create_subscription" | "pg_maintain" | "pg_monitor" | "pg_read_all_data" | "pg_read_all_settings" | "pg_read_all_stats" | "pg_signal_backend" | "pg_stat_scan_tables" | "pg_use_reserved_connections" | "pg_write_all_data" | "postgres" | "pscale_managed")[];
98
+ readonly name: string;
99
+ readonly password: string | import("effect/Redacted").Redacted<string>;
100
+ readonly private_access_host_url: string;
101
+ readonly private_connection_service_name: string;
102
+ readonly query_safety_settings: {
103
+ readonly require_where_on_delete: "off" | "on" | "warn";
104
+ readonly require_where_on_update: "off" | "on" | "warn";
105
+ };
106
+ readonly ttl: number;
107
+ readonly updated_at: string;
108
+ readonly username: string;
109
+ }, Forbidden | NotFound, any>;
64
110
  //# sourceMappingURL=createRole.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createRole.d.ts","sourceRoot":"","sources":["../../src/operations/createRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,eAAe;;;;;;;;;EAgC3B,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoD3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,KAIpB,CAAC"}
1
+ {"version":3,"file":"createRole.d.ts","sourceRoot":"","sources":["../../src/operations/createRole.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,eAAe;;;;;;;;;EAgC3B,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoD3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D;;;;;;;;;;;GAWG;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 CreateServiceTokenInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly name: Schema.optional<Schema.String>;
@@ -93,5 +94,86 @@ export type CreateServiceTokenOutput = typeof CreateServiceTokenOutput.Type;
93
94
  * @param name - The name of the service token
94
95
  * @param ttl - Time to live (in seconds) for the service token. The token will be invalid when TTL has passed
95
96
  */
96
- export declare const createServiceToken: any;
97
+ export declare const createServiceToken: import("@distilled.cloud/core/client").OperationMethod<{
98
+ readonly name?: string | undefined;
99
+ readonly organization: string;
100
+ readonly ttl?: number | undefined;
101
+ }, {
102
+ readonly actor_display_name: string;
103
+ readonly actor_id: string;
104
+ readonly actor_type: string;
105
+ readonly avatar_url: string;
106
+ readonly created_at: string;
107
+ readonly display_name: string;
108
+ readonly expires_at?: string | null | undefined;
109
+ readonly id: string;
110
+ readonly last_used_at?: string | null | undefined;
111
+ readonly name?: string | null | undefined;
112
+ readonly oauth_accesses_by_resource?: {
113
+ readonly branch: {
114
+ readonly accesses: readonly {
115
+ readonly description: string;
116
+ readonly name: string;
117
+ }[];
118
+ readonly branches: readonly {
119
+ readonly database: string;
120
+ readonly id: string;
121
+ readonly name: string;
122
+ readonly organization: string;
123
+ readonly url: string;
124
+ }[];
125
+ };
126
+ readonly database: {
127
+ readonly accesses: readonly {
128
+ readonly description: string;
129
+ readonly name: string;
130
+ }[];
131
+ readonly databases: readonly {
132
+ readonly id: string;
133
+ readonly name: string;
134
+ readonly organization: string;
135
+ readonly url: string;
136
+ }[];
137
+ };
138
+ readonly organization: {
139
+ readonly accesses: readonly {
140
+ readonly description: string;
141
+ readonly name: string;
142
+ }[];
143
+ readonly organizations: readonly {
144
+ readonly id: string;
145
+ readonly name: string;
146
+ readonly url: string;
147
+ }[];
148
+ };
149
+ readonly user: {
150
+ readonly accesses: readonly {
151
+ readonly description: string;
152
+ readonly name: string;
153
+ }[];
154
+ readonly users: readonly {
155
+ readonly id: string;
156
+ readonly name: string;
157
+ }[];
158
+ };
159
+ } | undefined;
160
+ readonly plain_text_refresh_token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
161
+ readonly service_token_accesses?: readonly {
162
+ readonly access: string;
163
+ readonly description: string;
164
+ readonly id: string;
165
+ readonly resource: {
166
+ readonly created_at: string;
167
+ readonly deleted_at: string;
168
+ readonly id: string;
169
+ readonly name: string;
170
+ readonly updated_at: string;
171
+ };
172
+ readonly resource_id: string;
173
+ readonly resource_name: string;
174
+ readonly resource_type: string;
175
+ }[] | undefined;
176
+ readonly token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
177
+ readonly updated_at: string;
178
+ }, Forbidden | NotFound, any>;
97
179
  //# sourceMappingURL=createServiceToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createServiceToken.d.ts","sourceRoot":"","sources":["../../src/operations/createServiceToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,uBAAuB;;;;EAUjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoGjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,KAI5B,CAAC"}
1
+ {"version":3,"file":"createServiceToken.d.ts","sourceRoot":"","sources":["../../src/operations/createServiceToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,uBAAuB;;;;EAUjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoGjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAI5B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const CreateTrafficBudgetInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -66,5 +67,53 @@ export type CreateTrafficBudgetOutput = typeof CreateTrafficBudgetOutput.Type;
66
67
  * @param warning_threshold - A percentage of capacity, burst, or concurrency thresholds to emit warnings for enforced budgets (0-100).
67
68
  * @param rules - Array of traffic rules to apply to the budget
68
69
  */
69
- export declare const createTrafficBudget: any;
70
+ export declare const createTrafficBudget: import("@distilled.cloud/core/client").OperationMethod<{
71
+ readonly branch: string;
72
+ readonly burst?: number | undefined;
73
+ readonly capacity?: number | undefined;
74
+ readonly concurrency?: number | undefined;
75
+ readonly database: string;
76
+ readonly mode?: "enforce" | "off" | "warn" | undefined;
77
+ readonly name?: string | undefined;
78
+ readonly organization: string;
79
+ readonly rate?: number | undefined;
80
+ readonly rules?: readonly string[] | undefined;
81
+ readonly warning_threshold?: number | undefined;
82
+ }, {
83
+ readonly actor: {
84
+ readonly avatar_url: string;
85
+ readonly display_name: string;
86
+ readonly id: string;
87
+ };
88
+ readonly burst?: number | undefined;
89
+ readonly capacity?: number | undefined;
90
+ readonly concurrency?: number | undefined;
91
+ readonly created_at: string;
92
+ readonly id: string;
93
+ readonly mode: "enforce" | "off" | "warn";
94
+ readonly name: string;
95
+ readonly rate?: number | undefined;
96
+ readonly rules: readonly {
97
+ readonly actor: {
98
+ readonly avatar_url: string;
99
+ readonly display_name: string;
100
+ readonly id: string;
101
+ };
102
+ readonly created_at: string;
103
+ readonly fingerprint?: string | undefined;
104
+ readonly id: string;
105
+ readonly keyspace?: string | undefined;
106
+ readonly kind: "match";
107
+ readonly syntax_highlighted_sql: string;
108
+ readonly tags: readonly {
109
+ readonly key: string;
110
+ readonly key_id: string;
111
+ readonly source: "sql" | "system";
112
+ readonly value: string;
113
+ }[];
114
+ readonly updated_at: string;
115
+ }[];
116
+ readonly updated_at: string;
117
+ readonly warning_threshold?: number | undefined;
118
+ }, Forbidden | NotFound, any>;
70
119
  //# sourceMappingURL=createTrafficBudget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createTrafficBudget.d.ts","sourceRoot":"","sources":["../../src/operations/createTrafficBudget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAkBlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyClC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,KAI7B,CAAC"}
1
+ {"version":3,"file":"createTrafficBudget.d.ts","sourceRoot":"","sources":["../../src/operations/createTrafficBudget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAkBlC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyClC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAI7B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const CreateTrafficRuleInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -43,5 +44,33 @@ export type CreateTrafficRuleOutput = typeof CreateTrafficRuleOutput.Type;
43
44
  * @param fingerprint - Query pattern fingerprint to apply rule to
44
45
  * @param tags - Optional array of tags for this rule
45
46
  */
46
- export declare const createTrafficRule: any;
47
+ export declare const createTrafficRule: import("@distilled.cloud/core/client").OperationMethod<{
48
+ readonly branch: string;
49
+ readonly budget_id: string;
50
+ readonly database: string;
51
+ readonly fingerprint?: string | undefined;
52
+ readonly keyspace?: string | undefined;
53
+ readonly kind?: "match" | undefined;
54
+ readonly organization: string;
55
+ readonly tags?: readonly string[] | undefined;
56
+ }, {
57
+ readonly actor: {
58
+ readonly avatar_url: string;
59
+ readonly display_name: string;
60
+ readonly id: string;
61
+ };
62
+ readonly created_at: string;
63
+ readonly fingerprint?: string | undefined;
64
+ readonly id: string;
65
+ readonly keyspace?: string | undefined;
66
+ readonly kind: "match";
67
+ readonly syntax_highlighted_sql: string;
68
+ readonly tags: readonly {
69
+ readonly key: string;
70
+ readonly key_id: string;
71
+ readonly source: "sql" | "system";
72
+ readonly value: string;
73
+ }[];
74
+ readonly updated_at: string;
75
+ }, Forbidden | NotFound, any>;
47
76
  //# sourceMappingURL=createTrafficRule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createTrafficRule.d.ts","sourceRoot":"","sources":["../../src/operations/createTrafficRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,sBAAsB;;;;;;;;;EAgBlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;EAsBhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB,KAI3B,CAAC"}
1
+ {"version":3,"file":"createTrafficRule.d.ts","sourceRoot":"","sources":["../../src/operations/createTrafficRule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,sBAAsB;;;;;;;;;EAgBlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;EAsBhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAI3B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const CreateWebhookInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -29,5 +30,22 @@ export type CreateWebhookOutput = typeof CreateWebhookOutput.Type;
29
30
  * @param enabled - Whether the webhook should be enabled
30
31
  * @param events - The events this webhook should subscribe to
31
32
  */
32
- export declare const createWebhook: any;
33
+ export declare const createWebhook: import("@distilled.cloud/core/client").OperationMethod<{
34
+ readonly database: string;
35
+ readonly enabled?: boolean | undefined;
36
+ readonly events?: readonly string[] | undefined;
37
+ readonly organization: string;
38
+ readonly url: string;
39
+ }, {
40
+ readonly created_at: string;
41
+ readonly enabled: boolean;
42
+ readonly events: readonly ("branch.anomaly" | "branch.out_of_memory" | "branch.primary_promoted" | "branch.ready" | "branch.schema_recommendation" | "branch.sleeping" | "branch.start_maintenance" | "cluster.storage" | "database.access_request" | "deploy_request.closed" | "deploy_request.errored" | "deploy_request.in_progress" | "deploy_request.opened" | "deploy_request.pending_cutover" | "deploy_request.queued" | "deploy_request.reverted" | "deploy_request.schema_applied" | "keyspace.storage" | "webhook.test")[];
43
+ readonly id: string;
44
+ readonly last_sent_at: string | null;
45
+ readonly last_sent_result: string | null;
46
+ readonly last_sent_success: boolean | null;
47
+ readonly secret: string | import("effect/Redacted").Redacted<string>;
48
+ readonly updated_at: string;
49
+ readonly url: string;
50
+ }, Forbidden | NotFound, any>;
33
51
  //# sourceMappingURL=createWebhook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createWebhook.d.ts","sourceRoot":"","sources":["../../src/operations/createWebhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,kBAAkB;;;;;;EAW9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;EAiC9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,KAIvB,CAAC"}
1
+ {"version":3,"file":"createWebhook.d.ts","sourceRoot":"","sources":["../../src/operations/createWebhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,kBAAkB;;;;;;EAW9B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;EAiC9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;6BAIvB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const CreateWorkflowInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -132,5 +133,121 @@ export type CreateWorkflowOutput = typeof CreateWorkflowOutput.Type;
132
133
  * @param on_ddl - The behavior when DDL changes during the workflow
133
134
  * @param tables - List of tables to move
134
135
  */
135
- export declare const createWorkflow: any;
136
+ export declare const createWorkflow: import("@distilled.cloud/core/client").OperationMethod<{
137
+ readonly database: string;
138
+ readonly defer_secondary_keys?: boolean | undefined;
139
+ readonly global_keyspace?: string | undefined;
140
+ readonly name: string;
141
+ readonly on_ddl?: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP" | undefined;
142
+ readonly organization: string;
143
+ readonly source_keyspace: string;
144
+ readonly tables: readonly string[];
145
+ readonly target_keyspace: string;
146
+ }, {
147
+ readonly actor: {
148
+ readonly avatar_url: string;
149
+ readonly display_name: string;
150
+ readonly id: string;
151
+ };
152
+ readonly branch: {
153
+ readonly created_at: string;
154
+ readonly deleted_at: string;
155
+ readonly id: string;
156
+ readonly name: string;
157
+ readonly updated_at: string;
158
+ };
159
+ readonly cancelled_at: string;
160
+ readonly cancelled_by: {
161
+ readonly avatar_url: string;
162
+ readonly display_name: string;
163
+ readonly id: string;
164
+ };
165
+ readonly completed_at: string;
166
+ readonly completed_by: {
167
+ readonly avatar_url: string;
168
+ readonly display_name: string;
169
+ readonly id: string;
170
+ };
171
+ readonly created_at: string;
172
+ readonly cutover_at: string;
173
+ readonly cutover_by: {
174
+ readonly avatar_url: string;
175
+ readonly display_name: string;
176
+ readonly id: string;
177
+ };
178
+ readonly data_copy_completed_at: string;
179
+ readonly defer_secondary_keys: boolean;
180
+ readonly global_keyspace: {
181
+ readonly created_at: string;
182
+ readonly deleted_at: string;
183
+ readonly id: string;
184
+ readonly name: string;
185
+ readonly updated_at: string;
186
+ };
187
+ readonly id: string;
188
+ readonly may_restart: boolean;
189
+ readonly may_retry: boolean;
190
+ readonly name: string;
191
+ readonly number: number;
192
+ readonly on_ddl: "EXEC" | "EXEC_IGNORE" | "IGNORE" | "STOP";
193
+ readonly primaries_switched: boolean;
194
+ readonly replicas_switched: boolean;
195
+ readonly retried_at: string;
196
+ readonly retried_by: {
197
+ readonly avatar_url: string;
198
+ readonly display_name: string;
199
+ readonly id: string;
200
+ };
201
+ readonly reversed_at: string;
202
+ readonly reversed_by: {
203
+ readonly avatar_url: string;
204
+ readonly display_name: string;
205
+ readonly id: string;
206
+ };
207
+ readonly reversed_cutover_by: {
208
+ readonly avatar_url: string;
209
+ readonly display_name: string;
210
+ readonly id: string;
211
+ };
212
+ readonly sequence_tables_applied: boolean;
213
+ readonly source_keyspace: {
214
+ readonly created_at: string;
215
+ readonly deleted_at: string;
216
+ readonly id: string;
217
+ readonly name: string;
218
+ readonly updated_at: string;
219
+ };
220
+ readonly started_at: string;
221
+ readonly state: "cancelled" | "cancelling" | "completed" | "copying" | "cutover" | "cutting_over" | "error" | "pending" | "reversed_cutover" | "reversing_traffic" | "reversing_traffic_for_cancel" | "running" | "stopped" | "switched_primaries" | "switched_replicas" | "switching_primaries" | "switching_replicas" | "verified_data" | "verifying_data";
222
+ readonly switch_primaries_at: string;
223
+ readonly switch_primaries_by: {
224
+ readonly avatar_url: string;
225
+ readonly display_name: string;
226
+ readonly id: string;
227
+ };
228
+ readonly switch_replicas_at: string;
229
+ readonly switch_replicas_by: {
230
+ readonly avatar_url: string;
231
+ readonly display_name: string;
232
+ readonly id: string;
233
+ };
234
+ readonly target_keyspace: {
235
+ readonly created_at: string;
236
+ readonly deleted_at: string;
237
+ readonly id: string;
238
+ readonly name: string;
239
+ readonly updated_at: string;
240
+ };
241
+ readonly updated_at: string;
242
+ readonly verified_data_stale: boolean;
243
+ readonly verify_data_at: string;
244
+ readonly verify_data_by: {
245
+ readonly avatar_url: string;
246
+ readonly display_name: string;
247
+ readonly id: string;
248
+ };
249
+ readonly workflow_errors: string;
250
+ readonly workflow_subtype: string;
251
+ readonly workflow_type: "move_tables";
252
+ }, Forbidden | NotFound, any>;
136
253
  //# sourceMappingURL=createWorkflow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createWorkflow.d.ts","sourceRoot":"","sources":["../../src/operations/createWorkflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,mBAAmB;;;;;;;;;;EAiB/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8H/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,KAIxB,CAAC"}
1
+ {"version":3,"file":"createWorkflow.d.ts","sourceRoot":"","sources":["../../src/operations/createWorkflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,mBAAmB;;;;;;;;;;EAiB/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8H/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;;;GAYG;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 DeleteBackupInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  readonly organization: Schema.String;
@@ -16,5 +17,10 @@ export type DeleteBackupOutput = typeof DeleteBackupOutput.Type;
16
17
  * @param database - The name of the database the branch belongs to
17
18
  * @param branch - The name of the branch
18
19
  */
19
- export declare const deleteBackup: any;
20
+ export declare const deleteBackup: import("@distilled.cloud/core/client").OperationMethod<{
21
+ readonly branch: string;
22
+ readonly database: string;
23
+ readonly id: string;
24
+ readonly organization: string;
25
+ }, void, Forbidden | NotFound, any>;
20
26
  //# sourceMappingURL=deleteBackup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deleteBackup.d.ts","sourceRoot":"","sources":["../../src/operations/deleteBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,iBAAiB;;;;;EAU7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB,aAA0C,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,KAItB,CAAC"}
1
+ {"version":3,"file":"deleteBackup.d.ts","sourceRoot":"","sources":["../../src/operations/deleteBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,iBAAiB;;;;;EAU7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB,aAA0C,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY;;;;;mCAItB,CAAC"}