@scaleway/sdk 2.71.1 → 2.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (661) hide show
  1. package/dist/api/account/index.gen.d.ts +2 -2
  2. package/dist/api/account/v2/api.gen.cjs +5 -4
  3. package/dist/api/account/v2/api.gen.d.ts +1 -1
  4. package/dist/api/account/v2/api.gen.js +5 -4
  5. package/dist/api/account/v2/marshalling.gen.cjs +4 -3
  6. package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
  7. package/dist/api/account/v2/marshalling.gen.js +4 -3
  8. package/dist/api/account/v3/api.gen.cjs +5 -4
  9. package/dist/api/account/v3/api.gen.d.ts +1 -1
  10. package/dist/api/account/v3/api.gen.js +5 -4
  11. package/dist/api/account/v3/index.gen.d.ts +1 -1
  12. package/dist/api/account/v3/marshalling.gen.cjs +4 -3
  13. package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
  14. package/dist/api/account/v3/marshalling.gen.js +4 -3
  15. package/dist/api/applesilicon/index.gen.d.ts +2 -2
  16. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
  17. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
  18. package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
  19. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
  20. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
  21. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
  22. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
  23. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +1 -1
  24. package/dist/api/audit_trail/index.gen.d.ts +2 -2
  25. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
  26. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
  27. package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
  28. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
  29. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
  30. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +1 -1
  31. package/dist/api/baremetal/index.gen.d.ts +2 -2
  32. package/dist/api/baremetal/v1/api.gen.cjs +6 -5
  33. package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
  34. package/dist/api/baremetal/v1/api.gen.js +6 -5
  35. package/dist/api/baremetal/v1/api.utils.cjs +3 -1
  36. package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
  37. package/dist/api/baremetal/v1/api.utils.js +3 -1
  38. package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
  39. package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
  40. package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
  41. package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
  42. package/dist/api/baremetal/v1/types.gen.d.ts +65 -65
  43. package/dist/api/baremetal/v3/api.gen.cjs +5 -4
  44. package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
  45. package/dist/api/baremetal/v3/api.gen.js +5 -4
  46. package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
  47. package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
  48. package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
  49. package/dist/api/baremetal/v3/types.gen.d.ts +1 -1
  50. package/dist/api/billing/index.gen.d.ts +2 -2
  51. package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
  52. package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
  53. package/dist/api/billing/v2alpha1/api.gen.js +5 -4
  54. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
  55. package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
  56. package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
  57. package/dist/api/billing/v2beta1/api.gen.cjs +5 -4
  58. package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
  59. package/dist/api/billing/v2beta1/api.gen.js +5 -4
  60. package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
  61. package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
  62. package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
  63. package/dist/api/block/index.gen.d.ts +2 -2
  64. package/dist/api/block/v1/api.gen.cjs +6 -5
  65. package/dist/api/block/v1/api.gen.d.ts +2 -2
  66. package/dist/api/block/v1/api.gen.js +6 -5
  67. package/dist/api/block/v1/marshalling.gen.cjs +4 -3
  68. package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
  69. package/dist/api/block/v1/marshalling.gen.js +4 -3
  70. package/dist/api/block/v1/types.gen.d.ts +1 -1
  71. package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
  72. package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
  73. package/dist/api/block/v1alpha1/api.gen.js +6 -5
  74. package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
  75. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
  76. package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
  77. package/dist/api/block/v1alpha1/types.gen.d.ts +1 -1
  78. package/dist/api/cockpit/index.gen.d.ts +2 -2
  79. package/dist/api/cockpit/v1/api.gen.cjs +5 -4
  80. package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
  81. package/dist/api/cockpit/v1/api.gen.js +5 -4
  82. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  83. package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
  84. package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
  85. package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
  86. package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
  87. package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
  88. package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
  89. package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
  90. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
  91. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
  92. package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
  93. package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
  94. package/dist/api/container/index.gen.d.ts +2 -2
  95. package/dist/api/container/v1beta1/api.gen.cjs +6 -5
  96. package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
  97. package/dist/api/container/v1beta1/api.gen.js +6 -5
  98. package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
  99. package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
  100. package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
  101. package/dist/api/container/v1beta1/types.gen.d.ts +1 -1
  102. package/dist/api/dedibox/index.gen.d.ts +2 -2
  103. package/dist/api/dedibox/v1/api.gen.cjs +6 -5
  104. package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
  105. package/dist/api/dedibox/v1/api.gen.js +6 -5
  106. package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
  107. package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
  108. package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
  109. package/dist/api/dedibox/v1/types.gen.d.ts +1 -1
  110. package/dist/api/document_db/index.gen.d.ts +2 -2
  111. package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
  112. package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
  113. package/dist/api/document_db/v1beta1/api.gen.js +6 -5
  114. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
  115. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
  116. package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
  117. package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
  118. package/dist/api/domain/index.gen.d.ts +2 -2
  119. package/dist/api/domain/v2beta1/api.gen.cjs +6 -5
  120. package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
  121. package/dist/api/domain/v2beta1/api.gen.js +6 -5
  122. package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
  123. package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
  124. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
  125. package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
  126. package/dist/api/domain/v2beta1/types.gen.d.ts +1 -1
  127. package/dist/api/edge_services/index.gen.d.ts +2 -2
  128. package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
  129. package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
  130. package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
  131. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
  132. package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
  133. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
  134. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
  135. package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
  136. package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
  137. package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
  138. package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
  139. package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
  140. package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
  141. package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
  142. package/dist/api/flexibleip/index.gen.d.ts +2 -2
  143. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +6 -5
  144. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
  145. package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
  146. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
  147. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
  148. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
  149. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +1 -1
  150. package/dist/api/function/index.gen.d.ts +2 -2
  151. package/dist/api/function/v1beta1/api.gen.cjs +20 -33
  152. package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
  153. package/dist/api/function/v1beta1/api.gen.js +20 -33
  154. package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
  155. package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
  156. package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
  157. package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
  158. package/dist/api/iam/index.gen.d.ts +2 -2
  159. package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
  160. package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
  161. package/dist/api/iam/v1alpha1/api.gen.js +49 -163
  162. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
  163. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
  164. package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
  165. package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
  166. package/dist/api/index.gen.d.ts +2 -2
  167. package/dist/api/inference/index.gen.d.ts +2 -2
  168. package/dist/api/inference/v1/api.gen.cjs +6 -5
  169. package/dist/api/inference/v1/api.gen.d.ts +2 -2
  170. package/dist/api/inference/v1/api.gen.js +6 -5
  171. package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
  172. package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
  173. package/dist/api/inference/v1/marshalling.gen.js +4 -3
  174. package/dist/api/inference/v1/types.gen.d.ts +1 -1
  175. package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
  176. package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
  177. package/dist/api/inference/v1beta1/api.gen.js +6 -5
  178. package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
  179. package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
  180. package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
  181. package/dist/api/inference/v1beta1/types.gen.d.ts +1 -1
  182. package/dist/api/instance/index.gen.d.ts +2 -2
  183. package/dist/api/instance/v1/api.gen.cjs +5 -4
  184. package/dist/api/instance/v1/api.gen.d.ts +2 -2
  185. package/dist/api/instance/v1/api.gen.js +5 -4
  186. package/dist/api/instance/v1/api.utils.cjs +4 -3
  187. package/dist/api/instance/v1/api.utils.d.ts +1 -1
  188. package/dist/api/instance/v1/api.utils.js +4 -3
  189. package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
  190. package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
  191. package/dist/api/instance/v1/marshalling.gen.js +4 -3
  192. package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
  193. package/dist/api/instance/v1/types.gen.d.ts +1 -1
  194. package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
  195. package/dist/api/instance/v1/types.utils.d.ts +1 -1
  196. package/dist/api/interlink/index.gen.d.ts +2 -2
  197. package/dist/api/interlink/v1beta1/api.gen.cjs +101 -11
  198. package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
  199. package/dist/api/interlink/v1beta1/api.gen.js +102 -12
  200. package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
  201. package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
  202. package/dist/api/interlink/v1beta1/content.gen.js +6 -0
  203. package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
  204. package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
  205. package/dist/api/interlink/v1beta1/index.gen.js +3 -0
  206. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +82 -8
  207. package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
  208. package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
  209. package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
  210. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
  211. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
  212. package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
  213. package/dist/api/iot/index.gen.d.ts +2 -2
  214. package/dist/api/iot/v1/api.gen.cjs +6 -5
  215. package/dist/api/iot/v1/api.gen.d.ts +2 -2
  216. package/dist/api/iot/v1/api.gen.js +6 -5
  217. package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
  218. package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
  219. package/dist/api/iot/v1/marshalling.gen.js +4 -3
  220. package/dist/api/iot/v1/types.gen.d.ts +1 -1
  221. package/dist/api/ipam/index.gen.d.ts +2 -2
  222. package/dist/api/ipam/v1/api.gen.cjs +5 -4
  223. package/dist/api/ipam/v1/api.gen.d.ts +2 -2
  224. package/dist/api/ipam/v1/api.gen.js +5 -4
  225. package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
  226. package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
  227. package/dist/api/ipam/v1/marshalling.gen.js +4 -3
  228. package/dist/api/ipam/v1/types.gen.d.ts +1 -1
  229. package/dist/api/ipfs/index.gen.d.ts +2 -2
  230. package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
  231. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
  232. package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
  233. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
  234. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
  235. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
  236. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
  237. package/dist/api/jobs/index.gen.d.ts +2 -2
  238. package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -4
  239. package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
  240. package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
  241. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
  242. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
  243. package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
  244. package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -1
  245. package/dist/api/k8s/index.gen.d.ts +2 -2
  246. package/dist/api/k8s/v1/api.gen.cjs +6 -5
  247. package/dist/api/k8s/v1/api.gen.d.ts +2 -2
  248. package/dist/api/k8s/v1/api.gen.js +6 -5
  249. package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
  250. package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
  251. package/dist/api/k8s/v1/marshalling.gen.js +4 -3
  252. package/dist/api/k8s/v1/types.gen.d.ts +1 -1
  253. package/dist/api/key_manager/index.gen.d.ts +2 -2
  254. package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
  255. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
  256. package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
  257. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
  258. package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
  259. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
  260. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +1 -1
  261. package/dist/api/lb/index.gen.d.ts +2 -2
  262. package/dist/api/lb/v1/api.gen.cjs +68 -178
  263. package/dist/api/lb/v1/api.gen.d.ts +60 -176
  264. package/dist/api/lb/v1/api.gen.js +69 -179
  265. package/dist/api/lb/v1/api.utils.cjs +3 -1
  266. package/dist/api/lb/v1/api.utils.d.ts +1 -1
  267. package/dist/api/lb/v1/api.utils.js +3 -1
  268. package/dist/api/lb/v1/index.gen.d.ts +1 -1
  269. package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
  270. package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
  271. package/dist/api/lb/v1/marshalling.gen.js +9 -3
  272. package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
  273. package/dist/api/lb/v1/types.utils.d.ts +1 -1
  274. package/dist/api/llm_inference/index.gen.d.ts +2 -2
  275. package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
  276. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
  277. package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
  278. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
  279. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
  280. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
  281. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
  282. package/dist/api/marketplace/index.gen.d.ts +2 -2
  283. package/dist/api/marketplace/v2/api.gen.cjs +5 -4
  284. package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
  285. package/dist/api/marketplace/v2/api.gen.js +5 -4
  286. package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
  287. package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
  288. package/dist/api/marketplace/v2/types.gen.d.ts +1 -1
  289. package/dist/api/mnq/index.gen.d.ts +2 -2
  290. package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
  291. package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
  292. package/dist/api/mnq/v1beta1/api.gen.js +5 -4
  293. package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
  294. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
  295. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
  296. package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
  297. package/dist/api/mnq/v1beta1/types.gen.d.ts +1 -1
  298. package/dist/api/mongodb/index.gen.d.ts +2 -2
  299. package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
  300. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
  301. package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
  302. package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
  303. package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
  304. package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
  305. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
  306. package/dist/api/qaas/index.gen.d.ts +2 -2
  307. package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
  308. package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
  309. package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
  310. package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
  311. package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
  312. package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
  313. package/dist/api/qaas/v1alpha1/types.gen.d.ts +1 -1
  314. package/dist/api/rdb/index.gen.d.ts +2 -2
  315. package/dist/api/rdb/v1/api.gen.cjs +6 -5
  316. package/dist/api/rdb/v1/api.gen.d.ts +2 -2
  317. package/dist/api/rdb/v1/api.gen.js +6 -5
  318. package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
  319. package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
  320. package/dist/api/rdb/v1/marshalling.gen.js +4 -3
  321. package/dist/api/rdb/v1/types.gen.d.ts +1 -1
  322. package/dist/api/redis/index.gen.d.ts +2 -2
  323. package/dist/api/redis/v1/api.gen.cjs +6 -5
  324. package/dist/api/redis/v1/api.gen.d.ts +2 -2
  325. package/dist/api/redis/v1/api.gen.js +6 -5
  326. package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
  327. package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
  328. package/dist/api/redis/v1/marshalling.gen.js +4 -3
  329. package/dist/api/redis/v1/types.gen.d.ts +1 -1
  330. package/dist/api/registry/index.gen.d.ts +2 -2
  331. package/dist/api/registry/v1/api.gen.cjs +6 -5
  332. package/dist/api/registry/v1/api.gen.d.ts +2 -2
  333. package/dist/api/registry/v1/api.gen.js +6 -5
  334. package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
  335. package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
  336. package/dist/api/registry/v1/marshalling.gen.js +4 -3
  337. package/dist/api/registry/v1/types.gen.d.ts +1 -1
  338. package/dist/api/secret/index.gen.d.ts +2 -2
  339. package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
  340. package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
  341. package/dist/api/secret/v1alpha1/api.gen.js +5 -4
  342. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
  343. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
  344. package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
  345. package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
  346. package/dist/api/secret/v1beta1/api.gen.cjs +5 -4
  347. package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
  348. package/dist/api/secret/v1beta1/api.gen.js +5 -4
  349. package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
  350. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
  351. package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
  352. package/dist/api/secret/v1beta1/types.gen.d.ts +1 -1
  353. package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
  354. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
  355. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
  356. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
  357. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
  358. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
  359. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
  360. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +1 -1
  361. package/dist/api/tem/index.gen.d.ts +2 -2
  362. package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
  363. package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
  364. package/dist/api/tem/v1alpha1/api.gen.js +6 -5
  365. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
  366. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
  367. package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
  368. package/dist/api/tem/v1alpha1/types.gen.d.ts +1 -1
  369. package/dist/api/test/index.gen.d.ts +2 -2
  370. package/dist/api/test/v1/api.gen.cjs +6 -5
  371. package/dist/api/test/v1/api.gen.d.ts +2 -2
  372. package/dist/api/test/v1/api.gen.js +6 -5
  373. package/dist/api/test/v1/marshalling.gen.cjs +4 -3
  374. package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
  375. package/dist/api/test/v1/marshalling.gen.js +4 -3
  376. package/dist/api/vpc/index.gen.d.ts +2 -2
  377. package/dist/api/vpc/v1/api.gen.cjs +5 -4
  378. package/dist/api/vpc/v1/api.gen.d.ts +2 -2
  379. package/dist/api/vpc/v1/api.gen.js +5 -4
  380. package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
  381. package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
  382. package/dist/api/vpc/v1/marshalling.gen.js +4 -3
  383. package/dist/api/vpc/v1/types.gen.d.ts +1 -1
  384. package/dist/api/vpc/v2/api.gen.cjs +18 -53
  385. package/dist/api/vpc/v2/api.gen.d.ts +18 -45
  386. package/dist/api/vpc/v2/api.gen.js +19 -54
  387. package/dist/api/vpc/v2/index.gen.d.ts +1 -1
  388. package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
  389. package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
  390. package/dist/api/vpc/v2/marshalling.gen.js +4 -18
  391. package/dist/api/vpc/v2/types.gen.d.ts +333 -200
  392. package/dist/api/vpcgw/index.gen.d.ts +2 -2
  393. package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
  394. package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
  395. package/dist/api/vpcgw/v1/api.gen.js +42 -140
  396. package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
  397. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
  398. package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
  399. package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
  400. package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
  401. package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
  402. package/dist/api/vpcgw/v2/api.gen.js +33 -93
  403. package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
  404. package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
  405. package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
  406. package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
  407. package/dist/api/webhosting/index.gen.d.ts +2 -2
  408. package/dist/api/webhosting/v1/api.gen.cjs +28 -55
  409. package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
  410. package/dist/api/webhosting/v1/api.gen.js +28 -55
  411. package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
  412. package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
  413. package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
  414. package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
  415. package/dist/client/dist/helpers/is-browser.cjs +4 -0
  416. package/dist/client/dist/helpers/is-browser.js +4 -0
  417. package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
  418. package/dist/{package.json.js → client/dist/package.json.js} +7 -16
  419. package/dist/client/dist/scw/constants.cjs +7 -0
  420. package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
  421. package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
  422. package/dist/index.cjs +16 -16
  423. package/dist/index.d.ts +1 -15
  424. package/dist/index.js +13 -13
  425. package/node_modules/@scaleway/sdk-client/LICENSE +191 -0
  426. package/node_modules/@scaleway/sdk-client/README.md +36 -0
  427. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
  428. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
  429. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
  430. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
  431. package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
  432. package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
  433. package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
  434. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
  435. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
  436. package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
  437. package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
  438. package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
  439. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
  440. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
  441. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
  442. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
  443. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
  444. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
  445. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
  446. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
  447. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
  448. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
  449. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
  450. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
  451. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
  452. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
  453. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
  454. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
  455. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
  456. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
  457. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
  458. package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
  459. package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
  460. package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
  461. package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
  462. package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
  463. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
  464. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
  465. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
  466. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
  467. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
  468. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
  469. package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
  470. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
  471. package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
  472. package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
  473. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
  474. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
  475. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
  476. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
  477. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
  478. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
  479. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  480. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
  481. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  482. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
  483. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
  484. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
  485. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  486. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
  487. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  488. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
  489. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
  490. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
  491. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
  492. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
  493. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
  494. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
  495. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
  496. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
  497. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
  498. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
  499. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  500. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
  501. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
  502. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
  503. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  504. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
  505. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  506. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
  507. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  508. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
  509. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
  510. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
  511. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
  512. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  513. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
  514. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
  515. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
  516. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
  517. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
  518. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
  519. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
  520. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
  521. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
  522. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
  523. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
  524. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
  525. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
  526. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
  527. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
  528. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
  529. package/node_modules/@scaleway/sdk-client/package.json +37 -0
  530. package/package.json +6 -4
  531. package/dist/helpers/is-browser.cjs +0 -7
  532. package/dist/helpers/is-browser.js +0 -7
  533. /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
  534. /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
  535. /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
  536. /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
  537. /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
  538. /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
  539. /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
  540. /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
  541. /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
  542. /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
  543. /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
  544. /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
  545. /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
  546. /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
  547. /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
  548. /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
  549. /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
  550. /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
  551. /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
  552. /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
  553. /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
  554. /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
  555. /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
  556. /package/dist/{scw → client/dist/scw}/api.js +0 -0
  557. /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
  558. /package/dist/{scw → client/dist/scw}/auth.js +0 -0
  559. /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
  560. /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
  561. /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
  562. /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
  563. /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
  564. /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
  565. /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
  566. /package/dist/{scw → client/dist/scw}/client.js +0 -0
  567. /package/dist/{scw → client/dist/scw}/constants.js +0 -0
  568. /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
  569. /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
  570. /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
  571. /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
  572. /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
  573. /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
  574. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
  575. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
  576. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
  577. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
  578. /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
  579. /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
  580. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
  581. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
  582. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
  583. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
  584. /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
  585. /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
  586. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
  587. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
  588. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
  589. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
  590. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
  591. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
  592. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
  593. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
  594. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
  595. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
  596. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
  597. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
  598. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
  599. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
  600. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
  601. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
  602. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
  603. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
  604. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
  605. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
  606. /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
  607. /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
  608. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
  609. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
  610. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
  611. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
  612. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
  613. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
  614. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
  615. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
  616. /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
  617. /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
  618. /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
  619. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
  620. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
  621. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
  622. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
  623. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
  624. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
  625. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
  626. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
  627. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
  628. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
  629. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
  630. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
  631. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
  632. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
  633. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
  634. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
  635. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
  636. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
  637. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
  638. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
  639. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
  640. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
  641. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
  642. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
  643. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
  644. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
  645. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
  646. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
  647. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
  648. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
  649. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
  650. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
  651. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
  652. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
  653. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
  654. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
  655. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
  656. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
  657. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
  658. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
  659. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
  660. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
  661. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { Zone as ScwZone } from '../../../bridge';
