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

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 +635 -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 +1745 -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 +477 -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 +946 -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 +2130 -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 +5377 -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 +1109 -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,260 @@
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 interface CreateBindingRequest {
5
+ /** SRN of the resource to attach the value to. */
6
+ target_srn?: string | undefined;
7
+ /** ID of the value to associate. (UUID format) */
8
+ value_id?: string | undefined;
9
+ }
10
+ export interface BindingKey {
11
+ /** ID of the key. (UUID format) */
12
+ id?: string | undefined;
13
+ /** SRN of the key. */
14
+ srn?: string | undefined;
15
+ /** Name of the key. */
16
+ name?: string | undefined;
17
+ }
18
+ export interface BindingValue {
19
+ /** ID of the value. (UUID format) */
20
+ id?: string | undefined;
21
+ /** SRN of the value. */
22
+ srn?: string | undefined;
23
+ /** Name of the value. */
24
+ name?: string | undefined;
25
+ }
26
+ export interface Binding {
27
+ /** ID of the binding. (UUID format) */
28
+ id?: string | undefined;
29
+ /** SRN of the binding. */
30
+ srn?: string | undefined;
31
+ /** SRN of the resource the binding is attached to. */
32
+ target_srn?: string | undefined;
33
+ /** Key associated to the binding. */
34
+ key?: BindingKey | undefined;
35
+ /** Value associated to the binding. */
36
+ value?: BindingValue | undefined;
37
+ /** Timestamp of creation of the binding. (RFC 3339 format) */
38
+ created_at?: string | null | undefined;
39
+ /** Timestamp of the last update of the binding. (RFC 3339 format) */
40
+ updated_at?: string | null | undefined;
41
+ }
42
+ export interface CreateKeyRequest {
43
+ /** ID of the organization. (UUID format) */
44
+ organization_id?: string | undefined;
45
+ /** Name of the annotation key. Never use a secret as a name, as it is shown in the audit trail. */
46
+ name?: string | undefined;
47
+ /** Description of the annotation key. Never put a secret in the description, as it is shown in the audit trail. */
48
+ description?: string | undefined;
49
+ }
50
+ export interface Key {
51
+ /** ID of the annotation key. (UUID format) */
52
+ id?: string | undefined;
53
+ /** SRN of the annotation key. */
54
+ srn?: string | undefined;
55
+ /** Name of the annotation key. */
56
+ name?: string | undefined;
57
+ /** Description of the annotation key. */
58
+ description?: string | undefined;
59
+ /** Timestamp of creation of the annotation key. (RFC 3339 format) */
60
+ created_at?: string | null | undefined;
61
+ /** Timestamp of the last update of the annotation key. (RFC 3339 format) */
62
+ updated_at?: string | null | undefined;
63
+ }
64
+ export interface CreateValueRequest {
65
+ /** ID of the key the value will be bound to. (UUID format) */
66
+ key_id?: string | undefined;
67
+ /** Name of the value. Never use a secret as a name, as it is shown in the audit trail. */
68
+ name?: string | undefined;
69
+ /** Description of the value. Never put a secret in the description, as it is shown in the audit trail. */
70
+ description?: string | undefined;
71
+ }
72
+ export interface Value {
73
+ /** ID of the value. (UUID format) */
74
+ id?: string | undefined;
75
+ /** SRN of the annotation value. */
76
+ srn?: string | undefined;
77
+ /** ID of the key the value is associated to. (UUID format) */
78
+ key_id?: string | undefined;
79
+ /** Name of the value (e.g. "production" for a key "environment"). */
80
+ name?: string | undefined;
81
+ /** Description of the value. */
82
+ description?: string | undefined;
83
+ /** Timestamp of creation of the value. (RFC 3339 format) */
84
+ created_at?: string | null | undefined;
85
+ /** Timestamp of the last update of the value. (RFC 3339 format) */
86
+ updated_at?: string | null | undefined;
87
+ }
88
+ export interface DeleteBindingRequest {
89
+ /** ID of the binding to delete. (UUID format) */
90
+ binding_id: string;
91
+ }
92
+ export interface DeleteBindingResponse {
93
+ }
94
+ export interface DeleteKeyRequest {
95
+ /** ID of the key to delete. (UUID format) */
96
+ key_id: string;
97
+ }
98
+ export interface DeleteKeyResponse {
99
+ }
100
+ export interface DeleteValueRequest {
101
+ /** ID of the value to delete. (UUID format) */
102
+ value_id: string;
103
+ }
104
+ export interface DeleteValueResponse {
105
+ }
106
+ export interface GetKeyRequest {
107
+ /** ID of the key to retrieve. (UUID format) */
108
+ key_id: string;
109
+ }
110
+ export interface GetValueRequest {
111
+ /** ID of the value to retrieve. (UUID format) */
112
+ value_id: string;
113
+ }
114
+ export interface ListAllKeysAndValuesRequest {
115
+ /** ID of the organization. (UUID format) */
116
+ organization_id: string;
117
+ }
118
+ export interface ListAllKeysAndValuesResponseValue {
119
+ /** ID of the value. (UUID format) */
120
+ id?: string | undefined;
121
+ /** SRN of the value. */
122
+ srn?: string | undefined;
123
+ /** Name of the value. */
124
+ name?: string | undefined;
125
+ /** Description of the value. */
126
+ description?: string | undefined;
127
+ }
128
+ /** List of values associated with the key, sorted alphabetically by name. */
129
+ export type ListAllKeysAndValuesResponseKeyValuesList = Array<ListAllKeysAndValuesResponseValue>;
130
+ export interface ListAllKeysAndValuesResponseKey {
131
+ /** ID of the key. (UUID format) */
132
+ id?: string | undefined;
133
+ /** SRN of the key. */
134
+ srn?: string | undefined;
135
+ /** Name of the key. */
136
+ name?: string | undefined;
137
+ /** Description of the key. */
138
+ description?: string | undefined;
139
+ /** List of values associated with the key, sorted alphabetically by name. */
140
+ values?: ListAllKeysAndValuesResponseKeyValuesList | undefined;
141
+ }
142
+ /** List of keys with values for an organization, sorted alphabetically by name. */
143
+ export type ListAllKeysAndValuesResponseKeysList = Array<ListAllKeysAndValuesResponseKey>;
144
+ export interface ListAllKeysAndValuesResponse {
145
+ /** List of keys with values for an organization, sorted alphabetically by name. */
146
+ keys?: ListAllKeysAndValuesResponseKeysList | undefined;
147
+ }
148
+ export interface ListBindingsRequest {
149
+ /** Page number. */
150
+ page?: number | undefined;
151
+ /** Maximum number of bindings on the page. */
152
+ page_size?: number | undefined;
153
+ /** ID of the organization. (UUID format) */
154
+ organization_id: string;
155
+ /** SRN of the resource for which to list all bindings. */
156
+ target_srn?: string | undefined;
157
+ /** Value ID for which to list all bindings. (UUID format) */
158
+ value_id?: string | undefined;
159
+ }
160
+ /** List of bindings for the organization. Response order by ID. */
161
+ export type ListBindingsResponseBindingsList = Array<Binding>;
162
+ export interface ListBindingsResponse {
163
+ /** List of bindings for the organization. Response order by ID. */
164
+ bindings: ListBindingsResponseBindingsList;
165
+ /** Total number of bindings returned. */
166
+ total_count?: number | undefined;
167
+ }
168
+ export interface ListKeysRequest {
169
+ /** Page number. */
170
+ page?: number | undefined;
171
+ /** Maximum number of keys on the page. */
172
+ page_size?: number | undefined;
173
+ /** ID of the organization. (UUID format) */
174
+ organization_id: string;
175
+ }
176
+ /** List of keys for an organization, sorted alphabetically by name. */
177
+ export type ListKeysResponseKeysList = Array<Key>;
178
+ export interface ListKeysResponse {
179
+ /** List of keys for an organization, sorted alphabetically by name. */
180
+ keys: ListKeysResponseKeysList;
181
+ /** Total number of keys returned. */
182
+ total_count?: number | undefined;
183
+ }
184
+ export interface ListValuesRequest {
185
+ /** Page number. */
186
+ page?: number | undefined;
187
+ /** Maximum number of values on the page. */
188
+ page_size?: number | undefined;
189
+ /** ID of the organization. (UUID format) */
190
+ organization_id: string;
191
+ /** ID of the key to list the values for. (UUID format) */
192
+ key_id?: string | undefined;
193
+ }
194
+ /** List of values for a key, sorted alphabetically by name. */
195
+ export type ListValuesResponseValuesList = Array<Value>;
196
+ export interface ListValuesResponse {
197
+ /** List of values for a key, sorted alphabetically by name. */
198
+ values: ListValuesResponseValuesList;
199
+ /** Total number of values returned. */
200
+ total_count?: number | undefined;
201
+ }
202
+ export interface UpdateKeyRequest {
203
+ /** ID of the key to update. (UUID format) */
204
+ key_id: string;
205
+ /** New name of the key. Never use a secret as a name, as it is shown in the audit trail. */
206
+ name?: string | null | undefined;
207
+ /** New description of the key. Never put a secret in the description, as it is shown in the audit trail. */
208
+ description?: string | null | undefined;
209
+ }
210
+ export interface UpdateValueRequest {
211
+ /** ID of the value to update. (UUID format) */
212
+ value_id: string;
213
+ /** New name of the value. Never use a secret as a name, as it is shown in the audit trail. */
214
+ name?: string | null | undefined;
215
+ /** New description of the value. Never put a secret in the description, as it is shown in the audit trail. */
216
+ description?: string | null | undefined;
217
+ }
218
+ export type CreateBindingError = ScalewayOpError;
219
+ /** Attach a value to a resource. Fails if the resource already has a value for this key. */
220
+ export declare const createBinding: API.OperationMethod<CreateBindingRequest, Binding, CreateBindingError, ScalewayOpContext>;
221
+ export type CreateKeyError = ScalewayOpError;
222
+ /** Create an annotation key. */
223
+ export declare const createKey: API.OperationMethod<CreateKeyRequest, Key, CreateKeyError, ScalewayOpContext>;
224
+ export type CreateValueError = ScalewayOpError;
225
+ /** Add a value definition to a key. */
226
+ export declare const createValue: API.OperationMethod<CreateValueRequest, Value, CreateValueError, ScalewayOpContext>;
227
+ export type DeleteBindingError = ScalewayOpError;
228
+ /** Detach an annotation from a resource. */
229
+ export declare const deleteBinding: API.OperationMethod<DeleteBindingRequest, DeleteBindingResponse, DeleteBindingError, ScalewayOpContext>;
230
+ export type DeleteKeyError = ScalewayOpError;
231
+ /** Delete a key definition. Fails if the key has any associated values. */
232
+ export declare const deleteKey: API.OperationMethod<DeleteKeyRequest, DeleteKeyResponse, DeleteKeyError, ScalewayOpContext>;
233
+ export type DeleteValueError = ScalewayOpError;
234
+ /** Delete a value definition. Fails if the value is currently bound to any resource. */
235
+ export declare const deleteValue: API.OperationMethod<DeleteValueRequest, DeleteValueResponse, DeleteValueError, ScalewayOpContext>;
236
+ export type GetKeyError = ScalewayOpError;
237
+ /** Retrieve a specific key. */
238
+ export declare const getKey: API.OperationMethod<GetKeyRequest, Key, GetKeyError, ScalewayOpContext>;
239
+ export type GetValueError = ScalewayOpError;
240
+ /** Retrieve a specific value. */
241
+ export declare const getValue: API.OperationMethod<GetValueRequest, Value, GetValueError, ScalewayOpContext>;
242
+ export type ListAllKeysAndValuesError = ScalewayOpError;
243
+ /** List all keys and values for an organization, sorted alphabetically by key name and value name. */
244
+ export declare const listAllKeysAndValues: API.OperationMethod<ListAllKeysAndValuesRequest, ListAllKeysAndValuesResponse, ListAllKeysAndValuesError, ScalewayOpContext>;
245
+ export type ListBindingsError = ScalewayOpError;
246
+ /** List all bindings, or filter by Scaleway Resource Name or value ID. Response order by ID. */
247
+ export declare const listBindings: API.PaginatedOperationMethod<ListBindingsRequest, ListBindingsResponse, ListBindingsError, ScalewayOpContext, Binding>;
248
+ export type ListKeysError = ScalewayOpError;
249
+ /** List all keys, sorted alphabetically by name. */
250
+ export declare const listKeys: API.PaginatedOperationMethod<ListKeysRequest, ListKeysResponse, ListKeysError, ScalewayOpContext, Key>;
251
+ export type ListValuesError = ScalewayOpError;
252
+ /** List all values, sorted alphabetically by name. */
253
+ export declare const listValues: API.PaginatedOperationMethod<ListValuesRequest, ListValuesResponse, ListValuesError, ScalewayOpContext, Value>;
254
+ export type UpdateKeyError = ScalewayOpError;
255
+ /** Update name or description. All associated resources will immediately display the new name. */
256
+ export declare const updateKey: API.OperationMethod<UpdateKeyRequest, Key, UpdateKeyError, ScalewayOpContext>;
257
+ export type UpdateValueError = ScalewayOpError;
258
+ /** Update name or description. */
259
+ export declare const updateValue: API.OperationMethod<UpdateValueRequest, Value, UpdateValueError, ScalewayOpContext>;
260
+ //# sourceMappingURL=annotations_v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotations_v1.d.ts","sources":["../../src/services/annotations_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,WAAW,oBAAoB;IACnC,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AACD,MAAM,WAAW,UAAU;IACzB,mCAAmC;IACnC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,sBAAsB;IACtB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AACD,MAAM,WAAW,YAAY;IAC3B,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,wBAAwB;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AACD,MAAM,WAAW,OAAO;IACtB,uCAAuC;IACvC,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,0BAA0B;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,sDAAsD;IACtD,UAAU,C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AC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC/C,kCAAkC;AAClC,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,eAAe,CAC3C,kBAAkB,EAClB,KAAK,EACL,gBAAgB,EAChB,iBAAiB,CAUhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{Tc as e,a as t,b as n,bd as r,cd as i,errors$ScalewayServiceErrors as a,fd as o,gd as s,l as c,n as l,nd as u,o as d,pagination$paginateByTotalCount as f,protocol$ScalewayProtocol as p,retry$Retry as m,sd as h,td as g,traits$Http as _,traits$Label as v,traits$Query as y}from"../_bundle/sdk.js";const b={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:`AnnotationsV1`,labels:`scaleway`,propagate:`w3c`};const x=/*@__PURE__*/ l(e=>e===t?c(`CreateBinding`,`{input:#1,output:#6:1,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({target_srn:$3($2),value_id:$3($2)}).pipe($1({method:"POST",uri:"/annotations/v1/bindings",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,o,h,s,g,__d0,a,p,m,b]):n(x,e));const S=/*@__PURE__*/ l(e=>e===t?c(`CreateKey`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({organization_id:$3($2),name:$3($2),description:$3($2)}).pipe($1({method:"POST",uri:"/annotations/v1/keys",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,o,h,s,g,__d1,a,p,m,b]):n(S,e));const C=/*@__PURE__*/ l(e=>e===t?c(`CreateValue`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({key_id:$3($2),name:$3($2),description:$3($2)}).pipe($1({method:"POST",uri:"/annotations/v1/values",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,o,h,s,g,__d2,a,p,m,b]):n(C,e));const w=/*@__PURE__*/ l(e=>e===t?c(`DeleteBinding`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({binding_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/annotations/v1/bindings/{binding_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,s,g,__d3,a,p,m,b]):n(w,e));const T=/*@__PURE__*/ l(e=>e===t?c(`DeleteKey`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({key_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/annotations/v1/keys/{key_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,s,g,__d3,a,p,m,b]):n(T,e));const E=/*@__PURE__*/ l(e=>e===t?c(`DeleteValue`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({value_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/annotations/v1/values/{value_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,s,g,__d3,a,p,m,b]):n(E,e));const D=/*@__PURE__*/ l(e=>e===t?[`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"GetKey"};$5(>2)@"GetKeyRequest";$4({key_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/annotations/v1/keys/{key_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,s,g,__d1,a,p,m,b]]:n(D,e));const O=/*@__PURE__*/ l(e=>e===t?c(`GetValue`,`{input:#1,output:#6:0,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$5(>2)@"%Request";$4({value_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/annotations/v1/values/{value_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,s,g,__d2,a,p,m,b]):n(O,e));const k=/*@__PURE__*/ l(r=>r===t?c(`ListAllKeysAndValues`,`{input:#1,output:#6,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>7)@"%Request";$5(>8)@"%ResponseValue";$7(#2);$5(>9)@"%ResponseKey";$7(#4);$5(>10)@"%Response";$4({organization_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/annotations/v1/all-keys-and-values",code:200,baseUrl:"https://api.scaleway.com"}));$4({id:$6($3),srn:$6($3),name:$6($3),description:$6($3)});$4({id:$6($3),srn:$6($3),name:$6($3),description:$6($3),values:$6(#3)});$4({keys:$6(#5)})`,[u,_,y,o,s,g,h,e,a,p,m,b]):n(k,r));const A=/*@__PURE__*/ d(r=>r===t?c(`ListBindings`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"bindings",pageSize:"page_size"},strategy:$14};$7(>4)@"%Request";$9(#8:1);$7(>5)@"%Response";$6({page:$4($3.pipe($2())),page_size:$4($3.pipe($2())),organization_id:$5.pipe($2()),target_srn:$4($5.pipe($2())),value_id:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/annotations/v1/bindings",code:200,baseUrl:"https://api.scaleway.com"}));$6({bindings:#2,total_count:$4($3)})`,[u,_,y,i,h,o,s,g,__d0,e,a,p,m,b,f]):n(A,r));const j=/*@__PURE__*/ d(r=>r===t?c(`ListKeys`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"keys",pageSize:"page_size"},strategy:$14};$7(>4)@"%Request";$9(#8:0);$7(>5)@"%Response";$6({page:$4($3.pipe($2())),page_size:$4($3.pipe($2())),organization_id:$5.pipe($2())}).pipe($1({method:"GET",uri:"/annotations/v1/keys",code:200,baseUrl:"https://api.scaleway.com"}));$6({keys:#2,total_count:$4($3)})`,[u,_,y,i,h,o,s,g,__d1,e,a,p,m,b,f]):n(j,r));const M=/*@__PURE__*/ d(r=>r===t?c(`ListValues`,`{input:#1,output:#3,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"values",pageSize:"page_size"},strategy:$14};$7(>4)@"%Request";$9(#8:0);$7(>5)@"%Response";$6({page:$4($3.pipe($2())),page_size:$4($3.pipe($2())),organization_id:$5.pipe($2()),key_id:$4($5.pipe($2()))}).pipe($1({method:"GET",uri:"/annotations/v1/values",code:200,baseUrl:"https://api.scaleway.com"}));$6({values:#2,total_count:$4($3)})`,[u,_,y,i,h,o,s,g,__d2,e,a,p,m,b,f]):n(M,r));const N=/*@__PURE__*/ l(e=>e===t?c(`UpdateKey`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({key_id:$3.pipe($2()),name:$5($4($3)),description:$5($4($3))}).pipe($1({method:"PATCH",uri:"/annotations/v1/keys/{key_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,r,h,s,g,__d1,a,p,m,b]):n(N,e));const P=/*@__PURE__*/ l(e=>e===t?c(`UpdateValue`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({value_id:$3.pipe($2()),name:$5($4($3)),description:$5($4($3))}).pipe($1({method:"PATCH",uri:"/annotations/v1/values/{value_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,r,h,s,g,__d2,a,p,m,b]):n(P,e));function __d0(){return[`$4(>2)@"BindingKey";$4(>3)@"Binding";$3({id:$2($1),srn:$2($1),name:$2($1)});$3({id:$2($1),srn:$2($1),target_srn:$2($1),key:$2(#0),value:$2(#0),created_at:$2($5($1)),updated_at:$2($5($1))})`,[u,o,h,s,g,r]]}function __d1(){return[`$5(>1)@"Key";$4({id:$2($1),srn:$2($1),name:$2($1),description:$2($1),created_at:$2($3($1)),updated_at:$2($3($1))})`,[u,o,h,r,s,g]]}function __d2(){return[`$5(>1)@"Value";$4({id:$2($1),srn:$2($1),key_id:$2($1),name:$2($1),description:$2($1),created_at:$2($3($1)),updated_at:$2($3($1))})`,[u,o,h,r,s,g]]}function __d3(){return[`$2(>1)@"DeleteBindingResponse";$1({})`,[u,s,g]]}export{x as createBinding,S as createKey,C as createValue,w as deleteBinding,T as deleteKey,E as deleteValue,D as getKey,O as getValue,k as listAllKeysAndValues,A as listBindings,j as listKeys,M as listValues,N as updateKey,P as updateValue};
2
+ //# sourceMappingURL=annotations_v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"annotations_v1.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.Label","T.Query","S.Array","S.Number","S.NullOr","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","createBinding","i","createKey","createValue","deleteBinding","deleteKey","deleteValue","getKey","getValue","listAllKeysAndValues","listBindings","listKeys","listValues","updateKey","updateValue"],"sources":["../../src/services/annotations_v1.ts"],"mappings":"8SAaA,MAAMmC,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,gBACT,OAAQ,WACR,UAAW,KACb,EAuNA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMrC,EAAQC,EAAU,gBAAiB,+PAAgQ,CAACC,E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InyB,MAAaY,EAKK,gBAAQ,GAAgBZ,IAAMrC,EAAQC,EAAU,YAAa,iSAAkS,CAACC,EAAQC,EAAQO,EAASN,EAAUU,EAAUT,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa2B,CAAS,CAAC,EAAI1B,EAASwC,EAAWZ,CAAC,CAAC,EAIhiB,MAAaa,EAKK,gBAAQ,GAAgBb,IAAMrC,EAAQC,EAAU,cAAe,uSAAwS,CAACC,EAAQC,EAAQO,EAASN,EAAUU,EAAUT,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa2B,CAAS,CAAC,EAAI1B,EAASyC,EAAab,CAAC,CAAC,EAM1iB,SAAS,MAAY,CACnB,MAAO,CAAC,+LAAgM,CAACnC,EAAQE,EAAUC,EAAYC,EAAUC,EAAWO,CAAQ,CAAC,CACvQ,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,qHAAsH,CAACZ,EAAQE,EAAUC,EAAYS,EAAUR,EAAUC,CAAS,CAAC,CAC7L,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,qIAAsI,CAACL,EAAQE,EAAUC,EAAYS,EAAUR,EAAUC,CAAS,CAAC,CAC7M,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,wCAAyC,CAACL,EAAQI,EAAUC,CAAS,CAAC,CAChF"}
@@ -0,0 +1,95 @@
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 AddServerPrivateNetworkRequestZone = "fr-par-2";
5
+ export interface AddServerPrivateNetworkRequest {
6
+ /** The zone you want to target */
7
+ zone?: AddServerPrivateNetworkRequestZone | (string & {}) | undefined;
8
+ /** The ID of the server. */
9
+ server_id: string;
10
+ /** The ID of the Private Network. */
11
+ private_network_id: string;
12
+ }
13
+ export type ServerPrivateNetworkStatus = "unknown" | "attaching" | "attached" | "error" | "detaching" | "locked";
14
+ export interface ServerPrivateNetwork {
15
+ /** The Private Network ID. */
16
+ id?: string | undefined;
17
+ /** The Private Network Project ID. */
18
+ project_id?: string | undefined;
19
+ /** The server ID. */
20
+ server_id?: string | undefined;
21
+ /** The Private Network ID. */
22
+ private_network_id?: string | undefined;
23
+ /** The VLAN ID associated to the Private Network. */
24
+ vlan?: number | null | undefined;
25
+ /** The configuration status of the Private Network. */
26
+ status?: ServerPrivateNetworkStatus | undefined;
27
+ /** The Private Network creation date. (RFC 3339 format) */
28
+ created_at?: string | null | undefined;
29
+ /** The date the Private Network was last modified. (RFC 3339 format) */
30
+ updated_at?: string | null | undefined;
31
+ }
32
+ export type DeleteServerPrivateNetworkRequestZone = "fr-par-2";
33
+ export interface DeleteServerPrivateNetworkRequest {
34
+ /** The zone you want to target */
35
+ zone?: DeleteServerPrivateNetworkRequestZone | (string & {}) | undefined;
36
+ /** The ID of the server. */
37
+ server_id: string;
38
+ /** The ID of the Private Network. */
39
+ private_network_id: string;
40
+ }
41
+ export interface DeleteServerPrivateNetworkResponse {
42
+ }
43
+ export type ListServerPrivateNetworksRequestZone = "fr-par-2";
44
+ export type ListServerPrivateNetworksRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc";
45
+ export interface ListServerPrivateNetworksRequest {
46
+ /** The zone you want to target */
47
+ zone?: ListServerPrivateNetworksRequestZone | (string & {}) | undefined;
48
+ /** The sort order for the returned Private Networks. */
49
+ order_by?: ListServerPrivateNetworksRequestOrderBy | (string & {}) | undefined;
50
+ /** The page number for the returned Private Networks. */
51
+ page?: number | undefined;
52
+ /** The maximum number of Private Networks per page. */
53
+ page_size?: number | undefined;
54
+ /** Filter Private Networks by server ID. (UUID format) */
55
+ server_id?: string | undefined;
56
+ /** Filter Private Networks by Private Network ID. (UUID format) */
57
+ private_network_id?: string | undefined;
58
+ /** Filter Private Networks by Organization ID. (UUID format) */
59
+ organization_id?: string | undefined;
60
+ /** Filter Private Networks by Project ID. (UUID format) */
61
+ project_id?: string | undefined;
62
+ }
63
+ export type ListServerPrivateNetworksResponseServerPrivateNetworksList = Array<ServerPrivateNetwork>;
64
+ export interface ListServerPrivateNetworksResponse {
65
+ server_private_networks: ListServerPrivateNetworksResponseServerPrivateNetworksList;
66
+ total_count?: number | undefined;
67
+ }
68
+ export type SetServerPrivateNetworksRequestZone = "fr-par-2";
69
+ /** The IDs of the Private Networks. */
70
+ export type SetServerPrivateNetworksRequestPrivateNetworkIdsList = Array<string>;
71
+ export interface SetServerPrivateNetworksRequest {
72
+ /** The zone you want to target */
73
+ zone?: SetServerPrivateNetworksRequestZone | (string & {}) | undefined;
74
+ /** The ID of the server. */
75
+ server_id: string;
76
+ /** The IDs of the Private Networks. */
77
+ private_network_ids: SetServerPrivateNetworksRequestPrivateNetworkIdsList;
78
+ }
79
+ export type SetServerPrivateNetworksResponseServerPrivateNetworksList = Array<ServerPrivateNetwork>;
80
+ export interface SetServerPrivateNetworksResponse {
81
+ server_private_networks?: SetServerPrivateNetworksResponseServerPrivateNetworksList | undefined;
82
+ }
83
+ export type AddServerPrivateNetworkError = ScalewayOpError;
84
+ /** Add a server to a Private Network */
85
+ export declare const addServerPrivateNetwork: API.OperationMethod<AddServerPrivateNetworkRequest, ServerPrivateNetwork, AddServerPrivateNetworkError, ScalewayOpContext>;
86
+ export type DeleteServerPrivateNetworkError = ScalewayOpError;
87
+ /** Delete a Private Network */
88
+ export declare const deleteServerPrivateNetwork: API.OperationMethod<DeleteServerPrivateNetworkRequest, DeleteServerPrivateNetworkResponse, DeleteServerPrivateNetworkError, ScalewayOpContext>;
89
+ export type ListServerPrivateNetworksError = ScalewayOpError;
90
+ /** List the Private Networks of a server */
91
+ export declare const listServerPrivateNetworks: API.PaginatedOperationMethod<ListServerPrivateNetworksRequest, ListServerPrivateNetworksResponse, ListServerPrivateNetworksError, ScalewayOpContext, ServerPrivateNetwork>;
92
+ export type SetServerPrivateNetworksError = ScalewayOpError;
93
+ /** Set multiple Private Networks on a server */
94
+ export declare const setServerPrivateNetworks: API.OperationMethod<SetServerPrivateNetworksRequest, SetServerPrivateNetworksResponse, SetServerPrivateNetworksError, ScalewayOpContext>;
95
+ //# sourceMappingURL=baremetal_private_network_v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baremetal_private_network_v1.d.ts","sources":["../../src/services/baremetal_private_network_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC;AAC5D,MAAM,WAAW,8BAA8B;IAC7C,kCAAkC;IAClC,IAAI,CAAC,EAAE,kCAAkC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACtE,4BAA4B;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AACD,MAAM,MAAM,0BAA0B,GAClC,SAAS,GACT,WAAW,GACX,UAAU,GACV,OAAO,GACP,WAAW,GACX,QAAQ,CAAC;AACb,MAAM,WAAW,oBAAoB;IACnC,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,8BAA8B;IAC9B,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,uDAAuD;IACvD,MAAM,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IAChD,2DAA2D;IA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AM,MAAM,6BAA6B,GAAG,eAAe,CAAC;AAC5D,gDAAgD;AAChD,eAAO,MAAM,wBAAwB,EAAE,GAAG,CAAC,eAAe,CACxD,+BAA+B,EAC/B,gCAAgC,EAChC,6BAA6B,EAC7B,iBAAiB,CAUhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{Tc as e,a as t,b as n,bd as r,cd as i,errors$ScalewayServiceErrors as a,fd as o,gd as s,l as c,n as l,nd as u,o as d,pagination$paginateByTotalCount as f,protocol$ScalewayProtocol as p,retry$Retry as m,sd as h,td as g,traits$Http as _,traits$Label as v,traits$Query as y}from"../_bundle/sdk.js";const b={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:`BaremetalPrivateNetworkV1`,labels:`scaleway`,propagate:`w3c`};const x=/*@__PURE__*/ l(e=>e===t?c(`AddServerPrivateNetwork`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({zone:$4($3.pipe($2())),server_id:$3.pipe($2()),private_network_id:$3}).pipe($1({method:"POST",uri:"/baremetal/v1/zones/{zone}/servers/{server_id}/private-networks",code:200,baseUrl:"https://api.scaleway.com"}))`,[u,_,v,o,h,s,g,__d0,a,p,m,b]):n(x,e));const S=/*@__PURE__*/ l(e=>e===t?c(`DeleteServerPrivateNetwork`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({zone:$4($3.pipe($2())),server_id:$3.pipe($2()),private_network_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/baremetal/v1/zones/{zone}/servers/{server_id}/private-networks/{private_network_id}",code:200,baseUrl:"https://api.scaleway.com"}));$5({})`,[u,_,v,o,h,s,g,a,p,m,b]):n(S,e));const C=/*@__PURE__*/ d(e=>e===t?c(`ListServerPrivateNetworks`,`{input:#1,output:#2,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"server_private_networks",pageSize:"page_size"},strategy:$14};$8(>3)@"%Request";$8(>4)@"%Response";$7({zone:$4($3.pipe($2())),order_by:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),server_id:$4($3.pipe($5())),private_network_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),project_id:$4($3.pipe($5()))}).pipe($1({method:"GET",uri:"/baremetal/v1/zones/{zone}/server-private-networks",code:200,baseUrl:"https://api.scaleway.com"}));$7({server_private_networks:#9:0,total_count:$4($6)})`,[u,_,v,o,h,y,i,s,g,__d1,a,p,m,b,f]):n(C,e));const w=/*@__PURE__*/ l(r=>r===t?c(`SetServerPrivateNetworks`,`{input:#2,output:#3,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$2($1);$7(>4)@"%Request";$7(>5)@"%Response";$6({zone:$5($1.pipe($4())),server_id:$1.pipe($4()),private_network_ids:#1}).pipe($3({method:"PUT",uri:"/baremetal/v1/zones/{zone}/servers/{server_id}/private-networks",code:200,baseUrl:"https://api.scaleway.com"}));$6({server_private_networks:$5(#8:0)})`,[u,o,e,_,v,h,s,g,__d1,a,p,m,b]):n(w,r));function __d0(){return[`$6(>1)@"ServerPrivateNetwork";$5({id:$2($1),project_id:$2($1),server_id:$2($1),private_network_id:$2($1),vlan:$2($4($3)),status:$2($1),created_at:$2($4($1)),updated_at:$2($4($1))})`,[u,o,h,i,r,s,g]]}function __d1(){return[`$2(#1:0)`,[u,__d0,e]]}export{x as addServerPrivateNetwork,S as deleteServerPrivateNetwork,C as listServerPrivateNetworks,w as setServerPrivateNetworks};
2
+ //# sourceMappingURL=baremetal_private_network_v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baremetal_private_network_v1.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.Array","S.NullOr","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","addServerPrivateNetwork","i","deleteServerPrivateNetwork","listServerPrivateNetworks","setServerPrivateNetworks"],"sources":["../../src/services/baremetal_private_network_v1.ts"],"mappings":"8SAaA,MAAMmC,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,4BACT,OAAQ,WACR,UAAW,KACb,EA6FA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMrC,EAAQC,EAAU,0BAA2B,0UAA2U,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMY,EAAuBQ,EAAkBnB,EAAa0B,CAAS,CAAC,EAAIzB,EAAS0B,EAAyBC,CAAC,CAAC,EAI3lB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMrC,EAAQC,EAAU,6BAA8B,mYAAoY,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAWY,EAAuBQ,EAAkBnB,EAAa0B,CAAS,CAAC,EAAIzB,EAAS4B,EAA4BD,CAAC,CAAC,EAIppB,MAAaE,EAMK,gBAAiB,GAAgBF,IAAMrC,EAAQC,EAAU,4BAA6B,4qBAA6qB,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYK,EAASC,EAAUL,EAAUC,EAAW,KAAMY,EAAuBQ,EAAkBnB,EAAa0B,EAAWR,CAAoB,CAAC,EAAIjB,EAAS6B,EAA2BF,CAAC,CAAC,EAIn/B,MAAaG,EAKK,gBAAQ,GAAgBH,IAAMrC,EAAQC,EAAU,2BAA4B,0YAA2Y,CAACC,EAAQG,EAAUQ,EAASV,EAAQC,EAASE,EAAYC,EAAUC,EAAW,KAAMY,EAAuBQ,EAAkBnB,EAAa0B,CAAS,CAAC,EAAIzB,EAAS8B,EAA0BH,CAAC,CAAC,EAMtqB,SAAS,MAAY,CACnB,MAAO,CAAC,uLAAwL,CAACnC,EAAQG,EAAUC,EAAYM,EAAUE,EAAUP,EAAUC,CAAS,CAAC,CACzQ,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,WAAY,CAACN,EAAQ,KAAMW,CAAO,CAAC,CAC7C"}
@@ -0,0 +1,110 @@
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 AddServerPrivateNetworkRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
5
+ /** IPAM IDs of an IPs to attach to the server. */
6
+ export type AddServerPrivateNetworkRequestIpamIpIdsList = Array<string>;
7
+ export interface AddServerPrivateNetworkRequest {
8
+ /** The zone you want to target */
9
+ zone?: AddServerPrivateNetworkRequestZone | (string & {}) | undefined;
10
+ /** UUID of the server. */
11
+ server_id: string;
12
+ /** UUID of the Private Network. */
13
+ private_network_id: string;
14
+ /** IPAM IDs of an IPs to attach to the server. */
15
+ ipam_ip_ids?: AddServerPrivateNetworkRequestIpamIpIdsList | undefined;
16
+ }
17
+ export type ServerPrivateNetworkStatus = "unknown_status" | "attaching" | "attached" | "error" | "detaching" | "locked";
18
+ /** IPAM IP IDs of the server, if it has any. */
19
+ export type ServerPrivateNetworkIpamIpIdsList = Array<string>;
20
+ export interface ServerPrivateNetwork {
21
+ /** UUID of the Server-to-Private Network mapping. */
22
+ id?: string | undefined;
23
+ /** Private Network Project UUID. */
24
+ project_id?: string | undefined;
25
+ /** Server UUID. */
26
+ server_id?: string | undefined;
27
+ /** Private Network UUID. */
28
+ private_network_id?: string | undefined;
29
+ /** VLAN UUID associated with the Private Network. */
30
+ vlan?: number | null | undefined;
31
+ /** Configuration status of the Private Network. */
32
+ status?: ServerPrivateNetworkStatus | undefined;
33
+ /** Private Network creation date. (RFC 3339 format) */
34
+ created_at?: string | null | undefined;
35
+ /** Date the Private Network was last modified. (RFC 3339 format) */
36
+ updated_at?: string | null | undefined;
37
+ /** IPAM IP IDs of the server, if it has any. */
38
+ ipam_ip_ids?: ServerPrivateNetworkIpamIpIdsList | undefined;
39
+ }
40
+ export type DeleteServerPrivateNetworkRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
41
+ export interface DeleteServerPrivateNetworkRequest {
42
+ /** The zone you want to target */
43
+ zone?: DeleteServerPrivateNetworkRequestZone | (string & {}) | undefined;
44
+ /** UUID of the server. */
45
+ server_id: string;
46
+ /** UUID of the Private Network. */
47
+ private_network_id: string;
48
+ }
49
+ export interface DeleteServerPrivateNetworkResponse {
50
+ }
51
+ export type ListServerPrivateNetworksRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
52
+ export type ListServerPrivateNetworksRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc";
53
+ export type ListServerPrivateNetworksRequestIpamIpIdsList = Array<string>;
54
+ export interface ListServerPrivateNetworksRequest {
55
+ /** The zone you want to target */
56
+ zone?: ListServerPrivateNetworksRequestZone | (string & {}) | undefined;
57
+ /** Sort order for the returned Private Networks. */
58
+ order_by?: ListServerPrivateNetworksRequestOrderBy | (string & {}) | undefined;
59
+ /** Page number for the returned Private Networks. */
60
+ page?: number | undefined;
61
+ /** Maximum number of Private Networks per page. */
62
+ page_size?: number | undefined;
63
+ /** Filter Private Networks by server UUID. */
64
+ server_id?: string | undefined;
65
+ /** Filter Private Networks by Private Network UUID. */
66
+ private_network_id?: string | undefined;
67
+ /** Filter Private Networks by organization UUID. */
68
+ organization_id?: string | undefined;
69
+ /** Filter Private Networks by project UUID. */
70
+ project_id?: string | undefined;
71
+ /** Filter Private Networks by IPAM IP UUIDs. */
72
+ ipam_ip_ids?: ListServerPrivateNetworksRequestIpamIpIdsList | undefined;
73
+ }
74
+ export type ListServerPrivateNetworksResponseServerPrivateNetworksList = Array<ServerPrivateNetwork>;
75
+ export interface ListServerPrivateNetworksResponse {
76
+ server_private_networks: ListServerPrivateNetworksResponseServerPrivateNetworksList;
77
+ total_count?: number | undefined;
78
+ }
79
+ export type SetServerPrivateNetworksRequestZone = "fr-par-1" | "fr-par-2" | "nl-ams-1" | "nl-ams-2" | "pl-waw-2" | "pl-waw-3";
80
+ /** Object where the keys are the UUIDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Elastic Metal server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment. */
81
+ export type SetServerPrivateNetworksRequestPerPrivateNetworkIpamIpIdsValueList = Array<unknown>;
82
+ /** Object where the keys are the UUIDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Elastic Metal server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment. */
83
+ export type SetServerPrivateNetworksRequestPerPrivateNetworkIpamIpIdsMap = {
84
+ [key: string]: SetServerPrivateNetworksRequestPerPrivateNetworkIpamIpIdsValueList | null | undefined;
85
+ };
86
+ export interface SetServerPrivateNetworksRequest {
87
+ /** The zone you want to target */
88
+ zone?: SetServerPrivateNetworksRequestZone | (string & {}) | undefined;
89
+ /** UUID of the server. */
90
+ server_id: string;
91
+ /** Object where the keys are the UUIDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Elastic Metal server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment. */
92
+ per_private_network_ipam_ip_ids: SetServerPrivateNetworksRequestPerPrivateNetworkIpamIpIdsMap;
93
+ }
94
+ export type SetServerPrivateNetworksResponseServerPrivateNetworksList = Array<ServerPrivateNetwork>;
95
+ export interface SetServerPrivateNetworksResponse {
96
+ server_private_networks?: SetServerPrivateNetworksResponseServerPrivateNetworksList | undefined;
97
+ }
98
+ export type AddServerPrivateNetworkError = ScalewayOpError;
99
+ /** Add a server to a Private Network Add an Elastic Metal server to a Private Network. */
100
+ export declare const addServerPrivateNetwork: API.OperationMethod<AddServerPrivateNetworkRequest, ServerPrivateNetwork, AddServerPrivateNetworkError, ScalewayOpContext>;
101
+ export type DeleteServerPrivateNetworkError = ScalewayOpError;
102
+ /** Delete a Private Network */
103
+ export declare const deleteServerPrivateNetwork: API.OperationMethod<DeleteServerPrivateNetworkRequest, DeleteServerPrivateNetworkResponse, DeleteServerPrivateNetworkError, ScalewayOpContext>;
104
+ export type ListServerPrivateNetworksError = ScalewayOpError;
105
+ /** List the Private Networks of a server List the Private Networks of an Elastic Metal server. */
106
+ export declare const listServerPrivateNetworks: API.PaginatedOperationMethod<ListServerPrivateNetworksRequest, ListServerPrivateNetworksResponse, ListServerPrivateNetworksError, ScalewayOpContext, ServerPrivateNetwork>;
107
+ export type SetServerPrivateNetworksError = ScalewayOpError;
108
+ /** Set multiple Private Networks on a server Configure multiple Private Networks on an Elastic Metal server. */
109
+ export declare const setServerPrivateNetworks: API.OperationMethod<SetServerPrivateNetworksRequest, SetServerPrivateNetworksResponse, SetServerPrivateNetworksError, ScalewayOpContext>;
110
+ //# sourceMappingURL=baremetal_private_network_v3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baremetal_private_network_v3.d.ts","sources":["../../src/services/baremetal_private_network_v3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,kCAAkC,G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0B,EAAE,GAAG,CAAC,eAAe,CAC1D,iCAAiC,EACjC,kCAAkC,EAClC,+BAA+B,EAC/B,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,8BAA8B,GAAG,eAAe,CAAC;AAC7D,kGAAkG;AAClG,eAAO,MAAM,yBAAyB,EAAE,GAAG,CAAC,wBAAwB,CAClE,gCAAgC,EAChC,iCAAiC,EACjC,8BAA8B,EAC9B,iBAAiB,EACjB,oBAAoB,CAoBd,CAAC;AAET,MAAM,MAAM,6BAA6B,GAAG,eAAe,CAAC;AAC5D,gHAAgH;AAChH,eAAO,MAAM,wBAAwB,EAAE,GAAG,CAAC,eAAe,CACxD,+BAA+B,EAC/B,gCAAgC,EAChC,6BAA6B,EAC7B,iBAAiB,CAUhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{Tc as e,a as t,b as n,bd as r,cd as i,dd 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$paginateByTotalCount 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:`BaremetalPrivateNetworkV3`,labels:`scaleway`,propagate:`w3c`};const C=/*@__PURE__*/ d(e=>e===t?l(`AddServerPrivateNetwork`,`{input:#1,output:#5:1,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$7(>2)@"%Request";$6({zone:$4($3.pipe($2())),server_id:$3.pipe($2()),private_network_id:$3,ipam_ip_ids:$4(#5:0)}).pipe($1({method:"POST",uri:"/baremetal/v3/zones/{zone}/servers/{server_id}/private-networks",code:200,baseUrl:"https://api.scaleway.com"}))`,[f,y,b,s,_,__d0,c,v,o,h,g,S]):n(C,e));const w=/*@__PURE__*/ d(e=>e===t?l(`DeleteServerPrivateNetwork`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({zone:$4($3.pipe($2())),server_id:$3.pipe($2()),private_network_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/baremetal/v3/zones/{zone}/servers/{server_id}/private-networks/{private_network_id}",code:200,baseUrl:"https://api.scaleway.com"}));$5({})`,[f,y,b,s,_,c,v,o,h,g,S]):n(w,e));const T=/*@__PURE__*/ p(e=>e===t?l(`ListServerPrivateNetworks`,`{input:#1,output:#2,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"server_private_networks",pageSize:"page_size"},strategy:$15};$9(>3)@"%Request";$9(>4)@"%Response";$8({zone:$4($3.pipe($2())),order_by:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5())),server_id:$4($3.pipe($5())),private_network_id:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),project_id:$4($3.pipe($5())),ipam_ip_ids:$4(#7:0.pipe($5()))}).pipe($1({method:"GET",uri:"/baremetal/v3/zones/{zone}/server-private-networks",code:200,baseUrl:"https://api.scaleway.com"}));$8({server_private_networks:#10:0,total_count:$4($6)})`,[f,y,b,s,_,x,i,__d0,c,v,__d1,o,h,g,S,m]):n(T,e));const E=/*@__PURE__*/ d(i=>i===t?l(`SetServerPrivateNetworks`,`{input:#3,output:#4,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$2($1);$5($3,$4(#1));$10(>5)@"%Request";$10(>6)@"%Response";$9({zone:$8($3.pipe($7())),server_id:$3.pipe($7()),per_private_network_ipam_ip_ids:#2}).pipe($6({method:"PUT",uri:"/baremetal/v3/zones/{zone}/servers/{server_id}/private-networks",code:200,baseUrl:"https://api.scaleway.com"}));$9({server_private_networks:$8(#11:0)})`,[f,u,e,s,r,a,y,b,_,c,v,__d1,o,h,g,S]):n(E,i));function __d0(){return[`$2($1);$7(>2)@"ServerPrivateNetwork";$6({id:$3($1),project_id:$3($1),server_id:$3($1),private_network_id:$3($1),vlan:$3($5($4)),status:$3($1),created_at:$3($5($1)),updated_at:$3($5($1)),ipam_ip_ids:$3(#0)})`,[f,s,e,_,i,r,c,v]]}function __d1(){return[`$2(#1:1)`,[f,__d0,e]]}export{C as addServerPrivateNetwork,w as deleteServerPrivateNetwork,T as listServerPrivateNetworks,E as setServerPrivateNetworks};
2
+ //# sourceMappingURL=baremetal_private_network_v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baremetal_private_network_v3.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.Unknown","S.Array","S.NullOr","S.Record","Array","D","call","NullOr","Number","Record","ScalewayServiceErrors","String","Struct","Unknown","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","TELEMETRY","addServerPrivateNetwork","i","named","deleteServerPrivateNetwork","listServerPrivateNetworks","setServerPrivateNetworks"],"sources":["../../src/services/baremetal_private_network_v3.ts"],"mappings":"yTAaA,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,4BACT,OAAQ,WACR,UAAW,KACb,EAuIA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMxC,EAAQC,EAAU,0BAA2B,+VAAgW,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMC,EAAUC,EAAWe,EAAuBQ,EAAkBtB,EAAa6B,CAAS,CAAC,EAAI5B,EAAS6B,EAAyBC,CAAC,CAAC,EAIhnB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMxC,EA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