@scaleway/sdk 2.71.0 → 2.72.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/README.md +6 -5
  2. package/dist/api/account/index.gen.d.ts +2 -2
  3. package/dist/api/account/v2/api.gen.cjs +5 -4
  4. package/dist/api/account/v2/api.gen.d.ts +1 -1
  5. package/dist/api/account/v2/api.gen.js +5 -4
  6. package/dist/api/account/v2/marshalling.gen.cjs +4 -3
  7. package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
  8. package/dist/api/account/v2/marshalling.gen.js +4 -3
  9. package/dist/api/account/v3/api.gen.cjs +5 -4
  10. package/dist/api/account/v3/api.gen.d.ts +1 -1
  11. package/dist/api/account/v3/api.gen.js +5 -4
  12. package/dist/api/account/v3/index.gen.d.ts +1 -1
  13. package/dist/api/account/v3/marshalling.gen.cjs +4 -3
  14. package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
  15. package/dist/api/account/v3/marshalling.gen.js +4 -3
  16. package/dist/api/applesilicon/index.gen.d.ts +2 -2
  17. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
  18. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
  19. package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
  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 +1 -1
  25. package/dist/api/audit_trail/index.gen.d.ts +2 -2
  26. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
  27. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
  28. package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
  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 +1 -1
  32. package/dist/api/baremetal/index.gen.d.ts +2 -2
  33. package/dist/api/baremetal/v1/api.gen.cjs +6 -5
  34. package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
  35. package/dist/api/baremetal/v1/api.gen.js +6 -5
  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 +65 -65
  44. package/dist/api/baremetal/v3/api.gen.cjs +5 -4
  45. package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
  46. package/dist/api/baremetal/v3/api.gen.js +5 -4
  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 +1 -1
  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 +5 -4
  59. package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
  60. package/dist/api/billing/v2beta1/api.gen.js +5 -4
  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 +1 -1
  64. package/dist/api/block/index.gen.d.ts +2 -2
  65. package/dist/api/block/v1/api.gen.cjs +6 -5
  66. package/dist/api/block/v1/api.gen.d.ts +2 -2
  67. package/dist/api/block/v1/api.gen.js +6 -5
  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 +1 -1
  72. package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
  73. package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
  74. package/dist/api/block/v1alpha1/api.gen.js +6 -5
  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 +1 -1
  79. package/dist/api/cockpit/index.gen.d.ts +2 -2
  80. package/dist/api/cockpit/v1/api.gen.cjs +5 -4
  81. package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
  82. package/dist/api/cockpit/v1/api.gen.js +5 -4
  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 +1 -1
  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 +6 -5
  97. package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
  98. package/dist/api/container/v1beta1/api.gen.js +6 -5
  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 +1 -1
  103. package/dist/api/dedibox/index.gen.d.ts +2 -2
  104. package/dist/api/dedibox/v1/api.gen.cjs +6 -5
  105. package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
  106. package/dist/api/dedibox/v1/api.gen.js +6 -5
  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 +1 -1
  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 +6 -5
  121. package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
  122. package/dist/api/domain/v2beta1/api.gen.js +6 -5
  123. package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
  124. package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
  125. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
  126. package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
  127. package/dist/api/domain/v2beta1/types.gen.d.ts +1 -1
  128. package/dist/api/edge_services/index.gen.d.ts +2 -2
  129. package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
  130. package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
  131. package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
  132. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
  133. package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
  134. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
  135. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
  136. package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
  137. package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
  138. package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
  139. package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
  140. package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
  141. package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
  142. package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
  143. package/dist/api/flexibleip/index.gen.d.ts +2 -2
  144. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +6 -5
  145. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
  146. package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
  147. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
  148. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
  149. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
  150. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +1 -1
  151. package/dist/api/function/index.gen.d.ts +2 -2
  152. package/dist/api/function/v1beta1/api.gen.cjs +20 -33
  153. package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
  154. package/dist/api/function/v1beta1/api.gen.js +20 -33
  155. package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
  156. package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
  157. package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
  158. package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
  159. package/dist/api/iam/index.gen.d.ts +2 -2
  160. package/dist/api/iam/v1alpha1/api.gen.cjs +56 -176
  161. package/dist/api/iam/v1alpha1/api.gen.d.ts +54 -176
  162. package/dist/api/iam/v1alpha1/api.gen.js +56 -176
  163. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
  164. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
  165. package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
  166. package/dist/api/iam/v1alpha1/types.gen.d.ts +980 -373
  167. package/dist/api/index.gen.d.ts +2 -2
  168. package/dist/api/inference/index.gen.d.ts +2 -2
  169. package/dist/api/inference/v1/api.gen.cjs +6 -5
  170. package/dist/api/inference/v1/api.gen.d.ts +2 -2
  171. package/dist/api/inference/v1/api.gen.js +6 -5
  172. package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
  173. package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
  174. package/dist/api/inference/v1/marshalling.gen.js +4 -3
  175. package/dist/api/inference/v1/types.gen.d.ts +1 -1
  176. package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
  177. package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
  178. package/dist/api/inference/v1beta1/api.gen.js +6 -5
  179. package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
  180. package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
  181. package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
  182. package/dist/api/inference/v1beta1/types.gen.d.ts +1 -1
  183. package/dist/api/instance/index.gen.d.ts +2 -2
  184. package/dist/api/instance/v1/api.gen.cjs +5 -4
  185. package/dist/api/instance/v1/api.gen.d.ts +2 -2
  186. package/dist/api/instance/v1/api.gen.js +5 -4
  187. package/dist/api/instance/v1/api.utils.cjs +4 -3
  188. package/dist/api/instance/v1/api.utils.d.ts +1 -1
  189. package/dist/api/instance/v1/api.utils.js +4 -3
  190. package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
  191. package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
  192. package/dist/api/instance/v1/marshalling.gen.js +4 -3
  193. package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
  194. package/dist/api/instance/v1/types.gen.d.ts +1 -1
  195. package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
  196. package/dist/api/instance/v1/types.utils.d.ts +1 -1
  197. package/dist/api/interlink/index.gen.d.ts +2 -2
  198. package/dist/api/interlink/v1beta1/api.gen.cjs +101 -11
  199. package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
  200. package/dist/api/interlink/v1beta1/api.gen.js +102 -12
  201. package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
  202. package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
  203. package/dist/api/interlink/v1beta1/content.gen.js +6 -0
  204. package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
  205. package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
  206. package/dist/api/interlink/v1beta1/index.gen.js +3 -0
  207. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +82 -8
  208. package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
  209. package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
  210. package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
  211. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
  212. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
  213. package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
  214. package/dist/api/iot/index.gen.d.ts +2 -2
  215. package/dist/api/iot/v1/api.gen.cjs +6 -5
  216. package/dist/api/iot/v1/api.gen.d.ts +2 -2
  217. package/dist/api/iot/v1/api.gen.js +6 -5
  218. package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
  219. package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
  220. package/dist/api/iot/v1/marshalling.gen.js +4 -3
  221. package/dist/api/iot/v1/types.gen.d.ts +1 -1
  222. package/dist/api/ipam/index.gen.d.ts +2 -2
  223. package/dist/api/ipam/v1/api.gen.cjs +5 -4
  224. package/dist/api/ipam/v1/api.gen.d.ts +2 -2
  225. package/dist/api/ipam/v1/api.gen.js +5 -4
  226. package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
  227. package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
  228. package/dist/api/ipam/v1/marshalling.gen.js +4 -3
  229. package/dist/api/ipam/v1/types.gen.d.ts +1 -1
  230. package/dist/api/ipfs/index.gen.d.ts +2 -2
  231. package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
  232. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
  233. package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
  234. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
  235. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
  236. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
  237. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
  238. package/dist/api/jobs/index.gen.d.ts +2 -2
  239. package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -4
  240. package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
  241. package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
  242. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
  243. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
  244. package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
  245. package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -1
  246. package/dist/api/k8s/index.gen.d.ts +2 -2
  247. package/dist/api/k8s/v1/api.gen.cjs +6 -5
  248. package/dist/api/k8s/v1/api.gen.d.ts +2 -2
  249. package/dist/api/k8s/v1/api.gen.js +6 -5
  250. package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
  251. package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
  252. package/dist/api/k8s/v1/marshalling.gen.js +4 -3
  253. package/dist/api/k8s/v1/types.gen.d.ts +1 -1
  254. package/dist/api/key_manager/index.gen.d.ts +2 -2
  255. package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
  256. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
  257. package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
  258. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
  259. package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
  260. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
  261. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +1 -1
  262. package/dist/api/lb/index.gen.d.ts +2 -2
  263. package/dist/api/lb/v1/api.gen.cjs +68 -178
  264. package/dist/api/lb/v1/api.gen.d.ts +60 -176
  265. package/dist/api/lb/v1/api.gen.js +69 -179
  266. package/dist/api/lb/v1/api.utils.cjs +3 -1
  267. package/dist/api/lb/v1/api.utils.d.ts +1 -1
  268. package/dist/api/lb/v1/api.utils.js +3 -1
  269. package/dist/api/lb/v1/index.gen.d.ts +1 -1
  270. package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
  271. package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
  272. package/dist/api/lb/v1/marshalling.gen.js +9 -3
  273. package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
  274. package/dist/api/lb/v1/types.utils.d.ts +1 -1
  275. package/dist/api/llm_inference/index.gen.d.ts +2 -2
  276. package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
  277. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
  278. package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
  279. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
  280. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
  281. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
  282. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
  283. package/dist/api/marketplace/index.gen.d.ts +2 -2
  284. package/dist/api/marketplace/v2/api.gen.cjs +5 -4
  285. package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
  286. package/dist/api/marketplace/v2/api.gen.js +5 -4
  287. package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
  288. package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
  289. package/dist/api/marketplace/v2/types.gen.d.ts +1 -1
  290. package/dist/api/mnq/index.gen.d.ts +2 -2
  291. package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
  292. package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
  293. package/dist/api/mnq/v1beta1/api.gen.js +5 -4
  294. package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
  295. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
  296. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
  297. package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
  298. package/dist/api/mnq/v1beta1/types.gen.d.ts +1 -1
  299. package/dist/api/mongodb/index.gen.d.ts +2 -2
  300. package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
  301. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
  302. package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
  303. package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
  304. package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
  305. package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
  306. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
  307. package/dist/api/qaas/index.gen.d.ts +2 -2
  308. package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
  309. package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
  310. package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
  311. package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
  312. package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
  313. package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
  314. package/dist/api/qaas/v1alpha1/types.gen.d.ts +1 -1
  315. package/dist/api/rdb/index.gen.d.ts +2 -2
  316. package/dist/api/rdb/v1/api.gen.cjs +6 -5
  317. package/dist/api/rdb/v1/api.gen.d.ts +2 -2
  318. package/dist/api/rdb/v1/api.gen.js +6 -5
  319. package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
  320. package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
  321. package/dist/api/rdb/v1/marshalling.gen.js +4 -3
  322. package/dist/api/rdb/v1/types.gen.d.ts +1 -1
  323. package/dist/api/redis/index.gen.d.ts +2 -2
  324. package/dist/api/redis/v1/api.gen.cjs +6 -5
  325. package/dist/api/redis/v1/api.gen.d.ts +2 -2
  326. package/dist/api/redis/v1/api.gen.js +6 -5
  327. package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
  328. package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
  329. package/dist/api/redis/v1/marshalling.gen.js +4 -3
  330. package/dist/api/redis/v1/types.gen.d.ts +1 -1
  331. package/dist/api/registry/index.gen.d.ts +2 -2
  332. package/dist/api/registry/v1/api.gen.cjs +6 -5
  333. package/dist/api/registry/v1/api.gen.d.ts +2 -2
  334. package/dist/api/registry/v1/api.gen.js +6 -5
  335. package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
  336. package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
  337. package/dist/api/registry/v1/marshalling.gen.js +4 -3
  338. package/dist/api/registry/v1/types.gen.d.ts +1 -1
  339. package/dist/api/secret/index.gen.d.ts +2 -2
  340. package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
  341. package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
  342. package/dist/api/secret/v1alpha1/api.gen.js +5 -4
  343. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
  344. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
  345. package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
  346. package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
  347. package/dist/api/secret/v1beta1/api.gen.cjs +5 -4
  348. package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
  349. package/dist/api/secret/v1beta1/api.gen.js +5 -4
  350. package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
  351. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
  352. package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
  353. package/dist/api/secret/v1beta1/types.gen.d.ts +1 -1
  354. package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
  355. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
  356. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
  357. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
  358. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
  359. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
  360. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
  361. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +1 -1
  362. package/dist/api/tem/index.gen.d.ts +2 -2
  363. package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
  364. package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
  365. package/dist/api/tem/v1alpha1/api.gen.js +6 -5
  366. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
  367. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
  368. package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
  369. package/dist/api/tem/v1alpha1/types.gen.d.ts +1 -1
  370. package/dist/api/test/index.gen.d.ts +2 -2
  371. package/dist/api/test/v1/api.gen.cjs +6 -5
  372. package/dist/api/test/v1/api.gen.d.ts +2 -2
  373. package/dist/api/test/v1/api.gen.js +6 -5
  374. package/dist/api/test/v1/marshalling.gen.cjs +4 -3
  375. package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
  376. package/dist/api/test/v1/marshalling.gen.js +4 -3
  377. package/dist/api/vpc/index.gen.d.ts +2 -2
  378. package/dist/api/vpc/v1/api.gen.cjs +5 -4
  379. package/dist/api/vpc/v1/api.gen.d.ts +2 -2
  380. package/dist/api/vpc/v1/api.gen.js +5 -4
  381. package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
  382. package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
  383. package/dist/api/vpc/v1/marshalling.gen.js +4 -3
  384. package/dist/api/vpc/v1/types.gen.d.ts +1 -1
  385. package/dist/api/vpc/v2/api.gen.cjs +18 -53
  386. package/dist/api/vpc/v2/api.gen.d.ts +18 -45
  387. package/dist/api/vpc/v2/api.gen.js +19 -54
  388. package/dist/api/vpc/v2/index.gen.d.ts +1 -1
  389. package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
  390. package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
  391. package/dist/api/vpc/v2/marshalling.gen.js +4 -18
  392. package/dist/api/vpc/v2/types.gen.d.ts +333 -200
  393. package/dist/api/vpcgw/index.gen.d.ts +2 -2
  394. package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
  395. package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
  396. package/dist/api/vpcgw/v1/api.gen.js +42 -140
  397. package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
  398. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
  399. package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
  400. package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
  401. package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
  402. package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
  403. package/dist/api/vpcgw/v2/api.gen.js +33 -93
  404. package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
  405. package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
  406. package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
  407. package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
  408. package/dist/api/webhosting/index.gen.d.ts +2 -2
  409. package/dist/api/webhosting/v1/api.gen.cjs +28 -55
  410. package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
  411. package/dist/api/webhosting/v1/api.gen.js +28 -55
  412. package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
  413. package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
  414. package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
  415. package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
  416. package/dist/client/dist/helpers/is-browser.cjs +4 -0
  417. package/dist/client/dist/helpers/is-browser.js +4 -0
  418. package/dist/client/dist/package.json.cjs +67 -0
  419. package/dist/client/dist/package.json.js +67 -0
  420. package/dist/client/dist/scw/constants.cjs +7 -0
  421. package/dist/{scw → client/dist/scw}/constants.js +2 -1
  422. package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
  423. package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
  424. package/dist/index.cjs +16 -16
  425. package/dist/index.d.ts +1 -15
  426. package/dist/index.js +13 -13
  427. package/node_modules/@scaleway/sdk-client/LICENSE +191 -0
  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/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +2 -1
  475. package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +2 -0
  476. package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
  477. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
  478. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
  479. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
  480. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
  481. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
  482. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
  483. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  484. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
  485. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  486. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
  487. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
  488. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
  489. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  490. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
  491. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  492. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
  493. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
  494. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
  495. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
  496. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
  497. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
  498. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
  499. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
  500. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
  501. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
  502. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
  503. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  504. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
  505. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
  506. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
  507. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  508. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
  509. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  510. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
  511. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  512. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
  513. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
  514. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
  515. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
  516. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  517. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
  518. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
  519. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
  520. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
  521. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
  522. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
  523. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
  524. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
  525. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
  526. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
  527. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
  528. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
  529. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
  530. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
  531. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
  532. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
  533. package/node_modules/@scaleway/sdk-client/package.json +37 -0
  534. package/package.json +6 -5
  535. package/dist/helpers/is-browser.cjs +0 -7
  536. package/dist/helpers/is-browser.js +0 -7
  537. package/dist/scw/constants.d.ts +0 -2
  538. /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
  539. /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
  540. /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
  541. /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
  542. /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
  543. /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
  544. /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
  545. /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
  546. /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
  547. /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
  548. /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
  549. /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
  550. /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
  551. /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
  552. /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
  553. /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
  554. /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
  555. /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
  556. /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
  557. /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
  558. /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
  559. /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
  560. /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
  561. /package/dist/{scw → client/dist/scw}/api.js +0 -0
  562. /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
  563. /package/dist/{scw → client/dist/scw}/auth.js +0 -0
  564. /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
  565. /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
  566. /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
  567. /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
  568. /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
  569. /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
  570. /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
  571. /package/dist/{scw → client/dist/scw}/client.js +0 -0
  572. /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
  573. /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
  574. /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
  575. /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
  576. /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
  577. /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
  578. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
  579. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
  580. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
  581. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
  582. /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
  583. /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
  584. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
  585. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
  586. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
  587. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
  588. /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
  589. /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
  590. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
  591. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
  592. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
  593. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
  594. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
  595. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
  596. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
  597. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
  598. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
  599. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
  600. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
  601. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
  602. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
  603. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
  604. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
  605. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
  606. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
  607. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
  608. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
  609. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
  610. /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
  611. /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
  612. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
  613. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
  614. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
  615. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
  616. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
  617. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
  618. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
  619. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
  620. /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
  621. /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
  622. /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
  623. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
  624. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
  625. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
  626. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
  627. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
  628. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
  629. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
  630. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
  631. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
  632. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
  633. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
  634. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
  635. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
  636. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
  637. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
  638. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
  639. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.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,5 +1,5 @@
