@scaleway/sdk 2.71.1 → 2.73.0

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 (663) hide show
  1. package/dist/api/account/index.gen.d.ts +2 -2
  2. package/dist/api/account/v2/api.gen.cjs +5 -4
  3. package/dist/api/account/v2/api.gen.d.ts +1 -1
  4. package/dist/api/account/v2/api.gen.js +5 -4
  5. package/dist/api/account/v2/marshalling.gen.cjs +4 -3
  6. package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
  7. package/dist/api/account/v2/marshalling.gen.js +4 -3
  8. package/dist/api/account/v3/api.gen.cjs +18 -36
  9. package/dist/api/account/v3/api.gen.d.ts +18 -37
  10. package/dist/api/account/v3/api.gen.js +18 -36
  11. package/dist/api/account/v3/index.gen.d.ts +1 -1
  12. package/dist/api/account/v3/marshalling.gen.cjs +4 -3
  13. package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
  14. package/dist/api/account/v3/marshalling.gen.js +4 -3
  15. package/dist/api/account/v3/types.gen.d.ts +187 -85
  16. package/dist/api/applesilicon/index.gen.d.ts +2 -2
  17. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
  18. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
  19. package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
  20. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
  21. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
  22. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
  23. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
  24. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
  25. package/dist/api/audit_trail/index.gen.d.ts +2 -2
  26. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
  27. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
  28. package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
  29. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
  30. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
  31. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
  32. package/dist/api/baremetal/index.gen.d.ts +2 -2
  33. package/dist/api/baremetal/v1/api.gen.cjs +34 -66
  34. package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
  35. package/dist/api/baremetal/v1/api.gen.js +34 -66
  36. package/dist/api/baremetal/v1/api.utils.cjs +3 -1
  37. package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
  38. package/dist/api/baremetal/v1/api.utils.js +3 -1
  39. package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
  40. package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
  41. package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
  42. package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
  43. package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
  44. package/dist/api/baremetal/v3/api.gen.cjs +12 -18
  45. package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
  46. package/dist/api/baremetal/v3/api.gen.js +12 -18
  47. package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
  48. package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
  49. package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
  50. package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
  51. package/dist/api/billing/index.gen.d.ts +2 -2
  52. package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
  53. package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
  54. package/dist/api/billing/v2alpha1/api.gen.js +5 -4
  55. package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
  56. package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
  57. package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
  58. package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
  59. package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
  60. package/dist/api/billing/v2beta1/api.gen.js +16 -24
  61. package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
  62. package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
  63. package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
  64. package/dist/api/block/index.gen.d.ts +2 -2
  65. package/dist/api/block/v1/api.gen.cjs +43 -60
  66. package/dist/api/block/v1/api.gen.d.ts +21 -39
  67. package/dist/api/block/v1/api.gen.js +43 -60
  68. package/dist/api/block/v1/marshalling.gen.cjs +4 -3
  69. package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
  70. package/dist/api/block/v1/marshalling.gen.js +4 -3
  71. package/dist/api/block/v1/types.gen.d.ts +307 -126
  72. package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
  73. package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
  74. package/dist/api/block/v1alpha1/api.gen.js +51 -69
  75. package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
  76. package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
  77. package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
  78. package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
  79. package/dist/api/cockpit/index.gen.d.ts +2 -2
  80. package/dist/api/cockpit/v1/api.gen.cjs +105 -160
  81. package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
  82. package/dist/api/cockpit/v1/api.gen.js +105 -160
  83. package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
  84. package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
  85. package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
  86. package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
  87. package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
  88. package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
  89. package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
  90. package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
  91. package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
  92. package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
  93. package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
  94. package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
  95. package/dist/api/container/index.gen.d.ts +2 -2
  96. package/dist/api/container/v1beta1/api.gen.cjs +13 -19
  97. package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
  98. package/dist/api/container/v1beta1/api.gen.js +13 -19
  99. package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
  100. package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
  101. package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
  102. package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
  103. package/dist/api/dedibox/index.gen.d.ts +2 -2
  104. package/dist/api/dedibox/v1/api.gen.cjs +51 -74
  105. package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
  106. package/dist/api/dedibox/v1/api.gen.js +51 -74
  107. package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
  108. package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
  109. package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
  110. package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
  111. package/dist/api/document_db/index.gen.d.ts +2 -2
  112. package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
  113. package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
  114. package/dist/api/document_db/v1beta1/api.gen.js +6 -5
  115. package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
  116. package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
  117. package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
  118. package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
  119. package/dist/api/domain/index.gen.d.ts +2 -2
  120. package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
  121. package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
  122. package/dist/api/domain/v2beta1/api.gen.js +125 -183
  123. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  124. package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
  125. package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
  126. package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
  127. package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
  128. package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
  129. package/dist/api/edge_services/index.gen.d.ts +2 -2
  130. package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
  131. package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
  132. package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
  133. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
  134. package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
  135. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
  136. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
  137. package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
  138. package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
  139. package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
  140. package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
  141. package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
  142. package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
  143. package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
  144. package/dist/api/flexibleip/index.gen.d.ts +2 -2
  145. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
  146. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
  147. package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
  148. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
  149. package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
  150. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
  151. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
  152. package/dist/api/function/index.gen.d.ts +2 -2
  153. package/dist/api/function/v1beta1/api.gen.cjs +20 -33
  154. package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
  155. package/dist/api/function/v1beta1/api.gen.js +20 -33
  156. package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
  157. package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
  158. package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
  159. package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
  160. package/dist/api/iam/index.gen.d.ts +2 -2
  161. package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
  162. package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
  163. package/dist/api/iam/v1alpha1/api.gen.js +49 -163
  164. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
  165. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
  166. package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
  167. package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
  168. package/dist/api/index.gen.d.ts +2 -2
  169. package/dist/api/inference/index.gen.d.ts +2 -2
  170. package/dist/api/inference/v1/api.gen.cjs +14 -16
  171. package/dist/api/inference/v1/api.gen.d.ts +8 -11
  172. package/dist/api/inference/v1/api.gen.js +14 -16
  173. package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
  174. package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
  175. package/dist/api/inference/v1/marshalling.gen.js +4 -3
  176. package/dist/api/inference/v1/types.gen.d.ts +331 -151
  177. package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
  178. package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
  179. package/dist/api/inference/v1beta1/api.gen.js +14 -16
  180. package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
  181. package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
  182. package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
  183. package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
  184. package/dist/api/instance/index.gen.d.ts +2 -2
  185. package/dist/api/instance/v1/api.gen.cjs +69 -117
  186. package/dist/api/instance/v1/api.gen.d.ts +56 -105
  187. package/dist/api/instance/v1/api.gen.js +69 -117
  188. package/dist/api/instance/v1/api.utils.cjs +4 -3
  189. package/dist/api/instance/v1/api.utils.d.ts +1 -1
  190. package/dist/api/instance/v1/api.utils.js +4 -3
  191. package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
  192. package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
  193. package/dist/api/instance/v1/marshalling.gen.js +4 -3
  194. package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
  195. package/dist/api/instance/v1/types.gen.d.ts +1352 -599
  196. package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
  197. package/dist/api/instance/v1/types.utils.d.ts +1 -1
  198. package/dist/api/interlink/index.gen.d.ts +2 -2
  199. package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
  200. package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
  201. package/dist/api/interlink/v1beta1/api.gen.js +108 -64
  202. package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
  203. package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
  204. package/dist/api/interlink/v1beta1/content.gen.js +6 -0
  205. package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
  206. package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
  207. package/dist/api/interlink/v1beta1/index.gen.js +3 -0
  208. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
  209. package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
  210. package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
  211. package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
  212. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
  213. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
  214. package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
  215. package/dist/api/iot/index.gen.d.ts +2 -2
  216. package/dist/api/iot/v1/api.gen.cjs +43 -75
  217. package/dist/api/iot/v1/api.gen.d.ts +36 -69
  218. package/dist/api/iot/v1/api.gen.js +43 -75
  219. package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
  220. package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
  221. package/dist/api/iot/v1/marshalling.gen.js +4 -3
  222. package/dist/api/iot/v1/types.gen.d.ts +567 -322
  223. package/dist/api/ipam/index.gen.d.ts +2 -2
  224. package/dist/api/ipam/v1/api.gen.cjs +11 -30
  225. package/dist/api/ipam/v1/api.gen.d.ts +10 -31
  226. package/dist/api/ipam/v1/api.gen.js +11 -30
  227. package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
  228. package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
  229. package/dist/api/ipam/v1/marshalling.gen.js +4 -3
  230. package/dist/api/ipam/v1/types.gen.d.ts +147 -106
  231. package/dist/api/ipfs/index.gen.d.ts +2 -2
  232. package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
  233. package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
  234. package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
  235. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
  236. package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
  237. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
  238. package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
  239. package/dist/api/jobs/index.gen.d.ts +2 -2
  240. package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
  241. package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
  242. package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
  243. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
  244. package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
  245. package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
  246. package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
  247. package/dist/api/k8s/index.gen.d.ts +2 -2
  248. package/dist/api/k8s/v1/api.gen.cjs +39 -83
  249. package/dist/api/k8s/v1/api.gen.d.ts +29 -74
  250. package/dist/api/k8s/v1/api.gen.js +39 -83
  251. package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
  252. package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
  253. package/dist/api/k8s/v1/marshalling.gen.js +4 -3
  254. package/dist/api/k8s/v1/types.gen.d.ts +744 -507
  255. package/dist/api/key_manager/index.gen.d.ts +2 -2
  256. package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
  257. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
  258. package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
  259. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
  260. package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
  261. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
  262. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
  263. package/dist/api/lb/index.gen.d.ts +2 -2
  264. package/dist/api/lb/v1/api.gen.cjs +68 -178
  265. package/dist/api/lb/v1/api.gen.d.ts +60 -176
  266. package/dist/api/lb/v1/api.gen.js +69 -179
  267. package/dist/api/lb/v1/api.utils.cjs +3 -1
  268. package/dist/api/lb/v1/api.utils.d.ts +1 -1
  269. package/dist/api/lb/v1/api.utils.js +3 -1
  270. package/dist/api/lb/v1/index.gen.d.ts +1 -1
  271. package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
  272. package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
  273. package/dist/api/lb/v1/marshalling.gen.js +9 -3
  274. package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
  275. package/dist/api/lb/v1/types.utils.d.ts +1 -1
  276. package/dist/api/llm_inference/index.gen.d.ts +2 -2
  277. package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
  278. package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
  279. package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
  280. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
  281. package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
  282. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
  283. package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
  284. package/dist/api/marketplace/index.gen.d.ts +2 -2
  285. package/dist/api/marketplace/v2/api.gen.cjs +13 -25
  286. package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
  287. package/dist/api/marketplace/v2/api.gen.js +13 -25
  288. package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
  289. package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
  290. package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
  291. package/dist/api/mnq/index.gen.d.ts +2 -2
  292. package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
  293. package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
  294. package/dist/api/mnq/v1beta1/api.gen.js +29 -80
  295. package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
  296. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
  297. package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
  298. package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
  299. package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
  300. package/dist/api/mongodb/index.gen.d.ts +2 -2
  301. package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
  302. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
  303. package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
  304. package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
  305. package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
  306. package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
  307. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
  308. package/dist/api/qaas/index.gen.d.ts +2 -2
  309. package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
  310. package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
  311. package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
  312. package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
  313. package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
  314. package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
  315. package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
  316. package/dist/api/rdb/index.gen.d.ts +2 -2
  317. package/dist/api/rdb/v1/api.gen.cjs +68 -207
  318. package/dist/api/rdb/v1/api.gen.d.ts +62 -203
  319. package/dist/api/rdb/v1/api.gen.js +68 -207
  320. package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
  321. package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
  322. package/dist/api/rdb/v1/marshalling.gen.js +4 -3
  323. package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
  324. package/dist/api/redis/index.gen.d.ts +2 -2
  325. package/dist/api/redis/v1/api.gen.cjs +29 -88
  326. package/dist/api/redis/v1/api.gen.d.ts +27 -87
  327. package/dist/api/redis/v1/api.gen.js +29 -88
  328. package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
  329. package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
  330. package/dist/api/redis/v1/marshalling.gen.js +4 -3
  331. package/dist/api/redis/v1/types.gen.d.ts +448 -171
  332. package/dist/api/registry/index.gen.d.ts +2 -2
  333. package/dist/api/registry/v1/api.gen.cjs +18 -45
  334. package/dist/api/registry/v1/api.gen.d.ts +16 -44
  335. package/dist/api/registry/v1/api.gen.js +18 -45
  336. package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
  337. package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
  338. package/dist/api/registry/v1/marshalling.gen.js +4 -3
  339. package/dist/api/registry/v1/types.gen.d.ts +201 -117
  340. package/dist/api/secret/index.gen.d.ts +2 -2
  341. package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
  342. package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
  343. package/dist/api/secret/v1alpha1/api.gen.js +5 -4
  344. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
  345. package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
  346. package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
  347. package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
  348. package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
  349. package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
  350. package/dist/api/secret/v1beta1/api.gen.js +24 -51
  351. package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
  352. package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
  353. package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
  354. package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
  355. package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
  356. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
  357. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
  358. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
  359. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
  360. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
  361. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
  362. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
  363. package/dist/api/tem/index.gen.d.ts +2 -2
  364. package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
  365. package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
  366. package/dist/api/tem/v1alpha1/api.gen.js +28 -63
  367. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
  368. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
  369. package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
  370. package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
  371. package/dist/api/test/index.gen.d.ts +2 -2
  372. package/dist/api/test/v1/api.gen.cjs +14 -16
  373. package/dist/api/test/v1/api.gen.d.ts +8 -11
  374. package/dist/api/test/v1/api.gen.js +14 -16
  375. package/dist/api/test/v1/marshalling.gen.cjs +4 -3
  376. package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
  377. package/dist/api/test/v1/marshalling.gen.js +4 -3
  378. package/dist/api/test/v1/types.gen.d.ts +21 -10
  379. package/dist/api/vpc/index.gen.d.ts +2 -2
  380. package/dist/api/vpc/v1/api.gen.cjs +5 -4
  381. package/dist/api/vpc/v1/api.gen.d.ts +2 -2
  382. package/dist/api/vpc/v1/api.gen.js +5 -4
  383. package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
  384. package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
  385. package/dist/api/vpc/v1/marshalling.gen.js +4 -3
  386. package/dist/api/vpc/v1/types.gen.d.ts +1 -1
  387. package/dist/api/vpc/v2/api.gen.cjs +18 -53
  388. package/dist/api/vpc/v2/api.gen.d.ts +18 -45
  389. package/dist/api/vpc/v2/api.gen.js +19 -54
  390. package/dist/api/vpc/v2/index.gen.d.ts +1 -1
  391. package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
  392. package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
  393. package/dist/api/vpc/v2/marshalling.gen.js +4 -18
  394. package/dist/api/vpc/v2/types.gen.d.ts +333 -200
  395. package/dist/api/vpcgw/index.gen.d.ts +2 -2
  396. package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
  397. package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
  398. package/dist/api/vpcgw/v1/api.gen.js +42 -140
  399. package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
  400. package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
  401. package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
  402. package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
  403. package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
  404. package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
  405. package/dist/api/vpcgw/v2/api.gen.js +33 -93
  406. package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
  407. package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
  408. package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
  409. package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
  410. package/dist/api/webhosting/index.gen.d.ts +2 -2
  411. package/dist/api/webhosting/v1/api.gen.cjs +28 -55
  412. package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
  413. package/dist/api/webhosting/v1/api.gen.js +28 -55
  414. package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
  415. package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
  416. package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
  417. package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
  418. package/dist/client/dist/helpers/is-browser.cjs +4 -0
  419. package/dist/client/dist/helpers/is-browser.js +4 -0
  420. package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
  421. package/dist/{package.json.js → client/dist/package.json.js} +7 -16
  422. package/dist/client/dist/scw/constants.cjs +7 -0
  423. package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
  424. package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
  425. package/dist/index.cjs +16 -16
  426. package/dist/index.d.ts +1 -15
  427. package/dist/index.js +13 -13
  428. package/node_modules/@scaleway/sdk-client/README.md +36 -0
  429. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
  430. package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
  431. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
  432. package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
  433. package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
  434. package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
  435. package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
  436. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
  437. package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
  438. package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
  439. package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
  440. package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
  441. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
  442. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
  443. package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
  444. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
  445. package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
  446. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
  447. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
  448. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
  449. package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
  450. package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
  451. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
  452. package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
  453. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
  454. package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
  455. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
  456. package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
  457. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
  458. package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
  459. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
  460. package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
  461. package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
  462. package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
  463. package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
  464. package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
  465. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
  466. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
  467. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
  468. package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
  469. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
  470. package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
  471. package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
  472. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
  473. package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
  474. package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
  475. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
  476. package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
  477. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
  478. package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
  479. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
  480. package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
  481. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
  482. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
  483. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
  484. package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
  485. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
  486. package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
  487. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
  488. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
  489. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
  490. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
  491. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
  492. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
  493. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
  494. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
  495. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
  496. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
  497. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
  498. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
  499. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
  500. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
  501. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
  502. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
  503. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
  504. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
  505. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
  506. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
  507. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
  508. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
  509. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
  510. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
  511. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
  512. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
  513. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
  514. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
  515. package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
  516. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
  517. package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
  518. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
  519. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
  520. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
  521. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
  522. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
  523. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
  524. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
  525. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
  526. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
  527. package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
  528. package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
  529. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
  530. package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
  531. package/node_modules/@scaleway/sdk-client/package.json +36 -0
  532. package/package.json +6 -4
  533. package/dist/helpers/is-browser.cjs +0 -7
  534. package/dist/helpers/is-browser.js +0 -7
  535. /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
  536. /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
  537. /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
  538. /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
  539. /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
  540. /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
  541. /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
  542. /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
  543. /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
  544. /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
  545. /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
  546. /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
  547. /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
  548. /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
  549. /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
  550. /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
  551. /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
  552. /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
  553. /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
  554. /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
  555. /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
  556. /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
  557. /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
  558. /package/dist/{scw → client/dist/scw}/api.js +0 -0
  559. /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
  560. /package/dist/{scw → client/dist/scw}/auth.js +0 -0
  561. /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
  562. /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
  563. /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
  564. /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
  565. /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
  566. /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
  567. /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
  568. /package/dist/{scw → client/dist/scw}/client.js +0 -0
  569. /package/dist/{scw → client/dist/scw}/constants.js +0 -0
  570. /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
  571. /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
  572. /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
  573. /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
  574. /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
  575. /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
  576. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
  577. /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
  578. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
  579. /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
  580. /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
  581. /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
  582. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
  583. /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
  584. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
  585. /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
  586. /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
  587. /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
  588. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
  589. /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
  590. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
  591. /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
  592. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
  593. /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
  594. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
  595. /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
  596. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
  597. /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
  598. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
  599. /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
  600. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
  601. /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
  602. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
  603. /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
  604. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
  605. /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
  606. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
  607. /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
  608. /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
  609. /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
  610. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
  611. /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
  612. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
  613. /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
  614. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
  615. /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
  616. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
  617. /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
  618. /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
  619. /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
  620. /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
  621. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
  622. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
  623. /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
  624. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
  625. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
  626. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
  627. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
  628. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
  629. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
  630. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
  631. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
  632. /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
  633. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
  634. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
  635. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
  636. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
  637. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
  638. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
  639. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
  640. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
  641. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
  642. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
  643. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
  644. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
  645. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
  646. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
  647. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
  648. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
  649. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
  650. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
  651. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
  652. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
  653. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
  654. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
  655. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
  656. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
  657. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
  658. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
  659. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
  660. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
  661. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
  662. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
  663. /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { Region as ScwRegion } from '../../../bridge';
