@distilled.cloud/scaleway 0.0.0 → 1.0.0-rc.22

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 (639) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +171 -4
  3. package/lib/.lazy.json +1 -0
  4. package/lib/_bundle/lazy.js +4 -0
  5. package/lib/_bundle/sdk.js +2 -0
  6. package/lib/_bundle/sdk.js.map +1 -0
  7. package/lib/credentials.d.ts +44 -0
  8. package/lib/credentials.d.ts.map +1 -0
  9. package/lib/credentials.js +1 -0
  10. package/lib/errors.d.ts +285 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +1 -0
  13. package/lib/index.d.ts +48 -0
  14. package/lib/index.d.ts.map +1 -0
  15. package/lib/index.js +6 -0
  16. package/lib/pagination.d.ts +10 -0
  17. package/lib/pagination.d.ts.map +1 -0
  18. package/lib/pagination.js +1 -0
  19. package/lib/protocol.d.ts +48 -0
  20. package/lib/protocol.d.ts.map +1 -0
  21. package/lib/protocol.js +1 -0
  22. package/lib/retry.d.ts +31 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +1 -0
  25. package/lib/services/account_contract_v3.d.ts +124 -0
  26. package/lib/services/account_contract_v3.d.ts.map +1 -0
  27. package/lib/services/account_contract_v3.js +2 -0
  28. package/lib/services/account_contract_v3.js.map +1 -0
  29. package/lib/services/account_iso_code_v3.d.ts +44 -0
  30. package/lib/services/account_iso_code_v3.d.ts.map +1 -0
  31. package/lib/services/account_iso_code_v3.js +2 -0
  32. package/lib/services/account_iso_code_v3.js.map +1 -0
  33. package/lib/services/account_organization_v3.d.ts +290 -0
  34. package/lib/services/account_organization_v3.d.ts.map +1 -0
  35. package/lib/services/account_organization_v3.js +2 -0
  36. package/lib/services/account_organization_v3.js.map +1 -0
  37. package/lib/services/account_project_v3.d.ts +173 -0
  38. package/lib/services/account_project_v3.d.ts.map +1 -0
  39. package/lib/services/account_project_v3.js +2 -0
  40. package/lib/services/account_project_v3.js.map +1 -0
  41. package/lib/services/account_unauthenticated_user_v3.d.ts +479 -0
  42. package/lib/services/account_unauthenticated_user_v3.d.ts.map +1 -0
  43. package/lib/services/account_unauthenticated_user_v3.js +35 -0
  44. package/lib/services/account_unauthenticated_user_v3.js.map +1 -0
  45. package/lib/services/account_unauthenticated_v3.d.ts +18 -0
  46. package/lib/services/account_unauthenticated_v3.d.ts.map +1 -0
  47. package/lib/services/account_unauthenticated_v3.js +2 -0
  48. package/lib/services/account_unauthenticated_v3.js.map +1 -0
  49. package/lib/services/account_user_v3.d.ts +522 -0
  50. package/lib/services/account_user_v3.d.ts.map +1 -0
  51. package/lib/services/account_user_v3.js +39 -0
  52. package/lib/services/account_user_v3.js.map +1 -0
  53. package/lib/services/annotations_v1.d.ts +260 -0
  54. package/lib/services/annotations_v1.d.ts.map +1 -0
  55. package/lib/services/annotations_v1.js +2 -0
  56. package/lib/services/annotations_v1.js.map +1 -0
  57. package/lib/services/baremetal_private_network_v1.d.ts +95 -0
  58. package/lib/services/baremetal_private_network_v1.d.ts.map +1 -0
  59. package/lib/services/baremetal_private_network_v1.js +2 -0
  60. package/lib/services/baremetal_private_network_v1.js.map +1 -0
  61. package/lib/services/baremetal_private_network_v3.d.ts +110 -0
  62. package/lib/services/baremetal_private_network_v3.d.ts.map +1 -0
  63. package/lib/services/baremetal_private_network_v3.js +2 -0
  64. package/lib/services/baremetal_private_network_v3.js.map +1 -0
  65. package/lib/services/baremetal_v1.d.ts +1089 -0
  66. package/lib/services/baremetal_v1.d.ts.map +1 -0
  67. package/lib/services/baremetal_v1.js +52 -0
  68. package/lib/services/baremetal_v1.js.map +1 -0
  69. package/lib/services/billing_electronic_billing_v2.d.ts +86 -0
  70. package/lib/services/billing_electronic_billing_v2.d.ts.map +1 -0
  71. package/lib/services/billing_electronic_billing_v2.js +2 -0
  72. package/lib/services/billing_electronic_billing_v2.js.map +1 -0
  73. package/lib/services/billing_v2.d.ts +187 -0
  74. package/lib/services/billing_v2.d.ts.map +1 -0
  75. package/lib/services/billing_v2.js +2 -0
  76. package/lib/services/billing_v2.js.map +1 -0
  77. package/lib/services/block_v1.d.ts +401 -0
  78. package/lib/services/block_v1.d.ts.map +1 -0
  79. package/lib/services/block_v1.js +27 -0
  80. package/lib/services/block_v1.js.map +1 -0
  81. package/lib/services/cockpit_global_v1.d.ts +75 -0
  82. package/lib/services/cockpit_global_v1.d.ts.map +1 -0
  83. package/lib/services/cockpit_global_v1.js +2 -0
  84. package/lib/services/cockpit_global_v1.js.map +1 -0
  85. package/lib/services/cockpit_regional_v1.d.ts +739 -0
  86. package/lib/services/cockpit_regional_v1.d.ts.map +1 -0
  87. package/lib/services/cockpit_regional_v1.js +47 -0
  88. package/lib/services/cockpit_regional_v1.js.map +1 -0
  89. package/lib/services/containers_v1.d.ts +822 -0
  90. package/lib/services/containers_v1.d.ts.map +1 -0
  91. package/lib/services/containers_v1.js +39 -0
  92. package/lib/services/containers_v1.js.map +1 -0
  93. package/lib/services/dedibox_billing_v1.d.ts +151 -0
  94. package/lib/services/dedibox_billing_v1.d.ts.map +1 -0
  95. package/lib/services/dedibox_billing_v1.js +2 -0
  96. package/lib/services/dedibox_billing_v1.js.map +1 -0
  97. package/lib/services/dedibox_ipv6_block_v1.d.ts +119 -0
  98. package/lib/services/dedibox_ipv6_block_v1.d.ts.map +1 -0
  99. package/lib/services/dedibox_ipv6_block_v1.js +2 -0
  100. package/lib/services/dedibox_ipv6_block_v1.js.map +1 -0
  101. package/lib/services/dedibox_rpn_san_v1.d.ts +486 -0
  102. package/lib/services/dedibox_rpn_san_v1.d.ts.map +1 -0
  103. package/lib/services/dedibox_rpn_san_v1.js +2 -0
  104. package/lib/services/dedibox_rpn_san_v1.js.map +1 -0
  105. package/lib/services/dedibox_rpn_v1.d.ts +68 -0
  106. package/lib/services/dedibox_rpn_v1.d.ts.map +1 -0
  107. package/lib/services/dedibox_rpn_v1.js +2 -0
  108. package/lib/services/dedibox_rpn_v1.js.map +1 -0
  109. package/lib/services/dedibox_rpn_v1_v1.d.ts +687 -0
  110. package/lib/services/dedibox_rpn_v1_v1.d.ts.map +1 -0
  111. package/lib/services/dedibox_rpn_v1_v1.js +30 -0
  112. package/lib/services/dedibox_rpn_v1_v1.js.map +1 -0
  113. package/lib/services/dedibox_rpn_v2_v1.d.ts +646 -0
  114. package/lib/services/dedibox_rpn_v2_v1.d.ts.map +1 -0
  115. package/lib/services/dedibox_rpn_v2_v1.js +27 -0
  116. package/lib/services/dedibox_rpn_v2_v1.js.map +1 -0
  117. package/lib/services/dedibox_v1.d.ts +1351 -0
  118. package/lib/services/dedibox_v1.d.ts.map +1 -0
  119. package/lib/services/dedibox_v1.js +70 -0
  120. package/lib/services/dedibox_v1.js.map +1 -0
  121. package/lib/services/generative_apis_openai_v1.d.ts +772 -0
  122. package/lib/services/generative_apis_openai_v1.d.ts.map +1 -0
  123. package/lib/services/generative_apis_openai_v1.js +24 -0
  124. package/lib/services/generative_apis_openai_v1.js.map +1 -0
  125. package/lib/services/generative_apis_v1.d.ts +82 -0
  126. package/lib/services/generative_apis_v1.d.ts.map +1 -0
  127. package/lib/services/generative_apis_v1.js +2 -0
  128. package/lib/services/generative_apis_v1.js.map +1 -0
  129. package/lib/services/index.d.ts +57 -0
  130. package/lib/services/index.d.ts.map +1 -0
  131. package/lib/services/index.js +56 -0
  132. package/lib/services/inference_v1.d.ts +460 -0
  133. package/lib/services/inference_v1.d.ts.map +1 -0
  134. package/lib/services/inference_v1.js +33 -0
  135. package/lib/services/inference_v1.js.map +1 -0
  136. package/lib/services/instance_v1.d.ts +2183 -0
  137. package/lib/services/instance_v1.d.ts.map +1 -0
  138. package/lib/services/instance_v1.js +112 -0
  139. package/lib/services/instance_v1.js.map +1 -0
  140. package/lib/services/iot_v1.d.ts +837 -0
  141. package/lib/services/iot_v1.d.ts.map +1 -0
  142. package/lib/services/iot_v1.js +50 -0
  143. package/lib/services/iot_v1.js.map +1 -0
  144. package/lib/services/ipam_v1.d.ts +244 -0
  145. package/lib/services/ipam_v1.d.ts.map +1 -0
  146. package/lib/services/ipam_v1.js +2 -0
  147. package/lib/services/ipam_v1.js.map +1 -0
  148. package/lib/services/k8s_v1.d.ts +1223 -0
  149. package/lib/services/k8s_v1.d.ts.map +1 -0
  150. package/lib/services/k8s_v1.js +61 -0
  151. package/lib/services/k8s_v1.js.map +1 -0
  152. package/lib/services/lb_zoned_v1.d.ts +1517 -0
  153. package/lib/services/lb_zoned_v1.d.ts.map +1 -0
  154. package/lib/services/lb_zoned_v1.js +75 -0
  155. package/lib/services/lb_zoned_v1.js.map +1 -0
  156. package/lib/services/marketplace_console_v2.d.ts +72 -0
  157. package/lib/services/marketplace_console_v2.d.ts.map +1 -0
  158. package/lib/services/marketplace_console_v2.js +2 -0
  159. package/lib/services/marketplace_console_v2.js.map +1 -0
  160. package/lib/services/marketplace_v2.d.ts +169 -0
  161. package/lib/services/marketplace_v2.d.ts.map +1 -0
  162. package/lib/services/marketplace_v2.js +2 -0
  163. package/lib/services/marketplace_v2.js.map +1 -0
  164. package/lib/services/mongodb_v1.d.ts +698 -0
  165. package/lib/services/mongodb_v1.d.ts.map +1 -0
  166. package/lib/services/mongodb_v1.js +43 -0
  167. package/lib/services/mongodb_v1.js.map +1 -0
  168. package/lib/services/partner_v1.d.ts +142 -0
  169. package/lib/services/partner_v1.d.ts.map +1 -0
  170. package/lib/services/partner_v1.js +2 -0
  171. package/lib/services/partner_v1.js.map +1 -0
  172. package/lib/services/rdb_encryption_v1.d.ts +17 -0
  173. package/lib/services/rdb_encryption_v1.d.ts.map +1 -0
  174. package/lib/services/rdb_encryption_v1.js +2 -0
  175. package/lib/services/rdb_encryption_v1.js.map +1 -0
  176. package/lib/services/rdb_v1.d.ts +1422 -0
  177. package/lib/services/rdb_v1.d.ts.map +1 -0
  178. package/lib/services/rdb_v1.js +87 -0
  179. package/lib/services/rdb_v1.js.map +1 -0
  180. package/lib/services/redis_v1.d.ts +602 -0
  181. package/lib/services/redis_v1.d.ts.map +1 -0
  182. package/lib/services/redis_v1.js +42 -0
  183. package/lib/services/redis_v1.js.map +1 -0
  184. package/lib/services/registry_v1.d.ts +281 -0
  185. package/lib/services/registry_v1.d.ts.map +1 -0
  186. package/lib/services/registry_v1.js +2 -0
  187. package/lib/services/registry_v1.js.map +1 -0
  188. package/lib/services/reseller_v1.d.ts +81 -0
  189. package/lib/services/reseller_v1.d.ts.map +1 -0
  190. package/lib/services/reseller_v1.js +2 -0
  191. package/lib/services/reseller_v1.js.map +1 -0
  192. package/lib/services/vpc_gw_v2.d.ts +640 -0
  193. package/lib/services/vpc_gw_v2.d.ts.map +1 -0
  194. package/lib/services/vpc_gw_v2.js +46 -0
  195. package/lib/services/vpc_gw_v2.js.map +1 -0
  196. package/lib/services/vpc_private_network_with_nics_v2.d.ts +114 -0
  197. package/lib/services/vpc_private_network_with_nics_v2.d.ts.map +1 -0
  198. package/lib/services/vpc_private_network_with_nics_v2.js +2 -0
  199. package/lib/services/vpc_private_network_with_nics_v2.js.map +1 -0
  200. package/lib/services/vpc_routes_with_nexthop_v2.d.ts +87 -0
  201. package/lib/services/vpc_routes_with_nexthop_v2.d.ts.map +1 -0
  202. package/lib/services/vpc_routes_with_nexthop_v2.js +2 -0
  203. package/lib/services/vpc_routes_with_nexthop_v2.js.map +1 -0
  204. package/lib/services/vpc_v2.d.ts +875 -0
  205. package/lib/services/vpc_v2.d.ts.map +1 -0
  206. package/lib/services/vpc_v2.js +54 -0
  207. package/lib/services/vpc_v2.js.map +1 -0
  208. package/lib/services/webhosting_backup_v1.d.ts +182 -0
  209. package/lib/services/webhosting_backup_v1.d.ts.map +1 -0
  210. package/lib/services/webhosting_backup_v1.js +2 -0
  211. package/lib/services/webhosting_backup_v1.js.map +1 -0
  212. package/lib/services/webhosting_control_panel_v1.d.ts +37 -0
  213. package/lib/services/webhosting_control_panel_v1.d.ts.map +1 -0
  214. package/lib/services/webhosting_control_panel_v1.js +2 -0
  215. package/lib/services/webhosting_control_panel_v1.js.map +1 -0
  216. package/lib/services/webhosting_database_v1.d.ts +195 -0
  217. package/lib/services/webhosting_database_v1.d.ts.map +1 -0
  218. package/lib/services/webhosting_database_v1.js +2 -0
  219. package/lib/services/webhosting_database_v1.js.map +1 -0
  220. package/lib/services/webhosting_dedibox_v1.d.ts +232 -0
  221. package/lib/services/webhosting_dedibox_v1.d.ts.map +1 -0
  222. package/lib/services/webhosting_dedibox_v1.js +2 -0
  223. package/lib/services/webhosting_dedibox_v1.js.map +1 -0
  224. package/lib/services/webhosting_dns_v1.d.ts +177 -0
  225. package/lib/services/webhosting_dns_v1.d.ts.map +1 -0
  226. package/lib/services/webhosting_dns_v1.js +2 -0
  227. package/lib/services/webhosting_dns_v1.js.map +1 -0
  228. package/lib/services/webhosting_free_domain_v1.d.ts +51 -0
  229. package/lib/services/webhosting_free_domain_v1.d.ts.map +1 -0
  230. package/lib/services/webhosting_free_domain_v1.js +2 -0
  231. package/lib/services/webhosting_free_domain_v1.js.map +1 -0
  232. package/lib/services/webhosting_ftp_account_v1.d.ts +79 -0
  233. package/lib/services/webhosting_ftp_account_v1.d.ts.map +1 -0
  234. package/lib/services/webhosting_ftp_account_v1.js +2 -0
  235. package/lib/services/webhosting_ftp_account_v1.js.map +1 -0
  236. package/lib/services/webhosting_hosting_v1.d.ts +502 -0
  237. package/lib/services/webhosting_hosting_v1.d.ts.map +1 -0
  238. package/lib/services/webhosting_hosting_v1.js +27 -0
  239. package/lib/services/webhosting_hosting_v1.js.map +1 -0
  240. package/lib/services/webhosting_mail_account_v1.d.ts +84 -0
  241. package/lib/services/webhosting_mail_account_v1.d.ts.map +1 -0
  242. package/lib/services/webhosting_mail_account_v1.js +2 -0
  243. package/lib/services/webhosting_mail_account_v1.js.map +1 -0
  244. package/lib/services/webhosting_offer_v1.d.ts +122 -0
  245. package/lib/services/webhosting_offer_v1.d.ts.map +1 -0
  246. package/lib/services/webhosting_offer_v1.js +2 -0
  247. package/lib/services/webhosting_offer_v1.js.map +1 -0
  248. package/lib/services/webhosting_website_v1.d.ts +75 -0
  249. package/lib/services/webhosting_website_v1.d.ts.map +1 -0
  250. package/lib/services/webhosting_website_v1.js +2 -0
  251. package/lib/services/webhosting_website_v1.js.map +1 -0
  252. package/lib/services.lazy/account_contract_v3.js +1 -0
  253. package/lib/services.lazy/account_iso_code_v3.js +1 -0
  254. package/lib/services.lazy/account_organization_v3.js +1 -0
  255. package/lib/services.lazy/account_project_v3.js +1 -0
  256. package/lib/services.lazy/account_unauthenticated_user_v3.js +3 -0
  257. package/lib/services.lazy/account_unauthenticated_v3.js +1 -0
  258. package/lib/services.lazy/account_user_v3.js +3 -0
  259. package/lib/services.lazy/annotations_v1.js +1 -0
  260. package/lib/services.lazy/baremetal_private_network_v1.js +1 -0
  261. package/lib/services.lazy/baremetal_private_network_v3.js +1 -0
  262. package/lib/services.lazy/baremetal_v1.js +3 -0
  263. package/lib/services.lazy/billing_electronic_billing_v2.js +1 -0
  264. package/lib/services.lazy/billing_v2.js +1 -0
  265. package/lib/services.lazy/block_v1.js +3 -0
  266. package/lib/services.lazy/cockpit_global_v1.js +1 -0
  267. package/lib/services.lazy/cockpit_regional_v1.js +3 -0
  268. package/lib/services.lazy/containers_v1.js +3 -0
  269. package/lib/services.lazy/dedibox_billing_v1.js +1 -0
  270. package/lib/services.lazy/dedibox_ipv6_block_v1.js +1 -0
  271. package/lib/services.lazy/dedibox_rpn_san_v1.js +1 -0
  272. package/lib/services.lazy/dedibox_rpn_v1.js +1 -0
  273. package/lib/services.lazy/dedibox_rpn_v1_v1.js +3 -0
  274. package/lib/services.lazy/dedibox_rpn_v2_v1.js +3 -0
  275. package/lib/services.lazy/dedibox_v1.js +3 -0
  276. package/lib/services.lazy/generative_apis_openai_v1.js +3 -0
  277. package/lib/services.lazy/generative_apis_v1.js +1 -0
  278. package/lib/services.lazy/index.js +3 -0
  279. package/lib/services.lazy/inference_v1.js +3 -0
  280. package/lib/services.lazy/instance_v1.js +3 -0
  281. package/lib/services.lazy/iot_v1.js +3 -0
  282. package/lib/services.lazy/ipam_v1.js +1 -0
  283. package/lib/services.lazy/k8s_v1.js +3 -0
  284. package/lib/services.lazy/lb_zoned_v1.js +3 -0
  285. package/lib/services.lazy/marketplace_console_v2.js +1 -0
  286. package/lib/services.lazy/marketplace_v2.js +1 -0
  287. package/lib/services.lazy/mongodb_v1.js +3 -0
  288. package/lib/services.lazy/partner_v1.js +1 -0
  289. package/lib/services.lazy/rdb_encryption_v1.js +1 -0
  290. package/lib/services.lazy/rdb_v1.js +3 -0
  291. package/lib/services.lazy/redis_v1.js +3 -0
  292. package/lib/services.lazy/registry_v1.js +1 -0
  293. package/lib/services.lazy/reseller_v1.js +1 -0
  294. package/lib/services.lazy/vpc_gw_v2.js +3 -0
  295. package/lib/services.lazy/vpc_private_network_with_nics_v2.js +1 -0
  296. package/lib/services.lazy/vpc_routes_with_nexthop_v2.js +1 -0
  297. package/lib/services.lazy/vpc_v2.js +3 -0
  298. package/lib/services.lazy/webhosting_backup_v1.js +1 -0
  299. package/lib/services.lazy/webhosting_control_panel_v1.js +1 -0
  300. package/lib/services.lazy/webhosting_database_v1.js +1 -0
  301. package/lib/services.lazy/webhosting_dedibox_v1.js +1 -0
  302. package/lib/services.lazy/webhosting_dns_v1.js +1 -0
  303. package/lib/services.lazy/webhosting_free_domain_v1.js +1 -0
  304. package/lib/services.lazy/webhosting_ftp_account_v1.js +1 -0
  305. package/lib/services.lazy/webhosting_hosting_v1.js +3 -0
  306. package/lib/services.lazy/webhosting_mail_account_v1.js +1 -0
  307. package/lib/services.lazy/webhosting_offer_v1.js +1 -0
  308. package/lib/services.lazy/webhosting_website_v1.js +1 -0
  309. package/lib/traits.d.ts +25 -0
  310. package/lib/traits.d.ts.map +1 -0
  311. package/lib/traits.js +1 -0
  312. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts +119 -0
  313. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.d.ts.map +1 -0
  314. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js +2 -0
  315. package/lib/unstable-services/apple_silicon_private_network_v1alpha1.js.map +1 -0
  316. package/lib/unstable-services/apple_silicon_v1alpha1.d.ts +569 -0
  317. package/lib/unstable-services/apple_silicon_v1alpha1.d.ts.map +1 -0
  318. package/lib/unstable-services/apple_silicon_v1alpha1.js +38 -0
  319. package/lib/unstable-services/apple_silicon_v1alpha1.js.map +1 -0
  320. package/lib/unstable-services/audit_trail_v1alpha1.d.ts +1082 -0
  321. package/lib/unstable-services/audit_trail_v1alpha1.d.ts.map +1 -0
  322. package/lib/unstable-services/audit_trail_v1alpha1.js +47 -0
  323. package/lib/unstable-services/audit_trail_v1alpha1.js.map +1 -0
  324. package/lib/unstable-services/autoscaling_v1alpha2.d.ts +368 -0
  325. package/lib/unstable-services/autoscaling_v1alpha2.d.ts.map +1 -0
  326. package/lib/unstable-services/autoscaling_v1alpha2.js +2 -0
  327. package/lib/unstable-services/autoscaling_v1alpha2.js.map +1 -0
  328. package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts +78 -0
  329. package/lib/unstable-services/billing_fin_ops_v2beta1.d.ts.map +1 -0
  330. package/lib/unstable-services/billing_fin_ops_v2beta1.js +2 -0
  331. package/lib/unstable-services/billing_fin_ops_v2beta1.js.map +1 -0
  332. package/lib/unstable-services/billing_v2beta1.d.ts +411 -0
  333. package/lib/unstable-services/billing_v2beta1.d.ts.map +1 -0
  334. package/lib/unstable-services/billing_v2beta1.js +25 -0
  335. package/lib/unstable-services/billing_v2beta1.js.map +1 -0
  336. package/lib/unstable-services/block_v1alpha1.d.ts +372 -0
  337. package/lib/unstable-services/block_v1alpha1.d.ts.map +1 -0
  338. package/lib/unstable-services/block_v1alpha1.js +27 -0
  339. package/lib/unstable-services/block_v1alpha1.js.map +1 -0
  340. package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts +440 -0
  341. package/lib/unstable-services/data_orchestrator_v1alpha2.d.ts.map +1 -0
  342. package/lib/unstable-services/data_orchestrator_v1alpha2.js +27 -0
  343. package/lib/unstable-services/data_orchestrator_v1alpha2.js.map +1 -0
  344. package/lib/unstable-services/datalab_v1beta1.d.ts +322 -0
  345. package/lib/unstable-services/datalab_v1beta1.d.ts.map +1 -0
  346. package/lib/unstable-services/datalab_v1beta1.js +2 -0
  347. package/lib/unstable-services/datalab_v1beta1.js.map +1 -0
  348. package/lib/unstable-services/dataviz_v1alpha1.d.ts +456 -0
  349. package/lib/unstable-services/dataviz_v1alpha1.d.ts.map +1 -0
  350. package/lib/unstable-services/dataviz_v1alpha1.js +34 -0
  351. package/lib/unstable-services/dataviz_v1alpha1.js.map +1 -0
  352. package/lib/unstable-services/datawarehouse_v1beta1.d.ts +492 -0
  353. package/lib/unstable-services/datawarehouse_v1beta1.d.ts.map +1 -0
  354. package/lib/unstable-services/datawarehouse_v1beta1.js +34 -0
  355. package/lib/unstable-services/datawarehouse_v1beta1.js.map +1 -0
  356. package/lib/unstable-services/domain_registrar_v2beta1.d.ts +1087 -0
  357. package/lib/unstable-services/domain_registrar_v2beta1.d.ts.map +1 -0
  358. package/lib/unstable-services/domain_registrar_v2beta1.js +50 -0
  359. package/lib/unstable-services/domain_registrar_v2beta1.js.map +1 -0
  360. package/lib/unstable-services/domain_suggestion_v2beta1.d.ts +19 -0
  361. package/lib/unstable-services/domain_suggestion_v2beta1.d.ts.map +1 -0
  362. package/lib/unstable-services/domain_suggestion_v2beta1.js +2 -0
  363. package/lib/unstable-services/domain_suggestion_v2beta1.js.map +1 -0
  364. package/lib/unstable-services/domain_v2beta1.d.ts +520 -0
  365. package/lib/unstable-services/domain_v2beta1.d.ts.map +1 -0
  366. package/lib/unstable-services/domain_v2beta1.js +44 -0
  367. package/lib/unstable-services/domain_v2beta1.js.map +1 -0
  368. package/lib/unstable-services/edge_services_v1beta1.d.ts +1153 -0
  369. package/lib/unstable-services/edge_services_v1beta1.d.ts.map +1 -0
  370. package/lib/unstable-services/edge_services_v1beta1.js +81 -0
  371. package/lib/unstable-services/edge_services_v1beta1.js.map +1 -0
  372. package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts +149 -0
  373. package/lib/unstable-services/environmental_footprint_user_v1alpha1.d.ts.map +1 -0
  374. package/lib/unstable-services/environmental_footprint_user_v1alpha1.js +2 -0
  375. package/lib/unstable-services/environmental_footprint_user_v1alpha1.js.map +1 -0
  376. package/lib/unstable-services/file_v1alpha1.d.ts +350 -0
  377. package/lib/unstable-services/file_v1alpha1.d.ts.map +1 -0
  378. package/lib/unstable-services/file_v1alpha1.js +24 -0
  379. package/lib/unstable-services/file_v1alpha1.js.map +1 -0
  380. package/lib/unstable-services/flexible_ip_v1alpha1.d.ts +241 -0
  381. package/lib/unstable-services/flexible_ip_v1alpha1.d.ts.map +1 -0
  382. package/lib/unstable-services/flexible_ip_v1alpha1.js +2 -0
  383. package/lib/unstable-services/flexible_ip_v1alpha1.js.map +1 -0
  384. package/lib/unstable-services/functions_v1beta1.d.ts +852 -0
  385. package/lib/unstable-services/functions_v1beta1.d.ts.map +1 -0
  386. package/lib/unstable-services/functions_v1beta1.js +49 -0
  387. package/lib/unstable-services/functions_v1beta1.js.map +1 -0
  388. package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts +257 -0
  389. package/lib/unstable-services/iam_unauthenticated_v1alpha1.d.ts.map +1 -0
  390. package/lib/unstable-services/iam_unauthenticated_v1alpha1.js +2 -0
  391. package/lib/unstable-services/iam_unauthenticated_v1alpha1.js.map +1 -0
  392. package/lib/unstable-services/iam_v1alpha1.d.ts +1506 -0
  393. package/lib/unstable-services/iam_v1alpha1.d.ts.map +1 -0
  394. package/lib/unstable-services/iam_v1alpha1.js +105 -0
  395. package/lib/unstable-services/iam_v1alpha1.js.map +1 -0
  396. package/lib/unstable-services/index.d.ts +44 -0
  397. package/lib/unstable-services/index.d.ts.map +1 -0
  398. package/lib/unstable-services/index.js +43 -0
  399. package/lib/unstable-services/instance_v2alpha1.d.ts +1755 -0
  400. package/lib/unstable-services/instance_v2alpha1.d.ts.map +1 -0
  401. package/lib/unstable-services/instance_v2alpha1.js +81 -0
  402. package/lib/unstable-services/instance_v2alpha1.js.map +1 -0
  403. package/lib/unstable-services/instance_volume_v2alpha1.d.ts +333 -0
  404. package/lib/unstable-services/instance_volume_v2alpha1.d.ts.map +1 -0
  405. package/lib/unstable-services/instance_volume_v2alpha1.js +26 -0
  406. package/lib/unstable-services/instance_volume_v2alpha1.js.map +1 -0
  407. package/lib/unstable-services/interlink_v1beta1.d.ts +636 -0
  408. package/lib/unstable-services/interlink_v1beta1.d.ts.map +1 -0
  409. package/lib/unstable-services/interlink_v1beta1.js +39 -0
  410. package/lib/unstable-services/interlink_v1beta1.js.map +1 -0
  411. package/lib/unstable-services/kafka_v1alpha1.d.ts +451 -0
  412. package/lib/unstable-services/kafka_v1alpha1.d.ts.map +1 -0
  413. package/lib/unstable-services/kafka_v1alpha1.js +27 -0
  414. package/lib/unstable-services/kafka_v1alpha1.js.map +1 -0
  415. package/lib/unstable-services/key_manager_v1alpha1.d.ts +515 -0
  416. package/lib/unstable-services/key_manager_v1alpha1.d.ts.map +1 -0
  417. package/lib/unstable-services/key_manager_v1alpha1.js +36 -0
  418. package/lib/unstable-services/key_manager_v1alpha1.js.map +1 -0
  419. package/lib/unstable-services/mailbox_v1alpha1.d.ts +438 -0
  420. package/lib/unstable-services/mailbox_v1alpha1.d.ts.map +1 -0
  421. package/lib/unstable-services/mailbox_v1alpha1.js +39 -0
  422. package/lib/unstable-services/mailbox_v1alpha1.js.map +1 -0
  423. package/lib/unstable-services/messageq_v1alpha1.d.ts +420 -0
  424. package/lib/unstable-services/messageq_v1alpha1.d.ts.map +1 -0
  425. package/lib/unstable-services/messageq_v1alpha1.js +29 -0
  426. package/lib/unstable-services/messageq_v1alpha1.js.map +1 -0
  427. package/lib/unstable-services/mnq_console_v1beta1.d.ts +32 -0
  428. package/lib/unstable-services/mnq_console_v1beta1.d.ts.map +1 -0
  429. package/lib/unstable-services/mnq_console_v1beta1.js +2 -0
  430. package/lib/unstable-services/mnq_console_v1beta1.js.map +1 -0
  431. package/lib/unstable-services/mnq_nats_v1beta1.d.ts +177 -0
  432. package/lib/unstable-services/mnq_nats_v1beta1.d.ts.map +1 -0
  433. package/lib/unstable-services/mnq_nats_v1beta1.js +2 -0
  434. package/lib/unstable-services/mnq_nats_v1beta1.js.map +1 -0
  435. package/lib/unstable-services/mnq_sns_v1beta1.d.ts +155 -0
  436. package/lib/unstable-services/mnq_sns_v1beta1.d.ts.map +1 -0
  437. package/lib/unstable-services/mnq_sns_v1beta1.js +2 -0
  438. package/lib/unstable-services/mnq_sns_v1beta1.js.map +1 -0
  439. package/lib/unstable-services/mnq_sqs_v1beta1.d.ts +155 -0
  440. package/lib/unstable-services/mnq_sqs_v1beta1.d.ts.map +1 -0
  441. package/lib/unstable-services/mnq_sqs_v1beta1.js +2 -0
  442. package/lib/unstable-services/mnq_sqs_v1beta1.js.map +1 -0
  443. package/lib/unstable-services/mongodb_v1alpha1.d.ts +604 -0
  444. package/lib/unstable-services/mongodb_v1alpha1.d.ts.map +1 -0
  445. package/lib/unstable-services/mongodb_v1alpha1.js +37 -0
  446. package/lib/unstable-services/mongodb_v1alpha1.js.map +1 -0
  447. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts +479 -0
  448. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.d.ts.map +1 -0
  449. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js +2 -0
  450. package/lib/unstable-services/product_catalog_public_catalog_v2alpha1.js.map +1 -0
  451. package/lib/unstable-services/qaas_v1alpha1.d.ts +764 -0
  452. package/lib/unstable-services/qaas_v1alpha1.d.ts.map +1 -0
  453. package/lib/unstable-services/qaas_v1alpha1.js +51 -0
  454. package/lib/unstable-services/qaas_v1alpha1.js.map +1 -0
  455. package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts +794 -0
  456. package/lib/unstable-services/s2s_vpn_v1alpha1.d.ts.map +1 -0
  457. package/lib/unstable-services/s2s_vpn_v1alpha1.js +45 -0
  458. package/lib/unstable-services/s2s_vpn_v1alpha1.js.map +1 -0
  459. package/lib/unstable-services/search_v1alpha1.d.ts +120 -0
  460. package/lib/unstable-services/search_v1alpha1.d.ts.map +1 -0
  461. package/lib/unstable-services/search_v1alpha1.js +2 -0
  462. package/lib/unstable-services/search_v1alpha1.js.map +1 -0
  463. package/lib/unstable-services/searchdb_v1alpha1.d.ts +424 -0
  464. package/lib/unstable-services/searchdb_v1alpha1.d.ts.map +1 -0
  465. package/lib/unstable-services/searchdb_v1alpha1.js +29 -0
  466. package/lib/unstable-services/searchdb_v1alpha1.js.map +1 -0
  467. package/lib/unstable-services/secret_manager_v1beta1.d.ts +407 -0
  468. package/lib/unstable-services/secret_manager_v1beta1.d.ts.map +1 -0
  469. package/lib/unstable-services/secret_manager_v1beta1.js +32 -0
  470. package/lib/unstable-services/secret_manager_v1beta1.js.map +1 -0
  471. package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts +331 -0
  472. package/lib/unstable-services/serverless_jobs_v1alpha1.d.ts.map +1 -0
  473. package/lib/unstable-services/serverless_jobs_v1alpha1.js +28 -0
  474. package/lib/unstable-services/serverless_jobs_v1alpha1.js.map +1 -0
  475. package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts +546 -0
  476. package/lib/unstable-services/serverless_jobs_v1alpha2.d.ts.map +1 -0
  477. package/lib/unstable-services/serverless_jobs_v1alpha2.js +35 -0
  478. package/lib/unstable-services/serverless_jobs_v1alpha2.js.map +1 -0
  479. package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts +239 -0
  480. package/lib/unstable-services/serverless_sqldb_v1alpha1.d.ts.map +1 -0
  481. package/lib/unstable-services/serverless_sqldb_v1alpha1.js +2 -0
  482. package/lib/unstable-services/serverless_sqldb_v1alpha1.js.map +1 -0
  483. package/lib/unstable-services/transactional_email_v1alpha1.d.ts +936 -0
  484. package/lib/unstable-services/transactional_email_v1alpha1.d.ts.map +1 -0
  485. package/lib/unstable-services/transactional_email_v1alpha1.js +46 -0
  486. package/lib/unstable-services/transactional_email_v1alpha1.js.map +1 -0
  487. package/lib/unstable-services.lazy/apple_silicon_private_network_v1alpha1.js +1 -0
  488. package/lib/unstable-services.lazy/apple_silicon_v1alpha1.js +3 -0
  489. package/lib/unstable-services.lazy/audit_trail_v1alpha1.js +3 -0
  490. package/lib/unstable-services.lazy/autoscaling_v1alpha2.js +1 -0
  491. package/lib/unstable-services.lazy/billing_fin_ops_v2beta1.js +1 -0
  492. package/lib/unstable-services.lazy/billing_v2beta1.js +3 -0
  493. package/lib/unstable-services.lazy/block_v1alpha1.js +3 -0
  494. package/lib/unstable-services.lazy/data_orchestrator_v1alpha2.js +3 -0
  495. package/lib/unstable-services.lazy/datalab_v1beta1.js +1 -0
  496. package/lib/unstable-services.lazy/dataviz_v1alpha1.js +3 -0
  497. package/lib/unstable-services.lazy/datawarehouse_v1beta1.js +3 -0
  498. package/lib/unstable-services.lazy/domain_registrar_v2beta1.js +3 -0
  499. package/lib/unstable-services.lazy/domain_suggestion_v2beta1.js +1 -0
  500. package/lib/unstable-services.lazy/domain_v2beta1.js +3 -0
  501. package/lib/unstable-services.lazy/edge_services_v1beta1.js +3 -0
  502. package/lib/unstable-services.lazy/environmental_footprint_user_v1alpha1.js +1 -0
  503. package/lib/unstable-services.lazy/file_v1alpha1.js +3 -0
  504. package/lib/unstable-services.lazy/flexible_ip_v1alpha1.js +1 -0
  505. package/lib/unstable-services.lazy/functions_v1beta1.js +3 -0
  506. package/lib/unstable-services.lazy/iam_unauthenticated_v1alpha1.js +1 -0
  507. package/lib/unstable-services.lazy/iam_v1alpha1.js +3 -0
  508. package/lib/unstable-services.lazy/index.js +3 -0
  509. package/lib/unstable-services.lazy/instance_v2alpha1.js +3 -0
  510. package/lib/unstable-services.lazy/instance_volume_v2alpha1.js +3 -0
  511. package/lib/unstable-services.lazy/interlink_v1beta1.js +3 -0
  512. package/lib/unstable-services.lazy/kafka_v1alpha1.js +3 -0
  513. package/lib/unstable-services.lazy/key_manager_v1alpha1.js +3 -0
  514. package/lib/unstable-services.lazy/mailbox_v1alpha1.js +3 -0
  515. package/lib/unstable-services.lazy/messageq_v1alpha1.js +3 -0
  516. package/lib/unstable-services.lazy/mnq_console_v1beta1.js +1 -0
  517. package/lib/unstable-services.lazy/mnq_nats_v1beta1.js +1 -0
  518. package/lib/unstable-services.lazy/mnq_sns_v1beta1.js +1 -0
  519. package/lib/unstable-services.lazy/mnq_sqs_v1beta1.js +1 -0
  520. package/lib/unstable-services.lazy/mongodb_v1alpha1.js +3 -0
  521. package/lib/unstable-services.lazy/product_catalog_public_catalog_v2alpha1.js +1 -0
  522. package/lib/unstable-services.lazy/qaas_v1alpha1.js +3 -0
  523. package/lib/unstable-services.lazy/s2s_vpn_v1alpha1.js +3 -0
  524. package/lib/unstable-services.lazy/search_v1alpha1.js +1 -0
  525. package/lib/unstable-services.lazy/searchdb_v1alpha1.js +3 -0
  526. package/lib/unstable-services.lazy/secret_manager_v1beta1.js +3 -0
  527. package/lib/unstable-services.lazy/serverless_jobs_v1alpha1.js +3 -0
  528. package/lib/unstable-services.lazy/serverless_jobs_v1alpha2.js +3 -0
  529. package/lib/unstable-services.lazy/serverless_sqldb_v1alpha1.js +1 -0
  530. package/lib/unstable-services.lazy/transactional_email_v1alpha1.js +3 -0
  531. package/package.json +89 -2
  532. package/src/credentials.ts +104 -0
  533. package/src/errors.ts +307 -0
  534. package/src/index.ts +52 -0
  535. package/src/pagination.ts +65 -0
  536. package/src/protocol.ts +496 -0
  537. package/src/retry.ts +47 -0
  538. package/src/services/account_contract_v3.ts +441 -0
  539. package/src/services/account_iso_code_v3.ts +165 -0
  540. package/src/services/account_organization_v3.ts +947 -0
  541. package/src/services/account_project_v3.ts +530 -0
  542. package/src/services/account_unauthenticated_user_v3.ts +1445 -0
  543. package/src/services/account_unauthenticated_v3.ts +92 -0
  544. package/src/services/account_user_v3.ts +1657 -0
  545. package/src/services/annotations_v1.ts +897 -0
  546. package/src/services/baremetal_private_network_v1.ts +327 -0
  547. package/src/services/baremetal_private_network_v3.ts +376 -0
  548. package/src/services/baremetal_v1.ts +3072 -0
  549. package/src/services/billing_electronic_billing_v2.ts +323 -0
  550. package/src/services/billing_v2.ts +662 -0
  551. package/src/services/block_v1.ts +1282 -0
  552. package/src/services/cockpit_global_v1.ts +282 -0
  553. package/src/services/cockpit_regional_v1.ts +2177 -0
  554. package/src/services/containers_v1.ts +2110 -0
  555. package/src/services/dedibox_billing_v1.ts +621 -0
  556. package/src/services/dedibox_ipv6_block_v1.ts +468 -0
  557. package/src/services/dedibox_rpn_san_v1.ts +1185 -0
  558. package/src/services/dedibox_rpn_v1.ts +207 -0
  559. package/src/services/dedibox_rpn_v1_v1.ts +1763 -0
  560. package/src/services/dedibox_rpn_v2_v1.ts +1654 -0
  561. package/src/services/dedibox_v1.ts +3765 -0
  562. package/src/services/generative_apis_openai_v1.ts +1692 -0
  563. package/src/services/generative_apis_v1.ts +251 -0
  564. package/src/services/index.ts +57 -0
  565. package/src/services/inference_v1.ts +1353 -0
  566. package/src/services/instance_v1.ts +6611 -0
  567. package/src/services/iot_v1.ts +2419 -0
  568. package/src/services/ipam_v1.ts +716 -0
  569. package/src/services/k8s_v1.ts +3108 -0
  570. package/src/services/lb_zoned_v1.ts +4533 -0
  571. package/src/services/marketplace_console_v2.ts +198 -0
  572. package/src/services/marketplace_v2.ts +625 -0
  573. package/src/services/mongodb_v1.ts +2104 -0
  574. package/src/services/partner_v1.ts +462 -0
  575. package/src/services/rdb_encryption_v1.ts +83 -0
  576. package/src/services/rdb_v1.ts +4211 -0
  577. package/src/services/redis_v1.ts +1918 -0
  578. package/src/services/registry_v1.ts +863 -0
  579. package/src/services/reseller_v1.ts +258 -0
  580. package/src/services/vpc_gw_v2.ts +2137 -0
  581. package/src/services/vpc_private_network_with_nics_v2.ts +311 -0
  582. package/src/services/vpc_routes_with_nexthop_v2.ts +226 -0
  583. package/src/services/vpc_v2.ts +2533 -0
  584. package/src/services/webhosting_backup_v1.ts +578 -0
  585. package/src/services/webhosting_control_panel_v1.ts +130 -0
  586. package/src/services/webhosting_database_v1.ts +682 -0
  587. package/src/services/webhosting_dedibox_v1.ts +480 -0
  588. package/src/services/webhosting_dns_v1.ts +471 -0
  589. package/src/services/webhosting_free_domain_v1.ts +190 -0
  590. package/src/services/webhosting_ftp_account_v1.ts +280 -0
  591. package/src/services/webhosting_hosting_v1.ts +1309 -0
  592. package/src/services/webhosting_mail_account_v1.ts +291 -0
  593. package/src/services/webhosting_offer_v1.ts +289 -0
  594. package/src/services/webhosting_website_v1.ts +274 -0
  595. package/src/traits.ts +63 -0
  596. package/src/unstable-services/apple_silicon_private_network_v1alpha1.ts +395 -0
  597. package/src/unstable-services/apple_silicon_v1alpha1.ts +1685 -0
  598. package/src/unstable-services/audit_trail_v1alpha1.ts +3220 -0
  599. package/src/unstable-services/autoscaling_v1alpha2.ts +1103 -0
  600. package/src/unstable-services/billing_fin_ops_v2beta1.ts +195 -0
  601. package/src/unstable-services/billing_v2beta1.ts +1203 -0
  602. package/src/unstable-services/block_v1alpha1.ts +1239 -0
  603. package/src/unstable-services/data_orchestrator_v1alpha2.ts +1230 -0
  604. package/src/unstable-services/datalab_v1beta1.ts +852 -0
  605. package/src/unstable-services/dataviz_v1alpha1.ts +1478 -0
  606. package/src/unstable-services/datawarehouse_v1beta1.ts +1504 -0
  607. package/src/unstable-services/domain_registrar_v2beta1.ts +2979 -0
  608. package/src/unstable-services/domain_suggestion_v2beta1.ts +86 -0
  609. package/src/unstable-services/domain_v2beta1.ts +1794 -0
  610. package/src/unstable-services/edge_services_v1beta1.ts +3724 -0
  611. package/src/unstable-services/environmental_footprint_user_v1alpha1.ts +429 -0
  612. package/src/unstable-services/file_v1alpha1.ts +1016 -0
  613. package/src/unstable-services/flexible_ip_v1alpha1.ts +804 -0
  614. package/src/unstable-services/functions_v1beta1.ts +2410 -0
  615. package/src/unstable-services/iam_unauthenticated_v1alpha1.ts +863 -0
  616. package/src/unstable-services/iam_v1alpha1.ts +4919 -0
  617. package/src/unstable-services/index.ts +44 -0
  618. package/src/unstable-services/instance_v2alpha1.ts +5395 -0
  619. package/src/unstable-services/instance_volume_v2alpha1.ts +1111 -0
  620. package/src/unstable-services/interlink_v1beta1.ts +1791 -0
  621. package/src/unstable-services/kafka_v1alpha1.ts +1275 -0
  622. package/src/unstable-services/key_manager_v1alpha1.ts +1618 -0
  623. package/src/unstable-services/mailbox_v1alpha1.ts +1561 -0
  624. package/src/unstable-services/messageq_v1alpha1.ts +1266 -0
  625. package/src/unstable-services/mnq_console_v1beta1.ts +111 -0
  626. package/src/unstable-services/mnq_nats_v1beta1.ts +608 -0
  627. package/src/unstable-services/mnq_sns_v1beta1.ts +523 -0
  628. package/src/unstable-services/mnq_sqs_v1beta1.ts +523 -0
  629. package/src/unstable-services/mongodb_v1alpha1.ts +1789 -0
  630. package/src/unstable-services/product_catalog_public_catalog_v2alpha1.ts +1113 -0
  631. package/src/unstable-services/qaas_v1alpha1.ts +2404 -0
  632. package/src/unstable-services/s2s_vpn_v1alpha1.ts +2173 -0
  633. package/src/unstable-services/search_v1alpha1.ts +349 -0
  634. package/src/unstable-services/searchdb_v1alpha1.ts +1273 -0
  635. package/src/unstable-services/secret_manager_v1beta1.ts +1255 -0
  636. package/src/unstable-services/serverless_jobs_v1alpha1.ts +1017 -0
  637. package/src/unstable-services/serverless_jobs_v1alpha2.ts +1516 -0
  638. package/src/unstable-services/serverless_sqldb_v1alpha1.ts +747 -0
  639. package/src/unstable-services/transactional_email_v1alpha1.ts +2495 -0
