@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,7 +1,8 @@
1
- import { API as API$1 } from "../../../scw/api.js";
2
- import { urlParams, validatePathParam, resolveOneOf } from "../../../helpers/marshalling.js";
3
- import "../../../vendor/base64/index.js";
4
- import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
1
+ import "../../../client/dist/internal/logger/index.js";
2
+ import { API as API$1 } from "../../../client/dist/scw/api.js";
3
+ import { urlParams, validatePathParam, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
4
+ import "../../../client/dist/vendor/base64/index.js";
5
+ import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
5
6
  import { unmarshalListSSHKeysResponse, marshalCreateSSHKeyRequest, unmarshalSSHKey, marshalUpdateSSHKeyRequest, unmarshalListUsersResponse, unmarshalUser, marshalUpdateUserRequest, marshalCreateUserRequest, marshalUpdateUserUsernameRequest, marshalUpdateUserPasswordRequest, unmarshalMFAOTP, marshalValidateUserMFAOTPRequest, unmarshalValidateUserMFAOTPResponse, unmarshalListGracePeriodsResponse, unmarshalGetUserConnectionsResponse, unmarshalListApplicationsResponse, marshalCreateApplicationRequest, unmarshalApplication, marshalUpdateApplicationRequest, unmarshalListGroupsResponse, marshalCreateGroupRequest, unmarshalGroup, marshalUpdateGroupRequest, marshalSetGroupMembersRequest, marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalRemoveGroupMemberRequest, unmarshalListPoliciesResponse, marshalCreatePolicyRequest, unmarshalPolicy, marshalUpdatePolicyRequest, marshalSetRulesRequest, unmarshalSetRulesResponse, unmarshalListRulesResponse, unmarshalListPermissionSetsResponse, unmarshalListAPIKeysResponse, marshalCreateAPIKeyRequest, unmarshalAPIKey, marshalUpdateAPIKeyRequest, unmarshalListQuotaResponse, unmarshalQuotum, unmarshalListJWTsResponse, marshalCreateJWTRequest, unmarshalEncodedJWT, unmarshalJWT, unmarshalListLogsResponse, unmarshalLog, unmarshalOrganizationSecuritySettings, marshalUpdateOrganizationSecuritySettingsRequest } from "./marshalling.gen.js";
6
7
  const jsonContentHeaders = {
7
8
  "Content-Type": "application/json; charset=utf-8"
@@ -27,18 +28,14 @@ class API extends API$1 {
27
28
  unmarshalListSSHKeysResponse
28
29
  );
29
30
  /**
30
- * List SSH keys. List SSH keys. By default, the SSH keys listed are ordered
31
- * by creation date in ascending order. This can be modified via the
32
- * `order_by` field. You can define additional parameters for your query such
33
- * as `organization_id`, `name`, `project_id` and `disabled`.
31
+ * List SSH keys. List SSH keys. By default, the SSH keys listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters for your query such as `organization_id`, `name`, `project_id` and `disabled`.
34
32
  *
35
33
  * @param request - The request {@link ListSSHKeysRequest}
36
34
  * @returns A Promise of ListSSHKeysResponse
37
35
  */
38
36
  listSSHKeys = (request = {}) => enrichForPagination("sshKeys", this.pageOfListSSHKeys, request);
39
37
  /**
40
- * Create an SSH key. Add a new SSH key to a Scaleway Project. You must
41
- * specify the `name`, `public_key` and `project_id`.
38
+ * Create an SSH key. Add a new SSH key to a Scaleway Project. You must specify the `name`, `public_key` and `project_id`.
42
39
  *
43
40
  * @param request - The request {@link CreateSSHKeyRequest}
44
41
  * @returns A Promise of SSHKey
@@ -55,9 +52,7 @@ class API extends API$1 {
55
52
  unmarshalSSHKey
56
53
  );
57
54
  /**
58
- * Get an SSH key. Retrieve information about a given SSH key, specified by
59
- * the `ssh_key_id` parameter. The SSH key's full details, including `id`,
60
- * `name`, `public_key`, and `project_id` are returned in the response.
55
+ * Get an SSH key. Retrieve information about a given SSH key, specified by the `ssh_key_id` parameter. The SSH key's full details, including `id`, `name`, `public_key`, and `project_id` are returned in the response.
61
56
  *
62
57
  * @param request - The request {@link GetSSHKeyRequest}
63
58
  * @returns A Promise of SSHKey
@@ -70,8 +65,7 @@ class API extends API$1 {
70
65
  unmarshalSSHKey
71
66
  );
72
67
  /**
73
- * Update an SSH key. Update the parameters of an SSH key, including `name`
74
- * and `disable`.
68
+ * Update an SSH key. Update the parameters of an SSH key, including `name` and `disable`.
75
69
  *
76
70
  * @param request - The request {@link UpdateSSHKeyRequest}
77
71
  * @returns A Promise of SSHKey
@@ -88,9 +82,7 @@ class API extends API$1 {
88
82
  unmarshalSSHKey
89
83
  );
90
84
  /**
91
- * Delete an SSH key. Delete a given SSH key, specified by the `ssh_key_id`.
92
- * Deleting an SSH is permanent, and cannot be undone. Note that you might
93
- * need to update any configurations that used the SSH key.
85
+ * Delete an SSH key. Delete a given SSH key, specified by the `ssh_key_id`. Deleting an SSH is permanent, and cannot be undone. Note that you might need to update any configurations that used the SSH key.
94
86
  *
95
87
  * @param request - The request {@link DeleteSSHKeyRequest}
96
88
  */
@@ -122,20 +114,14 @@ class API extends API$1 {
122
114
  unmarshalListUsersResponse
123
115
  );
124
116
  /**
125
- * List users of an Organization. List the users of an Organization. By
126
- * default, the users listed are ordered by creation date in ascending order.
127
- * This can be modified via the `order_by` field. You must define the
128
- * `organization_id` in the query path of your request. You can also define
129
- * additional parameters for your query such as `user_ids`.
117
+ * List users of an Organization. List the users of an Organization. By default, the users listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `user_ids`.
130
118
  *
131
119
  * @param request - The request {@link ListUsersRequest}
132
120
  * @returns A Promise of ListUsersResponse
133
121
  */
134
122
  listUsers = (request = {}) => enrichForPagination("users", this.pageOfListUsers, request);
135
123
  /**
136
- * Get a given user. Retrieve information about a user, specified by the
137
- * `user_id` parameter. The user's full details, including `id`, `email`,
138
- * `organization_id`, `status` and `mfa` are returned in the response.
124
+ * Get a given user. Retrieve information about a user, specified by the `user_id` parameter. The user's full details, including `id`, `email`, `organization_id`, `status` and `mfa` are returned in the response.
139
125
  *
140
126
  * @param request - The request {@link GetUserRequest}
141
127
  * @returns A Promise of User
@@ -165,11 +151,7 @@ class API extends API$1 {
165
151
  unmarshalUser
166
152
  );
167
153
  /**
168
- * Delete a guest user from an Organization. Remove a user from an
169
- * Organization in which they are a guest. You must define the `user_id` in
170
- * your request. Note that removing a user from an Organization automatically
171
- * deletes their API keys, and any policies directly attached to them become
172
- * orphaned.
154
+ * Delete a guest user from an Organization. Remove a user from an Organization in which they are a guest. You must define the `user_id` in your request. Note that removing a user from an Organization automatically deletes their API keys, and any policies directly attached to them become orphaned.
173
155
  *
174
156
  * @param request - The request {@link DeleteUserRequest}
175
157
  */
@@ -178,8 +160,7 @@ class API extends API$1 {
178
160
  path: `/iam/v1alpha1/users/${validatePathParam("userId", request.userId)}`
179
161
  });
180
162
  /**
181
- * Create a new user. Create a new user. You must define the `organization_id`
182
- * and the `email` in your request.
163
+ * Create a new user. Create a new user. You must define the `organization_id` in your request. If you are adding a member, enter the member's details. If you are adding a guest, you must define the `email` and not add the member attribute.
183
164
  *
184
165
  * @param request - The request {@link CreateUserRequest}
185
166
  * @returns A Promise of User
@@ -196,8 +177,7 @@ class API extends API$1 {
196
177
  unmarshalUser
197
178
  );
198
179
  /**
199
- * Update an user's username. Private Beta feature.. Update an user's
200
- * username. Private Beta feature.
180
+ * Update an user's username.. Update an user's username.
201
181
  *
202
182
  * @param request - The request {@link UpdateUserUsernameRequest}
203
183
  * @returns A Promise of User
@@ -214,8 +194,7 @@ class API extends API$1 {
214
194
  unmarshalUser
215
195
  );
216
196
  /**
217
- * Update an user's password. Private Beta feature.. Update an user's
218
- * password. Private Beta feature.
197
+ * Update an user's password.. Update an user's password.
219
198
  *
220
199
  * @param request - The request {@link UpdateUserPasswordRequest}
221
200
  * @returns A Promise of User
@@ -232,8 +211,7 @@ class API extends API$1 {
232
211
  unmarshalUser
233
212
  );
234
213
  /**
235
- * Create a MFA OTP. Private Beta feature.. Create a MFA OTP. Private Beta
236
- * feature.
214
+ * Create a MFA OTP.. Create a MFA OTP.
237
215
  *
238
216
  * @param request - The request {@link CreateUserMFAOTPRequest}
239
217
  * @returns A Promise of MFAOTP
@@ -248,8 +226,7 @@ class API extends API$1 {
248
226
  unmarshalMFAOTP
249
227
  );
250
228
  /**
251
- * Validate a MFA OTP. Private Beta feature.. Validate a MFA OTP. Private Beta
252
- * feature.
229
+ * Validate a MFA OTP.. Validate a MFA OTP.
253
230
  *
254
231
  * @param request - The request {@link ValidateUserMFAOTPRequest}
255
232
  * @returns A Promise of ValidateUserMFAOTPResponse
@@ -266,8 +243,7 @@ class API extends API$1 {
266
243
  unmarshalValidateUserMFAOTPResponse
267
244
  );
268
245
  /**
269
- * Delete a MFA OTP. Private Beta feature.. Delete a MFA OTP. Private Beta
270
- * feature.
246
+ * Delete a MFA OTP.. Delete a MFA OTP.
271
247
  *
272
248
  * @param request - The request {@link DeleteUserMFAOTPRequest}
273
249
  */
@@ -278,8 +254,7 @@ class API extends API$1 {
278
254
  path: `/iam/v1alpha1/users/${validatePathParam("userId", request.userId)}/mfa-otp`
279
255
  });
