@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,10 +1,11 @@
1
- import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
- import { API as API$1 } from "../../../scw/api.js";
3
- import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
- import "../../../vendor/base64/index.js";
5
- import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
1
+ import "../../../client/dist/internal/logger/index.js";
2
+ import { waitForResource } from "../../../client/dist/internal/async/interval-retrier.js";
3
+ import { API as API$1 } from "../../../client/dist/scw/api.js";
4
+ import { validatePathParam, urlParams } from "../../../client/dist/helpers/marshalling.js";
5
+ import "../../../client/dist/vendor/base64/index.js";
6
+ import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
6
7
  import { LB_TRANSIENT_STATUSES, CERTIFICATE_TRANSIENT_STATUSES } from "./content.gen.js";
7
- import { unmarshalListLbsResponse, marshalZonedApiCreateLbRequest, unmarshalLb, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, unmarshalListIpsResponse, marshalZonedApiCreateIpRequest, unmarshalIp, marshalZonedApiUpdateIpRequest, unmarshalListBackendsResponse, marshalZonedApiCreateBackendRequest, unmarshalBackend, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalZonedApiCreateFrontendRequest, unmarshalFrontend, marshalZonedApiUpdateFrontendRequest, unmarshalListRoutesResponse, marshalZonedApiCreateRouteRequest, unmarshalRoute, marshalZonedApiUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalZonedApiCreateAclRequest, unmarshalAcl, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalZonedApiUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalZonedApiCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalZonedApiAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalCreateLbRequest, marshalUpdateLbRequest, marshalMigrateLbRequest, marshalCreateIpRequest, marshalUpdateIpRequest, marshalCreateBackendRequest, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, marshalCreateFrontendRequest, marshalUpdateFrontendRequest, marshalCreateRouteRequest, marshalUpdateRouteRequest, marshalCreateAclRequest, marshalUpdateAclRequest, marshalCreateCertificateRequest, marshalUpdateCertificateRequest, marshalCreateSubscriberRequest, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, marshalAttachPrivateNetworkRequest } from "./marshalling.gen.js";
8
+ import { unmarshalListLbsResponse, marshalZonedApiCreateLbRequest, unmarshalLb, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, unmarshalListIpsResponse, marshalZonedApiCreateIpRequest, unmarshalIp, marshalZonedApiUpdateIpRequest, unmarshalListBackendsResponse, marshalZonedApiCreateBackendRequest, unmarshalBackend, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalZonedApiCreateFrontendRequest, unmarshalFrontend, marshalZonedApiUpdateFrontendRequest, unmarshalListRoutesResponse, marshalZonedApiCreateRouteRequest, unmarshalRoute, marshalZonedApiUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalZonedApiCreateAclRequest, unmarshalAcl, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalZonedApiUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalZonedApiCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalZonedApiAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalZonedApiDetachPrivateNetworkRequest, marshalCreateLbRequest, marshalUpdateLbRequest, marshalMigrateLbRequest, marshalCreateIpRequest, marshalUpdateIpRequest, marshalCreateBackendRequest, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, marshalCreateFrontendRequest, marshalUpdateFrontendRequest, marshalCreateRouteRequest, marshalUpdateRouteRequest, marshalCreateAclRequest, marshalUpdateAclRequest, marshalCreateCertificateRequest, marshalUpdateCertificateRequest, marshalCreateSubscriberRequest, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, marshalAttachPrivateNetworkRequest } from "./marshalling.gen.js";
8
9
  const jsonContentHeaders = {
9
10
  "Content-Type": "application/json; charset=utf-8"
10
11
  };
@@ -40,19 +41,14 @@ class ZonedAPI extends API$1 {
40
41
  unmarshalListLbsResponse
41
42
  );
42
43
  /**
43
- * List Load Balancers. List all Load Balancers in the specified zone, for a
44
- * Scaleway Organization or Scaleway Project. By default, the Load Balancers
45
- * returned in the list are ordered by creation date in ascending order,
46
- * though this can be modified via the `order_by` field.
44
+ * List Load Balancers. List all Load Balancers in the specified zone, for a Scaleway Organization or Scaleway Project. By default, the Load Balancers returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
47
45
  *
48
46
  * @param request - The request {@link ZonedApiListLbsRequest}
49
47
  * @returns A Promise of ListLbsResponse
50
48
  */
51
49
  listLbs = (request = {}) => enrichForPagination("lbs", this.pageOfListLbs, request);
