@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,492 @@
1
+ import * as API from "@distilled.cloud/core/api";
2
+ import { BinaryStream } from "@distilled.cloud/core/protocol-rest";
3
+ import type * as Redacted from "effect/Redacted";
4
+ import { type ScalewayOpError, type ScalewayOpContext } from "../protocol.ts";
5
+ export type { ScalewayOpError, ScalewayOpContext };
6
+ export type CreateDatabaseRequestRegion = "fr-par";
7
+ export interface CreateDatabaseRequest {
8
+ /** The region you want to target */
9
+ region?: CreateDatabaseRequestRegion | (string & {}) | undefined;
10
+ /** UUID of the deployment. */
11
+ deployment_id: string;
12
+ /** Name of the database. */
13
+ name?: string | undefined;
14
+ }
15
+ export interface Database {
16
+ /** Name of the database. */
17
+ name?: string | undefined;
18
+ /** Size of the database. (in bytes) */
19
+ size?: number | undefined;
20
+ /** Identifier of the deployment. (UUID format) */
21
+ deployment_id?: string | undefined;
22
+ /** Region of the deployment. */
23
+ region?: string | undefined;
24
+ /** The SRN of the database. */
25
+ srn?: string | undefined;
26
+ }
27
+ export type CreateDeploymentRequestRegion = "fr-par";
28
+ /** Tags to apply to the deployment. */
29
+ export type CreateDeploymentRequestTagsList = Array<string>;
30
+ export interface EndpointSpecPrivateNetworkSummary {
31
+ /** UUID of the Private Network. */
32
+ private_network_id?: string | undefined;
33
+ }
34
+ export interface EndpointSpec {
35
+ /** Precisely one of public, private_network can be set. */
36
+ public?: unknown | null | undefined;
37
+ /** Precisely one of public, private_network can be set. */
38
+ private_network?: EndpointSpecPrivateNetworkSummary | null | undefined;
39
+ }
40
+ /** Endpoints to associate with the deployment. */
41
+ export type CreateDeploymentRequestEndpointsList = Array<EndpointSpec>;
42
+ export interface CreateDeploymentRequest {
43
+ /** The region you want to target */
44
+ region?: CreateDeploymentRequestRegion | (string & {}) | undefined;
45
+ /** The Project ID on which the deployment will be created. */
46
+ project_id?: string | undefined;
47
+ /** Name of the deployment. */
48
+ name?: string | undefined;
49
+ /** Tags to apply to the deployment. */
50
+ tags?: CreateDeploymentRequestTagsList | undefined;
51
+ /** ClickHouse® version to use for the deployment. */
52
+ version?: string | undefined;
53
+ /** Number of replicas for the deployment. */
54
+ replica_count?: number | undefined;
55
+ /** Number of shard for the deployment. */
56
+ shard_count?: number | null | undefined;
57
+ /** Password for the initial user. */
58
+ password?: string | Redacted.Redacted<string> | undefined;
59
+ /** Minimum CPU count for the deployment. */
60
+ cpu_min?: number | undefined;
61
+ /** Maximum CPU count for the deployment. */
62
+ cpu_max?: number | undefined;
63
+ /** Endpoints to associate with the deployment. */
64
+ endpoints?: CreateDeploymentRequestEndpointsList | undefined;
65
+ /** RAM per CPU count for the deployment (in GB). */
66
+ ram_per_cpu?: number | undefined;
67
+ /** For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). */
68
+ move_factor?: number | null | undefined;
69
+ /** ID of a Key Manager key of the Project, used to encrypt the deployment data at rest. The key must be enabled, with a symmetric encryption usage. Encryption can only be chosen at creation, it cannot be enabled, disabled or changed afterwards. (UUID format) */
70
+ kms_key_id?: string | null | undefined;
71
+ }
72
+ export type DeploymentStatus = "unknown_status" | "ready" | "creating" | "configuring" | "deleting" | "error" | "locked" | "locking" | "unlocking" | "deploying" | "stopping" | "starting" | "stopped";
73
+ /** List of tags applied to the deployment. */
74
+ export type DeploymentTagsList = Array<string>;
75
+ export type EndpointServiceProtocol = "unknown_protocol" | "tcp" | "https" | "mysql";
76
+ export interface EndpointService {
77
+ protocol?: EndpointServiceProtocol | undefined;
78
+ port?: number | undefined;
79
+ }
80
+ /** List of services associated with the endpoint. */
81
+ export type EndpointServicesList = Array<EndpointService>;
82
+ export interface NodePrivateNetworkDetails {
83
+ /** Name of the node. */
84
+ node_name?: string | undefined;
85
+ /** The ClickHouse shard to which the node belongs to. */
86
+ shard?: number | undefined;
87
+ /** The ClickHouse replica to which the node belongs to. */
88
+ replica?: number | undefined;
89
+ /** Private static IP address of that node. */
90
+ ip_address?: string | undefined;
91
+ }
92
+ /** List of nodes belonging to this private network and their details. */
93
+ export type PrivateNetworkDetailsNodesList = Array<NodePrivateNetworkDetails>;
94
+ export interface PrivateNetworkDetails {
95
+ /** UUID of the Private Network. */
96
+ private_network_id?: string | undefined;
97
+ /** List of nodes belonging to this private network and their details. */
98
+ nodes?: PrivateNetworkDetailsNodesList | undefined;
99
+ }
100
+ export interface Endpoint {
101
+ /** Unique identifier of the endpoint. (UUID format) */
102
+ id?: string | undefined;
103
+ /** DNS record associated with the endpoint. */
104
+ dns_record?: string | undefined;
105
+ /** List of services associated with the endpoint. */
106
+ services?: EndpointServicesList | undefined;
107
+ /** Private Network endpoint details. Precisely one of private_network, public can be set. */
108
+ private_network?: PrivateNetworkDetails | null | undefined;
109
+ /** Public endpoint details. Precisely one of private_network, public can be set. */
110
+ public?: unknown | null | undefined;
111
+ /** Region of the deployment. */
112
+ region?: string | undefined;
113
+ /** The SRN of the endpoint. */
114
+ srn?: string | undefined;
115
+ }
116
+ /** List of endpoints associated with the deployment. */
117
+ export type DeploymentEndpointsList = Array<Endpoint>;
118
+ export interface Deployment {
119
+ /** Unique identifier. (UUID format) */
120
+ id?: string | undefined;
121
+ /** Name of the deployment. */
122
+ name?: string | undefined;
123
+ /** Organization ID. (UUID format) */
124
+ organization_id?: string | undefined;
125
+ /** Project ID. (UUID format) */
126
+ project_id?: string | undefined;
127
+ /** Status of the deployment. */
128
+ status?: DeploymentStatus | undefined;
129
+ /** List of tags applied to the deployment. */
130
+ tags?: DeploymentTagsList | undefined;
131
+ /** Creation date of the deployment. (RFC 3339 format) */
132
+ created_at?: string | null | undefined;
133
+ /** Last modification date of the deployment. (RFC 3339 format) */
134
+ updated_at?: string | null | undefined;
135
+ /** ClickHouse® version. */
136
+ version?: string | undefined;
137
+ /** Number of replicas for the deployment. */
138
+ replica_count?: number | undefined;
139
+ /** Number of shards for the deployment. */
140
+ shard_count?: number | undefined;
141
+ /** Minimum CPU count for the deployment. */
142
+ cpu_min?: number | undefined;
143
+ /** Maximum CPU count for the deployment. */
144
+ cpu_max?: number | undefined;
145
+ /** List of endpoints associated with the deployment. */
146
+ endpoints?: DeploymentEndpointsList | undefined;
147
+ /** RAM per CPU count for the deployment (in GB). */
148
+ ram_per_cpu?: number | undefined;
149
+ /** For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). */
150
+ move_factor?: number | undefined;
151
+ /** ID of the Key Manager key encrypting the deployment data at rest. Empty if the deployment is not encrypted. (UUID format) */
152
+ kms_key_id?: string | null | undefined;
153
+ /** Region of the deployment. */
154
+ region?: string | undefined;
155
+ /** The SRN of the deployment. */
156
+ srn?: string | undefined;
157
+ }
158
+ export type CreateEndpointRequestRegion = "fr-par";
159
+ export interface CreateEndpointRequest {
160
+ /** The region you want to target */
161
+ region?: CreateEndpointRequestRegion | (string & {}) | undefined;
162
+ /** UUID of the deployment. */
163
+ deployment_id?: string | undefined;
164
+ /** Endpoint specification. */
165
+ endpoint?: EndpointSpec | undefined;
166
+ }
167
+ export type CreateUserRequestRegion = "fr-par";
168
+ export interface CreateUserRequest {
169
+ /** The region you want to target */
170
+ region?: CreateUserRequestRegion | (string & {}) | undefined;
171
+ /** UUID of the deployment. */
172
+ deployment_id: string;
173
+ /** Name of the user. */
174
+ name?: string | undefined;
175
+ /** Password for the user. */
176
+ password?: string | Redacted.Redacted<string> | undefined;
177
+ /** Indicates if the user is an administrator. */
178
+ is_admin?: boolean | undefined;
179
+ }
180
+ export interface User {
181
+ /** Name of the user. */
182
+ name?: string | undefined;
183
+ /** Indicates if the user is an administrator. */
184
+ is_admin?: boolean | undefined;
185
+ /** Identifier of the deployment. (UUID format) */
186
+ deployment_id?: string | undefined;
187
+ /** Region of the deployment. */
188
+ region?: string | undefined;
189
+ /** The SRN of the user. */
190
+ srn?: string | undefined;
191
+ }
192
+ export type DeleteDatabaseRequestRegion = "fr-par";
193
+ export interface DeleteDatabaseRequest {
194
+ /** The region you want to target */
195
+ region?: DeleteDatabaseRequestRegion | (string & {}) | undefined;
196
+ /** UUID of the deployment. */
197
+ deployment_id: string;
198
+ /** Name of the database to delete. */
199
+ name: string;
200
+ }
201
+ export interface DeleteDatabaseResponse {
202
+ }
203
+ export type DeleteDeploymentRequestRegion = "fr-par";
204
+ export interface DeleteDeploymentRequest {
205
+ /** The region you want to target */
206
+ region?: DeleteDeploymentRequestRegion | (string & {}) | undefined;
207
+ /** UUID of the deployment to delete. */
208
+ deployment_id: string;
209
+ }
210
+ export type DeleteEndpointRequestRegion = "fr-par";
211
+ export interface DeleteEndpointRequest {
212
+ /** The region you want to target */
213
+ region?: DeleteEndpointRequestRegion | (string & {}) | undefined;
214
+ /** UUID of the Endpoint to delete. */
215
+ endpoint_id: string;
216
+ }
217
+ export interface DeleteEndpointResponse {
218
+ }
219
+ export type DeleteUserRequestRegion = "fr-par";
220
+ export interface DeleteUserRequest {
221
+ /** The region you want to target */
222
+ region?: DeleteUserRequestRegion | (string & {}) | undefined;
223
+ /** UUID of the deployment. */
224
+ deployment_id: string;
225
+ /** Name of the user to delete. */
226
+ name: string;
227
+ }
228
+ export interface DeleteUserResponse {
229
+ }
230
+ export type GetDeploymentRequestRegion = "fr-par";
231
+ export interface GetDeploymentRequest {
232
+ /** The region you want to target */
233
+ region?: GetDeploymentRequestRegion | (string & {}) | undefined;
234
+ /** UUID of the deployment. */
235
+ deployment_id: string;
236
+ }
237
+ export type GetDeploymentCertificateRequestRegion = "fr-par";
238
+ export interface GetDeploymentCertificateRequest {
239
+ /** The region you want to target */
240
+ region?: GetDeploymentCertificateRequestRegion | (string & {}) | undefined;
241
+ /** UUID of the deployment. */
242
+ deployment_id: string;
243
+ }
244
+ export interface ScalewayStdFile {
245
+ name?: string | undefined;
246
+ content_type?: string | undefined;
247
+ content?: string | undefined;
248
+ }
249
+ export interface GetDeploymentCertificateRawRequest {
250
+ /** The region you want to target */
251
+ region?: GetDeploymentCertificateRequestRegion | (string & {}) | undefined;
252
+ /** UUID of the deployment. */
253
+ deployment_id: string;
254
+ }
255
+ export interface GetDeploymentCertificateRawResponse {
256
+ body: BinaryStream;
257
+ /** Media type of the body, from the response's `Content-Type` header (e.g. `image/jpeg`). */
258
+ contentType?: string | undefined;
259
+ }
260
+ export type ListDatabasesRequestRegion = "fr-par";
261
+ export type ListDatabasesRequestOrderBy = "name_asc" | "name_desc" | "size_asc" | "size_desc";
262
+ export interface ListDatabasesRequest {
263
+ /** The region you want to target */
264
+ region?: ListDatabasesRequestRegion | (string & {}) | undefined;
265
+ /** UUID of the deployment. */
266
+ deployment_id: string;
267
+ /** Name of the database to filter by. */
268
+ name?: string | undefined;
269
+ /** Criteria to use when ordering database listings. */
270
+ order_by?: ListDatabasesRequestOrderBy | (string & {}) | undefined;
271
+ page?: number | undefined;
272
+ page_size?: number | undefined;
273
+ }
274
+ /** List of databases associated with the deployment. */
275
+ export type ListDatabasesResponseDatabasesList = Array<Database>;
276
+ export interface ListDatabasesResponse {
277
+ /** List of databases associated with the deployment. */
278
+ databases: ListDatabasesResponseDatabasesList;
279
+ /** Total count of databases associated with the deployment. */
280
+ total_count?: number | undefined;
281
+ }
282
+ export type ListDeploymentsRequestRegion = "fr-par";
283
+ export type ListDeploymentsRequestTagsList = Array<string>;
284
+ export type ListDeploymentsRequestOrderBy = "created_at_desc" | "created_at_asc" | "name_asc" | "name_desc";
285
+ export interface ListDeploymentsRequest {
286
+ /** The region you want to target */
287
+ region?: ListDeploymentsRequestRegion | (string & {}) | undefined;
288
+ /** List deployments with a given tag. */
289
+ tags?: ListDeploymentsRequestTagsList | undefined;
290
+ /** Lists deployments that match a name pattern. */
291
+ name?: string | undefined;
292
+ /** Criteria to use when ordering deployment listings. */
293
+ order_by?: ListDeploymentsRequestOrderBy | (string & {}) | undefined;
294
+ /** Organization ID the deployment belongs to. (UUID format) */
295
+ organization_id?: string | undefined;
296
+ /** Project ID the deployment belongs to. (UUID format) */
297
+ project_id?: string | undefined;
298
+ page?: number | undefined;
299
+ page_size?: number | undefined;
300
+ }
301
+ /** List of all deployments available in an Organization or Project. */
302
+ export type ListDeploymentsResponseDeploymentsList = Array<Deployment>;
303
+ export interface ListDeploymentsResponse {
304
+ /** List of all deployments available in an Organization or Project. */
305
+ deployments: ListDeploymentsResponseDeploymentsList;
306
+ /** Total count of deployments available in an Organization or Project. */
307
+ total_count?: number | undefined;
308
+ }
309
+ export type ListPresetsRequestRegion = "fr-par";
310
+ export interface ListPresetsRequest {
311
+ /** The region you want to target */
312
+ region?: ListPresetsRequestRegion | (string & {}) | undefined;
313
+ page?: number | undefined;
314
+ page_size?: number | undefined;
315
+ }
316
+ export interface Preset {
317
+ /** Name of the preset. */
318
+ name?: string | undefined;
319
+ /** Category of the preset. */
320
+ category?: string | undefined;
321
+ /** Minimum CPU count for the preset. */
322
+ cpu_min?: number | undefined;
323
+ /** Maximum CPU count for the preset. */
324
+ cpu_max?: number | undefined;
325
+ /** RAM per CPU count for the preset (in GB). */
326
+ ram_per_cpu?: number | undefined;
327
+ /** Number of replicas for the preset. */
328
+ replica_count?: number | undefined;
329
+ /** Number of shards for the preset. */
330
+ shard_count?: number | undefined;
331
+ }
332
+ /** List of available presets. */
333
+ export type ListPresetsResponsePresetsList = Array<Preset>;
334
+ export interface ListPresetsResponse {
335
+ /** List of available presets. */
336
+ presets: ListPresetsResponsePresetsList;
337
+ /** Total count of presets available. */
338
+ total_count?: number | undefined;
339
+ }
340
+ export type ListUsersRequestRegion = "fr-par";
341
+ export type ListUsersRequestOrderBy = "name_asc" | "name_desc";
342
+ export interface ListUsersRequest {
343
+ /** The region you want to target */
344
+ region?: ListUsersRequestRegion | (string & {}) | undefined;
345
+ /** UUID of the deployment. */
346
+ deployment_id: string;
347
+ /** Name of the user to filter by. */
348
+ name?: string | undefined;
349
+ /** Criteria to use when ordering user listings. */
350
+ order_by?: ListUsersRequestOrderBy | (string & {}) | undefined;
351
+ page?: number | undefined;
352
+ page_size?: number | undefined;
353
+ }
354
+ /** List of users associated with the deployment. */
355
+ export type ListUsersResponseUsersList = Array<User>;
356
+ export interface ListUsersResponse {
357
+ /** List of users associated with the deployment. */
358
+ users: ListUsersResponseUsersList;
359
+ /** Total count of users associated with the deployment. */
360
+ total_count?: number | undefined;
361
+ }
362
+ export type ListVersionsRequestRegion = "fr-par";
363
+ export interface ListVersionsRequest {
364
+ /** The region you want to target */
365
+ region?: ListVersionsRequestRegion | (string & {}) | undefined;
366
+ version?: string | undefined;
367
+ page?: number | undefined;
368
+ page_size?: number | undefined;
369
+ }
370
+ export interface Version {
371
+ /** Deployment version. */
372
+ version?: string | undefined;
373
+ /** Date of End of Life. (RFC 3339 format) */
374
+ end_of_life_at?: string | null | undefined;
375
+ }
376
+ /** Available deployment version. */
377
+ export type ListVersionsResponseVersionsList = Array<Version>;
378
+ export interface ListVersionsResponse {
379
+ /** Available deployment version. */
380
+ versions: ListVersionsResponseVersionsList;
381
+ /** Total count of deployment version available. */
382
+ total_count?: number | undefined;
383
+ }
384
+ export type StartDeploymentRequestRegion = "fr-par";
385
+ export interface StartDeploymentRequest {
386
+ /** The region you want to target */
387
+ region?: StartDeploymentRequestRegion | (string & {}) | undefined;
388
+ /** UUID of the deployment. */
389
+ deployment_id: string;
390
+ }
391
+ export type StopDeploymentRequestRegion = "fr-par";
392
+ export interface StopDeploymentRequest {
393
+ /** The region you want to target */
394
+ region?: StopDeploymentRequestRegion | (string & {}) | undefined;
395
+ /** UUID of the deployment. */
396
+ deployment_id: string;
397
+ }
398
+ export type UpdateDeploymentRequestRegion = "fr-par";
399
+ /** Tags of a deployment. */
400
+ export type UpdateDeploymentRequestTagsList = Array<unknown>;
401
+ export interface UpdateDeploymentRequest {
402
+ /** The region you want to target */
403
+ region?: UpdateDeploymentRequestRegion | (string & {}) | undefined;
404
+ /** UUID of the deployment to update. */
405
+ deployment_id: string;
406
+ /** Name of the deployment. */
407
+ name?: string | null | undefined;
408
+ /** Tags of a deployment. */
409
+ tags?: UpdateDeploymentRequestTagsList | null | undefined;
410
+ /** Minimum CPU count for the deployment. */
411
+ cpu_min?: number | null | undefined;
412
+ /** Maximum CPU count for the deployment. */
413
+ cpu_max?: number | null | undefined;
414
+ /** Number of replicas for the deployment. */
415
+ replica_count?: number | null | undefined;
416
+ /** For the `tiered` storage policy, controls when data is moved from the hot volume (Block Storage) to the cold volume (Object Storage). Data is moved once free space on the hot volume drops below this fraction of its capacity. Value between 0 and 1 (default 0.1, i.e. data is moved when the hot volume is 90% full). */
417
+ move_factor?: number | null | undefined;
418
+ }
419
+ export type UpdateUserRequestRegion = "fr-par";
420
+ export interface UpdateUserRequest {
421
+ /** The region you want to target */
422
+ region?: UpdateUserRequestRegion | (string & {}) | undefined;
423
+ /** UUID of the deployment. */
424
+ deployment_id: string;
425
+ /** Name of the user. */
426
+ name: string;
427
+ /** New password for the user. */
428
+ password?: string | Redacted.Redacted<string> | null | undefined;
429
+ /** Updates the user administrator permissions. */
430
+ is_admin?: boolean | null | undefined;
431
+ }
432
+ export type CreateDatabaseError = ScalewayOpError;
433
+ /** Create a new database within a deployment */
434
+ export declare const createDatabase: API.OperationMethod<CreateDatabaseRequest, Database, CreateDatabaseError, ScalewayOpContext>;
435
+ export type CreateDeploymentError = ScalewayOpError;
436
+ /** Create a deployment Create a new deployment. */
437
+ export declare const createDeployment: API.OperationMethod<CreateDeploymentRequest, Deployment, CreateDeploymentError, ScalewayOpContext>;
438
+ export type CreateEndpointError = ScalewayOpError;
439
+ /** Create a new endpoint for a deployment */
440
+ export declare const createEndpoint: API.OperationMethod<CreateEndpointRequest, Endpoint, CreateEndpointError, ScalewayOpContext>;
441
+ export type CreateUserError = ScalewayOpError;
442
+ /** Create a new user for a deployment */
443
+ export declare const createUser: API.OperationMethod<CreateUserRequest, User, CreateUserError, ScalewayOpContext>;
444
+ export type DeleteDatabaseError = ScalewayOpError;
445
+ /** Delete a database from a deployment */
446
+ export declare const deleteDatabase: API.OperationMethod<DeleteDatabaseRequest, DeleteDatabaseResponse, DeleteDatabaseError, ScalewayOpContext>;
447
+ export type DeleteDeploymentError = ScalewayOpError;
448
+ /** Delete a deployment Delete a given deployment, specified by the `region` and `deployment_id` parameters. Deleting a deployment is permanent, and cannot be undone. Upon deletion, all your data will be lost. */
449
+ export declare const deleteDeployment: API.OperationMethod<DeleteDeploymentRequest, Deployment, DeleteDeploymentError, ScalewayOpContext>;
450
+ export type DeleteEndpointError = ScalewayOpError;
451
+ /** Delete an endpoint from a deployment */
452
+ export declare const deleteEndpoint: API.OperationMethod<DeleteEndpointRequest, DeleteEndpointResponse, DeleteEndpointError, ScalewayOpContext>;
453
+ export type DeleteUserError = ScalewayOpError;
454
+ /** Delete a user from a deployment */
455
+ export declare const deleteUser: API.OperationMethod<DeleteUserRequest, DeleteUserResponse, DeleteUserError, ScalewayOpContext>;
456
+ export type GetDeploymentError = ScalewayOpError;
457
+ /** Get a deployment Retrieve information about a given deployment, specified by the `region` and `deployment_id` parameters. Its full details, including name, status are returned in the response object. */
458
+ export declare const getDeployment: API.OperationMethod<GetDeploymentRequest, Deployment, GetDeploymentError, ScalewayOpContext>;
459
+ export type GetDeploymentCertificateError = ScalewayOpError;
460
+ /** Get deployment TLS certificate Retrieve the TLS certificate associated with a deployment. */
461
+ export declare const getDeploymentCertificate: API.OperationMethod<GetDeploymentCertificateRequest, ScalewayStdFile, GetDeploymentCertificateError, ScalewayOpContext>;
462
+ export type GetDeploymentCertificateRawError = ScalewayOpError;
463
+ /** The file `getDeploymentCertificate` returns, as bytes (`?dl=1`), rather than the JSON file object. */
464
+ export declare const getDeploymentCertificateRaw: API.OperationMethod<GetDeploymentCertificateRawRequest, GetDeploymentCertificateRawResponse, GetDeploymentCertificateRawError, ScalewayOpContext>;
465
+ export type ListDatabasesError = ScalewayOpError;
466
+ /** List databases within a deployment */
467
+ export declare const listDatabases: API.PaginatedOperationMethod<ListDatabasesRequest, ListDatabasesResponse, ListDatabasesError, ScalewayOpContext, Database>;
468
+ export type ListDeploymentsError = ScalewayOpError;
469
+ /** List deployments List all deployments in the specified region, for a given Scaleway Project. By default, the deployments returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field. You can define additional parameters for your query, such as `tags` and `name`. For the `name` parameter, the value you provide will be checked against the whole name string to see if it includes the string you put in the parameter. */
470
+ export declare const listDeployments: API.PaginatedOperationMethod<ListDeploymentsRequest, ListDeploymentsResponse, ListDeploymentsError, ScalewayOpContext, Deployment>;
471
+ export type ListPresetsError = ScalewayOpError;
472
+ /** List available presets */
473
+ export declare const listPresets: API.PaginatedOperationMethod<ListPresetsRequest, ListPresetsResponse, ListPresetsError, ScalewayOpContext, Preset>;
474
+ export type ListUsersError = ScalewayOpError;
475
+ /** List users associated with a deployment */
476
+ export declare const listUsers: API.PaginatedOperationMethod<ListUsersRequest, ListUsersResponse, ListUsersError, ScalewayOpContext, User>;
477
+ export type ListVersionsError = ScalewayOpError;
478
+ /** List available ClickHouse® versions */
479
+ export declare const listVersions: API.PaginatedOperationMethod<ListVersionsRequest, ListVersionsResponse, ListVersionsError, ScalewayOpContext, Version>;
480
+ export type StartDeploymentError = ScalewayOpError;
481
+ /** Start a deployment Start a stopped deployment. */
482
+ export declare const startDeployment: API.OperationMethod<StartDeploymentRequest, Deployment, StartDeploymentError, ScalewayOpContext>;
483
+ export type StopDeploymentError = ScalewayOpError;
484
+ /** Stop a deployment Stop a running deployment. */
485
+ export declare const stopDeployment: API.OperationMethod<StopDeploymentRequest, Deployment, StopDeploymentError, ScalewayOpContext>;
486
+ export type UpdateDeploymentError = ScalewayOpError;
487
+ /** Update a deployment Update the parameters of a deployment. */
488
+ export declare const updateDeployment: API.OperationMethod<UpdateDeploymentRequest, Deployment, UpdateDeploymentError, ScalewayOpContext>;
489
+ export type UpdateUserError = ScalewayOpError;
490
+ /** Update an existing user for a deployment */
491
+ export declare const updateUser: API.OperationMethod<UpdateUserRequest, User, UpdateUserError, ScalewayOpContext>;
492
+ //# sourceMappingURL=datawarehouse_v1beta1.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datawarehouse_v1beta1.d.ts","sources":["../../src/unstable-services/datawarehouse_v1beta1.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAInE,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC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oB,GAAG,eAAe,CAAC;AACnD,qDAAqD;AACrD,eAAO,MAAM,eAAe,EAAE,GAAG,CAAC,eAAe,CAC/C,sBAAsB,EACtB,UAAU,EACV,oBAAoB,EACpB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAClD,mDAAmD;AACnD,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,eAAe,CAC9C,qBAAqB,EACrB,UAAU,EACV,mBAAmB,EACnB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC;AACpD,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,eAAe,CAChD,uBAAuB,EACvB,UAAU,EACV,qBAAqB,EACrB,iBAAiB,CAUhB,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAC9C,+CAA+C;AAC/C,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,IAAI,EACJ,eAAe,EACf,iBAAiB,CAUhB,CAAC"}
@@ -0,0 +1,34 @@
1
+ import{Tc as e,Uc as t,a as n,b as r,bd as i,cc as a,cd as o,errors$ScalewayServiceErrors as s,fd as c,gd as l,l as u,ld as d,n as f,nd as p,o as m,pagination$paginateByTotalCount as h,protocol$ScalewayProtocol as g,retry$Retry as _,sd as v,td as y,traits$BinaryResponse as b,traits$Header as x,traits$Http as S,traits$Label as C,traits$Query as w,traits$RawResponse as T,traits$SensitiveValue as E}from"../_bundle/sdk.js";const D={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:`DatawarehouseV1beta1`,labels:`scaleway`,propagate:`w3c`};const O=/*@__PURE__*/ f(e=>e===n?u(`CreateDatabase`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$4($3)}).pipe($1({method:"POST",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/databases",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d0,s,g,_,D]):r(O,e));const k=/*@__PURE__*/ f(t=>t===n?u(`CreateDeployment`,`{input:#2,output:#7:2,errors:[],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$2(#1:1);$12(>3)@"%Request";$11({region:$6($5.pipe($4())),project_id:$6($5),name:$6($5),tags:$6(#7:0),version:$6($5),replica_count:$6($8),shard_count:$6($9($8)),password:$6($5.pipe($10({}))),cpu_min:$6($8),cpu_max:$6($8),endpoints:$6(#1),ram_per_cpu:$6($8),move_factor:$6($9($8)),kms_key_id:$6($9($5))}).pipe($3({method:"POST",uri:"/datawarehouse/v1beta1/regions/{region}/deployments",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,__d1,e,S,C,c,v,__d3,o,i,E,l,y,s,g,_,D]):r(k,t));const A=/*@__PURE__*/ f(e=>e===n?u(`CreateEndpoint`,`{input:#1,output:#8:5,errors:[],serviceErrors:$9,protocol:$10,retry:$11,telemetry:$12,span:"%"};$7(>2)@"%Request";$6({region:$4($3.pipe($2())),deployment_id:$4($3),endpoint:$4(#5:1)}).pipe($1({method:"POST",uri:"/datawarehouse/v1beta1/regions/{region}/endpoints",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,__d1,l,y,__d2,s,g,_,D]):r(A,e));const j=/*@__PURE__*/ f(e=>e===n?u(`CreateUser`,`{input:#1,output:#9:0,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%"};$8(>2)@"%Request";$7({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$4($3),password:$4($3.pipe($5({}))),is_admin:$4($6)}).pipe($1({method:"POST",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/users",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,E,t,l,y,__d4,s,g,_,D]):r(j,e));const M=/*@__PURE__*/ f(e=>e===n?u(`DeleteDatabase`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/databases/{name}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d5,s,g,_,D]):r(M,e));const N=/*@__PURE__*/ f(e=>e===n?u(`DeleteDeployment`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d3,s,g,_,D]):r(N,e));const P=/*@__PURE__*/ f(e=>e===n?u(`DeleteEndpoint`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),endpoint_id:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/datawarehouse/v1beta1/regions/{region}/endpoints/{endpoint_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d5,s,g,_,D]):r(P,e));const F=/*@__PURE__*/ f(e=>e===n?u(`DeleteUser`,`{input:#1,output:#7:0,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$3.pipe($2())}).pipe($1({method:"DELETE",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/users/{name}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d5,s,g,_,D]):r(F,e));const I=/*@__PURE__*/ f(e=>e===n?u(`GetDeployment`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d3,s,g,_,D]):r(I,e));const L=/*@__PURE__*/ f(e=>e===n?u(`GetDeploymentCertificate`,`{input:#1,output:#2,errors:[],serviceErrors:$7,protocol:$8,retry:$9,telemetry:$10,span:"%"};$6(>3)@"%Request";$6(>4)@"ScalewayStdFile";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/certificate",code:200,baseUrl:"https://api.scaleway.com"}));$5({name:$4($3),content_type:$4($3),content:$4($3)})`,[p,S,C,c,v,l,y,s,g,_,D]):r(L,e));const R=/*@__PURE__*/ f(e=>e===n?u(`GetDeploymentCertificateRaw`,`{input:#1,output:#2,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2())}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/certificate",code:200,baseUrl:"https://api.scaleway.com",rawDownload:true}));$5({body:$9.pipe($7(),$8()),contentType:$4($3.pipe($10("Content-Type")))})`,[p,S,C,c,v,l,y,T,b,a,x,s,g,_,D]):r(R,e));const z=/*@__PURE__*/ m(t=>t===n?u(`ListDatabases`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"databases",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$4($3.pipe($5())),order_by:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/databases",code:200,baseUrl:"https://api.scaleway.com"}));$7({databases:#2,total_count:$4($6)})`,[p,S,C,c,v,w,o,l,y,__d0,e,s,g,_,D,h]):r(z,t));const B=/*@__PURE__*/ m(t=>t===n?u(`ListDeployments`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"deployments",pageSize:"page_size"},strategy:$15};$9(>4)@"%Request";$10(#6:2);$9(>5)@"%Response";$8({region:$4($3.pipe($2())),tags:$4(#6:0.pipe($5())),name:$4($3.pipe($5())),order_by:$4($3.pipe($5())),organization_id:$4($3.pipe($5())),project_id:$4($3.pipe($5())),page:$4($7.pipe($5())),page_size:$4($7.pipe($5()))}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/deployments",code:200,baseUrl:"https://api.scaleway.com"}));$8({deployments:#2,total_count:$4($7)})`,[p,S,C,c,v,w,__d3,o,l,y,e,s,g,_,D,h]):r(B,t));const V=/*@__PURE__*/ m(t=>t===n?u(`ListPresets`,`{input:#1,output:#4,errors:[],serviceErrors:$10,protocol:$11,retry:$12,telemetry:$13,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"presets",pageSize:"page_size"},strategy:$14};$8(>5)@"%Request";$8(>6)@"Preset";$9(#2);$8(>7)@"%Response";$7({region:$4($3.pipe($2())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/presets",code:200,baseUrl:"https://api.scaleway.com"}));$7({name:$4($3),category:$4($3),cpu_min:$4($6),cpu_max:$4($6),ram_per_cpu:$4($6),replica_count:$4($6),shard_count:$4($6)});$7({presets:#3,total_count:$4($6)})`,[p,S,C,c,v,w,o,l,y,e,s,g,_,D,h]):r(V,t));const H=/*@__PURE__*/ m(t=>t===n?u(`ListUsers`,`{input:#1,output:#3,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"users",pageSize:"page_size"},strategy:$15};$8(>4)@"%Request";$10(#9:0);$8(>5)@"%Response";$7({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$4($3.pipe($5())),order_by:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/users",code:200,baseUrl:"https://api.scaleway.com"}));$7({users:#2,total_count:$4($6)})`,[p,S,C,c,v,w,o,l,y,__d4,e,s,g,_,D,h]):r(H,t));const U=/*@__PURE__*/ m(t=>t===n?u(`ListVersions`,`{input:#1,output:#4,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%",pagination:{mode:"page",inputToken:"page",outputToken:"total_count",items:"versions",pageSize:"page_size"},strategy:$15};$8(>5)@"%Request";$8(>6)@"Version";$10(#2);$8(>7)@"%Response";$7({region:$4($3.pipe($2())),version:$4($3.pipe($5())),page:$4($6.pipe($5())),page_size:$4($6.pipe($5()))}).pipe($1({method:"GET",uri:"/datawarehouse/v1beta1/regions/{region}/versions",code:200,baseUrl:"https://api.scaleway.com"}));$7({version:$4($3),end_of_life_at:$4($9($3))});$7({versions:#3,total_count:$4($6)})`,[p,S,C,c,v,w,o,l,y,i,e,s,g,_,D,h]):r(U,t));const W=/*@__PURE__*/ f(e=>e===n?u(`StartDeployment`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/start",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d3,s,g,_,D]):r(W,e));const G=/*@__PURE__*/ f(e=>e===n?u(`StopDeployment`,`{input:#1,output:#7:2,errors:[],serviceErrors:$8,protocol:$9,retry:$10,telemetry:$11,span:"%"};$6(>2)@"%Request";$5({region:$4($3.pipe($2())),deployment_id:$3.pipe($2())}).pipe($1({method:"POST",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/stop",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,l,y,__d3,s,g,_,D]):r(G,e));const K=/*@__PURE__*/ f(t=>t===n?u(`UpdateDeployment`,`{input:#2,output:#11:2,errors:[],serviceErrors:$12,protocol:$13,retry:$14,telemetry:$15,span:"%"};$2($1);$10(>3)@"%Request";$9({region:$6($5.pipe($4())),deployment_id:$5.pipe($4()),name:$6($7($5)),tags:$6($7(#1)),cpu_min:$6($7($8)),cpu_max:$6($7($8)),replica_count:$6($7($8)),move_factor:$6($7($8))}).pipe($3({method:"PATCH",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,d,e,S,C,c,v,i,o,l,y,__d3,s,g,_,D]):r(K,t));const q=/*@__PURE__*/ f(e=>e===n?u(`UpdateUser`,`{input:#1,output:#10:0,errors:[],serviceErrors:$11,protocol:$12,retry:$13,telemetry:$14,span:"%"};$9(>2)@"%Request";$8({region:$4($3.pipe($2())),deployment_id:$3.pipe($2()),name:$3.pipe($2()),password:$4($6($3).pipe($5({}))),is_admin:$4($6($7))}).pipe($1({method:"PATCH",uri:"/datawarehouse/v1beta1/regions/{region}/deployments/{deployment_id}/users/{name}",code:200,baseUrl:"https://api.scaleway.com"}))`,[p,S,C,c,v,E,i,t,l,y,__d4,s,g,_,D]):r(q,e));function __d0(){return[`$5(>1)@"Database";$4({name:$2($1),size:$2($3),deployment_id:$2($1),region:$2($1),srn:$2($1)})`,[p,c,v,o,l,y]]}function __d1(){return[`$4(>2)@"EndpointSpecPrivateNetworkSummary";$4(>3)@"EndpointSpec";$3({private_network_id:$2($1)});$3({public:$2($6($5)),private_network:$2($6(#0))})`,[p,c,v,l,y,d,i]]}function __d2(){return[`$5(>6)@"EndpointService";$6(#0);$5(>7)@"NodePrivateNetworkDetails";$6(#2);$5(>8)@"PrivateNetworkDetails";$5(>9)@"Endpoint";$4({protocol:$2($1),port:$2($3)});$4({node_name:$2($1),shard:$2($3),replica:$2($3),ip_address:$2($1)});$4({private_network_id:$2($1),nodes:$2(#3)});$4({id:$2($1),dns_record:$2($1),services:$2(#1),private_network:$2($7(#4)),public:$2($7($8)),region:$2($1),srn:$2($1)})`,[p,c,v,o,l,y,e,i,d]]}function __d3(){return[`$2($1);$2(#3:5);$8(>3)@"Deployment";$7({id:$4($1),name:$4($1),organization_id:$4($1),project_id:$4($1),status:$4($1),tags:$4(#0),created_at:$4($5($1)),updated_at:$4($5($1)),version:$4($1),replica_count:$4($6),shard_count:$4($6),cpu_min:$4($6),cpu_max:$4($6),endpoints:$4(#1),ram_per_cpu:$4($6),move_factor:$4($6),kms_key_id:$4($5($1)),region:$4($1),srn:$4($1)})`,[p,c,e,__d2,v,i,o,l,y]]}function __d4(){return[`$5(>1)@"User";$4({name:$2($1),is_admin:$2($3),deployment_id:$2($1),region:$2($1),srn:$2($1)})`,[p,c,v,t,l,y]]}function __d5(){return[`$2(>1)@"DeleteDatabaseResponse";$1({})`,[p,l,y]]}export{O as createDatabase,k as createDeployment,A as createEndpoint,j as createUser,M as deleteDatabase,N as deleteDeployment,P as deleteEndpoint,F as deleteUser,I as getDeployment,L as getDeploymentCertificate,R as getDeploymentCertificateRaw,z as listDatabases,B as listDeployments,V as listPresets,H as listUsers,U as listVersions,W as startDeployment,G as stopDeployment,K as updateDeployment,q as updateUser};
2
+ /*
3
+ 27 27
4
+ e:0:Tc t:0:Uc n:0:a r:0:b i:0:bd a:0:cc o:0:cd s:0:errors$ScalewayServiceErrors c:0:fd l:0:gd u:0:l d:0:ld f:0:n p:0:nd m:0:o h:0:pagination$paginateByTotalCount g:0:protocol$ScalewayProtocol _:0:retry$Retry v:0:sd y:0:td b:0:traits$BinaryResponse x:0:traits$Header S:0:traits$Http C:0:traits$Label w:0:traits$Query T:0:traits$RawResponse E:0:traits$SensitiveValue
5
+ 000000001m0003n0005g000760008w000ao000ce000e0000fp000hm000ju000lr000nq000pi000rb000t6000ux000wn000yn0010f0010r0011s0012v001420015a0016b00176
6
+ 2 kk vs O|=CreateDatabase;ld uq;d,m,n,8,i,9,j,1c,7,g,h,1b
7
+ 2 wi 1dg k|=CreateDeployment;xd 1c1;d,1d,0,m,n,8,i,1f,6,4,q,9,j,7,g,h,1b
8
+ 2 1e6 1or A|=CreateEndpoint;1ez 1nk;d,m,n,8,i,1d,9,j,1e,7,g,h,1b
9
+ 2 1ph 21w j|=CreateUser;1q6 20q;d,m,n,8,i,q,1,9,j,1g,7,g,h,1b
10
+ 2 22m 2ea M|=DeleteDatabase;23f 2d8;d,m,n,8,i,9,j,1h,7,g,h,1b
11
+ 2 2f0 2pq N|=DeleteDeployment;2fv 2oo;d,m,n,8,i,9,j,1f,7,g,h,1b
12
+ 2 2qg 30y P|=DeleteEndpoint;2r9 2zw;d,m,n,8,i,9,j,1h,7,g,h,1b
13
+ 2 31o 3d4 F|=DeleteUser;32d 3c2;d,m,n,8,i,9,j,1h,7,g,h,1b
14
+ 2 3du 3oe I|=GetDeployment;3em 3nc;d,m,n,8,i,9,j,1f,7,g,h,1b
15
+ 2 3p4 429 L|=GetDeploymentCertificate;3q7 41c;d,m,n,8,i,9,j,7,g,h,1b
16
+ 2 42z 4hf R|=GetDeploymentCertificateRaw;445 4ga;d,m,n,8,i,9,j,p,k,5,l,7,g,h,1b
17
+ 2 4i5 518 z|=ListDatabases;4ix 4zy;d,m,n,8,i,o,6,9,j,1c,0,7,g,h,1b,f
18
+ 2 51y 5m5 B|=ListDeployments;52s 5kv;d,m,n,8,i,o,1f,6,9,j,0,7,g,h,1b,f
19
+ 2 5mv 66f V|=ListPresets;5nl 65a;d,m,n,8,i,o,6,9,j,0,7,g,h,1b,f
20
+ 2 675 6ps H|=ListUsers;67t 6oi;d,m,n,8,i,o,6,9,j,1g,0,7,g,h,1b,f
21
+ 2 6qi 78w U|=ListVersions;6r9 77p;d,m,n,8,i,o,6,9,j,4,0,7,g,h,1b,f
22
+ 2 79m 7kf W|=StartDeployment;7ag 7jd;d,m,n,8,i,9,j,1f,7,g,h,1b
23
+ 2 7l5 7vw G|=StopDeployment;7ly 7uu;d,m,n,8,i,9,j,1f,7,g,h,1b
24
+ 2 7wm 8b4 K|=UpdateDeployment;7xh 89u;d,b,0,m,n,8,i,4,6,9,j,1f,7,g,h,1b
25
+ 2 8bu 8oz q|=UpdateUser;8cj 8nr;d,m,n,8,i,q,4,1,9,j,1g,7,g,h,1b
26
+ 0 bz jv D||
27
+ 1 8p1 8sr __d0|=;8pp 8sa;d,8,i,6,9,j
28
+ 1 8sr 8y1 __d1|=;8tf 8xi;d,8,i,9,j,b,4
29
+ 1 8y1 9a6 __d2|=;8yp 99j;d,8,i,6,9,j,0,4,b
30
+ 1 9a6 9ll __d3|=;9au 9kv;d,8,0,1e,i,4,6,9,j
31
+ 1 9ll 9pb __d4|=;9m9 9ou;d,8,i,1,9,j
32
+ 1 9pb 9rc __d5|=;9pz 9r1;d,9,j
33
+ */
34
+ //# sourceMappingURL=datawarehouse_v1beta1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datawarehouse_v1beta1.js","names":["API.D","API.named","__L.at","T.Http","T.Label","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Array","S.Number","S.NullOr","T.SensitiveValue","S.Boolean","T.RawResponse","T.BinaryResponse","T.Header","T.Query","S.Unknown","Array","Boolean","D","call","NullOr","BinaryStream","Number","ScalewayServiceErrors","String","Struct","named","Unknown","op","at","opPaginated","paginateByTotalCount","ScalewayProtocol","Retry","optional","suspend","BinaryResponse","Header","Http","Label","Query","RawResponse","SensitiveValue","TELEMETRY","createDatabase","i","createDeployment","createEndpoint","createUser","deleteDatabase","deleteDeployment","deleteEndpoint","deleteUser","getDeployment","getDeploymentCertificate","getDeploymentCertificateRaw","listDatabases","listDeployments","listPresets","listUsers","listVersions","startDeployment","stopDeployment","updateDeployment","updateUser"],"sources":["../../src/unstable-services/datawarehouse_v1beta1.ts"],"mappings":"uaAeA,MAAMgD,EAAY,CAChB,OAAQ,eACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,WACR,QAAS,uBACT,OAAQ,WACR,UAAW,KACb,EA4bA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMlD,EAAQC,EAAU,iBAAkB,oVAAqV,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAYC,EAAUC,EAAW,KAAMoB,EAAuBS,EAAkB5B,EAAauC,CAAS,CAAC,EAAItC,EAASuC,EAAgBC,CAAC,CAAC,EAInlB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAMlD,EAAQC,EAAU,mBAAoB,mhBAAohB,CAACC,EAAQ,KAAMS,EAASR,EAAQC,EAASC,EAAUC,EAAY,KAAMM,EAAUC,EAAUC,EAAkBP,EAAUC,EAAWoB,EAAuBS,EAAkB5B,EAAauC,CAAS,CAAC,EAAItC,EAASyC,EAAkBD,CAAC,CAAC,EAI30B,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMlD,EAAQC,EAAU,iBAAkB,wTAAyT,CAACC,EAAQC,EAAQC,EAASC,EAAUC,EAAY,KAAMC,EAAUC,EAAW,KAAMoB,EAAuBS,EAAkB5B,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