280
256
  /**
281
- * Lock a member. Lock a member. A locked member cannot log in or use API keys
282
- * until the locked status is removed. Private Beta feature.
257
+ * Lock a member. Lock a member. A locked member cannot log in or use API keys until the locked status is removed.
283
258
  *
284
259
  * @param request - The request {@link LockUserRequest}
285
260
  * @returns A Promise of User
@@ -294,7 +269,7 @@ class API extends API$1 {
294
269
  unmarshalUser
295
270
  );
296
271
  /**
297
- * Unlock a member. Unlock a member. Private Beta feature.
272
+ * Unlock a member.
298
273
  *
299
274
  * @param request - The request {@link UnlockUserRequest}
300
275
  * @returns A Promise of User
@@ -309,8 +284,7 @@ class API extends API$1 {
309
284
  unmarshalUser
310
285
  );
311
286
  /**
312
- * List grace periods of a member. List the grace periods of a member. Private
313
- * Beta feature.
287
+ * List grace periods of a member. List the grace periods of a member.
314
288
  *
315
289
  * @param request - The request {@link ListGracePeriodsRequest}
316
290
  * @returns A Promise of ListGracePeriodsResponse
@@ -354,20 +328,14 @@ class API extends API$1 {
354
328
  unmarshalListApplicationsResponse
355
329
  );
356
330
  /**
357
- * List applications of an Organization. List the applications of an
358
- * Organization. By default, the applications listed are ordered by creation
359
- * date in ascending order. This can be modified via the `order_by` field. You
360
- * must define the `organization_id` in the query path of your request. You
361
- * can also define additional parameters for your query such as
362
- * `application_ids`.
331
+ * List applications of an Organization. List the applications of an Organization. By default, the applications listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `application_ids`.
363
332
  *
364
333
  * @param request - The request {@link ListApplicationsRequest}
365
334
  * @returns A Promise of ListApplicationsResponse
366
335
  */