52
50
  /**
53
- * Create a Load Balancer. Create a new Load Balancer. Note that the Load
54
- * Balancer will be created without frontends or backends; these must be
55
- * created separately via the dedicated endpoints.
51
+ * Create a Load Balancer. Create a new Load Balancer. Note that the Load Balancer will be created without frontends or backends; these must be created separately via the dedicated endpoints.
56
52
  *
57
53
  * @param request - The request {@link ZonedApiCreateLbRequest}
58
54
  * @returns A Promise of Lb
@@ -69,9 +65,7 @@ class ZonedAPI extends API$1 {
69
65
  unmarshalLb
70
66
  );
71
67
  /**
72
- * Get a Load Balancer. Retrieve information about an existing Load Balancer,
73
- * specified by its Load Balancer ID. Its full details, including name, status
74
- * and IP address, are returned in the response object.
68
+ * Get a Load Balancer. Retrieve information about an existing Load Balancer, specified by its Load Balancer ID. Its full details, including name, status and IP address, are returned in the response object.
75
69
  *
76
70
  * @param request - The request {@link ZonedApiGetLbRequest}
77
71
  * @returns A Promise of Lb
@@ -97,9 +91,7 @@ class ZonedAPI extends API$1 {
97
91
  options
98
92
  );
99
93
  /**
100
- * Update a Load Balancer. Update the parameters of an existing Load Balancer,
101
- * specified by its Load Balancer ID. Note that the request type is PUT and
102
- * not PATCH. You must set all parameters.
94
+ * Update a Load Balancer. Update the parameters of an existing Load Balancer, specified by its Load Balancer ID. Note that the request type is PUT and not PATCH. You must set all parameters.
103
95
  *
104
96
  * @param request - The request {@link ZonedApiUpdateLbRequest}
105
97
  * @returns A Promise of Lb
@@ -116,10 +108,7 @@ class ZonedAPI extends API$1 {
116
108
  unmarshalLb
117
109
  );
118
110
  /**
119
- * Delete a Load Balancer. Delete an existing Load Balancer, specified by its
120
- * Load Balancer ID. Deleting a Load Balancer is permanent, and cannot be
121
- * undone. The Load Balancer's flexible IP address can either be deleted with
122
- * the Load Balancer, or kept in your account for future use.
111
+ * Delete a Load Balancer. Delete an existing Load Balancer, specified by its Load Balancer ID. Deleting a Load Balancer is permanent, and cannot be undone. The Load Balancer's flexible IP address can either be deleted with the Load Balancer, or kept in your account for future use.
123
112
  *
124
113
  * @param request - The request {@link ZonedApiDeleteLbRequest}
125
114
  */
@@ -129,9 +118,7 @@ class ZonedAPI extends API$1 {
129
118
  urlParams: urlParams(["release_ip", request.releaseIp])
130
119
  });
131
120
  /**
132
- * Migrate a Load Balancer. Migrate an existing Load Balancer from one
133
- * commercial type to another. Allows you to scale your Load Balancer up or
134
- * down in terms of bandwidth or multi-cloud provision.
121
+ * Migrate a Load Balancer. Migrate an existing Load Balancer from one commercial type to another. Allows you to scale your Load Balancer up or down in terms of bandwidth or multi-cloud provision.
135
122
  *
136
123
  * @param request - The request {@link ZonedApiMigrateLbRequest}
137
124
  * @returns A Promise of Lb
@@ -167,18 +154,14 @@ class ZonedAPI extends API$1 {
167
154
  unmarshalListIpsResponse
168
155
  );
169
156
  /**
170
- * List IP addresses. List the Load Balancer flexible IP addresses held in the
171
- * account (filtered by Organization ID or Project ID). It is also possible to
172
- * search for a specific IP address.
157
+ * List IP addresses. List the Load Balancer flexible IP addresses held in the account (filtered by Organization ID or Project ID). It is also possible to search for a specific IP address.
173
158
  *
174
159
  * @param request - The request {@link ZonedApiListIPsRequest}
175
160
  * @returns A Promise of ListIpsResponse
176
161
  */
177
162
  listIPs = (request = {}) => enrichForPagination("ips", this.pageOfListIPs, request);
178
163
  /**
179
- * Create an IP address. Create a new Load Balancer flexible IP address, in
180
- * the specified Scaleway Project. This can be attached to new Load Balancers
181
- * created in the future.
164
+ * Create an IP address. Create a new Load Balancer flexible IP address, in the specified Scaleway Project. This can be attached to new Load Balancers created in the future.
182
165
  *
183
166
  * @param request - The request {@link ZonedApiCreateIpRequest}
184
167
  * @returns A Promise of Ip
@@ -195,8 +178,7 @@ class ZonedAPI extends API$1 {
195
178
  unmarshalIp
196
179
  );
197
180
  /**
198
- * Get an IP address. Retrieve the full details of a Load Balancer flexible IP
199
- * address.
181
+ * Get an IP address. Retrieve the full details of a Load Balancer flexible IP address.
200
182
  *
201
183
  * @param request - The request {@link ZonedApiGetIpRequest}
202
184
  * @returns A Promise of Ip
@@ -209,8 +191,7 @@ class ZonedAPI extends API$1 {
209
191
  unmarshalIp
210
192
  );
211
193
  /**
212
- * Delete an IP address. Delete a Load Balancer flexible IP address. This
213
- * action is irreversible, and cannot be undone.
194
+ * Delete an IP address. Delete a Load Balancer flexible IP address. This action is irreversible, and cannot be undone.
214
195
  *
215
196
  * @param request - The request {@link ZonedApiReleaseIpRequest}
216
197
  */