1
+ import type { Zone as ScwZone } from '@scaleway/sdk-client';
2
2
  export type DHCPEntryType = 'unknown' | 'reservation' | 'lease';
3
3
  export type GatewayNetworkStatus = 'unknown' | 'created' | 'attaching' | 'configuring' | 'ready' | 'detaching' | 'deleted';
4
4
  export type GatewayStatus = 'unknown' | 'stopped' | 'allocating' | 'configuring' | 'running' | 'stopping' | 'failed' | 'deleting' | 'deleted' | 'locked';
@@ -10,900 +10,1318 @@ export type ListIPsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'ip_a
10
10
  export type ListPATRulesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'public_port_asc' | 'public_port_desc';
11
11
  export type PATRuleProtocol = 'unknown' | 'both' | 'tcp' | 'udp';
12
12
  export interface DHCP {
13
- /** ID of the DHCP config. */
13
+ /**
14
+ * ID of the DHCP config.
15
+ */
14
16
  id: string;
15
- /** Owning Organization. */
17
+ /**
18
+ * Owning Organization.
19
+ */
16
20
  organizationId: string;
17
- /** Owning Project. */
21
+ /**
22
+ * Owning Project.
23
+ */
18
24
  projectId: string;
19
- /** Date the DHCP configuration was created. */
25
+ /**
26
+ * Date the DHCP configuration was created.
27
+ */
20
28
  createdAt?: Date;
21
- /** Configuration last modification date. */
29
+ /**
30
+ * Configuration last modification date.
31
+ */
22
32
  updatedAt?: Date;
23
- /** Subnet for the DHCP server. */
33
+ /**
34
+ * Subnet for the DHCP server.
35
+ */
24
36
  subnet: string;
25
37
  /**
26
- * IP address of the DHCP server. This will be the Public Gateway's address in
27
- * the Private Network. It must be part of config's subnet.
38
+ * IP address of the DHCP server. This will be the Public Gateway's address in the Private Network. It must be part of config's subnet.
28
39
  */
29
40
  address: string;
30
41
  /**
31
- * Low IP (inclusive) of the dynamic address pool. Must be in the config's
32
- * subnet.
42
+ * Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
33
43
  */
34
44
  poolLow: string;
35
45
  /**
36
- * High IP (inclusive) of the dynamic address pool. Must be in the config's
37
- * subnet.
46
+ * High IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
38
47
  */
39
48
  poolHigh: string;
40
49
  /**
41
- * Defines whether to enable dynamic pooling of IPs. When false, only
42
- * pre-existing DHCP reservations will be handed out.
50
+ * Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out.
43
51
  */
44
52
  enableDynamic: boolean;
45
- /** How long DHCP entries will be valid for. */
53
+ /**
54
+ * How long DHCP entries will be valid for.
55
+ */
46
56
  validLifetime?: string;
47
57
  /**
48
- * After how long a renew will be attempted. Must be 30s lower than
49
- * `rebind_timer`.
58
+ * After how long a renew will be attempted. Must be 30s lower than `rebind_timer`.
50
59
  */
51
60
  renewTimer?: string;
52
61
  /**
53
- * After how long a DHCP client will query for a new lease if previous renews
54
- * fail. Must be 30s lower than `valid_lifetime`.
62
+ * After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`.
55
63
  */
56
64
  rebindTimer?: string;
57
65
  /**
58
- * Defines whether the gateway should push a default route to DHCP clients, or
59
- * only hand out IPs.
66
+ * Defines whether the gateway should push a default route to DHCP clients, or only hand out IPs.
60
67
  */
61
68
  pushDefaultRoute: boolean;
62
69
  /**
63
- * Defines whether the gateway should push custom DNS servers to clients. This
64
- * allows for instance hostname -> IP resolution.
70
+ * Defines whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
65
71
  */
66
72
  pushDnsServer: boolean;
67
73
  /**
68
- * Array of DNS server IP addresses used to override the DNS server list
69
- * pushed to DHCP clients, instead of the gateway itself.
74
+ * Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
70
75
  */
71
76
  dnsServersOverride: string[];
72
- /** Array of search paths in addition to the pushed DNS configuration. */
77
+ /**
78
+ * Array of search paths in addition to the pushed DNS configuration.
79
+ */
73
80
  dnsSearch: string[];
74
81
  /**
75
- * TLD given to hostnames in the Private Networks. If an Instance with
76
- * hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will
77
- * resolve.
82
+ * TLD given to hostnames in the Private Networks. If an Instance with hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will resolve.
78
83
  */
79
84
  dnsLocalName: string;
80
- /** Zone of this DHCP configuration. */
85
+ /**
86
+ * Zone of this DHCP configuration.
87
+ */
81
88
  zone: ScwZone;
82
89
  }
