@distilled.cloud/planetscale 0.0.0-john

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 (787) hide show
  1. package/README.md +56 -0
  2. package/lib/category.d.ts +13 -0
  3. package/lib/category.d.ts.map +1 -0
  4. package/lib/category.js +13 -0
  5. package/lib/category.js.map +1 -0
  6. package/lib/client.d.ts +10 -0
  7. package/lib/client.d.ts.map +1 -0
  8. package/lib/client.js +52 -0
  9. package/lib/client.js.map +1 -0
  10. package/lib/credentials.d.ts +16 -0
  11. package/lib/credentials.d.ts.map +1 -0
  12. package/lib/credentials.js +28 -0
  13. package/lib/credentials.js.map +1 -0
  14. package/lib/errors.d.ts +36 -0
  15. package/lib/errors.d.ts.map +1 -0
  16. package/lib/errors.js +28 -0
  17. package/lib/errors.js.map +1 -0
  18. package/lib/index.d.ts +16 -0
  19. package/lib/index.d.ts.map +1 -0
  20. package/lib/index.js +16 -0
  21. package/lib/index.js.map +1 -0
  22. package/lib/operations/addOrganizationTeamMember.d.ts +91 -0
  23. package/lib/operations/addOrganizationTeamMember.d.ts.map +1 -0
  24. package/lib/operations/addOrganizationTeamMember.js +104 -0
  25. package/lib/operations/addOrganizationTeamMember.js.map +1 -0
  26. package/lib/operations/cancelBouncerResizeRequest.d.ts +20 -0
  27. package/lib/operations/cancelBouncerResizeRequest.d.ts.map +1 -0
  28. package/lib/operations/cancelBouncerResizeRequest.js +33 -0
  29. package/lib/operations/cancelBouncerResizeRequest.js.map +1 -0
  30. package/lib/operations/cancelBranchChangeRequest.d.ts +18 -0
  31. package/lib/operations/cancelBranchChangeRequest.d.ts.map +1 -0
  32. package/lib/operations/cancelBranchChangeRequest.js +31 -0
  33. package/lib/operations/cancelBranchChangeRequest.js.map +1 -0
  34. package/lib/operations/cancelDeployRequest.d.ts +148 -0
  35. package/lib/operations/cancelDeployRequest.d.ts.map +1 -0
  36. package/lib/operations/cancelDeployRequest.js +223 -0
  37. package/lib/operations/cancelDeployRequest.js.map +1 -0
  38. package/lib/operations/closeDeployRequest.d.ts +150 -0
  39. package/lib/operations/closeDeployRequest.d.ts.map +1 -0
  40. package/lib/operations/closeDeployRequest.js +225 -0
  41. package/lib/operations/closeDeployRequest.js.map +1 -0
  42. package/lib/operations/completeErroredDeploy.d.ts +148 -0
  43. package/lib/operations/completeErroredDeploy.d.ts.map +1 -0
  44. package/lib/operations/completeErroredDeploy.js +223 -0
  45. package/lib/operations/completeErroredDeploy.js.map +1 -0
  46. package/lib/operations/completeGatedDeployRequest.d.ts +148 -0
  47. package/lib/operations/completeGatedDeployRequest.d.ts.map +1 -0
  48. package/lib/operations/completeGatedDeployRequest.js +223 -0
  49. package/lib/operations/completeGatedDeployRequest.js.map +1 -0
  50. package/lib/operations/completeRevert.d.ts +148 -0
  51. package/lib/operations/completeRevert.d.ts.map +1 -0
  52. package/lib/operations/completeRevert.js +221 -0
  53. package/lib/operations/completeRevert.js.map +1 -0
  54. package/lib/operations/createBackup.d.ts +85 -0
  55. package/lib/operations/createBackup.d.ts.map +1 -0
  56. package/lib/operations/createBackup.js +103 -0
  57. package/lib/operations/createBackup.js.map +1 -0
  58. package/lib/operations/createBouncer.d.ts +79 -0
  59. package/lib/operations/createBouncer.d.ts.map +1 -0
  60. package/lib/operations/createBouncer.js +96 -0
  61. package/lib/operations/createBouncer.js.map +1 -0
  62. package/lib/operations/createBranch.d.ts +86 -0
  63. package/lib/operations/createBranch.d.ts.map +1 -0
  64. package/lib/operations/createBranch.js +103 -0
  65. package/lib/operations/createBranch.js.map +1 -0
  66. package/lib/operations/createDatabase.d.ts +87 -0
  67. package/lib/operations/createDatabase.d.ts.map +1 -0
  68. package/lib/operations/createDatabase.js +103 -0
  69. package/lib/operations/createDatabase.js.map +1 -0
  70. package/lib/operations/createDatabasePostgresCidr.d.ts +35 -0
  71. package/lib/operations/createDatabasePostgresCidr.d.ts.map +1 -0
  72. package/lib/operations/createDatabasePostgresCidr.js +48 -0
  73. package/lib/operations/createDatabasePostgresCidr.js.map +1 -0
  74. package/lib/operations/createDeployRequest.d.ts +156 -0
  75. package/lib/operations/createDeployRequest.d.ts.map +1 -0
  76. package/lib/operations/createDeployRequest.js +231 -0
  77. package/lib/operations/createDeployRequest.js.map +1 -0
  78. package/lib/operations/createKeyspace.d.ts +56 -0
  79. package/lib/operations/createKeyspace.d.ts.map +1 -0
  80. package/lib/operations/createKeyspace.js +71 -0
  81. package/lib/operations/createKeyspace.js.map +1 -0
  82. package/lib/operations/createOauthToken.d.ts +107 -0
  83. package/lib/operations/createOauthToken.d.ts.map +1 -0
  84. package/lib/operations/createOauthToken.js +119 -0
  85. package/lib/operations/createOauthToken.js.map +1 -0
  86. package/lib/operations/createOrganizationTeam.d.ts +59 -0
  87. package/lib/operations/createOrganizationTeam.d.ts.map +1 -0
  88. package/lib/operations/createOrganizationTeam.js +69 -0
  89. package/lib/operations/createOrganizationTeam.js.map +1 -0
  90. package/lib/operations/createPassword.d.ts +72 -0
  91. package/lib/operations/createPassword.d.ts.map +1 -0
  92. package/lib/operations/createPassword.js +84 -0
  93. package/lib/operations/createPassword.js.map +1 -0
  94. package/lib/operations/createQueryPatternsReport.d.ts +30 -0
  95. package/lib/operations/createQueryPatternsReport.d.ts.map +1 -0
  96. package/lib/operations/createQueryPatternsReport.js +43 -0
  97. package/lib/operations/createQueryPatternsReport.js.map +1 -0
  98. package/lib/operations/createRole.d.ts +64 -0
  99. package/lib/operations/createRole.d.ts.map +1 -0
  100. package/lib/operations/createRole.js +103 -0
  101. package/lib/operations/createRole.js.map +1 -0
  102. package/lib/operations/createServiceToken.d.ts +97 -0
  103. package/lib/operations/createServiceToken.d.ts.map +1 -0
  104. package/lib/operations/createServiceToken.js +111 -0
  105. package/lib/operations/createServiceToken.js.map +1 -0
  106. package/lib/operations/createWebhook.d.ts +33 -0
  107. package/lib/operations/createWebhook.d.ts.map +1 -0
  108. package/lib/operations/createWebhook.js +64 -0
  109. package/lib/operations/createWebhook.js.map +1 -0
  110. package/lib/operations/createWorkflow.d.ts +136 -0
  111. package/lib/operations/createWorkflow.d.ts.map +1 -0
  112. package/lib/operations/createWorkflow.js +167 -0
  113. package/lib/operations/createWorkflow.js.map +1 -0
  114. package/lib/operations/deleteBackup.d.ts +20 -0
  115. package/lib/operations/deleteBackup.d.ts.map +1 -0
  116. package/lib/operations/deleteBackup.js +31 -0
  117. package/lib/operations/deleteBackup.js.map +1 -0
  118. package/lib/operations/deleteBouncer.d.ts +20 -0
  119. package/lib/operations/deleteBouncer.d.ts.map +1 -0
  120. package/lib/operations/deleteBouncer.js +31 -0
  121. package/lib/operations/deleteBouncer.js.map +1 -0
  122. package/lib/operations/deleteBranch.d.ts +18 -0
  123. package/lib/operations/deleteBranch.d.ts.map +1 -0
  124. package/lib/operations/deleteBranch.js +29 -0
  125. package/lib/operations/deleteBranch.js.map +1 -0
  126. package/lib/operations/deleteDatabase.d.ts +16 -0
  127. package/lib/operations/deleteDatabase.d.ts.map +1 -0
  128. package/lib/operations/deleteDatabase.js +27 -0
  129. package/lib/operations/deleteDatabase.js.map +1 -0
  130. package/lib/operations/deleteDatabasePostgresCidr.d.ts +18 -0
  131. package/lib/operations/deleteDatabasePostgresCidr.d.ts.map +1 -0
  132. package/lib/operations/deleteDatabasePostgresCidr.js +31 -0
  133. package/lib/operations/deleteDatabasePostgresCidr.js.map +1 -0
  134. package/lib/operations/deleteKeyspace.d.ts +20 -0
  135. package/lib/operations/deleteKeyspace.d.ts.map +1 -0
  136. package/lib/operations/deleteKeyspace.js +31 -0
  137. package/lib/operations/deleteKeyspace.js.map +1 -0
  138. package/lib/operations/deleteOauthToken.d.ts +18 -0
  139. package/lib/operations/deleteOauthToken.d.ts.map +1 -0
  140. package/lib/operations/deleteOauthToken.js +29 -0
  141. package/lib/operations/deleteOauthToken.js.map +1 -0
  142. package/lib/operations/deleteOrganizationTeam.d.ts +16 -0
  143. package/lib/operations/deleteOrganizationTeam.d.ts.map +1 -0
  144. package/lib/operations/deleteOrganizationTeam.js +29 -0
  145. package/lib/operations/deleteOrganizationTeam.js.map +1 -0
  146. package/lib/operations/deletePassword.d.ts +20 -0
  147. package/lib/operations/deletePassword.d.ts.map +1 -0
  148. package/lib/operations/deletePassword.js +31 -0
  149. package/lib/operations/deletePassword.js.map +1 -0
  150. package/lib/operations/deleteQueryPatternsReport.d.ts +20 -0
  151. package/lib/operations/deleteQueryPatternsReport.d.ts.map +1 -0
  152. package/lib/operations/deleteQueryPatternsReport.js +33 -0
  153. package/lib/operations/deleteQueryPatternsReport.js.map +1 -0
  154. package/lib/operations/deleteRole.d.ts +22 -0
  155. package/lib/operations/deleteRole.d.ts.map +1 -0
  156. package/lib/operations/deleteRole.js +33 -0
  157. package/lib/operations/deleteRole.js.map +1 -0
  158. package/lib/operations/deleteServiceToken.d.ts +18 -0
  159. package/lib/operations/deleteServiceToken.d.ts.map +1 -0
  160. package/lib/operations/deleteServiceToken.js +30 -0
  161. package/lib/operations/deleteServiceToken.js.map +1 -0
  162. package/lib/operations/deleteWebhook.d.ts +18 -0
  163. package/lib/operations/deleteWebhook.d.ts.map +1 -0
  164. package/lib/operations/deleteWebhook.js +29 -0
  165. package/lib/operations/deleteWebhook.js.map +1 -0
  166. package/lib/operations/demoteBranch.d.ts +74 -0
  167. package/lib/operations/demoteBranch.d.ts.map +1 -0
  168. package/lib/operations/demoteBranch.js +91 -0
  169. package/lib/operations/demoteBranch.js.map +1 -0
  170. package/lib/operations/disableSafeMigrations.d.ts +72 -0
  171. package/lib/operations/disableSafeMigrations.d.ts.map +1 -0
  172. package/lib/operations/disableSafeMigrations.js +91 -0
  173. package/lib/operations/disableSafeMigrations.js.map +1 -0
  174. package/lib/operations/dismissSchemaRecommendation.d.ts +44 -0
  175. package/lib/operations/dismissSchemaRecommendation.d.ts.map +1 -0
  176. package/lib/operations/dismissSchemaRecommendation.js +67 -0
  177. package/lib/operations/dismissSchemaRecommendation.js.map +1 -0
  178. package/lib/operations/enableSafeMigrations.d.ts +72 -0
  179. package/lib/operations/enableSafeMigrations.d.ts.map +1 -0
  180. package/lib/operations/enableSafeMigrations.js +91 -0
  181. package/lib/operations/enableSafeMigrations.js.map +1 -0
  182. package/lib/operations/getBackup.d.ts +79 -0
  183. package/lib/operations/getBackup.d.ts.map +1 -0
  184. package/lib/operations/getBackup.js +97 -0
  185. package/lib/operations/getBackup.js.map +1 -0
  186. package/lib/operations/getBouncer.d.ts +73 -0
  187. package/lib/operations/getBouncer.d.ts.map +1 -0
  188. package/lib/operations/getBouncer.js +90 -0
  189. package/lib/operations/getBouncer.js.map +1 -0
  190. package/lib/operations/getBranch.d.ts +72 -0
  191. package/lib/operations/getBranch.d.ts.map +1 -0
  192. package/lib/operations/getBranch.js +89 -0
  193. package/lib/operations/getBranch.js.map +1 -0
  194. package/lib/operations/getBranchChangeRequest.d.ts +57 -0
  195. package/lib/operations/getBranchChangeRequest.d.ts.map +1 -0
  196. package/lib/operations/getBranchChangeRequest.js +76 -0
  197. package/lib/operations/getBranchChangeRequest.js.map +1 -0
  198. package/lib/operations/getBranchSchema.d.ts +28 -0
  199. package/lib/operations/getBranchSchema.d.ts.map +1 -0
  200. package/lib/operations/getBranchSchema.js +39 -0
  201. package/lib/operations/getBranchSchema.js.map +1 -0
  202. package/lib/operations/getCurrentUser.d.ts +32 -0
  203. package/lib/operations/getCurrentUser.d.ts.map +1 -0
  204. package/lib/operations/getCurrentUser.js +40 -0
  205. package/lib/operations/getCurrentUser.js.map +1 -0
  206. package/lib/operations/getDatabase.d.ts +77 -0
  207. package/lib/operations/getDatabase.d.ts.map +1 -0
  208. package/lib/operations/getDatabase.js +96 -0
  209. package/lib/operations/getDatabase.js.map +1 -0
  210. package/lib/operations/getDatabasePostgresCidr.d.ts +31 -0
  211. package/lib/operations/getDatabasePostgresCidr.d.ts.map +1 -0
  212. package/lib/operations/getDatabasePostgresCidr.js +44 -0
  213. package/lib/operations/getDatabasePostgresCidr.js.map +1 -0
  214. package/lib/operations/getDatabaseThrottler.d.ts +29 -0
  215. package/lib/operations/getDatabaseThrottler.d.ts.map +1 -0
  216. package/lib/operations/getDatabaseThrottler.js +42 -0
  217. package/lib/operations/getDatabaseThrottler.js.map +1 -0
  218. package/lib/operations/getDefaultRole.d.ts +54 -0
  219. package/lib/operations/getDefaultRole.d.ts.map +1 -0
  220. package/lib/operations/getDefaultRole.js +79 -0
  221. package/lib/operations/getDefaultRole.js.map +1 -0
  222. package/lib/operations/getDeployQueue.d.ts +118 -0
  223. package/lib/operations/getDeployQueue.d.ts.map +1 -0
  224. package/lib/operations/getDeployQueue.js +170 -0
  225. package/lib/operations/getDeployQueue.js.map +1 -0
  226. package/lib/operations/getDeployRequest.d.ts +148 -0
  227. package/lib/operations/getDeployRequest.d.ts.map +1 -0
  228. package/lib/operations/getDeployRequest.js +221 -0
  229. package/lib/operations/getDeployRequest.js.map +1 -0
  230. package/lib/operations/getDeployRequestThrottler.d.ts +31 -0
  231. package/lib/operations/getDeployRequestThrottler.d.ts.map +1 -0
  232. package/lib/operations/getDeployRequestThrottler.js +44 -0
  233. package/lib/operations/getDeployRequestThrottler.js.map +1 -0
  234. package/lib/operations/getDeployment.d.ts +113 -0
  235. package/lib/operations/getDeployment.d.ts.map +1 -0
  236. package/lib/operations/getDeployment.js +165 -0
  237. package/lib/operations/getDeployment.js.map +1 -0
  238. package/lib/operations/getInvoice.d.ts +23 -0
  239. package/lib/operations/getInvoice.d.ts.map +1 -0
  240. package/lib/operations/getInvoice.js +34 -0
  241. package/lib/operations/getInvoice.js.map +1 -0
  242. package/lib/operations/getInvoiceLineItems.d.ts +43 -0
  243. package/lib/operations/getInvoiceLineItems.d.ts.map +1 -0
  244. package/lib/operations/getInvoiceLineItems.js +56 -0
  245. package/lib/operations/getInvoiceLineItems.js.map +1 -0
  246. package/lib/operations/getKeyspace.d.ts +50 -0
  247. package/lib/operations/getKeyspace.d.ts.map +1 -0
  248. package/lib/operations/getKeyspace.js +65 -0
  249. package/lib/operations/getKeyspace.js.map +1 -0
  250. package/lib/operations/getKeyspaceRolloutStatus.d.ts +29 -0
  251. package/lib/operations/getKeyspaceRolloutStatus.d.ts.map +1 -0
  252. package/lib/operations/getKeyspaceRolloutStatus.js +42 -0
  253. package/lib/operations/getKeyspaceRolloutStatus.js.map +1 -0
  254. package/lib/operations/getKeyspaceVschema.d.ts +22 -0
  255. package/lib/operations/getKeyspaceVschema.d.ts.map +1 -0
  256. package/lib/operations/getKeyspaceVschema.js +35 -0
  257. package/lib/operations/getKeyspaceVschema.js.map +1 -0
  258. package/lib/operations/getOauthApplication.d.ts +31 -0
  259. package/lib/operations/getOauthApplication.d.ts.map +1 -0
  260. package/lib/operations/getOauthApplication.js +44 -0
  261. package/lib/operations/getOauthApplication.js.map +1 -0
  262. package/lib/operations/getOauthToken.d.ts +95 -0
  263. package/lib/operations/getOauthToken.d.ts.map +1 -0
  264. package/lib/operations/getOauthToken.js +107 -0
  265. package/lib/operations/getOauthToken.js.map +1 -0
  266. package/lib/operations/getOrganization.d.ts +35 -0
  267. package/lib/operations/getOrganization.d.ts.map +1 -0
  268. package/lib/operations/getOrganization.js +43 -0
  269. package/lib/operations/getOrganization.js.map +1 -0
  270. package/lib/operations/getOrganizationMembership.d.ts +42 -0
  271. package/lib/operations/getOrganizationMembership.d.ts.map +1 -0
  272. package/lib/operations/getOrganizationMembership.js +55 -0
  273. package/lib/operations/getOrganizationMembership.js.map +1 -0
  274. package/lib/operations/getOrganizationTeam.d.ts +57 -0
  275. package/lib/operations/getOrganizationTeam.d.ts.map +1 -0
  276. package/lib/operations/getOrganizationTeam.js +70 -0
  277. package/lib/operations/getOrganizationTeam.js.map +1 -0
  278. package/lib/operations/getOrganizationTeamMember.d.ts +91 -0
  279. package/lib/operations/getOrganizationTeamMember.d.ts.map +1 -0
  280. package/lib/operations/getOrganizationTeamMember.js +104 -0
  281. package/lib/operations/getOrganizationTeamMember.js.map +1 -0
  282. package/lib/operations/getPassword.d.ts +62 -0
  283. package/lib/operations/getPassword.d.ts.map +1 -0
  284. package/lib/operations/getPassword.js +74 -0
  285. package/lib/operations/getPassword.js.map +1 -0
  286. package/lib/operations/getQueryPatternsReport.d.ts +20 -0
  287. package/lib/operations/getQueryPatternsReport.d.ts.map +1 -0
  288. package/lib/operations/getQueryPatternsReport.js +33 -0
  289. package/lib/operations/getQueryPatternsReport.js.map +1 -0
  290. package/lib/operations/getQueryPatternsReportStatus.d.ts +32 -0
  291. package/lib/operations/getQueryPatternsReportStatus.d.ts.map +1 -0
  292. package/lib/operations/getQueryPatternsReportStatus.js +46 -0
  293. package/lib/operations/getQueryPatternsReportStatus.js.map +1 -0
  294. package/lib/operations/getRole.d.ts +56 -0
  295. package/lib/operations/getRole.d.ts.map +1 -0
  296. package/lib/operations/getRole.js +81 -0
  297. package/lib/operations/getRole.js.map +1 -0
  298. package/lib/operations/getSchemaRecommendation.d.ts +42 -0
  299. package/lib/operations/getSchemaRecommendation.d.ts.map +1 -0
  300. package/lib/operations/getSchemaRecommendation.js +65 -0
  301. package/lib/operations/getSchemaRecommendation.js.map +1 -0
  302. package/lib/operations/getServiceToken.d.ts +95 -0
  303. package/lib/operations/getServiceToken.d.ts.map +1 -0
  304. package/lib/operations/getServiceToken.js +107 -0
  305. package/lib/operations/getServiceToken.js.map +1 -0
  306. package/lib/operations/getWebhook.d.ts +29 -0
  307. package/lib/operations/getWebhook.d.ts.map +1 -0
  308. package/lib/operations/getWebhook.js +60 -0
  309. package/lib/operations/getWebhook.js.map +1 -0
  310. package/lib/operations/getWorkflow.d.ts +124 -0
  311. package/lib/operations/getWorkflow.d.ts.map +1 -0
  312. package/lib/operations/getWorkflow.js +155 -0
  313. package/lib/operations/getWorkflow.js.map +1 -0
  314. package/lib/operations/index.d.ts +149 -0
  315. package/lib/operations/index.d.ts.map +1 -0
  316. package/lib/operations/index.js +149 -0
  317. package/lib/operations/index.js.map +1 -0
  318. package/lib/operations/lintBranchSchema.d.ts +47 -0
  319. package/lib/operations/lintBranchSchema.d.ts.map +1 -0
  320. package/lib/operations/lintBranchSchema.js +58 -0
  321. package/lib/operations/lintBranchSchema.js.map +1 -0
  322. package/lib/operations/listAuditLogs.d.ts +38 -0
  323. package/lib/operations/listAuditLogs.d.ts.map +1 -0
  324. package/lib/operations/listAuditLogs.js +46 -0
  325. package/lib/operations/listAuditLogs.js.map +1 -0
  326. package/lib/operations/listBackups.d.ts +102 -0
  327. package/lib/operations/listBackups.d.ts.map +1 -0
  328. package/lib/operations/listBackups.js +127 -0
  329. package/lib/operations/listBackups.js.map +1 -0
  330. package/lib/operations/listBouncerResizeRequests.d.ts +68 -0
  331. package/lib/operations/listBouncerResizeRequests.d.ts.map +1 -0
  332. package/lib/operations/listBouncerResizeRequests.js +86 -0
  333. package/lib/operations/listBouncerResizeRequests.js.map +1 -0
  334. package/lib/operations/listBouncers.d.ts +82 -0
  335. package/lib/operations/listBouncers.d.ts.map +1 -0
  336. package/lib/operations/listBouncers.js +99 -0
  337. package/lib/operations/listBouncers.js.map +1 -0
  338. package/lib/operations/listBranchBouncerResizeRequests.d.ts +66 -0
  339. package/lib/operations/listBranchBouncerResizeRequests.d.ts.map +1 -0
  340. package/lib/operations/listBranchBouncerResizeRequests.js +85 -0
  341. package/lib/operations/listBranchBouncerResizeRequests.js.map +1 -0
  342. package/lib/operations/listBranchChangeRequests.d.ts +66 -0
  343. package/lib/operations/listBranchChangeRequests.d.ts.map +1 -0
  344. package/lib/operations/listBranchChangeRequests.js +85 -0
  345. package/lib/operations/listBranchChangeRequests.js.map +1 -0
  346. package/lib/operations/listBranches.d.ts +89 -0
  347. package/lib/operations/listBranches.d.ts.map +1 -0
  348. package/lib/operations/listBranches.js +106 -0
  349. package/lib/operations/listBranches.js.map +1 -0
  350. package/lib/operations/listClusterSizeSkus.d.ts +39 -0
  351. package/lib/operations/listClusterSizeSkus.d.ts.map +1 -0
  352. package/lib/operations/listClusterSizeSkus.js +52 -0
  353. package/lib/operations/listClusterSizeSkus.js.map +1 -0
  354. package/lib/operations/listDatabasePostgresCidrs.d.ts +40 -0
  355. package/lib/operations/listDatabasePostgresCidrs.d.ts.map +1 -0
  356. package/lib/operations/listDatabasePostgresCidrs.js +53 -0
  357. package/lib/operations/listDatabasePostgresCidrs.js.map +1 -0
  358. package/lib/operations/listDatabaseRegions.d.ts +36 -0
  359. package/lib/operations/listDatabaseRegions.d.ts.map +1 -0
  360. package/lib/operations/listDatabaseRegions.js +49 -0
  361. package/lib/operations/listDatabaseRegions.js.map +1 -0
  362. package/lib/operations/listDatabases.d.ts +88 -0
  363. package/lib/operations/listDatabases.d.ts.map +1 -0
  364. package/lib/operations/listDatabases.js +104 -0
  365. package/lib/operations/listDatabases.js.map +1 -0
  366. package/lib/operations/listDeployOperations.d.ts +51 -0
  367. package/lib/operations/listDeployOperations.d.ts.map +1 -0
  368. package/lib/operations/listDeployOperations.js +71 -0
  369. package/lib/operations/listDeployOperations.js.map +1 -0
  370. package/lib/operations/listDeployRequestReviews.d.ts +37 -0
  371. package/lib/operations/listDeployRequestReviews.d.ts.map +1 -0
  372. package/lib/operations/listDeployRequestReviews.js +50 -0
  373. package/lib/operations/listDeployRequestReviews.js.map +1 -0
  374. package/lib/operations/listDeployRequests.d.ts +169 -0
  375. package/lib/operations/listDeployRequests.d.ts.map +1 -0
  376. package/lib/operations/listDeployRequests.js +244 -0
  377. package/lib/operations/listDeployRequests.js.map +1 -0
  378. package/lib/operations/listExtensions.d.ts +54 -0
  379. package/lib/operations/listExtensions.d.ts.map +1 -0
  380. package/lib/operations/listExtensions.js +75 -0
  381. package/lib/operations/listExtensions.js.map +1 -0
  382. package/lib/operations/listGeneratedQueryPatternsReports.d.ts +36 -0
  383. package/lib/operations/listGeneratedQueryPatternsReports.d.ts.map +1 -0
  384. package/lib/operations/listGeneratedQueryPatternsReports.js +50 -0
  385. package/lib/operations/listGeneratedQueryPatternsReports.js.map +1 -0
  386. package/lib/operations/listInvoices.d.ts +34 -0
  387. package/lib/operations/listInvoices.d.ts.map +1 -0
  388. package/lib/operations/listInvoices.js +42 -0
  389. package/lib/operations/listInvoices.js.map +1 -0
  390. package/lib/operations/listKeyspaces.d.ts +59 -0
  391. package/lib/operations/listKeyspaces.d.ts.map +1 -0
  392. package/lib/operations/listKeyspaces.js +74 -0
  393. package/lib/operations/listKeyspaces.js.map +1 -0
  394. package/lib/operations/listOauthApplications.d.ts +40 -0
  395. package/lib/operations/listOauthApplications.d.ts.map +1 -0
  396. package/lib/operations/listOauthApplications.js +53 -0
  397. package/lib/operations/listOauthApplications.js.map +1 -0
  398. package/lib/operations/listOauthTokens.d.ts +106 -0
  399. package/lib/operations/listOauthTokens.d.ts.map +1 -0
  400. package/lib/operations/listOauthTokens.js +117 -0
  401. package/lib/operations/listOauthTokens.js.map +1 -0
  402. package/lib/operations/listOrganizationMembers.d.ts +53 -0
  403. package/lib/operations/listOrganizationMembers.d.ts.map +1 -0
  404. package/lib/operations/listOrganizationMembers.js +63 -0
  405. package/lib/operations/listOrganizationMembers.js.map +1 -0
  406. package/lib/operations/listOrganizationTeamMembers.d.ts +96 -0
  407. package/lib/operations/listOrganizationTeamMembers.d.ts.map +1 -0
  408. package/lib/operations/listOrganizationTeamMembers.js +109 -0
  409. package/lib/operations/listOrganizationTeamMembers.js.map +1 -0
  410. package/lib/operations/listOrganizationTeams.d.ts +64 -0
  411. package/lib/operations/listOrganizationTeams.d.ts.map +1 -0
  412. package/lib/operations/listOrganizationTeams.js +74 -0
  413. package/lib/operations/listOrganizationTeams.js.map +1 -0
  414. package/lib/operations/listOrganizations.d.ts +46 -0
  415. package/lib/operations/listOrganizations.d.ts.map +1 -0
  416. package/lib/operations/listOrganizations.js +55 -0
  417. package/lib/operations/listOrganizations.js.map +1 -0
  418. package/lib/operations/listParameters.d.ts +46 -0
  419. package/lib/operations/listParameters.d.ts.map +1 -0
  420. package/lib/operations/listParameters.js +67 -0
  421. package/lib/operations/listParameters.js.map +1 -0
  422. package/lib/operations/listPasswords.d.ts +73 -0
  423. package/lib/operations/listPasswords.d.ts.map +1 -0
  424. package/lib/operations/listPasswords.js +84 -0
  425. package/lib/operations/listPasswords.js.map +1 -0
  426. package/lib/operations/listPublicRegions.d.ts +33 -0
  427. package/lib/operations/listPublicRegions.d.ts.map +1 -0
  428. package/lib/operations/listPublicRegions.js +42 -0
  429. package/lib/operations/listPublicRegions.js.map +1 -0
  430. package/lib/operations/listReadOnlyRegions.d.ts +51 -0
  431. package/lib/operations/listReadOnlyRegions.d.ts.map +1 -0
  432. package/lib/operations/listReadOnlyRegions.js +64 -0
  433. package/lib/operations/listReadOnlyRegions.js.map +1 -0
  434. package/lib/operations/listRegionsForOrganization.d.ts +34 -0
  435. package/lib/operations/listRegionsForOrganization.d.ts.map +1 -0
  436. package/lib/operations/listRegionsForOrganization.js +44 -0
  437. package/lib/operations/listRegionsForOrganization.js.map +1 -0
  438. package/lib/operations/listRoles.d.ts +65 -0
  439. package/lib/operations/listRoles.d.ts.map +1 -0
  440. package/lib/operations/listRoles.js +90 -0
  441. package/lib/operations/listRoles.js.map +1 -0
  442. package/lib/operations/listSchemaRecommendations.d.ts +49 -0
  443. package/lib/operations/listSchemaRecommendations.d.ts.map +1 -0
  444. package/lib/operations/listSchemaRecommendations.js +72 -0
  445. package/lib/operations/listSchemaRecommendations.js.map +1 -0
  446. package/lib/operations/listServiceTokens.d.ts +104 -0
  447. package/lib/operations/listServiceTokens.d.ts.map +1 -0
  448. package/lib/operations/listServiceTokens.js +116 -0
  449. package/lib/operations/listServiceTokens.js.map +1 -0
  450. package/lib/operations/listWebhooks.d.ts +40 -0
  451. package/lib/operations/listWebhooks.d.ts.map +1 -0
  452. package/lib/operations/listWebhooks.js +71 -0
  453. package/lib/operations/listWebhooks.js.map +1 -0
  454. package/lib/operations/listWorkflows.d.ts +135 -0
  455. package/lib/operations/listWorkflows.d.ts.map +1 -0
  456. package/lib/operations/listWorkflows.js +166 -0
  457. package/lib/operations/listWorkflows.js.map +1 -0
  458. package/lib/operations/promoteBranch.d.ts +74 -0
  459. package/lib/operations/promoteBranch.d.ts.map +1 -0
  460. package/lib/operations/promoteBranch.js +91 -0
  461. package/lib/operations/promoteBranch.js.map +1 -0
  462. package/lib/operations/queueDeployRequest.d.ts +150 -0
  463. package/lib/operations/queueDeployRequest.d.ts.map +1 -0
  464. package/lib/operations/queueDeployRequest.js +225 -0
  465. package/lib/operations/queueDeployRequest.js.map +1 -0
  466. package/lib/operations/reassignRoleObjects.d.ts +22 -0
  467. package/lib/operations/reassignRoleObjects.d.ts.map +1 -0
  468. package/lib/operations/reassignRoleObjects.js +35 -0
  469. package/lib/operations/reassignRoleObjects.js.map +1 -0
  470. package/lib/operations/removeOrganizationMember.d.ts +20 -0
  471. package/lib/operations/removeOrganizationMember.d.ts.map +1 -0
  472. package/lib/operations/removeOrganizationMember.js +33 -0
  473. package/lib/operations/removeOrganizationMember.js.map +1 -0
  474. package/lib/operations/removeOrganizationTeamMember.d.ts +20 -0
  475. package/lib/operations/removeOrganizationTeamMember.d.ts.map +1 -0
  476. package/lib/operations/removeOrganizationTeamMember.js +34 -0
  477. package/lib/operations/removeOrganizationTeamMember.js.map +1 -0
  478. package/lib/operations/renewPassword.d.ts +62 -0
  479. package/lib/operations/renewPassword.d.ts.map +1 -0
  480. package/lib/operations/renewPassword.js +74 -0
  481. package/lib/operations/renewPassword.js.map +1 -0
  482. package/lib/operations/renewRole.d.ts +56 -0
  483. package/lib/operations/renewRole.d.ts.map +1 -0
  484. package/lib/operations/renewRole.js +81 -0
  485. package/lib/operations/renewRole.js.map +1 -0
  486. package/lib/operations/resetDefaultRole.d.ts +54 -0
  487. package/lib/operations/resetDefaultRole.d.ts.map +1 -0
  488. package/lib/operations/resetDefaultRole.js +79 -0
  489. package/lib/operations/resetDefaultRole.js.map +1 -0
  490. package/lib/operations/resetRole.d.ts +56 -0
  491. package/lib/operations/resetRole.d.ts.map +1 -0
  492. package/lib/operations/resetRole.js +81 -0
  493. package/lib/operations/resetRole.js.map +1 -0
  494. package/lib/operations/reviewDeployRequest.d.ts +36 -0
  495. package/lib/operations/reviewDeployRequest.d.ts.map +1 -0
  496. package/lib/operations/reviewDeployRequest.js +49 -0
  497. package/lib/operations/reviewDeployRequest.js.map +1 -0
  498. package/lib/operations/skipRevertPeriod.d.ts +150 -0
  499. package/lib/operations/skipRevertPeriod.d.ts.map +1 -0
  500. package/lib/operations/skipRevertPeriod.js +223 -0
  501. package/lib/operations/skipRevertPeriod.js.map +1 -0
  502. package/lib/operations/testWebhook.d.ts +20 -0
  503. package/lib/operations/testWebhook.d.ts.map +1 -0
  504. package/lib/operations/testWebhook.js +31 -0
  505. package/lib/operations/testWebhook.js.map +1 -0
  506. package/lib/operations/updateAutoApply.d.ts +152 -0
  507. package/lib/operations/updateAutoApply.d.ts.map +1 -0
  508. package/lib/operations/updateAutoApply.js +225 -0
  509. package/lib/operations/updateAutoApply.js.map +1 -0
  510. package/lib/operations/updateAutoDeleteBranch.d.ts +152 -0
  511. package/lib/operations/updateAutoDeleteBranch.d.ts.map +1 -0
  512. package/lib/operations/updateAutoDeleteBranch.js +227 -0
  513. package/lib/operations/updateAutoDeleteBranch.js.map +1 -0
  514. package/lib/operations/updateBackup.d.ts +81 -0
  515. package/lib/operations/updateBackup.d.ts.map +1 -0
  516. package/lib/operations/updateBackup.js +99 -0
  517. package/lib/operations/updateBackup.js.map +1 -0
  518. package/lib/operations/updateBouncerResizeRequest.d.ts +63 -0
  519. package/lib/operations/updateBouncerResizeRequest.d.ts.map +1 -0
  520. package/lib/operations/updateBouncerResizeRequest.js +76 -0
  521. package/lib/operations/updateBouncerResizeRequest.js.map +1 -0
  522. package/lib/operations/updateBranch.d.ts +74 -0
  523. package/lib/operations/updateBranch.d.ts.map +1 -0
  524. package/lib/operations/updateBranch.js +91 -0
  525. package/lib/operations/updateBranch.js.map +1 -0
  526. package/lib/operations/updateBranchChangeRequest.d.ts +61 -0
  527. package/lib/operations/updateBranchChangeRequest.d.ts.map +1 -0
  528. package/lib/operations/updateBranchChangeRequest.js +80 -0
  529. package/lib/operations/updateBranchChangeRequest.js.map +1 -0
  530. package/lib/operations/updateBranchClusterConfig.d.ts +20 -0
  531. package/lib/operations/updateBranchClusterConfig.d.ts.map +1 -0
  532. package/lib/operations/updateBranchClusterConfig.js +33 -0
  533. package/lib/operations/updateBranchClusterConfig.js.map +1 -0
  534. package/lib/operations/updateDatabasePostgresCidr.d.ts +37 -0
  535. package/lib/operations/updateDatabasePostgresCidr.d.ts.map +1 -0
  536. package/lib/operations/updateDatabasePostgresCidr.js +50 -0
  537. package/lib/operations/updateDatabasePostgresCidr.js.map +1 -0
  538. package/lib/operations/updateDatabaseSettings.d.ts +99 -0
  539. package/lib/operations/updateDatabaseSettings.d.ts.map +1 -0
  540. package/lib/operations/updateDatabaseSettings.js +120 -0
  541. package/lib/operations/updateDatabaseSettings.js.map +1 -0
  542. package/lib/operations/updateDatabaseThrottler.d.ts +33 -0
  543. package/lib/operations/updateDatabaseThrottler.d.ts.map +1 -0
  544. package/lib/operations/updateDatabaseThrottler.js +46 -0
  545. package/lib/operations/updateDatabaseThrottler.js.map +1 -0
  546. package/lib/operations/updateDeployRequestThrottler.d.ts +35 -0
  547. package/lib/operations/updateDeployRequestThrottler.d.ts.map +1 -0
  548. package/lib/operations/updateDeployRequestThrottler.js +49 -0
  549. package/lib/operations/updateDeployRequestThrottler.js.map +1 -0
  550. package/lib/operations/updateKeyspace.d.ts +50 -0
  551. package/lib/operations/updateKeyspace.d.ts.map +1 -0
  552. package/lib/operations/updateKeyspace.js +65 -0
  553. package/lib/operations/updateKeyspace.js.map +1 -0
  554. package/lib/operations/updateKeyspaceVschema.d.ts +24 -0
  555. package/lib/operations/updateKeyspaceVschema.d.ts.map +1 -0
  556. package/lib/operations/updateKeyspaceVschema.js +37 -0
  557. package/lib/operations/updateKeyspaceVschema.js.map +1 -0
  558. package/lib/operations/updateOrganization.d.ts +41 -0
  559. package/lib/operations/updateOrganization.d.ts.map +1 -0
  560. package/lib/operations/updateOrganization.js +51 -0
  561. package/lib/operations/updateOrganization.js.map +1 -0
  562. package/lib/operations/updateOrganizationMembership.d.ts +44 -0
  563. package/lib/operations/updateOrganizationMembership.d.ts.map +1 -0
  564. package/lib/operations/updateOrganizationMembership.js +58 -0
  565. package/lib/operations/updateOrganizationMembership.js.map +1 -0
  566. package/lib/operations/updateOrganizationTeam.d.ts +61 -0
  567. package/lib/operations/updateOrganizationTeam.d.ts.map +1 -0
  568. package/lib/operations/updateOrganizationTeam.js +74 -0
  569. package/lib/operations/updateOrganizationTeam.js.map +1 -0
  570. package/lib/operations/updatePassword.d.ts +66 -0
  571. package/lib/operations/updatePassword.d.ts.map +1 -0
  572. package/lib/operations/updatePassword.js +78 -0
  573. package/lib/operations/updatePassword.js.map +1 -0
  574. package/lib/operations/updateRole.d.ts +62 -0
  575. package/lib/operations/updateRole.d.ts.map +1 -0
  576. package/lib/operations/updateRole.js +87 -0
  577. package/lib/operations/updateRole.js.map +1 -0
  578. package/lib/operations/updateWebhook.d.ts +35 -0
  579. package/lib/operations/updateWebhook.d.ts.map +1 -0
  580. package/lib/operations/updateWebhook.js +66 -0
  581. package/lib/operations/updateWebhook.js.map +1 -0
  582. package/lib/operations/verifyWorkflow.d.ts +124 -0
  583. package/lib/operations/verifyWorkflow.d.ts.map +1 -0
  584. package/lib/operations/verifyWorkflow.js +155 -0
  585. package/lib/operations/verifyWorkflow.js.map +1 -0
  586. package/lib/operations/workflowCancel.d.ts +124 -0
  587. package/lib/operations/workflowCancel.d.ts.map +1 -0
  588. package/lib/operations/workflowCancel.js +155 -0
  589. package/lib/operations/workflowCancel.js.map +1 -0
  590. package/lib/operations/workflowComplete.d.ts +124 -0
  591. package/lib/operations/workflowComplete.d.ts.map +1 -0
  592. package/lib/operations/workflowComplete.js +155 -0
  593. package/lib/operations/workflowComplete.js.map +1 -0
  594. package/lib/operations/workflowCutover.d.ts +124 -0
  595. package/lib/operations/workflowCutover.d.ts.map +1 -0
  596. package/lib/operations/workflowCutover.js +155 -0
  597. package/lib/operations/workflowCutover.js.map +1 -0
  598. package/lib/operations/workflowRetry.d.ts +124 -0
  599. package/lib/operations/workflowRetry.d.ts.map +1 -0
  600. package/lib/operations/workflowRetry.js +155 -0
  601. package/lib/operations/workflowRetry.js.map +1 -0
  602. package/lib/operations/workflowReverseCutover.d.ts +124 -0
  603. package/lib/operations/workflowReverseCutover.d.ts.map +1 -0
  604. package/lib/operations/workflowReverseCutover.js +157 -0
  605. package/lib/operations/workflowReverseCutover.js.map +1 -0
  606. package/lib/operations/workflowReverseTraffic.d.ts +124 -0
  607. package/lib/operations/workflowReverseTraffic.d.ts.map +1 -0
  608. package/lib/operations/workflowReverseTraffic.js +157 -0
  609. package/lib/operations/workflowReverseTraffic.js.map +1 -0
  610. package/lib/operations/workflowSwitchPrimaries.d.ts +124 -0
  611. package/lib/operations/workflowSwitchPrimaries.d.ts.map +1 -0
  612. package/lib/operations/workflowSwitchPrimaries.js +157 -0
  613. package/lib/operations/workflowSwitchPrimaries.js.map +1 -0
  614. package/lib/operations/workflowSwitchReplicas.d.ts +124 -0
  615. package/lib/operations/workflowSwitchReplicas.d.ts.map +1 -0
  616. package/lib/operations/workflowSwitchReplicas.js +157 -0
  617. package/lib/operations/workflowSwitchReplicas.js.map +1 -0
  618. package/lib/retry.d.ts +24 -0
  619. package/lib/retry.d.ts.map +1 -0
  620. package/lib/retry.js +23 -0
  621. package/lib/retry.js.map +1 -0
  622. package/lib/sensitive.d.ts +5 -0
  623. package/lib/sensitive.d.ts.map +1 -0
  624. package/lib/sensitive.js +5 -0
  625. package/lib/sensitive.js.map +1 -0
  626. package/lib/traits.d.ts +13 -0
  627. package/lib/traits.d.ts.map +1 -0
  628. package/lib/traits.js +13 -0
  629. package/lib/traits.js.map +1 -0
  630. package/package.json +88 -0
  631. package/src/category.ts +12 -0
  632. package/src/client.ts +63 -0
  633. package/src/credentials.ts +43 -0
  634. package/src/errors.ts +52 -0
  635. package/src/index.ts +15 -0
  636. package/src/operations/addOrganizationTeamMember.ts +121 -0
  637. package/src/operations/cancelBouncerResizeRequest.ts +43 -0
  638. package/src/operations/cancelBranchChangeRequest.ts +41 -0
  639. package/src/operations/cancelDeployRequest.ts +243 -0
  640. package/src/operations/closeDeployRequest.ts +245 -0
  641. package/src/operations/completeErroredDeploy.ts +246 -0
  642. package/src/operations/completeGatedDeployRequest.ts +247 -0
  643. package/src/operations/completeRevert.ts +241 -0
  644. package/src/operations/createBackup.ts +115 -0
  645. package/src/operations/createBouncer.ts +104 -0
  646. package/src/operations/createBranch.ts +111 -0
  647. package/src/operations/createDatabase.ts +113 -0
  648. package/src/operations/createDatabasePostgresCidr.ts +58 -0
  649. package/src/operations/createDeployRequest.ts +251 -0
  650. package/src/operations/createKeyspace.ts +77 -0
  651. package/src/operations/createOauthToken.ts +145 -0
  652. package/src/operations/createOrganizationTeam.ts +88 -0
  653. package/src/operations/createPassword.ts +92 -0
  654. package/src/operations/createQueryPatternsReport.ts +53 -0
  655. package/src/operations/createRole.ts +115 -0
  656. package/src/operations/createServiceToken.ts +135 -0
  657. package/src/operations/createWebhook.ts +72 -0
  658. package/src/operations/createWorkflow.ts +175 -0
  659. package/src/operations/deleteBackup.ts +37 -0
  660. package/src/operations/deleteBouncer.ts +37 -0
  661. package/src/operations/deleteBranch.ts +35 -0
  662. package/src/operations/deleteDatabase.ts +33 -0
  663. package/src/operations/deleteDatabasePostgresCidr.ts +41 -0
  664. package/src/operations/deleteKeyspace.ts +37 -0
  665. package/src/operations/deleteOauthToken.ts +35 -0
  666. package/src/operations/deleteOrganizationTeam.ts +44 -0
  667. package/src/operations/deletePassword.ts +37 -0
  668. package/src/operations/deleteQueryPatternsReport.ts +43 -0
  669. package/src/operations/deleteRole.ts +39 -0
  670. package/src/operations/deleteServiceToken.ts +36 -0
  671. package/src/operations/deleteWebhook.ts +35 -0
  672. package/src/operations/demoteBranch.ts +99 -0
  673. package/src/operations/disableSafeMigrations.ts +102 -0
  674. package/src/operations/dismissSchemaRecommendation.ts +77 -0
  675. package/src/operations/enableSafeMigrations.ts +101 -0
  676. package/src/operations/getBackup.ts +107 -0
  677. package/src/operations/getBouncer.ts +98 -0
  678. package/src/operations/getBranch.ts +97 -0
  679. package/src/operations/getBranchChangeRequest.ts +86 -0
  680. package/src/operations/getBranchSchema.ts +47 -0
  681. package/src/operations/getCurrentUser.ts +48 -0
  682. package/src/operations/getDatabase.ts +106 -0
  683. package/src/operations/getDatabasePostgresCidr.ts +54 -0
  684. package/src/operations/getDatabaseThrottler.ts +52 -0
  685. package/src/operations/getDefaultRole.ts +87 -0
  686. package/src/operations/getDeployQueue.ts +192 -0
  687. package/src/operations/getDeployRequest.ts +243 -0
  688. package/src/operations/getDeployRequestThrottler.ts +56 -0
  689. package/src/operations/getDeployment.ts +185 -0
  690. package/src/operations/getInvoice.ts +40 -0
  691. package/src/operations/getInvoiceLineItems.ts +64 -0
  692. package/src/operations/getKeyspace.ts +71 -0
  693. package/src/operations/getKeyspaceRolloutStatus.ts +54 -0
  694. package/src/operations/getKeyspaceVschema.ts +41 -0
  695. package/src/operations/getOauthApplication.ts +50 -0
  696. package/src/operations/getOauthToken.ts +131 -0
  697. package/src/operations/getOrganization.ts +47 -0
  698. package/src/operations/getOrganizationMembership.ts +67 -0
  699. package/src/operations/getOrganizationTeam.ts +85 -0
  700. package/src/operations/getOrganizationTeamMember.ts +121 -0
  701. package/src/operations/getPassword.ts +80 -0
  702. package/src/operations/getQueryPatternsReport.ts +43 -0
  703. package/src/operations/getQueryPatternsReportStatus.ts +54 -0
  704. package/src/operations/getRole.ts +89 -0
  705. package/src/operations/getSchemaRecommendation.ts +75 -0
  706. package/src/operations/getServiceToken.ts +131 -0
  707. package/src/operations/getWebhook.ts +68 -0
  708. package/src/operations/getWorkflow.ts +161 -0
  709. package/src/operations/index.ts +148 -0
  710. package/src/operations/lintBranchSchema.ts +68 -0
  711. package/src/operations/listAuditLogs.ts +54 -0
  712. package/src/operations/listBackups.ts +141 -0
  713. package/src/operations/listBouncerResizeRequests.ts +98 -0
  714. package/src/operations/listBouncers.ts +109 -0
  715. package/src/operations/listBranchBouncerResizeRequests.ts +95 -0
  716. package/src/operations/listBranchChangeRequests.ts +97 -0
  717. package/src/operations/listBranches.ts +116 -0
  718. package/src/operations/listClusterSizeSkus.ts +60 -0
  719. package/src/operations/listDatabasePostgresCidrs.ts +65 -0
  720. package/src/operations/listDatabaseRegions.ts +57 -0
  721. package/src/operations/listDatabases.ts +116 -0
  722. package/src/operations/listDeployOperations.ts +81 -0
  723. package/src/operations/listDeployRequestReviews.ts +62 -0
  724. package/src/operations/listDeployRequests.ts +271 -0
  725. package/src/operations/listExtensions.ts +85 -0
  726. package/src/operations/listGeneratedQueryPatternsReports.ts +60 -0
  727. package/src/operations/listInvoices.ts +50 -0
  728. package/src/operations/listKeyspaces.ts +84 -0
  729. package/src/operations/listOauthApplications.ts +64 -0
  730. package/src/operations/listOauthTokens.ts +143 -0
  731. package/src/operations/listOrganizationMembers.ts +77 -0
  732. package/src/operations/listOrganizationTeamMembers.ts +128 -0
  733. package/src/operations/listOrganizationTeams.ts +94 -0
  734. package/src/operations/listOrganizations.ts +63 -0
  735. package/src/operations/listParameters.ts +75 -0
  736. package/src/operations/listPasswords.ts +92 -0
  737. package/src/operations/listPublicRegions.ts +50 -0
  738. package/src/operations/listReadOnlyRegions.ts +72 -0
  739. package/src/operations/listRegionsForOrganization.ts +56 -0
  740. package/src/operations/listRoles.ts +100 -0
  741. package/src/operations/listSchemaRecommendations.ts +84 -0
  742. package/src/operations/listServiceTokens.ts +144 -0
  743. package/src/operations/listWebhooks.ts +81 -0
  744. package/src/operations/listWorkflows.ts +174 -0
  745. package/src/operations/promoteBranch.ts +99 -0
  746. package/src/operations/queueDeployRequest.ts +245 -0
  747. package/src/operations/reassignRoleObjects.ts +41 -0
  748. package/src/operations/removeOrganizationMember.ts +43 -0
  749. package/src/operations/removeOrganizationTeamMember.ts +47 -0
  750. package/src/operations/renewPassword.ts +80 -0
  751. package/src/operations/renewRole.ts +89 -0
  752. package/src/operations/resetDefaultRole.ts +89 -0
  753. package/src/operations/resetRole.ts +89 -0
  754. package/src/operations/reviewDeployRequest.ts +55 -0
  755. package/src/operations/skipRevertPeriod.ts +245 -0
  756. package/src/operations/testWebhook.ts +37 -0
  757. package/src/operations/updateAutoApply.ts +245 -0
  758. package/src/operations/updateAutoDeleteBranch.ts +251 -0
  759. package/src/operations/updateBackup.ts +109 -0
  760. package/src/operations/updateBouncerResizeRequest.ts +86 -0
  761. package/src/operations/updateBranch.ts +99 -0
  762. package/src/operations/updateBranchChangeRequest.ts +90 -0
  763. package/src/operations/updateBranchClusterConfig.ts +43 -0
  764. package/src/operations/updateDatabasePostgresCidr.ts +60 -0
  765. package/src/operations/updateDatabaseSettings.ts +134 -0
  766. package/src/operations/updateDatabaseThrottler.ts +58 -0
  767. package/src/operations/updateDeployRequestThrottler.ts +59 -0
  768. package/src/operations/updateKeyspace.ts +71 -0
  769. package/src/operations/updateKeyspaceVschema.ts +46 -0
  770. package/src/operations/updateOrganization.ts +55 -0
  771. package/src/operations/updateOrganizationMembership.ts +68 -0
  772. package/src/operations/updateOrganizationTeam.ts +93 -0
  773. package/src/operations/updatePassword.ts +84 -0
  774. package/src/operations/updateRole.ts +95 -0
  775. package/src/operations/updateWebhook.ts +74 -0
  776. package/src/operations/verifyWorkflow.ts +161 -0
  777. package/src/operations/workflowCancel.ts +161 -0
  778. package/src/operations/workflowComplete.ts +163 -0
  779. package/src/operations/workflowCutover.ts +161 -0
  780. package/src/operations/workflowRetry.ts +161 -0
  781. package/src/operations/workflowReverseCutover.ts +167 -0
  782. package/src/operations/workflowReverseTraffic.ts +167 -0
  783. package/src/operations/workflowSwitchPrimaries.ts +167 -0
  784. package/src/operations/workflowSwitchReplicas.ts +167 -0
  785. package/src/retry.ts +39 -0
  786. package/src/sensitive.ts +4 -0
  787. package/src/traits.ts +12 -0