@@ -219,8 +200,7 @@ class ZonedAPI extends API$1 {
219
200
  path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam("ipId", request.ipId)}`
220
201
  });
221
202
  /**
222
- * Update an IP address. Update the reverse DNS of a Load Balancer flexible IP
223
- * address.
203
+ * Update an IP address. Update the reverse DNS of a Load Balancer flexible IP address.
224
204
  *
225
205
  * @param request - The request {@link ZonedApiUpdateIpRequest}
226
206
  * @returns A Promise of Ip
@@ -253,21 +233,14 @@ class ZonedAPI extends API$1 {
253
233
  unmarshalListBackendsResponse
254
234
  );
255
235
  /**
256
- * List the backends of a given Load Balancer. List all the backends of a Load
257
- * Balancer, specified by its Load Balancer ID. By default, results are
258
- * returned in ascending order by the creation date of each backend. The
259
- * response is an array of backend objects, containing full details of each
260
- * one including their configuration parameters such as protocol, port and
261
- * forwarding algorithm.
236
+ * List the backends of a given Load Balancer. List all the backends of a Load Balancer, specified by its Load Balancer ID. By default, results are returned in ascending order by the creation date of each backend. The response is an array of backend objects, containing full details of each one including their configuration parameters such as protocol, port and forwarding algorithm.
262
237
  *
263
238
  * @param request - The request {@link ZonedApiListBackendsRequest}
264
239
  * @returns A Promise of ListBackendsResponse
265
240
  */
266
241
  listBackends = (request) => enrichForPagination("backends", this.pageOfListBackends, request);
267
242
  /**
268
- * Create a backend for a given Load Balancer. Create a new backend for a
269
- * given Load Balancer, specifying its full configuration including protocol,
270
- * port and forwarding algorithm.
243
+ * Create a backend for a given Load Balancer. Create a new backend for a given Load Balancer, specifying its full configuration including protocol, port and forwarding algorithm.
271
244
  *
272
245
  * @param request - The request {@link ZonedApiCreateBackendRequest}
273
246
  * @returns A Promise of Backend
@@ -284,10 +257,7 @@ class ZonedAPI extends API$1 {
284
257
  unmarshalBackend
285
258
  );
286
259
  /**
287
- * Get a backend of a given Load Balancer. Get the full details of a given
288
- * backend, specified by its backend ID. The response contains the backend's
289
- * full configuration parameters including protocol, port and forwarding
290
- * algorithm.
260
+ * Get a backend of a given Load Balancer. Get the full details of a given backend, specified by its backend ID. The response contains the backend's full configuration parameters including protocol, port and forwarding algorithm.
291
261
  *
292
262
  * @param request - The request {@link ZonedApiGetBackendRequest}
293
263
  * @returns A Promise of Backend
@@ -300,9 +270,7 @@ class ZonedAPI extends API$1 {
300
270
  unmarshalBackend
301
271
  );
302
272
  /**
303
- * Update a backend of a given Load Balancer. Update a backend of a given Load
304
- * Balancer, specified by its backend ID. Note that the request type is PUT
305
- * and not PATCH. You must set all parameters.
273
+ * Update a backend of a given Load Balancer. Update a backend of a given Load Balancer, specified by its backend ID. Note that the request type is PUT and not PATCH. You must set all parameters.
306
274
  *
307
275
  * @param request - The request {@link ZonedApiUpdateBackendRequest}
308
276
  * @returns A Promise of Backend
@@ -319,9 +287,7 @@ class ZonedAPI extends API$1 {
319
287
  unmarshalBackend
320
288
  );
321
289
  /**
322
- * Delete a backend of a given Load Balancer. Delete a backend of a given Load
323
- * Balancer, specified by its backend ID. This action is irreversible and
324
- * cannot be undone.
290
+ * Delete a backend of a given Load Balancer. Delete a backend of a given Load Balancer, specified by its backend ID. This action is irreversible and cannot be undone.
325
291
  *
326
292
  * @param request - The request {@link ZonedApiDeleteBackendRequest}
327
293
  */
@@ -330,10 +296,7 @@ class ZonedAPI extends API$1 {
330
296
  path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam("backendId", request.backendId)}`
331
297
  });
