@distilled.cloud/cloudflare 0.28.2 → 0.29.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 (463) hide show
  1. package/lib/client/api.d.ts +1 -1
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/credentials.d.ts.map +1 -1
  4. package/lib/retry.d.ts.map +1 -1
  5. package/lib/services/abuse-reports.d.ts.map +1 -1
  6. package/lib/services/abuse-reports.js +26 -26
  7. package/lib/services/abuse-reports.js.map +1 -1
  8. package/lib/services/accounts.d.ts.map +1 -1
  9. package/lib/services/accounts.js +114 -123
  10. package/lib/services/accounts.js.map +1 -1
  11. package/lib/services/acm.d.ts.map +1 -1
  12. package/lib/services/acm.js +23 -23
  13. package/lib/services/acm.js.map +1 -1
  14. package/lib/services/addressing.d.ts.map +1 -1
  15. package/lib/services/addressing.js +132 -132
  16. package/lib/services/addressing.js.map +1 -1
  17. package/lib/services/ai-gateway.d.ts.map +1 -1
  18. package/lib/services/ai-gateway.js +213 -207
  19. package/lib/services/ai-gateway.js.map +1 -1
  20. package/lib/services/ai-security.d.ts.map +1 -1
  21. package/lib/services/ai-security.js +13 -13
  22. package/lib/services/ai-security.js.map +1 -1
  23. package/lib/services/ai.d.ts.map +1 -1
  24. package/lib/services/ai.js +62 -62
  25. package/lib/services/ai.js.map +1 -1
  26. package/lib/services/aisearch.d.ts.map +1 -1
  27. package/lib/services/aisearch.js +187 -193
  28. package/lib/services/aisearch.js.map +1 -1
  29. package/lib/services/alerting.d.ts.map +1 -1
  30. package/lib/services/alerting.js +78 -78
  31. package/lib/services/alerting.js.map +1 -1
  32. package/lib/services/api-gateway.d.ts.map +1 -1
  33. package/lib/services/api-gateway.js +168 -177
  34. package/lib/services/api-gateway.js.map +1 -1
  35. package/lib/services/argo.js +12 -12
  36. package/lib/services/argo.js.map +1 -1
  37. package/lib/services/audit-logs.d.ts.map +1 -1
  38. package/lib/services/audit-logs.js +9 -9
  39. package/lib/services/audit-logs.js.map +1 -1
  40. package/lib/services/billing.d.ts.map +1 -1
  41. package/lib/services/billing.js +11 -11
  42. package/lib/services/billing.js.map +1 -1
  43. package/lib/services/bot-management.d.ts.map +1 -1
  44. package/lib/services/bot-management.js +18 -30
  45. package/lib/services/bot-management.js.map +1 -1
  46. package/lib/services/botnet-feed.d.ts.map +1 -1
  47. package/lib/services/botnet-feed.js +12 -12
  48. package/lib/services/botnet-feed.js.map +1 -1
  49. package/lib/services/brand-protection.d.ts.map +1 -1
  50. package/lib/services/brand-protection.js +59 -59
  51. package/lib/services/brand-protection.js.map +1 -1
  52. package/lib/services/browser-rendering.d.ts.map +1 -1
  53. package/lib/services/browser-rendering.js +103 -103
  54. package/lib/services/browser-rendering.js.map +1 -1
  55. package/lib/services/cache.d.ts.map +1 -1
  56. package/lib/services/cache.js +72 -72
  57. package/lib/services/cache.js.map +1 -1
  58. package/lib/services/calls.d.ts.map +1 -1
  59. package/lib/services/calls.js +31 -31
  60. package/lib/services/calls.js.map +1 -1
  61. package/lib/services/certificate-authorities.js +6 -6
  62. package/lib/services/certificate-authorities.js.map +1 -1
  63. package/lib/services/client-certificates.js +18 -18
  64. package/lib/services/client-certificates.js.map +1 -1
  65. package/lib/services/cloud-connector.d.ts.map +1 -1
  66. package/lib/services/cloud-connector.js +8 -8
  67. package/lib/services/cloud-connector.js.map +1 -1
  68. package/lib/services/cloudforce-one.d.ts.map +1 -1
  69. package/lib/services/cloudforce-one.js +178 -178
  70. package/lib/services/cloudforce-one.js.map +1 -1
  71. package/lib/services/connectivity.js +25 -25
  72. package/lib/services/connectivity.js.map +1 -1
  73. package/lib/services/containers.js +49 -49
  74. package/lib/services/containers.js.map +1 -1
  75. package/lib/services/content-scanning.d.ts.map +1 -1
  76. package/lib/services/content-scanning.js +29 -29
  77. package/lib/services/content-scanning.js.map +1 -1
  78. package/lib/services/csam-scanner.d.ts.map +1 -1
  79. package/lib/services/csam-scanner.js +8 -8
  80. package/lib/services/csam-scanner.js.map +1 -1
  81. package/lib/services/custom-certificates.d.ts.map +1 -1
  82. package/lib/services/custom-certificates.js +24 -24
  83. package/lib/services/custom-certificates.js.map +1 -1
  84. package/lib/services/custom-csrs.d.ts.map +1 -1
  85. package/lib/services/custom-csrs.js +22 -22
  86. package/lib/services/custom-csrs.js.map +1 -1
  87. package/lib/services/custom-hostnames.d.ts.map +1 -1
  88. package/lib/services/custom-hostnames.js +40 -40
  89. package/lib/services/custom-hostnames.js.map +1 -1
  90. package/lib/services/custom-nameservers.js +11 -11
  91. package/lib/services/custom-nameservers.js.map +1 -1
  92. package/lib/services/custom-pages.d.ts.map +1 -1
  93. package/lib/services/custom-pages.js +43 -43
  94. package/lib/services/custom-pages.js.map +1 -1
  95. package/lib/services/d1.d.ts +4 -4
  96. package/lib/services/d1.d.ts.map +1 -1
  97. package/lib/services/d1.js +69 -51
  98. package/lib/services/d1.js.map +1 -1
  99. package/lib/services/dcv-delegation.js +3 -3
  100. package/lib/services/dcv-delegation.js.map +1 -1
  101. package/lib/services/ddos-protection.js +126 -126
  102. package/lib/services/ddos-protection.js.map +1 -1
  103. package/lib/services/diagnostics.js +27 -27
  104. package/lib/services/diagnostics.js.map +1 -1
  105. package/lib/services/dls.d.ts.map +1 -1
  106. package/lib/services/dls.js +26 -26
  107. package/lib/services/dls.js.map +1 -1
  108. package/lib/services/dns-firewall.d.ts.map +1 -1
  109. package/lib/services/dns-firewall.js +34 -34
  110. package/lib/services/dns-firewall.js.map +1 -1
  111. package/lib/services/dns.d.ts.map +1 -1
  112. package/lib/services/dns.js +268 -268
  113. package/lib/services/dns.js.map +1 -1
  114. package/lib/services/durable-objects.d.ts.map +1 -1
  115. package/lib/services/durable-objects.js +11 -11
  116. package/lib/services/durable-objects.js.map +1 -1
  117. package/lib/services/email-auth.d.ts.map +1 -1
  118. package/lib/services/email-auth.js +13 -13
  119. package/lib/services/email-auth.js.map +1 -1
  120. package/lib/services/email-routing.d.ts.map +1 -1
  121. package/lib/services/email-routing.js +70 -70
  122. package/lib/services/email-routing.js.map +1 -1
  123. package/lib/services/email-security.d.ts.map +1 -1
  124. package/lib/services/email-security.js +195 -195
  125. package/lib/services/email-security.js.map +1 -1
  126. package/lib/services/email-sending.d.ts.map +1 -1
  127. package/lib/services/email-sending.js +28 -28
  128. package/lib/services/email-sending.js.map +1 -1
  129. package/lib/services/filters.d.ts.map +1 -1
  130. package/lib/services/filters.js +25 -25
  131. package/lib/services/filters.js.map +1 -1
  132. package/lib/services/firewall.d.ts.map +1 -1
  133. package/lib/services/firewall.js +149 -149
  134. package/lib/services/firewall.js.map +1 -1
  135. package/lib/services/flagship.d.ts.map +1 -1
  136. package/lib/services/flagship.js +52 -52
  137. package/lib/services/flagship.js.map +1 -1
  138. package/lib/services/fraud.js +8 -8
  139. package/lib/services/fraud.js.map +1 -1
  140. package/lib/services/google-tag-gateway.d.ts.map +1 -1
  141. package/lib/services/google-tag-gateway.js +7 -7
  142. package/lib/services/google-tag-gateway.js.map +1 -1
  143. package/lib/services/healthchecks.d.ts.map +1 -1
  144. package/lib/services/healthchecks.js +31 -31
  145. package/lib/services/healthchecks.js.map +1 -1
  146. package/lib/services/hostnames.d.ts.map +1 -1
  147. package/lib/services/hostnames.js +10 -10
  148. package/lib/services/hostnames.js.map +1 -1
  149. package/lib/services/hyperdrive.d.ts.map +1 -1
  150. package/lib/services/hyperdrive.js +32 -32
  151. package/lib/services/hyperdrive.js.map +1 -1
  152. package/lib/services/iam.d.ts.map +1 -1
  153. package/lib/services/iam.js +113 -113
  154. package/lib/services/iam.js.map +1 -1
  155. package/lib/services/images.d.ts.map +1 -1
  156. package/lib/services/images.js +59 -59
  157. package/lib/services/images.js.map +1 -1
  158. package/lib/services/intel.d.ts.map +1 -1
  159. package/lib/services/intel.js +102 -102
  160. package/lib/services/intel.js.map +1 -1
  161. package/lib/services/ips.js +5 -5
  162. package/lib/services/ips.js.map +1 -1
  163. package/lib/services/keyless-certificates.js +17 -17
  164. package/lib/services/keyless-certificates.js.map +1 -1
  165. package/lib/services/kv.d.ts.map +1 -1
  166. package/lib/services/kv.js +54 -54
  167. package/lib/services/kv.js.map +1 -1
  168. package/lib/services/leaked-credential-checks.d.ts.map +1 -1
  169. package/lib/services/leaked-credential-checks.js +22 -22
  170. package/lib/services/leaked-credential-checks.js.map +1 -1
  171. package/lib/services/load-balancers.d.ts.map +1 -1
  172. package/lib/services/load-balancers.js +139 -157
  173. package/lib/services/load-balancers.js.map +1 -1
  174. package/lib/services/logpush.d.ts.map +1 -1
  175. package/lib/services/logpush.js +69 -69
  176. package/lib/services/logpush.js.map +1 -1
  177. package/lib/services/logs.d.ts.map +1 -1
  178. package/lib/services/logs.js +58 -58
  179. package/lib/services/logs.js.map +1 -1
  180. package/lib/services/magic-cloud-networking.d.ts.map +1 -1
  181. package/lib/services/magic-cloud-networking.js +138 -168
  182. package/lib/services/magic-cloud-networking.js.map +1 -1
  183. package/lib/services/magic-network-monitoring.d.ts.map +1 -1
  184. package/lib/services/magic-network-monitoring.js +47 -65
  185. package/lib/services/magic-network-monitoring.js.map +1 -1
  186. package/lib/services/magic-transit.d.ts.map +1 -1
  187. package/lib/services/magic-transit.js +340 -364
  188. package/lib/services/magic-transit.js.map +1 -1
  189. package/lib/services/managed-transforms.js +11 -11
  190. package/lib/services/managed-transforms.js.map +1 -1
  191. package/lib/services/memberships.d.ts.map +1 -1
  192. package/lib/services/memberships.js +25 -25
  193. package/lib/services/memberships.js.map +1 -1
  194. package/lib/services/moq.d.ts.map +1 -1
  195. package/lib/services/moq.js +23 -23
  196. package/lib/services/moq.js.map +1 -1
  197. package/lib/services/mtls-certificates.d.ts.map +1 -1
  198. package/lib/services/mtls-certificates.js +17 -17
  199. package/lib/services/mtls-certificates.js.map +1 -1
  200. package/lib/services/network-interconnects.d.ts.map +1 -1
  201. package/lib/services/network-interconnects.js +56 -56
  202. package/lib/services/network-interconnects.js.map +1 -1
  203. package/lib/services/organizations.d.ts.map +1 -1
  204. package/lib/services/organizations.js +42 -42
  205. package/lib/services/organizations.js.map +1 -1
  206. package/lib/services/origin-ca-certificates.js +14 -14
  207. package/lib/services/origin-ca-certificates.js.map +1 -1
  208. package/lib/services/origin-post-quantum-encryption.js +6 -6
  209. package/lib/services/origin-post-quantum-encryption.js.map +1 -1
  210. package/lib/services/origin-tls-client-auth.d.ts.map +1 -1
  211. package/lib/services/origin-tls-client-auth.js +52 -52
  212. package/lib/services/origin-tls-client-auth.js.map +1 -1
  213. package/lib/services/origin-tls-compliance-modes.js +12 -12
  214. package/lib/services/origin-tls-compliance-modes.js.map +1 -1
  215. package/lib/services/page-rules.d.ts.map +1 -1
  216. package/lib/services/page-rules.js +62 -62
  217. package/lib/services/page-rules.js.map +1 -1
  218. package/lib/services/page-shield.d.ts.map +1 -1
  219. package/lib/services/page-shield.js +45 -48
  220. package/lib/services/page-shield.js.map +1 -1
  221. package/lib/services/pages.d.ts.map +1 -1
  222. package/lib/services/pages.js +78 -78
  223. package/lib/services/pages.js.map +1 -1
  224. package/lib/services/pipelines.d.ts.map +1 -1
  225. package/lib/services/pipelines.js +102 -102
  226. package/lib/services/pipelines.js.map +1 -1
  227. package/lib/services/queues.d.ts.map +1 -1
  228. package/lib/services/queues.js +100 -103
  229. package/lib/services/queues.js.map +1 -1
  230. package/lib/services/r2-data-catalog.d.ts.map +1 -1
  231. package/lib/services/r2-data-catalog.js +42 -42
  232. package/lib/services/r2-data-catalog.js.map +1 -1
  233. package/lib/services/r2.d.ts.map +1 -1
  234. package/lib/services/r2.js +190 -190
  235. package/lib/services/r2.js.map +1 -1
  236. package/lib/services/radar.d.ts.map +1 -1
  237. package/lib/services/radar.js +991 -1009
  238. package/lib/services/radar.js.map +1 -1
  239. package/lib/services/rate-limits.d.ts.map +1 -1
  240. package/lib/services/rate-limits.js +24 -24
  241. package/lib/services/rate-limits.js.map +1 -1
  242. package/lib/services/realtime-kit.d.ts.map +1 -1
  243. package/lib/services/realtime-kit.js +276 -276
  244. package/lib/services/realtime-kit.js.map +1 -1
  245. package/lib/services/registrar.d.ts.map +1 -1
  246. package/lib/services/registrar.js +28 -28
  247. package/lib/services/registrar.js.map +1 -1
  248. package/lib/services/request-tracers.d.ts.map +1 -1
  249. package/lib/services/request-tracers.js +7 -7
  250. package/lib/services/request-tracers.js.map +1 -1
  251. package/lib/services/resource-sharing.d.ts.map +1 -1
  252. package/lib/services/resource-sharing.js +49 -49
  253. package/lib/services/resource-sharing.js.map +1 -1
  254. package/lib/services/resource-tagging.d.ts.map +1 -1
  255. package/lib/services/resource-tagging.js +56 -56
  256. package/lib/services/resource-tagging.js.map +1 -1
  257. package/lib/services/rules.d.ts.map +1 -1
  258. package/lib/services/rules.js +50 -50
  259. package/lib/services/rules.js.map +1 -1
  260. package/lib/services/rulesets.d.ts +2 -2
  261. package/lib/services/rulesets.d.ts.map +1 -1
  262. package/lib/services/rulesets.js +226 -190
  263. package/lib/services/rulesets.js.map +1 -1
  264. package/lib/services/rum.d.ts.map +1 -1
  265. package/lib/services/rum.js +35 -35
  266. package/lib/services/rum.js.map +1 -1
  267. package/lib/services/schema-validation.d.ts.map +1 -1
  268. package/lib/services/schema-validation.js +43 -46
  269. package/lib/services/schema-validation.js.map +1 -1
  270. package/lib/services/secrets-store.d.ts.map +1 -1
  271. package/lib/services/secrets-store.js +41 -41
  272. package/lib/services/secrets-store.js.map +1 -1
  273. package/lib/services/security-center.d.ts.map +1 -1
  274. package/lib/services/security-center.js +54 -57
  275. package/lib/services/security-center.js.map +1 -1
  276. package/lib/services/security-txt.d.ts.map +1 -1
  277. package/lib/services/security-txt.js +12 -12
  278. package/lib/services/security-txt.js.map +1 -1
  279. package/lib/services/snippets.d.ts.map +1 -1
  280. package/lib/services/snippets.js +31 -31
  281. package/lib/services/snippets.js.map +1 -1
  282. package/lib/services/spectrum.d.ts.map +1 -1
  283. package/lib/services/spectrum.js +35 -35
  284. package/lib/services/spectrum.js.map +1 -1
  285. package/lib/services/speed.d.ts.map +1 -1
  286. package/lib/services/speed.js +41 -41
  287. package/lib/services/speed.js.map +1 -1
  288. package/lib/services/ssl.d.ts.map +1 -1
  289. package/lib/services/ssl.js +48 -48
  290. package/lib/services/ssl.js.map +1 -1
  291. package/lib/services/stream.d.ts.map +1 -1
  292. package/lib/services/stream.js +147 -147
  293. package/lib/services/stream.js.map +1 -1
  294. package/lib/services/tenant-custom-nameservers.js +11 -11
  295. package/lib/services/tenant-custom-nameservers.js.map +1 -1
  296. package/lib/services/tenants.d.ts.map +1 -1
  297. package/lib/services/tenants.js +28 -28
  298. package/lib/services/tenants.js.map +1 -1
  299. package/lib/services/token-validation.d.ts.map +1 -1
  300. package/lib/services/token-validation.js +56 -56
  301. package/lib/services/token-validation.js.map +1 -1
  302. package/lib/services/turnstile.d.ts.map +1 -1
  303. package/lib/services/turnstile.js +27 -54
  304. package/lib/services/turnstile.js.map +1 -1
  305. package/lib/services/url-normalization.js +9 -9
  306. package/lib/services/url-normalization.js.map +1 -1
  307. package/lib/services/url-scanner.d.ts.map +1 -1
  308. package/lib/services/url-scanner.js +120 -120
  309. package/lib/services/url-scanner.js.map +1 -1
  310. package/lib/services/user.d.ts.map +1 -1
  311. package/lib/services/user.js +95 -95
  312. package/lib/services/user.js.map +1 -1
  313. package/lib/services/vectorize.d.ts +10 -10
  314. package/lib/services/vectorize.d.ts.map +1 -1
  315. package/lib/services/vectorize.js +59 -57
  316. package/lib/services/vectorize.js.map +1 -1
  317. package/lib/services/vulnerability-scanner.d.ts.map +1 -1
  318. package/lib/services/vulnerability-scanner.js +95 -95
  319. package/lib/services/vulnerability-scanner.js.map +1 -1
  320. package/lib/services/waiting-rooms.d.ts.map +1 -1
  321. package/lib/services/waiting-rooms.js +81 -81
  322. package/lib/services/waiting-rooms.js.map +1 -1
  323. package/lib/services/web3.d.ts.map +1 -1
  324. package/lib/services/web3.js +39 -39
  325. package/lib/services/web3.js.map +1 -1
  326. package/lib/services/workers-for-platforms.d.ts.map +1 -1
  327. package/lib/services/workers-for-platforms.js +139 -139
  328. package/lib/services/workers-for-platforms.js.map +1 -1
  329. package/lib/services/workers.d.ts.map +1 -1
  330. package/lib/services/workers.js +420 -420
  331. package/lib/services/workers.js.map +1 -1
  332. package/lib/services/workflows.d.ts.map +1 -1
  333. package/lib/services/workflows.js +88 -88
  334. package/lib/services/workflows.js.map +1 -1
  335. package/lib/services/zaraz.d.ts.map +1 -1
  336. package/lib/services/zaraz.js +36 -39
  337. package/lib/services/zaraz.js.map +1 -1
  338. package/lib/services/zero-trust.d.ts.map +1 -1
  339. package/lib/services/zero-trust.js +1765 -1771
  340. package/lib/services/zero-trust.js.map +1 -1
  341. package/lib/services/zones.d.ts.map +1 -1
  342. package/lib/services/zones.js +168 -168
  343. package/lib/services/zones.js.map +1 -1
  344. package/lib/traits.d.ts.map +1 -1
  345. package/package.json +10 -9
  346. package/src/services/abuse-reports.ts +35 -36
  347. package/src/services/accounts.ts +714 -760
  348. package/src/services/acm.ts +115 -125
  349. package/src/services/addressing.ts +484 -512
  350. package/src/services/ai-gateway.ts +653 -672
  351. package/src/services/ai-security.ts +47 -53
  352. package/src/services/ai.ts +172 -185
  353. package/src/services/aisearch.ts +1814 -1861
  354. package/src/services/alerting.ts +710 -742
  355. package/src/services/api-gateway.ts +481 -508
  356. package/src/services/argo.ts +12 -12
  357. package/src/services/audit-logs.ts +45 -49
  358. package/src/services/billing.ts +121 -136
  359. package/src/services/bot-management.ts +122 -136
  360. package/src/services/botnet-feed.ts +68 -74
  361. package/src/services/brand-protection.ts +275 -294
  362. package/src/services/browser-rendering.ts +758 -769
  363. package/src/services/cache.ts +148 -158
  364. package/src/services/calls.ts +110 -120
  365. package/src/services/certificate-authorities.ts +6 -6
  366. package/src/services/client-certificates.ts +18 -18
  367. package/src/services/cloud-connector.ts +11 -12
  368. package/src/services/cloudforce-one.ts +589 -617
  369. package/src/services/connectivity.ts +25 -25
  370. package/src/services/containers.ts +49 -49
  371. package/src/services/content-scanning.ts +80 -89
  372. package/src/services/csam-scanner.ts +16 -17
  373. package/src/services/custom-certificates.ts +36 -38
  374. package/src/services/custom-csrs.ts +103 -105
  375. package/src/services/custom-hostnames.ts +44 -45
  376. package/src/services/custom-nameservers.ts +11 -11
  377. package/src/services/custom-pages.ts +173 -184
  378. package/src/services/d1.ts +335 -325
  379. package/src/services/dcv-delegation.ts +3 -3
  380. package/src/services/ddos-protection.ts +126 -126
  381. package/src/services/diagnostics.ts +27 -27
  382. package/src/services/dls.ts +82 -86
  383. package/src/services/dns-firewall.ts +65 -69
  384. package/src/services/dns.ts +1080 -1107
  385. package/src/services/durable-objects.ts +36 -38
  386. package/src/services/email-auth.ts +47 -52
  387. package/src/services/email-routing.ts +264 -288
  388. package/src/services/email-security.ts +205 -208
  389. package/src/services/email-sending.ts +94 -99
  390. package/src/services/filters.ts +97 -111
  391. package/src/services/firewall.ts +698 -753
  392. package/src/services/flagship.ts +321 -336
  393. package/src/services/fraud.ts +8 -8
  394. package/src/services/google-tag-gateway.ts +17 -19
  395. package/src/services/healthchecks.ts +269 -286
  396. package/src/services/hostnames.ts +94 -99
  397. package/src/services/hyperdrive.ts +310 -324
  398. package/src/services/iam.ts +205 -212
  399. package/src/services/images.ts +138 -150
  400. package/src/services/intel.ts +248 -261
  401. package/src/services/ips.ts +5 -5
  402. package/src/services/keyless-certificates.ts +17 -17
  403. package/src/services/kv.ts +106 -110
  404. package/src/services/leaked-credential-checks.ts +49 -53
  405. package/src/services/load-balancers.ts +1119 -1212
  406. package/src/services/logpush.ts +298 -313
  407. package/src/services/logs.ts +74 -77
  408. package/src/services/magic-cloud-networking.ts +1219 -1311
  409. package/src/services/magic-network-monitoring.ts +647 -685
  410. package/src/services/magic-transit.ts +1988 -2119
  411. package/src/services/managed-transforms.ts +11 -11
  412. package/src/services/memberships.ts +101 -105
  413. package/src/services/moq.ts +100 -110
  414. package/src/services/mtls-certificates.ts +30 -32
  415. package/src/services/network-interconnects.ts +137 -145
  416. package/src/services/organizations.ts +189 -192
  417. package/src/services/origin-ca-certificates.ts +14 -14
  418. package/src/services/origin-post-quantum-encryption.ts +6 -6
  419. package/src/services/origin-tls-client-auth.ts +219 -236
  420. package/src/services/origin-tls-compliance-modes.ts +12 -12
  421. package/src/services/page-rules.ts +365 -373
  422. package/src/services/page-shield.ts +489 -528
  423. package/src/services/pages.ts +309 -319
  424. package/src/services/pipelines.ts +534 -573
  425. package/src/services/queues.ts +598 -635
  426. package/src/services/r2-data-catalog.ts +59 -60
  427. package/src/services/r2.ts +654 -689
  428. package/src/services/radar.ts +3395 -3487
  429. package/src/services/rate-limits.ts +81 -93
  430. package/src/services/realtime-kit.ts +386 -399
  431. package/src/services/registrar.ts +90 -96
  432. package/src/services/request-tracers.ts +41 -43
  433. package/src/services/resource-sharing.ts +293 -305
  434. package/src/services/resource-tagging.ts +354 -366
  435. package/src/services/rules.ts +272 -292
  436. package/src/services/rulesets.ts +1214 -1116
  437. package/src/services/rum.ts +252 -273
  438. package/src/services/schema-validation.ts +284 -305
  439. package/src/services/secrets-store.ts +130 -138
  440. package/src/services/security-center.ts +64 -69
  441. package/src/services/security-txt.ts +48 -50
  442. package/src/services/snippets.ts +132 -142
  443. package/src/services/spectrum.ts +75 -80
  444. package/src/services/speed.ts +385 -397
  445. package/src/services/ssl.ts +64 -65
  446. package/src/services/stream.ts +658 -718
  447. package/src/services/tenant-custom-nameservers.ts +11 -11
  448. package/src/services/tenants.ts +86 -93
  449. package/src/services/token-validation.ts +145 -151
  450. package/src/services/turnstile.ts +344 -381
  451. package/src/services/url-normalization.ts +9 -9
  452. package/src/services/url-scanner.ts +393 -399
  453. package/src/services/user.ts +479 -503
  454. package/src/services/vectorize.ts +215 -230
  455. package/src/services/vulnerability-scanner.ts +145 -148
  456. package/src/services/waiting-rooms.ts +759 -825
  457. package/src/services/web3.ts +186 -197
  458. package/src/services/workers-for-platforms.ts +408 -432
  459. package/src/services/workers.ts +1175 -1239
  460. package/src/services/workflows.ts +585 -616
  461. package/src/services/zaraz.ts +168 -192
  462. package/src/services/zero-trust.ts +2965 -3074
  463. package/src/services/zones.ts +753 -785
