@scaleway/sdk 2.71.0 → 2.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (663) hide show
  1. package/README.md +6 -5
  2. package/dist/api/account/index.gen.d.ts +2 -2
  3. package/dist/api/account/v2/api.gen.cjs +5 -4
  4. package/dist/api/account/v2/api.gen.d.ts +1 -1
  5. package/dist/api/account/v2/api.gen.js +5 -4
  6. package/dist/api/account/v2/marshalling.gen.cjs +4 -3
  7. package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
  8. package/dist/api/account/v2/marshalling.gen.js +4 -3
  9. package/dist/api/account/v3/api.gen.cjs +5 -4
  10. package/dist/api/account/v3/api.gen.d.ts +1 -1
  11. package/dist/api/account/v3/api.gen.js +5 -4
  12. package/dist/api/account/v3/index.gen.d.ts +1 -1
  13. package/dist/api/account/v3/marshalling.gen.cjs +4 -3
  14. package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
  15. package/dist/api/account/v3/marshalling.gen.js +4 -3
  16. package/dist/api/applesilicon/index.gen.d.ts +2 -2
  17. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
  18. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
  19. package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
  20. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
  21. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
  22. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
  23. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
  24. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +1 -1
  25. package/dist/api/audit_trail/index.gen.d.ts +2 -2
  26. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
  27. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
  28. package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
  29. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
  30. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
  31. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +1 -1
  32. package/dist/api/baremetal/index.gen.d.ts +2 -2
  33. package/dist/api/baremetal/v1/api.gen.cjs +6 -5
  34. package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
  35. package/dist/api/baremetal/v1/api.gen.js +6 -5
  36. package/dist/api/baremetal/v1/api.utils.cjs +3 -1
  37. package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
  38. package/dist/api/baremetal/v1/api.utils.js +3 -1
  39. package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
  40. package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
  41. package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
  42. package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
  43. package/dist/api/baremetal/v1/types.gen.d.ts +65 -65
  44. package/dist/api/baremetal/v3/api.gen.cjs +5 -4
  45. package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
  46. package/dist/api/baremetal/v3/api.gen.js +5 -4
  47. package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
  48. package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
  49. package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
  50. package/dist/api/baremetal/v3/types.gen.d.ts +1 -1
  51. package/dist/api/billing/index.gen.d.ts +2 -2
  52. package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
  53. package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
  54. package/dist/api/billing/v2alpha1/api.gen.js +5 -4
  55. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
  56. package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
  57. package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
  58. package/dist/api/billing/v2beta1/api.gen.cjs +5 -4
  59. package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
  60. package/dist/api/billing/v2beta1/api.gen.js +5 -4
  61. package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
  62. package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
  63. package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
  64. package/dist/api/block/index.gen.d.ts +2 -2
  65. package/dist/api/block/v1/api.gen.cjs +6 -5
  66. package/dist/api/block/v1/api.gen.d.ts +2 -2
  67. package/dist/api/block/v1/api.gen.js +6 -5
  68. package/dist/api/block/v1/marshalling.gen.cjs +4 -3
  69. package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
  70. package/dist/api/block/v1/marshalling.gen.js +4 -3
  71. package/dist/api/block/v1/types.gen.d.ts +1 -1
  72. package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
  73. package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
  74. package/dist/api/block/v1alpha1/api.gen.js +6 -5
  75. package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
  76. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
  77. package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
  78. package/dist/api/block/v1alpha1/types.gen.d.ts +1 -1
  79. package/dist/api/cockpit/index.gen.d.ts +2 -2
  80. package/dist/api/cockpit/v1/api.gen.cjs +5 -4
  81. package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
  82. package/dist/api/cockpit/v1/api.gen.js +5 -4
  83. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  84. package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
  85. package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
  86. package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
  87. package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
  88. package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
  89. package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
  90. package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
  91. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
  92. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
  93. package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
  94. package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
  95. package/dist/api/container/index.gen.d.ts +2 -2
  96. package/dist/api/container/v1beta1/api.gen.cjs +6 -5
  97. package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
  98. package/dist/api/container/v1beta1/api.gen.js +6 -5
  99. package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
  100. package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
  101. package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
  102. package/dist/api/container/v1beta1/types.gen.d.ts +1 -1
  103. package/dist/api/dedibox/index.gen.d.ts +2 -2
  104. package/dist/api/dedibox/v1/api.gen.cjs +6 -5
  105. package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
  106. package/dist/api/dedibox/v1/api.gen.js +6 -5
  107. package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
  108. package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
  109. package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
  110. package/dist/api/dedibox/v1/types.gen.d.ts +1 -1
  111. package/dist/api/document_db/index.gen.d.ts +2 -2
  112. package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
  113. package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
  114. package/dist/api/document_db/v1beta1/api.gen.js +6 -5
  115. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
  116. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
  117. package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
  118. package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
  119. package/dist/api/domain/index.gen.d.ts +2 -2
  120. package/dist/api/domain/v2beta1/api.gen.cjs +6 -5
  121. package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
  122. package/dist/api/domain/v2beta1/api.gen.js +6 -5
  123. package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
  124. package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
  125. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
  126. package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
  127. package/dist/api/domain/v2beta1/types.gen.d.ts +1 -1
  128. package/dist/api/edge_services/index.gen.d.ts +2 -2
  129. package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
  130. package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
  131. package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
  132. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
  133. package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
  134. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
  135. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
  136. package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
  137. package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
  138. package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
  139. package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
  140. package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
  141. package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
  142. package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
  143. package/dist/api/flexibleip/index.gen.d.ts +2 -2
  144. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +6 -5
  145. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
  146. package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
  147. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
  148. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
  149. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
  150. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +1 -1
  151. package/dist/api/function/index.gen.d.ts +2 -2
  152. package/dist/api/function/v1beta1/api.gen.cjs +20 -33
  153. package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
  154. package/dist/api/function/v1beta1/api.gen.js +20 -33
  155. package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
  156. package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
  157. package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
  158. package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
  159. package/dist/api/iam/index.gen.d.ts +2 -2
  160. package/dist/api/iam/v1alpha1/api.gen.cjs +56 -176
  161. package/dist/api/iam/v1alpha1/api.gen.d.ts +54 -176
  162. package/dist/api/iam/v1alpha1/api.gen.js +56 -176
  163. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
  164. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
  165. package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
  166. package/dist/api/iam/v1alpha1/types.gen.d.ts +980 -373
  167. package/dist/api/index.gen.d.ts +2 -2
  168. package/dist/api/inference/index.gen.d.ts +2 -2
  169. package/dist/api/inference/v1/api.gen.cjs +6 -5
  170. package/dist/api/inference/v1/api.gen.d.ts +2 -2
  171. package/dist/api/inference/v1/api.gen.js +6 -5
  172. package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
  173. package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
  174. package/dist/api/inference/v1/marshalling.gen.js +4 -3
  175. package/dist/api/inference/v1/types.gen.d.ts +1 -1
  176. package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
  177. package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
  178. package/dist/api/inference/v1beta1/api.gen.js +6 -5
  179. package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
  180. package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
  181. package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
  182. package/dist/api/inference/v1beta1/types.gen.d.ts +1 -1
  183. package/dist/api/instance/index.gen.d.ts +2 -2
  184. package/dist/api/instance/v1/api.gen.cjs +5 -4
  185. package/dist/api/instance/v1/api.gen.d.ts +2 -2
  186. package/dist/api/instance/v1/api.gen.js +5 -4
  187. package/dist/api/instance/v1/api.utils.cjs +4 -3
  188. package/dist/api/instance/v1/api.utils.d.ts +1 -1
  189. package/dist/api/instance/v1/api.utils.js +4 -3
  190. package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
  191. package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
  192. package/dist/api/instance/v1/marshalling.gen.js +4 -3
  193. package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
  194. package/dist/api/instance/v1/types.gen.d.ts +1 -1
  195. package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
  196. package/dist/api/instance/v1/types.utils.d.ts +1 -1
  197. package/dist/api/interlink/index.gen.d.ts +2 -2
  198. package/dist/api/interlink/v1beta1/api.gen.cjs +101 -11
  199. package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
  200. package/dist/api/interlink/v1beta1/api.gen.js +102 -12
  201. package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
  202. package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
  203. package/dist/api/interlink/v1beta1/content.gen.js +6 -0
  204. package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
  205. package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
  206. package/dist/api/interlink/v1beta1/index.gen.js +3 -0
  207. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +82 -8
  208. package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
  209. package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
  210. package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
  211. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
  212. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
  213. package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
  214. package/dist/api/iot/index.gen.d.ts +2 -2
  215. package/dist/api/iot/v1/api.gen.cjs +6 -5
  216. package/dist/api/iot/v1/api.gen.d.ts +2 -2
  217. package/dist/api/iot/v1/api.gen.js +6 -5
  218. package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
  219. package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
  220. package/dist/api/iot/v1/marshalling.gen.js +4 -3
  221. package/dist/api/iot/v1/types.gen.d.ts +1 -1
  222. package/dist/api/ipam/index.gen.d.ts +2 -2
  223. package/dist/api/ipam/v1/api.gen.cjs +5 -4
  224. package/dist/api/ipam/v1/api.gen.d.ts +2 -2
  225. package/dist/api/ipam/v1/api.gen.js +5 -4
  226. package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
  227. package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
  228. package/dist/api/ipam/v1/marshalling.gen.js +4 -3
  229. package/dist/api/ipam/v1/types.gen.d.ts +1 -1
  230. package/dist/api/ipfs/index.gen.d.ts +2 -2
  231. package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
  232. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
  233. package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
  234. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
  235. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
  236. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
  237. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
  238. package/dist/api/jobs/index.gen.d.ts +2 -2
  239. package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -4
  240. package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
  241. package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
  242. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
  243. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
  244. package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
  245. package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -1
  246. package/dist/api/k8s/index.gen.d.ts +2 -2
  247. package/dist/api/k8s/v1/api.gen.cjs +6 -5
  248. package/dist/api/k8s/v1/api.gen.d.ts +2 -2
  249. package/dist/api/k8s/v1/api.gen.js +6 -5
  250. package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
  251. package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
  252. package/dist/api/k8s/v1/marshalling.gen.js +4 -3
  253. package/dist/api/k8s/v1/types.gen.d.ts +1 -1
  254. package/dist/api/key_manager/index.gen.d.ts +2 -2
  255. package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
  256. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
  257. package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
  258. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
  259. package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
  260. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
  261. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +1 -1
  262. package/dist/api/lb/index.gen.d.ts +2 -2
  263. package/dist/api/lb/v1/api.gen.cjs +68 -178
  264. package/dist/api/lb/v1/api.gen.d.ts +60 -176
  265. package/dist/api/lb/v1/api.gen.js +69 -179
  266. package/dist/api/lb/v1/api.utils.cjs +3 -1
  267. package/dist/api/lb/v1/api.utils.d.ts +1 -1
  268. package/dist/api/lb/v1/api.utils.js +3 -1
  269. package/dist/api/lb/v1/index.gen.d.ts +1 -1
  270. package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
  271. package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
  272. package/dist/api/lb/v1/marshalling.gen.js +9 -3
  273. package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
  274. package/dist/api/lb/v1/types.utils.d.ts +1 -1
  275. package/dist/api/llm_inference/index.gen.d.ts +2 -2
  276. package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
  277. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
  278. package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
  279. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
  280. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
  281. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
  282. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
  283. package/dist/api/marketplace/index.gen.d.ts +2 -2
  284. package/dist/api/marketplace/v2/api.gen.cjs +5 -4
  285. package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
  286. package/dist/api/marketplace/v2/api.gen.js +5 -4
  287. package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
  288. package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
  289. package/dist/api/marketplace/v2/types.gen.d.ts +1 -1
  290. package/dist/api/mnq/index.gen.d.ts +2 -2
  291. package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
  292. package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
  293. package/dist/api/mnq/v1beta1/api.gen.js +5 -4
  294. package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
  295. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
  296. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
  297. package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
  298. package/dist/api/mnq/v1beta1/types.gen.d.ts +1 -1
  299. package/dist/api/mongodb/index.gen.d.ts +2 -2
  300. package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
  301. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
  302. package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
  303. package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
  304. package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
  305. package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
  306. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
  307. package/dist/api/qaas/index.gen.d.ts +2 -2
  308. package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
  309. package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
  310. package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
  311. package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
  312. package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
  313. package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
  314. package/dist/api/qaas/v1alpha1/types.gen.d.ts +1 -1
  315. package/dist/api/rdb/index.gen.d.ts +2 -2
  316. package/dist/api/rdb/v1/api.gen.cjs +6 -5
  317. package/dist/api/rdb/v1/api.gen.d.ts +2 -2
  318. package/dist/api/rdb/v1/api.gen.js +6 -5
  319. package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
  320. package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
  321. package/dist/api/rdb/v1/marshalling.gen.js +4 -3
  322. package/dist/api/rdb/v1/types.gen.d.ts +1 -1
  323. package/dist/api/redis/index.gen.d.ts +2 -2
  324. package/dist/api/redis/v1/api.gen.cjs +6 -5
  325. package/dist/api/redis/v1/api.gen.d.ts +2 -2
  326. package/dist/api/redis/v1/api.gen.js +6 -5
  327. package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
  328. package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
  329. package/dist/api/redis/v1/marshalling.gen.js +4 -3
  330. package/dist/api/redis/v1/types.gen.d.ts +1 -1
  331. package/dist/api/registry/index.gen.d.ts +2 -2
  332. package/dist/api/registry/v1/api.gen.cjs +6 -5
  333. package/dist/api/registry/v1/api.gen.d.ts +2 -2
  334. package/dist/api/registry/v1/api.gen.js +6 -5
  335. package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
  336. package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
  337. package/dist/api/registry/v1/marshalling.gen.js +4 -3
  338. package/dist/api/registry/v1/types.gen.d.ts +1 -1
  339. package/dist/api/secret/index.gen.d.ts +2 -2
  340. package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
  341. package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
  342. package/dist/api/secret/v1alpha1/api.gen.js +5 -4
  343. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
  344. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
  345. package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
  346. package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
  347. package/dist/api/secret/v1beta1/api.gen.cjs +5 -4
  348. package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
  349. package/dist/api/secret/v1beta1/api.gen.js +5 -4
  350. package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
  351. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
  352. package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
  353. package/dist/api/secret/v1beta1/types.gen.d.ts +1 -1
  354. package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
  355. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
  356. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
  357. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
  358. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
  359. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
  360. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
  361. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +1 -1
  362. package/dist/api/tem/index.gen.d.ts +2 -2
  363. package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
  364. package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
  365. package/dist/api/tem/v1alpha1/api.gen.js +6 -5
  366. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
  367. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
  368. package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
  369. package/dist/api/tem/v1alpha1/types.gen.d.ts +1 -1
  370. package/dist/api/test/index.gen.d.ts +2 -2
  371. package/dist/api/test/v1/api.gen.cjs +6 -5
  372. package/dist/api/test/v1/api.gen.d.ts +2 -2
  373. package/dist/api/test/v1/api.gen.js +6 -5
  374. package/dist/api/test/v1/marshalling.gen.cjs +4 -3
  375. package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
  376. package/dist/api/test/v1/marshalling.gen.js +4 -3
  377. package/dist/api/vpc/index.gen.d.ts +2 -2
  378. package/dist/api/vpc/v1/api.gen.cjs +5 -4
  379. package/dist/api/vpc/v1/api.gen.d.ts +2 -2
  380. package/dist/api/vpc/v1/api.gen.js +5 -4
  381. package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
  382. package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
  383. package/dist/api/vpc/v1/marshalling.gen.js +4 -3
  384. package/dist/api/vpc/v1/types.gen.d.ts +1 -1
  385. package/dist/api/vpc/v2/api.gen.cjs +18 -53
  386. package/dist/api/vpc/v2/api.gen.d.ts +18 -45
  387. package/dist/api/vpc/v2/api.gen.js +19 -54
  388. package/dist/api/vpc/v2/index.gen.d.ts +1 -1
  389. package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
  390. package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
  391. package/dist/api/vpc/v2/marshalling.gen.js +4 -18
  392. package/dist/api/vpc/v2/types.gen.d.ts +333 -200
  393. package/dist/api/vpcgw/index.gen.d.ts +2 -2
  394. package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
  395. package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
  396. package/dist/api/vpcgw/v1/api.gen.js +42 -140
  397. package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
  398. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
  399. package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
  400. package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
  401. package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
  402. package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
  403. package/dist/api/vpcgw/v2/api.gen.js +33 -93
  404. package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
  405. package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
  406. package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
  407. package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
  408. package/dist/api/webhosting/index.gen.d.ts +2 -2
  409. package/dist/api/webhosting/v1/api.gen.cjs +28 -55
  410. package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
  411. package/dist/api/webhosting/v1/api.gen.js +28 -55
  412. package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
  413. package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
  414. package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
  415. package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
  416. package/dist/client/dist/helpers/is-browser.cjs +4 -0
  417. package/dist/client/dist/helpers/is-browser.js +4 -0
  418. package/dist/client/dist/package.json.cjs +67 -0
  419. package/dist/client/dist/package.json.js +67 -0
  420. package/dist/client/dist/scw/constants.cjs +7 -0
  421. package/dist/{scw → client/dist/scw}/constants.js +2 -1
  422. package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
  423. package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
  424. package/dist/index.cjs +16 -16
  425. package/dist/index.d.ts +1 -15
  426. package/dist/index.js +13 -13
  427. package/node_modules/@scaleway/sdk-client/LICENSE +191 -0
  428. package/node_modules/@scaleway/sdk-client/README.md +36 -0
  429. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
  430. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
  431. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
  432. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
  433. package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
  434. package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
  435. package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
  436. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
  437. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
  438. package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
  439. package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
  440. package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
  441. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
  442. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
  443. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
  444. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
  445. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
  446. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
  447. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
  448. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
  449. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
  450. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
  451. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
  452. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
  453. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
  454. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
  455. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
  456. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
  457. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
  458. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
  459. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
  460. package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
  461. package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
  462. package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
  463. package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
  464. package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
  465. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
  466. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
  467. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
  468. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
  469. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
  470. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
  471. package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
  472. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
  473. package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
  474. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +2 -1
  475. package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +2 -0
  476. package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
  477. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
  478. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
  479. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
  480. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
  481. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
  482. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
  483. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  484. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
  485. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  486. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
  487. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
  488. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
  489. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  490. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
  491. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  492. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
  493. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
  494. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
  495. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
  496. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
  497. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
  498. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
  499. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
  500. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
  501. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
  502. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
  503. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  504. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
  505. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
  506. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
  507. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  508. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
  509. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  510. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
  511. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  512. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
  513. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
  514. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
  515. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
  516. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  517. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
  518. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
  519. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
  520. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
  521. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
  522. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
  523. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
  524. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
  525. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
  526. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
  527. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
  528. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
  529. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
  530. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
  531. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
  532. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
  533. package/node_modules/@scaleway/sdk-client/package.json +37 -0
  534. package/package.json +6 -5
  535. package/dist/helpers/is-browser.cjs +0 -7
  536. package/dist/helpers/is-browser.js +0 -7
  537. package/dist/scw/constants.d.ts +0 -2
  538. /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
  539. /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
  540. /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
  541. /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
  542. /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
  543. /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
  544. /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
  545. /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
  546. /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
  547. /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
  548. /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
  549. /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
  550. /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
  551. /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
  552. /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
  553. /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
  554. /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
  555. /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
  556. /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
  557. /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
  558. /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
  559. /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
  560. /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
  561. /package/dist/{scw → client/dist/scw}/api.js +0 -0
  562. /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
  563. /package/dist/{scw → client/dist/scw}/auth.js +0 -0
  564. /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
  565. /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
  566. /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
  567. /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
  568. /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
  569. /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
  570. /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
  571. /package/dist/{scw → client/dist/scw}/client.js +0 -0
  572. /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
  573. /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
  574. /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
  575. /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
  576. /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
  577. /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
  578. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
  579. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
  580. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
  581. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
  582. /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
  583. /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
  584. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
  585. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
  586. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
  587. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
  588. /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
  589. /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
  590. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
  591. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
  592. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
  593. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
  594. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
  595. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
  596. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
  597. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
  598. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
  599. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
  600. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
  601. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
  602. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
  603. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
  604. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
  605. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
  606. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
  607. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
  608. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
  609. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
  610. /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
  611. /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
  612. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
  613. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
  614. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
  615. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
  616. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
  617. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
  618. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
  619. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
  620. /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
  621. /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
  622. /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
  623. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
  624. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
  625. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
  626. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
  627. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
  628. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
  629. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
  630. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
  631. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
  632. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
  633. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
  634. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
  635. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
  636. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
  637. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
  638. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
  639. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
  640. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
  641. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
  642. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
  643. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
  644. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
  645. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
  646. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
  647. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
  648. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
  649. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
  650. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
  651. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
  652. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
  653. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
  654. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
  655. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
  656. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
  657. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
  658. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
  659. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
  660. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
  661. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
  662. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
  663. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { Region as ScwRegion } from '../../../bridge';
