@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 SkipRevertPeriodInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -146,5 +147,151 @@ export type SkipRevertPeriodOutput = typeof SkipRevertPeriodOutput.Type;
146
147
  * @param database - The name of the deploy request's database
147
148
  * @param number - The number of the deploy request
148
149
  */
149
- export declare const skipRevertPeriod: any;
150
+ export declare const skipRevertPeriod: import("@distilled.cloud/core/client").OperationMethod<{
151
+ readonly database: string;
152
+ readonly number: number;
153
+ readonly organization: string;
154
+ }, {
155
+ readonly actor: {
156
+ readonly avatar_url: string;
157
+ readonly display_name: string;
158
+ readonly id: string;
159
+ };
160
+ readonly approved: boolean;
161
+ readonly branch: string;
162
+ readonly branch_deleted: boolean;
163
+ readonly branch_deleted_at: string;
164
+ readonly branch_deleted_by: {
165
+ readonly avatar_url: string;
166
+ readonly display_name: string;
167
+ readonly id: string;
168
+ };
169
+ readonly branch_id: string;
170
+ readonly closed_at: string;
171
+ readonly closed_by: {
172
+ readonly avatar_url: string;
173
+ readonly display_name: string;
174
+ readonly id: string;
175
+ };
176
+ readonly created_at: string;
177
+ readonly deployed_at: string;
178
+ readonly deployment: {
179
+ readonly actor: {
180
+ readonly avatar_url: string;
181
+ readonly display_name: string;
182
+ readonly id: string;
183
+ };
184
+ readonly auto_cutover: boolean;
185
+ readonly auto_delete_branch: boolean;
186
+ readonly cancelled_actor: {
187
+ readonly avatar_url: string;
188
+ readonly display_name: string;
189
+ readonly id: string;
190
+ };
191
+ readonly created_at: string;
192
+ readonly cutover_actor: {
193
+ readonly avatar_url: string;
194
+ readonly display_name: string;
195
+ readonly id: string;
196
+ };
197
+ readonly cutover_at: string;
198
+ readonly cutover_expiring: boolean;
199
+ readonly deploy_check_errors: string;
200
+ readonly deploy_operation_summaries: readonly {
201
+ readonly can_drop_data: boolean;
202
+ readonly created_at: string;
203
+ readonly ddl_statement: string;
204
+ readonly deploy_errors: string;
205
+ readonly eta_seconds: number;
206
+ readonly id: string;
207
+ readonly keyspace_name: string;
208
+ readonly operation_name: string;
209
+ readonly operations: readonly {
210
+ readonly eta_seconds: number;
211
+ readonly id: string;
212
+ readonly progress_percentage: number;
213
+ readonly shard: string;
214
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
215
+ }[];
216
+ readonly progress_percentage: number;
217
+ readonly removed_foreign_key_names: readonly string[];
218
+ readonly shard_count: number;
219
+ readonly shard_names: readonly string[];
220
+ readonly sharded: boolean;
221
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
222
+ readonly syntax_highlighted_ddl: string;
223
+ readonly table_name: string;
224
+ readonly table_recently_used: boolean;
225
+ readonly table_recently_used_at: string;
226
+ readonly throttled_at: string;
227
+ }[];
228
+ readonly deploy_operations: readonly {
229
+ readonly can_drop_data: boolean;
230
+ readonly created_at: string;
231
+ readonly ddl_statement: string;
232
+ readonly deploy_error_docs_url: string;
233
+ readonly deploy_errors: string;
234
+ readonly eta_seconds: number;
235
+ readonly id: string;
236
+ readonly keyspace_name: string;
237
+ readonly operation_name: string;
238
+ readonly progress_percentage: number;
239
+ readonly removed_foreign_key_names: readonly string[];
240
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
241
+ readonly syntax_highlighted_ddl: string;
242
+ readonly table_locked: boolean;
243
+ readonly table_name: string;
244
+ readonly table_recently_used: boolean;
245
+ readonly table_recently_used_at: string;
246
+ readonly throttled_at: string;
247
+ readonly updated_at: string;
248
+ }[];
249
+ readonly deploy_request_number: number;
250
+ readonly deployable: boolean;
251
+ readonly deployment_revert_request: {
252
+ readonly [x: string]: unknown;
253
+ };
254
+ readonly finished_at: string;
255
+ readonly id: string;
256
+ readonly instant_ddl: boolean;
257
+ readonly instant_ddl_eligible: boolean;
258
+ readonly into_branch: string;
259
+ readonly lint_errors: readonly {
260
+ readonly [x: string]: unknown;
261
+ }[];
262
+ readonly locked_table_name: string;
263
+ readonly lookup_vindex_operations: readonly {
264
+ readonly [x: string]: unknown;
265
+ }[];
266
+ readonly preceding_deployments: readonly {
267
+ readonly [x: string]: unknown;
268
+ }[];
269
+ readonly queued_at: string;
270
+ readonly ready_to_cutover_at: string;
271
+ readonly schema_last_updated_at: string;
272
+ readonly sequential_diff_dependencies: readonly {
273
+ readonly [x: string]: unknown;
274
+ }[];
275
+ readonly started_at: string;
276
+ readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
277
+ readonly submitted_at: string;
278
+ readonly table_locked: boolean;
279
+ readonly throttler_configurations: readonly {
280
+ readonly [x: string]: unknown;
281
+ }[];
282
+ readonly updated_at: string;
283
+ };
284
+ readonly deployment_state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
285
+ readonly html_body: string;
286
+ readonly html_url: string;
287
+ readonly id: string;
288
+ readonly into_branch: string;
289
+ readonly into_branch_shard_count: number;
290
+ readonly into_branch_sharded: boolean;
291
+ readonly notes: string;
292
+ readonly num_comments: number;
293
+ readonly number: number;
294
+ readonly state: "closed" | "open";
295
+ readonly updated_at: string;
296
+ }, Forbidden | NotFound, any>;
150
297
  //# sourceMappingURL=skipRevertPeriod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skipRevertPeriod.d.ts","sourceRoot":"","sources":["../../src/operations/skipRevertPeriod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,qBAAqB;;;;EASjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgNlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,KAI1B,CAAC"}