367
336
  listApplications = (request = {}) => enrichForPagination("applications", this.pageOfListApplications, request);
368
337
  /**
369
- * Create a new application. Create a new application. You must define the
370
- * `name` parameter in the request.
338
+ * Create a new application. Create a new application. You must define the `name` parameter in the request.
371
339
  *
372
340
  * @param request - The request {@link CreateApplicationRequest}
373
341
  * @returns A Promise of Application
@@ -384,10 +352,7 @@ class API extends API$1 {
384
352
  unmarshalApplication
385
353
  );
386
354
  /**
387
- * Get a given application. Retrieve information about an application,
388
- * specified by the `application_id` parameter. The application's full
389
- * details, including `id`, `email`, `organization_id`, `status` and
390
- * `two_factor_enabled` are returned in the response.
355
+ * Get a given application. Retrieve information about an application, specified by the `application_id` parameter. The application's full details, including `id`, `email`, `organization_id`, `status` and `two_factor_enabled` are returned in the response.
391
356
  *
392
357
  * @param request - The request {@link GetApplicationRequest}
393
358
  * @returns A Promise of Application
@@ -400,8 +365,7 @@ class API extends API$1 {
400
365
  unmarshalApplication
401
366
  );
402
367
  /**
403
- * Update an application. Update the parameters of an application, including
404
- * `name` and `description`.
368
+ * Update an application. Update the parameters of an application, including `name` and `description`.
405
369
  *
406
370
  * @param request - The request {@link UpdateApplicationRequest}
407
371
  * @returns A Promise of Application
@@ -418,10 +382,7 @@ class API extends API$1 {
418
382
  unmarshalApplication
419
383
  );
420
384
  /**
421
- * Delete an application. Delete an application. Note that this action is
422
- * irreversible and will automatically delete the application's API keys.
423
- * Policies attached to users and applications via this group will no longer
424
- * apply.
385
+ * Delete an application. Delete an application. Note that this action is irreversible and will automatically delete the application's API keys. Policies attached to users and applications via this group will no longer apply.
425
386
  *
426
387
  * @param request - The request {@link DeleteApplicationRequest}
427
388
  */