@@ -0,0 +1,156 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const CreateDeployRequestInput: Schema.Struct<{
3
+ readonly organization: Schema.String;
4
+ readonly database: Schema.String;
5
+ readonly branch: Schema.String;
6
+ readonly into_branch: Schema.String;
7
+ readonly notes: Schema.optional<Schema.String>;
8
+ readonly auto_cutover: Schema.optional<Schema.Boolean>;
9
+ readonly auto_delete_branch: Schema.optional<Schema.Boolean>;
10
+ }>;
11
+ export type CreateDeployRequestInput = typeof CreateDeployRequestInput.Type;
12
+ export declare const CreateDeployRequestOutput: Schema.Struct<{
13
+ readonly id: Schema.String;
14
+ readonly number: Schema.Number;
15
+ readonly actor: Schema.Struct<{
16
+ readonly id: Schema.String;
17
+ readonly display_name: Schema.String;
18
+ readonly avatar_url: Schema.String;
19
+ }>;
20
+ readonly closed_by: Schema.Struct<{
21
+ readonly id: Schema.String;
22
+ readonly display_name: Schema.String;
23
+ readonly avatar_url: Schema.String;
24
+ }>;
25
+ readonly branch: Schema.String;
26
+ readonly branch_id: Schema.String;
27
+ readonly branch_deleted: Schema.Boolean;
28
+ readonly branch_deleted_by: Schema.Struct<{
29
+ readonly id: Schema.String;
30
+ readonly display_name: Schema.String;
31
+ readonly avatar_url: Schema.String;
32
+ }>;
33
+ readonly branch_deleted_at: Schema.String;
34
+ readonly into_branch: Schema.String;
35
+ readonly into_branch_sharded: Schema.Boolean;
36
+ readonly into_branch_shard_count: Schema.Number;
37
+ readonly approved: Schema.Boolean;
38
+ readonly state: Schema.Literals<readonly ["open", "closed"]>;
39
+ readonly deployment_state: Schema.Literals<readonly ["pending", "ready", "no_changes", "queued", "submitting", "in_progress", "pending_cutover", "in_progress_vschema", "in_progress_cancel", "in_progress_cutover", "complete", "complete_cancel", "complete_error", "complete_pending_revert", "in_progress_revert", "in_progress_revert_vschema", "complete_revert", "complete_revert_error", "cancelled", "error"]>;
40
+ readonly deployment: Schema.Struct<{
41
+ readonly id: Schema.String;
42
+ readonly auto_cutover: Schema.Boolean;
43
+ readonly auto_delete_branch: Schema.Boolean;
44
+ readonly created_at: Schema.String;
45
+ readonly cutover_at: Schema.String;
46
+ readonly cutover_expiring: Schema.Boolean;
47
+ readonly deploy_check_errors: Schema.String;
48
+ readonly finished_at: Schema.String;
49
+ readonly queued_at: Schema.String;
50
+ readonly ready_to_cutover_at: Schema.String;
51
+ readonly started_at: Schema.String;
52
+ readonly state: Schema.Literals<readonly ["pending", "ready", "no_changes", "queued", "submitting", "in_progress", "pending_cutover", "in_progress_vschema", "in_progress_cancel", "in_progress_cutover", "complete", "complete_cancel", "complete_error", "complete_pending_revert", "in_progress_revert", "in_progress_revert_vschema", "complete_revert", "complete_revert_error", "cancelled", "error"]>;
53
+ readonly submitted_at: Schema.String;
54
+ readonly updated_at: Schema.String;
55
+ readonly into_branch: Schema.String;
56
+ readonly deploy_request_number: Schema.Number;
57
+ readonly deployable: Schema.Boolean;
58
+ readonly preceding_deployments: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
59
+ readonly deploy_operations: Schema.$Array<Schema.Struct<{
60
+ readonly id: Schema.String;
61
+ readonly state: Schema.Literals<readonly ["pending", "queued", "in_progress", "complete", "cancelled", "error"]>;
62
+ readonly keyspace_name: Schema.String;
63
+ readonly table_name: Schema.String;
64
+ readonly operation_name: Schema.String;
65
+ readonly eta_seconds: Schema.Number;
66
+ readonly progress_percentage: Schema.Number;
67
+ readonly deploy_error_docs_url: Schema.String;
68
+ readonly ddl_statement: Schema.String;
69
+ readonly syntax_highlighted_ddl: Schema.String;
70
+ readonly created_at: Schema.String;
71
+ readonly updated_at: Schema.String;
72
+ readonly throttled_at: Schema.String;
73
+ readonly can_drop_data: Schema.Boolean;
74
+ readonly table_locked: Schema.Boolean;
75
+ readonly table_recently_used: Schema.Boolean;
76
+ readonly table_recently_used_at: Schema.String;
77
+ readonly removed_foreign_key_names: Schema.$Array<Schema.String>;
78
+ readonly deploy_errors: Schema.String;
79
+ }>>;
80
+ readonly deploy_operation_summaries: Schema.$Array<Schema.Struct<{
81
+ readonly id: Schema.String;
82
+ readonly created_at: Schema.String;
83
+ readonly deploy_errors: Schema.String;
84
+ readonly ddl_statement: Schema.String;
85
+ readonly eta_seconds: Schema.Number;
86
+ readonly keyspace_name: Schema.String;
87
+ readonly operation_name: Schema.String;
88
+ readonly progress_percentage: Schema.Number;
89
+ readonly state: Schema.Literals<readonly ["pending", "in_progress", "complete", "cancelled", "error"]>;
90
+ readonly syntax_highlighted_ddl: Schema.String;
91
+ readonly table_name: Schema.String;
92
+ readonly table_recently_used_at: Schema.String;
93
+ readonly throttled_at: Schema.String;
94
+ readonly removed_foreign_key_names: Schema.$Array<Schema.String>;
95
+ readonly shard_count: Schema.Number;
96
+ readonly shard_names: Schema.$Array<Schema.String>;
97
+ readonly can_drop_data: Schema.Boolean;
98
+ readonly table_recently_used: Schema.Boolean;
99
+ readonly sharded: Schema.Boolean;
100
+ readonly operations: Schema.$Array<Schema.Struct<{
101
+ readonly id: Schema.String;
102
+ readonly shard: Schema.String;
103
+ readonly state: Schema.Literals<readonly ["pending", "queued", "in_progress", "complete", "cancelled", "error"]>;
104
+ readonly progress_percentage: Schema.Number;
105
+ readonly eta_seconds: Schema.Number;
106
+ }>>;
107
+ }>>;
108
+ readonly lint_errors: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
109
+ readonly sequential_diff_dependencies: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
110
+ readonly lookup_vindex_operations: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
111
+ readonly throttler_configurations: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
112
+ readonly deployment_revert_request: Schema.$Record<Schema.String, Schema.Unknown>;
113
+ readonly actor: Schema.Struct<{
114
+ readonly id: Schema.String;
115
+ readonly display_name: Schema.String;
116
+ readonly avatar_url: Schema.String;
117
+ }>;
118
+ readonly cutover_actor: Schema.Struct<{
119
+ readonly id: Schema.String;
120
+ readonly display_name: Schema.String;
121
+ readonly avatar_url: Schema.String;
122
+ }>;
123
+ readonly cancelled_actor: Schema.Struct<{
124
+ readonly id: Schema.String;
125
+ readonly display_name: Schema.String;
126
+ readonly avatar_url: Schema.String;
127
+ }>;
128
+ readonly schema_last_updated_at: Schema.String;
129
+ readonly table_locked: Schema.Boolean;
130
+ readonly locked_table_name: Schema.String;
131
+ readonly instant_ddl: Schema.Boolean;
132
+ readonly instant_ddl_eligible: Schema.Boolean;
133
+ }>;
134
+ readonly num_comments: Schema.Number;
135
+ readonly html_url: Schema.String;
136
+ readonly notes: Schema.String;
137
+ readonly html_body: Schema.String;
138
+ readonly created_at: Schema.String;
139
+ readonly updated_at: Schema.String;
140
+ readonly closed_at: Schema.String;
141
+ readonly deployed_at: Schema.String;
142
+ }>;
143
+ export type CreateDeployRequestOutput = typeof CreateDeployRequestOutput.Type;
144
+ /**
145
+ * Create a deploy request
146
+ *
147
+ * @param organization - The name of the deploy request's organization
148
+ * @param database - The name of the deploy request's database
149
+ * @param branch - The name of the branch the deploy request is created from
150
+ * @param into_branch - The name of the branch the deploy request will be merged into
151
+ * @param notes - Notes about the deploy request
152
+ * @param auto_cutover - Whether or not to enable auto_cutover for the deploy request. When enabled, will auto cutover to the new schema as soon as it is ready.
153
+ * @param auto_delete_branch - Whether or not to enable auto_delete_branch for the deploy request. When enabled, will delete the branch once the DR successfully completes.
154
+ */
155
+ export declare const createDeployRequest: any;
156
+ //# sourceMappingURL=createDeployRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDeployRequest.d.ts","sourceRoot":"","sources":["../../src/operations/createDeployRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,wBAAwB;;;;;;;;EAclC,CAAC;AACJ,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+MlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,KAI7B,CAAC"}
@@ -0,0 +1,231 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+ // Input Schema
6
+ export const CreateDeployRequestInput =
7
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8
+ organization: Schema.String.pipe(T.PathParam()),
9
+ database: Schema.String.pipe(T.PathParam()),
10
+ branch: Schema.String,
11
+ into_branch: Schema.String,
12
+ notes: Schema.optional(Schema.String),
13
+ auto_cutover: Schema.optional(Schema.Boolean),
14
+ auto_delete_branch: Schema.optional(Schema.Boolean),
15
+ }).pipe(T.Http({
16
+ method: "POST",
17
+ path: "/organizations/{organization}/databases/{database}/deploy-requests",
18
+ }));
19
+ // Output Schema
20
+ export const CreateDeployRequestOutput =
21
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22
+ id: Schema.String,
23
+ number: Schema.Number,
24
+ actor: Schema.Struct({
25
+ id: Schema.String,
26
+ display_name: Schema.String,
27
+ avatar_url: Schema.String,
28
+ }),
29
+ closed_by: Schema.Struct({
30
+ id: Schema.String,
31
+ display_name: Schema.String,
32
+ avatar_url: Schema.String,
33
+ }),
34
+ branch: Schema.String,
35
+ branch_id: Schema.String,
36
+ branch_deleted: Schema.Boolean,
37
+ branch_deleted_by: Schema.Struct({
38
+ id: Schema.String,
39
+ display_name: Schema.String,
40
+ avatar_url: Schema.String,
41
+ }),
42
+ branch_deleted_at: Schema.String,
43
+ into_branch: Schema.String,
44
+ into_branch_sharded: Schema.Boolean,
45
+ into_branch_shard_count: Schema.Number,
46
+ approved: Schema.Boolean,
47
+ state: Schema.Literals(["open", "closed"]),
48
+ deployment_state: Schema.Literals([
49
+ "pending",
50
+ "ready",
51
+ "no_changes",
52
+ "queued",
53
+ "submitting",
54
+ "in_progress",
55
+ "pending_cutover",
56
+ "in_progress_vschema",
57
+ "in_progress_cancel",
58
+ "in_progress_cutover",
59
+ "complete",
60
+ "complete_cancel",
61
+ "complete_error",
62
+ "complete_pending_revert",
63
+ "in_progress_revert",
64
+ "in_progress_revert_vschema",
65
+ "complete_revert",
66
+ "complete_revert_error",
67
+ "cancelled",
68
+ "error",
69
+ ]),
70
+ deployment: Schema.Struct({
71
+ id: Schema.String,
72
+ auto_cutover: Schema.Boolean,
73
+ auto_delete_branch: Schema.Boolean,
74
+ created_at: Schema.String,
75
+ cutover_at: Schema.String,
76
+ cutover_expiring: Schema.Boolean,
77
+ deploy_check_errors: Schema.String,
78
+ finished_at: Schema.String,
79
+ queued_at: Schema.String,
80
+ ready_to_cutover_at: Schema.String,
81
+ started_at: Schema.String,
82
+ state: Schema.Literals([
83
+ "pending",
84
+ "ready",
85
+ "no_changes",
86
+ "queued",
87
+ "submitting",
88
+ "in_progress",
89
+ "pending_cutover",
90
+ "in_progress_vschema",
91
+ "in_progress_cancel",
92
+ "in_progress_cutover",
93
+ "complete",
94
+ "complete_cancel",
95
+ "complete_error",
96
+ "complete_pending_revert",
97
+ "in_progress_revert",
98
+ "in_progress_revert_vschema",
99
+ "complete_revert",
100
+ "complete_revert_error",
101
+ "cancelled",
102
+ "error",
103
+ ]),
104
+ submitted_at: Schema.String,
105
+ updated_at: Schema.String,
106
+ into_branch: Schema.String,
107
+ deploy_request_number: Schema.Number,
108
+ deployable: Schema.Boolean,
109
+ preceding_deployments: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
110
+ deploy_operations: Schema.Array(Schema.Struct({
111
+ id: Schema.String,
112
+ state: Schema.Literals([
113
+ "pending",
114
+ "queued",
115
+ "in_progress",
116
+ "complete",
117
+ "cancelled",
118
+ "error",
119
+ ]),
120
+ keyspace_name: Schema.String,
121
+ table_name: Schema.String,
122
+ operation_name: Schema.String,
123
+ eta_seconds: Schema.Number,
124
+ progress_percentage: Schema.Number,
125
+ deploy_error_docs_url: Schema.String,
126
+ ddl_statement: Schema.String,
127
+ syntax_highlighted_ddl: Schema.String,
128
+ created_at: Schema.String,
129
+ updated_at: Schema.String,
130
+ throttled_at: Schema.String,
131
+ can_drop_data: Schema.Boolean,
132
+ table_locked: Schema.Boolean,
133
+ table_recently_used: Schema.Boolean,
134
+ table_recently_used_at: Schema.String,
135
+ removed_foreign_key_names: Schema.Array(Schema.String),
136
+ deploy_errors: Schema.String,
137
+ })),
138
+ deploy_operation_summaries: Schema.Array(Schema.Struct({
139
+ id: Schema.String,
140
+ created_at: Schema.String,
141
+ deploy_errors: Schema.String,
142
+ ddl_statement: Schema.String,
143
+ eta_seconds: Schema.Number,
144
+ keyspace_name: Schema.String,
145
+ operation_name: Schema.String,
146
+ progress_percentage: Schema.Number,
147
+ state: Schema.Literals([
148
+ "pending",
149
+ "in_progress",
150
+ "complete",
151
+ "cancelled",
152
+ "error",
153
+ ]),
154
+ syntax_highlighted_ddl: Schema.String,
155
+ table_name: Schema.String,
156
+ table_recently_used_at: Schema.String,
157
+ throttled_at: Schema.String,
158
+ removed_foreign_key_names: Schema.Array(Schema.String),
159
+ shard_count: Schema.Number,
160
+ shard_names: Schema.Array(Schema.String),
161
+ can_drop_data: Schema.Boolean,
162
+ table_recently_used: Schema.Boolean,
163
+ sharded: Schema.Boolean,
164
+ operations: Schema.Array(Schema.Struct({
165
+ id: Schema.String,
166
+ shard: Schema.String,
167
+ state: Schema.Literals([
168
+ "pending",
169
+ "queued",
170
+ "in_progress",
171
+ "complete",
172
+ "cancelled",
173
+ "error",
174
+ ]),
175
+ progress_percentage: Schema.Number,
176
+ eta_seconds: Schema.Number,
177
+ })),
178
+ })),
179
+ lint_errors: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
180
+ sequential_diff_dependencies: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
181
+ lookup_vindex_operations: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
182
+ throttler_configurations: Schema.Array(Schema.Record(Schema.String, Schema.Unknown)),
183
+ deployment_revert_request: Schema.Record(Schema.String, Schema.Unknown),
184
+ actor: Schema.Struct({
185
+ id: Schema.String,
186
+ display_name: Schema.String,
187
+ avatar_url: Schema.String,
188
+ }),
189
+ cutover_actor: Schema.Struct({
190
+ id: Schema.String,
191
+ display_name: Schema.String,
192
+ avatar_url: Schema.String,
193
+ }),
194
+ cancelled_actor: Schema.Struct({
195
+ id: Schema.String,
196
+ display_name: Schema.String,
197
+ avatar_url: Schema.String,
198
+ }),
199
+ schema_last_updated_at: Schema.String,
200
+ table_locked: Schema.Boolean,
201
+ locked_table_name: Schema.String,
202
+ instant_ddl: Schema.Boolean,
203
+ instant_ddl_eligible: Schema.Boolean,
204
+ }),
205
+ num_comments: Schema.Number,
206
+ html_url: Schema.String,
207
+ notes: Schema.String,
208
+ html_body: Schema.String,
209
+ created_at: Schema.String,
210
+ updated_at: Schema.String,
211
+ closed_at: Schema.String,
212
+ deployed_at: Schema.String,
213
+ });
214
+ // The operation
215
+ /**
216
+ * Create a deploy request
217
+ *
218
+ * @param organization - The name of the deploy request's organization
219
+ * @param database - The name of the deploy request's database
220
+ * @param branch - The name of the branch the deploy request is created from
221
+ * @param into_branch - The name of the branch the deploy request will be merged into
222
+ * @param notes - Notes about the deploy request
223
+ * @param auto_cutover - Whether or not to enable auto_cutover for the deploy request. When enabled, will auto cutover to the new schema as soon as it is ready.
224
+ * @param auto_delete_branch - Whether or not to enable auto_delete_branch for the deploy request. When enabled, will delete the branch once the DR successfully completes.
225
+ */
226
+ export const createDeployRequest = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
227
+ inputSchema: CreateDeployRequestInput,
228
+ outputSchema: CreateDeployRequestOutput,
229
+ errors: [Forbidden, NotFound],
230
+ }));
231
+ //# sourceMappingURL=createDeployRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDeployRequest.js","sourceRoot":"","sources":["../../src/operations/createDeployRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,M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import * as Schema from "effect/Schema";
2
+ export declare const CreateKeyspaceInput: Schema.Struct<{
3
+ readonly organization: Schema.String;
4
+ readonly database: Schema.String;
5
+ readonly branch: Schema.String;
6
+ readonly name: Schema.String;
7
+ readonly cluster_size: Schema.String;
8
+ readonly extra_replicas: Schema.optional<Schema.Number>;
9
+ readonly shards: Schema.optional<Schema.Number>;
10
+ }>;
11
+ export type CreateKeyspaceInput = typeof CreateKeyspaceInput.Type;
12
+ export declare const CreateKeyspaceOutput: Schema.Struct<{
13
+ readonly id: Schema.String;
14
+ readonly name: Schema.String;
15
+ readonly shards: Schema.Number;
16
+ readonly sharded: Schema.Boolean;
17
+ readonly replicas: Schema.Number;
18
+ readonly extra_replicas: Schema.Number;
19
+ readonly created_at: Schema.String;
20
+ readonly updated_at: Schema.String;
21
+ readonly cluster_name: Schema.String;
22
+ readonly cluster_display_name: Schema.String;
23
+ readonly resizing: Schema.Boolean;
24
+ readonly resize_pending: Schema.Boolean;
25
+ readonly config_change_in_progress: Schema.Boolean;
26
+ readonly ready: Schema.Boolean;
27
+ readonly metal: Schema.Boolean;
28
+ readonly default: Schema.Boolean;
29
+ readonly imported: Schema.Boolean;
30
+ readonly vector_pool_allocation: Schema.NullOr<Schema.Number>;
31
+ readonly node_ttl_strategy: Schema.Literals<readonly ["node_ttl_follow_maintenance", "node_ttl_always", "node_ttl_off"]>;
32
+ readonly replication_durability_constraints: Schema.Struct<{
33
+ readonly strategy: Schema.optional<Schema.Literals<readonly ["available", "lag", "always"]>>;
34
+ }>;
35
+ readonly vreplication_flags: Schema.Struct<{
36
+ readonly optimize_inserts: Schema.Boolean;
37
+ readonly allow_no_blob_binlog_row_image: Schema.Boolean;
38
+ readonly vplayer_batching: Schema.Boolean;
39
+ }>;
40
+ readonly mysqld_options: Schema.$Record<Schema.String, Schema.Unknown>;
41
+ readonly vttablet_options: Schema.$Record<Schema.String, Schema.Unknown>;
42
+ }>;
43
+ export type CreateKeyspaceOutput = typeof CreateKeyspaceOutput.Type;
44
+ /**
45
+ * Create a keyspace
46
+ *
47
+ * @param organization - The name of the organization the branch belongs to
48
+ * @param database - The name of the database the branch belongs to
49
+ * @param branch - The name of the branch
50
+ * @param name - The name of the keyspace
51
+ * @param cluster_size - The database cluster size name (e.g., 'PS_10', 'PS_80'). Use the 'List available cluster sizes' endpoint to get available options for your organization. /v1/organizations/:organization/cluster-size-skus
52
+ * @param extra_replicas - The number of additional replicas beyond the included default
53
+ * @param shards - The number of shards. Default: 1
54
+ */
55
+ export declare const createKeyspace: any;
56
+ //# sourceMappingURL=createKeyspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createKeyspace.d.ts","sourceRoot":"","sources":["../../src/operations/createKeyspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,mBAAmB;;;;;;;;EAa/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,KAIxB,CAAC"}
@@ -0,0 +1,71 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ import { Forbidden, NotFound } from "../errors";
5
+ // Input Schema
6
+ export const CreateKeyspaceInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ organization: Schema.String.pipe(T.PathParam()),
8
+ database: Schema.String.pipe(T.PathParam()),
9
+ branch: Schema.String.pipe(T.PathParam()),
10
+ name: Schema.String,
11
+ cluster_size: Schema.String,
12
+ extra_replicas: Schema.optional(Schema.Number),
13
+ shards: Schema.optional(Schema.Number),
14
+ }).pipe(T.Http({
15
+ method: "POST",
16
+ path: "/organizations/{organization}/databases/{database}/branches/{branch}/keyspaces",
17
+ }));
18
+ // Output Schema
19
+ export const CreateKeyspaceOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
20
+ id: Schema.String,
21
+ name: Schema.String,
22
+ shards: Schema.Number,
23
+ sharded: Schema.Boolean,
24
+ replicas: Schema.Number,
25
+ extra_replicas: Schema.Number,
26
+ created_at: Schema.String,
27
+ updated_at: Schema.String,
28
+ cluster_name: Schema.String,
29
+ cluster_display_name: Schema.String,
30
+ resizing: Schema.Boolean,
31
+ resize_pending: Schema.Boolean,
32
+ config_change_in_progress: Schema.Boolean,
33
+ ready: Schema.Boolean,
34
+ metal: Schema.Boolean,
35
+ default: Schema.Boolean,
36
+ imported: Schema.Boolean,
37
+ vector_pool_allocation: Schema.NullOr(Schema.Number),
38
+ node_ttl_strategy: Schema.Literals([
39
+ "node_ttl_follow_maintenance",
40
+ "node_ttl_always",
41
+ "node_ttl_off",
42
+ ]),
43
+ replication_durability_constraints: Schema.Struct({
44
+ strategy: Schema.optional(Schema.Literals(["available", "lag", "always"])),
45
+ }),
46
+ vreplication_flags: Schema.Struct({
47
+ optimize_inserts: Schema.Boolean,
48
+ allow_no_blob_binlog_row_image: Schema.Boolean,
49
+ vplayer_batching: Schema.Boolean,
50
+ }),
51
+ mysqld_options: Schema.Record(Schema.String, Schema.Unknown),
52
+ vttablet_options: Schema.Record(Schema.String, Schema.Unknown),
53
+ });
54
+ // The operation
55
+ /**
56
+ * Create a keyspace
57
+ *
58
+ * @param organization - The name of the organization the branch belongs to
59
+ * @param database - The name of the database the branch belongs to
60
+ * @param branch - The name of the branch
61
+ * @param name - The name of the keyspace
62
+ * @param cluster_size - The database cluster size name (e.g., 'PS_10', 'PS_80'). Use the 'List available cluster sizes' endpoint to get available options for your organization. /v1/organizations/:organization/cluster-size-skus
63
+ * @param extra_replicas - The number of additional replicas beyond the included default
64
+ * @param shards - The number of shards. Default: 1
65
+ */
66
+ export const createKeyspace = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
67
+ inputSchema: CreateKeyspaceInput,
68
+ outputSchema: CreateKeyspaceOutput,
69
+ errors: [Forbidden, NotFound],
70
+ }));
71
+ //# sourceMappingURL=createKeyspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createKeyspace.js","sourceRoot":"","sources":["../../src/operations/createKeyspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAEhD,eAAe;AACf,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC/C,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,YAAY,EAAE,MAAM,CAAC,MAAM;IAC3B,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACvC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,gFAAgF;CACvF,CAAC,CACH,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,EAA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,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC;CAC/D,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAU;CACvC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,107 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const CreateOauthTokenInput: Schema.Struct<{
3
+ readonly organization: Schema.String;
4
+ readonly id: Schema.String;
5
+ readonly client_id: Schema.String;
6
+ readonly client_secret: Schema.String;
7
+ readonly grant_type: Schema.Literals<readonly ["authorization_code", "refresh_token"]>;
8
+ readonly code: Schema.optional<Schema.String>;
9
+ readonly redirect_uri: Schema.optional<Schema.String>;
10
+ readonly refresh_token: Schema.optional<Schema.String>;
11
+ }>;
12
+ export type CreateOauthTokenInput = typeof CreateOauthTokenInput.Type;
13
+ export declare const CreateOauthTokenOutput: Schema.Struct<{
14
+ readonly id: Schema.String;
15
+ readonly name: Schema.String;
16
+ readonly display_name: Schema.String;
17
+ readonly token: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
18
+ readonly plain_text_refresh_token: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
19
+ readonly avatar_url: Schema.String;
20
+ readonly created_at: Schema.String;
21
+ readonly updated_at: Schema.String;
22
+ readonly expires_at: Schema.String;
23
+ readonly last_used_at: Schema.String;
24
+ readonly actor_id: Schema.String;
25
+ readonly actor_display_name: Schema.String;
26
+ readonly actor_type: Schema.String;
27
+ readonly service_token_accesses: Schema.$Array<Schema.Struct<{
28
+ readonly id: Schema.String;
29
+ readonly access: Schema.String;
30
+ readonly description: Schema.String;
31
+ readonly resource_name: Schema.String;
32
+ readonly resource_id: Schema.String;
33
+ readonly resource_type: Schema.String;
34
+ readonly resource: Schema.Struct<{
35
+ readonly id: Schema.String;
36
+ readonly name: Schema.String;
37
+ readonly created_at: Schema.String;
38
+ readonly updated_at: Schema.String;
39
+ readonly deleted_at: Schema.String;
40
+ }>;
41
+ }>>;
42
+ readonly oauth_accesses_by_resource: Schema.Struct<{
43
+ readonly database: Schema.Struct<{
44
+ readonly databases: Schema.$Array<Schema.Struct<{
45
+ readonly name: Schema.String;
46
+ readonly id: Schema.String;
47
+ readonly organization: Schema.String;
48
+ readonly url: Schema.String;
49
+ }>>;
50
+ readonly accesses: Schema.$Array<Schema.Struct<{
51
+ readonly name: Schema.String;
52
+ readonly description: Schema.String;
53
+ }>>;
54
+ }>;
55
+ readonly organization: Schema.Struct<{
56
+ readonly organizations: Schema.$Array<Schema.Struct<{
57
+ readonly name: Schema.String;
58
+ readonly id: Schema.String;
59
+ readonly url: Schema.String;
60
+ }>>;
61
+ readonly accesses: Schema.$Array<Schema.Struct<{
62
+ readonly name: Schema.String;
63
+ readonly description: Schema.String;
64
+ }>>;
65
+ }>;
66
+ readonly branch: Schema.Struct<{
67
+ readonly branches: Schema.$Array<Schema.Struct<{
68
+ readonly name: Schema.String;
69
+ readonly id: Schema.String;
70
+ readonly database: Schema.String;
71
+ readonly organization: Schema.String;
72
+ readonly url: Schema.String;
73
+ }>>;
74
+ readonly accesses: Schema.$Array<Schema.Struct<{
75
+ readonly name: Schema.String;
76
+ readonly description: Schema.String;
77
+ }>>;
78
+ }>;
79
+ readonly user: Schema.Struct<{
80
+ readonly users: Schema.$Array<Schema.Struct<{
81
+ readonly name: Schema.String;
82
+ readonly id: Schema.String;
83
+ }>>;
84
+ readonly accesses: Schema.$Array<Schema.Struct<{
85
+ readonly name: Schema.String;
86
+ readonly description: Schema.String;
87
+ }>>;
88
+ }>;
89
+ }>;
90
+ }>;
91
+ export type CreateOauthTokenOutput = typeof CreateOauthTokenOutput.Type;
92
+ /**
93
+ * Create or renew an OAuth token
94
+ *
95
+ * Create an OAuth token from an authorization grant code, or refresh an OAuth token from a refresh token
96
+ *
97
+ * @param organization - The name of the organization the OAuth application belongs to
98
+ * @param id - The ID of the OAuth application
99
+ * @param client_id - The OAuth application's client ID
100
+ * @param client_secret - The OAuth application's client secret
101
+ * @param grant_type - Whether an OAuth grant code or a refresh token is being exchanged for an OAuth token
102
+ * @param code - The OAuth grant code provided to your OAuth application's redirect URI. Required when grant_type is authorization_code
103
+ * @param redirect_uri - The OAuth application's redirect URI. Required when grant_type is authorization_code
104
+ * @param refresh_token - The refresh token from the original OAuth token grant. Required when grant_type is refresh_token
105
+ */
106
+ export declare const createOauthToken: any;
107
+ //# sourceMappingURL=createOauthToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOauthToken.d.ts","sourceRoot":"","sources":["../../src/operations/createOauthToken.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAOxC,eAAO,MAAM,qBAAqB;;;;;;;;;EAcjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiGlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,KAI1B,CAAC"}