@scaleway/sdk 2.71.1 → 2.73.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 (663) hide show
  1. package/dist/api/account/index.gen.d.ts +2 -2
  2. package/dist/api/account/v2/api.gen.cjs +5 -4
  3. package/dist/api/account/v2/api.gen.d.ts +1 -1
  4. package/dist/api/account/v2/api.gen.js +5 -4
  5. package/dist/api/account/v2/marshalling.gen.cjs +4 -3
  6. package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
  7. package/dist/api/account/v2/marshalling.gen.js +4 -3
  8. package/dist/api/account/v3/api.gen.cjs +18 -36
  9. package/dist/api/account/v3/api.gen.d.ts +18 -37
  10. package/dist/api/account/v3/api.gen.js +18 -36
  11. package/dist/api/account/v3/index.gen.d.ts +1 -1
  12. package/dist/api/account/v3/marshalling.gen.cjs +4 -3
  13. package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
  14. package/dist/api/account/v3/marshalling.gen.js +4 -3
  15. package/dist/api/account/v3/types.gen.d.ts +187 -85
  16. package/dist/api/applesilicon/index.gen.d.ts +2 -2
  17. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
  18. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
  19. package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
  20. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
  21. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
  22. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
  23. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
  24. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
  25. package/dist/api/audit_trail/index.gen.d.ts +2 -2
  26. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
  27. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
  28. package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
  29. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
  30. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
  31. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
  32. package/dist/api/baremetal/index.gen.d.ts +2 -2
  33. package/dist/api/baremetal/v1/api.gen.cjs +34 -66
  34. package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
  35. package/dist/api/baremetal/v1/api.gen.js +34 -66
  36. package/dist/api/baremetal/v1/api.utils.cjs +3 -1
  37. package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
  38. package/dist/api/baremetal/v1/api.utils.js +3 -1
  39. package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
  40. package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
  41. package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
  42. package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
  43. package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
  44. package/dist/api/baremetal/v3/api.gen.cjs +12 -18
  45. package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
  46. package/dist/api/baremetal/v3/api.gen.js +12 -18
  47. package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
  48. package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
  49. package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
  50. package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
  51. package/dist/api/billing/index.gen.d.ts +2 -2
  52. package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
  53. package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
  54. package/dist/api/billing/v2alpha1/api.gen.js +5 -4
  55. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
  56. package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
  57. package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
  58. package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
  59. package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
  60. package/dist/api/billing/v2beta1/api.gen.js +16 -24
  61. package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
  62. package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
  63. package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
  64. package/dist/api/block/index.gen.d.ts +2 -2
  65. package/dist/api/block/v1/api.gen.cjs +43 -60
  66. package/dist/api/block/v1/api.gen.d.ts +21 -39
  67. package/dist/api/block/v1/api.gen.js +43 -60
  68. package/dist/api/block/v1/marshalling.gen.cjs +4 -3
  69. package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
  70. package/dist/api/block/v1/marshalling.gen.js +4 -3
  71. package/dist/api/block/v1/types.gen.d.ts +307 -126
  72. package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
  73. package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
  74. package/dist/api/block/v1alpha1/api.gen.js +51 -69
  75. package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
  76. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
  77. package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
  78. package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
  79. package/dist/api/cockpit/index.gen.d.ts +2 -2
  80. package/dist/api/cockpit/v1/api.gen.cjs +105 -160
  81. package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
  82. package/dist/api/cockpit/v1/api.gen.js +105 -160
  83. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  84. package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
  85. package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
  86. package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
  87. package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
  88. package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
  89. package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
  90. package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
  91. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
  92. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
  93. package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
  94. package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
  95. package/dist/api/container/index.gen.d.ts +2 -2
  96. package/dist/api/container/v1beta1/api.gen.cjs +13 -19
  97. package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
  98. package/dist/api/container/v1beta1/api.gen.js +13 -19
  99. package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
  100. package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
  101. package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
  102. package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
  103. package/dist/api/dedibox/index.gen.d.ts +2 -2
  104. package/dist/api/dedibox/v1/api.gen.cjs +51 -74
  105. package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
  106. package/dist/api/dedibox/v1/api.gen.js +51 -74
  107. package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
  108. package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
  109. package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
  110. package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
  111. package/dist/api/document_db/index.gen.d.ts +2 -2
  112. package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
  113. package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
  114. package/dist/api/document_db/v1beta1/api.gen.js +6 -5
  115. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
  116. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
  117. package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
  118. package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
  119. package/dist/api/domain/index.gen.d.ts +2 -2
  120. package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
  121. package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
  122. package/dist/api/domain/v2beta1/api.gen.js +125 -183
  123. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  124. package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
  125. package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
  126. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
  127. package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
  128. package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
  129. package/dist/api/edge_services/index.gen.d.ts +2 -2
  130. package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
  131. package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
  132. package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
  133. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
  134. package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
  135. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
  136. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
  137. package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
  138. package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
  139. package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
  140. package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
  141. package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
  142. package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
  143. package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
  144. package/dist/api/flexibleip/index.gen.d.ts +2 -2
  145. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
  146. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
  147. package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
  148. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
  149. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
  150. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
  151. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
  152. package/dist/api/function/index.gen.d.ts +2 -2
  153. package/dist/api/function/v1beta1/api.gen.cjs +20 -33
  154. package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
  155. package/dist/api/function/v1beta1/api.gen.js +20 -33
  156. package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
  157. package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
  158. package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
  159. package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
  160. package/dist/api/iam/index.gen.d.ts +2 -2
  161. package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
  162. package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
  163. package/dist/api/iam/v1alpha1/api.gen.js +49 -163
  164. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
  165. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
  166. package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
  167. package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
  168. package/dist/api/index.gen.d.ts +2 -2
  169. package/dist/api/inference/index.gen.d.ts +2 -2
  170. package/dist/api/inference/v1/api.gen.cjs +14 -16
  171. package/dist/api/inference/v1/api.gen.d.ts +8 -11
  172. package/dist/api/inference/v1/api.gen.js +14 -16
  173. package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
  174. package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
  175. package/dist/api/inference/v1/marshalling.gen.js +4 -3
  176. package/dist/api/inference/v1/types.gen.d.ts +331 -151
  177. package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
  178. package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
  179. package/dist/api/inference/v1beta1/api.gen.js +14 -16
  180. package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
  181. package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
  182. package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
  183. package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
  184. package/dist/api/instance/index.gen.d.ts +2 -2
  185. package/dist/api/instance/v1/api.gen.cjs +69 -117
  186. package/dist/api/instance/v1/api.gen.d.ts +56 -105
  187. package/dist/api/instance/v1/api.gen.js +69 -117
  188. package/dist/api/instance/v1/api.utils.cjs +4 -3
  189. package/dist/api/instance/v1/api.utils.d.ts +1 -1
  190. package/dist/api/instance/v1/api.utils.js +4 -3
  191. package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
  192. package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
  193. package/dist/api/instance/v1/marshalling.gen.js +4 -3
  194. package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
  195. package/dist/api/instance/v1/types.gen.d.ts +1352 -599
  196. package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
  197. package/dist/api/instance/v1/types.utils.d.ts +1 -1
  198. package/dist/api/interlink/index.gen.d.ts +2 -2
  199. package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
  200. package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
  201. package/dist/api/interlink/v1beta1/api.gen.js +108 -64
  202. package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
  203. package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
  204. package/dist/api/interlink/v1beta1/content.gen.js +6 -0
  205. package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
  206. package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
  207. package/dist/api/interlink/v1beta1/index.gen.js +3 -0
  208. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
  209. package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
  210. package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
  211. package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
  212. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
  213. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
  214. package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
  215. package/dist/api/iot/index.gen.d.ts +2 -2
  216. package/dist/api/iot/v1/api.gen.cjs +43 -75
  217. package/dist/api/iot/v1/api.gen.d.ts +36 -69
  218. package/dist/api/iot/v1/api.gen.js +43 -75
  219. package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
  220. package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
  221. package/dist/api/iot/v1/marshalling.gen.js +4 -3
  222. package/dist/api/iot/v1/types.gen.d.ts +567 -322
  223. package/dist/api/ipam/index.gen.d.ts +2 -2
  224. package/dist/api/ipam/v1/api.gen.cjs +11 -30
  225. package/dist/api/ipam/v1/api.gen.d.ts +10 -31
  226. package/dist/api/ipam/v1/api.gen.js +11 -30
  227. package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
  228. package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
  229. package/dist/api/ipam/v1/marshalling.gen.js +4 -3
  230. package/dist/api/ipam/v1/types.gen.d.ts +147 -106
  231. package/dist/api/ipfs/index.gen.d.ts +2 -2
  232. package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
  233. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
  234. package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
  235. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
  236. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
  237. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
  238. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
  239. package/dist/api/jobs/index.gen.d.ts +2 -2
  240. package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
  241. package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
  242. package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
  243. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
  244. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
  245. package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
  246. package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
  247. package/dist/api/k8s/index.gen.d.ts +2 -2
  248. package/dist/api/k8s/v1/api.gen.cjs +39 -83
  249. package/dist/api/k8s/v1/api.gen.d.ts +29 -74
  250. package/dist/api/k8s/v1/api.gen.js +39 -83
  251. package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
  252. package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
  253. package/dist/api/k8s/v1/marshalling.gen.js +4 -3
  254. package/dist/api/k8s/v1/types.gen.d.ts +744 -507
  255. package/dist/api/key_manager/index.gen.d.ts +2 -2
  256. package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
  257. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
  258. package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
  259. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
  260. package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
  261. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
  262. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
  263. package/dist/api/lb/index.gen.d.ts +2 -2
  264. package/dist/api/lb/v1/api.gen.cjs +68 -178
  265. package/dist/api/lb/v1/api.gen.d.ts +60 -176
  266. package/dist/api/lb/v1/api.gen.js +69 -179
  267. package/dist/api/lb/v1/api.utils.cjs +3 -1
  268. package/dist/api/lb/v1/api.utils.d.ts +1 -1
  269. package/dist/api/lb/v1/api.utils.js +3 -1
  270. package/dist/api/lb/v1/index.gen.d.ts +1 -1
  271. package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
  272. package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
  273. package/dist/api/lb/v1/marshalling.gen.js +9 -3
  274. package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
  275. package/dist/api/lb/v1/types.utils.d.ts +1 -1
  276. package/dist/api/llm_inference/index.gen.d.ts +2 -2
  277. package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
  278. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
  279. package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
  280. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
  281. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
  282. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
  283. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
  284. package/dist/api/marketplace/index.gen.d.ts +2 -2
  285. package/dist/api/marketplace/v2/api.gen.cjs +13 -25
  286. package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
  287. package/dist/api/marketplace/v2/api.gen.js +13 -25
  288. package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
  289. package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
  290. package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
  291. package/dist/api/mnq/index.gen.d.ts +2 -2
  292. package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
  293. package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
  294. package/dist/api/mnq/v1beta1/api.gen.js +29 -80
  295. package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
  296. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
  297. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
  298. package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
  299. package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
  300. package/dist/api/mongodb/index.gen.d.ts +2 -2
  301. package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
  302. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
  303. package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
  304. package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
  305. package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
  306. package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
  307. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
  308. package/dist/api/qaas/index.gen.d.ts +2 -2
  309. package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
  310. package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
  311. package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
  312. package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
  313. package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
  314. package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
  315. package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
  316. package/dist/api/rdb/index.gen.d.ts +2 -2
  317. package/dist/api/rdb/v1/api.gen.cjs +68 -207
  318. package/dist/api/rdb/v1/api.gen.d.ts +62 -203
  319. package/dist/api/rdb/v1/api.gen.js +68 -207
  320. package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
  321. package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
  322. package/dist/api/rdb/v1/marshalling.gen.js +4 -3
  323. package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
  324. package/dist/api/redis/index.gen.d.ts +2 -2
  325. package/dist/api/redis/v1/api.gen.cjs +29 -88
  326. package/dist/api/redis/v1/api.gen.d.ts +27 -87
  327. package/dist/api/redis/v1/api.gen.js +29 -88
  328. package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
  329. package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
  330. package/dist/api/redis/v1/marshalling.gen.js +4 -3
  331. package/dist/api/redis/v1/types.gen.d.ts +448 -171
  332. package/dist/api/registry/index.gen.d.ts +2 -2
  333. package/dist/api/registry/v1/api.gen.cjs +18 -45
  334. package/dist/api/registry/v1/api.gen.d.ts +16 -44
  335. package/dist/api/registry/v1/api.gen.js +18 -45
  336. package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
  337. package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
  338. package/dist/api/registry/v1/marshalling.gen.js +4 -3
  339. package/dist/api/registry/v1/types.gen.d.ts +201 -117
  340. package/dist/api/secret/index.gen.d.ts +2 -2
  341. package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
  342. package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
  343. package/dist/api/secret/v1alpha1/api.gen.js +5 -4
  344. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
  345. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
  346. package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
  347. package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
  348. package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
  349. package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
  350. package/dist/api/secret/v1beta1/api.gen.js +24 -51
  351. package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
  352. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
  353. package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
  354. package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
  355. package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
  356. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
  357. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
  358. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
  359. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
  360. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
  361. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
  362. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
  363. package/dist/api/tem/index.gen.d.ts +2 -2
  364. package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
  365. package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
  366. package/dist/api/tem/v1alpha1/api.gen.js +28 -63
  367. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
  368. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
  369. package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
  370. package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
  371. package/dist/api/test/index.gen.d.ts +2 -2
  372. package/dist/api/test/v1/api.gen.cjs +14 -16
  373. package/dist/api/test/v1/api.gen.d.ts +8 -11
  374. package/dist/api/test/v1/api.gen.js +14 -16
  375. package/dist/api/test/v1/marshalling.gen.cjs +4 -3
  376. package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
  377. package/dist/api/test/v1/marshalling.gen.js +4 -3
  378. package/dist/api/test/v1/types.gen.d.ts +21 -10
  379. package/dist/api/vpc/index.gen.d.ts +2 -2
  380. package/dist/api/vpc/v1/api.gen.cjs +5 -4
  381. package/dist/api/vpc/v1/api.gen.d.ts +2 -2
  382. package/dist/api/vpc/v1/api.gen.js +5 -4
  383. package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
  384. package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
  385. package/dist/api/vpc/v1/marshalling.gen.js +4 -3
  386. package/dist/api/vpc/v1/types.gen.d.ts +1 -1
  387. package/dist/api/vpc/v2/api.gen.cjs +18 -53
  388. package/dist/api/vpc/v2/api.gen.d.ts +18 -45
  389. package/dist/api/vpc/v2/api.gen.js +19 -54
  390. package/dist/api/vpc/v2/index.gen.d.ts +1 -1
  391. package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
  392. package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
  393. package/dist/api/vpc/v2/marshalling.gen.js +4 -18
  394. package/dist/api/vpc/v2/types.gen.d.ts +333 -200
  395. package/dist/api/vpcgw/index.gen.d.ts +2 -2
  396. package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
  397. package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
  398. package/dist/api/vpcgw/v1/api.gen.js +42 -140
  399. package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
  400. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
  401. package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
  402. package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
  403. package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
  404. package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
  405. package/dist/api/vpcgw/v2/api.gen.js +33 -93
  406. package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
  407. package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
  408. package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
  409. package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
  410. package/dist/api/webhosting/index.gen.d.ts +2 -2
  411. package/dist/api/webhosting/v1/api.gen.cjs +28 -55
  412. package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
  413. package/dist/api/webhosting/v1/api.gen.js +28 -55
  414. package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
  415. package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
  416. package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
  417. package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
  418. package/dist/client/dist/helpers/is-browser.cjs +4 -0
  419. package/dist/client/dist/helpers/is-browser.js +4 -0
  420. package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
  421. package/dist/{package.json.js → client/dist/package.json.js} +7 -16
  422. package/dist/client/dist/scw/constants.cjs +7 -0
  423. package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
  424. package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
  425. package/dist/index.cjs +16 -16
  426. package/dist/index.d.ts +1 -15
  427. package/dist/index.js +13 -13
  428. package/node_modules/@scaleway/sdk-client/README.md +36 -0
  429. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
  430. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
  431. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
  432. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
  433. package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
  434. package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
  435. package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
  436. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
  437. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
  438. package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
  439. package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
  440. package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
  441. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
  442. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
  443. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
  444. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
  445. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
  446. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
  447. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
  448. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
  449. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
  450. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
  451. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
  452. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
  453. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
  454. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
  455. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
  456. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
  457. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
  458. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
  459. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
  460. package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
  461. package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
  462. package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
  463. package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
  464. package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
  465. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
  466. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
  467. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
  468. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
  469. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
  470. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
  471. package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
  472. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
  473. package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
  474. package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
  475. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
  476. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
  477. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
  478. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
  479. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
  480. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
  481. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  482. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
  483. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  484. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
  485. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
  486. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
  487. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  488. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
  489. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  490. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
  491. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
  492. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
  493. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
  494. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
  495. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
  496. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
  497. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
  498. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
  499. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
  500. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
  501. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  502. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
  503. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
  504. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
  505. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  506. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
  507. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  508. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
  509. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  510. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
  511. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
  512. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
  513. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
  514. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  515. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
  516. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
  517. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
  518. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
  519. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
  520. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
  521. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
  522. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
  523. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
  524. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
  525. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
  526. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
  527. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
  528. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
  529. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
  530. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
  531. package/node_modules/@scaleway/sdk-client/package.json +36 -0
  532. package/package.json +6 -4
  533. package/dist/helpers/is-browser.cjs +0 -7
  534. package/dist/helpers/is-browser.js +0 -7
  535. /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
  536. /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
  537. /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
  538. /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
  539. /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
  540. /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
  541. /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
  542. /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
  543. /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
  544. /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
  545. /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
  546. /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
  547. /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
  548. /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
  549. /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
  550. /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
  551. /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
  552. /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
  553. /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
  554. /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
  555. /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
  556. /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
  557. /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
  558. /package/dist/{scw → client/dist/scw}/api.js +0 -0
  559. /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
  560. /package/dist/{scw → client/dist/scw}/auth.js +0 -0
  561. /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
  562. /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
  563. /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
  564. /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
  565. /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
  566. /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
  567. /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
  568. /package/dist/{scw → client/dist/scw}/client.js +0 -0
  569. /package/dist/{scw → client/dist/scw}/constants.js +0 -0
  570. /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
  571. /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
  572. /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
  573. /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
  574. /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
  575. /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
  576. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
  577. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
  578. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
  579. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
  580. /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
  581. /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
  582. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
  583. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
  584. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
  585. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
  586. /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
  587. /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
  588. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
  589. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
  590. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
  591. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
  592. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
  593. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
  594. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
  595. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
  596. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
  597. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
  598. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
  599. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
  600. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
  601. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
  602. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
  603. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
  604. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
  605. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
  606. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
  607. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
  608. /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
  609. /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
  610. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
  611. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
  612. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
  613. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
  614. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
  615. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
  616. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
  617. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
  618. /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
  619. /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
  620. /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
  621. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
  622. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
  623. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
  624. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
  625. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
  626. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
  627. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
  628. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
  629. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
  630. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
  631. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
  632. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
  633. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
  634. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
  635. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
  636. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
  637. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
  638. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
  639. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
  640. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
  641. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
  642. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
  643. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
  644. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
  645. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
  646. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
  647. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
  648. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
  649. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
  650. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
  651. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
  652. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
  653. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
  654. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
  655. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
  656. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
  657. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
  658. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
  659. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
  660. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
  661. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
  662. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
  663. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