1
+ import type { Region as ScwRegion } from '@scaleway/sdk-client';
2
2
  export type BrowseSecretsRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
3
3
  export type EphemeralPolicyAction = 'unknown_action' | 'delete' | 'disable';
4
4
  export type ListSecretsRequestOrderBy = 'name_asc' | 'name_desc' | 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
@@ -8,13 +8,16 @@ export type SecretType = 'unknown_type' | 'opaque' | 'certificate' | 'key_value'
8
8
  export type SecretVersionStatus = 'unknown_status' | 'enabled' | 'disabled' | 'deleted' | 'scheduled_for_deletion';
9
9
  export interface EphemeralPolicy {
10
10
  /**
11
- * Time frame, from one second and up to one year, during which the secret's
12
- * versions are valid.
11
+ * Time frame, from one second and up to one year, during which the secret's versions are valid.
13
12
  */
14
13
  timeToLive?: string;
15
- /** Returns `true` if the version expires after a single user access. */
14
+ /**
15
+ * Returns `true` if the version expires after a single user access.
16
+ */
16
17
  expiresOnceAccessed?: boolean;
17
- /** See the `EphemeralPolicy.Action` enum for a description of values. */
18
+ /**
19
+ * See the `EphemeralPolicy.Action` enum for a description of values.
20
+ */
18
21
  action: EphemeralPolicyAction;
19
22
  }