83
90
  export interface IpamConfig {
84
- /** Defines whether the default route is enabled on that Gateway Network. */
91
+ /**
92
+ * Defines whether the default route is enabled on that Gateway Network.
93
+ */
85
94
  pushDefaultRoute: boolean;
86
- /** IPAM-booked IP ID as the Gateway's IP in this Private Network. */
95
+ /**
96
+ * IPAM-booked IP ID as the Gateway's IP in this Private Network.
97
+ */
87
98
  ipamIpId: string;
88
99
  }
89
100
  export interface GatewayNetwork {
90
- /** ID of the Public Gateway-Private Network connection. */
101
+ /**
102
+ * ID of the Public Gateway-Private Network connection.
103
+ */
91
104
  id: string;
92
- /** Connection creation date. */
105
+ /**
106
+ * Connection creation date.
107
+ */
93
108
  createdAt?: Date;
94
- /** Connection last modification date. */
109
+ /**
110
+ * Connection last modification date.
111
+ */
95
112
  updatedAt?: Date;
96
- /** ID of the connected Public Gateway. */
113
+ /**
114
+ * ID of the connected Public Gateway.
115
+ */
97
116
  gatewayId: string;
98
- /** ID of the connected Private Network. */
117
+ /**
118
+ * ID of the connected Private Network.
119
+ */
99
120
  privateNetworkId: string;
100
121
  /**
101
- * MAC address of the gateway in the Private Network (if the gateway is up and
102
- * running).
122
+ * MAC address of the gateway in the Private Network (if the gateway is up and running).
103
123
  */
104
124
  macAddress?: string;
105
125
  /**
106
- * Defines whether the gateway masquerades traffic for this Private Network
107
- * (Dynamic NAT).
126
+ * Defines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
108
127
  */
109
128
  enableMasquerade: boolean;
110
- /** Current status of the Public Gateway's connection to the Private Network. */
129
+ /**
130
+ * Current status of the Public Gateway's connection to the Private Network.
131
+ */
111
132
  status: GatewayNetworkStatus;
112
- /** DHCP configuration for the connected Private Network. */
133
+ /**
134
+ * DHCP configuration for the connected Private Network.
135
+ */
113
136
  dhcp?: DHCP;
114
- /** Defines whether DHCP is enabled on the connected Private Network. */
137
+ /**
138
+ * Defines whether DHCP is enabled on the connected Private Network.
139
+ */
115
140
  enableDhcp: boolean;
116
- /** Address of the Gateway (in CIDR form) to use when DHCP is not used. */
141
+ /**
142
+ * Address of the Gateway (in CIDR form) to use when DHCP is not used.
143
+ */
117
144
  address?: string;
118
- /** IPAM IP configuration used. */
145
+ /**
146
+ * IPAM IP configuration used.
147
+ */
119
148
  ipamConfig?: IpamConfig;
120
- /** Zone of the GatewayNetwork connection. */
149
+ /**
150
+ * Zone of the GatewayNetwork connection.
151
+ */
121
152
  zone: ScwZone;
122
153
  }
123
154
  export interface GatewayType {
124
- /** Public Gateway type name. */
155
+ /**
156
+ * Public Gateway type name.
157
+ */
125
158
  name: string;
126
159
  /**
127
- * Bandwidth, in bps, of the Public Gateway. This is the public bandwidth to
128
- * the outer Internet, and the internal bandwidth to each connected Private
129
- * Networks.
160
+ * Bandwidth, in bps, of the Public Gateway. This is the public bandwidth to the outer Internet, and the internal bandwidth to each connected Private Networks.
130
161
  */
131
162
  bandwidth: number;
132
- /** Zone the Public Gateway type is available in. */
163
+ /**
164
+ * Zone the Public Gateway type is available in.
165
+ */
133
166
  zone: ScwZone;
134
167
  }
135
168
  export interface IP {
136
- /** IP address ID. */
169
+ /**
170
+ * IP address ID.
171
+ */
137
172
  id: string;
138
- /** Owning Organization. */
173
+ /**
174
+ * Owning Organization.
175
+ */
139
176
  organizationId: string;
140
- /** Owning Project. */
177
+ /**
178
+ * Owning Project.
179
+ */
141
180
  projectId: string;
142
- /** IP address creation date. */
181
+ /**
182
+ * IP address creation date.
183
+ */
143
184
  createdAt?: Date;
144
- /** IP address last modification date. */
185
+ /**
186
+ * IP address last modification date.
187
+ */
145
188
  updatedAt?: Date;
146
- /** Tags associated with the IP address. */
189
+ /**
190
+ * Tags associated with the IP address.
191
+ */
147
192
  tags: string[];
148
- /** The IP address itself. */
193
+ /**
194
+ * The IP address itself.
195
+ */
149
196
  address: string;
150
- /** Reverse domain name for the IP address. */
197
+ /**
198
+ * Reverse domain name for the IP address.
199
+ */
151
200
  reverse?: string;
152
- /** Public Gateway associated with the IP address. */
201
+ /**
202
+ * Public Gateway associated with the IP address.
203
+ */
153
204
  gatewayId?: string;
154
- /** Zone of the IP address. */
205
+ /**
206
+ * Zone of the IP address.
207
+ */
155
208
  zone: ScwZone;
156
209
  }
