@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
@@ -115,7 +115,7 @@ export class ZoneHoldsRequireEnterprise extends T.applyErrorMatchers(
115
115
  interface Source {
116
116
  pointer?: string | null;
117
117
  }
118
- const Source = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
118
+ const Source = /*@__PURE__*/ Schema.suspend(() =>
119
119
  Schema.Struct({
120
120
  pointer: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
121
121
  }),
@@ -127,7 +127,7 @@ interface Error2 {
127
127
  documentationUrl?: string | null;
128
128
  source?: { pointer?: string | null } | null;
129
129
  }
130
- const Error2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
130
+ const Error2 = /*@__PURE__*/ Schema.suspend(() =>
131
131
  Schema.Struct({
132
132
  code: Schema.Number,
133
133
  message: Schema.String,
@@ -157,7 +157,7 @@ interface ResultInfo {
157
157
  /** The number of total pages in the entire result set. */
158
158
  totalPages?: number | null;
159
159
  }
160
- const ResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
160
+ const ResultInfo = /*@__PURE__*/ Schema.suspend(() =>
161
161
  Schema.Struct({
162
162
  count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
163
163
  page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
@@ -179,7 +179,7 @@ interface ListCursor {
179
179
  after?: string | null;
180
180
  before?: string | null;
181
181
  }
182
- const ListCursor = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
182
+ const ListCursor = /*@__PURE__*/ Schema.suspend(() =>
183
183
  Schema.Struct({
184
184
  after: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
185
185
  before: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -195,7 +195,7 @@ interface Environment {
195
195
  version: number | null;
196
196
  httpApplicationId?: string | null;
197
197
  }
198
- const Environment = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
198
+ const Environment = /*@__PURE__*/ Schema.suspend(() =>
199
199
  Schema.Struct({
200
200
  expression: Schema.String,
201
201
  lockedOnDeployment: Schema.Union([Schema.Boolean, Schema.Null]),
@@ -247,7 +247,7 @@ interface ListPlansResponseResult {
247
247
  /** The amount you will be billed for this plan. */
248
248
  price?: number | null;
249
249
  }
250
- const ListPlansResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
250
+ const ListPlansResponseResult = /*@__PURE__*/ Schema.suspend(() =>
251
251
  Schema.Struct({
252
252
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
253
253
  canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -301,7 +301,7 @@ interface Component {
301
301
  /** The unit price of the addon. */
302
302
  unitPrice?: number | null;
303
303
  }
304
- const Component = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
304
+ const Component = /*@__PURE__*/ Schema.suspend(() =>
305
305
  Schema.Struct({
306
306
  default: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
307
307
  name: Schema.optional(
@@ -360,26 +360,25 @@ interface GetRatePlanResponseResult {
360
360
  /** The plan name. */
361
361
  name?: string | null;
362
362
  }
363
- const GetRatePlanResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
364
- () =>
365
- Schema.Struct({
366
- id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
367
- components: Schema.optional(
368
- Schema.Union([Schema.Array(Component), Schema.Null]),
369
- ),
370
- currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
371
- duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
372
- frequency: Schema.optional(
363
+ const GetRatePlanResponseResult = /*@__PURE__*/ Schema.suspend(() =>
364
+ Schema.Struct({
365
+ id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
366
+ components: Schema.optional(
367
+ Schema.Union([Schema.Array(Component), Schema.Null]),
368
+ ),
369
+ currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
370
+ duration: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
371
+ frequency: Schema.optional(
372
+ Schema.Union([
373
373
  Schema.Union([
374
- Schema.Union([
375
- Schema.Literals(["weekly", "monthly", "quarterly", "yearly"]),
376
- Schema.String,
377
- ]),
378
- Schema.Null,
374
+ Schema.Literals(["weekly", "monthly", "quarterly", "yearly"]),
375
+ Schema.String,
379
376
  ]),
380
- ),
381
- name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
382
- }),
377
+ Schema.Null,
378
+ ]),
379
+ ),
380
+ name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
381
+ }),
383
382
  ) as unknown as Schema.Codec<GetRatePlanResponseResult>;
384
383
 
385
384
  interface ZeroRTT {
@@ -392,7 +391,7 @@ interface ZeroRTT {
392
391
  /** last time this setting was modified. */
393
392
  modifiedOn?: string | null;
394
393
  }
395
- const ZeroRTT = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
394
+ const ZeroRTT = /*@__PURE__*/ Schema.suspend(() =>
396
395
  Schema.Struct({
397
396
  id: Schema.Literal("0rtt"),
398
397
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -418,7 +417,7 @@ interface AdvancedDDoS {
418
417
  /** last time this setting was modified. */
419
418
  modifiedOn?: string | null;
420
419
  }
421
- const AdvancedDDoS = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
420
+ const AdvancedDDoS = /*@__PURE__*/ Schema.suspend(() =>
422
421
  Schema.Struct({
423
422
  id: Schema.Literal("advanced_ddos"),
424
423
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -440,7 +439,7 @@ interface Value {
440
439
  /** Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin. */
441
440
  poolId?: string | null;
442
441
  }
443
- const Value = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
442
+ const Value = /*@__PURE__*/ Schema.suspend(() =>
444
443
  Schema.Struct({
445
444
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
446
445
  poolId: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -455,7 +454,7 @@ interface ZonesCacheRulesAegis {
455
454
  /** Value of the zone setting. */
456
455
  value?: { enabled?: boolean | null; poolId?: string | null } | null;
457
456
  }
458
- const ZonesCacheRulesAegis = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
457
+ const ZonesCacheRulesAegis = /*@__PURE__*/ Schema.suspend(() =>
459
458
  Schema.Struct({
460
459
  id: Schema.Literal("aegis"),
461
460
  modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -475,7 +474,7 @@ interface AlwaysOnline {
475
474
  /** last time this setting was modified. */
476
475
  modifiedOn?: string | null;
477
476
  }
478
- const AlwaysOnline = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
477
+ const AlwaysOnline = /*@__PURE__*/ Schema.suspend(() =>
479
478
  Schema.Struct({
480
479
  id: Schema.Literal("always_online"),
481
480
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -501,21 +500,20 @@ interface ZonesSchemasAlwaysUseHTTPS {
501
500
  /** last time this setting was modified. */
502
501
  modifiedOn?: string | null;
503
502
  }
504
- const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
505
- () =>
506
- Schema.Struct({
507
- id: Schema.Literal("always_use_https"),
508
- value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
509
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
510
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
511
- }).pipe(
512
- Schema.encodeKeys({
513
- id: "id",
514
- value: "value",
515
- editable: "editable",
516
- modifiedOn: "modified_on",
517
- }),
518
- ),
503
+ const ZonesSchemasAlwaysUseHTTPS = /*@__PURE__*/ Schema.suspend(() =>
504
+ Schema.Struct({
505
+ id: Schema.Literal("always_use_https"),
506
+ value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
507
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
508
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
509
+ }).pipe(
510
+ Schema.encodeKeys({
511
+ id: "id",
512
+ value: "value",
513
+ editable: "editable",
514
+ modifiedOn: "modified_on",
515
+ }),
516
+ ),
519
517
  ) as unknown as Schema.Codec<ZonesSchemasAlwaysUseHTTPS>;
520
518
 
521
519
  interface ZonesSchemasAutomaticHTTPSRewrites {
@@ -529,7 +527,7 @@ interface ZonesSchemasAutomaticHTTPSRewrites {
529
527
  modifiedOn?: string | null;
530
528
  }
531
529
  const ZonesSchemasAutomaticHTTPSRewrites =
532
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
530
+ /*@__PURE__*/ Schema.suspend(() =>
533
531
  Schema.Struct({
534
532
  id: Schema.Literal("automatic_https_rewrites"),
535
533
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -555,7 +553,7 @@ interface Brotli {
555
553
  /** last time this setting was modified. */
556
554
  modifiedOn?: string | null;
557
555
  }
558
- const Brotli = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
556
+ const Brotli = /*@__PURE__*/ Schema.suspend(() =>
559
557
  Schema.Struct({
560
558
  id: Schema.Literal("brotli"),
561
559
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -581,21 +579,20 @@ interface ZonesSchemasBrowserCacheTTL {
581
579
  /** last time this setting was modified. */
582
580
  modifiedOn?: string | null;
583
581
  }
584
- const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
585
- () =>
586
- Schema.Struct({
587
- id: Schema.Literal("browser_cache_ttl"),
588
- value: Schema.Number,
589
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
590
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
591
- }).pipe(
592
- Schema.encodeKeys({
593
- id: "id",
594
- value: "value",
595
- editable: "editable",
596
- modifiedOn: "modified_on",
597
- }),
598
- ),
582
+ const ZonesSchemasBrowserCacheTTL = /*@__PURE__*/ Schema.suspend(() =>
583
+ Schema.Struct({
584
+ id: Schema.Literal("browser_cache_ttl"),
585
+ value: Schema.Number,
586
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
587
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
588
+ }).pipe(
589
+ Schema.encodeKeys({
590
+ id: "id",
591
+ value: "value",
592
+ editable: "editable",
593
+ modifiedOn: "modified_on",
594
+ }),
595
+ ),
599
596
  ) as unknown as Schema.Codec<ZonesSchemasBrowserCacheTTL>;
600
597
 
601
598
  interface ZonesSchemasBrowserCheck {
@@ -608,21 +605,20 @@ interface ZonesSchemasBrowserCheck {
608
605
  /** last time this setting was modified. */
609
606
  modifiedOn?: string | null;
610
607
  }
611
- const ZonesSchemasBrowserCheck = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
612
- () =>
613
- Schema.Struct({
614
- id: Schema.Literal("browser_check"),
615
- value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
616
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
617
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
618
- }).pipe(
619
- Schema.encodeKeys({
620
- id: "id",
621
- value: "value",
622
- editable: "editable",
623
- modifiedOn: "modified_on",
624
- }),
625
- ),
608
+ const ZonesSchemasBrowserCheck = /*@__PURE__*/ Schema.suspend(() =>
609
+ Schema.Struct({
610
+ id: Schema.Literal("browser_check"),
611
+ value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
612
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
613
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
614
+ }).pipe(
615
+ Schema.encodeKeys({
616
+ id: "id",
617
+ value: "value",
618
+ editable: "editable",
619
+ modifiedOn: "modified_on",
620
+ }),
621
+ ),
626
622
  ) as unknown as Schema.Codec<ZonesSchemasBrowserCheck>;
627
623
 
628
624
  interface ZonesSchemasCacheLevel {
@@ -635,7 +631,7 @@ interface ZonesSchemasCacheLevel {
635
631
  /** last time this setting was modified. */
636
632
  modifiedOn?: string | null;
637
633
  }
638
- const ZonesSchemasCacheLevel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
634
+ const ZonesSchemasCacheLevel = /*@__PURE__*/ Schema.suspend(() =>
639
635
  Schema.Struct({
640
636
  id: Schema.Literal("cache_level"),
641
637
  value: Schema.Union([
@@ -679,7 +675,7 @@ interface ChallengeTTL {
679
675
  /** last time this setting was modified. */
680
676
  modifiedOn?: string | null;
681
677
  }
682
- const ChallengeTTL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
678
+ const ChallengeTTL = /*@__PURE__*/ Schema.suspend(() =>
683
679
  Schema.Struct({
684
680
  id: Schema.Literal("challenge_ttl"),
685
681
  value: Schema.Union([
@@ -723,21 +719,20 @@ interface ZonesChinaNetworkEnabled {
723
719
  /** last time this setting was modified. */
724
720
  modifiedOn?: string | null;
725
721
  }
726
- const ZonesChinaNetworkEnabled = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
727
- () =>
728
- Schema.Struct({
729
- id: Schema.Literal("china_network_enabled"),
730
- value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
731
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
732
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
733
- }).pipe(
734
- Schema.encodeKeys({
735
- id: "id",
736
- value: "value",
737
- editable: "editable",
738
- modifiedOn: "modified_on",
739
- }),
740
- ),
722
+ const ZonesChinaNetworkEnabled = /*@__PURE__*/ Schema.suspend(() =>
723
+ Schema.Struct({
724
+ id: Schema.Literal("china_network_enabled"),
725
+ value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
726
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
727
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
728
+ }).pipe(
729
+ Schema.encodeKeys({
730
+ id: "id",
731
+ value: "value",
732
+ editable: "editable",
733
+ modifiedOn: "modified_on",
734
+ }),
735
+ ),
741
736
  ) as unknown as Schema.Codec<ZonesChinaNetworkEnabled>;
742
737
 
743
738
  interface ZonesContentConverter {
@@ -750,7 +745,7 @@ interface ZonesContentConverter {
750
745
  /** last time this setting was modified. */
751
746
  modifiedOn?: string | null;
752
747
  }
753
- const ZonesContentConverter = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
748
+ const ZonesContentConverter = /*@__PURE__*/ Schema.suspend(() =>
754
749
  Schema.Struct({
755
750
  id: Schema.Literal("content_converter"),
756
751
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -776,7 +771,7 @@ interface Ciphers {
776
771
  /** last time this setting was modified. */
777
772
  modifiedOn?: string | null;
778
773
  }
779
- const Ciphers = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
774
+ const Ciphers = /*@__PURE__*/ Schema.suspend(() =>
780
775
  Schema.Struct({
781
776
  id: Schema.Literal("ciphers"),
782
777
  value: Schema.Array(Schema.String),
@@ -802,7 +797,7 @@ interface ZonesCNAMEFlattening {
802
797
  /** last time this setting was modified. */
803
798
  modifiedOn?: string | null;
804
799
  }
805
- const ZonesCNAMEFlattening = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
800
+ const ZonesCNAMEFlattening = /*@__PURE__*/ Schema.suspend(() =>
806
801
  Schema.Struct({
807
802
  id: Schema.Literal("cname_flattening"),
808
803
  value: Schema.Union([
@@ -833,7 +828,7 @@ interface DevelopmentMode {
833
828
  /** Value of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been */
834
829
  timeRemaining?: number | null;
835
830
  }
836
- const DevelopmentMode = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
831
+ const DevelopmentMode = /*@__PURE__*/ Schema.suspend(() =>
837
832
  Schema.Struct({
838
833
  id: Schema.Literal("development_mode"),
839
834
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -861,7 +856,7 @@ interface EarlyHints {
861
856
  /** last time this setting was modified. */
862
857
  modifiedOn?: string | null;
863
858
  }
864
- const EarlyHints = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
859
+ const EarlyHints = /*@__PURE__*/ Schema.suspend(() =>
865
860
  Schema.Struct({
866
861
  id: Schema.Literal("early_hints"),
867
862
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -909,46 +904,45 @@ interface ZonesSchemasEdgeCacheTTL {
909
904
  /** last time this setting was modified. */
910
905
  modifiedOn?: string | null;
911
906
  }
912
- const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
913
- () =>
914
- Schema.Struct({
915
- id: Schema.Literal("edge_cache_ttl"),
916
- value: Schema.Union([
917
- Schema.Literals([
918
- "30",
919
- "60",
920
- "300",
921
- "1200",
922
- "1800",
923
- "3600",
924
- "7200",
925
- "10800",
926
- "14400",
927
- "18000",
928
- "28800",
929
- "43200",
930
- "57600",
931
- "72000",
932
- "86400",
933
- "172800",
934
- "259200",
935
- "345600",
936
- "432000",
937
- "518400",
938
- "604800",
939
- ]),
940
- Schema.String,
907
+ const ZonesSchemasEdgeCacheTTL = /*@__PURE__*/ Schema.suspend(() =>
908
+ Schema.Struct({
909
+ id: Schema.Literal("edge_cache_ttl"),
910
+ value: Schema.Union([
911
+ Schema.Literals([
912
+ "30",
913
+ "60",
914
+ "300",
915
+ "1200",
916
+ "1800",
917
+ "3600",
918
+ "7200",
919
+ "10800",
920
+ "14400",
921
+ "18000",
922
+ "28800",
923
+ "43200",
924
+ "57600",
925
+ "72000",
926
+ "86400",
927
+ "172800",
928
+ "259200",
929
+ "345600",
930
+ "432000",
931
+ "518400",
932
+ "604800",
941
933
  ]),
942
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
943
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
944
- }).pipe(
945
- Schema.encodeKeys({
946
- id: "id",
947
- value: "value",
948
- editable: "editable",
949
- modifiedOn: "modified_on",
950
- }),
951
- ),
934
+ Schema.String,
935
+ ]),
936
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
937
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
938
+ }).pipe(
939
+ Schema.encodeKeys({
940
+ id: "id",
941
+ value: "value",
942
+ editable: "editable",
943
+ modifiedOn: "modified_on",
944
+ }),
945
+ ),
952
946
  ) as unknown as Schema.Codec<ZonesSchemasEdgeCacheTTL>;
953
947
 
954
948
  interface ZonesSchemasEmailObfuscation {
@@ -961,21 +955,20 @@ interface ZonesSchemasEmailObfuscation {
961
955
  /** last time this setting was modified. */
962
956
  modifiedOn?: string | null;
963
957
  }
964
- const ZonesSchemasEmailObfuscation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
965
- () =>
966
- Schema.Struct({
967
- id: Schema.Literal("email_obfuscation"),
968
- value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
969
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
970
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
971
- }).pipe(
972
- Schema.encodeKeys({
973
- id: "id",
974
- value: "value",
975
- editable: "editable",
976
- modifiedOn: "modified_on",
977
- }),
978
- ),
958
+ const ZonesSchemasEmailObfuscation = /*@__PURE__*/ Schema.suspend(() =>
959
+ Schema.Struct({
960
+ id: Schema.Literal("email_obfuscation"),
961
+ value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
962
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
963
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
964
+ }).pipe(
965
+ Schema.encodeKeys({
966
+ id: "id",
967
+ value: "value",
968
+ editable: "editable",
969
+ modifiedOn: "modified_on",
970
+ }),
971
+ ),
979
972
  ) as unknown as Schema.Codec<ZonesSchemasEmailObfuscation>;
980
973
 
981
974
  interface H2Prioritization {
@@ -988,7 +981,7 @@ interface H2Prioritization {
988
981
  /** last time this setting was modified. */
989
982
  modifiedOn?: string | null;
990
983
  }
991
- const H2Prioritization = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
984
+ const H2Prioritization = /*@__PURE__*/ Schema.suspend(() =>
992
985
  Schema.Struct({
993
986
  id: Schema.Literal("h2_prioritization"),
994
987
  value: Schema.Union([
@@ -1017,7 +1010,7 @@ interface HotlinkProtection {
1017
1010
  /** last time this setting was modified. */
1018
1011
  modifiedOn?: string | null;
1019
1012
  }
1020
- const HotlinkProtection = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1013
+ const HotlinkProtection = /*@__PURE__*/ Schema.suspend(() =>
1021
1014
  Schema.Struct({
1022
1015
  id: Schema.Literal("hotlink_protection"),
1023
1016
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1043,7 +1036,7 @@ interface Http2 {
1043
1036
  /** last time this setting was modified. */
1044
1037
  modifiedOn?: string | null;
1045
1038
  }
1046
- const Http2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1039
+ const Http2 = /*@__PURE__*/ Schema.suspend(() =>
1047
1040
  Schema.Struct({
1048
1041
  id: Schema.Literal("http2"),
1049
1042
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1069,7 +1062,7 @@ interface Http3 {
1069
1062
  /** last time this setting was modified. */
1070
1063
  modifiedOn?: string | null;
1071
1064
  }
1072
- const Http3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1065
+ const Http3 = /*@__PURE__*/ Schema.suspend(() =>
1073
1066
  Schema.Struct({
1074
1067
  id: Schema.Literal("http3"),
1075
1068
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1095,7 +1088,7 @@ interface ImageResizing {
1095
1088
  /** last time this setting was modified. */
1096
1089
  modifiedOn?: string | null;
1097
1090
  }
1098
- const ImageResizing = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1091
+ const ImageResizing = /*@__PURE__*/ Schema.suspend(() =>
1099
1092
  Schema.Struct({
1100
1093
  id: Schema.Literal("image_resizing"),
1101
1094
  value: Schema.Union([
@@ -1124,21 +1117,20 @@ interface ZonesSchemasIPGeolocation {
1124
1117
  /** last time this setting was modified. */
1125
1118
  modifiedOn?: string | null;
1126
1119
  }
1127
- const ZonesSchemasIPGeolocation = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1128
- () =>
1129
- Schema.Struct({
1130
- id: Schema.Literal("ip_geolocation"),
1131
- value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
1132
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1133
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1134
- }).pipe(
1135
- Schema.encodeKeys({
1136
- id: "id",
1137
- value: "value",
1138
- editable: "editable",
1139
- modifiedOn: "modified_on",
1140
- }),
1141
- ),
1120
+ const ZonesSchemasIPGeolocation = /*@__PURE__*/ Schema.suspend(() =>
1121
+ Schema.Struct({
1122
+ id: Schema.Literal("ip_geolocation"),
1123
+ value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
1124
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1125
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1126
+ }).pipe(
1127
+ Schema.encodeKeys({
1128
+ id: "id",
1129
+ value: "value",
1130
+ editable: "editable",
1131
+ modifiedOn: "modified_on",
1132
+ }),
1133
+ ),
1142
1134
  ) as unknown as Schema.Codec<ZonesSchemasIPGeolocation>;
1143
1135
 
1144
1136
  interface Ipv6 {
@@ -1151,7 +1143,7 @@ interface Ipv6 {
1151
1143
  /** last time this setting was modified. */
1152
1144
  modifiedOn?: string | null;
1153
1145
  }
1154
- const Ipv6 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1146
+ const Ipv6 = /*@__PURE__*/ Schema.suspend(() =>
1155
1147
  Schema.Struct({
1156
1148
  id: Schema.Literal("ipv6"),
1157
1149
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -1196,7 +1188,7 @@ interface ZonesMaxUpload {
1196
1188
  /** last time this setting was modified. */
1197
1189
  modifiedOn?: string | null;
1198
1190
  }
1199
- const ZonesMaxUpload = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1191
+ const ZonesMaxUpload = /*@__PURE__*/ Schema.suspend(() =>
1200
1192
  Schema.Struct({
1201
1193
  id: Schema.Literal("max_upload"),
1202
1194
  value: Schema.Union([
@@ -1244,7 +1236,7 @@ interface MinTLSVersion {
1244
1236
  /** last time this setting was modified. */
1245
1237
  modifiedOn?: string | null;
1246
1238
  }
1247
- const MinTLSVersion = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1239
+ const MinTLSVersion = /*@__PURE__*/ Schema.suspend(() =>
1248
1240
  Schema.Struct({
1249
1241
  id: Schema.Literal("min_tls_version"),
1250
1242
  value: Schema.Union([
@@ -1273,7 +1265,7 @@ interface ZonesSchemasMirage {
1273
1265
  /** last time this setting was modified. */
1274
1266
  modifiedOn?: string | null;
1275
1267
  }
1276
- const ZonesSchemasMirage = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1268
+ const ZonesSchemasMirage = /*@__PURE__*/ Schema.suspend(() =>
1277
1269
  Schema.Struct({
1278
1270
  id: Schema.Literal("mirage"),
1279
1271
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1292,7 +1284,7 @@ const ZonesSchemasMirage = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1292
1284
  interface Value2 {
1293
1285
  enabled?: boolean | null;
1294
1286
  }
1295
- const Value2 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1287
+ const Value2 = /*@__PURE__*/ Schema.suspend(() =>
1296
1288
  Schema.Struct({
1297
1289
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1298
1290
  }),
@@ -1308,7 +1300,7 @@ interface Nel {
1308
1300
  /** last time this setting was modified. */
1309
1301
  modifiedOn?: string | null;
1310
1302
  }
1311
- const Nel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1303
+ const Nel = /*@__PURE__*/ Schema.suspend(() =>
1312
1304
  Schema.Struct({
1313
1305
  id: Schema.Literal("nel"),
1314
1306
  value: Value2,
@@ -1335,7 +1327,7 @@ interface ZonesSchemasOpportunisticEncryption {
1335
1327
  modifiedOn?: string | null;
1336
1328
  }
1337
1329
  const ZonesSchemasOpportunisticEncryption =
1338
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1330
+ /*@__PURE__*/ Schema.suspend(() =>
1339
1331
  Schema.Struct({
1340
1332
  id: Schema.Literal("opportunistic_encryption"),
1341
1333
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1361,7 +1353,7 @@ interface OpportunisticOnion {
1361
1353
  /** last time this setting was modified. */
1362
1354
  modifiedOn?: string | null;
1363
1355
  }
1364
- const OpportunisticOnion = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1356
+ const OpportunisticOnion = /*@__PURE__*/ Schema.suspend(() =>
1365
1357
  Schema.Struct({
1366
1358
  id: Schema.Literal("opportunistic_onion"),
1367
1359
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1387,7 +1379,7 @@ interface OrangeToOrange {
1387
1379
  /** last time this setting was modified. */
1388
1380
  modifiedOn?: string | null;
1389
1381
  }
1390
- const OrangeToOrange = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1382
+ const OrangeToOrange = /*@__PURE__*/ Schema.suspend(() =>
1391
1383
  Schema.Struct({
1392
1384
  id: Schema.Literal("orange_to_orange"),
1393
1385
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1414,7 +1406,7 @@ interface ZonesSchemasOriginErrorPagePassThru {
1414
1406
  modifiedOn?: string | null;
1415
1407
  }
1416
1408
  const ZonesSchemasOriginErrorPagePassThru =
1417
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1409
+ /*@__PURE__*/ Schema.suspend(() =>
1418
1410
  Schema.Struct({
1419
1411
  id: Schema.Literal("origin_error_page_pass_thru"),
1420
1412
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1439,7 +1431,7 @@ interface ZonesCacheRulesOriginH2MaxStreams {
1439
1431
  value?: number | null;
1440
1432
  }
1441
1433
  const ZonesCacheRulesOriginH2MaxStreams =
1442
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1434
+ /*@__PURE__*/ Schema.suspend(() =>
1443
1435
  Schema.Struct({
1444
1436
  id: Schema.Literal("origin_h2_max_streams"),
1445
1437
  modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1462,7 +1454,7 @@ interface ZonesCacheRulesOriginMaxHTTPVersion {
1462
1454
  value?: "2" | "1" | (string & {}) | null;
1463
1455
  }
1464
1456
  const ZonesCacheRulesOriginMaxHTTPVersion =
1465
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1457
+ /*@__PURE__*/ Schema.suspend(() =>
1466
1458
  Schema.Struct({
1467
1459
  id: Schema.Literal("origin_max_http_version"),
1468
1460
  modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -1491,7 +1483,7 @@ interface ZonesSchemasPolish {
1491
1483
  /** last time this setting was modified. */
1492
1484
  modifiedOn?: string | null;
1493
1485
  }
1494
- const ZonesSchemasPolish = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1486
+ const ZonesSchemasPolish = /*@__PURE__*/ Schema.suspend(() =>
1495
1487
  Schema.Struct({
1496
1488
  id: Schema.Literal("polish"),
1497
1489
  value: Schema.Union([
@@ -1520,7 +1512,7 @@ interface PrefetchPreload {
1520
1512
  /** last time this setting was modified. */
1521
1513
  modifiedOn?: string | null;
1522
1514
  }
1523
- const PrefetchPreload = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1515
+ const PrefetchPreload = /*@__PURE__*/ Schema.suspend(() =>
1524
1516
  Schema.Struct({
1525
1517
  id: Schema.Literal("prefetch_preload"),
1526
1518
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1546,7 +1538,7 @@ interface ZonesPrivacyPass {
1546
1538
  /** last time this setting was modified. */
1547
1539
  modifiedOn?: string | null;
1548
1540
  }
1549
- const ZonesPrivacyPass = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1541
+ const ZonesPrivacyPass = /*@__PURE__*/ Schema.suspend(() =>
1550
1542
  Schema.Struct({
1551
1543
  id: Schema.Literal("privacy_pass"),
1552
1544
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1572,7 +1564,7 @@ interface ProxyReadTimeout {
1572
1564
  /** last time this setting was modified. */
1573
1565
  modifiedOn?: string | null;
1574
1566
  }
1575
- const ProxyReadTimeout = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1567
+ const ProxyReadTimeout = /*@__PURE__*/ Schema.suspend(() =>
1576
1568
  Schema.Struct({
1577
1569
  id: Schema.Literal("proxy_read_timeout"),
1578
1570
  value: Schema.Number,
@@ -1598,7 +1590,7 @@ interface PseudoIPV4 {
1598
1590
  /** last time this setting was modified. */
1599
1591
  modifiedOn?: string | null;
1600
1592
  }
1601
- const PseudoIPV4 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1593
+ const PseudoIPV4 = /*@__PURE__*/ Schema.suspend(() =>
1602
1594
  Schema.Struct({
1603
1595
  id: Schema.Literal("pseudo_ipv4"),
1604
1596
  value: Schema.Union([
@@ -1627,21 +1619,20 @@ interface ZonesRedirectsForAITraining {
1627
1619
  /** last time this setting was modified. */
1628
1620
  modifiedOn?: string | null;
1629
1621
  }
1630
- const ZonesRedirectsForAITraining = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1631
- () =>
1632
- Schema.Struct({
1633
- id: Schema.Literal("redirects_for_ai_training"),
1634
- value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
1635
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1636
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1637
- }).pipe(
1638
- Schema.encodeKeys({
1639
- id: "id",
1640
- value: "value",
1641
- editable: "editable",
1642
- modifiedOn: "modified_on",
1643
- }),
1644
- ),
1622
+ const ZonesRedirectsForAITraining = /*@__PURE__*/ Schema.suspend(() =>
1623
+ Schema.Struct({
1624
+ id: Schema.Literal("redirects_for_ai_training"),
1625
+ value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
1626
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1627
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1628
+ }).pipe(
1629
+ Schema.encodeKeys({
1630
+ id: "id",
1631
+ value: "value",
1632
+ editable: "editable",
1633
+ modifiedOn: "modified_on",
1634
+ }),
1635
+ ),
1645
1636
  ) as unknown as Schema.Codec<ZonesRedirectsForAITraining>;
1646
1637
 
1647
1638
  interface ZonesReplaceInsecureJS {
@@ -1654,7 +1645,7 @@ interface ZonesReplaceInsecureJS {
1654
1645
  /** last time this setting was modified. */
1655
1646
  modifiedOn?: string | null;
1656
1647
  }
1657
- const ZonesReplaceInsecureJS = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1648
+ const ZonesReplaceInsecureJS = /*@__PURE__*/ Schema.suspend(() =>
1658
1649
  Schema.Struct({
1659
1650
  id: Schema.Literal("replace_insecure_js"),
1660
1651
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1681,7 +1672,7 @@ interface ZonesSchemasResponseBuffering {
1681
1672
  modifiedOn?: string | null;
1682
1673
  }
1683
1674
  const ZonesSchemasResponseBuffering =
1684
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1675
+ /*@__PURE__*/ Schema.suspend(() =>
1685
1676
  Schema.Struct({
1686
1677
  id: Schema.Literal("response_buffering"),
1687
1678
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1707,21 +1698,20 @@ interface ZonesSchemasRocketLoader {
1707
1698
  /** last time this setting was modified. */
1708
1699
  modifiedOn?: string | null;
1709
1700
  }
1710
- const ZonesSchemasRocketLoader = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1711
- () =>
1712
- Schema.Struct({
1713
- id: Schema.Literal("rocket_loader"),
1714
- value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
1715
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1716
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1717
- }).pipe(
1718
- Schema.encodeKeys({
1719
- id: "id",
1720
- value: "value",
1721
- editable: "editable",
1722
- modifiedOn: "modified_on",
1723
- }),
1724
- ),
1701
+ const ZonesSchemasRocketLoader = /*@__PURE__*/ Schema.suspend(() =>
1702
+ Schema.Struct({
1703
+ id: Schema.Literal("rocket_loader"),
1704
+ value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
1705
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1706
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1707
+ }).pipe(
1708
+ Schema.encodeKeys({
1709
+ id: "id",
1710
+ value: "value",
1711
+ editable: "editable",
1712
+ modifiedOn: "modified_on",
1713
+ }),
1714
+ ),
1725
1715
  ) as unknown as Schema.Codec<ZonesSchemasRocketLoader>;
1726
1716
 
1727
1717
  interface AutomaticPlatformOptimization {
@@ -1739,7 +1729,7 @@ interface AutomaticPlatformOptimization {
1739
1729
  wpPlugin: boolean;
1740
1730
  }
1741
1731
  const AutomaticPlatformOptimization =
1742
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1732
+ /*@__PURE__*/ Schema.suspend(() =>
1743
1733
  Schema.Struct({
1744
1734
  cacheByDeviceType: Schema.Boolean,
1745
1735
  cf: Schema.Boolean,
@@ -1777,7 +1767,7 @@ interface ZonesSchemasAutomaticPlatformOptimization {
1777
1767
  modifiedOn?: string | null;
1778
1768
  }
1779
1769
  const ZonesSchemasAutomaticPlatformOptimization =
1780
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1770
+ /*@__PURE__*/ Schema.suspend(() =>
1781
1771
  Schema.Struct({
1782
1772
  id: Schema.Literal("automatic_platform_optimization"),
1783
1773
  value: AutomaticPlatformOptimization,
@@ -1803,7 +1793,7 @@ interface ZonesSearchForAgents {
1803
1793
  /** last time this setting was modified. */
1804
1794
  modifiedOn?: string | null;
1805
1795
  }
1806
- const ZonesSearchForAgents = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1796
+ const ZonesSearchForAgents = /*@__PURE__*/ Schema.suspend(() =>
1807
1797
  Schema.Struct({
1808
1798
  id: Schema.Literal("search_for_agents"),
1809
1799
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -1831,7 +1821,7 @@ interface StrictTransportSecurity {
1831
1821
  /** Enable automatic preload of the HSTS configuration. */
1832
1822
  preload?: boolean | null;
1833
1823
  }
1834
- const StrictTransportSecurity = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1824
+ const StrictTransportSecurity = /*@__PURE__*/ Schema.suspend(() =>
1835
1825
  Schema.Struct({
1836
1826
  enabled: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1837
1827
  includeSubdomains: Schema.optional(
@@ -1861,7 +1851,7 @@ interface Value3 {
1861
1851
  preload?: boolean | null;
1862
1852
  } | null;
1863
1853
  }
1864
- const Value3 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1854
+ const Value3 = /*@__PURE__*/ Schema.suspend(() =>
1865
1855
  Schema.Struct({
1866
1856
  strictTransportSecurity: Schema.optional(
1867
1857
  Schema.Union([StrictTransportSecurity, Schema.Null]),
@@ -1889,7 +1879,7 @@ interface SecurityHeaders {
1889
1879
  /** last time this setting was modified. */
1890
1880
  modifiedOn?: string | null;
1891
1881
  }
1892
- const SecurityHeaders = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1882
+ const SecurityHeaders = /*@__PURE__*/ Schema.suspend(() =>
1893
1883
  Schema.Struct({
1894
1884
  id: Schema.Literal("security_header"),
1895
1885
  value: Value3,
@@ -1922,31 +1912,30 @@ interface ZonesSchemasSecurityLevel {
1922
1912
  /** last time this setting was modified. */
1923
1913
  modifiedOn?: string | null;
1924
1914
  }
1925
- const ZonesSchemasSecurityLevel = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
1926
- () =>
1927
- Schema.Struct({
1928
- id: Schema.Literal("security_level"),
1929
- value: Schema.Union([
1930
- Schema.Literals([
1931
- "off",
1932
- "essentially_off",
1933
- "low",
1934
- "medium",
1935
- "high",
1936
- "under_attack",
1937
- ]),
1938
- Schema.String,
1915
+ const ZonesSchemasSecurityLevel = /*@__PURE__*/ Schema.suspend(() =>
1916
+ Schema.Struct({
1917
+ id: Schema.Literal("security_level"),
1918
+ value: Schema.Union([
1919
+ Schema.Literals([
1920
+ "off",
1921
+ "essentially_off",
1922
+ "low",
1923
+ "medium",
1924
+ "high",
1925
+ "under_attack",
1939
1926
  ]),
1940
- editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1941
- modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1942
- }).pipe(
1943
- Schema.encodeKeys({
1944
- id: "id",
1945
- value: "value",
1946
- editable: "editable",
1947
- modifiedOn: "modified_on",
1948
- }),
1949
- ),
1927
+ Schema.String,
1928
+ ]),
1929
+ editable: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
1930
+ modifiedOn: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
1931
+ }).pipe(
1932
+ Schema.encodeKeys({
1933
+ id: "id",
1934
+ value: "value",
1935
+ editable: "editable",
1936
+ modifiedOn: "modified_on",
1937
+ }),
1938
+ ),
1950
1939
  ) as unknown as Schema.Codec<ZonesSchemasSecurityLevel>;
1951
1940
 
1952
1941
  interface ServerSideExcludes {
@@ -1959,7 +1948,7 @@ interface ServerSideExcludes {
1959
1948
  /** last time this setting was modified. */
1960
1949
  modifiedOn?: string | null;
1961
1950
  }
1962
- const ServerSideExcludes = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1951
+ const ServerSideExcludes = /*@__PURE__*/ Schema.suspend(() =>
1963
1952
  Schema.Struct({
1964
1953
  id: Schema.Literal("server_side_exclude"),
1965
1954
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -1985,7 +1974,7 @@ interface ZonesSha1Support {
1985
1974
  /** last time this setting was modified. */
1986
1975
  modifiedOn?: string | null;
1987
1976
  }
1988
- const ZonesSha1Support = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
1977
+ const ZonesSha1Support = /*@__PURE__*/ Schema.suspend(() =>
1989
1978
  Schema.Struct({
1990
1979
  id: Schema.Literal("sha1_support"),
1991
1980
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -2012,7 +2001,7 @@ interface ZonesSchemasSortQueryStringForCache {
2012
2001
  modifiedOn?: string | null;
2013
2002
  }
2014
2003
  const ZonesSchemasSortQueryStringForCache =
2015
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2004
+ /*@__PURE__*/ Schema.suspend(() =>
2016
2005
  Schema.Struct({
2017
2006
  id: Schema.Literal("sort_query_string_for_cache"),
2018
2007
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -2038,7 +2027,7 @@ interface ZonesSchemasSSL {
2038
2027
  /** last time this setting was modified. */
2039
2028
  modifiedOn?: string | null;
2040
2029
  }
2041
- const ZonesSchemasSSL = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2030
+ const ZonesSchemasSSL = /*@__PURE__*/ Schema.suspend(() =>
2042
2031
  Schema.Struct({
2043
2032
  id: Schema.Literal("ssl"),
2044
2033
  value: Schema.Union([
@@ -2063,7 +2052,7 @@ interface Sslrecommender {
2063
2052
  /** ssl-recommender enrollment setting. */
2064
2053
  enabled?: boolean | null;
2065
2054
  }
2066
- const Sslrecommender = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2055
+ const Sslrecommender = /*@__PURE__*/ Schema.suspend(() =>
2067
2056
  Schema.Struct({
2068
2057
  id: Schema.optional(
2069
2058
  Schema.Union([Schema.Literal("ssl_recommender"), Schema.Null]),
@@ -2082,7 +2071,7 @@ interface ZonesTLS12Only {
2082
2071
  /** last time this setting was modified. */
2083
2072
  modifiedOn?: string | null;
2084
2073
  }
2085
- const ZonesTLS12Only = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2074
+ const ZonesTLS12Only = /*@__PURE__*/ Schema.suspend(() =>
2086
2075
  Schema.Struct({
2087
2076
  id: Schema.Literal("tls_1_2_only"),
2088
2077
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -2108,7 +2097,7 @@ interface Tls13 {
2108
2097
  /** last time this setting was modified. */
2109
2098
  modifiedOn?: string | null;
2110
2099
  }
2111
- const Tls13 = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2100
+ const Tls13 = /*@__PURE__*/ Schema.suspend(() =>
2112
2101
  Schema.Struct({
2113
2102
  id: Schema.Literal("tls_1_3"),
2114
2103
  value: Schema.Union([Schema.Literals(["on", "off", "zrt"]), Schema.String]),
@@ -2134,7 +2123,7 @@ interface TlsclientAuth {
2134
2123
  /** last time this setting was modified. */
2135
2124
  modifiedOn?: string | null;
2136
2125
  }
2137
- const TlsclientAuth = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2126
+ const TlsclientAuth = /*@__PURE__*/ Schema.suspend(() =>
2138
2127
  Schema.Struct({
2139
2128
  id: Schema.Literal("tls_client_auth"),
2140
2129
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -2160,7 +2149,7 @@ interface ZonesTransformations {
2160
2149
  /** last time this setting was modified. */
2161
2150
  modifiedOn?: string | null;
2162
2151
  }
2163
- const ZonesTransformations = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2152
+ const ZonesTransformations = /*@__PURE__*/ Schema.suspend(() =>
2164
2153
  Schema.Struct({
2165
2154
  id: Schema.Literal("transformations"),
2166
2155
  value: Schema.Union([
@@ -2190,7 +2179,7 @@ interface ZonesTransformationsAllowedOrigins {
2190
2179
  modifiedOn?: string | null;
2191
2180
  }
2192
2181
  const ZonesTransformationsAllowedOrigins =
2193
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2182
+ /*@__PURE__*/ Schema.suspend(() =>
2194
2183
  Schema.Struct({
2195
2184
  id: Schema.Literal("transformations_allowed_origins"),
2196
2185
  value: Schema.String,
@@ -2217,7 +2206,7 @@ interface ZonesSchemasTrueClientIPHeader {
2217
2206
  modifiedOn?: string | null;
2218
2207
  }
2219
2208
  const ZonesSchemasTrueClientIPHeader =
2220
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2209
+ /*@__PURE__*/ Schema.suspend(() =>
2221
2210
  Schema.Struct({
2222
2211
  id: Schema.Literal("true_client_ip_header"),
2223
2212
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -2243,7 +2232,7 @@ interface ZonesSchemasWAF {
2243
2232
  /** last time this setting was modified. */
2244
2233
  modifiedOn?: string | null;
2245
2234
  }
2246
- const ZonesSchemasWAF = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2235
+ const ZonesSchemasWAF = /*@__PURE__*/ Schema.suspend(() =>
2247
2236
  Schema.Struct({
2248
2237
  id: Schema.Literal("waf"),
2249
2238
  value: Schema.Union([Schema.Literals(["on", "off"]), Schema.String]),
@@ -2269,7 +2258,7 @@ interface WebP {
2269
2258
  /** last time this setting was modified. */
2270
2259
  modifiedOn?: string | null;
2271
2260
  }
2272
- const WebP = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2261
+ const WebP = /*@__PURE__*/ Schema.suspend(() =>
2273
2262
  Schema.Struct({
2274
2263
  id: Schema.Literal("webp"),
2275
2264
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -2295,7 +2284,7 @@ interface Websocket {
2295
2284
  /** last time this setting was modified. */
2296
2285
  modifiedOn?: string | null;
2297
2286
  }
2298
- const Websocket = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2287
+ const Websocket = /*@__PURE__*/ Schema.suspend(() =>
2299
2288
  Schema.Struct({
2300
2289
  id: Schema.Literal("websockets"),
2301
2290
  value: Schema.Union([Schema.Literals(["off", "on"]), Schema.String]),
@@ -2339,7 +2328,7 @@ interface RatePlan {
2339
2328
  /** The list of sets this rate plan applies to. Returns array of strings. */
2340
2329
  sets?: string[] | null;
2341
2330
  }
2342
- const RatePlan = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2331
+ const RatePlan = /*@__PURE__*/ Schema.suspend(() =>
2343
2332
  Schema.Struct({
2344
2333
  id: Schema.optional(
2345
2334
  Schema.Union([
@@ -2390,7 +2379,7 @@ interface Account {
2390
2379
  /** The name of the account. */
2391
2380
  name?: string | null;
2392
2381
  }
2393
- const Account = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2382
+ const Account = /*@__PURE__*/ Schema.suspend(() =>
2394
2383
  Schema.Struct({
2395
2384
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2396
2385
  name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -2412,7 +2401,7 @@ interface Meta {
2412
2401
  phishingDetected?: boolean | null;
2413
2402
  step?: number | null;
2414
2403
  }
2415
- const Meta = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2404
+ const Meta = /*@__PURE__*/ Schema.suspend(() =>
2416
2405
  Schema.Struct({
2417
2406
  cdnOnly: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
2418
2407
  customCertificateQuota: Schema.optional(
@@ -2446,7 +2435,7 @@ interface Owner {
2446
2435
  /** The type of owner. */
2447
2436
  type?: string | null;
2448
2437
  }
2449
- const Owner = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2438
+ const Owner = /*@__PURE__*/ Schema.suspend(() =>
2450
2439
  Schema.Struct({
2451
2440
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2452
2441
  name: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -2476,7 +2465,7 @@ interface Plan {
2476
2465
  /** How much the customer is paying. */
2477
2466
  price?: number | null;
2478
2467
  }
2479
- const Plan = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2468
+ const Plan = /*@__PURE__*/ Schema.suspend(() =>
2480
2469
  Schema.Struct({
2481
2470
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2482
2471
  canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -2512,7 +2501,7 @@ interface TenantUnit {
2512
2501
  /** Identifier */
2513
2502
  id?: string | null;
2514
2503
  }
2515
- const TenantUnit = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2504
+ const TenantUnit = /*@__PURE__*/ Schema.suspend(() =>
2516
2505
  Schema.Struct({
2517
2506
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2518
2507
  }),
@@ -2591,7 +2580,7 @@ interface ListZonesResponseResult {
2591
2580
  /** Verification key for partial zone setup. */
2592
2581
  verificationKey?: string | null;
2593
2582
  }
2594
- const ListZonesResponseResult = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2583
+ const ListZonesResponseResult = /*@__PURE__*/ Schema.suspend(() =>
2595
2584
  Schema.Struct({
2596
2585
  id: Schema.String,
2597
2586
  account: Account,
@@ -2676,21 +2665,20 @@ interface ListZonesResponseResultInfo {
2676
2665
  perPage?: number | null;
2677
2666
  totalCount?: number | null;
2678
2667
  }
2679
- const ListZonesResponseResultInfo = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2680
- () =>
2681
- Schema.Struct({
2682
- count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2683
- page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2684
- perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2685
- totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2686
- }).pipe(
2687
- Schema.encodeKeys({
2688
- count: "count",
2689
- page: "page",
2690
- perPage: "per_page",
2691
- totalCount: "total_count",
2692
- }),
2693
- ),
2668
+ const ListZonesResponseResultInfo = /*@__PURE__*/ Schema.suspend(() =>
2669
+ Schema.Struct({
2670
+ count: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2671
+ page: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2672
+ perPage: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2673
+ totalCount: Schema.optional(Schema.Union([Schema.Number, Schema.Null])),
2674
+ }).pipe(
2675
+ Schema.encodeKeys({
2676
+ count: "count",
2677
+ page: "page",
2678
+ perPage: "per_page",
2679
+ totalCount: "total_count",
2680
+ }),
2681
+ ),
2694
2682
  ) as unknown as Schema.Codec<ListZonesResponseResultInfo>;
2695
2683
 
2696
2684
  // =============================================================================
@@ -2703,7 +2691,7 @@ export interface TriggerActivationCheckRequest {
2703
2691
  }
2704
2692
 
2705
2693
  export const TriggerActivationCheckRequest =
2706
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2694
+ /*@__PURE__*/ Schema.suspend(() =>
2707
2695
  Schema.Struct({
2708
2696
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2709
2697
  }).pipe(
@@ -2717,7 +2705,7 @@ export interface TriggerActivationCheckResponse {
2717
2705
  }
2718
2706
 
2719
2707
  export const TriggerActivationCheckResponse =
2720
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2708
+ /*@__PURE__*/ Schema.suspend(() =>
2721
2709
  Schema.Struct({
2722
2710
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
2723
2711
  }).pipe(T.ResponsePath("result")),
@@ -2730,7 +2718,7 @@ export const triggerActivationCheck: API.OperationMethod<
2730
2718
  TriggerActivationCheckResponse,
2731
2719
  TriggerActivationCheckError,
2732
2720
  Credentials | HttpClient.HttpClient
2733
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2721
+ > = /*@__PURE__*/ API.make(() => ({
2734
2722
  input: TriggerActivationCheckRequest,
2735
2723
  output: TriggerActivationCheckResponse,
2736
2724
  errors: [],
@@ -2745,11 +2733,10 @@ export interface GetCtAlertingRequest {
2745
2733
  zoneId: string;
2746
2734
  }
2747
2735
 
2748
- export const GetCtAlertingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2749
- () =>
2750
- Schema.Struct({
2751
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2752
- }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ct/alerting" })),
2736
+ export const GetCtAlertingRequest = /*@__PURE__*/ Schema.suspend(() =>
2737
+ Schema.Struct({
2738
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2739
+ }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/ct/alerting" })),
2753
2740
  ) as unknown as Schema.Codec<GetCtAlertingRequest>;
2754
2741
 
2755
2742
  export interface GetCtAlertingResponse {
@@ -2759,14 +2746,13 @@ export interface GetCtAlertingResponse {
2759
2746
  emails?: string[] | null;
2760
2747
  }
2761
2748
 
2762
- export const GetCtAlertingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
2763
- () =>
2764
- Schema.Struct({
2765
- enabled: Schema.Boolean,
2766
- emails: Schema.optional(
2767
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
2768
- ),
2769
- }).pipe(T.ResponsePath("result")),
2749
+ export const GetCtAlertingResponse = /*@__PURE__*/ Schema.suspend(() =>
2750
+ Schema.Struct({
2751
+ enabled: Schema.Boolean,
2752
+ emails: Schema.optional(
2753
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
2754
+ ),
2755
+ }).pipe(T.ResponsePath("result")),
2770
2756
  ) as unknown as Schema.Codec<GetCtAlertingResponse>;
2771
2757
 
2772
2758
  export type GetCtAlertingError = DefaultErrors;
@@ -2776,7 +2762,7 @@ export const getCtAlerting: API.OperationMethod<
2776
2762
  GetCtAlertingResponse,
2777
2763
  GetCtAlertingError,
2778
2764
  Credentials | HttpClient.HttpClient
2779
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2765
+ > = /*@__PURE__*/ API.make(() => ({
2780
2766
  input: GetCtAlertingRequest,
2781
2767
  output: GetCtAlertingResponse,
2782
2768
  errors: [],
@@ -2792,7 +2778,7 @@ export interface PatchCtAlertingRequest {
2792
2778
  }
2793
2779
 
2794
2780
  export const PatchCtAlertingRequest =
2795
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2781
+ /*@__PURE__*/ Schema.suspend(() =>
2796
2782
  Schema.Struct({
2797
2783
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2798
2784
  enabled: Schema.Boolean,
@@ -2808,7 +2794,7 @@ export interface PatchCtAlertingResponse {
2808
2794
  }
2809
2795
 
2810
2796
  export const PatchCtAlertingResponse =
2811
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2797
+ /*@__PURE__*/ Schema.suspend(() =>
2812
2798
  Schema.Struct({
2813
2799
  enabled: Schema.Boolean,
2814
2800
  emails: Schema.optional(
@@ -2824,7 +2810,7 @@ export const patchCtAlerting: API.OperationMethod<
2824
2810
  PatchCtAlertingResponse,
2825
2811
  PatchCtAlertingError,
2826
2812
  Credentials | HttpClient.HttpClient
2827
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2813
+ > = /*@__PURE__*/ API.make(() => ({
2828
2814
  input: PatchCtAlertingRequest,
2829
2815
  output: PatchCtAlertingResponse,
2830
2816
  errors: [],
@@ -2840,7 +2826,7 @@ export interface GetCustomNameserverRequest {
2840
2826
  }
2841
2827
 
2842
2828
  export const GetCustomNameserverRequest =
2843
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2829
+ /*@__PURE__*/ Schema.suspend(() =>
2844
2830
  Schema.Struct({
2845
2831
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2846
2832
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/custom_ns" })),
@@ -2879,7 +2865,7 @@ export interface GetCustomNameserverResponse {
2879
2865
  }
2880
2866
 
2881
2867
  export const GetCustomNameserverResponse =
2882
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2868
+ /*@__PURE__*/ Schema.suspend(() =>
2883
2869
  Schema.Struct({
2884
2870
  errors: Schema.optional(
2885
2871
  Schema.Union([Schema.Array(Error2), Schema.Null]),
@@ -2917,7 +2903,7 @@ export const getCustomNameserver: API.OperationMethod<
2917
2903
  GetCustomNameserverResponse,
2918
2904
  GetCustomNameserverError,
2919
2905
  Credentials | HttpClient.HttpClient
2920
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2906
+ > = /*@__PURE__*/ API.make(() => ({
2921
2907
  input: GetCustomNameserverRequest,
2922
2908
  output: GetCustomNameserverResponse,
2923
2909
  errors: [InvalidZoneIdentifier, Forbidden],
@@ -2933,7 +2919,7 @@ export interface PutCustomNameserverRequest {
2933
2919
  }
2934
2920
 
2935
2921
  export const PutCustomNameserverRequest =
2936
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2922
+ /*@__PURE__*/ Schema.suspend(() =>
2937
2923
  Schema.Struct({
2938
2924
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2939
2925
  enabled: Schema.optional(Schema.Boolean),
@@ -2949,7 +2935,7 @@ export interface PutCustomNameserverResponse {
2949
2935
  }
2950
2936
 
2951
2937
  export const PutCustomNameserverResponse =
2952
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2938
+ /*@__PURE__*/ Schema.suspend(() =>
2953
2939
  Schema.Struct({
2954
2940
  result: Schema.Unknown,
2955
2941
  }),
@@ -2966,7 +2952,7 @@ export const putCustomNameserver: API.PaginatedOperationMethod<
2966
2952
  PutCustomNameserverResponse,
2967
2953
  PutCustomNameserverError,
2968
2954
  Credentials | HttpClient.HttpClient
2969
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
2955
+ > = /*@__PURE__*/ API.makePaginated(() => ({
2970
2956
  input: PutCustomNameserverRequest,
2971
2957
  output: PutCustomNameserverResponse,
2972
2958
  errors: [InvalidZoneIdentifier, CustomNameserverSetNotFound, Forbidden],
@@ -2986,7 +2972,7 @@ export interface ListEnvironmentsRequest {
2986
2972
  }
2987
2973
 
2988
2974
  export const ListEnvironmentsRequest =
2989
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2975
+ /*@__PURE__*/ Schema.suspend(() =>
2990
2976
  Schema.Struct({
2991
2977
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
2992
2978
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/environments" })),
@@ -3005,7 +2991,7 @@ export interface ListEnvironmentsResponse {
3005
2991
  }
3006
2992
 
3007
2993
  export const ListEnvironmentsResponse =
3008
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
2994
+ /*@__PURE__*/ Schema.suspend(() =>
3009
2995
  Schema.Struct({
3010
2996
  environments: Schema.Array(Environment),
3011
2997
  }).pipe(T.ResponsePath("result")),
@@ -3018,7 +3004,7 @@ export const listEnvironments: API.OperationMethod<
3018
3004
  ListEnvironmentsResponse,
3019
3005
  ListEnvironmentsError,
3020
3006
  Credentials | HttpClient.HttpClient
3021
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3007
+ > = /*@__PURE__*/ API.make(() => ({
3022
3008
  input: ListEnvironmentsRequest,
3023
3009
  output: ListEnvironmentsResponse,
3024
3010
  errors: [],
@@ -3040,7 +3026,7 @@ export interface CreateEnvironmentRequest {
3040
3026
  }
3041
3027
 
3042
3028
  export const CreateEnvironmentRequest =
3043
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3029
+ /*@__PURE__*/ Schema.suspend(() =>
3044
3030
  Schema.Struct({
3045
3031
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3046
3032
  environments: Schema.Array(Environment),
@@ -3060,7 +3046,7 @@ export interface CreateEnvironmentResponse {
3060
3046
  }
3061
3047
 
3062
3048
  export const CreateEnvironmentResponse =
3063
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3049
+ /*@__PURE__*/ Schema.suspend(() =>
3064
3050
  Schema.Struct({
3065
3051
  environments: Schema.Array(Environment),
3066
3052
  }).pipe(T.ResponsePath("result")),
@@ -3073,7 +3059,7 @@ export const createEnvironment: API.OperationMethod<
3073
3059
  CreateEnvironmentResponse,
3074
3060
  CreateEnvironmentError,
3075
3061
  Credentials | HttpClient.HttpClient
3076
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3062
+ > = /*@__PURE__*/ API.make(() => ({
3077
3063
  input: CreateEnvironmentRequest,
3078
3064
  output: CreateEnvironmentResponse,
3079
3065
  errors: [],
@@ -3095,7 +3081,7 @@ export interface UpdateEnvironmentRequest {
3095
3081
  }
3096
3082
 
3097
3083
  export const UpdateEnvironmentRequest =
3098
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3084
+ /*@__PURE__*/ Schema.suspend(() =>
3099
3085
  Schema.Struct({
3100
3086
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3101
3087
  environments: Schema.Array(Environment),
@@ -3115,7 +3101,7 @@ export interface UpdateEnvironmentResponse {
3115
3101
  }
3116
3102
 
3117
3103
  export const UpdateEnvironmentResponse =
3118
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3104
+ /*@__PURE__*/ Schema.suspend(() =>
3119
3105
  Schema.Struct({
3120
3106
  environments: Schema.Array(Environment),
3121
3107
  }).pipe(T.ResponsePath("result")),
@@ -3128,7 +3114,7 @@ export const updateEnvironment: API.OperationMethod<
3128
3114
  UpdateEnvironmentResponse,
3129
3115
  UpdateEnvironmentError,
3130
3116
  Credentials | HttpClient.HttpClient
3131
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3117
+ > = /*@__PURE__*/ API.make(() => ({
3132
3118
  input: UpdateEnvironmentRequest,
3133
3119
  output: UpdateEnvironmentResponse,
3134
3120
  errors: [],
@@ -3150,7 +3136,7 @@ export interface PatchEnvironmentRequest {
3150
3136
  }
3151
3137
 
3152
3138
  export const PatchEnvironmentRequest =
3153
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3139
+ /*@__PURE__*/ Schema.suspend(() =>
3154
3140
  Schema.Struct({
3155
3141
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3156
3142
  environments: Schema.Array(Environment),
@@ -3170,7 +3156,7 @@ export interface PatchEnvironmentResponse {
3170
3156
  }
3171
3157
 
3172
3158
  export const PatchEnvironmentResponse =
3173
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3159
+ /*@__PURE__*/ Schema.suspend(() =>
3174
3160
  Schema.Struct({
3175
3161
  environments: Schema.Array(Environment),
3176
3162
  }).pipe(T.ResponsePath("result")),
@@ -3183,7 +3169,7 @@ export const patchEnvironment: API.OperationMethod<
3183
3169
  PatchEnvironmentResponse,
3184
3170
  PatchEnvironmentError,
3185
3171
  Credentials | HttpClient.HttpClient
3186
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3172
+ > = /*@__PURE__*/ API.make(() => ({
3187
3173
  input: PatchEnvironmentRequest,
3188
3174
  output: PatchEnvironmentResponse,
3189
3175
  errors: [],
@@ -3196,7 +3182,7 @@ export interface DeleteEnvironmentRequest {
3196
3182
  }
3197
3183
 
3198
3184
  export const DeleteEnvironmentRequest =
3199
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3185
+ /*@__PURE__*/ Schema.suspend(() =>
3200
3186
  Schema.Struct({
3201
3187
  environmentId: Schema.String.pipe(T.HttpPath("environmentId")),
3202
3188
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3221,7 +3207,7 @@ export interface DeleteEnvironmentResponse {
3221
3207
  }
3222
3208
 
3223
3209
  export const DeleteEnvironmentResponse =
3224
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3210
+ /*@__PURE__*/ Schema.suspend(() =>
3225
3211
  Schema.Struct({
3226
3212
  environments: Schema.Array(Environment),
3227
3213
  }).pipe(T.ResponsePath("result")),
@@ -3234,7 +3220,7 @@ export const deleteEnvironment: API.OperationMethod<
3234
3220
  DeleteEnvironmentResponse,
3235
3221
  DeleteEnvironmentError,
3236
3222
  Credentials | HttpClient.HttpClient
3237
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3223
+ > = /*@__PURE__*/ API.make(() => ({
3238
3224
  input: DeleteEnvironmentRequest,
3239
3225
  output: DeleteEnvironmentResponse,
3240
3226
  errors: [],
@@ -3247,7 +3233,7 @@ export interface RollbackEnvironmentRequest {
3247
3233
  }
3248
3234
 
3249
3235
  export const RollbackEnvironmentRequest =
3250
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3236
+ /*@__PURE__*/ Schema.suspend(() =>
3251
3237
  Schema.Struct({
3252
3238
  environmentId: Schema.String.pipe(T.HttpPath("environmentId")),
3253
3239
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3272,7 +3258,7 @@ export interface RollbackEnvironmentResponse {
3272
3258
  }
3273
3259
 
3274
3260
  export const RollbackEnvironmentResponse =
3275
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3261
+ /*@__PURE__*/ Schema.suspend(() =>
3276
3262
  Schema.Struct({
3277
3263
  environments: Schema.Array(Environment),
3278
3264
  }).pipe(T.ResponsePath("result")),
@@ -3285,7 +3271,7 @@ export const rollbackEnvironment: API.OperationMethod<
3285
3271
  RollbackEnvironmentResponse,
3286
3272
  RollbackEnvironmentError,
3287
3273
  Credentials | HttpClient.HttpClient
3288
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3274
+ > = /*@__PURE__*/ API.make(() => ({
3289
3275
  input: RollbackEnvironmentRequest,
3290
3276
  output: RollbackEnvironmentResponse,
3291
3277
  errors: [],
@@ -3300,7 +3286,7 @@ export interface GetHoldRequest {
3300
3286
  zoneId: string;
3301
3287
  }
3302
3288
 
3303
- export const GetHoldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3289
+ export const GetHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
3304
3290
  Schema.Struct({
3305
3291
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3306
3292
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/hold" })),
@@ -3312,7 +3298,7 @@ export interface GetHoldResponse {
3312
3298
  includeSubdomains?: unknown | null;
3313
3299
  }
3314
3300
 
3315
- export const GetHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3301
+ export const GetHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
3316
3302
  Schema.Struct({
3317
3303
  hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3318
3304
  holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -3337,7 +3323,7 @@ export const getHold: API.OperationMethod<
3337
3323
  GetHoldResponse,
3338
3324
  GetHoldError,
3339
3325
  Credentials | HttpClient.HttpClient
3340
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3326
+ > = /*@__PURE__*/ API.make(() => ({
3341
3327
  input: GetHoldRequest,
3342
3328
  output: GetHoldResponse,
3343
3329
  errors: [InvalidZoneIdentifier, Forbidden],
@@ -3350,14 +3336,13 @@ export interface CreateHoldRequest {
3350
3336
  includeSubdomains?: boolean;
3351
3337
  }
3352
3338
 
3353
- export const CreateHoldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3354
- () =>
3355
- Schema.Struct({
3356
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3357
- includeSubdomains: Schema.optional(Schema.Boolean).pipe(
3358
- T.HttpQuery("include_subdomains"),
3359
- ),
3360
- }).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/hold" })),
3339
+ export const CreateHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
3340
+ Schema.Struct({
3341
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3342
+ includeSubdomains: Schema.optional(Schema.Boolean).pipe(
3343
+ T.HttpQuery("include_subdomains"),
3344
+ ),
3345
+ }).pipe(T.Http({ method: "POST", path: "/zones/{zone_id}/hold" })),
3361
3346
  ) as unknown as Schema.Codec<CreateHoldRequest>;
3362
3347
 
3363
3348
  export interface CreateHoldResponse {
@@ -3366,23 +3351,22 @@ export interface CreateHoldResponse {
3366
3351
  includeSubdomains?: unknown | null;
3367
3352
  }
3368
3353
 
3369
- export const CreateHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3370
- () =>
3371
- Schema.Struct({
3372
- hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3373
- holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3374
- includeSubdomains: Schema.optional(
3375
- Schema.Union([Schema.Unknown, Schema.Null]),
3376
- ),
3377
- })
3378
- .pipe(
3379
- Schema.encodeKeys({
3380
- hold: "hold",
3381
- holdAfter: "hold_after",
3382
- includeSubdomains: "include_subdomains",
3383
- }),
3384
- )
3385
- .pipe(T.ResponsePath("result")),
3354
+ export const CreateHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
3355
+ Schema.Struct({
3356
+ hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3357
+ holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3358
+ includeSubdomains: Schema.optional(
3359
+ Schema.Union([Schema.Unknown, Schema.Null]),
3360
+ ),
3361
+ })
3362
+ .pipe(
3363
+ Schema.encodeKeys({
3364
+ hold: "hold",
3365
+ holdAfter: "hold_after",
3366
+ includeSubdomains: "include_subdomains",
3367
+ }),
3368
+ )
3369
+ .pipe(T.ResponsePath("result")),
3386
3370
  ) as unknown as Schema.Codec<CreateHoldResponse>;
3387
3371
 
3388
3372
  export type CreateHoldError =
@@ -3396,7 +3380,7 @@ export const createHold: API.OperationMethod<
3396
3380
  CreateHoldResponse,
3397
3381
  CreateHoldError,
3398
3382
  Credentials | HttpClient.HttpClient
3399
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3383
+ > = /*@__PURE__*/ API.make(() => ({
3400
3384
  input: CreateHoldRequest,
3401
3385
  output: CreateHoldResponse,
3402
3386
  errors: [ZoneHoldsRequireEnterprise, InvalidZoneIdentifier, Forbidden],
@@ -3411,7 +3395,7 @@ export interface PatchHoldRequest {
3411
3395
  includeSubdomains?: boolean;
3412
3396
  }
3413
3397
 
3414
- export const PatchHoldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3398
+ export const PatchHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
3415
3399
  Schema.Struct({
3416
3400
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3417
3401
  holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -3431,23 +3415,22 @@ export interface PatchHoldResponse {
3431
3415
  includeSubdomains?: unknown | null;
3432
3416
  }
3433
3417
 
3434
- export const PatchHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3435
- () =>
3436
- Schema.Struct({
3437
- hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3438
- holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3439
- includeSubdomains: Schema.optional(
3440
- Schema.Union([Schema.Unknown, Schema.Null]),
3441
- ),
3442
- })
3443
- .pipe(
3444
- Schema.encodeKeys({
3445
- hold: "hold",
3446
- holdAfter: "hold_after",
3447
- includeSubdomains: "include_subdomains",
3448
- }),
3449
- )
3450
- .pipe(T.ResponsePath("result")),
3418
+ export const PatchHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
3419
+ Schema.Struct({
3420
+ hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3421
+ holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3422
+ includeSubdomains: Schema.optional(
3423
+ Schema.Union([Schema.Unknown, Schema.Null]),
3424
+ ),
3425
+ })
3426
+ .pipe(
3427
+ Schema.encodeKeys({
3428
+ hold: "hold",
3429
+ holdAfter: "hold_after",
3430
+ includeSubdomains: "include_subdomains",
3431
+ }),
3432
+ )
3433
+ .pipe(T.ResponsePath("result")),
3451
3434
  ) as unknown as Schema.Codec<PatchHoldResponse>;
3452
3435
 
3453
3436
  export type PatchHoldError =
@@ -3462,7 +3445,7 @@ export const patchHold: API.OperationMethod<
3462
3445
  PatchHoldResponse,
3463
3446
  PatchHoldError,
3464
3447
  Credentials | HttpClient.HttpClient
3465
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3448
+ > = /*@__PURE__*/ API.make(() => ({
3466
3449
  input: PatchHoldRequest,
3467
3450
  output: PatchHoldResponse,
3468
3451
  errors: [
@@ -3480,12 +3463,11 @@ export interface DeleteHoldRequest {
3480
3463
  holdAfter?: string;
3481
3464
  }
3482
3465
 
3483
- export const DeleteHoldRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3484
- () =>
3485
- Schema.Struct({
3486
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3487
- holdAfter: Schema.optional(Schema.String).pipe(T.HttpQuery("hold_after")),
3488
- }).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/hold" })),
3466
+ export const DeleteHoldRequest = /*@__PURE__*/ Schema.suspend(() =>
3467
+ Schema.Struct({
3468
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3469
+ holdAfter: Schema.optional(Schema.String).pipe(T.HttpQuery("hold_after")),
3470
+ }).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}/hold" })),
3489
3471
  ) as unknown as Schema.Codec<DeleteHoldRequest>;
3490
3472
 
3491
3473
  export interface DeleteHoldResponse {
@@ -3494,23 +3476,22 @@ export interface DeleteHoldResponse {
3494
3476
  includeSubdomains?: unknown | null;
3495
3477
  }
3496
3478
 
3497
- export const DeleteHoldResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3498
- () =>
3499
- Schema.Struct({
3500
- hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3501
- holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3502
- includeSubdomains: Schema.optional(
3503
- Schema.Union([Schema.Unknown, Schema.Null]),
3504
- ),
3505
- })
3506
- .pipe(
3507
- Schema.encodeKeys({
3508
- hold: "hold",
3509
- holdAfter: "hold_after",
3510
- includeSubdomains: "include_subdomains",
3511
- }),
3512
- )
3513
- .pipe(T.ResponsePath("result")),
3479
+ export const DeleteHoldResponse = /*@__PURE__*/ Schema.suspend(() =>
3480
+ Schema.Struct({
3481
+ hold: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
3482
+ holdAfter: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3483
+ includeSubdomains: Schema.optional(
3484
+ Schema.Union([Schema.Unknown, Schema.Null]),
3485
+ ),
3486
+ })
3487
+ .pipe(
3488
+ Schema.encodeKeys({
3489
+ hold: "hold",
3490
+ holdAfter: "hold_after",
3491
+ includeSubdomains: "include_subdomains",
3492
+ }),
3493
+ )
3494
+ .pipe(T.ResponsePath("result")),
3514
3495
  ) as unknown as Schema.Codec<DeleteHoldResponse>;
3515
3496
 
3516
3497
  export type DeleteHoldError = DefaultErrors | InvalidZoneIdentifier | Forbidden;
@@ -3520,7 +3501,7 @@ export const deleteHold: API.OperationMethod<
3520
3501
  DeleteHoldResponse,
3521
3502
  DeleteHoldError,
3522
3503
  Credentials | HttpClient.HttpClient
3523
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3504
+ > = /*@__PURE__*/ API.make(() => ({
3524
3505
  input: DeleteHoldRequest,
3525
3506
  output: DeleteHoldResponse,
3526
3507
  errors: [InvalidZoneIdentifier, Forbidden],
@@ -3536,7 +3517,7 @@ export interface GetPlanRequest {
3536
3517
  zoneId: string;
3537
3518
  }
3538
3519
 
3539
- export const GetPlanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3520
+ export const GetPlanRequest = /*@__PURE__*/ Schema.suspend(() =>
3540
3521
  Schema.Struct({
3541
3522
  planIdentifier: Schema.String.pipe(T.HttpPath("planIdentifier")),
3542
3523
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
@@ -3577,7 +3558,7 @@ export interface GetPlanResponse {
3577
3558
  price?: number | null;
3578
3559
  }
3579
3560
 
3580
- export const GetPlanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3561
+ export const GetPlanResponse = /*@__PURE__*/ Schema.suspend(() =>
3581
3562
  Schema.Struct({
3582
3563
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
3583
3564
  canSubscribe: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
@@ -3626,7 +3607,7 @@ export const getPlan: API.OperationMethod<
3626
3607
  GetPlanResponse,
3627
3608
  GetPlanError,
3628
3609
  Credentials | HttpClient.HttpClient
3629
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3610
+ > = /*@__PURE__*/ API.make(() => ({
3630
3611
  input: GetPlanRequest,
3631
3612
  output: GetPlanResponse,
3632
3613
  errors: [],
@@ -3637,7 +3618,7 @@ export interface ListPlansRequest {
3637
3618
  zoneId: string;
3638
3619
  }
3639
3620
 
3640
- export const ListPlansRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
3621
+ export const ListPlansRequest = /*@__PURE__*/ Schema.suspend(() =>
3641
3622
  Schema.Struct({
3642
3623
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3643
3624
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/available_plans" })),
@@ -3664,11 +3645,10 @@ export interface ListPlansResponse {
3664
3645
  }[];
3665
3646
  }
3666
3647
 
3667
- export const ListPlansResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3668
- () =>
3669
- Schema.Struct({
3670
- result: Schema.Array(ListPlansResponseResult),
3671
- }),
3648
+ export const ListPlansResponse = /*@__PURE__*/ Schema.suspend(() =>
3649
+ Schema.Struct({
3650
+ result: Schema.Array(ListPlansResponseResult),
3651
+ }),
3672
3652
  ) as unknown as Schema.Codec<ListPlansResponse>;
3673
3653
 
3674
3654
  export type ListPlansError = DefaultErrors;
@@ -3678,7 +3658,7 @@ export const listPlans: API.PaginatedOperationMethod<
3678
3658
  ListPlansResponse,
3679
3659
  ListPlansError,
3680
3660
  Credentials | HttpClient.HttpClient
3681
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3661
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3682
3662
  input: ListPlansRequest,
3683
3663
  output: ListPlansResponse,
3684
3664
  errors: [],
@@ -3696,14 +3676,13 @@ export interface GetRatePlanRequest {
3696
3676
  /** Identifier */
3697
3677
  zoneId: string;
3698
3678
  }
3699
-
3700
- export const GetRatePlanRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3701
- () =>
3702
- Schema.Struct({
3703
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3704
- }).pipe(
3705
- T.Http({ method: "GET", path: "/zones/{zone_id}/available_rate_plans" }),
3706
- ),
3679
+
3680
+ export const GetRatePlanRequest = /*@__PURE__*/ Schema.suspend(() =>
3681
+ Schema.Struct({
3682
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3683
+ }).pipe(
3684
+ T.Http({ method: "GET", path: "/zones/{zone_id}/available_rate_plans" }),
3685
+ ),
3707
3686
  ) as unknown as Schema.Codec<GetRatePlanRequest>;
3708
3687
 
3709
3688
  export interface GetRatePlanResponse {
@@ -3735,11 +3714,10 @@ export interface GetRatePlanResponse {
3735
3714
  }[];
3736
3715
  }
3737
3716
 
3738
- export const GetRatePlanResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3739
- () =>
3740
- Schema.Struct({
3741
- result: Schema.Array(GetRatePlanResponseResult),
3742
- }),
3717
+ export const GetRatePlanResponse = /*@__PURE__*/ Schema.suspend(() =>
3718
+ Schema.Struct({
3719
+ result: Schema.Array(GetRatePlanResponseResult),
3720
+ }),
3743
3721
  ) as unknown as Schema.Codec<GetRatePlanResponse>;
3744
3722
 
3745
3723
  export type GetRatePlanError = DefaultErrors;
@@ -3749,7 +3727,7 @@ export const getRatePlan: API.PaginatedOperationMethod<
3749
3727
  GetRatePlanResponse,
3750
3728
  GetRatePlanError,
3751
3729
  Credentials | HttpClient.HttpClient
3752
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
3730
+ > = /*@__PURE__*/ API.makePaginated(() => ({
3753
3731
  input: GetRatePlanRequest,
3754
3732
  output: GetRatePlanResponse,
3755
3733
  errors: [],
@@ -3769,14 +3747,13 @@ export interface GetSettingRequest {
3769
3747
  zoneId: string;
3770
3748
  }
3771
3749
 
3772
- export const GetSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
3773
- () =>
3774
- Schema.Struct({
3775
- settingId: Schema.String.pipe(T.HttpPath("settingId")),
3776
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3777
- }).pipe(
3778
- T.Http({ method: "GET", path: "/zones/{zone_id}/settings/{settingId}" }),
3779
- ),
3750
+ export const GetSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
3751
+ Schema.Struct({
3752
+ settingId: Schema.String.pipe(T.HttpPath("settingId")),
3753
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
3754
+ }).pipe(
3755
+ T.Http({ method: "GET", path: "/zones/{zone_id}/settings/{settingId}" }),
3756
+ ),
3780
3757
  ) as unknown as Schema.Codec<GetSettingRequest>;
3781
3758
 
3782
3759
  export type GetSettingResponse =
@@ -4230,73 +4207,72 @@ export type GetSettingResponse =
4230
4207
  modifiedOn?: string | null;
4231
4208
  };
4232
4209
 
4233
- export const GetSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4234
- () =>
4235
- Schema.Union([
4236
- ZeroRTT,
4237
- AdvancedDDoS,
4238
- AlwaysOnline,
4239
- ZonesSchemasAlwaysUseHTTPS,
4240
- ZonesSchemasAutomaticHTTPSRewrites,
4241
- Brotli,
4242
- ZonesSchemasBrowserCacheTTL,
4243
- ZonesSchemasBrowserCheck,
4244
- ZonesSchemasCacheLevel,
4245
- ChallengeTTL,
4246
- ZonesChinaNetworkEnabled,
4247
- ZonesContentConverter,
4248
- Ciphers,
4249
- ZonesCNAMEFlattening,
4250
- DevelopmentMode,
4251
- EarlyHints,
4252
- ZonesSchemasEdgeCacheTTL,
4253
- ZonesSchemasEmailObfuscation,
4254
- H2Prioritization,
4255
- HotlinkProtection,
4256
- Http2,
4257
- Http3,
4258
- ImageResizing,
4259
- ZonesSchemasIPGeolocation,
4260
- Ipv6,
4261
- ZonesMaxUpload,
4262
- MinTLSVersion,
4263
- ZonesSchemasMirage,
4264
- Nel,
4265
- ZonesSchemasOpportunisticEncryption,
4266
- OpportunisticOnion,
4267
- OrangeToOrange,
4268
- ZonesSchemasOriginErrorPagePassThru,
4269
- ZonesSchemasPolish,
4270
- PrefetchPreload,
4271
- ZonesPrivacyPass,
4272
- ProxyReadTimeout,
4273
- PseudoIPV4,
4274
- ZonesRedirectsForAITraining,
4275
- ZonesReplaceInsecureJS,
4276
- ZonesSchemasResponseBuffering,
4277
- ZonesSchemasRocketLoader,
4278
- ZonesSchemasAutomaticPlatformOptimization,
4279
- ZonesSearchForAgents,
4280
- SecurityHeaders,
4281
- ZonesSchemasSecurityLevel,
4282
- ServerSideExcludes,
4283
- ZonesSha1Support,
4284
- ZonesSchemasSortQueryStringForCache,
4285
- ZonesSchemasSSL,
4286
- ZonesTLS12Only,
4287
- Tls13,
4288
- TlsclientAuth,
4289
- ZonesTransformations,
4290
- ZonesTransformationsAllowedOrigins,
4291
- ZonesSchemasTrueClientIPHeader,
4292
- ZonesSchemasWAF,
4293
- WebP,
4294
- Websocket,
4295
- ZonesCacheRulesAegis,
4296
- ZonesCacheRulesOriginH2MaxStreams,
4297
- ZonesCacheRulesOriginMaxHTTPVersion,
4298
- Sslrecommender,
4299
- ]).pipe(T.ResponsePath("result")),
4210
+ export const GetSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
4211
+ Schema.Union([
4212
+ ZeroRTT,
4213
+ AdvancedDDoS,
4214
+ AlwaysOnline,
4215
+ ZonesSchemasAlwaysUseHTTPS,
4216
+ ZonesSchemasAutomaticHTTPSRewrites,
4217
+ Brotli,
4218
+ ZonesSchemasBrowserCacheTTL,
4219
+ ZonesSchemasBrowserCheck,
4220
+ ZonesSchemasCacheLevel,
4221
+ ChallengeTTL,
4222
+ ZonesChinaNetworkEnabled,
4223
+ ZonesContentConverter,
4224
+ Ciphers,
4225
+ ZonesCNAMEFlattening,
4226
+ DevelopmentMode,
4227
+ EarlyHints,
4228
+ ZonesSchemasEdgeCacheTTL,
4229
+ ZonesSchemasEmailObfuscation,
4230
+ H2Prioritization,
4231
+ HotlinkProtection,
4232
+ Http2,
4233
+ Http3,
4234
+ ImageResizing,
4235
+ ZonesSchemasIPGeolocation,
4236
+ Ipv6,
4237
+ ZonesMaxUpload,
4238
+ MinTLSVersion,
4239
+ ZonesSchemasMirage,
4240
+ Nel,
4241
+ ZonesSchemasOpportunisticEncryption,
4242
+ OpportunisticOnion,
4243
+ OrangeToOrange,
4244
+ ZonesSchemasOriginErrorPagePassThru,
4245
+ ZonesSchemasPolish,
4246
+ PrefetchPreload,
4247
+ ZonesPrivacyPass,
4248
+ ProxyReadTimeout,
4249
+ PseudoIPV4,
4250
+ ZonesRedirectsForAITraining,
4251
+ ZonesReplaceInsecureJS,
4252
+ ZonesSchemasResponseBuffering,
4253
+ ZonesSchemasRocketLoader,
4254
+ ZonesSchemasAutomaticPlatformOptimization,
4255
+ ZonesSearchForAgents,
4256
+ SecurityHeaders,
4257
+ ZonesSchemasSecurityLevel,
4258
+ ServerSideExcludes,
4259
+ ZonesSha1Support,
4260
+ ZonesSchemasSortQueryStringForCache,
4261
+ ZonesSchemasSSL,
4262
+ ZonesTLS12Only,
4263
+ Tls13,
4264
+ TlsclientAuth,
4265
+ ZonesTransformations,
4266
+ ZonesTransformationsAllowedOrigins,
4267
+ ZonesSchemasTrueClientIPHeader,
4268
+ ZonesSchemasWAF,
4269
+ WebP,
4270
+ Websocket,
4271
+ ZonesCacheRulesAegis,
4272
+ ZonesCacheRulesOriginH2MaxStreams,
4273
+ ZonesCacheRulesOriginMaxHTTPVersion,
4274
+ Sslrecommender,
4275
+ ]).pipe(T.ResponsePath("result")),
4300
4276
  ) as unknown as Schema.Codec<GetSettingResponse>;
4301
4277
 
4302
4278
  export type GetSettingError = DefaultErrors | InvalidZoneIdentifier | Forbidden;
@@ -4306,7 +4282,7 @@ export const getSetting: API.OperationMethod<
4306
4282
  GetSettingResponse,
4307
4283
  GetSettingError,
4308
4284
  Credentials | HttpClient.HttpClient
4309
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4285
+ > = /*@__PURE__*/ API.make(() => ({
4310
4286
  input: GetSettingRequest,
4311
4287
  output: GetSettingResponse,
4312
4288
  errors: [InvalidZoneIdentifier, Forbidden],
@@ -4322,19 +4298,18 @@ export interface PatchSettingRequest {
4322
4298
  value?: unknown;
4323
4299
  }
4324
4300
 
4325
- export const PatchSettingRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4326
- () =>
4327
- Schema.Struct({
4328
- settingId: Schema.String.pipe(T.HttpPath("settingId")),
4329
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4330
- enabled: Schema.optional(Schema.Boolean),
4331
- value: Schema.optional(Schema.Unknown),
4332
- }).pipe(
4333
- T.Http({
4334
- method: "PATCH",
4335
- path: "/zones/{zone_id}/settings/{settingId}",
4336
- }),
4337
- ),
4301
+ export const PatchSettingRequest = /*@__PURE__*/ Schema.suspend(() =>
4302
+ Schema.Struct({
4303
+ settingId: Schema.String.pipe(T.HttpPath("settingId")),
4304
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4305
+ enabled: Schema.optional(Schema.Boolean),
4306
+ value: Schema.optional(Schema.Unknown),
4307
+ }).pipe(
4308
+ T.Http({
4309
+ method: "PATCH",
4310
+ path: "/zones/{zone_id}/settings/{settingId}",
4311
+ }),
4312
+ ),
4338
4313
  ) as unknown as Schema.Codec<PatchSettingRequest>;
4339
4314
 
4340
4315
  export type PatchSettingResponse =
@@ -4788,73 +4763,72 @@ export type PatchSettingResponse =
4788
4763
  modifiedOn?: string | null;
4789
4764
  };
4790
4765
 
4791
- export const PatchSettingResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
4792
- () =>
4793
- Schema.Union([
4794
- ZeroRTT,
4795
- AdvancedDDoS,
4796
- AlwaysOnline,
4797
- ZonesSchemasAlwaysUseHTTPS,
4798
- ZonesSchemasAutomaticHTTPSRewrites,
4799
- Brotli,
4800
- ZonesSchemasBrowserCacheTTL,
4801
- ZonesSchemasBrowserCheck,
4802
- ZonesSchemasCacheLevel,
4803
- ChallengeTTL,
4804
- ZonesChinaNetworkEnabled,
4805
- ZonesContentConverter,
4806
- Ciphers,
4807
- ZonesCNAMEFlattening,
4808
- DevelopmentMode,
4809
- EarlyHints,
4810
- ZonesSchemasEdgeCacheTTL,
4811
- ZonesSchemasEmailObfuscation,
4812
- H2Prioritization,
4813
- HotlinkProtection,
4814
- Http2,
4815
- Http3,
4816
- ImageResizing,
4817
- ZonesSchemasIPGeolocation,
4818
- Ipv6,
4819
- ZonesMaxUpload,
4820
- MinTLSVersion,
4821
- ZonesSchemasMirage,
4822
- Nel,
4823
- ZonesSchemasOpportunisticEncryption,
4824
- OpportunisticOnion,
4825
- OrangeToOrange,
4826
- ZonesSchemasOriginErrorPagePassThru,
4827
- ZonesSchemasPolish,
4828
- PrefetchPreload,
4829
- ZonesPrivacyPass,
4830
- ProxyReadTimeout,
4831
- PseudoIPV4,
4832
- ZonesRedirectsForAITraining,
4833
- ZonesReplaceInsecureJS,
4834
- ZonesSchemasResponseBuffering,
4835
- ZonesSchemasRocketLoader,
4836
- ZonesSchemasAutomaticPlatformOptimization,
4837
- ZonesSearchForAgents,
4838
- SecurityHeaders,
4839
- ZonesSchemasSecurityLevel,
4840
- ServerSideExcludes,
4841
- ZonesSha1Support,
4842
- ZonesSchemasSortQueryStringForCache,
4843
- ZonesSchemasSSL,
4844
- ZonesTLS12Only,
4845
- Tls13,
4846
- TlsclientAuth,
4847
- ZonesTransformations,
4848
- ZonesTransformationsAllowedOrigins,
4849
- ZonesSchemasTrueClientIPHeader,
4850
- ZonesSchemasWAF,
4851
- WebP,
4852
- Websocket,
4853
- ZonesCacheRulesAegis,
4854
- ZonesCacheRulesOriginH2MaxStreams,
4855
- ZonesCacheRulesOriginMaxHTTPVersion,
4856
- Sslrecommender,
4857
- ]).pipe(T.ResponsePath("result")),
4766
+ export const PatchSettingResponse = /*@__PURE__*/ Schema.suspend(() =>
4767
+ Schema.Union([
4768
+ ZeroRTT,
4769
+ AdvancedDDoS,
4770
+ AlwaysOnline,
4771
+ ZonesSchemasAlwaysUseHTTPS,
4772
+ ZonesSchemasAutomaticHTTPSRewrites,
4773
+ Brotli,
4774
+ ZonesSchemasBrowserCacheTTL,
4775
+ ZonesSchemasBrowserCheck,
4776
+ ZonesSchemasCacheLevel,
4777
+ ChallengeTTL,
4778
+ ZonesChinaNetworkEnabled,
4779
+ ZonesContentConverter,
4780
+ Ciphers,
4781
+ ZonesCNAMEFlattening,
4782
+ DevelopmentMode,
4783
+ EarlyHints,
4784
+ ZonesSchemasEdgeCacheTTL,
4785
+ ZonesSchemasEmailObfuscation,
4786
+ H2Prioritization,
4787
+ HotlinkProtection,
4788
+ Http2,
4789
+ Http3,
4790
+ ImageResizing,
4791
+ ZonesSchemasIPGeolocation,
4792
+ Ipv6,
4793
+ ZonesMaxUpload,
4794
+ MinTLSVersion,
4795
+ ZonesSchemasMirage,
4796
+ Nel,
4797
+ ZonesSchemasOpportunisticEncryption,
4798
+ OpportunisticOnion,
4799
+ OrangeToOrange,
4800
+ ZonesSchemasOriginErrorPagePassThru,
4801
+ ZonesSchemasPolish,
4802
+ PrefetchPreload,
4803
+ ZonesPrivacyPass,
4804
+ ProxyReadTimeout,
4805
+ PseudoIPV4,
4806
+ ZonesRedirectsForAITraining,
4807
+ ZonesReplaceInsecureJS,
4808
+ ZonesSchemasResponseBuffering,
4809
+ ZonesSchemasRocketLoader,
4810
+ ZonesSchemasAutomaticPlatformOptimization,
4811
+ ZonesSearchForAgents,
4812
+ SecurityHeaders,
4813
+ ZonesSchemasSecurityLevel,
4814
+ ServerSideExcludes,
4815
+ ZonesSha1Support,
4816
+ ZonesSchemasSortQueryStringForCache,
4817
+ ZonesSchemasSSL,
4818
+ ZonesTLS12Only,
4819
+ Tls13,
4820
+ TlsclientAuth,
4821
+ ZonesTransformations,
4822
+ ZonesTransformationsAllowedOrigins,
4823
+ ZonesSchemasTrueClientIPHeader,
4824
+ ZonesSchemasWAF,
4825
+ WebP,
4826
+ Websocket,
4827
+ ZonesCacheRulesAegis,
4828
+ ZonesCacheRulesOriginH2MaxStreams,
4829
+ ZonesCacheRulesOriginMaxHTTPVersion,
4830
+ Sslrecommender,
4831
+ ]).pipe(T.ResponsePath("result")),
4858
4832
  ) as unknown as Schema.Codec<PatchSettingResponse>;
4859
4833
 
4860
4834
  export type PatchSettingError =
@@ -4867,7 +4841,7 @@ export const patchSetting: API.OperationMethod<
4867
4841
  PatchSettingResponse,
4868
4842
  PatchSettingError,
4869
4843
  Credentials | HttpClient.HttpClient
4870
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4844
+ > = /*@__PURE__*/ API.make(() => ({
4871
4845
  input: PatchSettingRequest,
4872
4846
  output: PatchSettingResponse,
4873
4847
  errors: [InvalidZoneIdentifier, Forbidden],
@@ -4883,7 +4857,7 @@ export interface GetSubscriptionRequest {
4883
4857
  }
4884
4858
 
4885
4859
  export const GetSubscriptionRequest =
4886
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4860
+ /*@__PURE__*/ Schema.suspend(() =>
4887
4861
  Schema.Struct({
4888
4862
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
4889
4863
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}/subscription" })),
@@ -4945,7 +4919,7 @@ export interface GetSubscriptionResponse {
4945
4919
  }
4946
4920
 
4947
4921
  export const GetSubscriptionResponse =
4948
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
4922
+ /*@__PURE__*/ Schema.suspend(() =>
4949
4923
  Schema.Struct({
4950
4924
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
4951
4925
  currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -5012,7 +4986,7 @@ export const getSubscription: API.OperationMethod<
5012
4986
  GetSubscriptionResponse,
5013
4987
  GetSubscriptionError,
5014
4988
  Credentials | HttpClient.HttpClient
5015
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4989
+ > = /*@__PURE__*/ API.make(() => ({
5016
4990
  input: GetSubscriptionRequest,
5017
4991
  output: GetSubscriptionResponse,
5018
4992
  errors: [],
@@ -5047,7 +5021,7 @@ export interface CreateSubscriptionRequest {
5047
5021
  }
5048
5022
 
5049
5023
  export const CreateSubscriptionRequest =
5050
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5024
+ /*@__PURE__*/ Schema.suspend(() =>
5051
5025
  Schema.Struct({
5052
5026
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
5053
5027
  frequency: Schema.optional(
@@ -5119,7 +5093,7 @@ export interface CreateSubscriptionResponse {
5119
5093
  }
5120
5094
 
5121
5095
  export const CreateSubscriptionResponse =
5122
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5096
+ /*@__PURE__*/ Schema.suspend(() =>
5123
5097
  Schema.Struct({
5124
5098
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5125
5099
  currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -5186,7 +5160,7 @@ export const createSubscription: API.OperationMethod<
5186
5160
  CreateSubscriptionResponse,
5187
5161
  CreateSubscriptionError,
5188
5162
  Credentials | HttpClient.HttpClient
5189
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5163
+ > = /*@__PURE__*/ API.make(() => ({
5190
5164
  input: CreateSubscriptionRequest,
5191
5165
  output: CreateSubscriptionResponse,
5192
5166
  errors: [],
@@ -5221,7 +5195,7 @@ export interface UpdateSubscriptionRequest {
5221
5195
  }
5222
5196
 
5223
5197
  export const UpdateSubscriptionRequest =
5224
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5198
+ /*@__PURE__*/ Schema.suspend(() =>
5225
5199
  Schema.Struct({
5226
5200
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
5227
5201
  frequency: Schema.optional(
@@ -5293,7 +5267,7 @@ export interface UpdateSubscriptionResponse {
5293
5267
  }
5294
5268
 
5295
5269
  export const UpdateSubscriptionResponse =
5296
- /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5270
+ /*@__PURE__*/ Schema.suspend(() =>
5297
5271
  Schema.Struct({
5298
5272
  id: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5299
5273
  currency: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
@@ -5360,7 +5334,7 @@ export const updateSubscription: API.OperationMethod<
5360
5334
  UpdateSubscriptionResponse,
5361
5335
  UpdateSubscriptionError,
5362
5336
  Credentials | HttpClient.HttpClient
5363
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5337
+ > = /*@__PURE__*/ API.make(() => ({
5364
5338
  input: UpdateSubscriptionRequest,
5365
5339
  output: UpdateSubscriptionResponse,
5366
5340
  errors: [],
@@ -5375,7 +5349,7 @@ export interface GetZoneRequest {
5375
5349
  zoneId: string;
5376
5350
  }
5377
5351
 
5378
- export const GetZoneRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5352
+ export const GetZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
5379
5353
  Schema.Struct({
5380
5354
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
5381
5355
  }).pipe(T.Http({ method: "GET", path: "/zones/{zone_id}" })),
@@ -5455,7 +5429,7 @@ export interface GetZoneResponse {
5455
5429
  verificationKey?: string | null;
5456
5430
  }
5457
5431
 
5458
- export const GetZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5432
+ export const GetZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
5459
5433
  Schema.Struct({
5460
5434
  id: Schema.String,
5461
5435
  account: Account,
@@ -5543,7 +5517,7 @@ export const getZone: API.OperationMethod<
5543
5517
  GetZoneResponse,
5544
5518
  GetZoneError,
5545
5519
  Credentials | HttpClient.HttpClient
5546
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5520
+ > = /*@__PURE__*/ API.make(() => ({
5547
5521
  input: GetZoneRequest,
5548
5522
  output: GetZoneResponse,
5549
5523
  errors: [InvalidZoneIdentifier],
@@ -5573,7 +5547,7 @@ export interface ListZonesRequest {
5573
5547
  type?: ("full" | "partial" | "secondary" | "internal" | (string & {}))[];
5574
5548
  }
5575
5549
 
5576
- export const ListZonesRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5550
+ export const ListZonesRequest = /*@__PURE__*/ Schema.suspend(() =>
5577
5551
  Schema.Struct({
5578
5552
  page: Schema.optional(Schema.Number).pipe(T.HttpQuery("page")),
5579
5553
  perPage: Schema.optional(Schema.Number).pipe(T.HttpQuery("per_page")),
@@ -5678,14 +5652,13 @@ export interface ListZonesResponse {
5678
5652
  } | null;
5679
5653
  }
5680
5654
 
5681
- export const ListZonesResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5682
- () =>
5683
- Schema.Struct({
5684
- result: Schema.Array(ListZonesResponseResult),
5685
- resultInfo: Schema.optional(
5686
- Schema.Union([ListZonesResponseResultInfo, Schema.Null]),
5687
- ),
5688
- }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
5655
+ export const ListZonesResponse = /*@__PURE__*/ Schema.suspend(() =>
5656
+ Schema.Struct({
5657
+ result: Schema.Array(ListZonesResponseResult),
5658
+ resultInfo: Schema.optional(
5659
+ Schema.Union([ListZonesResponseResultInfo, Schema.Null]),
5660
+ ),
5661
+ }).pipe(Schema.encodeKeys({ result: "result", resultInfo: "result_info" })),
5689
5662
  ) as unknown as Schema.Codec<ListZonesResponse>;
5690
5663
 
5691
5664
  export type ListZonesError = DefaultErrors;
@@ -5695,7 +5668,7 @@ export const listZones: API.PaginatedOperationMethod<
5695
5668
  ListZonesResponse,
5696
5669
  ListZonesError,
5697
5670
  Credentials | HttpClient.HttpClient
5698
- > = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
5671
+ > = /*@__PURE__*/ API.makePaginated(() => ({
5699
5672
  input: ListZonesRequest,
5700
5673
  output: ListZonesResponse,
5701
5674
  errors: [],
@@ -5716,18 +5689,17 @@ export interface CreateZoneRequest {
5716
5689
  type?: "full" | "partial" | "secondary" | "internal" | (string & {});
5717
5690
  }
5718
5691
 
5719
- export const CreateZoneRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5720
- () =>
5721
- Schema.Struct({
5722
- account: TenantUnit,
5723
- name: Schema.String,
5724
- type: Schema.optional(
5725
- Schema.Union([
5726
- Schema.Literals(["full", "partial", "secondary", "internal"]),
5727
- Schema.String,
5728
- ]),
5729
- ),
5730
- }).pipe(T.Http({ method: "POST", path: "/zones" })),
5692
+ export const CreateZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
5693
+ Schema.Struct({
5694
+ account: TenantUnit,
5695
+ name: Schema.String,
5696
+ type: Schema.optional(
5697
+ Schema.Union([
5698
+ Schema.Literals(["full", "partial", "secondary", "internal"]),
5699
+ Schema.String,
5700
+ ]),
5701
+ ),
5702
+ }).pipe(T.Http({ method: "POST", path: "/zones" })),
5731
5703
  ) as unknown as Schema.Codec<CreateZoneRequest>;
5732
5704
 
5733
5705
  export interface CreateZoneResponse {
@@ -5804,86 +5776,85 @@ export interface CreateZoneResponse {
5804
5776
  verificationKey?: string | null;
5805
5777
  }
5806
5778
 
5807
- export const CreateZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
5808
- () =>
5809
- Schema.Struct({
5810
- id: Schema.String,
5811
- account: Account,
5812
- activatedOn: Schema.Union([Schema.String, Schema.Null]),
5813
- createdOn: Schema.String,
5814
- developmentMode: Schema.Number,
5815
- meta: Meta,
5816
- modifiedOn: Schema.String,
5817
- name: Schema.String,
5818
- nameServers: Schema.Array(Schema.String),
5819
- originalDnshost: Schema.Union([Schema.String, Schema.Null]),
5820
- originalNameServers: Schema.Union([
5821
- Schema.Array(Schema.String),
5822
- Schema.Null,
5823
- ]),
5824
- originalRegistrar: Schema.Union([Schema.String, Schema.Null]),
5825
- owner: Owner,
5826
- plan: Plan,
5827
- cnameSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5828
- paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
5829
- permissions: Schema.optional(
5830
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5831
- ),
5832
- status: Schema.optional(
5779
+ export const CreateZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
5780
+ Schema.Struct({
5781
+ id: Schema.String,
5782
+ account: Account,
5783
+ activatedOn: Schema.Union([Schema.String, Schema.Null]),
5784
+ createdOn: Schema.String,
5785
+ developmentMode: Schema.Number,
5786
+ meta: Meta,
5787
+ modifiedOn: Schema.String,
5788
+ name: Schema.String,
5789
+ nameServers: Schema.Array(Schema.String),
5790
+ originalDnshost: Schema.Union([Schema.String, Schema.Null]),
5791
+ originalNameServers: Schema.Union([
5792
+ Schema.Array(Schema.String),
5793
+ Schema.Null,
5794
+ ]),
5795
+ originalRegistrar: Schema.Union([Schema.String, Schema.Null]),
5796
+ owner: Owner,
5797
+ plan: Plan,
5798
+ cnameSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
5799
+ paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
5800
+ permissions: Schema.optional(
5801
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5802
+ ),
5803
+ status: Schema.optional(
5804
+ Schema.Union([
5833
5805
  Schema.Union([
5834
- Schema.Union([
5835
- Schema.Literals(["initializing", "pending", "active", "moved"]),
5836
- Schema.String,
5837
- ]),
5838
- Schema.Null,
5806
+ Schema.Literals(["initializing", "pending", "active", "moved"]),
5807
+ Schema.String,
5839
5808
  ]),
5840
- ),
5841
- tenant: Schema.optional(Schema.Union([Account, Schema.Null])),
5842
- tenantUnit: Schema.optional(Schema.Union([TenantUnit, Schema.Null])),
5843
- type: Schema.optional(
5809
+ Schema.Null,
5810
+ ]),
5811
+ ),
5812
+ tenant: Schema.optional(Schema.Union([Account, Schema.Null])),
5813
+ tenantUnit: Schema.optional(Schema.Union([TenantUnit, Schema.Null])),
5814
+ type: Schema.optional(
5815
+ Schema.Union([
5844
5816
  Schema.Union([
5845
- Schema.Union([
5846
- Schema.Literals(["full", "partial", "secondary", "internal"]),
5847
- Schema.String,
5848
- ]),
5849
- Schema.Null,
5817
+ Schema.Literals(["full", "partial", "secondary", "internal"]),
5818
+ Schema.String,
5850
5819
  ]),
5851
- ),
5852
- vanityNameServers: Schema.optional(
5853
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5854
- ),
5855
- verificationKey: Schema.optional(
5856
- Schema.Union([Schema.String, Schema.Null]),
5857
- ),
5858
- })
5859
- .pipe(
5860
- Schema.encodeKeys({
5861
- id: "id",
5862
- account: "account",
5863
- activatedOn: "activated_on",
5864
- createdOn: "created_on",
5865
- developmentMode: "development_mode",
5866
- meta: "meta",
5867
- modifiedOn: "modified_on",
5868
- name: "name",
5869
- nameServers: "name_servers",
5870
- originalDnshost: "original_dnshost",
5871
- originalNameServers: "original_name_servers",
5872
- originalRegistrar: "original_registrar",
5873
- owner: "owner",
5874
- plan: "plan",
5875
- cnameSuffix: "cname_suffix",
5876
- paused: "paused",
5877
- permissions: "permissions",
5878
- status: "status",
5879
- tenant: "tenant",
5880
- tenantUnit: "tenant_unit",
5881
- type: "type",
5882
- vanityNameServers: "vanity_name_servers",
5883
- verificationKey: "verification_key",
5884
- }),
5885
- )
5886
- .pipe(T.ResponsePath("result")),
5820
+ Schema.Null,
5821
+ ]),
5822
+ ),
5823
+ vanityNameServers: Schema.optional(
5824
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
5825
+ ),
5826
+ verificationKey: Schema.optional(
5827
+ Schema.Union([Schema.String, Schema.Null]),
5828
+ ),
5829
+ })
5830
+ .pipe(
5831
+ Schema.encodeKeys({
5832
+ id: "id",
5833
+ account: "account",
5834
+ activatedOn: "activated_on",
5835
+ createdOn: "created_on",
5836
+ developmentMode: "development_mode",
5837
+ meta: "meta",
5838
+ modifiedOn: "modified_on",
5839
+ name: "name",
5840
+ nameServers: "name_servers",
5841
+ originalDnshost: "original_dnshost",
5842
+ originalNameServers: "original_name_servers",
5843
+ originalRegistrar: "original_registrar",
5844
+ owner: "owner",
5845
+ plan: "plan",
5846
+ cnameSuffix: "cname_suffix",
5847
+ paused: "paused",
5848
+ permissions: "permissions",
5849
+ status: "status",
5850
+ tenant: "tenant",
5851
+ tenantUnit: "tenant_unit",
5852
+ type: "type",
5853
+ vanityNameServers: "vanity_name_servers",
5854
+ verificationKey: "verification_key",
5855
+ }),
5856
+ )
5857
+ .pipe(T.ResponsePath("result")),
5887
5858
  ) as unknown as Schema.Codec<CreateZoneResponse>;
5888
5859
 
5889
5860
  export type CreateZoneError =
@@ -5899,7 +5870,7 @@ export const createZone: API.OperationMethod<
5899
5870
  CreateZoneResponse,
5900
5871
  CreateZoneError,
5901
5872
  Credentials | HttpClient.HttpClient
5902
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
5873
+ > = /*@__PURE__*/ API.make(() => ({
5903
5874
  input: CreateZoneRequest,
5904
5875
  output: CreateZoneResponse,
5905
5876
  errors: [
@@ -5922,7 +5893,7 @@ export interface PatchZoneRequest {
5922
5893
  vanityNameServers?: string[];
5923
5894
  }
5924
5895
 
5925
- export const PatchZoneRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(() =>
5896
+ export const PatchZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
5926
5897
  Schema.Struct({
5927
5898
  zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
5928
5899
  paused: Schema.optional(Schema.Boolean),
@@ -6017,86 +5988,85 @@ export interface PatchZoneResponse {
6017
5988
  verificationKey?: string | null;
6018
5989
  }
6019
5990
 
6020
- export const PatchZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6021
- () =>
6022
- Schema.Struct({
6023
- id: Schema.String,
6024
- account: Account,
6025
- activatedOn: Schema.Union([Schema.String, Schema.Null]),
6026
- createdOn: Schema.String,
6027
- developmentMode: Schema.Number,
6028
- meta: Meta,
6029
- modifiedOn: Schema.String,
6030
- name: Schema.String,
6031
- nameServers: Schema.Array(Schema.String),
6032
- originalDnshost: Schema.Union([Schema.String, Schema.Null]),
6033
- originalNameServers: Schema.Union([
6034
- Schema.Array(Schema.String),
6035
- Schema.Null,
6036
- ]),
6037
- originalRegistrar: Schema.Union([Schema.String, Schema.Null]),
6038
- owner: Owner,
6039
- plan: Plan,
6040
- cnameSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6041
- paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6042
- permissions: Schema.optional(
6043
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6044
- ),
6045
- status: Schema.optional(
5991
+ export const PatchZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
5992
+ Schema.Struct({
5993
+ id: Schema.String,
5994
+ account: Account,
5995
+ activatedOn: Schema.Union([Schema.String, Schema.Null]),
5996
+ createdOn: Schema.String,
5997
+ developmentMode: Schema.Number,
5998
+ meta: Meta,
5999
+ modifiedOn: Schema.String,
6000
+ name: Schema.String,
6001
+ nameServers: Schema.Array(Schema.String),
6002
+ originalDnshost: Schema.Union([Schema.String, Schema.Null]),
6003
+ originalNameServers: Schema.Union([
6004
+ Schema.Array(Schema.String),
6005
+ Schema.Null,
6006
+ ]),
6007
+ originalRegistrar: Schema.Union([Schema.String, Schema.Null]),
6008
+ owner: Owner,
6009
+ plan: Plan,
6010
+ cnameSuffix: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
6011
+ paused: Schema.optional(Schema.Union([Schema.Boolean, Schema.Null])),
6012
+ permissions: Schema.optional(
6013
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6014
+ ),
6015
+ status: Schema.optional(
6016
+ Schema.Union([
6046
6017
  Schema.Union([
6047
- Schema.Union([
6048
- Schema.Literals(["initializing", "pending", "active", "moved"]),
6049
- Schema.String,
6050
- ]),
6051
- Schema.Null,
6018
+ Schema.Literals(["initializing", "pending", "active", "moved"]),
6019
+ Schema.String,
6052
6020
  ]),
6053
- ),
6054
- tenant: Schema.optional(Schema.Union([Account, Schema.Null])),
6055
- tenantUnit: Schema.optional(Schema.Union([TenantUnit, Schema.Null])),
6056
- type: Schema.optional(
6021
+ Schema.Null,
6022
+ ]),
6023
+ ),
6024
+ tenant: Schema.optional(Schema.Union([Account, Schema.Null])),
6025
+ tenantUnit: Schema.optional(Schema.Union([TenantUnit, Schema.Null])),
6026
+ type: Schema.optional(
6027
+ Schema.Union([
6057
6028
  Schema.Union([
6058
- Schema.Union([
6059
- Schema.Literals(["full", "partial", "secondary", "internal"]),
6060
- Schema.String,
6061
- ]),
6062
- Schema.Null,
6029
+ Schema.Literals(["full", "partial", "secondary", "internal"]),
6030
+ Schema.String,
6063
6031
  ]),
6064
- ),
6065
- vanityNameServers: Schema.optional(
6066
- Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6067
- ),
6068
- verificationKey: Schema.optional(
6069
- Schema.Union([Schema.String, Schema.Null]),
6070
- ),
6071
- })
6072
- .pipe(
6073
- Schema.encodeKeys({
6074
- id: "id",
6075
- account: "account",
6076
- activatedOn: "activated_on",
6077
- createdOn: "created_on",
6078
- developmentMode: "development_mode",
6079
- meta: "meta",
6080
- modifiedOn: "modified_on",
6081
- name: "name",
6082
- nameServers: "name_servers",
6083
- originalDnshost: "original_dnshost",
6084
- originalNameServers: "original_name_servers",
6085
- originalRegistrar: "original_registrar",
6086
- owner: "owner",
6087
- plan: "plan",
6088
- cnameSuffix: "cname_suffix",
6089
- paused: "paused",
6090
- permissions: "permissions",
6091
- status: "status",
6092
- tenant: "tenant",
6093
- tenantUnit: "tenant_unit",
6094
- type: "type",
6095
- vanityNameServers: "vanity_name_servers",
6096
- verificationKey: "verification_key",
6097
- }),
6098
- )
6099
- .pipe(T.ResponsePath("result")),
6032
+ Schema.Null,
6033
+ ]),
6034
+ ),
6035
+ vanityNameServers: Schema.optional(
6036
+ Schema.Union([Schema.Array(Schema.String), Schema.Null]),
6037
+ ),
6038
+ verificationKey: Schema.optional(
6039
+ Schema.Union([Schema.String, Schema.Null]),
6040
+ ),
6041
+ })
6042
+ .pipe(
6043
+ Schema.encodeKeys({
6044
+ id: "id",
6045
+ account: "account",
6046
+ activatedOn: "activated_on",
6047
+ createdOn: "created_on",
6048
+ developmentMode: "development_mode",
6049
+ meta: "meta",
6050
+ modifiedOn: "modified_on",
6051
+ name: "name",
6052
+ nameServers: "name_servers",
6053
+ originalDnshost: "original_dnshost",
6054
+ originalNameServers: "original_name_servers",
6055
+ originalRegistrar: "original_registrar",
6056
+ owner: "owner",
6057
+ plan: "plan",
6058
+ cnameSuffix: "cname_suffix",
6059
+ paused: "paused",
6060
+ permissions: "permissions",
6061
+ status: "status",
6062
+ tenant: "tenant",
6063
+ tenantUnit: "tenant_unit",
6064
+ type: "type",
6065
+ vanityNameServers: "vanity_name_servers",
6066
+ verificationKey: "verification_key",
6067
+ }),
6068
+ )
6069
+ .pipe(T.ResponsePath("result")),
6100
6070
  ) as unknown as Schema.Codec<PatchZoneResponse>;
6101
6071
 
6102
6072
  export type PatchZoneError = DefaultErrors | InvalidZoneIdentifier;
@@ -6106,7 +6076,7 @@ export const patchZone: API.OperationMethod<
6106
6076
  PatchZoneResponse,
6107
6077
  PatchZoneError,
6108
6078
  Credentials | HttpClient.HttpClient
6109
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6079
+ > = /*@__PURE__*/ API.make(() => ({
6110
6080
  input: PatchZoneRequest,
6111
6081
  output: PatchZoneResponse,
6112
6082
  errors: [InvalidZoneIdentifier],
@@ -6117,11 +6087,10 @@ export interface DeleteZoneRequest {
6117
6087
  zoneId: string;
6118
6088
  }
6119
6089
 
6120
- export const DeleteZoneRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6121
- () =>
6122
- Schema.Struct({
6123
- zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
6124
- }).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}" })),
6090
+ export const DeleteZoneRequest = /*@__PURE__*/ Schema.suspend(() =>
6091
+ Schema.Struct({
6092
+ zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
6093
+ }).pipe(T.Http({ method: "DELETE", path: "/zones/{zone_id}" })),
6125
6094
  ) as unknown as Schema.Codec<DeleteZoneRequest>;
6126
6095
 
6127
6096
  export interface DeleteZoneResponse {
@@ -6129,11 +6098,10 @@ export interface DeleteZoneResponse {
6129
6098
  id: string;
6130
6099
  }
6131
6100
 
6132
- export const DeleteZoneResponse = /*@__PURE__*/ /*#__PURE__*/ Schema.suspend(
6133
- () =>
6134
- Schema.Struct({
6135
- id: Schema.String,
6136
- }).pipe(T.ResponsePath("result")),
6101
+ export const DeleteZoneResponse = /*@__PURE__*/ Schema.suspend(() =>
6102
+ Schema.Struct({
6103
+ id: Schema.String,
6104
+ }).pipe(T.ResponsePath("result")),
6137
6105
  ) as unknown as Schema.Codec<DeleteZoneResponse>;
6138
6106
 
6139
6107
  export type DeleteZoneError = DefaultErrors | InvalidZoneIdentifier;
@@ -6143,7 +6111,7 @@ export const deleteZone: API.OperationMethod<
6143
6111
  DeleteZoneResponse,
6144
6112
  DeleteZoneError,
6145
6113
  Credentials | HttpClient.HttpClient
6146
- > = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
6114
+ > = /*@__PURE__*/ API.make(() => ({
6147
6115
  input: DeleteZoneRequest,
6148
6116
  output: DeleteZoneResponse,
6149
6117
  errors: [InvalidZoneIdentifier],