@scaleway/sdk 2.25.0 → 2.27.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 (774) hide show
  1. package/dist/api/account/index.cjs +6 -0
  2. package/dist/api/account/index.d.ts +2 -0
  3. package/dist/api/account/index.js +6 -4
  4. package/dist/api/account/v2/api.gen.cjs +116 -0
  5. package/dist/api/account/v2/api.gen.d.ts +67 -0
  6. package/dist/api/account/v2/api.gen.js +61 -44
  7. package/dist/api/account/v2/index.gen.cjs +4 -0
  8. package/dist/api/account/v2/index.gen.d.ts +2 -0
  9. package/dist/api/account/v2/index.gen.js +4 -4
  10. package/dist/api/account/v2/marshalling.gen.cjs +44 -0
  11. package/dist/api/account/v2/marshalling.gen.d.ts +6 -0
  12. package/dist/api/account/v2/marshalling.gen.js +18 -13
  13. package/dist/api/account/v2/types.gen.d.ts +62 -0
  14. package/dist/api/account/v3/api.gen.cjs +106 -0
  15. package/dist/api/account/v3/api.gen.d.ts +57 -0
  16. package/dist/api/account/v3/api.gen.js +61 -44
  17. package/dist/api/account/v3/index.gen.cjs +6 -0
  18. package/dist/api/account/v3/index.gen.d.ts +3 -0
  19. package/dist/api/account/v3/index.gen.js +6 -6
  20. package/dist/api/account/v3/marshalling.gen.cjs +44 -0
  21. package/dist/api/account/v3/marshalling.gen.d.ts +6 -0
  22. package/dist/api/account/v3/marshalling.gen.js +18 -13
  23. package/dist/api/account/v3/types.gen.d.ts +62 -0
  24. package/dist/api/account/v3/validation-rules.gen.cjs +39 -0
  25. package/dist/api/account/v3/validation-rules.gen.d.ts +34 -0
  26. package/dist/api/account/v3/validation-rules.gen.js +5 -5
  27. package/dist/api/applesilicon/index.cjs +4 -0
  28. package/dist/api/applesilicon/index.d.ts +1 -0
  29. package/dist/api/applesilicon/index.js +4 -2
  30. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +222 -0
  31. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +119 -0
  32. package/dist/api/applesilicon/v1alpha1/api.gen.js +125 -83
  33. package/dist/api/applesilicon/v1alpha1/content.gen.cjs +11 -0
  34. package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +3 -0
  35. package/dist/api/applesilicon/v1alpha1/content.gen.js +11 -7
  36. package/dist/api/applesilicon/v1alpha1/index.gen.cjs +6 -0
  37. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +3 -0
  38. package/dist/api/applesilicon/v1alpha1/index.gen.js +6 -5
  39. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +147 -0
  40. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +11 -0
  41. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +65 -31
  42. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +203 -0
  43. package/dist/api/baremetal/index.cjs +4 -0
  44. package/dist/api/baremetal/index.d.ts +1 -0
  45. package/dist/api/baremetal/index.js +4 -2
  46. package/dist/api/baremetal/v1/api.gen.cjs +575 -0
  47. package/dist/api/baremetal/v1/api.gen.d.ts +287 -0
  48. package/dist/api/baremetal/v1/api.gen.js +353 -205
  49. package/dist/api/baremetal/v1/api.utils.cjs +36 -0
  50. package/dist/api/baremetal/v1/api.utils.d.ts +13 -0
  51. package/dist/api/baremetal/v1/api.utils.js +27 -18
  52. package/dist/api/baremetal/v1/content.gen.cjs +18 -0
  53. package/dist/api/baremetal/v1/content.gen.d.ts +7 -0
  54. package/dist/api/baremetal/v1/content.gen.js +18 -13
  55. package/dist/api/baremetal/v1/index.cjs +12 -0
  56. package/dist/api/baremetal/v1/index.d.ts +5 -0
  57. package/dist/api/baremetal/v1/index.gen.d.ts +4 -0
  58. package/dist/api/baremetal/v1/index.js +12 -5
  59. package/dist/api/baremetal/v1/marshalling.gen.cjs +502 -0
  60. package/dist/api/baremetal/v1/marshalling.gen.d.ts +30 -0
  61. package/dist/api/baremetal/v1/marshalling.gen.js +186 -90
  62. package/dist/api/baremetal/v1/types.gen.d.ts +682 -0
  63. package/dist/api/baremetal/v1/validation-rules.gen.cjs +116 -0
  64. package/dist/api/baremetal/v1/validation-rules.gen.d.ts +104 -0
  65. package/dist/api/baremetal/v1/validation-rules.gen.js +12 -5
  66. package/dist/api/billing/index.cjs +6 -0
  67. package/dist/api/billing/index.d.ts +2 -0
  68. package/dist/api/billing/index.js +6 -4
  69. package/dist/api/billing/v2alpha1/api.gen.cjs +92 -0
  70. package/dist/api/billing/v2alpha1/api.gen.d.ts +50 -0
  71. package/dist/api/billing/v2alpha1/api.gen.js +60 -39
  72. package/dist/api/billing/v2alpha1/index.gen.cjs +4 -0
  73. package/dist/api/billing/v2alpha1/index.gen.d.ts +2 -0
  74. package/dist/api/billing/v2alpha1/index.gen.js +4 -4
  75. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +117 -0
  76. package/dist/api/billing/v2alpha1/marshalling.gen.d.ts +4 -0
  77. package/dist/api/billing/v2alpha1/marshalling.gen.js +48 -29
  78. package/dist/api/billing/v2alpha1/types.gen.d.ts +136 -0
  79. package/dist/api/billing/v2beta1/api.gen.cjs +175 -0
  80. package/dist/api/billing/v2beta1/api.gen.d.ts +79 -0
  81. package/dist/api/billing/v2beta1/api.gen.js +122 -65
  82. package/dist/api/billing/v2beta1/index.gen.cjs +4 -0
  83. package/dist/api/billing/v2beta1/index.gen.d.ts +2 -0
  84. package/dist/api/billing/v2beta1/index.gen.js +4 -4
  85. package/dist/api/billing/v2beta1/marshalling.gen.cjs +158 -0
  86. package/dist/api/billing/v2beta1/marshalling.gen.d.ts +6 -0
  87. package/dist/api/billing/v2beta1/marshalling.gen.js +61 -36
  88. package/dist/api/billing/v2beta1/types.gen.d.ts +269 -0
  89. package/dist/api/block/index.cjs +4 -0
  90. package/dist/api/block/index.d.ts +1 -0
  91. package/dist/api/block/index.js +4 -2
  92. package/dist/api/block/v1alpha1/api.gen.cjs +272 -0
  93. package/dist/api/block/v1alpha1/api.gen.d.ts +144 -0
  94. package/dist/api/block/v1alpha1/api.gen.js +167 -90
  95. package/dist/api/block/v1alpha1/content.gen.cjs +20 -0
  96. package/dist/api/block/v1alpha1/content.gen.d.ts +7 -0
  97. package/dist/api/block/v1alpha1/content.gen.js +20 -13
  98. package/dist/api/block/v1alpha1/index.gen.cjs +10 -0
  99. package/dist/api/block/v1alpha1/index.gen.d.ts +4 -0
  100. package/dist/api/block/v1alpha1/index.gen.js +10 -7
  101. package/dist/api/block/v1alpha1/marshalling.gen.cjs +194 -0
  102. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +13 -0
  103. package/dist/api/block/v1alpha1/marshalling.gen.js +78 -42
  104. package/dist/api/block/v1alpha1/types.gen.d.ts +315 -0
  105. package/dist/api/block/v1alpha1/validation-rules.gen.cjs +56 -0
  106. package/dist/api/block/v1alpha1/validation-rules.gen.d.ts +47 -0
  107. package/dist/api/block/v1alpha1/validation-rules.gen.js +14 -5
  108. package/dist/api/cockpit/index.cjs +6 -0
  109. package/dist/api/cockpit/index.d.ts +2 -0
  110. package/dist/api/cockpit/index.js +6 -4
  111. package/dist/api/cockpit/v1/api.gen.cjs +629 -0
  112. package/dist/api/cockpit/v1/api.gen.d.ts +310 -0
  113. package/dist/api/cockpit/v1/api.gen.js +374 -201
  114. package/dist/api/cockpit/v1/index.gen.cjs +7 -0
  115. package/dist/api/cockpit/v1/index.gen.d.ts +3 -0
  116. package/dist/api/cockpit/v1/index.gen.js +7 -6
  117. package/dist/api/cockpit/v1/marshalling.gen.cjs +325 -0
  118. package/dist/api/cockpit/v1/marshalling.gen.d.ts +30 -0
  119. package/dist/api/cockpit/v1/marshalling.gen.js +131 -59
  120. package/dist/api/cockpit/v1/types.gen.d.ts +525 -0
  121. package/dist/api/cockpit/v1/validation-rules.gen.cjs +48 -0
  122. package/dist/api/cockpit/v1/validation-rules.gen.d.ts +41 -0
  123. package/dist/api/cockpit/v1/validation-rules.gen.js +10 -8
  124. package/dist/api/cockpit/v1beta1/api.gen.cjs +484 -0
  125. package/dist/api/cockpit/v1beta1/api.gen.d.ts +224 -0
  126. package/dist/api/cockpit/v1beta1/api.gen.js +298 -167
  127. package/dist/api/cockpit/v1beta1/content.gen.cjs +8 -0
  128. package/dist/api/cockpit/v1beta1/content.gen.d.ts +3 -0
  129. package/dist/api/cockpit/v1beta1/content.gen.js +8 -7
  130. package/dist/api/cockpit/v1beta1/index.gen.cjs +6 -0
  131. package/dist/api/cockpit/v1beta1/index.gen.d.ts +3 -0
  132. package/dist/api/cockpit/v1beta1/index.gen.js +6 -5
  133. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +343 -0
  134. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +29 -0
  135. package/dist/api/cockpit/v1beta1/marshalling.gen.js +131 -60
  136. package/dist/api/cockpit/v1beta1/types.gen.d.ts +385 -0
  137. package/dist/api/container/index.cjs +4 -0
  138. package/dist/api/container/index.d.ts +1 -0
  139. package/dist/api/container/index.js +4 -2
  140. package/dist/api/container/v1beta1/api.gen.cjs +621 -0
  141. package/dist/api/container/v1beta1/api.gen.d.ts +300 -0
  142. package/dist/api/container/v1beta1/api.gen.js +384 -228
  143. package/dist/api/container/v1beta1/content.gen.cjs +34 -0
  144. package/dist/api/container/v1beta1/content.gen.d.ts +13 -0
  145. package/dist/api/container/v1beta1/content.gen.js +34 -22
  146. package/dist/api/container/v1beta1/index.gen.cjs +13 -0
  147. package/dist/api/container/v1beta1/index.gen.d.ts +4 -0
  148. package/dist/api/container/v1beta1/index.gen.js +13 -7
  149. package/dist/api/container/v1beta1/marshalling.gen.cjs +408 -0
  150. package/dist/api/container/v1beta1/marshalling.gen.d.ts +24 -0
  151. package/dist/api/container/v1beta1/marshalling.gen.js +147 -71
  152. package/dist/api/container/v1beta1/types.gen.d.ts +785 -0
  153. package/dist/api/container/v1beta1/validation-rules.gen.cjs +45 -0
  154. package/dist/api/container/v1beta1/validation-rules.gen.d.ts +39 -0
  155. package/dist/api/container/v1beta1/validation-rules.gen.js +6 -5
  156. package/dist/api/dedibox/index.cjs +4 -0
  157. package/dist/api/dedibox/index.d.ts +1 -0
  158. package/dist/api/dedibox/index.js +4 -2
  159. package/dist/api/dedibox/v1/api.gen.cjs +1460 -0
  160. package/dist/api/dedibox/v1/api.gen.d.ts +560 -0
  161. package/dist/api/dedibox/v1/api.gen.js +1051 -565
  162. package/dist/api/dedibox/v1/content.gen.cjs +49 -0
  163. package/dist/api/dedibox/v1/content.gen.d.ts +19 -0
  164. package/dist/api/dedibox/v1/content.gen.js +49 -31
  165. package/dist/api/dedibox/v1/index.gen.cjs +22 -0
  166. package/dist/api/dedibox/v1/index.gen.d.ts +4 -0
  167. package/dist/api/dedibox/v1/index.gen.js +22 -7
  168. package/dist/api/dedibox/v1/marshalling.gen.cjs +1475 -0
  169. package/dist/api/dedibox/v1/marshalling.gen.d.ts +82 -0
  170. package/dist/api/dedibox/v1/marshalling.gen.js +514 -237
  171. package/dist/api/dedibox/v1/types.gen.d.ts +1900 -0
  172. package/dist/api/dedibox/v1/validation-rules.gen.cjs +626 -0
  173. package/dist/api/dedibox/v1/validation-rules.gen.d.ts +539 -0
  174. package/dist/api/dedibox/v1/validation-rules.gen.js +87 -5
  175. package/dist/api/document_db/index.cjs +4 -0
  176. package/dist/api/document_db/index.d.ts +1 -0
  177. package/dist/api/document_db/index.js +4 -2
  178. package/dist/api/document_db/v1beta1/api.gen.cjs +1018 -0
  179. package/dist/api/document_db/v1beta1/api.gen.d.ts +538 -0
  180. package/dist/api/document_db/v1beta1/api.gen.js +561 -339
  181. package/dist/api/document_db/v1beta1/content.gen.cjs +31 -0
  182. package/dist/api/document_db/v1beta1/content.gen.d.ts +11 -0
  183. package/dist/api/document_db/v1beta1/content.gen.js +31 -19
  184. package/dist/api/document_db/v1beta1/index.gen.cjs +12 -0
  185. package/dist/api/document_db/v1beta1/index.gen.d.ts +4 -0
  186. package/dist/api/document_db/v1beta1/index.gen.js +12 -7
  187. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +829 -0
  188. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +50 -0
  189. package/dist/api/document_db/v1beta1/marshalling.gen.js +354 -181
  190. package/dist/api/document_db/v1beta1/types.gen.d.ts +1254 -0
  191. package/dist/api/document_db/v1beta1/validation-rules.gen.cjs +8 -0
  192. package/dist/api/document_db/v1beta1/validation-rules.gen.d.ts +5 -0
  193. package/dist/api/document_db/v1beta1/validation-rules.gen.js +3 -5
  194. package/dist/api/domain/index.cjs +4 -0
  195. package/dist/api/domain/index.d.ts +1 -0
  196. package/dist/api/domain/index.js +4 -2
  197. package/dist/api/domain/v2beta1/api.gen.cjs +1052 -0
  198. package/dist/api/domain/v2beta1/api.gen.d.ts +521 -0
  199. package/dist/api/domain/v2beta1/api.gen.js +638 -365
  200. package/dist/api/domain/v2beta1/content.gen.cjs +29 -0
  201. package/dist/api/domain/v2beta1/content.gen.d.ts +18 -0
  202. package/dist/api/domain/v2beta1/content.gen.js +29 -28
  203. package/dist/api/domain/v2beta1/index.gen.cjs +13 -0
  204. package/dist/api/domain/v2beta1/index.gen.d.ts +3 -0
  205. package/dist/api/domain/v2beta1/index.gen.js +13 -5
  206. package/dist/api/domain/v2beta1/marshalling.gen.cjs +1472 -0
  207. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +59 -0
  208. package/dist/api/domain/v2beta1/marshalling.gen.js +676 -383
  209. package/dist/api/domain/v2beta1/types.gen.d.ts +1073 -0
  210. package/dist/api/flexibleip/index.cjs +4 -0
  211. package/dist/api/flexibleip/index.d.ts +1 -0
  212. package/dist/api/flexibleip/index.js +4 -2
  213. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +227 -0
  214. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +117 -0
  215. package/dist/api/flexibleip/v1alpha1/api.gen.js +134 -86
  216. package/dist/api/flexibleip/v1alpha1/content.gen.cjs +12 -0
  217. package/dist/api/flexibleip/v1alpha1/content.gen.d.ts +5 -0
  218. package/dist/api/flexibleip/v1alpha1/content.gen.js +12 -10
  219. package/dist/api/flexibleip/v1alpha1/index.gen.cjs +9 -0
  220. package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +4 -0
  221. package/dist/api/flexibleip/v1alpha1/index.gen.js +9 -7
  222. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +115 -0
  223. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +13 -0
  224. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +36 -18
  225. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +196 -0
  226. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.cjs +12 -0
  227. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.d.ts +9 -0
  228. package/dist/api/flexibleip/v1alpha1/validation-rules.gen.js +3 -5
  229. package/dist/api/function/index.cjs +4 -0
  230. package/dist/api/function/index.d.ts +1 -0
  231. package/dist/api/function/index.js +4 -2
  232. package/dist/api/function/v1beta1/api.gen.cjs +666 -0
  233. package/dist/api/function/v1beta1/api.gen.d.ts +326 -0
  234. package/dist/api/function/v1beta1/api.gen.js +406 -244
  235. package/dist/api/function/v1beta1/content.gen.cjs +34 -0
  236. package/dist/api/function/v1beta1/content.gen.d.ts +13 -0
  237. package/dist/api/function/v1beta1/content.gen.js +34 -22
  238. package/dist/api/function/v1beta1/index.gen.cjs +13 -0
  239. package/dist/api/function/v1beta1/index.gen.d.ts +4 -0
  240. package/dist/api/function/v1beta1/index.gen.js +13 -7
  241. package/dist/api/function/v1beta1/marshalling.gen.cjs +457 -0
  242. package/dist/api/function/v1beta1/marshalling.gen.d.ts +27 -0
  243. package/dist/api/function/v1beta1/marshalling.gen.js +167 -80
  244. package/dist/api/function/v1beta1/types.gen.d.ts +819 -0
  245. package/dist/api/function/v1beta1/validation-rules.gen.cjs +45 -0
  246. package/dist/api/function/v1beta1/validation-rules.gen.d.ts +39 -0
  247. package/dist/api/function/v1beta1/validation-rules.gen.js +6 -5
  248. package/dist/api/iam/index.cjs +4 -0
  249. package/dist/api/iam/index.d.ts +1 -0
  250. package/dist/api/iam/index.js +4 -2
  251. package/dist/api/iam/v1alpha1/api.gen.cjs +951 -0
  252. package/dist/api/iam/v1alpha1/api.gen.d.ts +475 -0
  253. package/dist/api/iam/v1alpha1/api.gen.js +560 -302
  254. package/dist/api/iam/v1alpha1/index.gen.cjs +6 -0
  255. package/dist/api/iam/v1alpha1/index.gen.d.ts +3 -0
  256. package/dist/api/iam/v1alpha1/index.gen.js +6 -6
  257. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +504 -0
  258. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +42 -0
  259. package/dist/api/iam/v1alpha1/marshalling.gen.js +184 -119
  260. package/dist/api/iam/v1alpha1/types.gen.d.ts +886 -0
  261. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +235 -0
  262. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +211 -0
  263. package/dist/api/iam/v1alpha1/validation-rules.gen.js +29 -10
  264. package/dist/api/index.d.ts +34 -0
  265. package/dist/api/instance/index.cjs +4 -0
  266. package/dist/api/instance/index.d.ts +1 -0
  267. package/dist/api/instance/index.js +4 -2
  268. package/dist/api/instance/v1/api.gen.cjs +1178 -0
  269. package/dist/api/instance/v1/api.gen.d.ts +528 -0
  270. package/dist/api/instance/v1/api.gen.js +763 -445
  271. package/dist/api/instance/v1/api.utils.cjs +279 -0
  272. package/dist/api/instance/v1/api.utils.d.ts +95 -0
  273. package/dist/api/instance/v1/api.utils.js +145 -109
  274. package/dist/api/instance/v1/content.gen.cjs +44 -0
  275. package/dist/api/instance/v1/content.gen.d.ts +21 -0
  276. package/dist/api/instance/v1/content.gen.js +44 -34
  277. package/dist/api/instance/v1/index.cjs +15 -0
  278. package/dist/api/instance/v1/index.d.ts +4 -0
  279. package/dist/api/instance/v1/index.gen.d.ts +4 -0
  280. package/dist/api/instance/v1/index.js +15 -2
  281. package/dist/api/instance/v1/marshalling.gen.cjs +1813 -0
  282. package/dist/api/instance/v1/marshalling.gen.d.ts +95 -0
  283. package/dist/api/instance/v1/marshalling.gen.js +736 -412
  284. package/dist/api/instance/v1/marshalling.utils.d.ts +3 -0
  285. package/dist/api/instance/v1/types.gen.d.ts +1818 -0
  286. package/dist/api/instance/v1/types.private.gen.d.ts +167 -0
  287. package/dist/api/instance/v1/types.utils.d.ts +35 -0
  288. package/dist/api/instance/v1/validation-rules.gen.d.ts +10 -0
  289. package/dist/api/iot/index.cjs +4 -0
  290. package/dist/api/iot/index.d.ts +1 -0
  291. package/dist/api/iot/index.js +4 -2
  292. package/dist/api/iot/v1/api.gen.cjs +621 -0
  293. package/dist/api/iot/v1/api.gen.d.ts +325 -0
  294. package/dist/api/iot/v1/api.gen.js +350 -238
  295. package/dist/api/iot/v1/content.gen.cjs +4 -0
  296. package/dist/api/iot/v1/content.gen.d.ts +3 -0
  297. package/dist/api/iot/v1/content.gen.js +4 -7
  298. package/dist/api/iot/v1/index.gen.cjs +6 -0
  299. package/dist/api/iot/v1/index.gen.d.ts +3 -0
  300. package/dist/api/iot/v1/index.gen.js +6 -5
  301. package/dist/api/iot/v1/marshalling.gen.cjs +534 -0
  302. package/dist/api/iot/v1/marshalling.gen.d.ts +31 -0
  303. package/dist/api/iot/v1/marshalling.gen.js +209 -114
  304. package/dist/api/iot/v1/types.gen.d.ts +916 -0
  305. package/dist/api/ipam/index.cjs +4 -0
  306. package/dist/api/ipam/index.d.ts +1 -0
  307. package/dist/api/ipam/index.js +4 -2
  308. package/dist/api/ipam/v1/api.gen.cjs +115 -0
  309. package/dist/api/ipam/v1/api.gen.d.ts +57 -0
  310. package/dist/api/ipam/v1/api.gen.js +73 -55
  311. package/dist/api/ipam/v1/index.gen.cjs +6 -0
  312. package/dist/api/ipam/v1/index.gen.d.ts +3 -0
  313. package/dist/api/ipam/v1/index.gen.js +6 -6
  314. package/dist/api/ipam/v1/marshalling.gen.cjs +98 -0
  315. package/dist/api/ipam/v1/marshalling.gen.d.ts +6 -0
  316. package/dist/api/ipam/v1/marshalling.gen.js +35 -29
  317. package/dist/api/ipam/v1/types.gen.d.ts +198 -0
  318. package/dist/api/ipam/v1/validation-rules.gen.cjs +9 -0
  319. package/dist/api/ipam/v1/validation-rules.gen.d.ts +6 -0
  320. package/dist/api/ipam/v1/validation-rules.gen.js +3 -5
  321. package/dist/api/ipfs/index.cjs +4 -0
  322. package/dist/api/ipfs/index.d.ts +1 -0
  323. package/dist/api/ipfs/index.js +4 -2
  324. package/dist/api/ipfs/v1alpha1/api.gen.cjs +374 -0
  325. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +198 -0
  326. package/dist/api/ipfs/v1alpha1/api.gen.js +210 -133
  327. package/dist/api/ipfs/v1alpha1/content.gen.cjs +6 -0
  328. package/dist/api/ipfs/v1alpha1/content.gen.d.ts +5 -0
  329. package/dist/api/ipfs/v1alpha1/content.gen.js +6 -10
  330. package/dist/api/ipfs/v1alpha1/index.gen.cjs +8 -0
  331. package/dist/api/ipfs/v1alpha1/index.gen.d.ts +3 -0
  332. package/dist/api/ipfs/v1alpha1/index.gen.js +8 -5
  333. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +208 -0
  334. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +18 -0
  335. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +68 -33
  336. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +317 -0
  337. package/dist/api/jobs/index.cjs +4 -0
  338. package/dist/api/jobs/index.d.ts +1 -0
  339. package/dist/api/jobs/index.js +4 -2
  340. package/dist/api/jobs/v1alpha1/api.gen.cjs +170 -0
  341. package/dist/api/jobs/v1alpha1/api.gen.d.ts +80 -0
  342. package/dist/api/jobs/v1alpha1/api.gen.js +109 -69
  343. package/dist/api/jobs/v1alpha1/content.gen.cjs +8 -0
  344. package/dist/api/jobs/v1alpha1/content.gen.d.ts +3 -0
  345. package/dist/api/jobs/v1alpha1/content.gen.js +8 -7
  346. package/dist/api/jobs/v1alpha1/index.gen.cjs +8 -0
  347. package/dist/api/jobs/v1alpha1/index.gen.d.ts +4 -0
  348. package/dist/api/jobs/v1alpha1/index.gen.js +8 -7
  349. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +150 -0
  350. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +10 -0
  351. package/dist/api/jobs/v1alpha1/marshalling.gen.js +50 -26
  352. package/dist/api/jobs/v1alpha1/types.gen.d.ts +210 -0
  353. package/dist/api/jobs/v1alpha1/validation-rules.gen.cjs +97 -0
  354. package/dist/api/jobs/v1alpha1/validation-rules.gen.d.ts +87 -0
  355. package/dist/api/jobs/v1alpha1/validation-rules.gen.js +12 -7
  356. package/dist/api/k8s/index.cjs +4 -0
  357. package/dist/api/k8s/index.d.ts +1 -0
  358. package/dist/api/k8s/index.js +4 -2
  359. package/dist/api/k8s/v1/api.gen.cjs +550 -0
  360. package/dist/api/k8s/v1/api.gen.d.ts +280 -0
  361. package/dist/api/k8s/v1/api.gen.js +324 -188
  362. package/dist/api/k8s/v1/api.utils.cjs +13 -0
  363. package/dist/api/k8s/v1/api.utils.d.ts +11 -0
  364. package/dist/api/k8s/v1/api.utils.js +5 -5
  365. package/dist/api/k8s/v1/content.gen.cjs +23 -0
  366. package/dist/api/k8s/v1/content.gen.d.ts +7 -0
  367. package/dist/api/k8s/v1/content.gen.js +23 -13
  368. package/dist/api/k8s/v1/index.cjs +10 -0
  369. package/dist/api/k8s/v1/index.d.ts +4 -0
  370. package/dist/api/k8s/v1/index.gen.d.ts +4 -0
  371. package/dist/api/k8s/v1/index.js +10 -4
  372. package/dist/api/k8s/v1/marshalling.gen.cjs +510 -0
  373. package/dist/api/k8s/v1/marshalling.gen.d.ts +22 -0
  374. package/dist/api/k8s/v1/marshalling.gen.js +158 -79
  375. package/dist/api/k8s/v1/types.gen.d.ts +1123 -0
  376. package/dist/api/k8s/v1/validation-rules.gen.cjs +110 -0
  377. package/dist/api/k8s/v1/validation-rules.gen.d.ts +96 -0
  378. package/dist/api/k8s/v1/validation-rules.gen.js +14 -5
  379. package/dist/api/lb/index.cjs +4 -0
  380. package/dist/api/lb/index.d.ts +1 -0
  381. package/dist/api/lb/index.js +4 -2
  382. package/dist/api/lb/v1/api.gen.cjs +1984 -0
  383. package/dist/api/lb/v1/api.gen.d.ts +990 -0
  384. package/dist/api/lb/v1/api.gen.js +1186 -695
  385. package/dist/api/lb/v1/api.utils.cjs +116 -0
  386. package/dist/api/lb/v1/api.utils.d.ts +41 -0
  387. package/dist/api/lb/v1/api.utils.js +83 -48
  388. package/dist/api/lb/v1/content.gen.cjs +22 -0
  389. package/dist/api/lb/v1/content.gen.d.ts +9 -0
  390. package/dist/api/lb/v1/content.gen.js +22 -16
  391. package/dist/api/lb/v1/index.cjs +10 -0
  392. package/dist/api/lb/v1/index.d.ts +4 -0
  393. package/dist/api/lb/v1/index.gen.d.ts +3 -0
  394. package/dist/api/lb/v1/index.js +10 -2
  395. package/dist/api/lb/v1/marshalling.gen.cjs +1289 -0
  396. package/dist/api/lb/v1/marshalling.gen.d.ts +73 -0
  397. package/dist/api/lb/v1/marshalling.gen.js +576 -334
  398. package/dist/api/lb/v1/types.gen.d.ts +2729 -0
  399. package/dist/api/lb/v1/types.utils.d.ts +13 -0
  400. package/dist/api/llm_inference/index.cjs +4 -0
  401. package/dist/api/llm_inference/index.d.ts +1 -0
  402. package/dist/api/llm_inference/index.js +4 -2
  403. package/dist/api/llm_inference/v1beta1/api.gen.cjs +305 -0
  404. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +147 -0
  405. package/dist/api/llm_inference/v1beta1/api.gen.js +192 -120
  406. package/dist/api/llm_inference/v1beta1/content.gen.cjs +8 -0
  407. package/dist/api/llm_inference/v1beta1/content.gen.d.ts +3 -0
  408. package/dist/api/llm_inference/v1beta1/content.gen.js +8 -7
  409. package/dist/api/llm_inference/v1beta1/index.gen.cjs +8 -0
  410. package/dist/api/llm_inference/v1beta1/index.gen.d.ts +4 -0
  411. package/dist/api/llm_inference/v1beta1/index.gen.js +8 -7
  412. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +271 -0
  413. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +18 -0
  414. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +98 -52
  415. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +433 -0
  416. package/dist/api/llm_inference/v1beta1/validation-rules.gen.cjs +56 -0
  417. package/dist/api/llm_inference/v1beta1/validation-rules.gen.d.ts +50 -0
  418. package/dist/api/llm_inference/v1beta1/validation-rules.gen.js +6 -5
  419. package/dist/api/marketplace/index.cjs +4 -0
  420. package/dist/api/marketplace/index.d.ts +1 -0
  421. package/dist/api/marketplace/index.js +4 -2
  422. package/dist/api/marketplace/v2/api.gen.cjs +174 -0
  423. package/dist/api/marketplace/v2/api.gen.d.ts +90 -0
  424. package/dist/api/marketplace/v2/api.gen.js +111 -67
  425. package/dist/api/marketplace/v2/index.gen.cjs +4 -0
  426. package/dist/api/marketplace/v2/index.gen.d.ts +2 -0
  427. package/dist/api/marketplace/v2/index.gen.js +4 -4
  428. package/dist/api/marketplace/v2/marshalling.gen.cjs +115 -0
  429. package/dist/api/marketplace/v2/marshalling.gen.d.ts +9 -0
  430. package/dist/api/marketplace/v2/marshalling.gen.js +44 -23
  431. package/dist/api/marketplace/v2/types.gen.d.ts +135 -0
  432. package/dist/api/mnq/index.cjs +4 -0
  433. package/dist/api/mnq/index.d.ts +1 -0
  434. package/dist/api/mnq/index.js +4 -2
  435. package/dist/api/mnq/v1beta1/api.gen.cjs +500 -0
  436. package/dist/api/mnq/v1beta1/api.gen.d.ts +265 -0
  437. package/dist/api/mnq/v1beta1/api.gen.js +291 -184
  438. package/dist/api/mnq/v1beta1/index.gen.cjs +8 -0
  439. package/dist/api/mnq/v1beta1/index.gen.d.ts +3 -0
  440. package/dist/api/mnq/v1beta1/index.gen.js +8 -6
  441. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +268 -0
  442. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +23 -0
  443. package/dist/api/mnq/v1beta1/marshalling.gen.js +105 -49
  444. package/dist/api/mnq/v1beta1/types.gen.d.ts +449 -0
  445. package/dist/api/mnq/v1beta1/validation-rules.gen.cjs +85 -0
  446. package/dist/api/mnq/v1beta1/validation-rules.gen.d.ts +72 -0
  447. package/dist/api/mnq/v1beta1/validation-rules.gen.js +13 -5
  448. package/dist/api/rdb/index.cjs +4 -0
  449. package/dist/api/rdb/index.d.ts +1 -0
  450. package/dist/api/rdb/index.js +4 -2
  451. package/dist/api/rdb/v1/api.gen.cjs +1192 -0
  452. package/dist/api/rdb/v1/api.gen.d.ts +626 -0
  453. package/dist/api/rdb/v1/api.gen.js +660 -393
  454. package/dist/api/rdb/v1/content.gen.cjs +38 -0
  455. package/dist/api/rdb/v1/content.gen.d.ts +13 -0
  456. package/dist/api/rdb/v1/content.gen.js +38 -22
  457. package/dist/api/rdb/v1/index.gen.cjs +13 -0
  458. package/dist/api/rdb/v1/index.gen.d.ts +4 -0
  459. package/dist/api/rdb/v1/index.gen.js +13 -7
  460. package/dist/api/rdb/v1/marshalling.gen.cjs +908 -0
  461. package/dist/api/rdb/v1/marshalling.gen.d.ts +59 -0
  462. package/dist/api/rdb/v1/marshalling.gen.js +385 -191
  463. package/dist/api/rdb/v1/types.gen.d.ts +1404 -0
  464. package/dist/api/rdb/v1/validation-rules.gen.cjs +8 -0
  465. package/dist/api/rdb/v1/validation-rules.gen.d.ts +5 -0
  466. package/dist/api/rdb/v1/validation-rules.gen.js +3 -5
  467. package/dist/api/redis/index.cjs +4 -0
  468. package/dist/api/redis/index.d.ts +1 -0
  469. package/dist/api/redis/index.js +4 -2
  470. package/dist/api/redis/v1/api.gen.cjs +476 -0
  471. package/dist/api/redis/v1/api.gen.d.ts +249 -0
  472. package/dist/api/redis/v1/api.gen.js +265 -162
  473. package/dist/api/redis/v1/content.gen.cjs +10 -0
  474. package/dist/api/redis/v1/content.gen.d.ts +3 -0
  475. package/dist/api/redis/v1/content.gen.js +10 -7
  476. package/dist/api/redis/v1/index.gen.cjs +6 -0
  477. package/dist/api/redis/v1/index.gen.d.ts +3 -0
  478. package/dist/api/redis/v1/index.gen.js +6 -5
  479. package/dist/api/redis/v1/marshalling.gen.cjs +355 -0
  480. package/dist/api/redis/v1/marshalling.gen.d.ts +24 -0
  481. package/dist/api/redis/v1/marshalling.gen.js +156 -84
  482. package/dist/api/redis/v1/types.gen.d.ts +473 -0
  483. package/dist/api/registry/index.cjs +4 -0
  484. package/dist/api/registry/index.d.ts +1 -0
  485. package/dist/api/registry/index.js +4 -2
  486. package/dist/api/registry/v1/api.gen.cjs +287 -0
  487. package/dist/api/registry/v1/api.gen.d.ts +156 -0
  488. package/dist/api/registry/v1/api.gen.js +161 -94
  489. package/dist/api/registry/v1/content.gen.cjs +8 -0
  490. package/dist/api/registry/v1/content.gen.d.ts +7 -0
  491. package/dist/api/registry/v1/content.gen.js +8 -13
  492. package/dist/api/registry/v1/index.gen.cjs +8 -0
  493. package/dist/api/registry/v1/index.gen.d.ts +3 -0
  494. package/dist/api/registry/v1/index.gen.js +8 -5
  495. package/dist/api/registry/v1/marshalling.gen.cjs +129 -0
  496. package/dist/api/registry/v1/marshalling.gen.d.ts +11 -0
  497. package/dist/api/registry/v1/marshalling.gen.js +51 -30
  498. package/dist/api/registry/v1/types.gen.d.ts +300 -0
  499. package/dist/api/secret/index.cjs +6 -0
  500. package/dist/api/secret/index.d.ts +2 -0
  501. package/dist/api/secret/index.js +6 -4
  502. package/dist/api/secret/v1alpha1/api.gen.cjs +483 -0
  503. package/dist/api/secret/v1alpha1/api.gen.d.ts +261 -0
  504. package/dist/api/secret/v1alpha1/api.gen.js +271 -176
  505. package/dist/api/secret/v1alpha1/index.gen.cjs +4 -0
  506. package/dist/api/secret/v1alpha1/index.gen.d.ts +2 -0
  507. package/dist/api/secret/v1alpha1/index.gen.js +4 -4
  508. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +221 -0
  509. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +19 -0
  510. package/dist/api/secret/v1alpha1/marshalling.gen.js +67 -33
  511. package/dist/api/secret/v1alpha1/types.gen.d.ts +619 -0
  512. package/dist/api/secret/v1beta1/api.gen.cjs +359 -0
  513. package/dist/api/secret/v1beta1/api.gen.d.ts +181 -0
  514. package/dist/api/secret/v1beta1/api.gen.js +213 -135
  515. package/dist/api/secret/v1beta1/index.gen.cjs +6 -0
  516. package/dist/api/secret/v1beta1/index.gen.d.ts +3 -0
  517. package/dist/api/secret/v1beta1/index.gen.js +6 -6
  518. package/dist/api/secret/v1beta1/marshalling.gen.cjs +219 -0
  519. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +14 -0
  520. package/dist/api/secret/v1beta1/marshalling.gen.js +76 -40
  521. package/dist/api/secret/v1beta1/types.gen.d.ts +513 -0
  522. package/dist/api/secret/v1beta1/validation-rules.gen.cjs +8 -0
  523. package/dist/api/secret/v1beta1/validation-rules.gen.d.ts +5 -0
  524. package/dist/api/secret/v1beta1/validation-rules.gen.js +3 -5
  525. package/dist/api/serverless_sqldb/index.cjs +4 -0
  526. package/dist/api/serverless_sqldb/index.d.ts +1 -0
  527. package/dist/api/serverless_sqldb/index.js +4 -2
  528. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +202 -0
  529. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +109 -0
  530. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +118 -78
  531. package/dist/api/serverless_sqldb/v1alpha1/content.gen.cjs +8 -0
  532. package/dist/api/serverless_sqldb/v1alpha1/content.gen.d.ts +3 -0
  533. package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +8 -7
  534. package/dist/api/serverless_sqldb/v1alpha1/index.gen.cjs +8 -0
  535. package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +4 -0
  536. package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +8 -7
  537. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +89 -0
  538. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +9 -0
  539. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +27 -15
  540. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +193 -0
  541. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.cjs +62 -0
  542. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.d.ts +55 -0
  543. package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +9 -7
  544. package/dist/api/std/index.gen.cjs +1 -0
  545. package/dist/api/std/index.gen.d.ts +1 -0
  546. package/dist/api/std/types.gen.d.ts +1 -0
  547. package/dist/api/tem/index.cjs +4 -0
  548. package/dist/api/tem/index.d.ts +1 -0
  549. package/dist/api/tem/index.js +4 -2
  550. package/dist/api/tem/v1alpha1/api.gen.cjs +260 -0
  551. package/dist/api/tem/v1alpha1/api.gen.d.ts +130 -0
  552. package/dist/api/tem/v1alpha1/api.gen.js +154 -89
  553. package/dist/api/tem/v1alpha1/content.gen.cjs +6 -0
  554. package/dist/api/tem/v1alpha1/content.gen.d.ts +5 -0
  555. package/dist/api/tem/v1alpha1/content.gen.js +6 -10
  556. package/dist/api/tem/v1alpha1/index.gen.cjs +7 -0
  557. package/dist/api/tem/v1alpha1/index.gen.d.ts +3 -0
  558. package/dist/api/tem/v1alpha1/index.gen.js +7 -5
  559. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +255 -0
  560. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +11 -0
  561. package/dist/api/tem/v1alpha1/marshalling.gen.js +90 -50
  562. package/dist/api/tem/v1alpha1/types.gen.d.ts +401 -0
  563. package/dist/api/test/index.cjs +4 -0
  564. package/dist/api/test/index.d.ts +1 -0
  565. package/dist/api/test/index.js +4 -2
  566. package/dist/api/test/v1/api.gen.cjs +164 -0
  567. package/dist/api/test/v1/api.gen.d.ts +84 -0
  568. package/dist/api/test/v1/api.gen.js +99 -71
  569. package/dist/api/test/v1/content.gen.cjs +4 -0
  570. package/dist/api/test/v1/content.gen.d.ts +3 -0
  571. package/dist/api/test/v1/content.gen.js +4 -7
  572. package/dist/api/test/v1/index.gen.cjs +6 -0
  573. package/dist/api/test/v1/index.gen.d.ts +3 -0
  574. package/dist/api/test/v1/index.gen.js +6 -5
  575. package/dist/api/test/v1/marshalling.gen.cjs +93 -0
  576. package/dist/api/test/v1/marshalling.gen.d.ts +8 -0
  577. package/dist/api/test/v1/marshalling.gen.js +34 -22
  578. package/dist/api/test/v1/types.gen.d.ts +91 -0
  579. package/dist/api/vpc/index.cjs +6 -0
  580. package/dist/api/vpc/index.d.ts +2 -0
  581. package/dist/api/vpc/index.js +6 -4
  582. package/dist/api/vpc/v1/api.gen.cjs +119 -0
  583. package/dist/api/vpc/v1/api.gen.d.ts +54 -0
  584. package/dist/api/vpc/v1/api.gen.js +76 -43
  585. package/dist/api/vpc/v1/index.gen.cjs +4 -0
  586. package/dist/api/vpc/v1/index.gen.d.ts +2 -0
  587. package/dist/api/vpc/v1/index.gen.js +4 -4
  588. package/dist/api/vpc/v1/marshalling.gen.cjs +52 -0
  589. package/dist/api/vpc/v1/marshalling.gen.d.ts +6 -0
  590. package/dist/api/vpc/v1/marshalling.gen.js +22 -14
  591. package/dist/api/vpc/v1/types.gen.d.ts +99 -0
  592. package/dist/api/vpc/v2/api.gen.cjs +303 -0
  593. package/dist/api/vpc/v2/api.gen.d.ts +144 -0
  594. package/dist/api/vpc/v2/api.gen.js +181 -112
  595. package/dist/api/vpc/v2/index.gen.cjs +4 -0
  596. package/dist/api/vpc/v2/index.gen.d.ts +2 -0
  597. package/dist/api/vpc/v2/index.gen.js +4 -4
  598. package/dist/api/vpc/v2/marshalling.gen.cjs +173 -0
  599. package/dist/api/vpc/v2/marshalling.gen.d.ts +17 -0
  600. package/dist/api/vpc/v2/marshalling.gen.js +70 -36
  601. package/dist/api/vpc/v2/types.gen.d.ts +338 -0
  602. package/dist/api/vpcgw/index.cjs +4 -0
  603. package/dist/api/vpcgw/index.d.ts +1 -0
  604. package/dist/api/vpcgw/index.js +4 -2
  605. package/dist/api/vpcgw/v1/api.gen.cjs +740 -0
  606. package/dist/api/vpcgw/v1/api.gen.d.ts +389 -0
  607. package/dist/api/vpcgw/v1/api.gen.js +408 -239
  608. package/dist/api/vpcgw/v1/content.gen.cjs +15 -0
  609. package/dist/api/vpcgw/v1/content.gen.d.ts +5 -0
  610. package/dist/api/vpcgw/v1/content.gen.js +15 -10
  611. package/dist/api/vpcgw/v1/index.gen.cjs +7 -0
  612. package/dist/api/vpcgw/v1/index.gen.d.ts +3 -0
  613. package/dist/api/vpcgw/v1/index.gen.js +7 -5
  614. package/dist/api/vpcgw/v1/marshalling.gen.cjs +437 -0
  615. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +31 -0
  616. package/dist/api/vpcgw/v1/marshalling.gen.js +145 -74
  617. package/dist/api/vpcgw/v1/types.gen.d.ts +901 -0
  618. package/dist/api/webhosting/index.cjs +4 -0
  619. package/dist/api/webhosting/index.d.ts +1 -0
  620. package/dist/api/webhosting/index.js +4 -2
  621. package/dist/api/webhosting/v1alpha1/api.gen.cjs +226 -0
  622. package/dist/api/webhosting/v1alpha1/api.gen.d.ts +111 -0
  623. package/dist/api/webhosting/v1alpha1/api.gen.js +145 -75
  624. package/dist/api/webhosting/v1alpha1/content.gen.cjs +8 -0
  625. package/dist/api/webhosting/v1alpha1/content.gen.d.ts +3 -0
  626. package/dist/api/webhosting/v1alpha1/content.gen.js +8 -7
  627. package/dist/api/webhosting/v1alpha1/index.gen.cjs +8 -0
  628. package/dist/api/webhosting/v1alpha1/index.gen.d.ts +4 -0
  629. package/dist/api/webhosting/v1alpha1/index.gen.js +8 -7
  630. package/dist/api/webhosting/v1alpha1/marshalling.gen.cjs +236 -0
  631. package/dist/api/webhosting/v1alpha1/marshalling.gen.d.ts +11 -0
  632. package/dist/api/webhosting/v1alpha1/marshalling.gen.js +92 -37
  633. package/dist/api/webhosting/v1alpha1/types.gen.d.ts +379 -0
  634. package/dist/api/webhosting/v1alpha1/validation-rules.gen.cjs +22 -0
  635. package/dist/api/webhosting/v1alpha1/validation-rules.gen.d.ts +18 -0
  636. package/dist/api/webhosting/v1alpha1/validation-rules.gen.js +4 -5
  637. package/dist/bridge.d.ts +11 -0
  638. package/dist/helpers/is-browser.cjs +7 -0
  639. package/dist/helpers/is-browser.d.ts +1 -0
  640. package/dist/helpers/is-browser.js +7 -5
  641. package/dist/helpers/is-response.cjs +4 -0
  642. package/dist/helpers/is-response.d.ts +8 -0
  643. package/dist/helpers/is-response.js +4 -10
  644. package/dist/helpers/json.cjs +7 -0
  645. package/dist/helpers/json.d.ts +13 -0
  646. package/dist/helpers/json.js +5 -9
  647. package/dist/helpers/marshalling.cjs +78 -0
  648. package/dist/helpers/marshalling.d.ts +63 -0
  649. package/dist/helpers/marshalling.js +40 -77
  650. package/dist/index.cjs +114 -32034
  651. package/dist/index.d.ts +15 -38373
  652. package/dist/index.js +115 -81
  653. package/dist/internal/async/interval-retrier.cjs +55 -0
  654. package/dist/internal/async/interval-retrier.d.ts +111 -0
  655. package/dist/internal/async/interval-retrier.js +30 -72
  656. package/dist/internal/async/sleep.cjs +6 -0
  657. package/dist/internal/async/sleep.d.ts +9 -0
  658. package/dist/internal/async/sleep.js +4 -11
  659. package/dist/internal/interceptors/composer.cjs +25 -0
  660. package/dist/internal/interceptors/composer.d.ts +25 -0
  661. package/dist/internal/interceptors/composer.js +15 -36
  662. package/dist/internal/interceptors/helpers.cjs +12 -0
  663. package/dist/internal/interceptors/helpers.d.ts +21 -0
  664. package/dist/internal/interceptors/helpers.js +7 -26
  665. package/dist/internal/interceptors/types.d.ts +89 -0
  666. package/dist/internal/logger/console-logger.cjs +24 -0
  667. package/dist/internal/logger/console-logger.d.ts +23 -0
  668. package/dist/internal/logger/console-logger.js +11 -19
  669. package/dist/internal/logger/index.cjs +12 -0
  670. package/dist/internal/logger/index.d.ts +25 -0
  671. package/dist/internal/logger/index.js +9 -30
  672. package/dist/internal/logger/level-resolver.cjs +13 -0
  673. package/dist/internal/logger/level-resolver.d.ts +9 -0
  674. package/dist/internal/logger/level-resolver.js +12 -12
  675. package/dist/internal/logger/logger.d.ts +13 -0
  676. package/dist/internal/validations/string-validation.cjs +30 -0
  677. package/dist/internal/validations/string-validation.d.ts +18 -0
  678. package/dist/internal/validations/string-validation.js +19 -27
  679. package/dist/internals.d.ts +10 -0
  680. package/dist/scw/api.cjs +8 -0
  681. package/dist/scw/api.d.ts +10 -0
  682. package/dist/scw/api.js +3 -7
  683. package/dist/scw/auth.cjs +28 -0
  684. package/dist/scw/auth.d.ts +57 -0
  685. package/dist/scw/auth.js +23 -62
  686. package/dist/scw/client-ini-factory.cjs +66 -0
  687. package/dist/scw/client-ini-factory.d.ts +111 -0
  688. package/dist/scw/client-ini-factory.js +33 -141
  689. package/dist/scw/client-ini-profile.cjs +23 -0
  690. package/dist/scw/client-ini-profile.d.ts +82 -0
  691. package/dist/scw/client-ini-profile.js +15 -46
  692. package/dist/scw/client-settings.cjs +51 -0
  693. package/dist/scw/client-settings.d.ts +59 -0
  694. package/dist/scw/client-settings.js +26 -53
  695. package/dist/scw/client.cjs +28 -0
  696. package/dist/scw/client.d.ts +72 -0
  697. package/dist/scw/client.js +14 -76
  698. package/dist/scw/constants.cjs +6 -0
  699. package/dist/scw/constants.d.ts +2 -0
  700. package/dist/scw/constants.js +5 -3
  701. package/dist/scw/custom-marshalling.cjs +92 -0
  702. package/dist/scw/custom-marshalling.d.ts +59 -0
  703. package/dist/scw/custom-marshalling.js +38 -77
  704. package/dist/scw/errors/error-parser.cjs +76 -0
  705. package/dist/scw/errors/error-parser.d.ts +12 -0
  706. package/dist/scw/errors/error-parser.js +33 -64
  707. package/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  708. package/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +12 -0
  709. package/dist/scw/errors/non-standard/invalid-request-mapper.js +26 -23
  710. package/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  711. package/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +11 -0
  712. package/dist/scw/errors/non-standard/unknown-resource-mapper.js +16 -20
  713. package/dist/scw/errors/scw-error.cjs +43 -0
  714. package/dist/scw/errors/scw-error.d.ts +25 -0
  715. package/dist/scw/errors/scw-error.js +19 -35
  716. package/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  717. package/dist/scw/errors/standard/already-exists-error.d.ts +16 -0
  718. package/dist/scw/errors/standard/already-exists-error.js +18 -13
  719. package/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  720. package/dist/scw/errors/standard/denied-authentication-error.d.ts +15 -0
  721. package/dist/scw/errors/standard/denied-authentication-error.js +9 -24
  722. package/dist/scw/errors/standard/index.cjs +28 -0
  723. package/dist/scw/errors/standard/index.d.ts +17 -0
  724. package/dist/scw/errors/standard/index.js +28 -13
  725. package/dist/scw/errors/standard/invalid-arguments-error.cjs +55 -0
  726. package/dist/scw/errors/standard/invalid-arguments-error.d.ts +24 -0
  727. package/dist/scw/errors/standard/invalid-arguments-error.js +26 -38
  728. package/dist/scw/errors/standard/out-of-stock-error.cjs +18 -0
  729. package/dist/scw/errors/standard/out-of-stock-error.d.ts +14 -0
  730. package/dist/scw/errors/standard/out-of-stock-error.js +7 -11
  731. package/dist/scw/errors/standard/permissions-denied-error.cjs +30 -0
  732. package/dist/scw/errors/standard/permissions-denied-error.d.ts +23 -0
  733. package/dist/scw/errors/standard/permissions-denied-error.js +20 -35
  734. package/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  735. package/dist/scw/errors/standard/precondition-failed-error.d.ts +15 -0
  736. package/dist/scw/errors/standard/precondition-failed-error.js +14 -24
  737. package/dist/scw/errors/standard/quotas-exceeded-error.cjs +44 -0
  738. package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +34 -0
  739. package/dist/scw/errors/standard/quotas-exceeded-error.js +29 -53
  740. package/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  741. package/dist/scw/errors/standard/resource-expired-error.d.ts +16 -0
  742. package/dist/scw/errors/standard/resource-expired-error.js +18 -13
  743. package/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  744. package/dist/scw/errors/standard/resource-locked-error.d.ts +15 -0
  745. package/dist/scw/errors/standard/resource-locked-error.js +6 -11
  746. package/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  747. package/dist/scw/errors/standard/resource-not-found-error.d.ts +15 -0
  748. package/dist/scw/errors/standard/resource-not-found-error.js +11 -12
  749. package/dist/scw/errors/standard/too-many-requests-error.cjs +59 -0
  750. package/dist/scw/errors/standard/too-many-requests-error.d.ts +32 -0
  751. package/dist/scw/errors/standard/too-many-requests-error.js +20 -31
  752. package/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  753. package/dist/scw/errors/standard/transient-state-error.d.ts +16 -0
  754. package/dist/scw/errors/standard/transient-state-error.js +18 -13
  755. package/dist/scw/errors/types.cjs +15 -0
  756. package/dist/scw/errors/types.d.ts +9 -0
  757. package/dist/scw/errors/types.js +6 -14
  758. package/dist/scw/fetch/build-fetcher.cjs +60 -0
  759. package/dist/scw/fetch/build-fetcher.d.ts +23 -0
  760. package/dist/scw/fetch/build-fetcher.js +29 -38
  761. package/dist/scw/fetch/http-dumper.cjs +20 -0
  762. package/dist/scw/fetch/http-dumper.d.ts +18 -0
  763. package/dist/scw/fetch/http-dumper.js +19 -50
  764. package/dist/scw/fetch/http-interceptors.cjs +43 -0
  765. package/dist/scw/fetch/http-interceptors.d.ts +38 -0
  766. package/dist/scw/fetch/http-interceptors.js +23 -66
  767. package/dist/scw/fetch/resource-paginator.cjs +37 -0
  768. package/dist/scw/fetch/resource-paginator.d.ts +47 -0
  769. package/dist/scw/fetch/resource-paginator.js +12 -45
  770. package/dist/scw/fetch/response-parser.cjs +57 -0
  771. package/dist/scw/fetch/response-parser.d.ts +25 -0
  772. package/dist/scw/fetch/response-parser.js +31 -46
  773. package/package.json +7 -3
  774. package/dist/node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js +0 -11