157
210
  export type CreateDHCPRequest = {
158
- /** Zone to target. If none is passed will use default zone from the config. */
211
+ /**
212
+ * Zone to target. If none is passed will use default zone from the config.
213
+ */
159
214
  zone?: ScwZone;
160
- /** Project to create the DHCP configuration in. */
215
+ /**
216
+ * Project to create the DHCP configuration in.
217
+ */
161
218
  projectId?: string;
162
- /** Subnet for the DHCP server. */
219
+ /**
220
+ * Subnet for the DHCP server.
221
+ */
163
222
  subnet: string;
164
223
  /**
165
- * IP address of the DHCP server. This will be the gateway's address in the
166
- * Private Network. Defaults to the first address of the subnet.
224
+ * IP address of the DHCP server. This will be the gateway's address in the Private Network. Defaults to the first address of the subnet.
167
225
  */
168
226
  address?: string;
169
227
  /**
170
- * Low IP (inclusive) of the dynamic address pool. Must be in the config's
171
- * subnet. Defaults to the second address of the subnet.
228
+ * Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet. Defaults to the second address of the subnet.
172
229
  */
173
230
  poolLow?: string;
174
231
  /**
175
- * High IP (inclusive) of the dynamic address pool. Must be in the config's
176
- * subnet. Defaults to the last address of the subnet.
232
+ * High IP (inclusive) of the dynamic address pool. Must be in the config's subnet. Defaults to the last address of the subnet.
177
233
  */
178
234
  poolHigh?: string;
179
235
  /**
180
- * Defines whether to enable dynamic pooling of IPs. When false, only
181
- * pre-existing DHCP reservations will be handed out. Defaults to true.
236
+ * Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out. Defaults to true.
182
237
  */
183
238
  enableDynamic?: boolean;
184
- /** How long DHCP entries will be valid for. Defaults to 1h (3600s). */
239
+ /**
240
+ * How long DHCP entries will be valid for. Defaults to 1h (3600s).
241
+ */
185
242
  validLifetime?: string;
186
243
  /**
187
- * After how long a renew will be attempted. Must be 30s lower than
188
- * `rebind_timer`. Defaults to 50m (3000s).
244
+ * After how long a renew will be attempted. Must be 30s lower than `rebind_timer`. Defaults to 50m (3000s).
189
245
  */
190
246
  renewTimer?: string;
191
247
  /**
192
- * After how long a DHCP client will query for a new lease if previous renews
193
- * fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s).
248
+ * After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`. Defaults to 51m (3060s).
194
249
  */
195
250
  rebindTimer?: string;
196
251
  /**
197
- * Defines whether the gateway should push a default route to DHCP clients or
198
- * only hand out IPs. Defaults to true.
252
+ * Defines whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
199
253
  */
200
254
  pushDefaultRoute?: boolean;
201
255
  /**
202
- * Defines whether the gateway should push custom DNS servers to clients. This
203
- * allows for Instance hostname -> IP resolution. Defaults to true.
256
+ * Defines whether the gateway should push custom DNS servers to clients. This allows for Instance hostname -> IP resolution. Defaults to true.
204
257
  */
205
258
  pushDnsServer?: boolean;
206
259
  /**
207
- * Array of DNS server IP addresses used to override the DNS server list
208
- * pushed to DHCP clients, instead of the gateway itself.
260
+ * Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
209
261
  */
210
262
  dnsServersOverride?: string[];
211
- /** Array of search paths in addition to the pushed DNS configuration. */
263
+ /**
264
+ * Array of search paths in addition to the pushed DNS configuration.
265
+ */
212
266
  dnsSearch?: string[];
213
267
  /**
214
- * TLD given to hostnames in the Private Network. Allowed characters are
215
- * `a-z0-9-.`. Defaults to the slugified Private Network name if created along
216
- * a GatewayNetwork, or else to `priv`.
268
+ * TLD given to hostnames in the Private Network. Allowed characters are `a-z0-9-.`. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to `priv`.
217
269
  */
218
270
  dnsLocalName?: string;
219
271
  };
220
272
  export interface CreateGatewayNetworkRequestIpamConfig {
221
- /** Enabling the default route also enables masquerading. */
273
+ /**
274
+ * Enabling the default route also enables masquerading.
275
+ */
222
276
  pushDefaultRoute: boolean;
223
- /** Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. */
277
+ /**
278
+ * Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
279
+ */
224
280
  ipamIpId?: string;
225
281
  }
226
282
  export interface DHCPEntry {
227
- /** DHCP entry ID. */
283
+ /**
284
+ * DHCP entry ID.
285
+ */
228
286
  id: string;
229
- /** DHCP entry creation date. */
287
+ /**
288
+ * DHCP entry creation date.
289
+ */
230
290
  createdAt?: Date;
231
- /** DHCP entry last modification date. */
291
+ /**
292
+ * DHCP entry last modification date.
293
+ */
232
294
  updatedAt?: Date;
233
- /** Owning GatewayNetwork. */
295
+ /**
296
+ * Owning GatewayNetwork.
297
+ */
234
298
  gatewayNetworkId: string;
235
- /** MAC address of the client device. */
299
+ /**
300
+ * MAC address of the client device.
301
+ */
236
302
  macAddress: string;
237
- /** Assigned IP address. */
303
+ /**
304
+ * Assigned IP address.
305
+ */
238
306
  ipAddress: string;
239
- /** Hostname of the client device. */
307
+ /**
308
+ * Hostname of the client device.
309
+ */
240
310
  hostname: string;
241
- /** Entry type, either static (DHCP reservation) or dynamic (DHCP lease). */
311
+ /**
312
+ * Entry type, either static (DHCP reservation) or dynamic (DHCP lease).
313
+ */
242
314
  type: DHCPEntryType;
243
- /** Zone of this DHCP entry. */
315
+ /**
316
+ * Zone of this DHCP entry.
317
+ */
244
318
  zone: ScwZone;
245
319
  }
246
320
  export interface Gateway {
247
- /** ID of the gateway. */
321
+ /**
322
+ * ID of the gateway.
323
+ */
248
324
  id: string;
249
- /** Owning Organization. */
325
+ /**
326
+ * Owning Organization.
327
+ */
250
328
  organizationId: string;
251
- /** Owning Project. */
329
+ /**
330
+ * Owning Project.
331
+ */
252
332
  projectId: string;
253
- /** Gateway creation date. */
333
+ /**
334
+ * Gateway creation date.
335
+ */
254
336
  createdAt?: Date;
255
- /** Gateway last modification date. */
337
+ /**
338
+ * Gateway last modification date.
339
+ */
256
340
  updatedAt?: Date;
257
- /** Gateway type (commercial offer). */
341
+ /**
342
+ * Gateway type (commercial offer).
343
+ */
258
344
  type?: GatewayType;
259
- /** Current status of the gateway. */
345
+ /**
346
+ * Current status of the gateway.
347
+ */
260
348
  status: GatewayStatus;
261
- /** Name of the gateway. */
349
+ /**
350
+ * Name of the gateway.
351
+ */
262
352
  name: string;
263
- /** Tags associated with the gateway. */
353
+ /**
354
+ * Tags associated with the gateway.
355
+ */
264
356
  tags: string[];
265
- /** Public IP address of the gateway. */
357
+ /**
358
+ * Public IP address of the gateway.
359
+ */
266
360
  ip?: IP;
267
361
  /**
268
- * GatewayNetwork objects attached to the gateway (each one represents a
269
- * connection to a Private Network).
362
+ * GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
270
363
  */
271
364
  gatewayNetworks: GatewayNetwork[];
272
365
  /**
273
- * Array of DNS server IP addresses to override the gateway's default
274
- * recursive DNS servers.
366
+ * Array of DNS server IP addresses to override the gateway's default recursive DNS servers.
275
367
  */
276
368
  upstreamDnsServers: string[];
277
- /** Version of the running gateway software. */
369
+ /**
370
+ * Version of the running gateway software.
371
+ */
278
372
  version?: string;
279
- /** Newly available gateway software version that can be updated to. */
373
+ /**
374
+ * Newly available gateway software version that can be updated to.
375
+ */
280
376
  canUpgradeTo?: string;
281
- /** Defines whether SSH bastion is enabled on the gateway. */
377
+ /**
378
+ * Defines whether SSH bastion is enabled on the gateway.
379
+ */
282
380
  bastionEnabled: boolean;
283
- /** Port of the SSH bastion. */
381
+ /**
382
+ * Port of the SSH bastion.
383
+ */
284
384
  bastionPort: number;
285
- /** Defines whether SMTP traffic is allowed to pass through the gateway. */
385
+ /**
386
+ * Defines whether SMTP traffic is allowed to pass through the gateway.
387
+ */
286
388
  smtpEnabled: boolean;
287
- /** Defines whether the gateway uses non-IPAM IP configurations. */
389
+ /**
390
+ * Defines whether the gateway uses non-IPAM IP configurations.
391
+ */
288
392
  isLegacy: boolean;
289
393
  /**
290
- * Defines whether the gateway uses routed IPs (IP mobility) instead of NAT
291
- * IPs.
394
+ * Defines whether the gateway uses routed IPs (IP mobility) instead of NAT IPs.
292
395
  */
293
396
  ipMobilityEnabled: boolean;
294
- /** Zone of the gateway. */
397
+ /**
398
+ * Zone of the gateway.
399
+ */
295
400
  zone: ScwZone;
296
401
  }
297
402
  export interface PATRule {
298
- /** PAT rule ID. */
403
+ /**
404
+ * PAT rule ID.
405
+ */
299
406
  id: string;
300
- /** Gateway the PAT rule applies to. */
407
+ /**
408
+ * Gateway the PAT rule applies to.
409
+ */
301
410
  gatewayId: string;
302
- /** PAT rule creation date. */
411
+ /**
412
+ * PAT rule creation date.
413
+ */
303
414
  createdAt?: Date;
304
- /** PAT rule last modification date. */
415
+ /**
416
+ * PAT rule last modification date.
417
+ */
305
418
  updatedAt?: Date;
306
- /** Public port to listen on. */
419
+ /**
420
+ * Public port to listen on.
421
+ */
307
422
  publicPort: number;
308
- /** Private IP address to forward data to. */
423
+ /**
424
+ * Private IP address to forward data to.
425
+ */
309
426
  privateIp: string;
310
- /** Private port to translate to. */
427
+ /**
428
+ * Private port to translate to.
429
+ */
311
430
  privatePort: number;
312
- /** Protocol the rule applies to. */
431
+ /**
432
+ * Protocol the rule applies to.
433
+ */
313
434
  protocol: PATRuleProtocol;
314
- /** Zone of the PAT rule. */
435
+ /**
436
+ * Zone of the PAT rule.
437
+ */
315
438
  zone: ScwZone;
316
439
  }