1
+ import type { Region as ScwRegion } from '@scaleway/sdk-client';
2
2
  export type CronStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending';
3
3
  export type DomainStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
4
4
  export type FunctionHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
@@ -22,30 +22,42 @@ export interface SecretHashedValue {
22
22
  hashedValue: string;
23
23
  }
24
24
  export interface TriggerMnqNatsClientConfig {
25
- /** Name of the NATS subject the trigger listens to. */
25
+ /**
26
+ * Name of the NATS subject the trigger listens to.
27
+ */
26
28
  subject: string;
27
- /** ID of the Messaging and Queuing NATS account. */
29
+ /**
30
+ * ID of the Messaging and Queuing NATS account.
31
+ */
28
32
  mnqNatsAccountId: string;
29
- /** ID of the Messaging and Queuing project. */
33
+ /**
34
+ * ID of the Messaging and Queuing project.
35
+ */
30
36
  mnqProjectId: string;
31
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
37
+ /**
38
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
39
+ */
32
40
  mnqRegion: string;
33
41
  /**
34
- * ID of the Messaging and Queuing credentials used to subscribe to the NATS
35
- * subject.
42
+ * ID of the Messaging and Queuing credentials used to subscribe to the NATS subject.
36
43
  */
37
44
  mnqCredentialId?: string;
38
45
  }
