@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,852 @@
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 CreateCronRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
6
+ /** Arguments to use with the cron. */
7
+ export type CreateCronRequestArgsMap = {
8
+ [key: string]: unknown | undefined;
9
+ };
10
+ export interface CreateCronRequest {
11
+ /** The region you want to target */
12
+ region?: CreateCronRequestRegion | (string & {}) | undefined;
13
+ /** UUID of the function to use the cron with. */
14
+ function_id?: string | undefined;
15
+ /** Schedule of the cron in UNIX cron format. */
16
+ schedule?: string | undefined;
17
+ /** Arguments to use with the cron. */
18
+ args?: CreateCronRequestArgsMap | undefined;
19
+ /** Name of the cron. */
20
+ name?: string | null | undefined;
21
+ }
22
+ /** Arguments to pass with the cron. */
23
+ export type CronArgsMap = {
24
+ [key: string]: unknown | undefined;
25
+ };
26
+ export type CronStatus = "unknown" | "ready" | "deleting" | "error" | "locked" | "creating" | "pending";
27
+ export interface Cron {
28
+ /** UUID of the cron. */
29
+ id?: string | undefined;
30
+ /** SRN of the cron. */
31
+ srn?: string | undefined;
32
+ /** UUID of the function the cron applies to. */
33
+ function_id?: string | undefined;
34
+ /** Schedule of the cron. */
35
+ schedule?: string | undefined;
36
+ /** Arguments to pass with the cron. */
37
+ args?: CronArgsMap | undefined;
38
+ /** Status of the cron. */
39
+ status?: CronStatus | undefined;
40
+ /** Name of the cron. */
41
+ name?: string | undefined;
42
+ /** Region in which the cron is located. */
43
+ region?: string | undefined;
44
+ }
45
+ export type CreateDomainRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
46
+ export interface CreateDomainRequest {
47
+ /** The region you want to target */
48
+ region?: CreateDomainRequestRegion | (string & {}) | undefined;
49
+ /** Hostname to create. */
50
+ hostname?: string | undefined;
51
+ /** UUID of the function to associate the domain with. */
52
+ function_id?: string | undefined;
53
+ }
54
+ export type DomainStatus = "unknown" | "ready" | "deleting" | "error" | "creating" | "pending";
55
+ export interface Domain {
56
+ /** UUID of the domain. */
57
+ id?: string | undefined;
58
+ /** SRN of the domain. */
59
+ srn?: string | undefined;
60
+ /** Hostname associated with the function. */
61
+ hostname?: string | undefined;
62
+ /** UUID of the function the domain is associated with. */
63
+ function_id?: string | undefined;
64
+ /** URL of the function. */
65
+ url?: string | undefined;
66
+ /** State of the domain. */
67
+ status?: DomainStatus | undefined;
68
+ /** Error message if the domain is in "error" state. */
69
+ error_message?: string | null | undefined;
70
+ /** Region in which the domain is located. */
71
+ region?: string | undefined;
72
+ }
73
+ export type CreateFunctionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
74
+ /** Environment variables of the function. */
75
+ export type CreateFunctionRequestEnvironmentVariablesMap = {
76
+ [key: string]: string | undefined;
77
+ };
78
+ export type FunctionRuntime = "unknown_runtime" | "golang" | "python" | "python3" | "node8" | "node10" | "node14" | "node16" | "node17" | "python37" | "python38" | "python39" | "python310" | "go113" | "go117" | "go118" | "node18" | "rust165" | "go119" | "python311" | "php82" | "node19" | "go120" | "node20" | "go121" | "node22" | "python312" | "php83" | "go122" | "rust179" | "go123" | "go124" | "python313" | "rust185" | "php84" | "node24" | "node26" | "go125" | "go126" | "php85" | "python314" | "rust196";
79
+ export type FunctionPrivacy = "unknown_privacy" | "public" | "private";
80
+ export interface Secret {
81
+ key?: string | undefined;
82
+ value?: string | Redacted.Redacted<string> | null | undefined;
83
+ }
84
+ export type CreateFunctionRequestSecretEnvironmentVariablesList = Array<Secret>;
85
+ export type FunctionHttpOption = "unknown_http_option" | "enabled" | "redirected";
86
+ export type FunctionSandbox = "unknown_sandbox" | "v1" | "v2";
87
+ /** Tags of the Serverless Function. */
88
+ export type CreateFunctionRequestTagsList = Array<string>;
89
+ export interface CreateFunctionRequest {
90
+ /** The region you want to target */
91
+ region?: CreateFunctionRequestRegion | (string & {}) | undefined;
92
+ /** Name of the function to create. */
93
+ name?: string | undefined;
94
+ /** UUID of the namespace the function will be created in. */
95
+ namespace_id?: string | undefined;
96
+ /** Environment variables of the function. */
97
+ environment_variables?: CreateFunctionRequestEnvironmentVariablesMap | null | undefined;
98
+ /** Minimum number of instances to scale the function to. */
99
+ min_scale?: number | null | undefined;
100
+ /** Maximum number of instances to scale the function to. */
101
+ max_scale?: number | null | undefined;
102
+ /** Runtime to use with the function. */
103
+ runtime?: FunctionRuntime | (string & {}) | undefined;
104
+ /** Memory limit of the function in MB. */
105
+ memory_limit?: number | null | undefined;
106
+ /** Request processing time limit for the function. (in seconds) */
107
+ timeout?: string | null | undefined;
108
+ /** Handler to use with the function. */
109
+ handler?: string | null | undefined;
110
+ /** Privacy setting of the function. */
111
+ privacy?: FunctionPrivacy | (string & {}) | undefined;
112
+ /** Description of the function. */
113
+ description?: string | null | undefined;
114
+ secret_environment_variables?: CreateFunctionRequestSecretEnvironmentVariablesList | undefined;
115
+ /** Configure how HTTP and HTTPS requests are handled. Possible values: - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS. - enabled: Serve both HTTP and HTTPS traffic. */
116
+ http_option?: FunctionHttpOption | (string & {}) | undefined;
117
+ /** Execution environment of the function. */
118
+ sandbox?: FunctionSandbox | (string & {}) | undefined;
119
+ /** Tags of the Serverless Function. */
120
+ tags?: CreateFunctionRequestTagsList | undefined;
121
+ /** ID of the Private Network the function is connected to. When connected to a Private Network, the function can access other Scaleway resources in this Private Network. */
122
+ private_network_id?: string | null | undefined;
123
+ }
124
+ export type FunctionStatus = "unknown" | "ready" | "deleting" | "error" | "locked" | "creating" | "pending" | "created";
125
+ /** Environment variables of the function. */
126
+ export type FunctionEnvironmentVariablesMap = {
127
+ [key: string]: string | undefined;
128
+ };
129
+ export interface SecretHashedValue {
130
+ key?: string | undefined;
131
+ hashed_value?: string | undefined;
132
+ }
133
+ /** Secret environment variables of the function. */
134
+ export type FunctionSecretEnvironmentVariablesList = Array<SecretHashedValue>;
135
+ /** List of tags applied to the Serverless Function. */
136
+ export type FunctionTagsList = Array<string>;
137
+ export interface Function {
138
+ /** UUID of the function. */
139
+ id?: string | undefined;
140
+ /** SRN of the function. */
141
+ srn?: string | undefined;
142
+ /** Name of the function. */
143
+ name?: string | undefined;
144
+ /** UUID of the namespace the function belongs to. */
145
+ namespace_id?: string | undefined;
146
+ /** Status of the function. */
147
+ status?: FunctionStatus | undefined;
148
+ /** Environment variables of the function. */
149
+ environment_variables?: FunctionEnvironmentVariablesMap | undefined;
150
+ /** Minimum number of instances to scale the function to. */
151
+ min_scale?: number | undefined;
152
+ /** Maximum number of instances to scale the function to. */
153
+ max_scale?: number | undefined;
154
+ /** Runtime of the function. */
155
+ runtime?: FunctionRuntime | undefined;
156
+ /** Memory limit of the function in MB. */
157
+ memory_limit?: number | undefined;
158
+ /** CPU limit of the function. */
159
+ cpu_limit?: number | undefined;
160
+ /** Request processing time limit for the function. (in seconds) */
161
+ timeout?: string | null | undefined;
162
+ /** Handler to use for the function. */
163
+ handler?: string | undefined;
164
+ /** Error message if the function is in "error" state. */
165
+ error_message?: string | null | undefined;
166
+ /** Description of the current build step. */
167
+ build_message?: string | null | undefined;
168
+ /** Privacy setting of the function. */
169
+ privacy?: FunctionPrivacy | undefined;
170
+ /** Description of the function. */
171
+ description?: string | null | undefined;
172
+ /** Domain name associated with the function. */
173
+ domain_name?: string | undefined;
174
+ /** Secret environment variables of the function. */
175
+ secret_environment_variables?: FunctionSecretEnvironmentVariablesList | undefined;
176
+ /** Region in which the function is deployed. */
177
+ region?: string | undefined;
178
+ /** Configuration for handling of HTTP and HTTPS requests. Possible values: - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS. - enabled: Serve both HTTP and HTTPS traffic. */
179
+ http_option?: FunctionHttpOption | undefined;
180
+ runtime_message?: string | undefined;
181
+ /** Execution environment of the function. */
182
+ sandbox?: FunctionSandbox | undefined;
183
+ /** Creation date of the function. (RFC 3339 format) */
184
+ created_at?: string | null | undefined;
185
+ /** Last update date of the function. (RFC 3339 format) */
186
+ updated_at?: string | null | undefined;
187
+ /** Last date when the function was successfully deployed and set to ready. (RFC 3339 format) */
188
+ ready_at?: string | null | undefined;
189
+ /** List of tags applied to the Serverless Function. */
190
+ tags?: FunctionTagsList | undefined;
191
+ /** ID of the Private Network the function is connected to. When connected to a Private Network, the function can access other Scaleway resources in this Private Network. */
192
+ private_network_id?: string | null | undefined;
193
+ }
194
+ export type CreateNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
195
+ /** Environment variables of the namespace. */
196
+ export type CreateNamespaceRequestEnvironmentVariablesMap = {
197
+ [key: string]: string | undefined;
198
+ };
199
+ /** Secret environment variables of the namespace. */
200
+ export type CreateNamespaceRequestSecretEnvironmentVariablesList = Array<Secret>;
201
+ /** Tags of the Serverless Function Namespace. */
202
+ export type CreateNamespaceRequestTagsList = Array<string>;
203
+ export interface CreateNamespaceRequest {
204
+ /** The region you want to target */
205
+ region?: CreateNamespaceRequestRegion | (string & {}) | undefined;
206
+ name?: string | undefined;
207
+ /** Environment variables of the namespace. */
208
+ environment_variables?: CreateNamespaceRequestEnvironmentVariablesMap | null | undefined;
209
+ /** UUID of the project in which the namespace will be created. */
210
+ project_id?: string | undefined;
211
+ /** Description of the namespace. */
212
+ description?: string | null | undefined;
213
+ /** Secret environment variables of the namespace. */
214
+ secret_environment_variables?: CreateNamespaceRequestSecretEnvironmentVariablesList | undefined;
215
+ /** Tags of the Serverless Function Namespace. */
216
+ tags?: CreateNamespaceRequestTagsList | undefined;
217
+ /** [DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC. Setting this field to true doesn't matter anymore. It will be removed in a near future. */
218
+ activate_vpc_integration?: boolean | undefined;
219
+ }
220
+ /** Environment variables of the namespace. */
221
+ export type NamespaceEnvironmentVariablesMap = {
222
+ [key: string]: string | undefined;
223
+ };
224
+ export type NamespaceStatus = "unknown" | "ready" | "deleting" | "error" | "locked" | "creating" | "pending";
225
+ /** Secret environment variables of the namespace. */
226
+ export type NamespaceSecretEnvironmentVariablesList = Array<SecretHashedValue>;
227
+ /** List of tags applied to the Serverless Function Namespace. */
228
+ export type NamespaceTagsList = Array<string>;
229
+ export interface Namespace {
230
+ /** UUID of the namespace. */
231
+ id?: string | undefined;
232
+ /** SRN of the namespace. */
233
+ srn?: string | undefined;
234
+ /** Name of the namespace. */
235
+ name?: string | undefined;
236
+ /** Environment variables of the namespace. */
237
+ environment_variables?: NamespaceEnvironmentVariablesMap | undefined;
238
+ /** UUID of the Organization the namespace belongs to. */
239
+ organization_id?: string | undefined;
240
+ /** UUID of the Project the namespace belongs to. */
241
+ project_id?: string | undefined;
242
+ /** Status of the namespace. */
243
+ status?: NamespaceStatus | undefined;
244
+ /** UUID of the registry namespace. */
245
+ registry_namespace_id?: string | undefined;
246
+ /** Error message if the namespace is in "error" state. */
247
+ error_message?: string | null | undefined;
248
+ /** Registry endpoint of the namespace. */
249
+ registry_endpoint?: string | undefined;
250
+ /** Description of the namespace. */
251
+ description?: string | null | undefined;
252
+ /** Secret environment variables of the namespace. */
253
+ secret_environment_variables?: NamespaceSecretEnvironmentVariablesList | undefined;
254
+ /** Region in which the namespace is located. */
255
+ region?: string | undefined;
256
+ /** List of tags applied to the Serverless Function Namespace. */
257
+ tags?: NamespaceTagsList | undefined;
258
+ /** Creation date of the namespace. (RFC 3339 format) */
259
+ created_at?: string | null | undefined;
260
+ /** Last update date of the namespace. (RFC 3339 format) */
261
+ updated_at?: string | null | undefined;
262
+ /** [DEPRECATED] By default, as of 2025/08/20, all namespaces are now compatible with VPC. The value of this field doesn't matter anymore, and will be removed in a near future. */
263
+ vpc_integration_activated?: boolean | undefined;
264
+ }
265
+ export type CreateTriggerRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
266
+ export interface CreateTriggerRequestMnqSqsClientConfig {
267
+ /** Name of the SQS queue the trigger should listen to. */
268
+ queue: string;
269
+ /** ID of the Messaging and Queuing project. You must have activated SQS on this project. */
270
+ mnq_project_id: string;
271
+ /** Region in which the Messaging and Queuing project is activated. Currently, only the `fr-par` and `nl-ams` regions are available. */
272
+ mnq_region: string;
273
+ }
274
+ export interface CreateTriggerRequestMnqNatsClientConfig {
275
+ /** Name of the NATS subject the trigger should listen to. */
276
+ subject: string;
277
+ /** ID of the Messaging and Queuing NATS account. */
278
+ mnq_nats_account_id: string;
279
+ /** ID of the Messaging and Queuing project. */
280
+ mnq_project_id?: string | undefined;
281
+ /** Region in which the Messaging and Queuing project is activated. Currently, only the `fr-par` and `nl-ams` regions are available. */
282
+ mnq_region: string;
283
+ }
284
+ export interface CreateTriggerRequest {
285
+ /** The region you want to target */
286
+ region?: CreateTriggerRequestRegion | (string & {}) | undefined;
287
+ /** Name of the trigger. */
288
+ name: string;
289
+ /** ID of the function to trigger. */
290
+ function_id: string;
291
+ /** Description of the trigger. */
292
+ description?: string | null | undefined;
293
+ /** Configuration for a Scaleway Messaging and Queuing SQS queue. One of scw_sqs_config, scw_nats_config is required. */
294
+ scw_sqs_config?: CreateTriggerRequestMnqSqsClientConfig | null | undefined;
295
+ /** Configuration for a Scaleway Messaging and Queuing NATS subject. One of scw_sqs_config, scw_nats_config is required. */
296
+ scw_nats_config?: CreateTriggerRequestMnqNatsClientConfig | null | undefined;
297
+ }
298
+ export type TriggerInputType = "unknown_input_type" | "sqs" | "scw_sqs" | "nats" | "scw_nats";
299
+ export type TriggerStatus = "unknown_status" | "ready" | "deleting" | "error" | "creating" | "pending";
300
+ export interface TriggerMnqSqsClientConfig {
301
+ /** Name of the SQS queue the trigger listens to. */
302
+ queue?: string | undefined;
303
+ /** ID of the Messaging and Queuing project. */
304
+ mnq_project_id?: string | undefined;
305
+ /** Region in which the Messaging and Queuing project is activated. Currently, only the `fr-par` and `nl-ams` regions are available. */
306
+ mnq_region?: string | undefined;
307
+ /** ID of the Messaging and Queuing credentials used to read from the SQS queue. */
308
+ mnq_credential_id?: string | null | undefined;
309
+ }
310
+ export interface TriggerMnqNatsClientConfig {
311
+ /** Name of the NATS subject the trigger listens to. */
312
+ subject?: string | undefined;
313
+ /** ID of the Messaging and Queuing NATS account. */
314
+ mnq_nats_account_id?: string | undefined;
315
+ /** ID of the Messaging and Queuing project. */
316
+ mnq_project_id?: string | undefined;
317
+ /** Region in which the Messaging and Queuing project is activated. Currently, only the `fr-par` and `nl-ams` regions are available. */
318
+ mnq_region?: string | undefined;
319
+ /** ID of the Messaging and Queuing credentials used to subscribe to the NATS subject. */
320
+ mnq_credential_id?: string | null | undefined;
321
+ }
322
+ export interface Trigger {
323
+ /** ID of the trigger. */
324
+ id?: string | undefined;
325
+ /** SRN of the trigger. */
326
+ srn?: string | undefined;
327
+ /** Name of the trigger. */
328
+ name?: string | undefined;
329
+ /** Description of the trigger. */
330
+ description?: string | undefined;
331
+ /** ID of the function to trigger. */
332
+ function_id?: string | undefined;
333
+ /** Type of the input. */
334
+ input_type?: TriggerInputType | undefined;
335
+ /** Status of the trigger. */
336
+ status?: TriggerStatus | undefined;
337
+ /** Error message of the trigger. */
338
+ error_message?: string | null | undefined;
339
+ /** Configuration for a Scaleway Messaging and Queuing SQS queue. Precisely one of scw_sqs_config, scw_nats_config can be set. */
340
+ scw_sqs_config?: TriggerMnqSqsClientConfig | null | undefined;
341
+ /** Configuration for a Scaleway Messaging and Queuing NATS subject. Precisely one of scw_sqs_config, scw_nats_config can be set. */
342
+ scw_nats_config?: TriggerMnqNatsClientConfig | null | undefined;
343
+ /** Region in which the trigger is located. */
344
+ region?: string | undefined;
345
+ }
346
+ export type DeleteCronRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
347
+ export interface DeleteCronRequest {
348
+ /** The region you want to target */
349
+ region?: DeleteCronRequestRegion | (string & {}) | undefined;
350
+ /** UUID of the cron to delete. */
351
+ cron_id: string;
352
+ }
353
+ export type DeleteDomainRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
354
+ export interface DeleteDomainRequest {
355
+ /** The region you want to target */
356
+ region?: DeleteDomainRequestRegion | (string & {}) | undefined;
357
+ /** UUID of the domain to delete. */
358
+ domain_id: string;
359
+ }
360
+ export type DeleteFunctionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
361
+ export interface DeleteFunctionRequest {
362
+ /** The region you want to target */
363
+ region?: DeleteFunctionRequestRegion | (string & {}) | undefined;
364
+ /** UUID of the function to delete. */
365
+ function_id: string;
366
+ }
367
+ export type DeleteNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
368
+ export interface DeleteNamespaceRequest {
369
+ /** The region you want to target */
370
+ region?: DeleteNamespaceRequestRegion | (string & {}) | undefined;
371
+ /** UUID of the namespace. */
372
+ namespace_id: string;
373
+ }
374
+ export type DeleteTokenRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
375
+ export interface DeleteTokenRequest {
376
+ /** The region you want to target */
377
+ region?: DeleteTokenRequestRegion | (string & {}) | undefined;
378
+ /** UUID of the token to delete. */
379
+ token_id: string;
380
+ }
381
+ export type TokenStatus = "unknown" | "ready" | "deleting" | "error" | "creating";
382
+ export interface Token {
383
+ /** UUID of the token. */
384
+ id?: string | undefined;
385
+ /** String of the token. */
386
+ token?: string | Redacted.Redacted<string> | undefined;
387
+ /** UUID of the function the token is associated with. Precisely one of function_id, namespace_id can be set. */
388
+ function_id?: string | null | undefined;
389
+ /** UUID of the namespace the token is associated with. Precisely one of function_id, namespace_id can be set. */
390
+ namespace_id?: string | null | undefined;
391
+ /** Public key of the token. */
392
+ public_key?: string | undefined;
393
+ /** Status of the token. */
394
+ status?: TokenStatus | undefined;
395
+ /** Description of the token. */
396
+ description?: string | null | undefined;
397
+ /** Date on which the token expires. (RFC 3339 format) */
398
+ expires_at?: string | null | undefined;
399
+ }
400
+ export type DeleteTriggerRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
401
+ export interface DeleteTriggerRequest {
402
+ /** The region you want to target */
403
+ region?: DeleteTriggerRequestRegion | (string & {}) | undefined;
404
+ /** ID of the trigger to delete. */
405
+ trigger_id: string;
406
+ }
407
+ export type DeployFunctionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
408
+ export interface DeployFunctionRequest {
409
+ /** The region you want to target */
410
+ region?: DeployFunctionRequestRegion | (string & {}) | undefined;
411
+ /** UUID of the function to deploy. */
412
+ function_id: string;
413
+ }
414
+ export type GetCronRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
415
+ export interface GetCronRequest {
416
+ /** The region you want to target */
417
+ region?: GetCronRequestRegion | (string & {}) | undefined;
418
+ /** UUID of the cron to get. */
419
+ cron_id: string;
420
+ }
421
+ export type GetDomainRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
422
+ export interface GetDomainRequest {
423
+ /** The region you want to target */
424
+ region?: GetDomainRequestRegion | (string & {}) | undefined;
425
+ /** UUID of the domain to get. */
426
+ domain_id: string;
427
+ }
428
+ export type GetFunctionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
429
+ export interface GetFunctionRequest {
430
+ /** The region you want to target */
431
+ region?: GetFunctionRequestRegion | (string & {}) | undefined;
432
+ /** UUID of the function. */
433
+ function_id: string;
434
+ }
435
+ export type GetFunctionDownloadURLRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
436
+ export interface GetFunctionDownloadURLRequest {
437
+ /** The region you want to target */
438
+ region?: GetFunctionDownloadURLRequestRegion | (string & {}) | undefined;
439
+ /** UUID of the function to get the download URL for. */
440
+ function_id: string;
441
+ }
442
+ export type ScalewayStdStringsValue = Array<unknown>;
443
+ export type DownloadURLHeadersMap = {
444
+ [key: string]: ScalewayStdStringsValue | null | undefined;
445
+ };
446
+ export interface DownloadURL {
447
+ url?: string | undefined;
448
+ headers?: DownloadURLHeadersMap | undefined;
449
+ }
450
+ export type GetFunctionUploadURLRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
451
+ export interface GetFunctionUploadURLRequest {
452
+ /** The region you want to target */
453
+ region?: GetFunctionUploadURLRequestRegion | (string & {}) | undefined;
454
+ /** UUID of the function to get the upload URL for. */
455
+ function_id: string;
456
+ /** Size of the archive to upload in bytes. */
457
+ content_length: number;
458
+ }
459
+ /** HTTP headers. */
460
+ export type UploadURLHeadersValueList = Array<unknown>;
461
+ /** HTTP headers. */
462
+ export type UploadURLHeadersMap = {
463
+ [key: string]: UploadURLHeadersValueList | null | undefined;
464
+ };
465
+ export interface UploadURL {
466
+ /** Upload URL to upload the function to. */
467
+ url?: string | undefined;
468
+ /** HTTP headers. */
469
+ headers?: UploadURLHeadersMap | undefined;
470
+ }
471
+ export type GetNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
472
+ export interface GetNamespaceRequest {
473
+ /** The region you want to target */
474
+ region?: GetNamespaceRequestRegion | (string & {}) | undefined;
475
+ /** UUID of the namespace. */
476
+ namespace_id: string;
477
+ }
478
+ export type GetTokenRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
479
+ export interface GetTokenRequest {
480
+ /** The region you want to target */
481
+ region?: GetTokenRequestRegion | (string & {}) | undefined;
482
+ /** UUID of the token to get. */
483
+ token_id: string;
484
+ }
485
+ export type GetTriggerRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
486
+ export interface GetTriggerRequest {
487
+ /** The region you want to target */
488
+ region?: GetTriggerRequestRegion | (string & {}) | undefined;
489
+ /** ID of the trigger to get. */
490
+ trigger_id: string;
491
+ }
492
+ export type ListCronsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
493
+ export type ListCronsRequestOrderBy = "created_at_asc" | "created_at_desc";
494
+ export interface ListCronsRequest {
495
+ /** The region you want to target */
496
+ region?: ListCronsRequestRegion | (string & {}) | undefined;
497
+ /** Page number. */
498
+ page?: number | undefined;
499
+ /** Number of crons per page. */
500
+ page_size?: number | undefined;
501
+ /** Order of the crons. */
502
+ order_by?: ListCronsRequestOrderBy | (string & {}) | undefined;
503
+ /** UUID of the function. */
504
+ function_id: string;
505
+ }
506
+ /** Array of crons. */
507
+ export type ListCronsResponseCronsList = Array<Cron>;
508
+ export interface ListCronsResponse {
509
+ /** Array of crons. */
510
+ crons: ListCronsResponseCronsList;
511
+ /** Total number of crons. */
512
+ total_count?: number | undefined;
513
+ }
514
+ export type ListDomainsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
515
+ export type ListDomainsRequestOrderBy = "created_at_asc" | "created_at_desc" | "hostname_asc" | "hostname_desc";
516
+ export interface ListDomainsRequest {
517
+ /** The region you want to target */
518
+ region?: ListDomainsRequestRegion | (string & {}) | undefined;
519
+ /** Page number. */
520
+ page?: number | undefined;
521
+ /** Number of domains per page. */
522
+ page_size?: number | undefined;
523
+ /** Order of the domains. */
524
+ order_by?: ListDomainsRequestOrderBy | (string & {}) | undefined;
525
+ /** UUID of the function the domain is associated with. */
526
+ function_id: string;
527
+ }
528
+ /** Array of domains. */
529
+ export type ListDomainsResponseDomainsList = Array<Domain>;
530
+ export interface ListDomainsResponse {
531
+ /** Array of domains. */
532
+ domains: ListDomainsResponseDomainsList;
533
+ /** Total number of domains. */
534
+ total_count?: number | undefined;
535
+ }
536
+ export type ListFunctionRuntimesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
537
+ export interface ListFunctionRuntimesRequest {
538
+ /** The region you want to target */
539
+ region?: ListFunctionRuntimesRequestRegion | (string & {}) | undefined;
540
+ }
541
+ export type RuntimeStatus = "unknown_status" | "beta" | "available" | "deprecated" | "end_of_support" | "end_of_life";
542
+ export interface Runtime {
543
+ name?: string | undefined;
544
+ language?: string | undefined;
545
+ version?: string | undefined;
546
+ default_handler?: string | undefined;
547
+ code_sample?: string | undefined;
548
+ status?: RuntimeStatus | undefined;
549
+ status_message?: string | undefined;
550
+ extension?: string | undefined;
551
+ implementation?: string | undefined;
552
+ logo_url?: string | undefined;
553
+ }
554
+ /** Array of runtimes available. */
555
+ export type ListFunctionRuntimesResponseRuntimesList = Array<Runtime>;
556
+ export interface ListFunctionRuntimesResponse {
557
+ /** Array of runtimes available. */
558
+ runtimes?: ListFunctionRuntimesResponseRuntimesList | undefined;
559
+ /** Total number of runtimes. */
560
+ total_count?: number | undefined;
561
+ }
562
+ export type ListFunctionsRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
563
+ export type ListFunctionsRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
564
+ export interface ListFunctionsRequest {
565
+ /** The region you want to target */
566
+ region?: ListFunctionsRequestRegion | (string & {}) | undefined;
567
+ /** Page number. */
568
+ page?: number | undefined;
569
+ /** Number of functions per page. */
570
+ page_size?: number | undefined;
571
+ /** Order of the functions. */
572
+ order_by?: ListFunctionsRequestOrderBy | (string & {}) | undefined;
573
+ /** UUID of the namespace the function belongs to. */
574
+ namespace_id: string;
575
+ /** Name of the function. */
576
+ name?: string | undefined;
577
+ /** UUID of the Organization the function belongs to. */
578
+ organization_id?: string | undefined;
579
+ /** UUID of the Project the function belongs to. */
580
+ project_id?: string | undefined;
581
+ }
582
+ /** Array of functions. */
583
+ export type ListFunctionsResponseFunctionsList = Array<Function>;
584
+ export interface ListFunctionsResponse {
585
+ /** Array of functions. */
586
+ functions: ListFunctionsResponseFunctionsList;
587
+ /** Total number of functions. */
588
+ total_count?: number | undefined;
589
+ }
590
+ export type ListNamespacesRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
591
+ export type ListNamespacesRequestOrderBy = "created_at_asc" | "created_at_desc" | "name_asc" | "name_desc";
592
+ export interface ListNamespacesRequest {
593
+ /** The region you want to target */
594
+ region?: ListNamespacesRequestRegion | (string & {}) | undefined;
595
+ /** Page number. */
596
+ page?: number | undefined;
597
+ /** Number of namespaces per page. */
598
+ page_size?: number | undefined;
599
+ /** Order of the namespaces. */
600
+ order_by?: ListNamespacesRequestOrderBy | (string & {}) | undefined;
601
+ /** Name of the namespace. */
602
+ name?: string | undefined;
603
+ /** UUID of the Organization the namespace belongs to. */
604
+ organization_id?: string | undefined;
605
+ /** UUID of the Project the namespace belongs to. */
606
+ project_id?: string | undefined;
607
+ }
608
+ export type ListNamespacesResponseNamespacesList = Array<Namespace>;
609
+ export interface ListNamespacesResponse {
610
+ namespaces: ListNamespacesResponseNamespacesList;
611
+ /** Total number of namespaces. */
612
+ total_count?: number | undefined;
613
+ }
614
+ export type ListTokensRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
615
+ export type ListTokensRequestOrderBy = "created_at_asc" | "created_at_desc";
616
+ export interface ListTokensRequest {
617
+ /** The region you want to target */
618
+ region?: ListTokensRequestRegion | (string & {}) | undefined;
619
+ /** Page number. */
620
+ page?: number | undefined;
621
+ /** Number of tokens per page. */
622
+ page_size?: number | undefined;
623
+ /** Sort order for the tokens. */
624
+ order_by?: ListTokensRequestOrderBy | (string & {}) | undefined;
625
+ /** UUID of the function the token is associated with. */
626
+ function_id?: string | undefined;
627
+ /** UUID of the namespace the token is associated with. */
628
+ namespace_id?: string | undefined;
629
+ }
630
+ export type ListTokensResponseTokensList = Array<Token>;
631
+ export interface ListTokensResponse {
632
+ tokens: ListTokensResponseTokensList;
633
+ total_count?: number | undefined;
634
+ }
635
+ export type ListTriggersRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
636
+ export type ListTriggersRequestOrderBy = "created_at_asc" | "created_at_desc";
637
+ export interface ListTriggersRequest {
638
+ /** The region you want to target */
639
+ region?: ListTriggersRequestRegion | (string & {}) | undefined;
640
+ /** Page number to return. */
641
+ page?: number | undefined;
642
+ /** Maximum number of triggers to return per page. */
643
+ page_size?: number | undefined;
644
+ /** Order in which to return results. */
645
+ order_by?: ListTriggersRequestOrderBy | (string & {}) | undefined;
646
+ /** ID of the function the triggers belong to. One-of `scope`: at most one of `function_id`, `namespace_id`, `project_id`. */
647
+ function_id?: string | undefined;
648
+ /** ID of the namespace the triggers belong to. One-of `scope`: at most one of `function_id`, `namespace_id`, `project_id`. */
649
+ namespace_id?: string | undefined;
650
+ /** ID of the Project the triggers belong to. One-of `scope`: at most one of `function_id`, `namespace_id`, `project_id`. */
651
+ project_id?: string | undefined;
652
+ }
653
+ /** Triggers on this page. */
654
+ export type ListTriggersResponseTriggersList = Array<Trigger>;
655
+ export interface ListTriggersResponse {
656
+ /** Total count of existing triggers (matching any filters specified). */
657
+ total_count?: number | undefined;
658
+ /** Triggers on this page. */
659
+ triggers: ListTriggersResponseTriggersList;
660
+ }
661
+ export type UpdateCronRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
662
+ /** Arguments to use with the cron. */
663
+ export type UpdateCronRequestArgsMap = {
664
+ [key: string]: unknown | undefined;
665
+ };
666
+ export interface UpdateCronRequest {
667
+ /** The region you want to target */
668
+ region?: UpdateCronRequestRegion | (string & {}) | undefined;
669
+ /** UUID of the cron to update. */
670
+ cron_id: string;
671
+ /** UUID of the function to use the cron with. */
672
+ function_id?: string | null | undefined;
673
+ /** Schedule of the cron in UNIX cron format. */
674
+ schedule?: string | null | undefined;
675
+ /** Arguments to use with the cron. */
676
+ args?: UpdateCronRequestArgsMap | undefined;
677
+ /** Name of the cron. */
678
+ name?: string | null | undefined;
679
+ }
680
+ export type UpdateFunctionRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
681
+ /** Environment variables of the function to update. */
682
+ export type UpdateFunctionRequestEnvironmentVariablesMap = {
683
+ [key: string]: string | undefined;
684
+ };
685
+ /** Secret environment variables of the function. During an update, secret environment variables that are not specified in this field will be kept unchanged. In order to delete a specific secret environment variable, you must reference its key, but not provide any value for it. For example, the following payload will delete the `TO_DELETE` secret environment variable: ```json { "secret_environment_variables":[ {"key":"TO_DELETE"} ] } ```. */
686
+ export type UpdateFunctionRequestSecretEnvironmentVariablesList = Array<Secret>;
687
+ /** Tags of the Serverless Function. */
688
+ export type UpdateFunctionRequestTagsList = Array<unknown>;
689
+ export interface UpdateFunctionRequest {
690
+ /** The region you want to target */
691
+ region?: UpdateFunctionRequestRegion | (string & {}) | undefined;
692
+ /** UUID of the function to update. */
693
+ function_id: string;
694
+ /** Environment variables of the function to update. */
695
+ environment_variables?: UpdateFunctionRequestEnvironmentVariablesMap | null | undefined;
696
+ /** Minimum number of instances to scale the function to. */
697
+ min_scale?: number | null | undefined;
698
+ /** Maximum number of instances to scale the function to. */
699
+ max_scale?: number | null | undefined;
700
+ /** Runtime to use with the function. */
701
+ runtime?: FunctionRuntime | (string & {}) | undefined;
702
+ /** Memory limit of the function in MB. */
703
+ memory_limit?: number | null | undefined;
704
+ /** Processing time limit for the function. (in seconds) */
705
+ timeout?: string | null | undefined;
706
+ /** Redeploy failed function. */
707
+ redeploy?: boolean | null | undefined;
708
+ /** Handler to use with the function. */
709
+ handler?: string | null | undefined;
710
+ /** Privacy setting of the function. */
711
+ privacy?: FunctionPrivacy | (string & {}) | undefined;
712
+ /** Description of the function. */
713
+ description?: string | null | undefined;
714
+ /** Secret environment variables of the function. During an update, secret environment variables that are not specified in this field will be kept unchanged. In order to delete a specific secret environment variable, you must reference its key, but not provide any value for it. For example, the following payload will delete the `TO_DELETE` secret environment variable: ```json { "secret_environment_variables":[ {"key":"TO_DELETE"} ] } ```. */
715
+ secret_environment_variables?: UpdateFunctionRequestSecretEnvironmentVariablesList | undefined;
716
+ /** Configure how HTTP and HTTPS requests are handled. Possible values: - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS. - enabled: Serve both HTTP and HTTPS traffic. */
717
+ http_option?: FunctionHttpOption | (string & {}) | undefined;
718
+ /** Execution environment of the function. */
719
+ sandbox?: FunctionSandbox | (string & {}) | undefined;
720
+ /** Tags of the Serverless Function. */
721
+ tags?: UpdateFunctionRequestTagsList | null | undefined;
722
+ /** ID of the Private Network the function is connected to. When connected to a Private Network, the function can access other Scaleway resources in this Private Network. */
723
+ private_network_id?: string | null | undefined;
724
+ }
725
+ export type UpdateNamespaceRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
726
+ /** Environment variables of the namespace. */
727
+ export type UpdateNamespaceRequestEnvironmentVariablesMap = {
728
+ [key: string]: string | undefined;
729
+ };
730
+ /** Secret environment variables of the namespace. */
731
+ export type UpdateNamespaceRequestSecretEnvironmentVariablesList = Array<Secret>;
732
+ /** Tags of the Serverless Function Namespace. */
733
+ export type UpdateNamespaceRequestTagsList = Array<unknown>;
734
+ export interface UpdateNamespaceRequest {
735
+ /** The region you want to target */
736
+ region?: UpdateNamespaceRequestRegion | (string & {}) | undefined;
737
+ /** UUID of the namespapce. */
738
+ namespace_id: string;
739
+ /** Environment variables of the namespace. */
740
+ environment_variables?: UpdateNamespaceRequestEnvironmentVariablesMap | null | undefined;
741
+ /** Description of the namespace. */
742
+ description?: string | null | undefined;
743
+ /** Secret environment variables of the namespace. */
744
+ secret_environment_variables?: UpdateNamespaceRequestSecretEnvironmentVariablesList | undefined;
745
+ /** Tags of the Serverless Function Namespace. */
746
+ tags?: UpdateNamespaceRequestTagsList | null | undefined;
747
+ }
748
+ export type UpdateTriggerRequestRegion = "fr-par" | "nl-ams" | "pl-waw";
749
+ export interface UpdateTriggerRequest {
750
+ /** The region you want to target */
751
+ region?: UpdateTriggerRequestRegion | (string & {}) | undefined;
752
+ /** ID of the trigger to update. */
753
+ trigger_id: string;
754
+ /** Name of the trigger. */
755
+ name?: string | null | undefined;
756
+ /** Description of the trigger. */
757
+ description?: string | null | undefined;
758
+ }
759
+ export type CreateCronError = ScalewayOpError;
760
+ /** Create a new cron Create a new cronjob for a function with the specified ID. */
761
+ export declare const createCron: API.OperationMethod<CreateCronRequest, Cron, CreateCronError, ScalewayOpContext>;
762
+ export type CreateDomainError = ScalewayOpError;
763
+ /** Create a domain name binding Create a domain name binding for the function with the specified ID. */
764
+ export declare const createDomain: API.OperationMethod<CreateDomainRequest, Domain, CreateDomainError, ScalewayOpContext>;
765
+ export type CreateFunctionError = ScalewayOpError;
766
+ /** Create a new function Create a new function in the specified region for a specified Organization or Project. */
767
+ export declare const createFunction: API.OperationMethod<CreateFunctionRequest, Function, CreateFunctionError, ScalewayOpContext>;
768
+ export type CreateNamespaceError = ScalewayOpError;
769
+ /** Create a new namespace Create a new namespace in a specified Organization or Project. */
770
+ export declare const createNamespace: API.OperationMethod<CreateNamespaceRequest, Namespace, CreateNamespaceError, ScalewayOpContext>;
771
+ export type CreateTriggerError = ScalewayOpError;
772
+ /** Create a trigger Create a new trigger for a specified function. */
773
+ export declare const createTrigger: API.OperationMethod<CreateTriggerRequest, Trigger, CreateTriggerError, ScalewayOpContext>;
774
+ export type DeleteCronError = ScalewayOpError;
775
+ /** Delete an existing cron Delete the cron associated with the specified ID. */
776
+ export declare const deleteCron: API.OperationMethod<DeleteCronRequest, Cron, DeleteCronError, ScalewayOpContext>;
777
+ export type DeleteDomainError = ScalewayOpError;
778
+ /** Delete a domain name binding Delete a domain name binding for the function with the specified ID. */
779
+ export declare const deleteDomain: API.OperationMethod<DeleteDomainRequest, Domain, DeleteDomainError, ScalewayOpContext>;
780
+ export type DeleteFunctionError = ScalewayOpError;
781
+ /** Delete a function Delete the function associated with the specified ID. */
782
+ export declare const deleteFunction: API.OperationMethod<DeleteFunctionRequest, Function, DeleteFunctionError, ScalewayOpContext>;
783
+ export type DeleteNamespaceError = ScalewayOpError;
784
+ /** Delete an existing namespace Delete the namespace associated with the specified ID. */
785
+ export declare const deleteNamespace: API.OperationMethod<DeleteNamespaceRequest, Namespace, DeleteNamespaceError, ScalewayOpContext>;
786
+ export type DeleteTokenError = ScalewayOpError;
787
+ /** Delete a token */
788
+ export declare const deleteToken: API.OperationMethod<DeleteTokenRequest, Token, DeleteTokenError, ScalewayOpContext>;
789
+ export type DeleteTriggerError = ScalewayOpError;
790
+ /** Delete a trigger Delete a trigger with a specified ID. */
791
+ export declare const deleteTrigger: API.OperationMethod<DeleteTriggerRequest, Trigger, DeleteTriggerError, ScalewayOpContext>;
792
+ export type DeployFunctionError = ScalewayOpError;
793
+ /** Deploy a function Deploy a function associated with the specified ID. */
794
+ export declare const deployFunction: API.OperationMethod<DeployFunctionRequest, Function, DeployFunctionError, ScalewayOpContext>;
795
+ export type GetCronError = ScalewayOpError;
796
+ /** Get a cron Get the cron associated with the specified ID. */
797
+ export declare const getCron: API.OperationMethod<GetCronRequest, Cron, GetCronError, ScalewayOpContext>;
798
+ export type GetDomainError = ScalewayOpError;
799
+ /** Get a domain name binding Get a domain name binding for the function with the specified ID. */
800
+ export declare const getDomain: API.OperationMethod<GetDomainRequest, Domain, GetDomainError, ScalewayOpContext>;
801
+ export type GetFunctionError = ScalewayOpError;
802
+ /** Get a function Get the function associated with the specified ID. */
803
+ export declare const getFunction: API.OperationMethod<GetFunctionRequest, Function, GetFunctionError, ScalewayOpContext>;
804
+ export type GetFunctionDownloadURLError = ScalewayOpError;
805
+ /** Get a download URL of a function Get a download URL for a function associated with the specified ID. */
806
+ export declare const getFunctionDownloadURL: API.OperationMethod<GetFunctionDownloadURLRequest, DownloadURL, GetFunctionDownloadURLError, ScalewayOpContext>;
807
+ export type GetFunctionUploadURLError = ScalewayOpError;
808
+ /** Get an upload URL of a function Get an upload URL of a function associated with the specified ID. */
809
+ export declare const getFunctionUploadURL: API.OperationMethod<GetFunctionUploadURLRequest, UploadURL, GetFunctionUploadURLError, ScalewayOpContext>;
810
+ export type GetNamespaceError = ScalewayOpError;
811
+ /** Get a namespace Get the namespace associated with the specified ID. */
812
+ export declare const getNamespace: API.OperationMethod<GetNamespaceRequest, Namespace, GetNamespaceError, ScalewayOpContext>;
813
+ export type GetTokenError = ScalewayOpError;
814
+ /** Get a token */
815
+ export declare const getToken: API.OperationMethod<GetTokenRequest, Token, GetTokenError, ScalewayOpContext>;
816
+ export type GetTriggerError = ScalewayOpError;
817
+ /** Get a trigger Get a trigger with a specified ID. */
818
+ export declare const getTrigger: API.OperationMethod<GetTriggerRequest, Trigger, GetTriggerError, ScalewayOpContext>;
819
+ export type ListCronsError = ScalewayOpError;
820
+ /** List all crons List all the cronjobs in a specified region. */
821
+ export declare const listCrons: API.PaginatedOperationMethod<ListCronsRequest, ListCronsResponse, ListCronsError, ScalewayOpContext, Cron>;
822
+ export type ListDomainsError = ScalewayOpError;
823
+ /** List all domain name bindings List all domain name bindings in a specified region. */
824
+ export declare const listDomains: API.PaginatedOperationMethod<ListDomainsRequest, ListDomainsResponse, ListDomainsError, ScalewayOpContext, Domain>;
825
+ export type ListFunctionRuntimesError = ScalewayOpError;
826
+ /** List function runtimes List available function runtimes. */
827
+ export declare const listFunctionRuntimes: API.OperationMethod<ListFunctionRuntimesRequest, ListFunctionRuntimesResponse, ListFunctionRuntimesError, ScalewayOpContext>;
828
+ export type ListFunctionsError = ScalewayOpError;
829
+ /** List all your functions */
830
+ export declare const listFunctions: API.PaginatedOperationMethod<ListFunctionsRequest, ListFunctionsResponse, ListFunctionsError, ScalewayOpContext, Function>;
831
+ export type ListNamespacesError = ScalewayOpError;
832
+ /** List all your namespaces List all existing namespaces in the specified region. */
833
+ export declare const listNamespaces: API.PaginatedOperationMethod<ListNamespacesRequest, ListNamespacesResponse, ListNamespacesError, ScalewayOpContext, Namespace>;
834
+ export type ListTokensError = ScalewayOpError;
835
+ /** List all tokens */
836
+ export declare const listTokens: API.PaginatedOperationMethod<ListTokensRequest, ListTokensResponse, ListTokensError, ScalewayOpContext, Token>;
837
+ export type ListTriggersError = ScalewayOpError;
838
+ /** List all triggers List all triggers belonging to a specified Organization or Project. */
839
+ export declare const listTriggers: API.PaginatedOperationMethod<ListTriggersRequest, ListTriggersResponse, ListTriggersError, ScalewayOpContext, Trigger>;
840
+ export type UpdateCronError = ScalewayOpError;
841
+ /** Update an existing cron Update the cron associated with the specified ID. */
842
+ export declare const updateCron: API.OperationMethod<UpdateCronRequest, Cron, UpdateCronError, ScalewayOpContext>;
843
+ export type UpdateFunctionError = ScalewayOpError;
844
+ /** Update an existing function Update the function associated with the specified ID. When updating a function, the function is automatically redeployed to apply the changes. This behavior can be changed by setting the `redeploy` field to `false` in the request. */
845
+ export declare const updateFunction: API.OperationMethod<UpdateFunctionRequest, Function, UpdateFunctionError, ScalewayOpContext>;
846
+ export type UpdateNamespaceError = ScalewayOpError;
847
+ /** Update an existing namespace Update the namespace associated with the specified ID. */
848
+ export declare const updateNamespace: API.OperationMethod<UpdateNamespaceRequest, Namespace, UpdateNamespaceError, ScalewayOpContext>;
849
+ export type UpdateTriggerError = ScalewayOpError;
850
+ /** Update a trigger Update a trigger with a specified ID. */
851
+ export declare const updateTrigger: API.OperationMethod<UpdateTriggerRequest, Trigger, UpdateTriggerError, ScalewayOpContext>;
852
+ //# sourceMappingURL=functions_v1beta1.d.ts.map