317
440
  export interface SetDHCPEntriesRequestEntry {
318
441
  /**
319
- * MAC address to give a static entry to. A matching entry will be upgraded to
320
- * a reservation, and a matching reservation will be updated.
442
+ * MAC address to give a static entry to. A matching entry will be upgraded to a reservation, and a matching reservation will be updated.
321
443
  */
322
444
  macAddress: string;
323
- /** IP address to give to the device. */
445
+ /**
446
+ * IP address to give to the device.
447
+ */
324
448
  ipAddress: string;
325
449
  }
326
450
  export interface SetPATRulesRequestRule {
327
451
  /**
328
- * Public port to listen on. Uniquely identifies the rule, and a matching rule
329
- * will be updated with the new parameters.
452
+ * Public port to listen on. Uniquely identifies the rule, and a matching rule will be updated with the new parameters.
330
453
  */
331
454
  publicPort: number;
332
- /** Private IP to forward data to. */
455
+ /**
456
+ * Private IP to forward data to.
457
+ */
333
458
  privateIp: string;
334
- /** Private port to translate to. */
459
+ /**
460
+ * Private port to translate to.
461
+ */
335
462
  privatePort: number;
336
- /** Protocol the rule should apply to. */
463
+ /**
464
+ * Protocol the rule should apply to.
465
+ */
337
466
  protocol: PATRuleProtocol;
338
467
  }
339
468
  export interface UpdateGatewayNetworkRequestIpamConfig {
340
- /** Enabling the default route also enables masquerading. */
469
+ /**
470
+ * Enabling the default route also enables masquerading.
471
+ */
341
472
  pushDefaultRoute?: boolean;
342
- /** Use this IPAM-booked IP ID as the Gateway's IP in this Private Network. */
473
+ /**
474
+ * Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
475
+ */
343
476
  ipamIpId?: string;
344
477
  }
345
478
  export type CreateDHCPEntryRequest = {
346
- /** Zone to target. If none is passed will use default zone from the config. */
479
+ /**
480
+ * Zone to target. If none is passed will use default zone from the config.
481
+ */
347
482
  zone?: ScwZone;
348
- /** GatewayNetwork on which to create a DHCP reservation. */
483
+ /**
484
+ * GatewayNetwork on which to create a DHCP reservation.
485
+ */
349
486
  gatewayNetworkId: string;
350
- /** MAC address to give a static entry to. */
487
+ /**
488
+ * MAC address to give a static entry to.
489
+ */
351
490
  macAddress: string;
352
- /** IP address to give to the device. */
491
+ /**
492
+ * IP address to give to the device.
493
+ */
353
494
  ipAddress: string;
354
495
  };
355
496
  export type CreateGatewayNetworkRequest = {
356
- /** Zone to target. If none is passed will use default zone from the config. */
497
+ /**
498
+ * Zone to target. If none is passed will use default zone from the config.
499
+ */
357
500
  zone?: ScwZone;
358
- /** Public Gateway to connect. */
501
+ /**
502
+ * Public Gateway to connect.
503
+ */
359
504
  gatewayId: string;
360
- /** Private Network to connect. */
505
+ /**
506
+ * Private Network to connect.
507
+ */
361
508
  privateNetworkId: string;
362
- /** Note: this setting is ignored when passing `ipam_config`. */
509
+ /**
510
+ * Note: this setting is ignored when passing `ipam_config`.
511
+ */
363
512
  enableMasquerade: boolean;
364
513
  /**
365
- * Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to
366
- * `true`, either `dhcp_id` or `dhcp` must be present. Note: this setting is
367
- * ignored when passing `ipam_config`.
514
+ * Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to `true`, either `dhcp_id` or `dhcp` must be present.
515
+ Note: this setting is ignored when passing `ipam_config`.
368
516
  */
369
517
  enableDhcp?: boolean;
370
518
  /**
371
519
  * ID of an existing DHCP configuration object to use for this GatewayNetwork.
372
520
  *
373
- * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
374
- * 'ipamConfig' could be set.
521
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
375
522
  */
376
523
  dhcpId?: string;
377
524
  /**
378
525
  * New DHCP configuration object to use for this GatewayNetwork.
379
526
  *
380
- * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
381
- * 'ipamConfig' could be set.
527
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
382
528
  */
383
529
  dhcp?: CreateDHCPRequest;
384
530
  /**
385
- * Static IP address in CIDR format to to use without DHCP.
531
+ * Static IP address in CIDR format to use without DHCP.
386
532
  *
387
- * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
388
- * 'ipamConfig' could be set.
533
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
389
534
  */
390
535
  address?: string;
391
536
  /**
392
- * Note: all or none of the GatewayNetworks for a single gateway can use the
393
- * IPAM. DHCP and IPAM configurations cannot be mixed. Some products may
394
- * require that the Public Gateway uses the IPAM, to ensure correct
395
- * functionality.
537
+ * Note: all or none of the GatewayNetworks for a single gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed. Some products may require that the Public Gateway uses the IPAM, to ensure correct functionality.
396
538
  *
397
- * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address',
398
- * 'ipamConfig' could be set.
539
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'dhcp', 'address', 'ipamConfig' could be set.
399
540
  */
400
541
  ipamConfig?: CreateGatewayNetworkRequestIpamConfig;
401
542
  };
402
543
  export type CreateGatewayRequest = {
403
- /** Zone to target. If none is passed will use default zone from the config. */
544
+ /**
545
+ * Zone to target. If none is passed will use default zone from the config.
546
+ */
404
547
  zone?: ScwZone;
405
- /** Scaleway Project to create the gateway in. */
548
+ /**
549
+ * Scaleway Project to create the gateway in.
550
+ */
406
551
  projectId?: string;
407
- /** Name for the gateway. */
552
+ /**
553
+ * Name for the gateway.
554
+ */
408
555
  name?: string;
409
- /** Tags for the gateway. */
556
+ /**
557
+ * Tags for the gateway.
558
+ */
410
559
  tags?: string[];
411
- /** Gateway type (commercial offer type). */
560
+ /**
561
+ * Gateway type (commercial offer type).
562
+ */
412
563
  type: string;
413
564
  /**
414
- * Array of DNS server IP addresses to override the gateway's default
415
- * recursive DNS servers.
565
+ * Array of DNS server IP addresses to override the gateway's default recursive DNS servers.
416
566
  */
417
567
  upstreamDnsServers?: string[];
418
- /** Existing IP address to attach to the gateway. */
568
+ /**
569
+ * Existing IP address to attach to the gateway.
570
+ */
419
571
  ipId?: string;
420
- /** Defines whether SMTP traffic should be allowed pass through the gateway. */
572
+ /**
573
+ * Defines whether SMTP traffic should be allowed pass through the gateway.
574
+ */
421
575
  enableSmtp: boolean;
422
- /** Defines whether SSH bastion should be enabled the gateway. */
576
+ /**
577
+ * Defines whether SSH bastion should be enabled the gateway.
578
+ */
423
579
  enableBastion: boolean;
424
- /** Port of the SSH bastion. */
580
+ /**
581
+ * Port of the SSH bastion.
582
+ */
425
583
  bastionPort?: number;
426
584
  };
427
585
  export type CreateIPRequest = {
428
- /** Zone to target. If none is passed will use default zone from the config. */
586
+ /**
587
+ * Zone to target. If none is passed will use default zone from the config.
588
+ */
429
589
  zone?: ScwZone;
430
- /** Project to create the IP address in. */
590
+ /**
591
+ * Project to create the IP address in.
592
+ */
431
593
  projectId?: string;
432
- /** Tags to give to the IP address. */
594
+ /**
595
+ * Tags to give to the IP address.
596
+ */
433
597
  tags?: string[];
434
598
  };
435
599
  export type CreatePATRuleRequest = {
436
- /** Zone to target. If none is passed will use default zone from the config. */
600
+ /**
601
+ * Zone to target. If none is passed will use default zone from the config.
602
+ */
437
603
  zone?: ScwZone;
438
- /** ID of the Gateway on which to create the rule. */
604
+ /**
605
+ * ID of the Gateway on which to create the rule.
606
+ */
439
607
  gatewayId: string;
440
- /** Public port to listen on. */
608
+ /**
609
+ * Public port to listen on.
610
+ */
441
611
  publicPort: number;
442
- /** Private IP to forward data to. */
612
+ /**
613
+ * Private IP to forward data to.
614
+ */
443
615
  privateIp: string;
444
- /** Private port to translate to. */
616
+ /**
617
+ * Private port to translate to.
618
+ */
445
619
  privatePort: number;
446
- /** Protocol the rule should apply to. */
620
+ /**
621
+ * Protocol the rule should apply to.
622
+ */
447
623
  protocol?: PATRuleProtocol;
448
624
  };
449
625
  export type DeleteDHCPEntryRequest = {
450
- /** Zone to target. If none is passed will use default zone from the config. */
626
+ /**
627
+ * Zone to target. If none is passed will use default zone from the config.
628
+ */
451
629
  zone?: ScwZone;
452
- /** ID of the DHCP entry to delete. */
630
+ /**
631
+ * ID of the DHCP entry to delete.
632
+ */
453
633
  dhcpEntryId: string;
454
634
  };
455
635
  export type DeleteDHCPRequest = {
456
- /** Zone to target. If none is passed will use default zone from the config. */
636
+ /**
637
+ * Zone to target. If none is passed will use default zone from the config.
638
+ */
457
639
  zone?: ScwZone;
458
- /** DHCP configuration ID to delete. */
640
+ /**
641
+ * DHCP configuration ID to delete.
642
+ */
459
643
  dhcpId: string;
460
644
  };
461
645
  export type DeleteGatewayNetworkRequest = {
462
- /** Zone to target. If none is passed will use default zone from the config. */
646
+ /**
647
+ * Zone to target. If none is passed will use default zone from the config.
648
+ */
463
649
  zone?: ScwZone;
464
- /** ID of the GatewayNetwork to delete. */
650
+ /**
651
+ * ID of the GatewayNetwork to delete.
652
+ */
465
653
  gatewayNetworkId: string;
466
654
  /**
467
- * Defines whether to clean up attached DHCP configurations (if any, and if
468
- * not attached to another Gateway Network).
655
+ * Defines whether to clean up attached DHCP configurations (if any, and if not attached to another Gateway Network).
469
656
  */
470
657
  cleanupDhcp: boolean;
471
658
  };
