@flui-cloud/cli 0.0.1

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 (873) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +124 -0
  3. package/bin/run +17 -0
  4. package/lib/cli/src/background/cluster-worker.d.ts +11 -0
  5. package/lib/cli/src/background/cluster-worker.js +90 -0
  6. package/lib/cli/src/cli-providers.module.d.ts +2 -0
  7. package/lib/cli/src/cli-providers.module.js +118 -0
  8. package/lib/cli/src/cli.module.d.ts +13 -0
  9. package/lib/cli/src/cli.module.js +80 -0
  10. package/lib/cli/src/commands/_diag-oidc.d.ts +6 -0
  11. package/lib/cli/src/commands/_diag-oidc.js +132 -0
  12. package/lib/cli/src/commands/app/backup/create.d.ts +20 -0
  13. package/lib/cli/src/commands/app/backup/create.js +128 -0
  14. package/lib/cli/src/commands/app/backup/delete.d.ts +19 -0
  15. package/lib/cli/src/commands/app/backup/delete.js +95 -0
  16. package/lib/cli/src/commands/app/build.d.ts +17 -0
  17. package/lib/cli/src/commands/app/build.js +133 -0
  18. package/lib/cli/src/commands/app/builds.d.ts +14 -0
  19. package/lib/cli/src/commands/app/builds.js +82 -0
  20. package/lib/cli/src/commands/app/crash.d.ts +16 -0
  21. package/lib/cli/src/commands/app/crash.js +106 -0
  22. package/lib/cli/src/commands/app/crashes.d.ts +15 -0
  23. package/lib/cli/src/commands/app/crashes.js +99 -0
  24. package/lib/cli/src/commands/app/delete.d.ts +16 -0
  25. package/lib/cli/src/commands/app/delete.js +149 -0
  26. package/lib/cli/src/commands/app/image/delete.d.ts +18 -0
  27. package/lib/cli/src/commands/app/image/delete.js +72 -0
  28. package/lib/cli/src/commands/app/init.d.ts +40 -0
  29. package/lib/cli/src/commands/app/init.js +436 -0
  30. package/lib/cli/src/commands/app/list.d.ts +11 -0
  31. package/lib/cli/src/commands/app/list.js +84 -0
  32. package/lib/cli/src/commands/app/logs.d.ts +18 -0
  33. package/lib/cli/src/commands/app/logs.js +121 -0
  34. package/lib/cli/src/commands/app/metrics.d.ts +17 -0
  35. package/lib/cli/src/commands/app/metrics.js +100 -0
  36. package/lib/cli/src/commands/app/redeploy.d.ts +14 -0
  37. package/lib/cli/src/commands/app/redeploy.js +60 -0
  38. package/lib/cli/src/commands/app/releases.d.ts +15 -0
  39. package/lib/cli/src/commands/app/releases.js +117 -0
  40. package/lib/cli/src/commands/app/restart.d.ts +12 -0
  41. package/lib/cli/src/commands/app/restart.js +44 -0
  42. package/lib/cli/src/commands/app/scale.d.ts +13 -0
  43. package/lib/cli/src/commands/app/scale.js +58 -0
  44. package/lib/cli/src/commands/app/snapshot/create.d.ts +14 -0
  45. package/lib/cli/src/commands/app/snapshot/create.js +85 -0
  46. package/lib/cli/src/commands/app/snapshot/delete.d.ts +14 -0
  47. package/lib/cli/src/commands/app/snapshot/delete.js +63 -0
  48. package/lib/cli/src/commands/app/snapshot/list.d.ts +11 -0
  49. package/lib/cli/src/commands/app/snapshot/list.js +82 -0
  50. package/lib/cli/src/commands/app/snapshot/restore.d.ts +15 -0
  51. package/lib/cli/src/commands/app/snapshot/restore.js +74 -0
  52. package/lib/cli/src/commands/app/snapshot/swap.d.ts +15 -0
  53. package/lib/cli/src/commands/app/snapshot/swap.js +68 -0
  54. package/lib/cli/src/commands/app/start.d.ts +12 -0
  55. package/lib/cli/src/commands/app/start.js +45 -0
  56. package/lib/cli/src/commands/app/status.d.ts +15 -0
  57. package/lib/cli/src/commands/app/status.js +108 -0
  58. package/lib/cli/src/commands/app/stop.d.ts +12 -0
  59. package/lib/cli/src/commands/app/stop.js +45 -0
  60. package/lib/cli/src/commands/app/versions.d.ts +14 -0
  61. package/lib/cli/src/commands/app/versions.js +80 -0
  62. package/lib/cli/src/commands/auth/generate-api-key.d.ts +12 -0
  63. package/lib/cli/src/commands/auth/generate-api-key.js +90 -0
  64. package/lib/cli/src/commands/auth/login.d.ts +11 -0
  65. package/lib/cli/src/commands/auth/login.js +296 -0
  66. package/lib/cli/src/commands/auth/reset-password.d.ts +15 -0
  67. package/lib/cli/src/commands/auth/reset-password.js +253 -0
  68. package/lib/cli/src/commands/backup/destination/create.d.ts +22 -0
  69. package/lib/cli/src/commands/backup/destination/create.js +102 -0
  70. package/lib/cli/src/commands/backup/destination/delete.d.ts +11 -0
  71. package/lib/cli/src/commands/backup/destination/delete.js +46 -0
  72. package/lib/cli/src/commands/backup/destination/list.d.ts +9 -0
  73. package/lib/cli/src/commands/backup/destination/list.js +42 -0
  74. package/lib/cli/src/commands/backup/destination/show.d.ts +11 -0
  75. package/lib/cli/src/commands/backup/destination/show.js +45 -0
  76. package/lib/cli/src/commands/backup/destination/test.d.ts +8 -0
  77. package/lib/cli/src/commands/backup/destination/test.js +39 -0
  78. package/lib/cli/src/commands/backup/job/list.d.ts +9 -0
  79. package/lib/cli/src/commands/backup/job/list.js +38 -0
  80. package/lib/cli/src/commands/backup/job/run.d.ts +8 -0
  81. package/lib/cli/src/commands/backup/job/run.js +32 -0
  82. package/lib/cli/src/commands/backup/job/show.d.ts +11 -0
  83. package/lib/cli/src/commands/backup/job/show.js +38 -0
  84. package/lib/cli/src/commands/backup/policy/create.d.ts +21 -0
  85. package/lib/cli/src/commands/backup/policy/create.js +97 -0
  86. package/lib/cli/src/commands/backup/policy/delete.d.ts +11 -0
  87. package/lib/cli/src/commands/backup/policy/delete.js +42 -0
  88. package/lib/cli/src/commands/backup/policy/list.d.ts +9 -0
  89. package/lib/cli/src/commands/backup/policy/list.js +40 -0
  90. package/lib/cli/src/commands/backup/policy/show.d.ts +11 -0
  91. package/lib/cli/src/commands/backup/policy/show.js +45 -0
  92. package/lib/cli/src/commands/backup/restore/create.d.ts +14 -0
  93. package/lib/cli/src/commands/backup/restore/create.js +68 -0
  94. package/lib/cli/src/commands/backup/restore/list.d.ts +8 -0
  95. package/lib/cli/src/commands/backup/restore/list.js +33 -0
  96. package/lib/cli/src/commands/backup/restore/preview.d.ts +9 -0
  97. package/lib/cli/src/commands/backup/restore/preview.js +29 -0
  98. package/lib/cli/src/commands/backup/restore/show.d.ts +11 -0
  99. package/lib/cli/src/commands/backup/restore/show.js +40 -0
  100. package/lib/cli/src/commands/catalog/validate.d.ts +14 -0
  101. package/lib/cli/src/commands/catalog/validate.js +155 -0
  102. package/lib/cli/src/commands/cluster/destroy.d.ts +15 -0
  103. package/lib/cli/src/commands/cluster/destroy.js +137 -0
  104. package/lib/cli/src/commands/config/get.d.ts +9 -0
  105. package/lib/cli/src/commands/config/get.js +47 -0
  106. package/lib/cli/src/commands/config/list.d.ts +15 -0
  107. package/lib/cli/src/commands/config/list.js +109 -0
  108. package/lib/cli/src/commands/config/remove.d.ts +12 -0
  109. package/lib/cli/src/commands/config/remove.js +92 -0
  110. package/lib/cli/src/commands/config/set.d.ts +15 -0
  111. package/lib/cli/src/commands/config/set.js +152 -0
  112. package/lib/cli/src/commands/config/show.d.ts +6 -0
  113. package/lib/cli/src/commands/config/show.js +15 -0
  114. package/lib/cli/src/commands/context/create.d.ts +12 -0
  115. package/lib/cli/src/commands/context/create.js +46 -0
  116. package/lib/cli/src/commands/context/delete.d.ts +12 -0
  117. package/lib/cli/src/commands/context/delete.js +53 -0
  118. package/lib/cli/src/commands/context/list.d.ts +6 -0
  119. package/lib/cli/src/commands/context/list.js +29 -0
  120. package/lib/cli/src/commands/context/show.d.ts +6 -0
  121. package/lib/cli/src/commands/context/show.js +12 -0
  122. package/lib/cli/src/commands/context/use.d.ts +9 -0
  123. package/lib/cli/src/commands/context/use.js +30 -0
  124. package/lib/cli/src/commands/deploy.d.ts +49 -0
  125. package/lib/cli/src/commands/deploy.js +542 -0
  126. package/lib/cli/src/commands/dev/creds.d.ts +19 -0
  127. package/lib/cli/src/commands/dev/creds.js +290 -0
  128. package/lib/cli/src/commands/dev/tunnel.d.ts +15 -0
  129. package/lib/cli/src/commands/dev/tunnel.js +268 -0
  130. package/lib/cli/src/commands/dns/cleanup.d.ts +11 -0
  131. package/lib/cli/src/commands/dns/cleanup.js +93 -0
  132. package/lib/cli/src/commands/env/capacity.d.ts +12 -0
  133. package/lib/cli/src/commands/env/capacity.js +177 -0
  134. package/lib/cli/src/commands/env/create.d.ts +21 -0
  135. package/lib/cli/src/commands/env/create.js +721 -0
  136. package/lib/cli/src/commands/env/credentials.d.ts +21 -0
  137. package/lib/cli/src/commands/env/credentials.js +435 -0
  138. package/lib/cli/src/commands/env/destroy.d.ts +9 -0
  139. package/lib/cli/src/commands/env/destroy.js +145 -0
  140. package/lib/cli/src/commands/env/diag-ca.d.ts +14 -0
  141. package/lib/cli/src/commands/env/diag-ca.js +192 -0
  142. package/lib/cli/src/commands/env/export-config.d.ts +39 -0
  143. package/lib/cli/src/commands/env/export-config.js +386 -0
  144. package/lib/cli/src/commands/env/force-ready.d.ts +10 -0
  145. package/lib/cli/src/commands/env/force-ready.js +222 -0
  146. package/lib/cli/src/commands/env/inspect.d.ts +12 -0
  147. package/lib/cli/src/commands/env/inspect.js +192 -0
  148. package/lib/cli/src/commands/env/kubectl.d.ts +9 -0
  149. package/lib/cli/src/commands/env/kubectl.js +33 -0
  150. package/lib/cli/src/commands/env/logs.d.ts +12 -0
  151. package/lib/cli/src/commands/env/logs.js +136 -0
  152. package/lib/cli/src/commands/env/orphan-volumes.d.ts +11 -0
  153. package/lib/cli/src/commands/env/orphan-volumes.js +153 -0
  154. package/lib/cli/src/commands/env/refresh-kubeconfig.d.ts +6 -0
  155. package/lib/cli/src/commands/env/refresh-kubeconfig.js +66 -0
  156. package/lib/cli/src/commands/env/repair-ssh-ca.d.ts +11 -0
  157. package/lib/cli/src/commands/env/repair-ssh-ca.js +137 -0
  158. package/lib/cli/src/commands/env/restart.d.ts +10 -0
  159. package/lib/cli/src/commands/env/restart.js +187 -0
  160. package/lib/cli/src/commands/env/scale-master.d.ts +11 -0
  161. package/lib/cli/src/commands/env/scale-master.js +160 -0
  162. package/lib/cli/src/commands/env/scale-node.d.ts +14 -0
  163. package/lib/cli/src/commands/env/scale-node.js +139 -0
  164. package/lib/cli/src/commands/env/status.d.ts +10 -0
  165. package/lib/cli/src/commands/env/status.js +182 -0
  166. package/lib/cli/src/commands/env/stop.d.ts +6 -0
  167. package/lib/cli/src/commands/env/stop.js +147 -0
  168. package/lib/cli/src/commands/env/storage-expand.d.ts +10 -0
  169. package/lib/cli/src/commands/env/storage-expand.js +124 -0
  170. package/lib/cli/src/commands/env/storage.d.ts +8 -0
  171. package/lib/cli/src/commands/env/storage.js +92 -0
  172. package/lib/cli/src/commands/env/sync.d.ts +17 -0
  173. package/lib/cli/src/commands/env/sync.js +225 -0
  174. package/lib/cli/src/commands/env/uncordon.d.ts +9 -0
  175. package/lib/cli/src/commands/env/uncordon.js +73 -0
  176. package/lib/cli/src/commands/env/update-firewall.d.ts +9 -0
  177. package/lib/cli/src/commands/env/update-firewall.js +185 -0
  178. package/lib/cli/src/commands/integration/connect.d.ts +13 -0
  179. package/lib/cli/src/commands/integration/connect.js +161 -0
  180. package/lib/cli/src/commands/integration/ghcr-pat/revoke.d.ts +9 -0
  181. package/lib/cli/src/commands/integration/ghcr-pat/revoke.js +61 -0
  182. package/lib/cli/src/commands/integration/ghcr-pat/set.d.ts +12 -0
  183. package/lib/cli/src/commands/integration/ghcr-pat/set.js +141 -0
  184. package/lib/cli/src/commands/integration/ghcr-pat/status.d.ts +6 -0
  185. package/lib/cli/src/commands/integration/ghcr-pat/status.js +69 -0
  186. package/lib/cli/src/commands/integration/installations.d.ts +6 -0
  187. package/lib/cli/src/commands/integration/installations.js +45 -0
  188. package/lib/cli/src/commands/integration/list.d.ts +8 -0
  189. package/lib/cli/src/commands/integration/list.js +67 -0
  190. package/lib/cli/src/commands/integration/remove-installation.d.ts +12 -0
  191. package/lib/cli/src/commands/integration/remove-installation.js +71 -0
  192. package/lib/cli/src/commands/integration/setup-github-app.d.ts +10 -0
  193. package/lib/cli/src/commands/integration/setup-github-app.js +162 -0
  194. package/lib/cli/src/commands/node/add.d.ts +11 -0
  195. package/lib/cli/src/commands/node/add.js +103 -0
  196. package/lib/cli/src/commands/node/list.d.ts +11 -0
  197. package/lib/cli/src/commands/node/list.js +83 -0
  198. package/lib/cli/src/commands/node/remove.d.ts +16 -0
  199. package/lib/cli/src/commands/node/remove.js +161 -0
  200. package/lib/cli/src/commands/reconcile.d.ts +19 -0
  201. package/lib/cli/src/commands/reconcile.js +171 -0
  202. package/lib/cli/src/commands/repo/connect.d.ts +12 -0
  203. package/lib/cli/src/commands/repo/connect.js +133 -0
  204. package/lib/cli/src/commands/repo/disconnect.d.ts +12 -0
  205. package/lib/cli/src/commands/repo/disconnect.js +73 -0
  206. package/lib/cli/src/commands/repo/list.d.ts +9 -0
  207. package/lib/cli/src/commands/repo/list.js +66 -0
  208. package/lib/cli/src/commands/server-types/list.d.ts +12 -0
  209. package/lib/cli/src/commands/server-types/list.js +205 -0
  210. package/lib/cli/src/commands/ssh.d.ts +9 -0
  211. package/lib/cli/src/commands/ssh.js +94 -0
  212. package/lib/cli/src/commands/standalone/install.d.ts +27 -0
  213. package/lib/cli/src/commands/standalone/install.js +330 -0
  214. package/lib/cli/src/commands/template/use.d.ts +16 -0
  215. package/lib/cli/src/commands/template/use.js +111 -0
  216. package/lib/cli/src/commands/update.d.ts +6 -0
  217. package/lib/cli/src/commands/update.js +87 -0
  218. package/lib/cli/src/config/bootstrap.config.d.ts +37 -0
  219. package/lib/cli/src/config/bootstrap.config.js +33 -0
  220. package/lib/cli/src/config/defaults.d.ts +46 -0
  221. package/lib/cli/src/config/defaults.js +79 -0
  222. package/lib/cli/src/config/key-router.d.ts +22 -0
  223. package/lib/cli/src/config/key-router.js +45 -0
  224. package/lib/cli/src/config/preferences-echo.d.ts +9 -0
  225. package/lib/cli/src/config/preferences-echo.js +61 -0
  226. package/lib/cli/src/config/preferences-resolver.d.ts +43 -0
  227. package/lib/cli/src/config/preferences-resolver.js +100 -0
  228. package/lib/cli/src/config/preferences-schema.d.ts +32 -0
  229. package/lib/cli/src/config/preferences-schema.js +53 -0
  230. package/lib/cli/src/hooks/command_not_found.d.ts +3 -0
  231. package/lib/cli/src/hooks/command_not_found.js +44 -0
  232. package/lib/cli/src/lib/api-client.d.ts +58 -0
  233. package/lib/cli/src/lib/api-client.js +162 -0
  234. package/lib/cli/src/lib/backup-client.d.ts +131 -0
  235. package/lib/cli/src/lib/backup-client.js +78 -0
  236. package/lib/cli/src/lib/browser-callback.d.ts +3 -0
  237. package/lib/cli/src/lib/browser-callback.js +83 -0
  238. package/lib/cli/src/lib/byos-precheck.d.ts +29 -0
  239. package/lib/cli/src/lib/byos-precheck.js +162 -0
  240. package/lib/cli/src/lib/ca-utils.d.ts +13 -0
  241. package/lib/cli/src/lib/ca-utils.js +72 -0
  242. package/lib/cli/src/lib/cli-credential-provider.service.d.ts +31 -0
  243. package/lib/cli/src/lib/cli-credential-provider.service.js +86 -0
  244. package/lib/cli/src/lib/config-storage.d.ts +128 -0
  245. package/lib/cli/src/lib/config-storage.js +349 -0
  246. package/lib/cli/src/lib/config.d.ts +23 -0
  247. package/lib/cli/src/lib/config.js +113 -0
  248. package/lib/cli/src/lib/context-banner.d.ts +12 -0
  249. package/lib/cli/src/lib/context-banner.js +25 -0
  250. package/lib/cli/src/lib/format-bytes.d.ts +1 -0
  251. package/lib/cli/src/lib/format-bytes.js +18 -0
  252. package/lib/cli/src/lib/framework-detector.d.ts +12 -0
  253. package/lib/cli/src/lib/framework-detector.js +216 -0
  254. package/lib/cli/src/lib/framework-postchecks.d.ts +11 -0
  255. package/lib/cli/src/lib/framework-postchecks.js +152 -0
  256. package/lib/cli/src/lib/nest-app.d.ts +17 -0
  257. package/lib/cli/src/lib/nest-app.js +69 -0
  258. package/lib/cli/src/lib/nip-base-domain.util.d.ts +8 -0
  259. package/lib/cli/src/lib/nip-base-domain.util.js +17 -0
  260. package/lib/cli/src/lib/profile-manager.d.ts +56 -0
  261. package/lib/cli/src/lib/profile-manager.js +207 -0
  262. package/lib/cli/src/lib/prompts.d.ts +67 -0
  263. package/lib/cli/src/lib/prompts.js +475 -0
  264. package/lib/cli/src/lib/provider-credential-schemas.d.ts +29 -0
  265. package/lib/cli/src/lib/provider-credential-schemas.js +48 -0
  266. package/lib/cli/src/lib/repositories/cli-cluster.repository.d.ts +56 -0
  267. package/lib/cli/src/lib/repositories/cli-cluster.repository.js +216 -0
  268. package/lib/cli/src/lib/repositories/cli-firewall.repository.d.ts +13 -0
  269. package/lib/cli/src/lib/repositories/cli-firewall.repository.js +147 -0
  270. package/lib/cli/src/lib/repositories/cli-node.repository.d.ts +26 -0
  271. package/lib/cli/src/lib/repositories/cli-node.repository.js +164 -0
  272. package/lib/cli/src/lib/repositories/cli-operation.repository.d.ts +57 -0
  273. package/lib/cli/src/lib/repositories/cli-operation.repository.js +226 -0
  274. package/lib/cli/src/lib/repositories/cli-vnet.repository.d.ts +22 -0
  275. package/lib/cli/src/lib/repositories/cli-vnet.repository.js +175 -0
  276. package/lib/cli/src/lib/repositories/index.d.ts +5 -0
  277. package/lib/cli/src/lib/repositories/index.js +21 -0
  278. package/lib/cli/src/lib/resolve-cluster.d.ts +16 -0
  279. package/lib/cli/src/lib/resolve-cluster.js +34 -0
  280. package/lib/cli/src/lib/scaleway-validator.d.ts +5 -0
  281. package/lib/cli/src/lib/scaleway-validator.js +87 -0
  282. package/lib/cli/src/lib/server-utils.d.ts +8 -0
  283. package/lib/cli/src/lib/server-utils.js +19 -0
  284. package/lib/cli/src/lib/services/cli-app.service.d.ts +294 -0
  285. package/lib/cli/src/lib/services/cli-app.service.js +162 -0
  286. package/lib/cli/src/lib/services/cli-node.service.d.ts +43 -0
  287. package/lib/cli/src/lib/services/cli-node.service.js +34 -0
  288. package/lib/cli/src/lib/services/provider-sync.service.d.ts +90 -0
  289. package/lib/cli/src/lib/services/provider-sync.service.js +178 -0
  290. package/lib/cli/src/lib/services/reconciliation.service.d.ts +40 -0
  291. package/lib/cli/src/lib/services/reconciliation.service.js +119 -0
  292. package/lib/cli/src/lib/services/vnet-provisioning.service.d.ts +37 -0
  293. package/lib/cli/src/lib/services/vnet-provisioning.service.js +164 -0
  294. package/lib/cli/src/lib/ssh-key.d.ts +23 -0
  295. package/lib/cli/src/lib/ssh-key.js +126 -0
  296. package/lib/cli/src/lib/template-fetcher.d.ts +25 -0
  297. package/lib/cli/src/lib/template-fetcher.js +48 -0
  298. package/lib/cli/src/lib/templates/firewall-rules.d.ts +8 -0
  299. package/lib/cli/src/lib/templates/firewall-rules.js +17 -0
  300. package/lib/cli/src/lib/typeorm-shim.d.ts +12 -0
  301. package/lib/cli/src/lib/typeorm-shim.js +17 -0
  302. package/lib/cli/src/lib/utils/env-file.d.ts +2 -0
  303. package/lib/cli/src/lib/utils/env-file.js +40 -0
  304. package/lib/cli/src/lib/utils/ip-detection.d.ts +27 -0
  305. package/lib/cli/src/lib/utils/ip-detection.js +144 -0
  306. package/lib/cli/src/modules/cli-infrastructure.module.d.ts +14 -0
  307. package/lib/cli/src/modules/cli-infrastructure.module.js +249 -0
  308. package/lib/cli/src/services/cli-ca.service.d.ts +62 -0
  309. package/lib/cli/src/services/cli-ca.service.js +281 -0
  310. package/lib/cli/src/services/cli-cluster-creator.service.d.ts +78 -0
  311. package/lib/cli/src/services/cli-cluster-creator.service.js +655 -0
  312. package/lib/cli/src/services/cli-clusters.service.d.ts +74 -0
  313. package/lib/cli/src/services/cli-clusters.service.js +762 -0
  314. package/lib/cli/src/services/cli-endpoint-resolver.service.d.ts +33 -0
  315. package/lib/cli/src/services/cli-endpoint-resolver.service.js +195 -0
  316. package/lib/cli/src/services/cli-k3s-script.service.d.ts +114 -0
  317. package/lib/cli/src/services/cli-k3s-script.service.js +288 -0
  318. package/lib/cli/src/services/cli-logger.service.d.ts +56 -0
  319. package/lib/cli/src/services/cli-logger.service.js +188 -0
  320. package/lib/cli/src/services/cli-observability-cluster.service.d.ts +128 -0
  321. package/lib/cli/src/services/cli-observability-cluster.service.js +525 -0
  322. package/lib/cli/src/services/cli-ssh.service.d.ts +90 -0
  323. package/lib/cli/src/services/cli-ssh.service.js +457 -0
  324. package/lib/cli/src/services/server-type-cache.service.d.ts +34 -0
  325. package/lib/cli/src/services/server-type-cache.service.js +156 -0
  326. package/lib/cli/src/services/server-type-validator.service.d.ts +80 -0
  327. package/lib/cli/src/services/server-type-validator.service.js +366 -0
  328. package/lib/cli/src/types/index.d.ts +41 -0
  329. package/lib/cli/src/types/index.js +2 -0
  330. package/lib/src/common/utils/project-root.util.d.ts +22 -0
  331. package/lib/src/common/utils/project-root.util.js +78 -0
  332. package/lib/src/modules/access/access.controller.d.ts +30 -0
  333. package/lib/src/modules/access/access.controller.js +336 -0
  334. package/lib/src/modules/access/access.module.d.ts +2 -0
  335. package/lib/src/modules/access/access.module.js +92 -0
  336. package/lib/src/modules/access/controllers/ca.controller.d.ts +22 -0
  337. package/lib/src/modules/access/controllers/ca.controller.js +242 -0
  338. package/lib/src/modules/access/dto/api-token.dto.d.ts +11 -0
  339. package/lib/src/modules/access/dto/api-token.dto.js +74 -0
  340. package/lib/src/modules/access/dto/bearer-token.dto.d.ts +7 -0
  341. package/lib/src/modules/access/dto/bearer-token.dto.js +36 -0
  342. package/lib/src/modules/access/dto/ca-public-key.dto.d.ts +7 -0
  343. package/lib/src/modules/access/dto/ca-public-key.dto.js +52 -0
  344. package/lib/src/modules/access/dto/create-api-token.dto.d.ts +7 -0
  345. package/lib/src/modules/access/dto/create-api-token.dto.js +64 -0
  346. package/lib/src/modules/access/dto/create-bearer-token.dto.d.ts +9 -0
  347. package/lib/src/modules/access/dto/create-bearer-token.dto.js +58 -0
  348. package/lib/src/modules/access/dto/create-ssh-key.dto.d.ts +7 -0
  349. package/lib/src/modules/access/dto/create-ssh-key.dto.js +61 -0
  350. package/lib/src/modules/access/dto/refresh-token.dto.d.ts +7 -0
  351. package/lib/src/modules/access/dto/refresh-token.dto.js +46 -0
  352. package/lib/src/modules/access/dto/register-ca.dto.d.ts +16 -0
  353. package/lib/src/modules/access/dto/register-ca.dto.js +111 -0
  354. package/lib/src/modules/access/dto/ssh-key.dto.d.ts +20 -0
  355. package/lib/src/modules/access/dto/ssh-key.dto.js +124 -0
  356. package/lib/src/modules/access/dto/update-ssh-key.dto.d.ts +7 -0
  357. package/lib/src/modules/access/dto/update-ssh-key.dto.js +73 -0
  358. package/lib/src/modules/access/entities/api-token.entity.d.ts +30 -0
  359. package/lib/src/modules/access/entities/api-token.entity.js +87 -0
  360. package/lib/src/modules/access/entities/ca-keypair.entity.d.ts +13 -0
  361. package/lib/src/modules/access/entities/ca-keypair.entity.js +63 -0
  362. package/lib/src/modules/access/entities/credentials.entity.d.ts +18 -0
  363. package/lib/src/modules/access/entities/credentials.entity.js +87 -0
  364. package/lib/src/modules/access/entities/ssh-key.entity.d.ts +15 -0
  365. package/lib/src/modules/access/entities/ssh-key.entity.js +81 -0
  366. package/lib/src/modules/access/enums/credential-purpose.enum.d.ts +4 -0
  367. package/lib/src/modules/access/enums/credential-purpose.enum.js +8 -0
  368. package/lib/src/modules/access/interfaces/access.repository.d.ts +11 -0
  369. package/lib/src/modules/access/interfaces/access.repository.js +2 -0
  370. package/lib/src/modules/access/interfaces/ssh-key.interface.d.ts +26 -0
  371. package/lib/src/modules/access/interfaces/ssh-key.interface.js +2 -0
  372. package/lib/src/modules/access/mapper/api-token.mapper.d.ts +6 -0
  373. package/lib/src/modules/access/mapper/api-token.mapper.js +21 -0
  374. package/lib/src/modules/access/mapper/ssh-key.mapper.d.ts +6 -0
  375. package/lib/src/modules/access/mapper/ssh-key.mapper.js +25 -0
  376. package/lib/src/modules/access/providers/contabo-ssh-provider.service.d.ts +13 -0
  377. package/lib/src/modules/access/providers/contabo-ssh-provider.service.js +40 -0
  378. package/lib/src/modules/access/providers/hetzner-ssh-provider.service.d.ts +17 -0
  379. package/lib/src/modules/access/providers/hetzner-ssh-provider.service.js +95 -0
  380. package/lib/src/modules/access/providers/interfaces/ssh-provider.interface.d.ts +8 -0
  381. package/lib/src/modules/access/providers/interfaces/ssh-provider.interface.js +3 -0
  382. package/lib/src/modules/access/providers/ssh-provider.factory.d.ts +13 -0
  383. package/lib/src/modules/access/providers/ssh-provider.factory.js +44 -0
  384. package/lib/src/modules/access/repositories/api-token.repository.d.ts +24 -0
  385. package/lib/src/modules/access/repositories/api-token.repository.js +99 -0
  386. package/lib/src/modules/access/repositories/default-access.repository.d.ts +16 -0
  387. package/lib/src/modules/access/repositories/default-access.repository.js +121 -0
  388. package/lib/src/modules/access/repositories/provider-credentials.repository.d.ts +17 -0
  389. package/lib/src/modules/access/repositories/provider-credentials.repository.js +106 -0
  390. package/lib/src/modules/access/services/access.service.d.ts +180 -0
  391. package/lib/src/modules/access/services/access.service.js +732 -0
  392. package/lib/src/modules/access/services/bearerToken.service.d.ts +15 -0
  393. package/lib/src/modules/access/services/bearerToken.service.js +107 -0
  394. package/lib/src/modules/access/services/ca-manager.service.d.ts +48 -0
  395. package/lib/src/modules/access/services/ca-manager.service.js +293 -0
  396. package/lib/src/modules/access/services/certificate-signer.service.d.ts +36 -0
  397. package/lib/src/modules/access/services/certificate-signer.service.js +155 -0
  398. package/lib/src/modules/access/services/key-storage.service.d.ts +17 -0
  399. package/lib/src/modules/access/services/key-storage.service.js +133 -0
  400. package/lib/src/modules/access/services/ssh-key-generator.service.d.ts +6 -0
  401. package/lib/src/modules/access/services/ssh-key-generator.service.js +51 -0
  402. package/lib/src/modules/app-builds/entities/app-build.entity.d.ts +38 -0
  403. package/lib/src/modules/app-builds/entities/app-build.entity.js +168 -0
  404. package/lib/src/modules/app-builds/enums/app-build-status.enum.d.ts +10 -0
  405. package/lib/src/modules/app-builds/enums/app-build-status.enum.js +14 -0
  406. package/lib/src/modules/app-builds/enums/build-provider.enum.d.ts +6 -0
  407. package/lib/src/modules/app-builds/enums/build-provider.enum.js +10 -0
  408. package/lib/src/modules/app-builds/services/build-job.service.d.ts +178 -0
  409. package/lib/src/modules/app-builds/services/build-job.service.js +1057 -0
  410. package/lib/src/modules/applications/entities/app-resource.entity.d.ts +24 -0
  411. package/lib/src/modules/applications/entities/app-resource.entity.js +117 -0
  412. package/lib/src/modules/applications/entities/app-revision.entity.d.ts +29 -0
  413. package/lib/src/modules/applications/entities/app-revision.entity.js +133 -0
  414. package/lib/src/modules/applications/entities/application.entity.d.ts +121 -0
  415. package/lib/src/modules/applications/entities/application.entity.js +279 -0
  416. package/lib/src/modules/applications/enums/app-event-type.enum.d.ts +24 -0
  417. package/lib/src/modules/applications/enums/app-event-type.enum.js +28 -0
  418. package/lib/src/modules/applications/enums/application-category.enum.d.ts +4 -0
  419. package/lib/src/modules/applications/enums/application-category.enum.js +8 -0
  420. package/lib/src/modules/applications/enums/application-exposure.enum.d.ts +4 -0
  421. package/lib/src/modules/applications/enums/application-exposure.enum.js +8 -0
  422. package/lib/src/modules/applications/enums/application-kind.enum.d.ts +6 -0
  423. package/lib/src/modules/applications/enums/application-kind.enum.js +10 -0
  424. package/lib/src/modules/applications/enums/application-resource-kind.enum.d.ts +17 -0
  425. package/lib/src/modules/applications/enums/application-resource-kind.enum.js +21 -0
  426. package/lib/src/modules/applications/enums/application-resource-status.enum.d.ts +8 -0
  427. package/lib/src/modules/applications/enums/application-resource-status.enum.js +12 -0
  428. package/lib/src/modules/applications/enums/application-source-type.enum.d.ts +6 -0
  429. package/lib/src/modules/applications/enums/application-source-type.enum.js +10 -0
  430. package/lib/src/modules/applications/enums/application-status.enum.d.ts +20 -0
  431. package/lib/src/modules/applications/enums/application-status.enum.js +24 -0
  432. package/lib/src/modules/applications/interfaces/source-config.interface.d.ts +132 -0
  433. package/lib/src/modules/applications/interfaces/source-config.interface.js +2 -0
  434. package/lib/src/modules/auth/decorators/admin.decorator.d.ts +2 -0
  435. package/lib/src/modules/auth/decorators/admin.decorator.js +7 -0
  436. package/lib/src/modules/auth/entities/user.entity.d.ts +19 -0
  437. package/lib/src/modules/auth/entities/user.entity.js +78 -0
  438. package/lib/src/modules/auth/guards/admin.guard.d.ts +7 -0
  439. package/lib/src/modules/auth/guards/admin.guard.js +50 -0
  440. package/lib/src/modules/auth/interfaces/authenticated-user.interface.d.ts +12 -0
  441. package/lib/src/modules/auth/interfaces/authenticated-user.interface.js +2 -0
  442. package/lib/src/modules/common/cache/cache.service.d.ts +77 -0
  443. package/lib/src/modules/common/cache/cache.service.js +232 -0
  444. package/lib/src/modules/common/cache/cache.tokens.d.ts +1 -0
  445. package/lib/src/modules/common/cache/cache.tokens.js +4 -0
  446. package/lib/src/modules/common/cache/enums/cache-category.enum.d.ts +33 -0
  447. package/lib/src/modules/common/cache/enums/cache-category.enum.js +42 -0
  448. package/lib/src/modules/common/common.module.d.ts +2 -0
  449. package/lib/src/modules/common/common.module.js +20 -0
  450. package/lib/src/modules/common/dto/async-operation-response.dto.d.ts +19 -0
  451. package/lib/src/modules/common/dto/async-operation-response.dto.js +65 -0
  452. package/lib/src/modules/common/dto/index.d.ts +1 -0
  453. package/lib/src/modules/common/dto/index.js +17 -0
  454. package/lib/src/modules/common/services/label.service.d.ts +70 -0
  455. package/lib/src/modules/common/services/label.service.js +128 -0
  456. package/lib/src/modules/dns/entities/app-endpoint.entity.d.ts +57 -0
  457. package/lib/src/modules/dns/entities/app-endpoint.entity.js +205 -0
  458. package/lib/src/modules/dns/entities/cluster-dns-zone.entity.d.ts +21 -0
  459. package/lib/src/modules/dns/entities/cluster-dns-zone.entity.js +88 -0
  460. package/lib/src/modules/dns/entities/dns-zone.entity.d.ts +12 -0
  461. package/lib/src/modules/dns/entities/dns-zone.entity.js +53 -0
  462. package/lib/src/modules/dns/entities/san-certificate.entity.d.ts +29 -0
  463. package/lib/src/modules/dns/entities/san-certificate.entity.js +132 -0
  464. package/lib/src/modules/dns/entities/wildcard-certificate.entity.d.ts +26 -0
  465. package/lib/src/modules/dns/entities/wildcard-certificate.entity.js +111 -0
  466. package/lib/src/modules/dns/enums/cert-challenge.enum.d.ts +4 -0
  467. package/lib/src/modules/dns/enums/cert-challenge.enum.js +8 -0
  468. package/lib/src/modules/dns/enums/endpoint-type.enum.d.ts +4 -0
  469. package/lib/src/modules/dns/enums/endpoint-type.enum.js +8 -0
  470. package/lib/src/modules/dns/enums/hostname-mode.enum.d.ts +4 -0
  471. package/lib/src/modules/dns/enums/hostname-mode.enum.js +8 -0
  472. package/lib/src/modules/dns/services/cluster-dns-cleanup.service.d.ts +12 -0
  473. package/lib/src/modules/dns/services/cluster-dns-cleanup.service.js +79 -0
  474. package/lib/src/modules/dns/utils/nip-hostname.util.d.ts +12 -0
  475. package/lib/src/modules/dns/utils/nip-hostname.util.js +27 -0
  476. package/lib/src/modules/dns/utils/nip-token.util.d.ts +2 -0
  477. package/lib/src/modules/dns/utils/nip-token.util.js +94 -0
  478. package/lib/src/modules/frameworks/framework-core/enums/build-stage.enum.d.ts +21 -0
  479. package/lib/src/modules/frameworks/framework-core/enums/build-stage.enum.js +29 -0
  480. package/lib/src/modules/frameworks/framework-core/enums/deploy-strategy.enum.d.ts +22 -0
  481. package/lib/src/modules/frameworks/framework-core/enums/deploy-strategy.enum.js +26 -0
  482. package/lib/src/modules/frameworks/framework-core/enums/framework-type.enum.d.ts +32 -0
  483. package/lib/src/modules/frameworks/framework-core/enums/framework-type.enum.js +47 -0
  484. package/lib/src/modules/grafana/services/grafana-config.service.d.ts +43 -0
  485. package/lib/src/modules/grafana/services/grafana-config.service.js +177 -0
  486. package/lib/src/modules/grafana/services/grafana-datasource.service.d.ts +70 -0
  487. package/lib/src/modules/grafana/services/grafana-datasource.service.js +333 -0
  488. package/lib/src/modules/infrastructure/clusters/clusters.service.d.ts +126 -0
  489. package/lib/src/modules/infrastructure/clusters/clusters.service.js +265 -0
  490. package/lib/src/modules/infrastructure/clusters/constants/storage-conventions.d.ts +60 -0
  491. package/lib/src/modules/infrastructure/clusters/constants/storage-conventions.js +64 -0
  492. package/lib/src/modules/infrastructure/clusters/dto/build-resources.dto.d.ts +19 -0
  493. package/lib/src/modules/infrastructure/clusters/dto/build-resources.dto.js +69 -0
  494. package/lib/src/modules/infrastructure/clusters/dto/cluster-capacity-plan.dto.d.ts +36 -0
  495. package/lib/src/modules/infrastructure/clusters/dto/cluster-capacity-plan.dto.js +149 -0
  496. package/lib/src/modules/infrastructure/clusters/dto/cluster-power-management.dto.d.ts +51 -0
  497. package/lib/src/modules/infrastructure/clusters/dto/cluster-power-management.dto.js +222 -0
  498. package/lib/src/modules/infrastructure/clusters/dto/cluster-response.dto.d.ts +42 -0
  499. package/lib/src/modules/infrastructure/clusters/dto/cluster-response.dto.js +238 -0
  500. package/lib/src/modules/infrastructure/clusters/dto/cluster-storage.dto.d.ts +35 -0
  501. package/lib/src/modules/infrastructure/clusters/dto/cluster-storage.dto.js +122 -0
  502. package/lib/src/modules/infrastructure/clusters/dto/create-cluster.dto.d.ts +43 -0
  503. package/lib/src/modules/infrastructure/clusters/dto/create-cluster.dto.js +334 -0
  504. package/lib/src/modules/infrastructure/clusters/dto/register-cluster.dto.d.ts +30 -0
  505. package/lib/src/modules/infrastructure/clusters/dto/register-cluster.dto.js +190 -0
  506. package/lib/src/modules/infrastructure/clusters/dto/resource-availability.dto.d.ts +15 -0
  507. package/lib/src/modules/infrastructure/clusters/dto/resource-availability.dto.js +91 -0
  508. package/lib/src/modules/infrastructure/clusters/entities/cluster-node.entity.d.ts +28 -0
  509. package/lib/src/modules/infrastructure/clusters/entities/cluster-node.entity.js +104 -0
  510. package/lib/src/modules/infrastructure/clusters/entities/cluster.entity.d.ts +64 -0
  511. package/lib/src/modules/infrastructure/clusters/entities/cluster.entity.js +199 -0
  512. package/lib/src/modules/infrastructure/clusters/entities/node-billable-interval.entity.d.ts +17 -0
  513. package/lib/src/modules/infrastructure/clusters/entities/node-billable-interval.entity.js +86 -0
  514. package/lib/src/modules/infrastructure/clusters/entities/volume-billable-interval.entity.d.ts +18 -0
  515. package/lib/src/modules/infrastructure/clusters/entities/volume-billable-interval.entity.js +79 -0
  516. package/lib/src/modules/infrastructure/clusters/services/billing-intervals.service.d.ts +48 -0
  517. package/lib/src/modules/infrastructure/clusters/services/billing-intervals.service.js +159 -0
  518. package/lib/src/modules/infrastructure/clusters/services/cluster-capacity.service.d.ts +23 -0
  519. package/lib/src/modules/infrastructure/clusters/services/cluster-capacity.service.js +198 -0
  520. package/lib/src/modules/infrastructure/clusters/services/cluster-creation.service.d.ts +25 -0
  521. package/lib/src/modules/infrastructure/clusters/services/cluster-creation.service.js +192 -0
  522. package/lib/src/modules/infrastructure/clusters/services/cluster-deletion.service.d.ts +36 -0
  523. package/lib/src/modules/infrastructure/clusters/services/cluster-deletion.service.js +159 -0
  524. package/lib/src/modules/infrastructure/clusters/services/cluster-firewall-integration.service.d.ts +25 -0
  525. package/lib/src/modules/infrastructure/clusters/services/cluster-firewall-integration.service.js +90 -0
  526. package/lib/src/modules/infrastructure/clusters/services/cluster-mapper.service.d.ts +15 -0
  527. package/lib/src/modules/infrastructure/clusters/services/cluster-mapper.service.js +63 -0
  528. package/lib/src/modules/infrastructure/clusters/services/cluster-node-scaling.service.d.ts +78 -0
  529. package/lib/src/modules/infrastructure/clusters/services/cluster-node-scaling.service.js +644 -0
  530. package/lib/src/modules/infrastructure/clusters/services/cluster-operations.service.d.ts +37 -0
  531. package/lib/src/modules/infrastructure/clusters/services/cluster-operations.service.js +244 -0
  532. package/lib/src/modules/infrastructure/clusters/services/cluster-power-management.service.d.ts +68 -0
  533. package/lib/src/modules/infrastructure/clusters/services/cluster-power-management.service.js +716 -0
  534. package/lib/src/modules/infrastructure/clusters/services/cluster-storage.service.d.ts +15 -0
  535. package/lib/src/modules/infrastructure/clusters/services/cluster-storage.service.js +179 -0
  536. package/lib/src/modules/infrastructure/clusters/services/cluster-validation.service.d.ts +29 -0
  537. package/lib/src/modules/infrastructure/clusters/services/cluster-validation.service.js +100 -0
  538. package/lib/src/modules/infrastructure/firewalls/dto/cluster-firewall.dto.d.ts +62 -0
  539. package/lib/src/modules/infrastructure/firewalls/dto/cluster-firewall.dto.js +252 -0
  540. package/lib/src/modules/infrastructure/firewalls/entities/cluster-firewall.entity.d.ts +20 -0
  541. package/lib/src/modules/infrastructure/firewalls/entities/cluster-firewall.entity.js +83 -0
  542. package/lib/src/modules/infrastructure/firewalls/services/firewall-desired-state.service.d.ts +73 -0
  543. package/lib/src/modules/infrastructure/firewalls/services/firewall-desired-state.service.js +329 -0
  544. package/lib/src/modules/infrastructure/firewalls/services/firewall-reconciliation.service.d.ts +43 -0
  545. package/lib/src/modules/infrastructure/firewalls/services/firewall-reconciliation.service.js +212 -0
  546. package/lib/src/modules/infrastructure/firewalls/templates/firewall-rules.template.d.ts +54 -0
  547. package/lib/src/modules/infrastructure/firewalls/templates/firewall-rules.template.js +167 -0
  548. package/lib/src/modules/infrastructure/operations/helpers/operation-steps.helper.d.ts +34 -0
  549. package/lib/src/modules/infrastructure/operations/helpers/operation-steps.helper.js +401 -0
  550. package/lib/src/modules/infrastructure/servers/dto/create-server.dto.d.ts +40 -0
  551. package/lib/src/modules/infrastructure/servers/dto/create-server.dto.js +157 -0
  552. package/lib/src/modules/infrastructure/servers/dto/delete-server.dto.d.ts +17 -0
  553. package/lib/src/modules/infrastructure/servers/dto/delete-server.dto.js +85 -0
  554. package/lib/src/modules/infrastructure/servers/dto/server-response.dto.d.ts +29 -0
  555. package/lib/src/modules/infrastructure/servers/dto/server-response.dto.js +147 -0
  556. package/lib/src/modules/infrastructure/servers/entities/infrastructure-operations.entity.d.ts +266 -0
  557. package/lib/src/modules/infrastructure/servers/entities/infrastructure-operations.entity.js +348 -0
  558. package/lib/src/modules/infrastructure/shared/enums/reconciliation-status.enum.d.ts +7 -0
  559. package/lib/src/modules/infrastructure/shared/enums/reconciliation-status.enum.js +11 -0
  560. package/lib/src/modules/infrastructure/shared/services/kubernetes.service.d.ts +304 -0
  561. package/lib/src/modules/infrastructure/shared/services/kubernetes.service.js +1164 -0
  562. package/lib/src/modules/infrastructure/shared/services/label.service.d.ts +97 -0
  563. package/lib/src/modules/infrastructure/shared/services/label.service.js +189 -0
  564. package/lib/src/modules/infrastructure/shared/shared-infrastructure.module.d.ts +2 -0
  565. package/lib/src/modules/infrastructure/shared/shared-infrastructure.module.js +24 -0
  566. package/lib/src/modules/infrastructure/vnets/entities/vnet-route.entity.d.ts +10 -0
  567. package/lib/src/modules/infrastructure/vnets/entities/vnet-route.entity.js +51 -0
  568. package/lib/src/modules/infrastructure/vnets/entities/vnet-subnet.entity.d.ts +20 -0
  569. package/lib/src/modules/infrastructure/vnets/entities/vnet-subnet.entity.js +77 -0
  570. package/lib/src/modules/infrastructure/vnets/entities/vnet.entity.d.ts +28 -0
  571. package/lib/src/modules/infrastructure/vnets/entities/vnet.entity.js +88 -0
  572. package/lib/src/modules/instances/entities/instance-status.enum.d.ts +12 -0
  573. package/lib/src/modules/instances/entities/instance-status.enum.js +16 -0
  574. package/lib/src/modules/instances/entities/instance-type.enum.d.ts +6 -0
  575. package/lib/src/modules/instances/entities/instance-type.enum.js +10 -0
  576. package/lib/src/modules/instances/entities/instance.entity.d.ts +41 -0
  577. package/lib/src/modules/instances/entities/instance.entity.js +126 -0
  578. package/lib/src/modules/management/dto/configure-provider.dto.d.ts +8 -0
  579. package/lib/src/modules/management/dto/configure-provider.dto.js +51 -0
  580. package/lib/src/modules/management/dto/credentials.dto.d.ts +15 -0
  581. package/lib/src/modules/management/dto/credentials.dto.js +114 -0
  582. package/lib/src/modules/management/dto/health-status.dto.d.ts +12 -0
  583. package/lib/src/modules/management/dto/health-status.dto.js +40 -0
  584. package/lib/src/modules/management/dto/node-size-option.dto.d.ts +37 -0
  585. package/lib/src/modules/management/dto/node-size-option.dto.js +178 -0
  586. package/lib/src/modules/management/dto/pricing-query.dto.d.ts +5 -0
  587. package/lib/src/modules/management/dto/pricing-query.dto.js +36 -0
  588. package/lib/src/modules/management/dto/pricing-response.dto.d.ts +21 -0
  589. package/lib/src/modules/management/dto/pricing-response.dto.js +80 -0
  590. package/lib/src/modules/management/dto/provider-configuration.dto.d.ts +23 -0
  591. package/lib/src/modules/management/dto/provider-configuration.dto.js +72 -0
  592. package/lib/src/modules/management/dto/provider-filters.dto.d.ts +7 -0
  593. package/lib/src/modules/management/dto/provider-filters.dto.js +45 -0
  594. package/lib/src/modules/management/dto/validation-result.dto.d.ts +16 -0
  595. package/lib/src/modules/management/dto/validation-result.dto.js +35 -0
  596. package/lib/src/modules/management/entities/credentials.entity.d.ts +21 -0
  597. package/lib/src/modules/management/entities/credentials.entity.js +10 -0
  598. package/lib/src/modules/management/entities/provider-capabilities.entity.d.ts +85 -0
  599. package/lib/src/modules/management/entities/provider-capabilities.entity.js +2 -0
  600. package/lib/src/modules/management/entities/provider-configuration.entity.d.ts +14 -0
  601. package/lib/src/modules/management/entities/provider-configuration.entity.js +65 -0
  602. package/lib/src/modules/management/entities/provider-definition.entity.d.ts +19 -0
  603. package/lib/src/modules/management/entities/provider-definition.entity.js +2 -0
  604. package/lib/src/modules/management/entities/provider-region.entity.d.ts +11 -0
  605. package/lib/src/modules/management/entities/provider-region.entity.js +2 -0
  606. package/lib/src/modules/management/entities/provider-status.enum.d.ts +8 -0
  607. package/lib/src/modules/management/entities/provider-status.enum.js +12 -0
  608. package/lib/src/modules/management/interfaces/provider-configuration.repository.interface.d.ts +17 -0
  609. package/lib/src/modules/management/interfaces/provider-configuration.repository.interface.js +2 -0
  610. package/lib/src/modules/management/repositories/provider-configuration.repository.d.ts +21 -0
  611. package/lib/src/modules/management/repositories/provider-configuration.repository.js +89 -0
  612. package/lib/src/modules/management/services/configuration-mode.service.d.ts +20 -0
  613. package/lib/src/modules/management/services/configuration-mode.service.js +54 -0
  614. package/lib/src/modules/management/services/management.service.d.ts +72 -0
  615. package/lib/src/modules/management/services/management.service.js +546 -0
  616. package/lib/src/modules/management/services/provider-definitions.service.d.ts +26 -0
  617. package/lib/src/modules/management/services/provider-definitions.service.js +133 -0
  618. package/lib/src/modules/providers/controllers/provider-firewalls.controller.d.ts +28 -0
  619. package/lib/src/modules/providers/controllers/provider-firewalls.controller.js +277 -0
  620. package/lib/src/modules/providers/core/factories/capabilities-provider.factory.d.ts +10 -0
  621. package/lib/src/modules/providers/core/factories/capabilities-provider.factory.js +39 -0
  622. package/lib/src/modules/providers/core/factories/certificate-provider.factory.d.ts +11 -0
  623. package/lib/src/modules/providers/core/factories/certificate-provider.factory.js +58 -0
  624. package/lib/src/modules/providers/core/factories/dns-provider.factory.d.ts +12 -0
  625. package/lib/src/modules/providers/core/factories/dns-provider.factory.js +65 -0
  626. package/lib/src/modules/providers/core/factories/firewall-provider.factory.d.ts +12 -0
  627. package/lib/src/modules/providers/core/factories/firewall-provider.factory.js +61 -0
  628. package/lib/src/modules/providers/core/factories/provider.factory.d.ts +9 -0
  629. package/lib/src/modules/providers/core/factories/provider.factory.js +47 -0
  630. package/lib/src/modules/providers/core/factories/vm-backup-provider.factory.d.ts +12 -0
  631. package/lib/src/modules/providers/core/factories/vm-backup-provider.factory.js +56 -0
  632. package/lib/src/modules/providers/core/factories/volume-export.factory.d.ts +12 -0
  633. package/lib/src/modules/providers/core/factories/volume-export.factory.js +56 -0
  634. package/lib/src/modules/providers/core/interfaces/certificate-provider.interface.d.ts +1 -0
  635. package/lib/src/modules/providers/core/interfaces/certificate-provider.interface.js +17 -0
  636. package/lib/src/modules/providers/core/interfaces/cloud-provider.interface.d.ts +1 -0
  637. package/lib/src/modules/providers/core/interfaces/cloud-provider.interface.js +17 -0
  638. package/lib/src/modules/providers/core/interfaces/dns-provider.interface.d.ts +1 -0
  639. package/lib/src/modules/providers/core/interfaces/dns-provider.interface.js +17 -0
  640. package/lib/src/modules/providers/core/interfaces/firewall-provider.interface.d.ts +1 -0
  641. package/lib/src/modules/providers/core/interfaces/firewall-provider.interface.js +17 -0
  642. package/lib/src/modules/providers/core/interfaces/provider-bootstrap-seeder.interface.d.ts +54 -0
  643. package/lib/src/modules/providers/core/interfaces/provider-bootstrap-seeder.interface.js +2 -0
  644. package/lib/src/modules/providers/core/tokens.d.ts +59 -0
  645. package/lib/src/modules/providers/core/tokens.js +19 -0
  646. package/lib/src/modules/providers/data/region-coordinates.d.ts +6 -0
  647. package/lib/src/modules/providers/data/region-coordinates.js +25 -0
  648. package/lib/src/modules/providers/dto/firewall.dto.d.ts +30 -0
  649. package/lib/src/modules/providers/dto/firewall.dto.js +105 -0
  650. package/lib/src/modules/providers/dto/node-size.dto.d.ts +46 -0
  651. package/lib/src/modules/providers/dto/node-size.dto.js +22 -0
  652. package/lib/src/modules/providers/dto/pricing.dto.d.ts +24 -0
  653. package/lib/src/modules/providers/dto/pricing.dto.js +19 -0
  654. package/lib/src/modules/providers/dto/provider-firewall-response.dto.d.ts +28 -0
  655. package/lib/src/modules/providers/dto/provider-firewall-response.dto.js +134 -0
  656. package/lib/src/modules/providers/enums/certificate-provider.enum.d.ts +4 -0
  657. package/lib/src/modules/providers/enums/certificate-provider.enum.js +8 -0
  658. package/lib/src/modules/providers/enums/cloud-provider.enum.d.ts +5 -0
  659. package/lib/src/modules/providers/enums/cloud-provider.enum.js +9 -0
  660. package/lib/src/modules/providers/enums/dns-provider.enum.d.ts +5 -0
  661. package/lib/src/modules/providers/enums/dns-provider.enum.js +9 -0
  662. package/lib/src/modules/providers/implementations/contabo/contabo-capabilities.service.d.ts +19 -0
  663. package/lib/src/modules/providers/implementations/contabo/contabo-capabilities.service.js +254 -0
  664. package/lib/src/modules/providers/implementations/contabo/contabo-provider.module.d.ts +10 -0
  665. package/lib/src/modules/providers/implementations/contabo/contabo-provider.module.js +72 -0
  666. package/lib/src/modules/providers/implementations/contabo/generated/api.d.ts +13374 -0
  667. package/lib/src/modules/providers/implementations/contabo/generated/api.js +11341 -0
  668. package/lib/src/modules/providers/implementations/contabo/generated/base.d.ts +66 -0
  669. package/lib/src/modules/providers/implementations/contabo/generated/base.js +66 -0
  670. package/lib/src/modules/providers/implementations/contabo/generated/common.d.ts +65 -0
  671. package/lib/src/modules/providers/implementations/contabo/generated/common.js +152 -0
  672. package/lib/src/modules/providers/implementations/contabo/generated/configuration.d.ts +91 -0
  673. package/lib/src/modules/providers/implementations/contabo/generated/configuration.js +50 -0
  674. package/lib/src/modules/providers/implementations/contabo/generated/index.d.ts +13 -0
  675. package/lib/src/modules/providers/implementations/contabo/generated/index.js +31 -0
  676. package/lib/src/modules/providers/implementations/hetzner/generated/api.d.ts +18419 -0
  677. package/lib/src/modules/providers/implementations/hetzner/generated/api.js +19133 -0
  678. package/lib/src/modules/providers/implementations/hetzner/generated/base.d.ts +66 -0
  679. package/lib/src/modules/providers/implementations/hetzner/generated/base.js +66 -0
  680. package/lib/src/modules/providers/implementations/hetzner/generated/common.d.ts +65 -0
  681. package/lib/src/modules/providers/implementations/hetzner/generated/common.js +152 -0
  682. package/lib/src/modules/providers/implementations/hetzner/generated/configuration.d.ts +91 -0
  683. package/lib/src/modules/providers/implementations/hetzner/generated/configuration.js +50 -0
  684. package/lib/src/modules/providers/implementations/hetzner/generated/index.d.ts +13 -0
  685. package/lib/src/modules/providers/implementations/hetzner/generated/index.js +31 -0
  686. package/lib/src/modules/providers/implementations/hetzner/hetzner-bootstrap-seeder.service.d.ts +19 -0
  687. package/lib/src/modules/providers/implementations/hetzner/hetzner-bootstrap-seeder.service.js +68 -0
  688. package/lib/src/modules/providers/implementations/hetzner/hetzner-capabilities.service.d.ts +29 -0
  689. package/lib/src/modules/providers/implementations/hetzner/hetzner-capabilities.service.js +392 -0
  690. package/lib/src/modules/providers/implementations/hetzner/hetzner-provider.module.d.ts +2 -0
  691. package/lib/src/modules/providers/implementations/hetzner/hetzner-provider.module.js +81 -0
  692. package/lib/src/modules/providers/implementations/hetzner/hetzner-volume-operations.service.d.ts +31 -0
  693. package/lib/src/modules/providers/implementations/hetzner/hetzner-volume-operations.service.js +312 -0
  694. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.controller.d.ts +18 -0
  695. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.controller.js +67 -0
  696. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.service.d.ts +24 -0
  697. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage-connection.service.js +107 -0
  698. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.backend.d.ts +7 -0
  699. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.backend.js +35 -0
  700. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.module.d.ts +8 -0
  701. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.module.js +60 -0
  702. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.provisioner.d.ts +22 -0
  703. package/lib/src/modules/providers/implementations/hetzner/object-storage/hetzner-object-storage.provisioner.js +100 -0
  704. package/lib/src/modules/providers/implementations/hetzner/vm-backup/hetzner-vm-backup.service.d.ts +20 -0
  705. package/lib/src/modules/providers/implementations/hetzner/vm-backup/hetzner-vm-backup.service.js +118 -0
  706. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/api.d.ts +4227 -0
  707. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/api.js +3362 -0
  708. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/base.d.ts +66 -0
  709. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/base.js +66 -0
  710. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/common.d.ts +65 -0
  711. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/common.js +152 -0
  712. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/configuration.d.ts +91 -0
  713. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/configuration.js +50 -0
  714. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/index.d.ts +13 -0
  715. package/lib/src/modules/providers/implementations/scaleway/generated/baremetal/index.js +31 -0
  716. package/lib/src/modules/providers/implementations/scaleway/generated/domain/api.d.ts +2486 -0
  717. package/lib/src/modules/providers/implementations/scaleway/generated/domain/api.js +2424 -0
  718. package/lib/src/modules/providers/implementations/scaleway/generated/domain/base.d.ts +66 -0
  719. package/lib/src/modules/providers/implementations/scaleway/generated/domain/base.js +66 -0
  720. package/lib/src/modules/providers/implementations/scaleway/generated/domain/common.d.ts +65 -0
  721. package/lib/src/modules/providers/implementations/scaleway/generated/domain/common.js +152 -0
  722. package/lib/src/modules/providers/implementations/scaleway/generated/domain/configuration.d.ts +91 -0
  723. package/lib/src/modules/providers/implementations/scaleway/generated/domain/configuration.js +50 -0
  724. package/lib/src/modules/providers/implementations/scaleway/generated/domain/index.d.ts +13 -0
  725. package/lib/src/modules/providers/implementations/scaleway/generated/domain/index.js +31 -0
  726. package/lib/src/modules/providers/implementations/scaleway/generated/iam/api.d.ts +6425 -0
  727. package/lib/src/modules/providers/implementations/scaleway/generated/iam/api.js +6925 -0
  728. package/lib/src/modules/providers/implementations/scaleway/generated/iam/base.d.ts +66 -0
  729. package/lib/src/modules/providers/implementations/scaleway/generated/iam/base.js +66 -0
  730. package/lib/src/modules/providers/implementations/scaleway/generated/iam/common.d.ts +65 -0
  731. package/lib/src/modules/providers/implementations/scaleway/generated/iam/common.js +152 -0
  732. package/lib/src/modules/providers/implementations/scaleway/generated/iam/configuration.d.ts +91 -0
  733. package/lib/src/modules/providers/implementations/scaleway/generated/iam/configuration.js +50 -0
  734. package/lib/src/modules/providers/implementations/scaleway/generated/iam/index.d.ts +13 -0
  735. package/lib/src/modules/providers/implementations/scaleway/generated/iam/index.js +31 -0
  736. package/lib/src/modules/providers/implementations/scaleway/generated/instances/api.d.ts +11187 -0
  737. package/lib/src/modules/providers/implementations/scaleway/generated/instances/api.js +9264 -0
  738. package/lib/src/modules/providers/implementations/scaleway/generated/instances/base.d.ts +66 -0
  739. package/lib/src/modules/providers/implementations/scaleway/generated/instances/base.js +66 -0
  740. package/lib/src/modules/providers/implementations/scaleway/generated/instances/common.d.ts +65 -0
  741. package/lib/src/modules/providers/implementations/scaleway/generated/instances/common.js +152 -0
  742. package/lib/src/modules/providers/implementations/scaleway/generated/instances/configuration.d.ts +91 -0
  743. package/lib/src/modules/providers/implementations/scaleway/generated/instances/configuration.js +50 -0
  744. package/lib/src/modules/providers/implementations/scaleway/generated/instances/index.d.ts +13 -0
  745. package/lib/src/modules/providers/implementations/scaleway/generated/instances/index.js +31 -0
  746. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/api.d.ts +492 -0
  747. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/api.js +531 -0
  748. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/base.d.ts +66 -0
  749. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/base.js +66 -0
  750. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/common.d.ts +65 -0
  751. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/common.js +152 -0
  752. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/configuration.d.ts +91 -0
  753. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/configuration.js +50 -0
  754. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/index.d.ts +13 -0
  755. package/lib/src/modules/providers/implementations/scaleway/generated/private-network/index.js +31 -0
  756. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/api.d.ts +2305 -0
  757. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/api.js +2443 -0
  758. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/base.d.ts +66 -0
  759. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/base.js +66 -0
  760. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/common.d.ts +65 -0
  761. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/common.js +152 -0
  762. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/configuration.d.ts +91 -0
  763. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/configuration.js +50 -0
  764. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/index.d.ts +13 -0
  765. package/lib/src/modules/providers/implementations/scaleway/generated/vpc/index.js +31 -0
  766. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.backend.d.ts +8 -0
  767. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.backend.js +49 -0
  768. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.module.d.ts +9 -0
  769. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.module.js +56 -0
  770. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.provisioner.d.ts +27 -0
  771. package/lib/src/modules/providers/implementations/scaleway/object-storage/scaleway-object-storage.provisioner.js +120 -0
  772. package/lib/src/modules/providers/implementations/scaleway/scaleway-baremetal.adapter.d.ts +22 -0
  773. package/lib/src/modules/providers/implementations/scaleway/scaleway-baremetal.adapter.js +140 -0
  774. package/lib/src/modules/providers/implementations/scaleway/scaleway-bootstrap-seeder.service.d.ts +12 -0
  775. package/lib/src/modules/providers/implementations/scaleway/scaleway-bootstrap-seeder.service.js +65 -0
  776. package/lib/src/modules/providers/implementations/scaleway/scaleway-capabilities.service.d.ts +23 -0
  777. package/lib/src/modules/providers/implementations/scaleway/scaleway-capabilities.service.js +319 -0
  778. package/lib/src/modules/providers/implementations/scaleway/scaleway-dns.service.d.ts +24 -0
  779. package/lib/src/modules/providers/implementations/scaleway/scaleway-dns.service.js +189 -0
  780. package/lib/src/modules/providers/implementations/scaleway/scaleway-firewall.service.d.ts +43 -0
  781. package/lib/src/modules/providers/implementations/scaleway/scaleway-firewall.service.js +455 -0
  782. package/lib/src/modules/providers/implementations/scaleway/scaleway-iam.adapter.d.ts +32 -0
  783. package/lib/src/modules/providers/implementations/scaleway/scaleway-iam.adapter.js +108 -0
  784. package/lib/src/modules/providers/implementations/scaleway/scaleway-instances.adapter.d.ts +66 -0
  785. package/lib/src/modules/providers/implementations/scaleway/scaleway-instances.adapter.js +289 -0
  786. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.module.d.ts +17 -0
  787. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.module.js +122 -0
  788. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.service.d.ts +100 -0
  789. package/lib/src/modules/providers/implementations/scaleway/scaleway-provider.service.js +1395 -0
  790. package/lib/src/modules/providers/implementations/scaleway/scaleway-volume-operations.service.d.ts +24 -0
  791. package/lib/src/modules/providers/implementations/scaleway/scaleway-volume-operations.service.js +199 -0
  792. package/lib/src/modules/providers/implementations/scaleway/scaleway-vpc.adapter.d.ts +30 -0
  793. package/lib/src/modules/providers/implementations/scaleway/scaleway-vpc.adapter.js +180 -0
  794. package/lib/src/modules/providers/index.d.ts +17 -0
  795. package/lib/src/modules/providers/index.js +39 -0
  796. package/lib/src/modules/providers/interfaces/certificate-provider.interface.d.ts +38 -0
  797. package/lib/src/modules/providers/interfaces/certificate-provider.interface.js +11 -0
  798. package/lib/src/modules/providers/interfaces/cloud-provider.interface.d.ts +215 -0
  799. package/lib/src/modules/providers/interfaces/cloud-provider.interface.js +2 -0
  800. package/lib/src/modules/providers/interfaces/credential-provider.interface.d.ts +23 -0
  801. package/lib/src/modules/providers/interfaces/credential-provider.interface.js +2 -0
  802. package/lib/src/modules/providers/interfaces/dns-provider.interface.d.ts +55 -0
  803. package/lib/src/modules/providers/interfaces/dns-provider.interface.js +12 -0
  804. package/lib/src/modules/providers/interfaces/firewall-provider.interface.d.ts +47 -0
  805. package/lib/src/modules/providers/interfaces/firewall-provider.interface.js +2 -0
  806. package/lib/src/modules/providers/interfaces/network-provider.interface.d.ts +124 -0
  807. package/lib/src/modules/providers/interfaces/network-provider.interface.js +2 -0
  808. package/lib/src/modules/providers/interfaces/provider-capabilities.interface.d.ts +87 -0
  809. package/lib/src/modules/providers/interfaces/provider-capabilities.interface.js +2 -0
  810. package/lib/src/modules/providers/interfaces/vm-backup-provider.interface.d.ts +39 -0
  811. package/lib/src/modules/providers/interfaces/vm-backup-provider.interface.js +8 -0
  812. package/lib/src/modules/providers/interfaces/volume-export.interface.d.ts +162 -0
  813. package/lib/src/modules/providers/interfaces/volume-export.interface.js +21 -0
  814. package/lib/src/modules/providers/interfaces/volume-operations.interface.d.ts +149 -0
  815. package/lib/src/modules/providers/interfaces/volume-operations.interface.js +17 -0
  816. package/lib/src/modules/providers/mappers/node-size.mapper.d.ts +20 -0
  817. package/lib/src/modules/providers/mappers/node-size.mapper.js +75 -0
  818. package/lib/src/modules/providers/mappers/pricing.mapper.d.ts +14 -0
  819. package/lib/src/modules/providers/mappers/pricing.mapper.js +60 -0
  820. package/lib/src/modules/providers/provider-core.module.d.ts +13 -0
  821. package/lib/src/modules/providers/provider-core.module.js +59 -0
  822. package/lib/src/modules/providers/providers.module.d.ts +2 -0
  823. package/lib/src/modules/providers/providers.module.js +188 -0
  824. package/lib/src/modules/providers/services/acme-certificate.service.d.ts +38 -0
  825. package/lib/src/modules/providers/services/acme-certificate.service.js +144 -0
  826. package/lib/src/modules/providers/services/contabo-firewall.service.d.ts +11 -0
  827. package/lib/src/modules/providers/services/contabo-firewall.service.js +40 -0
  828. package/lib/src/modules/providers/services/contabo-provider.service.d.ts +48 -0
  829. package/lib/src/modules/providers/services/contabo-provider.service.js +194 -0
  830. package/lib/src/modules/providers/services/credential-provider.service.d.ts +17 -0
  831. package/lib/src/modules/providers/services/credential-provider.service.js +78 -0
  832. package/lib/src/modules/providers/services/dns-provider.factory.d.ts +5 -0
  833. package/lib/src/modules/providers/services/dns-provider.factory.js +9 -0
  834. package/lib/src/modules/providers/services/firewall-provider.factory.d.ts +5 -0
  835. package/lib/src/modules/providers/services/firewall-provider.factory.js +9 -0
  836. package/lib/src/modules/providers/services/hetzner-dns.service.d.ts +71 -0
  837. package/lib/src/modules/providers/services/hetzner-dns.service.js +565 -0
  838. package/lib/src/modules/providers/services/hetzner-firewall.service.d.ts +48 -0
  839. package/lib/src/modules/providers/services/hetzner-firewall.service.js +472 -0
  840. package/lib/src/modules/providers/services/hetzner-network.service.d.ts +84 -0
  841. package/lib/src/modules/providers/services/hetzner-network.service.js +408 -0
  842. package/lib/src/modules/providers/services/hetzner-provider.service.d.ts +213 -0
  843. package/lib/src/modules/providers/services/hetzner-provider.service.js +1159 -0
  844. package/lib/src/modules/providers/services/provider.factory.d.ts +5 -0
  845. package/lib/src/modules/providers/services/provider.factory.js +9 -0
  846. package/lib/src/modules/providers/services/volume-export.service.d.ts +50 -0
  847. package/lib/src/modules/providers/services/volume-export.service.js +650 -0
  848. package/lib/src/modules/shared/encryption/encryption.module.d.ts +2 -0
  849. package/lib/src/modules/shared/encryption/encryption.module.js +22 -0
  850. package/lib/src/modules/shared/encryption/services/encryption.service.d.ts +47 -0
  851. package/lib/src/modules/shared/encryption/services/encryption.service.js +199 -0
  852. package/lib/src/modules/storage/enums/storage-backend-provider.enum.d.ts +19 -0
  853. package/lib/src/modules/storage/enums/storage-backend-provider.enum.js +23 -0
  854. package/lib/src/modules/storage/factories/object-storage-provisioner.factory.d.ts +11 -0
  855. package/lib/src/modules/storage/factories/object-storage-provisioner.factory.js +48 -0
  856. package/lib/src/modules/storage/factories/storage-backend.factory.d.ts +12 -0
  857. package/lib/src/modules/storage/factories/storage-backend.factory.js +51 -0
  858. package/lib/src/modules/storage/implementations/generic-s3.backend.d.ts +23 -0
  859. package/lib/src/modules/storage/implementations/generic-s3.backend.js +172 -0
  860. package/lib/src/modules/storage/interfaces/backup-storage-backend.interface.d.ts +48 -0
  861. package/lib/src/modules/storage/interfaces/backup-storage-backend.interface.js +2 -0
  862. package/lib/src/modules/storage/interfaces/object-storage-provisioner.interface.d.ts +55 -0
  863. package/lib/src/modules/storage/interfaces/object-storage-provisioner.interface.js +9 -0
  864. package/lib/src/modules/storage/storage.module.d.ts +2 -0
  865. package/lib/src/modules/storage/storage.module.js +21 -0
  866. package/lib/src/modules/storage/tokens/object-storage-provisioner-registry.token.d.ts +12 -0
  867. package/lib/src/modules/storage/tokens/object-storage-provisioner-registry.token.js +8 -0
  868. package/lib/src/modules/storage/tokens/storage-backend-registry.token.d.ts +12 -0
  869. package/lib/src/modules/storage/tokens/storage-backend-registry.token.js +8 -0
  870. package/lib/src/modules/terminal/services/native-ssh-connection.service.d.ts +48 -0
  871. package/lib/src/modules/terminal/services/native-ssh-connection.service.js +282 -0
  872. package/oclif.manifest.json +5243 -0
  873. package/package.json +125 -0
