@scaleway/sdk 2.45.0 → 2.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/api/account/index.gen.d.ts +6 -0
  2. package/dist/api/applesilicon/index.gen.d.ts +5 -0
  3. package/dist/api/baremetal/index.gen.d.ts +5 -0
  4. package/dist/api/baremetal/v1/api.gen.cjs +3 -1
  5. package/dist/api/baremetal/v1/api.gen.js +3 -1
  6. package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
  7. package/dist/api/baremetal/v1/marshalling.gen.cjs +61 -1
  8. package/dist/api/baremetal/v1/marshalling.gen.js +61 -1
  9. package/dist/api/baremetal/v1/types.gen.d.ts +120 -1
  10. package/dist/api/billing/index.gen.d.ts +6 -0
  11. package/dist/api/block/index.gen.d.ts +5 -0
  12. package/dist/api/cockpit/index.gen.d.ts +6 -0
  13. package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
  14. package/dist/api/container/index.gen.d.ts +5 -0
  15. package/dist/api/container/v1beta1/api.gen.cjs +0 -23
  16. package/dist/api/container/v1beta1/api.gen.d.ts +1 -9
  17. package/dist/api/container/v1beta1/api.gen.js +1 -24
  18. package/dist/api/container/v1beta1/index.gen.d.ts +1 -1
  19. package/dist/api/container/v1beta1/types.gen.d.ts +0 -12
  20. package/dist/api/dedibox/index.gen.d.ts +5 -0
  21. package/dist/api/document_db/index.gen.d.ts +5 -0
  22. package/dist/api/domain/index.gen.d.ts +5 -0
  23. package/dist/api/edge_services/index.gen.d.ts +5 -0
  24. package/dist/api/edge_services/v1alpha1/api.gen.cjs +599 -0
  25. package/dist/api/edge_services/v1alpha1/api.gen.js +599 -0
  26. package/dist/api/edge_services/v1alpha1/content.gen.cjs +8 -0
  27. package/dist/api/edge_services/v1alpha1/content.gen.js +8 -0
  28. package/dist/api/edge_services/v1alpha1/index.gen.cjs +7 -0
  29. package/dist/api/edge_services/v1alpha1/index.gen.js +7 -0
  30. package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +434 -0
  31. package/dist/api/edge_services/v1alpha1/marshalling.gen.js +434 -0
  32. package/dist/api/flexibleip/index.gen.d.ts +5 -0
  33. package/dist/api/function/index.gen.d.ts +5 -0
  34. package/dist/api/function/v1beta1/api.gen.cjs +0 -23
  35. package/dist/api/function/v1beta1/api.gen.d.ts +1 -9
  36. package/dist/api/function/v1beta1/api.gen.js +1 -24
  37. package/dist/api/function/v1beta1/index.gen.d.ts +1 -1
  38. package/dist/api/function/v1beta1/types.gen.d.ts +0 -12
  39. package/dist/api/iam/index.gen.d.ts +5 -0
  40. package/dist/api/iam/v1alpha1/api.gen.cjs +1 -1
  41. package/dist/api/iam/v1alpha1/api.gen.d.ts +1 -1
  42. package/dist/api/iam/v1alpha1/api.gen.js +1 -1
  43. package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
  44. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +17 -3
  45. package/dist/api/iam/v1alpha1/marshalling.gen.js +17 -3
  46. package/dist/api/iam/v1alpha1/types.gen.d.ts +27 -3
  47. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +12 -0
  48. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +11 -0
  49. package/dist/api/iam/v1alpha1/validation-rules.gen.js +12 -0
  50. package/dist/api/index.d.ts +65 -35
  51. package/dist/api/index.gen.d.ts +43 -0
  52. package/dist/api/inference/index.gen.d.ts +5 -0
  53. package/dist/api/inference/v1beta1/api.gen.cjs +306 -0
  54. package/dist/api/inference/v1beta1/api.gen.js +306 -0
  55. package/dist/api/inference/v1beta1/content.gen.cjs +8 -0
  56. package/dist/api/inference/v1beta1/content.gen.js +8 -0
  57. package/dist/api/inference/v1beta1/index.gen.cjs +8 -0
  58. package/dist/api/inference/v1beta1/index.gen.js +8 -0
  59. package/dist/api/inference/v1beta1/marshalling.gen.cjs +273 -0
  60. package/dist/api/inference/v1beta1/marshalling.gen.js +273 -0
  61. package/dist/api/inference/v1beta1/validation-rules.gen.cjs +56 -0
  62. package/dist/api/inference/v1beta1/validation-rules.gen.js +56 -0
  63. package/dist/api/instance/index.gen.d.ts +5 -0
  64. package/dist/api/instance/v1/marshalling.gen.cjs +1 -0
  65. package/dist/api/instance/v1/marshalling.gen.js +1 -0
  66. package/dist/api/instance/v1/types.gen.d.ts +22 -8
  67. package/dist/api/instance/v1/types.private.gen.d.ts +2 -2
  68. package/dist/api/iot/index.gen.d.ts +5 -0
  69. package/dist/api/ipam/index.gen.d.ts +5 -0
  70. package/dist/api/ipam/v1/api.gen.cjs +67 -2
  71. package/dist/api/ipam/v1/api.gen.d.ts +38 -3
  72. package/dist/api/ipam/v1/api.gen.js +68 -3
  73. package/dist/api/ipam/v1/index.gen.d.ts +1 -1
  74. package/dist/api/ipam/v1/marshalling.gen.cjs +18 -0
  75. package/dist/api/ipam/v1/marshalling.gen.d.ts +4 -1
  76. package/dist/api/ipam/v1/marshalling.gen.js +18 -0
  77. package/dist/api/ipam/v1/types.gen.d.ts +59 -5
  78. package/dist/api/ipfs/index.gen.d.ts +5 -0
  79. package/dist/api/jobs/index.gen.d.ts +5 -0
  80. package/dist/api/k8s/index.gen.d.ts +5 -0
  81. package/dist/api/k8s/v1/api.gen.cjs +17 -0
  82. package/dist/api/k8s/v1/api.gen.d.ts +10 -1
  83. package/dist/api/k8s/v1/api.gen.js +17 -0
  84. package/dist/api/k8s/v1/index.gen.d.ts +1 -1
  85. package/dist/api/k8s/v1/types.gen.d.ts +13 -0
  86. package/dist/api/k8s/v1/validation-rules.gen.cjs +65 -0
  87. package/dist/api/k8s/v1/validation-rules.gen.d.ts +62 -0
  88. package/dist/api/k8s/v1/validation-rules.gen.js +66 -1
  89. package/dist/api/key_manager/index.gen.d.ts +5 -0
  90. package/dist/api/key_manager/v1alpha1/api.gen.cjs +31 -0
  91. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +17 -1
  92. package/dist/api/key_manager/v1alpha1/api.gen.js +32 -1
  93. package/dist/api/key_manager/v1alpha1/index.gen.d.ts +1 -1
  94. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +7 -0
  95. package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +2 -1
  96. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +7 -0
  97. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +33 -0
  98. package/dist/api/lb/index.gen.d.ts +5 -0
  99. package/dist/api/llm_inference/index.gen.d.ts +5 -0
  100. package/dist/api/marketplace/index.gen.d.ts +5 -0
  101. package/dist/api/mnq/index.gen.cjs +4 -0
  102. package/dist/api/mnq/index.gen.d.ts +5 -0
  103. package/dist/api/mnq/index.gen.js +4 -0
  104. package/dist/api/qaas/index.gen.d.ts +5 -0
  105. package/dist/api/qaas/v1alpha1/api.gen.cjs +527 -0
  106. package/dist/api/qaas/v1alpha1/api.gen.d.ts +256 -0
  107. package/dist/api/qaas/v1alpha1/api.gen.js +527 -0
  108. package/dist/api/qaas/v1alpha1/content.gen.cjs +19 -0
  109. package/dist/api/qaas/v1alpha1/content.gen.d.ts +7 -0
  110. package/dist/api/qaas/v1alpha1/content.gen.js +19 -0
  111. package/dist/api/qaas/v1alpha1/index.gen.cjs +10 -0
  112. package/dist/api/qaas/v1alpha1/index.gen.d.ts +4 -0
  113. package/dist/api/qaas/v1alpha1/index.gen.js +10 -0
  114. package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +320 -0
  115. package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +22 -0
  116. package/dist/api/qaas/v1alpha1/marshalling.gen.js +320 -0
  117. package/dist/api/qaas/v1alpha1/types.gen.d.ts +470 -0
  118. package/dist/api/qaas/v1alpha1/validation-rules.gen.cjs +14 -0
  119. package/dist/api/qaas/v1alpha1/validation-rules.gen.d.ts +10 -0
  120. package/dist/api/qaas/v1alpha1/validation-rules.gen.js +14 -0
  121. package/dist/api/rdb/index.gen.d.ts +5 -0
  122. package/dist/api/redis/index.gen.d.ts +5 -0
  123. package/dist/api/registry/index.gen.d.ts +5 -0
  124. package/dist/api/secret/index.gen.d.ts +6 -0
  125. package/dist/api/serverless_sqldb/index.gen.d.ts +5 -0
  126. package/dist/api/tem/index.gen.cjs +4 -0
  127. package/dist/api/tem/index.gen.d.ts +5 -0
  128. package/dist/api/tem/index.gen.js +4 -0
  129. package/dist/api/tem/v1alpha1/api.gen.cjs +32 -0
  130. package/dist/api/tem/v1alpha1/api.gen.d.ts +17 -1
  131. package/dist/api/tem/v1alpha1/api.gen.js +33 -1
  132. package/dist/api/tem/v1alpha1/content.gen.cjs +4 -1
  133. package/dist/api/tem/v1alpha1/content.gen.js +4 -1
  134. package/dist/api/tem/v1alpha1/index.gen.d.ts +1 -1
  135. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +36 -0
  136. package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +3 -1
  137. package/dist/api/tem/v1alpha1/marshalling.gen.js +36 -0
  138. package/dist/api/tem/v1alpha1/types.gen.d.ts +52 -1
  139. package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +11 -0
  140. package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +10 -0
  141. package/dist/api/tem/v1alpha1/validation-rules.gen.js +11 -0
  142. package/dist/api/test/index.gen.d.ts +5 -0
  143. package/dist/api/vpc/index.gen.d.ts +6 -0
  144. package/dist/api/vpc/v2/marshalling.gen.cjs +1 -0
  145. package/dist/api/vpc/v2/marshalling.gen.js +1 -0
  146. package/dist/api/vpc/v2/types.gen.d.ts +3 -0
  147. package/dist/api/vpcgw/index.gen.d.ts +5 -0
  148. package/dist/api/webhosting/index.gen.cjs +6 -0
  149. package/dist/api/webhosting/index.gen.d.ts +6 -0
  150. package/dist/api/webhosting/index.gen.js +6 -0
  151. package/dist/api/webhosting/v1/api.gen.cjs +620 -0
  152. package/dist/api/webhosting/v1/api.gen.d.ts +326 -0
  153. package/dist/api/webhosting/v1/api.gen.js +620 -0
  154. package/dist/api/webhosting/v1/content.gen.cjs +14 -0
  155. package/dist/api/webhosting/v1/content.gen.d.ts +5 -0
  156. package/dist/api/webhosting/v1/content.gen.js +14 -0
  157. package/dist/api/webhosting/v1/index.gen.cjs +15 -0
  158. package/dist/api/webhosting/v1/index.gen.d.ts +4 -0
  159. package/dist/api/webhosting/v1/index.gen.js +15 -0
  160. package/dist/api/webhosting/v1/marshalling.gen.cjs +391 -0
  161. package/dist/api/webhosting/v1/marshalling.gen.d.ts +29 -0
  162. package/dist/api/webhosting/v1/marshalling.gen.js +391 -0
  163. package/dist/api/webhosting/v1/types.gen.d.ts +698 -0
  164. package/dist/api/webhosting/v1/validation-rules.gen.cjs +82 -0
  165. package/dist/api/webhosting/v1/validation-rules.gen.d.ts +72 -0
  166. package/dist/api/webhosting/v1/validation-rules.gen.js +82 -0
  167. package/dist/index.cjs +92 -70
  168. package/dist/index.js +92 -70
  169. package/dist/scw/constants.cjs +1 -1
  170. package/dist/scw/constants.d.ts +2 -2
  171. package/dist/scw/constants.js +1 -1
  172. package/package.json +2 -2
  173. package/dist/api/account/index.d.ts +0 -2
  174. package/dist/api/applesilicon/index.d.ts +0 -1
  175. package/dist/api/baremetal/index.d.ts +0 -1
  176. package/dist/api/billing/index.d.ts +0 -2
  177. package/dist/api/block/index.d.ts +0 -1
  178. package/dist/api/cockpit/index.d.ts +0 -2
  179. package/dist/api/container/index.d.ts +0 -1
  180. package/dist/api/dedibox/index.d.ts +0 -1
  181. package/dist/api/document_db/index.d.ts +0 -1
  182. package/dist/api/domain/index.d.ts +0 -1
  183. package/dist/api/edge_services/index.d.ts +0 -1
  184. package/dist/api/flexibleip/index.d.ts +0 -1
  185. package/dist/api/function/index.d.ts +0 -1
  186. package/dist/api/iam/index.d.ts +0 -1
  187. package/dist/api/instance/index.d.ts +0 -1
  188. package/dist/api/iot/index.d.ts +0 -1
  189. package/dist/api/ipam/index.d.ts +0 -1
  190. package/dist/api/ipfs/index.d.ts +0 -1
  191. package/dist/api/jobs/index.d.ts +0 -1
  192. package/dist/api/k8s/index.d.ts +0 -1
  193. package/dist/api/key_manager/index.d.ts +0 -1
  194. package/dist/api/lb/index.d.ts +0 -1
  195. package/dist/api/llm_inference/index.d.ts +0 -1
  196. package/dist/api/marketplace/index.d.ts +0 -1
  197. package/dist/api/mnq/index.d.ts +0 -1
  198. package/dist/api/rdb/index.d.ts +0 -1
  199. package/dist/api/redis/index.d.ts +0 -1
  200. package/dist/api/registry/index.d.ts +0 -1
  201. package/dist/api/secret/index.d.ts +0 -2
  202. package/dist/api/serverless_sqldb/index.d.ts +0 -1
  203. package/dist/api/tem/index.d.ts +0 -1
  204. package/dist/api/test/index.d.ts +0 -1
  205. package/dist/api/vpc/index.d.ts +0 -2
  206. package/dist/api/vpcgw/index.d.ts +0 -1
  207. package/dist/api/webhosting/index.d.ts +0 -1
  208. /package/dist/api/account/{index.cjs → index.gen.cjs} +0 -0
  209. /package/dist/api/account/{index.js → index.gen.js} +0 -0
  210. /package/dist/api/applesilicon/{index.cjs → index.gen.cjs} +0 -0
  211. /package/dist/api/applesilicon/{index.js → index.gen.js} +0 -0
  212. /package/dist/api/baremetal/{index.cjs → index.gen.cjs} +0 -0
  213. /package/dist/api/baremetal/{index.js → index.gen.js} +0 -0
  214. /package/dist/api/billing/{index.cjs → index.gen.cjs} +0 -0
  215. /package/dist/api/billing/{index.js → index.gen.js} +0 -0
  216. /package/dist/api/block/{index.cjs → index.gen.cjs} +0 -0
  217. /package/dist/api/block/{index.js → index.gen.js} +0 -0
  218. /package/dist/api/cockpit/{index.cjs → index.gen.cjs} +0 -0
  219. /package/dist/api/cockpit/{index.js → index.gen.js} +0 -0
  220. /package/dist/api/container/{index.cjs → index.gen.cjs} +0 -0
  221. /package/dist/api/container/{index.js → index.gen.js} +0 -0
  222. /package/dist/api/dedibox/{index.cjs → index.gen.cjs} +0 -0
  223. /package/dist/api/dedibox/{index.js → index.gen.js} +0 -0
  224. /package/dist/api/document_db/{index.cjs → index.gen.cjs} +0 -0
  225. /package/dist/api/document_db/{index.js → index.gen.js} +0 -0
  226. /package/dist/api/domain/{index.cjs → index.gen.cjs} +0 -0
  227. /package/dist/api/domain/{index.js → index.gen.js} +0 -0
  228. /package/dist/api/{flexibleip/index.cjs → edge_services/index.gen.cjs} +0 -0
  229. /package/dist/api/{flexibleip/index.js → edge_services/index.gen.js} +0 -0
  230. /package/dist/api/{iam/index.cjs → flexibleip/index.gen.cjs} +0 -0
  231. /package/dist/api/{iam/index.js → flexibleip/index.gen.js} +0 -0
  232. /package/dist/api/function/{index.cjs → index.gen.cjs} +0 -0
  233. /package/dist/api/function/{index.js → index.gen.js} +0 -0
  234. /package/dist/api/{ipfs/index.cjs → iam/index.gen.cjs} +0 -0
  235. /package/dist/api/{ipfs/index.js → iam/index.gen.js} +0 -0
  236. /package/dist/api/{llm_inference/index.cjs → inference/index.gen.cjs} +0 -0
  237. /package/dist/api/{llm_inference/index.js → inference/index.gen.js} +0 -0
  238. /package/dist/api/instance/{index.cjs → index.gen.cjs} +0 -0
  239. /package/dist/api/instance/{index.js → index.gen.js} +0 -0
  240. /package/dist/api/iot/{index.cjs → index.gen.cjs} +0 -0
  241. /package/dist/api/iot/{index.js → index.gen.js} +0 -0
  242. /package/dist/api/ipam/{index.cjs → index.gen.cjs} +0 -0
  243. /package/dist/api/ipam/{index.js → index.gen.js} +0 -0
  244. /package/dist/api/{jobs/index.cjs → ipfs/index.gen.cjs} +0 -0
  245. /package/dist/api/{jobs/index.js → ipfs/index.gen.js} +0 -0
  246. /package/dist/api/{key_manager/index.cjs → jobs/index.gen.cjs} +0 -0
  247. /package/dist/api/{key_manager/index.js → jobs/index.gen.js} +0 -0
  248. /package/dist/api/k8s/{index.cjs → index.gen.cjs} +0 -0
  249. /package/dist/api/k8s/{index.js → index.gen.js} +0 -0
  250. /package/dist/api/{serverless_sqldb/index.cjs → key_manager/index.gen.cjs} +0 -0
  251. /package/dist/api/{serverless_sqldb/index.js → key_manager/index.gen.js} +0 -0
  252. /package/dist/api/lb/{index.cjs → index.gen.cjs} +0 -0
  253. /package/dist/api/lb/{index.js → index.gen.js} +0 -0
  254. /package/dist/api/{mnq/index.cjs → llm_inference/index.gen.cjs} +0 -0
  255. /package/dist/api/{mnq/index.js → llm_inference/index.gen.js} +0 -0
  256. /package/dist/api/marketplace/{index.cjs → index.gen.cjs} +0 -0
  257. /package/dist/api/marketplace/{index.js → index.gen.js} +0 -0
  258. /package/dist/api/{tem/index.cjs → qaas/index.gen.cjs} +0 -0
  259. /package/dist/api/{tem/index.js → qaas/index.gen.js} +0 -0
  260. /package/dist/api/rdb/{index.cjs → index.gen.cjs} +0 -0
  261. /package/dist/api/rdb/{index.js → index.gen.js} +0 -0
  262. /package/dist/api/redis/{index.cjs → index.gen.cjs} +0 -0
  263. /package/dist/api/redis/{index.js → index.gen.js} +0 -0
  264. /package/dist/api/registry/{index.cjs → index.gen.cjs} +0 -0
  265. /package/dist/api/registry/{index.js → index.gen.js} +0 -0
  266. /package/dist/api/secret/{index.cjs → index.gen.cjs} +0 -0
  267. /package/dist/api/secret/{index.js → index.gen.js} +0 -0
  268. /package/dist/api/{webhosting/index.cjs → serverless_sqldb/index.gen.cjs} +0 -0
  269. /package/dist/api/{webhosting/index.js → serverless_sqldb/index.gen.js} +0 -0
  270. /package/dist/api/test/{index.cjs → index.gen.cjs} +0 -0
  271. /package/dist/api/test/{index.js → index.gen.js} +0 -0
  272. /package/dist/api/vpc/{index.cjs → index.gen.cjs} +0 -0
  273. /package/dist/api/vpc/{index.js → index.gen.js} +0 -0
  274. /package/dist/api/vpcgw/{index.cjs → index.gen.cjs} +0 -0
  275. /package/dist/api/vpcgw/{index.js → index.gen.js} +0 -0
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const DOMAIN_TRANSIENT_STATUSES = ["pending"];
3
+ const DOMAIN_TRANSIENT_STATUSES = [
4
+ "pending",
5
+ "autoconfiguring"
6
+ ];
4
7
  const EMAIL_TRANSIENT_STATUSES = ["new", "sending"];