39
46
  export interface TriggerMnqSqsClientConfig {
40
- /** Name of the SQS queue the trigger listens to. */
47
+ /**
48
+ * Name of the SQS queue the trigger listens to.
49
+ */
41
50
  queue: string;
42
- /** ID of the Messaging and Queuing project. */
51
+ /**
52
+ * ID of the Messaging and Queuing project.
53
+ */
43
54
  mnqProjectId: string;
44
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
55
+ /**
56
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
57
+ */
45
58
  mnqRegion: string;
46
59
  /**
47
- * ID of the Messaging and Queuing credentials used to read from the SQS
48
- * queue.
60
+ * ID of the Messaging and Queuing credentials used to read from the SQS queue.
49
61
  */
50
62
  mnqCredentialId?: string;
51
63
  }
@@ -60,21 +72,35 @@ export interface Secret {
60
72
  value?: string;
61
73
  }
62
74
  export interface CreateTriggerRequestMnqNatsClientConfig {
63
- /** Name of the NATS subject the trigger should listen to. */
75
+ /**
76
+ * Name of the NATS subject the trigger should listen to.
77
+ */
64
78
  subject: string;
65
- /** ID of the Messaging and Queuing NATS account. */
79
+ /**
80
+ * ID of the Messaging and Queuing NATS account.
81
+ */
66
82
  mnqNatsAccountId: string;
67
- /** ID of the Messaging and Queuing project. */
83
+ /**
84
+ * ID of the Messaging and Queuing project.
85
+ */
68
86
  mnqProjectId: string;
69
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
87
+ /**
88
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
89
+ */
70
90
  mnqRegion: string;
71
91
  }
72
92
  export interface CreateTriggerRequestMnqSqsClientConfig {
73
- /** Name of the SQS queue the trigger should listen to. */
93
+ /**
94
+ * Name of the SQS queue the trigger should listen to.
95
+ */
74
96
  queue: string;
75
- /** You must have activated SQS on this project. */
97
+ /**
98
+ * You must have activated SQS on this project.
99
+ */
76
100
  mnqProjectId: string;
77
- /** Currently, only the `fr-par` and `nl-ams` regions are available. */
101
+ /**
102
+ * Currently, only the `fr-par` and `nl-ams` regions are available.
103
+ */
78
104
  mnqRegion: string;
79
105
  }