332
298
  /**
333
- * Add a set of backend servers to a given backend. For a given backend
334
- * specified by its backend ID, add a set of backend servers (identified by
335
- * their IP addresses) it should forward traffic to. These will be appended to
336
- * any existing set of backend servers for this backend.
299
+ * Add a set of backend servers to a given backend. For a given backend specified by its backend ID, add a set of backend servers (identified by their IP addresses) it should forward traffic to. These will be appended to any existing set of backend servers for this backend.
337
300
  *
338
301
  * @param request - The request {@link ZonedApiAddBackendServersRequest}
339
302
  * @returns A Promise of Backend
@@ -353,9 +316,7 @@ class ZonedAPI extends API$1 {
353
316
  unmarshalBackend
354
317
  );
355
318
  /**
356
- * Remove a set of servers for a given backend. For a given backend specified
357
- * by its backend ID, remove the specified backend servers (identified by
358
- * their IP addresses) so that it no longer forwards traffic to them.
319
+ * Remove a set of servers for a given backend. For a given backend specified by its backend ID, remove the specified backend servers (identified by their IP addresses) so that it no longer forwards traffic to them.
359
320
  *
360
321
  * @param request - The request {@link ZonedApiRemoveBackendServersRequest}
361
322
  * @returns A Promise of Backend
@@ -375,10 +336,7 @@ class ZonedAPI extends API$1 {
375
336
  unmarshalBackend
376
337
  );
377
338
  /**
378
- * Define all backend servers for a given backend. For a given backend
379
- * specified by its backend ID, define the set of backend servers (identified
380
- * by their IP addresses) that it should forward traffic to. Any existing
381
- * backend servers configured for this backend will be removed.
339
+ * Define all backend servers for a given backend. For a given backend specified by its backend ID, define the set of backend servers (identified by their IP addresses) that it should forward traffic to. Any existing backend servers configured for this backend will be removed.
382
340
  *
383
341
  * @param request - The request {@link ZonedApiSetBackendServersRequest}
384
342
  * @returns A Promise of Backend
@@ -398,10 +356,7 @@ class ZonedAPI extends API$1 {
398
356
  unmarshalBackend
399
357
  );
400
358
  /**
401
- * Update a health check for a given backend. Update the configuration of the
402
- * health check performed by a given backend to verify the health of its
403
- * backend servers, identified by its backend ID. Note that the request type
404
- * is PUT and not PATCH. You must set all parameters.
359
+ * Update a health check for a given backend. Update the configuration of the health check performed by a given backend to verify the health of its backend servers, identified by its backend ID. Note that the request type is PUT and not PATCH. You must set all parameters.
405
360
  *
406
361
  * @param request - The request {@link ZonedApiUpdateHealthCheckRequest}
407
362
  * @returns A Promise of HealthCheck
@@ -437,21 +392,14 @@ class ZonedAPI extends API$1 {
437
392
  unmarshalListFrontendsResponse
438
393
  );
439
394
  /**
440
- * List frontends of a given Load Balancer. List all the frontends of a Load
441
- * Balancer, specified by its Load Balancer ID. By default, results are
442
- * returned in ascending order by the creation date of each frontend. The
443
- * response is an array of frontend objects, containing full details of each
444
- * one including the port they listen on and the backend they are attached
445
- * to.
395
+ * List frontends of a given Load Balancer. List all the frontends of a Load Balancer, specified by its Load Balancer ID. By default, results are returned in ascending order by the creation date of each frontend. The response is an array of frontend objects, containing full details of each one including the port they listen on and the backend they are attached to.
446
396
  *
447
397
  * @param request - The request {@link ZonedApiListFrontendsRequest}
448
398
  * @returns A Promise of ListFrontendsResponse
449
399
  */
450
400
  listFrontends = (request) => enrichForPagination("frontends", this.pageOfListFrontends, request);
451
401
  /**
452
- * Create a frontend in a given Load Balancer. Create a new frontend for a
453
- * given Load Balancer, specifying its configuration including the port it
454
- * should listen on and the backend to attach it to.
402
+ * Create a frontend in a given Load Balancer. Create a new frontend for a given Load Balancer, specifying its configuration including the port it should listen on and the backend to attach it to.
455
403
  *
456
404
  * @param request - The request {@link ZonedApiCreateFrontendRequest}
457
405
  * @returns A Promise of Frontend
@@ -468,10 +416,7 @@ class ZonedAPI extends API$1 {
468
416
  unmarshalFrontend
469
417
  );
470
418
  /**
471
- * Get a frontend. Get the full details of a given frontend, specified by its
472
- * frontend ID. The response contains the frontend's full configuration
473
- * parameters including the backend it is attached to, the port it listens on,
474
- * and any certificates it has.
419
+ * Get a frontend. Get the full details of a given frontend, specified by its frontend ID. The response contains the frontend's full configuration parameters including the backend it is attached to, the port it listens on, and any certificates it has.
475
420
  *
476
421
  * @param request - The request {@link ZonedApiGetFrontendRequest}
477
422
  * @returns A Promise of Frontend
@@ -484,10 +429,7 @@ class ZonedAPI extends API$1 {
484
429
  unmarshalFrontend
485
430
  );
486
431
  /**
487
- * Update a frontend. Update a given frontend, specified by its frontend ID.
488
- * You can update configuration parameters including its name and the port it
489
- * listens on. Note that the request type is PUT and not PATCH. You must set
490
- * all parameters.
432
+ * Update a frontend. Update a given frontend, specified by its frontend ID. You can update configuration parameters including its name and the port it listens on. Note that the request type is PUT and not PATCH. You must set all parameters.
491
433
  *
492
434
  * @param request - The request {@link ZonedApiUpdateFrontendRequest}
493
435
  * @returns A Promise of Frontend
@@ -504,8 +446,7 @@ class ZonedAPI extends API$1 {
504
446
  unmarshalFrontend
505
447
  );
506
448
  /**
507
- * Delete a frontend. Delete a given frontend, specified by its frontend ID.
508
- * This action is irreversible and cannot be undone.
449
+ * Delete a frontend. Delete a given frontend, specified by its frontend ID. This action is irreversible and cannot be undone.
509
450
  *
510
451
  * @param request - The request {@link ZonedApiDeleteFrontendRequest}
511
452
  */
@@ -530,19 +471,14 @@ class ZonedAPI extends API$1 {
530
471
  unmarshalListRoutesResponse
531
472
  );