@@ -454,19 +415,14 @@ class API extends API$1 {
454
415
  unmarshalListGroupsResponse
455
416
  );
456
417
  /**
457
- * List groups. List groups. By default, the groups listed are ordered by
458
- * creation date in ascending order. This can be modified via the `order_by`
459
- * field. You can define additional parameters to filter your query. Use
460
- * `user_ids` or `application_ids` to list all groups certain users or
461
- * applications belong to.
418
+ * List groups. List groups. By default, the groups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters to filter your query. Use `user_ids` or `application_ids` to list all groups certain users or applications belong to.
462
419
  *
463
420
  * @param request - The request {@link ListGroupsRequest}
464
421
  * @returns A Promise of ListGroupsResponse
465
422
  */
466
423
  listGroups = (request = {}) => enrichForPagination("groups", this.pageOfListGroups, request);
467
424
  /**
468
- * Create a group. Create a new group. You must define the `name` and
469
- * `organization_id` parameters in the request.
425
+ * Create a group. Create a new group. You must define the `name` and `organization_id` parameters in the request.
470
426
  *
471
427
  * @param request - The request {@link CreateGroupRequest}
472
428
  * @returns A Promise of Group
@@ -483,9 +439,7 @@ class API extends API$1 {
483
439
  unmarshalGroup
484
440
  );
485
441
  /**
486
- * Get a group. Retrive information about a given group, specified by the
487
- * `group_id` parameter. The group's full details, including `user_ids` and
488
- * `application_ids` are returned in the response.
442
+ * Get a group. Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
489
443
  *
490
444
  * @param request - The request {@link GetGroupRequest}
491
445
  * @returns A Promise of Group
@@ -498,8 +452,7 @@ class API extends API$1 {
498
452
  unmarshalGroup
499
453
  );
500
454
  /**
501
- * Update a group. Update the parameters of group, including `name` and
502
- * `description`.
455
+ * Update a group. Update the parameters of group, including `name` and `description`.
503
456
  *
504
457
  * @param request - The request {@link UpdateGroupRequest}
505
458
  * @returns A Promise of Group
@@ -516,9 +469,7 @@ class API extends API$1 {
516
469
  unmarshalGroup
517
470
  );
518
471
  /**
519
- * Overwrite users and applications of a group. Overwrite users and
520
- * applications configuration in a group. Any information that you add using
521
- * this command will overwrite the previous configuration.
472
+ * Overwrite users and applications of a group. Overwrite users and applications configuration in a group. Any information that you add using this command will overwrite the previous configuration.
522
473
  *
523
474
  * @param request - The request {@link SetGroupMembersRequest}
524
475
  * @returns A Promise of Group
@@ -535,9 +486,7 @@ class API extends API$1 {
535
486
  unmarshalGroup
536
487
  );
537
488
  /**
538
- * Add a user or an application to a group. Add a user or an application to a
539
- * group. You can specify a `user_id` and and `application_id` in the body of
540
- * your request. Note that you can only add one of each per request.
489
+ * Add a user or an application to a group. Add a user or an application to a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only add one of each per request.
541
490
  *
542
491
  * @param request - The request {@link AddGroupMemberRequest}
543
492
  * @returns A Promise of Group
@@ -554,12 +503,7 @@ class API extends API$1 {
554
503
  unmarshalGroup
555
504
  );
556
505
  /**
557
- * Add multiple users and applications to a group. Add multiple users and
558
- * applications to a group in a single call. You can specify an array of
559
- * `user_id`s and `application_id`s. Note that any existing users and
560
- * applications in the group will remain. To add new users/applications and
561
- * delete pre-existing ones, use the [Overwrite users and applications of a
562
- * group](#path-groups-overwrite-users-and-applications-of-a-group) method.
506
+ * Add multiple users and applications to a group. Add multiple users and applications to a group in a single call. You can specify an array of `user_id`s and `application_id`s. Note that any existing users and applications in the group will remain. To add new users/applications and delete pre-existing ones, use the [Overwrite users and applications of a group](#path-groups-overwrite-users-and-applications-of-a-group) method.
563
507
  *
564
508
  * @param request - The request {@link AddGroupMembersRequest}
565
509
  * @returns A Promise of Group
@@ -576,13 +520,7 @@ class API extends API$1 {
576
520
  unmarshalGroup
577
521
  );
578
522
  /**
579
- * Remove a user or an application from a group. Remove a user or an
580
- * application from a group. You can specify a `user_id` and and
581
- * `application_id` in the body of your request. Note that you can only remove
582
- * one of each per request. Removing a user from a group means that any
583
- * permissions given to them via the group (i.e. from an attached policy) will
584
- * no longer apply. Be sure you want to remove these permissions from the user
585
- * before proceeding.
523
+ * Remove a user or an application from a group. Remove a user or an application from a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding.
586
524
  *
587
525
  * @param request - The request {@link RemoveGroupMemberRequest}
588
526
  * @returns A Promise of Group
@@ -599,9 +537,7 @@ class API extends API$1 {
599
537
  unmarshalGroup
600
538
  );
601
539
  /**
602
- * Delete a group. Delete a group. Note that this action is irreversible and
603
- * could delete permissions for group members. Policies attached to users and
604
- * applications via this group will no longer apply.
540
+ * Delete a group. Delete a group. Note that this action is irreversible and could delete permissions for group members. Policies attached to users and applications via this group will no longer apply.
605
541
  *
606
542
  * @param request - The request {@link DeleteGroupRequest}
607
543
  */
