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