532
473
  /**
533
- * List all routes. List all routes for a given frontend. The response is an
534
- * array of routes, each one with a specified backend to direct to if a
535
- * certain condition is matched (based on the value of the SNI field or HTTP
536
- * Host header).
474
+ * List all routes. List all routes for a given frontend. The response is an array of routes, each one with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header).
537
475
  *
538
476
  * @param request - The request {@link ZonedApiListRoutesRequest}
539
477
  * @returns A Promise of ListRoutesResponse
540
478
  */
541
479
  listRoutes = (request = {}) => enrichForPagination("routes", this.pageOfListRoutes, request);
542
480
  /**
543
- * Create a route. Create a new route on a given frontend. To configure a
544
- * route, specify the backend to direct to if a certain condition is matched
545
- * (based on the value of the SNI field or HTTP Host header).
481
+ * Create a route. Create a new route on a given frontend. To configure a route, specify the backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header).
546
482
  *
547
483
  * @param request - The request {@link ZonedApiCreateRouteRequest}
548
484
  * @returns A Promise of Route
@@ -559,9 +495,7 @@ class ZonedAPI extends API$1 {
559
495
  unmarshalRoute
560
496
  );
561
497
  /**
562
- * Get a route. Retrieve information about an existing route, specified by its
563
- * route ID. Its full details, origin frontend, target backend and match
564
- * condition, are returned in the response object.
498
+ * Get a route. Retrieve information about an existing route, specified by its route ID. Its full details, origin frontend, target backend and match condition, are returned in the response object.
565
499
  *
566
500
  * @param request - The request {@link ZonedApiGetRouteRequest}
567
501
  * @returns A Promise of Route
@@ -574,8 +508,7 @@ class ZonedAPI extends API$1 {
574
508
  unmarshalRoute
575
509
  );
576
510
  /**
577
- * Update a route. Update the configuration of an existing route, specified by
578
- * its route ID.
511
+ * Update a route. Update the configuration of an existing route, specified by its route ID.
579
512
  *
580
513
  * @param request - The request {@link ZonedApiUpdateRouteRequest}
581
514
  * @returns A Promise of Route
@@ -592,8 +525,7 @@ class ZonedAPI extends API$1 {
592
525
  unmarshalRoute
593
526
  );
594
527
  /**
595
- * Delete a route. Delete an existing route, specified by its route ID.
596
- * Deleting a route is permanent, and cannot be undone.
528
+ * Delete a route. Delete an existing route, specified by its route ID. Deleting a route is permanent, and cannot be undone.
597
529
  *
598
530
  * @param request - The request {@link ZonedApiDeleteRouteRequest}
599
531
  */
@@ -632,8 +564,7 @@ class ZonedAPI extends API$1 {
632
564
  unmarshalListBackendStatsResponse
633
565
  );
634
566
  /**
635
- * List backend server statistics. List information about your backend
636
- * servers, including their state and the result of their last health check.
567
+ * List backend server statistics. List information about your backend servers, including their state and the result of their last health check.
637
568
  *
638
569
  * @param request - The request {@link ZonedApiListBackendStatsRequest}
639
570
  * @returns A Promise of ListBackendStatsResponse
@@ -660,20 +591,14 @@ class ZonedAPI extends API$1 {
660
591
  unmarshalListAclResponse
661
592
  );
662
593
  /**
663
- * List ACLs for a given frontend. List the ACLs for a given frontend,
664
- * specified by its frontend ID. The response is an array of ACL objects, each
665
- * one representing an ACL that denies or allows traffic based on certain
666
- * conditions.
594
+ * List ACLs for a given frontend. List the ACLs for a given frontend, specified by its frontend ID. The response is an array of ACL objects, each one representing an ACL that denies or allows traffic based on certain conditions.
667
595
  *
668
596
  * @param request - The request {@link ZonedApiListAclsRequest}
669
597
  * @returns A Promise of ListAclResponse
670
598
  */
671
599
  listAcls = (request) => enrichForPagination("acls", this.pageOfListAcls, request);
672
600
  /**
673
- * Create an ACL for a given frontend. Create a new ACL for a given frontend.
674
- * Each ACL must have a name, an action to perform (allow or deny), and a
675
- * match rule (the action is carried out when the incoming traffic matches the
676
- * rule).
601
+ * Create an ACL for a given frontend. Create a new ACL for a given frontend. Each ACL must have a name, an action to perform (allow or deny), and a match rule (the action is carried out when the incoming traffic matches the rule).
677
602
  *
678
603
  * @param request - The request {@link ZonedApiCreateAclRequest}
679
604
  * @returns A Promise of Acl
@@ -690,9 +615,7 @@ class ZonedAPI extends API$1 {
690
615
  unmarshalAcl
691
616
  );
692
617
  /**
693
- * Get an ACL. Get information for a particular ACL, specified by its ACL ID.
694
- * The response returns full details of the ACL, including its name, action,
695
- * match rule and frontend.
618
+ * Get an ACL. Get information for a particular ACL, specified by its ACL ID. The response returns full details of the ACL, including its name, action, match rule and frontend.
696
619
  *
697
620
  * @param request - The request {@link ZonedApiGetAclRequest}
698
621
  * @returns A Promise of Acl
@@ -705,8 +628,7 @@ class ZonedAPI extends API$1 {
705
628
  unmarshalAcl
706
629
  );
707
630
  /**
708
- * Update an ACL. Update a particular ACL, specified by its ACL ID. You can
709
- * update details including its name, action and match rule.
631
+ * Update an ACL. Update a particular ACL, specified by its ACL ID. You can update details including its name, action and match rule.
710
632
  *
711
633
  * @param request - The request {@link ZonedApiUpdateAclRequest}
712
634
  * @returns A Promise of Acl
@@ -723,8 +645,7 @@ class ZonedAPI extends API$1 {
723
645
  unmarshalAcl
724
646
  );
725
647
  /**
726
- * Delete an ACL. Delete an ACL, specified by its ACL ID. Deleting an ACL is
727
- * irreversible and cannot be undone.
648
+ * Delete an ACL. Delete an ACL, specified by its ACL ID. Deleting an ACL is irreversible and cannot be undone.
728
649
  *
729
650
  * @param request - The request {@link ZonedApiDeleteAclRequest}
730
651
  */