@@ -1,19 +1,17 @@
1
- import { API as ParentAPI } from '../../../bridge';
2
- import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
1
+ import { API as ParentAPI } from '@scaleway/sdk-client';
2
+ import type { Region as ScwRegion, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { AddInstanceACLRulesRequest, AddInstanceACLRulesResponse, AddInstanceSettingsRequest, AddInstanceSettingsResponse, ApplyInstanceMaintenanceRequest, CloneInstanceRequest, CreateDatabaseBackupRequest, CreateDatabaseRequest, CreateEndpointRequest, CreateInstanceFromSnapshotRequest, CreateInstanceRequest, CreateReadReplicaEndpointRequest, CreateReadReplicaRequest, CreateSnapshotRequest, CreateUserRequest, Database, DatabaseBackup, DeleteDatabaseBackupRequest, DeleteDatabaseRequest, DeleteEndpointRequest, DeleteInstanceACLRulesRequest, DeleteInstanceACLRulesResponse, DeleteInstanceRequest, DeleteInstanceSettingsRequest, DeleteInstanceSettingsResponse, DeleteReadReplicaRequest, DeleteSnapshotRequest, DeleteUserRequest, Endpoint, ExportDatabaseBackupRequest, GetDatabaseBackupRequest, GetEndpointRequest, GetInstanceCertificateRequest, GetInstanceLogRequest, GetInstanceMetricsRequest, GetInstanceRequest, GetReadReplicaRequest, GetSnapshotRequest, Instance, InstanceLog, InstanceMetrics, ListDatabaseBackupsRequest, ListDatabaseBackupsResponse, ListDatabaseEnginesRequest, ListDatabaseEnginesResponse, ListDatabasesRequest, ListDatabasesResponse, ListInstanceACLRulesRequest, ListInstanceACLRulesResponse, ListInstanceLogsDetailsRequest, ListInstanceLogsDetailsResponse, ListInstanceLogsRequest, ListInstanceLogsResponse, ListInstancesRequest, ListInstancesResponse, ListNodeTypesRequest, ListNodeTypesResponse, ListPrivilegesRequest, ListPrivilegesResponse, ListSnapshotsRequest, ListSnapshotsResponse, ListUsersRequest, ListUsersResponse, Maintenance, MigrateEndpointRequest, PrepareInstanceLogsRequest, PrepareInstanceLogsResponse, Privilege, PromoteReadReplicaRequest, PurgeInstanceLogsRequest, ReadReplica, RenewInstanceCertificateRequest, ResetReadReplicaRequest, RestartInstanceRequest, RestoreDatabaseBackupRequest, SetInstanceACLRulesRequest, SetInstanceACLRulesResponse, SetInstanceSettingsRequest, SetInstanceSettingsResponse, SetPrivilegeRequest, Snapshot, UpdateDatabaseBackupRequest, UpdateInstanceRequest, UpdateSnapshotRequest, UpdateUserRequest, UpgradeInstanceRequest, User } from './types.gen';
4
4
  /**
5
5
  * Managed Database for PostgreSQL and MySQL API.
6
- *
7
- * This API allows you to manage your Managed Databases for PostgreSQL and
8
- * MySQL.
6
+
7
+ This API allows you to manage your Managed Databases for PostgreSQL and MySQL.
9
8
  */
10
9
  export declare class API extends ParentAPI {
11
10
  /** Lists the available regions of the API. */
12
11
  static readonly LOCALITIES: ScwRegion[];
13
12
  protected pageOfListDatabaseEngines: (request?: Readonly<ListDatabaseEnginesRequest>) => Promise<ListDatabaseEnginesResponse>;
14
13
  /**
15
- * List available database engines. List the PostgreSQL and MySQL database
16
- * engines available at Scaleway.
14
+ * List available database engines. List the PostgreSQL and MySQL database engines available at Scaleway.
17
15
  *
18
16
  * @param request - The request {@link ListDatabaseEnginesRequest}
19
17
  * @returns A Promise of ListDatabaseEnginesResponse
@@ -24,9 +22,7 @@ export declare class API extends ParentAPI {
24
22
  };
25
23
  protected pageOfListNodeTypes: (request: Readonly<ListNodeTypesRequest>) => Promise<ListNodeTypesResponse>;
26
24
  /**
27
- * List available node types. List all available node types. By default, the
28
- * node types returned in the list are ordered by creation date in ascending
29
- * order, though this can be modified via the `order_by` field.
25
+ * List available node types. List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
30
26
  *
31
27
  * @param request - The request {@link ListNodeTypesRequest}
32
28
  * @returns A Promise of ListNodeTypesResponse
@@ -37,10 +33,7 @@ export declare class API extends ParentAPI {
37
33
  };
38
34
  protected pageOfListDatabaseBackups: (request?: Readonly<ListDatabaseBackupsRequest>) => Promise<ListDatabaseBackupsResponse>;
39
35
  /**
40
- * List database backups. List all backups in a specified region, for a given
41
- * Scaleway Organization or Scaleway Project. By default, the backups listed
42
- * are ordered by creation date in ascending order. This can be modified via
43
- * the `order_by` field.
36
+ * List database backups. List all backups in a specified region, for a given Scaleway Organization or Scaleway Project. By default, the backups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field.
44
37
  *
45
38
  * @param request - The request {@link ListDatabaseBackupsRequest}
46
39
  * @returns A Promise of ListDatabaseBackupsResponse
@@ -50,17 +43,14 @@ export declare class API extends ParentAPI {
50
43
  [Symbol.asyncIterator]: () => AsyncGenerator<DatabaseBackup[], void, void>;
51
44
  };
52
45
  /**
53
- * Create a database backup. Create a new backup. You must set the
54
- * `instance_id`, `database_name`, `name` and `expires_at` parameters.
46
+ * Create a database backup. Create a new backup. You must set the `instance_id`, `database_name`, `name` and `expires_at` parameters.
55
47
  *
56
48
  * @param request - The request {@link CreateDatabaseBackupRequest}
57
49
  * @returns A Promise of DatabaseBackup
58
50
  */
59
51
  createDatabaseBackup: (request: Readonly<CreateDatabaseBackupRequest>) => Promise<DatabaseBackup>;
60
52
  /**
61
- * Get a database backup. Retrieve information about a given backup, specified
62
- * by its database backup ID and region. Full details about the backup, like
63
- * size, URL and expiration date, are returned in the response.
53
+ * Get a database backup. Retrieve information about a given backup, specified by its database backup ID and region. Full details about the backup, like size, URL and expiration date, are returned in the response.
64
54
  *
65
55
  * @param request - The request {@link GetDatabaseBackupRequest}
66
56
  * @returns A Promise of DatabaseBackup
@@ -75,45 +65,35 @@ export declare class API extends ParentAPI {
75
65
  */
76
66
  waitForDatabaseBackup: (request: Readonly<GetDatabaseBackupRequest>, options?: Readonly<WaitForOptions<DatabaseBackup>>) => Promise<DatabaseBackup>;
77
67
  /**
78
- * Update a database backup. Update the parameters of a backup, including name
79
- * and expiration date.
68
+ * Update a database backup. Update the parameters of a backup, including name and expiration date.
80
69
  *
81
70
  * @param request - The request {@link UpdateDatabaseBackupRequest}
82
71
  * @returns A Promise of DatabaseBackup
83
72
  */
84
73
  updateDatabaseBackup: (request: Readonly<UpdateDatabaseBackupRequest>) => Promise<DatabaseBackup>;
85
74
  /**
86
- * Delete a database backup. Delete a backup, specified by its database backup
87
- * ID and region. Deleting a backup is permanent, and cannot be undone.
75
+ * Delete a database backup. Delete a backup, specified by its database backup ID and region. Deleting a backup is permanent, and cannot be undone.
88
76
  *
89
77
  * @param request - The request {@link DeleteDatabaseBackupRequest}
90
78
  * @returns A Promise of DatabaseBackup
91
79
  */
92
80
  deleteDatabaseBackup: (request: Readonly<DeleteDatabaseBackupRequest>) => Promise<DatabaseBackup>;
93
81
  /**
94
- * Restore a database backup. Launch the process of restoring database backup.
95
- * You must specify the `instance_id` of the Database Instance of destination,
96
- * where the backup will be restored. Note that large database backups can
97
- * take up to several hours to restore.
82
+ * Restore a database backup. Launch the process of restoring database backup. You must specify the `instance_id` of the Database Instance of destination, where the backup will be restored. Note that large database backups can take up to several hours to restore.
98
83
  *
99
84
  * @param request - The request {@link RestoreDatabaseBackupRequest}
100
85
  * @returns A Promise of DatabaseBackup
101
86
  */
102
87
  restoreDatabaseBackup: (request: Readonly<RestoreDatabaseBackupRequest>) => Promise<DatabaseBackup>;
103
88
  /**
104
- * Export a database backup. Export a backup, specified by the
105
- * `database_backup_id` and the `region` parameters. The download URL is
106
- * returned in the response.
89
+ * Export a database backup. Export a backup, specified by the `database_backup_id` and the `region` parameters. The download URL is returned in the response.
107
90
  *
108
91
  * @param request - The request {@link ExportDatabaseBackupRequest}
109
92
  * @returns A Promise of DatabaseBackup
110
93
  */
111
94
  exportDatabaseBackup: (request: Readonly<ExportDatabaseBackupRequest>) => Promise<DatabaseBackup>;
112
95
  /**
113
- * Upgrade a Database Instance. Upgrade your current Database Instance
114
- * specifications like node type, high availability, volume, or the database
115
- * engine version. Note that upon upgrade the `enable_ha` parameter can only
116
- * be set to `true`.
96
+ * Upgrade a Database Instance. Upgrade your current Database Instance specifications like node type, high availability, volume, or the database engine version. Note that upon upgrade the `enable_ha` parameter can only be set to `true`.
117
97
  *
118
98
  * @param request - The request {@link UpgradeInstanceRequest}
119
99
  * @returns A Promise of Instance
@@ -121,14 +101,7 @@ export declare class API extends ParentAPI {
121
101
  upgradeInstance: (request: Readonly<UpgradeInstanceRequest>) => Promise<Instance>;
122
102
  protected pageOfListInstances: (request?: Readonly<ListInstancesRequest>) => Promise<ListInstancesResponse>;
123
103
  /**
124
- * List Database Instances. List all Database Instances in the specified
125
- * region, for a given Scaleway Organization or Scaleway Project. By default,
126
- * the Database Instances returned in the list are ordered by creation date in
127
- * ascending order, though this can be modified via the order_by field. You
128
- * can define additional parameters for your query, such as `tags` and `name`.
129
- * For the `name` parameter, the value you include will be checked against the
130
- * whole name string to see if it includes the string you put in the
131
- * parameter.
104
+ * List Database Instances. List all Database Instances in the specified region, for a given Scaleway Organization or Scaleway Project. By default, the Database Instances returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you include will be checked against the whole name string to see if it includes the string you put in the parameter.
132
105
  *
133
106
  * @param request - The request {@link ListInstancesRequest}
134
107
  * @returns A Promise of ListInstancesResponse
@@ -138,10 +111,7 @@ export declare class API extends ParentAPI {
138
111
  [Symbol.asyncIterator]: () => AsyncGenerator<Instance[], void, void>;
139
112
  };
140
113
  /**
141
- * Get a Database Instance. Retrieve information about a given Database
142
- * Instance, specified by the `region` and `instance_id` parameters. Its full
143
- * details, including name, status, IP address and port, are returned in the
144
- * response object.
114
+ * Get a Database Instance. Retrieve information about a given Database Instance, specified by the `region` and `instance_id` parameters. Its full details, including name, status, IP address and port, are returned in the response object.
145
115
  *
146
116
  * @param request - The request {@link GetInstanceRequest}
147
117
  * @returns A Promise of Instance
@@ -156,93 +126,69 @@ export declare class API extends ParentAPI {
156
126
  */
157
127
  waitForInstance: (request: Readonly<GetInstanceRequest>, options?: Readonly<WaitForOptions<Instance>>) => Promise<Instance>;
158
128
  /**
159
- * Create a Database Instance. Create a new Database Instance. You must set
160
- * the `engine`, `user_name`, `password` and `node_type` parameters.
161
- * Optionally, you can specify the volume type and size.
129
+ * Create a Database Instance. Create a new Database Instance. You must set the `engine`, `user_name`, `password` and `node_type` parameters. Optionally, you can specify the volume type and size.
162
130
  *
163
131
  * @param request - The request {@link CreateInstanceRequest}
164
132
  * @returns A Promise of Instance
165
133
  */
166
134
  createInstance: (request: Readonly<CreateInstanceRequest>) => Promise<Instance>;
167
135
  /**
168
- * Update a Database Instance. Update the parameters of a Database Instance,
169
- * including name, tags and backup schedule details.
136
+ * Update a Database Instance. Update the parameters of a Database Instance, including name, tags and backup schedule details.
170
137
  *
171
138
  * @param request - The request {@link UpdateInstanceRequest}
172
139
  * @returns A Promise of Instance
173
140
  */
174
141
  updateInstance: (request: Readonly<UpdateInstanceRequest>) => Promise<Instance>;
175
142
  /**
176
- * Delete a Database Instance. Delete a given Database Instance, specified by
177
- * the `region` and `instance_id` parameters. Deleting a Database Instance is
178
- * permanent, and cannot be undone. Note that upon deletion all your data will
179
- * be lost.
143
+ * Delete a Database Instance. Delete a given Database Instance, specified by the `region` and `instance_id` parameters. Deleting a Database Instance is permanent, and cannot be undone. Note that upon deletion all your data will be lost.
180
144
  *
181
145
  * @param request - The request {@link DeleteInstanceRequest}
182
146
  * @returns A Promise of Instance
183
147
  */
184
148
  deleteInstance: (request: Readonly<DeleteInstanceRequest>) => Promise<Instance>;
185
149
  /**
186
- * Clone a Database Instance. Clone a given Database Instance, specified by
187
- * the `region` and `instance_id` parameters. The clone feature allows you to
188
- * create a new Database Instance from an existing one. The clone includes all
189
- * existing databases, users and permissions. You can create a clone on a
190
- * Database Instance bigger than your current one.
150
+ * Clone a Database Instance. Clone a given Database Instance, specified by the `region` and `instance_id` parameters. The clone feature allows you to create a new Database Instance from an existing one. The clone includes all existing databases, users and permissions. You can create a clone on a Database Instance bigger than your current one.
191
151
  *
192
152
  * @param request - The request {@link CloneInstanceRequest}
193
153
  * @returns A Promise of Instance
194
154
  */
195
155
  cloneInstance: (request: Readonly<CloneInstanceRequest>) => Promise<Instance>;
196
156
  /**
197
- * Restart Database Instance. Restart a given Database Instance, specified by
198
- * the `region` and `instance_id` parameters. The status of the Database
199
- * Instance returned in the response.
157
+ * Restart Database Instance. Restart a given Database Instance, specified by the `region` and `instance_id` parameters. The status of the Database Instance returned in the response.
200
158
  *
201
159
  * @param request - The request {@link RestartInstanceRequest}
202
160
  * @returns A Promise of Instance
203
161
  */
204
162
  restartInstance: (request: Readonly<RestartInstanceRequest>) => Promise<Instance>;
205
163
  /**
206
- * Get the TLS certificate of a Database Instance. Retrieve information about
207
- * the TLS certificate of a given Database Instance. Details like name and
208
- * content are returned in the response.
164
+ * Get the TLS certificate of a Database Instance. Retrieve information about the TLS certificate of a given Database Instance. Details like name and content are returned in the response.
209
165
  *
210
166
  * @param request - The request {@link GetInstanceCertificateRequest}
211
167
  * @returns A Promise of Blob
212
168
  */
213
169
  getInstanceCertificate: (request: Readonly<GetInstanceCertificateRequest>) => Promise<Blob>;
214
170
  /**
215
- * Renew the TLS certificate of a Database Instance. Renew a TLS for a
216
- * Database Instance. Renewing a certificate means that you will not be able
217
- * to connect to your Database Instance using the previous certificate. You
218
- * will also need to download and update the new certificate for all database
219
- * clients.
171
+ * Renew the TLS certificate of a Database Instance. Renew a TLS for a Database Instance. Renewing a certificate means that you will not be able to connect to your Database Instance using the previous certificate. You will also need to download and update the new certificate for all database clients.
220
172
  *
221
173
  * @param request - The request {@link RenewInstanceCertificateRequest}
222
174
  */
223
175
  renewInstanceCertificate: (request: Readonly<RenewInstanceCertificateRequest>) => Promise<void>;
224
176
  /**
225
- * Get Database Instance metrics. Retrieve the time series metrics of a given
226
- * Database Instance. You can define the period from which to retrieve metrics
227
- * by specifying the `start_date` and `end_date`.
177
+ * Get Database Instance metrics. Retrieve the time series metrics of a given Database Instance. You can define the period from which to retrieve metrics by specifying the `start_date` and `end_date`.
228
178
  *
229
179
  * @param request - The request {@link GetInstanceMetricsRequest}
230
180
  * @returns A Promise of InstanceMetrics
231
181
  */
232
182
  getInstanceMetrics: (request: Readonly<GetInstanceMetricsRequest>) => Promise<InstanceMetrics>;
233
183
  /**
234
- * Create a Read Replica. Create a new Read Replica of a Database Instance.
235
- * You must specify the `region` and the `instance_id`. You can only create a
236
- * maximum of 3 Read Replicas per Database Instance.
184
+ * Create a Read Replica. Create a new Read Replica of a Database Instance. You must specify the `region` and the `instance_id`. You can only create a maximum of 3 Read Replicas per Database Instance.
237
185
  *
238
186
  * @param request - The request {@link CreateReadReplicaRequest}
239
187
  * @returns A Promise of ReadReplica
240
188
  */
241
189
  createReadReplica: (request: Readonly<CreateReadReplicaRequest>) => Promise<ReadReplica>;
242
190
  /**
243
- * Get a Read Replica. Retrieve information about a Database Instance Read
244
- * Replica. Full details about the Read Replica, like `endpoints`, `status`
245
- * and `region` are returned in the response.
191
+ * Get a Read Replica. Retrieve information about a Database Instance Read Replica. Full details about the Read Replica, like `endpoints`, `status` and `region` are returned in the response.
246
192
  *
247
193
  * @param request - The request {@link GetReadReplicaRequest}
248
194
  * @returns A Promise of ReadReplica
@@ -257,69 +203,50 @@ export declare class API extends ParentAPI {
257
203
  */
258
204
  waitForReadReplica: (request: Readonly<GetReadReplicaRequest>, options?: Readonly<WaitForOptions<ReadReplica>>) => Promise<ReadReplica>;
259
205
  /**
260
- * Delete a Read Replica. Delete a Read Replica of a Database Instance. You
261
- * must specify the `region` and `read_replica_id` parameters of the Read
262
- * Replica you want to delete.
206
+ * Delete a Read Replica. Delete a Read Replica of a Database Instance. You must specify the `region` and `read_replica_id` parameters of the Read Replica you want to delete.
263
207
  *
264
208
  * @param request - The request {@link DeleteReadReplicaRequest}
265
209
  * @returns A Promise of ReadReplica
266
210
  */
267
211
  deleteReadReplica: (request: Readonly<DeleteReadReplicaRequest>) => Promise<ReadReplica>;
268
212
  /**
269
- * Resync a Read Replica. When you resync a Read Replica, first it is reset,
270
- * then its data is resynchronized from the primary node. Your Read Replica
271
- * remains unavailable during the resync process. The duration of this process
272
- * is proportional to the size of your Database Instance. The configured
273
- * endpoints do not change.
213
+ * Resync a Read Replica. When you resync a Read Replica, first it is reset, then its data is resynchronized from the primary node. Your Read Replica remains unavailable during the resync process. The duration of this process is proportional to the size of your Database Instance.
214
+ The configured endpoints do not change.
274
215
  *
275
216
  * @param request - The request {@link ResetReadReplicaRequest}
276
217
  * @returns A Promise of ReadReplica
277
218
  */
278
219
  resetReadReplica: (request: Readonly<ResetReadReplicaRequest>) => Promise<ReadReplica>;
279
220
  /**
280
- * Promote a Read Replica. Promote a Read Replica to Database Instance
281
- * automatically.
221
+ * Promote a Read Replica. Promote a Read Replica to Database Instance automatically.
282
222
  *
283
223
  * @param request - The request {@link PromoteReadReplicaRequest}
284
224
  * @returns A Promise of Instance
285
225
  */
286
226
  promoteReadReplica: (request: Readonly<PromoteReadReplicaRequest>) => Promise<Instance>;
287
227
  /**
288
- * Create an endpoint for a Read Replica. Create a new endpoint for a Read
289
- * Replica. Read Replicas can have at most one direct access and one Private
290
- * Network endpoint.
228
+ * Create an endpoint for a Read Replica. Create a new endpoint for a Read Replica. Read Replicas can have at most one direct access and one Private Network endpoint.
291
229
  *
292
230
  * @param request - The request {@link CreateReadReplicaEndpointRequest}
293
231
  * @returns A Promise of ReadReplica
294
232
  */
295
233
  createReadReplicaEndpoint: (request: Readonly<CreateReadReplicaEndpointRequest>) => Promise<ReadReplica>;
296
234
  /**
297
- * Prepare logs of a Database Instance. Prepare your Database Instance logs.
298
- * You can define the `start_date` and `end_date` parameters for your query.
299
- * The download URL is returned in the response. Logs are recorded from 00h00
300
- * to 23h59 and then aggregated in a `.log` file once a day. Therefore, even
301
- * if you specify a timeframe from which you want to get the logs, you will
302
- * receive logs from the full 24 hours.
235
+ * Prepare logs of a Database Instance. Prepare your Database Instance logs. You can define the `start_date` and `end_date` parameters for your query. The download URL is returned in the response. Logs are recorded from 00h00 to 23h59 and then aggregated in a `.log` file once a day. Therefore, even if you specify a timeframe from which you want to get the logs, you will receive logs from the full 24 hours.
303
236
  *
304
237
  * @param request - The request {@link PrepareInstanceLogsRequest}
305
238
  * @returns A Promise of PrepareInstanceLogsResponse
306
239
  */
307
240
  prepareInstanceLogs: (request: Readonly<PrepareInstanceLogsRequest>) => Promise<PrepareInstanceLogsResponse>;
308
241
  /**
309
- * List available logs of a Database Instance. List the available logs of a
310
- * Database Instance. By default, the logs returned in the list are ordered by
311
- * creation date in ascending order, though this can be modified via the
312
- * order_by field.
242
+ * List available logs of a Database Instance. List the available logs of a Database Instance. By default, the logs returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
313
243
  *
314
244
  * @param request - The request {@link ListInstanceLogsRequest}
315
245
  * @returns A Promise of ListInstanceLogsResponse
316
246
  */
317
247
  listInstanceLogs: (request: Readonly<ListInstanceLogsRequest>) => Promise<ListInstanceLogsResponse>;
318
248
  /**
319
- * Get given logs of a Database Instance. Retrieve information about the logs
320
- * of a Database Instance. Specify the `instance_log_id` and `region` in your
321
- * request to get information such as `download_url`, `status`, `expires_at`
322
- * and `created_at` about your logs in the response.
249
+ * Get given logs of a Database Instance. Retrieve information about the logs of a Database Instance. Specify the `instance_log_id` and `region` in your request to get information such as `download_url`, `status`, `expires_at` and `created_at` about your logs in the response.
323
250
  *
324
251
  * @param request - The request {@link GetInstanceLogRequest}
325
252
  * @returns A Promise of InstanceLog
@@ -334,44 +261,34 @@ export declare class API extends ParentAPI {
334
261
  */
335
262
  waitForInstanceLog: (request: Readonly<GetInstanceLogRequest>, options?: Readonly<WaitForOptions<InstanceLog>>) => Promise<InstanceLog>;
336
263
  /**
337
- * Purge remote Database Instance logs. Purge a given remote log from a
338
- * Database Instance. You can specify the `log_name` of the log you wish to
339
- * clean from your Database Instance.
264
+ * Purge remote Database Instance logs. Purge a given remote log from a Database Instance. You can specify the `log_name` of the log you wish to clean from your Database Instance.
340
265
  *
341
266
  * @param request - The request {@link PurgeInstanceLogsRequest}
342
267
  */
343
268
  purgeInstanceLogs: (request: Readonly<PurgeInstanceLogsRequest>) => Promise<void>;
344
269
  /**
345
- * List remote Database Instance logs details. List remote log details. By
346
- * default, the details returned in the list are ordered by creation date in
347
- * ascending order, though this can be modified via the order_by field.
270
+ * List remote Database Instance logs details. List remote log details. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
348
271
  *
349
272
  * @param request - The request {@link ListInstanceLogsDetailsRequest}
350
273
  * @returns A Promise of ListInstanceLogsDetailsResponse
351
274
  */
352
275
  listInstanceLogsDetails: (request: Readonly<ListInstanceLogsDetailsRequest>) => Promise<ListInstanceLogsDetailsResponse>;
353
276
  /**
354
- * Add Database Instance advanced settings. Add an advanced setting to a
355
- * Database Instance. You must set the `name` and the `value` of each
356
- * setting.
277
+ * Add Database Instance advanced settings. Add an advanced setting to a Database Instance. You must set the `name` and the `value` of each setting.
357
278
  *
358
279
  * @param request - The request {@link AddInstanceSettingsRequest}
359
280
  * @returns A Promise of AddInstanceSettingsResponse
360
281
  */
361
282
  addInstanceSettings: (request: Readonly<AddInstanceSettingsRequest>) => Promise<AddInstanceSettingsResponse>;
362
283
  /**
363
- * Delete Database Instance advanced settings. Delete an advanced setting in a
364
- * Database Instance. You must specify the names of the settings you want to
365
- * delete in the request.
284
+ * Delete Database Instance advanced settings. Delete an advanced setting in a Database Instance. You must specify the names of the settings you want to delete in the request.
366
285
  *
367
286
  * @param request - The request {@link DeleteInstanceSettingsRequest}
368
287
  * @returns A Promise of DeleteInstanceSettingsResponse
369
288
  */
370
289
  deleteInstanceSettings: (request: Readonly<DeleteInstanceSettingsRequest>) => Promise<DeleteInstanceSettingsResponse>;
371
290
  /**
372
- * Set Database Instance advanced settings. Update an advanced setting for a
373
- * Database Instance. Settings added upon database engine initalization can
374
- * only be defined once, and cannot, therefore, be updated.
291
+ * Set Database Instance advanced settings. Update an advanced setting for a Database Instance. Settings added upon database engine initalization can only be defined once, and cannot, therefore, be updated.
375
292
  *
376
293
  * @param request - The request {@link SetInstanceSettingsRequest}
377
294
  * @returns A Promise of SetInstanceSettingsResponse
@@ -379,10 +296,7 @@ export declare class API extends ParentAPI {
379
296
  setInstanceSettings: (request: Readonly<SetInstanceSettingsRequest>) => Promise<SetInstanceSettingsResponse>;
380
297
  protected pageOfListInstanceACLRules: (request: Readonly<ListInstanceACLRulesRequest>) => Promise<ListInstanceACLRulesResponse>;
381
298
  /**
382
- * List ACL rules of a Database Instance. List the ACL rules for a given
383
- * Database Instance. The response is an array of ACL objects, each one
384
- * representing an ACL that denies, allows or redirects traffic based on
385
- * certain conditions.
299
+ * List ACL rules of a Database Instance. List the ACL rules for a given Database Instance. The response is an array of ACL objects, each one representing an ACL that denies, allows or redirects traffic based on certain conditions.
386
300
  *
387
301
  * @param request - The request {@link ListInstanceACLRulesRequest}
388
302
  * @returns A Promise of ListInstanceACLRulesResponse
@@ -392,24 +306,21 @@ export declare class API extends ParentAPI {
392
306
  [Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").ACLRule[], void, void>;
393
307
  };
394
308
  /**
395
- * Add an ACL rule to a Database Instance. Add an additional ACL rule to a
396
- * Database Instance.
309
+ * Add an ACL rule to a Database Instance. Add an additional ACL rule to a Database Instance.
397
310
  *
398
311
  * @param request - The request {@link AddInstanceACLRulesRequest}
399
312
  * @returns A Promise of AddInstanceACLRulesResponse
400
313
  */
401
314
  addInstanceACLRules: (request: Readonly<AddInstanceACLRulesRequest>) => Promise<AddInstanceACLRulesResponse>;
402
315
  /**
403
- * Set ACL rules for a Database Instance. Replace all the ACL rules of a
404
- * Database Instance.
316
+ * Set ACL rules for a Database Instance. Replace all the ACL rules of a Database Instance.
405
317
  *
406
318
  * @param request - The request {@link SetInstanceACLRulesRequest}
407
319
  * @returns A Promise of SetInstanceACLRulesResponse
408
320
  */
409
321
  setInstanceACLRules: (request: Readonly<SetInstanceACLRulesRequest>) => Promise<SetInstanceACLRulesResponse>;
410
322
  /**
411
- * Delete ACL rules of a Database Instance. Delete one or more ACL rules of a
412
- * Database Instance.
323
+ * Delete ACL rules of a Database Instance. Delete one or more ACL rules of a Database Instance.
413
324
  *
414
325
  * @param request - The request {@link DeleteInstanceACLRulesRequest}
415
326
  * @returns A Promise of DeleteInstanceACLRulesResponse
@@ -417,10 +328,7 @@ export declare class API extends ParentAPI {
417
328
  deleteInstanceACLRules: (request: Readonly<DeleteInstanceACLRulesRequest>) => Promise<DeleteInstanceACLRulesResponse>;
418
329
  protected pageOfListUsers: (request: Readonly<ListUsersRequest>) => Promise<ListUsersResponse>;
419
330
  /**
420
- * List users of a Database Instance. List all users of a given Database
421
- * Instance. By default, the users returned in the list are ordered by
422
- * creation date in ascending order, though this can be modified via the
423
- * order_by field.
331
+ * List users of a Database Instance. List all users of a given Database Instance. By default, the users returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
424
332
  *
425
333
  * @param request - The request {@link ListUsersRequest}
426
334
  * @returns A Promise of ListUsersResponse
@@ -430,38 +338,28 @@ export declare class API extends ParentAPI {
430
338
  [Symbol.asyncIterator]: () => AsyncGenerator<User[], void, void>;
431
339
  };
432
340
  /**
433
- * Create a user for a Database Instance. Create a new user for a Database
434
- * Instance. You must define the `name`, `password` and `is_admin`
435
- * parameters.
341
+ * Create a user for a Database Instance. Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters.
436
342
  *
437
343
  * @param request - The request {@link CreateUserRequest}
438
344
  * @returns A Promise of User
439
345
  */
440
346
  createUser: (request: Readonly<CreateUserRequest>) => Promise<User>;
441
347
  /**
442
- * Update a user on a Database Instance. Update the parameters of a user on a
443
- * Database Instance. You can update the `password` and `is_admin` parameters,
444
- * but you cannot change the name of the user.
348
+ * Update a user on a Database Instance. Update the parameters of a user on a Database Instance. You can update the `password` and `is_admin` parameters, but you cannot change the name of the user.
445
349
  *
446
350
  * @param request - The request {@link UpdateUserRequest}
447
351
  * @returns A Promise of User
448
352
  */
449
353
  updateUser: (request: Readonly<UpdateUserRequest>) => Promise<User>;
450
354
  /**
451
- * Delete a user on a Database Instance. Delete a given user on a Database
452
- * Instance. You must specify, in the endpoint, the `region`, `instance_id`
453
- * and `name` parameters of the user you want to delete.
355
+ * Delete a user on a Database Instance. Delete a given user on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the user you want to delete.
454
356
  *
455
357
  * @param request - The request {@link DeleteUserRequest}
456
358
  */
457
359
  deleteUser: (request: Readonly<DeleteUserRequest>) => Promise<void>;
458
360
  protected pageOfListDatabases: (request: Readonly<ListDatabasesRequest>) => Promise<ListDatabasesResponse>;
459
361
  /**
460
- * List databases in a Database Instance. List all databases of a given
461
- * Database Instance. By default, the databases returned in the list are
462
- * ordered by creation date in ascending order, though this can be modified
463
- * via the order_by field. You can define additional parameters for your
464
- * query, such as `name`, `managed` and `owner`.
362
+ * List databases in a Database Instance. List all databases of a given Database Instance. By default, the databases returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `name`, `managed` and `owner`.
465
363
  *
466
364
  * @param request - The request {@link ListDatabasesRequest}
467
365
  * @returns A Promise of ListDatabasesResponse
@@ -471,28 +369,21 @@ export declare class API extends ParentAPI {
471
369
  [Symbol.asyncIterator]: () => AsyncGenerator<Database[], void, void>;
472
370
  };
473
371
  /**
474
- * Create a database in a Database Instance. Create a new database. You must
475
- * define the `name` parameter in the request.
372
+ * Create a database in a Database Instance. Create a new database. You must define the `name` parameter in the request.
476
373
  *
477
374
  * @param request - The request {@link CreateDatabaseRequest}
478
375
  * @returns A Promise of Database
479
376
  */
480
377
  createDatabase: (request: Readonly<CreateDatabaseRequest>) => Promise<Database>;
481
378
  /**
482
- * Delete a database in a Database Instance. Delete a given database on a
483
- * Database Instance. You must specify, in the endpoint, the `region`,
484
- * `instance_id` and `name` parameters of the database you want to delete.
379
+ * Delete a database in a Database Instance. Delete a given database on a Database Instance. You must specify, in the endpoint, the `region`, `instance_id` and `name` parameters of the database you want to delete.
485
380
  *
486
381
  * @param request - The request {@link DeleteDatabaseRequest}
487
382
  */
488
383
  deleteDatabase: (request: Readonly<DeleteDatabaseRequest>) => Promise<void>;
489
384
  protected pageOfListPrivileges: (request: Readonly<ListPrivilegesRequest>) => Promise<ListPrivilegesResponse>;
490
385
  /**
491
- * List user privileges for a database. List privileges of a user on a
492
- * database. By default, the details returned in the list are ordered by
493
- * creation date in ascending order, though this can be modified via the
494
- * order_by field. You can define additional parameters for your query, such
495
- * as `database_name` and `user_name`.
386
+ * List user privileges for a database. List privileges of a user on a database. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `database_name` and `user_name`.
496
387
  *
497
388
  * @param request - The request {@link ListPrivilegesRequest}
498
389
  * @returns A Promise of ListPrivilegesResponse
@@ -502,9 +393,7 @@ export declare class API extends ParentAPI {
502
393
  [Symbol.asyncIterator]: () => AsyncGenerator<Privilege[], void, void>;
503
394
  };
504
395
  /**
505
- * Set user privileges for a database. Set the privileges of a user on a
506
- * database. You must define `database_name`, `user_name` and `permission` in
507
- * the request body.
396
+ * Set user privileges for a database. Set the privileges of a user on a database. You must define `database_name`, `user_name` and `permission` in the request body.
508
397
  *
509
398
  * @param request - The request {@link SetPrivilegeRequest}
510
399
  * @returns A Promise of Privilege
@@ -512,11 +401,7 @@ export declare class API extends ParentAPI {
512
401
  setPrivilege: (request: Readonly<SetPrivilegeRequest>) => Promise<Privilege>;
513
402
  protected pageOfListSnapshots: (request?: Readonly<ListSnapshotsRequest>) => Promise<ListSnapshotsResponse>;
514
403
  /**
515
- * List snapshots. List snapshots. You can include the `instance_id` or
516
- * `project_id` in your query to get the list of snapshots for specific
517
- * Database Instances and/or Projects. By default, the details returned in the
518
- * list are ordered by creation date in ascending order, though this can be
519
- * modified via the `order_by` field.
404
+ * List snapshots. List snapshots. You can include the `instance_id` or `project_id` in your query to get the list of snapshots for specific Database Instances and/or Projects. By default, the details returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
520
405
  *
521
406
  * @param request - The request {@link ListSnapshotsRequest}
522
407
  * @returns A Promise of ListSnapshotsResponse
@@ -526,9 +411,7 @@ export declare class API extends ParentAPI {
526
411
  [Symbol.asyncIterator]: () => AsyncGenerator<Snapshot[], void, void>;
527
412
  };
528
413
  /**
529
- * Get a Database Instance snapshot. Retrieve information about a given
530
- * snapshot, specified by its `snapshot_id` and `region`. Full details about
531
- * the snapshot, like size and expiration date, are returned in the response.
414
+ * Get a Database Instance snapshot. Retrieve information about a given snapshot, specified by its `snapshot_id` and `region`. Full details about the snapshot, like size and expiration date, are returned in the response.
532
415
  *
533
416
  * @param request - The request {@link GetSnapshotRequest}
534
417
  * @returns A Promise of Snapshot
@@ -543,68 +426,48 @@ export declare class API extends ParentAPI {
543
426
  */
544
427
  waitForSnapshot: (request: Readonly<GetSnapshotRequest>, options?: Readonly<WaitForOptions<Snapshot>>) => Promise<Snapshot>;
545
428
  /**
546
- * Create a Database Instance snapshot. Create a new snapshot of a Database
547
- * Instance. You must define the `name` parameter in the request.
429
+ * Create a Database Instance snapshot. Create a new snapshot of a Database Instance. You must define the `name` parameter in the request.
548
430
  *
549
431
  * @param request - The request {@link CreateSnapshotRequest}
550
432
  * @returns A Promise of Snapshot
551
433
  */
552
434
  createSnapshot: (request: Readonly<CreateSnapshotRequest>) => Promise<Snapshot>;
553
435
  /**
554
- * Update a Database Instance snapshot. Update the parameters of a snapshot of
555
- * a Database Instance. You can update the `name` and `expires_at`
556
- * parameters.
436
+ * Update a Database Instance snapshot. Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters.
557
437
  *
558
438
  * @param request - The request {@link UpdateSnapshotRequest}
559
439
  * @returns A Promise of Snapshot
560
440
  */
561
441
  updateSnapshot: (request: Readonly<UpdateSnapshotRequest>) => Promise<Snapshot>;
562
442
  /**
563
- * Delete a Database Instance snapshot. Delete a given snapshot of a Database
564
- * Instance. You must specify, in the endpoint, the `region` and `snapshot_id`
565
- * parameters of the snapshot you want to delete.
443
+ * Delete a Database Instance snapshot. Delete a given snapshot of a Database Instance. You must specify, in the endpoint, the `region` and `snapshot_id` parameters of the snapshot you want to delete.
566
444
  *
567
445
  * @param request - The request {@link DeleteSnapshotRequest}
568
446
  * @returns A Promise of Snapshot
569
447
  */
570
448
  deleteSnapshot: (request: Readonly<DeleteSnapshotRequest>) => Promise<Snapshot>;
571
449
  /**
572
- * Create a new Database Instance from a snapshot. Restore a snapshot. When
573
- * you restore a snapshot, a new Instance is created and billed to your
574
- * account. Note that is possible to select a larger node type for your new
575
- * Database Instance. However, the Block volume size will be the same as the
576
- * size of the restored snapshot. All Instance settings will be restored if
577
- * you chose a node type with the same or more memory size than the initial
578
- * Instance. Settings will be reset to the default if your node type has less
579
- * memory.
450
+ * Create a new Database Instance from a snapshot. Restore a snapshot. When you restore a snapshot, a new Instance is created and billed to your account. Note that is possible to select a larger node type for your new Database Instance. However, the Block volume size will be the same as the size of the restored snapshot. All Instance settings will be restored if you chose a node type with the same or more memory size than the initial Instance. Settings will be reset to the default if your node type has less memory.
580
451
  *
581
452
  * @param request - The request {@link CreateInstanceFromSnapshotRequest}
582
453
  * @returns A Promise of Instance
583
454
  */
584
455
  createInstanceFromSnapshot: (request: Readonly<CreateInstanceFromSnapshotRequest>) => Promise<Instance>;
585
456
  /**
586
- * Create a new Database Instance endpoint. Create a new endpoint for a
587
- * Database Instance. You can add `load_balancer` and `private_network`
588
- * specifications to the body of the request.
457
+ * Create a new Database Instance endpoint. Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request.
589
458
  *
590
459
  * @param request - The request {@link CreateEndpointRequest}
591
460
  * @returns A Promise of Endpoint
592
461
  */
593
462
  createEndpoint: (request: Readonly<CreateEndpointRequest>) => Promise<Endpoint>;
594
463
  /**
595
- * Delete a Database Instance endpoint. Delete the endpoint of a Database
596
- * Instance. You must specify the `region` and `endpoint_id` parameters of the
597
- * endpoint you want to delete. Note that might need to update any environment
598
- * configurations that point to the deleted endpoint.
464
+ * Delete a Database Instance endpoint. Delete the endpoint of a Database Instance. You must specify the `region` and `endpoint_id` parameters of the endpoint you want to delete. Note that might need to update any environment configurations that point to the deleted endpoint.
599
465
  *
600
466
  * @param request - The request {@link DeleteEndpointRequest}
601
467
  */
602
468
  deleteEndpoint: (request: Readonly<DeleteEndpointRequest>) => Promise<void>;
603
469
  /**
604
- * Get a Database Instance endpoint. Retrieve information about a Database
605
- * Instance endpoint. Full details about the endpoint, like `ip`, `port`,
606
- * `private_network` and `load_balancer` specifications are returned in the
607
- * response.
470
+ * Get a Database Instance endpoint. Retrieve information about a Database Instance endpoint. Full details about the endpoint, like `ip`, `port`, `private_network` and `load_balancer` specifications are returned in the response.
608
471
  *
609
472
  * @param request - The request {@link GetEndpointRequest}
610
473
  * @returns A Promise of Endpoint
@@ -618,11 +481,7 @@ export declare class API extends ParentAPI {
618
481
  */
619
482
  migrateEndpoint: (request: Readonly<MigrateEndpointRequest>) => Promise<Endpoint>;
620
483
  /**
621
- * Apply Database Instance maintenance. Apply maintenance tasks to your
622
- * Database Instance. This will trigger pending maintenance tasks to start in
623
- * your Database Instance and can generate service interruption. Maintenance
624
- * tasks can be applied between `starts_at` and `stops_at` times, and are run
625
- * directly by Scaleway at `forced_at` timestamp.
484
+ * Apply Database Instance maintenance. Apply maintenance tasks to your Database Instance. This will trigger pending maintenance tasks to start in your Database Instance and can generate service interruption. Maintenance tasks can be applied between `starts_at` and `stops_at` times, and are run directly by Scaleway at `forced_at` timestamp.
626
485
  *
627
486
  * @param request - The request {@link ApplyInstanceMaintenanceRequest}
628
487
  * @returns A Promise of Maintenance