472
659
  export type DeleteGatewayRequest = {
473
- /** Zone to target. If none is passed will use default zone from the config. */
660
+ /**
661
+ * Zone to target. If none is passed will use default zone from the config.
662
+ */
474
663
  zone?: ScwZone;
475
- /** ID of the gateway to delete. */
664
+ /**
665
+ * ID of the gateway to delete.
666
+ */
476
667
  gatewayId: string;
477
668
  /**
478
- * Defines whether to clean up attached DHCP configurations (if any, and if
479
- * not attached to another Gateway Network).
669
+ * Defines whether to clean up attached DHCP configurations (if any, and if not attached to another Gateway Network).
480
670
  */
481
671
  cleanupDhcp: boolean;
482
672
  };
483
673
  export type DeleteIPRequest = {
484
- /** Zone to target. If none is passed will use default zone from the config. */
674
+ /**
675
+ * Zone to target. If none is passed will use default zone from the config.
676
+ */
485
677
  zone?: ScwZone;
486
- /** ID of the IP address to delete. */
678
+ /**
679
+ * ID of the IP address to delete.
680
+ */
487
681
  ipId: string;
488
682
  };
489
683
  export type DeletePATRuleRequest = {
490
- /** Zone to target. If none is passed will use default zone from the config. */
684
+ /**
685
+ * Zone to target. If none is passed will use default zone from the config.
686
+ */
491
687
  zone?: ScwZone;
492
- /** ID of the PAT rule to delete. */
688
+ /**
689
+ * ID of the PAT rule to delete.
690
+ */
493
691
  patRuleId: string;
494
692
  };
495
693
  export type EnableIPMobilityRequest = {
496
- /** Zone to target. If none is passed will use default zone from the config. */
694
+ /**
695
+ * Zone to target. If none is passed will use default zone from the config.
696
+ */
497
697
  zone?: ScwZone;
498
- /** ID of the gateway to upgrade to IP mobility. */
698
+ /**
699
+ * ID of the gateway to upgrade to IP mobility.
700
+ */
499
701
  gatewayId: string;
500
702
  };
501
703
  export type GetDHCPEntryRequest = {
502
- /** Zone to target. If none is passed will use default zone from the config. */
704
+ /**
705
+ * Zone to target. If none is passed will use default zone from the config.
706
+ */
503
707
  zone?: ScwZone;
504
- /** ID of the DHCP entry to fetch. */
708
+ /**
709
+ * ID of the DHCP entry to fetch.
710
+ */
505
711
  dhcpEntryId: string;
506
712
  };
507
713
  export type GetDHCPRequest = {
508
- /** Zone to target. If none is passed will use default zone from the config. */
714
+ /**
715
+ * Zone to target. If none is passed will use default zone from the config.
716
+ */
509
717
  zone?: ScwZone;
510
- /** ID of the DHCP configuration to fetch. */
718
+ /**
719
+ * ID of the DHCP configuration to fetch.
720
+ */
511
721
  dhcpId: string;
512
722
  };
513
723
  export type GetGatewayNetworkRequest = {
514
- /** Zone to target. If none is passed will use default zone from the config. */
724
+ /**
725
+ * Zone to target. If none is passed will use default zone from the config.
726
+ */
515
727
  zone?: ScwZone;
516
- /** ID of the GatewayNetwork to fetch. */
728
+ /**
729
+ * ID of the GatewayNetwork to fetch.
730
+ */
517
731
  gatewayNetworkId: string;
518
732
  };
519
733
  export type GetGatewayRequest = {
520
- /** Zone to target. If none is passed will use default zone from the config. */
734
+ /**
735
+ * Zone to target. If none is passed will use default zone from the config.
736
+ */
521
737
  zone?: ScwZone;
522
- /** ID of the gateway to fetch. */
738
+ /**
739
+ * ID of the gateway to fetch.
740
+ */
523
741
  gatewayId: string;
524
742
  };
525
743
  export type GetIPRequest = {
526
- /** Zone to target. If none is passed will use default zone from the config. */
744
+ /**
745
+ * Zone to target. If none is passed will use default zone from the config.
746
+ */
527
747
  zone?: ScwZone;
528
- /** ID of the IP address to get. */
748
+ /**
749
+ * ID of the IP address to get.
750
+ */
529
751
  ipId: string;
530
752
  };
531
753
  export type GetPATRuleRequest = {
532
- /** Zone to target. If none is passed will use default zone from the config. */
754
+ /**
755
+ * Zone to target. If none is passed will use default zone from the config.
756
+ */
533
757
  zone?: ScwZone;
534
- /** ID of the PAT rule to get. */
758
+ /**
759
+ * ID of the PAT rule to get.
760
+ */
535
761
  patRuleId: string;
536
762
  };
537
763
  export type ListDHCPEntriesRequest = {
538
- /** Zone to target. If none is passed will use default zone from the config. */
764
+ /**
765
+ * Zone to target. If none is passed will use default zone from the config.
766
+ */
539
767
  zone?: ScwZone;
540
- /** Order in which to return results. */
768
+ /**
769
+ * Order in which to return results.
770
+ */
541
771
  orderBy?: ListDHCPEntriesRequestOrderBy;
542
- /** Page number. */
772
+ /**
773
+ * Page number.
774
+ */
543
775
  page?: number;
544
- /** DHCP entries per page. */
776
+ /**
777
+ * DHCP entries per page.
778
+ */
545
779
  pageSize?: number;
546
- /** Filter for entries on this GatewayNetwork. */
780
+ /**
781
+ * Filter for entries on this GatewayNetwork.
782
+ */
547
783
  gatewayNetworkId?: string;
548
- /** Filter for entries with this MAC address. */
784
+ /**
785
+ * Filter for entries with this MAC address.
786
+ */
549
787
  macAddress?: string;
550
- /** Filter for entries with this IP address. */
788
+ /**
789
+ * Filter for entries with this IP address.
790
+ */
551
791
  ipAddress?: string;
552
- /** Filter for entries with this hostname substring. */
792
+ /**
793
+ * Filter for entries with this hostname substring.
794
+ */
553
795
  hostname?: string;
554
- /** Filter for entries of this type. */
796
+ /**
797
+ * Filter for entries of this type.
798
+ */
555
799
  type?: DHCPEntryType;
556
800
  };
557
801
  export interface ListDHCPEntriesResponse {
558
- /** DHCP entries in this page. */
802
+ /**
803
+ * DHCP entries in this page.
804
+ */
559
805
  dhcpEntries: DHCPEntry[];
560
- /** Total count of DHCP entries matching the filter. */
806
+ /**
807
+ * Total count of DHCP entries matching the filter.
808
+ */
561
809
  totalCount: number;
562
810
  }
563
811
  export type ListDHCPsRequest = {
564
- /** Zone to target. If none is passed will use default zone from the config. */
812
+ /**
813
+ * Zone to target. If none is passed will use default zone from the config.
814
+ */
565
815
  zone?: ScwZone;
566
- /** Order in which to return results. */
816
+ /**
817
+ * Order in which to return results.
818
+ */
567
819
  orderBy?: ListDHCPsRequestOrderBy;
568
- /** Page number. */
820
+ /**
821
+ * Page number.
822
+ */
569
823
  page?: number;
570
- /** DHCP configurations per page. */
824
+ /**
825
+ * DHCP configurations per page.
826
+ */
571
827
  pageSize?: number;
572
- /** Include only DHCP configuration objects in this Organization. */
828
+ /**
829
+ * Include only DHCP configuration objects in this Organization.
830
+ */
573
831
  organizationId?: string;
574
- /** Include only DHCP configuration objects in this Project. */
832
+ /**
833
+ * Include only DHCP configuration objects in this Project.
834
+ */
575
835
  projectId?: string;
576
836
  /**
577
- * Filter for DHCP configuration objects with this DHCP server IP address (the
578
- * gateway's address in the Private Network).
837
+ * Filter for DHCP configuration objects with this DHCP server IP address (the gateway's address in the Private Network).
579
838
  */
580
839
  address?: string;
581
840
  /**
582
- * Filter for DHCP configuration objects with subnets containing this IP
583
- * address.
841
+ * Filter for DHCP configuration objects with subnets containing this IP address.
584
842
  */
585
843
  hasAddress?: string;
586
844
  };
587
845
  export interface ListDHCPsResponse {
588
- /** First page of DHCP configuration objects. */
846
+ /**
847
+ * First page of DHCP configuration objects.
848
+ */
589
849
  dhcps: DHCP[];
590
- /** Total count of DHCP configuration objects matching the filter. */
850
+ /**
851
+ * Total count of DHCP configuration objects matching the filter.
852
+ */
591
853
  totalCount: number;
592
854
  }
593
855
  export type ListGatewayNetworksRequest = {
594
- /** Zone to target. If none is passed will use default zone from the config. */
856
+ /**
857
+ * Zone to target. If none is passed will use default zone from the config.
858
+ */
595
859
  zone?: ScwZone;
596
- /** Order in which to return results. */
860
+ /**
861
+ * Order in which to return results.
862
+ */
597
863
  orderBy?: ListGatewayNetworksRequestOrderBy;
598
- /** Page number. */
864
+ /**
865
+ * Page number.
866
+ */
599
867
  page?: number;
600
- /** GatewayNetworks per page. */
868
+ /**
869
+ * GatewayNetworks per page.
870
+ */
601
871
  pageSize?: number;
602
- /** Filter for GatewayNetworks connected to this gateway. */
872
+ /**
873
+ * Filter for GatewayNetworks connected to this gateway.
874
+ */
603
875
  gatewayId?: string;
604
- /** Filter for GatewayNetworks connected to this Private Network. */
876
+ /**
877
+ * Filter for GatewayNetworks connected to this Private Network.
878
+ */
605
879
  privateNetworkId?: string;
606
- /** Filter for GatewayNetworks with this `enable_masquerade` setting. */
880
+ /**
881
+ * Filter for GatewayNetworks with this `enable_masquerade` setting.
882
+ */
607
883
  enableMasquerade?: boolean;
608
- /** Filter for GatewayNetworks using this DHCP configuration. */
884
+ /**
885
+ * Filter for GatewayNetworks using this DHCP configuration.
886
+ */
609
887
  dhcpId?: string;
610
888
  /**
611
- * Filter for GatewayNetworks with this current status this status. Use
612
- * `unknown` to include all statuses.
889
+ * Filter for GatewayNetworks with this current status this status. Use `unknown` to include all statuses.
613
890
  */
614
891
  status?: GatewayNetworkStatus;
615
892
  };