@@ -733,9 +654,7 @@ class ZonedAPI extends API$1 {
733
654
  path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam("aclId", request.aclId)}`
734
655
  });
735
656
  /**
736
- * Define all ACLs for a given frontend. For a given frontend specified by its
737
- * frontend ID, define and add the complete set of ACLS for that frontend. Any
738
- * existing ACLs on this frontend will be removed.
657
+ * Define all ACLs for a given frontend. For a given frontend specified by its frontend ID, define and add the complete set of ACLS for that frontend. Any existing ACLs on this frontend will be removed.
739
658
  *
740
659
  * @param request - The request {@link ZonedApiSetAclsRequest}
741
660
  * @returns A Promise of SetAclsResponse
@@ -752,9 +671,7 @@ class ZonedAPI extends API$1 {
752
671
  unmarshalSetAclsResponse
753
672
  );
754
673
  /**
755
- * Create an SSL/TLS certificate. Generate a new SSL/TLS certificate for a
756
- * given Load Balancer. You can choose to create a Let's Encrypt certificate,
757
- * or import a custom certificate.
674
+ * Create an SSL/TLS certificate. Generate a new SSL/TLS certificate for a given Load Balancer. You can choose to create a Let's Encrypt certificate, or import a custom certificate.
758
675
  *
759
676
  * @param request - The request {@link ZonedApiCreateCertificateRequest}
760
677
  * @returns A Promise of Certificate
@@ -790,20 +707,14 @@ class ZonedAPI extends API$1 {
790
707
  unmarshalListCertificatesResponse
791
708
  );
792
709
  /**
793
- * List all SSL/TLS certificates on a given Load Balancer. List all the
794
- * SSL/TLS certificates on a given Load Balancer. The response is an array of
795
- * certificate objects, which are by default listed in ascending order of
796
- * creation date.
710
+ * List all SSL/TLS certificates on a given Load Balancer. List all the SSL/TLS certificates on a given Load Balancer. The response is an array of certificate objects, which are by default listed in ascending order of creation date.
797
711
  *
798
712
  * @param request - The request {@link ZonedApiListCertificatesRequest}
799
713
  * @returns A Promise of ListCertificatesResponse
800
714
  */
801
715
  listCertificates = (request) => enrichForPagination("certificates", this.pageOfListCertificates, request);
802
716
  /**
803
- * Get an SSL/TLS certificate. Get information for a particular SSL/TLS
804
- * certificate, specified by its certificate ID. The response returns full
805
- * details of the certificate, including its type, main domain name, and
806
- * alternative domain names.
717
+ * Get an SSL/TLS certificate. Get information for a particular SSL/TLS certificate, specified by its certificate ID. The response returns full details of the certificate, including its type, main domain name, and alternative domain names.
807
718
  *
808
719
  * @param request - The request {@link ZonedApiGetCertificateRequest}
809
720
  * @returns A Promise of Certificate
@@ -831,8 +742,7 @@ class ZonedAPI extends API$1 {
831
742
  options
832
743
  );
833
744
  /**
834
- * Update an SSL/TLS certificate. Update the name of a particular SSL/TLS
835
- * certificate, specified by its certificate ID.
745
+ * Update an SSL/TLS certificate. Update the name of a particular SSL/TLS certificate, specified by its certificate ID.
836
746
  *
837
747
  * @param request - The request {@link ZonedApiUpdateCertificateRequest}
838
748
  * @returns A Promise of Certificate
@@ -852,9 +762,7 @@ class ZonedAPI extends API$1 {
852
762
  unmarshalCertificate
853
763
  );
854
764
  /**
855
- * Delete an SSL/TLS certificate. Delete an SSL/TLS certificate, specified by
856
- * its certificate ID. Deleting a certificate is irreversible and cannot be
857
- * undone.
765
+ * Delete an SSL/TLS certificate. Delete an SSL/TLS certificate, specified by its certificate ID. Deleting a certificate is irreversible and cannot be undone.
858
766
  *
859
767
  * @param request - The request {@link ZonedApiDeleteCertificateRequest}
860
768
  */
@@ -877,18 +785,14 @@ class ZonedAPI extends API$1 {
877
785
  unmarshalListLbTypesResponse
878
786
  );
879
787
  /**
880
- * List all Load Balancer offer types. List all the different commercial Load
881
- * Balancer types. The response includes an array of offer types, each with a
882
- * name, description, and information about its stock availability.
788
+ * List all Load Balancer offer types. List all the different commercial Load Balancer types. The response includes an array of offer types, each with a name, description, and information about its stock availability.
883
789
  *
884
790
  * @param request - The request {@link ZonedApiListLbTypesRequest}
885
791
  * @returns A Promise of ListLbTypesResponse
886
792
  */
887
793
  listLbTypes = (request = {}) => enrichForPagination("lbTypes", this.pageOfListLbTypes, request);
888
794
  /**
889
- * Create a subscriber. Create a new subscriber, either with an email
890
- * configuration or a webhook configuration, for a specified Scaleway
891
- * Project.
795
+ * Create a subscriber. Create a new subscriber, either with an email configuration or a webhook configuration, for a specified Scaleway Project.
892
796
  *
893
797
  * @param request - The request {@link ZonedApiCreateSubscriberRequest}
894
798
  * @returns A Promise of Subscriber
@@ -905,9 +809,7 @@ class ZonedAPI extends API$1 {
905
809
  unmarshalSubscriber
906
810
  );
907
811
  /**
908
- * Get a subscriber. Retrieve information about an existing subscriber,
909
- * specified by its subscriber ID. Its full details, including name and
910
- * email/webhook configuration, are returned in the response object.
812
+ * Get a subscriber. Retrieve information about an existing subscriber, specified by its subscriber ID. Its full details, including name and email/webhook configuration, are returned in the response object.
911
813
  *
912
814
  * @param request - The request {@link ZonedApiGetSubscriberRequest}
913
815
  * @returns A Promise of Subscriber
@@ -938,19 +840,14 @@ class ZonedAPI extends API$1 {
938
840
  unmarshalListSubscriberResponse
939
841
  );
940
842
  /**
941
- * List all subscribers. List all subscribers to Load Balancer alerts. By
942
- * default, returns all subscribers to Load Balancer alerts for the
943
- * Organization associated with the authentication token used for the
944
- * request.
843
+ * List all subscribers. List all subscribers to Load Balancer alerts. By default, returns all subscribers to Load Balancer alerts for the Organization associated with the authentication token used for the request.
945
844
  *
946
845
  * @param request - The request {@link ZonedApiListSubscriberRequest}
947
846
  * @returns A Promise of ListSubscriberResponse
948
847
  */
949
848
  listSubscriber = (request = {}) => enrichForPagination("subscribers", this.pageOfListSubscriber, request);
950
849
  /**
951
- * Update a subscriber. Update the parameters of a given subscriber (e.g.
952
- * name, webhook configuration, email configuration), specified by its
953
- * subscriber ID.
850
+ * Update a subscriber. Update the parameters of a given subscriber (e.g. name, webhook configuration, email configuration), specified by its subscriber ID.
954
851
  *
955
852
  * @param request - The request {@link ZonedApiUpdateSubscriberRequest}
956
853
  * @returns A Promise of Subscriber
@@ -967,8 +864,7 @@ class ZonedAPI extends API$1 {
967
864
  unmarshalSubscriber
968
865
  );
969
866
  /**
970
- * Delete a subscriber. Delete an existing subscriber, specified by its
971
- * subscriber ID. Deleting a subscriber is permanent, and cannot be undone.
867
+ * Delete a subscriber. Delete an existing subscriber, specified by its subscriber ID. Deleting a subscriber is permanent, and cannot be undone.
972
868
  *
973
869
  * @param request - The request {@link ZonedApiDeleteSubscriberRequest}
974
870
  */
@@ -977,8 +873,7 @@ class ZonedAPI extends API$1 {
977
873
  path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lb/subscription/${validatePathParam("subscriberId", request.subscriberId)}`