1
1
  /**
2
- * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
- * EDIT HERE
2
+ * This file is automatically generated from /scripts/generate.js
3
+ * PLEASE DO NOT EDIT HERE
4
4
  */
5
5
  export * as v1alpha1 from './v1alpha1/index.gen.js';
@@ -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 = {
@@ -1,5 +1,5 @@
1
- import { API as ParentAPI } from '../../../bridge';
2
- import type { Zone as ScwZone, WaitForOptions } from '../../../bridge';
1
+ import { API as ParentAPI } from '@scaleway/sdk-client';
2
+ import type { Zone as ScwZone, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { AttachFlexibleIPRequest, AttachFlexibleIPsResponse, CreateFlexibleIPRequest, DeleteFlexibleIPRequest, DeleteMACAddrRequest, DetachFlexibleIPRequest, DetachFlexibleIPsResponse, DuplicateMACAddrRequest, FlexibleIP, GenerateMACAddrRequest, GetFlexibleIPRequest, ListFlexibleIPsRequest, ListFlexibleIPsResponse, MoveMACAddrRequest, UpdateFlexibleIPRequest } from './types.gen';
4
4
  /**
5
5
  * Elastic Metal - Flexible IP API.
@@ -1,8 +1,9 @@
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 { FLEXIBLE_IP_TRANSIENT_STATUSES } from "./content.gen.js";
7
8
  import { marshalCreateFlexibleIPRequest, unmarshalFlexibleIP, unmarshalListFlexibleIPsResponse, marshalUpdateFlexibleIPRequest, marshalAttachFlexibleIPRequest, unmarshalAttachFlexibleIPsResponse, marshalDetachFlexibleIPRequest, unmarshalDetachFlexibleIPsResponse, marshalGenerateMACAddrRequest, marshalDuplicateMACAddrRequest, marshalMoveMACAddrRequest } from "./marshalling.gen.js";
8
9
  const jsonContentHeaders = {
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const json = require("../../../helpers/json.cjs");
4
- const marshalling = require("../../../helpers/marshalling.cjs");
5
- require("../../../vendor/base64/index.cjs");
3
+ require("../../../client/dist/internal/logger/index.cjs");
4
+ const json = require("../../../client/dist/helpers/json.cjs");
5
+ const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
6
+ require("../../../client/dist/vendor/base64/index.cjs");
6
7
  const unmarshalMACAddress = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,4 +1,4 @@
1
- import type { DefaultValues } from '../../../bridge';
1
+ import type { DefaultValues } from '@scaleway/sdk-client';
2
2
  import type { AttachFlexibleIPRequest, AttachFlexibleIPsResponse, CreateFlexibleIPRequest, DetachFlexibleIPRequest, DetachFlexibleIPsResponse, DuplicateMACAddrRequest, FlexibleIP, GenerateMACAddrRequest, ListFlexibleIPsResponse, MoveMACAddrRequest, UpdateFlexibleIPRequest } from './types.gen';
3
3
  export declare const unmarshalFlexibleIP: (data: unknown) => FlexibleIP;
4
4
  export declare const unmarshalAttachFlexibleIPsResponse: (data: unknown) => AttachFlexibleIPsResponse;
@@ -1,6 +1,7 @@
1
- import { isJSONObject } from "../../../helpers/json.js";
2
- import { unmarshalDate, unmarshalArrayOfObject } from "../../../helpers/marshalling.js";
3
- import "../../../vendor/base64/index.js";
1
+ import "../../../client/dist/internal/logger/index.js";
2
+ import { isJSONObject } from "../../../client/dist/helpers/json.js";
3
+ import { unmarshalDate, unmarshalArrayOfObject } from "../../../client/dist/helpers/marshalling.js";
4
+ import "../../../client/dist/vendor/base64/index.js";
4
5
  const unmarshalMACAddress = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -1,4 +1,4 @@
1
- import type { Zone as ScwZone } from '../../../bridge';
1
+ import type { Zone as ScwZone } from '@scaleway/sdk-client';
2
2
  export type FlexibleIPStatus = 'unknown' | 'ready' | 'updating' | 'attached' | 'error' | 'detaching' | 'locked';
3
3
  export type ListFlexibleIPsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
4
4
  export type MACAddressStatus = 'unknown' | 'ready' | 'updating' | 'used' | 'error' | 'deleting';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
- * EDIT HERE
2
+ * This file is automatically generated from /scripts/generate.js
3
+ * PLEASE DO NOT EDIT HERE
4
4
  */
5
5
  export * as v1beta1 from './v1beta1/index.gen.js';
@@ -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 = {
@@ -36,8 +37,7 @@ class API extends api.API {
36
37
  marshalling_gen.unmarshalListNamespacesResponse
37
38
  );
38
39
  /**
39
- * List all your namespaces. List all existing namespaces in the specified
40
- * region.
40
+ * List all your namespaces. List all existing namespaces in the specified region.
41
41
  *
42
42
  * @param request - The request {@link ListNamespacesRequest}
43
43
  * @returns A Promise of ListNamespacesResponse
@@ -72,8 +72,7 @@ class API extends api.API {
72
72
  options
73
73
  );
74
74
  /**
75
- * Create a new namespace. Create a new namespace in a specified Organization
76
- * or Project.
75
+ * Create a new namespace. Create a new namespace in a specified Organization or Project.
77
76
  *
78
77
  * @param request - The request {@link CreateNamespaceRequest}
79
78
  * @returns A Promise of Namespace
@@ -90,8 +89,7 @@ class API extends api.API {
90
89
  marshalling_gen.unmarshalNamespace
91
90
  );
92
91
  /**
93
- * Update an existing namespace. Update the namespace associated with the
94
- * specified ID.
92
+ * Update an existing namespace. Update the namespace associated with the specified ID.
95
93
  *
96
94
  * @param request - The request {@link UpdateNamespaceRequest}
97
95
  * @returns A Promise of Namespace
@@ -108,8 +106,7 @@ class API extends api.API {
108
106
  marshalling_gen.unmarshalNamespace
109
107
  );
110
108
  /**
111
- * Delete an existing namespace. Delete the namespace associated with the
112
- * specified ID.
109
+ * Delete an existing namespace. Delete the namespace associated with the specified ID.
113
110
  *
114
111
  * @param request - The request {@link DeleteNamespaceRequest}
115
112
  * @returns A Promise of Namespace
@@ -176,8 +173,7 @@ class API extends api.API {
176
173
  options
177
174
  );
178
175
  /**
179
- * Create a new function. Create a new function in the specified region for a
180
- * specified Organization or Project.
176
+ * Create a new function. Create a new function in the specified region for a specified Organization or Project.
181
177
  *
182
178
  * @param request - The request {@link CreateFunctionRequest}
183
179
  * @returns A Promise of Function
@@ -194,8 +190,7 @@ class API extends api.API {
194
190
  marshalling_gen.unmarshalFunction
195
191
  );
196
192
  /**
197
- * Update an existing function. Update the function associated with the
198
- * specified ID.
193
+ * Update an existing function. Update the function associated with the specified ID.
199
194
  *
200
195
  * @param request - The request {@link UpdateFunctionRequest}
201
196
  * @returns A Promise of Function
@@ -253,8 +248,7 @@ class API extends api.API {
253
248
  marshalling_gen.unmarshalListFunctionRuntimesResponse
254
249
  );
255
250
  /**
256
- * Get an upload URL of a function. Get an upload URL of a function associated
257
- * with the specified ID.
251
+ * Get an upload URL of a function. Get an upload URL of a function associated with the specified ID.
258
252
  *
259
253
  * @param request - The request {@link GetFunctionUploadURLRequest}
260
254
  * @returns A Promise of UploadURL
@@ -268,8 +262,7 @@ class API extends api.API {
268
262
  marshalling_gen.unmarshalUploadURL
269
263
  );
270
264
  /**
271
- * Get a download URL of a function. Get a download URL for a function
272
- * associated with the specified ID.
265
+ * Get a download URL of a function. Get a download URL for a function associated with the specified ID.
273
266
  *
274
267
  * @param request - The request {@link GetFunctionDownloadURLRequest}
275
268
  * @returns A Promise of DownloadURL
@@ -333,8 +326,7 @@ class API extends api.API {
333
326
  options
334
327
  );
335
328
  /**
336
- * Create a new cron. Create a new cronjob for a function with the specified
337
- * ID.
329
+ * Create a new cron. Create a new cronjob for a function with the specified ID.
338
330
  *
339
331
  * @param request - The request {@link CreateCronRequest}
340
332
  * @returns A Promise of Cron
@@ -397,16 +389,14 @@ class API extends api.API {
397
389
  marshalling_gen.unmarshalListDomainsResponse
398
390
  );
399
391
  /**
400
- * List all domain name bindings. List all domain name bindings in a specified
401
- * region.
392
+ * List all domain name bindings. List all domain name bindings in a specified region.
402
393
  *
403
394
  * @param request - The request {@link ListDomainsRequest}
404
395
  * @returns A Promise of ListDomainsResponse
405
396
  */
406
397
  listDomains = (request) => resourcePaginator.enrichForPagination("domains", this.pageOfListDomains, request);
407
398
  /**
408
- * Get a domain name binding. Get a domain name binding for the function with
409
- * the specified ID.
399
+ * Get a domain name binding. Get a domain name binding for the function with the specified ID.
410
400
  *
411
401
  * @param request - The request {@link GetDomainRequest}
412
402
  * @returns A Promise of Domain
@@ -434,8 +424,7 @@ class API extends api.API {
434
424
  options
435
425
  );
436
426
  /**
437
- * Create a domain name binding. Create a domain name binding for the function
438
- * with the specified ID.
427
+ * Create a domain name binding. Create a domain name binding for the function with the specified ID.
439
428
  *
440
429
  * @param request - The request {@link CreateDomainRequest}
441
430
  * @returns A Promise of Domain
@@ -452,8 +441,7 @@ class API extends api.API {
452
441
  marshalling_gen.unmarshalDomain
453
442
  );
454
443
  /**
455
- * Delete a domain name binding. Delete a domain name binding for the function
456
- * with the specified ID.
444
+ * Delete a domain name binding. Delete a domain name binding for the function with the specified ID.
457
445
  *
458
446
  * @param request - The request {@link DeleteDomainRequest}
459
447
  * @returns A Promise of Domain
@@ -619,8 +607,7 @@ class API extends api.API {
619
607
  marshalling_gen.unmarshalListTriggersResponse
620
608
  );
621
609
  /**
622
- * List all triggers. List all triggers belonging to a specified Organization
623
- * or Project.
610
+ * List all triggers. List all triggers belonging to a specified Organization or Project.
624
611
  *
625
612
  * @param request - The request {@link ListTriggersRequest}
626
613
  * @returns A Promise of ListTriggersResponse
@@ -1,18 +1,17 @@
1
- import { API as ParentAPI } from '../../../bridge';
2
- import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
1
+ import { API as ParentAPI } from '@scaleway/sdk-client';
2
+ import type { Region as ScwRegion, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { CreateCronRequest, CreateDomainRequest, CreateFunctionRequest, CreateNamespaceRequest, CreateTokenRequest, CreateTriggerRequest, Cron, DeleteCronRequest, DeleteDomainRequest, DeleteFunctionRequest, DeleteNamespaceRequest, DeleteTokenRequest, DeleteTriggerRequest, DeployFunctionRequest, Domain, DownloadURL, Function, GetCronRequest, GetDomainRequest, GetFunctionDownloadURLRequest, GetFunctionRequest, GetFunctionUploadURLRequest, GetNamespaceRequest, GetTokenRequest, GetTriggerRequest, ListCronsRequest, ListCronsResponse, ListDomainsRequest, ListDomainsResponse, ListFunctionRuntimesRequest, ListFunctionRuntimesResponse, ListFunctionsRequest, ListFunctionsResponse, ListNamespacesRequest, ListNamespacesResponse, ListTokensRequest, ListTokensResponse, ListTriggersRequest, ListTriggersResponse, Namespace, Token, Trigger, UpdateCronRequest, UpdateFunctionRequest, UpdateNamespaceRequest, UpdateTriggerRequest, UploadURL } from './types.gen';
4
4
  /**
5
5
  * Serverless Functions API.
6
- *
7
- * This API allows you to manage your Serverless Functions.
6
+
7
+ This API allows you to manage your Serverless Functions.
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available regions of the API. */
11
11
  static readonly LOCALITIES: ScwRegion[];
12
12
  protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest>) => Promise<ListNamespacesResponse>;
13
13
  /**
14
- * List all your namespaces. List all existing namespaces in the specified
15
- * region.
14
+ * List all your namespaces. List all existing namespaces in the specified region.
16
15
  *
17
16
  * @param request - The request {@link ListNamespacesRequest}
18
17
  * @returns A Promise of ListNamespacesResponse
@@ -37,24 +36,21 @@ export declare class API extends ParentAPI {
37
36
  */
38
37
  waitForNamespace: (request: Readonly<GetNamespaceRequest>, options?: Readonly<WaitForOptions<Namespace>>) => Promise<Namespace>;
39
38
  /**
40
- * Create a new namespace. Create a new namespace in a specified Organization
41
- * or Project.
39
+ * Create a new namespace. Create a new namespace in a specified Organization or Project.
42
40
  *
43
41
  * @param request - The request {@link CreateNamespaceRequest}
44
42
  * @returns A Promise of Namespace
45
43
  */
46
44
  createNamespace: (request?: Readonly<CreateNamespaceRequest>) => Promise<Namespace>;
47
45
  /**
48
- * Update an existing namespace. Update the namespace associated with the
49
- * specified ID.
46
+ * Update an existing namespace. Update the namespace associated with the specified ID.
50
47
  *
51
48
  * @param request - The request {@link UpdateNamespaceRequest}
52
49
  * @returns A Promise of Namespace
53
50
  */
54
51
  updateNamespace: (request: Readonly<UpdateNamespaceRequest>) => Promise<Namespace>;
55
52
  /**
56
- * Delete an existing namespace. Delete the namespace associated with the
57
- * specified ID.
53
+ * Delete an existing namespace. Delete the namespace associated with the specified ID.
58
54
  *
59
55
  * @param request - The request {@link DeleteNamespaceRequest}
60
56
  * @returns A Promise of Namespace
@@ -87,16 +83,14 @@ export declare class API extends ParentAPI {
87
83
  */
88
84
  waitForFunction: (request: Readonly<GetFunctionRequest>, options?: Readonly<WaitForOptions<Function>>) => Promise<Function>;
89
85
  /**
90
- * Create a new function. Create a new function in the specified region for a
91
- * specified Organization or Project.
86
+ * Create a new function. Create a new function in the specified region for a specified Organization or Project.
92
87
  *
93
88
  * @param request - The request {@link CreateFunctionRequest}
94
89
  * @returns A Promise of Function
95
90
  */
96
91
  createFunction: (request: Readonly<CreateFunctionRequest>) => Promise<Function>;
97
92
  /**
98
- * Update an existing function. Update the function associated with the
99
- * specified ID.
93
+ * Update an existing function. Update the function associated with the specified ID.
100
94
  *
101
95
  * @param request - The request {@link UpdateFunctionRequest}
102
96
  * @returns A Promise of Function
@@ -124,16 +118,14 @@ export declare class API extends ParentAPI {
124
118
  */
125
119
  listFunctionRuntimes: (request?: Readonly<ListFunctionRuntimesRequest>) => Promise<ListFunctionRuntimesResponse>;
126
120
  /**
127
- * Get an upload URL of a function. Get an upload URL of a function associated
128
- * with the specified ID.
121
+ * Get an upload URL of a function. Get an upload URL of a function associated with the specified ID.
129
122
  *
130
123
  * @param request - The request {@link GetFunctionUploadURLRequest}
131
124
  * @returns A Promise of UploadURL
132
125
  */
133
126
  getFunctionUploadURL: (request: Readonly<GetFunctionUploadURLRequest>) => Promise<UploadURL>;
134
127
  /**
135
- * Get a download URL of a function. Get a download URL for a function
136
- * associated with the specified ID.
128
+ * Get a download URL of a function. Get a download URL for a function associated with the specified ID.
137
129
  *
138
130
  * @param request - The request {@link GetFunctionDownloadURLRequest}
139
131
  * @returns A Promise of DownloadURL
@@ -166,8 +158,7 @@ export declare class API extends ParentAPI {
166
158
  */
167
159
  waitForCron: (request: Readonly<GetCronRequest>, options?: Readonly<WaitForOptions<Cron>>) => Promise<Cron>;
168
160
  /**
169
- * Create a new cron. Create a new cronjob for a function with the specified
170
- * ID.
161
+ * Create a new cron. Create a new cronjob for a function with the specified ID.
171
162
  *
172
163
  * @param request - The request {@link CreateCronRequest}
173
164
  * @returns A Promise of Cron
@@ -189,8 +180,7 @@ export declare class API extends ParentAPI {
189
180
  deleteCron: (request: Readonly<DeleteCronRequest>) => Promise<Cron>;
190
181
  protected pageOfListDomains: (request: Readonly<ListDomainsRequest>) => Promise<ListDomainsResponse>;
191
182
  /**
192
- * List all domain name bindings. List all domain name bindings in a specified
193
- * region.
183
+ * List all domain name bindings. List all domain name bindings in a specified region.
194
184
  *
195
185
  * @param request - The request {@link ListDomainsRequest}
196
186
  * @returns A Promise of ListDomainsResponse
@@ -200,8 +190,7 @@ export declare class API extends ParentAPI {
200
190
  [Symbol.asyncIterator]: () => AsyncGenerator<Domain[], void, void>;
201
191
  };
202
192
  /**
203
- * Get a domain name binding. Get a domain name binding for the function with
204
- * the specified ID.
193
+ * Get a domain name binding. Get a domain name binding for the function with the specified ID.
205
194
  *
206
195
  * @param request - The request {@link GetDomainRequest}
207
196
  * @returns A Promise of Domain
@@ -216,16 +205,14 @@ export declare class API extends ParentAPI {
216
205
  */
217
206
  waitForDomain: (request: Readonly<GetDomainRequest>, options?: Readonly<WaitForOptions<Domain>>) => Promise<Domain>;
218
207
  /**
219
- * Create a domain name binding. Create a domain name binding for the function
220
- * with the specified ID.
208
+ * Create a domain name binding. Create a domain name binding for the function with the specified ID.
221
209
  *
222
210
  * @param request - The request {@link CreateDomainRequest}
223
211
  * @returns A Promise of Domain
224
212
  */
225
213
  createDomain: (request: Readonly<CreateDomainRequest>) => Promise<Domain>;
226
214
  /**
227
- * Delete a domain name binding. Delete a domain name binding for the function
228
- * with the specified ID.
215
+ * Delete a domain name binding. Delete a domain name binding for the function with the specified ID.
229
216
  *
230
217
  * @param request - The request {@link DeleteDomainRequest}
231
218
  * @returns A Promise of Domain
@@ -295,8 +282,7 @@ export declare class API extends ParentAPI {
295
282
  waitForTrigger: (request: Readonly<GetTriggerRequest>, options?: Readonly<WaitForOptions<Trigger>>) => Promise<Trigger>;
296
283
  protected pageOfListTriggers: (request?: Readonly<ListTriggersRequest>) => Promise<ListTriggersResponse>;
297
284
  /**
298
- * List all triggers. List all triggers belonging to a specified Organization
299
- * or Project.
285
+ * List all triggers. List all triggers belonging to a specified Organization or Project.
300
286
  *
301
287
  * @param request - The request {@link ListTriggersRequest}
302
288
  * @returns A Promise of ListTriggersResponse
@@ -1,8 +1,9 @@
1
- import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
- import { API as API$1 } from "../../../scw/api.js";
3
- import { validatePathParam, urlParams, resolveOneOf } 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, resolveOneOf } 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 { NAMESPACE_TRANSIENT_STATUSES, FUNCTION_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES } from "./content.gen.js";
7
8
  import { unmarshalListNamespacesResponse, unmarshalNamespace, marshalCreateNamespaceRequest, marshalUpdateNamespaceRequest, unmarshalListFunctionsResponse, unmarshalFunction, marshalCreateFunctionRequest, marshalUpdateFunctionRequest, unmarshalListFunctionRuntimesResponse, unmarshalUploadURL, unmarshalDownloadURL, unmarshalListCronsResponse, unmarshalCron, marshalCreateCronRequest, marshalUpdateCronRequest, unmarshalListDomainsResponse, unmarshalDomain, marshalCreateDomainRequest, marshalCreateTokenRequest, unmarshalToken, unmarshalListTokensResponse, marshalCreateTriggerRequest, unmarshalTrigger, unmarshalListTriggersResponse, marshalUpdateTriggerRequest } from "./marshalling.gen.js";
8
9
  const jsonContentHeaders = {
@@ -34,8 +35,7 @@ class API extends API$1 {
34
35
  unmarshalListNamespacesResponse
35
36
  );
36
37
  /**
37
- * List all your namespaces. List all existing namespaces in the specified
38
- * region.
38
+ * List all your namespaces. List all existing namespaces in the specified region.
39
39
  *
40
40
  * @param request - The request {@link ListNamespacesRequest}
41
41
  * @returns A Promise of ListNamespacesResponse
@@ -70,8 +70,7 @@ class API extends API$1 {
70
70
  options
71
71
  );
72
72
  /**
73
- * Create a new namespace. Create a new namespace in a specified Organization
74
- * or Project.
73
+ * Create a new namespace. Create a new namespace in a specified Organization or Project.
75
74
  *
76
75
  * @param request - The request {@link CreateNamespaceRequest}
77
76
  * @returns A Promise of Namespace
@@ -88,8 +87,7 @@ class API extends API$1 {
88
87
  unmarshalNamespace
89
88
  );
90
89
  /**
91
- * Update an existing namespace. Update the namespace associated with the
92
- * specified ID.
90
+ * Update an existing namespace. Update the namespace associated with the specified ID.
93
91
  *
94
92
  * @param request - The request {@link UpdateNamespaceRequest}
95
93
  * @returns A Promise of Namespace
@@ -106,8 +104,7 @@ class API extends API$1 {
106
104
  unmarshalNamespace
107
105
  );
108
106
  /**
109
- * Delete an existing namespace. Delete the namespace associated with the
110
- * specified ID.
107
+ * Delete an existing namespace. Delete the namespace associated with the specified ID.
111
108
  *
112
109
  * @param request - The request {@link DeleteNamespaceRequest}
113
110
  * @returns A Promise of Namespace
@@ -174,8 +171,7 @@ class API extends API$1 {
174
171
  options
175
172
  );
176
173
  /**
177
- * Create a new function. Create a new function in the specified region for a
178
- * specified Organization or Project.
174
+ * Create a new function. Create a new function in the specified region for a specified Organization or Project.
179
175
  *
180
176
  * @param request - The request {@link CreateFunctionRequest}
181
177
  * @returns A Promise of Function
@@ -192,8 +188,7 @@ class API extends API$1 {
192
188
  unmarshalFunction
193
189
  );
194
190
  /**
195
- * Update an existing function. Update the function associated with the
196
- * specified ID.
191
+ * Update an existing function. Update the function associated with the specified ID.
197
192
  *
198
193
  * @param request - The request {@link UpdateFunctionRequest}
199
194
  * @returns A Promise of Function
@@ -251,8 +246,7 @@ class API extends API$1 {
251
246
  unmarshalListFunctionRuntimesResponse
252
247
  );
253
248
  /**
254
- * Get an upload URL of a function. Get an upload URL of a function associated
255
- * with the specified ID.
249
+ * Get an upload URL of a function. Get an upload URL of a function associated with the specified ID.
256
250
  *
257
251
  * @param request - The request {@link GetFunctionUploadURLRequest}
258
252
  * @returns A Promise of UploadURL
@@ -266,8 +260,7 @@ class API extends API$1 {
266
260
  unmarshalUploadURL
267
261
  );
268
262
  /**
269
- * Get a download URL of a function. Get a download URL for a function
270
- * associated with the specified ID.
263
+ * Get a download URL of a function. Get a download URL for a function associated with the specified ID.
271
264
  *
272
265
  * @param request - The request {@link GetFunctionDownloadURLRequest}
273
266
  * @returns A Promise of DownloadURL
@@ -331,8 +324,7 @@ class API extends API$1 {
331
324
  options
332
325
  );
333
326
  /**
334
- * Create a new cron. Create a new cronjob for a function with the specified
335
- * ID.
327
+ * Create a new cron. Create a new cronjob for a function with the specified ID.
336
328
  *
337
329
  * @param request - The request {@link CreateCronRequest}
338
330
  * @returns A Promise of Cron
@@ -395,16 +387,14 @@ class API extends API$1 {
395
387
  unmarshalListDomainsResponse
396
388
  );
397
389
  /**
398
- * List all domain name bindings. List all domain name bindings in a specified
399
- * region.
390
+ * List all domain name bindings. List all domain name bindings in a specified region.
400
391
  *
401
392
  * @param request - The request {@link ListDomainsRequest}
402
393
  * @returns A Promise of ListDomainsResponse
403
394
  */
404
395
  listDomains = (request) => enrichForPagination("domains", this.pageOfListDomains, request);
405
396
  /**
406
- * Get a domain name binding. Get a domain name binding for the function with
407
- * the specified ID.
397
+ * Get a domain name binding. Get a domain name binding for the function with the specified ID.
408
398
  *
409
399
  * @param request - The request {@link GetDomainRequest}
410
400
  * @returns A Promise of Domain
@@ -432,8 +422,7 @@ class API extends API$1 {
432
422
  options
433
423
  );
434
424
  /**
435
- * Create a domain name binding. Create a domain name binding for the function
436
- * with the specified ID.
425
+ * Create a domain name binding. Create a domain name binding for the function with the specified ID.
437
426
  *
438
427
  * @param request - The request {@link CreateDomainRequest}
439
428
  * @returns A Promise of Domain
@@ -450,8 +439,7 @@ class API extends API$1 {
450
439
  unmarshalDomain
451
440
  );
452
441
  /**
453
- * Delete a domain name binding. Delete a domain name binding for the function
454
- * with the specified ID.
442
+ * Delete a domain name binding. Delete a domain name binding for the function with the specified ID.
455
443
  *
456
444
  * @param request - The request {@link DeleteDomainRequest}
457
445
  * @returns A Promise of Domain
@@ -617,8 +605,7 @@ class API extends API$1 {
617
605
  unmarshalListTriggersResponse
618
606
  );
619
607
  /**
620
- * List all triggers. List all triggers belonging to a specified Organization
621
- * or Project.
608
+ * List all triggers. List all triggers belonging to a specified Organization or Project.
622
609
  *
623
610
  * @param request - The request {@link ListTriggersRequest}
624
611
  * @returns A Promise of ListTriggersResponse
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
- const json = require("../../../helpers/json.cjs");
5
- const marshalling = require("../../../helpers/marshalling.cjs");
6
- require("../../../vendor/base64/index.cjs");
4
+ require("../../../client/dist/internal/logger/index.cjs");
5
+ const json = require("../../../client/dist/helpers/json.cjs");
6
+ const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
7
+ require("../../../client/dist/vendor/base64/index.cjs");
7
8
  const unmarshalCron = (data) => {
8
9
  if (!json.isJSONObject(data)) {
9
10
  throw new TypeError(
@@ -1,4 +1,4 @@
1
- import type { DefaultValues } from '../../../bridge';
1
+ import type { DefaultValues } from '@scaleway/sdk-client';
2
2
  import type { CreateCronRequest, CreateDomainRequest, CreateFunctionRequest, CreateNamespaceRequest, CreateTokenRequest, CreateTriggerRequest, Cron, Domain, DownloadURL, Function, ListCronsResponse, ListDomainsResponse, ListFunctionRuntimesResponse, ListFunctionsResponse, ListNamespacesResponse, ListTokensResponse, ListTriggersResponse, Namespace, Token, Trigger, UpdateCronRequest, UpdateFunctionRequest, UpdateNamespaceRequest, UpdateTriggerRequest, UploadURL } from './types.gen';
3
3
  export declare const unmarshalCron: (data: unknown) => Cron;
4
4
  export declare const unmarshalDomain: (data: unknown) => Domain;
@@ -1,7 +1,8 @@
1
1
  import randomName from "@scaleway/random-name";
2
- import { isJSONObject } from "../../../helpers/json.js";
3
- import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../helpers/marshalling.js";
4
- import "../../../vendor/base64/index.js";
2
+ import "../../../client/dist/internal/logger/index.js";
3
+ import { isJSONObject } from "../../../client/dist/helpers/json.js";
4
+ import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
5
+ import "../../../client/dist/vendor/base64/index.js";
5
6
  const unmarshalCron = (data) => {
6
7
  if (!isJSONObject(data)) {
7
8
  throw new TypeError(