@@ -637,22 +573,14 @@ class API extends API$1 {
637
573
  unmarshalListPoliciesResponse
638
574
  );
639
575
  /**
640
- * List policies of an Organization. List the policies of an Organization. By
641
- * default, the policies listed are ordered by creation date in ascending
642
- * order. This can be modified via the `order_by` field. You must define the
643
- * `organization_id` in the query path of your request. You can also define
644
- * additional parameters to filter your query, such as `user_ids`,
645
- * `groups_ids`, `application_ids`, and `policy_name`.
576
+ * List policies of an Organization. List the policies of an Organization. By default, the policies listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters to filter your query, such as `user_ids`, `groups_ids`, `application_ids`, and `policy_name`.
646
577
  *
647
578
  * @param request - The request {@link ListPoliciesRequest}
648
579
  * @returns A Promise of ListPoliciesResponse
649
580
  */
650
581
  listPolicies = (request = {}) => enrichForPagination("policies", this.pageOfListPolicies, request);
651
582
  /**
652
- * Create a new policy. Create a new application. You must define the `name`
653
- * parameter in the request. You can specify parameters such as `user_id`,
654
- * `groups_id`, `application_id`, `no_principal`, `rules` and its child
655
- * attributes.
583
+ * Create a new policy. Create a new application. You must define the `name` parameter in the request. You can specify parameters such as `user_id`, `groups_id`, `application_id`, `no_principal`, `rules` and its child attributes.
656
584
  *
657
585
  * @param request - The request {@link CreatePolicyRequest}
658
586
  * @returns A Promise of Policy
@@ -669,10 +597,7 @@ class API extends API$1 {
669
597
  unmarshalPolicy
670
598
  );
671
599
  /**
672
- * Get an existing policy. Retrieve information about a policy, speficified by
673
- * the `policy_id` parameter. The policy's full details, including `id`,
674
- * `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets`
675
- * are returned in the response.
600
+ * Get an existing policy. Retrieve information about a policy, speficified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response.
676
601
  *
677
602
  * @param request - The request {@link GetPolicyRequest}
678
603
  * @returns A Promise of Policy
@@ -685,9 +610,7 @@ class API extends API$1 {
685
610
  unmarshalPolicy
686
611
  );
687
612
  /**
688
- * Update an existing policy. Update the parameters of a policy, including
689
- * `name`, `description`, `user_id`, `group_id`, `application_id` and
690
- * `no_principal`.
613
+ * Update an existing policy. Update the parameters of a policy, including `name`, `description`, `user_id`, `group_id`, `application_id` and `no_principal`.
691
614
  *
692
615
  * @param request - The request {@link UpdatePolicyRequest}
693
616
  * @returns A Promise of Policy
@@ -704,10 +627,7 @@ class API extends API$1 {
704
627
  unmarshalPolicy
705
628
  );
706
629
  /**
707
- * Delete a policy. Delete a policy. You must define specify the `policy_id`
708
- * parameter in your request. Note that when deleting a policy, all
709
- * permissions it gives to its principal (user, group or application) will be
710
- * revoked.
630
+ * Delete a policy. Delete a policy. You must define specify the `policy_id` parameter in your request. Note that when deleting a policy, all permissions it gives to its principal (user, group or application) will be revoked.
711
631
  *
712
632
  * @param request - The request {@link DeletePolicyRequest}
713
633
  */