20
23
  export interface BrowseSecretsResponseItemFolderDetails {
@@ -28,538 +31,670 @@ export interface BrowseSecretsResponseItemSecretDetails {
28
31
  type: SecretType;
29
32
  }
30
33
  export interface EphemeralProperties {
31
- /** (Optional.) If not specified, the version does not have an expiration date. */
34
+ /**
35
+ * (Optional.) If not specified, the version does not have an expiration date.
36
+ */
32
37
  expiresAt?: Date;
33
38
  /**
34
- * (Optional.) If not specified, the version can be accessed an unlimited
35
- * amount of times.
39
+ * (Optional.) If not specified, the version can be accessed an unlimited amount of times.
36
40
  */
37
41
  expiresOnceAccessed?: boolean;
38
- /** See `EphemeralPolicy.Action` enum for a description of values. */
42
+ /**
43
+ * See `EphemeralPolicy.Action` enum for a description of values.
44
+ */
39
45
  action: EphemeralPolicyAction;
40
46
  }
41
47
  export interface BrowseSecretsResponseItem {
42
48
  name: string;
43
49
  createdAt?: Date;
44
50
  updatedAt?: Date;
45
- /** One-of ('details'): at most one of 'secret', 'folder' could be set. */
51
+ /**
52
+ *
53
+ * One-of ('details'): at most one of 'secret', 'folder' could be set.
54
+ */
46
55
  secret?: BrowseSecretsResponseItemSecretDetails;
47
- /** One-of ('details'): at most one of 'secret', 'folder' could be set. */
56
+ /**
57
+ *
58
+ * One-of ('details'): at most one of 'secret', 'folder' could be set.
59
+ */
48
60
  folder?: BrowseSecretsResponseItemFolderDetails;
49
61
  }
50
62
  export interface SecretVersion {
51
63
  /**
52
- * The first version of the secret is numbered 1, and all subsequent revisions
53
- * augment by 1.
64
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1.
54
65
  */
55
66
  revision: number;
56
- /** ID of the secret. */
67
+ /**
68
+ * ID of the secret.
69
+ */
57
70
  secretId: string;
58
71
  /**
59
- * - `unknown_status`: the version is in an invalid state. `enabled`: the
60
- * version is accessible. `disabled`: the version is not accessible but can
61
- * be enabled. `scheduled_for_deletion`: the version is scheduled for
62
- * deletion. It will be deleted in 7 days. `deleted`: the version is
63
- * permanently deleted. It is not possible to recover it.
72
+ * * `unknown_status`: the version is in an invalid state.
73
+ * `enabled`: the version is accessible.
74
+ * `disabled`: the version is not accessible but can be enabled.
75
+ * `scheduled_for_deletion`: the version is scheduled for deletion. It will be deleted in 7 days.
76
+ * `deleted`: the version is permanently deleted. It is not possible to recover it.
64
77
  */
65
78
  status: SecretVersionStatus;
66
- /** Date and time of the version's creation. */
79
+ /**
80
+ * Date and time of the version's creation.
81
+ */
67
82
  createdAt?: Date;
68
- /** Last update of the version. */
83
+ /**
84
+ * Last update of the version.
85
+ */
69
86
  updatedAt?: Date;
70
- /** Date and time of the version's deletion. */
87
+ /**
88
+ * Date and time of the version's deletion.
89
+ */
71
90
  deletedAt?: Date;
72
- /** Description of the version. */
91
+ /**
92
+ * Description of the version.
93
+ */
73
94
  description?: string;
74
- /** Returns `true` if the version is the latest. */
95
+ /**
96
+ * Returns `true` if the version is the latest.
97
+ */
75
98
  latest: boolean;
76
99
  /**
77
- * Returns the version's expiration date, whether it expires after being
78
- * accessed once, and the action to perform (disable or delete) once the
79
- * version expires.
100
+ * Returns the version's expiration date, whether it expires after being accessed once, and the action to perform (disable or delete) once the version expires.
80
101
  */
81
102
  ephemeralProperties?: EphemeralProperties;
82
- /** Returns the time at which deletion was requested. */
103
+ /**
104
+ * Returns the time at which deletion was requested.
105
+ */
83
106
  deletionRequestedAt?: Date;
84
107
  }
85
108
  export interface Secret {
86
- /** ID of the secret. */
109
+ /**
110
+ * ID of the secret.
111
+ */
87
112
  id: string;
88
- /** ID of the Project containing the secret. */
113
+ /**
114
+ * ID of the Project containing the secret.
115
+ */
89
116
  projectId: string;
90
- /** Name of the secret. */
117
+ /**
118
+ * Name of the secret.
119
+ */
91
120
  name: string;
92
121
  /**
93
- * - `ready`: the secret can be read, modified and deleted. `locked`: no action
94
- * can be performed on the secret. This status can only be applied and
95
- * removed by Scaleway.
122
+ * * `ready`: the secret can be read, modified and deleted.
123
+ * `locked`: no action can be performed on the secret. This status can only be applied and removed by Scaleway.
96
124
  */
97
125
  status: SecretStatus;
98
- /** Date and time of the secret's creation. */
126
+ /**
127
+ * Date and time of the secret's creation.
128
+ */
99
129
  createdAt?: Date;
100
- /** Last update of the secret. */
130
+ /**
131
+ * Last update of the secret.
132
+ */
101
133
  updatedAt?: Date;
102
- /** List of the secret's tags. */
134
+ /**
135
+ * List of the secret's tags.
136
+ */
103
137
  tags: string[];
104
- /** Number of versions for this secret. */
138
+ /**
139
+ * Number of versions for this secret.
140
+ */
105
141
  versionCount: number;
106
- /** Updated description of the secret. */
142
+ /**
143
+ * Updated description of the secret.
144
+ */
107
145
  description?: string;
108
- /** Returns `true` for secrets that are managed by another product. */
146
+ /**
147
+ * Returns `true` for secrets that are managed by another product.
148
+ */
109
149
  managed: boolean;
110
- /** Returns `true` for protected secrets that cannot be deleted. */
150
+ /**
151
+ * Returns `true` for protected secrets that cannot be deleted.
152
+ */
111
153
  protected: boolean;
112
- /** See the `Secret.Type` enum for a description of values. */
154
+ /**
155
+ * See the `Secret.Type` enum for a description of values.
156
+ */
113
157
  type: SecretType;
114
- /** Location of the secret in the directory structure. */
158
+ /**
159
+ * Location of the secret in the directory structure.
160
+ */
115
161
  path: string;
116
162
  /**
117
- * (Optional.) Policy that defines whether/when a secret's versions expire. By
118
- * default, the policy is applied to all the secret's versions.
163
+ * (Optional.) Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
119
164
  */
120
165
  ephemeralPolicy?: EphemeralPolicy;
121
- /** List of Scaleway resources that can access and manage the secret. */
166
+ /**
167
+ * List of Scaleway resources that can access and manage the secret.
168
+ */
122
169
  usedBy: Product[];
123
- /** Returns the time at which deletion was requested. */
170
+ /**
171
+ * Returns the time at which deletion was requested.
172
+ */
124
173
  deletionRequestedAt?: Date;
125
- /** Region of the secret. */
174
+ /**
175
+ * Region of the secret.
176
+ */
126
177
  region: ScwRegion;
127
178
  }
128
179
  export type AccessSecretVersionByPathRequest = {
129
180
  /**
130
- * Region to target. If none is passed will use default region from the
131
- * config.
181
+ * Region to target. If none is passed will use default region from the config.
132
182
  */
133
183
  region?: ScwRegion;
134
184
  /**
135
- * The first version of the secret is numbered 1, and all subsequent revisions
136
- * augment by 1. Value can be either:
137
- *
138
- * - An integer (the revision number)
139
- * - "latest" (the latest revision)
140
- * - "latest_enabled" (the latest enabled revision).
185
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
186
+ - an integer (the revision number)
187
+ - "latest" (the latest revision)
188
+ - "latest_enabled" (the latest enabled revision).
141
189
  */
142
190
  revision: string;
143
- /** Secret's path. */
191
+ /**
192
+ * Secret's path.
193
+ */
144
194
  secretPath: string;
145
- /** Secret's name. */
195
+ /**
196
+ * Secret's name.
197
+ */
146
198
  secretName: string;
147
- /** ID of the Project to target. */
199
+ /**
200
+ * ID of the Project to target.
201
+ */
148
202
  projectId?: string;
149
203
  };
150
204
  export type AccessSecretVersionRequest = {
151
205
  /**
152
- * Region to target. If none is passed will use default region from the
153
- * config.
206
+ * Region to target. If none is passed will use default region from the config.
154
207
  */
155
208
  region?: ScwRegion;
156
- /** ID of the secret. */
209
+ /**
210
+ * ID of the secret.
211
+ */
157
212
  secretId: string;
158
213
  /**
159
- * The first version of the secret is numbered 1, and all subsequent revisions
160
- * augment by 1. Value can be either:
161
- *
162
- * - A number (the revision number)
163
- * - "latest" (the latest revision)
164
- * - "latest_enabled" (the latest enabled revision).
214
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
215
+ - a number (the revision number)
216
+ - "latest" (the latest revision)
217
+ - "latest_enabled" (the latest enabled revision).
165
218
  */
166
219
  revision: string;
167
220
  };
168
221
  export interface AccessSecretVersionResponse {
169
- /** ID of the secret. */
222
+ /**
223
+ * ID of the secret.
224
+ */
170
225
  secretId: string;
171
226
  /**
172
- * The first version of the secret is numbered 1, and all subsequent revisions
173
- * augment by 1.
227
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1.
174
228
  */
175
229
  revision: number;
176
- /** The base64-encoded secret payload of the version. */
230
+ /**
231
+ * The base64-encoded secret payload of the version.
232
+ */
177
233
  data: string;
178
234
  /**
179
- * This field is only available if a CRC32 was supplied during the creation of
180
- * the version.
235
+ * This field is only available if a CRC32 was supplied during the creation of the version.
181
236
  */
182
237
  dataCrc32?: number;
183
- /** See the `Secret.Type` enum for a description of values. */
238
+ /**
239
+ * See the `Secret.Type` enum for a description of values.
240
+ */
184
241
  type: SecretType;
185
242
  }
186
243
  export type AddSecretOwnerRequest = {
187
244
  /**
188
- * Region to target. If none is passed will use default region from the
189
- * config.
245
+ * Region to target. If none is passed will use default region from the config.
190
246
  */
191
247
  region?: ScwRegion;
192
- /** ID of the secret. */
248
+ /**
249
+ * ID of the secret.
250
+ */
193
251
  secretId: string;
194
- /** See `Product` enum for description of values. */
252
+ /**
253
+ * See `Product` enum for description of values.
254
+ */
195
255
  product?: Product;
196
256
  };
197
257
  export interface BasicCredentials {
198
- /** The username or identifier associated with the credentials. */
258
+ /**
259
+ * The username or identifier associated with the credentials.
260
+ */
199
261
  username: string;
200
- /** The password associated with the credentials. */
262
+ /**
263
+ * The password associated with the credentials.
264
+ */
201
265
  password: string;
202
266
  }
203
267
  export type BrowseSecretsRequest = {
204
268
  /**
205
- * Region to target. If none is passed will use default region from the
206
- * config.
269
+ * Region to target. If none is passed will use default region from the config.
207
270
  */
208
271
  region?: ScwRegion;
209
- /** Filter by Project ID (optional). */
272
+ /**
273
+ * Filter by Project ID (optional).
274
+ */
210
275
  projectId?: string;
211
276
  orderBy?: BrowseSecretsRequestOrderBy;
212
- /** Filter secrets and folders for a given prefix (default /). */
277
+ /**
278
+ * Filter secrets and folders for a given prefix (default /).
279
+ */
213
280
  prefix: string;
214
281
  page?: number;
215
282
  pageSize?: number;
216
- /** Filter secrets by tags. */
283
+ /**
284
+ * Filter secrets by tags.
285
+ */
217
286
  tags?: string[];
218
- /** Filter by secret type (optional). */
287
+ /**
288
+ * Filter by secret type (optional).
289
+ */
219
290
  type?: SecretType;
220
291
  };
221
292
  export interface BrowseSecretsResponse {
222
- /** Repeated item of type secret or folder, sorted by the request parameter. */
293
+ /**
294
+ * Repeated item of type secret or folder, sorted by the request parameter.
295
+ */
223
296
  items: BrowseSecretsResponseItem[];
224
- /** Current path for the given prefix. */
297
+ /**
298
+ * Current path for the given prefix.
299
+ */
225
300
  currentPath: string;
226
- /** Count of all secrets and folders matching the requested criteria. */
301
+ /**
302
+ * Count of all secrets and folders matching the requested criteria.
303
+ */
227
304
  totalCount: number;
228
305
  }
229
306
  export type CreateSecretRequest = {
230
307
  /**
231
- * Region to target. If none is passed will use default region from the
232
- * config.
308
+ * Region to target. If none is passed will use default region from the config.
233
309
  */
234
310
  region?: ScwRegion;
235
- /** ID of the Project containing the secret. */
311
+ /**
312
+ * ID of the Project containing the secret.
313
+ */
236
314
  projectId?: string;
237
- /** Name of the secret. */
315
+ /**
316
+ * Name of the secret.
317
+ */
238
318
  name: string;
239
- /** List of the secret's tags. */
319
+ /**
320
+ * List of the secret's tags.
321
+ */
240
322
  tags?: string[];
241
- /** Description of the secret. */
323
+ /**
324
+ * Description of the secret.
325
+ */
242
326
  description?: string;
243
327
  /**
244
- * (Optional.) See the `Secret.Type` enum for a description of values. If not
245
- * specified, the type is `Opaque`.
328
+ * (Optional.) See the `Secret.Type` enum for a description of values. If not specified, the type is `Opaque`.
246
329
  */
247
330
  type?: SecretType;
248
331
  /**
249
- * (Optional.) Location of the secret in the directory structure. If not
250
- * specified, the path is `/`.
332
+ * (Optional.) Location of the secret in the directory structure. If not specified, the path is `/`.
251
333
  */
252
334
  path?: string;
253
335
  /**
254
- * (Optional.) Policy that defines whether/when a secret's versions expire. By
255
- * default, the policy is applied to all the secret's versions.
336
+ * (Optional.) Policy that defines whether/when a secret's versions expire. By default, the policy is applied to all the secret's versions.
256
337
  */
257
338
  ephemeralPolicy?: EphemeralPolicy;
258
- /** A protected secret cannot be deleted. */
339
+ /**
340
+ * A protected secret cannot be deleted.
341
+ */
259
342
  protected: boolean;
260
343
  };
261
344
  export type CreateSecretVersionRequest = {
262
345
  /**
263
- * Region to target. If none is passed will use default region from the
264
- * config.
346
+ * Region to target. If none is passed will use default region from the config.
265
347
  */
266
348
  region?: ScwRegion;
267
- /** ID of the secret. */
349
+ /**
350
+ * ID of the secret.
351
+ */
268
352
  secretId: string;
269
- /** The base64-encoded secret payload of the version. */
353
+ /**
354
+ * The base64-encoded secret payload of the version.
355
+ */
270
356
  data: string;
271
- /** Description of the version. */
357
+ /**
358
+ * Description of the version.
359
+ */
272
360
  description?: string;
273
361
  /**
274
- * (Optional.) If there is no previous version or if the previous version was
275
- * already disabled, does nothing.
362
+ * (Optional.) If there is no previous version or if the previous version was already disabled, does nothing.
276
363
  */
277
364
  disablePrevious?: boolean;
278
365
  /**
279
- * If specified, Secret Manager will verify the integrity of the data received
280
- * against the given CRC32 checksum. An error is returned if the CRC32 does
281
- * not match. If, however, the CRC32 matches, it will be stored and returned
282
- * along with the SecretVersion on future access requests.
366
+ * If specified, Secret Manager will verify the integrity of the data received against the given CRC32 checksum. An error is returned if the CRC32 does not match. If, however, the CRC32 matches, it will be stored and returned along with the SecretVersion on future access requests.
283
367
  */
284
368
  dataCrc32?: number;
285
369
  };
286
370
  export interface DatabaseCredentials {
287
- /** Supported database engines are: 'postgres', 'mysql', 'other'. */
371
+ /**
372
+ * Supported database engines are: 'postgres', 'mysql', 'other'.
373
+ */
288
374
  engine: string;
289
- /** The username used to authenticate to the database server. */
375
+ /**
376
+ * The username used to authenticate to the database server.
377
+ */
290
378
  username: string;
291
- /** The password used to authenticate to the database server. */
379
+ /**
380
+ * The password used to authenticate to the database server.
381
+ */
292
382
  password: string;
293
- /** The hostname or resolvable DNS name of the database server. */
383
+ /**
384
+ * The hostname or resolvable DNS name of the database server.
385
+ */
294
386
  host: string;
295
- /** The name of the database to connect to. */
387
+ /**
388
+ * The name of the database to connect to.
389
+ */
296
390
  dbname: string;
297
- /** The port must be an integer ranging from 0 to 65535. */
391
+ /**
392
+ * The port must be an integer ranging from 0 to 65535.
393
+ */
298
394
  port: string;
299
395
  }
300
396
  export type DeleteSecretRequest = {
301
397
  /**
302
- * Region to target. If none is passed will use default region from the
303
- * config.
398
+ * Region to target. If none is passed will use default region from the config.
304
399
  */
305
400
  region?: ScwRegion;
306
- /** ID of the secret. */
401
+ /**
402
+ * ID of the secret.
403
+ */
307
404
  secretId: string;
308
405
  };
309
406
  export type DeleteSecretVersionRequest = {
310
407
  /**
311
- * Region to target. If none is passed will use default region from the
312
- * config.
408
+ * Region to target. If none is passed will use default region from the config.
313
409
  */
314
410
  region?: ScwRegion;
315
- /** ID of the secret. */
411
+ /**
412
+ * ID of the secret.
413
+ */
316
414
  secretId: string;
317
415
  /**
318
- * The first version of the secret is numbered 1, and all subsequent revisions
319
- * augment by 1. Value can be either:
320
- *
321
- * - A number (the revision number)
322
- * - "latest" (the latest revision)
323
- * - "latest_enabled" (the latest enabled revision).
416
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
417
+ - a number (the revision number)
418
+ - "latest" (the latest revision)
419
+ - "latest_enabled" (the latest enabled revision).
324
420
  */
325
421
  revision: string;
326
422
  };
327
423
  export type DisableSecretVersionRequest = {
328
424
  /**
329
- * Region to target. If none is passed will use default region from the
330
- * config.
425
+ * Region to target. If none is passed will use default region from the config.
331
426
  */
332
427
  region?: ScwRegion;
333
- /** ID of the secret. */
428
+ /**
429
+ * ID of the secret.
430
+ */
334
431
  secretId: string;
335
432
  /**
336
- * The first version of the secret is numbered 1, and all subsequent revisions
337
- * augment by 1. Value can be either:
338
- *
339
- * - A number (the revision number)
340
- * - "latest" (the latest revision)
341
- * - "latest_enabled" (the latest enabled revision).
433
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
434
+ - a number (the revision number)
435
+ - "latest" (the latest revision)
436
+ - "latest_enabled" (the latest enabled revision).
342
437
  */
343
438
  revision: string;
344
439
  };
345
440
  export type EnableSecretVersionRequest = {
346
441
  /**
347
- * Region to target. If none is passed will use default region from the
348
- * config.
442
+ * Region to target. If none is passed will use default region from the config.
349
443
  */
350
444
  region?: ScwRegion;
351
- /** ID of the secret. */
445
+ /**
446
+ * ID of the secret.
447
+ */
352
448
  secretId: string;
353
449
  /**
354
- * The first version of the secret is numbered 1, and all subsequent revisions
355
- * augment by 1. Value can be either:
356
- *
357
- * - A number (the revision number)
358
- * - "latest" (the latest revision)
359
- * - "latest_enabled" (the latest enabled revision).
450
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
451
+ - a number (the revision number)
452
+ - "latest" (the latest revision)
453
+ - "latest_enabled" (the latest enabled revision).
360
454
  */
361
455
  revision: string;
362
456
  };
363
457
  export type GetSecretRequest = {
364
458
  /**
365
- * Region to target. If none is passed will use default region from the
366
- * config.
459
+ * Region to target. If none is passed will use default region from the config.
367
460
  */
368
461
  region?: ScwRegion;
369
- /** ID of the secret. */
462
+ /**
463
+ * ID of the secret.
464
+ */
370
465
  secretId: string;
371
466
  };
372
467
  export type GetSecretVersionRequest = {
373
468
  /**
374
- * Region to target. If none is passed will use default region from the
375
- * config.
469
+ * Region to target. If none is passed will use default region from the config.
376
470
  */
377
471
  region?: ScwRegion;
378
- /** ID of the secret. */
472
+ /**
473
+ * ID of the secret.
474
+ */
379
475
  secretId: string;
380
476
  /**
381
- * The first version of the secret is numbered 1, and all subsequent revisions
382
- * augment by 1. Value can be either:
383
- *
384
- * - A number (the revision number)
385
- * - "latest" (the latest revision)
386
- * - "latest_enabled" (the latest enabled revision).
477
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
478
+ - a number (the revision number)
479
+ - "latest" (the latest revision)
480
+ - "latest_enabled" (the latest enabled revision).
387
481
  */
388
482
  revision: string;
389
483
  };
390
484
  export type ListSecretTypesRequest = {
391
485
  /**
392
- * Region to target. If none is passed will use default region from the
393
- * config.
486
+ * Region to target. If none is passed will use default region from the config.
394
487
  */
395
488
  region?: ScwRegion;
396
- /** ID of the Project to target. */
489
+ /**
490
+ * ID of the Project to target.
491
+ */
397
492
  projectId?: string;
398
493
  page?: number;
399
494
  pageSize?: number;
400
495
  };
401
496
  export interface ListSecretTypesResponse {
402
- /** List of secret types. */
497
+ /**
498
+ * List of secret types.
499
+ */
403
500
  types: SecretType[];
404
- /** Count of all secret types matching the requested criteria. */
501
+ /**
502
+ * Count of all secret types matching the requested criteria.
503
+ */
405
504
  totalCount: number;
406
505
  }
407
506
  export type ListSecretVersionsRequest = {
408
507
  /**
409
- * Region to target. If none is passed will use default region from the
410
- * config.
508
+ * Region to target. If none is passed will use default region from the config.
411
509
  */
412
510
  region?: ScwRegion;
413
- /** ID of the secret. */
511
+ /**
512
+ * ID of the secret.
513
+ */
414
514
  secretId: string;
415
515
  page?: number;
416
516
  pageSize?: number;
417
- /** Filter results by status. */
517
+ /**
518
+ * Filter results by status.
519
+ */
418
520
  status?: SecretVersionStatus[];
419
521
  };
420
522
  export interface ListSecretVersionsResponse {
421
- /** Single page of versions. */
523
+ /**
524
+ * Single page of versions.
525
+ */
422
526
  versions: SecretVersion[];
423
- /** Number of versions. */
527
+ /**
528
+ * Number of versions.
529
+ */
424
530
  totalCount: number;
425
531
  }
426
532
  export type ListSecretsRequest = {
427
533
  /**
428
- * Region to target. If none is passed will use default region from the
429
- * config.
534
+ * Region to target. If none is passed will use default region from the config.
430
535
  */
431
536
  region?: ScwRegion;
432
- /** Filter by Organization ID (optional). */
537
+ /**
538
+ * Filter by Organization ID (optional).
539
+ */
433
540
  organizationId?: string;
434
- /** Filter by Project ID (optional). */
541
+ /**
542
+ * Filter by Project ID (optional).
543
+ */
435
544
  projectId?: string;
436
545
  orderBy?: ListSecretsRequestOrderBy;
437
546
  page?: number;
438
547
  pageSize?: number;
439
- /** List of tags to filter on (optional). */
548
+ /**
549
+ * List of tags to filter on (optional).
550
+ */
440
551
  tags?: string[];
441
- /** Filter by secret name (optional). */
552
+ /**
553
+ * Filter by secret name (optional).
554
+ */
442
555
  name?: string;
443
- /** Filter by exact path (optional). */
556
+ /**
557
+ * Filter by exact path (optional).
558
+ */
444
559
  path?: string;
445
- /** Filter by ephemeral / not ephemeral (optional). */
560
+ /**
561
+ * Filter by ephemeral / not ephemeral (optional).
562
+ */
446
563
  ephemeral?: boolean;
447
- /** Filter by secret type (optional). */
564
+ /**
565
+ * Filter by secret type (optional).
566
+ */
448
567
  type?: SecretType;
449
568
  /**
450
- * Filter by whether the secret was scheduled for deletion / not scheduled for
451
- * deletion. By default, it will display only not scheduled for deletion
452
- * secrets.
569
+ * Filter by whether the secret was scheduled for deletion / not scheduled for deletion. By default, it will display only not scheduled for deletion secrets.
453
570
  */
454
571
  scheduledForDeletion: boolean;
455
572
  };
456
573
  export interface ListSecretsResponse {
457
- /** Single page of secrets matching the requested criteria. */
574
+ /**
575
+ * Single page of secrets matching the requested criteria.
576
+ */
458
577
  secrets: Secret[];
459
- /** Count of all secrets matching the requested criteria. */
578
+ /**
579
+ * Count of all secrets matching the requested criteria.
580
+ */
460
581
  totalCount: number;
461
582
  }
462
583
  export type ListTagsRequest = {
463
584
  /**
464
- * Region to target. If none is passed will use default region from the
465
- * config.
585
+ * Region to target. If none is passed will use default region from the config.
466
586
  */
467
587
  region?: ScwRegion;
468
- /** ID of the Project to target. */
588
+ /**
589
+ * ID of the Project to target.
590
+ */
469
591
  projectId?: string;
470
592
  page?: number;
471
593
  pageSize?: number;
472
594
  };
473
595
  export interface ListTagsResponse {
474
- /** List of tags. */
596
+ /**
597
+ * List of tags.
598
+ */
475
599
  tags: string[];
476
- /** Count of all tags matching the requested criteria. */
600
+ /**
601
+ * Count of all tags matching the requested criteria.
602
+ */
477
603
  totalCount: number;
478
604
  }
479
605
  export type ProtectSecretRequest = {
480
606
  /**
481
- * Region to target. If none is passed will use default region from the
482
- * config.
607
+ * Region to target. If none is passed will use default region from the config.
483
608
  */
484
609
  region?: ScwRegion;
485
- /** ID of the secret to enable secret protection for. */
610
+ /**
611
+ * ID of the secret to enable secret protection for.
612
+ */
486
613
  secretId: string;
487
614
  };
488
615
  export type RestoreSecretRequest = {
489
616
  /**
490
- * Region to target. If none is passed will use default region from the
491
- * config.
617
+ * Region to target. If none is passed will use default region from the config.
492
618
  */
493
619
  region?: ScwRegion;
494
620
  secretId: string;
495
621
  };
496
622
  export type RestoreSecretVersionRequest = {
497
623
  /**
498
- * Region to target. If none is passed will use default region from the
499
- * config.
624
+ * Region to target. If none is passed will use default region from the config.
500
625
  */
501
626
  region?: ScwRegion;
502
627
  secretId: string;
503
628
  revision: string;
504
629
  };
505
630
  export interface SSHKey {
506
- /** The private SSH key. */
631
+ /**
632
+ * The private SSH key.
633
+ */
507
634
  sshPrivateKey: string;
508
635
  }
509
636
  export type UnprotectSecretRequest = {
510
637
  /**
511
- * Region to target. If none is passed will use default region from the
512
- * config.
638
+ * Region to target. If none is passed will use default region from the config.
513
639
  */
514
640
  region?: ScwRegion;
515
- /** ID of the secret to disable secret protection for. */
641
+ /**
642
+ * ID of the secret to disable secret protection for.
643
+ */
516
644
  secretId: string;
517
645
  };
518
646
  export type UpdateSecretRequest = {
519
647
  /**
520
- * Region to target. If none is passed will use default region from the
521
- * config.
648
+ * Region to target. If none is passed will use default region from the config.
522
649
  */
523
650
  region?: ScwRegion;
524
- /** ID of the secret. */
651
+ /**
652
+ * ID of the secret.
653
+ */
525
654
  secretId: string;
526
- /** Secret's updated name (optional). */
655
+ /**
656
+ * Secret's updated name (optional).
657
+ */
527
658
  name?: string;
528
- /** Secret's updated list of tags (optional). */
659
+ /**
660
+ * Secret's updated list of tags (optional).
661
+ */
529
662
  tags?: string[];
530
- /** Description of the secret. */
663
+ /**
664
+ * Description of the secret.
665
+ */
531
666
  description?: string;
532
667
  /**
533
- * (Optional.) Location of the folder in the directory structure. If not
534
- * specified, the path is `/`.
668
+ * (Optional.) Location of the folder in the directory structure. If not specified, the path is `/`.
535
669
  */
536
670
  path?: string;
537
- /** (Optional.) Policy that defines whether/when a secret's versions expire. */
671
+ /**
672
+ * (Optional.) Policy that defines whether/when a secret's versions expire.
673
+ */
538
674
  ephemeralPolicy?: EphemeralPolicy;
539
675
  };
540
676
  export type UpdateSecretVersionRequest = {
541
677
  /**
542
- * Region to target. If none is passed will use default region from the
543
- * config.
678
+ * Region to target. If none is passed will use default region from the config.
544
679
  */
545
680
  region?: ScwRegion;
546
- /** ID of the secret. */
681
+ /**
682
+ * ID of the secret.
683
+ */
547
684
  secretId: string;
548
685
  /**
549
- * The first version of the secret is numbered 1, and all subsequent revisions
550
- * augment by 1. Value can be either:
551
- *
552
- * - A number (the revision number)
553
- * - "latest" (the latest revision)
554
- * - "latest_enabled" (the latest enabled revision).
686
+ * The first version of the secret is numbered 1, and all subsequent revisions augment by 1. Value can be either:
687
+ - a number (the revision number)
688
+ - "latest" (the latest revision)
689
+ - "latest_enabled" (the latest enabled revision).
555
690
  */
556
691
  revision: string;
557
- /** Description of the version. */
692
+ /**
693
+ * Description of the version.
694
+ */
558
695
  description?: string;
559
696
  /**
560
- * (Optional.) Properties that defines the version's expiration date, whether
561
- * it expires after being accessed once, and the action to perform (disable or
562
- * delete) once the version expires.
697
+ * (Optional.) Properties that defines the version's expiration date, whether it expires after being accessed once, and the action to perform (disable or delete) once the version expires.
563
698
  */
564
699
  ephemeralProperties?: EphemeralProperties;
565
700
  };