5
8
  exports.DOMAIN_TRANSIENT_STATUSES = DOMAIN_TRANSIENT_STATUSES;
6
9
  exports.EMAIL_TRANSIENT_STATUSES = EMAIL_TRANSIENT_STATUSES;
@@ -1,4 +1,7 @@
1
- const DOMAIN_TRANSIENT_STATUSES = ["pending"];
1
+ const DOMAIN_TRANSIENT_STATUSES = [
2
+ "pending",
3
+ "autoconfiguring"
4
+ ];
2
5
  const EMAIL_TRANSIENT_STATUSES = ["new", "sending"];
3
6
  export {
4
7
  DOMAIN_TRANSIENT_STATUSES,
@@ -1,4 +1,4 @@
1
1
  export { API } from './api.gen';
2
2
  export * from './content.gen';
3
- export type { CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateEmailResponse, CreateWebhookRequest, DeleteWebhookRequest, Domain, DomainLastStatus, DomainLastStatusDkimRecord, DomainLastStatusDmarcRecord, DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, DomainRecordsDMARC, DomainReputation, DomainReputationStatus, DomainStatistics, DomainStatus, Email, EmailFlag, EmailRcptType, EmailStatus, EmailTry, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetStatisticsRequest, GetWebhookRequest, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsRequestOrderBy, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsRequestOrderBy, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksRequestOrderBy, ListWebhooksResponse, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateWebhookRequest, Webhook, WebhookEvent, WebhookEventStatus, WebhookEventType, } from './types.gen';
3
+ export type { CancelEmailRequest, CheckDomainRequest, CreateDomainRequest, CreateEmailRequest, CreateEmailRequestAddress, CreateEmailRequestAttachment, CreateEmailRequestHeader, CreateEmailResponse, CreateWebhookRequest, DeleteWebhookRequest, Domain, DomainLastStatus, DomainLastStatusDkimRecord, DomainLastStatusDmarcRecord, DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, DomainRecordsDMARC, DomainReputation, DomainReputationStatus, DomainStatistics, DomainStatus, Email, EmailFlag, EmailRcptType, EmailStatus, EmailTry, GetDomainLastStatusRequest, GetDomainRequest, GetEmailRequest, GetProjectSettingsRequest, GetStatisticsRequest, GetWebhookRequest, ListDomainsRequest, ListDomainsResponse, ListEmailsRequest, ListEmailsRequestOrderBy, ListEmailsResponse, ListWebhookEventsRequest, ListWebhookEventsRequestOrderBy, ListWebhookEventsResponse, ListWebhooksRequest, ListWebhooksRequestOrderBy, ListWebhooksResponse, ProjectSettings, ProjectSettingsPeriodicReport, ProjectSettingsPeriodicReportFrequency, RevokeDomainRequest, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateProjectSettingsRequestUpdatePeriodicReport, UpdateWebhookRequest, Webhook, WebhookEvent, WebhookEventStatus, WebhookEventType, } from './types.gen';
4
4
  export * as ValidationRules from './validation-rules.gen';
@@ -259,6 +259,29 @@ const unmarshalListWebhooksResponse = (data) => {
259
259
  webhooks: marshalling.unmarshalArrayOfObject(data.webhooks, unmarshalWebhook)
260
260
  };
261
261
  };