@@ -716,8 +636,7 @@ class API extends API$1 {
716
636
  path: `/iam/v1alpha1/policies/${validatePathParam("policyId", request.policyId)}`
717
637
  });
718
638
  /**
719
- * Clone a policy. Clone a policy. You must define specify the `policy_id`
720
- * parameter in your request.
639
+ * Clone a policy. Clone a policy. You must define specify the `policy_id` parameter in your request.
721
640
  *
722
641
  * @param request - The request {@link ClonePolicyRequest}
723
642
  * @returns A Promise of Policy
@@ -732,12 +651,7 @@ class API extends API$1 {
732
651
  unmarshalPolicy
733
652
  );
734
653
  /**
735
- * Set rules of a given policy. Overwrite the rules of a given policy. Any
736
- * information that you add using this command will overwrite the previous
737
- * configuration. If you include some of the rules you already had in your
738
- * previous configuration in your new one, but you change their order, the new
739
- * order of display will apply. While policy rules are ordered, they have no
740
- * impact on the access logic of IAM because rules are allow-only.
654
+ * Set rules of a given policy. Overwrite the rules of a given policy. Any information that you add using this command will overwrite the previous configuration. If you include some of the rules you already had in your previous configuration in your new one, but you change their order, the new order of display will apply. While policy rules are ordered, they have no impact on the access logic of IAM because rules are allow-only.
741
655
  *
742
656
  * @param request - The request {@link SetRulesRequest}
743
657
  * @returns A Promise of SetRulesResponse
@@ -769,10 +683,7 @@ class API extends API$1 {
769
683
  unmarshalListRulesResponse
770
684
  );
771
685
  /**
772
- * List rules of a given policy. List the rules of a given policy. By default,
773
- * the rules listed are ordered by creation date in ascending order. This can
774
- * be modified via the `order_by` field. You must define the `policy_id` in
775
- * the query path of your request.
686
+ * List rules of a given policy. List the rules of a given policy. By default, the rules listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `policy_id` in the query path of your request.
776
687
  *
777
688
  * @param request - The request {@link ListRulesRequest}
778
689
  * @returns A Promise of ListRulesResponse
@@ -798,9 +709,7 @@ class API extends API$1 {
798
709
  unmarshalListPermissionSetsResponse
799
710
  );
800
711
  /**
801
- * List permission sets. List permission sets available for given
802
- * Organization. You must define the `organization_id` in the query path of
803
- * your request.
712
+ * List permission sets. List permission sets available for given Organization. You must define the `organization_id` in the query path of your request.
804
713
  *
805
714
  * @param request - The request {@link ListPermissionSetsRequest}
806
715
  * @returns A Promise of ListPermissionSetsResponse
@@ -843,22 +752,14 @@ class API extends API$1 {
843
752
  unmarshalListAPIKeysResponse
844
753
  );
845
754
  /**
846
- * List API keys. List API keys. By default, the API keys listed are ordered
847
- * by creation date in ascending order. This can be modified via the
848
- * `order_by` field. You can define additional parameters for your query such
849
- * as `editable`, `expired`, `access_key` and `bearer_id`.
755
+ * List API keys. List API keys. By default, the API keys listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters for your query such as `editable`, `expired`, `access_key` and `bearer_id`.
850
756
  *
851
757
  * @param request - The request {@link ListAPIKeysRequest}
852
758
  * @returns A Promise of ListAPIKeysResponse
853
759
  */