978
874
  });
979
875
  /**
980
- * Subscribe a subscriber to alerts for a given Load Balancer. Subscribe an
981
- * existing subscriber to alerts for a given Load Balancer.
876
+ * Subscribe a subscriber to alerts for a given Load Balancer. Subscribe an existing subscriber to alerts for a given Load Balancer.
982
877
  *
983
878
  * @param request - The request {@link ZonedApiSubscribeToLbRequest}
984
879
  * @returns A Promise of Lb
@@ -995,9 +890,7 @@ class ZonedAPI extends API$1 {
995
890
  unmarshalLb
996
891
  );
997
892
  /**
998
- * Unsubscribe a subscriber from alerts for a given Load Balancer. Unsubscribe
999
- * a subscriber from alerts for a given Load Balancer. The subscriber is not
1000
- * deleted, and can be resubscribed in the future if necessary.
893
+ * Unsubscribe a subscriber from alerts for a given Load Balancer. Unsubscribe a subscriber from alerts for a given Load Balancer. The subscriber is not deleted, and can be resubscribed in the future if necessary.
1001
894
  *
1002
895
  * @param request - The request {@link ZonedApiUnsubscribeFromLbRequest}
1003
896
  * @returns A Promise of Lb
@@ -1025,11 +918,7 @@ class ZonedAPI extends API$1 {
1025
918
  unmarshalListLbPrivateNetworksResponse
1026
919
  );
1027
920
  /**
1028
- * List Private Networks attached to a Load Balancer. List the Private
1029
- * Networks attached to a given Load Balancer, specified by its Load Balancer
1030
- * ID. The response is an array of Private Network objects, giving information
1031
- * including the status, configuration, name and creation date of each Private
1032
- * Network.
921
+ * List Private Networks attached to a Load Balancer. List the Private Networks attached to a given Load Balancer, specified by its Load Balancer ID. The response is an array of Private Network objects, giving information including the status, configuration, name and creation date of each Private Network.
1033
922
  *
1034
923
  * @param request - The request {@link ZonedApiListLbPrivateNetworksRequest}
1035
924
  * @returns A Promise of ListLbPrivateNetworksResponse
@@ -1040,9 +929,7 @@ class ZonedAPI extends API$1 {
1040
929
  request
1041
930
  );
1042
931
  /**
1043
- * Attach a Load Balancer to a Private Network. Attach a specified Load
1044
- * Balancer to a specified Private Network, defining a static or DHCP
1045
- * configuration for the Load Balancer on the network.
932
+ * Attach a Load Balancer to a Private Network. Attach a specified Load Balancer to a specified Private Network, defining a static or DHCP configuration for the Load Balancer on the network.
1046
933
  *
1047
934
  * @param request - The request {@link ZonedApiAttachPrivateNetworkRequest}
1048
935
  * @returns A Promise of PrivateNetwork
@@ -1057,21 +944,25 @@ class ZonedAPI extends API$1 {
1057
944
  ),
1058
945
  headers: jsonContentHeaders,
1059
946
  method: "POST",
1060
- path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/private-networks/${validatePathParam("privateNetworkId", request.privateNetworkId)}/attach`
947
+ path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/attach-private-network`
1061
948
  },
1062
949
  unmarshalPrivateNetwork
1063
950
  );
1064
951
  /**
1065
- * Detach Load Balancer from Private Network. Detach a specified Load Balancer
1066
- * from a specified Private Network.
952
+ * Detach Load Balancer from Private Network. Detach a specified Load Balancer from a specified Private Network.
1067
953
  *
1068
954
  * @param request - The request {@link ZonedApiDetachPrivateNetworkRequest}
1069
955
  */
