@scaleway/sdk 2.26.0 → 2.28.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 (778) hide show
  1. package/dist/api/account/index.cjs +6 -0
  2. package/dist/api/account/index.d.ts +2 -0
  3. package/dist/api/account/index.js +6 -4
  4. package/dist/api/account/v2/api.gen.cjs +116 -0
  5. package/dist/api/account/v2/api.gen.d.ts +67 -0
  6. package/dist/api/account/v2/api.gen.js +61 -44
  7. package/dist/api/account/v2/index.gen.cjs +4 -0
  8. package/dist/api/account/v2/index.gen.d.ts +2 -0
  9. package/dist/api/account/v2/index.gen.js +4 -4
  10. package/dist/api/account/v2/marshalling.gen.cjs +44 -0
  11. package/dist/api/account/v2/marshalling.gen.d.ts +6 -0
  12. package/dist/api/account/v2/marshalling.gen.js +18 -13
  13. package/dist/api/account/v2/types.gen.d.ts +62 -0
  14. package/dist/api/account/v3/api.gen.cjs +106 -0
  15. package/dist/api/account/v3/api.gen.d.ts +57 -0
  16. package/dist/api/account/v3/api.gen.js +61 -44
  17. package/dist/api/account/v3/index.gen.cjs +6 -0
  18. package/dist/api/account/v3/index.gen.d.ts +3 -0
  19. package/dist/api/account/v3/index.gen.js +6 -6
  20. package/dist/api/account/v3/marshalling.gen.cjs +44 -0
  21. package/dist/api/account/v3/marshalling.gen.d.ts +6 -0
  22. package/dist/api/account/v3/marshalling.gen.js +18 -13
  23. package/dist/api/account/v3/types.gen.d.ts +62 -0
  24. package/dist/api/account/v3/validation-rules.gen.cjs +39 -0
  25. package/dist/api/account/v3/validation-rules.gen.d.ts +34 -0
  26. package/dist/api/account/v3/validation-rules.gen.js +5 -5
  27. package/dist/api/applesilicon/index.cjs +4 -0
  28. package/dist/api/applesilicon/index.d.ts +1 -0
  29. package/dist/api/applesilicon/index.js +4 -2
  30. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +222 -0
  31. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +123 -0
  32. package/dist/api/applesilicon/v1alpha1/api.gen.js +125 -83
  33. package/dist/api/applesilicon/v1alpha1/content.gen.cjs +11 -0
  34. package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +3 -0
  35. package/dist/api/applesilicon/v1alpha1/content.gen.js +11 -7
  36. package/dist/api/applesilicon/v1alpha1/index.gen.cjs +6 -0
  37. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +3 -0
  38. package/dist/api/applesilicon/v1alpha1/index.gen.js +6 -5
  39. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +147 -0
  40. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +11 -0
  41. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +56 -32
  42. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +203 -0
  43. package/dist/api/baremetal/index.cjs +4 -0
  44. package/dist/api/baremetal/index.d.ts +1 -0
  45. package/dist/api/baremetal/index.js +4 -2
  46. package/dist/api/baremetal/v1/api.gen.cjs +575 -0
  47. package/dist/api/baremetal/v1/api.gen.d.ts +287 -0
  48. package/dist/api/baremetal/v1/api.gen.js +353 -205
  49. package/dist/api/baremetal/v1/api.utils.cjs +36 -0
  50. package/dist/api/baremetal/v1/api.utils.d.ts +13 -0
  51. package/dist/api/baremetal/v1/api.utils.js +27 -18
  52. package/dist/api/baremetal/v1/content.gen.cjs +18 -0
  53. package/dist/api/baremetal/v1/content.gen.d.ts +7 -0
  54. package/dist/api/baremetal/v1/content.gen.js +18 -13
  55. package/dist/api/baremetal/v1/index.cjs +12 -0
  56. package/dist/api/baremetal/v1/index.d.ts +5 -0
  57. package/dist/api/baremetal/v1/index.gen.d.ts +4 -0
  58. package/dist/api/baremetal/v1/index.js +12 -5
  59. package/dist/api/baremetal/v1/marshalling.gen.cjs +502 -0
  60. package/dist/api/baremetal/v1/marshalling.gen.d.ts +30 -0
  61. package/dist/api/baremetal/v1/marshalling.gen.js +186 -90
  62. package/dist/api/baremetal/v1/types.gen.d.ts +682 -0
  63. package/dist/api/baremetal/v1/validation-rules.gen.cjs +116 -0
  64. package/dist/api/baremetal/v1/validation-rules.gen.d.ts +104 -0
  65. package/dist/api/baremetal/v1/validation-rules.gen.js +12 -5
  66. package/dist/api/billing/index.cjs +6 -0
  67. package/dist/api/billing/index.d.ts +2 -0
  68. package/dist/api/billing/index.js +6 -4
  69. package/dist/api/billing/v2alpha1/api.gen.cjs +92 -0
  70. package/dist/api/billing/v2alpha1/api.gen.d.ts +51 -0
  71. package/dist/api/billing/v2alpha1/api.gen.js +60 -39
  72. package/dist/api/billing/v2alpha1/index.gen.cjs +4 -0
  73. package/dist/api/billing/v2alpha1/index.gen.d.ts +2 -0
  74. package/dist/api/billing/v2alpha1/index.gen.js +4 -4
  75. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +117 -0
  76. package/dist/api/billing/v2alpha1/marshalling.gen.d.ts +4 -0
  77. package/dist/api/billing/v2alpha1/marshalling.gen.js +48 -29
  78. package/dist/api/billing/v2alpha1/types.gen.d.ts +136 -0
  79. package/dist/api/billing/v2beta1/api.gen.cjs +175 -0
  80. package/dist/api/billing/v2beta1/api.gen.d.ts +104 -0
  81. package/dist/api/billing/v2beta1/api.gen.js +122 -65
  82. package/dist/api/billing/v2beta1/index.gen.cjs +4 -0
  83. package/dist/api/billing/v2beta1/index.gen.d.ts +2 -0
  84. package/dist/api/billing/v2beta1/index.gen.js +4 -4
  85. package/dist/api/billing/v2beta1/marshalling.gen.cjs +158 -0
  86. package/dist/api/billing/v2beta1/marshalling.gen.d.ts +6 -0
  87. package/dist/api/billing/v2beta1/marshalling.gen.js +61 -36
  88. package/dist/api/billing/v2beta1/types.gen.d.ts +269 -0
  89. package/dist/api/block/index.cjs +4 -0
  90. package/dist/api/block/index.d.ts +1 -0
  91. package/dist/api/block/index.js +4 -2
  92. package/dist/api/block/v1alpha1/api.gen.cjs +272 -0
  93. package/dist/api/block/v1alpha1/api.gen.d.ts +144 -0
  94. package/dist/api/block/v1alpha1/api.gen.js +167 -90
  95. package/dist/api/block/v1alpha1/content.gen.cjs +20 -0
  96. package/dist/api/block/v1alpha1/content.gen.d.ts +7 -0
  97. package/dist/api/block/v1alpha1/content.gen.js +20 -13
  98. package/dist/api/block/v1alpha1/index.gen.cjs +10 -0
  99. package/dist/api/block/v1alpha1/index.gen.d.ts +4 -0
  100. package/dist/api/block/v1alpha1/index.gen.js +10 -7
  101. package/dist/api/block/v1alpha1/marshalling.gen.cjs +194 -0
  102. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +13 -0
  103. package/dist/api/block/v1alpha1/marshalling.gen.js +78 -42
  104. package/dist/api/block/v1alpha1/types.gen.d.ts +315 -0
  105. package/dist/api/block/v1alpha1/validation-rules.gen.cjs +56 -0
  106. package/dist/api/block/v1alpha1/validation-rules.gen.d.ts +47 -0
  107. package/dist/api/block/v1alpha1/validation-rules.gen.js +14 -5
  108. package/dist/api/cockpit/index.cjs +6 -0
  109. package/dist/api/cockpit/index.d.ts +2 -0
  110. package/dist/api/cockpit/index.js +6 -4
  111. package/dist/api/cockpit/v1/api.gen.cjs +629 -0
  112. package/dist/api/cockpit/v1/api.gen.d.ts +310 -0
  113. package/dist/api/cockpit/v1/api.gen.js +374 -201
  114. package/dist/api/cockpit/v1/index.gen.cjs +7 -0
  115. package/dist/api/cockpit/v1/index.gen.d.ts +3 -0
  116. package/dist/api/cockpit/v1/index.gen.js +7 -6
  117. package/dist/api/cockpit/v1/marshalling.gen.cjs +325 -0
  118. package/dist/api/cockpit/v1/marshalling.gen.d.ts +30 -0
  119. package/dist/api/cockpit/v1/marshalling.gen.js +131 -59
  120. package/dist/api/cockpit/v1/types.gen.d.ts +525 -0
  121. package/dist/api/cockpit/v1/validation-rules.gen.cjs +48 -0
  122. package/dist/api/cockpit/v1/validation-rules.gen.d.ts +41 -0
  123. package/dist/api/cockpit/v1/validation-rules.gen.js +10 -8
  124. package/dist/api/cockpit/v1beta1/api.gen.cjs +484 -0
  125. package/dist/api/cockpit/v1beta1/api.gen.d.ts +223 -0
  126. package/dist/api/cockpit/v1beta1/api.gen.js +298 -167
  127. package/dist/api/cockpit/v1beta1/content.gen.cjs +8 -0
  128. package/dist/api/cockpit/v1beta1/content.gen.d.ts +3 -0
  129. package/dist/api/cockpit/v1beta1/content.gen.js +8 -7
  130. package/dist/api/cockpit/v1beta1/index.gen.cjs +6 -0
  131. package/dist/api/cockpit/v1beta1/index.gen.d.ts +3 -0
  132. package/dist/api/cockpit/v1beta1/index.gen.js +6 -5
  133. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +343 -0
  134. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +29 -0
  135. package/dist/api/cockpit/v1beta1/marshalling.gen.js +131 -60
  136. package/dist/api/cockpit/v1beta1/types.gen.d.ts +385 -0
  137. package/dist/api/container/index.cjs +4 -0
  138. package/dist/api/container/index.d.ts +1 -0
  139. package/dist/api/container/index.js +4 -2
  140. package/dist/api/container/v1beta1/api.gen.cjs +621 -0
  141. package/dist/api/container/v1beta1/api.gen.d.ts +304 -0
  142. package/dist/api/container/v1beta1/api.gen.js +384 -228
  143. package/dist/api/container/v1beta1/content.gen.cjs +34 -0
  144. package/dist/api/container/v1beta1/content.gen.d.ts +13 -0
  145. package/dist/api/container/v1beta1/content.gen.js +34 -22
  146. package/dist/api/container/v1beta1/index.gen.cjs +13 -0
  147. package/dist/api/container/v1beta1/index.gen.d.ts +4 -0
  148. package/dist/api/container/v1beta1/index.gen.js +13 -7
  149. package/dist/api/container/v1beta1/marshalling.gen.cjs +408 -0
  150. package/dist/api/container/v1beta1/marshalling.gen.d.ts +24 -0
  151. package/dist/api/container/v1beta1/marshalling.gen.js +147 -71
  152. package/dist/api/container/v1beta1/types.gen.d.ts +785 -0
  153. package/dist/api/container/v1beta1/validation-rules.gen.cjs +45 -0
  154. package/dist/api/container/v1beta1/validation-rules.gen.d.ts +39 -0
  155. package/dist/api/container/v1beta1/validation-rules.gen.js +6 -5
  156. package/dist/api/dedibox/index.cjs +4 -0
  157. package/dist/api/dedibox/index.d.ts +1 -0
  158. package/dist/api/dedibox/index.js +4 -2
  159. package/dist/api/dedibox/v1/api.gen.cjs +1460 -0
  160. package/dist/api/dedibox/v1/api.gen.d.ts +560 -0
  161. package/dist/api/dedibox/v1/api.gen.js +1051 -565
  162. package/dist/api/dedibox/v1/content.gen.cjs +49 -0
  163. package/dist/api/dedibox/v1/content.gen.d.ts +19 -0
  164. package/dist/api/dedibox/v1/content.gen.js +49 -31
  165. package/dist/api/dedibox/v1/index.gen.cjs +22 -0
  166. package/dist/api/dedibox/v1/index.gen.d.ts +4 -0
  167. package/dist/api/dedibox/v1/index.gen.js +22 -7
  168. package/dist/api/dedibox/v1/marshalling.gen.cjs +1475 -0
  169. package/dist/api/dedibox/v1/marshalling.gen.d.ts +82 -0
  170. package/dist/api/dedibox/v1/marshalling.gen.js +514 -237
  171. package/dist/api/dedibox/v1/types.gen.d.ts +1900 -0
  172. package/dist/api/dedibox/v1/validation-rules.gen.cjs +626 -0
  173. package/dist/api/dedibox/v1/validation-rules.gen.d.ts +539 -0
  174. package/dist/api/dedibox/v1/validation-rules.gen.js +87 -5
  175. package/dist/api/document_db/index.cjs +4 -0
  176. package/dist/api/document_db/index.d.ts +1 -0
  177. package/dist/api/document_db/index.js +4 -2
  178. package/dist/api/document_db/v1beta1/api.gen.cjs +1018 -0
  179. package/dist/api/document_db/v1beta1/api.gen.d.ts +542 -0
  180. package/dist/api/document_db/v1beta1/api.gen.js +561 -339
  181. package/dist/api/document_db/v1beta1/content.gen.cjs +31 -0
  182. package/dist/api/document_db/v1beta1/content.gen.d.ts +11 -0
  183. package/dist/api/document_db/v1beta1/content.gen.js +31 -19
  184. package/dist/api/document_db/v1beta1/index.gen.cjs +12 -0
  185. package/dist/api/document_db/v1beta1/index.gen.d.ts +4 -0
  186. package/dist/api/document_db/v1beta1/index.gen.js +12 -7
  187. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +829 -0
  188. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +50 -0
  189. package/dist/api/document_db/v1beta1/marshalling.gen.js +354 -181
  190. package/dist/api/document_db/v1beta1/types.gen.d.ts +1254 -0
  191. package/dist/api/document_db/v1beta1/validation-rules.gen.cjs +8 -0
  192. package/dist/api/document_db/v1beta1/validation-rules.gen.d.ts +5 -0
  193. package/dist/api/document_db/v1beta1/validation-rules.gen.js +3 -5
  194. package/dist/api/domain/index.cjs +4 -0
  195. package/dist/api/domain/index.d.ts +1 -0
  196. package/dist/api/domain/index.js +4 -2
  197. package/dist/api/domain/v2beta1/api.gen.cjs +1052 -0
  198. package/dist/api/domain/v2beta1/api.gen.d.ts +521 -0
  199. package/dist/api/domain/v2beta1/api.gen.js +638 -365
  200. package/dist/api/domain/v2beta1/content.gen.cjs +29 -0
  201. package/dist/api/domain/v2beta1/content.gen.d.ts +18 -0
  202. package/dist/api/domain/v2beta1/content.gen.js +29 -28
  203. package/dist/api/domain/v2beta1/index.gen.cjs +13 -0
  204. package/dist/api/domain/v2beta1/index.gen.d.ts +3 -0
  205. package/dist/api/domain/v2beta1/index.gen.js +13 -5
  206. package/dist/api/domain/v2beta1/marshalling.gen.cjs +1472 -0
  207. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +59 -0
  208. package/dist/api/domain/v2beta1/marshalling.gen.js +676 -383
  209. package/dist/api/domain/v2beta1/types.gen.d.ts +1073 -0
  210. package/dist/api/flexibleip/index.cjs +4 -0
  211. package/dist/api/flexibleip/index.d.ts +1 -0
  212. package/dist/api/flexibleip/index.js +4 -2
  213. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +227 -0
  214. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +115 -0
  215. package/dist/api/flexibleip/v1alpha1/api.gen.js +134 -86
  216. package/dist/api/flexibleip/v1alpha1/content.gen.cjs +12 -0
  217. package/dist/api/flexibleip/v1alpha1/content.gen.d.ts +5 -0
  218. package/dist/api/flexibleip/v1alpha1/content.gen.js +12 -10
  219. package/dist/api/flexibleip/v1alpha1/index.gen.cjs +9 -0
  220. package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +4 -0
  221. package/dist/api/flexibleip/v1alpha1/index.gen.js +9 -7
  222. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +115 -0
  223. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +13 -0
  224. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +36 -18
  225. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +196 -0
  226. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.cjs +12 -0
  227. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.d.ts +9 -0
  228. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.js +3 -5
  229. package/dist/api/function/index.cjs +4 -0
  230. package/dist/api/function/index.d.ts +1 -0
  231. package/dist/api/function/index.js +4 -2
  232. package/dist/api/function/v1beta1/api.gen.cjs +666 -0
  233. package/dist/api/function/v1beta1/api.gen.d.ts +330 -0
  234. package/dist/api/function/v1beta1/api.gen.js +406 -244
  235. package/dist/api/function/v1beta1/content.gen.cjs +34 -0
  236. package/dist/api/function/v1beta1/content.gen.d.ts +13 -0
  237. package/dist/api/function/v1beta1/content.gen.js +34 -22
  238. package/dist/api/function/v1beta1/index.gen.cjs +13 -0
  239. package/dist/api/function/v1beta1/index.gen.d.ts +4 -0
  240. package/dist/api/function/v1beta1/index.gen.js +13 -7
  241. package/dist/api/function/v1beta1/marshalling.gen.cjs +457 -0
  242. package/dist/api/function/v1beta1/marshalling.gen.d.ts +27 -0
  243. package/dist/api/function/v1beta1/marshalling.gen.js +167 -80
  244. package/dist/api/function/v1beta1/types.gen.d.ts +819 -0
  245. package/dist/api/function/v1beta1/validation-rules.gen.cjs +45 -0
  246. package/dist/api/function/v1beta1/validation-rules.gen.d.ts +39 -0
  247. package/dist/api/function/v1beta1/validation-rules.gen.js +6 -5
  248. package/dist/api/iam/index.cjs +4 -0
  249. package/dist/api/iam/index.d.ts +1 -0
  250. package/dist/api/iam/index.js +4 -2
  251. package/dist/api/iam/v1alpha1/api.gen.cjs +951 -0
  252. package/dist/api/iam/v1alpha1/api.gen.d.ts +480 -0
  253. package/dist/api/iam/v1alpha1/api.gen.js +560 -302
  254. package/dist/api/iam/v1alpha1/index.gen.cjs +6 -0
  255. package/dist/api/iam/v1alpha1/index.gen.d.ts +3 -0
  256. package/dist/api/iam/v1alpha1/index.gen.js +6 -6
  257. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +504 -0
  258. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +42 -0
  259. package/dist/api/iam/v1alpha1/marshalling.gen.js +184 -119
  260. package/dist/api/iam/v1alpha1/types.gen.d.ts +886 -0
  261. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +235 -0
  262. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +211 -0
  263. package/dist/api/iam/v1alpha1/validation-rules.gen.js +29 -10
  264. package/dist/api/index.d.ts +34 -0
  265. package/dist/api/instance/index.cjs +4 -0
  266. package/dist/api/instance/index.d.ts +1 -0
  267. package/dist/api/instance/index.js +4 -2
  268. package/dist/api/instance/v1/api.gen.cjs +1178 -0
  269. package/dist/api/instance/v1/api.gen.d.ts +532 -0
  270. package/dist/api/instance/v1/api.gen.js +753 -436
  271. package/dist/api/instance/v1/api.utils.cjs +279 -0
  272. package/dist/api/instance/v1/api.utils.d.ts +95 -0
  273. package/dist/api/instance/v1/api.utils.js +145 -109
  274. package/dist/api/instance/v1/content.gen.cjs +44 -0
  275. package/dist/api/instance/v1/content.gen.d.ts +21 -0
  276. package/dist/api/instance/v1/content.gen.js +44 -34
  277. package/dist/api/instance/v1/index.cjs +15 -0
  278. package/dist/api/instance/v1/index.d.ts +4 -0
  279. package/dist/api/instance/v1/index.gen.d.ts +4 -0
  280. package/dist/api/instance/v1/index.js +15 -2
  281. package/dist/api/instance/v1/marshalling.gen.cjs +1813 -0
  282. package/dist/api/instance/v1/marshalling.gen.d.ts +95 -0
  283. package/dist/api/instance/v1/marshalling.gen.js +736 -412
  284. package/dist/api/instance/v1/marshalling.utils.d.ts +3 -0
  285. package/dist/api/instance/v1/types.gen.d.ts +1818 -0
  286. package/dist/api/instance/v1/types.private.gen.d.ts +167 -0
  287. package/dist/api/instance/v1/types.utils.d.ts +35 -0
  288. package/dist/api/instance/v1/validation-rules.gen.d.ts +10 -0
  289. package/dist/api/iot/index.cjs +4 -0
  290. package/dist/api/iot/index.d.ts +1 -0
  291. package/dist/api/iot/index.js +4 -2
  292. package/dist/api/iot/v1/api.gen.cjs +621 -0
  293. package/dist/api/iot/v1/api.gen.d.ts +325 -0
  294. package/dist/api/iot/v1/api.gen.js +350 -238
  295. package/dist/api/iot/v1/content.gen.cjs +4 -0
  296. package/dist/api/iot/v1/content.gen.d.ts +3 -0
  297. package/dist/api/iot/v1/content.gen.js +4 -7
  298. package/dist/api/iot/v1/index.gen.cjs +6 -0
  299. package/dist/api/iot/v1/index.gen.d.ts +3 -0
  300. package/dist/api/iot/v1/index.gen.js +6 -5
  301. package/dist/api/iot/v1/marshalling.gen.cjs +534 -0
  302. package/dist/api/iot/v1/marshalling.gen.d.ts +31 -0
  303. package/dist/api/iot/v1/marshalling.gen.js +209 -114
  304. package/dist/api/iot/v1/types.gen.d.ts +916 -0
  305. package/dist/api/ipam/index.cjs +4 -0
  306. package/dist/api/ipam/index.d.ts +1 -0
  307. package/dist/api/ipam/index.js +4 -2
  308. package/dist/api/ipam/v1/api.gen.cjs +117 -0
  309. package/dist/api/ipam/v1/api.gen.d.ts +57 -0
  310. package/dist/api/ipam/v1/api.gen.js +75 -55
  311. package/dist/api/ipam/v1/index.gen.cjs +6 -0
  312. package/dist/api/ipam/v1/index.gen.d.ts +3 -0
  313. package/dist/api/ipam/v1/index.gen.js +6 -6
  314. package/dist/api/ipam/v1/marshalling.gen.cjs +98 -0
  315. package/dist/api/ipam/v1/marshalling.gen.d.ts +6 -0
  316. package/dist/api/ipam/v1/marshalling.gen.js +35 -29
  317. package/dist/api/ipam/v1/types.gen.d.ts +209 -0
  318. package/dist/api/ipam/v1/validation-rules.gen.cjs +9 -0
  319. package/dist/api/ipam/v1/validation-rules.gen.d.ts +6 -0
  320. package/dist/api/ipam/v1/validation-rules.gen.js +3 -5
  321. package/dist/api/ipfs/index.cjs +4 -0
  322. package/dist/api/ipfs/index.d.ts +1 -0
  323. package/dist/api/ipfs/index.js +4 -2
  324. package/dist/api/ipfs/v1alpha1/api.gen.cjs +374 -0
  325. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +198 -0
  326. package/dist/api/ipfs/v1alpha1/api.gen.js +210 -133
  327. package/dist/api/ipfs/v1alpha1/content.gen.cjs +6 -0
  328. package/dist/api/ipfs/v1alpha1/content.gen.d.ts +5 -0
  329. package/dist/api/ipfs/v1alpha1/content.gen.js +6 -10
  330. package/dist/api/ipfs/v1alpha1/index.gen.cjs +8 -0
  331. package/dist/api/ipfs/v1alpha1/index.gen.d.ts +3 -0
  332. package/dist/api/ipfs/v1alpha1/index.gen.js +8 -5
  333. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +208 -0
  334. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +18 -0
  335. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +68 -33
  336. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +317 -0
  337. package/dist/api/jobs/index.cjs +4 -0
  338. package/dist/api/jobs/index.d.ts +1 -0
  339. package/dist/api/jobs/index.js +4 -2
  340. package/dist/api/jobs/v1alpha1/api.gen.cjs +170 -0
  341. package/dist/api/jobs/v1alpha1/api.gen.d.ts +84 -0
  342. package/dist/api/jobs/v1alpha1/api.gen.js +109 -69
  343. package/dist/api/jobs/v1alpha1/content.gen.cjs +8 -0
  344. package/dist/api/jobs/v1alpha1/content.gen.d.ts +3 -0
  345. package/dist/api/jobs/v1alpha1/content.gen.js +8 -7
  346. package/dist/api/jobs/v1alpha1/index.gen.cjs +8 -0
  347. package/dist/api/jobs/v1alpha1/index.gen.d.ts +4 -0
  348. package/dist/api/jobs/v1alpha1/index.gen.js +8 -7
  349. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +150 -0
  350. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +10 -0
  351. package/dist/api/jobs/v1alpha1/marshalling.gen.js +50 -26
  352. package/dist/api/jobs/v1alpha1/types.gen.d.ts +210 -0
  353. package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +97 -0
  354. package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +87 -0
  355. package/dist/api/jobs/v1alpha1/validation-rules.gen.js +12 -7
  356. package/dist/api/k8s/index.cjs +4 -0
  357. package/dist/api/k8s/index.d.ts +1 -0
  358. package/dist/api/k8s/index.js +4 -2
  359. package/dist/api/k8s/v1/api.gen.cjs +550 -0
  360. package/dist/api/k8s/v1/api.gen.d.ts +284 -0
  361. package/dist/api/k8s/v1/api.gen.js +317 -195
  362. package/dist/api/k8s/v1/api.utils.cjs +13 -0
  363. package/dist/api/k8s/v1/api.utils.d.ts +11 -0
  364. package/dist/api/k8s/v1/api.utils.js +5 -5
  365. package/dist/api/k8s/v1/content.gen.cjs +23 -0
  366. package/dist/api/k8s/v1/content.gen.d.ts +7 -0
  367. package/dist/api/k8s/v1/content.gen.js +23 -13
  368. package/dist/api/k8s/v1/index.cjs +10 -0
  369. package/dist/api/k8s/v1/index.d.ts +4 -0
  370. package/dist/api/k8s/v1/index.gen.d.ts +4 -0
  371. package/dist/api/k8s/v1/index.js +10 -4
  372. package/dist/api/k8s/v1/marshalling.gen.cjs +510 -0
  373. package/dist/api/k8s/v1/marshalling.gen.d.ts +22 -0
  374. package/dist/api/k8s/v1/marshalling.gen.js +158 -79
  375. package/dist/api/k8s/v1/types.gen.d.ts +1123 -0
  376. package/dist/api/k8s/v1/validation-rules.gen.cjs +110 -0
  377. package/dist/api/k8s/v1/validation-rules.gen.d.ts +96 -0
  378. package/dist/api/k8s/v1/validation-rules.gen.js +14 -5
  379. package/dist/api/lb/index.cjs +4 -0
  380. package/dist/api/lb/index.d.ts +1 -0
  381. package/dist/api/lb/index.js +4 -2
  382. package/dist/api/lb/v1/api.gen.cjs +1984 -0
  383. package/dist/api/lb/v1/api.gen.d.ts +990 -0
  384. package/dist/api/lb/v1/api.gen.js +1186 -695
  385. package/dist/api/lb/v1/api.utils.cjs +116 -0
  386. package/dist/api/lb/v1/api.utils.d.ts +41 -0
  387. package/dist/api/lb/v1/api.utils.js +83 -48
  388. package/dist/api/lb/v1/content.gen.cjs +22 -0
  389. package/dist/api/lb/v1/content.gen.d.ts +9 -0
  390. package/dist/api/lb/v1/content.gen.js +22 -16
  391. package/dist/api/lb/v1/index.cjs +10 -0
  392. package/dist/api/lb/v1/index.d.ts +4 -0
  393. package/dist/api/lb/v1/index.gen.d.ts +3 -0
  394. package/dist/api/lb/v1/index.js +10 -2
  395. package/dist/api/lb/v1/marshalling.gen.cjs +1289 -0
  396. package/dist/api/lb/v1/marshalling.gen.d.ts +73 -0
  397. package/dist/api/lb/v1/marshalling.gen.js +576 -334
  398. package/dist/api/lb/v1/types.gen.d.ts +2729 -0
  399. package/dist/api/lb/v1/types.utils.d.ts +13 -0
  400. package/dist/api/llm_inference/index.cjs +4 -0
  401. package/dist/api/llm_inference/index.d.ts +1 -0
  402. package/dist/api/llm_inference/index.js +4 -2
  403. package/dist/api/llm_inference/v1beta1/api.gen.cjs +305 -0
  404. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +151 -0
  405. package/dist/api/llm_inference/v1beta1/api.gen.js +192 -120
  406. package/dist/api/llm_inference/v1beta1/content.gen.cjs +8 -0
  407. package/dist/api/llm_inference/v1beta1/content.gen.d.ts +3 -0
  408. package/dist/api/llm_inference/v1beta1/content.gen.js +8 -7
  409. package/dist/api/llm_inference/v1beta1/index.gen.cjs +8 -0
  410. package/dist/api/llm_inference/v1beta1/index.gen.d.ts +4 -0
  411. package/dist/api/llm_inference/v1beta1/index.gen.js +8 -7
  412. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +271 -0
  413. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +18 -0
  414. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +98 -52
  415. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +433 -0
  416. package/dist/api/llm_inference/v1beta1/validation-rules.gen.cjs +56 -0
  417. package/dist/api/llm_inference/v1beta1/validation-rules.gen.d.ts +50 -0
  418. package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +6 -5
  419. package/dist/api/marketplace/index.cjs +4 -0
  420. package/dist/api/marketplace/index.d.ts +1 -0
  421. package/dist/api/marketplace/index.js +4 -2
  422. package/dist/api/marketplace/v2/api.gen.cjs +174 -0
  423. package/dist/api/marketplace/v2/api.gen.d.ts +95 -0
  424. package/dist/api/marketplace/v2/api.gen.js +111 -67
  425. package/dist/api/marketplace/v2/index.gen.cjs +4 -0
  426. package/dist/api/marketplace/v2/index.gen.d.ts +2 -0
  427. package/dist/api/marketplace/v2/index.gen.js +4 -4
  428. package/dist/api/marketplace/v2/marshalling.gen.cjs +115 -0
  429. package/dist/api/marketplace/v2/marshalling.gen.d.ts +9 -0
  430. package/dist/api/marketplace/v2/marshalling.gen.js +44 -23
  431. package/dist/api/marketplace/v2/types.gen.d.ts +135 -0
  432. package/dist/api/mnq/index.cjs +4 -0
  433. package/dist/api/mnq/index.d.ts +1 -0
  434. package/dist/api/mnq/index.js +4 -2
  435. package/dist/api/mnq/v1beta1/api.gen.cjs +500 -0
  436. package/dist/api/mnq/v1beta1/api.gen.d.ts +267 -0
  437. package/dist/api/mnq/v1beta1/api.gen.js +291 -184
  438. package/dist/api/mnq/v1beta1/index.gen.cjs +8 -0
  439. package/dist/api/mnq/v1beta1/index.gen.d.ts +3 -0
  440. package/dist/api/mnq/v1beta1/index.gen.js +8 -6
  441. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +268 -0
  442. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +23 -0
  443. package/dist/api/mnq/v1beta1/marshalling.gen.js +105 -49
  444. package/dist/api/mnq/v1beta1/types.gen.d.ts +449 -0
  445. package/dist/api/mnq/v1beta1/validation-rules.gen.cjs +85 -0
  446. package/dist/api/mnq/v1beta1/validation-rules.gen.d.ts +72 -0
  447. package/dist/api/mnq/v1beta1/validation-rules.gen.js +13 -5
  448. package/dist/api/rdb/index.cjs +4 -0
  449. package/dist/api/rdb/index.d.ts +1 -0
  450. package/dist/api/rdb/index.js +4 -2
  451. package/dist/api/rdb/v1/api.gen.cjs +1192 -0
  452. package/dist/api/rdb/v1/api.gen.d.ts +631 -0
  453. package/dist/api/rdb/v1/api.gen.js +660 -393
  454. package/dist/api/rdb/v1/content.gen.cjs +38 -0
  455. package/dist/api/rdb/v1/content.gen.d.ts +13 -0
  456. package/dist/api/rdb/v1/content.gen.js +38 -22
  457. package/dist/api/rdb/v1/index.gen.cjs +13 -0
  458. package/dist/api/rdb/v1/index.gen.d.ts +4 -0
  459. package/dist/api/rdb/v1/index.gen.js +13 -7
  460. package/dist/api/rdb/v1/marshalling.gen.cjs +908 -0
  461. package/dist/api/rdb/v1/marshalling.gen.d.ts +59 -0
  462. package/dist/api/rdb/v1/marshalling.gen.js +385 -191
  463. package/dist/api/rdb/v1/types.gen.d.ts +1404 -0
  464. package/dist/api/rdb/v1/validation-rules.gen.cjs +8 -0
  465. package/dist/api/rdb/v1/validation-rules.gen.d.ts +5 -0
  466. package/dist/api/rdb/v1/validation-rules.gen.js +3 -5
  467. package/dist/api/redis/index.cjs +4 -0
  468. package/dist/api/redis/index.d.ts +1 -0
  469. package/dist/api/redis/index.js +4 -2
  470. package/dist/api/redis/v1/api.gen.cjs +476 -0
  471. package/dist/api/redis/v1/api.gen.d.ts +253 -0
  472. package/dist/api/redis/v1/api.gen.js +265 -162
  473. package/dist/api/redis/v1/content.gen.cjs +10 -0
  474. package/dist/api/redis/v1/content.gen.d.ts +3 -0
  475. package/dist/api/redis/v1/content.gen.js +10 -7
  476. package/dist/api/redis/v1/index.gen.cjs +6 -0
  477. package/dist/api/redis/v1/index.gen.d.ts +3 -0
  478. package/dist/api/redis/v1/index.gen.js +6 -5
  479. package/dist/api/redis/v1/marshalling.gen.cjs +355 -0
  480. package/dist/api/redis/v1/marshalling.gen.d.ts +24 -0
  481. package/dist/api/redis/v1/marshalling.gen.js +156 -84
  482. package/dist/api/redis/v1/types.gen.d.ts +473 -0
  483. package/dist/api/registry/index.cjs +4 -0
  484. package/dist/api/registry/index.d.ts +1 -0
  485. package/dist/api/registry/index.js +4 -2
  486. package/dist/api/registry/v1/api.gen.cjs +287 -0
  487. package/dist/api/registry/v1/api.gen.d.ts +160 -0
  488. package/dist/api/registry/v1/api.gen.js +161 -94
  489. package/dist/api/registry/v1/content.gen.cjs +8 -0
  490. package/dist/api/registry/v1/content.gen.d.ts +7 -0
  491. package/dist/api/registry/v1/content.gen.js +8 -13
  492. package/dist/api/registry/v1/index.gen.cjs +8 -0
  493. package/dist/api/registry/v1/index.gen.d.ts +3 -0
  494. package/dist/api/registry/v1/index.gen.js +8 -5
  495. package/dist/api/registry/v1/marshalling.gen.cjs +129 -0
  496. package/dist/api/registry/v1/marshalling.gen.d.ts +11 -0
  497. package/dist/api/registry/v1/marshalling.gen.js +51 -30
  498. package/dist/api/registry/v1/types.gen.d.ts +300 -0
  499. package/dist/api/secret/index.cjs +6 -0
  500. package/dist/api/secret/index.d.ts +2 -0
  501. package/dist/api/secret/index.js +6 -4
  502. package/dist/api/secret/v1alpha1/api.gen.cjs +483 -0
  503. package/dist/api/secret/v1alpha1/api.gen.d.ts +262 -0
  504. package/dist/api/secret/v1alpha1/api.gen.js +271 -176
  505. package/dist/api/secret/v1alpha1/index.gen.cjs +4 -0
  506. package/dist/api/secret/v1alpha1/index.gen.d.ts +2 -0
  507. package/dist/api/secret/v1alpha1/index.gen.js +4 -4
  508. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +221 -0
  509. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +19 -0
  510. package/dist/api/secret/v1alpha1/marshalling.gen.js +67 -33
  511. package/dist/api/secret/v1alpha1/types.gen.d.ts +619 -0
  512. package/dist/api/secret/v1beta1/api.gen.cjs +359 -0
  513. package/dist/api/secret/v1beta1/api.gen.d.ts +182 -0
  514. package/dist/api/secret/v1beta1/api.gen.js +213 -135
  515. package/dist/api/secret/v1beta1/index.gen.cjs +6 -0
  516. package/dist/api/secret/v1beta1/index.gen.d.ts +3 -0
  517. package/dist/api/secret/v1beta1/index.gen.js +6 -6
  518. package/dist/api/secret/v1beta1/marshalling.gen.cjs +219 -0
  519. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +14 -0
  520. package/dist/api/secret/v1beta1/marshalling.gen.js +76 -40
  521. package/dist/api/secret/v1beta1/types.gen.d.ts +513 -0
  522. package/dist/api/secret/v1beta1/validation-rules.gen.cjs +8 -0
  523. package/dist/api/secret/v1beta1/validation-rules.gen.d.ts +5 -0
  524. package/dist/api/secret/v1beta1/validation-rules.gen.js +3 -5
  525. package/dist/api/serverless_sqldb/index.cjs +4 -0
  526. package/dist/api/serverless_sqldb/index.d.ts +1 -0
  527. package/dist/api/serverless_sqldb/index.js +4 -2
  528. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +202 -0
  529. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +109 -0
  530. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +118 -78
  531. package/dist/api/serverless_sqldb/v1alpha1/content.gen.cjs +8 -0
  532. package/dist/api/serverless_sqldb/v1alpha1/content.gen.d.ts +3 -0
  533. package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +8 -7
  534. package/dist/api/serverless_sqldb/v1alpha1/index.gen.cjs +8 -0
  535. package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +4 -0
  536. package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +8 -7
  537. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +89 -0
  538. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +9 -0
  539. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +27 -15
  540. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +193 -0
  541. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.cjs +62 -0
  542. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.d.ts +55 -0
  543. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +9 -7
  544. package/dist/api/std/index.gen.cjs +1 -0
  545. package/dist/api/std/index.gen.d.ts +1 -0
  546. package/dist/api/std/types.gen.d.ts +1 -0
  547. package/dist/api/tem/index.cjs +4 -0
  548. package/dist/api/tem/index.d.ts +1 -0
  549. package/dist/api/tem/index.js +4 -2
  550. package/dist/api/tem/v1alpha1/api.gen.cjs +260 -0
  551. package/dist/api/tem/v1alpha1/api.gen.d.ts +134 -0
  552. package/dist/api/tem/v1alpha1/api.gen.js +154 -89
  553. package/dist/api/tem/v1alpha1/content.gen.cjs +6 -0
  554. package/dist/api/tem/v1alpha1/content.gen.d.ts +5 -0
  555. package/dist/api/tem/v1alpha1/content.gen.js +6 -10
  556. package/dist/api/tem/v1alpha1/index.gen.cjs +7 -0
  557. package/dist/api/tem/v1alpha1/index.gen.d.ts +3 -0
  558. package/dist/api/tem/v1alpha1/index.gen.js +7 -5
  559. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +255 -0
  560. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +11 -0
  561. package/dist/api/tem/v1alpha1/marshalling.gen.js +90 -50
  562. package/dist/api/tem/v1alpha1/types.gen.d.ts +401 -0
  563. package/dist/api/test/index.cjs +4 -0
  564. package/dist/api/test/index.d.ts +1 -0
  565. package/dist/api/test/index.js +4 -2
  566. package/dist/api/test/v1/api.gen.cjs +164 -0
  567. package/dist/api/test/v1/api.gen.d.ts +84 -0
  568. package/dist/api/test/v1/api.gen.js +99 -71
  569. package/dist/api/test/v1/content.gen.cjs +4 -0
  570. package/dist/api/test/v1/content.gen.d.ts +3 -0
  571. package/dist/api/test/v1/content.gen.js +4 -7
  572. package/dist/api/test/v1/index.gen.cjs +6 -0
  573. package/dist/api/test/v1/index.gen.d.ts +3 -0
  574. package/dist/api/test/v1/index.gen.js +6 -5
  575. package/dist/api/test/v1/marshalling.gen.cjs +93 -0
  576. package/dist/api/test/v1/marshalling.gen.d.ts +8 -0
  577. package/dist/api/test/v1/marshalling.gen.js +34 -22
  578. package/dist/api/test/v1/types.gen.d.ts +91 -0
  579. package/dist/api/vpc/index.cjs +6 -0
  580. package/dist/api/vpc/index.d.ts +2 -0
  581. package/dist/api/vpc/index.js +6 -4
  582. package/dist/api/vpc/v1/api.gen.cjs +119 -0
  583. package/dist/api/vpc/v1/api.gen.d.ts +59 -0
  584. package/dist/api/vpc/v1/api.gen.js +76 -43
  585. package/dist/api/vpc/v1/index.gen.cjs +4 -0
  586. package/dist/api/vpc/v1/index.gen.d.ts +2 -0
  587. package/dist/api/vpc/v1/index.gen.js +4 -4
  588. package/dist/api/vpc/v1/marshalling.gen.cjs +52 -0
  589. package/dist/api/vpc/v1/marshalling.gen.d.ts +6 -0
  590. package/dist/api/vpc/v1/marshalling.gen.js +22 -14
  591. package/dist/api/vpc/v1/types.gen.d.ts +99 -0
  592. package/dist/api/vpc/v2/api.gen.cjs +303 -0
  593. package/dist/api/vpc/v2/api.gen.d.ts +149 -0
  594. package/dist/api/vpc/v2/api.gen.js +181 -112
  595. package/dist/api/vpc/v2/index.gen.cjs +4 -0
  596. package/dist/api/vpc/v2/index.gen.d.ts +2 -0
  597. package/dist/api/vpc/v2/index.gen.js +4 -4
  598. package/dist/api/vpc/v2/marshalling.gen.cjs +173 -0
  599. package/dist/api/vpc/v2/marshalling.gen.d.ts +17 -0
  600. package/dist/api/vpc/v2/marshalling.gen.js +70 -36
  601. package/dist/api/vpc/v2/types.gen.d.ts +338 -0
  602. package/dist/api/vpcgw/index.cjs +4 -0
  603. package/dist/api/vpcgw/index.d.ts +1 -0
  604. package/dist/api/vpcgw/index.js +4 -2
  605. package/dist/api/vpcgw/v1/api.gen.cjs +740 -0
  606. package/dist/api/vpcgw/v1/api.gen.d.ts +393 -0
  607. package/dist/api/vpcgw/v1/api.gen.js +408 -239
  608. package/dist/api/vpcgw/v1/content.gen.cjs +15 -0
  609. package/dist/api/vpcgw/v1/content.gen.d.ts +5 -0
  610. package/dist/api/vpcgw/v1/content.gen.js +15 -10
  611. package/dist/api/vpcgw/v1/index.gen.cjs +7 -0
  612. package/dist/api/vpcgw/v1/index.gen.d.ts +3 -0
  613. package/dist/api/vpcgw/v1/index.gen.js +7 -5
  614. package/dist/api/vpcgw/v1/marshalling.gen.cjs +437 -0
  615. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +31 -0
  616. package/dist/api/vpcgw/v1/marshalling.gen.js +145 -74
  617. package/dist/api/vpcgw/v1/types.gen.d.ts +901 -0
  618. package/dist/api/webhosting/index.cjs +4 -0
  619. package/dist/api/webhosting/index.d.ts +1 -0
  620. package/dist/api/webhosting/index.js +4 -2
  621. package/dist/api/webhosting/v1alpha1/api.gen.cjs +226 -0
  622. package/dist/api/webhosting/v1alpha1/api.gen.d.ts +115 -0
  623. package/dist/api/webhosting/v1alpha1/api.gen.js +138 -86
  624. package/dist/api/webhosting/v1alpha1/content.gen.cjs +8 -0
  625. package/dist/api/webhosting/v1alpha1/content.gen.d.ts +3 -0
  626. package/dist/api/webhosting/v1alpha1/content.gen.js +8 -7
  627. package/dist/api/webhosting/v1alpha1/index.gen.cjs +8 -0
  628. package/dist/api/webhosting/v1alpha1/index.gen.d.ts +4 -0
  629. package/dist/api/webhosting/v1alpha1/index.gen.js +8 -7
  630. package/dist/api/webhosting/v1alpha1/marshalling.gen.cjs +236 -0
  631. package/dist/api/webhosting/v1alpha1/marshalling.gen.d.ts +11 -0
  632. package/dist/api/webhosting/v1alpha1/marshalling.gen.js +80 -41
  633. package/dist/api/webhosting/v1alpha1/types.gen.d.ts +379 -0
  634. package/dist/api/webhosting/v1alpha1/validation-rules.gen.cjs +22 -0
  635. package/dist/api/webhosting/v1alpha1/validation-rules.gen.d.ts +18 -0
  636. package/dist/api/webhosting/v1alpha1/validation-rules.gen.js +4 -5
  637. package/dist/bridge.d.ts +11 -0
  638. package/dist/helpers/is-browser.cjs +7 -0
  639. package/dist/helpers/is-browser.d.ts +1 -0
  640. package/dist/helpers/is-browser.js +7 -5
  641. package/dist/helpers/is-response.cjs +4 -0
  642. package/dist/helpers/is-response.d.ts +8 -0
  643. package/dist/helpers/is-response.js +4 -10
  644. package/dist/helpers/json.cjs +7 -0
  645. package/dist/helpers/json.d.ts +13 -0
  646. package/dist/helpers/json.js +5 -9
  647. package/dist/helpers/marshalling.cjs +78 -0
  648. package/dist/helpers/marshalling.d.ts +63 -0
  649. package/dist/helpers/marshalling.js +40 -77
  650. package/dist/index.cjs +114 -32093
  651. package/dist/index.d.ts +15 -38464
  652. package/dist/index.js +115 -81
  653. package/dist/internal/async/interval-retrier.cjs +55 -0
  654. package/dist/internal/async/interval-retrier.d.ts +111 -0
  655. package/dist/internal/async/interval-retrier.js +30 -72
  656. package/dist/internal/async/sleep.cjs +6 -0
  657. package/dist/internal/async/sleep.d.ts +9 -0
  658. package/dist/internal/async/sleep.js +4 -11
  659. package/dist/internal/interceptors/composer.cjs +25 -0
  660. package/dist/internal/interceptors/composer.d.ts +25 -0
  661. package/dist/internal/interceptors/composer.js +15 -36
  662. package/dist/internal/interceptors/helpers.cjs +12 -0
  663. package/dist/internal/interceptors/helpers.d.ts +21 -0
  664. package/dist/internal/interceptors/helpers.js +7 -26
  665. package/dist/internal/interceptors/types.d.ts +89 -0
  666. package/dist/internal/logger/console-logger.cjs +24 -0
  667. package/dist/internal/logger/console-logger.d.ts +23 -0
  668. package/dist/internal/logger/console-logger.js +11 -19
  669. package/dist/internal/logger/index.cjs +12 -0
  670. package/dist/internal/logger/index.d.ts +25 -0
  671. package/dist/internal/logger/index.js +9 -30
  672. package/dist/internal/logger/level-resolver.cjs +13 -0
  673. package/dist/internal/logger/level-resolver.d.ts +9 -0
  674. package/dist/internal/logger/level-resolver.js +12 -12
  675. package/dist/internal/logger/logger.d.ts +13 -0
  676. package/dist/internal/validations/string-validation.cjs +30 -0
  677. package/dist/internal/validations/string-validation.d.ts +18 -0
  678. package/dist/internal/validations/string-validation.js +19 -27
  679. package/dist/internals.d.ts +10 -0
  680. package/dist/scw/api.cjs +8 -0
  681. package/dist/scw/api.d.ts +10 -0
  682. package/dist/scw/api.js +3 -7
  683. package/dist/scw/auth.cjs +28 -0
  684. package/dist/scw/auth.d.ts +57 -0
  685. package/dist/scw/auth.js +23 -62
  686. package/dist/scw/client-ini-factory.cjs +66 -0
  687. package/dist/scw/client-ini-factory.d.ts +111 -0
  688. package/dist/scw/client-ini-factory.js +33 -141
  689. package/dist/scw/client-ini-profile.cjs +23 -0
  690. package/dist/scw/client-ini-profile.d.ts +82 -0
  691. package/dist/scw/client-ini-profile.js +15 -46
  692. package/dist/scw/client-settings.cjs +51 -0
  693. package/dist/scw/client-settings.d.ts +59 -0
  694. package/dist/scw/client-settings.js +26 -53
  695. package/dist/scw/client.cjs +28 -0
  696. package/dist/scw/client.d.ts +72 -0
  697. package/dist/scw/client.js +14 -76
  698. package/dist/scw/constants.cjs +6 -0
  699. package/dist/scw/constants.d.ts +2 -0
  700. package/dist/scw/constants.js +5 -3
  701. package/dist/scw/custom-marshalling.cjs +92 -0
  702. package/dist/scw/custom-marshalling.d.ts +59 -0
  703. package/dist/scw/custom-marshalling.js +38 -77
  704. package/dist/scw/custom-types.d.ts +65 -0
  705. package/dist/scw/errors/error-parser.cjs +76 -0
  706. package/dist/scw/errors/error-parser.d.ts +12 -0
  707. package/dist/scw/errors/error-parser.js +33 -64
  708. package/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  709. package/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +12 -0
  710. package/dist/scw/errors/non-standard/invalid-request-mapper.js +26 -23
  711. package/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  712. package/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +11 -0
  713. package/dist/scw/errors/non-standard/unknown-resource-mapper.js +16 -20
  714. package/dist/scw/errors/scw-error-from-json.d.ts +10 -0
  715. package/dist/scw/errors/scw-error.cjs +43 -0
  716. package/dist/scw/errors/scw-error.d.ts +25 -0
  717. package/dist/scw/errors/scw-error.js +19 -35
  718. package/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  719. package/dist/scw/errors/standard/already-exists-error.d.ts +16 -0
  720. package/dist/scw/errors/standard/already-exists-error.js +18 -13
  721. package/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  722. package/dist/scw/errors/standard/denied-authentication-error.d.ts +15 -0
  723. package/dist/scw/errors/standard/denied-authentication-error.js +9 -24
  724. package/dist/scw/errors/standard/index.cjs +28 -0
  725. package/dist/scw/errors/standard/index.d.ts +17 -0
  726. package/dist/scw/errors/standard/index.js +28 -13
  727. package/dist/scw/errors/standard/invalid-arguments-error.cjs +55 -0
  728. package/dist/scw/errors/standard/invalid-arguments-error.d.ts +24 -0
  729. package/dist/scw/errors/standard/invalid-arguments-error.js +26 -38
  730. package/dist/scw/errors/standard/out-of-stock-error.cjs +18 -0
  731. package/dist/scw/errors/standard/out-of-stock-error.d.ts +14 -0
  732. package/dist/scw/errors/standard/out-of-stock-error.js +7 -11
  733. package/dist/scw/errors/standard/permissions-denied-error.cjs +30 -0
  734. package/dist/scw/errors/standard/permissions-denied-error.d.ts +23 -0
  735. package/dist/scw/errors/standard/permissions-denied-error.js +20 -35
  736. package/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  737. package/dist/scw/errors/standard/precondition-failed-error.d.ts +15 -0
  738. package/dist/scw/errors/standard/precondition-failed-error.js +14 -24
  739. package/dist/scw/errors/standard/quotas-exceeded-error.cjs +44 -0
  740. package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +34 -0
  741. package/dist/scw/errors/standard/quotas-exceeded-error.js +29 -53
  742. package/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  743. package/dist/scw/errors/standard/resource-expired-error.d.ts +16 -0
  744. package/dist/scw/errors/standard/resource-expired-error.js +18 -13
  745. package/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  746. package/dist/scw/errors/standard/resource-locked-error.d.ts +15 -0
  747. package/dist/scw/errors/standard/resource-locked-error.js +6 -11
  748. package/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  749. package/dist/scw/errors/standard/resource-not-found-error.d.ts +15 -0
  750. package/dist/scw/errors/standard/resource-not-found-error.js +11 -12
  751. package/dist/scw/errors/standard/too-many-requests-error.cjs +59 -0
  752. package/dist/scw/errors/standard/too-many-requests-error.d.ts +32 -0
  753. package/dist/scw/errors/standard/too-many-requests-error.js +20 -31
  754. package/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  755. package/dist/scw/errors/standard/transient-state-error.d.ts +16 -0
  756. package/dist/scw/errors/standard/transient-state-error.js +18 -13
  757. package/dist/scw/errors/types.cjs +15 -0
  758. package/dist/scw/errors/types.d.ts +9 -0
  759. package/dist/scw/errors/types.js +6 -14
  760. package/dist/scw/fetch/build-fetcher.cjs +60 -0
  761. package/dist/scw/fetch/build-fetcher.d.ts +23 -0
  762. package/dist/scw/fetch/build-fetcher.js +29 -38
  763. package/dist/scw/fetch/http-dumper.cjs +20 -0
  764. package/dist/scw/fetch/http-dumper.d.ts +18 -0
  765. package/dist/scw/fetch/http-dumper.js +19 -50
  766. package/dist/scw/fetch/http-interceptors.cjs +43 -0
  767. package/dist/scw/fetch/http-interceptors.d.ts +38 -0
  768. package/dist/scw/fetch/http-interceptors.js +23 -66
  769. package/dist/scw/fetch/resource-paginator.cjs +37 -0
  770. package/dist/scw/fetch/resource-paginator.d.ts +47 -0
  771. package/dist/scw/fetch/resource-paginator.js +12 -45
  772. package/dist/scw/fetch/response-parser.cjs +57 -0
  773. package/dist/scw/fetch/response-parser.d.ts +25 -0
  774. package/dist/scw/fetch/response-parser.js +31 -46
  775. package/dist/scw/fetch/types.d.ts +16 -0
  776. package/dist/scw/locality.d.ts +2 -0
  777. package/package.json +7 -3
  778. package/dist/node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js +0 -11