@@ -0,0 +1,350 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
3
+ export type { ScalewayOpError, ScalewayOpContext };
4
+ export type CreateFileSystemRequestRegion = "fr-par";
5
+ export interface CreateFileSystemRequestFromEmpty {
6
+ /** Filesystem size in bytes, with a granularity in GB (10^9 bytes). Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. (in bytes) */
7
+ size: number;
8
+ }
9
+ export interface CreateFileSystemRequestFromSnapshot {
10
+ /** Filesystem size in bytes, with a granularity in GB (10^9 bytes). Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. Size is optional. When not set, the current size of the parent filesystem is used. When set, it must be greater than or equal to the snapshot size. (in bytes) */
11
+ size?: number | null | undefined;
12
+ /** Source snapshot from which the filesystem will be created. */
13
+ snapshot_id: string;
14
+ }
15
+ /** List of tags assigned to the filesystem. */
16
+ export type CreateFileSystemRequestTagsList = Array<string>;
17
+ export interface CreateFileSystemRequest {
18
+ /** The region you want to target */
19
+ region?: CreateFileSystemRequestRegion | (string & {}) | undefined;
20
+ /** Name of the filesystem. */
21
+ name: string;
22
+ /** UUID of the project the filesystem belongs to. (UUID format) */
23
+ project_id: string;
24
+ /** Deprecated: use `from_empty.size` instead. Filesystem size in bytes, with a granularity in GB (10^9 bytes). Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. Must not be set along with `from_empty` or `from_snapshot`. */
25
+ size?: number | undefined;
26
+ /** Specify the size of the new filesystem if creating a new one from scratch. Precisely one of from_empty, from_snapshot can be set. */
27
+ from_empty?: CreateFileSystemRequestFromEmpty | null | undefined;
28
+ /** Specify the snapshot ID of the original snapshot to create the filesystem from. Precisely one of from_empty, from_snapshot can be set. */
29
+ from_snapshot?: CreateFileSystemRequestFromSnapshot | null | undefined;
30
+ /** Type of the filesystem. */
31
+ type?: string | null | undefined;
32
+ /** List of tags assigned to the filesystem. */
33
+ tags?: CreateFileSystemRequestTagsList | undefined;
34
+ }
35
+ export type FileSystemStatus = "unknown_status" | "available" | "error" | "creating" | "updating" | "snapshotting";
36
+ /** List of tags assigned to the filesystem. */
37
+ export type FileSystemTagsList = Array<string>;
38
+ export interface FileSystem {
39
+ /** UUID of the filesystem. (UUID format) */
40
+ id?: string | undefined;
41
+ /** Name of the filesystem. */
42
+ name?: string | undefined;
43
+ /** Filesystem size in bytes. (in bytes) */
44
+ size?: number | undefined;
45
+ /** Current status of the filesystem (e.g. creating, available, ...). */
46
+ status?: FileSystemStatus | undefined;
47
+ /** UUID of the project to which the filesystem belongs. (UUID format) */
48
+ project_id?: string | undefined;
49
+ /** UUID of the organization to which the filesystem belongs. (UUID format) */
50
+ organization_id?: string | undefined;
51
+ /** List of tags assigned to the filesystem. */
52
+ tags?: FileSystemTagsList | undefined;
53
+ /** The current number of attachments (mounts) that the filesystem has. */
54
+ number_of_attachments?: number | undefined;
55
+ /** Region where the filesystem is located. */
56
+ region?: string | undefined;
57
+ /** Creation date of the filesystem. (RFC 3339 format) */
58
+ created_at?: string | null | undefined;
59
+ /** Last update date of the properties of the filesystem. (RFC 3339 format) */
60
+ updated_at?: string | null | undefined;
61
+ /** UUID of the filesystem type. (UUID format) */
62
+ filesystem_type_id?: string | undefined;
63
+ /** The SRN of the filesystem. */
64
+ srn?: string | undefined;
65
+ }
66
+ export type CreateSnapshotRequestRegion = "fr-par";
67
+ /** List of tags assigned to the snapshot. */
68
+ export type CreateSnapshotRequestTagsList = Array<string>;
69
+ export interface CreateSnapshotRequest {
70
+ /** The region you want to target */
71
+ region?: CreateSnapshotRequestRegion | (string & {}) | undefined;
72
+ /** UUID of the filesystem to snapshot. (UUID format) */
73
+ filesystem_id: string;
74
+ /** Name of the snapshot. */
75
+ name: string;
76
+ /** UUID of the project to which the filesystem and the snapshot belong. (UUID format) */
77
+ project_id: string;
78
+ /** List of tags assigned to the snapshot. */
79
+ tags?: CreateSnapshotRequestTagsList | undefined;
80
+ }
81
+ export interface SnapshotParentFilesystem {
82
+ /** Parent filesystem UUID (filesystem from which the snapshot originates). (UUID format) */
83
+ id?: string | undefined;
84
+ /** Name of the parent filesystem. */
85
+ name?: string | undefined;
86
+ }
87
+ export type SnapshotStatus = "unknown_status" | "available" | "error" | "creating" | "deleting" | "deleted" | "locked" | "cloning";
88
+ /** List of tags assigned to the snapshot. */
89
+ export type SnapshotTagsList = Array<string>;
90
+ export interface Snapshot {
91
+ /** UUID of the snapshot. (UUID format) */
92
+ id?: string | undefined;
93
+ /** Name of the snapshot. */
94
+ name?: string | undefined;
95
+ /** Information about the parent filesystem. If the parent filesystem was deleted, value is null. */
96
+ parent_filesystem?: SnapshotParentFilesystem | undefined;
97
+ /** Snapshot size in bytes. (in bytes) */
98
+ size?: number | null | undefined;
99
+ /** Current status of the snapshot (e.g. creating, available, ...). */
100
+ status?: SnapshotStatus | undefined;
101
+ /** UUID of the project to which the snapshot belongs. (UUID format) */
102
+ project_id?: string | undefined;
103
+ /** UUID of the organization to which the snapshot belongs. (UUID format) */
104
+ organization_id?: string | undefined;
105
+ /** List of tags assigned to the snapshot. */
106
+ tags?: SnapshotTagsList | undefined;
107
+ /** Creation date of the snapshot. (RFC 3339 format) */
108
+ created_at?: string | null | undefined;
109
+ /** Last update date of the properties of the snapshot. (RFC 3339 format) */
110
+ updated_at?: string | null | undefined;
111
+ /** Region where the snapshot is located. */
112
+ region?: string | undefined;
113
+ /** The SRN of the snapshot. */
114
+ srn?: string | undefined;
115
+ }
116
+ export type DeleteFileSystemRequestRegion = "fr-par";
117
+ export interface DeleteFileSystemRequest {
118
+ /** The region you want to target */
119
+ region?: DeleteFileSystemRequestRegion | (string & {}) | undefined;
120
+ /** UUID of the filesystem. (UUID format) */
121
+ filesystem_id: string;
122
+ }
123
+ export interface DeleteFileSystemResponse {
124
+ }
125
+ export type DeleteSnapshotRequestRegion = "fr-par";
126
+ export interface DeleteSnapshotRequest {
127
+ /** The region you want to target */
128
+ region?: DeleteSnapshotRequestRegion | (string & {}) | undefined;
129
+ /** UUID of the snapshot. (UUID format) */
130
+ snapshot_id: string;
131
+ }
132
+ export type GetFileSystemRequestRegion = "fr-par";
133
+ export interface GetFileSystemRequest {
134
+ /** The region you want to target */
135
+ region?: GetFileSystemRequestRegion | (string & {}) | undefined;
136
+ /** UUID of the filesystem. (UUID format) */
137
+ filesystem_id: string;
138
+ }
139
+ export type GetSnapshotRequestRegion = "fr-par";
140
+ export interface GetSnapshotRequest {
141
+ /** The region you want to target */
142
+ region?: GetSnapshotRequestRegion | (string & {}) | undefined;
143
+ /** UUID of the snapshot. (UUID format) */
144
+ snapshot_id: string;
145
+ }
146
+ export type ListAttachmentsRequestRegion = "fr-par";
147
+ export type AttachmentResourceType = "unknown_resource_type" | "instance_server";
148
+ export interface ListAttachmentsRequest {
149
+ /** The region you want to target */
150
+ region?: ListAttachmentsRequestRegion | (string & {}) | undefined;
151
+ /** UUID of the File Storage volume. (UUID format) */
152
+ filesystem_id?: string | undefined;
153
+ /** Filter by resource ID. (UUID format) */
154
+ resource_id?: string | undefined;
155
+ /** Filter by resource type. */
156
+ resource_type?: AttachmentResourceType | (string & {}) | undefined;
157
+ /** Filter by resource zone. */
158
+ zone?: string | undefined;
159
+ /** Page number (starting at 1). */
160
+ page?: number | undefined;
161
+ /** Number of entries per page (default: 20, max: 100). */
162
+ page_size?: number | undefined;
163
+ }
164
+ export interface Attachment {
165
+ /** UUID of the attachment. (UUID format) */
166
+ id?: string | undefined;
167
+ /** UUID of the filesystem. (UUID format) */
168
+ filesystem_id?: string | undefined;
169
+ /** UUID of the attached resource. (UUID format) */
170
+ resource_id?: string | undefined;
171
+ /** The type of the attached resource. */
172
+ resource_type?: AttachmentResourceType | undefined;
173
+ /** The zone where the resource is located. */
174
+ zone?: string | null | undefined;
175
+ /** The region where the attachment is located. */
176
+ region?: string | undefined;
177
+ /** The SRN of the attachment. */
178
+ srn?: string | undefined;
179
+ }
180
+ /** List of filesystem attachments matching the request criteria. */
181
+ export type ListAttachmentsResponseAttachmentsList = Array<Attachment>;
182
+ export interface ListAttachmentsResponse {
183
+ /** List of filesystem attachments matching the request criteria. */
184
+ attachments: ListAttachmentsResponseAttachmentsList;
185
+ /** Total number of filesystem attachments matching the criteria. */
186
+ total_count?: number | undefined;
187
+ }
188
+ export type ListFileSystemsRequestRegion = "fr-par";
189
+ export type ListFileSystemsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
190
+ export type ListFileSystemsRequestTagsList = Array<string>;
191
+ export type ListFileSystemsRequestFilesystemIdsList = Array<string>;
192
+ export interface ListFileSystemsRequest {
193
+ /** The region you want to target */
194
+ region?: ListFileSystemsRequestRegion | (string & {}) | undefined;
195
+ /** Criteria to use when ordering the list. */
196
+ order_by?: ListFileSystemsRequestOrderBy | (string & {}) | undefined;
197
+ /** Filter by project ID. */
198
+ project_id?: string | undefined;
199
+ /** Filter by organization ID. */
200
+ organization_id?: string | undefined;
201
+ /** Page number (starting at 1). */
202
+ page?: number | undefined;
203
+ /** Number of entries per page (default: 20, max: 100). */
204
+ page_size?: number | undefined;
205
+ /** Filter the returned filesystems by their names. */
206
+ name?: string | undefined;
207
+ /** Type of the filesystem. */
208
+ filesystem_type?: string | undefined;
209
+ /** Filter by tags. Only filesystems with one or more matching tags will be returned. */
210
+ tags?: ListFileSystemsRequestTagsList | undefined;
211
+ /** Filter by filesystem IDs. Only filesystems with one or more matching IDs will be returned. */
212
+ filesystem_ids?: ListFileSystemsRequestFilesystemIdsList | undefined;
213
+ }
214
+ /** List of filesystems matching the request criteria. */
215
+ export type ListFileSystemsResponseFilesystemsList = Array<FileSystem>;
216
+ export interface ListFileSystemsResponse {
217
+ /** List of filesystems matching the request criteria. */
218
+ filesystems: ListFileSystemsResponseFilesystemsList;
219
+ /** Total number of filesystems matching the criteria. */
220
+ total_count?: number | undefined;
221
+ }
222
+ export type ListFileSystemTypesRequestRegion = "fr-par";
223
+ export interface ListFileSystemTypesRequest {
224
+ /** The region you want to target */
225
+ region?: ListFileSystemTypesRequestRegion | (string & {}) | undefined;
226
+ /** Page number (starts at 1). */
227
+ page?: number | undefined;
228
+ /** Number of entries per page (default: 50, max: 100). */
229
+ page_size?: number | undefined;
230
+ }
231
+ export interface GoogleTypeMoney {
232
+ currency_code?: string | undefined;
233
+ units?: number | undefined;
234
+ nanos?: number | undefined;
235
+ }
236
+ export interface FileSystemType {
237
+ /** Filesystem type name. */
238
+ name?: string | undefined;
239
+ /** Price of the filesystem billed in GB/hour. */
240
+ filesystem_price_gb_per_hour?: GoogleTypeMoney | undefined;
241
+ /** Price of the snapshot billed in GB/hour. */
242
+ snapshot_price_gb_per_hour?: GoogleTypeMoney | undefined;
243
+ }
244
+ /** Returns paginated list of filesystem-types. */
245
+ export type ListFileSystemTypesResponseFilesystemTypesList = Array<FileSystemType>;
246
+ export interface ListFileSystemTypesResponse {
247
+ /** Returns paginated list of filesystem-types. */
248
+ filesystem_types: ListFileSystemTypesResponseFilesystemTypesList;
249
+ /** Total number of file system types. */
250
+ total_count?: number | undefined;
251
+ }
252
+ export type ListSnapshotsRequestRegion = "fr-par";
253
+ export type ListSnapshotsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
254
+ export type ListSnapshotsRequestTagsList = Array<string>;
255
+ export type ListSnapshotsRequestSnapshotIdsList = Array<string>;
256
+ export interface ListSnapshotsRequest {
257
+ /** The region you want to target */
258
+ region?: ListSnapshotsRequestRegion | (string & {}) | undefined;
259
+ /** Criteria to use when ordering the list. */
260
+ order_by?: ListSnapshotsRequestOrderBy | (string & {}) | undefined;
261
+ /** Page number (starting at 1). */
262
+ page?: number | undefined;
263
+ /** Number of entries per page (default: 20, max: 100). */
264
+ page_size?: number | undefined;
265
+ /** Filter the returned snapshots by their names. */
266
+ name?: string | undefined;
267
+ /** Filter by tags. Only snapshots with one or more matching tags will be returned. */
268
+ tags?: ListSnapshotsRequestTagsList | undefined;
269
+ /** Filter the returned snapshots by the ID of the original filesystem. */
270
+ filesystem_id?: string | undefined;
271
+ /** Filter by snapshot IDs. Only snapshots with one or more matching IDs will be returned. */
272
+ snapshot_ids?: ListSnapshotsRequestSnapshotIdsList | undefined;
273
+ /** Filter by project ID. One of project_id, organization_id is required. */
274
+ project_id?: string | undefined;
275
+ /** Filter by organization ID. One of project_id, organization_id is required. */
276
+ organization_id?: string | undefined;
277
+ }
278
+ /** List of snapshots matching the request criteria. */
279
+ export type ListSnapshotsResponseSnapshotsList = Array<Snapshot>;
280
+ export interface ListSnapshotsResponse {
281
+ /** List of snapshots matching the request criteria. */
282
+ snapshots: ListSnapshotsResponseSnapshotsList;
283
+ /** Total number of snapshots matching the criteria. */
284
+ total_count?: number | undefined;
285
+ }
286
+ export type UpdateFileSystemRequestRegion = "fr-par";
287
+ /** List of tags assigned to the filesystem. */
288
+ export type UpdateFileSystemRequestTagsList = Array<unknown>;
289
+ export interface UpdateFileSystemRequest {
290
+ /** The region you want to target */
291
+ region?: UpdateFileSystemRequestRegion | (string & {}) | undefined;
292
+ /** UUID of the filesystem. (UUID format) */
293
+ filesystem_id: string;
294
+ /** When defined, is the new name of the filesystem. */
295
+ name?: string | null | undefined;
296
+ /** Optional field for increasing the size of the filesystem (must be larger than the current size). Size in bytes, with a granularity in GB (10^9 bytes). Must be compliant with the minimum (25 GB) and maximum (50 TB) allowed size. */
297
+ size?: number | null | undefined;
298
+ /** List of tags assigned to the filesystem. */
299
+ tags?: UpdateFileSystemRequestTagsList | null | undefined;
300
+ }
301
+ export type UpdateSnapshotRequestRegion = "fr-par";
302
+ /** List of tags assigned to the snapshot. */
303
+ export type UpdateSnapshotRequestTagsList = Array<unknown>;
304
+ export interface UpdateSnapshotRequest {
305
+ /** The region you want to target */
306
+ region?: UpdateSnapshotRequestRegion | (string & {}) | undefined;
307
+ /** UUID of the snapshot. (UUID format) */
308
+ snapshot_id: string;
309
+ /** When defined, is the new name of the snapshot. */
310
+ name?: string | null | undefined;
311
+ /** List of tags assigned to the snapshot. */
312
+ tags?: UpdateSnapshotRequestTagsList | null | undefined;
313
+ }
314
+ export type CreateFileSystemError = ScalewayOpError;
315
+ /** Create a new filesystem To create a new filesystem, you must specify a name, a project ID, and either a size (`from_empty`) or a source snapshot (`from_snapshot`). */
316
+ export declare const createFileSystem: API.OperationMethod<CreateFileSystemRequest, FileSystem, CreateFileSystemError, ScalewayOpContext>;
317
+ export type CreateSnapshotError = ScalewayOpError;
318
+ /** Create a snapshot of a filesystem To create a snapshot, the filesystem must be in the `available` status. If your filesystem is in a transient state, you need to wait until the end of the current operation. */
319
+ export declare const createSnapshot: API.OperationMethod<CreateSnapshotRequest, Snapshot, CreateSnapshotError, ScalewayOpContext>;
320
+ export type DeleteFileSystemError = ScalewayOpError;
321
+ /** Delete a detached filesystem You must specify the `filesystem_id` of the filesystem you want to delete. */
322
+ export declare const deleteFileSystem: API.OperationMethod<DeleteFileSystemRequest, DeleteFileSystemResponse, DeleteFileSystemError, ScalewayOpContext>;
323
+ export type DeleteSnapshotError = ScalewayOpError;
324
+ /** Delete a snapshot You must specify the `snapshot_id` of the snapshot you want to delete. */
325
+ export declare const deleteSnapshot: API.OperationMethod<DeleteSnapshotRequest, Snapshot, DeleteSnapshotError, ScalewayOpContext>;
326
+ export type GetFileSystemError = ScalewayOpError;
327
+ /** Get filesystem details Retrieve all properties and current status of a specific filesystem identified by its ID. */
328
+ export declare const getFileSystem: API.OperationMethod<GetFileSystemRequest, FileSystem, GetFileSystemError, ScalewayOpContext>;
329
+ export type GetSnapshotError = ScalewayOpError;
330
+ /** Get snapshot details Retrieve all properties and current status of a specific snapshot identified by its ID. */
331
+ export declare const getSnapshot: API.OperationMethod<GetSnapshotRequest, Snapshot, GetSnapshotError, ScalewayOpContext>;
332
+ export type ListAttachmentsError = ScalewayOpError;
333
+ /** List filesystems attachments List all existing attachments in a specified region. By default, the attachments listed are ordered by creation date in ascending order. This can be modified using the `order_by` field. */
334
+ export declare const listAttachments: API.PaginatedOperationMethod<ListAttachmentsRequest, ListAttachmentsResponse, ListAttachmentsError, ScalewayOpContext, Attachment>;
335
+ export type ListFileSystemsError = ScalewayOpError;
336
+ /** List all filesystems Retrieve all filesystems in the specified region. By default, the filesystems listed are ordered by creation date in ascending order. This can be modified using the `order_by` field. */
337
+ export declare const listFileSystems: API.PaginatedOperationMethod<ListFileSystemsRequest, ListFileSystemsResponse, ListFileSystemsError, ScalewayOpContext, FileSystem>;
338
+ export type ListFileSystemTypesError = ScalewayOpError;
339
+ /** List filesystems types */
340
+ export declare const listFileSystemTypes: API.PaginatedOperationMethod<ListFileSystemTypesRequest, ListFileSystemTypesResponse, ListFileSystemTypesError, ScalewayOpContext, FileSystemType>;
341
+ export type ListSnapshotsError = ScalewayOpError;
342
+ /** List all snapshots Retrieve all snapshots in the specified region. By default, the snapshots listed are ordered by creation date in ascending order. This can be modified using the `order_by` field. */
343
+ export declare const listSnapshots: API.PaginatedOperationMethod<ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsError, ScalewayOpContext, Snapshot>;
344
+ export type UpdateFileSystemError = ScalewayOpError;
345
+ /** Update filesystem properties Update the technical details of a filesystem, such as its name, tags or its new size. */
346
+ export declare const updateFileSystem: API.OperationMethod<UpdateFileSystemRequest, FileSystem, UpdateFileSystemError, ScalewayOpContext>;
347
+ export type UpdateSnapshotError = ScalewayOpError;
348
+ /** Update snapshot properties Update the name or tags of a snapshot. */
349
+ export declare const updateSnapshot: API.OperationMethod<UpdateSnapshotRequest, Snapshot, UpdateSnapshotError, ScalewayOpContext>;
350
+ //# sourceMappingURL=file_v1alpha1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file_v1alpha1.d.ts","sources":["../../src/unstable-services/file_v1alpha1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,6BAA6B,GAAG,QAAQ,CAAC;AACrD,MAAM,WAAW,gCAAgC;IAC/C,+JAA+J;IAC/J,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,mCAAmC;IAClD,mTAAmT;IACnT,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,iEAAiE;IACjE,WAAW,EAAE,MAAM,CAAC;CACrB;AACD,+CAA+C;AAC/C,MAAM,M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d as s,l as c,ld as l,n as u,nd as d,o as f,pagination$paginateByTotalCount as p,protocol$ScalewayProtocol as m,retry$Retry as h,sd as g,td as _,traits$Http as v,traits$Label as y,traits$Query as b}from"../_bundle/sdk.js";const x={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`FileV1alpha1`,labels:`scaleway`,propagate:`w3c`};const S=/*@__PURE__*/ u(e=>e===t?c(`CreateFileSystem`,`{input:#3,output:#10:0,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$3(>4)@"%RequestFromEmpty";$3(>5)@"%RequestFromSnapshot";$3(>6)@"%Request";$2({size:$1});$2({size:$5($4($1)),snapshot_id:$6});$2({region:$5($6.pipe($8())),name:$6,project_id:$6,size:$5($1),from_empty:$5($4(#1)),from_snapshot:$5($4(#2)),type:$5($4($6)),tags:$5(#9:0)}).pipe($7({method:"POST",uri:"/file/v1alpha1/regions/{region}/filesystems",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,i,s,_,r,g,o,v,y,__d0,__d1,a,m,h,x]):n(S,e));const C=/*@__PURE__*/ u(e=>e===t?c(`CreateSnapshot`,`{input:#1,output:#8:1,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),filesystem_id:$3,name:$3,project_id:$3,tags:$4(#5:0)}).pipe($1({method:"POST",uri:"/file/v1alpha1/regions/{region}/snapshots",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,o,g,__d0,s,_,__d2,a,m,h,x]):n(C,e));const w=/*@__PURE__*/ u(e=>e===t?c(`DeleteFileSystem`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({region:$4($3.pipe($2())),filesystem_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/file/v1alpha1/regions/{region}/filesystems/{filesystem_id}",code:200,baseUrl:"https://api.scaleway.com"}));$5({})`,[d,v,y,o,g,s,_,a,m,h,x]):n(w,e));const T=/*@__PURE__*/ u(e=>e===t?c(`DeleteSnapshot`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),snapshot_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/file/v1alpha1/regions/{region}/snapshots/{snapshot_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,o,g,s,_,__d2,a,m,h,x]):n(T,e));const E=/*@__PURE__*/ u(e=>e===t?c(`GetFileSystem`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),filesystem_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/file/v1alpha1/regions/{region}/filesystems/{filesystem_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,o,g,s,_,__d1,a,m,h,x]):n(E,e));const D=/*@__PURE__*/ u(e=>e===t?c(`GetSnapshot`,`{input:#1,output:#7:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),snapshot_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/file/v1alpha1/regions/{region}/snapshots/{snapshot_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,o,g,s,_,__d2,a,m,h,x]):n(D,e));const O=/*@__PURE__*/ f(l=>l===t?c(`ListAttachments`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"attachments",pageSize:"page_size"},strategy:$15};$8(>5)@"%Request";$8(>6)@"Attachment";$10(#2);$8(>7)@"%Response";$7({region:$4($3.pipe($2())),filesystem_id:$4($3.pipe($5())),resource_id:$4($3.pipe($5())),resource_type:$4($3.pipe($5())),zone:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/file/v1alpha1/regions/{region}/attachments",code:200,baseUrl:"https://api.scaleway.com"}));$7({id:$4($3),filesystem_id:$4($3),resource_id:$4($3),resource_type:$4($3),zone:$4($9($3)),region:$4($3),srn:$4($3)});$7({attachments:#3,total_count:$4($6)})`,[d,v,y,o,g,b,i,s,_,r,e,a,m,h,x,p]):n(O,l));const k=/*@__PURE__*/ f(r=>r===t?c(`ListFileSystems`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"filesystems",pageSize:"page_size"},strategy:$16};$9(>4)@"%Request";$11(#10:0);$9(>5)@"%Response";$8({region:$4($3.pipe($2())),order_by:$4($3.pipe($5())),project_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),name:$4($3.pipe($5())),filesystem_type:$4($3.pipe($5())),tags:$4(#7:0.pipe($5())),filesystem_ids:$4(#7:0.pipe($5()))}).pipe($1({method:"GET",uri:"/file/v1alpha1/regions/{region}/filesystems",code:200,baseUrl:"https://api.scaleway.com"}));$8({filesystems:#2,total_count:$4($6)})`,[d,v,y,o,g,b,i,__d0,s,_,__d1,e,a,m,h,x,p]):n(k,r));const A=/*@__PURE__*/ f(r=>r===t?c(`FileSystemType`,`{input:#1,output:#5,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"List%s",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"filesystem_types",pageSize:"page_size"},strategy:$14};$8(>6)@"List%sRequest";$8(>7)@"GoogleTypeMoney";$8(>8)@"%";$9(#3);$8(>9)@"List%sResponse";$7({region:$4($3.pipe($2())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/file/v1alpha1/regions/{region}/filesystem-types",code:200,baseUrl:"https://api.scaleway.com"}));$7({currency_code:$4($3),units:$4($6),nanos:$4($6)});$7({name:$4($3),filesystem_price_gb_per_hour:$4(#2),snapshot_price_gb_per_hour:$4(#2)});$7({filesystem_types:#4,total_count:$4($6)})`,[d,v,y,o,g,b,i,s,_,e,a,m,h,x,p]):n(A,r));const j=/*@__PURE__*/ f(r=>r===t?c(`ListSnapshots`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"snapshots",pageSize:"page_size"},strategy:$16};$9(>4)@"%Request";$11(#10:1);$9(>5)@"%Response";$8({region:$4($3.pipe($2())),order_by:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),name:$4($3.pipe($5())),tags:$4(#7:0.pipe($5())),filesystem_id:$4($3.pipe($5())),snapshot_ids:$4(#7:0.pipe($5())),project_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/file/v1alpha1/regions/{region}/snapshots",code:200,baseUrl:"https://api.scaleway.com"}));$8({snapshots:#2,total_count:$4($6)})`,[d,v,y,o,g,b,i,__d0,s,_,__d2,e,a,m,h,x,p]):n(j,r));const M=/*@__PURE__*/ u(e=>e===t?c(`UpdateFileSystem`,`{input:#1,output:#10:0,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>2)@"%Request";$8({region:$4($3.pipe($2())),filesystem_id:$3.pipe($2()),name:$4($5($3)),size:$4($5($6)),tags:$4($5(#7:0))}).pipe($1({method:"PATCH",uri:"/file/v1alpha1/regions/{region}/filesystems/{filesystem_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,o,g,r,i,__d3,s,_,__d1,a,m,h,x]):n(M,e));const N=/*@__PURE__*/ u(e=>e===t?c(`UpdateSnapshot`,`{input:#1,output:#9:1,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),snapshot_id:$3.pipe($2()),name:$4($5($3)),tags:$4($5(#6:0))}).pipe($1({method:"PATCH",uri:"/file/v1alpha1/regions/{region}/snapshots/{snapshot_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[d,v,y,o,g,r,__d3,s,_,__d2,a,m,h,x]):n(N,e));function __d0(){return[`$2($1)`,[d,o,e]]}function __d1(){return[`$7(>1)@"FileSystem";$6({id:$2($1),name:$2($1),size:$2($3),status:$2($1),project_id:$2($1),organization_id:$2($1),tags:$2(#4:0),number_of_attachments:$2($3),region:$2($1),created_at:$2($5($1)),updated_at:$2($5($1)),filesystem_type_id:$2($1),srn:$2($1)})`,[d,o,g,i,__d0,r,s,_]]}function __d2(){return[`$4(>2)@"SnapshotParentFilesystem";$4(>3)@"Snapshot";$3({id:$2($1),name:$2($1)});$3({id:$2($1),name:$2($1),parent_filesystem:$2(#0),size:$2($6($5)),status:$2($1),project_id:$2($1),organization_id:$2($1),tags:$2(#7:0),created_at:$2($6($1)),updated_at:$2($6($1)),region:$2($1),srn:$2($1)})`,[d,o,g,s,_,i,r,__d0]]}function __d3(){return[`$2($1)`,[d,l,e]]}export{S as createFileSystem,C as createSnapshot,w as deleteFileSystem,T as deleteSnapshot,E as getFileSystem,D as getSnapshot,O as listAttachments,A as listFileSystemTypes,k as listFileSystems,j as listSnapshots,M as updateFileSystem,N as updateSnapshot};
2
+ /*
3
+ 21 17
4
+ e:0:Tc t:0:a n:0:b r:0:bd i:0:cd a:0:errors$ScalewayServiceErrors o:0:fd s:0:gd c:0:l l:0:ld u:0:n d:0:nd f:0:o p:0:pagination$paginateByTotalCount m:0:protocol$ScalewayProtocol h:0:retry$Retry g:0:sd _:0:td v:0:traits$Http y:0:traits$Label b:0:traits$Query
5
+ 000000001s0003h000550006u0008h000a3000c0000dz000ft000hr000jo000li000lu000mp000nu000oz000pu
6
+ 2 h7 wu S|=CreateFileSystem;i2 vj;b,4,7,h,3,g,6,i,j,y,z,5,e,f,x
7
+ 2 xk 18b C|=CreateSnapshot;yd 174;b,i,j,6,g,y,7,h,10,5,e,f,x
8
+ 2 191 1k1 w|=DeleteFileSystem;19w 1j4;b,i,j,6,g,7,h,5,e,f,x
9
+ 2 1kr 1v1 T|=DeleteSnapshot;1lk 1tz;b,i,j,6,g,7,h,10,5,e,f,x
10
+ 2 1vr 263 E|=GetFileSystem;1wj 251;b,i,j,6,g,7,h,z,5,e,f,x
11
+ 2 26t 2gx D|=GetSnapshot;27j 2fv;b,i,j,6,g,7,h,10,5,e,f,x
12
+ 2 2hn 34q O|=ListAttachments;2ih 33j;b,i,j,6,g,k,4,7,h,3,0,5,e,f,x,d
13
+ 2 35g 3ri k|=ListFileSystems;36a 3q3;b,i,j,6,g,k,4,y,7,h,z,0,5,e,f,x,d
14
+ 2 3s8 4dv A|=FileSystemType;3t1 4cq;b,i,j,6,g,k,4,7,h,0,5,e,f,x,d
15
+ 2 4el 50b j|=ListSnapshots;4fd 4yw;b,i,j,6,g,k,4,y,7,h,10,0,5,e,f,x,d
16
+ 2 511 5d8 M|=UpdateFileSystem;51w 5bx;b,i,j,6,g,3,4,11,7,h,z,5,e,f,x
17
+ 2 5dy 5pe N|=UpdateSnapshot;5er 5o5;b,i,j,6,g,3,11,7,h,10,5,e,f,x
18
+ 0 8u gi x||
19
+ 1 5pg 5ql __d0|=;5q4 5qa;b,6,0
20
+ 1 5ql 5yx __d1|=;5r9 5y9;b,6,g,4,y,3,7,h
21
+ 1 5yx 687 __d2|=;5zl 67j;b,6,g,7,h,4,3,y
22
+ 1 687 69c __d3|=;68v 691;b,9,0
23
+ */
24
+ //# sourceMappingURL=file_v1alpha1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file_v1alpha1.js","names":["API.D","API.named","__L.at","S.Number","S.Struct","S.suspend","S.NullOr","S.optional","S.String","T.Http","T.Label","Retry.Retry","API.call","T.Query","S.Array","S.Unknown","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","Unknown","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","createFileSystem","i","createSnapshot","deleteFileSystem","deleteSnapshot","getFileSystem","getSnapshot","listAttachments","listFileSystems","listFileSystemTypes","listSnapshots","updateFileSystem","updateSnapshot"],"sources":["../../src/unstable-services/file_v1alpha1.ts"],"mappings":"sTAaA,MAAMqC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,eACT,OAAQ,WACR,UAAW,KACb,EA+UA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMvC,EAAQC,EAAU,mBAAoB,weAAye,CAACC,EAAQC,EAAUC,EAAUC,EAAWC,EAAUC,EAAYC,EAAUC,EAAQC,EAAS,KAAM,KAAMW,EAAuBS,EAAkBnB,EAAa0B,CAAS,CAAC,EAAIzB,EAAS0B,EAAkBC,CAAC,CAAC,EAIrwB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMvC,EAAQC,EAAU,iBAAkB,8TAA+T,CAACC,EAAQO,EAAQC,EAASF,EAAUD,EAAY,KAAMH,EAAUC,EAAW,KAAMgB,EAAuBS,EAAkBnB,EAAa0B,CAAS,CAAC,EAAIzB,EAAS4B,EAAgBD,CAAC,CAAC,EAInkB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMvC,EAAQC,EAAU,mBAAoB,+UAAgV,CAACC,EAAQO,EAAQC,EAASF,EAAUD,EAAYH,EAAUC,EAAWgB,EAAuBS,EAAkBnB,EAAa0B,CAAS,CAAC,EAAIzB,EAAS6B,EAAkBF,CAAC,CAAC,EAI5kB,MAAaG,EAKK,gBAAQ,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