1070
956
  detachPrivateNetwork = (request) => this.client.fetch({
1071
- body: "{}",
957
+ body: JSON.stringify(
958
+ marshalZonedApiDetachPrivateNetworkRequest(
959
+ request,
960
+ this.client.settings
961
+ )
962
+ ),
1072
963
  headers: jsonContentHeaders,
1073
964
  method: "POST",
1074
- path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/private-networks/${validatePathParam("privateNetworkId", request.privateNetworkId)}/detach`
965
+ path: `/lb/v1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam("lbId", request.lbId)}/detach-private-network`
1075
966
  });
1076
967
  }
1077
968
  class API extends API$1 {
@@ -1702,8 +1593,7 @@ class API extends API$1 {
1702
1593
  path: `/lb/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam("aclId", request.aclId)}`
1703
1594
  });
1704
1595
  /**
1705
- * Create a TLS certificate. Generate a new TLS certificate using Let's
1706
- * Encrypt or import your certificate.
1596
+ * Create a TLS certificate. Generate a new TLS certificate using Let's Encrypt or import your certificate.
1707
1597
  *
1708
1598
  * @param request - The request {@link CreateCertificateRequest}
1709
1599
  * @returns A Promise of Certificate
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
3
+ require("../../../client/dist/internal/logger/index.cjs");
4
+ const intervalRetrier = require("../../../client/dist/internal/async/interval-retrier.cjs");
5
+ require("../../../client/dist/vendor/base64/index.cjs");
4
6
  const api_gen = require("./api.gen.cjs");
5
7
  const content_gen = require("./content.gen.cjs");
6
8
  class LbV1UtilsAPI extends api_gen.API {
@@ -1,4 +1,4 @@
1
- import type { WaitForOptions } from '../../../internal/async/interval-retrier.js';
1
+ import type { WaitForOptions } from '@scaleway/sdk-client';
2
2
  import { API, ZonedAPI } from './api.gen.js';
3
3
  import type { GetLbRequest, Lb, ListLbPrivateNetworksResponse, PrivateNetwork } from './types.gen';
4
4
  import type { WaitForLbPrivateNetworksRequest, ZonedWaitForLbPrivateNetworksRequest } from './types.utils';
@@ -1,4 +1,6 @@
1
- import { tryAtIntervals, createExponentialBackoffStrategy } from "../../../internal/async/interval-retrier.js";
1
+ import "../../../client/dist/internal/logger/index.js";
2
+ import { tryAtIntervals, createExponentialBackoffStrategy } from "../../../client/dist/internal/async/interval-retrier.js";
3
+ import "../../../client/dist/vendor/base64/index.js";
2
4
  import { API, ZonedAPI } from "./api.gen.js";
3
5
  import { PRIVATE_NETWORK_TRANSIENT_STATUSES, LB_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES } from "./content.gen.js";
4
6
  class LbV1UtilsAPI extends API {