@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,2 @@
1
+ import{Tc as e,Uc as t,a as n,b as r,bd as i,cd as a,errors$ScalewayServiceErrors as o,fd as s,gd as c,l,ld as u,n as d,nd as f,o as p,pagination$paginateToken as m,protocol$ScalewayProtocol as h,retry$Retry as g,sd as _,td as v,traits$Http as y,traits$Label as b,traits$Query as x}from"../_bundle/sdk.js";const S={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:`AutoscalingV1alpha2`,labels:`scaleway`,propagate:`w3c`};const C=/*@__PURE__*/ d(e=>e===n?l(`CreateGroup`,`{input:#1,output:#9:7,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({zone:$4($3.pipe($2())),project_id:$4($3),name:$4($3),tags:$4(#5:0),template_id:$4($3),scaling_policy_spec:$4(#6:0),load_balancer_configuration_spec:$4(#6:2)}).pipe($1({method:"POST",uri:"/autoscaling/v1alpha2/zones/{zone}/groups",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,__d0,__d3,c,v,__d2,o,h,g,S]):r(C,e));const w=/*@__PURE__*/ d(e=>e===n?l(`DeleteGroup`,`{input:#1,output:#7:7,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),group_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/autoscaling/v1alpha2/zones/{zone}/groups/{group_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d2,o,h,g,S]):r(w,e));const T=/*@__PURE__*/ d(e=>e===n?l(`GetGroup`,`{input:#1,output:#7:7,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),group_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/autoscaling/v1alpha2/zones/{zone}/groups/{group_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d2,o,h,g,S]):r(T,e));const E=/*@__PURE__*/ p(e=>e===n?l(`ListAlerts`,`{input:#1,output:#2,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"token",inputToken:"page_token",outputToken:"next_page_token",items:"alerts",pageSize:"page_size"},strategy:$15};$8(>3)@"%Request";$8(>4)@"%Response";$7({zone:$4($3.pipe($2())),page_token:$4($3.pipe($5())),page_size:$4($6.pipe($5())),group_id:$4($3.pipe($5())),project_id:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/autoscaling/v1alpha2/zones/{zone}/alerts",code:200,baseUrl:"https://api.scaleway.com"}));$7({alerts:#9:0,next_page_token:$4($10($3)),total_count:$4($6)})`,[f,y,b,s,_,x,a,c,v,__d1,i,o,h,g,S,m]):r(E,e));const D=/*@__PURE__*/ p(t=>t===n?l(`ListGroups`,`{input:#1,output:#4,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"token",inputToken:"page_token",outputToken:"next_page_token",items:"group_summaries",pageSize:"page_size"},strategy:$16};$8(>5)@"%Request";$8(>6)@"GroupSummary";$11(#2);$8(>7)@"%Response";$7({zone:$4($3.pipe($2())),order_by:$4($3.pipe($5())),page_size:$4($6.pipe($5())),page_token:$4($3.pipe($5())),project_id:$3.pipe($5()),template_id:$4($3.pipe($5())),load_balancer_id:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/autoscaling/v1alpha2/zones/{zone}/groups",code:200,baseUrl:"https://api.scaleway.com"}));$7({srn:$4($3),project_id:$4($3),id:$4($3),name:$4($3),tags:$4(#9:0),status:$4($3),created_at:$4($10($3)),updated_at:$4($10($3)),template_id:$4($3),load_balancer_id:$4($10($3)),current_size:$4($6),latest_open_alert:$4(#9:1),minimum_size:$4($6),maximum_size:$4($6),scaling_policy_target_type:$4($3),zone:$4($3)});$7({group_summaries:#3,next_page_token:$4($10($3)),total_count:$4($6)})`,[f,y,b,s,_,x,a,c,v,__d0,i,e,o,h,g,S,m]):r(D,t));const O=/*@__PURE__*/ p(t=>t===n?l(`ListLogs`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"token",inputToken:"page_token",outputToken:"next_page_token",items:"logs",pageSize:"page_size"},strategy:$15};$8(>5)@"%Request";$8(>6)@"Log";$10(#2);$8(>7)@"%Response";$7({zone:$4($3.pipe($2())),group_id:$3.pipe($5()),page_token:$4($3.pipe($5())),page_size:$4($6.pipe($5())),start_time:$4($3.pipe($5())),end_time:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/autoscaling/v1alpha2/zones/{zone}/logs",code:200,baseUrl:"https://api.scaleway.com"}));$7({timestamp:$4($9($3)),level:$4($3),message:$4($3)});$7({logs:#3,next_page_token:$4($9($3)),total_count:$4($6)})`,[f,y,b,s,_,x,a,c,v,i,e,o,h,g,S,m]):r(O,t));const k=/*@__PURE__*/ p(t=>t===n?l(`ListServers`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"token",inputToken:"page_token",outputToken:"next_page_token",items:"servers",pageSize:"page_size"},strategy:$15};$8(>5)@"%Request";$8(>6)@"Server";$9(#2);$8(>7)@"%Response";$7({zone:$4($3.pipe($2())),group_id:$3.pipe($5()),page_token:$4($3.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/autoscaling/v1alpha2/zones/{zone}/servers",code:200,baseUrl:"https://api.scaleway.com"}));$7({server_id:$4($3)});$7({servers:#3,next_page_token:$4($10($3)),total_count:$4($6)})`,[f,y,b,s,_,x,a,c,v,e,i,o,h,g,S,m]):r(k,t));const A=/*@__PURE__*/ d(e=>e===n?l(`RefreshGroup`,`{input:#1,output:#7:7,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),group_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/autoscaling/v1alpha2/zones/{zone}/groups/{group_id}/refresh",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,c,v,__d2,o,h,g,S]):r(A,e));const j=/*@__PURE__*/ d(t=>t===n?l(`UpdateGroup`,`{input:#2,output:#11:7,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$2($1);$10(>3)@"%Request";$9({zone:$6($5.pipe($4())),group_id:$5.pipe($4()),name:$6($7($5)),tags:$6($7(#1)),template_id:$6($7($5)),scaling_policy_spec:$6(#8:0),load_balancer_configuration_spec:$6(#8:2)}).pipe($3({method:"PATCH",uri:"/autoscaling/v1alpha2/zones/{zone}/groups/{group_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,u,e,y,b,s,_,i,__d3,c,v,__d2,o,h,g,S]):r(j,t));function __d0(){return[`$2($1);$6(>2)@"Alert";$5({type:$3($1),opened_at:$3($4($1)),closed_at:$3($4($1)),group_id:$3($1),failing_quotas:$3(#0)})`,[f,s,e,_,i,c,v]]}function __d1(){return[`$2(#1:1)`,[f,__d0,e]]}function __d2(){return[`$4(>8)@"GroupScalingPolicyScalingPolicyFixedSize";$4(>9)@"GroupScalingPolicyScalingPolicyCpuTarget";$4(>10)@"LoadBalancerConfigurationSpecBackend";$7(#2);$4(>11)@"GroupScalingPolicy";$4(>12)@"GroupLoadBalancerConfigurationAutoHealing";$4(>13)@"GroupLoadBalancerConfiguration";$4(>14)@"Group";$3({size:$2($1)});$3({target_avg_percent:$2($1)});$3({backend_id:$2($5),address_family:$2($5),private_network_id:$2($6($5))});$3({minimum_size:$2($1),maximum_size:$2($1),scale_out_cooldown:$2($6($5)),scale_in_cooldown:$2($6($5)),scale_in_step:$2($1),scale_out_step:$2($1),fixed_size:$2($6(#0)),cpu_target:$2($6(#1)),memory_target:$2($6(#1))});$3({enabled:$2($8),grace_period:$2($6($5))});$3({load_balancer_id:$2($5),backends:$2(#3),auto_healing:$2(#5)});$3({srn:$2($5),id:$2($5),project_id:$2($5),name:$2($5),tags:$2(#9:0),created_at:$2($6($5)),updated_at:$2($6($5)),status:$2($5),open_alerts:$2(#10:0),current_size:$2($1),target_size:$2($1),last_scale_out_at:$2($6($5)),last_scale_in_at:$2($6($5)),template_id:$2($5),scaling_policy:$2(#4),load_balancer_configuration:$2(#6),zone:$2($5)})`,[f,a,_,c,v,s,i,e,t,__d0,__d1]]}function __d3(){return[`$7(>3)@"ScalingPolicySpec";$7(>4)@"LoadBalancerConfigurationSpecAutoHealing";$7(>5)@"LoadBalancerConfigurationSpec";$6({minimum_size:$3($2($1)),maximum_size:$3($2($1)),scale_out_cooldown:$3($2($4)),scale_in_cooldown:$3($2($4)),scale_in_step:$3($2($1)),scale_out_step:$3($2($1)),fixed_size:$3($2(#5:0)),cpu_target:$3($2(#5:1)),memory_target:$3($2(#5:1))});$6({enabled:$3($2($8)),grace_period:$3($2($4))});$6({load_balancer_id:$3($2($4)),backends:$3(#5:3),auto_healing:$3(#1)})`,[f,a,i,_,s,__d2,c,v,t]]}export{C as createGroup,w as deleteGroup,T as getGroup,E as listAlerts,D as listGroups,O as listLogs,k as listServers,A as refreshGroup,j as updateGroup};
2
+ //# sourceMappingURL=autoscaling_v1alpha2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autoscaling_v1alpha2.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Query","S.Number","S.NullOr","S.Array","S.Unknown","S.Boolean","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","Unknown","op","at","opPaginated","paginateToken","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","createGroup","i","named","deleteGroup","getGroup","listAlerts","listGroups","listLogs","listServers","refreshGroup","updateGroup"],"sources":["../../src/unstable-services/autoscaling_v1alpha2.ts"],"mappings":"kTAaA,MAAMsC,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,sBACT,OAAQ,WACR,UAAW,KACb,EA4dA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMxC,EAAQC,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CACjkB"}
@@ -0,0 +1,78 @@
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 ListChargesRequestOrderBy = "start_date_asc" | "start_date_desc";
5
+ export type ListChargesRequestInvoiceIdsList = Array<string>;
6
+ export type ListChargesRequestProjectIdsList = Array<string>;
7
+ export type ListChargesRequestResourceIdsList = Array<string>;
8
+ export type ListChargesRequestResourceNamesList = Array<string>;
9
+ export type ListChargesRequestSkusList = Array<string>;
10
+ export interface ListChargesRequest {
11
+ /** Sort order of charges in the response. */
12
+ order_by?: ListChargesRequestOrderBy | (string & {}) | undefined;
13
+ /** Token returned by previous call to list next paginated charges, omitted for first page. */
14
+ page_token?: string | undefined;
15
+ /** Number of charges to return per page. */
16
+ page_size?: number | undefined;
17
+ /** Minimum start date of charges to filter for, defaults to the start of the billing period. (RFC 3339 format) */
18
+ start_date_after?: string | undefined;
19
+ /** Maximum end date of charges to filter for, defaults to the end of the billing period. (RFC 3339 format) */
20
+ end_date_before?: string | undefined;
21
+ /** Invoice IDs to filter for, only charges from these invoices will be returned. (UUID format) */
22
+ invoice_ids?: ListChargesRequestInvoiceIdsList | undefined;
23
+ /** Organization ID to filter for, only charges for this organization will be returned. */
24
+ organization_id: string;
25
+ /** Project IDs to filter for, only charges for these projects will be returned. (UUID format) */
26
+ project_ids?: ListChargesRequestProjectIdsList | undefined;
27
+ /** Resource IDs to filter for, only charges for these resources will be returned. */
28
+ resource_ids?: ListChargesRequestResourceIdsList | undefined;
29
+ /** Resource display names to filter for, only charges for these resources will be returned. */
30
+ resource_names?: ListChargesRequestResourceNamesList | undefined;
31
+ /** SKU IDs to filter for, only charges for these SKUs will be returned. */
32
+ skus?: ListChargesRequestSkusList | undefined;
33
+ /** Clamp charges to the requested time range. */
34
+ clamp_to_time_range?: boolean | undefined;
35
+ }
36
+ export interface GoogleTypeMoney {
37
+ currency_code?: string | undefined;
38
+ units?: number | undefined;
39
+ nanos?: number | undefined;
40
+ }
41
+ export interface Charge {
42
+ /** ID of the charged organization. (UUID format) */
43
+ organization_id?: string | undefined;
44
+ /** Name of the charged organization. */
45
+ organization_name?: string | undefined;
46
+ /** ID of the charged project. (UUID format) */
47
+ project_id?: string | undefined;
48
+ /** Name of the charged project. */
49
+ project_name?: string | undefined;
50
+ /** ID of the SKU the charge is priced with. */
51
+ sku?: string | undefined;
52
+ /** ID of the invoice including the charge. (UUID format) */
53
+ invoice_id?: string | undefined;
54
+ /** ID of the resource that incurs the charge. */
55
+ resource_id?: string | undefined;
56
+ /** Optional display name assigned to the resource that incurs the charge. */
57
+ resource_name?: string | null | undefined;
58
+ /** Price of the charge. */
59
+ price?: GoogleTypeMoney | undefined;
60
+ /** Start date of the charge. (RFC 3339 format) */
61
+ start_date?: string | null | undefined;
62
+ /** End date of the charge, included. (RFC 3339 format) */
63
+ end_date?: string | null | undefined;
64
+ /** Date the charge was last updated. (RFC 3339 format) */
65
+ updated_at?: string | null | undefined;
66
+ }
67
+ /** Paginated matching charges. */
68
+ export type ListChargesResponseChargesList = Array<Charge>;
69
+ export interface ListChargesResponse {
70
+ /** Paginated matching charges. */
71
+ charges: ListChargesResponseChargesList;
72
+ /** Page token to use with following call to keep listing charges if there are more. */
73
+ next_page_token?: string | null | undefined;
74
+ }
75
+ export type ListChargesError = ScalewayOpError;
76
+ /** List charges List charges for organizations or projects. You must specify at least `organization_ids` or `project_ids`. */
77
+ export declare const listCharges: API.PaginatedOperationMethod<ListChargesRequest, ListChargesResponse, ListChargesError, ScalewayOpContext, Charge>;
78
+ //# sourceMappingURL=billing_fin_ops_v2beta1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing_fin_ops_v2beta1.d.ts","sources":["../../src/unstable-services/billing_fin_ops_v2beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EA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AE,8BAA8B,CAAC;IACxC,uFAAuF;IACvF,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC7C;AACD,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC/C,8HAA8H;AAC9H,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,wBAAwB,CACpD,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,MAAM,CAoBA,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{Tc as e,Uc as t,a as n,b as r,bd as i,cd as a,errors$ScalewayServiceErrors as o,fd as s,gd as c,l,nd as u,o as d,pagination$paginateToken as f,protocol$ScalewayProtocol as p,retry$Retry as m,sd as h,td as g,traits$Http as _,traits$Query as v}from"../_bundle/sdk.js";const y={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:`BillingFinOpsV2beta1`,propagate:`w3c`};const b=/*@__PURE__*/ d(d=>d===n?l(`ListCharges`,`{input:#2,output:#6,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"token",inputToken:"page_token",outputToken:"next_page_token",items:"charges",pageSize:"page_size"},strategy:$15};$2($1);$9(>7)@"%Request";$9(>8)@"GoogleTypeMoney";$9(>9)@"Charge";$2(#4);$9(>10)@"%Response";$8({order_by:$5($1.pipe($4())),page_token:$5($1.pipe($4())),page_size:$5($6.pipe($4())),start_date_after:$5($1.pipe($4())),end_date_before:$5($1.pipe($4())),invoice_ids:$5(#1.pipe($4())),organization_id:$1.pipe($4()),project_ids:$5(#1.pipe($4())),resource_ids:$5(#1.pipe($4())),resource_names:$5(#1.pipe($4())),skus:$5(#1.pipe($4())),clamp_to_time_range:$5($7.pipe($4()))}).pipe($3({method:"GET",uri:"/billing/v2beta1/charges",code:200,baseUrl:"https://api.scaleway.com"}));$8({currency_code:$5($1),units:$5($6),nanos:$5($6)});$8({organization_id:$5($1),organization_name:$5($1),project_id:$5($1),project_name:$5($1),sku:$5($1),invoice_id:$5($1),resource_id:$5($1),resource_name:$5($10($1)),price:$5(#3),start_date:$5($10($1)),end_date:$5($10($1)),updated_at:$5($10($1))});$8({charges:#5,next_page_token:$5($10($1))})`,[u,s,e,_,v,h,a,t,c,g,i,o,p,m,y,f]):r(b,d));export{b as listCharges};
2
+ //# sourceMappingURL=billing_fin_ops_v2beta1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing_fin_ops_v2beta1.js","names":["API.D","API.named","__L.at","S.String","S.Array","T.Http","T.Query","S.optional","S.Number","S.Boolean","S.Struct","S.suspend","S.NullOr","Retry.Retry","API.call","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","at","opPaginated","paginateToken","ScalewayProtocol","Retry","optional","suspend","Http","Query","TELEMETRY","listCharges","i","named"],"sources":["../../src/unstable-services/billing_fin_ops_v2beta1.ts"],"mappings":"iRAaA,MAAMiC,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,uBACT,UAAW,KACb,EA2EA,MAAaC,EAMK,gBAAiB,GAAgBC,IAAMnC,EAAQC,EAAU,cAAe,knCAAmnC,CAACC,EAAQC,EAAUC,EAASC,EAAQC,EAASC,EAAYC,EAAUC,EAAWC,EAAUC,EAAWC,EAAUS,EAAuBM,EAAkBd,EAAaoB,EAAWP,CAAa,CAAC,EAAIZ,EAASoB,EAAaC,CAAC,CAAC"}
@@ -0,0 +1,411 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
3
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
4
+ export type { ScalewayOpError, ScalewayOpContext };
5
+ export type DownloadInvoiceRequestFileType = "pdf";
6
+ export interface DownloadInvoiceRequest {
7
+ /** Invoice ID. (UUID format) */
8
+ invoice_id: string;
9
+ /** File type. PDF by default. */
10
+ file_type?: DownloadInvoiceRequestFileType | (string & {}) | undefined;
11
+ }
12
+ export interface ScalewayStdFile {
13
+ name?: string | undefined;
14
+ content_type?: string | undefined;
15
+ content?: string | undefined;
16
+ }
17
+ export interface DownloadInvoiceRawRequest {
18
+ /** Invoice ID. (UUID format) */
19
+ invoice_id: string;
20
+ /** File type. PDF by default. */
21
+ file_type?: DownloadInvoiceRequestFileType | (string & {}) | undefined;
22
+ }
23
+ export interface DownloadInvoiceRawResponse {
24
+ body: BinaryStream;
25
+ /** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
26
+ contentType?: string | undefined;
27
+ }
28
+ export type InvoiceType = "unknown_type" | "periodic" | "purchase" | "credit_note";
29
+ export type ExportInvoicesRequestOrderBy = "invoice_number_desc" | "invoice_number_asc" | "start_date_desc" | "start_date_asc" | "issued_date_desc" | "issued_date_asc" | "due_date_desc" | "due_date_asc" | "total_untaxed_desc" | "total_untaxed_asc" | "total_taxed_desc" | "total_taxed_asc" | "invoice_type_desc" | "invoice_type_asc";
30
+ export type ExportInvoicesRequestFileType = "csv";
31
+ export interface ExportInvoicesRequest {
32
+ /** Organization ID. If specified, only invoices from this Organization will be returned. (UUID format) */
33
+ organization_id?: string | undefined;
34
+ /** Return only invoice with start date greater than billing_period_start. (RFC 3339 format) */
35
+ billing_period_start_after?: string | undefined;
36
+ /** Return only invoice with start date less than billing_period_start. (RFC 3339 format) */
37
+ billing_period_start_before?: string | undefined;
38
+ /** Invoice type. It can either be `periodic`, `purchase` or `credit_note`. */
39
+ invoice_type?: InvoiceType | (string & {}) | undefined;
40
+ /** Page number. */
41
+ page?: number | undefined;
42
+ /** Positive integer lower or equal to 100 to select the number of items to return. */
43
+ page_size?: number | undefined;
44
+ /** How invoices are ordered in the response. */
45
+ order_by?: ExportInvoicesRequestOrderBy | (string & {}) | undefined;
46
+ /** File format for exporting the invoice list. */
47
+ file_type?: ExportInvoicesRequestFileType | (string & {}) | undefined;
48
+ }
49
+ export interface ExportInvoicesRawRequest {
50
+ /** Organization ID. If specified, only invoices from this Organization will be returned. (UUID format) */
51
+ organization_id?: string | undefined;
52
+ /** Return only invoice with start date greater than billing_period_start. (RFC 3339 format) */
53
+ billing_period_start_after?: string | undefined;
54
+ /** Return only invoice with start date less than billing_period_start. (RFC 3339 format) */
55
+ billing_period_start_before?: string | undefined;
56
+ /** Invoice type. It can either be `periodic`, `purchase` or `credit_note`. */
57
+ invoice_type?: InvoiceType | (string & {}) | undefined;
58
+ /** Page number. */
59
+ page?: number | undefined;
60
+ /** Positive integer lower or equal to 100 to select the number of items to return. */
61
+ page_size?: number | undefined;
62
+ /** How invoices are ordered in the response. */
63
+ order_by?: ExportInvoicesRequestOrderBy | (string & {}) | undefined;
64
+ /** File format for exporting the invoice list. */
65
+ file_type?: ExportInvoicesRequestFileType | (string & {}) | undefined;
66
+ }
67
+ export interface ExportInvoicesRawResponse {
68
+ body: BinaryStream;
69
+ /** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
70
+ contentType?: string | undefined;
71
+ }
72
+ export interface GetInvoiceRequest {
73
+ /** Invoice ID. (UUID format) */
74
+ invoice_id: string;
75
+ }
76
+ export interface GoogleTypeMoney {
77
+ currency_code?: string | undefined;
78
+ units?: number | undefined;
79
+ nanos?: number | undefined;
80
+ }
81
+ export interface Invoice {
82
+ /** Invoice ID. (UUID format) */
83
+ id?: string | undefined;
84
+ /** (UUID format) */
85
+ organization_id?: string | undefined;
86
+ organization_name?: string | undefined;
87
+ /** Start date of the billing period. (RFC 3339 format) */
88
+ start_date?: string | null | undefined;
89
+ /** (RFC 3339 format) */
90
+ stop_date?: string | null | undefined;
91
+ /** The billing period of the invoice in the YYYY-MM format. (RFC 3339 format) */
92
+ billing_period?: string | null | undefined;
93
+ /** Date when the invoice was sent to the customer. (RFC 3339 format) */
94
+ issued_date?: string | null | undefined;
95
+ /** Payment time limit, set according to the Organization's payment conditions. (RFC 3339 format) */
96
+ due_date?: string | null | undefined;
97
+ /** Total amount, untaxed. */
98
+ total_untaxed?: GoogleTypeMoney | undefined;
99
+ /** Total amount, taxed. */
100
+ total_taxed?: GoogleTypeMoney | undefined;
101
+ /** The total tax amount of the invoice. */
102
+ total_tax?: GoogleTypeMoney | undefined;
103
+ /** The total discount amount of the invoice. */
104
+ total_discount?: GoogleTypeMoney | undefined;
105
+ /** The total amount of the invoice before applying the discount. */
106
+ total_undiscount?: GoogleTypeMoney | undefined;
107
+ /** Type of invoice, either periodic or purchase. */
108
+ type?: InvoiceType | undefined;
109
+ /** The state of the Invoice. */
110
+ state?: string | undefined;
111
+ /** Invoice number. */
112
+ number?: number | undefined;
113
+ /** The name of the seller (Scaleway). */
114
+ seller_name?: string | undefined;
115
+ }
116
+ export type ListConsumptionsRequestOrderBy = "updated_at_desc" | "updated_at_asc" | "category_name_desc" | "category_name_asc";
117
+ export interface ListConsumptionsRequest {
118
+ /** Order consumptions list in the response by their update date. */
119
+ order_by?: ListConsumptionsRequestOrderBy | (string & {}) | undefined;
120
+ /** Positive integer to choose the page to return. */
121
+ page?: number | undefined;
122
+ /** Positive integer lower or equal to 100 to select the number of items to return. */
123
+ page_size?: number | undefined;
124
+ /** Filter by name of a Category as they are shown in the invoice (Compute, Network, Observability). */
125
+ category_name?: string | undefined;
126
+ /** Filter by the billing period in the YYYY-MM format. If it is empty the current billing period will be used as default. */
127
+ billing_period?: string | undefined;
128
+ /** Filter by Organization ID. One-of `filter`: at most one of `organization_id`, `project_id`. */
129
+ organization_id?: string | undefined;
130
+ /** Filter by Project ID. One-of `filter`: at most one of `organization_id`, `project_id`. */
131
+ project_id?: string | undefined;
132
+ }
133
+ export interface ListConsumptionsResponseConsumption {
134
+ /** Monetary value of the consumption. */
135
+ value?: GoogleTypeMoney | undefined;
136
+ /** The product name. For example, "VPC Public Gateway S", "VPC Public Gateway M" for the VPC product. */
137
+ product_name?: string | undefined;
138
+ /** Identifies the reference based on the category. */
139
+ resource_name?: string | undefined;
140
+ /** Unique identifier of the product. */
141
+ sku?: string | undefined;
142
+ /** Project ID of the consumption. */
143
+ project_id?: string | undefined;
144
+ /** Name of consumption category. */
145
+ category_name?: string | undefined;
146
+ /** Unit of consumed quantity. */
147
+ unit?: string | undefined;
148
+ /** Consumed quantity. */
149
+ billed_quantity?: string | undefined;
150
+ /** Organization ID of the consumer for this consumption. */
151
+ consumer_id?: string | undefined;
152
+ /** Project name of the consumpiton. */
153
+ project_name?: string | undefined;
154
+ /** Organization name of the consumer for this consumption. */
155
+ organization_name?: string | undefined;
156
+ }
157
+ /** Detailed consumption list. */
158
+ export type ListConsumptionsResponseConsumptionsList = Array<ListConsumptionsResponseConsumption>;
159
+ export interface ListConsumptionsResponse {
160
+ /** Detailed consumption list. */
161
+ consumptions: ListConsumptionsResponseConsumptionsList;
162
+ /** Total number of returned items. */
163
+ total_count?: number | undefined;
164
+ /** Sum of all discounts, displayed only when no category or project ID filter is applied. */
165
+ total_discount_untaxed_value?: number | undefined;
166
+ /** Last consumption update date. (RFC 3339 format) */
167
+ updated_at?: string | null | undefined;
168
+ }
169
+ export interface ListDiscountLinesRequest {
170
+ /** Invoice ID. (UUID format) */
171
+ invoice_id: string;
172
+ /** Positive integer to choose the page to return. */
173
+ page?: number | undefined;
174
+ /** Positive integer lower or equal to 1000 to select the number of items to return. */
175
+ page_size?: number | undefined;
176
+ }
177
+ export type DiscountLineOrigin = "unknown_origin" | "discount" | "contractual_commitment_range" | "savings_plan_activation" | "credit_note_rebate" | "reserved_resource_activation" | "offer_included";
178
+ export interface DiscountLine {
179
+ /** Discount line ID. */
180
+ id?: string | undefined;
181
+ /** ID of the invoice line the discount applies to. (UUID format) */
182
+ invoice_line_id?: string | undefined;
183
+ /** The origin of the discount line. */
184
+ origin?: DiscountLineOrigin | undefined;
185
+ /** The value of the discount. */
186
+ value?: GoogleTypeMoney | undefined;
187
+ }
188
+ /** Paginated returned discount lines. */
189
+ export type ListDiscountLinesResponseDiscountLinesList = Array<DiscountLine>;
190
+ export interface ListDiscountLinesResponse {
191
+ /** Total number of discount lines. */
192
+ total_count?: number | undefined;
193
+ /** Paginated returned discount lines. */
194
+ discount_lines: ListDiscountLinesResponseDiscountLinesList;
195
+ }
196
+ export type ListDiscountsRequestOrderBy = "creation_date_desc" | "creation_date_asc" | "start_date_desc" | "start_date_asc" | "stop_date_desc" | "stop_date_asc";
197
+ export interface ListDiscountsRequest {
198
+ /** Order discounts in the response by their description. */
199
+ order_by?: ListDiscountsRequestOrderBy | (string & {}) | undefined;
200
+ /** Positive integer to choose the page to return. */
201
+ page?: number | undefined;
202
+ /** Positive integer lower or equal to 100 to select the number of items to return. */
203
+ page_size?: number | undefined;
204
+ /** ID of the organization. (UUID format) */
205
+ organization_id?: string | undefined;
206
+ }
207
+ export type DiscountDiscountMode = "unknown_discount_mode" | "discount_mode_rate" | "discount_mode_value" | "discount_mode_splittable";
208
+ export interface DiscountCoupon {
209
+ /** The description of the coupon. */
210
+ description?: string | null | undefined;
211
+ }
212
+ export type DiscountFilterType = "unknown_type" | "category_name" | "product_name" | "product_range" | "resource_name" | "region" | "zone";
213
+ export interface DiscountFilter {
214
+ /** Type of the filter (category name, product name, product range, resource name, region or zone). */
215
+ type?: DiscountFilterType | undefined;
216
+ /** Value of filter. */
217
+ value?: string | undefined;
218
+ /** Boolean to describe if filter is an excluding filter. */
219
+ exclude?: boolean | undefined;
220
+ }
221
+ /** List of the discount scopes. */
222
+ export type DiscountFiltersList = Array<DiscountFilter>;
223
+ export interface Discount {
224
+ /** The ID of the discount. */
225
+ id?: string | undefined;
226
+ /** The creation date of the discount. (RFC 3339 format) */
227
+ creation_date?: string | null | undefined;
228
+ /** The Organization ID of the discount. */
229
+ organization_id?: string | undefined;
230
+ /** The description of the discount. */
231
+ description?: string | undefined;
232
+ /** The initial value of the discount. */
233
+ value?: number | undefined;
234
+ /** The value indicating how much of the discount has been used. */
235
+ value_used?: number | undefined;
236
+ /** The remaining value of the discount. */
237
+ value_remaining?: number | undefined;
238
+ /** The mode of the discount. */
239
+ mode?: DiscountDiscountMode | undefined;
240
+ /** The start date of the discount. (RFC 3339 format) */
241
+ start_date?: string | null | undefined;
242
+ /** The stop date of the discount. (RFC 3339 format) */
243
+ stop_date?: string | null | undefined;
244
+ /** The description of the coupon. */
245
+ coupon?: DiscountCoupon | undefined;
246
+ /** List of the discount scopes. */
247
+ filters?: DiscountFiltersList | undefined;
248
+ }
249
+ /** Paginated returned discounts. */
250
+ export type ListDiscountsResponseDiscountsList = Array<Discount>;
251
+ export interface ListDiscountsResponse {
252
+ /** Total number of discounts. */
253
+ total_count?: number | undefined;
254
+ /** Paginated returned discounts. */
255
+ discounts: ListDiscountsResponseDiscountsList;
256
+ }
257
+ export interface ListInvoiceLinesRequest {
258
+ /** Invoice ID. (UUID format) */
259
+ invoice_id: string;
260
+ /** Positive integer to choose the page to return. */
261
+ page?: number | undefined;
262
+ /** Positive integer lower or equal to 1000 to select the number of items to return. */
263
+ page_size?: number | undefined;
264
+ }
265
+ export interface InvoiceLine {
266
+ /** Invoice line ID. (UUID format) */
267
+ id?: string | undefined;
268
+ /** ID of the invoice the line belongs to. (UUID format) */
269
+ invoice_id?: string | undefined;
270
+ /** Organization ID of the consumer for this line. (UUID format) */
271
+ organization_id?: string | undefined;
272
+ /** Organization name of the consumer for this line. */
273
+ organization_name?: string | undefined;
274
+ /** Project ID of the line. (UUID format) */
275
+ project_id?: string | undefined;
276
+ /** Project name of the line. */
277
+ project_name?: string | undefined;
278
+ /** Unique identifier of the product. */
279
+ sku?: string | undefined;
280
+ /** Name of consumption category. */
281
+ category_name?: string | undefined;
282
+ /** The product name. */
283
+ product_name?: string | undefined;
284
+ /** Identifies the reference based on the category. */
285
+ resource_name?: string | undefined;
286
+ /** Start date of the line. (RFC 3339 format) */
287
+ start_date?: string | null | undefined;
288
+ /** Stop date of the line. (RFC 3339 format) */
289
+ stop_date?: string | null | undefined;
290
+ /** Unit price of the reference. */
291
+ unit_price?: GoogleTypeMoney | undefined;
292
+ /** Untaxed value of the line. */
293
+ untaxed_value?: GoogleTypeMoney | undefined;
294
+ /** Unit of consumed quantity. */
295
+ unit?: string | undefined;
296
+ /** Quantity per unit. */
297
+ unit_quantity?: string | undefined;
298
+ /** Billed quantity. */
299
+ billed_quantity?: string | undefined;
300
+ /** Number of unique resources billed on this line. */
301
+ resource_count?: number | undefined;
302
+ }
303
+ /** Paginated returned invoice lines. */
304
+ export type ListInvoiceLinesResponseInvoiceLinesList = Array<InvoiceLine>;
305
+ export interface ListInvoiceLinesResponse {
306
+ /** Total number of invoice lines. */
307
+ total_count?: number | undefined;
308
+ /** Paginated returned invoice lines. */
309
+ invoice_lines: ListInvoiceLinesResponseInvoiceLinesList;
310
+ }
311
+ export type ListInvoicesRequestOrderBy = "invoice_number_desc" | "invoice_number_asc" | "start_date_desc" | "start_date_asc" | "issued_date_desc" | "issued_date_asc" | "due_date_desc" | "due_date_asc" | "total_untaxed_desc" | "total_untaxed_asc" | "total_taxed_desc" | "total_taxed_asc" | "invoice_type_desc" | "invoice_type_asc";
312
+ export interface ListInvoicesRequest {
313
+ /** Organization ID. If specified, only invoices from this Organization will be returned. (UUID format) */
314
+ organization_id?: string | undefined;
315
+ /** Return only invoice with start date greater than billing_period_start. (RFC 3339 format) */
316
+ billing_period_start_after?: string | undefined;
317
+ /** Return only invoice with start date less than billing_period_start. (RFC 3339 format) */
318
+ billing_period_start_before?: string | undefined;
319
+ /** Invoice type. It can either be `periodic`, `purchase` or `credit_note`. */
320
+ invoice_type?: InvoiceType | (string & {}) | undefined;
321
+ /** Page number. */
322
+ page?: number | undefined;
323
+ /** Positive integer lower or equal to 100 to select the number of items to return. */
324
+ page_size?: number | undefined;
325
+ /** How invoices are ordered in the response. */
326
+ order_by?: ListInvoicesRequestOrderBy | (string & {}) | undefined;
327
+ }
328
+ /** Paginated returned invoices. */
329
+ export type ListInvoicesResponseInvoicesList = Array<Invoice>;
330
+ export interface ListInvoicesResponse {
331
+ /** Total number of invoices. */
332
+ total_count?: number | undefined;
333
+ /** Paginated returned invoices. */
334
+ invoices: ListInvoicesResponseInvoicesList;
335
+ }
336
+ export type ListTaxesRequestOrderBy = "updated_at_desc" | "updated_at_asc" | "category_name_desc" | "category_name_asc";
337
+ export interface ListTaxesRequest {
338
+ /** Order consumed taxes list in the response by their update date. */
339
+ order_by?: ListTaxesRequestOrderBy | (string & {}) | undefined;
340
+ /** Page number. */
341
+ page?: number | undefined;
342
+ /** Positive integer lower or equal to 100 to select the number of items to return. */
343
+ page_size?: number | undefined;
344
+ /** Filter by Organization ID. (UUID format) */
345
+ organization_id: string;
346
+ /** Filter by the billing period in the YYYY-MM format. If it is empty the current billing period will be used as default. */
347
+ billing_period?: string | undefined;
348
+ }
349
+ export interface ListTaxesResponseTax {
350
+ /** Description of the tax applied. */
351
+ description?: string | undefined;
352
+ /** The three-letter currency code. */
353
+ currency?: string | undefined;
354
+ /** Applied tax rate (0.2 means a VAT of 20%). */
355
+ rate?: number | null | undefined;
356
+ /** The total tax value of the consumption. */
357
+ total_tax_value?: number | null | undefined;
358
+ }
359
+ /** Detailed consumption tax. */
360
+ export type ListTaxesResponseTaxesList = Array<ListTaxesResponseTax>;
361
+ export interface ListTaxesResponse {
362
+ /** Detailed consumption tax. */
363
+ taxes: ListTaxesResponseTaxesList;
364
+ /** Total number of returned items. */
365
+ total_count?: number | undefined;
366
+ /** Last consumption update date. (RFC 3339 format) */
367
+ updated_at?: string | null | undefined;
368
+ }
369
+ export interface RedeemCouponRequest {
370
+ /** The Organization ID of the discount. (UUID format) */
371
+ organization_id: string;
372
+ /** The code of the coupon to redeem. */
373
+ code: string;
374
+ }
375
+ export type DownloadInvoiceError = ScalewayOpError;
376
+ /** Download an invoice Download a specific invoice, specified by its ID. */
377
+ export declare const downloadInvoice: API.OperationMethod<DownloadInvoiceRequest, ScalewayStdFile, DownloadInvoiceError, ScalewayOpContext>;
378
+ export type DownloadInvoiceRawError = ScalewayOpError;
379
+ /** The file `downloadInvoice` returns, as bytes (`?dl=1`), rather than the JSON file object. */
380
+ export declare const downloadInvoiceRaw: API.OperationMethod<DownloadInvoiceRawRequest, DownloadInvoiceRawResponse, DownloadInvoiceRawError, ScalewayOpContext>;
381
+ export type ExportInvoicesError = ScalewayOpError;
382
+ /** Export invoices Export invoices in a CSV file. */
383
+ export declare const exportInvoices: API.OperationMethod<ExportInvoicesRequest, ScalewayStdFile, ExportInvoicesError, ScalewayOpContext>;
384
+ export type ExportInvoicesRawError = ScalewayOpError;
385
+ /** The file `exportInvoices` returns, as bytes (`?dl=1`), rather than the JSON file object. */
386
+ export declare const exportInvoicesRaw: API.OperationMethod<ExportInvoicesRawRequest, ExportInvoicesRawResponse, ExportInvoicesRawError, ScalewayOpContext>;
387
+ export type GetInvoiceError = ScalewayOpError;
388
+ /** Get an invoice Get a specific invoice, specified by its ID. */
389
+ export declare const getInvoice: API.OperationMethod<GetInvoiceRequest, Invoice, GetInvoiceError, ScalewayOpContext>;
390
+ export type ListConsumptionsError = ScalewayOpError;
391
+ /** Get monthly consumption Consumption allows you to retrieve your past or current consumption cost, by project or category. */
392
+ export declare const listConsumptions: API.PaginatedOperationMethod<ListConsumptionsRequest, ListConsumptionsResponse, ListConsumptionsError, ScalewayOpContext, ListConsumptionsResponseConsumption>;
393
+ export type ListDiscountLinesError = ScalewayOpError;
394
+ /** List discount lines List all discount lines of a given invoice, specified by its ID. */
395
+ export declare const listDiscountLines: API.PaginatedOperationMethod<ListDiscountLinesRequest, ListDiscountLinesResponse, ListDiscountLinesError, ScalewayOpContext, DiscountLine>;
396
+ export type ListDiscountsError = ScalewayOpError;
397
+ /** List discounts List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller: - If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers - If you indicate your `organization_id` you will list only the discounts applied to your Organization - If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization. */
398
+ export declare const listDiscounts: API.PaginatedOperationMethod<ListDiscountsRequest, ListDiscountsResponse, ListDiscountsError, ScalewayOpContext, Discount>;
399
+ export type ListInvoiceLinesError = ScalewayOpError;
400
+ /** List invoice lines List all lines of a given invoice, specified by its ID. */
401
+ export declare const listInvoiceLines: API.PaginatedOperationMethod<ListInvoiceLinesRequest, ListInvoiceLinesResponse, ListInvoiceLinesError, ScalewayOpContext, InvoiceLine>;
402
+ export type ListInvoicesError = ScalewayOpError;
403
+ /** List invoices List all your invoices, filtering by `start_date` and `invoice_type`. Each invoice has its own ID. */
404
+ export declare const listInvoices: API.PaginatedOperationMethod<ListInvoicesRequest, ListInvoicesResponse, ListInvoicesError, ScalewayOpContext, Invoice>;
405
+ export type ListTaxesError = ScalewayOpError;
406
+ /** Get monthly consumption taxes Consumption Tax allows you to retrieve your past or current tax charges, by project or category. */
407
+ export declare const listTaxes: API.PaginatedOperationMethod<ListTaxesRequest, ListTaxesResponse, ListTaxesError, ScalewayOpContext, ListTaxesResponseTax>;
408
+ export type RedeemCouponError = ScalewayOpError;
409
+ /** Redeem coupon Redeem a coupon given the related code. */
410
+ export declare const redeemCoupon: API.OperationMethod<RedeemCouponRequest, Discount, RedeemCouponError, ScalewayOpContext>;
411
+ //# sourceMappingURL=billing_v2beta1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing_v2beta1.d.ts","sources":["../../src/unstable-services/billing_v2beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAMnE,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC;AACnD,MAAM,WAAW,sBAAsB;IACrC,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,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,whBAAwhB;AACxhB,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,wBAAwB,CACtD,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,CAoBF,CAAC;AAET,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACpD,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,wBAAwB,CACzD,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,CAoBL,CAAC;AAET,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAChD,uHAAuH;AACvH,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,wBAAwB,CACrD,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,CAoBD,CAAC;AAET,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;AAC7C,qIAAqI;AACrI,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,wBAAwB,CAClD,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,oBAAoB,CAoBd,CAAC;AAET,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAChD,4DAA4D;AAC5D,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,QAAQ,EACR,iBAAiB,EACjB,iBAAiB,CAUhB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import{Tc as e,Uc as t,a as n,b as r,bd as i,cc as a,cd as o,errors$ScalewayServiceErrors as s,fd as c,gd as l,l as u,n as d,nd as f,o as p,pagination$paginateByTotalCount as m,protocol$ScalewayProtocol as h,retry$Retry as g,sd as _,td as v,traits$BinaryResponse as y,traits$Header as b,traits$Http as x,traits$Label as S,traits$Query as C,traits$RawResponse as w}from"../_bundle/sdk.js";const T={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:`BillingV2beta1`,labels:`scaleway`,propagate:`w3c`};const E=/*@__PURE__*/ d(e=>e===n?u(`DownloadInvoice`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({invoice_id:$3.pipe($2()),file_type:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/invoices/{invoice_id}/download",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,x,S,c,C,_,l,v,__d0,s,h,g,T]):r(E,e));const D=/*@__PURE__*/ d(e=>e===n?u(`DownloadInvoiceRaw`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({invoice_id:$3.pipe($2()),file_type:$5($3.pipe($4()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/invoices/{invoice_id}/download",code:200,baseUrl:"https://api.scaleway.com",rawDownload:true}))`,[f,x,S,c,C,_,l,v,__d1,s,h,g,T]):r(D,e));const O=/*@__PURE__*/ d(e=>e===n?u(`ExportInvoices`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({organization_id:$4($3.pipe($2())),billing_period_start_after:$4($3.pipe($2())),billing_period_start_before:$4($3.pipe($2())),invoice_type:$4($3.pipe($2())),page:$4($5.pipe($2())),page_size:$4($5.pipe($2())),order_by:$4($3.pipe($2())),file_type:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/export-invoices",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,x,C,c,_,o,l,v,__d0,s,h,g,T]):r(O,e));const k=/*@__PURE__*/ d(e=>e===n?u(`ExportInvoicesRaw`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({organization_id:$4($3.pipe($2())),billing_period_start_after:$4($3.pipe($2())),billing_period_start_before:$4($3.pipe($2())),invoice_type:$4($3.pipe($2())),page:$4($5.pipe($2())),page_size:$4($5.pipe($2())),order_by:$4($3.pipe($2())),file_type:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/export-invoices",code:200,baseUrl:"https://api.scaleway.com",rawDownload:true}))`,[f,x,C,c,_,o,l,v,__d1,s,h,g,T]):r(k,e));const A=/*@__PURE__*/ d(e=>e===n?u(`GetInvoice`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({invoice_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/billing/v2beta1/invoices/{invoice_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,x,S,c,l,v,__d3,s,h,g,T]):r(A,e));const j=/*@__PURE__*/ p(t=>t===n?u(`ListConsumptions`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"consumptions",pageSize:"page_size"},strategy:$15};$7(>5)@"%Request";$7(>6)@"%ResponseConsumption";$9(#2);$7(>7)@"%Response";$6({order_by:$4($3.pipe($2())),page:$4($5.pipe($2())),page_size:$4($5.pipe($2())),category_name:$4($3.pipe($2())),billing_period:$4($3.pipe($2())),organization_id:$4($3.pipe($2())),project_id:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/consumptions",code:200,baseUrl:"https://api.scaleway.com"}));$6({value:$4(#8:0),product_name:$4($3),resource_name:$4($3),sku:$4($3),project_id:$4($3),category_name:$4($3),unit:$4($3),billed_quantity:$4($3),consumer_id:$4($3),project_name:$4($3),organization_name:$4($3)});$6({consumptions:#3,total_count:$4($5),total_discount_untaxed_value:$4($5),updated_at:$4($10($3))})`,[f,x,C,c,_,o,l,v,__d2,e,i,s,h,g,T,m]):r(j,t));const M=/*@__PURE__*/ p(t=>t===n?u(`DiscountLine`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"List%s",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"discount_lines",pageSize:"page_size"},strategy:$15};$8(>5)@"List%sRequest";$8(>6)@"%";$10(#2);$8(>7)@"List%sResponse";$7({invoice_id:$3.pipe($2()),page:$6($5.pipe($4())),page_size:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/invoices/{invoice_id}/discount-lines",code:200,baseUrl:"https://api.scaleway.com"}));$7({id:$6($3),invoice_line_id:$6($3),origin:$6($3),value:$6(#9:0)});$7({total_count:$6($5),discount_lines:#3})`,[f,x,S,c,C,o,_,l,v,__d2,e,s,h,g,T,m]):r(M,t));const N=/*@__PURE__*/ p(t=>t===n?u(`ListDiscounts`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"discounts",pageSize:"page_size"},strategy:$14};$7(>4)@"%Request";$9(#8:3);$7(>5)@"%Response";$6({order_by:$4($3.pipe($2())),page:$4($5.pipe($2())),page_size:$4($5.pipe($2())),organization_id:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/discounts",code:200,baseUrl:"https://api.scaleway.com"}));$6({total_count:$4($5),discounts:#2})`,[f,x,C,c,_,o,l,v,__d4,e,s,h,g,T,m]):r(N,t));const P=/*@__PURE__*/ p(t=>t===n?u(`ListInvoiceLines`,`{input:#1,output:#4,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"invoice_lines",pageSize:"page_size"},strategy:$16};$8(>5)@"%Request";$8(>6)@"InvoiceLine";$11(#2);$8(>7)@"%Response";$7({invoice_id:$3.pipe($2()),page:$6($5.pipe($4())),page_size:$6($5.pipe($4()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/invoices/{invoice_id}/lines",code:200,baseUrl:"https://api.scaleway.com"}));$7({id:$6($3),invoice_id:$6($3),organization_id:$6($3),organization_name:$6($3),project_id:$6($3),project_name:$6($3),sku:$6($3),category_name:$6($3),product_name:$6($3),resource_name:$6($3),start_date:$6($9($3)),stop_date:$6($9($3)),unit_price:$6(#10:0),untaxed_value:$6(#10:0),unit:$6($3),unit_quantity:$6($3),billed_quantity:$6($3),resource_count:$6($5)});$7({total_count:$6($5),invoice_lines:#3})`,[f,x,S,c,C,o,_,l,v,i,__d2,e,s,h,g,T,m]):r(P,t));const F=/*@__PURE__*/ p(t=>t===n?u(`ListInvoices`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"invoices",pageSize:"page_size"},strategy:$14};$7(>4)@"%Request";$9(#8:0);$7(>5)@"%Response";$6({organization_id:$4($3.pipe($2())),billing_period_start_after:$4($3.pipe($2())),billing_period_start_before:$4($3.pipe($2())),invoice_type:$4($3.pipe($2())),page:$4($5.pipe($2())),page_size:$4($5.pipe($2())),order_by:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/invoices",code:200,baseUrl:"https://api.scaleway.com"}));$6({total_count:$4($5),invoices:#2})`,[f,x,C,c,_,o,l,v,__d3,e,s,h,g,T,m]):r(F,t));const I=/*@__PURE__*/ p(t=>t===n?u(`ListTaxes`,`{input:#1,output:#4,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"taxes",pageSize:"page_size"},strategy:$14};$7(>5)@"%Request";$7(>6)@"%ResponseTax";$9(#2);$7(>7)@"%Response";$6({order_by:$4($3.pipe($2())),page:$4($5.pipe($2())),page_size:$4($5.pipe($2())),organization_id:$3.pipe($2()),billing_period:$4($3.pipe($2()))}).pipe($1({method:"GET",uri:"/billing/v2beta1/taxes",code:200,baseUrl:"https://api.scaleway.com"}));$6({description:$4($3),currency:$4($3),rate:$4($8($5)),total_tax_value:$4($8($5))});$6({taxes:#3,total_count:$4($5),updated_at:$4($8($3))})`,[f,x,C,c,_,o,l,v,i,e,s,h,g,T,m]):r(I,t));const L=/*@__PURE__*/ d(e=>e===n?u(`RedeemCoupon`,`{input:#1,output:#6:3,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({organization_id:$3.pipe($2()),code:$3.pipe($2())}).pipe($1({method:"POST",uri:"/billing/v2beta1/redeem-coupon",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,x,C,c,l,v,__d4,s,h,g,T]):r(L,e));function __d0(){return[`$4(>1)@"ScalewayStdFile";$3({name:$2($1),content_type:$2($1),content:$2($1)})`,[f,c,_,l,v]]}function __d1(){return[`$8(>1)@"DownloadInvoiceRawResponse";$7({body:$3.pipe($1(),$2()),contentType:$6($5.pipe($4("Content-Type")))})`,[f,w,y,a,b,c,_,l,v]]}function __d2(){return[`$5(>1)@"GoogleTypeMoney";$4({currency_code:$2($1),units:$2($3),nanos:$2($3)})`,[f,c,_,o,l,v]]}function __d3(){return[`$7(>1)@"Invoice";$6({id:$2($1),organization_id:$2($1),organization_name:$2($1),start_date:$2($3($1)),stop_date:$2($3($1)),billing_period:$2($3($1)),issued_date:$2($3($1)),due_date:$2($3($1)),total_untaxed:$2(#4:0),total_taxed:$2(#4:0),total_tax:$2(#4:0),total_discount:$2(#4:0),total_undiscount:$2(#4:0),type:$2($1),state:$2($1),number:$2($5),seller_name:$2($1)})`,[f,c,_,i,__d2,o,l,v]]}function __d4(){return[`$5(>4)@"DiscountCoupon";$5(>5)@"DiscountFilter";$7(#1);$5(>6)@"Discount";$4({description:$3($2($1))});$4({type:$3($1),value:$3($1),exclude:$3($6)});$4({id:$3($1),creation_date:$3($2($1)),organization_id:$3($1),description:$3($1),value:$3($8),value_used:$3($8),value_remaining:$3($8),mode:$3($1),start_date:$3($2($1)),stop_date:$3($2($1)),coupon:$3(#0),filters:$3(#2)})`,[f,c,i,_,l,v,t,e,o]]}export{E as downloadInvoice,D as downloadInvoiceRaw,O as exportInvoices,k as exportInvoicesRaw,A as getInvoice,j as listConsumptions,M as listDiscountLines,N as listDiscounts,P as listInvoiceLines,F as listInvoices,I as listTaxes,L as redeemCoupon};
2
+ /*
3
+ 25 18
4
+ e:0:Tc t:0:Uc n:0:a r:0:b i:0:bd a:0:cc o:0:cd s:0:errors$ScalewayServiceErrors c:0:fd l:0:gd u:0:l d:0:n f:0:nd p:0:o m:0:pagination$paginateByTotalCount h:0:protocol$ScalewayProtocol g:0:retry$Retry _:0:sd v:0:td y:0:traits$BinaryResponse b:0:traits$Header x:0:traits$Http S:0:traits$Label C:0:traits$Query w:0:traits$RawResponse
5
+ 000000001p0003j0005b000760008q000aq000cm000eh000gj000id000k3000lp000m1000n0000o7000p8000qe000rl
6
+ 2 jf tk E|=DownloadInvoice;k9 sg;c,l,m,8,n,h,9,i,12,7,f,g,11
7
+ 2 ua 14z D|=DownloadInvoiceRaw;v7 13v;c,l,m,8,n,h,9,i,13,7,f,g,11
8
+ 2 15p 1l7 O|=ExportInvoices;16i 1k3;c,l,n,8,h,6,9,i,12,7,f,g,11
9
+ 2 1lx 21z k|=ExportInvoicesRaw;1mt 20v;c,l,n,8,h,6,9,i,13,7,f,g,11
10
+ 2 22p 2bi A|=GetInvoice;23e 2ai;c,l,m,8,9,i,15,7,f,g,11
11
+ 2 2c8 33x j|=ListConsumptions;2d3 32n;c,l,n,8,h,6,9,i,14,0,4,7,f,g,11,e
12
+ 2 34n 3np M|=DiscountLine;35e 3mf;c,l,m,8,n,6,h,9,i,14,0,7,f,g,11,e
13
+ 2 3of 44u N|=ListDiscounts;3p7 43m;c,l,n,8,h,6,9,i,16,0,7,f,g,11,e
14
+ 2 45k 4wf P|=ListInvoiceLines;46f 4v3;c,l,m,8,n,6,h,9,i,4,14,0,7,f,g,11,e
15
+ 2 4x5 5gu F|=ListInvoices;4xw 5fm;c,l,n,8,h,6,9,i,15,0,7,f,g,11,e
16
+ 2 5hk 61r I|=ListTaxes;5i8 60m;c,l,n,8,h,6,9,i,4,0,7,f,g,11,e
17
+ 2 62h 6bt L|=RedeemCoupon;638 6at;c,l,n,8,9,i,16,7,f,g,11
18
+ 0 b0 iq T||
19
+ 1 6bv 6f3 __d0|=;6cj 6eo;c,8,h,9,i
20
+ 1 6f3 6jf __d1|=;6fr 6is;c,o,j,5,k,8,h,9,i
21
+ 1 6jf 6mp __d2|=;6k3 6m8;c,8,h,6,9,i
22
+ 1 6mp 6y4 __d3|=;6nd 6xg;c,8,h,4,14,6,9,i
23
+ 1 6y4 79n __d4|=;6ys 790;c,8,4,h,9,i,1,0,6
24
+ */
25
+ //# sourceMappingURL=billing_v2beta1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing_v2beta1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","T.Query","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Number","S.Array","S.NullOr","T.RawResponse","T.BinaryResponse","T.Header","S.Boolean","Array","Boolean","D","call","NullOr","BinaryStream","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","BinaryResponse","Header","Http","Label","Query","RawResponse","TELEMETRY","downloadInvoice","i","downloadInvoiceRaw","exportInvoices","exportInvoicesRaw","getInvoice","listConsumptions","listDiscountLines","listDiscounts","listInvoiceLines","listInvoices","listTaxes","redeemCoupon"],"sources":["../../src/unstable-services/billing_v2beta1.ts"],"mappings":"oYAcA,MAAM4C,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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