1
+ {"version":3,"file":"skipRevertPeriod.d.ts","sourceRoot":"","sources":["../../src/operations/skipRevertPeriod.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,qBAAqB;;;;EASjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgNlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAI1B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const TestWebhookInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -16,5 +17,9 @@ export type TestWebhookOutput = typeof TestWebhookOutput.Type;
16
17
  * @param database - The name of the database
17
18
  * @param id - The ID of the webhook
18
19
  */
19
- export declare const testWebhook: any;
20
+ export declare const testWebhook: import("@distilled.cloud/core/client").OperationMethod<{
21
+ readonly database: string;
22
+ readonly id: string;
23
+ readonly organization: string;
24
+ }, void, Forbidden | NotFound, any>;
20
25
  //# sourceMappingURL=testWebhook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testWebhook.d.ts","sourceRoot":"","sources":["../../src/operations/testWebhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,gBAAgB;;;;EAS5B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB,aAA0C,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,KAIrB,CAAC"}
1
+ {"version":3,"file":"testWebhook.d.ts","sourceRoot":"","sources":["../../src/operations/testWebhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,gBAAgB;;;;EAS5B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB,aAA0C,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;;;mCAIrB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const UpdateAutoApplyInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -148,5 +149,152 @@ export type UpdateAutoApplyOutput = typeof UpdateAutoApplyOutput.Type;
148
149
  * @param number - The number of the deploy request
149
150
  * @param enable - Whether or not to enable auto-apply for the deploy request
150
151
  */
151
- export declare const updateAutoApply: any;
152
+ export declare const updateAutoApply: import("@distilled.cloud/core/client").OperationMethod<{
153
+ readonly database: string;
154
+ readonly enable?: boolean | undefined;
155
+ readonly number: number;
156
+ readonly organization: string;
157
+ }, {
158
+ readonly actor: {
159
+ readonly avatar_url: string;
160
+ readonly display_name: string;
161
+ readonly id: string;
162
+ };
163
+ readonly approved: boolean;
164
+ readonly branch: string;
165
+ readonly branch_deleted: boolean;
166
+ readonly branch_deleted_at: string;
167
+ readonly branch_deleted_by: {
168
+ readonly avatar_url: string;
169
+ readonly display_name: string;
170
+ readonly id: string;
171
+ };
172
+ readonly branch_id: string;
173
+ readonly closed_at: string;
174
+ readonly closed_by: {
175
+ readonly avatar_url: string;
176
+ readonly display_name: string;
177
+ readonly id: string;
178
+ };
179
+ readonly created_at: string;
180
+ readonly deployed_at: string;
181
+ readonly deployment: {
182
+ readonly actor: {
183
+ readonly avatar_url: string;
184
+ readonly display_name: string;
185
+ readonly id: string;
186
+ };
187
+ readonly auto_cutover: boolean;
188
+ readonly auto_delete_branch: boolean;
189
+ readonly cancelled_actor: {
190
+ readonly avatar_url: string;
191
+ readonly display_name: string;
192
+ readonly id: string;
193
+ };
194
+ readonly created_at: string;
195
+ readonly cutover_actor: {
196
+ readonly avatar_url: string;
197
+ readonly display_name: string;
198
+ readonly id: string;
199
+ };
200
+ readonly cutover_at: string;
201
+ readonly cutover_expiring: boolean;
202
+ readonly deploy_check_errors: string;
203
+ readonly deploy_operation_summaries: readonly {
204
+ readonly can_drop_data: boolean;
205
+ readonly created_at: string;
206
+ readonly ddl_statement: string;
207
+ readonly deploy_errors: string;
208
+ readonly eta_seconds: number;
209
+ readonly id: string;
210
+ readonly keyspace_name: string;
211
+ readonly operation_name: string;
212
+ readonly operations: readonly {
213
+ readonly eta_seconds: number;
214
+ readonly id: string;
215
+ readonly progress_percentage: number;
216
+ readonly shard: string;
217
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
218
+ }[];
219
+ readonly progress_percentage: number;
220
+ readonly removed_foreign_key_names: readonly string[];
221
+ readonly shard_count: number;
222
+ readonly shard_names: readonly string[];
223
+ readonly sharded: boolean;
224
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
225
+ readonly syntax_highlighted_ddl: string;
226
+ readonly table_name: string;
227
+ readonly table_recently_used: boolean;
228
+ readonly table_recently_used_at: string;
229
+ readonly throttled_at: string;
230
+ }[];
231
+ readonly deploy_operations: readonly {
232
+ readonly can_drop_data: boolean;
233
+ readonly created_at: string;
234
+ readonly ddl_statement: string;
235
+ readonly deploy_error_docs_url: string;
236
+ readonly deploy_errors: string;
237
+ readonly eta_seconds: number;
238
+ readonly id: string;
239
+ readonly keyspace_name: string;
240
+ readonly operation_name: string;
241
+ readonly progress_percentage: number;
242
+ readonly removed_foreign_key_names: readonly string[];
243
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
244
+ readonly syntax_highlighted_ddl: string;
245
+ readonly table_locked: boolean;
246
+ readonly table_name: string;
247
+ readonly table_recently_used: boolean;
248
+ readonly table_recently_used_at: string;
249
+ readonly throttled_at: string;
250
+ readonly updated_at: string;
251
+ }[];
252
+ readonly deploy_request_number: number;
253
+ readonly deployable: boolean;
254
+ readonly deployment_revert_request: {
255
+ readonly [x: string]: unknown;
256
+ };
257
+ readonly finished_at: string;
258
+ readonly id: string;
259
+ readonly instant_ddl: boolean;
260
+ readonly instant_ddl_eligible: boolean;
261
+ readonly into_branch: string;
262
+ readonly lint_errors: readonly {
263
+ readonly [x: string]: unknown;
264
+ }[];
265
+ readonly locked_table_name: string;
266
+ readonly lookup_vindex_operations: readonly {
267
+ readonly [x: string]: unknown;
268
+ }[];
269
+ readonly preceding_deployments: readonly {
270
+ readonly [x: string]: unknown;
271
+ }[];
272
+ readonly queued_at: string;
273
+ readonly ready_to_cutover_at: string;
274
+ readonly schema_last_updated_at: string;
275
+ readonly sequential_diff_dependencies: readonly {
276
+ readonly [x: string]: unknown;
277
+ }[];
278
+ readonly started_at: string;
279
+ readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
280
+ readonly submitted_at: string;
281
+ readonly table_locked: boolean;
282
+ readonly throttler_configurations: readonly {
283
+ readonly [x: string]: unknown;
284
+ }[];
285
+ readonly updated_at: string;
286
+ };
287
+ readonly deployment_state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
288
+ readonly html_body: string;
289
+ readonly html_url: string;
290
+ readonly id: string;
291
+ readonly into_branch: string;
292
+ readonly into_branch_shard_count: number;
293
+ readonly into_branch_sharded: boolean;
294
+ readonly notes: string;
295
+ readonly num_comments: number;
296
+ readonly number: number;
297
+ readonly state: "closed" | "open";
298
+ readonly updated_at: string;
299
+ }, Forbidden | NotFound, any>;
152
300
  //# sourceMappingURL=updateAutoApply.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateAutoApply.d.ts","sourceRoot":"","sources":["../../src/operations/updateAutoApply.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,oBAAoB;;;;;EAUhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8MhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,KAIzB,CAAC"}
1
+ {"version":3,"file":"updateAutoApply.d.ts","sourceRoot":"","sources":["../../src/operations/updateAutoApply.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,oBAAoB;;;;;EAUhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8MhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;;;;GASG;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 UpdateAutoDeleteBranchInput: Schema.Struct<{
3
4
  readonly organization: Schema.String;
4
5
  readonly database: Schema.String;
@@ -148,5 +149,152 @@ export type UpdateAutoDeleteBranchOutput = typeof UpdateAutoDeleteBranchOutput.T
148
149
  * @param number - The number of the deploy request
149
150
  * @param enable - Whether or not to enable auto-delete branch for the deploy request
150
151
  */
151
- export declare const updateAutoDeleteBranch: any;
152
+ export declare const updateAutoDeleteBranch: import("@distilled.cloud/core/client").OperationMethod<{
153
+ readonly database: string;
154
+ readonly enable?: boolean | undefined;
155
+ readonly number: number;
156
+ readonly organization: string;
157
+ }, {
158
+ readonly actor: {
159
+ readonly avatar_url: string;
160
+ readonly display_name: string;
161
+ readonly id: string;
162
+ };
163
+ readonly approved: boolean;
164
+ readonly branch: string;
165
+ readonly branch_deleted: boolean;
166
+ readonly branch_deleted_at: string;
167
+ readonly branch_deleted_by: {
168
+ readonly avatar_url: string;
169
+ readonly display_name: string;
170
+ readonly id: string;
171
+ };
172
+ readonly branch_id: string;
173
+ readonly closed_at: string;
174
+ readonly closed_by: {
175
+ readonly avatar_url: string;
176
+ readonly display_name: string;
177
+ readonly id: string;
178
+ };
179
+ readonly created_at: string;
180
+ readonly deployed_at: string;
181
+ readonly deployment: {
182
+ readonly actor: {
183
+ readonly avatar_url: string;
184
+ readonly display_name: string;
185
+ readonly id: string;
186
+ };
187
+ readonly auto_cutover: boolean;
188
+ readonly auto_delete_branch: boolean;
189
+ readonly cancelled_actor: {
190
+ readonly avatar_url: string;
191
+ readonly display_name: string;
192
+ readonly id: string;
193
+ };
194
+ readonly created_at: string;
195
+ readonly cutover_actor: {
196
+ readonly avatar_url: string;
197
+ readonly display_name: string;
198
+ readonly id: string;
199
+ };
200
+ readonly cutover_at: string;
201
+ readonly cutover_expiring: boolean;
202
+ readonly deploy_check_errors: string;
203
+ readonly deploy_operation_summaries: readonly {
204
+ readonly can_drop_data: boolean;
205
+ readonly created_at: string;
206
+ readonly ddl_statement: string;
207
+ readonly deploy_errors: string;
208
+ readonly eta_seconds: number;
209
+ readonly id: string;
210
+ readonly keyspace_name: string;
211
+ readonly operation_name: string;
212
+ readonly operations: readonly {
213
+ readonly eta_seconds: number;
214
+ readonly id: string;
215
+ readonly progress_percentage: number;
216
+ readonly shard: string;
217
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
218
+ }[];
219
+ readonly progress_percentage: number;
220
+ readonly removed_foreign_key_names: readonly string[];
221
+ readonly shard_count: number;
222
+ readonly shard_names: readonly string[];
223
+ readonly sharded: boolean;
224
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
225
+ readonly syntax_highlighted_ddl: string;
226
+ readonly table_name: string;
227
+ readonly table_recently_used: boolean;
228
+ readonly table_recently_used_at: string;
229
+ readonly throttled_at: string;
230
+ }[];
231
+ readonly deploy_operations: readonly {
232
+ readonly can_drop_data: boolean;
233
+ readonly created_at: string;
234
+ readonly ddl_statement: string;
235
+ readonly deploy_error_docs_url: string;
236
+ readonly deploy_errors: string;
237
+ readonly eta_seconds: number;
238
+ readonly id: string;
239
+ readonly keyspace_name: string;
240
+ readonly operation_name: string;
241
+ readonly progress_percentage: number;
242
+ readonly removed_foreign_key_names: readonly string[];
243
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
244
+ readonly syntax_highlighted_ddl: string;
245
+ readonly table_locked: boolean;
246
+ readonly table_name: string;
247
+ readonly table_recently_used: boolean;
248
+ readonly table_recently_used_at: string;
249
+ readonly throttled_at: string;
250
+ readonly updated_at: string;
251
+ }[];
252
+ readonly deploy_request_number: number;
253
+ readonly deployable: boolean;
254
+ readonly deployment_revert_request: {
255
+ readonly [x: string]: unknown;
256
+ };
257
+ readonly finished_at: string;
258
+ readonly id: string;
259
+ readonly instant_ddl: boolean;
260
+ readonly instant_ddl_eligible: boolean;
261
+ readonly into_branch: string;
262
+ readonly lint_errors: readonly {
263
+ readonly [x: string]: unknown;
264
+ }[];
265
+ readonly locked_table_name: string;
266
+ readonly lookup_vindex_operations: readonly {
267
+ readonly [x: string]: unknown;
268
+ }[];
269
+ readonly preceding_deployments: readonly {
270
+ readonly [x: string]: unknown;
271
+ }[];
272
+ readonly queued_at: string;
273
+ readonly ready_to_cutover_at: string;
274
+ readonly schema_last_updated_at: string;
275
+ readonly sequential_diff_dependencies: readonly {
276
+ readonly [x: string]: unknown;
277
+ }[];
278
+ readonly started_at: string;
279
+ readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
280
+ readonly submitted_at: string;
281
+ readonly table_locked: boolean;
282
+ readonly throttler_configurations: readonly {
283
+ readonly [x: string]: unknown;
284
+ }[];
285
+ readonly updated_at: string;
286
+ };
287
+ readonly deployment_state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
288
+ readonly html_body: string;
289
+ readonly html_url: string;
290
+ readonly id: string;
291
+ readonly into_branch: string;
292
+ readonly into_branch_shard_count: number;
293
+ readonly into_branch_sharded: boolean;
294
+ readonly notes: string;
295
+ readonly num_comments: number;
296
+ readonly number: number;
297
+ readonly state: "closed" | "open";
298
+ readonly updated_at: string;
299
+ }, Forbidden | NotFound, any>;
152
300
  //# sourceMappingURL=updateAutoDeleteBranch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateAutoDeleteBranch.d.ts","sourceRoot":"","sources":["../../src/operations/updateAutoDeleteBranch.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,KAMlC,CAAC"}
1
+ {"version":3,"file":"updateAutoDeleteBranch.d.ts","sourceRoot":"","sources":["../../src/operations/updateAutoDeleteBranch.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;;;GASG;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 UpdateBackupInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  readonly organization: Schema.String;
@@ -78,5 +79,71 @@ export type UpdateBackupOutput = typeof UpdateBackupOutput.Type;
78
79
  * @param branch - The name of the branch
79
80
  * @param protected - Whether the backup is protected from deletion or not
80
81
  */
81
- export declare const updateBackup: any;
82
+ export declare const updateBackup: import("@distilled.cloud/core/client").OperationMethod<{
83
+ readonly branch: string;
84
+ readonly database: string;
85
+ readonly id: string;
86
+ readonly organization: string;
87
+ readonly protected?: boolean | undefined;
88
+ }, {
89
+ readonly actor: {
90
+ readonly avatar_url: string;
91
+ readonly display_name: string;
92
+ readonly id: string;
93
+ };
94
+ readonly backup_policy: {
95
+ readonly created_at: string;
96
+ readonly display_name: string;
97
+ readonly frequency_unit: string;
98
+ readonly frequency_value: number;
99
+ readonly id: string;
100
+ readonly last_ran_at: string | null;
101
+ readonly name: string;
102
+ readonly next_run_at: string | null;
103
+ readonly required: boolean;
104
+ readonly retention_unit: string;
105
+ readonly retention_value: number;
106
+ readonly schedule_day: number;
107
+ readonly schedule_time: string | null;
108
+ readonly schedule_week: number;
109
+ readonly target: "development" | "production";
110
+ readonly updated_at: string;
111
+ } | null;
112
+ readonly completed_at: string | null;
113
+ readonly created_at: string;
114
+ readonly database_branch: {
115
+ readonly created_at: string;
116
+ readonly deleted_at: string | null;
117
+ readonly id: string;
118
+ readonly name: string;
119
+ readonly updated_at: string;
120
+ };
121
+ readonly deleted_at: string | null;
122
+ readonly estimated_storage_cost: number;
123
+ readonly expires_at: string | null;
124
+ readonly id: string;
125
+ readonly name: string;
126
+ readonly protected: boolean;
127
+ readonly pvc_size: number;
128
+ readonly required: boolean;
129
+ readonly restored_branches: readonly {
130
+ readonly created_at: string;
131
+ readonly deleted_at: string | null;
132
+ readonly id: string;
133
+ readonly name: string;
134
+ readonly updated_at: string;
135
+ }[];
136
+ readonly schema_snapshot: {
137
+ readonly created_at: string;
138
+ readonly id: string;
139
+ readonly linted_at: string | null;
140
+ readonly name: string;
141
+ readonly updated_at: string;
142
+ readonly url: string;
143
+ };
144
+ readonly size: number;
145
+ readonly started_at: string | null;
146
+ readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
147
+ readonly updated_at: string;
148
+ }, Forbidden | NotFound, any>;
82
149
  //# sourceMappingURL=updateBackup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateBackup.d.ts","sourceRoot":"","sources":["../../src/operations/updateBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,iBAAiB;;;;;;EAW7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,KAItB,CAAC"}
1
+ {"version":3,"file":"updateBackup.d.ts","sourceRoot":"","sources":["../../src/operations/updateBackup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,iBAAiB;;;;;;EAW7B,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAItB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound } from "../errors";
2
3
  export declare const UpdateBackupPolicyInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  readonly organization: Schema.String;
@@ -49,5 +50,35 @@ export type UpdateBackupPolicyOutput = typeof UpdateBackupPolicyOutput.Type;
49
50
  * @param schedule_day - Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday
50
51
  * @param schedule_week - Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
51
52
  */
52
- export declare const updateBackupPolicy: any;
53
+ export declare const updateBackupPolicy: import("@distilled.cloud/core/client").OperationMethod<{
54
+ readonly database: string;
55
+ readonly frequency_unit?: "day" | "hour" | "month" | "week" | undefined;
56
+ readonly frequency_value?: number | undefined;
57
+ readonly id: string;
58
+ readonly name?: string | undefined;
59
+ readonly organization: string;
60
+ readonly retention_unit?: "day" | "hour" | "month" | "week" | "year" | undefined;
61
+ readonly retention_value?: number | undefined;
62
+ readonly schedule_day?: number | undefined;
63
+ readonly schedule_time?: string | undefined;
64
+ readonly schedule_week?: number | undefined;
65
+ readonly target?: "development" | "production" | undefined;
66
+ }, {
67
+ readonly created_at: string;
68
+ readonly display_name: string;
69
+ readonly frequency_unit: string;
70
+ readonly frequency_value: number;
71
+ readonly id: string;
72
+ readonly last_ran_at: string;
73
+ readonly name: string;
74
+ readonly next_run_at: string;
75
+ readonly required: boolean;
76
+ readonly retention_unit: string;
77
+ readonly retention_value: number;
78
+ readonly schedule_day: number;
79
+ readonly schedule_time: string;
80
+ readonly schedule_week: number;
81
+ readonly target: "development" | "production";
82
+ readonly updated_at: string;
83
+ }, Forbidden | NotFound, any>;
53
84
  //# sourceMappingURL=updateBackupPolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateBackupPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/updateBackupPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;EAuBjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;EAkBjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB,KAI5B,CAAC"}
1
+ {"version":3,"file":"updateBackupPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/updateBackupPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;EAuBjC,CAAC;AACJ,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;EAkBjC,CAAC;AACL,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAI5B,CAAC"}