854
760
  listAPIKeys = (request = {}) => enrichForPagination("apiKeys", this.pageOfListAPIKeys, request);
855
761
  /**
856
- * Create an API key. Create an API key. You must specify the `application_id`
857
- * or the `user_id` and the description. You can also specify the
858
- * `default_project_id`, which is the Project ID of your preferred Project, to
859
- * use with Object Storage. The `access_key` and `secret_key` values are
860
- * returned in the response. Note that the secret key is only shown once. Make
861
- * sure that you copy and store both keys somewhere safe.
762
+ * Create an API key. Create an API key. You must specify the `application_id` or the `user_id` and the description. You can also specify the `default_project_id`, which is the Project ID of your preferred Project, to use with Object Storage. The `access_key` and `secret_key` values are returned in the response. Note that the secret key is only shown once. Make sure that you copy and store both keys somewhere safe.
862
763
  *
863
764
  * @param request - The request {@link CreateAPIKeyRequest}
864
765
  * @returns A Promise of APIKey
@@ -875,12 +776,7 @@ class API extends API$1 {
875
776
  unmarshalAPIKey
876
777
  );
877
778
  /**
878
- * Get an API key. Retrive information about an API key, specified by the
879
- * `access_key` parameter. The API key's details, including either the
880
- * `user_id` or `application_id` of its bearer are returned in the response.
881
- * Note that the string value for the `secret_key` is nullable, and therefore
882
- * is not displayed in the response. The `secret_key` value is only displayed
883
- * upon API key creation.
779
+ * Get an API key. Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
884
780
  *
885
781
  * @param request - The request {@link GetAPIKeyRequest}
886
782
  * @returns A Promise of APIKey
@@ -893,8 +789,7 @@ class API extends API$1 {
893
789
  unmarshalAPIKey
894
790
  );
895
791
  /**
896
- * Update an API key. Update the parameters of an API key, including
897
- * `default_project_id` and `description`.
792
+ * Update an API key. Update the parameters of an API key, including `default_project_id` and `description`.
898
793
  *
899
794
  * @param request - The request {@link UpdateAPIKeyRequest}
900
795
  * @returns A Promise of APIKey
@@ -911,9 +806,7 @@ class API extends API$1 {
911
806
  unmarshalAPIKey
912
807
  );
913
808
  /**
914
- * Delete an API key. Delete an API key. Note that this action is irreversible
915
- * and cannot be undone. Make sure you update any configurations using the API
916
- * keys you delete.
809
+ * Delete an API key. Delete an API key. Note that this action is irreversible and cannot be undone. Make sure you update any configurations using the API keys you delete.
917
810
  *
918
811
  * @param request - The request {@link DeleteAPIKeyRequest}
919
812
  */
@@ -942,20 +835,14 @@ class API extends API$1 {
942
835
  unmarshalListQuotaResponse
943
836
  );
944
837
  /**
945
- * List all quotas in the Organization. List all product and features quota
946
- * for an Organization, with their associated limits. By default, the quota
947
- * listed are ordered by creation date in ascending order. This can be
948
- * modified via the `order_by` field. You must define the `organization_id` in
949
- * the query path of your request.
838
+ * List all quotas in the Organization. List all product and features quota for an Organization, with their associated limits. By default, the quota listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request.
950
839
  *
951
840
  * @param request - The request {@link ListQuotaRequest}
952
841
  * @returns A Promise of ListQuotaResponse
953
842
  */