616
893
  export interface ListGatewayNetworksResponse {
617
- /** GatewayNetworks on this page. */
894
+ /**
895
+ * GatewayNetworks on this page.
896
+ */
618
897
  gatewayNetworks: GatewayNetwork[];
619
- /** Total GatewayNetworks count matching the filter. */
898
+ /**
899
+ * Total GatewayNetworks count matching the filter.
900
+ */
620
901
  totalCount: number;
621
902
  }
622
903
  export type ListGatewayTypesRequest = {
623
- /** Zone to target. If none is passed will use default zone from the config. */
904
+ /**
905
+ * Zone to target. If none is passed will use default zone from the config.
906
+ */
624
907
  zone?: ScwZone;
625
908
  };
626
909
  export interface ListGatewayTypesResponse {
627
- /** Available types of Public Gateway. */
910
+ /**
911
+ * Available types of Public Gateway.
912
+ */
628
913
  types: GatewayType[];
629
914
  }
630
915
  export type ListGatewaysRequest = {
631
- /** Zone to target. If none is passed will use default zone from the config. */
916
+ /**
917
+ * Zone to target. If none is passed will use default zone from the config.
918
+ */
632
919
  zone?: ScwZone;
633
- /** Order in which to return results. */
920
+ /**
921
+ * Order in which to return results.
922
+ */
634
923
  orderBy?: ListGatewaysRequestOrderBy;
635
- /** Page number to return. */
924
+ /**
925
+ * Page number to return.
926
+ */
636
927
  page?: number;
637
- /** Gateways per page. */
928
+ /**
929
+ * Gateways per page.
930
+ */
638
931
  pageSize?: number;
639
- /** Include only gateways in this Organization. */
932
+ /**
933
+ * Include only gateways in this Organization.
934
+ */
640
935
  organizationId?: string;
641
- /** Include only gateways in this Project. */
936
+ /**
937
+ * Include only gateways in this Project.
938
+ */
642
939
  projectId?: string;
643
- /** Filter for gateways which have this search term in their name. */
940
+ /**
941
+ * Filter for gateways which have this search term in their name.
942
+ */
644
943
  name?: string;
645
- /** Filter for gateways with these tags. */
944
+ /**
945
+ * Filter for gateways with these tags.
946
+ */
646
947
  tags?: string[];
647
- /** Filter for gateways of this type. */
948
+ /**
949
+ * Filter for gateways of this type.
950
+ */
648
951
  type?: string;
649
952
  /**
650
- * Filter for gateways with this current status. Use `unknown` to include all
651
- * statuses.
953
+ * Filter for gateways with this current status. Use `unknown` to include all statuses.
652
954
  */
653
955
  status?: GatewayStatus;
654
- /** Filter for gateways attached to this Private nNetwork. */
956
+ /**
957
+ * Filter for gateways attached to this Private nNetwork.
958
+ */
655
959
  privateNetworkId?: string;
656
960
  };
657
961
  export interface ListGatewaysResponse {
658
- /** Gateways on this page. */
962
+ /**
963
+ * Gateways on this page.
964
+ */
659
965
  gateways: Gateway[];
660
- /** Total count of gateways matching the filter. */
966
+ /**
967
+ * Total count of gateways matching the filter.
968
+ */
661
969
  totalCount: number;
662
970
  }
663
971
  export type ListIPsRequest = {
664
- /** Zone to target. If none is passed will use default zone from the config. */
972
+ /**
973
+ * Zone to target. If none is passed will use default zone from the config.
974
+ */
665
975
  zone?: ScwZone;
666
- /** Order in which to return results. */
976
+ /**
977
+ * Order in which to return results.
978
+ */
667
979
  orderBy?: ListIPsRequestOrderBy;
668
- /** Page number. */
980
+ /**
981
+ * Page number.
982
+ */
669
983
  page?: number;
670
- /** IP addresses per page. */
984
+ /**
985
+ * IP addresses per page.
986
+ */
671
987
  pageSize?: number;
672
- /** Filter for IP addresses in this Organization. */
988
+ /**
989
+ * Filter for IP addresses in this Organization.
990
+ */
673
991
  organizationId?: string;
674
- /** Filter for IP addresses in this Project. */
992
+ /**
993
+ * Filter for IP addresses in this Project.
994
+ */
675
995
  projectId?: string;
676
- /** Filter for IP addresses with these tags. */
996
+ /**
997
+ * Filter for IP addresses with these tags.
998
+ */
677
999
  tags?: string[];
678
- /** Filter for IP addresses that have a reverse containing this string. */
1000
+ /**
1001
+ * Filter for IP addresses that have a reverse containing this string.
1002
+ */
679
1003
  reverse?: string;
680
- /** Filter based on whether the IP is attached to a gateway or not. */
1004
+ /**
1005
+ * Filter based on whether the IP is attached to a gateway or not.
1006
+ */
681
1007
  isFree?: boolean;
682
1008
  };
683
1009
  export interface ListIPsResponse {
684
- /** IP addresses on this page. */
1010
+ /**
1011
+ * IP addresses on this page.
1012
+ */
685
1013
  ips: IP[];
686
- /** Total count of IP addresses matching the filter. */
1014
+ /**
1015
+ * Total count of IP addresses matching the filter.
1016
+ */
687
1017
  totalCount: number;
688
1018
  }
689
1019
  export type ListPATRulesRequest = {
690
- /** Zone to target. If none is passed will use default zone from the config. */
1020
+ /**
1021
+ * Zone to target. If none is passed will use default zone from the config.
1022
+ */
691
1023
  zone?: ScwZone;
692
- /** Order in which to return results. */
1024
+ /**
1025
+ * Order in which to return results.
1026
+ */
693
1027
  orderBy?: ListPATRulesRequestOrderBy;
694
- /** Page number. */
1028
+ /**
1029
+ * Page number.
1030
+ */
695
1031
  page?: number;
696
- /** PAT rules per page. */
1032
+ /**
1033
+ * PAT rules per page.
1034
+ */
697
1035
  pageSize?: number;
698
- /** Filter for PAT rules on this Gateway. */
1036
+ /**
1037
+ * Filter for PAT rules on this Gateway.
1038
+ */
699
1039
  gatewayId?: string;
700
- /** Filter for PAT rules targeting this private ip. */
1040
+ /**
1041
+ * Filter for PAT rules targeting this private ip.
1042
+ */
701
1043
  privateIp?: string;
702
- /** Filter for PAT rules with this protocol. */
1044
+ /**
1045
+ * Filter for PAT rules with this protocol.
1046
+ */
703
1047
  protocol?: PATRuleProtocol;
704
1048
  };
705
1049
  export interface ListPATRulesResponse {
706
- /** Array of PAT rules matching the filter. */
1050
+ /**
1051
+ * Array of PAT rules matching the filter.
1052
+ */
707
1053
  patRules: PATRule[];
708
- /** Total count of PAT rules matching the filter. */
1054
+ /**
1055
+ * Total count of PAT rules matching the filter.
1056
+ */
709
1057
  totalCount: number;
710
1058
  }
711
1059
  export type MigrateToV2Request = {
712
- /** Zone to target. If none is passed will use default zone from the config. */
1060
+ /**
1061
+ * Zone to target. If none is passed will use default zone from the config.
1062
+ */
713
1063
  zone?: ScwZone;
714
- /** ID of the gateway to put into IPAM mode. */
1064
+ /**
1065
+ * ID of the gateway to put into IPAM mode.
1066
+ */
715
1067
  gatewayId: string;
716
1068
  };
717
1069
  export type RefreshSSHKeysRequest = {
718
- /** Zone to target. If none is passed will use default zone from the config. */
1070
+ /**
1071
+ * Zone to target. If none is passed will use default zone from the config.
1072
+ */
719
1073
  zone?: ScwZone;
720
- /** ID of the gateway to refresh SSH keys on. */
1074
+ /**
1075
+ * ID of the gateway to refresh SSH keys on.
1076
+ */
721
1077
  gatewayId: string;
722
1078
  };
723
1079
  export type SetDHCPEntriesRequest = {
724
- /** Zone to target. If none is passed will use default zone from the config. */
1080
+ /**
1081
+ * Zone to target. If none is passed will use default zone from the config.
1082
+ */
725
1083
  zone?: ScwZone;
726
- /** ID of the Gateway Network on which to set DHCP reservation list. */
1084
+ /**
1085
+ * ID of the Gateway Network on which to set DHCP reservation list.
1086
+ */
727
1087
  gatewayNetworkId: string;
728
- /** New list of DHCP reservations. */
1088
+ /**
1089
+ * New list of DHCP reservations.
1090
+ */
729
1091
  dhcpEntries?: SetDHCPEntriesRequestEntry[];
730
1092
  };
731
1093
  export interface SetDHCPEntriesResponse {
732
- /** List of DHCP entries. */
1094
+ /**
1095
+ * List of DHCP entries.
1096
+ */
733
1097
  dhcpEntries: DHCPEntry[];
734
1098
  }
735
1099
  export type SetPATRulesRequest = {
736
- /** Zone to target. If none is passed will use default zone from the config. */
1100
+ /**
1101
+ * Zone to target. If none is passed will use default zone from the config.
1102
+ */
737
1103
  zone?: ScwZone;
738
- /** ID of the gateway on which to set the PAT rules. */
1104
+ /**
1105
+ * ID of the gateway on which to set the PAT rules.
1106
+ */
739
1107
  gatewayId: string;
740
- /** New list of PAT rules. */
1108
+ /**
1109
+ * New list of PAT rules.
1110
+ */
741
1111
  patRules: SetPATRulesRequestRule[];
742
1112
  };
743
1113
  export interface SetPATRulesResponse {
744
- /** List of PAT rules. */
1114
+ /**
1115
+ * List of PAT rules.
1116
+ */
745
1117
  patRules: PATRule[];
746
1118
  }
747
1119
  export type UpdateDHCPEntryRequest = {
748
- /** Zone to target. If none is passed will use default zone from the config. */
1120
+ /**
1121
+ * Zone to target. If none is passed will use default zone from the config.
1122
+ */
749
1123
  zone?: ScwZone;
750
- /** ID of the DHCP entry to update. */
1124
+ /**
1125
+ * ID of the DHCP entry to update.
1126
+ */
751
1127
  dhcpEntryId: string;
752
- /** New IP address to give to the device. */
1128
+ /**
1129
+ * New IP address to give to the device.
1130
+ */
753
1131
  ipAddress?: string;
754
1132
  };