@@ -0,0 +1,1254 @@
1
+ import type { Region, TimeSeries, Zone } from '../../../bridge';
2
+ export type ACLRuleAction = 'allow' | 'deny';
3
+ export type ACLRuleDirection = 'inbound' | 'outbound';
4
+ export type ACLRuleProtocol = 'tcp' | 'udp' | 'icmp';
5
+ export type EngineSettingPropertyType = 'BOOLEAN' | 'INT' | 'STRING' | 'FLOAT';
6
+ export type InstanceLogStatus = 'unknown' | 'ready' | 'creating' | 'error';
7
+ export type InstanceStatus = 'unknown' | 'ready' | 'provisioning' | 'configuring' | 'deleting' | 'error' | 'autohealing' | 'locked' | 'initializing' | 'disk_full' | 'backuping' | 'snapshotting' | 'restarting';
8
+ export type ListDatabasesRequestOrderBy = 'name_asc' | 'name_desc' | 'size_asc' | 'size_desc';
9
+ export type ListInstanceLogsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
10
+ export type ListInstancesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'region' | 'status_asc' | 'status_desc';
11
+ export type ListPrivilegesRequestOrderBy = 'user_name_asc' | 'user_name_desc' | 'database_name_asc' | 'database_name_desc';
12
+ export type ListSnapshotsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc' | 'expires_at_asc' | 'expires_at_desc';
13
+ export type ListUsersRequestOrderBy = 'name_asc' | 'name_desc' | 'is_admin_asc' | 'is_admin_desc';
14
+ export type MaintenanceStatus = 'unknown' | 'pending' | 'done' | 'canceled' | 'ongoing';
15
+ export type NodeTypeGeneration = 'unknown_generation' | 'generation_v1' | 'generation_v2';
16
+ export type NodeTypeStock = 'unknown' | 'low_stock' | 'out_of_stock' | 'available';
17
+ export type Permission = 'readonly' | 'readwrite' | 'all' | 'custom' | 'none';
18
+ export type ReadReplicaStatus = 'unknown' | 'provisioning' | 'initializing' | 'ready' | 'deleting' | 'error' | 'locked' | 'configuring' | 'promoting';
19
+ export type SnapshotStatus = 'unknown' | 'creating' | 'ready' | 'restoring' | 'deleting' | 'error' | 'locked';
20
+ export type StorageClass = 'unknown_storage_class' | 'lssd' | 'bssd' | 'sbs';
21
+ export type VolumeType = 'lssd' | 'bssd' | 'sbs_5k' | 'sbs_15k';
22
+ export interface EndpointDirectAccessDetails {
23
+ }
24
+ export interface EndpointLoadBalancerDetails {
25
+ }
26
+ export interface EndpointPrivateNetworkDetails {
27
+ /** UUID of the Private Network. */
28
+ privateNetworkId: string;
29
+ /** CIDR notation of the endpoint IPv4 address. */
30
+ serviceIp: string;
31
+ /** Private network zone. */
32
+ zone: Zone;
33
+ }
34
+ export interface EndpointSpecPrivateNetworkIpamConfig {
35
+ }
36
+ export interface ReadReplicaEndpointSpecPrivateNetworkIpamConfig {
37
+ }
38
+ export interface EngineSetting {
39
+ /** Setting name from the database engine. */
40
+ name: string;
41
+ /** Value set when not specified. */
42
+ defaultValue: string;
43
+ /** Setting can be applied without restarting. */
44
+ hotConfigurable: boolean;
45
+ /** Setting description. */
46
+ description: string;
47
+ /** Setting type. */
48
+ propertyType: EngineSettingPropertyType;
49
+ /** Setting base unit. */
50
+ unit?: string;
51
+ /** Validation regex for string type settings. */
52
+ stringConstraint?: string;
53
+ /** Minimum value for int types. */
54
+ intMin?: number;
55
+ /** Maximum value for int types. */
56
+ intMax?: number;
57
+ /** Minimum value for float types. */
58
+ floatMin?: number;
59
+ /** Maximum value for float types. */
60
+ floatMax?: number;
61
+ }
62
+ export interface Endpoint {
63
+ /** UUID of the endpoint. */
64
+ id: string;
65
+ /**
66
+ * IPv4 address of the endpoint.
67
+ *
68
+ * One-of ('address'): at most one of 'ip', 'hostname' could be set.
69
+ */
70
+ ip?: string;
71
+ /** TCP port of the endpoint. */
72
+ port: number;
73
+ /** Name of the endpoint. */
74
+ name?: string;
75
+ /**
76
+ * Private Network details. One maximum per Database Instance or Read Replica
77
+ * (a Database Instance and its Read Replica can have different Private
78
+ * Networks). Cannot be updated (has to be deleted and recreated).
79
+ *
80
+ * One-of ('details'): at most one of 'privateNetwork', 'loadBalancer',
81
+ * 'directAccess' could be set.
82
+ */
83
+ privateNetwork?: EndpointPrivateNetworkDetails;
84
+ /**
85
+ * Load Balancer details. Public endpoint for Database Instance which is
86
+ * systematically present. One per Database Instance.
87
+ *
88
+ * One-of ('details'): at most one of 'privateNetwork', 'loadBalancer',
89
+ * 'directAccess' could be set.
90
+ */
91
+ loadBalancer?: EndpointLoadBalancerDetails;
92
+ /**
93
+ * Direct access details. Public endpoint reserved for Read Replicas. One per
94
+ * Read Replica.
95
+ *
96
+ * One-of ('details'): at most one of 'privateNetwork', 'loadBalancer',
97
+ * 'directAccess' could be set.
98
+ */
99
+ directAccess?: EndpointDirectAccessDetails;
100
+ /**
101
+ * Hostname of the endpoint.
102
+ *
103
+ * One-of ('address'): at most one of 'ip', 'hostname' could be set.
104
+ */
105
+ hostname?: string;
106
+ }
107
+ export interface EndpointSpecLoadBalancer {
108
+ }
109
+ export interface EndpointSpecPrivateNetwork {
110
+ /** UUID of the Private Network to be connected to the Database Instance. */
111
+ privateNetworkId: string;
112
+ /**
113
+ * Endpoint IPv4 address with a CIDR notation. Refer to the official Scaleway
114
+ * documentation to learn more about IP and subnet limitations.
115
+ *
116
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
117
+ */
118
+ serviceIp?: string;
119
+ /**
120
+ * Automated configuration of your Private Network endpoint with Scaleway IPAM
121
+ * service. One at the most per Database Instance or Read Replica (a Database
122
+ * Instance and its Read Replica can have different Private Networks). Cannot
123
+ * be updated (has to be deleted and recreated).
124
+ *
125
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
126
+ */
127
+ ipamConfig?: EndpointSpecPrivateNetworkIpamConfig;
128
+ }
129
+ export interface ReadReplicaEndpointSpecDirectAccess {
130
+ }
131
+ export interface ReadReplicaEndpointSpecPrivateNetwork {
132
+ /** UUID of the Private Network to be connected to the Read Replica. */
133
+ privateNetworkId: string;
134
+ /**
135
+ * Endpoint IPv4 address with a CIDR notation. Refer to the official Scaleway
136
+ * documentation to learn more about IP and subnet limitations.
137
+ *
138
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
139
+ */
140
+ serviceIp?: string;
141
+ /**
142
+ * Automated configuration of your Private Network endpoint with Scaleway IPAM
143
+ * service. One at the most per Database Instance or Read Replica (a Database
144
+ * Instance and its Read Replica can have different private networks). Cannot
145
+ * be updated (has to be deleted and recreated).
146
+ *
147
+ * One-of ('config'): at most one of 'serviceIp', 'ipamConfig' could be set.
148
+ */
149
+ ipamConfig?: ReadReplicaEndpointSpecPrivateNetworkIpamConfig;
150
+ }
151
+ export interface EngineVersion {
152
+ /** Database engine version. */
153
+ version: string;
154
+ /** Database engine name. */
155
+ name: string;
156
+ /** End of life date. */
157
+ endOfLife?: Date;
158
+ /** Engine settings available to be set. */
159
+ availableSettings: EngineSetting[];
160
+ /** Disabled versions cannot be created. */
161
+ disabled: boolean;
162
+ /** Beta status of engine version. */
163
+ beta: boolean;
164
+ /** Engine settings available to be set at database initialization. */
165
+ availableInitSettings: EngineSetting[];
166
+ }
167
+ export interface BackupSchedule {
168
+ /** Frequency of the backup schedule (in hours). */
169
+ frequency: number;
170
+ /** Default retention period of backups (in days). */
171
+ retention: number;
172
+ /** Defines whether the backup schedule feature is disabled. */
173
+ disabled: boolean;
174
+ /** Next run of the backup schedule (accurate to 10 minutes). */
175
+ nextRunAt?: Date;
176
+ }
177
+ export interface InstanceSetting {
178
+ name: string;
179
+ value: string;
180
+ }
181
+ export interface LogsPolicy {
182
+ /** Max age (in days) of remote logs to keep on the Database Instance. */
183
+ maxAgeRetention?: number;
184
+ /** Max disk size of remote logs to keep on the Database Instance. */
185
+ totalDiskRetention?: number;
186
+ }
187
+ export interface Maintenance {
188
+ /** Start date of the maintenance window. */
189
+ startsAt?: Date;
190
+ /** End date of the maintenance window. */
191
+ stopsAt?: Date;
192
+ /** Closed maintenance date. */
193
+ closedAt?: Date;
194
+ /** Maintenance information message. */
195
+ reason: string;
196
+ /** Status of the maintenance. */
197
+ status: MaintenanceStatus;
198
+ /** Time when Scaleway-side maintenance will be applied. */
199
+ forcedAt?: Date;
200
+ }
201
+ export interface ReadReplica {
202
+ /** UUID of the Read Replica. */
203
+ id: string;
204
+ /** Display Read Replica connection information. */
205
+ endpoints: Endpoint[];
206
+ /** Read replica status. */
207
+ status: ReadReplicaStatus;
208
+ /** Region the Read Replica is in. */
209
+ region: Region;
210
+ /**
211
+ * Whether the replica is in the same Availability Zone as the main Database
212
+ * Instance nodes or not.
213
+ */
214
+ sameZone: boolean;
215
+ }
216
+ export interface UpgradableVersion {
217
+ id: string;
218
+ name: string;
219
+ version: string;
220
+ minorVersion: string;
221
+ }
222
+ export interface Volume {
223
+ type: VolumeType;
224
+ size: number;
225
+ class: StorageClass;
226
+ }
227
+ export interface NodeTypeVolumeConstraintSizes {
228
+ /** [deprecated] Mimimum size required for the Volume. */
229
+ minSize: number;
230
+ /** [deprecated] Maximum size required for the Volume. */
231
+ maxSize: number;
232
+ }
233
+ export interface NodeTypeVolumeType {
234
+ /** Volume Type. */
235
+ type: VolumeType;
236
+ /** The description of the Volume. */
237
+ description: string;
238
+ /** Mimimum size required for the Volume. */
239
+ minSize: number;
240
+ /** Maximum size required for the Volume. */
241
+ maxSize: number;
242
+ /** Minimum increment level for a Block Storage volume size. */
243
+ chunkSize: number;
244
+ /** The storage class of the volume. */
245
+ class: StorageClass;
246
+ }
247
+ export interface SnapshotVolumeType {
248
+ type: VolumeType;
249
+ class: StorageClass;
250
+ }
251
+ export interface ACLRuleRequest {
252
+ ip: string;
253
+ description: string;
254
+ }
255
+ export interface ACLRule {
256
+ ip: string;
257
+ /** @deprecated */
258
+ port?: number;
259
+ protocol: ACLRuleProtocol;
260
+ direction: ACLRuleDirection;
261
+ action: ACLRuleAction;
262
+ description: string;
263
+ }
264
+ export interface EndpointSpec {
265
+ /**
266
+ * Load Balancer endpoint specifications. Public endpoint for Database
267
+ * Instance which is systematically present. One per Document Database
268
+ * Instance.
269
+ *
270
+ * One-of ('spec'): at most one of 'loadBalancer', 'privateNetwork' could be
271
+ * set.
272
+ */
273
+ loadBalancer?: EndpointSpecLoadBalancer;
274
+ /**
275
+ * Private Network endpoint specifications. One maximum per Database Instance
276
+ * or Read Replica (a Database Instance and its Read Replica can have
277
+ * different Private Networks). Cannot be updated (has to be deleted and
278
+ * recreated).
279
+ *
280
+ * One-of ('spec'): at most one of 'loadBalancer', 'privateNetwork' could be
281
+ * set.
282
+ */
283
+ privateNetwork?: EndpointSpecPrivateNetwork;
284
+ }
285
+ export interface ReadReplicaEndpointSpec {
286
+ /**
287
+ * Direct access endpoint specifications. Public endpoint reserved for Read
288
+ * Replicas. One per Read Replica.
289
+ *
290
+ * One-of ('spec'): at most one of 'directAccess', 'privateNetwork' could be
291
+ * set.
292
+ */
293
+ directAccess?: ReadReplicaEndpointSpecDirectAccess;
294
+ /**
295
+ * Private Network endpoint specifications. One at most, per Read Replica.
296
+ * Cannot be updated (has to be deleted and recreated).
297
+ *
298
+ * One-of ('spec'): at most one of 'directAccess', 'privateNetwork' could be
299
+ * set.
300
+ */
301
+ privateNetwork?: ReadReplicaEndpointSpecPrivateNetwork;
302
+ }
303
+ export interface DatabaseEngine {
304
+ /** Engine name. */
305
+ name: string;
306
+ /** Engine logo URL. */
307
+ logoUrl: string;
308
+ /** Available versions. */
309
+ versions: EngineVersion[];
310
+ /** Region of this Database Instance. */
311
+ region: Region;
312
+ }
313
+ export interface Database {
314
+ /** Name of the database. */
315
+ name: string;
316
+ /** Name of the database owner. */
317
+ owner: string;
318
+ /** Defines whether the database is managed or not. */
319
+ managed: boolean;
320
+ /** Size of the database. */
321
+ size: number;
322
+ }
323
+ export interface ListInstanceLogsDetailsResponseInstanceLogDetail {
324
+ logName: string;
325
+ size: number;
326
+ }
327
+ export interface InstanceLog {
328
+ /** Presigned S3 URL to download your log file. */
329
+ downloadUrl?: string;
330
+ /** UUID of the Database Instance log. */
331
+ id: string;
332
+ /** Status of the logs in a Database Instance. */
333
+ status: InstanceLogStatus;
334
+ /** Name of the underlying node. */
335
+ nodeName: string;
336
+ /** Expiration date (must follow the ISO 8601 format). */
337
+ expiresAt?: Date;
338
+ /** Creation date (must follow the ISO 8601 format). */
339
+ createdAt?: Date;
340
+ /** Region the Database Instance is in. */
341
+ region: Region;
342
+ }
343
+ export interface Instance {
344
+ /** Creation date (must follow the ISO 8601 format). */
345
+ createdAt?: Date;
346
+ /** Volumes of the Database Instance. */
347
+ volume?: Volume;
348
+ /** Region the Database Instance is in. */
349
+ region: Region;
350
+ /** UUID of the Database Instance. */
351
+ id: string;
352
+ /** Name of the Database Instance. */
353
+ name: string;
354
+ /** Organization ID the Database Instance belongs to. */
355
+ organizationId: string;
356
+ /** Project ID the Database Instance belongs to. */
357
+ projectId: string;
358
+ /** Status of the Database Instance. */
359
+ status: InstanceStatus;
360
+ /** Database engine of the database. */
361
+ engine: string;
362
+ /** Available database engine versions for upgrade. */
363
+ upgradableVersion: UpgradableVersion[];
364
+ /** @deprecated Endpoint of the Database Instance. */
365
+ endpoint?: Endpoint;
366
+ /** List of tags applied to the Database Instance. */
367
+ tags: string[];
368
+ /** Advanced settings of the Database Instance. */
369
+ settings: InstanceSetting[];
370
+ /** Backup schedule of the Database Instance. */
371
+ backupSchedule?: BackupSchedule;
372
+ /** Defines whether or not High-Availability is enabled. */
373
+ isHaCluster: boolean;
374
+ /** Read Replicas of the Database Instance. */
375
+ readReplicas: ReadReplica[];
376
+ /** Node type of the Database Instance. */
377
+ nodeType: string;
378
+ /** List of engine settings to be set at Database Instance initialization. */
379
+ initSettings: InstanceSetting[];
380
+ /** List of Database Instance endpoints. */
381
+ endpoints: Endpoint[];
382
+ /** Logs policy of the Database Instance. */
383
+ logsPolicy?: LogsPolicy;
384
+ /** Store logical backups in the same region as the Database Instance. */
385
+ backupSameRegion: boolean;
386
+ /** List of Database Instance maintenance events. */
387
+ maintenances: Maintenance[];
388
+ }
389
+ export interface NodeType {
390
+ /** Node Type name identifier. */
391
+ name: string;
392
+ /** Current stock status for the Node Type. */
393
+ stockStatus: NodeTypeStock;
394
+ /** Current specs of the offer. */
395
+ description: string;
396
+ /** Number of virtual CPUs. */
397
+ vcpus: number;
398
+ /** Quantity of RAM. */
399
+ memory: number;
400
+ /** @deprecated {undefined} Deprecated Node Type volume constraints. */
401
+ volumeConstraint?: NodeTypeVolumeConstraintSizes;
402
+ /** @deprecated The Node Type is compliant with Block Storage. */
403
+ isBssdCompatible?: boolean;
404
+ /** The Node Type is currently disabled. */
405
+ disabled: boolean;
406
+ /** The Node Type is currently in beta. */
407
+ beta: boolean;
408
+ /** Available storage options for the Node Type. */
409
+ availableVolumeTypes: NodeTypeVolumeType[];
410
+ /** The Node Type can be used only with the High Availability option. */
411
+ isHaRequired: boolean;
412
+ /** Generation associated the NodeType offer. */
413
+ generation: NodeTypeGeneration;
414
+ /** Instance range associated with the NodeType offer. */
415
+ instanceRange: string;
416
+ /** Region the Node Type is in. */
417
+ region: Region;
418
+ }
419
+ export interface Privilege {
420
+ /** Permission (Read, Read/Write, All, Custom). */
421
+ permission: Permission;
422
+ /** Name of the database. */
423
+ databaseName: string;
424
+ /** Name of the user. */
425
+ userName: string;
426
+ }
427
+ export interface Snapshot {
428
+ /** UUID of the snapshot. */
429
+ id: string;
430
+ /** UUID of the Database Instance. */
431
+ instanceId: string;
432
+ /** Name of the snapshot. */
433
+ name: string;
434
+ /** Status of the snapshot. */
435
+ status: SnapshotStatus;
436
+ /** Size of the snapshot. */
437
+ size?: number;
438
+ /** Expiration date (must follow the ISO 8601 format). */
439
+ expiresAt?: Date;
440
+ /** Creation date (must follow the ISO 8601 format). */
441
+ createdAt?: Date;
442
+ /** Updated date (must follow the ISO 8601 format). */
443
+ updatedAt?: Date;
444
+ /** Name of the Database Instance of the snapshot. */
445
+ instanceName: string;
446
+ /** Source node type. */
447
+ nodeType: string;
448
+ /** Type of volume where data is stored (lssd, bssd or sbs). */
449
+ volumeType?: SnapshotVolumeType;
450
+ /** Region of this snapshot. */
451
+ region: Region;
452
+ }
453
+ export interface User {
454
+ /**
455
+ * Name of the user (Length must be between 1 and 63 characters. First
456
+ * character must be an alphabet character (a-zA-Z). Your username cannot
457
+ * start with '_rdb' or 'pg_'. Only a-zA-Z0-9_$- characters are accepted).
458
+ */
459
+ name: string;
460
+ /**
461
+ * Defines whether or not a user got administrative privileges on the Database
462
+ * Instance.
463
+ */
464
+ isAdmin: boolean;
465
+ }
466
+ export interface UpgradeInstanceRequestMajorUpgradeWorkflow {
467
+ /**
468
+ * This will create a new Database Instance with same specifications as the
469
+ * current one and perform a Database Engine upgrade.
470
+ */
471
+ upgradableVersionId: string;
472
+ /**
473
+ * At the end of the migration procedure this option let you migrate all your
474
+ * database endpoint to the upgraded instance.
475
+ */
476
+ withEndpoints: boolean;
477
+ }
478
+ export type AddInstanceACLRulesRequest = {
479
+ /**
480
+ * Region to target. If none is passed will use default region from the
481
+ * config.
482
+ */
483
+ region?: Region;
484
+ /** UUID of the Database Instance you want to add ACL rules to. */
485
+ instanceId: string;
486
+ /** ACL rules to add to the Database Instance. */
487
+ rules: ACLRuleRequest[];
488
+ };
489
+ export interface AddInstanceACLRulesResponse {
490
+ /** ACL Rules enabled for the Database Instance. */
491
+ rules: ACLRule[];
492
+ }
493
+ export type AddInstanceSettingsRequest = {
494
+ /**
495
+ * Region to target. If none is passed will use default region from the
496
+ * config.
497
+ */
498
+ region?: Region;
499
+ /** UUID of the Database Instance you want to add settings to. */
500
+ instanceId: string;
501
+ /** Settings to add to the Database Instance. */
502
+ settings: InstanceSetting[];
503
+ };
504
+ export interface AddInstanceSettingsResponse {
505
+ /** Settings available on the Database Instance. */
506
+ settings: InstanceSetting[];
507
+ }
508
+ export type ApplyInstanceMaintenanceRequest = {
509
+ /**
510
+ * Region to target. If none is passed will use default region from the
511
+ * config.
512
+ */
513
+ region?: Region;
514
+ /** UUID of the Database Instance to which you want to apply maintenance. */
515
+ instanceId: string;
516
+ };
517
+ export type CloneInstanceRequest = {
518
+ /**
519
+ * Region to target. If none is passed will use default region from the
520
+ * config.
521
+ */
522
+ region?: Region;
523
+ /** UUID of the Database Instance you want to clone. */
524
+ instanceId: string;
525
+ /** Name of the Database Instance clone. */
526
+ name: string;
527
+ /** Node type of the clone. */
528
+ nodeType?: string;
529
+ };
530
+ export type CreateDatabaseRequest = {
531
+ /**
532
+ * Region to target. If none is passed will use default region from the
533
+ * config.
534
+ */
535
+ region?: Region;
536
+ /** UUID of the Database Instance where to create the database. */
537
+ instanceId: string;
538
+ /** Name of the database. */
539
+ name: string;
540
+ };
541
+ export type CreateEndpointRequest = {
542
+ /**
543
+ * Region to target. If none is passed will use default region from the
544
+ * config.
545
+ */
546
+ region?: Region;
547
+ /** UUID of the Database Instance you to which you want to add an endpoint. */
548
+ instanceId: string;
549
+ /** Specification of the endpoint you want to create. */
550
+ endpointSpec?: EndpointSpec;
551
+ };
552
+ export type CreateInstanceFromSnapshotRequest = {
553
+ /**
554
+ * Region to target. If none is passed will use default region from the
555
+ * config.
556
+ */
557
+ region?: Region;
558
+ /** Block snapshot of the Database Instance. */
559
+ snapshotId: string;
560
+ /** Name of the Database Instance created with the snapshot. */
561
+ instanceName: string;
562
+ /**
563
+ * Defines whether or not High Availability is enabled on the new Database
564
+ * Instance.
565
+ */
566
+ isHaCluster?: boolean;
567
+ /** The node type used to restore the snapshot. */
568
+ nodeType?: string;
569
+ };
570
+ export type CreateInstanceRequest = {
571
+ /**
572
+ * Region to target. If none is passed will use default region from the
573
+ * config.
574
+ */
575
+ region?: Region;
576
+ /**
577
+ * @deprecated Please use project_id instead.
578
+ *
579
+ * One-of ('projectIdentifier'): at most one of 'organizationId', 'projectId'
580
+ * could be set.
581
+ */
582
+ organizationId?: string;
583
+ /**
584
+ * The Project ID on which the Database Instance will be created.
585
+ *
586
+ * One-of ('projectIdentifier'): at most one of 'organizationId', 'projectId'
587
+ * could be set.
588
+ */
589
+ projectId?: string;
590
+ /** Name of the Database Instance. */
591
+ name?: string;
592
+ /** Database engine of the Database Instance. */
593
+ engine: string;
594
+ /** Username created when the Database Instance is created. */
595
+ userName: string;
596
+ /** Password of the user. */
597
+ password: string;
598
+ /** Type of node to use for the Database Instance. */
599
+ nodeType: string;
600
+ /** Defines whether or not High-Availability is enabled. */
601
+ isHaCluster: boolean;
602
+ /** Defines whether or not backups are disabled. */
603
+ disableBackup: boolean;
604
+ /** Tags to apply to the Database Instance. */
605
+ tags?: string[];
606
+ /** List of engine settings to be set upon Database Instance initialization. */
607
+ initSettings?: InstanceSetting[];
608
+ /** Type of volume where data is stored (lssd, bssd, ...). */
609
+ volumeType?: VolumeType;
610
+ /** Volume size when volume_type is not lssd. */
611
+ volumeSize: number;
612
+ /**
613
+ * One or multiple EndpointSpec used to expose your Database Instance. A
614
+ * load_balancer public endpoint is systematically created.
615
+ */
616
+ initEndpoints?: EndpointSpec[];
617
+ /**
618
+ * Defines whether to or not to store logical backups in the same region as
619
+ * the Database Instance.
620
+ */
621
+ backupSameRegion: boolean;
622
+ };
623
+ export type CreateReadReplicaEndpointRequest = {
624
+ /**
625
+ * Region to target. If none is passed will use default region from the
626
+ * config.
627
+ */
628
+ region?: Region;
629
+ /** UUID of the Read Replica. */
630
+ readReplicaId: string;
631
+ /** Specification of the endpoint you want to create. */
632
+ endpointSpec: ReadReplicaEndpointSpec[];
633
+ };
634
+ export type CreateReadReplicaRequest = {
635
+ /**
636
+ * Region to target. If none is passed will use default region from the
637
+ * config.
638
+ */
639
+ region?: Region;
640
+ /** UUID of the Database Instance you want to create a Read Replica from. */
641
+ instanceId: string;
642
+ /** Specification of the endpoint you want to create. */
643
+ endpointSpec?: ReadReplicaEndpointSpec[];
644
+ /**
645
+ * Defines whether or not to create the replica in the same Availability Zone
646
+ * as the main Database Instance nodes.
647
+ */
648
+ sameZone?: boolean;
649
+ };
650
+ export type CreateSnapshotRequest = {
651
+ /**
652
+ * Region to target. If none is passed will use default region from the
653
+ * config.
654
+ */
655
+ region?: Region;
656
+ /** UUID of the Database Instance. */
657
+ instanceId: string;
658
+ /** Name of the snapshot. */
659
+ name?: string;
660
+ /** Expiration date (must follow the ISO 8601 format). */
661
+ expiresAt?: Date;
662
+ };
663
+ export type CreateUserRequest = {
664
+ /**
665
+ * Region to target. If none is passed will use default region from the
666
+ * config.
667
+ */
668
+ region?: Region;
669
+ /** UUID of the Database Instance in which you want to create a user. */
670
+ instanceId: string;
671
+ /** Name of the user you want to create. */
672
+ name: string;
673
+ /** Password of the user you want to create. */
674
+ password: string;
675
+ /** Defines whether the user will have administrative privileges. */
676
+ isAdmin: boolean;
677
+ };
678
+ export type DeleteDatabaseRequest = {
679
+ /**
680
+ * Region to target. If none is passed will use default region from the
681
+ * config.
682
+ */
683
+ region?: Region;
684
+ /** UUID of the Database Instance where to delete the database. */
685
+ instanceId: string;
686
+ /** Name of the database to delete. */
687
+ name: string;
688
+ };
689
+ export type DeleteEndpointRequest = {
690
+ /**
691
+ * Region to target. If none is passed will use default region from the
692
+ * config.
693
+ */
694
+ region?: Region;
695
+ /** This endpoint can also be used to delete a Read Replica endpoint. */
696
+ endpointId: string;
697
+ };
698
+ export type DeleteInstanceACLRulesRequest = {
699
+ /**
700
+ * Region to target. If none is passed will use default region from the
701
+ * config.
702
+ */
703
+ region?: Region;
704
+ /** UUID of the Database Instance you want to delete an ACL rule from. */
705
+ instanceId: string;
706
+ /** IP addresses defined in the ACL rules of the Database Instance. */
707
+ aclRuleIps: string[];
708
+ };
709
+ export interface DeleteInstanceACLRulesResponse {
710
+ /** IP addresses defined in the ACL rules of the Database Instance. */
711
+ rules: ACLRule[];
712
+ }
713
+ export type DeleteInstanceRequest = {
714
+ /**
715
+ * Region to target. If none is passed will use default region from the
716
+ * config.
717
+ */
718
+ region?: Region;
719
+ /** UUID of the Database Instance to delete. */
720
+ instanceId: string;
721
+ };
722
+ export type DeleteInstanceSettingsRequest = {
723
+ /**
724
+ * Region to target. If none is passed will use default region from the
725
+ * config.
726
+ */
727
+ region?: Region;
728
+ /** UUID of the Database Instance to delete settings from. */
729
+ instanceId: string;
730
+ /** Settings names to delete. */
731
+ settingNames: string[];
732
+ };
733
+ export interface DeleteInstanceSettingsResponse {
734
+ /** Settings names to delete from the Database Instance. */
735
+ settings: InstanceSetting[];
736
+ }
737
+ export type DeleteReadReplicaRequest = {
738
+ /**
739
+ * Region to target. If none is passed will use default region from the
740
+ * config.
741
+ */
742
+ region?: Region;
743
+ /** UUID of the Read Replica. */
744
+ readReplicaId: string;
745
+ };
746
+ export type DeleteSnapshotRequest = {
747
+ /**
748
+ * Region to target. If none is passed will use default region from the
749
+ * config.
750
+ */
751
+ region?: Region;
752
+ /** UUID of the snapshot to delete. */
753
+ snapshotId: string;
754
+ };
755
+ export type DeleteUserRequest = {
756
+ /**
757
+ * Region to target. If none is passed will use default region from the
758
+ * config.
759
+ */
760
+ region?: Region;
761
+ /** UUID of the Database Instance to delete the user from. */
762
+ instanceId: string;
763
+ /** Name of the user. */
764
+ name: string;
765
+ };
766
+ export type GetEndpointRequest = {
767
+ /**
768
+ * Region to target. If none is passed will use default region from the
769
+ * config.
770
+ */
771
+ region?: Region;
772
+ /** UUID of the endpoint you want to get. */
773
+ endpointId: string;
774
+ };
775
+ export type GetInstanceCertificateRequest = {
776
+ /**
777
+ * Region to target. If none is passed will use default region from the
778
+ * config.
779
+ */
780
+ region?: Region;
781
+ /** UUID of the Database Instance. */
782
+ instanceId: string;
783
+ };
784
+ export type GetInstanceLogRequest = {
785
+ /**
786
+ * Region to target. If none is passed will use default region from the
787
+ * config.
788
+ */
789
+ region?: Region;
790
+ /** UUID of the instance_log you want. */
791
+ instanceLogId: string;
792
+ };
793
+ export type GetInstanceMetricsRequest = {
794
+ /**
795
+ * Region to target. If none is passed will use default region from the
796
+ * config.
797
+ */
798
+ region?: Region;
799
+ /** UUID of the Database Instance. */
800
+ instanceId: string;
801
+ /** Start date to gather metrics from. */
802
+ startDate?: Date;
803
+ /** End date to gather metrics from. */
804
+ endDate?: Date;
805
+ /** Name of the metric to gather. */
806
+ metricName?: string;
807
+ };
808
+ export type GetInstanceRequest = {
809
+ /**
810
+ * Region to target. If none is passed will use default region from the
811
+ * config.
812
+ */
813
+ region?: Region;
814
+ /** UUID of the Database Instance. */
815
+ instanceId: string;
816
+ };
817
+ export type GetReadReplicaRequest = {
818
+ /**
819
+ * Region to target. If none is passed will use default region from the
820
+ * config.
821
+ */
822
+ region?: Region;
823
+ /** UUID of the Read Replica. */
824
+ readReplicaId: string;
825
+ };
826
+ export type GetSnapshotRequest = {
827
+ /**
828
+ * Region to target. If none is passed will use default region from the
829
+ * config.
830
+ */
831
+ region?: Region;
832
+ /** UUID of the snapshot. */
833
+ snapshotId: string;
834
+ };
835
+ export interface InstanceMetrics {
836
+ /** Time series of metrics of a Database Instance. */
837
+ timeseries: TimeSeries[];
838
+ }
839
+ export type ListDatabaseEnginesRequest = {
840
+ /**
841
+ * Region to target. If none is passed will use default region from the
842
+ * config.
843
+ */
844
+ region?: Region;
845
+ /** Name of the database engine. */
846
+ name?: string;
847
+ /** Version of the database engine. */
848
+ version?: string;
849
+ page?: number;
850
+ pageSize?: number;
851
+ };
852
+ export interface ListDatabaseEnginesResponse {
853
+ /** List of the available database engines. */
854
+ engines: DatabaseEngine[];
855
+ /** Total count of database engines available. */
856
+ totalCount: number;
857
+ }
858
+ export type ListDatabasesRequest = {
859
+ /**
860
+ * Region to target. If none is passed will use default region from the
861
+ * config.
862
+ */
863
+ region?: Region;
864
+ /** UUID of the Database Instance to list the databases of. */
865
+ instanceId: string;
866
+ /** Name of the database. */
867
+ name?: string;
868
+ /** Defines whether or not the database is managed. */
869
+ managed?: boolean;
870
+ /** User that owns this database. */
871
+ owner?: string;
872
+ /** Criteria to use when ordering database listing. */
873
+ orderBy?: ListDatabasesRequestOrderBy;
874
+ page?: number;
875
+ pageSize?: number;
876
+ };
877
+ export interface ListDatabasesResponse {
878
+ /** List of the databases. */
879
+ databases: Database[];
880
+ /** Total count of databases present on a Database Instance. */
881
+ totalCount: number;
882
+ }
883
+ export type ListInstanceACLRulesRequest = {
884
+ /**
885
+ * Region to target. If none is passed will use default region from the
886
+ * config.
887
+ */
888
+ region?: Region;
889
+ /** UUID of the Database Instance. */
890
+ instanceId: string;
891
+ page?: number;
892
+ pageSize?: number;
893
+ };
894
+ export interface ListInstanceACLRulesResponse {
895
+ /** List of ACL rules present on a Database Instance. */
896
+ rules: ACLRule[];
897
+ /** Total count of ACL rules present on a Database Instance. */
898
+ totalCount: number;
899
+ }
900
+ export type ListInstanceLogsDetailsRequest = {
901
+ /**
902
+ * Region to target. If none is passed will use default region from the
903
+ * config.
904
+ */
905
+ region?: Region;
906
+ /** UUID of the Database Instance you want logs of. */
907
+ instanceId: string;
908
+ };
909
+ export interface ListInstanceLogsDetailsResponse {
910
+ /** Remote Database Instance logs details. */
911
+ details: ListInstanceLogsDetailsResponseInstanceLogDetail[];
912
+ }
913
+ export type ListInstanceLogsRequest = {
914
+ /**
915
+ * Region to target. If none is passed will use default region from the
916
+ * config.
917
+ */
918
+ region?: Region;
919
+ /** UUID of the Database Instance you want logs of. */
920
+ instanceId: string;
921
+ /** Criteria to use when ordering Database Instance logs listing. */
922
+ orderBy?: ListInstanceLogsRequestOrderBy;
923
+ };
924
+ export interface ListInstanceLogsResponse {
925
+ /** Available logs in a Database Instance. */
926
+ instanceLogs: InstanceLog[];
927
+ }
928
+ export type ListInstancesRequest = {
929
+ /**
930
+ * Region to target. If none is passed will use default region from the
931
+ * config.
932
+ */
933
+ region?: Region;
934
+ /** List Database Instances that have a given tag. */
935
+ tags?: string[];
936
+ /** Lists Database Instances that match a name pattern. */
937
+ name?: string;
938
+ /** Criteria to use when ordering Database Instance listings. */
939
+ orderBy?: ListInstancesRequestOrderBy;
940
+ /** Please use project_id instead. */
941
+ organizationId?: string;
942
+ /** Project ID to list the Database Instance of. */
943
+ projectId?: string;
944
+ page?: number;
945
+ pageSize?: number;
946
+ };
947
+ export interface ListInstancesResponse {
948
+ /** List of all Database Instances available in an Organization or Project. */
949
+ instances: Instance[];
950
+ /** Total count of Database Instances available in a Organization or Project. */
951
+ totalCount: number;
952
+ }
953
+ export type ListNodeTypesRequest = {
954
+ /**
955
+ * Region to target. If none is passed will use default region from the
956
+ * config.
957
+ */
958
+ region?: Region;
959
+ /** Defines whether or not to include disabled types. */
960
+ includeDisabledTypes: boolean;
961
+ page?: number;
962
+ pageSize?: number;
963
+ };
964
+ export interface ListNodeTypesResponse {
965
+ /** Types of the node. */
966
+ nodeTypes: NodeType[];
967
+ /** Total count of node-types available. */
968
+ totalCount: number;
969
+ }
970
+ export type ListPrivilegesRequest = {
971
+ /**
972
+ * Region to target. If none is passed will use default region from the
973
+ * config.
974
+ */
975
+ region?: Region;
976
+ /** UUID of the Database Instance. */
977
+ instanceId: string;
978
+ /** Criteria to use when ordering privileges listing. */
979
+ orderBy?: ListPrivilegesRequestOrderBy;
980
+ page?: number;
981
+ pageSize?: number;
982
+ /** Name of the database. */
983
+ databaseName?: string;
984
+ /** Name of the user. */
985
+ userName?: string;
986
+ };
987
+ export interface ListPrivilegesResponse {
988
+ /** Privileges of a user in a database in a Database Instance. */
989
+ privileges: Privilege[];
990
+ /** Total count of privileges present on a database. */
991
+ totalCount: number;
992
+ }
993
+ export type ListSnapshotsRequest = {
994
+ /**
995
+ * Region to target. If none is passed will use default region from the
996
+ * config.
997
+ */
998
+ region?: Region;
999
+ /** Name of the snapshot. */
1000
+ name?: string;
1001
+ /** Criteria to use when ordering snapshot listing. */
1002
+ orderBy?: ListSnapshotsRequestOrderBy;
1003
+ /** UUID of the Database Instance. */
1004
+ instanceId?: string;
1005
+ /** Organization ID the snapshots belongs to. */
1006
+ organizationId?: string;
1007
+ /** Project ID the snapshots belongs to. */
1008
+ projectId?: string;
1009
+ page?: number;
1010
+ pageSize?: number;
1011
+ };
1012
+ export interface ListSnapshotsResponse {
1013
+ /** List of snapshots. */
1014
+ snapshots: Snapshot[];
1015
+ /** Total count of snapshots available. */
1016
+ totalCount: number;
1017
+ }
1018
+ export type ListUsersRequest = {
1019
+ /**
1020
+ * Region to target. If none is passed will use default region from the
1021
+ * config.
1022
+ */
1023
+ region?: Region;
1024
+ /** UUID of the Database Instance. */
1025
+ instanceId: string;
1026
+ /** Name of the user. */
1027
+ name?: string;
1028
+ /** Criteria to use when requesting user listing. */
1029
+ orderBy?: ListUsersRequestOrderBy;
1030
+ page?: number;
1031
+ pageSize?: number;
1032
+ };
1033
+ export interface ListUsersResponse {
1034
+ /** List of users in a Database Instance. */
1035
+ users: User[];
1036
+ /** Total count of users present on a Database Instance. */
1037
+ totalCount: number;
1038
+ }
1039
+ export type MigrateEndpointRequest = {
1040
+ /**
1041
+ * Region to target. If none is passed will use default region from the
1042
+ * config.
1043
+ */
1044
+ region?: Region;
1045
+ /** UUID of the endpoint you want to migrate. */
1046
+ endpointId: string;
1047
+ /** UUID of the instance you want to attach the endpoint to. */
1048
+ instanceId: string;
1049
+ };
1050
+ export type PromoteReadReplicaRequest = {
1051
+ /**
1052
+ * Region to target. If none is passed will use default region from the
1053
+ * config.
1054
+ */
1055
+ region?: Region;
1056
+ /** UUID of the Read Replica. */
1057
+ readReplicaId: string;
1058
+ };
1059
+ export type PurgeInstanceLogsRequest = {
1060
+ /**
1061
+ * Region to target. If none is passed will use default region from the
1062
+ * config.
1063
+ */
1064
+ region?: Region;
1065
+ /** UUID of the Database Instance you want logs of. */
1066
+ instanceId: string;
1067
+ /** Given log name to purge. */
1068
+ logName?: string;
1069
+ };
1070
+ export type RenewInstanceCertificateRequest = {
1071
+ /**
1072
+ * Region to target. If none is passed will use default region from the
1073
+ * config.
1074
+ */
1075
+ region?: Region;
1076
+ /** UUID of the Database Instance you want logs of. */
1077
+ instanceId: string;
1078
+ };
1079
+ export type ResetReadReplicaRequest = {
1080
+ /**
1081
+ * Region to target. If none is passed will use default region from the
1082
+ * config.
1083
+ */
1084
+ region?: Region;
1085
+ /** UUID of the Read Replica. */
1086
+ readReplicaId: string;
1087
+ };
1088
+ export type RestartInstanceRequest = {
1089
+ /**
1090
+ * Region to target. If none is passed will use default region from the
1091
+ * config.
1092
+ */
1093
+ region?: Region;
1094
+ /** UUID of the Database Instance you want to restart. */
1095
+ instanceId: string;
1096
+ };
1097
+ export type SetInstanceACLRulesRequest = {
1098
+ /**
1099
+ * Region to target. If none is passed will use default region from the
1100
+ * config.
1101
+ */
1102
+ region?: Region;
1103
+ /** UUID of the Database Instance where the ACL rules must be set. */
1104
+ instanceId: string;
1105
+ /** ACL rules to define for the Database Instance. */
1106
+ rules: ACLRuleRequest[];
1107
+ };
1108
+ export interface SetInstanceACLRulesResponse {
1109
+ /** ACLs rules configured for a Database Instance. */
1110
+ rules: ACLRule[];
1111
+ }
1112
+ export type SetInstanceSettingsRequest = {
1113
+ /**
1114
+ * Region to target. If none is passed will use default region from the
1115
+ * config.
1116
+ */
1117
+ region?: Region;
1118
+ /** UUID of the Database Instance where the settings must be set. */
1119
+ instanceId: string;
1120
+ /** Settings to define for the Database Instance. */
1121
+ settings: InstanceSetting[];
1122
+ };
1123
+ export interface SetInstanceSettingsResponse {
1124
+ /** Settings configured for a Database Instance. */
1125
+ settings: InstanceSetting[];
1126
+ }
1127
+ export type SetPrivilegeRequest = {
1128
+ /**
1129
+ * Region to target. If none is passed will use default region from the
1130
+ * config.
1131
+ */
1132
+ region?: Region;
1133
+ /** UUID of the Database Instance. */
1134
+ instanceId: string;
1135
+ /** Name of the database. */
1136
+ databaseName: string;
1137
+ /** Name of the user. */
1138
+ userName: string;
1139
+ /** Permission to set (Read, Read/Write, All, Custom). */
1140
+ permission?: Permission;
1141
+ };
1142
+ export type UpdateInstanceRequest = {
1143
+ /**
1144
+ * Region to target. If none is passed will use default region from the
1145
+ * config.
1146
+ */
1147
+ region?: Region;
1148
+ /** UUID of the Database Instance to update. */
1149
+ instanceId: string;
1150
+ /** In hours. */
1151
+ backupScheduleFrequency?: number;
1152
+ /** In days. */
1153
+ backupScheduleRetention?: number;
1154
+ /** Defines whether or not the backup schedule is disabled. */
1155
+ isBackupScheduleDisabled?: boolean;
1156
+ /** Name of the Database Instance. */
1157
+ name?: string;
1158
+ /** Tags of a Database Instance. */
1159
+ tags?: string[];
1160
+ /** Logs policy of the Database Instance. */
1161
+ logsPolicy?: LogsPolicy;
1162
+ /** Store logical backups in the same region as the Database Instance. */
1163
+ backupSameRegion?: boolean;
1164
+ /** Defines the start time of the autobackup. */
1165
+ backupScheduleStartHour?: number;
1166
+ };
1167
+ export type UpdateSnapshotRequest = {
1168
+ /**
1169
+ * Region to target. If none is passed will use default region from the
1170
+ * config.
1171
+ */
1172
+ region?: Region;
1173
+ /** UUID of the snapshot to update. */
1174
+ snapshotId: string;
1175
+ /** Name of the snapshot. */
1176
+ name?: string;
1177
+ /** Expiration date (must follow the ISO 8601 format). */
1178
+ expiresAt?: Date;
1179
+ };
1180
+ export type UpdateUserRequest = {
1181
+ /**
1182
+ * Region to target. If none is passed will use default region from the
1183
+ * config.
1184
+ */
1185
+ region?: Region;
1186
+ /** UUID of the Database Instance the user belongs to. */
1187
+ instanceId: string;
1188
+ /** Name of the database user. */
1189
+ name: string;
1190
+ /** Password of the database user. */
1191
+ password?: string;
1192
+ /** Defines whether or not this user got administrative privileges. */
1193
+ isAdmin?: boolean;
1194
+ };
1195
+ export type UpgradeInstanceRequest = {
1196
+ /**
1197
+ * Region to target. If none is passed will use default region from the
1198
+ * config.
1199
+ */
1200
+ region?: Region;
1201
+ /** UUID of the Database Instance you want to upgrade. */
1202
+ instanceId: string;
1203
+ /**
1204
+ * Node type of the Database Instance you want to upgrade to.
1205
+ *
1206
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1207
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1208
+ * could be set.
1209
+ */
1210
+ nodeType?: string;
1211
+ /**
1212
+ * Defines whether or not High Availability should be enabled on the Database
1213
+ * Instance.
1214
+ *
1215
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1216
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1217
+ * could be set.
1218
+ */
1219
+ enableHa?: boolean;
1220
+ /**
1221
+ * Increase your Block volume size.
1222
+ *
1223
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1224
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1225
+ * could be set.
1226
+ */
1227
+ volumeSize?: number;
1228
+ /**
1229
+ * Change your Database Instance storage type.
1230
+ *
1231
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1232
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1233
+ * could be set.
1234
+ */
1235
+ volumeType?: VolumeType;
1236
+ /**
1237
+ * This will create a new Database Instance with same specifications as the
1238
+ * current one and perform a Database Engine upgrade.
1239
+ *
1240
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1241
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1242
+ * could be set.
1243
+ */
1244
+ upgradableVersionId?: string;
1245
+ /**
1246
+ * Upgrade your database engine to a new major version including instance
1247
+ * endpoints.
1248
+ *
1249
+ * One-of ('upgradeTarget'): at most one of 'nodeType', 'enableHa',
1250
+ * 'volumeSize', 'volumeType', 'upgradableVersionId', 'majorUpgradeWorkflow'
1251
+ * could be set.
1252
+ */
1253
+ majorUpgradeWorkflow?: UpgradeInstanceRequestMajorUpgradeWorkflow;
1254
+ };