@@ -0,0 +1,1475 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const json = require("../../../helpers/json.cjs");
4
+ const customMarshalling = require("../../../scw/custom-marshalling.cjs");
5
+ const marshalling = require("../../../helpers/marshalling.cjs");
6
+ const unmarshalIP = (data) => {
7
+ if (!json.isJSONObject(data)) {
8
+ throw new TypeError(
9
+ `Unmarshalling the type 'IP' failed as data isn't a dictionary.`
10
+ );
11
+ }
12
+ return {
13
+ address: data.address,
14
+ cidr: data.cidr,
15
+ gateway: data.gateway,
16
+ ipId: data.ip_id,
17
+ netmask: data.netmask,
18
+ reverse: data.reverse,
19
+ semantic: data.semantic,
20
+ status: data.status,
21
+ version: data.version
22
+ };
23
+ };
24
+ const unmarshalCPU = (data) => {
25
+ if (!json.isJSONObject(data)) {
26
+ throw new TypeError(
27
+ `Unmarshalling the type 'CPU' failed as data isn't a dictionary.`
28
+ );
29
+ }
30
+ return {
31
+ coreCount: data.core_count,
32
+ frequency: data.frequency,
33
+ name: data.name,
34
+ threadCount: data.thread_count
35
+ };
36
+ };
37
+ const unmarshalDisk = (data) => {
38
+ if (!json.isJSONObject(data)) {
39
+ throw new TypeError(
40
+ `Unmarshalling the type 'Disk' failed as data isn't a dictionary.`
41
+ );
42
+ }
43
+ return {
44
+ capacity: data.capacity,
45
+ type: data.type
46
+ };
47
+ };
48
+ const unmarshalMemory = (data) => {
49
+ if (!json.isJSONObject(data)) {
50
+ throw new TypeError(
51
+ `Unmarshalling the type 'Memory' failed as data isn't a dictionary.`
52
+ );
53
+ }
54
+ return {
55
+ capacity: data.capacity,
56
+ frequency: data.frequency,
57
+ isEcc: data.is_ecc,
58
+ type: data.type
59
+ };
60
+ };
61
+ const unmarshalPersistentMemory = (data) => {
62
+ if (!json.isJSONObject(data)) {
63
+ throw new TypeError(
64
+ `Unmarshalling the type 'PersistentMemory' failed as data isn't a dictionary.`
65
+ );
66
+ }
67
+ return {
68
+ capacity: data.capacity,
69
+ frequency: data.frequency,
70
+ model: data.model
71
+ };
72
+ };
73
+ const unmarshalRaidController = (data) => {
74
+ if (!json.isJSONObject(data)) {
75
+ throw new TypeError(
76
+ `Unmarshalling the type 'RaidController' failed as data isn't a dictionary.`
77
+ );
78
+ }
79
+ return {
80
+ model: data.model,
81
+ raidLevel: data.raid_level
82
+ };
83
+ };
84
+ const unmarshalOfferAntiDosInfo = (data) => {
85
+ if (!json.isJSONObject(data)) {
86
+ throw new TypeError(
87
+ `Unmarshalling the type 'OfferAntiDosInfo' failed as data isn't a dictionary.`
88
+ );
89
+ }
90
+ return {
91
+ type: data.type
92
+ };
93
+ };
94
+ const unmarshalOfferBackupInfo = (data) => {
95
+ if (!json.isJSONObject(data)) {
96
+ throw new TypeError(
97
+ `Unmarshalling the type 'OfferBackupInfo' failed as data isn't a dictionary.`
98
+ );
99
+ }
100
+ return {
101
+ size: data.size
102
+ };
103
+ };
104
+ const unmarshalOfferBandwidthInfo = (data) => {
105
+ if (!json.isJSONObject(data)) {
106
+ throw new TypeError(
107
+ `Unmarshalling the type 'OfferBandwidthInfo' failed as data isn't a dictionary.`
108
+ );
109
+ }
110
+ return {
111
+ speed: data.speed
112
+ };
113
+ };
114
+ const unmarshalOfferFailoverBlockInfo = (data) => {
115
+ if (!json.isJSONObject(data)) {
116
+ throw new TypeError(
117
+ `Unmarshalling the type 'OfferFailoverBlockInfo' failed as data isn't a dictionary.`
118
+ );
119
+ }
120
+ return {
121
+ onetimeFees: data.onetime_fees ? unmarshalOffer(data.onetime_fees) : void 0
122
+ };
123
+ };
124
+ const unmarshalOfferFailoverIpInfo = (data) => {
125
+ if (!json.isJSONObject(data)) {
126
+ throw new TypeError(
127
+ `Unmarshalling the type 'OfferFailoverIpInfo' failed as data isn't a dictionary.`
128
+ );
129
+ }
130
+ return {
131
+ onetimeFees: data.onetime_fees ? unmarshalOffer(data.onetime_fees) : void 0
132
+ };
133
+ };
134
+ const unmarshalOfferLicenseInfo = (data) => {
135
+ if (!json.isJSONObject(data)) {
136
+ throw new TypeError(
137
+ `Unmarshalling the type 'OfferLicenseInfo' failed as data isn't a dictionary.`
138
+ );
139
+ }
140
+ return {
141
+ boundToIp: data.bound_to_ip
142
+ };
143
+ };
144
+ const unmarshalOfferRPNInfo = (data) => {
145
+ if (!json.isJSONObject(data)) {
146
+ throw new TypeError(
147
+ `Unmarshalling the type 'OfferRPNInfo' failed as data isn't a dictionary.`
148
+ );
149
+ }
150
+ return {
151
+ speed: data.speed
152
+ };
153
+ };
154
+ const unmarshalOfferSANInfo = (data) => {
155
+ if (!json.isJSONObject(data)) {
156
+ throw new TypeError(
157
+ `Unmarshalling the type 'OfferSANInfo' failed as data isn't a dictionary.`
158
+ );
159
+ }
160
+ return {
161
+ deviceType: data.device_type,
162
+ ha: data.ha,
163
+ size: data.size
164
+ };
165
+ };
166
+ const unmarshalOfferServerInfo = (data) => {
167
+ if (!json.isJSONObject(data)) {
168
+ throw new TypeError(
169
+ `Unmarshalling the type 'OfferServerInfo' failed as data isn't a dictionary.`
170
+ );
171
+ }
172
+ return {
173
+ availableOptions: marshalling.unmarshalArrayOfObject(
174
+ data.available_options,
175
+ unmarshalOffer
176
+ ),
177
+ bandwidth: data.bandwidth,
178
+ commercialRange: data.commercial_range,
179
+ connectivity: data.connectivity,
180
+ cpus: marshalling.unmarshalArrayOfObject(data.cpus, unmarshalCPU),
181
+ disks: marshalling.unmarshalArrayOfObject(data.disks, unmarshalDisk),
182
+ memories: marshalling.unmarshalArrayOfObject(data.memories, unmarshalMemory),
183
+ onetimeFees: data.onetime_fees ? unmarshalOffer(data.onetime_fees) : void 0,
184
+ persistentMemories: marshalling.unmarshalArrayOfObject(
185
+ data.persistent_memories,
186
+ unmarshalPersistentMemory
187
+ ),
188
+ raidControllers: marshalling.unmarshalArrayOfObject(
189
+ data.raid_controllers,
190
+ unmarshalRaidController
191
+ ),
192
+ rpnVersion: data.rpn_version,
193
+ stock: data.stock,
194
+ stockByDatacenter: data.stock_by_datacenter
195
+ };
196
+ };
197
+ const unmarshalOfferServiceLevelInfo = (data) => {
198
+ if (!json.isJSONObject(data)) {
199
+ throw new TypeError(
200
+ `Unmarshalling the type 'OfferServiceLevelInfo' failed as data isn't a dictionary.`
201
+ );
202
+ }
203
+ return {
204
+ antidos: data.antidos,
205
+ availableOptions: marshalling.unmarshalArrayOfObject(
206
+ data.available_options,
207
+ unmarshalOffer
208
+ ),
209
+ customization: data.customization,
210
+ extraFailoverQuota: data.extra_failover_quota,
211
+ git: data.git,
212
+ highRpnBandwidth: data.high_rpn_bandwidth,
213
+ prioritySupport: data.priority_support,
214
+ salesSupport: data.sales_support,
215
+ sla: data.sla,
216
+ supportPhone: data.support_phone,
217
+ supportTicket: data.support_ticket
218
+ };
219
+ };
220
+ const unmarshalOfferStorageInfo = (data) => {
221
+ if (!json.isJSONObject(data)) {
222
+ throw new TypeError(
223
+ `Unmarshalling the type 'OfferStorageInfo' failed as data isn't a dictionary.`
224
+ );
225
+ }
226
+ return {
227
+ maxQuota: data.max_quota,
228
+ size: data.size
229
+ };
230
+ };
231
+ const unmarshalOffer = (data) => {
232
+ if (!json.isJSONObject(data)) {
233
+ throw new TypeError(
234
+ `Unmarshalling the type 'Offer' failed as data isn't a dictionary.`
235
+ );
236
+ }
237
+ return {
238
+ antidosInfo: data.antidos_info ? unmarshalOfferAntiDosInfo(data.antidos_info) : void 0,
239
+ backupInfo: data.backup_info ? unmarshalOfferBackupInfo(data.backup_info) : void 0,
240
+ bandwidthInfo: data.bandwidth_info ? unmarshalOfferBandwidthInfo(data.bandwidth_info) : void 0,
241
+ catalog: data.catalog,
242
+ failoverBlockInfo: data.failover_block_info ? unmarshalOfferFailoverBlockInfo(data.failover_block_info) : void 0,
243
+ failoverIpInfo: data.failover_ip_info ? unmarshalOfferFailoverIpInfo(data.failover_ip_info) : void 0,
244
+ id: data.id,
245
+ licenseInfo: data.license_info ? unmarshalOfferLicenseInfo(data.license_info) : void 0,
246
+ name: data.name,
247
+ paymentFrequency: data.payment_frequency,
248
+ pricing: data.pricing ? customMarshalling.unmarshalMoney(data.pricing) : void 0,
249
+ rpnInfo: data.rpn_info ? unmarshalOfferRPNInfo(data.rpn_info) : void 0,
250
+ sanInfo: data.san_info ? unmarshalOfferSANInfo(data.san_info) : void 0,
251
+ serverInfo: data.server_info ? unmarshalOfferServerInfo(data.server_info) : void 0,
252
+ serviceLevelInfo: data.service_level_info ? unmarshalOfferServiceLevelInfo(data.service_level_info) : void 0,
253
+ storageInfo: data.storage_info ? unmarshalOfferStorageInfo(data.storage_info) : void 0,
254
+ usbStorageInfo: data.usb_storage_info ? unmarshalOfferStorageInfo(data.usb_storage_info) : void 0
255
+ };
256
+ };
257
+ const unmarshalOS = (data) => {
258
+ if (!json.isJSONObject(data)) {
259
+ throw new TypeError(
260
+ `Unmarshalling the type 'OS' failed as data isn't a dictionary.`
261
+ );
262
+ }
263
+ return {
264
+ allowCustomPartitioning: data.allow_custom_partitioning,
265
+ allowSshKeys: data.allow_ssh_keys,
266
+ allowedFilesystems: data.allowed_filesystems,
267
+ arch: data.arch,
268
+ displayName: data.display_name,
269
+ hostnameMaxLength: data.hostname_max_length,
270
+ hostnameRegex: data.hostname_regex,
271
+ id: data.id,
272
+ licenseOffers: marshalling.unmarshalArrayOfObject(data.license_offers, unmarshalOffer),
273
+ maxPartitions: data.max_partitions,
274
+ name: data.name,
275
+ panelPasswordRegex: data.panel_password_regex,
276
+ passwordRegex: data.password_regex,
277
+ releasedAt: marshalling.unmarshalDate(data.released_at),
278
+ requiresAdminPassword: data.requires_admin_password,
279
+ requiresLicense: data.requires_license,
280
+ requiresPanelPassword: data.requires_panel_password,
281
+ requiresUser: data.requires_user,
282
+ requiresValidHostname: data.requires_valid_hostname,
283
+ type: data.type,
284
+ version: data.version
285
+ };
286
+ };
287
+ const unmarshalRpnSan = (data) => {
288
+ if (!json.isJSONObject(data)) {
289
+ throw new TypeError(
290
+ `Unmarshalling the type 'RpnSan' failed as data isn't a dictionary.`
291
+ );
292
+ }
293
+ return {
294
+ createdAt: marshalling.unmarshalDate(data.created_at),
295
+ datacenterName: data.datacenter_name,
296
+ deliveredAt: marshalling.unmarshalDate(data.delivered_at),
297
+ expiresAt: marshalling.unmarshalDate(data.expires_at),
298
+ id: data.id,
299
+ iqn: data.iqn,
300
+ iqnSuffix: data.iqn_suffix,
301
+ offer: data.offer ? unmarshalOffer(data.offer) : void 0,
302
+ offerId: data.offer_id,
303
+ offerName: data.offer_name,
304
+ organizationId: data.organization_id,
305
+ projectId: data.project_id,
306
+ rpnv1Compatible: data.rpnv1_compatible,
307
+ rpnv1Implicit: data.rpnv1_implicit,
308
+ serverHostname: data.server_hostname,
309
+ status: data.status,
310
+ storageSize: data.storage_size,
311
+ terminatedAt: marshalling.unmarshalDate(data.terminated_at)
312
+ };
313
+ };
314
+ const unmarshalRpnGroup = (data) => {
315
+ if (!json.isJSONObject(data)) {
316
+ throw new TypeError(
317
+ `Unmarshalling the type 'RpnGroup' failed as data isn't a dictionary.`
318
+ );
319
+ }
320
+ return {
321
+ active: data.active,
322
+ createdAt: marshalling.unmarshalDate(data.created_at),
323
+ id: data.id,
324
+ membersCount: data.members_count,
325
+ name: data.name,
326
+ organizationId: data.organization_id,
327
+ owner: data.owner,
328
+ projectId: data.project_id,
329
+ type: data.type
330
+ };
331
+ };
332
+ const unmarshalNetworkInterface = (data) => {
333
+ if (!json.isJSONObject(data)) {
334
+ throw new TypeError(
335
+ `Unmarshalling the type 'NetworkInterface' failed as data isn't a dictionary.`
336
+ );
337
+ }
338
+ return {
339
+ cardId: data.card_id,
340
+ deviceId: data.device_id,
341
+ ips: marshalling.unmarshalArrayOfObject(data.ips, unmarshalIP),
342
+ mac: data.mac,
343
+ type: data.type
344
+ };
345
+ };
346
+ const unmarshalServerLocation = (data) => {
347
+ if (!json.isJSONObject(data)) {
348
+ throw new TypeError(
349
+ `Unmarshalling the type 'ServerLocation' failed as data isn't a dictionary.`
350
+ );
351
+ }
352
+ return {
353
+ datacenterName: data.datacenter_name,
354
+ rack: data.rack,
355
+ room: data.room
356
+ };
357
+ };
358
+ const unmarshalServerOption = (data) => {
359
+ if (!json.isJSONObject(data)) {
360
+ throw new TypeError(
361
+ `Unmarshalling the type 'ServerOption' failed as data isn't a dictionary.`
362
+ );
363
+ }
364
+ return {
365
+ createdAt: marshalling.unmarshalDate(data.created_at),
366
+ expiredAt: marshalling.unmarshalDate(data.expired_at),
367
+ offer: data.offer ? unmarshalOffer(data.offer) : void 0,
368
+ options: marshalling.unmarshalArrayOfObject(data.options, unmarshalServerOption),
369
+ updatedAt: marshalling.unmarshalDate(data.updated_at)
370
+ };
371
+ };
372
+ const unmarshalServiceLevel = (data) => {
373
+ if (!json.isJSONObject(data)) {
374
+ throw new TypeError(
375
+ `Unmarshalling the type 'ServiceLevel' failed as data isn't a dictionary.`
376
+ );
377
+ }
378
+ return {
379
+ level: data.level,
380
+ offerId: data.offer_id
381
+ };
382
+ };
383
+ const unmarshalServer = (data) => {
384
+ if (!json.isJSONObject(data)) {
385
+ throw new TypeError(
386
+ `Unmarshalling the type 'Server' failed as data isn't a dictionary.`
387
+ );
388
+ }
389
+ return {
390
+ abuseContact: data.abuse_contact,
391
+ createdAt: marshalling.unmarshalDate(data.created_at),
392
+ expiredAt: marshalling.unmarshalDate(data.expired_at),
393
+ hasBmc: data.has_bmc,
394
+ hostname: data.hostname,
395
+ id: data.id,
396
+ interfaces: marshalling.unmarshalArrayOfObject(
397
+ data.interfaces,
398
+ unmarshalNetworkInterface
399
+ ),
400
+ ipv6Slaac: data.ipv6_slaac,
401
+ isOutsourced: data.is_outsourced,
402
+ isRpnv2Member: data.is_rpnv2_member,
403
+ level: data.level ? unmarshalServiceLevel(data.level) : void 0,
404
+ location: data.location ? unmarshalServerLocation(data.location) : void 0,
405
+ offer: data.offer ? unmarshalOffer(data.offer) : void 0,
406
+ options: marshalling.unmarshalArrayOfObject(data.options, unmarshalServerOption),
407
+ organizationId: data.organization_id,
408
+ os: data.os ? unmarshalOS(data.os) : void 0,
409
+ projectId: data.project_id,
410
+ qinq: data.qinq,
411
+ rebootedAt: marshalling.unmarshalDate(data.rebooted_at),
412
+ rescueOs: data.rescue_os ? unmarshalOS(data.rescue_os) : void 0,
413
+ status: data.status,
414
+ tags: data.tags,
415
+ updatedAt: marshalling.unmarshalDate(data.updated_at),
416
+ zone: data.zone
417
+ };
418
+ };
419
+ const unmarshalRpnV2GroupSubnet = (data) => {
420
+ if (!json.isJSONObject(data)) {
421
+ throw new TypeError(
422
+ `Unmarshalling the type 'RpnV2GroupSubnet' failed as data isn't a dictionary.`
423
+ );
424
+ }
425
+ return {
426
+ address: data.address,
427
+ cidr: data.cidr
428
+ };
429
+ };
430
+ const unmarshalRpnV2Group = (data) => {
431
+ if (!json.isJSONObject(data)) {
432
+ throw new TypeError(
433
+ `Unmarshalling the type 'RpnV2Group' failed as data isn't a dictionary.`
434
+ );
435
+ }
436
+ return {
437
+ compatibleRpnv1: data.compatible_rpnv1,
438
+ gateway: data.gateway,
439
+ id: data.id,
440
+ membersCount: data.members_count,
441
+ name: data.name,
442
+ organizationId: data.organization_id,
443
+ owner: data.owner,
444
+ projectId: data.project_id,
445
+ rpnv1Group: data.rpnv1_group ? unmarshalRpnGroup(data.rpnv1_group) : void 0,
446
+ status: data.status,
447
+ subnet: data.subnet ? unmarshalRpnV2GroupSubnet(data.subnet) : void 0,
448
+ type: data.type
449
+ };
450
+ };
451
+ const unmarshalService = (data) => {
452
+ if (!json.isJSONObject(data)) {
453
+ throw new TypeError(
454
+ `Unmarshalling the type 'Service' failed as data isn't a dictionary.`
455
+ );
456
+ }
457
+ return {
458
+ createdAt: marshalling.unmarshalDate(data.created_at),
459
+ deliveredAt: marshalling.unmarshalDate(data.delivered_at),
460
+ expiresAt: marshalling.unmarshalDate(data.expires_at),
461
+ id: data.id,
462
+ offer: data.offer ? unmarshalOffer(data.offer) : void 0,
463
+ provisioningStatus: data.provisioning_status,
464
+ resourceId: data.resource_id,
465
+ terminatedAt: marshalling.unmarshalDate(data.terminated_at),
466
+ type: data.type
467
+ };
468
+ };
469
+ const unmarshalFailoverBlock = (data) => {
470
+ if (!json.isJSONObject(data)) {
471
+ throw new TypeError(
472
+ `Unmarshalling the type 'FailoverBlock' failed as data isn't a dictionary.`
473
+ );
474
+ }
475
+ return {
476
+ address: data.address,
477
+ cidr: data.cidr,
478
+ gatewayIp: data.gateway_ip,
479
+ id: data.id,
480
+ ipVersion: data.ip_version,
481
+ nameservers: data.nameservers,
482
+ netmask: data.netmask
483
+ };
484
+ };
485
+ const unmarshalFailoverIP = (data) => {
486
+ if (!json.isJSONObject(data)) {
487
+ throw new TypeError(
488
+ `Unmarshalling the type 'FailoverIP' failed as data isn't a dictionary.`
489
+ );
490
+ }
491
+ return {
492
+ address: data.address,
493
+ block: data.block ? unmarshalFailoverBlock(data.block) : void 0,
494
+ cidr: data.cidr,
495
+ gatewayIp: data.gateway_ip,
496
+ id: data.id,
497
+ ipVersion: data.ip_version,
498
+ mac: data.mac,
499
+ netmask: data.netmask,
500
+ reverse: data.reverse,
501
+ serverId: data.server_id,
502
+ serverZone: data.server_zone,
503
+ status: data.status,
504
+ type: data.type
505
+ };
506
+ };
507
+ const unmarshalBMCAccess = (data) => {
508
+ if (!json.isJSONObject(data)) {
509
+ throw new TypeError(
510
+ `Unmarshalling the type 'BMCAccess' failed as data isn't a dictionary.`
511
+ );
512
+ }
513
+ return {
514
+ expiresAt: marshalling.unmarshalDate(data.expires_at),
515
+ login: data.login,
516
+ password: data.password,
517
+ status: data.status,
518
+ url: data.url
519
+ };
520
+ };
521
+ const unmarshalBackup = (data) => {
522
+ if (!json.isJSONObject(data)) {
523
+ throw new TypeError(
524
+ `Unmarshalling the type 'Backup' failed as data isn't a dictionary.`
525
+ );
526
+ }
527
+ return {
528
+ aclEnabled: data.acl_enabled,
529
+ autologin: data.autologin,
530
+ id: data.id,
531
+ login: data.login,
532
+ quotaFiles: data.quota_files,
533
+ quotaFilesUsed: data.quota_files_used,
534
+ quotaSpace: data.quota_space,
535
+ quotaSpaceUsed: data.quota_space_used,
536
+ server: data.server,
537
+ status: data.status
538
+ };
539
+ };
540
+ const unmarshalCanOrderResponse = (data) => {
541
+ if (!json.isJSONObject(data)) {
542
+ throw new TypeError(
543
+ `Unmarshalling the type 'CanOrderResponse' failed as data isn't a dictionary.`
544
+ );
545
+ }
546
+ return {
547
+ billingOk: data.billing_ok,
548
+ canOrder: data.can_order,
549
+ emailConfirmed: data.email_confirmed,
550
+ message: data.message,
551
+ paymentMode: data.payment_mode,
552
+ phoneConfirmed: data.phone_confirmed,
553
+ quotaOk: data.quota_ok,
554
+ userConfirmed: data.user_confirmed
555
+ };
556
+ };
557
+ const unmarshalCreateFailoverIPsResponse = (data) => {
558
+ if (!json.isJSONObject(data)) {
559
+ throw new TypeError(
560
+ `Unmarshalling the type 'CreateFailoverIPsResponse' failed as data isn't a dictionary.`
561
+ );
562
+ }
563
+ return {
564
+ services: marshalling.unmarshalArrayOfObject(data.services, unmarshalService),
565
+ totalCount: data.total_count
566
+ };
567
+ };
568
+ const unmarshalGetIPv6BlockQuotasResponseQuota = (data) => {
569
+ if (!json.isJSONObject(data)) {
570
+ throw new TypeError(
571
+ `Unmarshalling the type 'GetIPv6BlockQuotasResponseQuota' failed as data isn't a dictionary.`
572
+ );
573
+ }
574
+ return {
575
+ cidr: data.cidr,
576
+ quota: data.quota
577
+ };
578
+ };
579
+ const unmarshalGetIPv6BlockQuotasResponse = (data) => {
580
+ if (!json.isJSONObject(data)) {
581
+ throw new TypeError(
582
+ `Unmarshalling the type 'GetIPv6BlockQuotasResponse' failed as data isn't a dictionary.`
583
+ );
584
+ }
585
+ return {
586
+ quotas: marshalling.unmarshalArrayOfObject(
587
+ data.quotas,
588
+ unmarshalGetIPv6BlockQuotasResponseQuota
589
+ ),
590
+ totalCount: data.total_count
591
+ };
592
+ };
593
+ const unmarshalGetRemainingQuotaResponse = (data) => {
594
+ if (!json.isJSONObject(data)) {
595
+ throw new TypeError(
596
+ `Unmarshalling the type 'GetRemainingQuotaResponse' failed as data isn't a dictionary.`
597
+ );
598
+ }
599
+ return {
600
+ failoverBlockQuota: data.failover_block_quota,
601
+ failoverBlockRemainingQuota: data.failover_block_remaining_quota,
602
+ failoverIpQuota: data.failover_ip_quota,
603
+ failoverIpRemainingQuota: data.failover_ip_remaining_quota
604
+ };
605
+ };
606
+ const unmarshalGetRpnStatusResponse = (data) => {
607
+ if (!json.isJSONObject(data)) {
608
+ throw new TypeError(
609
+ `Unmarshalling the type 'GetRpnStatusResponse' failed as data isn't a dictionary.`
610
+ );
611
+ }
612
+ return {
613
+ operationsLeft: data.operations_left,
614
+ status: data.status
615
+ };
616
+ };
617
+ const unmarshalIPv6Block = (data) => {
618
+ if (!json.isJSONObject(data)) {
619
+ throw new TypeError(
620
+ `Unmarshalling the type 'IPv6Block' failed as data isn't a dictionary.`
621
+ );
622
+ }
623
+ return {
624
+ address: data.address,
625
+ cidr: data.cidr,
626
+ delegationStatus: data.delegation_status,
627
+ duid: data.duid,
628
+ id: data.id,
629
+ nameservers: data.nameservers,
630
+ subnets: marshalling.unmarshalArrayOfObject(data.subnets, unmarshalIPv6Block)
631
+ };
632
+ };
633
+ const unmarshalInvoice = (data) => {
634
+ if (!json.isJSONObject(data)) {
635
+ throw new TypeError(
636
+ `Unmarshalling the type 'Invoice' failed as data isn't a dictionary.`
637
+ );
638
+ }
639
+ return {
640
+ content: data.content,
641
+ createdAt: marshalling.unmarshalDate(data.created_at),
642
+ id: data.id,
643
+ paidAt: marshalling.unmarshalDate(data.paid_at),
644
+ paymentMethod: data.payment_method,
645
+ status: data.status,
646
+ totalWithTaxes: data.total_with_taxes ? customMarshalling.unmarshalMoney(data.total_with_taxes) : void 0,
647
+ totalWithoutTaxes: data.total_without_taxes ? customMarshalling.unmarshalMoney(data.total_without_taxes) : void 0,
648
+ transactionId: data.transaction_id
649
+ };
650
+ };
651
+ const unmarshalListFailoverIPsResponse = (data) => {
652
+ if (!json.isJSONObject(data)) {
653
+ throw new TypeError(
654
+ `Unmarshalling the type 'ListFailoverIPsResponse' failed as data isn't a dictionary.`
655
+ );
656
+ }
657
+ return {
658
+ failoverIps: marshalling.unmarshalArrayOfObject(data.failover_ips, unmarshalFailoverIP),
659
+ totalCount: data.total_count
660
+ };
661
+ };
662
+ const unmarshalListIPv6BlockSubnetsAvailableResponseSubnet = (data) => {
663
+ if (!json.isJSONObject(data)) {
664
+ throw new TypeError(
665
+ `Unmarshalling the type 'ListIPv6BlockSubnetsAvailableResponseSubnet' failed as data isn't a dictionary.`
666
+ );
667
+ }
668
+ return {
669
+ address: data.address,
670
+ cidr: data.cidr
671
+ };
672
+ };
673
+ const unmarshalListIPv6BlockSubnetsAvailableResponse = (data) => {
674
+ if (!json.isJSONObject(data)) {
675
+ throw new TypeError(
676
+ `Unmarshalling the type 'ListIPv6BlockSubnetsAvailableResponse' failed as data isn't a dictionary.`
677
+ );
678
+ }
679
+ return {
680
+ subnetAvailables: marshalling.unmarshalArrayOfObject(
681
+ data.subnet_availables,
682
+ unmarshalListIPv6BlockSubnetsAvailableResponseSubnet
683
+ ),
684
+ totalCount: data.total_count
685
+ };
686
+ };
687
+ const unmarshalInvoiceSummary = (data) => {
688
+ if (!json.isJSONObject(data)) {
689
+ throw new TypeError(
690
+ `Unmarshalling the type 'InvoiceSummary' failed as data isn't a dictionary.`
691
+ );
692
+ }
693
+ return {
694
+ createdAt: marshalling.unmarshalDate(data.created_at),
695
+ id: data.id,
696
+ paidAt: marshalling.unmarshalDate(data.paid_at),
697
+ paymentMethod: data.payment_method,
698
+ status: data.status,
699
+ totalWithTaxes: data.total_with_taxes ? customMarshalling.unmarshalMoney(data.total_with_taxes) : void 0,
700
+ totalWithoutTaxes: data.total_without_taxes ? customMarshalling.unmarshalMoney(data.total_without_taxes) : void 0,
701
+ transactionId: data.transaction_id
702
+ };
703
+ };
704
+ const unmarshalListInvoicesResponse = (data) => {
705
+ if (!json.isJSONObject(data)) {
706
+ throw new TypeError(
707
+ `Unmarshalling the type 'ListInvoicesResponse' failed as data isn't a dictionary.`
708
+ );
709
+ }
710
+ return {
711
+ invoices: marshalling.unmarshalArrayOfObject(data.invoices, unmarshalInvoiceSummary),
712
+ totalCount: data.total_count
713
+ };
714
+ };
715
+ const unmarshalRpnSanIpRpnV2Group = (data) => {
716
+ if (!json.isJSONObject(data)) {
717
+ throw new TypeError(
718
+ `Unmarshalling the type 'RpnSanIpRpnV2Group' failed as data isn't a dictionary.`
719
+ );
720
+ }
721
+ return {
722
+ id: data.id,
723
+ name: data.name
724
+ };
725
+ };
726
+ const unmarshalRpnSanIpServer = (data) => {
727
+ if (!json.isJSONObject(data)) {
728
+ throw new TypeError(
729
+ `Unmarshalling the type 'RpnSanIpServer' failed as data isn't a dictionary.`
730
+ );
731
+ }
732
+ return {
733
+ datacenterName: data.datacenter_name,
734
+ hostname: data.hostname,
735
+ id: data.id
736
+ };
737
+ };
738
+ const unmarshalRpnSanIp = (data) => {
739
+ if (!json.isJSONObject(data)) {
740
+ throw new TypeError(
741
+ `Unmarshalling the type 'RpnSanIp' failed as data isn't a dictionary.`
742
+ );
743
+ }
744
+ return {
745
+ ip: data.ip ? unmarshalIP(data.ip) : void 0,
746
+ rpnv2Group: data.rpnv2_group ? unmarshalRpnSanIpRpnV2Group(data.rpnv2_group) : void 0,
747
+ server: data.server ? unmarshalRpnSanIpServer(data.server) : void 0,
748
+ type: data.type
749
+ };
750
+ };
751
+ const unmarshalListIpsResponse = (data) => {
752
+ if (!json.isJSONObject(data)) {
753
+ throw new TypeError(
754
+ `Unmarshalling the type 'ListIpsResponse' failed as data isn't a dictionary.`
755
+ );
756
+ }
757
+ return {
758
+ ips: marshalling.unmarshalArrayOfObject(data.ips, unmarshalRpnSanIp),
759
+ totalCount: data.total_count
760
+ };
761
+ };
762
+ const unmarshalListOSResponse = (data) => {
763
+ if (!json.isJSONObject(data)) {
764
+ throw new TypeError(
765
+ `Unmarshalling the type 'ListOSResponse' failed as data isn't a dictionary.`
766
+ );
767
+ }
768
+ return {
769
+ os: marshalling.unmarshalArrayOfObject(data.os, unmarshalOS),
770
+ totalCount: data.total_count
771
+ };
772
+ };
773
+ const unmarshalListOffersResponse = (data) => {
774
+ if (!json.isJSONObject(data)) {
775
+ throw new TypeError(
776
+ `Unmarshalling the type 'ListOffersResponse' failed as data isn't a dictionary.`
777
+ );
778
+ }
779
+ return {
780
+ offers: marshalling.unmarshalArrayOfObject(data.offers, unmarshalOffer),
781
+ totalCount: data.total_count
782
+ };
783
+ };
784
+ const unmarshalRefundSummary = (data) => {
785
+ if (!json.isJSONObject(data)) {
786
+ throw new TypeError(
787
+ `Unmarshalling the type 'RefundSummary' failed as data isn't a dictionary.`
788
+ );
789
+ }
790
+ return {
791
+ createdAt: marshalling.unmarshalDate(data.created_at),
792
+ id: data.id,
793
+ method: data.method,
794
+ refundedAt: marshalling.unmarshalDate(data.refunded_at),
795
+ status: data.status,
796
+ totalWithTaxes: data.total_with_taxes ? customMarshalling.unmarshalMoney(data.total_with_taxes) : void 0,
797
+ totalWithoutTaxes: data.total_without_taxes ? customMarshalling.unmarshalMoney(data.total_without_taxes) : void 0
798
+ };
799
+ };
800
+ const unmarshalListRefundsResponse = (data) => {
801
+ if (!json.isJSONObject(data)) {
802
+ throw new TypeError(
803
+ `Unmarshalling the type 'ListRefundsResponse' failed as data isn't a dictionary.`
804
+ );
805
+ }
806
+ return {
807
+ refunds: marshalling.unmarshalArrayOfObject(data.refunds, unmarshalRefundSummary),
808
+ totalCount: data.total_count
809
+ };
810
+ };
811
+ const unmarshalRpnSanServer = (data) => {
812
+ if (!json.isJSONObject(data)) {
813
+ throw new TypeError(
814
+ `Unmarshalling the type 'RpnSanServer' failed as data isn't a dictionary.`
815
+ );
816
+ }
817
+ return {
818
+ datacenterName: data.datacenter_name,
819
+ hostname: data.hostname,
820
+ id: data.id,
821
+ sans: marshalling.unmarshalArrayOfObject(data.sans, unmarshalRpnSan),
822
+ zone: data.zone
823
+ };
824
+ };
825
+ const unmarshalListRpnCapableSanServersResponse = (data) => {
826
+ if (!json.isJSONObject(data)) {
827
+ throw new TypeError(
828
+ `Unmarshalling the type 'ListRpnCapableSanServersResponse' failed as data isn't a dictionary.`
829
+ );
830
+ }
831
+ return {
832
+ sanServers: marshalling.unmarshalArrayOfObject(data.san_servers, unmarshalRpnSanServer),
833
+ totalCount: data.total_count
834
+ };
835
+ };
836
+ const unmarshalListRpnCapableServersResponse = (data) => {
837
+ if (!json.isJSONObject(data)) {
838
+ throw new TypeError(
839
+ `Unmarshalling the type 'ListRpnCapableServersResponse' failed as data isn't a dictionary.`
840
+ );
841
+ }
842
+ return {
843
+ servers: marshalling.unmarshalArrayOfObject(data.servers, unmarshalServer),
844
+ totalCount: data.total_count
845
+ };
846
+ };
847
+ const unmarshalRpnGroupMember = (data) => {
848
+ if (!json.isJSONObject(data)) {
849
+ throw new TypeError(
850
+ `Unmarshalling the type 'RpnGroupMember' failed as data isn't a dictionary.`
851
+ );
852
+ }
853
+ return {
854
+ groupId: data.group_id,
855
+ groupName: data.group_name,
856
+ groupOwner: data.group_owner,
857
+ id: data.id,
858
+ owner: data.owner,
859
+ sanServer: data.san_server ? unmarshalRpnSanServer(data.san_server) : void 0,
860
+ server: data.server ? unmarshalServer(data.server) : void 0,
861
+ speed: data.speed,
862
+ status: data.status
863
+ };
864
+ };
865
+ const unmarshalListRpnGroupMembersResponse = (data) => {
866
+ if (!json.isJSONObject(data)) {
867
+ throw new TypeError(
868
+ `Unmarshalling the type 'ListRpnGroupMembersResponse' failed as data isn't a dictionary.`
869
+ );
870
+ }
871
+ return {
872
+ members: marshalling.unmarshalArrayOfObject(data.members, unmarshalRpnGroupMember),
873
+ totalCount: data.total_count
874
+ };
875
+ };
876
+ const unmarshalListRpnGroupsResponse = (data) => {
877
+ if (!json.isJSONObject(data)) {
878
+ throw new TypeError(
879
+ `Unmarshalling the type 'ListRpnGroupsResponse' failed as data isn't a dictionary.`
880
+ );
881
+ }
882
+ return {
883
+ rpnGroups: marshalling.unmarshalArrayOfObject(data.rpn_groups, unmarshalRpnGroup),
884
+ totalCount: data.total_count
885
+ };
886
+ };
887
+ const unmarshalListRpnInvitesResponse = (data) => {
888
+ if (!json.isJSONObject(data)) {
889
+ throw new TypeError(
890
+ `Unmarshalling the type 'ListRpnInvitesResponse' failed as data isn't a dictionary.`
891
+ );
892
+ }
893
+ return {
894
+ members: marshalling.unmarshalArrayOfObject(data.members, unmarshalRpnGroupMember),
895
+ totalCount: data.total_count
896
+ };
897
+ };
898
+ const unmarshalRpnSanSummary = (data) => {
899
+ if (!json.isJSONObject(data)) {
900
+ throw new TypeError(
901
+ `Unmarshalling the type 'RpnSanSummary' failed as data isn't a dictionary.`
902
+ );
903
+ }
904
+ return {
905
+ createdAt: marshalling.unmarshalDate(data.created_at),
906
+ datacenterName: data.datacenter_name,
907
+ deliveredAt: marshalling.unmarshalDate(data.delivered_at),
908
+ expiresAt: marshalling.unmarshalDate(data.expires_at),
909
+ id: data.id,
910
+ iqnSuffix: data.iqn_suffix,
911
+ offerId: data.offer_id,
912
+ offerName: data.offer_name,
913
+ organizationId: data.organization_id,
914
+ projectId: data.project_id,
915
+ rpnv1Compatible: data.rpnv1_compatible,
916
+ rpnv1Implicit: data.rpnv1_implicit,
917
+ serverHostname: data.server_hostname,
918
+ status: data.status,
919
+ storageSize: data.storage_size,
920
+ terminatedAt: marshalling.unmarshalDate(data.terminated_at)
921
+ };
922
+ };
923
+ const unmarshalListRpnSansResponse = (data) => {
924
+ if (!json.isJSONObject(data)) {
925
+ throw new TypeError(
926
+ `Unmarshalling the type 'ListRpnSansResponse' failed as data isn't a dictionary.`
927
+ );
928
+ }
929
+ return {
930
+ rpnSans: marshalling.unmarshalArrayOfObject(data.rpn_sans, unmarshalRpnSanSummary),
931
+ totalCount: data.total_count
932
+ };
933
+ };
934
+ const unmarshalRpnServerCapability = (data) => {
935
+ if (!json.isJSONObject(data)) {
936
+ throw new TypeError(
937
+ `Unmarshalling the type 'RpnServerCapability' failed as data isn't a dictionary.`
938
+ );
939
+ }
940
+ return {
941
+ canJoinQinqGroup: data.can_join_qinq_group,
942
+ canJoinRpnv2Group: data.can_join_rpnv2_group,
943
+ compatibleQinq: data.compatible_qinq,
944
+ datacenterName: data.datacenter_name,
945
+ hostname: data.hostname,
946
+ id: data.id,
947
+ ipAddress: data.ip_address,
948
+ rpnVersion: data.rpn_version,
949
+ rpnv1GroupCount: data.rpnv1_group_count,
950
+ rpnv2GroupCount: data.rpnv2_group_count,
951
+ zone: data.zone
952
+ };
953
+ };
954
+ const unmarshalListRpnServerCapabilitiesResponse = (data) => {
955
+ if (!json.isJSONObject(data)) {
956
+ throw new TypeError(
957
+ `Unmarshalling the type 'ListRpnServerCapabilitiesResponse' failed as data isn't a dictionary.`
958
+ );
959
+ }
960
+ return {
961
+ servers: marshalling.unmarshalArrayOfObject(data.servers, unmarshalRpnServerCapability),
962
+ totalCount: data.total_count
963
+ };
964
+ };
965
+ const unmarshalListRpnV2CapableResourcesResponse = (data) => {
966
+ if (!json.isJSONObject(data)) {
967
+ throw new TypeError(
968
+ `Unmarshalling the type 'ListRpnV2CapableResourcesResponse' failed as data isn't a dictionary.`
969
+ );
970
+ }
971
+ return {
972
+ servers: marshalling.unmarshalArrayOfObject(data.servers, unmarshalServer),
973
+ totalCount: data.total_count
974
+ };
975
+ };
976
+ const unmarshalRpnV2Member = (data) => {
977
+ if (!json.isJSONObject(data)) {
978
+ throw new TypeError(
979
+ `Unmarshalling the type 'RpnV2Member' failed as data isn't a dictionary.`
980
+ );
981
+ }
982
+ return {
983
+ id: data.id,
984
+ rpnv1Group: data.rpnv1_group ? unmarshalRpnGroup(data.rpnv1_group) : void 0,
985
+ server: data.server ? unmarshalServer(data.server) : void 0,
986
+ speed: data.speed,
987
+ status: data.status,
988
+ vlan: data.vlan
989
+ };
990
+ };
991
+ const unmarshalLog = (data) => {
992
+ if (!json.isJSONObject(data)) {
993
+ throw new TypeError(
994
+ `Unmarshalling the type 'Log' failed as data isn't a dictionary.`
995
+ );
996
+ }
997
+ return {
998
+ action: data.action,
999
+ createdAt: marshalling.unmarshalDate(data.created_at),
1000
+ finishedAt: marshalling.unmarshalDate(data.finished_at),
1001
+ group: data.group ? unmarshalRpnV2Group(data.group) : void 0,
1002
+ id: data.id,
1003
+ member: data.member ? unmarshalRpnV2Member(data.member) : void 0,
1004
+ status: data.status
1005
+ };
1006
+ };
1007
+ const unmarshalListRpnV2GroupLogsResponse = (data) => {
1008
+ if (!json.isJSONObject(data)) {
1009
+ throw new TypeError(
1010
+ `Unmarshalling the type 'ListRpnV2GroupLogsResponse' failed as data isn't a dictionary.`
1011
+ );
1012
+ }
1013
+ return {
1014
+ logs: marshalling.unmarshalArrayOfObject(data.logs, unmarshalLog),
1015
+ totalCount: data.total_count
1016
+ };
1017
+ };
1018
+ const unmarshalListRpnV2GroupsResponse = (data) => {
1019
+ if (!json.isJSONObject(data)) {
1020
+ throw new TypeError(
1021
+ `Unmarshalling the type 'ListRpnV2GroupsResponse' failed as data isn't a dictionary.`
1022
+ );
1023
+ }
1024
+ return {
1025
+ rpnGroups: marshalling.unmarshalArrayOfObject(data.rpn_groups, unmarshalRpnV2Group),
1026
+ totalCount: data.total_count
1027
+ };
1028
+ };
1029
+ const unmarshalListRpnV2MembersResponse = (data) => {
1030
+ if (!json.isJSONObject(data)) {
1031
+ throw new TypeError(
1032
+ `Unmarshalling the type 'ListRpnV2MembersResponse' failed as data isn't a dictionary.`
1033
+ );
1034
+ }
1035
+ return {
1036
+ members: marshalling.unmarshalArrayOfObject(data.members, unmarshalRpnV2Member),
1037
+ totalCount: data.total_count
1038
+ };
1039
+ };
1040
+ const unmarshalServerDisk = (data) => {
1041
+ if (!json.isJSONObject(data)) {
1042
+ throw new TypeError(
1043
+ `Unmarshalling the type 'ServerDisk' failed as data isn't a dictionary.`
1044
+ );
1045
+ }
1046
+ return {
1047
+ capacity: data.capacity,
1048
+ connector: data.connector,
1049
+ id: data.id,
1050
+ isAddon: data.is_addon,
1051
+ type: data.type
1052
+ };
1053
+ };
1054
+ const unmarshalListServerDisksResponse = (data) => {
1055
+ if (!json.isJSONObject(data)) {
1056
+ throw new TypeError(
1057
+ `Unmarshalling the type 'ListServerDisksResponse' failed as data isn't a dictionary.`
1058
+ );
1059
+ }
1060
+ return {
1061
+ disks: marshalling.unmarshalArrayOfObject(data.disks, unmarshalServerDisk),
1062
+ totalCount: data.total_count
1063
+ };
1064
+ };
1065
+ const unmarshalServerEvent = (data) => {
1066
+ if (!json.isJSONObject(data)) {
1067
+ throw new TypeError(
1068
+ `Unmarshalling the type 'ServerEvent' failed as data isn't a dictionary.`
1069
+ );
1070
+ }
1071
+ return {
1072
+ date: marshalling.unmarshalDate(data.date),
1073
+ description: data.description,
1074
+ eventId: data.event_id
1075
+ };
1076
+ };
1077
+ const unmarshalListServerEventsResponse = (data) => {
1078
+ if (!json.isJSONObject(data)) {
1079
+ throw new TypeError(
1080
+ `Unmarshalling the type 'ListServerEventsResponse' failed as data isn't a dictionary.`
1081
+ );
1082
+ }
1083
+ return {
1084
+ events: marshalling.unmarshalArrayOfObject(data.events, unmarshalServerEvent),
1085
+ totalCount: data.total_count
1086
+ };
1087
+ };
1088
+ const unmarshalServerSummary = (data) => {
1089
+ if (!json.isJSONObject(data)) {
1090
+ throw new TypeError(
1091
+ `Unmarshalling the type 'ServerSummary' failed as data isn't a dictionary.`
1092
+ );
1093
+ }
1094
+ return {
1095
+ createdAt: marshalling.unmarshalDate(data.created_at),
1096
+ datacenterName: data.datacenter_name,
1097
+ expiredAt: marshalling.unmarshalDate(data.expired_at),
1098
+ hostname: data.hostname,
1099
+ id: data.id,
1100
+ interfaces: marshalling.unmarshalArrayOfObject(
1101
+ data.interfaces,
1102
+ unmarshalNetworkInterface
1103
+ ),
1104
+ isOutsourced: data.is_outsourced,
1105
+ level: data.level ? unmarshalServiceLevel(data.level) : void 0,
1106
+ offerId: data.offer_id,
1107
+ offerName: data.offer_name,
1108
+ organizationId: data.organization_id,
1109
+ osId: data.os_id,
1110
+ projectId: data.project_id,
1111
+ qinq: data.qinq,
1112
+ rpnVersion: data.rpn_version,
1113
+ status: data.status,
1114
+ updatedAt: marshalling.unmarshalDate(data.updated_at),
1115
+ zone: data.zone
1116
+ };
1117
+ };
1118
+ const unmarshalListServersResponse = (data) => {
1119
+ if (!json.isJSONObject(data)) {
1120
+ throw new TypeError(
1121
+ `Unmarshalling the type 'ListServersResponse' failed as data isn't a dictionary.`
1122
+ );
1123
+ }
1124
+ return {
1125
+ servers: marshalling.unmarshalArrayOfObject(data.servers, unmarshalServerSummary),
1126
+ totalCount: data.total_count
1127
+ };
1128
+ };
1129
+ const unmarshalListServicesResponse = (data) => {
1130
+ if (!json.isJSONObject(data)) {
1131
+ throw new TypeError(
1132
+ `Unmarshalling the type 'ListServicesResponse' failed as data isn't a dictionary.`
1133
+ );
1134
+ }
1135
+ return {
1136
+ services: marshalling.unmarshalArrayOfObject(data.services, unmarshalService),
1137
+ totalCount: data.total_count
1138
+ };
1139
+ };
1140
+ const unmarshalListSubscribableServerOptionsResponse = (data) => {
1141
+ if (!json.isJSONObject(data)) {
1142
+ throw new TypeError(
1143
+ `Unmarshalling the type 'ListSubscribableServerOptionsResponse' failed as data isn't a dictionary.`
1144
+ );
1145
+ }
1146
+ return {
1147
+ serverOptions: marshalling.unmarshalArrayOfObject(data.server_options, unmarshalOffer),
1148
+ totalCount: data.total_count
1149
+ };
1150
+ };
1151
+ const unmarshalRaidArray = (data) => {
1152
+ if (!json.isJSONObject(data)) {
1153
+ throw new TypeError(
1154
+ `Unmarshalling the type 'RaidArray' failed as data isn't a dictionary.`
1155
+ );
1156
+ }
1157
+ return {
1158
+ disks: marshalling.unmarshalArrayOfObject(data.disks, unmarshalServerDisk),
1159
+ raidLevel: data.raid_level
1160
+ };
1161
+ };
1162
+ const unmarshalRaid = (data) => {
1163
+ if (!json.isJSONObject(data)) {
1164
+ throw new TypeError(
1165
+ `Unmarshalling the type 'Raid' failed as data isn't a dictionary.`
1166
+ );
1167
+ }
1168
+ return {
1169
+ raidArrays: marshalling.unmarshalArrayOfObject(data.raid_arrays, unmarshalRaidArray)
1170
+ };
1171
+ };
1172
+ const unmarshalRefund = (data) => {
1173
+ if (!json.isJSONObject(data)) {
1174
+ throw new TypeError(
1175
+ `Unmarshalling the type 'Refund' failed as data isn't a dictionary.`
1176
+ );
1177
+ }
1178
+ return {
1179
+ content: data.content,
1180
+ createdAt: marshalling.unmarshalDate(data.created_at),
1181
+ id: data.id,
1182
+ method: data.method,
1183
+ refundedAt: marshalling.unmarshalDate(data.refunded_at),
1184
+ status: data.status,
1185
+ totalWithTaxes: data.total_with_taxes ? customMarshalling.unmarshalMoney(data.total_with_taxes) : void 0,
1186
+ totalWithoutTaxes: data.total_without_taxes ? customMarshalling.unmarshalMoney(data.total_without_taxes) : void 0
1187
+ };
1188
+ };
1189
+ const unmarshalRescue = (data) => {
1190
+ if (!json.isJSONObject(data)) {
1191
+ throw new TypeError(
1192
+ `Unmarshalling the type 'Rescue' failed as data isn't a dictionary.`
1193
+ );
1194
+ }
1195
+ return {
1196
+ login: data.login,
1197
+ osId: data.os_id,
1198
+ password: data.password,
1199
+ protocol: data.protocol
1200
+ };
1201
+ };
1202
+ const unmarshalPartition = (data) => {
1203
+ if (!json.isJSONObject(data)) {
1204
+ throw new TypeError(
1205
+ `Unmarshalling the type 'Partition' failed as data isn't a dictionary.`
1206
+ );
1207
+ }
1208
+ return {
1209
+ capacity: data.capacity,
1210
+ connectors: data.connectors,
1211
+ fileSystem: data.file_system,
1212
+ mountPoint: data.mount_point,
1213
+ raidLevel: data.raid_level,
1214
+ type: data.type
1215
+ };
1216
+ };
1217
+ const unmarshalServerDefaultPartitioning = (data) => {
1218
+ if (!json.isJSONObject(data)) {
1219
+ throw new TypeError(
1220
+ `Unmarshalling the type 'ServerDefaultPartitioning' failed as data isn't a dictionary.`
1221
+ );
1222
+ }
1223
+ return {
1224
+ partitions: marshalling.unmarshalArrayOfObject(data.partitions, unmarshalPartition)
1225
+ };
1226
+ };
1227
+ const unmarshalServerInstall = (data) => {
1228
+ if (!json.isJSONObject(data)) {
1229
+ throw new TypeError(
1230
+ `Unmarshalling the type 'ServerInstall' failed as data isn't a dictionary.`
1231
+ );
1232
+ }
1233
+ return {
1234
+ hostname: data.hostname,
1235
+ osId: data.os_id,
1236
+ panelUrl: data.panel_url,
1237
+ partitions: marshalling.unmarshalArrayOfObject(data.partitions, unmarshalPartition),
1238
+ sshKeyIds: data.ssh_key_ids,
1239
+ status: data.status,
1240
+ userLogin: data.user_login
1241
+ };
1242
+ };
1243
+ const unmarshalSubscribeStorageOptionsResponse = (data) => {
1244
+ if (!json.isJSONObject(data)) {
1245
+ throw new TypeError(
1246
+ `Unmarshalling the type 'SubscribeStorageOptionsResponse' failed as data isn't a dictionary.`
1247
+ );
1248
+ }
1249
+ return {
1250
+ services: marshalling.unmarshalArrayOfObject(data.services, unmarshalService)
1251
+ };
1252
+ };
1253
+ const marshalAttachFailoverIPToMacAddressRequest = (request, defaults) => ({
1254
+ mac: request.mac,
1255
+ type: request.type
1256
+ });
1257
+ const marshalAttachFailoverIPsRequest = (request, defaults) => ({
1258
+ fips_ids: request.fipsIds,
1259
+ server_id: request.serverId
1260
+ });
1261
+ const marshalCreateFailoverIPsRequest = (request, defaults) => ({
1262
+ offer_id: request.offerId,
1263
+ project_id: request.projectId ?? defaults.defaultProjectId,
1264
+ quantity: request.quantity
1265
+ });
1266
+ const marshalCreateServerRequest = (request, defaults) => ({
1267
+ datacenter_name: request.datacenterName,
1268
+ offer_id: request.offerId,
1269
+ project_id: request.projectId ?? defaults.defaultProjectId,
1270
+ server_option_ids: request.serverOptionIds
1271
+ });
1272
+ const marshalDetachFailoverIPsRequest = (request, defaults) => ({
1273
+ fips_ids: request.fipsIds
1274
+ });
1275
+ const marshalIPv6BlockApiCreateIPv6BlockRequest = (request, defaults) => ({
1276
+ project_id: request.projectId ?? defaults.defaultProjectId
1277
+ });
1278
+ const marshalIPv6BlockApiCreateIPv6BlockSubnetRequest = (request, defaults) => ({
1279
+ address: request.address,
1280
+ cidr: request.cidr
1281
+ });
1282
+ const marshalIPv6BlockApiUpdateIPv6BlockRequest = (request, defaults) => ({
1283
+ nameservers: request.nameservers
1284
+ });
1285
+ const marshalInstallPartition = (request, defaults) => ({
1286
+ capacity: request.capacity,
1287
+ connectors: request.connectors,
1288
+ file_system: request.fileSystem,
1289
+ mount_point: request.mountPoint,
1290
+ raid_level: request.raidLevel
1291
+ });
1292
+ const marshalInstallServerRequest = (request, defaults) => ({
1293
+ hostname: request.hostname,
1294
+ ip_id: request.ipId,
1295
+ license_offer_id: request.licenseOfferId,
1296
+ os_id: request.osId,
1297
+ panel_password: request.panelPassword,
1298
+ partitions: request.partitions !== void 0 ? request.partitions.map((elt) => marshalInstallPartition(elt)) : void 0,
1299
+ root_password: request.rootPassword,
1300
+ ssh_key_ids: request.sshKeyIds,
1301
+ user_login: request.userLogin,
1302
+ user_password: request.userPassword
1303
+ });
1304
+ const marshalRpnSanApiAddIpRequest = (request, defaults) => ({
1305
+ ip_ids: request.ipIds
1306
+ });
1307
+ const marshalRpnSanApiCreateRpnSanRequest = (request, defaults) => ({
1308
+ offer_id: request.offerId,
1309
+ project_id: request.projectId ?? defaults.defaultProjectId
1310
+ });
1311
+ const marshalRpnSanApiRemoveIpRequest = (request, defaults) => ({
1312
+ ip_ids: request.ipIds
1313
+ });
1314
+ const marshalRpnV1ApiAddRpnGroupMembersRequest = (request, defaults) => ({
1315
+ san_server_ids: request.sanServerIds,
1316
+ server_ids: request.serverIds
1317
+ });
1318
+ const marshalRpnV1ApiCreateRpnGroupRequest = (request, defaults) => ({
1319
+ name: request.name,
1320
+ project_id: request.projectId ?? defaults.defaultProjectId,
1321
+ san_server_ids: request.sanServerIds,
1322
+ server_ids: request.serverIds
1323
+ });
1324
+ const marshalRpnV1ApiDeleteRpnGroupMembersRequest = (request, defaults) => ({
1325
+ member_ids: request.memberIds
1326
+ });
1327
+ const marshalRpnV1ApiLeaveRpnGroupRequest = (request, defaults) => ({
1328
+ member_ids: request.memberIds,
1329
+ project_id: request.projectId ?? defaults.defaultProjectId
1330
+ });
1331
+ const marshalRpnV1ApiRpnGroupInviteRequest = (request, defaults) => ({
1332
+ project_id: request.projectId ?? defaults.defaultProjectId,
1333
+ server_ids: request.serverIds
1334
+ });
1335
+ const marshalRpnV1ApiUpdateRpnGroupNameRequest = (request, defaults) => ({
1336
+ name: request.name
1337
+ });
1338
+ const marshalRpnV2ApiAddRpnV2MembersRequest = (request, defaults) => ({
1339
+ servers: request.servers
1340
+ });
1341
+ const marshalRpnV2ApiCreateRpnV2GroupRequest = (request, defaults) => ({
1342
+ name: request.name,
1343
+ project_id: request.projectId ?? defaults.defaultProjectId,
1344
+ servers: request.servers,
1345
+ type: request.type
1346
+ });
1347
+ const marshalRpnV2ApiDeleteRpnV2MembersRequest = (request, defaults) => ({
1348
+ member_ids: request.memberIds
1349
+ });
1350
+ const marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest = (request, defaults) => ({
1351
+ rpnv1_group_id: request.rpnv1GroupId
1352
+ });
1353
+ const marshalRpnV2ApiUpdateRpnV2GroupNameRequest = (request, defaults) => ({
1354
+ name: request.name
1355
+ });
1356
+ const marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest = (request, defaults) => ({
1357
+ member_ids: request.memberIds,
1358
+ vlan: request.vlan
1359
+ });
1360
+ const marshalStartBMCAccessRequest = (request, defaults) => ({
1361
+ ip: request.ip
1362
+ });
1363
+ const marshalStartRescueRequest = (request, defaults) => ({
1364
+ os_id: request.osId
1365
+ });
1366
+ const marshalSubscribeServerOptionRequest = (request, defaults) => ({
1367
+ option_id: request.optionId
1368
+ });
1369
+ const marshalSubscribeStorageOptionsRequest = (request, defaults) => ({
1370
+ options_ids: request.optionsIds
1371
+ });
1372
+ const marshalUpdatableRaidArray = (request, defaults) => ({
1373
+ disk_ids: request.diskIds,
1374
+ raid_level: request.raidLevel
1375
+ });
1376
+ const marshalUpdateRaidRequest = (request, defaults) => ({
1377
+ raid_arrays: request.raidArrays.map(
1378
+ (elt) => marshalUpdatableRaidArray(elt)
1379
+ )
1380
+ });
1381
+ const marshalUpdateReverseRequest = (request, defaults) => ({
1382
+ reverse: request.reverse
1383
+ });
1384
+ const marshalUpdateServerBackupRequest = (request, defaults) => ({
1385
+ acl_enabled: request.aclEnabled,
1386
+ autologin: request.autologin,
1387
+ password: request.password
1388
+ });
1389
+ const marshalUpdateServerRequest = (request, defaults) => ({
1390
+ enable_ipv6: request.enableIpv6,
1391
+ hostname: request.hostname
1392
+ });
1393
+ const marshalUpdateServerTagsRequest = (request, defaults) => ({
1394
+ tags: request.tags
1395
+ });
1396
+ exports.marshalAttachFailoverIPToMacAddressRequest = marshalAttachFailoverIPToMacAddressRequest;
1397
+ exports.marshalAttachFailoverIPsRequest = marshalAttachFailoverIPsRequest;
1398
+ exports.marshalCreateFailoverIPsRequest = marshalCreateFailoverIPsRequest;
1399
+ exports.marshalCreateServerRequest = marshalCreateServerRequest;
1400
+ exports.marshalDetachFailoverIPsRequest = marshalDetachFailoverIPsRequest;
1401
+ exports.marshalIPv6BlockApiCreateIPv6BlockRequest = marshalIPv6BlockApiCreateIPv6BlockRequest;
1402
+ exports.marshalIPv6BlockApiCreateIPv6BlockSubnetRequest = marshalIPv6BlockApiCreateIPv6BlockSubnetRequest;
1403
+ exports.marshalIPv6BlockApiUpdateIPv6BlockRequest = marshalIPv6BlockApiUpdateIPv6BlockRequest;
1404
+ exports.marshalInstallServerRequest = marshalInstallServerRequest;
1405
+ exports.marshalRpnSanApiAddIpRequest = marshalRpnSanApiAddIpRequest;
1406
+ exports.marshalRpnSanApiCreateRpnSanRequest = marshalRpnSanApiCreateRpnSanRequest;
1407
+ exports.marshalRpnSanApiRemoveIpRequest = marshalRpnSanApiRemoveIpRequest;
1408
+ exports.marshalRpnV1ApiAddRpnGroupMembersRequest = marshalRpnV1ApiAddRpnGroupMembersRequest;
1409
+ exports.marshalRpnV1ApiCreateRpnGroupRequest = marshalRpnV1ApiCreateRpnGroupRequest;
1410
+ exports.marshalRpnV1ApiDeleteRpnGroupMembersRequest = marshalRpnV1ApiDeleteRpnGroupMembersRequest;
1411
+ exports.marshalRpnV1ApiLeaveRpnGroupRequest = marshalRpnV1ApiLeaveRpnGroupRequest;
1412
+ exports.marshalRpnV1ApiRpnGroupInviteRequest = marshalRpnV1ApiRpnGroupInviteRequest;
1413
+ exports.marshalRpnV1ApiUpdateRpnGroupNameRequest = marshalRpnV1ApiUpdateRpnGroupNameRequest;
1414
+ exports.marshalRpnV2ApiAddRpnV2MembersRequest = marshalRpnV2ApiAddRpnV2MembersRequest;
1415
+ exports.marshalRpnV2ApiCreateRpnV2GroupRequest = marshalRpnV2ApiCreateRpnV2GroupRequest;
1416
+ exports.marshalRpnV2ApiDeleteRpnV2MembersRequest = marshalRpnV2ApiDeleteRpnV2MembersRequest;
1417
+ exports.marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest = marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest;
1418
+ exports.marshalRpnV2ApiUpdateRpnV2GroupNameRequest = marshalRpnV2ApiUpdateRpnV2GroupNameRequest;
1419
+ exports.marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest = marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest;
1420
+ exports.marshalStartBMCAccessRequest = marshalStartBMCAccessRequest;
1421
+ exports.marshalStartRescueRequest = marshalStartRescueRequest;
1422
+ exports.marshalSubscribeServerOptionRequest = marshalSubscribeServerOptionRequest;
1423
+ exports.marshalSubscribeStorageOptionsRequest = marshalSubscribeStorageOptionsRequest;
1424
+ exports.marshalUpdateRaidRequest = marshalUpdateRaidRequest;
1425
+ exports.marshalUpdateReverseRequest = marshalUpdateReverseRequest;
1426
+ exports.marshalUpdateServerBackupRequest = marshalUpdateServerBackupRequest;
1427
+ exports.marshalUpdateServerRequest = marshalUpdateServerRequest;
1428
+ exports.marshalUpdateServerTagsRequest = marshalUpdateServerTagsRequest;
1429
+ exports.unmarshalBMCAccess = unmarshalBMCAccess;
1430
+ exports.unmarshalBackup = unmarshalBackup;
1431
+ exports.unmarshalCanOrderResponse = unmarshalCanOrderResponse;
1432
+ exports.unmarshalCreateFailoverIPsResponse = unmarshalCreateFailoverIPsResponse;
1433
+ exports.unmarshalFailoverIP = unmarshalFailoverIP;
1434
+ exports.unmarshalGetIPv6BlockQuotasResponse = unmarshalGetIPv6BlockQuotasResponse;
1435
+ exports.unmarshalGetRemainingQuotaResponse = unmarshalGetRemainingQuotaResponse;
1436
+ exports.unmarshalGetRpnStatusResponse = unmarshalGetRpnStatusResponse;
1437
+ exports.unmarshalIP = unmarshalIP;
1438
+ exports.unmarshalIPv6Block = unmarshalIPv6Block;
1439
+ exports.unmarshalInvoice = unmarshalInvoice;
1440
+ exports.unmarshalListFailoverIPsResponse = unmarshalListFailoverIPsResponse;
1441
+ exports.unmarshalListIPv6BlockSubnetsAvailableResponse = unmarshalListIPv6BlockSubnetsAvailableResponse;
1442
+ exports.unmarshalListInvoicesResponse = unmarshalListInvoicesResponse;
1443
+ exports.unmarshalListIpsResponse = unmarshalListIpsResponse;
1444
+ exports.unmarshalListOSResponse = unmarshalListOSResponse;
1445
+ exports.unmarshalListOffersResponse = unmarshalListOffersResponse;
1446
+ exports.unmarshalListRefundsResponse = unmarshalListRefundsResponse;
1447
+ exports.unmarshalListRpnCapableSanServersResponse = unmarshalListRpnCapableSanServersResponse;
1448
+ exports.unmarshalListRpnCapableServersResponse = unmarshalListRpnCapableServersResponse;
1449
+ exports.unmarshalListRpnGroupMembersResponse = unmarshalListRpnGroupMembersResponse;
1450
+ exports.unmarshalListRpnGroupsResponse = unmarshalListRpnGroupsResponse;
1451
+ exports.unmarshalListRpnInvitesResponse = unmarshalListRpnInvitesResponse;
1452
+ exports.unmarshalListRpnSansResponse = unmarshalListRpnSansResponse;
1453
+ exports.unmarshalListRpnServerCapabilitiesResponse = unmarshalListRpnServerCapabilitiesResponse;
1454
+ exports.unmarshalListRpnV2CapableResourcesResponse = unmarshalListRpnV2CapableResourcesResponse;
1455
+ exports.unmarshalListRpnV2GroupLogsResponse = unmarshalListRpnV2GroupLogsResponse;
1456
+ exports.unmarshalListRpnV2GroupsResponse = unmarshalListRpnV2GroupsResponse;
1457
+ exports.unmarshalListRpnV2MembersResponse = unmarshalListRpnV2MembersResponse;
1458
+ exports.unmarshalListServerDisksResponse = unmarshalListServerDisksResponse;
1459
+ exports.unmarshalListServerEventsResponse = unmarshalListServerEventsResponse;
1460
+ exports.unmarshalListServersResponse = unmarshalListServersResponse;
1461
+ exports.unmarshalListServicesResponse = unmarshalListServicesResponse;
1462
+ exports.unmarshalListSubscribableServerOptionsResponse = unmarshalListSubscribableServerOptionsResponse;
1463
+ exports.unmarshalOS = unmarshalOS;
1464
+ exports.unmarshalOffer = unmarshalOffer;
1465
+ exports.unmarshalRaid = unmarshalRaid;
1466
+ exports.unmarshalRefund = unmarshalRefund;
1467
+ exports.unmarshalRescue = unmarshalRescue;
1468
+ exports.unmarshalRpnGroup = unmarshalRpnGroup;
1469
+ exports.unmarshalRpnSan = unmarshalRpnSan;
1470
+ exports.unmarshalRpnV2Group = unmarshalRpnV2Group;
1471
+ exports.unmarshalServer = unmarshalServer;
1472
+ exports.unmarshalServerDefaultPartitioning = unmarshalServerDefaultPartitioning;
1473
+ exports.unmarshalServerInstall = unmarshalServerInstall;
1474
+ exports.unmarshalService = unmarshalService;
1475
+ exports.unmarshalSubscribeStorageOptionsResponse = unmarshalSubscribeStorageOptionsResponse;