@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,1506 @@
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 interface AddGroupMemberRequest {
6
+ /** ID of the group. */
7
+ group_id: string;
8
+ /** ID of the user to add. One of user_id, application_id is required. */
9
+ user_id?: string | null | undefined;
10
+ /** ID of the application to add. One of user_id, application_id is required. */
11
+ application_id?: string | null | undefined;
12
+ }
13
+ /** IDs of users attached to this group. */
14
+ export type GroupUserIdsList = Array<string>;
15
+ /** IDs of applications attached to this group. */
16
+ export type GroupApplicationIdsList = Array<string>;
17
+ /** Tags associated to the group. */
18
+ export type GroupTagsList = Array<string>;
19
+ export interface Group {
20
+ /** ID of the group. */
21
+ id?: string | undefined;
22
+ /** Date and time of group creation. (RFC 3339 format) */
23
+ created_at?: string | null | undefined;
24
+ /** Date and time of last group update. (RFC 3339 format) */
25
+ updated_at?: string | null | undefined;
26
+ /** ID of Organization linked to the group. */
27
+ organization_id?: string | undefined;
28
+ /** Name of the group. */
29
+ name?: string | undefined;
30
+ /** Description of the group. */
31
+ description?: string | undefined;
32
+ /** IDs of users attached to this group. */
33
+ user_ids?: GroupUserIdsList | undefined;
34
+ /** IDs of applications attached to this group. */
35
+ application_ids?: GroupApplicationIdsList | undefined;
36
+ /** Tags associated to the group. */
37
+ tags?: GroupTagsList | undefined;
38
+ /** Defines whether or not the group is editable. */
39
+ editable?: boolean | undefined;
40
+ /** Defines whether or not the group is deletable. */
41
+ deletable?: boolean | undefined;
42
+ /** Defines whether or not the group is managed. */
43
+ managed?: boolean | undefined;
44
+ /** Indicates if the group is the special "All Users" group that contains all users of the organization. */
45
+ all_users?: boolean | undefined;
46
+ /** Indicates if the group is the special "All Applications" group that contains all non-managed applications of the organization. */
47
+ all_applications?: boolean | undefined;
48
+ /** The SRN of the group. */
49
+ srn?: string | undefined;
50
+ }
51
+ /** IDs of the users to add. */
52
+ export type AddGroupMembersRequestUserIdsList = Array<string>;
53
+ /** IDs of the applications to add. */
54
+ export type AddGroupMembersRequestApplicationIdsList = Array<string>;
55
+ export interface AddGroupMembersRequest {
56
+ /** ID of the group. */
57
+ group_id: string;
58
+ /** IDs of the users to add. */
59
+ user_ids?: AddGroupMembersRequestUserIdsList | undefined;
60
+ /** IDs of the applications to add. */
61
+ application_ids?: AddGroupMembersRequestApplicationIdsList | undefined;
62
+ }
63
+ export type SamlCertificateType = "unknown_certificate_type" | "signing" | "encryption";
64
+ export interface AddSamlCertificateRequest {
65
+ /** ID of the SAML configuration. */
66
+ saml_id: string;
67
+ /** Type of the SAML certificate. */
68
+ type: SamlCertificateType | (string & {});
69
+ /** Content of the SAML certificate. */
70
+ content: string;
71
+ }
72
+ export type SamlCertificateOrigin = "unknown_certificate_origin" | "scaleway" | "identity_provider";
73
+ export interface SamlCertificate {
74
+ /** ID of the SAML certificate. */
75
+ id?: string | undefined;
76
+ /** Type of the SAML certificate. */
77
+ type?: SamlCertificateType | undefined;
78
+ /** Origin of the SAML certificate. */
79
+ origin?: SamlCertificateOrigin | undefined;
80
+ /** Content of the SAML certificate. */
81
+ content?: string | undefined;
82
+ /** Date and time of the SAML certificate expiration. (RFC 3339 format) */
83
+ expires_at?: string | null | undefined;
84
+ /** The SRN of the SAML certificate. */
85
+ srn?: string | undefined;
86
+ }
87
+ export type CheckPermissionsRequestPermissionsList = Array<unknown>;
88
+ export interface CheckPermissionsRequest {
89
+ permissions?: CheckPermissionsRequestPermissionsList | undefined;
90
+ }
91
+ export type CheckPermissionsResponseResponseDecision = "deny" | "allow";
92
+ export interface CheckPermissionsResponseResponse {
93
+ decision?: CheckPermissionsResponseResponseDecision | undefined;
94
+ }
95
+ export type CheckPermissionsResponseResponsesList = Array<CheckPermissionsResponseResponse>;
96
+ export interface CheckPermissionsResponse {
97
+ responses?: CheckPermissionsResponseResponsesList | undefined;
98
+ }
99
+ export interface ClonePolicyRequest {
100
+ policy_id: string;
101
+ }
102
+ /** Tags associated with the policy. */
103
+ export type PolicyTagsList = Array<string>;
104
+ export interface Policy {
105
+ /** Id of the policy. */
106
+ id?: string | undefined;
107
+ /** Name of the policy. */
108
+ name?: string | undefined;
109
+ /** Description of the policy. */
110
+ description?: string | undefined;
111
+ /** Organization ID of the policy. */
112
+ organization_id?: string | undefined;
113
+ /** Date and time of policy creation. (RFC 3339 format) */
114
+ created_at?: string | null | undefined;
115
+ /** Date and time of last policy update. (RFC 3339 format) */
116
+ updated_at?: string | null | undefined;
117
+ /** Defines whether or not a policy is editable. */
118
+ editable?: boolean | undefined;
119
+ /** Defines whether or not a policy is deletable. */
120
+ deletable?: boolean | undefined;
121
+ /** Defines whether or not a policy is managed. */
122
+ managed?: boolean | undefined;
123
+ /** Number of rules of the policy. */
124
+ nb_rules?: number | undefined;
125
+ /** Number of policy scopes. */
126
+ nb_scopes?: number | undefined;
127
+ /** Number of permission sets of the policy. */
128
+ nb_permission_sets?: number | undefined;
129
+ /** Tags associated with the policy. */
130
+ tags?: PolicyTagsList | undefined;
131
+ /** ID of the user attributed to the policy. Precisely one of user_id, group_id, application_id, no_principal can be set. */
132
+ user_id?: string | null | undefined;
133
+ /** ID of the group attributed to the policy. Precisely one of user_id, group_id, application_id, no_principal can be set. */
134
+ group_id?: string | null | undefined;
135
+ /** ID of the application attributed to the policy. Precisely one of user_id, group_id, application_id, no_principal can be set. */
136
+ application_id?: string | null | undefined;
137
+ /** Defines whether or not a policy is attributed to a principal. Precisely one of user_id, group_id, application_id, no_principal can be set. */
138
+ no_principal?: boolean | null | undefined;
139
+ /** The SRN of the policy. */
140
+ srn?: string | undefined;
141
+ }
142
+ export interface CreateAPIKeyRequest {
143
+ /** ID of the application. One of application_id, user_id is required. */
144
+ application_id?: string | null | undefined;
145
+ /** ID of the user. One of application_id, user_id is required. */
146
+ user_id?: string | null | undefined;
147
+ /** Expiration date of the API key. (RFC 3339 format) */
148
+ expires_at?: string | null | undefined;
149
+ /** Default Project ID to use with Object Storage. */
150
+ default_project_id?: string | null | undefined;
151
+ /** Description of the API key (max length is 200 characters). */
152
+ description?: string | undefined;
153
+ }
154
+ export interface APIKey {
155
+ /** Access key of the API key. */
156
+ access_key?: string | undefined;
157
+ /** Secret key of the API Key. */
158
+ secret_key?: string | Redacted.Redacted<string> | null | undefined;
159
+ /** ID of application that bears the API key. Precisely one of application_id, user_id can be set. */
160
+ application_id?: string | null | undefined;
161
+ /** ID of user that bears the API key. Precisely one of application_id, user_id can be set. */
162
+ user_id?: string | null | undefined;
163
+ /** Description of API key. */
164
+ description?: string | undefined;
165
+ /** Date and time of API key creation. (RFC 3339 format) */
166
+ created_at?: string | null | undefined;
167
+ /** Date and time of last API key update. (RFC 3339 format) */
168
+ updated_at?: string | null | undefined;
169
+ /** Date and time of API key expiration. (RFC 3339 format) */
170
+ expires_at?: string | null | undefined;
171
+ /** Default Project ID specified for this API key. */
172
+ default_project_id?: string | undefined;
173
+ /** Defines whether or not the API key is editable. */
174
+ editable?: boolean | undefined;
175
+ /** Defines whether or not the API key is deletable. */
176
+ deletable?: boolean | undefined;
177
+ /** Defines whether or not the API key is managed. */
178
+ managed?: boolean | undefined;
179
+ /** IP address of the device that created the API key. */
180
+ creation_ip?: string | undefined;
181
+ /** The SRN of the API key. */
182
+ srn?: string | undefined;
183
+ }
184
+ /** Tags associated with the application (maximum of 10 tags). */
185
+ export type CreateApplicationRequestTagsList = Array<string>;
186
+ export interface CreateApplicationRequest {
187
+ /** Name of the application to create (max length is 64 characters). */
188
+ name: string;
189
+ /** ID of the Organization. */
190
+ organization_id?: string | undefined;
191
+ /** Description of the application (max length is 200 characters). */
192
+ description?: string | undefined;
193
+ /** Tags associated with the application (maximum of 10 tags). */
194
+ tags?: CreateApplicationRequestTagsList | undefined;
195
+ }
196
+ /** Tags associated with the user. */
197
+ export type ApplicationTagsList = Array<string>;
198
+ export interface Application {
199
+ /** ID of the application. */
200
+ id?: string | undefined;
201
+ /** Name of the application. */
202
+ name?: string | undefined;
203
+ /** Description of the application. */
204
+ description?: string | undefined;
205
+ /** Date and time application was created. (RFC 3339 format) */
206
+ created_at?: string | null | undefined;
207
+ /** Date and time of last application update. (RFC 3339 format) */
208
+ updated_at?: string | null | undefined;
209
+ /** ID of the Organization. */
210
+ organization_id?: string | undefined;
211
+ /** Defines whether or not the application is editable. */
212
+ editable?: boolean | undefined;
213
+ /** Defines whether or not the application is deletable. */
214
+ deletable?: boolean | undefined;
215
+ /** Defines whether or not the application is managed. */
216
+ managed?: boolean | undefined;
217
+ /** Number of API keys attributed to the application. */
218
+ nb_api_keys?: number | undefined;
219
+ /** Tags associated with the user. */
220
+ tags?: ApplicationTagsList | undefined;
221
+ /** SRN of the application. */
222
+ srn?: string | undefined;
223
+ }
224
+ /** Tags associated with the group (maximum of 10 tags). */
225
+ export type CreateGroupRequestTagsList = Array<string>;
226
+ export interface CreateGroupRequest {
227
+ /** ID of Organization linked to the group. */
228
+ organization_id: string;
229
+ /** Name of the group to create (max length is 64 chars). MUST be unique inside an Organization. */
230
+ name: string;
231
+ /** Description of the group to create (max length is 200 chars). */
232
+ description?: string | undefined;
233
+ /** Tags associated with the group (maximum of 10 tags). */
234
+ tags?: CreateGroupRequestTagsList | undefined;
235
+ }
236
+ /** Rules of the policy to create. */
237
+ export type CreatePolicyRequestRulesList = Array<unknown>;
238
+ /** Tags associated with the policy (maximum of 10 tags). */
239
+ export type CreatePolicyRequestTagsList = Array<string>;
240
+ export interface CreatePolicyRequest {
241
+ /** Name of the policy to create (max length is 64 characters). */
242
+ name: string;
243
+ /** Description of the policy to create (max length is 200 characters). */
244
+ description?: string | undefined;
245
+ /** ID of the Organization. */
246
+ organization_id?: string | undefined;
247
+ /** Rules of the policy to create. */
248
+ rules?: CreatePolicyRequestRulesList | undefined;
249
+ /** Tags associated with the policy (maximum of 10 tags). */
250
+ tags?: CreatePolicyRequestTagsList | undefined;
251
+ /** ID of user attributed to the policy. One of user_id, group_id, application_id, no_principal is required. */
252
+ user_id?: string | null | undefined;
253
+ /** ID of group attributed to the policy. One of user_id, group_id, application_id, no_principal is required. */
254
+ group_id?: string | null | undefined;
255
+ /** ID of application attributed to the policy. One of user_id, group_id, application_id, no_principal is required. */
256
+ application_id?: string | null | undefined;
257
+ /** Defines whether or not a policy is attributed to a principal. One of user_id, group_id, application_id, no_principal is required. */
258
+ no_principal?: boolean | null | undefined;
259
+ }
260
+ export interface CreateScimTokenRequest {
261
+ /** ID of the SCIM configuration. */
262
+ scim_id: string;
263
+ }
264
+ export interface ScimToken {
265
+ /** (UUID format) */
266
+ id?: string | undefined;
267
+ /** (UUID format) */
268
+ scim_id?: string | undefined;
269
+ /** (RFC 3339 format) */
270
+ created_at?: string | null | undefined;
271
+ /** (RFC 3339 format) */
272
+ expires_at?: string | null | undefined;
273
+ }
274
+ export interface CreateScimTokenResponse {
275
+ /** The SCIM token metadata. */
276
+ token?: ScimToken | undefined;
277
+ /** The Bearer Token to use to authenticate to SCIM endpoints. */
278
+ bearer_token?: string | Redacted.Redacted<string> | undefined;
279
+ }
280
+ export interface CreateSSHKeyRequest {
281
+ /** Name of the SSH key. Max length is 1000. */
282
+ name: string;
283
+ /** SSH public key. Currently only the ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST curves are supported. Max length is 65000. */
284
+ public_key: string;
285
+ /** Project the resource is attributed to. */
286
+ project_id: string;
287
+ }
288
+ export interface SSHKey {
289
+ /** ID of SSH key. */
290
+ id?: string | undefined;
291
+ /** Name of SSH key. */
292
+ name?: string | undefined;
293
+ /** Public key of SSH key. */
294
+ public_key?: string | undefined;
295
+ /** Fingerprint of the SSH key. */
296
+ fingerprint?: string | undefined;
297
+ /** Creation date of SSH key. (RFC 3339 format) */
298
+ created_at?: string | null | undefined;
299
+ /** Last update date of SSH key. (RFC 3339 format) */
300
+ updated_at?: string | null | undefined;
301
+ /** ID of Organization linked to the SSH key. */
302
+ organization_id?: string | undefined;
303
+ /** ID of Project linked to the SSH key. */
304
+ project_id?: string | undefined;
305
+ /** SSH key status. */
306
+ disabled?: boolean | undefined;
307
+ /** The SRN of the SSH key. */
308
+ srn?: string | undefined;
309
+ }
310
+ /** Tags associated with the user. */
311
+ export type CreateUserRequestTagsList = Array<string>;
312
+ export interface CreateUserRequestMember {
313
+ /** Email of the user to create. */
314
+ email?: string | undefined;
315
+ /** Whether or not to send an email containing the member's password. */
316
+ send_password_email?: boolean | undefined;
317
+ /** Whether or not to send a welcome email that includes onboarding information. */
318
+ send_welcome_email?: boolean | undefined;
319
+ /** The member's username. */
320
+ username?: string | undefined;
321
+ /** The member's password. */
322
+ password?: string | Redacted.Redacted<string> | undefined;
323
+ /** The member's first name. */
324
+ first_name?: string | undefined;
325
+ /** The member's last name. */
326
+ last_name?: string | undefined;
327
+ /** The member's phone number. */
328
+ phone_number?: string | undefined;
329
+ /** The member's locale. */
330
+ locale?: string | undefined;
331
+ }
332
+ export interface CreateUserRequest {
333
+ /** ID of the Organization. */
334
+ organization_id: string;
335
+ /** Email of the user. One of email, member is required. */
336
+ email?: string | null | undefined;
337
+ /** Tags associated with the user. */
338
+ tags?: CreateUserRequestTagsList | undefined;
339
+ /** Details of IAM member. One of email, member is required. */
340
+ member?: CreateUserRequestMember | null | undefined;
341
+ }
342
+ export type UserType = "unknown_type" | "owner" | "member";
343
+ export type UserStatus = "unknown_status" | "invitation_pending" | "activated";
344
+ /** Tags associated with the user. */
345
+ export type UserTagsList = Array<string>;
346
+ export interface User {
347
+ /** ID of user. */
348
+ id?: string | undefined;
349
+ /** Email of user. */
350
+ email?: string | undefined;
351
+ /** User identifier unique to the Organization. */
352
+ username?: string | undefined;
353
+ /** First name of the user. */
354
+ first_name?: string | undefined;
355
+ /** Last name of the user. */
356
+ last_name?: string | undefined;
357
+ /** Phone number of the user. */
358
+ phone_number?: string | undefined;
359
+ /** Locale of the user. */
360
+ locale?: string | undefined;
361
+ /** Date user was created. (RFC 3339 format) */
362
+ created_at?: string | null | undefined;
363
+ /** Date of last user update. (RFC 3339 format) */
364
+ updated_at?: string | null | undefined;
365
+ /** ID of the Organization. */
366
+ organization_id?: string | undefined;
367
+ /** Deletion status of user. Owners cannot be deleted. */
368
+ deletable?: boolean | undefined;
369
+ /** Date of the last login. (RFC 3339 format) */
370
+ last_login_at?: string | null | undefined;
371
+ /** Type of user. */
372
+ type?: UserType | undefined;
373
+ /** Deprecated, use "mfa" instead. */
374
+ two_factor_enabled?: boolean | undefined;
375
+ /** Status of user invitation. */
376
+ status?: UserStatus | undefined;
377
+ /** Defines whether MFA is enabled. */
378
+ mfa?: boolean | undefined;
379
+ /** ID of the account root user associated with the user. */
380
+ account_root_user_id?: string | undefined;
381
+ /** Tags associated with the user. */
382
+ tags?: UserTagsList | undefined;
383
+ /** Defines whether the user is locked. */
384
+ locked?: boolean | undefined;
385
+ /** The SRN of the user. */
386
+ srn?: string | undefined;
387
+ }
388
+ export interface CreateUserMFAOTPRequest {
389
+ /** User ID of the MFA OTP. */
390
+ user_id: string;
391
+ }
392
+ export interface MFAOTP {
393
+ secret?: string | Redacted.Redacted<string> | undefined;
394
+ }
395
+ export interface DeleteAPIKeyRequest {
396
+ /** Access key to delete. */
397
+ access_key: string;
398
+ }
399
+ export interface DeleteAPIKeyResponse {
400
+ }
401
+ export interface DeleteApplicationRequest {
402
+ /** ID of the application to delete. */
403
+ application_id: string;
404
+ }
405
+ export interface DeleteApplicationResponse {
406
+ }
407
+ export interface DeleteGroupRequest {
408
+ /** ID of the group to delete. */
409
+ group_id: string;
410
+ }
411
+ export interface DeleteGroupResponse {
412
+ }
413
+ export interface DeleteJWTRequest {
414
+ /** JWT ID of the JWT to delete. */
415
+ jti: string;
416
+ }
417
+ export interface DeleteJWTResponse {
418
+ }
419
+ export interface DeletePolicyRequest {
420
+ /** Id of policy to delete. */
421
+ policy_id: string;
422
+ }
423
+ export interface DeletePolicyResponse {
424
+ }
425
+ export interface DeleteSamlRequest {
426
+ /** ID of the SAML configuration. */
427
+ saml_id: string;
428
+ }
429
+ export interface DeleteSamlResponse {
430
+ }
431
+ export interface DeleteSamlCertificateRequest {
432
+ /** ID of the certificate to delete. */
433
+ certificate_id: string;
434
+ }
435
+ export interface DeleteSamlCertificateResponse {
436
+ }
437
+ export interface DeleteScimRequest {
438
+ /** ID of the SCIM configuration. */
439
+ scim_id: string;
440
+ }
441
+ export interface DeleteScimResponse {
442
+ }
443
+ export interface DeleteScimTokenRequest {
444
+ /** The SCIM token ID. */
445
+ token_id: string;
446
+ }
447
+ export interface DeleteScimTokenResponse {
448
+ }
449
+ export interface DeleteSSHKeyRequest {
450
+ ssh_key_id: string;
451
+ }
452
+ export interface DeleteSSHKeyResponse {
453
+ }
454
+ export interface DeleteUserRequest {
455
+ /** ID of the user to delete. */
456
+ user_id: string;
457
+ }
458
+ export interface DeleteUserResponse {
459
+ }
460
+ export interface DeleteUserMFAOTPRequest {
461
+ /** User ID of the MFA OTP. */
462
+ user_id: string;
463
+ }
464
+ export interface DeleteUserMFAOTPResponse {
465
+ }
466
+ export interface EnableOrganizationSamlRequest {
467
+ /** ID of the Organization. */
468
+ organization_id: string;
469
+ }
470
+ export type SamlStatus = "unknown_saml_status" | "valid" | "missing_certificate" | "missing_entity_id" | "missing_single_sign_on_url";
471
+ export interface SamlServiceProvider {
472
+ entity_id?: string | undefined;
473
+ assertion_consumer_service_url?: string | undefined;
474
+ }
475
+ export interface Saml {
476
+ /** ID of the SAML configuration. */
477
+ id?: string | undefined;
478
+ /** Status of the SAML configuration. */
479
+ status?: SamlStatus | undefined;
480
+ /** Service Provider information. */
481
+ service_provider?: SamlServiceProvider | undefined;
482
+ /** Entity ID of the SAML Identity Provider. */
483
+ entity_id?: string | undefined;
484
+ /** Single Sign-On URL of the SAML Identity Provider. */
485
+ single_sign_on_url?: string | undefined;
486
+ /** The SRN of the SAML. */
487
+ srn?: string | undefined;
488
+ }
489
+ export interface EnableOrganizationScimRequest {
490
+ /** ID of the Organization. */
491
+ organization_id: string;
492
+ }
493
+ export interface Scim {
494
+ /** ID of the SCIM configuration. */
495
+ id?: string | undefined;
496
+ /** Date and time of SCIM configuration creation. (RFC 3339 format) */
497
+ created_at?: string | null | undefined;
498
+ }
499
+ export interface GetAPIKeyRequest {
500
+ /** Access key to search for. */
501
+ access_key: string;
502
+ }
503
+ export interface GetApplicationRequest {
504
+ /** ID of the application to find. */
505
+ application_id: string;
506
+ }
507
+ export interface GetGroupRequest {
508
+ /** ID of the group. */
509
+ group_id: string;
510
+ }
511
+ export interface GetJWTRequest {
512
+ /** JWT ID of the JWT to get. */
513
+ jti: string;
514
+ }
515
+ export interface JWT {
516
+ /** JWT ID. */
517
+ jti?: string | undefined;
518
+ /** ID of the user who issued the JWT. */
519
+ issuer_id?: string | undefined;
520
+ /** ID of the user targeted by the JWT. */
521
+ audience_id?: string | undefined;
522
+ /** Creation date of the JWT. (RFC 3339 format) */
523
+ created_at?: string | null | undefined;
524
+ /** Last update date of the JWT. (RFC 3339 format) */
525
+ updated_at?: string | null | undefined;
526
+ /** Expiration date of the JWT. (RFC 3339 format) */
527
+ expires_at?: string | null | undefined;
528
+ /** IP address used during the creation of the JWT. (IP address) */
529
+ ip?: string | undefined;
530
+ /** User-agent used during the creation of the JWT. */
531
+ user_agent?: string | undefined;
532
+ /** The SRN of the JWT. */
533
+ srn?: string | undefined;
534
+ }
535
+ export interface GetLogRequest {
536
+ /** ID of the log. */
537
+ log_id: string;
538
+ }
539
+ export type LogAction = "unknown_action" | "created" | "updated" | "deleted";
540
+ export type LogResourceType = "unknown_resource_type" | "api_key" | "user" | "application" | "group" | "policy";
541
+ export interface Log {
542
+ /** Log ID. (UUID format) */
543
+ id?: string | undefined;
544
+ /** Creation date of the log. (RFC 3339 format) */
545
+ created_at?: string | null | undefined;
546
+ /** IP address of the HTTP request linked to the log. (IP address) */
547
+ ip?: string | undefined;
548
+ /** User-Agent of the HTTP request linked to the log. */
549
+ user_agent?: string | undefined;
550
+ /** Action linked to the log. */
551
+ action?: LogAction | undefined;
552
+ /** ID of the principal at the origin of the log. (UUID format) */
553
+ bearer_id?: string | undefined;
554
+ /** ID of Organization linked to the log. (UUID format) */
555
+ organization_id?: string | undefined;
556
+ /** Type of the resource linked to the log. */
557
+ resource_type?: LogResourceType | undefined;
558
+ /** ID of the resource linked to the log. */
559
+ resource_id?: string | undefined;
560
+ /** The SRN of the log. */
561
+ srn?: string | undefined;
562
+ }
563
+ export interface GetOrganizationRequest {
564
+ /** ID of the Organization. */
565
+ organization_id: string;
566
+ }
567
+ export interface Organization {
568
+ /** ID of the Organization. */
569
+ id?: string | undefined;
570
+ /** Name of the Organization. */
571
+ name?: string | undefined;
572
+ /** Alias of the Organization. */
573
+ alias?: string | undefined;
574
+ /** Defines whether login with a password is enabled for the Organization. */
575
+ login_password_enabled?: boolean | undefined;
576
+ /** Defines whether login with an authentication code is enabled for the Organization. */
577
+ login_magic_code_enabled?: boolean | undefined;
578
+ /** Defines whether login through OAuth2 is enabled for the Organization. */
579
+ login_oauth2_enabled?: boolean | undefined;
580
+ /** Defines whether login through SAML is enabled for the Organization. */
581
+ login_saml_enabled?: boolean | undefined;
582
+ }
583
+ export interface GetOrganizationSamlRequest {
584
+ /** ID of the Organization. */
585
+ organization_id: string;
586
+ }
587
+ export interface GetOrganizationScimRequest {
588
+ organization_id: string;
589
+ }
590
+ export interface GetOrganizationSecuritySettingsRequest {
591
+ /** ID of the Organization. */
592
+ organization_id: string;
593
+ }
594
+ export interface OrganizationSecuritySettings {
595
+ /** Defines whether password renewal is enforced during first login. */
596
+ enforce_password_renewal?: boolean | undefined;
597
+ /** Duration of the grace period to renew password or enable MFA. (in seconds) */
598
+ grace_period_duration?: string | null | undefined;
599
+ /** Number of login attempts before the account is locked. */
600
+ login_attempts_before_locked?: number | undefined;
601
+ /** Maximum duration a login session will stay active before needing to relogin. (in seconds) */
602
+ max_login_session_duration?: string | null | undefined;
603
+ /** Maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds) */
604
+ max_api_key_expiration_duration?: string | null | undefined;
605
+ }
606
+ export interface GetPolicyRequest {
607
+ /** Id of policy to search. */
608
+ policy_id: string;
609
+ }
610
+ export interface GetQuotumRequest {
611
+ /** Name of the quota to get. */
612
+ quotum_name: string;
613
+ /** ID of the Organization. */
614
+ organization_id: string;
615
+ }
616
+ export type LocalityType = "global" | "region" | "zone";
617
+ export interface QuotumLimit {
618
+ /** Whether or not the limit is applied globally. Precisely one of global, region, zone can be set. */
619
+ global?: boolean | null | undefined;
620
+ /** The region on which the limit is applied. Precisely one of global, region, zone can be set. */
621
+ region?: string | null | undefined;
622
+ /** The zone on which the limit is applied. Precisely one of global, region, zone can be set. */
623
+ zone?: string | null | undefined;
624
+ /** Maximum locality limit. Precisely one of limit, unlimited can be set. */
625
+ limit?: number | null | undefined;
626
+ /** Whether or not the quota per locality is unlimited. Precisely one of limit, unlimited can be set. */
627
+ unlimited?: boolean | null | undefined;
628
+ }
629
+ /** Limits per locality. */
630
+ export type QuotumLimitsList = Array<QuotumLimit>;
631
+ export interface Quotum {
632
+ /** Name of the quota. */
633
+ name?: string | undefined;
634
+ /** Maximum limit of the quota. Precisely one of limit, unlimited can be set. */
635
+ limit?: number | null | undefined;
636
+ /** Defines whether or not the quota is unlimited. Precisely one of limit, unlimited can be set. */
637
+ unlimited?: boolean | null | undefined;
638
+ /** A human-readable name for the quota. */
639
+ pretty_name?: string | undefined;
640
+ /** The unit in which the quota is expressed. */
641
+ unit?: string | undefined;
642
+ /** Details about the quota. */
643
+ description?: string | undefined;
644
+ /** Whether this quotum is applied on at the zone level, region level, or globally. */
645
+ locality_type?: LocalityType | undefined;
646
+ /** Limits per locality. */
647
+ limits?: QuotumLimitsList | undefined;
648
+ /** The SRN of the quotum. */
649
+ srn?: string | undefined;
650
+ }
651
+ export interface GetSamlCertificateRequest {
652
+ /** ID of the certificate to get. */
653
+ certificate_id: string;
654
+ }
655
+ export interface GetScimTokenRequest {
656
+ scim_token_id: string;
657
+ }
658
+ export interface GetSSHKeyRequest {
659
+ /** ID of the SSH key. */
660
+ ssh_key_id: string;
661
+ }
662
+ export interface GetUserRequest {
663
+ /** ID of the user to find. */
664
+ user_id: string;
665
+ }
666
+ export interface GetUserConnectionsRequest {
667
+ /** ID of the user to list connections for. */
668
+ user_id: string;
669
+ }
670
+ export interface ConnectionConnectedOrganization {
671
+ id?: string | undefined;
672
+ name?: string | undefined;
673
+ locked?: boolean | undefined;
674
+ }
675
+ export interface ConnectionConnectedUser {
676
+ id?: string | undefined;
677
+ username?: string | undefined;
678
+ type?: UserType | undefined;
679
+ }
680
+ export interface Connection {
681
+ /** Information about the connected organization. */
682
+ organization?: ConnectionConnectedOrganization | undefined;
683
+ /** Information about the connected user. */
684
+ user?: ConnectionConnectedUser | undefined;
685
+ }
686
+ /** List of connections. */
687
+ export type GetUserConnectionsResponseConnectionsList = Array<Connection>;
688
+ export interface GetUserConnectionsResponse {
689
+ /** List of connections. */
690
+ connections?: GetUserConnectionsResponseConnectionsList | undefined;
691
+ }
692
+ export interface InitiateUserConnectionRequest {
693
+ /** ID of the user that will be added to your connection. */
694
+ user_id: string;
695
+ }
696
+ export interface InitiateUserConnectionResponse {
697
+ /** Token to be used in JoinUserConnection. */
698
+ token?: string | Redacted.Redacted<string> | undefined;
699
+ }
700
+ export interface JoinUserConnectionRequest {
701
+ /** User ID. */
702
+ user_id: string;
703
+ /** A token returned by InitiateUserConnection. */
704
+ token?: string | Redacted.Redacted<string> | undefined;
705
+ }
706
+ export interface JoinUserConnectionResponse {
707
+ }
708
+ export type ListAPIKeysRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "expires_at_asc" | "expires_at_desc" | "access_key_asc" | "access_key_desc";
709
+ export type BearerType = "unknown_bearer_type" | "user" | "application";
710
+ export type ListAPIKeysRequestAccessKeysList = Array<string>;
711
+ export interface ListAPIKeysRequest {
712
+ /** Criteria for sorting results. */
713
+ order_by?: ListAPIKeysRequestOrderBy | (string & {}) | undefined;
714
+ /** Page number. Value must be greater or equal to 1. */
715
+ page?: number | undefined;
716
+ /** Number of results per page. Value must be between 1 and 100. */
717
+ page_size?: number | undefined;
718
+ /** ID of Organization. */
719
+ organization_id?: string | undefined;
720
+ /** Defines whether to filter out editable API keys or not. */
721
+ editable?: boolean | undefined;
722
+ /** Defines whether to filter out expired API keys or not. */
723
+ expired?: boolean | undefined;
724
+ /** Filter by access key (deprecated in favor of `access_keys`). */
725
+ access_key?: string | undefined;
726
+ /** Filter by description. */
727
+ description?: string | undefined;
728
+ /** Filter by bearer ID. */
729
+ bearer_id?: string | undefined;
730
+ /** Filter by type of bearer. */
731
+ bearer_type?: BearerType | (string & {}) | undefined;
732
+ /** Filter by a list of access keys. */
733
+ access_keys?: ListAPIKeysRequestAccessKeysList | undefined;
734
+ /** ID of the application bearer. One-of `bearer`: at most one of `application_id`, `user_id`. */
735
+ application_id?: string | undefined;
736
+ /** ID of the user bearer. One-of `bearer`: at most one of `application_id`, `user_id`. */
737
+ user_id?: string | undefined;
738
+ }
739
+ /** List of API keys. */
740
+ export type ListAPIKeysResponseApiKeysList = Array<APIKey>;
741
+ export interface ListAPIKeysResponse {
742
+ /** List of API keys. */
743
+ api_keys: ListAPIKeysResponseApiKeysList;
744
+ /** Total count of API Keys. */
745
+ total_count?: number | undefined;
746
+ }
747
+ export type ListApplicationsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
748
+ export type ListApplicationsRequestApplicationIdsList = Array<string>;
749
+ export interface ListApplicationsRequest {
750
+ /** Criteria for sorting results. */
751
+ order_by?: ListApplicationsRequestOrderBy | (string & {}) | undefined;
752
+ /** Number of results per page. Value must be between 1 and 100. */
753
+ page_size?: number | undefined;
754
+ /** Page number. Value must be greater than 1. */
755
+ page?: number | undefined;
756
+ /** Name of the application to filter. */
757
+ name?: string | undefined;
758
+ /** ID of the Organization to filter. */
759
+ organization_id?: string | undefined;
760
+ /** Defines whether to filter out editable applications or not. */
761
+ editable?: boolean | undefined;
762
+ /** Filter by list of IDs. */
763
+ application_ids?: ListApplicationsRequestApplicationIdsList | undefined;
764
+ /** Filter by tags containing a given string. */
765
+ tag?: string | undefined;
766
+ }
767
+ /** List of applications. */
768
+ export type ListApplicationsResponseApplicationsList = Array<Application>;
769
+ export interface ListApplicationsResponse {
770
+ /** List of applications. */
771
+ applications: ListApplicationsResponseApplicationsList;
772
+ /** Total count of applications. */
773
+ total_count?: number | undefined;
774
+ }
775
+ export interface ListGracePeriodsRequest {
776
+ /** ID of the user to list grace periods for. */
777
+ user_id?: string | undefined;
778
+ }
779
+ export type GracePeriodType = "unknown_grace_period_type" | "update_password" | "set_mfa";
780
+ export interface GracePeriod {
781
+ /** Type of grace period. */
782
+ type?: GracePeriodType | undefined;
783
+ /** Date and time the grace period was created. (RFC 3339 format) */
784
+ created_at?: string | null | undefined;
785
+ /** Date and time the grace period expires. (RFC 3339 format) */
786
+ expires_at?: string | null | undefined;
787
+ }
788
+ /** List of grace periods. */
789
+ export type ListGracePeriodsResponseGracePeriodsList = Array<GracePeriod>;
790
+ export interface ListGracePeriodsResponse {
791
+ /** List of grace periods. */
792
+ grace_periods?: ListGracePeriodsResponseGracePeriodsList | undefined;
793
+ }
794
+ export type ListGroupsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
795
+ export type ListGroupsRequestApplicationIdsList = Array<string>;
796
+ export type ListGroupsRequestUserIdsList = Array<string>;
797
+ export type ListGroupsRequestGroupIdsList = Array<string>;
798
+ export interface ListGroupsRequest {
799
+ /** Sort order of groups. */
800
+ order_by?: ListGroupsRequestOrderBy | (string & {}) | undefined;
801
+ /** Requested page number. Value must be greater or equal to 1. */
802
+ page?: number | undefined;
803
+ /** Number of items per page. Value must be between 1 and 100. */
804
+ page_size?: number | undefined;
805
+ /** Filter by Organization ID. */
806
+ organization_id?: string | undefined;
807
+ /** Name of group to find. */
808
+ name?: string | undefined;
809
+ /** Filter by a list of application IDs. */
810
+ application_ids?: ListGroupsRequestApplicationIdsList | undefined;
811
+ /** Filter by a list of user IDs. */
812
+ user_ids?: ListGroupsRequestUserIdsList | undefined;
813
+ /** Filter by a list of group IDs. */
814
+ group_ids?: ListGroupsRequestGroupIdsList | undefined;
815
+ /** Filter by tags containing a given string. */
816
+ tag?: string | undefined;
817
+ }
818
+ /** List of groups. */
819
+ export type ListGroupsResponseGroupsList = Array<Group>;
820
+ export interface ListGroupsResponse {
821
+ /** List of groups. */
822
+ groups: ListGroupsResponseGroupsList;
823
+ /** Total count of groups. */
824
+ total_count?: number | undefined;
825
+ }
826
+ export type ListJWTsRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc";
827
+ export interface ListJWTsRequest {
828
+ /** Criteria for sorting results. */
829
+ order_by?: ListJWTsRequestOrderBy | (string & {}) | undefined;
830
+ /** ID of the user to search. */
831
+ audience_id?: string | undefined;
832
+ /** Number of results per page. Value must be between 1 and 100. */
833
+ page_size?: number | undefined;
834
+ /** Page number. Value must be greater to 1. */
835
+ page?: number | undefined;
836
+ /** Filter out expired JWTs or not. */
837
+ expired?: boolean | undefined;
838
+ }
839
+ export type ListJWTsResponseJwtsList = Array<JWT>;
840
+ export interface ListJWTsResponse {
841
+ jwts: ListJWTsResponseJwtsList;
842
+ total_count?: number | undefined;
843
+ }
844
+ export type ListLogsRequestOrderBy = "created_at_asc" | "created_at_desc";
845
+ export interface ListLogsRequest {
846
+ /** Criteria for sorting results. */
847
+ order_by?: ListLogsRequestOrderBy | (string & {}) | undefined;
848
+ /** Filter by Organization ID. */
849
+ organization_id?: string | undefined;
850
+ /** Number of results per page. Value must be between 1 and 100. */
851
+ page_size?: number | undefined;
852
+ /** Page number. Value must be greater to 1. */
853
+ page?: number | undefined;
854
+ /** Defined whether or not to filter out logs created after this timestamp. (RFC 3339 format) */
855
+ created_after?: string | undefined;
856
+ /** Defined whether or not to filter out logs created before this timestamp. (RFC 3339 format) */
857
+ created_before?: string | undefined;
858
+ /** Defined whether or not to filter out by a specific action. */
859
+ action?: LogAction | (string & {}) | undefined;
860
+ /** Defined whether or not to filter out by a specific type of resource. */
861
+ resource_type?: LogResourceType | (string & {}) | undefined;
862
+ /** Defined whether or not to filter out log by bearer ID or resource ID. */
863
+ search?: string | undefined;
864
+ }
865
+ /** List of logs. */
866
+ export type ListLogsResponseLogsList = Array<Log>;
867
+ export interface ListLogsResponse {
868
+ /** List of logs. */
869
+ logs: ListLogsResponseLogsList;
870
+ /** Total count of logs. */
871
+ total_count?: number | undefined;
872
+ }
873
+ export type ListPermissionSetsRequestOrderBy = "name_asc" | "name_desc" | "created_at_asc" | "created_at_desc";
874
+ export interface ListPermissionSetsRequest {
875
+ /** Criteria for sorting results. */
876
+ order_by?: ListPermissionSetsRequestOrderBy | (string & {}) | undefined;
877
+ /** Number of results per page. Value must be between 1 and 100. */
878
+ page_size?: number | undefined;
879
+ /** Page number. Value must be greater than 1. */
880
+ page?: number | undefined;
881
+ /** Filter by Organization ID. */
882
+ organization_id: string;
883
+ }
884
+ export type PermissionSetScopeType = "unknown_scope_type" | "projects" | "organization" | "account_root_user";
885
+ /** Categories of the permission set. */
886
+ export type PermissionSetCategoriesList = Array<unknown>;
887
+ export interface PermissionSet {
888
+ /** Id of the permission set. */
889
+ id?: string | undefined;
890
+ /** Name of the permission set. */
891
+ name?: string | undefined;
892
+ /** Scope of the permission set. */
893
+ scope_type?: PermissionSetScopeType | undefined;
894
+ /** Description of the permission set. */
895
+ description?: string | undefined;
896
+ /** Categories of the permission set. */
897
+ categories?: PermissionSetCategoriesList | null | undefined;
898
+ }
899
+ /** List of permission sets. */
900
+ export type ListPermissionSetsResponsePermissionSetsList = Array<PermissionSet>;
901
+ export interface ListPermissionSetsResponse {
902
+ /** List of permission sets. */
903
+ permission_sets: ListPermissionSetsResponsePermissionSetsList;
904
+ /** Total count of permission sets. */
905
+ total_count?: number | undefined;
906
+ }
907
+ export type ListPoliciesRequestOrderBy = "policy_name_asc" | "policy_name_desc" | "created_at_asc" | "created_at_desc";
908
+ export type ListPoliciesRequestUserIdsList = Array<string>;
909
+ export type ListPoliciesRequestGroupIdsList = Array<string>;
910
+ export type ListPoliciesRequestApplicationIdsList = Array<string>;
911
+ export type ListPoliciesRequestPolicyIdsList = Array<string>;
912
+ export interface ListPoliciesRequest {
913
+ /** Criteria for sorting results. */
914
+ order_by?: ListPoliciesRequestOrderBy | (string & {}) | undefined;
915
+ /** Number of results per page. Value must be between 1 and 100. */
916
+ page_size?: number | undefined;
917
+ /** Page number. Value must be greater than 1. */
918
+ page?: number | undefined;
919
+ /** ID of the Organization to filter. */
920
+ organization_id?: string | undefined;
921
+ /** Defines whether or not filter out editable policies. */
922
+ editable?: boolean | undefined;
923
+ /** Defines whether or not to filter by list of user IDs. */
924
+ user_ids?: ListPoliciesRequestUserIdsList | undefined;
925
+ /** Defines whether or not to filter by list of group IDs. */
926
+ group_ids?: ListPoliciesRequestGroupIdsList | undefined;
927
+ /** Filter by a list of application IDs. */
928
+ application_ids?: ListPoliciesRequestApplicationIdsList | undefined;
929
+ /** Defines whether or not the policy is attributed to a principal. */
930
+ no_principal?: boolean | undefined;
931
+ /** Name of the policy to fetch. */
932
+ policy_name?: string | undefined;
933
+ /** Filter by tags containing a given string. */
934
+ tag?: string | undefined;
935
+ /** Filter by a list of IDs. */
936
+ policy_ids?: ListPoliciesRequestPolicyIdsList | undefined;
937
+ }
938
+ /** List of policies. */
939
+ export type ListPoliciesResponsePoliciesList = Array<Policy>;
940
+ export interface ListPoliciesResponse {
941
+ /** List of policies. */
942
+ policies: ListPoliciesResponsePoliciesList;
943
+ /** Total count of policies. */
944
+ total_count?: number | undefined;
945
+ }
946
+ export type ListQuotaRequestOrderBy = "name_asc" | "name_desc";
947
+ export type ListQuotaRequestQuotumNamesList = Array<string>;
948
+ export interface ListQuotaRequest {
949
+ /** Criteria for sorting results. */
950
+ order_by?: ListQuotaRequestOrderBy | (string & {}) | undefined;
951
+ /** Number of results per page. Value must be between 1 and 100. */
952
+ page_size?: number | undefined;
953
+ /** Page number. Value must be greater than 1. */
954
+ page?: number | undefined;
955
+ /** Filter by Organization ID. */
956
+ organization_id: string;
957
+ /** List of quotum names to filter from. */
958
+ quotum_names?: ListQuotaRequestQuotumNamesList | undefined;
959
+ }
960
+ /** List of quota. */
961
+ export type ListQuotaResponseQuotaList = Array<Quotum>;
962
+ export interface ListQuotaResponse {
963
+ /** List of quota. */
964
+ quota: ListQuotaResponseQuotaList;
965
+ /** Total count of quota. */
966
+ total_count?: number | undefined;
967
+ }
968
+ export interface ListRulesRequest {
969
+ /** Id of policy to search. */
970
+ policy_id?: string | undefined;
971
+ /** Number of results per page. Value must be between 1 and 100. */
972
+ page_size?: number | undefined;
973
+ /** Page number. Value must be greater than 1. */
974
+ page?: number | undefined;
975
+ }
976
+ /** Names of permission sets bound to the rule. */
977
+ export type RulePermissionSetNamesList = Array<unknown>;
978
+ /** List of Project IDs the rule is scoped to. Precisely one of project_ids, organization_id, account_root_user_id can be set. */
979
+ export type RuleProjectIdsList = Array<unknown>;
980
+ export interface Rule {
981
+ /** Id of rule. */
982
+ id?: string | undefined;
983
+ /** The SRN of the rule. */
984
+ srn?: string | undefined;
985
+ /** Names of permission sets bound to the rule. */
986
+ permission_set_names?: RulePermissionSetNamesList | null | undefined;
987
+ /** Permission_set_names have the same scope_type. */
988
+ permission_sets_scope_type?: PermissionSetScopeType | undefined;
989
+ /** Condition expression to evaluate. */
990
+ condition?: string | undefined;
991
+ /** List of Project IDs the rule is scoped to. Precisely one of project_ids, organization_id, account_root_user_id can be set. */
992
+ project_ids?: RuleProjectIdsList | null | undefined;
993
+ /** ID of Organization the rule is scoped to. Precisely one of project_ids, organization_id, account_root_user_id can be set. */
994
+ organization_id?: string | null | undefined;
995
+ /** ID of account root user the rule is scoped to. Precisely one of project_ids, organization_id, account_root_user_id can be set. */
996
+ account_root_user_id?: string | null | undefined;
997
+ /** Select whether the rule should remove the permissions instead of granting them. */
998
+ deny?: boolean | undefined;
999
+ }
1000
+ /** Rules of the policy. */
1001
+ export type ListRulesResponseRulesList = Array<Rule>;
1002
+ export interface ListRulesResponse {
1003
+ /** Rules of the policy. */
1004
+ rules: ListRulesResponseRulesList;
1005
+ /** Total count of rules. */
1006
+ total_count?: number | undefined;
1007
+ }
1008
+ export interface ListSamlCertificatesRequest {
1009
+ /** ID of the SAML configuration. */
1010
+ saml_id: string;
1011
+ }
1012
+ /** List of SAML certificates. */
1013
+ export type ListSamlCertificatesResponseCertificatesList = Array<SamlCertificate>;
1014
+ export interface ListSamlCertificatesResponse {
1015
+ /** List of SAML certificates. */
1016
+ certificates?: ListSamlCertificatesResponseCertificatesList | undefined;
1017
+ }
1018
+ export type ListScimTokensRequestOrderBy = "created_at_asc" | "created_at_desc";
1019
+ export interface ListScimTokensRequest {
1020
+ /** ID of the SCIM configuration. */
1021
+ scim_id: string;
1022
+ /** Sort order of SCIM tokens. */
1023
+ order_by?: ListScimTokensRequestOrderBy | (string & {}) | undefined;
1024
+ /** Requested page number. Value must be greater or equal to 1. */
1025
+ page?: number | undefined;
1026
+ /** Number of items per page. Value must be between 1 and 100. */
1027
+ page_size?: number | undefined;
1028
+ }
1029
+ /** List of SCIM tokens. */
1030
+ export type ListScimTokensResponseScimTokensList = Array<ScimToken>;
1031
+ export interface ListScimTokensResponse {
1032
+ /** List of SCIM tokens. */
1033
+ scim_tokens: ListScimTokensResponseScimTokensList;
1034
+ /** Total count of SCIM tokens. */
1035
+ total_count?: number | undefined;
1036
+ }
1037
+ export type ListSSHKeysRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "name_asc" | "name_desc";
1038
+ export interface ListSSHKeysRequest {
1039
+ /** Sort order of the SSH keys. */
1040
+ order_by?: ListSSHKeysRequestOrderBy | (string & {}) | undefined;
1041
+ /** Requested page number. Value must be greater or equal to 1. */
1042
+ page?: number | undefined;
1043
+ /** Number of items per page. Value must be between 1 and 100. */
1044
+ page_size?: number | undefined;
1045
+ /** Filter by Organization ID. */
1046
+ organization_id?: string | undefined;
1047
+ /** Name of group to find. */
1048
+ name?: string | undefined;
1049
+ /** Filter by Project ID. */
1050
+ project_id?: string | undefined;
1051
+ /** Defines whether to include disabled SSH keys or not. */
1052
+ disabled?: boolean | undefined;
1053
+ }
1054
+ /** List of SSH keys. */
1055
+ export type ListSSHKeysResponseSshKeysList = Array<SSHKey>;
1056
+ export interface ListSSHKeysResponse {
1057
+ /** List of SSH keys. */
1058
+ ssh_keys: ListSSHKeysResponseSshKeysList;
1059
+ /** Total count of SSH keys. */
1060
+ total_count?: number | undefined;
1061
+ }
1062
+ export type ListUsersRequestOrderBy = "created_at_asc" | "created_at_desc" | "updated_at_asc" | "updated_at_desc" | "email_asc" | "email_desc" | "last_login_asc" | "last_login_desc" | "username_asc" | "username_desc";
1063
+ export type ListUsersRequestUserIdsList = Array<string>;
1064
+ export interface ListUsersRequest {
1065
+ /** Criteria for sorting results. */
1066
+ order_by?: ListUsersRequestOrderBy | (string & {}) | undefined;
1067
+ /** Number of results per page. Value must be between 1 and 100. */
1068
+ page_size?: number | undefined;
1069
+ /** Page number. Value must be greater or equal to 1. */
1070
+ page?: number | undefined;
1071
+ /** ID of the Organization to filter. */
1072
+ organization_id?: string | undefined;
1073
+ /** Filter by list of IDs. */
1074
+ user_ids?: ListUsersRequestUserIdsList | undefined;
1075
+ /** Filter by MFA status. */
1076
+ mfa?: boolean | undefined;
1077
+ /** Filter by tags containing a given string. */
1078
+ tag?: string | undefined;
1079
+ /** Filter by user type. */
1080
+ type?: UserType | (string & {}) | undefined;
1081
+ }
1082
+ /** List of users. */
1083
+ export type ListUsersResponseUsersList = Array<User>;
1084
+ export interface ListUsersResponse {
1085
+ /** List of users. */
1086
+ users: ListUsersResponseUsersList;
1087
+ /** Total count of users. */
1088
+ total_count?: number | undefined;
1089
+ }
1090
+ export interface LockUserRequest {
1091
+ /** ID of the user to lock. */
1092
+ user_id: string;
1093
+ }
1094
+ export interface RemoveGroupMemberRequest {
1095
+ /** ID of the group. */
1096
+ group_id: string;
1097
+ /** ID of the user to remove. One of user_id, application_id is required. */
1098
+ user_id?: string | null | undefined;
1099
+ /** ID of the application to remove. One of user_id, application_id is required. */
1100
+ application_id?: string | null | undefined;
1101
+ }
1102
+ export interface RemoveUserConnectionRequest {
1103
+ /** ID of the user you want to manage the connection for. */
1104
+ user_id: string;
1105
+ /** ID of the user you want to remove from your connection. */
1106
+ target_user_id?: string | undefined;
1107
+ }
1108
+ export interface RemoveUserConnectionResponse {
1109
+ }
1110
+ export type SetGroupMembersRequestUserIdsList = Array<string>;
1111
+ export type SetGroupMembersRequestApplicationIdsList = Array<string>;
1112
+ export interface SetGroupMembersRequest {
1113
+ group_id: string;
1114
+ user_ids: SetGroupMembersRequestUserIdsList;
1115
+ application_ids: SetGroupMembersRequestApplicationIdsList;
1116
+ }
1117
+ export interface SetOrganizationAliasRequest {
1118
+ /** ID of the Organization. */
1119
+ organization_id: string;
1120
+ /** Alias of the Organization. */
1121
+ alias?: string | undefined;
1122
+ }
1123
+ /** Rules of the policy to set. */
1124
+ export type SetRulesRequestRulesList = Array<unknown>;
1125
+ export interface SetRulesRequest {
1126
+ /** Id of policy to update. */
1127
+ policy_id: string;
1128
+ /** Rules of the policy to set. */
1129
+ rules: SetRulesRequestRulesList;
1130
+ }
1131
+ /** Rules of the policy. */
1132
+ export type SetRulesResponseRulesList = Array<Rule>;
1133
+ export interface SetRulesResponse {
1134
+ /** Rules of the policy. */
1135
+ rules?: SetRulesResponseRulesList | undefined;
1136
+ }
1137
+ export interface UnlockUserRequest {
1138
+ /** ID of the user to unlock. */
1139
+ user_id: string;
1140
+ }
1141
+ export interface UpdateAPIKeyRequest {
1142
+ /** Access key to update. */
1143
+ access_key: string;
1144
+ /** New default Project ID to set. */
1145
+ default_project_id?: string | null | undefined;
1146
+ /** New description to update. */
1147
+ description?: string | null | undefined;
1148
+ /** New expiration date of the API key. (RFC 3339 format) */
1149
+ expires_at?: string | null | undefined;
1150
+ }
1151
+ /** New tags for the application (maximum of 10 tags). */
1152
+ export type UpdateApplicationRequestTagsList = Array<unknown>;
1153
+ export interface UpdateApplicationRequest {
1154
+ /** ID of the application to update. */
1155
+ application_id: string;
1156
+ /** New name for the application (max length is 64 chars). */
1157
+ name?: string | null | undefined;
1158
+ /** New description for the application (max length is 200 chars). */
1159
+ description?: string | null | undefined;
1160
+ /** New tags for the application (maximum of 10 tags). */
1161
+ tags?: UpdateApplicationRequestTagsList | null | undefined;
1162
+ }
1163
+ /** New tags for the group (maximum of 10 tags). */
1164
+ export type UpdateGroupRequestTagsList = Array<unknown>;
1165
+ export interface UpdateGroupRequest {
1166
+ /** ID of the group to update. */
1167
+ group_id: string;
1168
+ /** New name for the group (max length is 64 chars). MUST be unique inside an Organization. */
1169
+ name?: string | null | undefined;
1170
+ /** New description for the group (max length is 200 chars). */
1171
+ description?: string | null | undefined;
1172
+ /** New tags for the group (maximum of 10 tags). */
1173
+ tags?: UpdateGroupRequestTagsList | null | undefined;
1174
+ }
1175
+ export interface UpdateOrganizationLoginMethodsRequest {
1176
+ /** ID of the Organization. */
1177
+ organization_id: string;
1178
+ /** Defines whether login with a password is enabled for the Organization. */
1179
+ login_password_enabled?: boolean | null | undefined;
1180
+ /** Defines whether login through OAuth2 is enabled for the Organization. */
1181
+ login_oauth2_enabled?: boolean | null | undefined;
1182
+ /** Defines whether login with an authentication code is enabled for the Organization. */
1183
+ login_magic_code_enabled?: boolean | null | undefined;
1184
+ /** Defines whether login through SAML is enabled for the Organization. */
1185
+ login_saml_enabled?: boolean | null | undefined;
1186
+ }
1187
+ export interface UpdateOrganizationSecuritySettingsRequest {
1188
+ /** ID of the Organization. */
1189
+ organization_id: string;
1190
+ /** Defines whether password renewal is enforced during first login. */
1191
+ enforce_password_renewal?: boolean | null | undefined;
1192
+ /** Duration of the grace period to renew password or enable MFA. (in seconds) */
1193
+ grace_period_duration?: string | null | undefined;
1194
+ /** Number of login attempts before the account is locked. */
1195
+ login_attempts_before_locked?: number | null | undefined;
1196
+ /** Maximum duration a login session will stay active before needing to relogin. (in seconds) */
1197
+ max_login_session_duration?: string | null | undefined;
1198
+ /** Maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration. (in seconds) */
1199
+ max_api_key_expiration_duration?: string | null | undefined;
1200
+ }
1201
+ /** New tags for the policy (maximum of 10 tags). */
1202
+ export type UpdatePolicyRequestTagsList = Array<unknown>;
1203
+ export interface UpdatePolicyRequest {
1204
+ /** Id of policy to update. */
1205
+ policy_id: string;
1206
+ /** New name for the policy (max length is 64 characters). */
1207
+ name?: string | null | undefined;
1208
+ /** New description of policy (max length is 200 characters). */
1209
+ description?: string | null | undefined;
1210
+ /** New tags for the policy (maximum of 10 tags). */
1211
+ tags?: UpdatePolicyRequestTagsList | null | undefined;
1212
+ /** New ID of user attributed to the policy. Precisely one of user_id, group_id, application_id, no_principal can be set. */
1213
+ user_id?: string | null | undefined;
1214
+ /** New ID of group attributed to the policy. Precisely one of user_id, group_id, application_id, no_principal can be set. */
1215
+ group_id?: string | null | undefined;
1216
+ /** New ID of application attributed to the policy. Precisely one of user_id, group_id, application_id, no_principal can be set. */
1217
+ application_id?: string | null | undefined;
1218
+ /** Defines whether or not the policy is attributed to a principal. Precisely one of user_id, group_id, application_id, no_principal can be set. */
1219
+ no_principal?: boolean | null | undefined;
1220
+ }
1221
+ export interface UpdateSamlRequest {
1222
+ /** ID of the SAML configuration. */
1223
+ saml_id: string;
1224
+ /** Entity ID of the SAML Identity Provider. */
1225
+ entity_id?: string | null | undefined;
1226
+ /** Single Sign-On URL of the SAML Identity Provider. */
1227
+ single_sign_on_url?: string | null | undefined;
1228
+ }
1229
+ export interface UpdateSSHKeyRequest {
1230
+ ssh_key_id: string;
1231
+ /** Name of the SSH key. Max length is 1000. */
1232
+ name?: string | null | undefined;
1233
+ /** Enable or disable the SSH key. */
1234
+ disabled?: boolean | null | undefined;
1235
+ }
1236
+ /** New tags for the user (maximum of 10 tags). */
1237
+ export type UpdateUserRequestTagsList = Array<unknown>;
1238
+ export interface UpdateUserRequest {
1239
+ /** ID of the user to update. */
1240
+ user_id: string;
1241
+ /** New tags for the user (maximum of 10 tags). */
1242
+ tags?: UpdateUserRequestTagsList | null | undefined;
1243
+ /** IAM member email. */
1244
+ email?: string | null | undefined;
1245
+ /** IAM member first name. */
1246
+ first_name?: string | null | undefined;
1247
+ /** IAM member last name. */
1248
+ last_name?: string | null | undefined;
1249
+ /** IAM member phone number. */
1250
+ phone_number?: string | null | undefined;
1251
+ /** IAM member locale. */
1252
+ locale?: string | null | undefined;
1253
+ }
1254
+ export interface UpdateUserPasswordRequest {
1255
+ /** ID of the user to update. */
1256
+ user_id: string;
1257
+ /** The new password. */
1258
+ password: string | Redacted.Redacted<string>;
1259
+ }
1260
+ export interface UpdateUserUsernameRequest {
1261
+ /** ID of the user to update. */
1262
+ user_id: string;
1263
+ /** The new username. */
1264
+ username: string;
1265
+ }
1266
+ export interface ValidateUserMFAOTPRequest {
1267
+ /** User ID of the MFA OTP. */
1268
+ user_id: string;
1269
+ /** A password generated using the OTP. */
1270
+ one_time_password?: string | Redacted.Redacted<string> | undefined;
1271
+ }
1272
+ /** List of recovery codes usable for this OTP method. */
1273
+ export type ValidateUserMFAOTPResponseRecoveryCodesList = Array<string>;
1274
+ export interface ValidateUserMFAOTPResponse {
1275
+ /** List of recovery codes usable for this OTP method. */
1276
+ recovery_codes?: ValidateUserMFAOTPResponseRecoveryCodesList | undefined;
1277
+ }
1278
+ export type AddGroupMemberError = ScalewayOpError;
1279
+ /** Add a user or an application to a group Add a user or an application to a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only add one of each per request. */
1280
+ export declare const addGroupMember: API.OperationMethod<AddGroupMemberRequest, Group, AddGroupMemberError, ScalewayOpContext>;
1281
+ export type AddGroupMembersError = ScalewayOpError;
1282
+ /** Add multiple users and applications to a group Add multiple users and applications to a group in a single call. You can specify an array of `user_id`s and `application_id`s. Note that any existing users and applications in the group will remain. To add new users/applications and delete pre-existing ones, use the [Overwrite users and applications of a group](#path-groups-overwrite-users-and-applications-of-a-group) method. */
1283
+ export declare const addGroupMembers: API.OperationMethod<AddGroupMembersRequest, Group, AddGroupMembersError, ScalewayOpContext>;
1284
+ export type AddSamlCertificateError = ScalewayOpError;
1285
+ /** Add a SAML certificate */
1286
+ export declare const addSamlCertificate: API.OperationMethod<AddSamlCertificateRequest, SamlCertificate, AddSamlCertificateError, ScalewayOpContext>;
1287
+ export type CheckPermissionsError = ScalewayOpError;
1288
+ export declare const checkPermissions: API.OperationMethod<CheckPermissionsRequest, CheckPermissionsResponse, CheckPermissionsError, ScalewayOpContext>;
1289
+ export type ClonePolicyError = ScalewayOpError;
1290
+ /** Clone a policy Clone a policy. You must define specify the `policy_id` parameter in your request. */
1291
+ export declare const clonePolicy: API.OperationMethod<ClonePolicyRequest, Policy, ClonePolicyError, ScalewayOpContext>;
1292
+ export type CreateAPIKeyError = ScalewayOpError;
1293
+ /** Create an API key Create an API key. You must specify the `application_id` or the `user_id` and the description. You can also specify the `default_project_id`, which is the Project ID of your preferred Project, to use with Object Storage. The `access_key` and `secret_key` values are returned in the response. Note that the secret key is only shown once. Make sure that you copy and store both keys somewhere safe. */
1294
+ export declare const createAPIKey: API.OperationMethod<CreateAPIKeyRequest, APIKey, CreateAPIKeyError, ScalewayOpContext>;
1295
+ export type CreateApplicationError = ScalewayOpError;
1296
+ /** Create a new application Create a new application. You must define the `name` parameter in the request. */
1297
+ export declare const createApplication: API.OperationMethod<CreateApplicationRequest, Application, CreateApplicationError, ScalewayOpContext>;
1298
+ export type CreateGroupError = ScalewayOpError;
1299
+ /** Create a group Create a new group. You must define the `name` and `organization_id` parameters in the request. */
1300
+ export declare const createGroup: API.OperationMethod<CreateGroupRequest, Group, CreateGroupError, ScalewayOpContext>;
1301
+ export type CreatePolicyError = ScalewayOpError;
1302
+ /** Create a new policy Create a new application. You must define the `name` parameter in the request. You can specify parameters such as `user_id`, `groups_id`, `application_id`, `no_principal`, `rules` and its child attributes. */
1303
+ export declare const createPolicy: API.OperationMethod<CreatePolicyRequest, Policy, CreatePolicyError, ScalewayOpContext>;
1304
+ export type CreateScimTokenError = ScalewayOpError;
1305
+ /** Create a SCIM token */
1306
+ export declare const createScimToken: API.OperationMethod<CreateScimTokenRequest, CreateScimTokenResponse, CreateScimTokenError, ScalewayOpContext>;
1307
+ export type CreateSSHKeyError = ScalewayOpError;
1308
+ /** Create an SSH key Add a new SSH key to a Scaleway Project. You must specify the `name`, `public_key` and `project_id`. */
1309
+ export declare const createSSHKey: API.OperationMethod<CreateSSHKeyRequest, SSHKey, CreateSSHKeyError, ScalewayOpContext>;
1310
+ export type CreateUserError = ScalewayOpError;
1311
+ /** Create a new user Create a new user. You must define the `organization_id` in your request. If you are adding a member, enter the member's details. If you are adding a guest, you must define the `email` and not add the member attribute. */
1312
+ export declare const createUser: API.OperationMethod<CreateUserRequest, User, CreateUserError, ScalewayOpContext>;
1313
+ export type CreateUserMFAOTPError = ScalewayOpError;
1314
+ /** Create a MFA OTP. */
1315
+ export declare const createUserMFAOTP: API.OperationMethod<CreateUserMFAOTPRequest, MFAOTP, CreateUserMFAOTPError, ScalewayOpContext>;
1316
+ export type DeleteAPIKeyError = ScalewayOpError;
1317
+ /** Delete an API key Delete an API key. Note that this action is irreversible and cannot be undone. Make sure you update any configurations using the API keys you delete. */
1318
+ export declare const deleteAPIKey: API.OperationMethod<DeleteAPIKeyRequest, DeleteAPIKeyResponse, DeleteAPIKeyError, ScalewayOpContext>;
1319
+ export type DeleteApplicationError = ScalewayOpError;
1320
+ /** Delete an application Delete an application. Note that this action is irreversible and will automatically delete the application's API keys. Policies attached to users and applications via this group will no longer apply. */
1321
+ export declare const deleteApplication: API.OperationMethod<DeleteApplicationRequest, DeleteApplicationResponse, DeleteApplicationError, ScalewayOpContext>;
1322
+ export type DeleteGroupError = ScalewayOpError;
1323
+ /** Delete a group Delete a group. Note that this action is irreversible and could delete permissions for group members. Policies attached to users and applications via this group will no longer apply. */
1324
+ export declare const deleteGroup: API.OperationMethod<DeleteGroupRequest, DeleteGroupResponse, DeleteGroupError, ScalewayOpContext>;
1325
+ export type DeleteJWTError = ScalewayOpError;
1326
+ /** Delete a JWT */
1327
+ export declare const deleteJWT: API.OperationMethod<DeleteJWTRequest, DeleteJWTResponse, DeleteJWTError, ScalewayOpContext>;
1328
+ export type DeletePolicyError = ScalewayOpError;
1329
+ /** Delete a policy Delete a policy. You must define specify the `policy_id` parameter in your request. Note that when deleting a policy, all permissions it gives to its principal (user, group or application) will be revoked. */
1330
+ export declare const deletePolicy: API.OperationMethod<DeletePolicyRequest, DeletePolicyResponse, DeletePolicyError, ScalewayOpContext>;
1331
+ export type DeleteSamlError = ScalewayOpError;
1332
+ /** Disable SAML Identity Provider for an Organization */
1333
+ export declare const deleteSaml: API.OperationMethod<DeleteSamlRequest, DeleteSamlResponse, DeleteSamlError, ScalewayOpContext>;
1334
+ export type DeleteSamlCertificateError = ScalewayOpError;
1335
+ /** Delete a SAML certificate */
1336
+ export declare const deleteSamlCertificate: API.OperationMethod<DeleteSamlCertificateRequest, DeleteSamlCertificateResponse, DeleteSamlCertificateError, ScalewayOpContext>;
1337
+ export type DeleteScimError = ScalewayOpError;
1338
+ /** Disable SCIM for an Organization */
1339
+ export declare const deleteScim: API.OperationMethod<DeleteScimRequest, DeleteScimResponse, DeleteScimError, ScalewayOpContext>;
1340
+ export type DeleteScimTokenError = ScalewayOpError;
1341
+ /** Delete a SCIM token */
1342
+ export declare const deleteScimToken: API.OperationMethod<DeleteScimTokenRequest, DeleteScimTokenResponse, DeleteScimTokenError, ScalewayOpContext>;
1343
+ export type DeleteSSHKeyError = ScalewayOpError;
1344
+ /** Delete an SSH key Delete a given SSH key, specified by the `ssh_key_id`. Deleting an SSH is permanent, and cannot be undone. Note that you might need to update any configurations that used the SSH key. */
1345
+ export declare const deleteSSHKey: API.OperationMethod<DeleteSSHKeyRequest, DeleteSSHKeyResponse, DeleteSSHKeyError, ScalewayOpContext>;
1346
+ export type DeleteUserError = ScalewayOpError;
1347
+ /** Delete a guest user from an Organization Remove a user from an Organization in which they are a guest. You must define the `user_id` in your request. Note that removing a user from an Organization automatically deletes their API keys, and any policies directly attached to them become orphaned. */
1348
+ export declare const deleteUser: API.OperationMethod<DeleteUserRequest, DeleteUserResponse, DeleteUserError, ScalewayOpContext>;
1349
+ export type DeleteUserMFAOTPError = ScalewayOpError;
1350
+ /** Delete a MFA OTP. */
1351
+ export declare const deleteUserMFAOTP: API.OperationMethod<DeleteUserMFAOTPRequest, DeleteUserMFAOTPResponse, DeleteUserMFAOTPError, ScalewayOpContext>;
1352
+ export type EnableOrganizationSamlError = ScalewayOpError;
1353
+ /** Enable SAML Identity Provider for an Organization */
1354
+ export declare const enableOrganizationSaml: API.OperationMethod<EnableOrganizationSamlRequest, Saml, EnableOrganizationSamlError, ScalewayOpContext>;
1355
+ export type EnableOrganizationScimError = ScalewayOpError;
1356
+ /** Enable SCIM for an Organization */
1357
+ export declare const enableOrganizationScim: API.OperationMethod<EnableOrganizationScimRequest, Scim, EnableOrganizationScimError, ScalewayOpContext>;
1358
+ export type GetAPIKeyError = ScalewayOpError;
1359
+ /** Get an API key Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation. */
1360
+ export declare const getAPIKey: API.OperationMethod<GetAPIKeyRequest, APIKey, GetAPIKeyError, ScalewayOpContext>;
1361
+ export type GetApplicationError = ScalewayOpError;
1362
+ /** Get a given application Retrieve information about an application, specified by the `application_id` parameter. The application's full details, including `id`, `email`, `organization_id`, `status` and `two_factor_enabled` are returned in the response. */
1363
+ export declare const getApplication: API.OperationMethod<GetApplicationRequest, Application, GetApplicationError, ScalewayOpContext>;
1364
+ export type GetGroupError = ScalewayOpError;
1365
+ /** Get a group Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response. */
1366
+ export declare const getGroup: API.OperationMethod<GetGroupRequest, Group, GetGroupError, ScalewayOpContext>;
1367
+ export type GetJWTError = ScalewayOpError;
1368
+ /** Get a JWT */
1369
+ export declare const getJWT: API.OperationMethod<GetJWTRequest, JWT, GetJWTError, ScalewayOpContext>;
1370
+ export type GetLogError = ScalewayOpError;
1371
+ /** Get a log Retrieve information about a log, specified by the `log_id` parameter. The log's full details, including `id`, `ip`, `user_agent`, `action`, `bearer_id`, `resource_type` and `resource_id` are returned in the response. */
1372
+ export declare const getLog: API.OperationMethod<GetLogRequest, Log, GetLogError, ScalewayOpContext>;
1373
+ export type GetOrganizationError = ScalewayOpError;
1374
+ /** Get your Organization's IAM information */
1375
+ export declare const getOrganization: API.OperationMethod<GetOrganizationRequest, Organization, GetOrganizationError, ScalewayOpContext>;
1376
+ export type GetOrganizationSamlError = ScalewayOpError;
1377
+ /** Get SAML Identity Provider configuration of an Organization */
1378
+ export declare const getOrganizationSaml: API.OperationMethod<GetOrganizationSamlRequest, Saml, GetOrganizationSamlError, ScalewayOpContext>;
1379
+ export type GetOrganizationScimError = ScalewayOpError;
1380
+ /** Get SCIM configuration of an Organization */
1381
+ export declare const getOrganizationScim: API.OperationMethod<GetOrganizationScimRequest, Scim, GetOrganizationScimError, ScalewayOpContext>;
1382
+ export type GetOrganizationSecuritySettingsError = ScalewayOpError;
1383
+ /** Get security settings of an Organization Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter. */
1384
+ export declare const getOrganizationSecuritySettings: API.OperationMethod<GetOrganizationSecuritySettingsRequest, OrganizationSecuritySettings, GetOrganizationSecuritySettingsError, ScalewayOpContext>;
1385
+ export type GetPolicyError = ScalewayOpError;
1386
+ /** Get an existing policy Retrieve information about a policy, specified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response. */
1387
+ export declare const getPolicy: API.OperationMethod<GetPolicyRequest, Policy, GetPolicyError, ScalewayOpContext>;
1388
+ export type GetQuotumError = ScalewayOpError;
1389
+ /** Get a quota in the Organization Retrieve information about a resource quota, specified by the `quotum_name` parameter. The quota's `limit`, or whether it is unlimited, is returned in the response. */
1390
+ export declare const getQuotum: API.OperationMethod<GetQuotumRequest, Quotum, GetQuotumError, ScalewayOpContext>;
1391
+ export type GetSamlCertificateError = ScalewayOpError;
1392
+ /** Get a SAML certificate */
1393
+ export declare const getSamlCertificate: API.OperationMethod<GetSamlCertificateRequest, SamlCertificate, GetSamlCertificateError, ScalewayOpContext>;
1394
+ export type GetScimTokenError = ScalewayOpError;
1395
+ export declare const getScimToken: API.OperationMethod<GetScimTokenRequest, ScimToken, GetScimTokenError, ScalewayOpContext>;
1396
+ export type GetSSHKeyError = ScalewayOpError;
1397
+ /** Get an SSH key Retrieve information about a given SSH key, specified by the `ssh_key_id` parameter. The SSH key's full details, including `id`, `name`, `public_key`, and `project_id` are returned in the response. */
1398
+ export declare const getSSHKey: API.OperationMethod<GetSSHKeyRequest, SSHKey, GetSSHKeyError, ScalewayOpContext>;
1399
+ export type GetUserError = ScalewayOpError;
1400
+ /** Get a given user Retrieve information about a user, specified by the `user_id` parameter. The user's full details, including `id`, `email`, `organization_id`, `status` and `mfa` are returned in the response. */
1401
+ export declare const getUser: API.OperationMethod<GetUserRequest, User, GetUserError, ScalewayOpContext>;
1402
+ export type GetUserConnectionsError = ScalewayOpError;
1403
+ export declare const getUserConnections: API.OperationMethod<GetUserConnectionsRequest, GetUserConnectionsResponse, GetUserConnectionsError, ScalewayOpContext>;
1404
+ export type InitiateUserConnectionError = ScalewayOpError;
1405
+ export declare const initiateUserConnection: API.OperationMethod<InitiateUserConnectionRequest, InitiateUserConnectionResponse, InitiateUserConnectionError, ScalewayOpContext>;
1406
+ export type JoinUserConnectionError = ScalewayOpError;
1407
+ export declare const joinUserConnection: API.OperationMethod<JoinUserConnectionRequest, JoinUserConnectionResponse, JoinUserConnectionError, ScalewayOpContext>;
1408
+ export type ListAPIKeysError = ScalewayOpError;
1409
+ /** List API keys List API keys. By default, the API keys listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters for your query such as `editable`, `expired`, `access_key` and `bearer_id`. */
1410
+ export declare const listAPIKeys: API.PaginatedOperationMethod<ListAPIKeysRequest, ListAPIKeysResponse, ListAPIKeysError, ScalewayOpContext, APIKey>;
1411
+ export type ListApplicationsError = ScalewayOpError;
1412
+ /** List applications of an Organization List the applications of an Organization. By default, the applications listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `application_ids`. */
1413
+ export declare const listApplications: API.PaginatedOperationMethod<ListApplicationsRequest, ListApplicationsResponse, ListApplicationsError, ScalewayOpContext, Application>;
1414
+ export type ListGracePeriodsError = ScalewayOpError;
1415
+ /** List grace periods of a member List the grace periods of a member. */
1416
+ export declare const listGracePeriods: API.OperationMethod<ListGracePeriodsRequest, ListGracePeriodsResponse, ListGracePeriodsError, ScalewayOpContext>;
1417
+ export type ListGroupsError = ScalewayOpError;
1418
+ /** List groups List groups. By default, the groups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters to filter your query. Use `user_ids` or `application_ids` to list all groups certain users or applications belong to. */
1419
+ export declare const listGroups: API.PaginatedOperationMethod<ListGroupsRequest, ListGroupsResponse, ListGroupsError, ScalewayOpContext, Group>;
1420
+ export type ListJWTsError = ScalewayOpError;
1421
+ /** List JWTs */
1422
+ export declare const listJWTs: API.PaginatedOperationMethod<ListJWTsRequest, ListJWTsResponse, ListJWTsError, ScalewayOpContext, JWT>;
1423
+ export type ListLogsError = ScalewayOpError;
1424
+ /** List logs List logs available for given Organization. You must define the `organization_id` in the query path of your request. */
1425
+ export declare const listLogs: API.PaginatedOperationMethod<ListLogsRequest, ListLogsResponse, ListLogsError, ScalewayOpContext, Log>;
1426
+ export type ListPermissionSetsError = ScalewayOpError;
1427
+ /** List permission sets List permission sets available for given Organization. You must define the `organization_id` in the query path of your request. */
1428
+ export declare const listPermissionSets: API.PaginatedOperationMethod<ListPermissionSetsRequest, ListPermissionSetsResponse, ListPermissionSetsError, ScalewayOpContext, PermissionSet>;
1429
+ export type ListPoliciesError = ScalewayOpError;
1430
+ /** List policies of an Organization List the policies of an Organization. By default, the policies listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters to filter your query, such as `user_ids`, `groups_ids`, `application_ids`, and `policy_name`. */
1431
+ export declare const listPolicies: API.PaginatedOperationMethod<ListPoliciesRequest, ListPoliciesResponse, ListPoliciesError, ScalewayOpContext, Policy>;
1432
+ export type ListQuotaError = ScalewayOpError;
1433
+ /** List all quotas in the Organization List all product and features quota for an Organization, with their associated limits. By default, the quota listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. */
1434
+ export declare const listQuota: API.PaginatedOperationMethod<ListQuotaRequest, ListQuotaResponse, ListQuotaError, ScalewayOpContext, Quotum>;
1435
+ export type ListRulesError = ScalewayOpError;
1436
+ /** List rules of a given policy List the rules of a given policy. By default, the rules listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `policy_id` in the query path of your request. */
1437
+ export declare const listRules: API.PaginatedOperationMethod<ListRulesRequest, ListRulesResponse, ListRulesError, ScalewayOpContext, Rule>;
1438
+ export type ListSamlCertificatesError = ScalewayOpError;
1439
+ /** List SAML certificates */
1440
+ export declare const listSamlCertificates: API.OperationMethod<ListSamlCertificatesRequest, ListSamlCertificatesResponse, ListSamlCertificatesError, ScalewayOpContext>;
1441
+ export type ListScimTokensError = ScalewayOpError;
1442
+ /** List SCIM tokens */
1443
+ export declare const listScimTokens: API.PaginatedOperationMethod<ListScimTokensRequest, ListScimTokensResponse, ListScimTokensError, ScalewayOpContext, ScimToken>;
1444
+ export type ListSSHKeysError = ScalewayOpError;
1445
+ /** List SSH keys List SSH keys. By default, the SSH keys listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters for your query such as `organization_id`, `name`, `project_id` and `disabled`. */
1446
+ export declare const listSSHKeys: API.PaginatedOperationMethod<ListSSHKeysRequest, ListSSHKeysResponse, ListSSHKeysError, ScalewayOpContext, SSHKey>;
1447
+ export type ListUsersError = ScalewayOpError;
1448
+ /** List users of an Organization List the users of an Organization. By default, the users listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `user_ids`. */
1449
+ export declare const listUsers: API.PaginatedOperationMethod<ListUsersRequest, ListUsersResponse, ListUsersError, ScalewayOpContext, User>;
1450
+ export type LockUserError = ScalewayOpError;
1451
+ /** Lock a member Lock a member. A locked member cannot log in or use API keys until the locked status is removed. */
1452
+ export declare const lockUser: API.OperationMethod<LockUserRequest, User, LockUserError, ScalewayOpContext>;
1453
+ export type RemoveGroupMemberError = ScalewayOpError;
1454
+ /** Remove a user or an application from a group Remove a user or an application from a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding. */
1455
+ export declare const removeGroupMember: API.OperationMethod<RemoveGroupMemberRequest, Group, RemoveGroupMemberError, ScalewayOpContext>;
1456
+ export type RemoveUserConnectionError = ScalewayOpError;
1457
+ export declare const removeUserConnection: API.OperationMethod<RemoveUserConnectionRequest, RemoveUserConnectionResponse, RemoveUserConnectionError, ScalewayOpContext>;
1458
+ export type SetGroupMembersError = ScalewayOpError;
1459
+ /** Overwrite users and applications of a group Overwrite users and applications configuration in a group. Any information that you add using this command will overwrite the previous configuration. */
1460
+ export declare const setGroupMembers: API.OperationMethod<SetGroupMembersRequest, Group, SetGroupMembersError, ScalewayOpContext>;
1461
+ export type SetOrganizationAliasError = ScalewayOpError;
1462
+ /** Set your Organization's alias. This will fail if an alias has already been defined. Please contact support if you need to change your Organization's alias. */
1463
+ export declare const setOrganizationAlias: API.OperationMethod<SetOrganizationAliasRequest, Organization, SetOrganizationAliasError, ScalewayOpContext>;
1464
+ export type SetRulesError = ScalewayOpError;
1465
+ /** Set rules of a given policy Overwrite the rules of a given policy. Any information that you add using this command will overwrite the previous configuration. If you include some of the rules you already had in your previous configuration in your new one, but you change their order, the new order of display will apply. While policy rules are ordered, they have no impact on the access logic of IAM because rules are allow-only. */
1466
+ export declare const setRules: API.OperationMethod<SetRulesRequest, SetRulesResponse, SetRulesError, ScalewayOpContext>;
1467
+ export type UnlockUserError = ScalewayOpError;
1468
+ /** Unlock a member */
1469
+ export declare const unlockUser: API.OperationMethod<UnlockUserRequest, User, UnlockUserError, ScalewayOpContext>;
1470
+ export type UpdateAPIKeyError = ScalewayOpError;
1471
+ /** Update an API key Update the parameters of an API key, including `default_project_id` and `description`. */
1472
+ export declare const updateAPIKey: API.OperationMethod<UpdateAPIKeyRequest, APIKey, UpdateAPIKeyError, ScalewayOpContext>;
1473
+ export type UpdateApplicationError = ScalewayOpError;
1474
+ /** Update an application Update the parameters of an application, including `name` and `description`. */
1475
+ export declare const updateApplication: API.OperationMethod<UpdateApplicationRequest, Application, UpdateApplicationError, ScalewayOpContext>;
1476
+ export type UpdateGroupError = ScalewayOpError;
1477
+ /** Update a group Update the parameters of group, including `name` and `description`. */
1478
+ export declare const updateGroup: API.OperationMethod<UpdateGroupRequest, Group, UpdateGroupError, ScalewayOpContext>;
1479
+ export type UpdateOrganizationLoginMethodsError = ScalewayOpError;
1480
+ /** Set your Organization's allowed login methods. */
1481
+ export declare const updateOrganizationLoginMethods: API.OperationMethod<UpdateOrganizationLoginMethodsRequest, Organization, UpdateOrganizationLoginMethodsError, ScalewayOpContext>;
1482
+ export type UpdateOrganizationSecuritySettingsError = ScalewayOpError;
1483
+ /** Update the security settings of an Organization */
1484
+ export declare const updateOrganizationSecuritySettings: API.OperationMethod<UpdateOrganizationSecuritySettingsRequest, OrganizationSecuritySettings, UpdateOrganizationSecuritySettingsError, ScalewayOpContext>;
1485
+ export type UpdatePolicyError = ScalewayOpError;
1486
+ /** Update an existing policy Update the parameters of a policy, including `name`, `description`, `user_id`, `group_id`, `application_id` and `no_principal`. */
1487
+ export declare const updatePolicy: API.OperationMethod<UpdatePolicyRequest, Policy, UpdatePolicyError, ScalewayOpContext>;
1488
+ export type UpdateSamlError = ScalewayOpError;
1489
+ /** Update SAML Identity Provider configuration */
1490
+ export declare const updateSaml: API.OperationMethod<UpdateSamlRequest, Saml, UpdateSamlError, ScalewayOpContext>;
1491
+ export type UpdateSSHKeyError = ScalewayOpError;
1492
+ /** Update an SSH key Update the parameters of an SSH key, including `name` and `disable`. */
1493
+ export declare const updateSSHKey: API.OperationMethod<UpdateSSHKeyRequest, SSHKey, UpdateSSHKeyError, ScalewayOpContext>;
1494
+ export type UpdateUserError = ScalewayOpError;
1495
+ /** Update a user Update the parameters of a user, including `tags`. */
1496
+ export declare const updateUser: API.OperationMethod<UpdateUserRequest, User, UpdateUserError, ScalewayOpContext>;
1497
+ export type UpdateUserPasswordError = ScalewayOpError;
1498
+ /** Update an user's password. */
1499
+ export declare const updateUserPassword: API.OperationMethod<UpdateUserPasswordRequest, User, UpdateUserPasswordError, ScalewayOpContext>;
1500
+ export type UpdateUserUsernameError = ScalewayOpError;
1501
+ /** Update an user's username. */
1502
+ export declare const updateUserUsername: API.OperationMethod<UpdateUserUsernameRequest, User, UpdateUserUsernameError, ScalewayOpContext>;
1503
+ export type ValidateUserMFAOTPError = ScalewayOpError;
1504
+ /** Validate a MFA OTP. */
1505
+ export declare const validateUserMFAOTP: API.OperationMethod<ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse, ValidateUserMFAOTPError, ScalewayOpContext>;
1506
+ //# sourceMappingURL=iam_v1alpha1.d.ts.map