80
106
  export interface CreateTriggerRequestSqsClientConfig {
@@ -84,31 +110,55 @@ export interface CreateTriggerRequestSqsClientConfig {
84
110
  secretKey: string;
85
111
  }
86
112
  export interface Cron {
87
- /** UUID of the cron. */
113
+ /**
114
+ * UUID of the cron.
115
+ */
88
116
  id: string;
89
- /** UUID of the function the cron applies to. */
117
+ /**
118
+ * UUID of the function the cron applies to.
119
+ */
90
120
  functionId: string;
91
- /** Schedule of the cron. */
121
+ /**
122
+ * Schedule of the cron.
123
+ */
92
124
  schedule: string;
93
- /** Arguments to pass with the cron. */
125
+ /**
126
+ * Arguments to pass with the cron.
127
+ */
94
128
  args?: Record<string, unknown>;
95
- /** Status of the cron. */
129
+ /**
130
+ * Status of the cron.
131
+ */
96
132
  status: CronStatus;
97
- /** Name of the cron. */
133
+ /**
134
+ * Name of the cron.
135
+ */
98
136
  name: string;
99
137
  }
100
138
  export interface Domain {
101
- /** UUID of the domain. */
139
+ /**
140
+ * UUID of the domain.
141
+ */
102
142
  id: string;
103
- /** Hostname associated with the function. */
143
+ /**
144
+ * Hostname associated with the function.
145
+ */
104
146
  hostname: string;
105
- /** UUID of the function the domain is associated with. */
147
+ /**
148
+ * UUID of the function the domain is associated with.
149
+ */
106
150
  functionId: string;
107
- /** URL of the function. */
151
+ /**
152
+ * URL of the function.
153
+ */
108
154
  url: string;
109
- /** State of the doamin. */
155
+ /**
156
+ * State of the doamin.
157
+ */
110
158
  status: DomainStatus;
111
- /** Error message if the domain is in "error" state. */
159
+ /**
160
+ * Error message if the domain is in "error" state.
161
+ */
112
162
  errorMessage?: string;
113
163
  }
114
164
  export interface Runtime {
@@ -124,98 +174,176 @@ export interface Runtime {
124
174
  logoUrl: string;
125
175
  }
126
176
  export interface Function {
127
- /** UUID of the function. */
177
+ /**
178
+ * UUID of the function.
179
+ */
128
180
  id: string;
129
- /** Name of the function. */
181
+ /**
182
+ * Name of the function.
183
+ */
130
184
  name: string;
131
- /** UUID of the namespace the function belongs to. */
185
+ /**
186
+ * UUID of the namespace the function belongs to.
187
+ */
132
188
  namespaceId: string;
133
- /** Status of the function. */
189
+ /**
190
+ * Status of the function.
191
+ */
134
192
  status: FunctionStatus;
135
- /** Environment variables of the function. */
193
+ /**
194
+ * Environment variables of the function.
195
+ */
136
196
  environmentVariables: Record<string, string>;
137
- /** Minimum number of instances to scale the function to. */
197
+ /**
198
+ * Minimum number of instances to scale the function to.
199
+ */
138
200
  minScale: number;
139
- /** Maximum number of instances to scale the function to. */
201
+ /**
202
+ * Maximum number of instances to scale the function to.
203
+ */
140
204
  maxScale: number;
141
- /** Runtime of the function. */
205
+ /**
206
+ * Runtime of the function.
207
+ */
142
208
  runtime: FunctionRuntime;
143
- /** Memory limit of the function in MB. */
209
+ /**
210
+ * Memory limit of the function in MB.
211
+ */
144
212
  memoryLimit: number;
145
- /** CPU limit of the function. */
213
+ /**
214
+ * CPU limit of the function.
215
+ */
146
216
  cpuLimit: number;
147
- /** Request processing time limit for the function. */
217
+ /**
218
+ * Request processing time limit for the function.
219
+ */
148
220
  timeout?: string;
149
- /** Handler to use for the function. */
221
+ /**
222
+ * Handler to use for the function.
223
+ */
150
224
  handler: string;
151
- /** Error message if the function is in "error" state. */
225
+ /**
226
+ * Error message if the function is in "error" state.
227
+ */
152
228
  errorMessage?: string;
153
- /** Description of the current build step. */
229
+ /**
230
+ * Description of the current build step.
231
+ */
154
232
  buildMessage?: string;
155
- /** Privacy setting of the function. */
233
+ /**
234
+ * Privacy setting of the function.
235
+ */
156
236
  privacy: FunctionPrivacy;
157
- /** Description of the function. */
237
+ /**
238
+ * Description of the function.
239
+ */
158
240
  description?: string;
159
- /** Domain name associated with the function. */
241
+ /**
242
+ * Domain name associated with the function.
243
+ */
160
244
  domainName: string;
161
- /** Secret environment variables of the function. */
245
+ /**
246
+ * Secret environment variables of the function.
247
+ */
162
248
  secretEnvironmentVariables: SecretHashedValue[];
163
- /** Region in which the function is deployed. */
249
+ /**
250
+ * Region in which the function is deployed.
251
+ */
164
252
  region: ScwRegion;
165
253
  /**
166
254
  * Possible values:
167
- *
168
- * - Redirected: Responds to HTTP request with a 301 redirect to ask the clients
169
- * to use HTTPS.
170
- * - Enabled: Serve both HTTP and HTTPS traffic.
255
+ - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
256
+ - enabled: Serve both HTTP and HTTPS traffic.
171
257
  */
172
258
  httpOption: FunctionHttpOption;
173
259
  runtimeMessage: string;
174
- /** Execution environment of the function. */
260
+ /**
261
+ * Execution environment of the function.
262
+ */
175
263
  sandbox: FunctionSandbox;
176
- /** Creation date of the function. */
264
+ /**
265
+ * Creation date of the function.
266
+ */
177
267
  createdAt?: Date;
178
- /** Last update date of the function. */
268
+ /**
269
+ * Last update date of the function.
270
+ */
179
271
  updatedAt?: Date;
180
- /** Last date when the function was successfully deployed and set to ready. */
272
+ /**
273
+ * Last date when the function was successfully deployed and set to ready.
274
+ */
181
275
  readyAt?: Date;
182
276
  }
183
277
  export interface Namespace {
184
- /** UUID of the namespace. */
278
+ /**
279
+ * UUID of the namespace.
280
+ */
185
281
  id: string;
186
- /** Name of the namespace. */
282
+ /**
283
+ * Name of the namespace.
284
+ */
187
285
  name: string;
188
- /** Environment variables of the namespace. */
286
+ /**
287
+ * Environment variables of the namespace.
288
+ */
189
289
  environmentVariables: Record<string, string>;
190
- /** UUID of the Organization the namespace belongs to. */
290
+ /**
291
+ * UUID of the Organization the namespace belongs to.
292
+ */
191
293
  organizationId: string;
192
- /** UUID of the Project the namespace belongs to. */
294
+ /**
295
+ * UUID of the Project the namespace belongs to.
296
+ */
193
297
  projectId: string;
194
- /** Status of the namespace. */
298
+ /**
299
+ * Status of the namespace.
300
+ */
195
301
  status: NamespaceStatus;
196
- /** UUID of the registry namespace. */
302
+ /**
303
+ * UUID of the registry namespace.
304
+ */
197
305
  registryNamespaceId: string;
198
- /** Error message if the namespace is in "error" state. */
306
+ /**
307
+ * Error message if the namespace is in "error" state.
308
+ */
199
309
  errorMessage?: string;
200
- /** Registry endpoint of the namespace. */
310
+ /**
311
+ * Registry endpoint of the namespace.
312
+ */
201
313
  registryEndpoint: string;
202
- /** Description of the namespace. */
314
+ /**
315
+ * Description of the namespace.
316
+ */
203
317
  description?: string;
204
- /** Secret environment variables of the namespace. */
318
+ /**
319
+ * Secret environment variables of the namespace.
320
+ */
205
321
  secretEnvironmentVariables: SecretHashedValue[];
206
- /** Region in which the namespace is located. */
322
+ /**
323
+ * Region in which the namespace is located.
324
+ */
207
325
  region: ScwRegion;
208
- /** [ALPHA] List of tags applied to the Serverless Function Namespace. */
326
+ /**
327
+ * [ALPHA] List of tags applied to the Serverless Function Namespace.
328
+ */
209
329
  tags: string[];
210
- /** Creation date of the namespace. */
330
+ /**
331
+ * Creation date of the namespace.
332
+ */
211
333
  createdAt?: Date;
212
- /** Last update date of the namespace. */
334
+ /**
335
+ * Last update date of the namespace.
336
+ */
213
337
  updatedAt?: Date;
214
338
  }
215
339
  export interface Token {
216
- /** UUID of the token. */
340
+ /**
341
+ * UUID of the token.
342
+ */
217
343
  id: string;
218
- /** String of the token. */
344
+ /**
345
+ * String of the token.
346
+ */
219
347
  token: string;
220
348
  /**
221
349
  * UUID of the function the token is associated with.
@@ -229,49 +357,68 @@ export interface Token {
229
357
  * One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set.
230
358
  */
231
359
  namespaceId?: string;
232
- /** @deprecated Public key of the token. */
360
+ /**
361
+ * @deprecated Public key of the token.
362
+ */
233
363
  publicKey?: string;
234
- /** Status of the token. */
364
+ /**
365
+ * Status of the token.
366
+ */
235
367
  status: TokenStatus;
236
- /** Description of the token. */
368
+ /**
369
+ * Description of the token.
370
+ */
237
371
  description?: string;
238
- /** Date on which the token expires. */
372
+ /**
373
+ * Date on which the token expires.
374
+ */
239
375
  expiresAt?: Date;
240
376
  }
241
377
  export interface Trigger {
242
- /** ID of the trigger. */
378
+ /**
379
+ * ID of the trigger.
380
+ */
243
381
  id: string;
244
- /** Name of the trigger. */
382
+ /**
383
+ * Name of the trigger.
384
+ */
245
385
  name: string;
246
- /** Description of the trigger. */
386
+ /**
387
+ * Description of the trigger.
388
+ */
247
389
  description: string;
248
- /** ID of the function to trigger. */
390
+ /**
391
+ * ID of the function to trigger.
392
+ */
249
393
  functionId: string;
250
- /** Type of the input. */
394
+ /**
395
+ * Type of the input.
396
+ */
251
397
  inputType: TriggerInputType;
252
- /** Status of the trigger. */
398
+ /**
399
+ * Status of the trigger.
400
+ */
253
401
  status: TriggerStatus;
254
- /** Error message of the trigger. */
402
+ /**
403
+ * Error message of the trigger.
404
+ */
255
405
  errorMessage?: string;
256
406
  /**
257
407
  * Configuration for a Scaleway Messaging and Queuing SQS queue.
258
408
  *
259
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
260
- * 'sqsConfig' could be set.
409
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
261
410
  */
262
411
  scwSqsConfig?: TriggerMnqSqsClientConfig;
263
412
  /**
264
413
  * Configuration for a Scaleway Messaging and Queuing NATS subject.
265
414
  *
266
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
267
- * 'sqsConfig' could be set.
415
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
268
416
  */
269
417
  scwNatsConfig?: TriggerMnqNatsClientConfig;
270
418
  /**
271
419
  * Configuration for an AWS SQS queue.
272
420
  *
273
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
274
- * 'sqsConfig' could be set.
421
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
275
422
  */
276
423
  sqsConfig?: TriggerSqsClientConfig;
277
424
  }
@@ -281,92 +428,131 @@ export interface UpdateTriggerRequestSqsClientConfig {
281
428
  }
282
429
  export type CreateCronRequest = {
283
430
  /**
284
- * Region to target. If none is passed will use default region from the
285
- * config.
431
+ * Region to target. If none is passed will use default region from the config.
286
432
  */
287
433
  region?: ScwRegion;
288
- /** UUID of the function to use the cron with. */
434
+ /**
435
+ * UUID of the function to use the cron with.
436
+ */
289
437
  functionId: string;
290
- /** Schedule of the cron in UNIX cron format. */
438
+ /**
439
+ * Schedule of the cron in UNIX cron format.
440
+ */
291
441
  schedule: string;
292
- /** Arguments to use with the cron. */
442
+ /**
443
+ * Arguments to use with the cron.
444
+ */
293
445
  args?: Record<string, unknown>;
294
- /** Name of the cron. */
446
+ /**
447
+ * Name of the cron.
448
+ */
295
449
  name?: string;
296
450
  };
297
451
  export type CreateDomainRequest = {
298
452
  /**
299
- * Region to target. If none is passed will use default region from the
300
- * config.
453
+ * Region to target. If none is passed will use default region from the config.
301
454
  */
302
455
  region?: ScwRegion;
303
- /** Hostame to create. */
456
+ /**
457
+ * Hostame to create.
458
+ */
304
459
  hostname: string;
305
- /** UUID of the function to associate the domain with. */
460
+ /**
461
+ * UUID of the function to associate the domain with.
462
+ */
306
463
  functionId: string;
307
464
  };
308
465
  export type CreateFunctionRequest = {
309
466
  /**
310
- * Region to target. If none is passed will use default region from the
311
- * config.
467
+ * Region to target. If none is passed will use default region from the config.
312
468
  */
313
469
  region?: ScwRegion;
314
- /** Name of the function to create. */
470
+ /**
471
+ * Name of the function to create.
472
+ */
315
473
  name?: string;
316
- /** UUID of the namespace the function will be created in. */
474
+ /**
475
+ * UUID of the namespace the function will be created in.
476
+ */
317
477
  namespaceId: string;
318
- /** Environment variables of the function. */
478
+ /**
479
+ * Environment variables of the function.
480
+ */
319
481
  environmentVariables?: Record<string, string>;
320
- /** Minumum number of instances to scale the function to. */
482
+ /**
483
+ * Minumum number of instances to scale the function to.
484
+ */
321
485
  minScale?: number;
322
- /** Maximum number of instances to scale the function to. */
486
+ /**
487
+ * Maximum number of instances to scale the function to.
488
+ */
323
489
  maxScale?: number;
324
- /** Runtime to use with the function. */
490
+ /**
491
+ * Runtime to use with the function.
492
+ */
325
493
  runtime?: FunctionRuntime;
326
- /** Memory limit of the function in MB. */
494
+ /**
495
+ * Memory limit of the function in MB.
496
+ */
327
497
  memoryLimit?: number;
328
- /** Request processing time limit for the function. */
498
+ /**
499
+ * Request processing time limit for the function.
500
+ */
329
501
  timeout?: string;
330
- /** Handler to use with the function. */
502
+ /**
503
+ * Handler to use with the function.
504
+ */
331
505
  handler?: string;
332
- /** Privacy setting of the function. */
506
+ /**
507
+ * Privacy setting of the function.
508
+ */
333
509
  privacy?: FunctionPrivacy;
334
- /** Description of the function. */
510
+ /**
511
+ * Description of the function.
512
+ */
335
513
  description?: string;
336
514
  secretEnvironmentVariables?: Secret[];
337
515
  /**
338
516
  * Possible values:
339
- *
340
- * - Redirected: Responds to HTTP request with a 301 redirect to ask the clients
341
- * to use HTTPS.
342
- * - Enabled: Serve both HTTP and HTTPS traffic.
517
+ - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
518
+ - enabled: Serve both HTTP and HTTPS traffic.
343
519
  */
344
520
  httpOption?: FunctionHttpOption;
345
- /** Execution environment of the function. */
521
+ /**
522
+ * Execution environment of the function.
523
+ */
346
524
  sandbox?: FunctionSandbox;
347
525
  };
348
526
  export type CreateNamespaceRequest = {
349
527
  /**
350
- * Region to target. If none is passed will use default region from the
351
- * config.
528
+ * Region to target. If none is passed will use default region from the config.
352
529
  */
353
530
  region?: ScwRegion;
354
531
  name?: string;
355
- /** Environment variables of the namespace. */
532
+ /**
533
+ * Environment variables of the namespace.
534
+ */
356
535
  environmentVariables?: Record<string, string>;
357
- /** UUID of the project in which the namespace will be created. */
536
+ /**
537
+ * UUID of the project in which the namespace will be created.
538
+ */
358
539
  projectId?: string;
359
- /** Description of the namespace. */
540
+ /**
541
+ * Description of the namespace.
542
+ */
360
543
  description?: string;
361
- /** Secret environment variables of the namespace. */
544
+ /**
545
+ * Secret environment variables of the namespace.
546
+ */
362
547
  secretEnvironmentVariables?: Secret[];
363
- /** [ALPHA] Tags of the Serverless Function Namespace. */
548
+ /**
549
+ * [ALPHA] Tags of the Serverless Function Namespace.
550
+ */
364
551
  tags?: string[];
365
552
  };
366
553
  export type CreateTokenRequest = {
367
554
  /**
368
- * Region to target. If none is passed will use default region from the
369
- * config.
555
+ * Region to target. If none is passed will use default region from the config.
370
556
  */
371
557
  region?: ScwRegion;
372
558
  /**
@@ -381,106 +567,119 @@ export type CreateTokenRequest = {
381
567
  * One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set.
382
568
  */
383
569
  namespaceId?: string;
384
- /** Description of the token. */
570
+ /**
571
+ * Description of the token.
572
+ */
385
573
  description?: string;
386
- /** Date on which the token expires. */
574
+ /**
575
+ * Date on which the token expires.
576
+ */
387
577
  expiresAt?: Date;
388
578
  };
389
579
  export type CreateTriggerRequest = {
390
580
  /**
391
- * Region to target. If none is passed will use default region from the
392
- * config.
581
+ * Region to target. If none is passed will use default region from the config.
393
582
  */
394
583
  region?: ScwRegion;
395
- /** Name of the trigger. */
584
+ /**
585
+ * Name of the trigger.
586
+ */
396
587
  name: string;
397
- /** ID of the function to trigger. */
588
+ /**
589
+ * ID of the function to trigger.
590
+ */
398
591
  functionId: string;
399
- /** Description of the trigger. */
592
+ /**
593
+ * Description of the trigger.
594
+ */
400
595
  description?: string;
401
596
  /**
402
597
  * Configuration for a Scaleway Messaging and Queuing SQS queue.
403
598
  *
404
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
405
- * 'sqsConfig' could be set.
599
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
406
600
  */
407
601
  scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig;
408
602
  /**
409
603
  * Configuration for a Scaleway Messaging and Queuing NATS subject.
410
604
  *
411
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
412
- * 'sqsConfig' could be set.
605
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
413
606
  */
414
607
  scwNatsConfig?: CreateTriggerRequestMnqNatsClientConfig;
415
608
  /**
416
609
  * Configuration for an AWS SQS queue.
417
610
  *
418
- * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
419
- * 'sqsConfig' could be set.
611
+ * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
420
612
  */
421
613
  sqsConfig?: CreateTriggerRequestSqsClientConfig;
422
614
  };
423
615
  export type DeleteCronRequest = {
424
616
  /**
425
- * Region to target. If none is passed will use default region from the
426
- * config.
617
+ * Region to target. If none is passed will use default region from the config.
427
618
  */
428
619
  region?: ScwRegion;
429
- /** UUID of the cron to delete. */
620
+ /**
621
+ * UUID of the cron to delete.
622
+ */
430
623
  cronId: string;
431
624
  };
432
625
  export type DeleteDomainRequest = {
433
626
  /**
434
- * Region to target. If none is passed will use default region from the
435
- * config.
627
+ * Region to target. If none is passed will use default region from the config.
436
628
  */
437
629
  region?: ScwRegion;
438
- /** UUID of the domain to delete. */
630
+ /**
631
+ * UUID of the domain to delete.
632
+ */
439
633
  domainId: string;
440
634
  };
441
635
  export type DeleteFunctionRequest = {
442
636
  /**
443
- * Region to target. If none is passed will use default region from the
444
- * config.
637
+ * Region to target. If none is passed will use default region from the config.
445
638
  */
446
639
  region?: ScwRegion;
447
- /** UUID of the function to delete. */
640
+ /**
641
+ * UUID of the function to delete.
642
+ */
448
643
  functionId: string;
449
644
  };
450
645
  export type DeleteNamespaceRequest = {
451
646
  /**
452
- * Region to target. If none is passed will use default region from the
453
- * config.
647
+ * Region to target. If none is passed will use default region from the config.
454
648
  */
455
649
  region?: ScwRegion;
456
- /** UUID of the namespace. */
650
+ /**
651
+ * UUID of the namespace.
652
+ */
457
653
  namespaceId: string;
458
654
  };
459
655
  export type DeleteTokenRequest = {
460
656
  /**
461
- * Region to target. If none is passed will use default region from the
462
- * config.
657
+ * Region to target. If none is passed will use default region from the config.
463
658
  */
464
659
  region?: ScwRegion;
465
- /** UUID of the token to delete. */
660
+ /**
661
+ * UUID of the token to delete.
662
+ */
466
663
  tokenId: string;
467
664
  };
468
665
  export type DeleteTriggerRequest = {
469
666
  /**
470
- * Region to target. If none is passed will use default region from the
471
- * config.
667
+ * Region to target. If none is passed will use default region from the config.
472
668
  */
473
669
  region?: ScwRegion;
474
- /** ID of the trigger to delete. */
670
+ /**
671
+ * ID of the trigger to delete.
672
+ */
475
673
  triggerId: string;
476
674
  };
477
675
  export type DeployFunctionRequest = {
478
676
  /**
479
- * Region to target. If none is passed will use default region from the
480
- * config.
677
+ * Region to target. If none is passed will use default region from the config.
481
678
  */
482
679
  region?: ScwRegion;
483
- /** UUID of the function to deploy. */
680
+ /**
681
+ * UUID of the function to deploy.
682
+ */
484
683
  functionId: string;
485
684
  };
486
685
  export interface DownloadURL {
@@ -489,199 +688,273 @@ export interface DownloadURL {
489
688
  }
490
689
  export type GetCronRequest = {
491
690
  /**
492
- * Region to target. If none is passed will use default region from the
493
- * config.
691
+ * Region to target. If none is passed will use default region from the config.
494
692
  */
495
693
  region?: ScwRegion;
496
- /** UUID of the cron to get. */
694
+ /**
695
+ * UUID of the cron to get.
696
+ */
497
697
  cronId: string;
498
698
  };
499
699
  export type GetDomainRequest = {
500
700
  /**
501
- * Region to target. If none is passed will use default region from the
502
- * config.
701
+ * Region to target. If none is passed will use default region from the config.
503
702
  */
504
703
  region?: ScwRegion;
505
- /** UUID of the domain to get. */
704
+ /**
705
+ * UUID of the domain to get.
706
+ */
506
707
  domainId: string;
507
708
  };
508
709
  export type GetFunctionDownloadURLRequest = {
509
710
  /**
510
- * Region to target. If none is passed will use default region from the
511
- * config.
711
+ * Region to target. If none is passed will use default region from the config.
512
712
  */
513
713
  region?: ScwRegion;
514
- /** UUID of the function to get the the download URL for. */
714
+ /**
715
+ * UUID of the function to get the download URL for.
716
+ */
515
717
  functionId: string;
516
718
  };
517
719
  export type GetFunctionRequest = {
518
720
  /**
519
- * Region to target. If none is passed will use default region from the
520
- * config.
721
+ * Region to target. If none is passed will use default region from the config.
521
722
  */
522
723
  region?: ScwRegion;
523
- /** UUID of the function. */
724
+ /**
725
+ * UUID of the function.
726
+ */
524
727
  functionId: string;
525
728
  };
526
729
  export type GetFunctionUploadURLRequest = {
527
730
  /**
528
- * Region to target. If none is passed will use default region from the
529
- * config.
731
+ * Region to target. If none is passed will use default region from the config.
530
732
  */
531
733
  region?: ScwRegion;
532
- /** UUID of the function to get the upload URL for. */
734
+ /**
735
+ * UUID of the function to get the upload URL for.
736
+ */
533
737
  functionId: string;
534
- /** Size of the archive to upload in bytes. */
738
+ /**
739
+ * Size of the archive to upload in bytes.
740
+ */
535
741
  contentLength: number;
536
742
  };
537
743
  export type GetNamespaceRequest = {
538
744
  /**
539
- * Region to target. If none is passed will use default region from the
540
- * config.
745
+ * Region to target. If none is passed will use default region from the config.
541
746
  */
542
747
  region?: ScwRegion;
543
- /** UUID of the namespace. */
748
+ /**
749
+ * UUID of the namespace.
750
+ */
544
751
  namespaceId: string;
545
752
  };
546
753
  export type GetTokenRequest = {
547
754
  /**
548
- * Region to target. If none is passed will use default region from the
549
- * config.
755
+ * Region to target. If none is passed will use default region from the config.
550
756
  */
551
757
  region?: ScwRegion;
552
- /** UUID of the token to get. */
758
+ /**
759
+ * UUID of the token to get.
760
+ */
553
761
  tokenId: string;
554
762
  };
555
763
  export type GetTriggerRequest = {
556
764
  /**
557
- * Region to target. If none is passed will use default region from the
558
- * config.
765
+ * Region to target. If none is passed will use default region from the config.
559
766
  */
560
767
  region?: ScwRegion;
561
- /** ID of the trigger to get. */
768
+ /**
769
+ * ID of the trigger to get.
770
+ */
562
771
  triggerId: string;
563
772
  };
564
773
  export type ListCronsRequest = {
565
774
  /**
566
- * Region to target. If none is passed will use default region from the
567
- * config.
775
+ * Region to target. If none is passed will use default region from the config.
568
776
  */
569
777
  region?: ScwRegion;
570
- /** Page number. */
778
+ /**
779
+ * Page number.
780
+ */
571
781
  page?: number;
572
- /** Number of crons per page. */
782
+ /**
783
+ * Number of crons per page.
784
+ */
573
785
  pageSize?: number;
574
- /** Order of the crons. */
786
+ /**
787
+ * Order of the crons.
788
+ */
575
789
  orderBy?: ListCronsRequestOrderBy;
576
- /** UUID of the function. */
790
+ /**
791
+ * UUID of the function.
792
+ */
577
793
  functionId: string;
578
794
  };
579
795
  export interface ListCronsResponse {
580
- /** Array of crons. */
796
+ /**
797
+ * Array of crons.
798
+ */
581
799
  crons: Cron[];
582
- /** Total number of crons. */
800
+ /**
801
+ * Total number of crons.
802
+ */
583
803
  totalCount: number;
584
804
  }
585
805
  export type ListDomainsRequest = {
586
806
  /**
587
- * Region to target. If none is passed will use default region from the
588
- * config.
807
+ * Region to target. If none is passed will use default region from the config.
589
808
  */
590
809
  region?: ScwRegion;
591
- /** Page number. */
810
+ /**
811
+ * Page number.
812
+ */
592
813
  page?: number;
593
- /** Number of domains per page. */
814
+ /**
815
+ * Number of domains per page.
816
+ */
594
817
  pageSize?: number;
595
- /** Order of the domains. */
818
+ /**
819
+ * Order of the domains.
820
+ */
596
821
  orderBy?: ListDomainsRequestOrderBy;
597
- /** UUID of the function the domain is assoicated with. */
822
+ /**
823
+ * UUID of the function the domain is assoicated with.
824
+ */
598
825
  functionId: string;
599
826
  };
600
827
  export interface ListDomainsResponse {
601
- /** Array of domains. */
828
+ /**
829
+ * Array of domains.
830
+ */
602
831
  domains: Domain[];
603
- /** Total number of domains. */
832
+ /**
833
+ * Total number of domains.
834
+ */
604
835
  totalCount: number;
605
836
  }
606
837
  export type ListFunctionRuntimesRequest = {
607
838
  /**
608
- * Region to target. If none is passed will use default region from the
609
- * config.
839
+ * Region to target. If none is passed will use default region from the config.
610
840
  */
611
841
  region?: ScwRegion;
612
842
  };
613
843
  export interface ListFunctionRuntimesResponse {
614
- /** Array of runtimes available. */
844
+ /**
845
+ * Array of runtimes available.
846
+ */
615
847
  runtimes: Runtime[];
616
- /** Total number of runtimes. */
848
+ /**
849
+ * Total number of runtimes.
850
+ */
617
851
  totalCount: number;
618
852
  }
619
853
  export type ListFunctionsRequest = {
620
854
  /**
621
- * Region to target. If none is passed will use default region from the
622
- * config.
855
+ * Region to target. If none is passed will use default region from the config.
623
856
  */
624
857
  region?: ScwRegion;
625
- /** Page number. */
858
+ /**
859
+ * Page number.
860
+ */
626
861
  page?: number;
627
- /** Number of functions per page. */
862
+ /**
863
+ * Number of functions per page.
864
+ */
628
865
  pageSize?: number;
629
- /** Order of the functions. */
866
+ /**
867
+ * Order of the functions.
868
+ */
630
869
  orderBy?: ListFunctionsRequestOrderBy;
631
- /** UUID of the namespace the function belongs to. */
870
+ /**
871
+ * UUID of the namespace the function belongs to.
872
+ */
632
873
  namespaceId: string;
633
- /** Name of the function. */
874
+ /**
875
+ * Name of the function.
876
+ */
634
877
  name?: string;
635
- /** UUID of the Organziation the function belongs to. */
878
+ /**
879
+ * UUID of the Organziation the function belongs to.
880
+ */
636
881
  organizationId?: string;
637
- /** UUID of the Project the function belongs to. */
882
+ /**
883
+ * UUID of the Project the function belongs to.
884
+ */
638
885
  projectId?: string;
639
886
  };
640
887
  export interface ListFunctionsResponse {
641
- /** Array of functions. */
888
+ /**
889
+ * Array of functions.
890
+ */
642
891
  functions: Function[];
643
- /** Total number of functions. */
892
+ /**
893
+ * Total number of functions.
894
+ */
644
895
  totalCount: number;
645
896
  }
646
897
  export type ListNamespacesRequest = {
647
898
  /**
648
- * Region to target. If none is passed will use default region from the
649
- * config.
899
+ * Region to target. If none is passed will use default region from the config.
650
900
  */
651
901
  region?: ScwRegion;
652
- /** Page number. */
902
+ /**
903
+ * Page number.
904
+ */
653
905
  page?: number;
654
- /** Number of namespaces per page. */
906
+ /**
907
+ * Number of namespaces per page.
908
+ */
655
909
  pageSize?: number;
656
- /** Order of the namespaces. */
910
+ /**
911
+ * Order of the namespaces.
912
+ */
657
913
  orderBy?: ListNamespacesRequestOrderBy;
658
- /** Name of the namespace. */
914
+ /**
915
+ * Name of the namespace.
916
+ */
659
917
  name?: string;
660
- /** UUID of the Organization the namespace belongs to. */
918
+ /**
919
+ * UUID of the Organization the namespace belongs to.
920
+ */
661
921
  organizationId?: string;
662
- /** UUID of the Project the namespace belongs to. */
922
+ /**
923
+ * UUID of the Project the namespace belongs to.
924
+ */
663
925
  projectId?: string;
664
926
  };
665
927
  export interface ListNamespacesResponse {
666
928
  namespaces: Namespace[];
667
- /** Total number of namespaces. */
929
+ /**
930
+ * Total number of namespaces.
931
+ */
668
932
  totalCount: number;
669
933
  }
670
934
  export type ListTokensRequest = {
671
935
  /**
672
- * Region to target. If none is passed will use default region from the
673
- * config.
936
+ * Region to target. If none is passed will use default region from the config.
674
937
  */
675
938
  region?: ScwRegion;
676
- /** Page number. */
939
+ /**
940
+ * Page number.
941
+ */
677
942
  page?: number;
678
- /** Number of tokens per page. */
943
+ /**
944
+ * Number of tokens per page.
945
+ */
679
946
  pageSize?: number;
680
- /** Sort order for the tokens. */
947
+ /**
948
+ * Sort order for the tokens.
949
+ */
681
950
  orderBy?: ListTokensRequestOrderBy;
682
- /** UUID of the function the token is assoicated with. */
951
+ /**
952
+ * UUID of the function the token is assoicated with.
953
+ */
683
954
  functionId?: string;
684
- /** UUID of the namespace the token is associated with. */
955
+ /**
956
+ * UUID of the namespace the token is associated with.
957
+ */
685
958
  namespaceId?: string;
686
959
  };
687
960
  export interface ListTokensResponse {
@@ -690,130 +963,182 @@ export interface ListTokensResponse {
690
963
  }
691
964
  export type ListTriggersRequest = {
692
965
  /**
693
- * Region to target. If none is passed will use default region from the
694
- * config.
966
+ * Region to target. If none is passed will use default region from the config.
695
967
  */
696
968
  region?: ScwRegion;
697
- /** Page number to return. */
969
+ /**
970
+ * Page number to return.
971
+ */
698
972
  page?: number;
699
- /** Maximum number of triggers to return per page. */
973
+ /**
974
+ * Maximum number of triggers to return per page.
975
+ */
700
976
  pageSize?: number;
701
- /** Order in which to return results. */
977
+ /**
978
+ * Order in which to return results.
979
+ */
702
980
  orderBy?: ListTriggersRequestOrderBy;
703
981
  /**
704
982
  * ID of the function the triggers belongs to.
705
983
  *
706
- * One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId'
707
- * could be set.
984
+ * One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId' could be set.
708
985
  */
709
986
  functionId?: string;
710
987
  /**
711
988
  * ID of the namespace the triggers belongs to.
712
989
  *
713
- * One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId'
714
- * could be set.
990
+ * One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId' could be set.
715
991
  */
716
992
  namespaceId?: string;
717
993
  /**
718
994
  * ID of the project the triggers belongs to.
719
995
  *
720
- * One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId'
721
- * could be set.
996
+ * One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId' could be set.
722
997
  */
723
998
  projectId?: string;
724
999
  };
725
1000
  export interface ListTriggersResponse {
726
- /** Total count of existing triggers (matching any filters specified). */
1001
+ /**
1002
+ * Total count of existing triggers (matching any filters specified).
1003
+ */
727
1004
  totalCount: number;
728
- /** Triggers on this page. */
1005
+ /**
1006
+ * Triggers on this page.
1007
+ */
729
1008
  triggers: Trigger[];
730
1009
  }
731
1010
  export type UpdateCronRequest = {
732
1011
  /**
733
- * Region to target. If none is passed will use default region from the
734
- * config.
1012
+ * Region to target. If none is passed will use default region from the config.
735
1013
  */
736
1014
  region?: ScwRegion;
737
- /** UUID of the cron to update. */
1015
+ /**
1016
+ * UUID of the cron to update.
1017
+ */
738
1018
  cronId: string;
739
- /** UUID of the function to use the cron with. */
1019
+ /**
1020
+ * UUID of the function to use the cron with.
1021
+ */
740
1022
  functionId?: string;
741
- /** Schedule of the cron in UNIX cron format. */
1023
+ /**
1024
+ * Schedule of the cron in UNIX cron format.
1025
+ */
742
1026
  schedule?: string;
743
- /** Arguments to use with the cron. */
1027
+ /**
1028
+ * Arguments to use with the cron.
1029
+ */
744
1030
  args?: Record<string, unknown>;
745
- /** Name of the cron. */
1031
+ /**
1032
+ * Name of the cron.
1033
+ */
746
1034
  name?: string;
747
1035
  };
748
1036
  export type UpdateFunctionRequest = {
749
1037
  /**
750
- * Region to target. If none is passed will use default region from the
751
- * config.
1038
+ * Region to target. If none is passed will use default region from the config.
752
1039
  */
753
1040
  region?: ScwRegion;
754
- /** UUID of the function to update. */
1041
+ /**
1042
+ * UUID of the function to update.
1043
+ */
755
1044
  functionId: string;
756
- /** Environment variables of the function to update. */
1045
+ /**
1046
+ * Environment variables of the function to update.
1047
+ */
757
1048
  environmentVariables?: Record<string, string>;
758
- /** Minumum number of instances to scale the function to. */
1049
+ /**
1050
+ * Minumum number of instances to scale the function to.
1051
+ */
759
1052
  minScale?: number;
760
- /** Maximum number of instances to scale the function to. */
1053
+ /**
1054
+ * Maximum number of instances to scale the function to.
1055
+ */
761
1056
  maxScale?: number;
762
- /** Runtime to use with the function. */
1057
+ /**
1058
+ * Runtime to use with the function.
1059
+ */
763
1060
  runtime?: FunctionRuntime;
764
- /** Memory limit of the function in MB. */
1061
+ /**
1062
+ * Memory limit of the function in MB.
1063
+ */
765
1064
  memoryLimit?: number;
766
- /** Processing time limit for the function. */
1065
+ /**
1066
+ * Processing time limit for the function.
1067
+ */
767
1068
  timeout?: string;
768
- /** Redeploy failed function. */
1069
+ /**
1070
+ * Redeploy failed function.
1071
+ */
769
1072
  redeploy?: boolean;
770
- /** Handler to use with the function. */
1073
+ /**
1074
+ * Handler to use with the function.
1075
+ */
771
1076
  handler?: string;
772
- /** Privacy setting of the function. */
1077
+ /**
1078
+ * Privacy setting of the function.
1079
+ */
773
1080
  privacy?: FunctionPrivacy;
774
- /** Description of the function. */
1081
+ /**
1082
+ * Description of the function.
1083
+ */
775
1084
  description?: string;
776
- /** Secret environment variables of the function. */
1085
+ /**
1086
+ * Secret environment variables of the function.
1087
+ */
777
1088
  secretEnvironmentVariables?: Secret[];
778
1089
  /**
779
1090
  * Possible values:
780
- *
781
- * - Redirected: Responds to HTTP request with a 301 redirect to ask the clients
782
- * to use HTTPS.
783
- * - Enabled: Serve both HTTP and HTTPS traffic.
1091
+ - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
1092
+ - enabled: Serve both HTTP and HTTPS traffic.
784
1093
  */
785
1094
  httpOption?: FunctionHttpOption;
786
- /** Execution environment of the function. */
1095
+ /**
1096
+ * Execution environment of the function.
1097
+ */
787
1098
  sandbox?: FunctionSandbox;
788
1099
  };
789
1100
  export type UpdateNamespaceRequest = {
790
1101
  /**
791
- * Region to target. If none is passed will use default region from the
792
- * config.
1102
+ * Region to target. If none is passed will use default region from the config.
793
1103
  */
794
1104
  region?: ScwRegion;
795
- /** UUID of the namespapce. */
1105
+ /**
1106
+ * UUID of the namespapce.
1107
+ */
796
1108
  namespaceId: string;
797
- /** Environment variables of the namespace. */
1109
+ /**
1110
+ * Environment variables of the namespace.
1111
+ */
798
1112
  environmentVariables?: Record<string, string>;
799
- /** Description of the namespace. */
1113
+ /**
1114
+ * Description of the namespace.
1115
+ */
800
1116
  description?: string;
801
- /** Secret environment variables of the namespace. */
1117
+ /**
1118
+ * Secret environment variables of the namespace.
1119
+ */
802
1120
  secretEnvironmentVariables?: Secret[];
803
- /** [ALPHA] Tags of the Serverless Function Namespace. */
1121
+ /**
1122
+ * [ALPHA] Tags of the Serverless Function Namespace.
1123
+ */
804
1124
  tags?: string[];
805
1125
  };
806
1126
  export type UpdateTriggerRequest = {
807
1127
  /**
808
- * Region to target. If none is passed will use default region from the
809
- * config.
1128
+ * Region to target. If none is passed will use default region from the config.
810
1129
  */
811
1130
  region?: ScwRegion;
812
- /** ID of the trigger to update. */
1131
+ /**
1132
+ * ID of the trigger to update.
1133
+ */
813
1134
  triggerId: string;
814
- /** Name of the trigger. */
1135
+ /**
1136
+ * Name of the trigger.
1137
+ */
815
1138
  name?: string;
816
- /** Description of the trigger. */
1139
+ /**
1140
+ * Description of the trigger.
1141
+ */
817
1142
  description?: string;
818
1143
  /**
819
1144
  * Configuration for an AWS SQS queue.
@@ -823,8 +1148,12 @@ export type UpdateTriggerRequest = {
823
1148
  sqsConfig?: UpdateTriggerRequestSqsClientConfig;
824
1149
  };
825
1150
  export interface UploadURL {
826
- /** Upload URL to upload the function to. */
1151
+ /**
1152
+ * Upload URL to upload the function to.
1153
+ */
827
1154
  url: string;
828
- /** HTTP headers. */
1155
+ /**
1156
+ * HTTP headers.
1157
+ */
829
1158
  headers: Record<string, string[]>;
830
1159
  }