954
843
  listQuota = (request = {}) => enrichForPagination("quota", this.pageOfListQuota, request);
955
844
  /**
956
- * Get a quota in the Organization. Retrieve information about a resource
957
- * quota, specified by the `quotum_name` parameter. The quota's `limit`, or
958
- * whether it is unlimited, is returned in the response.
845
+ * Get a quota in the Organization. Retrieve information about a resource quota, specified by the `quotum_name` parameter. The quota's `limit`, or whether it is unlimited, is returned in the response.
959
846
  *
960
847
  * @param request - The request {@link GetQuotumRequest}
961
848
  * @returns A Promise of Quotum
@@ -1059,18 +946,14 @@ class API extends API$1 {
1059
946
  unmarshalListLogsResponse
1060
947
  );
1061
948
  /**
1062
- * List logs. List logs available for given Organization. You must define the
1063
- * `organization_id` in the query path of your request.
949
+ * List logs. List logs available for given Organization. You must define the `organization_id` in the query path of your request.
1064
950
  *
1065
951
  * @param request - The request {@link ListLogsRequest}
1066
952
  * @returns A Promise of ListLogsResponse
1067
953
  */
1068
954
  listLogs = (request = {}) => enrichForPagination("logs", this.pageOfListLogs, request);
1069
955
  /**
1070
- * Get a log. Retrieve information about a log, specified by the `log_id`
1071
- * parameter. The log's full details, including `id`, `ip`, `user_agent`,
1072
- * `action`, `bearer_id`, `resource_type` and `resource_id` are returned in
1073
- * the response.
956
+ * Get a log. Retrieve information about a log, specified by the `log_id` parameter. The log's full details, including `id`, `ip`, `user_agent`, `action`, `bearer_id`, `resource_type` and `resource_id` are returned in the response.
1074
957
  *
1075
958
  * @param request - The request {@link GetLogRequest}
1076
959
  * @returns A Promise of Log
@@ -1083,9 +966,7 @@ class API extends API$1 {
1083
966
  unmarshalLog
1084
967
  );
1085
968
  /**
1086
- * Get security settings of an Organization. Retrieve information about the
1087
- * security settings of an Organization, specified by the `organization_id`
1088
- * parameter.
969
+ * Get security settings of an Organization. Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter.
1089
970
  *
1090
971
  * @param request - The request {@link GetOrganizationSecuritySettingsRequest}
1091
972
  * @returns A Promise of OrganizationSecuritySettings
@@ -1100,8 +981,7 @@ class API extends API$1 {
1100
981
  /**
1101
982
  * Update the security settings of an Organization.
1102
983
  *
1103
- * @param request - The request
1104
- * {@link UpdateOrganizationSecuritySettingsRequest}
984
+ * @param request - The request {@link UpdateOrganizationSecuritySettingsRequest}
1105
985
  * @returns A Promise of OrganizationSecuritySettings
1106
986
  */
1107
987
  updateOrganizationSecuritySettings = (request = {}) => this.client.fetch(
@@ -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 unmarshalJWT = (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 { APIKey, AddGroupMemberRequest, AddGroupMembersRequest, Application, CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreateJWTRequest, CreatePolicyRequest, CreateSSHKeyRequest, CreateUserRequest, EncodedJWT, GetUserConnectionsResponse, Group, JWT, ListAPIKeysResponse, ListApplicationsResponse, ListGracePeriodsResponse, ListGroupsResponse, ListJWTsResponse, ListLogsResponse, ListPermissionSetsResponse, ListPoliciesResponse, ListQuotaResponse, ListRulesResponse, ListSSHKeysResponse, ListUsersResponse, Log, MFAOTP, OrganizationSecuritySettings, Policy, Quotum, RemoveGroupMemberRequest, SSHKey, SetGroupMembersRequest, SetRulesRequest, SetRulesResponse, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdateOrganizationSecuritySettingsRequest, UpdatePolicyRequest, UpdateSSHKeyRequest, UpdateUserPasswordRequest, UpdateUserRequest, UpdateUserUsernameRequest, User, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse } from './types.gen';
3
3
  export declare const unmarshalJWT: (data: unknown) => JWT;
4
4
  export declare const unmarshalAPIKey: (data: unknown) => APIKey;
@@ -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 unmarshalJWT = (data) => {
6
7
  if (!isJSONObject(data)) {
7
8
  throw new TypeError(