@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,195 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import type * as Redacted from "effect/Redacted";
3
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
4
+ export type { ScalewayOpError, ScalewayOpContext };
5
+ export type AssignDatabaseUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
6
+ export interface AssignDatabaseUserRequest {
7
+ /** The region you want to target */
8
+ region?: AssignDatabaseUserRequestRegion | (string & {}) | undefined;
9
+ /** UUID of the hosting plan. */
10
+ hosting_id: string;
11
+ /** Name of the database to be assigned. */
12
+ database_name: string;
13
+ /** Name of the user to assign. */
14
+ username?: string | undefined;
15
+ }
16
+ /** List of databases accessible by the user. */
17
+ export type DatabaseUserDatabasesList = Array<string>;
18
+ export interface DatabaseUser {
19
+ /** Name of the database user. */
20
+ username?: string | undefined;
21
+ /** List of databases accessible by the user. */
22
+ databases?: DatabaseUserDatabasesList | undefined;
23
+ }
24
+ export type ChangeDatabaseUserPasswordRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
25
+ export interface ChangeDatabaseUserPasswordRequest {
26
+ /** The region you want to target */
27
+ region?: ChangeDatabaseUserPasswordRequestRegion | (string & {}) | undefined;
28
+ /** UUID of the hosting plan. */
29
+ hosting_id: string;
30
+ /** Name of the user to update. */
31
+ username: string;
32
+ /** New password. */
33
+ password?: string | Redacted.Redacted<string> | undefined;
34
+ }
35
+ export type CreateDatabaseRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
36
+ export interface CreateDatabaseRequestUser {
37
+ username?: string | undefined;
38
+ password?: string | Redacted.Redacted<string> | undefined;
39
+ }
40
+ export interface CreateDatabaseRequest {
41
+ /** The region you want to target */
42
+ region?: CreateDatabaseRequestRegion | (string & {}) | undefined;
43
+ /** UUID of the hosting plan where the database will be created. */
44
+ hosting_id: string;
45
+ /** Name of the database to be created. If it is not already prefixed with the hosting's cPanel username followed by an underscore (e.g. `cpe1234_`), this prefix is automatically added. The resulting name must not exceed 64 characters. */
46
+ database_name?: string | undefined;
47
+ /** (Optional) Username and password to create a user and link to the database. The username is prefixed the same way as `database_name`. Precisely one of new_user, existing_username can be set. */
48
+ new_user?: CreateDatabaseRequestUser | null | undefined;
49
+ /** (Optional) Username to link an existing user to the database. Precisely one of new_user, existing_username can be set. */
50
+ existing_username?: string | null | undefined;
51
+ }
52
+ /** List of users who have access to the database. */
53
+ export type DatabaseUsersList = Array<string>;
54
+ export interface Database {
55
+ /** Name of the database. */
56
+ database_name?: string | undefined;
57
+ /** List of users who have access to the database. */
58
+ users?: DatabaseUsersList | undefined;
59
+ }
60
+ export type CreateDatabaseUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
61
+ export interface CreateDatabaseUserRequest {
62
+ /** The region you want to target */
63
+ region?: CreateDatabaseUserRequestRegion | (string & {}) | undefined;
64
+ /** UUID of the hosting plan. */
65
+ hosting_id: string;
66
+ /** Name of the user to create. If it is not already prefixed with the hosting's cPanel username followed by an underscore (e.g. `cpe1234_`), this prefix is automatically added. The resulting name must not exceed 32 characters. */
67
+ username?: string | undefined;
68
+ /** Password of the user to create. */
69
+ password?: string | Redacted.Redacted<string> | undefined;
70
+ }
71
+ export type DeleteDatabaseRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
72
+ export interface DeleteDatabaseRequest {
73
+ /** The region you want to target */
74
+ region?: DeleteDatabaseRequestRegion | (string & {}) | undefined;
75
+ /** UUID of the hosting plan. */
76
+ hosting_id: string;
77
+ /** Name of the database to delete. */
78
+ database_name: string;
79
+ }
80
+ export type DeleteDatabaseUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
81
+ export interface DeleteDatabaseUserRequest {
82
+ /** The region you want to target */
83
+ region?: DeleteDatabaseUserRequestRegion | (string & {}) | undefined;
84
+ /** UUID of the hosting plan. */
85
+ hosting_id: string;
86
+ /** Name of the database user to delete. */
87
+ username: string;
88
+ }
89
+ export type GetDatabaseRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
90
+ export interface GetDatabaseRequest {
91
+ /** The region you want to target */
92
+ region?: GetDatabaseRequestRegion | (string & {}) | undefined;
93
+ /** UUID of the hosting plan. */
94
+ hosting_id: string;
95
+ /** Name of the database. */
96
+ database_name: string;
97
+ }
98
+ export type GetDatabaseUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
99
+ export interface GetDatabaseUserRequest {
100
+ /** The region you want to target */
101
+ region?: GetDatabaseUserRequestRegion | (string & {}) | undefined;
102
+ /** UUID of the hosting plan. */
103
+ hosting_id: string;
104
+ /** Name of the database user to retrieve details. */
105
+ username: string;
106
+ }
107
+ export type ListDatabasesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
108
+ export type ListDatabasesRequestOrderBy = "database_name_asc" | "database_name_desc";
109
+ export interface ListDatabasesRequest {
110
+ /** The region you want to target */
111
+ region?: ListDatabasesRequestRegion | (string & {}) | undefined;
112
+ /** UUID of the hosting plan. */
113
+ hosting_id: string;
114
+ /** Page number (must be a positive integer). */
115
+ page?: number | undefined;
116
+ /** Number of databases to return (must be a positive integer lower or equal to 100). */
117
+ page_size?: number | undefined;
118
+ /** Sort order of databases in the response. */
119
+ order_by?: ListDatabasesRequestOrderBy | (string & {}) | undefined;
120
+ }
121
+ /** List of databases. */
122
+ export type ListDatabasesResponseDatabasesList = Array<Database>;
123
+ export interface ListDatabasesResponse {
124
+ /** Total number of databases. */
125
+ total_count?: number | undefined;
126
+ /** List of databases. */
127
+ databases: ListDatabasesResponseDatabasesList;
128
+ }
129
+ export type ListDatabaseUsersRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
130
+ export type ListDatabaseUsersRequestOrderBy = "username_asc" | "username_desc";
131
+ export interface ListDatabaseUsersRequest {
132
+ /** The region you want to target */
133
+ region?: ListDatabaseUsersRequestRegion | (string & {}) | undefined;
134
+ /** UUID of the hosting plan. */
135
+ hosting_id: string;
136
+ /** Page number (must be a positive integer). */
137
+ page?: number | undefined;
138
+ /** Number of database users to return (must be a positive integer lower or equal to 100). */
139
+ page_size?: number | undefined;
140
+ /** Sort order of database users in the response. */
141
+ order_by?: ListDatabaseUsersRequestOrderBy | (string & {}) | undefined;
142
+ }
143
+ /** List of database users. */
144
+ export type ListDatabaseUsersResponseUsersList = Array<DatabaseUser>;
145
+ export interface ListDatabaseUsersResponse {
146
+ /** Total number of database users. */
147
+ total_count?: number | undefined;
148
+ /** List of database users. */
149
+ users: ListDatabaseUsersResponseUsersList;
150
+ }
151
+ export type UnassignDatabaseUserRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
152
+ export interface UnassignDatabaseUserRequest {
153
+ /** The region you want to target */
154
+ region?: UnassignDatabaseUserRequestRegion | (string & {}) | undefined;
155
+ /** UUID of the hosting plan. */
156
+ hosting_id: string;
157
+ /** Name of the database to be unassigned. */
158
+ database_name: string;
159
+ /** Name of the user to unassign. */
160
+ username?: string | undefined;
161
+ }
162
+ export type AssignDatabaseUserError = ScalewayOpError;
163
+ /** "Assign a database user to a database" */
164
+ export declare const assignDatabaseUser: API.OperationMethod<AssignDatabaseUserRequest, DatabaseUser, AssignDatabaseUserError, ScalewayOpContext>;
165
+ export type ChangeDatabaseUserPasswordError = ScalewayOpError;
166
+ /** "Change the password of a database user" */
167
+ export declare const changeDatabaseUserPassword: API.OperationMethod<ChangeDatabaseUserPasswordRequest, DatabaseUser, ChangeDatabaseUserPasswordError, ScalewayOpContext>;
168
+ export type CreateDatabaseError = ScalewayOpError;
169
+ /** "Create a new database within your hosting plan" */
170
+ export declare const createDatabase: API.OperationMethod<CreateDatabaseRequest, Database, CreateDatabaseError, ScalewayOpContext>;
171
+ export type CreateDatabaseUserError = ScalewayOpError;
172
+ /** "Create a new database user" */
173
+ export declare const createDatabaseUser: API.OperationMethod<CreateDatabaseUserRequest, DatabaseUser, CreateDatabaseUserError, ScalewayOpContext>;
174
+ export type DeleteDatabaseError = ScalewayOpError;
175
+ /** "Delete a database within your hosting plan" */
176
+ export declare const deleteDatabase: API.OperationMethod<DeleteDatabaseRequest, Database, DeleteDatabaseError, ScalewayOpContext>;
177
+ export type DeleteDatabaseUserError = ScalewayOpError;
178
+ /** "Delete a database user" */
179
+ export declare const deleteDatabaseUser: API.OperationMethod<DeleteDatabaseUserRequest, DatabaseUser, DeleteDatabaseUserError, ScalewayOpContext>;
180
+ export type GetDatabaseError = ScalewayOpError;
181
+ /** "Get details of a database within your hosting plan" */
182
+ export declare const getDatabase: API.OperationMethod<GetDatabaseRequest, Database, GetDatabaseError, ScalewayOpContext>;
183
+ export type GetDatabaseUserError = ScalewayOpError;
184
+ /** "Get details of a database user" */
185
+ export declare const getDatabaseUser: API.OperationMethod<GetDatabaseUserRequest, DatabaseUser, GetDatabaseUserError, ScalewayOpContext>;
186
+ export type ListDatabasesError = ScalewayOpError;
187
+ /** "List all databases within your hosting plan" */
188
+ export declare const listDatabases: API.PaginatedOperationMethod<ListDatabasesRequest, ListDatabasesResponse, ListDatabasesError, ScalewayOpContext, Database>;
189
+ export type ListDatabaseUsersError = ScalewayOpError;
190
+ /** "List all database users" */
191
+ export declare const listDatabaseUsers: API.PaginatedOperationMethod<ListDatabaseUsersRequest, ListDatabaseUsersResponse, ListDatabaseUsersError, ScalewayOpContext, DatabaseUser>;
192
+ export type UnassignDatabaseUserError = ScalewayOpError;
193
+ /** "Unassign a database user from a database" */
194
+ export declare const unassignDatabaseUser: API.OperationMethod<UnassignDatabaseUserRequest, DatabaseUser, UnassignDatabaseUserError, ScalewayOpContext>;
195
+ //# sourceMappingURL=webhosting_database_v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhosting_database_v1.d.ts","sources":["../../src/services/webhosting_database_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,+BAA+B,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC7E,MAAM,WAAW,yBAAyB;IACxC,oCAAoC;IACpC,MAAM,CAAC,EAAE,+BAA+B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACrE,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C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AuB,EACvB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;AAC/C,2DAA2D;AAC3D,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,eAAe,CAC3C,kBAAkB,EAClB,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC;AACnD,uCAAuC;AACvC,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,eAAe,CAC/C,sBAAsB,EACtB,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,oDAAoD;AACpD,eAAO,MAAM,aAAa,EAAE,GAAG,CAAC,wBAAwB,CACtD,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,CAoBF,CAAC;AAET,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC;AACrD,gCAAgC;AAChC,eAAO,MAAM,iBAAiB,EAAE,GAAG,CAAC,wBAAwB,CAC1D,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,CAoBN,CAAC;AAET,MAAM,MAAM,yBAAyB,GAAG,eAAe,CAAC;AACxD,iDAAiD;AACjD,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,YAAY,EACZ,yBAAyB,EACzB,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,traits$SensitiveValue as b}from"../_bundle/sdk.js";const x={system:`scaleway-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Scaleway`,service:`WebhostingDatabaseV1`,labels:`scaleway`,propagate:`w3c`};const S=/*@__PURE__*/ l(e=>e===t?c(`AssignDatabaseUser`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),database_name:$4.pipe($3()),username:$5($4)}).pipe($2({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases/{database_name}/assign-user",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,s,g,__d1,a,p,m,x]):n(S,e));const C=/*@__PURE__*/ l(e=>e===t?c(`ChangeDatabaseUserPassword`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),username:$4.pipe($3()),password:$5($4.pipe($6({})))}).pipe($2({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases-users/{username}/change-password",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,b,s,g,__d1,a,p,m,x]):n(C,e));const w=/*@__PURE__*/ l(e=>e===t?c(`CreateDatabase`,`{input:#2,output:#10:0,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$5(>3)@"%RequestUser";$5(>4)@"%Request";$4({username:$2($1),password:$2($1.pipe($3({})))});$4({region:$2($1.pipe($8())),hosting_id:$1.pipe($8()),database_name:$2($1),new_user:$2($9(#1)),existing_username:$2($9($1))}).pipe($7({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases",code:200,baseUrl:~6:1}))`,[u,o,h,b,s,g,__d0,_,v,r,__d2,a,p,m,x]):n(w,e));const T=/*@__PURE__*/ l(e=>e===t?c(`CreateDatabaseUser`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),username:$5($4),password:$5($4.pipe($6({})))}).pipe($2({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases-users",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,b,s,g,__d1,a,p,m,x]):n(T,e));const E=/*@__PURE__*/ l(e=>e===t?c(`DeleteDatabase`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),database_name:$4.pipe($3())}).pipe($2({method:"DELETE",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases/{database_name}",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,s,g,__d2,a,p,m,x]):n(E,e));const D=/*@__PURE__*/ l(e=>e===t?c(`DeleteDatabaseUser`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),username:$4.pipe($3())}).pipe($2({method:"DELETE",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/database-users/{username}",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,s,g,__d1,a,p,m,x]):n(D,e));const O=/*@__PURE__*/ l(e=>e===t?c(`GetDatabase`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),database_name:$4.pipe($3())}).pipe($2({method:"GET",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases/{database_name}",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,s,g,__d2,a,p,m,x]):n(O,e));const k=/*@__PURE__*/ l(e=>e===t?c(`GetDatabaseUser`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),username:$4.pipe($3())}).pipe($2({method:"GET",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases-users/{username}",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,s,g,__d1,a,p,m,x]):n(k,e));const A=/*@__PURE__*/ d(r=>r===t?c(`ListDatabases`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"databases",pageSize:"page_size"},strategy:$16};$9(>4)@"%Request";$11(#10:0);$9(>5)@"%Response";$8({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),page:$5($7.pipe($6())),page_size:$5($7.pipe($6())),order_by:$5($4.pipe($6()))}).pipe($2({method:"GET",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases",code:200,baseUrl:~1:1}));$8({total_count:$5($7),databases:#2})`,[u,__d0,_,v,o,h,y,i,s,g,__d2,e,a,p,m,x,f]):n(A,r));const j=/*@__PURE__*/ d(r=>r===t?c(`ListDatabaseUsers`,`{input:#1,output:#3,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"users",pageSize:"page_size"},strategy:$16};$9(>4)@"%Request";$11(#10:0);$9(>5)@"%Response";$8({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),page:$5($7.pipe($6())),page_size:$5($7.pipe($6())),order_by:$5($4.pipe($6()))}).pipe($2({method:"GET",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/database-users",code:200,baseUrl:~1:1}));$8({total_count:$5($7),users:#2})`,[u,__d0,_,v,o,h,y,i,s,g,__d1,e,a,p,m,x,f]):n(j,r));const M=/*@__PURE__*/ l(e=>e===t?c(`UnassignDatabaseUser`,`{input:#1,output:#8:0,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$5($4.pipe($3())),hosting_id:$4.pipe($3()),database_name:$4.pipe($3()),username:$5($4)}).pipe($2({method:"POST",uri:"/webhosting/v1/regions/{region}/hostings/{hosting_id}/databases/{database_name}/unassign-user",code:200,baseUrl:~1:1}))`,[u,__d0,_,v,o,h,s,g,__d1,a,p,m,x]):n(M,e));function __d0(){return[`$2($1);"https://api.scaleway.com"`,[u,o,e]]}function __d1(){return[`$5(>1)@"DatabaseUser";$4({username:$2($1),databases:$2(#3:0)})`,[u,o,h,__d0,s,g]]}function __d2(){return[`$5(>1)@"Database";$4({database_name:$2($1),users:$2(#3:0)})`,[u,o,h,__d0,s,g]]}export{S as assignDatabaseUser,C as changeDatabaseUserPassword,w as createDatabase,T as createDatabaseUser,E as deleteDatabase,D as deleteDatabaseUser,O as getDatabase,k as getDatabaseUser,j as listDatabaseUsers,A as listDatabases,M as unassignDatabaseUser};
2
+ //# sourceMappingURL=webhosting_database_v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhosting_database_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.SensitiveValue","S.NullOr","T.Query","S.Number","S.Array","Array","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","named","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","Http","Label","Query","SensitiveValue","TELEMETRY","assignDatabaseUser","i","changeDatabaseUserPassword","createDatabase","createDatabaseUser","deleteDatabase","deleteDatabaseUser","getDatabase","getDatabaseUser","listDatabases","listDatabaseUsers","unassignDatabaseUser"],"sources":["../../src/services/webhosting_database_v1.ts"],"mappings":"yUAcA,MAAMqC,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oC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GAAgBV,IAAMvC,EAAQC,EAAU,uBAAwB,4WAA6W,CAACC,EAAQ,KAAMC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMa,EAAuBQ,EAAkBpB,EAAa4B,CAAS,CAAC,EAAI3B,EAASuC,EAAsBV,CAAC,CAAC,EAM7nB,SAAS,MAAY,CACnB,MAAO,CAAC,oCAAqC,CAACrC,EAAQG,EAAUU,CAAO,CAAC,CAC1E,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,iEAAkE,CAACb,EAAQG,EAAUC,EAAY,KAAMC,EAAUC,CAAS,CAAC,CACrI,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,8DAA+D,CAACN,EAAQG,EAAUC,EAAY,KAAMC,EAAUC,CAAS,CAAC,CAClI"}
@@ -0,0 +1,232 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import type * as Redacted from "effect/Redacted";
3
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
4
+ export type { ScalewayOpError, ScalewayOpContext };
5
+ export type MigrateDediboxHostingRequestRegion = "fr-par";
6
+ export interface MigrateDediboxHostingRequest {
7
+ /** The region you want to target */
8
+ region?: MigrateDediboxHostingRequestRegion | (string & {}) | undefined;
9
+ /** Domain linked with the Dedibox hosting. */
10
+ domain: string;
11
+ /** Project ID to which the new migrated hosting will be attached. */
12
+ project_id?: string | undefined;
13
+ /** Email provided while generating the token. */
14
+ email?: string | undefined;
15
+ /** Token generated by the Dedibox console to validate the hosting migration. */
16
+ token?: string | Redacted.Redacted<string> | undefined;
17
+ }
18
+ export type HostingStatus = "unknown_status" | "delivering" | "ready" | "deleting" | "error" | "locked" | "migrating" | "updating" | "payment_pending" | "payment_failed";
19
+ export type OfferOptionName = "unknown_name" | "domain_count" | "email_count" | "storage_gb" | "vcpu_count" | "ram_gb" | "backup" | "dedicated_ip" | "email_storage_gb" | "database_count" | "support" | "additional_email";
20
+ export type OfferOptionWarning = "unknown_warning" | "quota_exceeded_warning" | "usage_low_warning";
21
+ export interface GoogleTypeMoney {
22
+ currency_code?: string | undefined;
23
+ units?: number | undefined;
24
+ nanos?: number | undefined;
25
+ }
26
+ export interface OfferOption {
27
+ /** Option ID. */
28
+ id?: string | undefined;
29
+ /** Name of the option. */
30
+ name?: OfferOptionName | undefined;
31
+ /** Unique identifier used for billing. */
32
+ billing_operation_path?: string | undefined;
33
+ /** Minimum value for the option in the offer. */
34
+ min_value?: number | undefined;
35
+ /** If a hosting_id was specified in the call, defines the current value of the option in the hosting. */
36
+ current_value?: number | undefined;
37
+ /** Maximum value for the option in the offer. */
38
+ max_value?: number | undefined;
39
+ /** Defines a warning if the maximum value for the option has been reached. */
40
+ quota_warning?: OfferOptionWarning | undefined;
41
+ /** Price of the option for 1 value. */
42
+ price?: GoogleTypeMoney | undefined;
43
+ }
44
+ /** Options available for the offer. */
45
+ export type OfferOptionsList = Array<OfferOption>;
46
+ export type ScalewayStdLanguageCode = "unknown_language_code" | "en_US" | "fr_FR" | "de_DE";
47
+ /** List of available languages for the control panel. */
48
+ export type ControlPanelAvailableLanguagesList = Array<ScalewayStdLanguageCode>;
49
+ export interface ControlPanel {
50
+ /** Control panel name. */
51
+ name?: string | undefined;
52
+ /** Define if the control panel type is available to order. */
53
+ available?: boolean | undefined;
54
+ /** URL of the control panel's logo. */
55
+ logo_url?: string | undefined;
56
+ /** List of available languages for the control panel. */
57
+ available_languages?: ControlPanelAvailableLanguagesList | undefined;
58
+ }
59
+ /** Lists available control panels for the specified offer. */
60
+ export type OfferControlPanelsList = Array<ControlPanel>;
61
+ export type CommitmentType = "unknown_commitment_type" | "first_commitment" | "next_commitment";
62
+ export type BillingMode = "unknown_billing_mode" | "sample" | "purchase_order";
63
+ export interface OfferCommitment {
64
+ /** Offer commitment ID. */
65
+ id?: string | undefined;
66
+ /** Offer commitment type. */
67
+ type?: CommitmentType | undefined;
68
+ /** True if the commitment is the default one for that offer. */
69
+ is_default?: boolean | undefined;
70
+ /** Offer commitment name. */
71
+ billing_mode?: BillingMode | undefined;
72
+ /** Unique identifier used for billing. */
73
+ billing_operation_path?: string | undefined;
74
+ /** Price of the offer commitment. */
75
+ price?: GoogleTypeMoney | undefined;
76
+ /** Duration of the offer commitment in months. */
77
+ duration_in_month?: number | undefined;
78
+ /** Next offer commitment. */
79
+ next?: OfferCommitment | undefined;
80
+ }
81
+ /** Lists available offer commitments for the specified offer. */
82
+ export type OfferCommitmentsList = Array<OfferCommitment>;
83
+ export interface Offer {
84
+ /** Offer ID. */
85
+ id?: string | undefined;
86
+ /** Offer name. */
87
+ name?: string | undefined;
88
+ /** Unique identifier used for billing. */
89
+ billing_operation_path?: string | undefined;
90
+ /** Options available for the offer. */
91
+ options?: OfferOptionsList | undefined;
92
+ /** Price of the offer. */
93
+ price?: GoogleTypeMoney | undefined;
94
+ /** If a hosting_id was specified in the call, defines whether the offer is available for a specified hosting plan to migrate (update) to. */
95
+ available?: boolean | undefined;
96
+ /** Name of the control panel. */
97
+ control_panel_name?: string | undefined;
98
+ /** Indicates if the offer has reached its end of life. */
99
+ end_of_life?: boolean | undefined;
100
+ /** Defines a warning if the maximum value for an option in the offer is exceeded. */
101
+ quota_warning?: OfferOptionWarning | undefined;
102
+ /** Lists available control panels for the specified offer. */
103
+ control_panels?: OfferControlPanelsList | undefined;
104
+ /** Lists available offer commitments for the specified offer. */
105
+ commitments?: OfferCommitmentsList | undefined;
106
+ /** Region where the offer is hosted. */
107
+ region?: string | undefined;
108
+ }
109
+ export type PlatformPlatformGroup = "unknown_group" | "default" | "premium";
110
+ export interface PlatformControlPanelUrls {
111
+ /** URL to connect to the hosting control panel dashboard. */
112
+ dashboard?: string | undefined;
113
+ /** URL to connect to the hosting Webmail interface. */
114
+ webmail?: string | undefined;
115
+ }
116
+ export interface PlatformControlPanel {
117
+ /** Name of the control panel. */
118
+ name?: string | undefined;
119
+ /** URL to connect to control panel dashboard and to Webmail interface. */
120
+ urls?: PlatformControlPanelUrls | undefined;
121
+ }
122
+ export interface Platform {
123
+ /** Hostname of the host platform. */
124
+ hostname?: string | undefined;
125
+ /** Number of the host platform. */
126
+ number?: number | undefined;
127
+ /** Group name of the hosting's host platform. */
128
+ group_name?: PlatformPlatformGroup | undefined;
129
+ /** IPv4 address of the hosting's host platform. (IPv4 address) */
130
+ ipv4?: string | undefined;
131
+ /** IPv6 address of the hosting's host platform. (IPv6 address) */
132
+ ipv6?: string | undefined;
133
+ /** Details of the platform control panel. */
134
+ control_panel?: PlatformControlPanel | undefined;
135
+ }
136
+ /** List of tags associated with the Web Hosting plan. */
137
+ export type HostingTagsList = Array<string>;
138
+ export type DnsRecordsStatus = "unknown_status" | "valid" | "invalid";
139
+ export interface HostingUser {
140
+ /** Main Web Hosting control panel username. */
141
+ username?: string | undefined;
142
+ /** One-time-password used for the first login to the control panel, cleared after first use (deprecated, use password_b64 instead). */
143
+ one_time_password?: string | Redacted.Redacted<string> | null | undefined;
144
+ /** Contact email used for the hosting. */
145
+ contact_email?: string | undefined;
146
+ /** One-time-password used for the first login to the control panel, cleared after first use, encoded in base64. */
147
+ one_time_password_b64?: string | Redacted.Redacted<string> | null | undefined;
148
+ }
149
+ export type DomainStatus = "unknown_status" | "valid" | "invalid" | "validating" | "error";
150
+ export interface AutoConfigDomainDns {
151
+ /** Whether or not to synchronize domain nameservers. */
152
+ nameservers?: boolean | undefined;
153
+ /** Whether or not to synchronize web records. */
154
+ web_records?: boolean | undefined;
155
+ /** Whether or not to synchronize mail records. */
156
+ mail_records?: boolean | undefined;
157
+ /** Whether or not to synchronize all types of records. Takes priority over the other fields. */
158
+ all_records?: boolean | undefined;
159
+ /** No automatic domain configuration. Users must configure their domain for the Web Hosting to work. */
160
+ none?: boolean | undefined;
161
+ }
162
+ export interface HostingDomainCustomDomain {
163
+ /** Custom domain linked to the hosting plan. */
164
+ domain?: string | undefined;
165
+ /** Status of the custom domain verification. */
166
+ domain_status?: DomainStatus | undefined;
167
+ /** Status of the DNS configuration for the custom domain. */
168
+ dns_status?: DnsRecordsStatus | undefined;
169
+ /** Indicates whether to auto-configure DNS for this domain. */
170
+ auto_config_domain_dns?: AutoConfigDomainDns | undefined;
171
+ }
172
+ export interface HostingDomain {
173
+ /** Optional free subdomain linked to the Web Hosting plan. */
174
+ subdomain?: string | undefined;
175
+ /** Optional custom domain linked to the Web Hosting plan. */
176
+ custom_domain?: HostingDomainCustomDomain | undefined;
177
+ }
178
+ export interface HostingCommitment {
179
+ /** Offer commitment for the specified hosting. */
180
+ offer_commitment?: OfferCommitment | undefined;
181
+ /** Date and time the commitment started. (RFC 3339 format) */
182
+ start_at?: string | null | undefined;
183
+ /** Date and time the commitment ends. (RFC 3339 format) */
184
+ end_at?: string | null | undefined;
185
+ /** Determines what happens at the end of the commitment period:. The hosting may be deleted, automatically renewed, or switched to its configured post-commitment offer, which may have a different price and billing period. */
186
+ delete_hosting_at_end?: boolean | undefined;
187
+ }
188
+ export type HostingProvider = "unknown_provider" | "elements" | "dedibox";
189
+ export interface Hosting {
190
+ /** ID of the Web Hosting plan. */
191
+ id?: string | undefined;
192
+ /** SRN of the Web Hosting plan. */
193
+ srn?: string | undefined;
194
+ /** ID of the Scaleway Project the Web Hosting plan belongs to. */
195
+ project_id?: string | undefined;
196
+ /** Date on which the Web Hosting plan was last updated. (RFC 3339 format) */
197
+ updated_at?: string | null | undefined;
198
+ /** Date on which the Web Hosting plan was created. (RFC 3339 format) */
199
+ created_at?: string | null | undefined;
200
+ /** Status of the Web Hosting plan. */
201
+ status?: HostingStatus | undefined;
202
+ /** Main domain associated with the Web Hosting plan (deprecated, use domain_info). */
203
+ domain?: string | undefined;
204
+ /** Details of the Web Hosting plan offer and options. */
205
+ offer?: Offer | undefined;
206
+ /** Details of the hosting platform. */
207
+ platform?: Platform | undefined;
208
+ /** List of tags associated with the Web Hosting plan. */
209
+ tags?: HostingTagsList | undefined;
210
+ /** DNS status of the Web Hosting plan (deprecated, use domain_info). */
211
+ dns_status?: DnsRecordsStatus | undefined;
212
+ /** Current IPv4 address of the hosting. (IPv4 address) */
213
+ ipv4?: string | undefined;
214
+ /** Whether the hosting is protected or not. */
215
+ protected?: boolean | undefined;
216
+ /** Details of the hosting user. */
217
+ user?: HostingUser | undefined;
218
+ /** Main domain status of the Web Hosting plan (deprecated, use domain_info). */
219
+ domain_status?: DomainStatus | undefined;
220
+ /** Region where the Web Hosting plan is hosted. */
221
+ region?: string | undefined;
222
+ /** Domain configuration block (subdomain, optional custom domain, and DNS settings). */
223
+ domain_info?: HostingDomain | undefined;
224
+ /** Commitment details to which the hosting is engaged. */
225
+ commitment?: HostingCommitment | undefined;
226
+ /** Provider where the Web Hosting plan is managed (elements, dedibox). */
227
+ provider?: HostingProvider | undefined;
228
+ }
229
+ export type MigrateDediboxHostingError = ScalewayOpError;
230
+ /** Migrate a hosting from Dedibox to Scaleway account */
231
+ export declare const migrateDediboxHosting: API.OperationMethod<MigrateDediboxHostingRequest, Hosting, MigrateDediboxHostingError, ScalewayOpContext>;
232
+ //# sourceMappingURL=webhosting_dedibox_v1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhosting_dedibox_v1.d.ts","sources":["../../src/services/webhosting_dedibox_v1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAIjD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAoB,KAAK,eAAe,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAMhG,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC;AAenD,MAAM,MAAM,kCAAkC,GAAG,QAAQ,CAAC;AAC1D,MAAM,WAAW,4BAA4B;IAC3C,oCAAoC;IACpC,MAAM,CAAC,EAAE,kCAAkC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,SAAS,CAAC;IACxE,8CAA8C;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAA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xC;AACD,MAAM,MAAM,0BAA0B,GAAG,eAAe,CAAC;AACzD,yDAAyD;AACzD,eAAO,MAAM,qBAAqB,EAAE,GAAG,CAAC,eAAe,CACrD,4BAA4B,EAC5B,OAAO,EACP,0BAA0B,EAC1B,iBAAiB,CAUhB,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,n as u,nd as d,protocol$ScalewayProtocol as f,retry$Retry as p,sd as m,td as h,traits$Http as g,traits$Label as _,traits$SensitiveValue 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:`WebhostingDediboxV1`,labels:`scaleway`,propagate:`w3c`};const b=/*@__PURE__*/ u(u=>u===n?l(`Hosting`,`{input:#1,output:#20,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"MigrateDedibox%"};$7(>21)@"MigrateDedibox%Request";$7(>22)@"GoogleTypeMoney";$7(>23)@"OfferOption";$9(#3);$9($3);$7(>24)@"ControlPanel";$9(#6);$7(>25)@"OfferCommitment";$9(#8);$7(>26)@"Offer";$7(>27)@"PlatformControlPanelUrls";$7(>28)@"PlatformControlPanel";$7(>29)@"Platform";$9($3);$7(>30)@"%User";$7(>31)@"AutoConfigDomainDns";$7(>32)@"%DomainCustomDomain";$7(>33)@"%Domain";$7(>34)@"%Commitment";$7(>35)@"%";$6({region:$4($3.pipe($2())),domain:$3.pipe($2()),project_id:$4($3),email:$4($3),token:$4($3.pipe($5({})))}).pipe($1({method:"POST",uri:"/webhosting/v1/regions/{region}/dedibox-hostings/{domain}/migrate",code:200,baseUrl:"https://api.scaleway.com"}));$6({currency_code:$4($3),units:$4($8),nanos:$4($8)});$6({id:$4($3),name:$4($3),billing_operation_path:$4($3),min_value:$4($8),current_value:$4($8),max_value:$4($8),quota_warning:$4($3),price:$4(#2)});$6({name:$4($3),available:$4($10),logo_url:$4($3),available_languages:$4(#5)});$6({id:$4($3),type:$4($3),is_default:$4($10),billing_mode:$4($3),billing_operation_path:$4($3),price:$4(#2),duration_in_month:$4($8),next:$4(#8)});$6({id:$4($3),name:$4($3),billing_operation_path:$4($3),options:$4(#4),price:$4(#2),available:$4($10),control_panel_name:$4($3),end_of_life:$4($10),quota_warning:$4($3),control_panels:$4(#7),commitments:$4(#9),region:$4($3)});$6({dashboard:$4($3),webmail:$4($3)});$6({name:$4($3),urls:$4(#11)});$6({hostname:$4($3),number:$4($8),group_name:$4($3),ipv4:$4($3),ipv6:$4($3),control_panel:$4(#12)});$6({username:$4($3),one_time_password:$4($11($3).pipe($5({}))),contact_email:$4($3),one_time_password_b64:$4($11($3).pipe($5({})))});$6({nameservers:$4($10),web_records:$4($10),mail_records:$4($10),all_records:$4($10),none:$4($10)});$6({domain:$4($3),domain_status:$4($3),dns_status:$4($3),auto_config_domain_dns:$4(#16)});$6({subdomain:$4($3),custom_domain:$4(#17)});$6({offer_commitment:$4(#8),start_at:$4($11($3)),end_at:$4($11($3)),delete_hosting_at_end:$4($10)});$6({id:$4($3),srn:$4($3),project_id:$4($3),updated_at:$4($11($3)),created_at:$4($11($3)),status:$4($3),domain:$4($3),offer:$4(#10),platform:$4(#13),tags:$4(#14),dns_status:$4($3),ipv4:$4($3),protected:$4($10),user:$4(#15),domain_status:$4($3),region:$4($3),domain_info:$4(#18),commitment:$4(#19),provider:$4($3)})`,[d,g,_,s,m,v,c,h,a,e,t,i,o,f,p,y]):r(b,u));export{b as migrateDediboxHosting};
2
+ //# sourceMappingURL=webhosting_dedibox_v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webhosting_dedibox_v1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","T.SensitiveValue","S.Struct","S.suspend","S.Number","S.Array","S.Boolean","S.NullOr","Retry.Retry","API.call","Array","Boolean","D","call","NullOr","Number","ScalewayServiceErrors","String","Struct","op","at","ScalewayProtocol","Retry","optional","suspend","Http","Label","SensitiveValue","TELEMETRY","migrateDediboxHosting","i","named"],"sources":["../../src/services/webhosting_dedibox_v1.ts"],"mappings":"8QAaA,MAAMkC,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,EA0PA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMpC,EAAQC,EAAU,UAAW,wzEAAyzE,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAkBC,EAAUC,EAAWC,EAAUC,EAASC,EAAWC,EAAUS,EAAuBK,EAAkBb,EAAaoB,CAAS,CAAC,EAAInB,EAASoB,EAAuBC,CAAC,CAAC"}