755
1133
  export type UpdateDHCPRequest = {
756
- /** Zone to target. If none is passed will use default zone from the config. */
1134
+ /**
1135
+ * Zone to target. If none is passed will use default zone from the config.
1136
+ */
757
1137
  zone?: ScwZone;
758
- /** DHCP configuration to update. */
1138
+ /**
1139
+ * DHCP configuration to update.
1140
+ */
759
1141
  dhcpId: string;
760
- /** Subnet for the DHCP server. */
1142
+ /**
1143
+ * Subnet for the DHCP server.
1144
+ */
761
1145
  subnet?: string;
762
1146
  /**
763
- * IP address of the DHCP server. This will be the Public Gateway's address in
764
- * the Private Network. It must be part of config's subnet.
1147
+ * IP address of the DHCP server. This will be the Public Gateway's address in the Private Network. It must be part of config's subnet.
765
1148
  */
766
1149
  address?: string;
767
1150
  /**
768
- * Low IP (inclusive) of the dynamic address pool. Must be in the config's
769
- * subnet.
1151
+ * Low IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
770
1152
  */
771
1153
  poolLow?: string;
772
1154
  /**
773
- * High IP (inclusive) of the dynamic address pool. Must be in the config's
774
- * subnet.
1155
+ * High IP (inclusive) of the dynamic address pool. Must be in the config's subnet.
775
1156
  */
776
1157
  poolHigh?: string;
777
1158
  /**
778
- * Defines whether to enable dynamic pooling of IPs. When false, only
779
- * pre-existing DHCP reservations will be handed out. Defaults to true.
1159
+ * Defines whether to enable dynamic pooling of IPs. When false, only pre-existing DHCP reservations will be handed out. Defaults to true.
780
1160
  */
781
1161
  enableDynamic?: boolean;
782
- /** How long DHCP entries will be valid for. */
1162
+ /**
1163
+ * How long DHCP entries will be valid for.
1164
+ */
783
1165
  validLifetime?: string;
784
1166
  /**
785
- * After how long a renew will be attempted. Must be 30s lower than
786
- * `rebind_timer`.
1167
+ * After how long a renew will be attempted. Must be 30s lower than `rebind_timer`.
787
1168
  */
788
1169
  renewTimer?: string;
789
1170
  /**
790
- * After how long a DHCP client will query for a new lease if previous renews
791
- * fail. Must be 30s lower than `valid_lifetime`.
1171
+ * After how long a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than `valid_lifetime`.
792
1172
  */
793
1173
  rebindTimer?: string;
794
1174
  /**
795
- * Defines whether the gateway should push a default route to DHCP clients, or
796
- * only hand out IPs.
1175
+ * Defines whether the gateway should push a default route to DHCP clients, or only hand out IPs.
797
1176
  */
798
1177
  pushDefaultRoute?: boolean;
799
1178
  /**
800
- * Defines whether the gateway should push custom DNS servers to clients. This
801
- * allows for instance hostname -> IP resolution.
1179
+ * Defines whether the gateway should push custom DNS servers to clients. This allows for instance hostname -> IP resolution.
802
1180
  */
803
1181
  pushDnsServer?: boolean;
804
1182
  /**
805
- * Array of DNS server IP addresses used to override the DNS server list
806
- * pushed to DHCP clients, instead of the gateway itself.
1183
+ * Array of DNS server IP addresses used to override the DNS server list pushed to DHCP clients, instead of the gateway itself.
807
1184
  */
808
1185
  dnsServersOverride?: string[];
809
- /** Array of search paths in addition to the pushed DNS configuration. */
1186
+ /**
1187
+ * Array of search paths in addition to the pushed DNS configuration.
1188
+ */
810
1189
  dnsSearch?: string[];
811
1190
  /**
812
- * TLD given to hostnames in the Private Networks. If an instance with
813
- * hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will
814
- * resolve. Allowed characters are `a-z0-9-.`.
1191
+ * TLD given to hostnames in the Private Networks. If an instance with hostname `foo` gets a lease, and this is set to `bar`, `foo.bar` will resolve. Allowed characters are `a-z0-9-.`.
815
1192
  */
816
1193
  dnsLocalName?: string;
817
1194
  };
818
1195
  export type UpdateGatewayNetworkRequest = {
819
- /** Zone to target. If none is passed will use default zone from the config. */
1196
+ /**
1197
+ * Zone to target. If none is passed will use default zone from the config.
1198
+ */
820
1199
  zone?: ScwZone;
821
- /** ID of the GatewayNetwork to update. */
1200
+ /**
1201
+ * ID of the GatewayNetwork to update.
1202
+ */
822
1203
  gatewayNetworkId: string;
823
- /** Note: this setting is ignored when passing `ipam_config`. */
1204
+ /**
1205
+ * Note: this setting is ignored when passing `ipam_config`.
1206
+ */
824
1207
  enableMasquerade?: boolean;
825
1208
  /**
826
- * Defaults to `true` if `dhcp_id` is present. If set to `true`, `dhcp_id`
827
- * must be present. Note: this setting is ignored when passing `ipam_config`.
1209
+ * Defaults to `true` if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present.
1210
+ Note: this setting is ignored when passing `ipam_config`.
828
1211
  */
829
1212
  enableDhcp?: boolean;
830
1213
  /**
831
1214
  * ID of the new DHCP configuration object to use with this GatewayNetwork.
832
1215
  *
833
- * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
834
- * be set.
1216
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could be set.
835
1217
  */
836
1218
  dhcpId?: string;
837
1219
  /**
838
1220
  * New static IP address.
839
1221
  *
840
- * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
841
- * be set.
1222
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could be set.
842
1223
  */
843
1224
  address?: string;
844
1225
  /**
845
- * Note: all or none of the GatewayNetworks for a single gateway can use the
846
- * IPAM. DHCP and IPAM configurations cannot be mixed. Some products may
847
- * require that the Public Gateway uses the IPAM, to ensure correct
848
- * functionality.
1226
+ * Note: all or none of the GatewayNetworks for a single gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed. Some products may require that the Public Gateway uses the IPAM, to ensure correct functionality.
849
1227
  *
850
- * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
851
- * be set.
1228
+ * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could be set.
852
1229
  */
853
1230
  ipamConfig?: UpdateGatewayNetworkRequestIpamConfig;
854
1231
  };
855
1232
  export type UpdateGatewayRequest = {
856
- /** Zone to target. If none is passed will use default zone from the config. */
1233
+ /**
1234
+ * Zone to target. If none is passed will use default zone from the config.
1235
+ */
857
1236
  zone?: ScwZone;
858
- /** ID of the gateway to update. */
1237
+ /**
1238
+ * ID of the gateway to update.
1239
+ */
859
1240
  gatewayId: string;
860
- /** Name for the gateway. */
1241
+ /**
1242
+ * Name for the gateway.
1243
+ */
861
1244
  name?: string;
862
- /** Tags for the gateway. */
1245
+ /**
1246
+ * Tags for the gateway.
1247
+ */
863
1248
  tags?: string[];
864
1249
  /**
865
- * Array of DNS server IP addresses to override the gateway's default
866
- * recursive DNS servers.
1250
+ * Array of DNS server IP addresses to override the gateway's default recursive DNS servers.
867
1251
  */
868
1252
  upstreamDnsServers?: string[];
869
- /** Defines whether SSH bastion should be enabled the gateway. */
1253
+ /**
1254
+ * Defines whether SSH bastion should be enabled the gateway.
1255
+ */
870
1256
  enableBastion?: boolean;
871
- /** Port of the SSH bastion. */
1257
+ /**
1258
+ * Port of the SSH bastion.
1259
+ */
872
1260
  bastionPort?: number;
873
- /** Defines whether SMTP traffic should be allowed to pass through the gateway. */
1261
+ /**
1262
+ * Defines whether SMTP traffic should be allowed to pass through the gateway.
1263
+ */
874
1264
  enableSmtp?: boolean;
875
1265
  };
876
1266
  export type UpdateIPRequest = {
877
- /** Zone to target. If none is passed will use default zone from the config. */
1267
+ /**
1268
+ * Zone to target. If none is passed will use default zone from the config.
1269
+ */
878
1270
  zone?: ScwZone;
879
- /** ID of the IP address to update. */
1271
+ /**
1272
+ * ID of the IP address to update.
1273
+ */
880
1274
  ipId: string;
881
- /** Tags to give to the IP address. */
1275
+ /**
1276
+ * Tags to give to the IP address.
1277
+ */
882
1278
  tags?: string[];
883
- /** Reverse to set on the address. Empty string to unset. */
1279
+ /**
1280
+ * Reverse to set on the address. Empty string to unset.
1281
+ */
884
1282
  reverse?: string;
885
- /** Gateway to attach the IP address to. Empty string to detach. */
1283
+ /**
1284
+ * Gateway to attach the IP address to. Empty string to detach.
1285
+ */
886
1286
  gatewayId?: string;
887
1287
  };
888
1288
  export type UpdatePATRuleRequest = {
889
- /** Zone to target. If none is passed will use default zone from the config. */
1289
+ /**
1290
+ * Zone to target. If none is passed will use default zone from the config.
1291
+ */
890
1292
  zone?: ScwZone;
891
- /** ID of the PAT rule to update. */
1293
+ /**
1294
+ * ID of the PAT rule to update.
1295
+ */
892
1296
  patRuleId: string;
893
- /** Public port to listen on. */
1297
+ /**
1298
+ * Public port to listen on.
1299
+ */
894
1300
  publicPort?: number;
895
- /** Private IP to forward data to. */
1301
+ /**
1302
+ * Private IP to forward data to.
1303
+ */
896
1304
  privateIp?: string;
897
- /** Private port to translate to. */
1305
+ /**
1306
+ * Private port to translate to.
1307
+ */
898
1308
  privatePort?: number;
899
- /** Protocol the rule should apply to. */
1309
+ /**
1310
+ * Protocol the rule should apply to.
1311
+ */
900
1312
  protocol?: PATRuleProtocol;
901
1313
  };
902
1314
  export type UpgradeGatewayRequest = {
903
- /** Zone to target. If none is passed will use default zone from the config. */
1315
+ /**
1316
+ * Zone to target. If none is passed will use default zone from the config.
1317
+ */
904
1318
  zone?: ScwZone;
905
- /** ID of the gateway to upgrade. */
1319
+ /**
1320
+ * ID of the gateway to upgrade.
1321
+ */
906
1322
  gatewayId: string;
907
- /** Gateway type (commercial offer). */
1323
+ /**
1324
+ * Gateway type (commercial offer).
1325
+ */
908
1326
  type?: string;
909
1327
  };