@@ -89,7 +89,7 @@ interface Warpdevice {
89
89
  /** IPv4 CIDR of the router sourcing flow data associated with this warp device. Only /32 addresses are currently supported. */
90
90
  routerIp: string;
91
91
  }
92
- const Warpdevice = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
92
+ const Warpdevice = /*@__PURE__*/ Schema.suspend(() =>
93
93
  Schema.Struct({
94
94
  id: Schema.String,
95
95
  name: Schema.String,
@@ -105,7 +105,7 @@ interface GetConfigResponse2 {
105
105
  routerIps?: string[] | null;
106
106
  warpDevices?: { id: string; name: string; routerIp: string }[] | null;
107
107
  }
108
- const GetConfigResponse2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
108
+ const GetConfigResponse2 = /*@__PURE__*/ Schema.suspend(() =>
109
109
  Schema.Struct({
110
110
  defaultSampling: Schema.optional(
111
111
  Schema.Union([Schema.Number, Schema.Null]),
@@ -160,79 +160,78 @@ interface MagicNetworkMonitoringRule {
160
160
  /** Target of the zscore rule analysis. */
161
161
  zscoreTarget?: "bits" | "packets" | null;
162
162
  }
163
- const MagicNetworkMonitoringRule = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
164
- () =>
165
- Schema.Struct({
166
- id: Schema.String,
167
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
168
- name: Schema.String,
169
- prefixes: Schema.Array(Schema.String),
170
- type: Schema.Union([
171
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
172
- Schema.String,
173
- ]),
174
- bandwidthThreshold: Schema.optional(
175
- Schema.Union([Schema.Number, Schema.Null]),
176
- ),
177
- duration: Schema.optional(
163
+ const MagicNetworkMonitoringRule = /*@__PURE__*/ Schema.suspend(() =>
164
+ Schema.Struct({
165
+ id: Schema.String,
166
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
167
+ name: Schema.String,
168
+ prefixes: Schema.Array(Schema.String),
169
+ type: Schema.Union([
170
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
171
+ Schema.String,
172
+ ]),
173
+ bandwidthThreshold: Schema.optional(
174
+ Schema.Union([Schema.Number, Schema.Null]),
175
+ ),
176
+ duration: Schema.optional(
177
+ Schema.Union([
178
178
  Schema.Union([
179
- Schema.Union([
180
- Schema.Literals([
181
- "1m",
182
- "5m",
183
- "10m",
184
- "15m",
185
- "20m",
186
- "30m",
187
- "45m",
188
- "60m",
189
- ]),
190
- Schema.String,
179
+ Schema.Literals([
180
+ "1m",
181
+ "5m",
182
+ "10m",
183
+ "15m",
184
+ "20m",
185
+ "30m",
186
+ "45m",
187
+ "60m",
191
188
  ]),
192
- Schema.Null,
193
- ]),
194
- ),
195
- packetThreshold: Schema.optional(
196
- Schema.Union([Schema.Number, Schema.Null]),
197
- ),
198
- prefixMatch: Schema.optional(
199
- Schema.Union([
200
- Schema.Literal("exact"),
201
- Schema.Literal("subnet"),
202
- Schema.Literal("supernet"),
203
- Schema.Null,
204
- ]),
205
- ),
206
- zscoreSensitivity: Schema.optional(
207
- Schema.Union([
208
- Schema.Literal("low"),
209
- Schema.Literal("medium"),
210
- Schema.Literal("high"),
211
- Schema.Null,
212
- ]),
213
- ),
214
- zscoreTarget: Schema.optional(
215
- Schema.Union([
216
- Schema.Literal("bits"),
217
- Schema.Literal("packets"),
218
- Schema.Null,
189
+ Schema.String,
219
190
  ]),
220
- ),
221
- }).pipe(
222
- Schema.encodeKeys({
223
- id: "id",
224
- automaticAdvertisement: "automatic_advertisement",
225
- name: "name",
226
- prefixes: "prefixes",
227
- type: "type",
228
- bandwidthThreshold: "bandwidth_threshold",
229
- duration: "duration",
230
- packetThreshold: "packet_threshold",
231
- prefixMatch: "prefix_match",
232
- zscoreSensitivity: "zscore_sensitivity",
233
- zscoreTarget: "zscore_target",
234
- }),
191
+ Schema.Null,
192
+ ]),
193
+ ),
194
+ packetThreshold: Schema.optional(
195
+ Schema.Union([Schema.Number, Schema.Null]),
196
+ ),
197
+ prefixMatch: Schema.optional(
198
+ Schema.Union([
199
+ Schema.Literal("exact"),
200
+ Schema.Literal("subnet"),
201
+ Schema.Literal("supernet"),
202
+ Schema.Null,
203
+ ]),
204
+ ),
205
+ zscoreSensitivity: Schema.optional(
206
+ Schema.Union([
207
+ Schema.Literal("low"),
208
+ Schema.Literal("medium"),
209
+ Schema.Literal("high"),
210
+ Schema.Null,
211
+ ]),
212
+ ),
213
+ zscoreTarget: Schema.optional(
214
+ Schema.Union([
215
+ Schema.Literal("bits"),
216
+ Schema.Literal("packets"),
217
+ Schema.Null,
218
+ ]),
235
219
  ),
220
+ }).pipe(
221
+ Schema.encodeKeys({
222
+ id: "id",
223
+ automaticAdvertisement: "automatic_advertisement",
224
+ name: "name",
225
+ prefixes: "prefixes",
226
+ type: "type",
227
+ bandwidthThreshold: "bandwidth_threshold",
228
+ duration: "duration",
229
+ packetThreshold: "packet_threshold",
230
+ prefixMatch: "prefix_match",
231
+ zscoreSensitivity: "zscore_sensitivity",
232
+ zscoreTarget: "zscore_target",
233
+ }),
234
+ ),
236
235
  ) as unknown as Schema.Codec<MagicNetworkMonitoringRule>;
237
236
 
238
237
  // =============================================================================
@@ -243,7 +242,7 @@ export interface GetConfigRequest {
243
242
  accountId: string;
244
243
  }
245
244
 
246
- export const GetConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
245
+ export const GetConfigRequest = /*@__PURE__*/ Schema.suspend(() =>
247
246
  Schema.Struct({
248
247
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
249
248
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/mnm/config" })),
@@ -256,11 +255,10 @@ export type GetConfigResponse = {
256
255
  warpDevices?: { id: string; name: string; routerIp: string }[] | null;
257
256
  } | null;
258
257
 
259
- export const GetConfigResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
260
- () =>
261
- Schema.Union([GetConfigResponse2, Schema.Null]).pipe(
262
- T.ResponsePath("result"),
263
- ),
258
+ export const GetConfigResponse = /*@__PURE__*/ Schema.suspend(() =>
259
+ Schema.Union([GetConfigResponse2, Schema.Null]).pipe(
260
+ T.ResponsePath("result"),
261
+ ),
264
262
  ) as unknown as Schema.Codec<GetConfigResponse>;
265
263
 
266
264
  export type GetConfigError = DefaultErrors | Forbidden;
@@ -270,7 +268,7 @@ export const getConfig: API.OperationMethod<
270
268
  GetConfigResponse,
271
269
  GetConfigError,
272
270
  Credentials | HttpClient.HttpClient
273
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
271
+ > = /*@__PURE__*/ API.make(() => ({
274
272
  input: GetConfigRequest,
275
273
  output: GetConfigResponse,
276
274
  errors: [Forbidden],
@@ -289,23 +287,22 @@ export interface CreateConfigRequest {
289
287
  warpDevices?: { id: string; name: string; routerIp: string }[];
290
288
  }
291
289
 
292
- export const CreateConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
293
- () =>
294
- Schema.Struct({
295
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
296
- defaultSampling: Schema.Number,
297
- name: Schema.String,
298
- routerIps: Schema.optional(Schema.Array(Schema.String)),
299
- warpDevices: Schema.optional(Schema.Array(Warpdevice)),
300
- }).pipe(
301
- Schema.encodeKeys({
302
- defaultSampling: "default_sampling",
303
- name: "name",
304
- routerIps: "router_ips",
305
- warpDevices: "warp_devices",
306
- }),
307
- T.Http({ method: "POST", path: "/accounts/{account_id}/mnm/config" }),
308
- ),
290
+ export const CreateConfigRequest = /*@__PURE__*/ Schema.suspend(() =>
291
+ Schema.Struct({
292
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
293
+ defaultSampling: Schema.Number,
294
+ name: Schema.String,
295
+ routerIps: Schema.optional(Schema.Array(Schema.String)),
296
+ warpDevices: Schema.optional(Schema.Array(Warpdevice)),
297
+ }).pipe(
298
+ Schema.encodeKeys({
299
+ defaultSampling: "default_sampling",
300
+ name: "name",
301
+ routerIps: "router_ips",
302
+ warpDevices: "warp_devices",
303
+ }),
304
+ T.Http({ method: "POST", path: "/accounts/{account_id}/mnm/config" }),
305
+ ),
309
306
  ) as unknown as Schema.Codec<CreateConfigRequest>;
310
307
 
311
308
  export interface CreateConfigResponse {
@@ -317,23 +314,22 @@ export interface CreateConfigResponse {
317
314
  warpDevices: { id: string; name: string; routerIp: string }[];
318
315
  }
319
316
 
320
- export const CreateConfigResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
321
- () =>
322
- Schema.Struct({
323
- defaultSampling: Schema.Number,
324
- name: Schema.String,
325
- routerIps: Schema.Array(Schema.String),
326
- warpDevices: Schema.Array(Warpdevice),
327
- })
328
- .pipe(
329
- Schema.encodeKeys({
330
- defaultSampling: "default_sampling",
331
- name: "name",
332
- routerIps: "router_ips",
333
- warpDevices: "warp_devices",
334
- }),
335
- )
336
- .pipe(T.ResponsePath("result")),
317
+ export const CreateConfigResponse = /*@__PURE__*/ Schema.suspend(() =>
318
+ Schema.Struct({
319
+ defaultSampling: Schema.Number,
320
+ name: Schema.String,
321
+ routerIps: Schema.Array(Schema.String),
322
+ warpDevices: Schema.Array(Warpdevice),
323
+ })
324
+ .pipe(
325
+ Schema.encodeKeys({
326
+ defaultSampling: "default_sampling",
327
+ name: "name",
328
+ routerIps: "router_ips",
329
+ warpDevices: "warp_devices",
330
+ }),
331
+ )
332
+ .pipe(T.ResponsePath("result")),
337
333
  ) as unknown as Schema.Codec<CreateConfigResponse>;
338
334
 
339
335
  export type CreateConfigError =
@@ -347,7 +343,7 @@ export const createConfig: API.OperationMethod<
347
343
  CreateConfigResponse,
348
344
  CreateConfigError,
349
345
  Credentials | HttpClient.HttpClient
350
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
346
+ > = /*@__PURE__*/ API.make(() => ({
351
347
  input: CreateConfigRequest,
352
348
  output: CreateConfigResponse,
353
349
  errors: [MnmConfigAlreadyExists, InvalidMnmConfig, Forbidden],
@@ -366,23 +362,22 @@ export interface UpdateConfigRequest {
366
362
  warpDevices?: { id: string; name: string; routerIp: string }[];
367
363
  }
368
364
 
369
- export const UpdateConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
370
- () =>
371
- Schema.Struct({
372
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
373
- defaultSampling: Schema.Number,
374
- name: Schema.String,
375
- routerIps: Schema.optional(Schema.Array(Schema.String)),
376
- warpDevices: Schema.optional(Schema.Array(Warpdevice)),
377
- }).pipe(
378
- Schema.encodeKeys({
379
- defaultSampling: "default_sampling",
380
- name: "name",
381
- routerIps: "router_ips",
382
- warpDevices: "warp_devices",
383
- }),
384
- T.Http({ method: "PUT", path: "/accounts/{account_id}/mnm/config" }),
385
- ),
365
+ export const UpdateConfigRequest = /*@__PURE__*/ Schema.suspend(() =>
366
+ Schema.Struct({
367
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
368
+ defaultSampling: Schema.Number,
369
+ name: Schema.String,
370
+ routerIps: Schema.optional(Schema.Array(Schema.String)),
371
+ warpDevices: Schema.optional(Schema.Array(Warpdevice)),
372
+ }).pipe(
373
+ Schema.encodeKeys({
374
+ defaultSampling: "default_sampling",
375
+ name: "name",
376
+ routerIps: "router_ips",
377
+ warpDevices: "warp_devices",
378
+ }),
379
+ T.Http({ method: "PUT", path: "/accounts/{account_id}/mnm/config" }),
380
+ ),
386
381
  ) as unknown as Schema.Codec<UpdateConfigRequest>;
387
382
 
388
383
  export type UpdateConfigResponse = {
@@ -392,11 +387,10 @@ export type UpdateConfigResponse = {
392
387
  warpDevices?: { id: string; name: string; routerIp: string }[] | null;
393
388
  } | null;
394
389
 
395
- export const UpdateConfigResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
396
- () =>
397
- Schema.Union([GetConfigResponse2, Schema.Null]).pipe(
398
- T.ResponsePath("result"),
399
- ),
390
+ export const UpdateConfigResponse = /*@__PURE__*/ Schema.suspend(() =>
391
+ Schema.Union([GetConfigResponse2, Schema.Null]).pipe(
392
+ T.ResponsePath("result"),
393
+ ),
400
394
  ) as unknown as Schema.Codec<UpdateConfigResponse>;
401
395
 
402
396
  export type UpdateConfigError = DefaultErrors | Forbidden | InvalidMnmConfig;
@@ -406,7 +400,7 @@ export const updateConfig: API.OperationMethod<
406
400
  UpdateConfigResponse,
407
401
  UpdateConfigError,
408
402
  Credentials | HttpClient.HttpClient
409
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
403
+ > = /*@__PURE__*/ API.make(() => ({
410
404
  input: UpdateConfigRequest,
411
405
  output: UpdateConfigResponse,
412
406
  errors: [Forbidden, InvalidMnmConfig],
@@ -425,23 +419,22 @@ export interface PatchConfigRequest {
425
419
  warpDevices?: { id: string; name: string; routerIp: string }[];
426
420
  }
427
421
 
428
- export const PatchConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
429
- () =>
430
- Schema.Struct({
431
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
432
- defaultSampling: Schema.optional(Schema.Number),
433
- name: Schema.optional(Schema.String),
434
- routerIps: Schema.optional(Schema.Array(Schema.String)),
435
- warpDevices: Schema.optional(Schema.Array(Warpdevice)),
436
- }).pipe(
437
- Schema.encodeKeys({
438
- defaultSampling: "default_sampling",
439
- name: "name",
440
- routerIps: "router_ips",
441
- warpDevices: "warp_devices",
442
- }),
443
- T.Http({ method: "PATCH", path: "/accounts/{account_id}/mnm/config" }),
444
- ),
422
+ export const PatchConfigRequest = /*@__PURE__*/ Schema.suspend(() =>
423
+ Schema.Struct({
424
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
425
+ defaultSampling: Schema.optional(Schema.Number),
426
+ name: Schema.optional(Schema.String),
427
+ routerIps: Schema.optional(Schema.Array(Schema.String)),
428
+ warpDevices: Schema.optional(Schema.Array(Warpdevice)),
429
+ }).pipe(
430
+ Schema.encodeKeys({
431
+ defaultSampling: "default_sampling",
432
+ name: "name",
433
+ routerIps: "router_ips",
434
+ warpDevices: "warp_devices",
435
+ }),
436
+ T.Http({ method: "PATCH", path: "/accounts/{account_id}/mnm/config" }),
437
+ ),
445
438
  ) as unknown as Schema.Codec<PatchConfigRequest>;
446
439
 
447
440
  export interface PatchConfigResponse {
@@ -453,23 +446,22 @@ export interface PatchConfigResponse {
453
446
  warpDevices: { id: string; name: string; routerIp: string }[];
454
447
  }
455
448
 
456
- export const PatchConfigResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
457
- () =>
458
- Schema.Struct({
459
- defaultSampling: Schema.Number,
460
- name: Schema.String,
461
- routerIps: Schema.Array(Schema.String),
462
- warpDevices: Schema.Array(Warpdevice),
463
- })
464
- .pipe(
465
- Schema.encodeKeys({
466
- defaultSampling: "default_sampling",
467
- name: "name",
468
- routerIps: "router_ips",
469
- warpDevices: "warp_devices",
470
- }),
471
- )
472
- .pipe(T.ResponsePath("result")),
449
+ export const PatchConfigResponse = /*@__PURE__*/ Schema.suspend(() =>
450
+ Schema.Struct({
451
+ defaultSampling: Schema.Number,
452
+ name: Schema.String,
453
+ routerIps: Schema.Array(Schema.String),
454
+ warpDevices: Schema.Array(Warpdevice),
455
+ })
456
+ .pipe(
457
+ Schema.encodeKeys({
458
+ defaultSampling: "default_sampling",
459
+ name: "name",
460
+ routerIps: "router_ips",
461
+ warpDevices: "warp_devices",
462
+ }),
463
+ )
464
+ .pipe(T.ResponsePath("result")),
473
465
  ) as unknown as Schema.Codec<PatchConfigResponse>;
474
466
 
475
467
  export type PatchConfigError = DefaultErrors;
@@ -479,7 +471,7 @@ export const patchConfig: API.OperationMethod<
479
471
  PatchConfigResponse,
480
472
  PatchConfigError,
481
473
  Credentials | HttpClient.HttpClient
482
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
474
+ > = /*@__PURE__*/ API.make(() => ({
483
475
  input: PatchConfigRequest,
484
476
  output: PatchConfigResponse,
485
477
  errors: [],
@@ -489,13 +481,12 @@ export interface DeleteConfigRequest {
489
481
  accountId: string;
490
482
  }
491
483
 
492
- export const DeleteConfigRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
493
- () =>
494
- Schema.Struct({
495
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
496
- }).pipe(
497
- T.Http({ method: "DELETE", path: "/accounts/{account_id}/mnm/config" }),
498
- ),
484
+ export const DeleteConfigRequest = /*@__PURE__*/ Schema.suspend(() =>
485
+ Schema.Struct({
486
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
487
+ }).pipe(
488
+ T.Http({ method: "DELETE", path: "/accounts/{account_id}/mnm/config" }),
489
+ ),
499
490
  ) as unknown as Schema.Codec<DeleteConfigRequest>;
500
491
 
501
492
  export interface DeleteConfigResponse {
@@ -507,23 +498,22 @@ export interface DeleteConfigResponse {
507
498
  warpDevices: { id: string; name: string; routerIp: string }[];
508
499
  }
509
500
 
510
- export const DeleteConfigResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
511
- () =>
512
- Schema.Struct({
513
- defaultSampling: Schema.Number,
514
- name: Schema.String,
515
- routerIps: Schema.Array(Schema.String),
516
- warpDevices: Schema.Array(Warpdevice),
517
- })
518
- .pipe(
519
- Schema.encodeKeys({
520
- defaultSampling: "default_sampling",
521
- name: "name",
522
- routerIps: "router_ips",
523
- warpDevices: "warp_devices",
524
- }),
525
- )
526
- .pipe(T.ResponsePath("result")),
501
+ export const DeleteConfigResponse = /*@__PURE__*/ Schema.suspend(() =>
502
+ Schema.Struct({
503
+ defaultSampling: Schema.Number,
504
+ name: Schema.String,
505
+ routerIps: Schema.Array(Schema.String),
506
+ warpDevices: Schema.Array(Warpdevice),
507
+ })
508
+ .pipe(
509
+ Schema.encodeKeys({
510
+ defaultSampling: "default_sampling",
511
+ name: "name",
512
+ routerIps: "router_ips",
513
+ warpDevices: "warp_devices",
514
+ }),
515
+ )
516
+ .pipe(T.ResponsePath("result")),
527
517
  ) as unknown as Schema.Codec<DeleteConfigResponse>;
528
518
 
529
519
  export type DeleteConfigError = DefaultErrors | MnmConfigNotFound | Forbidden;
@@ -533,7 +523,7 @@ export const deleteConfig: API.OperationMethod<
533
523
  DeleteConfigResponse,
534
524
  DeleteConfigError,
535
525
  Credentials | HttpClient.HttpClient
536
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
526
+ > = /*@__PURE__*/ API.make(() => ({
537
527
  input: DeleteConfigRequest,
538
528
  output: DeleteConfigResponse,
539
529
  errors: [MnmConfigNotFound, Forbidden],
@@ -547,13 +537,12 @@ export interface GetConfigFullRequest {
547
537
  accountId: string;
548
538
  }
549
539
 
550
- export const GetConfigFullRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
551
- () =>
552
- Schema.Struct({
553
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
554
- }).pipe(
555
- T.Http({ method: "GET", path: "/accounts/{account_id}/mnm/config/full" }),
556
- ),
540
+ export const GetConfigFullRequest = /*@__PURE__*/ Schema.suspend(() =>
541
+ Schema.Struct({
542
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
543
+ }).pipe(
544
+ T.Http({ method: "GET", path: "/accounts/{account_id}/mnm/config/full" }),
545
+ ),
557
546
  ) as unknown as Schema.Codec<GetConfigFullRequest>;
558
547
 
559
548
  export interface GetConfigFullResponse {
@@ -565,23 +554,22 @@ export interface GetConfigFullResponse {
565
554
  warpDevices: { id: string; name: string; routerIp: string }[];
566
555
  }
567
556
 
568
- export const GetConfigFullResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
569
- () =>
570
- Schema.Struct({
571
- defaultSampling: Schema.Number,
572
- name: Schema.String,
573
- routerIps: Schema.Array(Schema.String),
574
- warpDevices: Schema.Array(Warpdevice),
575
- })
576
- .pipe(
577
- Schema.encodeKeys({
578
- defaultSampling: "default_sampling",
579
- name: "name",
580
- routerIps: "router_ips",
581
- warpDevices: "warp_devices",
582
- }),
583
- )
584
- .pipe(T.ResponsePath("result")),
557
+ export const GetConfigFullResponse = /*@__PURE__*/ Schema.suspend(() =>
558
+ Schema.Struct({
559
+ defaultSampling: Schema.Number,
560
+ name: Schema.String,
561
+ routerIps: Schema.Array(Schema.String),
562
+ warpDevices: Schema.Array(Warpdevice),
563
+ })
564
+ .pipe(
565
+ Schema.encodeKeys({
566
+ defaultSampling: "default_sampling",
567
+ name: "name",
568
+ routerIps: "router_ips",
569
+ warpDevices: "warp_devices",
570
+ }),
571
+ )
572
+ .pipe(T.ResponsePath("result")),
585
573
  ) as unknown as Schema.Codec<GetConfigFullResponse>;
586
574
 
587
575
  export type GetConfigFullError = DefaultErrors;
@@ -591,7 +579,7 @@ export const getConfigFull: API.OperationMethod<
591
579
  GetConfigFullResponse,
592
580
  GetConfigFullError,
593
581
  Credentials | HttpClient.HttpClient
594
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
582
+ > = /*@__PURE__*/ API.make(() => ({
595
583
  input: GetConfigFullRequest,
596
584
  output: GetConfigFullResponse,
597
585
  errors: [],
@@ -606,7 +594,7 @@ export interface GetRuleRequest {
606
594
  accountId: string;
607
595
  }
608
596
 
609
- export const GetRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
597
+ export const GetRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
610
598
  Schema.Struct({
611
599
  ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
612
600
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -652,7 +640,7 @@ export interface GetRuleResponse {
652
640
  zscoreTarget?: "bits" | "packets" | null;
653
641
  }
654
642
 
655
- export const GetRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
643
+ export const GetRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
656
644
  Schema.Struct({
657
645
  id: Schema.String,
658
646
  automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
@@ -735,7 +723,7 @@ export const getRule: API.OperationMethod<
735
723
  GetRuleResponse,
736
724
  GetRuleError,
737
725
  Credentials | HttpClient.HttpClient
738
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
726
+ > = /*@__PURE__*/ API.make(() => ({
739
727
  input: GetRuleRequest,
740
728
  output: GetRuleResponse,
741
729
  errors: [MnmRuleNotFound, Forbidden],
@@ -745,7 +733,7 @@ export interface ListRulesRequest {
745
733
  accountId: string;
746
734
  }
747
735
 
748
- export const ListRulesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
736
+ export const ListRulesRequest = /*@__PURE__*/ Schema.suspend(() =>
749
737
  Schema.Struct({
750
738
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
751
739
  }).pipe(T.Http({ method: "GET", path: "/accounts/{account_id}/mnm/rules" })),
@@ -779,14 +767,13 @@ export interface ListRulesResponse {
779
767
  | null;
780
768
  }
781
769
 
782
- export const ListRulesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
783
- () =>
784
- Schema.Struct({
785
- result: Schema.Union([
786
- Schema.Array(Schema.Union([MagicNetworkMonitoringRule, Schema.Null])),
787
- Schema.Null,
788
- ]),
789
- }),
770
+ export const ListRulesResponse = /*@__PURE__*/ Schema.suspend(() =>
771
+ Schema.Struct({
772
+ result: Schema.Union([
773
+ Schema.Array(Schema.Union([MagicNetworkMonitoringRule, Schema.Null])),
774
+ Schema.Null,
775
+ ]),
776
+ }),
790
777
  ) as unknown as Schema.Codec<ListRulesResponse>;
791
778
 
792
779
  export type ListRulesError = DefaultErrors | Forbidden;
@@ -796,7 +783,7 @@ export const listRules: API.PaginatedOperationMethod<
796
783
  ListRulesResponse,
797
784
  ListRulesError,
798
785
  Credentials | HttpClient.HttpClient
799
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
786
+ > = /*@__PURE__*/ API.makePaginated(() => ({
800
787
  input: ListRulesRequest,
801
788
  output: ListRulesResponse,
802
789
  errors: [Forbidden],
@@ -840,72 +827,62 @@ export interface CreateRuleRequest {
840
827
  zscoreTarget?: "bits" | "packets" | null;
841
828
  }
842
829
 
843
- export const CreateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
844
- () =>
845
- Schema.Struct({
846
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
847
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
848
- name: Schema.String,
849
- prefixes: Schema.Array(Schema.String),
850
- type: Schema.Union([
851
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
830
+ export const CreateRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
831
+ Schema.Struct({
832
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
833
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
834
+ name: Schema.String,
835
+ prefixes: Schema.Array(Schema.String),
836
+ type: Schema.Union([
837
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
838
+ Schema.String,
839
+ ]),
840
+ bandwidthThreshold: Schema.optional(Schema.Number),
841
+ duration: Schema.optional(
842
+ Schema.Union([
843
+ Schema.Literals(["1m", "5m", "10m", "15m", "20m", "30m", "45m", "60m"]),
852
844
  Schema.String,
853
845
  ]),
854
- bandwidthThreshold: Schema.optional(Schema.Number),
855
- duration: Schema.optional(
856
- Schema.Union([
857
- Schema.Literals([
858
- "1m",
859
- "5m",
860
- "10m",
861
- "15m",
862
- "20m",
863
- "30m",
864
- "45m",
865
- "60m",
866
- ]),
867
- Schema.String,
868
- ]),
869
- ),
870
- packetThreshold: Schema.optional(Schema.Number),
871
- prefixMatch: Schema.optional(
872
- Schema.Union([
873
- Schema.Literal("exact"),
874
- Schema.Literal("subnet"),
875
- Schema.Literal("supernet"),
876
- Schema.Null,
877
- ]),
878
- ),
879
- zscoreSensitivity: Schema.optional(
880
- Schema.Union([
881
- Schema.Literal("low"),
882
- Schema.Literal("medium"),
883
- Schema.Literal("high"),
884
- Schema.Null,
885
- ]),
886
- ),
887
- zscoreTarget: Schema.optional(
888
- Schema.Union([
889
- Schema.Literal("bits"),
890
- Schema.Literal("packets"),
891
- Schema.Null,
892
- ]),
893
- ),
894
- }).pipe(
895
- Schema.encodeKeys({
896
- automaticAdvertisement: "automatic_advertisement",
897
- name: "name",
898
- prefixes: "prefixes",
899
- type: "type",
900
- bandwidthThreshold: "bandwidth_threshold",
901
- duration: "duration",
902
- packetThreshold: "packet_threshold",
903
- prefixMatch: "prefix_match",
904
- zscoreSensitivity: "zscore_sensitivity",
905
- zscoreTarget: "zscore_target",
906
- }),
907
- T.Http({ method: "POST", path: "/accounts/{account_id}/mnm/rules" }),
908
846
  ),
847
+ packetThreshold: Schema.optional(Schema.Number),
848
+ prefixMatch: Schema.optional(
849
+ Schema.Union([
850
+ Schema.Literal("exact"),
851
+ Schema.Literal("subnet"),
852
+ Schema.Literal("supernet"),
853
+ Schema.Null,
854
+ ]),
855
+ ),
856
+ zscoreSensitivity: Schema.optional(
857
+ Schema.Union([
858
+ Schema.Literal("low"),
859
+ Schema.Literal("medium"),
860
+ Schema.Literal("high"),
861
+ Schema.Null,
862
+ ]),
863
+ ),
864
+ zscoreTarget: Schema.optional(
865
+ Schema.Union([
866
+ Schema.Literal("bits"),
867
+ Schema.Literal("packets"),
868
+ Schema.Null,
869
+ ]),
870
+ ),
871
+ }).pipe(
872
+ Schema.encodeKeys({
873
+ automaticAdvertisement: "automatic_advertisement",
874
+ name: "name",
875
+ prefixes: "prefixes",
876
+ type: "type",
877
+ bandwidthThreshold: "bandwidth_threshold",
878
+ duration: "duration",
879
+ packetThreshold: "packet_threshold",
880
+ prefixMatch: "prefix_match",
881
+ zscoreSensitivity: "zscore_sensitivity",
882
+ zscoreTarget: "zscore_target",
883
+ }),
884
+ T.Http({ method: "POST", path: "/accounts/{account_id}/mnm/rules" }),
885
+ ),
909
886
  ) as unknown as Schema.Codec<CreateRuleRequest>;
910
887
 
911
888
  export interface CreateRuleResponse {
@@ -942,81 +919,80 @@ export interface CreateRuleResponse {
942
919
  zscoreTarget?: "bits" | "packets" | null;
943
920
  }
944
921
 
945
- export const CreateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
946
- () =>
947
- Schema.Struct({
948
- id: Schema.String,
949
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
950
- name: Schema.String,
951
- prefixes: Schema.Array(Schema.String),
952
- type: Schema.Union([
953
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
954
- Schema.String,
955
- ]),
956
- bandwidthThreshold: Schema.optional(
957
- Schema.Union([Schema.Number, Schema.Null]),
958
- ),
959
- duration: Schema.optional(
922
+ export const CreateRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
923
+ Schema.Struct({
924
+ id: Schema.String,
925
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
926
+ name: Schema.String,
927
+ prefixes: Schema.Array(Schema.String),
928
+ type: Schema.Union([
929
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
930
+ Schema.String,
931
+ ]),
932
+ bandwidthThreshold: Schema.optional(
933
+ Schema.Union([Schema.Number, Schema.Null]),
934
+ ),
935
+ duration: Schema.optional(
936
+ Schema.Union([
960
937
  Schema.Union([
961
- Schema.Union([
962
- Schema.Literals([
963
- "1m",
964
- "5m",
965
- "10m",
966
- "15m",
967
- "20m",
968
- "30m",
969
- "45m",
970
- "60m",
971
- ]),
972
- Schema.String,
938
+ Schema.Literals([
939
+ "1m",
940
+ "5m",
941
+ "10m",
942
+ "15m",
943
+ "20m",
944
+ "30m",
945
+ "45m",
946
+ "60m",
973
947
  ]),
974
- Schema.Null,
975
- ]),
976
- ),
977
- packetThreshold: Schema.optional(
978
- Schema.Union([Schema.Number, Schema.Null]),
979
- ),
980
- prefixMatch: Schema.optional(
981
- Schema.Union([
982
- Schema.Literal("exact"),
983
- Schema.Literal("subnet"),
984
- Schema.Literal("supernet"),
985
- Schema.Null,
986
- ]),
987
- ),
988
- zscoreSensitivity: Schema.optional(
989
- Schema.Union([
990
- Schema.Literal("low"),
991
- Schema.Literal("medium"),
992
- Schema.Literal("high"),
993
- Schema.Null,
994
- ]),
995
- ),
996
- zscoreTarget: Schema.optional(
997
- Schema.Union([
998
- Schema.Literal("bits"),
999
- Schema.Literal("packets"),
1000
- Schema.Null,
948
+ Schema.String,
1001
949
  ]),
1002
- ),
1003
- })
1004
- .pipe(
1005
- Schema.encodeKeys({
1006
- id: "id",
1007
- automaticAdvertisement: "automatic_advertisement",
1008
- name: "name",
1009
- prefixes: "prefixes",
1010
- type: "type",
1011
- bandwidthThreshold: "bandwidth_threshold",
1012
- duration: "duration",
1013
- packetThreshold: "packet_threshold",
1014
- prefixMatch: "prefix_match",
1015
- zscoreSensitivity: "zscore_sensitivity",
1016
- zscoreTarget: "zscore_target",
1017
- }),
1018
- )
1019
- .pipe(T.ResponsePath("result")),
950
+ Schema.Null,
951
+ ]),
952
+ ),
953
+ packetThreshold: Schema.optional(
954
+ Schema.Union([Schema.Number, Schema.Null]),
955
+ ),
956
+ prefixMatch: Schema.optional(
957
+ Schema.Union([
958
+ Schema.Literal("exact"),
959
+ Schema.Literal("subnet"),
960
+ Schema.Literal("supernet"),
961
+ Schema.Null,
962
+ ]),
963
+ ),
964
+ zscoreSensitivity: Schema.optional(
965
+ Schema.Union([
966
+ Schema.Literal("low"),
967
+ Schema.Literal("medium"),
968
+ Schema.Literal("high"),
969
+ Schema.Null,
970
+ ]),
971
+ ),
972
+ zscoreTarget: Schema.optional(
973
+ Schema.Union([
974
+ Schema.Literal("bits"),
975
+ Schema.Literal("packets"),
976
+ Schema.Null,
977
+ ]),
978
+ ),
979
+ })
980
+ .pipe(
981
+ Schema.encodeKeys({
982
+ id: "id",
983
+ automaticAdvertisement: "automatic_advertisement",
984
+ name: "name",
985
+ prefixes: "prefixes",
986
+ type: "type",
987
+ bandwidthThreshold: "bandwidth_threshold",
988
+ duration: "duration",
989
+ packetThreshold: "packet_threshold",
990
+ prefixMatch: "prefix_match",
991
+ zscoreSensitivity: "zscore_sensitivity",
992
+ zscoreTarget: "zscore_target",
993
+ }),
994
+ )
995
+ .pipe(T.ResponsePath("result")),
1020
996
  ) as unknown as Schema.Codec<CreateRuleResponse>;
1021
997
 
1022
998
  export type CreateRuleError =
@@ -1030,7 +1006,7 @@ export const createRule: API.OperationMethod<
1030
1006
  CreateRuleResponse,
1031
1007
  CreateRuleError,
1032
1008
  Credentials | HttpClient.HttpClient
1033
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1009
+ > = /*@__PURE__*/ API.make(() => ({
1034
1010
  input: CreateRuleRequest,
1035
1011
  output: CreateRuleResponse,
1036
1012
  errors: [DuplicateMnmRuleName, MnmConfigMissing, Forbidden],
@@ -1070,19 +1046,113 @@ export interface UpdateRuleRequest {
1070
1046
  zscoreTarget?: "bits" | "packets" | null;
1071
1047
  }
1072
1048
 
1073
- export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1074
- () =>
1075
- Schema.Struct({
1076
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1077
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1078
- name: Schema.String,
1079
- prefixes: Schema.Array(Schema.String),
1080
- type: Schema.Union([
1081
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1049
+ export const UpdateRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1050
+ Schema.Struct({
1051
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1052
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1053
+ name: Schema.String,
1054
+ prefixes: Schema.Array(Schema.String),
1055
+ type: Schema.Union([
1056
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1057
+ Schema.String,
1058
+ ]),
1059
+ bandwidthThreshold: Schema.optional(Schema.Number),
1060
+ duration: Schema.optional(
1061
+ Schema.Union([
1062
+ Schema.Literals(["1m", "5m", "10m", "15m", "20m", "30m", "45m", "60m"]),
1082
1063
  Schema.String,
1083
1064
  ]),
1084
- bandwidthThreshold: Schema.optional(Schema.Number),
1085
- duration: Schema.optional(
1065
+ ),
1066
+ packetThreshold: Schema.optional(Schema.Number),
1067
+ prefixMatch: Schema.optional(
1068
+ Schema.Union([
1069
+ Schema.Literal("exact"),
1070
+ Schema.Literal("subnet"),
1071
+ Schema.Literal("supernet"),
1072
+ Schema.Null,
1073
+ ]),
1074
+ ),
1075
+ zscoreSensitivity: Schema.optional(
1076
+ Schema.Union([
1077
+ Schema.Literal("low"),
1078
+ Schema.Literal("medium"),
1079
+ Schema.Literal("high"),
1080
+ Schema.Null,
1081
+ ]),
1082
+ ),
1083
+ zscoreTarget: Schema.optional(
1084
+ Schema.Union([
1085
+ Schema.Literal("bits"),
1086
+ Schema.Literal("packets"),
1087
+ Schema.Null,
1088
+ ]),
1089
+ ),
1090
+ }).pipe(
1091
+ Schema.encodeKeys({
1092
+ automaticAdvertisement: "automatic_advertisement",
1093
+ name: "name",
1094
+ prefixes: "prefixes",
1095
+ type: "type",
1096
+ bandwidthThreshold: "bandwidth_threshold",
1097
+ duration: "duration",
1098
+ packetThreshold: "packet_threshold",
1099
+ prefixMatch: "prefix_match",
1100
+ zscoreSensitivity: "zscore_sensitivity",
1101
+ zscoreTarget: "zscore_target",
1102
+ }),
1103
+ T.Http({ method: "PUT", path: "/accounts/{account_id}/mnm/rules" }),
1104
+ ),
1105
+ ) as unknown as Schema.Codec<UpdateRuleRequest>;
1106
+
1107
+ export interface UpdateRuleResponse {
1108
+ /** The id of the rule. Must be unique. */
1109
+ id: string;
1110
+ /** Toggle on if you would like Cloudflare to automatically advertise the IP Prefixes within the rule via Magic Transit when the rule is triggered. Only available for users of Magic Transit. */
1111
+ automaticAdvertisement: boolean | null;
1112
+ /** The name of the rule. Must be unique. Supports characters A-Z, a-z, 0-9, underscore (\_), dash (-), period (.), and tilde (~). You can’t have a space in the rule name. Max 256 characters. */
1113
+ name: string;
1114
+ prefixes: string[];
1115
+ /** MNM rule type. */
1116
+ type: "threshold" | "zscore" | "advanced_ddos" | (string & {});
1117
+ /** The number of bits per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum. */
1118
+ bandwidthThreshold?: number | null;
1119
+ /** The amount of time that the rule threshold must be exceeded to send an alert notification. The final value must be equivalent to one of the following 8 values ["1m","5m","10m","15m","20m","30m","45m", */
1120
+ duration?:
1121
+ | "1m"
1122
+ | "5m"
1123
+ | "10m"
1124
+ | "15m"
1125
+ | "20m"
1126
+ | "30m"
1127
+ | "45m"
1128
+ | "60m"
1129
+ | (string & {})
1130
+ | null;
1131
+ /** The number of packets per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum. */
1132
+ packetThreshold?: number | null;
1133
+ /** Prefix match type to be applied for a prefix auto advertisement when using an advanced_ddos rule. */
1134
+ prefixMatch?: "exact" | "subnet" | "supernet" | null;
1135
+ /** Level of sensitivity set for zscore rules. */
1136
+ zscoreSensitivity?: "low" | "medium" | "high" | null;
1137
+ /** Target of the zscore rule analysis. */
1138
+ zscoreTarget?: "bits" | "packets" | null;
1139
+ }
1140
+
1141
+ export const UpdateRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1142
+ Schema.Struct({
1143
+ id: Schema.String,
1144
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1145
+ name: Schema.String,
1146
+ prefixes: Schema.Array(Schema.String),
1147
+ type: Schema.Union([
1148
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1149
+ Schema.String,
1150
+ ]),
1151
+ bandwidthThreshold: Schema.optional(
1152
+ Schema.Union([Schema.Number, Schema.Null]),
1153
+ ),
1154
+ duration: Schema.optional(
1155
+ Schema.Union([
1086
1156
  Schema.Union([
1087
1157
  Schema.Literals([
1088
1158
  "1m",
@@ -1096,33 +1166,39 @@ export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1096
1166
  ]),
1097
1167
  Schema.String,
1098
1168
  ]),
1099
- ),
1100
- packetThreshold: Schema.optional(Schema.Number),
1101
- prefixMatch: Schema.optional(
1102
- Schema.Union([
1103
- Schema.Literal("exact"),
1104
- Schema.Literal("subnet"),
1105
- Schema.Literal("supernet"),
1106
- Schema.Null,
1107
- ]),
1108
- ),
1109
- zscoreSensitivity: Schema.optional(
1110
- Schema.Union([
1111
- Schema.Literal("low"),
1112
- Schema.Literal("medium"),
1113
- Schema.Literal("high"),
1114
- Schema.Null,
1115
- ]),
1116
- ),
1117
- zscoreTarget: Schema.optional(
1118
- Schema.Union([
1119
- Schema.Literal("bits"),
1120
- Schema.Literal("packets"),
1121
- Schema.Null,
1122
- ]),
1123
- ),
1124
- }).pipe(
1169
+ Schema.Null,
1170
+ ]),
1171
+ ),
1172
+ packetThreshold: Schema.optional(
1173
+ Schema.Union([Schema.Number, Schema.Null]),
1174
+ ),
1175
+ prefixMatch: Schema.optional(
1176
+ Schema.Union([
1177
+ Schema.Literal("exact"),
1178
+ Schema.Literal("subnet"),
1179
+ Schema.Literal("supernet"),
1180
+ Schema.Null,
1181
+ ]),
1182
+ ),
1183
+ zscoreSensitivity: Schema.optional(
1184
+ Schema.Union([
1185
+ Schema.Literal("low"),
1186
+ Schema.Literal("medium"),
1187
+ Schema.Literal("high"),
1188
+ Schema.Null,
1189
+ ]),
1190
+ ),
1191
+ zscoreTarget: Schema.optional(
1192
+ Schema.Union([
1193
+ Schema.Literal("bits"),
1194
+ Schema.Literal("packets"),
1195
+ Schema.Null,
1196
+ ]),
1197
+ ),
1198
+ })
1199
+ .pipe(
1125
1200
  Schema.encodeKeys({
1201
+ id: "id",
1126
1202
  automaticAdvertisement: "automatic_advertisement",
1127
1203
  name: "name",
1128
1204
  prefixes: "prefixes",
@@ -1134,119 +1210,8 @@ export const UpdateRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1134
1210
  zscoreSensitivity: "zscore_sensitivity",
1135
1211
  zscoreTarget: "zscore_target",
1136
1212
  }),
1137
- T.Http({ method: "PUT", path: "/accounts/{account_id}/mnm/rules" }),
1138
- ),
1139
- ) as unknown as Schema.Codec<UpdateRuleRequest>;
1140
-
1141
- export interface UpdateRuleResponse {
1142
- /** The id of the rule. Must be unique. */
1143
- id: string;
1144
- /** Toggle on if you would like Cloudflare to automatically advertise the IP Prefixes within the rule via Magic Transit when the rule is triggered. Only available for users of Magic Transit. */
1145
- automaticAdvertisement: boolean | null;
1146
- /** The name of the rule. Must be unique. Supports characters A-Z, a-z, 0-9, underscore (\_), dash (-), period (.), and tilde (~). You can’t have a space in the rule name. Max 256 characters. */
1147
- name: string;
1148
- prefixes: string[];
1149
- /** MNM rule type. */
1150
- type: "threshold" | "zscore" | "advanced_ddos" | (string & {});
1151
- /** The number of bits per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum. */
1152
- bandwidthThreshold?: number | null;
1153
- /** The amount of time that the rule threshold must be exceeded to send an alert notification. The final value must be equivalent to one of the following 8 values ["1m","5m","10m","15m","20m","30m","45m", */
1154
- duration?:
1155
- | "1m"
1156
- | "5m"
1157
- | "10m"
1158
- | "15m"
1159
- | "20m"
1160
- | "30m"
1161
- | "45m"
1162
- | "60m"
1163
- | (string & {})
1164
- | null;
1165
- /** The number of packets per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum. */
1166
- packetThreshold?: number | null;
1167
- /** Prefix match type to be applied for a prefix auto advertisement when using an advanced_ddos rule. */
1168
- prefixMatch?: "exact" | "subnet" | "supernet" | null;
1169
- /** Level of sensitivity set for zscore rules. */
1170
- zscoreSensitivity?: "low" | "medium" | "high" | null;
1171
- /** Target of the zscore rule analysis. */
1172
- zscoreTarget?: "bits" | "packets" | null;
1173
- }
1174
-
1175
- export const UpdateRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1176
- () =>
1177
- Schema.Struct({
1178
- id: Schema.String,
1179
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1180
- name: Schema.String,
1181
- prefixes: Schema.Array(Schema.String),
1182
- type: Schema.Union([
1183
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1184
- Schema.String,
1185
- ]),
1186
- bandwidthThreshold: Schema.optional(
1187
- Schema.Union([Schema.Number, Schema.Null]),
1188
- ),
1189
- duration: Schema.optional(
1190
- Schema.Union([
1191
- Schema.Union([
1192
- Schema.Literals([
1193
- "1m",
1194
- "5m",
1195
- "10m",
1196
- "15m",
1197
- "20m",
1198
- "30m",
1199
- "45m",
1200
- "60m",
1201
- ]),
1202
- Schema.String,
1203
- ]),
1204
- Schema.Null,
1205
- ]),
1206
- ),
1207
- packetThreshold: Schema.optional(
1208
- Schema.Union([Schema.Number, Schema.Null]),
1209
- ),
1210
- prefixMatch: Schema.optional(
1211
- Schema.Union([
1212
- Schema.Literal("exact"),
1213
- Schema.Literal("subnet"),
1214
- Schema.Literal("supernet"),
1215
- Schema.Null,
1216
- ]),
1217
- ),
1218
- zscoreSensitivity: Schema.optional(
1219
- Schema.Union([
1220
- Schema.Literal("low"),
1221
- Schema.Literal("medium"),
1222
- Schema.Literal("high"),
1223
- Schema.Null,
1224
- ]),
1225
- ),
1226
- zscoreTarget: Schema.optional(
1227
- Schema.Union([
1228
- Schema.Literal("bits"),
1229
- Schema.Literal("packets"),
1230
- Schema.Null,
1231
- ]),
1232
- ),
1233
- })
1234
- .pipe(
1235
- Schema.encodeKeys({
1236
- id: "id",
1237
- automaticAdvertisement: "automatic_advertisement",
1238
- name: "name",
1239
- prefixes: "prefixes",
1240
- type: "type",
1241
- bandwidthThreshold: "bandwidth_threshold",
1242
- duration: "duration",
1243
- packetThreshold: "packet_threshold",
1244
- prefixMatch: "prefix_match",
1245
- zscoreSensitivity: "zscore_sensitivity",
1246
- zscoreTarget: "zscore_target",
1247
- }),
1248
- )
1249
- .pipe(T.ResponsePath("result")),
1213
+ )
1214
+ .pipe(T.ResponsePath("result")),
1250
1215
  ) as unknown as Schema.Codec<UpdateRuleResponse>;
1251
1216
 
1252
1217
  export type UpdateRuleError = DefaultErrors;
@@ -1256,7 +1221,7 @@ export const updateRule: API.OperationMethod<
1256
1221
  UpdateRuleResponse,
1257
1222
  UpdateRuleError,
1258
1223
  Credentials | HttpClient.HttpClient
1259
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1224
+ > = /*@__PURE__*/ API.make(() => ({
1260
1225
  input: UpdateRuleRequest,
1261
1226
  output: UpdateRuleResponse,
1262
1227
  errors: [],
@@ -1297,7 +1262,7 @@ export interface PatchRuleRequest {
1297
1262
  zscoreTarget?: "bits" | "packets" | null;
1298
1263
  }
1299
1264
 
1300
- export const PatchRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1265
+ export const PatchRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1301
1266
  Schema.Struct({
1302
1267
  ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
1303
1268
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1393,81 +1358,80 @@ export interface PatchRuleResponse {
1393
1358
  zscoreTarget?: "bits" | "packets" | null;
1394
1359
  }
1395
1360
 
1396
- export const PatchRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1397
- () =>
1398
- Schema.Struct({
1399
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1400
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1401
- name: Schema.String,
1402
- prefixes: Schema.Array(Schema.String),
1403
- type: Schema.Union([
1404
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1405
- Schema.String,
1406
- ]),
1407
- bandwidthThreshold: Schema.optional(
1408
- Schema.Union([Schema.Number, Schema.Null]),
1409
- ),
1410
- duration: Schema.optional(
1361
+ export const PatchRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1362
+ Schema.Struct({
1363
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1364
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1365
+ name: Schema.String,
1366
+ prefixes: Schema.Array(Schema.String),
1367
+ type: Schema.Union([
1368
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1369
+ Schema.String,
1370
+ ]),
1371
+ bandwidthThreshold: Schema.optional(
1372
+ Schema.Union([Schema.Number, Schema.Null]),
1373
+ ),
1374
+ duration: Schema.optional(
1375
+ Schema.Union([
1411
1376
  Schema.Union([
1412
- Schema.Union([
1413
- Schema.Literals([
1414
- "1m",
1415
- "5m",
1416
- "10m",
1417
- "15m",
1418
- "20m",
1419
- "30m",
1420
- "45m",
1421
- "60m",
1422
- ]),
1423
- Schema.String,
1377
+ Schema.Literals([
1378
+ "1m",
1379
+ "5m",
1380
+ "10m",
1381
+ "15m",
1382
+ "20m",
1383
+ "30m",
1384
+ "45m",
1385
+ "60m",
1424
1386
  ]),
1425
- Schema.Null,
1426
- ]),
1427
- ),
1428
- packetThreshold: Schema.optional(
1429
- Schema.Union([Schema.Number, Schema.Null]),
1430
- ),
1431
- prefixMatch: Schema.optional(
1432
- Schema.Union([
1433
- Schema.Literal("exact"),
1434
- Schema.Literal("subnet"),
1435
- Schema.Literal("supernet"),
1436
- Schema.Null,
1437
- ]),
1438
- ),
1439
- zscoreSensitivity: Schema.optional(
1440
- Schema.Union([
1441
- Schema.Literal("low"),
1442
- Schema.Literal("medium"),
1443
- Schema.Literal("high"),
1444
- Schema.Null,
1445
- ]),
1446
- ),
1447
- zscoreTarget: Schema.optional(
1448
- Schema.Union([
1449
- Schema.Literal("bits"),
1450
- Schema.Literal("packets"),
1451
- Schema.Null,
1387
+ Schema.String,
1452
1388
  ]),
1453
- ),
1454
- })
1455
- .pipe(
1456
- Schema.encodeKeys({
1457
- id: "id",
1458
- automaticAdvertisement: "automatic_advertisement",
1459
- name: "name",
1460
- prefixes: "prefixes",
1461
- type: "type",
1462
- bandwidthThreshold: "bandwidth_threshold",
1463
- duration: "duration",
1464
- packetThreshold: "packet_threshold",
1465
- prefixMatch: "prefix_match",
1466
- zscoreSensitivity: "zscore_sensitivity",
1467
- zscoreTarget: "zscore_target",
1468
- }),
1469
- )
1470
- .pipe(T.ResponsePath("result")),
1389
+ Schema.Null,
1390
+ ]),
1391
+ ),
1392
+ packetThreshold: Schema.optional(
1393
+ Schema.Union([Schema.Number, Schema.Null]),
1394
+ ),
1395
+ prefixMatch: Schema.optional(
1396
+ Schema.Union([
1397
+ Schema.Literal("exact"),
1398
+ Schema.Literal("subnet"),
1399
+ Schema.Literal("supernet"),
1400
+ Schema.Null,
1401
+ ]),
1402
+ ),
1403
+ zscoreSensitivity: Schema.optional(
1404
+ Schema.Union([
1405
+ Schema.Literal("low"),
1406
+ Schema.Literal("medium"),
1407
+ Schema.Literal("high"),
1408
+ Schema.Null,
1409
+ ]),
1410
+ ),
1411
+ zscoreTarget: Schema.optional(
1412
+ Schema.Union([
1413
+ Schema.Literal("bits"),
1414
+ Schema.Literal("packets"),
1415
+ Schema.Null,
1416
+ ]),
1417
+ ),
1418
+ })
1419
+ .pipe(
1420
+ Schema.encodeKeys({
1421
+ id: "id",
1422
+ automaticAdvertisement: "automatic_advertisement",
1423
+ name: "name",
1424
+ prefixes: "prefixes",
1425
+ type: "type",
1426
+ bandwidthThreshold: "bandwidth_threshold",
1427
+ duration: "duration",
1428
+ packetThreshold: "packet_threshold",
1429
+ prefixMatch: "prefix_match",
1430
+ zscoreSensitivity: "zscore_sensitivity",
1431
+ zscoreTarget: "zscore_target",
1432
+ }),
1433
+ )
1434
+ .pipe(T.ResponsePath("result")),
1471
1435
  ) as unknown as Schema.Codec<PatchRuleResponse>;
1472
1436
 
1473
1437
  export type PatchRuleError = DefaultErrors | MnmRuleNotFound | Forbidden;
@@ -1477,7 +1441,7 @@ export const patchRule: API.OperationMethod<
1477
1441
  PatchRuleResponse,
1478
1442
  PatchRuleError,
1479
1443
  Credentials | HttpClient.HttpClient
1480
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1444
+ > = /*@__PURE__*/ API.make(() => ({
1481
1445
  input: PatchRuleRequest,
1482
1446
  output: PatchRuleResponse,
1483
1447
  errors: [MnmRuleNotFound, Forbidden],
@@ -1488,17 +1452,16 @@ export interface DeleteRuleRequest {
1488
1452
  accountId: string;
1489
1453
  }
1490
1454
 
1491
- export const DeleteRuleRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1492
- () =>
1493
- Schema.Struct({
1494
- ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
1495
- accountId: Schema.String.pipe(T.HttpPath("account_id")),
1496
- }).pipe(
1497
- T.Http({
1498
- method: "DELETE",
1499
- path: "/accounts/{account_id}/mnm/rules/{ruleId}",
1500
- }),
1501
- ),
1455
+ export const DeleteRuleRequest = /*@__PURE__*/ Schema.suspend(() =>
1456
+ Schema.Struct({
1457
+ ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
1458
+ accountId: Schema.String.pipe(T.HttpPath("account_id")),
1459
+ }).pipe(
1460
+ T.Http({
1461
+ method: "DELETE",
1462
+ path: "/accounts/{account_id}/mnm/rules/{ruleId}",
1463
+ }),
1464
+ ),
1502
1465
  ) as unknown as Schema.Codec<DeleteRuleRequest>;
1503
1466
 
1504
1467
  export interface DeleteRuleResponse {
@@ -1535,81 +1498,80 @@ export interface DeleteRuleResponse {
1535
1498
  zscoreTarget?: "bits" | "packets" | null;
1536
1499
  }
1537
1500
 
1538
- export const DeleteRuleResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1539
- () =>
1540
- Schema.Struct({
1541
- id: Schema.String,
1542
- automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1543
- name: Schema.String,
1544
- prefixes: Schema.Array(Schema.String),
1545
- type: Schema.Union([
1546
- Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1547
- Schema.String,
1548
- ]),
1549
- bandwidthThreshold: Schema.optional(
1550
- Schema.Union([Schema.Number, Schema.Null]),
1551
- ),
1552
- duration: Schema.optional(
1501
+ export const DeleteRuleResponse = /*@__PURE__*/ Schema.suspend(() =>
1502
+ Schema.Struct({
1503
+ id: Schema.String,
1504
+ automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1505
+ name: Schema.String,
1506
+ prefixes: Schema.Array(Schema.String),
1507
+ type: Schema.Union([
1508
+ Schema.Literals(["threshold", "zscore", "advanced_ddos"]),
1509
+ Schema.String,
1510
+ ]),
1511
+ bandwidthThreshold: Schema.optional(
1512
+ Schema.Union([Schema.Number, Schema.Null]),
1513
+ ),
1514
+ duration: Schema.optional(
1515
+ Schema.Union([
1553
1516
  Schema.Union([
1554
- Schema.Union([
1555
- Schema.Literals([
1556
- "1m",
1557
- "5m",
1558
- "10m",
1559
- "15m",
1560
- "20m",
1561
- "30m",
1562
- "45m",
1563
- "60m",
1564
- ]),
1565
- Schema.String,
1517
+ Schema.Literals([
1518
+ "1m",
1519
+ "5m",
1520
+ "10m",
1521
+ "15m",
1522
+ "20m",
1523
+ "30m",
1524
+ "45m",
1525
+ "60m",
1566
1526
  ]),
1567
- Schema.Null,
1568
- ]),
1569
- ),
1570
- packetThreshold: Schema.optional(
1571
- Schema.Union([Schema.Number, Schema.Null]),
1572
- ),
1573
- prefixMatch: Schema.optional(
1574
- Schema.Union([
1575
- Schema.Literal("exact"),
1576
- Schema.Literal("subnet"),
1577
- Schema.Literal("supernet"),
1578
- Schema.Null,
1579
- ]),
1580
- ),
1581
- zscoreSensitivity: Schema.optional(
1582
- Schema.Union([
1583
- Schema.Literal("low"),
1584
- Schema.Literal("medium"),
1585
- Schema.Literal("high"),
1586
- Schema.Null,
1587
- ]),
1588
- ),
1589
- zscoreTarget: Schema.optional(
1590
- Schema.Union([
1591
- Schema.Literal("bits"),
1592
- Schema.Literal("packets"),
1593
- Schema.Null,
1527
+ Schema.String,
1594
1528
  ]),
1595
- ),
1596
- })
1597
- .pipe(
1598
- Schema.encodeKeys({
1599
- id: "id",
1600
- automaticAdvertisement: "automatic_advertisement",
1601
- name: "name",
1602
- prefixes: "prefixes",
1603
- type: "type",
1604
- bandwidthThreshold: "bandwidth_threshold",
1605
- duration: "duration",
1606
- packetThreshold: "packet_threshold",
1607
- prefixMatch: "prefix_match",
1608
- zscoreSensitivity: "zscore_sensitivity",
1609
- zscoreTarget: "zscore_target",
1610
- }),
1611
- )
1612
- .pipe(T.ResponsePath("result")),
1529
+ Schema.Null,
1530
+ ]),
1531
+ ),
1532
+ packetThreshold: Schema.optional(
1533
+ Schema.Union([Schema.Number, Schema.Null]),
1534
+ ),
1535
+ prefixMatch: Schema.optional(
1536
+ Schema.Union([
1537
+ Schema.Literal("exact"),
1538
+ Schema.Literal("subnet"),
1539
+ Schema.Literal("supernet"),
1540
+ Schema.Null,
1541
+ ]),
1542
+ ),
1543
+ zscoreSensitivity: Schema.optional(
1544
+ Schema.Union([
1545
+ Schema.Literal("low"),
1546
+ Schema.Literal("medium"),
1547
+ Schema.Literal("high"),
1548
+ Schema.Null,
1549
+ ]),
1550
+ ),
1551
+ zscoreTarget: Schema.optional(
1552
+ Schema.Union([
1553
+ Schema.Literal("bits"),
1554
+ Schema.Literal("packets"),
1555
+ Schema.Null,
1556
+ ]),
1557
+ ),
1558
+ })
1559
+ .pipe(
1560
+ Schema.encodeKeys({
1561
+ id: "id",
1562
+ automaticAdvertisement: "automatic_advertisement",
1563
+ name: "name",
1564
+ prefixes: "prefixes",
1565
+ type: "type",
1566
+ bandwidthThreshold: "bandwidth_threshold",
1567
+ duration: "duration",
1568
+ packetThreshold: "packet_threshold",
1569
+ prefixMatch: "prefix_match",
1570
+ zscoreSensitivity: "zscore_sensitivity",
1571
+ zscoreTarget: "zscore_target",
1572
+ }),
1573
+ )
1574
+ .pipe(T.ResponsePath("result")),
1613
1575
  ) as unknown as Schema.Codec<DeleteRuleResponse>;
1614
1576
 
1615
1577
  export type DeleteRuleError = DefaultErrors | MnmRuleNotFound | Forbidden;
@@ -1619,7 +1581,7 @@ export const deleteRule: API.OperationMethod<
1619
1581
  DeleteRuleResponse,
1620
1582
  DeleteRuleError,
1621
1583
  Credentials | HttpClient.HttpClient
1622
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1584
+ > = /*@__PURE__*/ API.make(() => ({
1623
1585
  input: DeleteRuleRequest,
1624
1586
  output: DeleteRuleResponse,
1625
1587
  errors: [MnmRuleNotFound, Forbidden],
@@ -1638,7 +1600,7 @@ export interface PatchRuleAdvertisementRequest {
1638
1600
  }
1639
1601
 
1640
1602
  export const PatchRuleAdvertisementRequest =
1641
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1603
+ /*@__PURE__*/ Schema.suspend(() =>
1642
1604
  Schema.Struct({
1643
1605
  ruleId: Schema.String.pipe(T.HttpPath("ruleId")),
1644
1606
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
@@ -1657,7 +1619,7 @@ export interface PatchRuleAdvertisementResponse {
1657
1619
  }
1658
1620
 
1659
1621
  export const PatchRuleAdvertisementResponse =
1660
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1622
+ /*@__PURE__*/ Schema.suspend(() =>
1661
1623
  Schema.Struct({
1662
1624
  automaticAdvertisement: Schema.Union([Schema.Boolean, Schema.Null]),
1663
1625
  })
@@ -1676,7 +1638,7 @@ export const patchRuleAdvertisement: API.OperationMethod<
1676
1638
  PatchRuleAdvertisementResponse,
1677
1639
  PatchRuleAdvertisementError,
1678
1640
  Credentials | HttpClient.HttpClient
1679
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1641
+ > = /*@__PURE__*/ API.make(() => ({
1680
1642
  input: PatchRuleAdvertisementRequest,
1681
1643
  output: PatchRuleAdvertisementResponse,
1682
1644
  errors: [],
@@ -1691,7 +1653,7 @@ export interface CreateVpcFlowTokenRequest {
1691
1653
  }
1692
1654
 
1693
1655
  export const CreateVpcFlowTokenRequest =
1694
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1656
+ /*@__PURE__*/ Schema.suspend(() =>
1695
1657
  Schema.Struct({
1696
1658
  accountId: Schema.String.pipe(T.HttpPath("account_id")),
1697
1659
  }).pipe(
@@ -1705,7 +1667,7 @@ export const CreateVpcFlowTokenRequest =
1705
1667
  export type CreateVpcFlowTokenResponse = string;
1706
1668
 
1707
1669
  export const CreateVpcFlowTokenResponse =
1708
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1670
+ /*@__PURE__*/ Schema.suspend(() =>
1709
1671
  Schema.String.pipe(T.ResponsePath("result")),
1710
1672
  ) as unknown as Schema.Codec<CreateVpcFlowTokenResponse>;
1711
1673
 
@@ -1716,7 +1678,7 @@ export const createVpcFlowToken: API.OperationMethod<
1716
1678
  CreateVpcFlowTokenResponse,
1717
1679
  CreateVpcFlowTokenError,
1718
1680
  Credentials | HttpClient.HttpClient
1719
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1681
+ > = /*@__PURE__*/ API.make(() => ({
1720
1682
  input: CreateVpcFlowTokenRequest,
1721
1683
  output: CreateVpcFlowTokenResponse,
1722
1684
  errors: [],