262
+ const unmarshalProjectSettingsPeriodicReport = (data) => {
263
+ if (!json.isJSONObject(data)) {
264
+ throw new TypeError(
265
+ `Unmarshalling the type 'ProjectSettingsPeriodicReport' failed as data isn't a dictionary.`
266
+ );
267
+ }
268
+ return {
269
+ enabled: data.enabled,
270
+ frequency: data.frequency,
271
+ sendingDay: data.sending_day,
272
+ sendingHour: data.sending_hour
273
+ };
274
+ };
275
+ const unmarshalProjectSettings = (data) => {
276
+ if (!json.isJSONObject(data)) {
277
+ throw new TypeError(
278
+ `Unmarshalling the type 'ProjectSettings' failed as data isn't a dictionary.`
279
+ );
280
+ }
281
+ return {
282
+ periodicReport: data.periodic_report ? unmarshalProjectSettingsPeriodicReport(data.periodic_report) : void 0
283
+ };
284
+ };
262
285
  const unmarshalStatistics = (data) => {
263
286
  if (!json.isJSONObject(data)) {
264
287
  throw new TypeError(
@@ -320,6 +343,17 @@ const marshalCreateWebhookRequest = (request, defaults) => ({
320
343
  const marshalUpdateDomainRequest = (request, defaults) => ({
321
344
  autoconfig: request.autoconfig
322
345
  });
346
+ const marshalUpdateProjectSettingsRequestUpdatePeriodicReport = (request, defaults) => ({
347
+ enabled: request.enabled,
348
+ frequency: request.frequency,
349
+ sending_day: request.sendingDay,
350
+ sending_hour: request.sendingHour
351
+ });
352
+ const marshalUpdateProjectSettingsRequest = (request, defaults) => ({
353
+ periodic_report: request.periodicReport !== void 0 ? marshalUpdateProjectSettingsRequestUpdatePeriodicReport(
354
+ request.periodicReport
355
+ ) : void 0
356
+ });
323
357
  const marshalUpdateWebhookRequest = (request, defaults) => ({
324
358
  event_types: request.eventTypes !== void 0 ? request.eventTypes : void 0,
325
359
  name: request.name,
@@ -329,6 +363,7 @@ exports.marshalCreateDomainRequest = marshalCreateDomainRequest;
329
363
  exports.marshalCreateEmailRequest = marshalCreateEmailRequest;
330
364
  exports.marshalCreateWebhookRequest = marshalCreateWebhookRequest;
331
365
  exports.marshalUpdateDomainRequest = marshalUpdateDomainRequest;
366
+ exports.marshalUpdateProjectSettingsRequest = marshalUpdateProjectSettingsRequest;
332
367
  exports.marshalUpdateWebhookRequest = marshalUpdateWebhookRequest;
333
368
  exports.unmarshalCreateEmailResponse = unmarshalCreateEmailResponse;
334
369
  exports.unmarshalDomain = unmarshalDomain;
@@ -338,5 +373,6 @@ exports.unmarshalListDomainsResponse = unmarshalListDomainsResponse;
338
373
  exports.unmarshalListEmailsResponse = unmarshalListEmailsResponse;
339
374
  exports.unmarshalListWebhookEventsResponse = unmarshalListWebhookEventsResponse;
340
375
  exports.unmarshalListWebhooksResponse = unmarshalListWebhooksResponse;
376
+ exports.unmarshalProjectSettings = unmarshalProjectSettings;
341
377
  exports.unmarshalStatistics = unmarshalStatistics;
342
378
  exports.unmarshalWebhook = unmarshalWebhook;
@@ -1,5 +1,5 @@
1
1
  import type { DefaultValues } from '../../../bridge';
2
- import type { CreateDomainRequest, CreateEmailRequest, CreateEmailResponse, CreateWebhookRequest, Domain, DomainLastStatus, Email, ListDomainsResponse, ListEmailsResponse, ListWebhookEventsResponse, ListWebhooksResponse, Statistics, UpdateDomainRequest, UpdateWebhookRequest, Webhook } from './types.gen';
2
+ import type { CreateDomainRequest, CreateEmailRequest, CreateEmailResponse, CreateWebhookRequest, Domain, DomainLastStatus, Email, ListDomainsResponse, ListEmailsResponse, ListWebhookEventsResponse, ListWebhooksResponse, ProjectSettings, Statistics, UpdateDomainRequest, UpdateProjectSettingsRequest, UpdateWebhookRequest, Webhook } from './types.gen';
3
3
  export declare const unmarshalEmail: (data: unknown) => Email;
4
4
  export declare const unmarshalDomain: (data: unknown) => Domain;
5
5
  export declare const unmarshalWebhook: (data: unknown) => Webhook;
@@ -9,9 +9,11 @@ export declare const unmarshalListDomainsResponse: (data: unknown) => ListDomain
9
9
  export declare const unmarshalListEmailsResponse: (data: unknown) => ListEmailsResponse;
10
10
  export declare const unmarshalListWebhookEventsResponse: (data: unknown) => ListWebhookEventsResponse;
11
11
  export declare const unmarshalListWebhooksResponse: (data: unknown) => ListWebhooksResponse;
12
+ export declare const unmarshalProjectSettings: (data: unknown) => ProjectSettings;
12
13
  export declare const unmarshalStatistics: (data: unknown) => Statistics;
13
14
  export declare const marshalCreateDomainRequest: (request: CreateDomainRequest, defaults: DefaultValues) => Record<string, unknown>;
14
15
  export declare const marshalCreateEmailRequest: (request: CreateEmailRequest, defaults: DefaultValues) => Record<string, unknown>;
15
16
  export declare const marshalCreateWebhookRequest: (request: CreateWebhookRequest, defaults: DefaultValues) => Record<string, unknown>;
16
17
  export declare const marshalUpdateDomainRequest: (request: UpdateDomainRequest, defaults: DefaultValues) => Record<string, unknown>;
18
+ export declare const marshalUpdateProjectSettingsRequest: (request: UpdateProjectSettingsRequest, defaults: DefaultValues) => Record<string, unknown>;
17
19
  export declare const marshalUpdateWebhookRequest: (request: UpdateWebhookRequest, defaults: DefaultValues) => Record<string, unknown>;
@@ -257,6 +257,29 @@ const unmarshalListWebhooksResponse = (data) => {
257
257
  webhooks: unmarshalArrayOfObject(data.webhooks, unmarshalWebhook)
258
258
  };
259
259
  };
260
+ const unmarshalProjectSettingsPeriodicReport = (data) => {
261
+ if (!isJSONObject(data)) {
262
+ throw new TypeError(
263
+ `Unmarshalling the type 'ProjectSettingsPeriodicReport' failed as data isn't a dictionary.`
264
+ );
265
+ }
266
+ return {
267
+ enabled: data.enabled,
268
+ frequency: data.frequency,
269
+ sendingDay: data.sending_day,
270
+ sendingHour: data.sending_hour
271
+ };
272
+ };
273
+ const unmarshalProjectSettings = (data) => {
274
+ if (!isJSONObject(data)) {
275
+ throw new TypeError(
276
+ `Unmarshalling the type 'ProjectSettings' failed as data isn't a dictionary.`
277
+ );
278
+ }
279
+ return {
280
+ periodicReport: data.periodic_report ? unmarshalProjectSettingsPeriodicReport(data.periodic_report) : void 0
281
+ };
282
+ };
260
283
  const unmarshalStatistics = (data) => {
261
284
  if (!isJSONObject(data)) {
262
285
  throw new TypeError(
@@ -318,6 +341,17 @@ const marshalCreateWebhookRequest = (request, defaults) => ({
318
341
  const marshalUpdateDomainRequest = (request, defaults) => ({
319
342
  autoconfig: request.autoconfig
320
343
  });
344
+ const marshalUpdateProjectSettingsRequestUpdatePeriodicReport = (request, defaults) => ({
345
+ enabled: request.enabled,
346
+ frequency: request.frequency,
347
+ sending_day: request.sendingDay,
348
+ sending_hour: request.sendingHour
349
+ });
350
+ const marshalUpdateProjectSettingsRequest = (request, defaults) => ({
351
+ periodic_report: request.periodicReport !== void 0 ? marshalUpdateProjectSettingsRequestUpdatePeriodicReport(
352
+ request.periodicReport
353
+ ) : void 0
354
+ });
321
355
  const marshalUpdateWebhookRequest = (request, defaults) => ({
322
356
  event_types: request.eventTypes !== void 0 ? request.eventTypes : void 0,
323
357
  name: request.name,
@@ -328,6 +362,7 @@ export {
328
362
  marshalCreateEmailRequest,
329
363
  marshalCreateWebhookRequest,
330
364
  marshalUpdateDomainRequest,
365
+ marshalUpdateProjectSettingsRequest,
331
366
  marshalUpdateWebhookRequest,
332
367
  unmarshalCreateEmailResponse,
333
368
  unmarshalDomain,
@@ -337,6 +372,7 @@ export {
337
372
  unmarshalListEmailsResponse,
338
373
  unmarshalListWebhookEventsResponse,
339
374
  unmarshalListWebhooksResponse,
375
+ unmarshalProjectSettings,
340
376
  unmarshalStatistics,
341
377
  unmarshalWebhook
342
378
  };
@@ -1,13 +1,14 @@
1
1
  import type { Region } from '../../../bridge';
2
2
  export type DomainLastStatusRecordStatus = 'unknown_record_status' | 'valid' | 'invalid' | 'not_found';
3
3
  export type DomainReputationStatus = 'unknown_status' | 'excellent' | 'good' | 'average' | 'bad';
4
- export type DomainStatus = 'unknown' | 'checked' | 'unchecked' | 'invalid' | 'locked' | 'revoked' | 'pending';
4
+ export type DomainStatus = 'unknown' | 'checked' | 'unchecked' | 'invalid' | 'locked' | 'revoked' | 'pending' | 'autoconfiguring';
5
5
  export type EmailFlag = 'unknown_flag' | 'soft_bounce' | 'hard_bounce' | 'spam' | 'mailbox_full' | 'mailbox_not_found' | 'greylisted' | 'send_before_expiration';
6
6
  export type EmailRcptType = 'unknown_rcpt_type' | 'to' | 'cc' | 'bcc';
7
7
  export type EmailStatus = 'unknown' | 'new' | 'sending' | 'sent' | 'failed' | 'canceled';
8
8
  export type ListEmailsRequestOrderBy = 'created_at_desc' | 'created_at_asc' | 'updated_at_desc' | 'updated_at_asc' | 'status_desc' | 'status_asc' | 'mail_from_desc' | 'mail_from_asc' | 'mail_rcpt_desc' | 'mail_rcpt_asc' | 'subject_desc' | 'subject_asc';
9
9
  export type ListWebhookEventsRequestOrderBy = 'created_at_desc' | 'created_at_asc';
10
10
  export type ListWebhooksRequestOrderBy = 'created_at_desc' | 'created_at_asc';
11
+ export type ProjectSettingsPeriodicReportFrequency = 'unknown_frequency' | 'monthly' | 'weekly' | 'daily';
11
12
  export type WebhookEventStatus = 'unknown_status' | 'sending' | 'sent' | 'failed';
12
13
  export type WebhookEventType = 'unknown_type' | 'email_queued' | 'email_dropped' | 'email_deferred' | 'email_delivered' | 'email_spam' | 'email_mailbox_not_found';
13
14
  export interface DomainRecordsDMARC {
@@ -223,6 +224,32 @@ export interface Webhook {
223
224
  /** Date and time of last Webhook updates. */
224
225
  updatedAt?: Date;
225
226
  }
227
+ export interface ProjectSettingsPeriodicReport {
228
+ /** Enable or disable periodic report notifications. */
229
+ enabled: boolean;
230
+ /** At which frequency you receive periodic report notifications. */
231
+ frequency: ProjectSettingsPeriodicReportFrequency;
232
+ /** At which hour you receive periodic report notifications. */
233
+ sendingHour: number;
234
+ /**
235
+ * On which day you receive periodic report notifications (1-7 weekly, 1-28
236
+ * monthly).
237
+ */
238
+ sendingDay: number;
239
+ }
240
+ export interface UpdateProjectSettingsRequestUpdatePeriodicReport {
241
+ /** (Optional) Enable or disable periodic report notifications. */
242
+ enabled?: boolean;
243
+ /** (Optional) At which frequency you receive periodic report notifications. */
244
+ frequency?: ProjectSettingsPeriodicReportFrequency;
245
+ /** (Optional) At which hour you receive periodic report notifications. */
246
+ sendingHour?: number;
247
+ /**
248
+ * (Optional) On which day you receive periodic report notifications (1-7
249
+ * weekly, 1-28 monthly).
250
+ */
251
+ sendingDay?: number;
252
+ }
226
253
  export type CancelEmailRequest = {
227
254
  /**
228
255
  * Region to target. If none is passed will use default region from the
@@ -354,6 +381,15 @@ export type GetEmailRequest = {
354
381
  /** ID of the email to retrieve. */
355
382
  emailId: string;
356
383
  };
384
+ export type GetProjectSettingsRequest = {
385
+ /**
386
+ * Region to target. If none is passed will use default region from the
387
+ * config.
388
+ */
389
+ region?: Region;
390
+ /** ID of the project. */
391
+ projectId?: string;
392
+ };
357
393
  export type GetStatisticsRequest = {
358
394
  /**
359
395
  * Region to target. If none is passed will use default region from the
@@ -507,6 +543,10 @@ export interface ListWebhooksResponse {
507
543
  /** Single page of Webhooks matching the requested criteria. */
508
544
  webhooks: Webhook[];
509
545
  }
546
+ export interface ProjectSettings {
547
+ /** Information about your periodic report. */
548
+ periodicReport?: ProjectSettingsPeriodicReport;
549
+ }
510
550
  export type RevokeDomainRequest = {
511
551
  /**
512
552
  * Region to target. If none is passed will use default region from the
@@ -559,6 +599,17 @@ export type UpdateDomainRequest = {
559
599
  */
560
600
  autoconfig?: boolean;
561
601
  };
602
+ export type UpdateProjectSettingsRequest = {
603
+ /**
604
+ * Region to target. If none is passed will use default region from the
605
+ * config.
606
+ */
607
+ region?: Region;
608
+ /** ID of the project. */
609
+ projectId?: string;
610
+ /** Periodic report update details - all fields are optional. */
611
+ periodicReport?: UpdateProjectSettingsRequestUpdatePeriodicReport;
612
+ };
562
613
  export type UpdateWebhookRequest = {
563
614
  /**
564
615
  * Region to target. If none is passed will use default region from the
@@ -85,6 +85,16 @@ const ListWebhooksRequest = {
85
85
  lessThanOrEqual: 100
86
86
  }
87
87
  };
88
+ const UpdateProjectSettingsRequestUpdatePeriodicReport = {
89
+ sendingDay: {
90
+ greaterThanOrEqual: 1,
91
+ lessThanOrEqual: 28
92
+ },
93
+ sendingHour: {
94
+ greaterThanOrEqual: 0,
95
+ lessThanOrEqual: 23
96
+ }
97
+ };
88
98
  const UpdateWebhookRequest = {
89
99
  name: {
90
100
  maxLength: 127,
@@ -105,4 +115,5 @@ exports.ListDomainsRequest = ListDomainsRequest;
105
115
  exports.ListEmailsRequest = ListEmailsRequest;
106
116
  exports.ListWebhookEventsRequest = ListWebhookEventsRequest;
107
117
  exports.ListWebhooksRequest = ListWebhooksRequest;
118
+ exports.UpdateProjectSettingsRequestUpdatePeriodicReport = UpdateProjectSettingsRequestUpdatePeriodicReport;
108
119
  exports.UpdateWebhookRequest = UpdateWebhookRequest;
@@ -83,6 +83,16 @@ export declare const ListWebhooksRequest: {
83
83
  lessThanOrEqual: number;
84
84
  };
85
85
  };
86
+ export declare const UpdateProjectSettingsRequestUpdatePeriodicReport: {
87
+ sendingDay: {
88
+ greaterThanOrEqual: number;
89
+ lessThanOrEqual: number;
90
+ };
91
+ sendingHour: {
92
+ greaterThanOrEqual: number;
93
+ lessThanOrEqual: number;
94
+ };
95
+ };
86
96
  export declare const UpdateWebhookRequest: {
87
97
  name: {
88
98
  maxLength: number;
@@ -83,6 +83,16 @@ const ListWebhooksRequest = {
83
83
  lessThanOrEqual: 100
84
84
  }
85
85
  };
86
+ const UpdateProjectSettingsRequestUpdatePeriodicReport = {
87
+ sendingDay: {
88
+ greaterThanOrEqual: 1,
89
+ lessThanOrEqual: 28
90
+ },
91
+ sendingHour: {
92
+ greaterThanOrEqual: 0,
93
+ lessThanOrEqual: 23
94
+ }
95
+ };
86
96
  const UpdateWebhookRequest = {
87
97
  name: {
88
98
  maxLength: 127,
@@ -104,5 +114,6 @@ export {
104
114
  ListEmailsRequest,
105
115
  ListWebhookEventsRequest,
106
116
  ListWebhooksRequest,
117
+ UpdateProjectSettingsRequestUpdatePeriodicReport,
107
118
  UpdateWebhookRequest
108
119
  };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
+ * EDIT HERE
4
+ */
5
+ export * as v1 from './v1/index.gen';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
+ * EDIT HERE
4
+ */
5
+ export * as v1 from './v1/index.gen';
6
+ export * as v2 from './v2/index.gen';
@@ -51,6 +51,7 @@ const unmarshalRoute = (data) => {
51
51
  description: data.description,
52
52
  destination: data.destination,
53
53
  id: data.id,
54
+ isReadOnly: data.is_read_only,
54
55
  nexthopPrivateNetworkId: data.nexthop_private_network_id,
55
56
  nexthopResourceId: data.nexthop_resource_id,
56
57
  region: data.region,
@@ -49,6 +49,7 @@ const unmarshalRoute = (data) => {
49
49
  description: data.description,
50
50
  destination: data.destination,
51
51
  id: data.id,
52
+ isReadOnly: data.is_read_only,
52
53
  nexthopPrivateNetworkId: data.nexthop_private_network_id,
53
54
  nexthopResourceId: data.nexthop_resource_id,
54
55
  region: data.region,
@@ -61,6 +61,8 @@ export interface Route {
61
61
  createdAt?: Date;
62
62
  /** Date the Route was last modified. */
63
63
  updatedAt?: Date;
64
+ /** Defines whether the route can be modified or deleted by the user. */
65
+ isReadOnly: boolean;
64
66
  /** Region of the Route. */
65
67
  region: Region;
66
68
  }
@@ -209,6 +211,7 @@ export type EnableRoutingRequest = {
209
211
  * config.
210
212
  */
211
213
  region?: Region;
214
+ /** VPC ID. */
212
215
  vpcId: string;
213
216
  };
214
217
  export type GetPrivateNetworkRequest = {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
+ * EDIT HERE
4
+ */
5
+ export * as v1 from './v1/index.gen';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index_gen = require("./v1/index.gen.cjs");
4
+ const index_gen$1 = require("./v1alpha1/index.gen.cjs");
5
+ exports.v1 = index_gen;
6
+ exports.v1alpha1 = index_gen$1;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file is automatically generated from /scripts/generate.js PLEASE DO NOT
3
+ * EDIT HERE
4
+ */
5
+ export * as v1 from './v1/index.gen';
6
+ export * as v1alpha1 from './v1alpha1/index.gen';
@@ -0,0 +1,6 @@
1
+ import * as index_gen from "./v1/index.gen.js";
2
+ import * as index_gen$1 from "./v1alpha1/index.gen.js";
3
+ export {
4
+ index_gen as v1,
5
+ index_gen$1 as v1alpha1
6
+ };