@@ -0,0 +1,2486 @@
1
+ /**
2
+ * Domains and DNS API
3
+ * The Domains and DNS API documentation allows you to configure and manage your domains\' DNS zones and records. You can also use dynamic records to optimize and easily use your infrastructure as code. Read our [reference content documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/reference-content/) for more information about domains. Refer to the [Domains and DNS Registrar API documentation](https://www.scaleway.com/en/developers/api/domains-and-dns/registrar-api/) to find out how to buy,transfer and manage your domains and contacts (DNSSEC included). (switchcolumn) (switchcolumn) ## Concepts Refer to our [dedicated concepts page](https://www.scaleway.com/en/docs/network/domains-and-dns/concepts/) to find definitions of the different terms referring to Scaleway Domains and DNS. (switchcolumn) (switchcolumn) ## Quickstart 1. **Configure your environment variables.** <Message type=\"note\"> This is an optional step that seeks to simplify your usage of the API. </Message> ```bash export SCW_ACCESS_KEY=\"<API access key>\" export SCW_SECRET_KEY=\"<API secret key>\" export SCW_PROJECT_ID=\"<Scaleway Project ID>\" ``` 2. **Register an external domain.** Run the following command to register your domain: ```bash curl https://api.scaleway.com/domain/v2beta1/external-domains \\ -X POST \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -d \'{ \"domain\": \"my-external-domain.test\", \"project_id\": \"<Scaleway Project ID>\" }\' ``` 3. **Set up a TXT record.** <Message type=\"important\"> After you register your external domain, you must set up a TXT record **within 48 hours**. This step is optional if you have an internal domain. </Message> Set up your TXT record as explained in **step 4** of our [documentation on how to add an external domain](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/add-external-domain/) to confirm you are the owner of the domain registered. <Message type=\"note\"> You will receive a confirmation email once your domain is validated. Your domain will then be available on the API. </Message> 4. **Update your DNS name servers.** [Update your DNS name servers](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-nameservers-internal-domain) to Scaleway\'s DNS name servers: `ns0.dom.scw.cloud` and `ns1.dom.scw.cloud`. - For your domain: update the name servers at your registrar to point your domain to Scaleway\'s DNS servers - For your subdomain: update the name servers at your parent DNS server to point your subdomain to Scaleway\'s DNS servers 5. **Set up your domain\'s DNSSEC.** You need to set up your domain\'s DNSSEC on the registry by your registrar and on the DNS server with the same information. To set up the DNSSEC: * use the [Registrar API](https://www.scaleway.com/en/developers/api/domains-and-dns/registrar-api/#path-domains-update-domain-dnssec) `EnableDomainDNSSEC` to generate the setup on the DNS servers * if your domain is not registered on Scaleway but on another registrar, use the DS or public key information to configure the DNSSEC on your registrar <Message type=\"tip\"> You can remove your DNSSEC settings on your registrar before you migrate to our service. You will be able to set it up again afterwards. </Message> 6. **List your domains.** Run the following command to retrieve the list of your domains: ```bash curl https://api.scaleway.com/domain/v2beta1/domains \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" ``` The following output displays: ```bash { \"total_count\": 1, \"domains\": [ { \"domain\": \"domain-external.test\", \"organization_id\": \"<Scaleway Organization ID>\", \"project_id\": \"<Scaleway Project ID>\", \"auto_renew_status\": \"disabled\", \"dnssec_status\": \"disabled\", \"epp_code\": [], \"expired_at\": null, \"updated_at\": \"1970-01-01T00:00:00Z\", \"registrar\": \"EXTERNAL\", \"is_external\": true, \"status\": \"active\" } ] } ``` 7. **List the zones you can manage.** Run the following command to list the DNS zones you can manage: ```bash curl https://api.scaleway.com/domain/v2beta1/dns-zones/ \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" ``` An output similar to the following displays: ```bash { \"total_count\": 3, \"dns_zones\": [ { \"domain\": \"domain-external.test\", \"subdomain\": \"\", \"ns\": [ \"ns0.dom.scw.cloud\", \"ns1.dom.scw.cloud\" ], \"ns_default\": [ \"ns0.dom.scw.cloud\", \"ns1.dom.scw.cloud\" ], \"ns_master\": [], \"status\": \"active\", \"message\": null, \"updated_at\": \"2022-06-21T01:34:55Z\", \"project_id\": \"<Scaleway Project ID>\" }, { \"domain\": \"domain-external.test\", \"subdomain\": \"test-zone\", \"ns\": [ \"ns0.dom.scw.cloud\", \"ns1.dom.scw.cloud\" ], \"ns_default\": [ \"ns0.dom.scw.cloud\", \"ns1.dom.scw.cloud\" ], \"ns_master\": [], \"status\": \"active\", \"message\": null, \"updated_at\": \"2022-06-21T01:34:55Z\", \"project_id\": \"<Scaleway Project ID>\" }, { \"domain\": \"other-domain-external.test\", \"subdomain\": \"\", \"ns\": [ \"ns0.dom.scw.cloud\", \"ns1.dom.scw.cloud\" ], \"ns_default\": [ \"ns0.dom.scw.cloud\", \"ns1.dom.scw.cloud\" ], \"ns_master\": [], \"status\": \"active\", \"message\": null, \"updated_at\": \"2022-06-21T01:34:55Z\", \"project_id\": \"<Scaleway Project ID>\" } ] } ``` 8. **Update a zone\'s record(s).** <Message type=\"important\"> - The `clear` command clears all your records. You will have to setup your records again - If the zone you want to update does not exist but is included in a managed zone, the API will create the new (sub) zone </Message> Run the following command to update a zone\'s record: ```bash curl https://api.scaleway.com/domain/v2beta1/dns-zones/subdomain.domain-external.test/records \\ -X PATCH \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -d \'{ \"changes\": [ { \"clear\": {} }, { \"add\": { \"records\": [ { \"name\": \"test1\", \"data\": \"127.0.0.1\", \"type\": \"A\", \"ttl\": 3600 }, { \"name\": \"test2\", \"data\": \"127.0.0.1\", \"type\": \"A\", \"ttl\": 3600 } ] } }, { \"set\": { \"id_fields\": { \"type\": \"A\", \"name\": \"test2\" }, \"records\": [ { \"name\": \"test2\", \"data\": \"127.0.0.2\", \"type\": \"A\", \"ttl\": 3600 } ] } }, { \"add\": { \"records\": [ { \"name\": \"test3\", \"data\": \"127.0.0.3\", \"type\": \"A\", \"ttl\": 3600 }, { \"name\": \"test3\", \"data\": \"127.0.0.4\", \"type\": \"A\", \"ttl\": 3600 } ] } }, { \"delete\": { \"id_fields\": { \"name\": \"test3\", \"data\": \"127.0.0.4\", \"type\": \"A\", \"ttl\": 3600 } } } ] }\' ``` An output similar to the following displays: ```bash { \"records\": [ { \"id\": \"<UUID>\", \"data\": \"127.0.0.1\", \"name\": \"test1\", \"priority\": 0, \"ttl\": 3600, \"type\": \"A\" }, { \"id\": \"<UUID>\", \"data\": \"127.0.0.1\", \"name\": \"test2\", \"priority\": 0, \"ttl\": 3600, \"type\": \"A\" }, { \"id\": \"<UUID>\", \"data\": \"127.0.0.2\", \"name\": \"test2\", \"priority\": 0, \"ttl\": 3600, \"type\": \"A\" }, { \"id\": \"<UUID>\", \"data\": \"127.0.0.3\", \"name\": \"test3\", \"priority\": 0, \"ttl\": 3600, \"type\": \"A\" } ] } ``` 9. **Enable DNSSEC for external domains.** - Run the following command if you have not set up DNSSEC at your registrar: ```bash curl https://api.scaleway.com/domain/v2beta1/domains/example.com/enable-dnssec \\ -X POST \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -d \'{}\' ``` An output similar to the following displays: ```json { \"domain\":{ \"domain\":\"example.fr\", \"auto_renew_status\":\"enabled\", \"dnssec_status\":\"disabled\", \"ds_records\":[ { \"key_id\":49071, \"algorithm\":\"ecdsap256sha256\", \"digest\":{ \"type\":\"sha_384\", \"digest\":\"c14421f739e35b62e3383d5972263f93610dea31da48a1990453752cf1b4f4f0314f75ecd0bc9061c51ee41ec7692204\" } } ], \"epp\":[ \"clientTransferProhibited\" ], \"expired_at\":\"2021-04-04T12:46:29Z\", \"updated_at\":\"2020-07-07T13:24:27Z\", \"registrar\":\"EXTERNAL\", \"is_external\":true, \"status\":\"active\", \"......\" } ``` <Message type=\"important\"> Set up the information returned under `ds_records` in the output, in your registrar to configure DNSSEC for your external domain. </Message> - Run the following command if you have already set up DNSSEC at your registrar: ```bash curl https://api.scaleway.com/domain/v2beta1/domains/example.com/enable-dnssec \\ -X POST \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -d \'{ \"ds_record\": { \"algorithm\": \"rsamd5\", \"digest\": { \"type\": \"sha_1\", \"digest\": \"ABCD\" } } }\' ``` 10. **Enable DNSSEC for internal domains.** Find out how to enable DNSSEC for your internal domains in our [dedicated documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dnssec-internal-domain/). (switchcolumn) <Message type=\"requirement\"> - You have a [Scaleway account](https://console.scaleway.com/) - You have [created an API key](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/) and that the API key has sufficient [IAM permissions](https://www.scaleway.com/en/docs/iam/reference-content/permission-sets/) to perform the actions described on this page - You have your [Organization ID](https://console.scaleway.com/organization/settings) - You have [installed `curl`](https://curl.se/download.html) </Message> (switchcolumn) ## Technical information ### Regional availability Scaleway Domains and DNS is currently available globally. Find out about [product availability in our dedicated documentation](https://www.scaleway.com/en/docs/account/reference-content/products-availability). ### Format - The format of record names is always in \"short\" format (i.e.\"test\" instead of the FQDN \"test.mydomain.com\") - If a data value is not in RFC format, quotes will be added for `TXT`records. If `CNAME`records are not in FQDDN, the zone will be added ## Technical limitations - Only the owner of a domain can use and configure it with Domains and DNS - Each zone supports the creation of sub-zones, which inherit the parent\'s Project ID - We provide the following record types: `A`, `AAAA`, `CNAME`, `CAA`, `DNAME`, `HTTPS`, `MX`, `NAPTR`, `NS`, `SRV`, `SVCB`, `TLSA` and `TXT` - We support the following dynamic records: `http(s)` `health check` and `views` ## Going further For more information about Domains and DNS, you can check out the following pages: - [Domains and DNS Documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/) - [Scaleway Slack Community](http://slack.scaleway.com) join the #domains channel - [Contact our support team](https://console.scaleway.com/support/tickets) ### Test if the service is up Run the following command to test if an `http` or `https` service is up on a provided list of IPs: ```bash curl https://api.scaleway.com/domain/v2beta1/dns-zones/dom.example.com/records \\ -X PATCH \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -d \'{ \"return_all_records\": false, \"changes\": [ { \"add\": { \"records\": [ { \"name\": \"service-www\", \"data\": \"10.51.2.8\", \"type\": \"A\", \"ttl\": 600, \"http_service_config\": { \"ips\": [ \"10.51.2.8\", \"10.51.3.7\", \"10.51.2.9\" ], \"must_contain\": \"I am fine\", \"url\": \"https://www.domain-test.test\" } } ] } } ] }\' ``` <Message type=\"note\"> An IP is considered healthy if the query response contains the text specified in `must_contain`. The record type can be one of `A` and `AAAA`. </Message> ### View Run the following command to view responses depending on the requester\'s or resolver\'s IP: ```bash curl https://api.scaleway.com/domain/v2beta1/dns-zones/dom.example.com/records \\ -X PATCH \\ -H \"Content-Type: application/json\" \\ -H \"X-Auth-Token: $SCW_SECRET_KEY\" \\ -d \'{ \"return_all_records\": false, \"changes\": [ { \"set\": { \"id_fields\": { \"name\": \"test\", \"type\": \"CNAME\" }, \"records\": [ { \"name\": \"test\", \"data\": \"default-domain.com.\", \"type\": \"CNAME\", \"ttl\": 600, \"view_config\": { \"views\": [ { \"subnet\": \"10.51.0.0/16\", \"data\": \"filtered-domain.com.\" } ] } } ] } } ] }\' ``` <Message type=\"note\"> Record types include `A`, `AAAA`, `CNAME` and `TXT`. </Message>
4
+ *
5
+ * The version of the OpenAPI document: v2beta1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CloneDNSZoneRequest
20
+ */
21
+ export interface CloneDNSZoneRequest {
22
+ /**
23
+ * Destination DNS zone in which to clone the chosen DNS zone.
24
+ * @type {string}
25
+ * @memberof CloneDNSZoneRequest
26
+ */
27
+ dest_dns_zone: string;
28
+ /**
29
+ * Specifies whether or not the destination DNS zone will be overwritten.
30
+ * @type {boolean}
31
+ * @memberof CloneDNSZoneRequest
32
+ */
33
+ overwrite?: boolean;
34
+ /**
35
+ * Project ID of the destination DNS zone.
36
+ * @type {string}
37
+ * @memberof CloneDNSZoneRequest
38
+ */
39
+ project_id?: string;
40
+ }
41
+ /**
42
+ *
43
+ * @export
44
+ * @interface CreateDNSZoneRequest
45
+ */
46
+ export interface CreateDNSZoneRequest {
47
+ /**
48
+ * Domain in which to crreate the DNS zone.
49
+ * @type {string}
50
+ * @memberof CreateDNSZoneRequest
51
+ */
52
+ domain: string;
53
+ /**
54
+ * Subdomain of the DNS zone to create.
55
+ * @type {string}
56
+ * @memberof CreateDNSZoneRequest
57
+ */
58
+ subdomain: string;
59
+ /**
60
+ * Project ID in which to create the DNS zone.
61
+ * @type {string}
62
+ * @memberof CreateDNSZoneRequest
63
+ */
64
+ project_id: string;
65
+ }
66
+ /**
67
+ *
68
+ * @export
69
+ * @interface CreateSSLCertificateRequest
70
+ */
71
+ export interface CreateSSLCertificateRequest {
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof CreateSSLCertificateRequest
76
+ */
77
+ dns_zone?: string;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof CreateSSLCertificateRequest
82
+ */
83
+ alternative_dns_zones?: Array<string>;
84
+ }
85
+ /**
86
+ *
87
+ * @export
88
+ * @interface ImportProviderDNSZoneRequest
89
+ */
90
+ export interface ImportProviderDNSZoneRequest {
91
+ /**
92
+ *
93
+ * @type {ImportProviderDNSZoneRequestOnlineV1}
94
+ * @memberof ImportProviderDNSZoneRequest
95
+ */
96
+ online_v1?: ImportProviderDNSZoneRequestOnlineV1;
97
+ }
98
+ /**
99
+ *
100
+ * @export
101
+ * @interface ImportProviderDNSZoneRequestOnlineV1
102
+ */
103
+ export interface ImportProviderDNSZoneRequestOnlineV1 {
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof ImportProviderDNSZoneRequestOnlineV1
108
+ */
109
+ token?: string;
110
+ }
111
+ /**
112
+ *
113
+ * @export
114
+ * @interface ImportRawDNSZoneRequest
115
+ */
116
+ export interface ImportRawDNSZoneRequest {
117
+ /**
118
+ *
119
+ * @type {string}
120
+ * @memberof ImportRawDNSZoneRequest
121
+ * @deprecated
122
+ */
123
+ content?: string;
124
+ /**
125
+ *
126
+ * @type {string}
127
+ * @memberof ImportRawDNSZoneRequest
128
+ */
129
+ project_id?: string;
130
+ /**
131
+ *
132
+ * @type {ScalewayDomainV2beta1RawFormat}
133
+ * @memberof ImportRawDNSZoneRequest
134
+ * @deprecated
135
+ */
136
+ format?: ScalewayDomainV2beta1RawFormat;
137
+ /**
138
+ *
139
+ * @type {ImportRawDNSZoneRequestBindSource}
140
+ * @memberof ImportRawDNSZoneRequest
141
+ */
142
+ bind_source?: ImportRawDNSZoneRequestBindSource;
143
+ /**
144
+ *
145
+ * @type {ImportRawDNSZoneRequestAxfrSource}
146
+ * @memberof ImportRawDNSZoneRequest
147
+ */
148
+ axfr_source?: ImportRawDNSZoneRequestAxfrSource;
149
+ }
150
+ /**
151
+ * Import from the name server given with TSIG, to use or not.
152
+ * @export
153
+ * @interface ImportRawDNSZoneRequestAxfrSource
154
+ */
155
+ export interface ImportRawDNSZoneRequestAxfrSource {
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof ImportRawDNSZoneRequestAxfrSource
160
+ */
161
+ name_server?: string;
162
+ /**
163
+ *
164
+ * @type {ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey}
165
+ * @memberof ImportRawDNSZoneRequestAxfrSource
166
+ */
167
+ tsig_key?: ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey;
168
+ }
169
+ /**
170
+ * Import a bind file format.
171
+ * @export
172
+ * @interface ImportRawDNSZoneRequestBindSource
173
+ */
174
+ export interface ImportRawDNSZoneRequestBindSource {
175
+ /**
176
+ *
177
+ * @type {string}
178
+ * @memberof ImportRawDNSZoneRequestBindSource
179
+ */
180
+ content?: string;
181
+ }
182
+ /**
183
+ *
184
+ * @export
185
+ * @interface RefreshDNSZoneRequest
186
+ */
187
+ export interface RefreshDNSZoneRequest {
188
+ /**
189
+ * Specifies whether or not to recreate the DNS zone.
190
+ * @type {boolean}
191
+ * @memberof RefreshDNSZoneRequest
192
+ */
193
+ recreate_dns_zone?: boolean;
194
+ /**
195
+ * Specifies whether or not to recreate the sub DNS zone.
196
+ * @type {boolean}
197
+ * @memberof RefreshDNSZoneRequest
198
+ */
199
+ recreate_sub_dns_zone?: boolean;
200
+ }
201
+ /**
202
+ *
203
+ * @export
204
+ * @interface ScalewayDomainV2beta1DNSZone
205
+ */
206
+ export interface ScalewayDomainV2beta1DNSZone {
207
+ /**
208
+ *
209
+ * @type {string}
210
+ * @memberof ScalewayDomainV2beta1DNSZone
211
+ */
212
+ domain?: string;
213
+ /**
214
+ *
215
+ * @type {string}
216
+ * @memberof ScalewayDomainV2beta1DNSZone
217
+ */
218
+ subdomain?: string;
219
+ /**
220
+ *
221
+ * @type {Array<string>}
222
+ * @memberof ScalewayDomainV2beta1DNSZone
223
+ */
224
+ ns?: Array<string>;
225
+ /**
226
+ *
227
+ * @type {Array<string>}
228
+ * @memberof ScalewayDomainV2beta1DNSZone
229
+ */
230
+ ns_default?: Array<string>;
231
+ /**
232
+ *
233
+ * @type {Array<string>}
234
+ * @memberof ScalewayDomainV2beta1DNSZone
235
+ */
236
+ ns_master?: Array<string>;
237
+ /**
238
+ *
239
+ * @type {ScalewayDomainV2beta1DNSZoneStatus}
240
+ * @memberof ScalewayDomainV2beta1DNSZone
241
+ */
242
+ status?: ScalewayDomainV2beta1DNSZoneStatus;
243
+ /**
244
+ *
245
+ * @type {string}
246
+ * @memberof ScalewayDomainV2beta1DNSZone
247
+ */
248
+ message?: string;
249
+ /**
250
+ * (RFC 3339 format)
251
+ * @type {string}
252
+ * @memberof ScalewayDomainV2beta1DNSZone
253
+ */
254
+ updated_at?: string;
255
+ /**
256
+ *
257
+ * @type {string}
258
+ * @memberof ScalewayDomainV2beta1DNSZone
259
+ */
260
+ project_id?: string;
261
+ /**
262
+ *
263
+ * @type {Array<ScalewayDomainV2beta1LinkedProduct>}
264
+ * @memberof ScalewayDomainV2beta1DNSZone
265
+ */
266
+ linked_products?: Array<ScalewayDomainV2beta1LinkedProduct>;
267
+ }
268
+ /**
269
+ *
270
+ * @export
271
+ * @enum {string}
272
+ */
273
+ export declare const ScalewayDomainV2beta1DNSZoneStatus: {
274
+ readonly Unknown: "unknown";
275
+ readonly Active: "active";
276
+ readonly Pending: "pending";
277
+ readonly Error: "error";
278
+ readonly Locked: "locked";
279
+ };
280
+ export type ScalewayDomainV2beta1DNSZoneStatus = (typeof ScalewayDomainV2beta1DNSZoneStatus)[keyof typeof ScalewayDomainV2beta1DNSZoneStatus];
281
+ /**
282
+ *
283
+ * @export
284
+ * @interface ScalewayDomainV2beta1DNSZoneVersion
285
+ */
286
+ export interface ScalewayDomainV2beta1DNSZoneVersion {
287
+ /**
288
+ * (UUID format)
289
+ * @type {string}
290
+ * @memberof ScalewayDomainV2beta1DNSZoneVersion
291
+ */
292
+ id?: string;
293
+ /**
294
+ * (RFC 3339 format)
295
+ * @type {string}
296
+ * @memberof ScalewayDomainV2beta1DNSZoneVersion
297
+ */
298
+ created_at?: string;
299
+ }
300
+ /**
301
+ *
302
+ * @export
303
+ * @interface ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse
304
+ */
305
+ export interface ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse {
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse
310
+ */
311
+ name?: string;
312
+ /**
313
+ *
314
+ * @type {string}
315
+ * @memberof ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse
316
+ */
317
+ key?: string;
318
+ /**
319
+ *
320
+ * @type {string}
321
+ * @memberof ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse
322
+ */
323
+ algorithm?: string;
324
+ }
325
+ /**
326
+ *
327
+ * @export
328
+ * @interface ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse
329
+ */
330
+ export interface ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse {
331
+ /**
332
+ *
333
+ * @type {Array<ScalewayDomainV2beta1RecordChange>}
334
+ * @memberof ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse
335
+ */
336
+ changes?: Array<ScalewayDomainV2beta1RecordChange>;
337
+ }
338
+ /**
339
+ *
340
+ * @export
341
+ * @interface ScalewayDomainV2beta1ImportProviderDNSZoneResponse
342
+ */
343
+ export interface ScalewayDomainV2beta1ImportProviderDNSZoneResponse {
344
+ /**
345
+ *
346
+ * @type {Array<ScalewayDomainV2beta1Record>}
347
+ * @memberof ScalewayDomainV2beta1ImportProviderDNSZoneResponse
348
+ */
349
+ records?: Array<ScalewayDomainV2beta1Record>;
350
+ }
351
+ /**
352
+ *
353
+ * @export
354
+ * @interface ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey
355
+ */
356
+ export interface ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey {
357
+ /**
358
+ *
359
+ * @type {string}
360
+ * @memberof ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey
361
+ */
362
+ name?: string;
363
+ /**
364
+ *
365
+ * @type {string}
366
+ * @memberof ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey
367
+ */
368
+ key?: string;
369
+ /**
370
+ *
371
+ * @type {string}
372
+ * @memberof ScalewayDomainV2beta1ImportRawDNSZoneRequestTsigKey
373
+ */
374
+ algorithm?: string;
375
+ }
376
+ /**
377
+ *
378
+ * @export
379
+ * @interface ScalewayDomainV2beta1ImportRawDNSZoneResponse
380
+ */
381
+ export interface ScalewayDomainV2beta1ImportRawDNSZoneResponse {
382
+ /**
383
+ *
384
+ * @type {Array<ScalewayDomainV2beta1Record>}
385
+ * @memberof ScalewayDomainV2beta1ImportRawDNSZoneResponse
386
+ */
387
+ records?: Array<ScalewayDomainV2beta1Record>;
388
+ }
389
+ /**
390
+ *
391
+ * @export
392
+ * @enum {string}
393
+ */
394
+ export declare const ScalewayDomainV2beta1LinkedProduct: {
395
+ readonly UnknownProduct: "unknown_product";
396
+ readonly Vpc: "vpc";
397
+ };
398
+ export type ScalewayDomainV2beta1LinkedProduct = (typeof ScalewayDomainV2beta1LinkedProduct)[keyof typeof ScalewayDomainV2beta1LinkedProduct];
399
+ /**
400
+ *
401
+ * @export
402
+ * @interface ScalewayDomainV2beta1ListDNSZoneNameserversResponse
403
+ */
404
+ export interface ScalewayDomainV2beta1ListDNSZoneNameserversResponse {
405
+ /**
406
+ * DNS zone name servers returned.
407
+ * @type {Array<ScalewayDomainV2beta1Nameserver>}
408
+ * @memberof ScalewayDomainV2beta1ListDNSZoneNameserversResponse
409
+ */
410
+ ns?: Array<ScalewayDomainV2beta1Nameserver>;
411
+ }
412
+ /**
413
+ *
414
+ * @export
415
+ * @interface ScalewayDomainV2beta1ListDNSZoneRecordsResponse
416
+ */
417
+ export interface ScalewayDomainV2beta1ListDNSZoneRecordsResponse {
418
+ /**
419
+ * Total number of DNS zone records.
420
+ * @type {number}
421
+ * @memberof ScalewayDomainV2beta1ListDNSZoneRecordsResponse
422
+ */
423
+ total_count?: number;
424
+ /**
425
+ * Paginated returned DNS zone records.
426
+ * @type {Array<ScalewayDomainV2beta1Record>}
427
+ * @memberof ScalewayDomainV2beta1ListDNSZoneRecordsResponse
428
+ */
429
+ records?: Array<ScalewayDomainV2beta1Record>;
430
+ }
431
+ /**
432
+ *
433
+ * @export
434
+ * @interface ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse
435
+ */
436
+ export interface ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse {
437
+ /**
438
+ * Total number of DNS zones versions records.
439
+ * @type {number}
440
+ * @memberof ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse
441
+ */
442
+ total_count?: number;
443
+ /**
444
+ *
445
+ * @type {Array<ScalewayDomainV2beta1Record>}
446
+ * @memberof ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse
447
+ */
448
+ records?: Array<ScalewayDomainV2beta1Record>;
449
+ }
450
+ /**
451
+ *
452
+ * @export
453
+ * @interface ScalewayDomainV2beta1ListDNSZoneVersionsResponse
454
+ */
455
+ export interface ScalewayDomainV2beta1ListDNSZoneVersionsResponse {
456
+ /**
457
+ * Total number of DNS zones versions.
458
+ * @type {number}
459
+ * @memberof ScalewayDomainV2beta1ListDNSZoneVersionsResponse
460
+ */
461
+ total_count?: number;
462
+ /**
463
+ *
464
+ * @type {Array<ScalewayDomainV2beta1DNSZoneVersion>}
465
+ * @memberof ScalewayDomainV2beta1ListDNSZoneVersionsResponse
466
+ */
467
+ versions?: Array<ScalewayDomainV2beta1DNSZoneVersion>;
468
+ }
469
+ /**
470
+ *
471
+ * @export
472
+ * @interface ScalewayDomainV2beta1ListDNSZonesResponse
473
+ */
474
+ export interface ScalewayDomainV2beta1ListDNSZonesResponse {
475
+ /**
476
+ * Total number of DNS zones matching the requested criteria.
477
+ * @type {number}
478
+ * @memberof ScalewayDomainV2beta1ListDNSZonesResponse
479
+ */
480
+ total_count?: number;
481
+ /**
482
+ * Paginated returned DNS zones.
483
+ * @type {Array<ScalewayDomainV2beta1DNSZone>}
484
+ * @memberof ScalewayDomainV2beta1ListDNSZonesResponse
485
+ */
486
+ dns_zones?: Array<ScalewayDomainV2beta1DNSZone>;
487
+ }
488
+ /**
489
+ *
490
+ * @export
491
+ * @interface ScalewayDomainV2beta1ListSSLCertificatesResponse
492
+ */
493
+ export interface ScalewayDomainV2beta1ListSSLCertificatesResponse {
494
+ /**
495
+ *
496
+ * @type {number}
497
+ * @memberof ScalewayDomainV2beta1ListSSLCertificatesResponse
498
+ */
499
+ total_count?: number;
500
+ /**
501
+ *
502
+ * @type {Array<ScalewayDomainV2beta1SSLCertificate>}
503
+ * @memberof ScalewayDomainV2beta1ListSSLCertificatesResponse
504
+ */
505
+ certificates?: Array<ScalewayDomainV2beta1SSLCertificate>;
506
+ }
507
+ /**
508
+ *
509
+ * @export
510
+ * @interface ScalewayDomainV2beta1Nameserver
511
+ */
512
+ export interface ScalewayDomainV2beta1Nameserver {
513
+ /**
514
+ *
515
+ * @type {string}
516
+ * @memberof ScalewayDomainV2beta1Nameserver
517
+ */
518
+ name?: string;
519
+ /**
520
+ *
521
+ * @type {Array<string>}
522
+ * @memberof ScalewayDomainV2beta1Nameserver
523
+ */
524
+ ip?: Array<string>;
525
+ }
526
+ /**
527
+ *
528
+ * @export
529
+ * @enum {string}
530
+ */
531
+ export declare const ScalewayDomainV2beta1RawFormat: {
532
+ readonly UnknownRawFormat: "unknown_raw_format";
533
+ readonly Bind: "bind";
534
+ };
535
+ export type ScalewayDomainV2beta1RawFormat = (typeof ScalewayDomainV2beta1RawFormat)[keyof typeof ScalewayDomainV2beta1RawFormat];
536
+ /**
537
+ *
538
+ * @export
539
+ * @interface ScalewayDomainV2beta1Record
540
+ */
541
+ export interface ScalewayDomainV2beta1Record {
542
+ /**
543
+ *
544
+ * @type {string}
545
+ * @memberof ScalewayDomainV2beta1Record
546
+ */
547
+ data?: string;
548
+ /**
549
+ *
550
+ * @type {string}
551
+ * @memberof ScalewayDomainV2beta1Record
552
+ */
553
+ name?: string;
554
+ /**
555
+ *
556
+ * @type {number}
557
+ * @memberof ScalewayDomainV2beta1Record
558
+ */
559
+ priority?: number;
560
+ /**
561
+ *
562
+ * @type {number}
563
+ * @memberof ScalewayDomainV2beta1Record
564
+ */
565
+ ttl?: number;
566
+ /**
567
+ *
568
+ * @type {ScalewayDomainV2beta1RecordType}
569
+ * @memberof ScalewayDomainV2beta1Record
570
+ */
571
+ type?: ScalewayDomainV2beta1RecordType;
572
+ /**
573
+ *
574
+ * @type {string}
575
+ * @memberof ScalewayDomainV2beta1Record
576
+ */
577
+ comment?: string;
578
+ /**
579
+ *
580
+ * @type {ScalewayDomainV2beta1RecordGeoIpConfig}
581
+ * @memberof ScalewayDomainV2beta1Record
582
+ */
583
+ geo_ip_config?: ScalewayDomainV2beta1RecordGeoIpConfig;
584
+ /**
585
+ *
586
+ * @type {ScalewayDomainV2beta1RecordHttpServiceConfig}
587
+ * @memberof ScalewayDomainV2beta1Record
588
+ */
589
+ http_service_config?: ScalewayDomainV2beta1RecordHttpServiceConfig;
590
+ /**
591
+ *
592
+ * @type {ScalewayDomainV2beta1RecordWeightedConfig}
593
+ * @memberof ScalewayDomainV2beta1Record
594
+ */
595
+ weighted_config?: ScalewayDomainV2beta1RecordWeightedConfig;
596
+ /**
597
+ *
598
+ * @type {ScalewayDomainV2beta1RecordViewConfig}
599
+ * @memberof ScalewayDomainV2beta1Record
600
+ */
601
+ view_config?: ScalewayDomainV2beta1RecordViewConfig;
602
+ /**
603
+ *
604
+ * @type {string}
605
+ * @memberof ScalewayDomainV2beta1Record
606
+ */
607
+ id?: string;
608
+ /**
609
+ * (RFC 3339 format)
610
+ * @type {string}
611
+ * @memberof ScalewayDomainV2beta1Record
612
+ */
613
+ updated_at?: string;
614
+ }
615
+ /**
616
+ *
617
+ * @export
618
+ * @interface ScalewayDomainV2beta1RecordChange
619
+ */
620
+ export interface ScalewayDomainV2beta1RecordChange {
621
+ /**
622
+ *
623
+ * @type {ScalewayDomainV2beta1RecordChangeAdd}
624
+ * @memberof ScalewayDomainV2beta1RecordChange
625
+ */
626
+ add?: ScalewayDomainV2beta1RecordChangeAdd;
627
+ /**
628
+ *
629
+ * @type {ScalewayDomainV2beta1RecordChangeSet}
630
+ * @memberof ScalewayDomainV2beta1RecordChange
631
+ */
632
+ set?: ScalewayDomainV2beta1RecordChangeSet;
633
+ /**
634
+ *
635
+ * @type {ScalewayDomainV2beta1RecordChangeDelete}
636
+ * @memberof ScalewayDomainV2beta1RecordChange
637
+ */
638
+ delete?: ScalewayDomainV2beta1RecordChangeDelete;
639
+ /**
640
+ *
641
+ * @type {object}
642
+ * @memberof ScalewayDomainV2beta1RecordChange
643
+ */
644
+ clear?: object;
645
+ }
646
+ /**
647
+ *
648
+ * @export
649
+ * @interface ScalewayDomainV2beta1RecordChangeAdd
650
+ */
651
+ export interface ScalewayDomainV2beta1RecordChangeAdd {
652
+ /**
653
+ *
654
+ * @type {Array<ScalewayDomainV2beta1Record>}
655
+ * @memberof ScalewayDomainV2beta1RecordChangeAdd
656
+ */
657
+ records?: Array<ScalewayDomainV2beta1Record>;
658
+ }
659
+ /**
660
+ *
661
+ * @export
662
+ * @interface ScalewayDomainV2beta1RecordChangeDelete
663
+ */
664
+ export interface ScalewayDomainV2beta1RecordChangeDelete {
665
+ /**
666
+ * (UUID format)
667
+ * @type {string}
668
+ * @memberof ScalewayDomainV2beta1RecordChangeDelete
669
+ */
670
+ id?: string;
671
+ /**
672
+ *
673
+ * @type {ScalewayDomainV2beta1RecordChangeSetIdFields}
674
+ * @memberof ScalewayDomainV2beta1RecordChangeDelete
675
+ */
676
+ id_fields?: ScalewayDomainV2beta1RecordChangeSetIdFields;
677
+ }
678
+ /**
679
+ *
680
+ * @export
681
+ * @interface ScalewayDomainV2beta1RecordChangeSet
682
+ */
683
+ export interface ScalewayDomainV2beta1RecordChangeSet {
684
+ /**
685
+ * (UUID format)
686
+ * @type {string}
687
+ * @memberof ScalewayDomainV2beta1RecordChangeSet
688
+ */
689
+ id?: string;
690
+ /**
691
+ *
692
+ * @type {ScalewayDomainV2beta1RecordChangeSetIdFields}
693
+ * @memberof ScalewayDomainV2beta1RecordChangeSet
694
+ */
695
+ id_fields?: ScalewayDomainV2beta1RecordChangeSetIdFields;
696
+ /**
697
+ *
698
+ * @type {Array<ScalewayDomainV2beta1Record>}
699
+ * @memberof ScalewayDomainV2beta1RecordChangeSet
700
+ */
701
+ records?: Array<ScalewayDomainV2beta1Record>;
702
+ }
703
+ /**
704
+ *
705
+ * @export
706
+ * @interface ScalewayDomainV2beta1RecordChangeSetIdFields
707
+ */
708
+ export interface ScalewayDomainV2beta1RecordChangeSetIdFields {
709
+ /**
710
+ *
711
+ * @type {string}
712
+ * @memberof ScalewayDomainV2beta1RecordChangeSetIdFields
713
+ */
714
+ name?: string;
715
+ /**
716
+ *
717
+ * @type {ScalewayDomainV2beta1RecordType}
718
+ * @memberof ScalewayDomainV2beta1RecordChangeSetIdFields
719
+ */
720
+ type?: ScalewayDomainV2beta1RecordType;
721
+ /**
722
+ *
723
+ * @type {string}
724
+ * @memberof ScalewayDomainV2beta1RecordChangeSetIdFields
725
+ */
726
+ data?: string;
727
+ /**
728
+ *
729
+ * @type {number}
730
+ * @memberof ScalewayDomainV2beta1RecordChangeSetIdFields
731
+ */
732
+ ttl?: number;
733
+ }
734
+ /**
735
+ *
736
+ * @export
737
+ * @interface ScalewayDomainV2beta1RecordGeoIPConfigMatch
738
+ */
739
+ export interface ScalewayDomainV2beta1RecordGeoIPConfigMatch {
740
+ /**
741
+ *
742
+ * @type {Array<string>}
743
+ * @memberof ScalewayDomainV2beta1RecordGeoIPConfigMatch
744
+ */
745
+ countries?: Array<string>;
746
+ /**
747
+ *
748
+ * @type {Array<string>}
749
+ * @memberof ScalewayDomainV2beta1RecordGeoIPConfigMatch
750
+ */
751
+ continents?: Array<string>;
752
+ /**
753
+ *
754
+ * @type {string}
755
+ * @memberof ScalewayDomainV2beta1RecordGeoIPConfigMatch
756
+ */
757
+ data?: string;
758
+ }
759
+ /**
760
+ *
761
+ * @export
762
+ * @interface ScalewayDomainV2beta1RecordGeoIpConfig
763
+ */
764
+ export interface ScalewayDomainV2beta1RecordGeoIpConfig {
765
+ /**
766
+ *
767
+ * @type {Array<ScalewayDomainV2beta1RecordGeoIPConfigMatch>}
768
+ * @memberof ScalewayDomainV2beta1RecordGeoIpConfig
769
+ */
770
+ matches?: Array<ScalewayDomainV2beta1RecordGeoIPConfigMatch>;
771
+ /**
772
+ *
773
+ * @type {string}
774
+ * @memberof ScalewayDomainV2beta1RecordGeoIpConfig
775
+ */
776
+ default?: string;
777
+ }
778
+ /**
779
+ *
780
+ * @export
781
+ * @enum {string}
782
+ */
783
+ export declare const ScalewayDomainV2beta1RecordHTTPServiceConfigStrategy: {
784
+ readonly Random: "random";
785
+ readonly Hashed: "hashed";
786
+ readonly All: "all";
787
+ };
788
+ export type ScalewayDomainV2beta1RecordHTTPServiceConfigStrategy = (typeof ScalewayDomainV2beta1RecordHTTPServiceConfigStrategy)[keyof typeof ScalewayDomainV2beta1RecordHTTPServiceConfigStrategy];
789
+ /**
790
+ *
791
+ * @export
792
+ * @interface ScalewayDomainV2beta1RecordHttpServiceConfig
793
+ */
794
+ export interface ScalewayDomainV2beta1RecordHttpServiceConfig {
795
+ /**
796
+ * (IP address)
797
+ * @type {Array<string>}
798
+ * @memberof ScalewayDomainV2beta1RecordHttpServiceConfig
799
+ */
800
+ ips?: Array<string>;
801
+ /**
802
+ *
803
+ * @type {string}
804
+ * @memberof ScalewayDomainV2beta1RecordHttpServiceConfig
805
+ */
806
+ must_contain?: string;
807
+ /**
808
+ *
809
+ * @type {string}
810
+ * @memberof ScalewayDomainV2beta1RecordHttpServiceConfig
811
+ */
812
+ url?: string;
813
+ /**
814
+ *
815
+ * @type {string}
816
+ * @memberof ScalewayDomainV2beta1RecordHttpServiceConfig
817
+ */
818
+ user_agent?: string;
819
+ /**
820
+ *
821
+ * @type {ScalewayDomainV2beta1RecordHTTPServiceConfigStrategy}
822
+ * @memberof ScalewayDomainV2beta1RecordHttpServiceConfig
823
+ */
824
+ strategy?: ScalewayDomainV2beta1RecordHTTPServiceConfigStrategy;
825
+ }
826
+ /**
827
+ *
828
+ * @export
829
+ * @enum {string}
830
+ */
831
+ export declare const ScalewayDomainV2beta1RecordType: {
832
+ readonly Unknown: "unknown";
833
+ readonly A: "A";
834
+ readonly Aaaa: "AAAA";
835
+ readonly Cname: "CNAME";
836
+ readonly Txt: "TXT";
837
+ readonly Srv: "SRV";
838
+ readonly Tlsa: "TLSA";
839
+ readonly Mx: "MX";
840
+ readonly Ns: "NS";
841
+ readonly Ptr: "PTR";
842
+ readonly Caa: "CAA";
843
+ readonly Alias: "ALIAS";
844
+ readonly Loc: "LOC";
845
+ readonly Sshfp: "SSHFP";
846
+ readonly Hinfo: "HINFO";
847
+ readonly Rp: "RP";
848
+ readonly Uri: "URI";
849
+ readonly Ds: "DS";
850
+ readonly Naptr: "NAPTR";
851
+ readonly Dname: "DNAME";
852
+ readonly Svcb: "SVCB";
853
+ readonly Https: "HTTPS";
854
+ };
855
+ export type ScalewayDomainV2beta1RecordType = (typeof ScalewayDomainV2beta1RecordType)[keyof typeof ScalewayDomainV2beta1RecordType];
856
+ /**
857
+ *
858
+ * @export
859
+ * @interface ScalewayDomainV2beta1RecordViewConfig
860
+ */
861
+ export interface ScalewayDomainV2beta1RecordViewConfig {
862
+ /**
863
+ *
864
+ * @type {Array<ScalewayDomainV2beta1RecordViewConfigView>}
865
+ * @memberof ScalewayDomainV2beta1RecordViewConfig
866
+ */
867
+ views?: Array<ScalewayDomainV2beta1RecordViewConfigView>;
868
+ }
869
+ /**
870
+ *
871
+ * @export
872
+ * @interface ScalewayDomainV2beta1RecordViewConfigView
873
+ */
874
+ export interface ScalewayDomainV2beta1RecordViewConfigView {
875
+ /**
876
+ *
877
+ * @type {string}
878
+ * @memberof ScalewayDomainV2beta1RecordViewConfigView
879
+ */
880
+ subnet?: string;
881
+ /**
882
+ *
883
+ * @type {string}
884
+ * @memberof ScalewayDomainV2beta1RecordViewConfigView
885
+ */
886
+ data?: string;
887
+ }
888
+ /**
889
+ *
890
+ * @export
891
+ * @interface ScalewayDomainV2beta1RecordWeightedConfig
892
+ */
893
+ export interface ScalewayDomainV2beta1RecordWeightedConfig {
894
+ /**
895
+ *
896
+ * @type {Array<ScalewayDomainV2beta1RecordWeightedConfigWeightedIP>}
897
+ * @memberof ScalewayDomainV2beta1RecordWeightedConfig
898
+ */
899
+ weighted_ips?: Array<ScalewayDomainV2beta1RecordWeightedConfigWeightedIP>;
900
+ }
901
+ /**
902
+ *
903
+ * @export
904
+ * @interface ScalewayDomainV2beta1RecordWeightedConfigWeightedIP
905
+ */
906
+ export interface ScalewayDomainV2beta1RecordWeightedConfigWeightedIP {
907
+ /**
908
+ * (IP address)
909
+ * @type {string}
910
+ * @memberof ScalewayDomainV2beta1RecordWeightedConfigWeightedIP
911
+ */
912
+ ip?: string;
913
+ /**
914
+ *
915
+ * @type {number}
916
+ * @memberof ScalewayDomainV2beta1RecordWeightedConfigWeightedIP
917
+ */
918
+ weight?: number;
919
+ }
920
+ /**
921
+ *
922
+ * @export
923
+ * @interface ScalewayDomainV2beta1RefreshDNSZoneResponse
924
+ */
925
+ export interface ScalewayDomainV2beta1RefreshDNSZoneResponse {
926
+ /**
927
+ * DNS zones returned.
928
+ * @type {Array<ScalewayDomainV2beta1DNSZone>}
929
+ * @memberof ScalewayDomainV2beta1RefreshDNSZoneResponse
930
+ */
931
+ dns_zones?: Array<ScalewayDomainV2beta1DNSZone>;
932
+ }
933
+ /**
934
+ *
935
+ * @export
936
+ * @interface ScalewayDomainV2beta1SSLCertificate
937
+ */
938
+ export interface ScalewayDomainV2beta1SSLCertificate {
939
+ /**
940
+ *
941
+ * @type {string}
942
+ * @memberof ScalewayDomainV2beta1SSLCertificate
943
+ */
944
+ dns_zone?: string;
945
+ /**
946
+ *
947
+ * @type {Array<string>}
948
+ * @memberof ScalewayDomainV2beta1SSLCertificate
949
+ */
950
+ alternative_dns_zones?: Array<string>;
951
+ /**
952
+ *
953
+ * @type {ScalewayDomainV2beta1SSLCertificateStatus}
954
+ * @memberof ScalewayDomainV2beta1SSLCertificate
955
+ */
956
+ status?: ScalewayDomainV2beta1SSLCertificateStatus;
957
+ /**
958
+ *
959
+ * @type {string}
960
+ * @memberof ScalewayDomainV2beta1SSLCertificate
961
+ */
962
+ private_key?: string;
963
+ /**
964
+ *
965
+ * @type {string}
966
+ * @memberof ScalewayDomainV2beta1SSLCertificate
967
+ */
968
+ certificate_chain?: string;
969
+ /**
970
+ * (RFC 3339 format)
971
+ * @type {string}
972
+ * @memberof ScalewayDomainV2beta1SSLCertificate
973
+ */
974
+ created_at?: string;
975
+ /**
976
+ * (RFC 3339 format)
977
+ * @type {string}
978
+ * @memberof ScalewayDomainV2beta1SSLCertificate
979
+ */
980
+ expired_at?: string;
981
+ }
982
+ /**
983
+ *
984
+ * @export
985
+ * @enum {string}
986
+ */
987
+ export declare const ScalewayDomainV2beta1SSLCertificateStatus: {
988
+ readonly Unknown: "unknown";
989
+ readonly New: "new";
990
+ readonly Pending: "pending";
991
+ readonly Success: "success";
992
+ readonly Error: "error";
993
+ };
994
+ export type ScalewayDomainV2beta1SSLCertificateStatus = (typeof ScalewayDomainV2beta1SSLCertificateStatus)[keyof typeof ScalewayDomainV2beta1SSLCertificateStatus];
995
+ /**
996
+ *
997
+ * @export
998
+ * @interface ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse
999
+ */
1000
+ export interface ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse {
1001
+ /**
1002
+ * DNS zone name servers returned.
1003
+ * @type {Array<ScalewayDomainV2beta1Nameserver>}
1004
+ * @memberof ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse
1005
+ */
1006
+ ns?: Array<ScalewayDomainV2beta1Nameserver>;
1007
+ }
1008
+ /**
1009
+ *
1010
+ * @export
1011
+ * @interface ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse
1012
+ */
1013
+ export interface ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse {
1014
+ /**
1015
+ * DNS zone records returned.
1016
+ * @type {Array<ScalewayDomainV2beta1Record>}
1017
+ * @memberof ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse
1018
+ */
1019
+ records?: Array<ScalewayDomainV2beta1Record>;
1020
+ }
1021
+ /**
1022
+ *
1023
+ * @export
1024
+ * @interface ScalewayStdFile
1025
+ */
1026
+ export interface ScalewayStdFile {
1027
+ /**
1028
+ *
1029
+ * @type {string}
1030
+ * @memberof ScalewayStdFile
1031
+ */
1032
+ name?: string;
1033
+ /**
1034
+ *
1035
+ * @type {string}
1036
+ * @memberof ScalewayStdFile
1037
+ */
1038
+ content_type?: string;
1039
+ /**
1040
+ *
1041
+ * @type {string}
1042
+ * @memberof ScalewayStdFile
1043
+ */
1044
+ content?: string;
1045
+ }
1046
+ /**
1047
+ *
1048
+ * @export
1049
+ * @interface UpdateDNSZoneNameserversRequest
1050
+ */
1051
+ export interface UpdateDNSZoneNameserversRequest {
1052
+ /**
1053
+ * New DNS zone name servers.
1054
+ * @type {Array<ScalewayDomainV2beta1Nameserver>}
1055
+ * @memberof UpdateDNSZoneNameserversRequest
1056
+ */
1057
+ ns: Array<ScalewayDomainV2beta1Nameserver>;
1058
+ }
1059
+ /**
1060
+ *
1061
+ * @export
1062
+ * @interface UpdateDNSZoneRecordsRequest
1063
+ */
1064
+ export interface UpdateDNSZoneRecordsRequest {
1065
+ /**
1066
+ * Changes made to the records.
1067
+ * @type {Array<ScalewayDomainV2beta1RecordChange>}
1068
+ * @memberof UpdateDNSZoneRecordsRequest
1069
+ */
1070
+ changes: Array<ScalewayDomainV2beta1RecordChange>;
1071
+ /**
1072
+ * Specifies whether or not to return all the records.
1073
+ * @type {boolean}
1074
+ * @memberof UpdateDNSZoneRecordsRequest
1075
+ */
1076
+ return_all_records?: boolean;
1077
+ /**
1078
+ * Disable the creation of the target zone if it does not exist. Target zone creation is disabled by default.
1079
+ * @type {boolean}
1080
+ * @memberof UpdateDNSZoneRecordsRequest
1081
+ */
1082
+ disallow_new_zone_creation?: boolean;
1083
+ /**
1084
+ * Use the provided serial (0) instead of the auto-increment serial.
1085
+ * @type {number}
1086
+ * @memberof UpdateDNSZoneRecordsRequest
1087
+ */
1088
+ serial?: number;
1089
+ }
1090
+ /**
1091
+ *
1092
+ * @export
1093
+ * @interface UpdateDNSZoneRequest
1094
+ */
1095
+ export interface UpdateDNSZoneRequest {
1096
+ /**
1097
+ * Name of the new DNS zone to create.
1098
+ * @type {string}
1099
+ * @memberof UpdateDNSZoneRequest
1100
+ */
1101
+ new_dns_zone: string;
1102
+ /**
1103
+ * Project ID in which to create the new DNS zone.
1104
+ * @type {string}
1105
+ * @memberof UpdateDNSZoneRequest
1106
+ */
1107
+ project_id: string;
1108
+ }
1109
+ /**
1110
+ * DNSZonesApi - axios parameter creator
1111
+ * @export
1112
+ */
1113
+ export declare const DNSZonesApiAxiosParamCreator: (configuration?: Configuration) => {
1114
+ /**
1115
+ * Clone an existing DNS zone with all its records into a new DNS zone.
1116
+ * @summary Clone a DNS zone
1117
+ * @param {string} dnsZone DNS zone to clone.
1118
+ * @param {CloneDNSZoneRequest} cloneDNSZoneRequest
1119
+ * @param {*} [options] Override http request option.
1120
+ * @throws {RequiredError}
1121
+ */
1122
+ cloneDNSZone: (dnsZone: string, cloneDNSZoneRequest: CloneDNSZoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1123
+ /**
1124
+ * Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
1125
+ * @summary Create a DNS zone
1126
+ * @param {CreateDNSZoneRequest} createDNSZoneRequest
1127
+ * @param {*} [options] Override http request option.
1128
+ * @throws {RequiredError}
1129
+ */
1130
+ createDNSZone: (createDNSZoneRequest: CreateDNSZoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1131
+ /**
1132
+ * Create a new TLS certificate or retrieve information about an existing TLS certificate.
1133
+ * @summary Create or get the DNS zone\'s TLS certificate
1134
+ * @param {CreateSSLCertificateRequest} createSSLCertificateRequest
1135
+ * @param {*} [options] Override http request option.
1136
+ * @throws {RequiredError}
1137
+ */
1138
+ createSSLCertificate: (createSSLCertificateRequest: CreateSSLCertificateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1139
+ /**
1140
+ * Delete a DNS zone and all its records.
1141
+ * @summary Delete a DNS zone
1142
+ * @param {string} dnsZone DNS zone to delete.
1143
+ * @param {string} projectId Project ID of the DNS zone to delete.
1144
+ * @param {*} [options] Override http request option.
1145
+ * @throws {RequiredError}
1146
+ */
1147
+ deleteDNSZone: (dnsZone: string, projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1148
+ /**
1149
+ * Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
1150
+ * @summary Delete the DNS zone\'s TSIG key
1151
+ * @param {string} dnsZone
1152
+ * @param {*} [options] Override http request option.
1153
+ * @throws {RequiredError}
1154
+ */
1155
+ deleteDNSZoneTsigKey: (dnsZone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1156
+ /**
1157
+ * Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
1158
+ * @summary Delete a TLS certificate
1159
+ * @param {string} dnsZone
1160
+ * @param {*} [options] Override http request option.
1161
+ * @throws {RequiredError}
1162
+ */
1163
+ deleteSSLCertificate: (dnsZone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1164
+ /**
1165
+ * Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
1166
+ * @summary Get the DNS zone\'s TSIG key
1167
+ * @param {string} dnsZone
1168
+ * @param {*} [options] Override http request option.
1169
+ * @throws {RequiredError}
1170
+ */
1171
+ getDNSZoneTsigKey: (dnsZone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1172
+ /**
1173
+ * Get the DNS zone\'s TLS certificate. If you do not have a certificate, the output returns `no certificate found`.
1174
+ * @summary Get a DNS zone\'s TLS certificate
1175
+ * @param {string} dnsZone
1176
+ * @param {*} [options] Override http request option.
1177
+ * @throws {RequiredError}
1178
+ */
1179
+ getSSLCertificate: (dnsZone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1180
+ /**
1181
+ * Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
1182
+ * @summary List DNS zones
1183
+ * @param {string} domain Domain on which to filter the returned DNS zones.
1184
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zones.
1185
+ * @param {string} [organizationId] Organization ID on which to filter the returned DNS zones.
1186
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zones.
1187
+ * @param {ListDNSZonesOrderByEnum} [orderBy] Sort order of the returned DNS zones.
1188
+ * @param {number} [page] Page number to return, from the paginated results.
1189
+ * @param {number} [pageSize] Maximum number of DNS zones to return per page.
1190
+ * @param {Array<string>} [dnsZones] DNS zones on which to filter the returned DNS zones.
1191
+ * @param {string} [createdAfter] Only list DNS zones created after this date. (RFC 3339 format)
1192
+ * @param {string} [createdBefore] Only list DNS zones created before this date. (RFC 3339 format)
1193
+ * @param {string} [updatedAfter] Only list DNS zones updated after this date. (RFC 3339 format)
1194
+ * @param {string} [updatedBefore] Only list DNS zones updated before this date. (RFC 3339 format)
1195
+ * @param {*} [options] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ */
1198
+ listDNSZones: (domain: string, dnsZone: string, organizationId?: string, projectId?: string, orderBy?: ListDNSZonesOrderByEnum, page?: number, pageSize?: number, dnsZones?: Array<string>, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1199
+ /**
1200
+ * List all the TLS certificates a user has created, specified by the user\'s Project ID and the DNS zone.
1201
+ * @summary List a user\'s TLS certificates
1202
+ * @param {string} dnsZone
1203
+ * @param {number} [page]
1204
+ * @param {number} [pageSize]
1205
+ * @param {string} [projectId]
1206
+ * @param {*} [options] Override http request option.
1207
+ * @throws {RequiredError}
1208
+ */
1209
+ listSSLCertificates: (dnsZone: string, page?: number, pageSize?: number, projectId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1210
+ /**
1211
+ * Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial. You can recreate the given DNS zone and its sub DNS zone if needed.
1212
+ * @summary Refresh a DNS zone
1213
+ * @param {string} dnsZone DNS zone to refresh.
1214
+ * @param {RefreshDNSZoneRequest} refreshDNSZoneRequest
1215
+ * @param {*} [options] Override http request option.
1216
+ * @throws {RequiredError}
1217
+ */
1218
+ refreshDNSZone: (dnsZone: string, refreshDNSZoneRequest: RefreshDNSZoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1219
+ /**
1220
+ * Update the name and/or the Organizations for a DNS zone.
1221
+ * @summary Update a DNS zone
1222
+ * @param {string} dnsZone DNS zone to update.
1223
+ * @param {UpdateDNSZoneRequest} updateDNSZoneRequest
1224
+ * @param {*} [options] Override http request option.
1225
+ * @throws {RequiredError}
1226
+ */
1227
+ updateDNSZone: (dnsZone: string, updateDNSZoneRequest: UpdateDNSZoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1228
+ };
1229
+ /**
1230
+ * DNSZonesApi - functional programming interface
1231
+ * @export
1232
+ */
1233
+ export declare const DNSZonesApiFp: (configuration?: Configuration) => {
1234
+ /**
1235
+ * Clone an existing DNS zone with all its records into a new DNS zone.
1236
+ * @summary Clone a DNS zone
1237
+ * @param {string} dnsZone DNS zone to clone.
1238
+ * @param {CloneDNSZoneRequest} cloneDNSZoneRequest
1239
+ * @param {*} [options] Override http request option.
1240
+ * @throws {RequiredError}
1241
+ */
1242
+ cloneDNSZone(dnsZone: string, cloneDNSZoneRequest: CloneDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1DNSZone>>;
1243
+ /**
1244
+ * Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
1245
+ * @summary Create a DNS zone
1246
+ * @param {CreateDNSZoneRequest} createDNSZoneRequest
1247
+ * @param {*} [options] Override http request option.
1248
+ * @throws {RequiredError}
1249
+ */
1250
+ createDNSZone(createDNSZoneRequest: CreateDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1DNSZone>>;
1251
+ /**
1252
+ * Create a new TLS certificate or retrieve information about an existing TLS certificate.
1253
+ * @summary Create or get the DNS zone\'s TLS certificate
1254
+ * @param {CreateSSLCertificateRequest} createSSLCertificateRequest
1255
+ * @param {*} [options] Override http request option.
1256
+ * @throws {RequiredError}
1257
+ */
1258
+ createSSLCertificate(createSSLCertificateRequest: CreateSSLCertificateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1SSLCertificate>>;
1259
+ /**
1260
+ * Delete a DNS zone and all its records.
1261
+ * @summary Delete a DNS zone
1262
+ * @param {string} dnsZone DNS zone to delete.
1263
+ * @param {string} projectId Project ID of the DNS zone to delete.
1264
+ * @param {*} [options] Override http request option.
1265
+ * @throws {RequiredError}
1266
+ */
1267
+ deleteDNSZone(dnsZone: string, projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1268
+ /**
1269
+ * Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
1270
+ * @summary Delete the DNS zone\'s TSIG key
1271
+ * @param {string} dnsZone
1272
+ * @param {*} [options] Override http request option.
1273
+ * @throws {RequiredError}
1274
+ */
1275
+ deleteDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1276
+ /**
1277
+ * Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
1278
+ * @summary Delete a TLS certificate
1279
+ * @param {string} dnsZone
1280
+ * @param {*} [options] Override http request option.
1281
+ * @throws {RequiredError}
1282
+ */
1283
+ deleteSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
1284
+ /**
1285
+ * Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
1286
+ * @summary Get the DNS zone\'s TSIG key
1287
+ * @param {string} dnsZone
1288
+ * @param {*} [options] Override http request option.
1289
+ * @throws {RequiredError}
1290
+ */
1291
+ getDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse>>;
1292
+ /**
1293
+ * Get the DNS zone\'s TLS certificate. If you do not have a certificate, the output returns `no certificate found`.
1294
+ * @summary Get a DNS zone\'s TLS certificate
1295
+ * @param {string} dnsZone
1296
+ * @param {*} [options] Override http request option.
1297
+ * @throws {RequiredError}
1298
+ */
1299
+ getSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1SSLCertificate>>;
1300
+ /**
1301
+ * Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
1302
+ * @summary List DNS zones
1303
+ * @param {string} domain Domain on which to filter the returned DNS zones.
1304
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zones.
1305
+ * @param {string} [organizationId] Organization ID on which to filter the returned DNS zones.
1306
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zones.
1307
+ * @param {ListDNSZonesOrderByEnum} [orderBy] Sort order of the returned DNS zones.
1308
+ * @param {number} [page] Page number to return, from the paginated results.
1309
+ * @param {number} [pageSize] Maximum number of DNS zones to return per page.
1310
+ * @param {Array<string>} [dnsZones] DNS zones on which to filter the returned DNS zones.
1311
+ * @param {string} [createdAfter] Only list DNS zones created after this date. (RFC 3339 format)
1312
+ * @param {string} [createdBefore] Only list DNS zones created before this date. (RFC 3339 format)
1313
+ * @param {string} [updatedAfter] Only list DNS zones updated after this date. (RFC 3339 format)
1314
+ * @param {string} [updatedBefore] Only list DNS zones updated before this date. (RFC 3339 format)
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ listDNSZones(domain: string, dnsZone: string, organizationId?: string, projectId?: string, orderBy?: ListDNSZonesOrderByEnum, page?: number, pageSize?: number, dnsZones?: Array<string>, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ListDNSZonesResponse>>;
1319
+ /**
1320
+ * List all the TLS certificates a user has created, specified by the user\'s Project ID and the DNS zone.
1321
+ * @summary List a user\'s TLS certificates
1322
+ * @param {string} dnsZone
1323
+ * @param {number} [page]
1324
+ * @param {number} [pageSize]
1325
+ * @param {string} [projectId]
1326
+ * @param {*} [options] Override http request option.
1327
+ * @throws {RequiredError}
1328
+ */
1329
+ listSSLCertificates(dnsZone: string, page?: number, pageSize?: number, projectId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ListSSLCertificatesResponse>>;
1330
+ /**
1331
+ * Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial. You can recreate the given DNS zone and its sub DNS zone if needed.
1332
+ * @summary Refresh a DNS zone
1333
+ * @param {string} dnsZone DNS zone to refresh.
1334
+ * @param {RefreshDNSZoneRequest} refreshDNSZoneRequest
1335
+ * @param {*} [options] Override http request option.
1336
+ * @throws {RequiredError}
1337
+ */
1338
+ refreshDNSZone(dnsZone: string, refreshDNSZoneRequest: RefreshDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1RefreshDNSZoneResponse>>;
1339
+ /**
1340
+ * Update the name and/or the Organizations for a DNS zone.
1341
+ * @summary Update a DNS zone
1342
+ * @param {string} dnsZone DNS zone to update.
1343
+ * @param {UpdateDNSZoneRequest} updateDNSZoneRequest
1344
+ * @param {*} [options] Override http request option.
1345
+ * @throws {RequiredError}
1346
+ */
1347
+ updateDNSZone(dnsZone: string, updateDNSZoneRequest: UpdateDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1DNSZone>>;
1348
+ };
1349
+ /**
1350
+ * DNSZonesApi - factory interface
1351
+ * @export
1352
+ */
1353
+ export declare const DNSZonesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1354
+ /**
1355
+ * Clone an existing DNS zone with all its records into a new DNS zone.
1356
+ * @summary Clone a DNS zone
1357
+ * @param {string} dnsZone DNS zone to clone.
1358
+ * @param {CloneDNSZoneRequest} cloneDNSZoneRequest
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ */
1362
+ cloneDNSZone(dnsZone: string, cloneDNSZoneRequest: CloneDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1DNSZone>;
1363
+ /**
1364
+ * Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
1365
+ * @summary Create a DNS zone
1366
+ * @param {CreateDNSZoneRequest} createDNSZoneRequest
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ createDNSZone(createDNSZoneRequest: CreateDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1DNSZone>;
1371
+ /**
1372
+ * Create a new TLS certificate or retrieve information about an existing TLS certificate.
1373
+ * @summary Create or get the DNS zone\'s TLS certificate
1374
+ * @param {CreateSSLCertificateRequest} createSSLCertificateRequest
1375
+ * @param {*} [options] Override http request option.
1376
+ * @throws {RequiredError}
1377
+ */
1378
+ createSSLCertificate(createSSLCertificateRequest: CreateSSLCertificateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1SSLCertificate>;
1379
+ /**
1380
+ * Delete a DNS zone and all its records.
1381
+ * @summary Delete a DNS zone
1382
+ * @param {string} dnsZone DNS zone to delete.
1383
+ * @param {string} projectId Project ID of the DNS zone to delete.
1384
+ * @param {*} [options] Override http request option.
1385
+ * @throws {RequiredError}
1386
+ */
1387
+ deleteDNSZone(dnsZone: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
1388
+ /**
1389
+ * Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
1390
+ * @summary Delete the DNS zone\'s TSIG key
1391
+ * @param {string} dnsZone
1392
+ * @param {*} [options] Override http request option.
1393
+ * @throws {RequiredError}
1394
+ */
1395
+ deleteDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1396
+ /**
1397
+ * Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
1398
+ * @summary Delete a TLS certificate
1399
+ * @param {string} dnsZone
1400
+ * @param {*} [options] Override http request option.
1401
+ * @throws {RequiredError}
1402
+ */
1403
+ deleteSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
1404
+ /**
1405
+ * Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
1406
+ * @summary Get the DNS zone\'s TSIG key
1407
+ * @param {string} dnsZone
1408
+ * @param {*} [options] Override http request option.
1409
+ * @throws {RequiredError}
1410
+ */
1411
+ getDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse>;
1412
+ /**
1413
+ * Get the DNS zone\'s TLS certificate. If you do not have a certificate, the output returns `no certificate found`.
1414
+ * @summary Get a DNS zone\'s TLS certificate
1415
+ * @param {string} dnsZone
1416
+ * @param {*} [options] Override http request option.
1417
+ * @throws {RequiredError}
1418
+ */
1419
+ getSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1SSLCertificate>;
1420
+ /**
1421
+ * Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
1422
+ * @summary List DNS zones
1423
+ * @param {string} domain Domain on which to filter the returned DNS zones.
1424
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zones.
1425
+ * @param {string} [organizationId] Organization ID on which to filter the returned DNS zones.
1426
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zones.
1427
+ * @param {ListDNSZonesOrderByEnum} [orderBy] Sort order of the returned DNS zones.
1428
+ * @param {number} [page] Page number to return, from the paginated results.
1429
+ * @param {number} [pageSize] Maximum number of DNS zones to return per page.
1430
+ * @param {Array<string>} [dnsZones] DNS zones on which to filter the returned DNS zones.
1431
+ * @param {string} [createdAfter] Only list DNS zones created after this date. (RFC 3339 format)
1432
+ * @param {string} [createdBefore] Only list DNS zones created before this date. (RFC 3339 format)
1433
+ * @param {string} [updatedAfter] Only list DNS zones updated after this date. (RFC 3339 format)
1434
+ * @param {string} [updatedBefore] Only list DNS zones updated before this date. (RFC 3339 format)
1435
+ * @param {*} [options] Override http request option.
1436
+ * @throws {RequiredError}
1437
+ */
1438
+ listDNSZones(domain: string, dnsZone: string, organizationId?: string, projectId?: string, orderBy?: ListDNSZonesOrderByEnum, page?: number, pageSize?: number, dnsZones?: Array<string>, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZonesResponse>;
1439
+ /**
1440
+ * List all the TLS certificates a user has created, specified by the user\'s Project ID and the DNS zone.
1441
+ * @summary List a user\'s TLS certificates
1442
+ * @param {string} dnsZone
1443
+ * @param {number} [page]
1444
+ * @param {number} [pageSize]
1445
+ * @param {string} [projectId]
1446
+ * @param {*} [options] Override http request option.
1447
+ * @throws {RequiredError}
1448
+ */
1449
+ listSSLCertificates(dnsZone: string, page?: number, pageSize?: number, projectId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListSSLCertificatesResponse>;
1450
+ /**
1451
+ * Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial. You can recreate the given DNS zone and its sub DNS zone if needed.
1452
+ * @summary Refresh a DNS zone
1453
+ * @param {string} dnsZone DNS zone to refresh.
1454
+ * @param {RefreshDNSZoneRequest} refreshDNSZoneRequest
1455
+ * @param {*} [options] Override http request option.
1456
+ * @throws {RequiredError}
1457
+ */
1458
+ refreshDNSZone(dnsZone: string, refreshDNSZoneRequest: RefreshDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1RefreshDNSZoneResponse>;
1459
+ /**
1460
+ * Update the name and/or the Organizations for a DNS zone.
1461
+ * @summary Update a DNS zone
1462
+ * @param {string} dnsZone DNS zone to update.
1463
+ * @param {UpdateDNSZoneRequest} updateDNSZoneRequest
1464
+ * @param {*} [options] Override http request option.
1465
+ * @throws {RequiredError}
1466
+ */
1467
+ updateDNSZone(dnsZone: string, updateDNSZoneRequest: UpdateDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1DNSZone>;
1468
+ };
1469
+ /**
1470
+ * DNSZonesApi - interface
1471
+ * @export
1472
+ * @interface DNSZonesApi
1473
+ */
1474
+ export interface DNSZonesApiInterface {
1475
+ /**
1476
+ * Clone an existing DNS zone with all its records into a new DNS zone.
1477
+ * @summary Clone a DNS zone
1478
+ * @param {string} dnsZone DNS zone to clone.
1479
+ * @param {CloneDNSZoneRequest} cloneDNSZoneRequest
1480
+ * @param {*} [options] Override http request option.
1481
+ * @throws {RequiredError}
1482
+ * @memberof DNSZonesApiInterface
1483
+ */
1484
+ cloneDNSZone(dnsZone: string, cloneDNSZoneRequest: CloneDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1DNSZone>;
1485
+ /**
1486
+ * Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
1487
+ * @summary Create a DNS zone
1488
+ * @param {CreateDNSZoneRequest} createDNSZoneRequest
1489
+ * @param {*} [options] Override http request option.
1490
+ * @throws {RequiredError}
1491
+ * @memberof DNSZonesApiInterface
1492
+ */
1493
+ createDNSZone(createDNSZoneRequest: CreateDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1DNSZone>;
1494
+ /**
1495
+ * Create a new TLS certificate or retrieve information about an existing TLS certificate.
1496
+ * @summary Create or get the DNS zone\'s TLS certificate
1497
+ * @param {CreateSSLCertificateRequest} createSSLCertificateRequest
1498
+ * @param {*} [options] Override http request option.
1499
+ * @throws {RequiredError}
1500
+ * @memberof DNSZonesApiInterface
1501
+ */
1502
+ createSSLCertificate(createSSLCertificateRequest: CreateSSLCertificateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1SSLCertificate>;
1503
+ /**
1504
+ * Delete a DNS zone and all its records.
1505
+ * @summary Delete a DNS zone
1506
+ * @param {string} dnsZone DNS zone to delete.
1507
+ * @param {string} projectId Project ID of the DNS zone to delete.
1508
+ * @param {*} [options] Override http request option.
1509
+ * @throws {RequiredError}
1510
+ * @memberof DNSZonesApiInterface
1511
+ */
1512
+ deleteDNSZone(dnsZone: string, projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
1513
+ /**
1514
+ * Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
1515
+ * @summary Delete the DNS zone\'s TSIG key
1516
+ * @param {string} dnsZone
1517
+ * @param {*} [options] Override http request option.
1518
+ * @throws {RequiredError}
1519
+ * @memberof DNSZonesApiInterface
1520
+ */
1521
+ deleteDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1522
+ /**
1523
+ * Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
1524
+ * @summary Delete a TLS certificate
1525
+ * @param {string} dnsZone
1526
+ * @param {*} [options] Override http request option.
1527
+ * @throws {RequiredError}
1528
+ * @memberof DNSZonesApiInterface
1529
+ */
1530
+ deleteSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
1531
+ /**
1532
+ * Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
1533
+ * @summary Get the DNS zone\'s TSIG key
1534
+ * @param {string} dnsZone
1535
+ * @param {*} [options] Override http request option.
1536
+ * @throws {RequiredError}
1537
+ * @memberof DNSZonesApiInterface
1538
+ */
1539
+ getDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse>;
1540
+ /**
1541
+ * Get the DNS zone\'s TLS certificate. If you do not have a certificate, the output returns `no certificate found`.
1542
+ * @summary Get a DNS zone\'s TLS certificate
1543
+ * @param {string} dnsZone
1544
+ * @param {*} [options] Override http request option.
1545
+ * @throws {RequiredError}
1546
+ * @memberof DNSZonesApiInterface
1547
+ */
1548
+ getSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1SSLCertificate>;
1549
+ /**
1550
+ * Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
1551
+ * @summary List DNS zones
1552
+ * @param {string} domain Domain on which to filter the returned DNS zones.
1553
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zones.
1554
+ * @param {string} [organizationId] Organization ID on which to filter the returned DNS zones.
1555
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zones.
1556
+ * @param {ListDNSZonesOrderByEnum} [orderBy] Sort order of the returned DNS zones.
1557
+ * @param {number} [page] Page number to return, from the paginated results.
1558
+ * @param {number} [pageSize] Maximum number of DNS zones to return per page.
1559
+ * @param {Array<string>} [dnsZones] DNS zones on which to filter the returned DNS zones.
1560
+ * @param {string} [createdAfter] Only list DNS zones created after this date. (RFC 3339 format)
1561
+ * @param {string} [createdBefore] Only list DNS zones created before this date. (RFC 3339 format)
1562
+ * @param {string} [updatedAfter] Only list DNS zones updated after this date. (RFC 3339 format)
1563
+ * @param {string} [updatedBefore] Only list DNS zones updated before this date. (RFC 3339 format)
1564
+ * @param {*} [options] Override http request option.
1565
+ * @throws {RequiredError}
1566
+ * @memberof DNSZonesApiInterface
1567
+ */
1568
+ listDNSZones(domain: string, dnsZone: string, organizationId?: string, projectId?: string, orderBy?: ListDNSZonesOrderByEnum, page?: number, pageSize?: number, dnsZones?: Array<string>, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZonesResponse>;
1569
+ /**
1570
+ * List all the TLS certificates a user has created, specified by the user\'s Project ID and the DNS zone.
1571
+ * @summary List a user\'s TLS certificates
1572
+ * @param {string} dnsZone
1573
+ * @param {number} [page]
1574
+ * @param {number} [pageSize]
1575
+ * @param {string} [projectId]
1576
+ * @param {*} [options] Override http request option.
1577
+ * @throws {RequiredError}
1578
+ * @memberof DNSZonesApiInterface
1579
+ */
1580
+ listSSLCertificates(dnsZone: string, page?: number, pageSize?: number, projectId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListSSLCertificatesResponse>;
1581
+ /**
1582
+ * Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial. You can recreate the given DNS zone and its sub DNS zone if needed.
1583
+ * @summary Refresh a DNS zone
1584
+ * @param {string} dnsZone DNS zone to refresh.
1585
+ * @param {RefreshDNSZoneRequest} refreshDNSZoneRequest
1586
+ * @param {*} [options] Override http request option.
1587
+ * @throws {RequiredError}
1588
+ * @memberof DNSZonesApiInterface
1589
+ */
1590
+ refreshDNSZone(dnsZone: string, refreshDNSZoneRequest: RefreshDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1RefreshDNSZoneResponse>;
1591
+ /**
1592
+ * Update the name and/or the Organizations for a DNS zone.
1593
+ * @summary Update a DNS zone
1594
+ * @param {string} dnsZone DNS zone to update.
1595
+ * @param {UpdateDNSZoneRequest} updateDNSZoneRequest
1596
+ * @param {*} [options] Override http request option.
1597
+ * @throws {RequiredError}
1598
+ * @memberof DNSZonesApiInterface
1599
+ */
1600
+ updateDNSZone(dnsZone: string, updateDNSZoneRequest: UpdateDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1DNSZone>;
1601
+ }
1602
+ /**
1603
+ * DNSZonesApi - object-oriented interface
1604
+ * @export
1605
+ * @class DNSZonesApi
1606
+ * @extends {BaseAPI}
1607
+ */
1608
+ export declare class DNSZonesApi extends BaseAPI implements DNSZonesApiInterface {
1609
+ /**
1610
+ * Clone an existing DNS zone with all its records into a new DNS zone.
1611
+ * @summary Clone a DNS zone
1612
+ * @param {string} dnsZone DNS zone to clone.
1613
+ * @param {CloneDNSZoneRequest} cloneDNSZoneRequest
1614
+ * @param {*} [options] Override http request option.
1615
+ * @throws {RequiredError}
1616
+ * @memberof DNSZonesApi
1617
+ */
1618
+ cloneDNSZone(dnsZone: string, cloneDNSZoneRequest: CloneDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1DNSZone, any, {}>>;
1619
+ /**
1620
+ * Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
1621
+ * @summary Create a DNS zone
1622
+ * @param {CreateDNSZoneRequest} createDNSZoneRequest
1623
+ * @param {*} [options] Override http request option.
1624
+ * @throws {RequiredError}
1625
+ * @memberof DNSZonesApi
1626
+ */
1627
+ createDNSZone(createDNSZoneRequest: CreateDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1DNSZone, any, {}>>;
1628
+ /**
1629
+ * Create a new TLS certificate or retrieve information about an existing TLS certificate.
1630
+ * @summary Create or get the DNS zone\'s TLS certificate
1631
+ * @param {CreateSSLCertificateRequest} createSSLCertificateRequest
1632
+ * @param {*} [options] Override http request option.
1633
+ * @throws {RequiredError}
1634
+ * @memberof DNSZonesApi
1635
+ */
1636
+ createSSLCertificate(createSSLCertificateRequest: CreateSSLCertificateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1SSLCertificate, any, {}>>;
1637
+ /**
1638
+ * Delete a DNS zone and all its records.
1639
+ * @summary Delete a DNS zone
1640
+ * @param {string} dnsZone DNS zone to delete.
1641
+ * @param {string} projectId Project ID of the DNS zone to delete.
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ * @memberof DNSZonesApi
1645
+ */
1646
+ deleteDNSZone(dnsZone: string, projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
1647
+ /**
1648
+ * Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
1649
+ * @summary Delete the DNS zone\'s TSIG key
1650
+ * @param {string} dnsZone
1651
+ * @param {*} [options] Override http request option.
1652
+ * @throws {RequiredError}
1653
+ * @memberof DNSZonesApi
1654
+ */
1655
+ deleteDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1656
+ /**
1657
+ * Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
1658
+ * @summary Delete a TLS certificate
1659
+ * @param {string} dnsZone
1660
+ * @param {*} [options] Override http request option.
1661
+ * @throws {RequiredError}
1662
+ * @memberof DNSZonesApi
1663
+ */
1664
+ deleteSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
1665
+ /**
1666
+ * Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
1667
+ * @summary Get the DNS zone\'s TSIG key
1668
+ * @param {string} dnsZone
1669
+ * @param {*} [options] Override http request option.
1670
+ * @throws {RequiredError}
1671
+ * @memberof DNSZonesApi
1672
+ */
1673
+ getDNSZoneTsigKey(dnsZone: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1GetDNSZoneTsigKeyResponse, any, {}>>;
1674
+ /**
1675
+ * Get the DNS zone\'s TLS certificate. If you do not have a certificate, the output returns `no certificate found`.
1676
+ * @summary Get a DNS zone\'s TLS certificate
1677
+ * @param {string} dnsZone
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ * @memberof DNSZonesApi
1681
+ */
1682
+ getSSLCertificate(dnsZone: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1SSLCertificate, any, {}>>;
1683
+ /**
1684
+ * Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
1685
+ * @summary List DNS zones
1686
+ * @param {string} domain Domain on which to filter the returned DNS zones.
1687
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zones.
1688
+ * @param {string} [organizationId] Organization ID on which to filter the returned DNS zones.
1689
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zones.
1690
+ * @param {ListDNSZonesOrderByEnum} [orderBy] Sort order of the returned DNS zones.
1691
+ * @param {number} [page] Page number to return, from the paginated results.
1692
+ * @param {number} [pageSize] Maximum number of DNS zones to return per page.
1693
+ * @param {Array<string>} [dnsZones] DNS zones on which to filter the returned DNS zones.
1694
+ * @param {string} [createdAfter] Only list DNS zones created after this date. (RFC 3339 format)
1695
+ * @param {string} [createdBefore] Only list DNS zones created before this date. (RFC 3339 format)
1696
+ * @param {string} [updatedAfter] Only list DNS zones updated after this date. (RFC 3339 format)
1697
+ * @param {string} [updatedBefore] Only list DNS zones updated before this date. (RFC 3339 format)
1698
+ * @param {*} [options] Override http request option.
1699
+ * @throws {RequiredError}
1700
+ * @memberof DNSZonesApi
1701
+ */
1702
+ listDNSZones(domain: string, dnsZone: string, organizationId?: string, projectId?: string, orderBy?: ListDNSZonesOrderByEnum, page?: number, pageSize?: number, dnsZones?: Array<string>, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ListDNSZonesResponse, any, {}>>;
1703
+ /**
1704
+ * List all the TLS certificates a user has created, specified by the user\'s Project ID and the DNS zone.
1705
+ * @summary List a user\'s TLS certificates
1706
+ * @param {string} dnsZone
1707
+ * @param {number} [page]
1708
+ * @param {number} [pageSize]
1709
+ * @param {string} [projectId]
1710
+ * @param {*} [options] Override http request option.
1711
+ * @throws {RequiredError}
1712
+ * @memberof DNSZonesApi
1713
+ */
1714
+ listSSLCertificates(dnsZone: string, page?: number, pageSize?: number, projectId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ListSSLCertificatesResponse, any, {}>>;
1715
+ /**
1716
+ * Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial. You can recreate the given DNS zone and its sub DNS zone if needed.
1717
+ * @summary Refresh a DNS zone
1718
+ * @param {string} dnsZone DNS zone to refresh.
1719
+ * @param {RefreshDNSZoneRequest} refreshDNSZoneRequest
1720
+ * @param {*} [options] Override http request option.
1721
+ * @throws {RequiredError}
1722
+ * @memberof DNSZonesApi
1723
+ */
1724
+ refreshDNSZone(dnsZone: string, refreshDNSZoneRequest: RefreshDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1RefreshDNSZoneResponse, any, {}>>;
1725
+ /**
1726
+ * Update the name and/or the Organizations for a DNS zone.
1727
+ * @summary Update a DNS zone
1728
+ * @param {string} dnsZone DNS zone to update.
1729
+ * @param {UpdateDNSZoneRequest} updateDNSZoneRequest
1730
+ * @param {*} [options] Override http request option.
1731
+ * @throws {RequiredError}
1732
+ * @memberof DNSZonesApi
1733
+ */
1734
+ updateDNSZone(dnsZone: string, updateDNSZoneRequest: UpdateDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1DNSZone, any, {}>>;
1735
+ }
1736
+ /**
1737
+ * @export
1738
+ */
1739
+ export declare const ListDNSZonesOrderByEnum: {
1740
+ readonly DomainAsc: "domain_asc";
1741
+ readonly DomainDesc: "domain_desc";
1742
+ readonly SubdomainAsc: "subdomain_asc";
1743
+ readonly SubdomainDesc: "subdomain_desc";
1744
+ readonly CreatedAtAsc: "created_at_asc";
1745
+ readonly CreatedAtDesc: "created_at_desc";
1746
+ readonly UpdatedAtAsc: "updated_at_asc";
1747
+ readonly UpdatedAtDesc: "updated_at_desc";
1748
+ };
1749
+ export type ListDNSZonesOrderByEnum = (typeof ListDNSZonesOrderByEnum)[keyof typeof ListDNSZonesOrderByEnum];
1750
+ /**
1751
+ * ImportsExportsApi - axios parameter creator
1752
+ * @export
1753
+ */
1754
+ export declare const ImportsExportsApiAxiosParamCreator: (configuration?: Configuration) => {
1755
+ /**
1756
+ * Export a DNS zone with default name servers, in a specific format.
1757
+ * @summary Export a raw DNS zone
1758
+ * @param {string} dnsZone DNS zone to export.
1759
+ * @param {ExportRawDNSZoneFormatEnum} [format] DNS zone format.
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ exportRawDNSZone: (dnsZone: string, format?: ExportRawDNSZoneFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1764
+ /**
1765
+ * Import and replace the format of records from a given provider, with default name servers.
1766
+ * @summary Import a DNS zone from another provider
1767
+ * @param {string} dnsZone
1768
+ * @param {ImportProviderDNSZoneRequest} importProviderDNSZoneRequest
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ */
1772
+ importProviderDNSZone: (dnsZone: string, importProviderDNSZoneRequest: ImportProviderDNSZoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1773
+ /**
1774
+ * Import and replace the format of records from a given provider, with default name servers.
1775
+ * @summary Import a raw DNS zone
1776
+ * @param {string} dnsZone DNS zone to import.
1777
+ * @param {ImportRawDNSZoneRequest} importRawDNSZoneRequest
1778
+ * @param {*} [options] Override http request option.
1779
+ * @throws {RequiredError}
1780
+ */
1781
+ importRawDNSZone: (dnsZone: string, importRawDNSZoneRequest: ImportRawDNSZoneRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1782
+ };
1783
+ /**
1784
+ * ImportsExportsApi - functional programming interface
1785
+ * @export
1786
+ */
1787
+ export declare const ImportsExportsApiFp: (configuration?: Configuration) => {
1788
+ /**
1789
+ * Export a DNS zone with default name servers, in a specific format.
1790
+ * @summary Export a raw DNS zone
1791
+ * @param {string} dnsZone DNS zone to export.
1792
+ * @param {ExportRawDNSZoneFormatEnum} [format] DNS zone format.
1793
+ * @param {*} [options] Override http request option.
1794
+ * @throws {RequiredError}
1795
+ */
1796
+ exportRawDNSZone(dnsZone: string, format?: ExportRawDNSZoneFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayStdFile>>;
1797
+ /**
1798
+ * Import and replace the format of records from a given provider, with default name servers.
1799
+ * @summary Import a DNS zone from another provider
1800
+ * @param {string} dnsZone
1801
+ * @param {ImportProviderDNSZoneRequest} importProviderDNSZoneRequest
1802
+ * @param {*} [options] Override http request option.
1803
+ * @throws {RequiredError}
1804
+ */
1805
+ importProviderDNSZone(dnsZone: string, importProviderDNSZoneRequest: ImportProviderDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ImportProviderDNSZoneResponse>>;
1806
+ /**
1807
+ * Import and replace the format of records from a given provider, with default name servers.
1808
+ * @summary Import a raw DNS zone
1809
+ * @param {string} dnsZone DNS zone to import.
1810
+ * @param {ImportRawDNSZoneRequest} importRawDNSZoneRequest
1811
+ * @param {*} [options] Override http request option.
1812
+ * @throws {RequiredError}
1813
+ */
1814
+ importRawDNSZone(dnsZone: string, importRawDNSZoneRequest: ImportRawDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ImportRawDNSZoneResponse>>;
1815
+ };
1816
+ /**
1817
+ * ImportsExportsApi - factory interface
1818
+ * @export
1819
+ */
1820
+ export declare const ImportsExportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1821
+ /**
1822
+ * Export a DNS zone with default name servers, in a specific format.
1823
+ * @summary Export a raw DNS zone
1824
+ * @param {string} dnsZone DNS zone to export.
1825
+ * @param {ExportRawDNSZoneFormatEnum} [format] DNS zone format.
1826
+ * @param {*} [options] Override http request option.
1827
+ * @throws {RequiredError}
1828
+ */
1829
+ exportRawDNSZone(dnsZone: string, format?: ExportRawDNSZoneFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayStdFile>;
1830
+ /**
1831
+ * Import and replace the format of records from a given provider, with default name servers.
1832
+ * @summary Import a DNS zone from another provider
1833
+ * @param {string} dnsZone
1834
+ * @param {ImportProviderDNSZoneRequest} importProviderDNSZoneRequest
1835
+ * @param {*} [options] Override http request option.
1836
+ * @throws {RequiredError}
1837
+ */
1838
+ importProviderDNSZone(dnsZone: string, importProviderDNSZoneRequest: ImportProviderDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ImportProviderDNSZoneResponse>;
1839
+ /**
1840
+ * Import and replace the format of records from a given provider, with default name servers.
1841
+ * @summary Import a raw DNS zone
1842
+ * @param {string} dnsZone DNS zone to import.
1843
+ * @param {ImportRawDNSZoneRequest} importRawDNSZoneRequest
1844
+ * @param {*} [options] Override http request option.
1845
+ * @throws {RequiredError}
1846
+ */
1847
+ importRawDNSZone(dnsZone: string, importRawDNSZoneRequest: ImportRawDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ImportRawDNSZoneResponse>;
1848
+ };
1849
+ /**
1850
+ * ImportsExportsApi - interface
1851
+ * @export
1852
+ * @interface ImportsExportsApi
1853
+ */
1854
+ export interface ImportsExportsApiInterface {
1855
+ /**
1856
+ * Export a DNS zone with default name servers, in a specific format.
1857
+ * @summary Export a raw DNS zone
1858
+ * @param {string} dnsZone DNS zone to export.
1859
+ * @param {ExportRawDNSZoneFormatEnum} [format] DNS zone format.
1860
+ * @param {*} [options] Override http request option.
1861
+ * @throws {RequiredError}
1862
+ * @memberof ImportsExportsApiInterface
1863
+ */
1864
+ exportRawDNSZone(dnsZone: string, format?: ExportRawDNSZoneFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayStdFile>;
1865
+ /**
1866
+ * Import and replace the format of records from a given provider, with default name servers.
1867
+ * @summary Import a DNS zone from another provider
1868
+ * @param {string} dnsZone
1869
+ * @param {ImportProviderDNSZoneRequest} importProviderDNSZoneRequest
1870
+ * @param {*} [options] Override http request option.
1871
+ * @throws {RequiredError}
1872
+ * @memberof ImportsExportsApiInterface
1873
+ */
1874
+ importProviderDNSZone(dnsZone: string, importProviderDNSZoneRequest: ImportProviderDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ImportProviderDNSZoneResponse>;
1875
+ /**
1876
+ * Import and replace the format of records from a given provider, with default name servers.
1877
+ * @summary Import a raw DNS zone
1878
+ * @param {string} dnsZone DNS zone to import.
1879
+ * @param {ImportRawDNSZoneRequest} importRawDNSZoneRequest
1880
+ * @param {*} [options] Override http request option.
1881
+ * @throws {RequiredError}
1882
+ * @memberof ImportsExportsApiInterface
1883
+ */
1884
+ importRawDNSZone(dnsZone: string, importRawDNSZoneRequest: ImportRawDNSZoneRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ImportRawDNSZoneResponse>;
1885
+ }
1886
+ /**
1887
+ * ImportsExportsApi - object-oriented interface
1888
+ * @export
1889
+ * @class ImportsExportsApi
1890
+ * @extends {BaseAPI}
1891
+ */
1892
+ export declare class ImportsExportsApi extends BaseAPI implements ImportsExportsApiInterface {
1893
+ /**
1894
+ * Export a DNS zone with default name servers, in a specific format.
1895
+ * @summary Export a raw DNS zone
1896
+ * @param {string} dnsZone DNS zone to export.
1897
+ * @param {ExportRawDNSZoneFormatEnum} [format] DNS zone format.
1898
+ * @param {*} [options] Override http request option.
1899
+ * @throws {RequiredError}
1900
+ * @memberof ImportsExportsApi
1901
+ */
1902
+ exportRawDNSZone(dnsZone: string, format?: ExportRawDNSZoneFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayStdFile, any, {}>>;
1903
+ /**
1904
+ * Import and replace the format of records from a given provider, with default name servers.
1905
+ * @summary Import a DNS zone from another provider
1906
+ * @param {string} dnsZone
1907
+ * @param {ImportProviderDNSZoneRequest} importProviderDNSZoneRequest
1908
+ * @param {*} [options] Override http request option.
1909
+ * @throws {RequiredError}
1910
+ * @memberof ImportsExportsApi
1911
+ */
1912
+ importProviderDNSZone(dnsZone: string, importProviderDNSZoneRequest: ImportProviderDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ImportProviderDNSZoneResponse, any, {}>>;
1913
+ /**
1914
+ * Import and replace the format of records from a given provider, with default name servers.
1915
+ * @summary Import a raw DNS zone
1916
+ * @param {string} dnsZone DNS zone to import.
1917
+ * @param {ImportRawDNSZoneRequest} importRawDNSZoneRequest
1918
+ * @param {*} [options] Override http request option.
1919
+ * @throws {RequiredError}
1920
+ * @memberof ImportsExportsApi
1921
+ */
1922
+ importRawDNSZone(dnsZone: string, importRawDNSZoneRequest: ImportRawDNSZoneRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ImportRawDNSZoneResponse, any, {}>>;
1923
+ }
1924
+ /**
1925
+ * @export
1926
+ */
1927
+ export declare const ExportRawDNSZoneFormatEnum: {
1928
+ readonly UnknownRawFormat: "unknown_raw_format";
1929
+ readonly Bind: "bind";
1930
+ };
1931
+ export type ExportRawDNSZoneFormatEnum = (typeof ExportRawDNSZoneFormatEnum)[keyof typeof ExportRawDNSZoneFormatEnum];
1932
+ /**
1933
+ * RecordsApi - axios parameter creator
1934
+ * @export
1935
+ */
1936
+ export declare const RecordsApiAxiosParamCreator: (configuration?: Configuration) => {
1937
+ /**
1938
+ * Delete all records within a DNS zone that has default name servers.<br/> All edits will be versioned.
1939
+ * @summary Clear records within a DNS zone
1940
+ * @param {string} dnsZone DNS zone to clear.
1941
+ * @param {*} [options] Override http request option.
1942
+ * @throws {RequiredError}
1943
+ */
1944
+ clearDNSZoneRecords: (dnsZone: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1945
+ /**
1946
+ * Retrieve a list of name servers within a DNS zone and their optional glue records.
1947
+ * @summary List name servers within a DNS zone
1948
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone name servers.
1949
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone name servers.
1950
+ * @param {*} [options] Override http request option.
1951
+ * @throws {RequiredError}
1952
+ */
1953
+ listDNSZoneNameservers: (dnsZone: string, projectId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1954
+ /**
1955
+ * Retrieve a list of DNS records within a DNS zone that has default name servers. You can filter records by type and name.
1956
+ * @summary List records within a DNS zone
1957
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone records.
1958
+ * @param {string} name Name on which to filter the returned DNS zone records.
1959
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone records.
1960
+ * @param {ListDNSZoneRecordsOrderByEnum} [orderBy] Sort order of the returned DNS zone records.
1961
+ * @param {number} [page] Page number to return, from the paginated results.
1962
+ * @param {number} [pageSize] Maximum number of DNS zone records per page.
1963
+ * @param {ListDNSZoneRecordsTypeEnum} [type] Record type on which to filter the returned DNS zone records.
1964
+ * @param {string} [id] Record ID on which to filter the returned DNS zone records.
1965
+ * @param {*} [options] Override http request option.
1966
+ * @throws {RequiredError}
1967
+ */
1968
+ listDNSZoneRecords: (dnsZone: string, name: string, projectId?: string, orderBy?: ListDNSZoneRecordsOrderByEnum, page?: number, pageSize?: number, type?: ListDNSZoneRecordsTypeEnum, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1969
+ /**
1970
+ * Update name servers within a DNS zone and set optional glue records.
1971
+ * @summary Update name servers within a DNS zone
1972
+ * @param {string} dnsZone DNS zone in which to update the DNS zone name servers.
1973
+ * @param {UpdateDNSZoneNameserversRequest} updateDNSZoneNameserversRequest
1974
+ * @param {*} [options] Override http request option.
1975
+ * @throws {RequiredError}
1976
+ */
1977
+ updateDNSZoneNameservers: (dnsZone: string, updateDNSZoneNameserversRequest: UpdateDNSZoneNameserversRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1978
+ /**
1979
+ * Update records within a DNS zone that has default name servers and perform several actions on your records. Actions include: - add: allows you to add a new record or add a new IP to an existing A record, for example - set: allows you to edit a record or edit an IP from an existing A record, for example - delete: allows you to delete a record or delete an IP from an existing A record, for example - clear: allows you to delete all records from a DNS zone All edits will be versioned.
1980
+ * @summary Update records within a DNS zone
1981
+ * @param {string} dnsZone DNS zone in which to update the DNS zone records.
1982
+ * @param {UpdateDNSZoneRecordsRequest} updateDNSZoneRecordsRequest
1983
+ * @param {*} [options] Override http request option.
1984
+ * @throws {RequiredError}
1985
+ */
1986
+ updateDNSZoneRecords: (dnsZone: string, updateDNSZoneRecordsRequest: UpdateDNSZoneRecordsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1987
+ };
1988
+ /**
1989
+ * RecordsApi - functional programming interface
1990
+ * @export
1991
+ */
1992
+ export declare const RecordsApiFp: (configuration?: Configuration) => {
1993
+ /**
1994
+ * Delete all records within a DNS zone that has default name servers.<br/> All edits will be versioned.
1995
+ * @summary Clear records within a DNS zone
1996
+ * @param {string} dnsZone DNS zone to clear.
1997
+ * @param {*} [options] Override http request option.
1998
+ * @throws {RequiredError}
1999
+ */
2000
+ clearDNSZoneRecords(dnsZone: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
2001
+ /**
2002
+ * Retrieve a list of name servers within a DNS zone and their optional glue records.
2003
+ * @summary List name servers within a DNS zone
2004
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone name servers.
2005
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone name servers.
2006
+ * @param {*} [options] Override http request option.
2007
+ * @throws {RequiredError}
2008
+ */
2009
+ listDNSZoneNameservers(dnsZone: string, projectId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ListDNSZoneNameserversResponse>>;
2010
+ /**
2011
+ * Retrieve a list of DNS records within a DNS zone that has default name servers. You can filter records by type and name.
2012
+ * @summary List records within a DNS zone
2013
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone records.
2014
+ * @param {string} name Name on which to filter the returned DNS zone records.
2015
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone records.
2016
+ * @param {ListDNSZoneRecordsOrderByEnum} [orderBy] Sort order of the returned DNS zone records.
2017
+ * @param {number} [page] Page number to return, from the paginated results.
2018
+ * @param {number} [pageSize] Maximum number of DNS zone records per page.
2019
+ * @param {ListDNSZoneRecordsTypeEnum} [type] Record type on which to filter the returned DNS zone records.
2020
+ * @param {string} [id] Record ID on which to filter the returned DNS zone records.
2021
+ * @param {*} [options] Override http request option.
2022
+ * @throws {RequiredError}
2023
+ */
2024
+ listDNSZoneRecords(dnsZone: string, name: string, projectId?: string, orderBy?: ListDNSZoneRecordsOrderByEnum, page?: number, pageSize?: number, type?: ListDNSZoneRecordsTypeEnum, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ListDNSZoneRecordsResponse>>;
2025
+ /**
2026
+ * Update name servers within a DNS zone and set optional glue records.
2027
+ * @summary Update name servers within a DNS zone
2028
+ * @param {string} dnsZone DNS zone in which to update the DNS zone name servers.
2029
+ * @param {UpdateDNSZoneNameserversRequest} updateDNSZoneNameserversRequest
2030
+ * @param {*} [options] Override http request option.
2031
+ * @throws {RequiredError}
2032
+ */
2033
+ updateDNSZoneNameservers(dnsZone: string, updateDNSZoneNameserversRequest: UpdateDNSZoneNameserversRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse>>;
2034
+ /**
2035
+ * Update records within a DNS zone that has default name servers and perform several actions on your records. Actions include: - add: allows you to add a new record or add a new IP to an existing A record, for example - set: allows you to edit a record or edit an IP from an existing A record, for example - delete: allows you to delete a record or delete an IP from an existing A record, for example - clear: allows you to delete all records from a DNS zone All edits will be versioned.
2036
+ * @summary Update records within a DNS zone
2037
+ * @param {string} dnsZone DNS zone in which to update the DNS zone records.
2038
+ * @param {UpdateDNSZoneRecordsRequest} updateDNSZoneRecordsRequest
2039
+ * @param {*} [options] Override http request option.
2040
+ * @throws {RequiredError}
2041
+ */
2042
+ updateDNSZoneRecords(dnsZone: string, updateDNSZoneRecordsRequest: UpdateDNSZoneRecordsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse>>;
2043
+ };
2044
+ /**
2045
+ * RecordsApi - factory interface
2046
+ * @export
2047
+ */
2048
+ export declare const RecordsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2049
+ /**
2050
+ * Delete all records within a DNS zone that has default name servers.<br/> All edits will be versioned.
2051
+ * @summary Clear records within a DNS zone
2052
+ * @param {string} dnsZone DNS zone to clear.
2053
+ * @param {*} [options] Override http request option.
2054
+ * @throws {RequiredError}
2055
+ */
2056
+ clearDNSZoneRecords(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
2057
+ /**
2058
+ * Retrieve a list of name servers within a DNS zone and their optional glue records.
2059
+ * @summary List name servers within a DNS zone
2060
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone name servers.
2061
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone name servers.
2062
+ * @param {*} [options] Override http request option.
2063
+ * @throws {RequiredError}
2064
+ */
2065
+ listDNSZoneNameservers(dnsZone: string, projectId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneNameserversResponse>;
2066
+ /**
2067
+ * Retrieve a list of DNS records within a DNS zone that has default name servers. You can filter records by type and name.
2068
+ * @summary List records within a DNS zone
2069
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone records.
2070
+ * @param {string} name Name on which to filter the returned DNS zone records.
2071
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone records.
2072
+ * @param {ListDNSZoneRecordsOrderByEnum} [orderBy] Sort order of the returned DNS zone records.
2073
+ * @param {number} [page] Page number to return, from the paginated results.
2074
+ * @param {number} [pageSize] Maximum number of DNS zone records per page.
2075
+ * @param {ListDNSZoneRecordsTypeEnum} [type] Record type on which to filter the returned DNS zone records.
2076
+ * @param {string} [id] Record ID on which to filter the returned DNS zone records.
2077
+ * @param {*} [options] Override http request option.
2078
+ * @throws {RequiredError}
2079
+ */
2080
+ listDNSZoneRecords(dnsZone: string, name: string, projectId?: string, orderBy?: ListDNSZoneRecordsOrderByEnum, page?: number, pageSize?: number, type?: ListDNSZoneRecordsTypeEnum, id?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneRecordsResponse>;
2081
+ /**
2082
+ * Update name servers within a DNS zone and set optional glue records.
2083
+ * @summary Update name servers within a DNS zone
2084
+ * @param {string} dnsZone DNS zone in which to update the DNS zone name servers.
2085
+ * @param {UpdateDNSZoneNameserversRequest} updateDNSZoneNameserversRequest
2086
+ * @param {*} [options] Override http request option.
2087
+ * @throws {RequiredError}
2088
+ */
2089
+ updateDNSZoneNameservers(dnsZone: string, updateDNSZoneNameserversRequest: UpdateDNSZoneNameserversRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse>;
2090
+ /**
2091
+ * Update records within a DNS zone that has default name servers and perform several actions on your records. Actions include: - add: allows you to add a new record or add a new IP to an existing A record, for example - set: allows you to edit a record or edit an IP from an existing A record, for example - delete: allows you to delete a record or delete an IP from an existing A record, for example - clear: allows you to delete all records from a DNS zone All edits will be versioned.
2092
+ * @summary Update records within a DNS zone
2093
+ * @param {string} dnsZone DNS zone in which to update the DNS zone records.
2094
+ * @param {UpdateDNSZoneRecordsRequest} updateDNSZoneRecordsRequest
2095
+ * @param {*} [options] Override http request option.
2096
+ * @throws {RequiredError}
2097
+ */
2098
+ updateDNSZoneRecords(dnsZone: string, updateDNSZoneRecordsRequest: UpdateDNSZoneRecordsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse>;
2099
+ };
2100
+ /**
2101
+ * RecordsApi - interface
2102
+ * @export
2103
+ * @interface RecordsApi
2104
+ */
2105
+ export interface RecordsApiInterface {
2106
+ /**
2107
+ * Delete all records within a DNS zone that has default name servers.<br/> All edits will be versioned.
2108
+ * @summary Clear records within a DNS zone
2109
+ * @param {string} dnsZone DNS zone to clear.
2110
+ * @param {*} [options] Override http request option.
2111
+ * @throws {RequiredError}
2112
+ * @memberof RecordsApiInterface
2113
+ */
2114
+ clearDNSZoneRecords(dnsZone: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
2115
+ /**
2116
+ * Retrieve a list of name servers within a DNS zone and their optional glue records.
2117
+ * @summary List name servers within a DNS zone
2118
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone name servers.
2119
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone name servers.
2120
+ * @param {*} [options] Override http request option.
2121
+ * @throws {RequiredError}
2122
+ * @memberof RecordsApiInterface
2123
+ */
2124
+ listDNSZoneNameservers(dnsZone: string, projectId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneNameserversResponse>;
2125
+ /**
2126
+ * Retrieve a list of DNS records within a DNS zone that has default name servers. You can filter records by type and name.
2127
+ * @summary List records within a DNS zone
2128
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone records.
2129
+ * @param {string} name Name on which to filter the returned DNS zone records.
2130
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone records.
2131
+ * @param {ListDNSZoneRecordsOrderByEnum} [orderBy] Sort order of the returned DNS zone records.
2132
+ * @param {number} [page] Page number to return, from the paginated results.
2133
+ * @param {number} [pageSize] Maximum number of DNS zone records per page.
2134
+ * @param {ListDNSZoneRecordsTypeEnum} [type] Record type on which to filter the returned DNS zone records.
2135
+ * @param {string} [id] Record ID on which to filter the returned DNS zone records.
2136
+ * @param {*} [options] Override http request option.
2137
+ * @throws {RequiredError}
2138
+ * @memberof RecordsApiInterface
2139
+ */
2140
+ listDNSZoneRecords(dnsZone: string, name: string, projectId?: string, orderBy?: ListDNSZoneRecordsOrderByEnum, page?: number, pageSize?: number, type?: ListDNSZoneRecordsTypeEnum, id?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneRecordsResponse>;
2141
+ /**
2142
+ * Update name servers within a DNS zone and set optional glue records.
2143
+ * @summary Update name servers within a DNS zone
2144
+ * @param {string} dnsZone DNS zone in which to update the DNS zone name servers.
2145
+ * @param {UpdateDNSZoneNameserversRequest} updateDNSZoneNameserversRequest
2146
+ * @param {*} [options] Override http request option.
2147
+ * @throws {RequiredError}
2148
+ * @memberof RecordsApiInterface
2149
+ */
2150
+ updateDNSZoneNameservers(dnsZone: string, updateDNSZoneNameserversRequest: UpdateDNSZoneNameserversRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse>;
2151
+ /**
2152
+ * Update records within a DNS zone that has default name servers and perform several actions on your records. Actions include: - add: allows you to add a new record or add a new IP to an existing A record, for example - set: allows you to edit a record or edit an IP from an existing A record, for example - delete: allows you to delete a record or delete an IP from an existing A record, for example - clear: allows you to delete all records from a DNS zone All edits will be versioned.
2153
+ * @summary Update records within a DNS zone
2154
+ * @param {string} dnsZone DNS zone in which to update the DNS zone records.
2155
+ * @param {UpdateDNSZoneRecordsRequest} updateDNSZoneRecordsRequest
2156
+ * @param {*} [options] Override http request option.
2157
+ * @throws {RequiredError}
2158
+ * @memberof RecordsApiInterface
2159
+ */
2160
+ updateDNSZoneRecords(dnsZone: string, updateDNSZoneRecordsRequest: UpdateDNSZoneRecordsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse>;
2161
+ }
2162
+ /**
2163
+ * RecordsApi - object-oriented interface
2164
+ * @export
2165
+ * @class RecordsApi
2166
+ * @extends {BaseAPI}
2167
+ */
2168
+ export declare class RecordsApi extends BaseAPI implements RecordsApiInterface {
2169
+ /**
2170
+ * Delete all records within a DNS zone that has default name servers.<br/> All edits will be versioned.
2171
+ * @summary Clear records within a DNS zone
2172
+ * @param {string} dnsZone DNS zone to clear.
2173
+ * @param {*} [options] Override http request option.
2174
+ * @throws {RequiredError}
2175
+ * @memberof RecordsApi
2176
+ */
2177
+ clearDNSZoneRecords(dnsZone: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
2178
+ /**
2179
+ * Retrieve a list of name servers within a DNS zone and their optional glue records.
2180
+ * @summary List name servers within a DNS zone
2181
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone name servers.
2182
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone name servers.
2183
+ * @param {*} [options] Override http request option.
2184
+ * @throws {RequiredError}
2185
+ * @memberof RecordsApi
2186
+ */
2187
+ listDNSZoneNameservers(dnsZone: string, projectId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ListDNSZoneNameserversResponse, any, {}>>;
2188
+ /**
2189
+ * Retrieve a list of DNS records within a DNS zone that has default name servers. You can filter records by type and name.
2190
+ * @summary List records within a DNS zone
2191
+ * @param {string} dnsZone DNS zone on which to filter the returned DNS zone records.
2192
+ * @param {string} name Name on which to filter the returned DNS zone records.
2193
+ * @param {string} [projectId] Project ID on which to filter the returned DNS zone records.
2194
+ * @param {ListDNSZoneRecordsOrderByEnum} [orderBy] Sort order of the returned DNS zone records.
2195
+ * @param {number} [page] Page number to return, from the paginated results.
2196
+ * @param {number} [pageSize] Maximum number of DNS zone records per page.
2197
+ * @param {ListDNSZoneRecordsTypeEnum} [type] Record type on which to filter the returned DNS zone records.
2198
+ * @param {string} [id] Record ID on which to filter the returned DNS zone records.
2199
+ * @param {*} [options] Override http request option.
2200
+ * @throws {RequiredError}
2201
+ * @memberof RecordsApi
2202
+ */
2203
+ listDNSZoneRecords(dnsZone: string, name: string, projectId?: string, orderBy?: ListDNSZoneRecordsOrderByEnum, page?: number, pageSize?: number, type?: ListDNSZoneRecordsTypeEnum, id?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ListDNSZoneRecordsResponse, any, {}>>;
2204
+ /**
2205
+ * Update name servers within a DNS zone and set optional glue records.
2206
+ * @summary Update name servers within a DNS zone
2207
+ * @param {string} dnsZone DNS zone in which to update the DNS zone name servers.
2208
+ * @param {UpdateDNSZoneNameserversRequest} updateDNSZoneNameserversRequest
2209
+ * @param {*} [options] Override http request option.
2210
+ * @throws {RequiredError}
2211
+ * @memberof RecordsApi
2212
+ */
2213
+ updateDNSZoneNameservers(dnsZone: string, updateDNSZoneNameserversRequest: UpdateDNSZoneNameserversRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1UpdateDNSZoneNameserversResponse, any, {}>>;
2214
+ /**
2215
+ * Update records within a DNS zone that has default name servers and perform several actions on your records. Actions include: - add: allows you to add a new record or add a new IP to an existing A record, for example - set: allows you to edit a record or edit an IP from an existing A record, for example - delete: allows you to delete a record or delete an IP from an existing A record, for example - clear: allows you to delete all records from a DNS zone All edits will be versioned.
2216
+ * @summary Update records within a DNS zone
2217
+ * @param {string} dnsZone DNS zone in which to update the DNS zone records.
2218
+ * @param {UpdateDNSZoneRecordsRequest} updateDNSZoneRecordsRequest
2219
+ * @param {*} [options] Override http request option.
2220
+ * @throws {RequiredError}
2221
+ * @memberof RecordsApi
2222
+ */
2223
+ updateDNSZoneRecords(dnsZone: string, updateDNSZoneRecordsRequest: UpdateDNSZoneRecordsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1UpdateDNSZoneRecordsResponse, any, {}>>;
2224
+ }
2225
+ /**
2226
+ * @export
2227
+ */
2228
+ export declare const ListDNSZoneRecordsOrderByEnum: {
2229
+ readonly NameAsc: "name_asc";
2230
+ readonly NameDesc: "name_desc";
2231
+ };
2232
+ export type ListDNSZoneRecordsOrderByEnum = (typeof ListDNSZoneRecordsOrderByEnum)[keyof typeof ListDNSZoneRecordsOrderByEnum];
2233
+ /**
2234
+ * @export
2235
+ */
2236
+ export declare const ListDNSZoneRecordsTypeEnum: {
2237
+ readonly Unknown: "unknown";
2238
+ readonly A: "A";
2239
+ readonly Aaaa: "AAAA";
2240
+ readonly Cname: "CNAME";
2241
+ readonly Txt: "TXT";
2242
+ readonly Srv: "SRV";
2243
+ readonly Tlsa: "TLSA";
2244
+ readonly Mx: "MX";
2245
+ readonly Ns: "NS";
2246
+ readonly Ptr: "PTR";
2247
+ readonly Caa: "CAA";
2248
+ readonly Alias: "ALIAS";
2249
+ readonly Loc: "LOC";
2250
+ readonly Sshfp: "SSHFP";
2251
+ readonly Hinfo: "HINFO";
2252
+ readonly Rp: "RP";
2253
+ readonly Uri: "URI";
2254
+ readonly Ds: "DS";
2255
+ readonly Naptr: "NAPTR";
2256
+ readonly Dname: "DNAME";
2257
+ readonly Svcb: "SVCB";
2258
+ readonly Https: "HTTPS";
2259
+ };
2260
+ export type ListDNSZoneRecordsTypeEnum = (typeof ListDNSZoneRecordsTypeEnum)[keyof typeof ListDNSZoneRecordsTypeEnum];
2261
+ /**
2262
+ * VersionsApi - axios parameter creator
2263
+ * @export
2264
+ */
2265
+ export declare const VersionsApiAxiosParamCreator: (configuration?: Configuration) => {
2266
+ /**
2267
+ * Access a previous DNS zone version to see the differences from another specific version.
2268
+ * @summary Access differences from a specific DNS zone version
2269
+ * @param {string} dnsZoneVersionId (UUID format)
2270
+ * @param {*} [options] Override http request option.
2271
+ * @throws {RequiredError}
2272
+ */
2273
+ getDNSZoneVersionDiff: (dnsZoneVersionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2274
+ /**
2275
+ * Retrieve a list of records from a specific DNS zone version.
2276
+ * @summary List records from a given version of a specific DNS zone
2277
+ * @param {string} dnsZoneVersionId (UUID format)
2278
+ * @param {number} [page] Page number to return, from the paginated results.
2279
+ * @param {number} [pageSize] Maximum number of DNS zones versions records per page.
2280
+ * @param {*} [options] Override http request option.
2281
+ * @throws {RequiredError}
2282
+ */
2283
+ listDNSZoneVersionRecords: (dnsZoneVersionId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2284
+ /**
2285
+ * Retrieve a list of a DNS zone\'s versions.<br/> The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
2286
+ * @summary List versions of a DNS zone
2287
+ * @param {string} dnsZone
2288
+ * @param {number} [page] Page number to return, from the paginated results.
2289
+ * @param {number} [pageSize] Maximum number of DNS zones versions per page.
2290
+ * @param {*} [options] Override http request option.
2291
+ * @throws {RequiredError}
2292
+ */
2293
+ listDNSZoneVersions: (dnsZone: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2294
+ /**
2295
+ * Restore and activate a version of a specific DNS zone.
2296
+ * @summary Restore a DNS zone version
2297
+ * @param {string} dnsZoneVersionId (UUID format)
2298
+ * @param {object} body
2299
+ * @param {*} [options] Override http request option.
2300
+ * @throws {RequiredError}
2301
+ */
2302
+ restoreDNSZoneVersion: (dnsZoneVersionId: string, body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2303
+ };
2304
+ /**
2305
+ * VersionsApi - functional programming interface
2306
+ * @export
2307
+ */
2308
+ export declare const VersionsApiFp: (configuration?: Configuration) => {
2309
+ /**
2310
+ * Access a previous DNS zone version to see the differences from another specific version.
2311
+ * @summary Access differences from a specific DNS zone version
2312
+ * @param {string} dnsZoneVersionId (UUID format)
2313
+ * @param {*} [options] Override http request option.
2314
+ * @throws {RequiredError}
2315
+ */
2316
+ getDNSZoneVersionDiff(dnsZoneVersionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse>>;
2317
+ /**
2318
+ * Retrieve a list of records from a specific DNS zone version.
2319
+ * @summary List records from a given version of a specific DNS zone
2320
+ * @param {string} dnsZoneVersionId (UUID format)
2321
+ * @param {number} [page] Page number to return, from the paginated results.
2322
+ * @param {number} [pageSize] Maximum number of DNS zones versions records per page.
2323
+ * @param {*} [options] Override http request option.
2324
+ * @throws {RequiredError}
2325
+ */
2326
+ listDNSZoneVersionRecords(dnsZoneVersionId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse>>;
2327
+ /**
2328
+ * Retrieve a list of a DNS zone\'s versions.<br/> The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
2329
+ * @summary List versions of a DNS zone
2330
+ * @param {string} dnsZone
2331
+ * @param {number} [page] Page number to return, from the paginated results.
2332
+ * @param {number} [pageSize] Maximum number of DNS zones versions per page.
2333
+ * @param {*} [options] Override http request option.
2334
+ * @throws {RequiredError}
2335
+ */
2336
+ listDNSZoneVersions(dnsZone: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalewayDomainV2beta1ListDNSZoneVersionsResponse>>;
2337
+ /**
2338
+ * Restore and activate a version of a specific DNS zone.
2339
+ * @summary Restore a DNS zone version
2340
+ * @param {string} dnsZoneVersionId (UUID format)
2341
+ * @param {object} body
2342
+ * @param {*} [options] Override http request option.
2343
+ * @throws {RequiredError}
2344
+ */
2345
+ restoreDNSZoneVersion(dnsZoneVersionId: string, body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
2346
+ };
2347
+ /**
2348
+ * VersionsApi - factory interface
2349
+ * @export
2350
+ */
2351
+ export declare const VersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2352
+ /**
2353
+ * Access a previous DNS zone version to see the differences from another specific version.
2354
+ * @summary Access differences from a specific DNS zone version
2355
+ * @param {string} dnsZoneVersionId (UUID format)
2356
+ * @param {*} [options] Override http request option.
2357
+ * @throws {RequiredError}
2358
+ */
2359
+ getDNSZoneVersionDiff(dnsZoneVersionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse>;
2360
+ /**
2361
+ * Retrieve a list of records from a specific DNS zone version.
2362
+ * @summary List records from a given version of a specific DNS zone
2363
+ * @param {string} dnsZoneVersionId (UUID format)
2364
+ * @param {number} [page] Page number to return, from the paginated results.
2365
+ * @param {number} [pageSize] Maximum number of DNS zones versions records per page.
2366
+ * @param {*} [options] Override http request option.
2367
+ * @throws {RequiredError}
2368
+ */
2369
+ listDNSZoneVersionRecords(dnsZoneVersionId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse>;
2370
+ /**
2371
+ * Retrieve a list of a DNS zone\'s versions.<br/> The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
2372
+ * @summary List versions of a DNS zone
2373
+ * @param {string} dnsZone
2374
+ * @param {number} [page] Page number to return, from the paginated results.
2375
+ * @param {number} [pageSize] Maximum number of DNS zones versions per page.
2376
+ * @param {*} [options] Override http request option.
2377
+ * @throws {RequiredError}
2378
+ */
2379
+ listDNSZoneVersions(dnsZone: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneVersionsResponse>;
2380
+ /**
2381
+ * Restore and activate a version of a specific DNS zone.
2382
+ * @summary Restore a DNS zone version
2383
+ * @param {string} dnsZoneVersionId (UUID format)
2384
+ * @param {object} body
2385
+ * @param {*} [options] Override http request option.
2386
+ * @throws {RequiredError}
2387
+ */
2388
+ restoreDNSZoneVersion(dnsZoneVersionId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<object>;
2389
+ };
2390
+ /**
2391
+ * VersionsApi - interface
2392
+ * @export
2393
+ * @interface VersionsApi
2394
+ */
2395
+ export interface VersionsApiInterface {
2396
+ /**
2397
+ * Access a previous DNS zone version to see the differences from another specific version.
2398
+ * @summary Access differences from a specific DNS zone version
2399
+ * @param {string} dnsZoneVersionId (UUID format)
2400
+ * @param {*} [options] Override http request option.
2401
+ * @throws {RequiredError}
2402
+ * @memberof VersionsApiInterface
2403
+ */
2404
+ getDNSZoneVersionDiff(dnsZoneVersionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse>;
2405
+ /**
2406
+ * Retrieve a list of records from a specific DNS zone version.
2407
+ * @summary List records from a given version of a specific DNS zone
2408
+ * @param {string} dnsZoneVersionId (UUID format)
2409
+ * @param {number} [page] Page number to return, from the paginated results.
2410
+ * @param {number} [pageSize] Maximum number of DNS zones versions records per page.
2411
+ * @param {*} [options] Override http request option.
2412
+ * @throws {RequiredError}
2413
+ * @memberof VersionsApiInterface
2414
+ */
2415
+ listDNSZoneVersionRecords(dnsZoneVersionId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse>;
2416
+ /**
2417
+ * Retrieve a list of a DNS zone\'s versions.<br/> The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
2418
+ * @summary List versions of a DNS zone
2419
+ * @param {string} dnsZone
2420
+ * @param {number} [page] Page number to return, from the paginated results.
2421
+ * @param {number} [pageSize] Maximum number of DNS zones versions per page.
2422
+ * @param {*} [options] Override http request option.
2423
+ * @throws {RequiredError}
2424
+ * @memberof VersionsApiInterface
2425
+ */
2426
+ listDNSZoneVersions(dnsZone: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<ScalewayDomainV2beta1ListDNSZoneVersionsResponse>;
2427
+ /**
2428
+ * Restore and activate a version of a specific DNS zone.
2429
+ * @summary Restore a DNS zone version
2430
+ * @param {string} dnsZoneVersionId (UUID format)
2431
+ * @param {object} body
2432
+ * @param {*} [options] Override http request option.
2433
+ * @throws {RequiredError}
2434
+ * @memberof VersionsApiInterface
2435
+ */
2436
+ restoreDNSZoneVersion(dnsZoneVersionId: string, body: object, options?: RawAxiosRequestConfig): AxiosPromise<object>;
2437
+ }
2438
+ /**
2439
+ * VersionsApi - object-oriented interface
2440
+ * @export
2441
+ * @class VersionsApi
2442
+ * @extends {BaseAPI}
2443
+ */
2444
+ export declare class VersionsApi extends BaseAPI implements VersionsApiInterface {
2445
+ /**
2446
+ * Access a previous DNS zone version to see the differences from another specific version.
2447
+ * @summary Access differences from a specific DNS zone version
2448
+ * @param {string} dnsZoneVersionId (UUID format)
2449
+ * @param {*} [options] Override http request option.
2450
+ * @throws {RequiredError}
2451
+ * @memberof VersionsApi
2452
+ */
2453
+ getDNSZoneVersionDiff(dnsZoneVersionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1GetDNSZoneVersionDiffResponse, any, {}>>;
2454
+ /**
2455
+ * Retrieve a list of records from a specific DNS zone version.
2456
+ * @summary List records from a given version of a specific DNS zone
2457
+ * @param {string} dnsZoneVersionId (UUID format)
2458
+ * @param {number} [page] Page number to return, from the paginated results.
2459
+ * @param {number} [pageSize] Maximum number of DNS zones versions records per page.
2460
+ * @param {*} [options] Override http request option.
2461
+ * @throws {RequiredError}
2462
+ * @memberof VersionsApi
2463
+ */
2464
+ listDNSZoneVersionRecords(dnsZoneVersionId: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ListDNSZoneVersionRecordsResponse, any, {}>>;
2465
+ /**
2466
+ * Retrieve a list of a DNS zone\'s versions.<br/> The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
2467
+ * @summary List versions of a DNS zone
2468
+ * @param {string} dnsZone
2469
+ * @param {number} [page] Page number to return, from the paginated results.
2470
+ * @param {number} [pageSize] Maximum number of DNS zones versions per page.
2471
+ * @param {*} [options] Override http request option.
2472
+ * @throws {RequiredError}
2473
+ * @memberof VersionsApi
2474
+ */
2475
+ listDNSZoneVersions(dnsZone: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalewayDomainV2beta1ListDNSZoneVersionsResponse, any, {}>>;
2476
+ /**
2477
+ * Restore and activate a version of a specific DNS zone.
2478
+ * @summary Restore a DNS zone version
2479
+ * @param {string} dnsZoneVersionId (UUID format)
2480
+ * @param {object} body
2481
+ * @param {*} [options] Override http request option.
2482
+ * @throws {RequiredError}
2483
+ * @memberof VersionsApi
2484
+ */
2485
+ restoreDNSZoneVersion(dnsZoneVersionId: string, body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
2486
+ }