cf 1.0.0-beta.17 → 1.0.0-beta.19

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 (319) hide show
  1. package/README.md +7 -0
  2. package/dist/_meta/commands.json +9122 -6086
  3. package/dist/_meta/hand-written-commands.json +6 -0
  4. package/dist/_meta/schemas.json +8392 -5576
  5. package/dist/{abuse-reports-C4LxDvUM.mjs → abuse-reports-DhgunVFo.mjs} +6 -6
  6. package/dist/{access-DnWW2AAT.mjs → access-BDoDq_WZ.mjs} +1 -1
  7. package/dist/{accounts-8UcHNm3S.mjs → accounts-DLTCzZJg.mjs} +17 -13
  8. package/dist/{acm-qRM3iy4Z.mjs → acm-DS1CosYq.mjs} +1 -1
  9. package/dist/{addressing-CAb8z2Dq.mjs → addressing-DFeYj8TY.mjs} +19 -19
  10. package/dist/{agent-memory-oIUP4ZV5.mjs → agent-memory-DXjQ8N0g.mjs} +6 -6
  11. package/dist/{ai-DnhytGdc.mjs → ai-V5YopMkS.mjs} +4 -4
  12. package/dist/{ai-audit-B7_5EOcN.mjs → ai-audit-yg8D0azz.mjs} +2 -2
  13. package/dist/{ai-gateway-b3FFu6UV.mjs → ai-gateway--dkH9qGz.mjs} +42 -42
  14. package/dist/ai-search-BRtsUaUI.mjs +79 -0
  15. package/dist/{ai-security-KUs94UW-.mjs → ai-security-DRJCcLpF.mjs} +5 -5
  16. package/dist/{alerting-CCmyEPzN.mjs → alerting-8DsyMKGG.mjs} +30 -30
  17. package/dist/{analytics-BAvBj6qx.mjs → analytics-BpYUZTtQ.mjs} +7 -7
  18. package/dist/{analytics-engine-DAJp89gM.mjs → analytics-engine-CT2E0Dkw.mjs} +1 -1
  19. package/dist/{api-security-BItVQymb.mjs → api-security-CBhWZE8z.mjs} +26 -26
  20. package/dist/{argo-DsJCvfml.mjs → argo-B0u2N3Dh.mjs} +1 -1
  21. package/dist/{artifacts-DzHXeah6.mjs → artifacts-B6XzjMiM.mjs} +1 -1
  22. package/dist/{audit-logs-D9XxsVZm.mjs → audit-logs-59fCc1aw.mjs} +1 -1
  23. package/dist/auth-5cgi8ePZ.mjs +2 -0
  24. package/dist/auth-BaUNb1Ed.mjs +2 -0
  25. package/dist/auth-ChYOc_rS.mjs +2 -0
  26. package/dist/{auth-token-Cw4c0y89.mjs → auth-token-B1pP2jaK.mjs} +1 -1
  27. package/dist/{autoconfig-9po_tqsS.mjs → autoconfig-Cdm2IFLM.mjs} +20 -20
  28. package/dist/{basin-catalog-DcMiZV9J.mjs → basin-catalog-CV05WlA4.mjs} +1 -1
  29. package/dist/{billing-COgAWTYh.mjs → billing-Ad-rK-JH.mjs} +6 -6
  30. package/dist/{blocks-Bat9A8V_.mjs → blocks-CKb_aLWN.mjs} +1 -1
  31. package/dist/body-parser-ChnyBsfm.mjs +2 -0
  32. package/dist/{bot-management-Dx3lh9Fi.mjs → bot-management-CGpfjQ4w.mjs} +4 -4
  33. package/dist/{botnet-feed-C8496Nhl.mjs → botnet-feed-CMrF6ZGq.mjs} +1 -1
  34. package/dist/{brand-protection-B0p8Sv6s.mjs → brand-protection-CP73_yX8.mjs} +5 -5
  35. package/dist/browser-run-OpUfawh_.mjs +42 -0
  36. package/dist/{build-i8l2qGVZ.mjs → build-CMPlf8mh.mjs} +1 -1
  37. package/dist/build-DQZ2w_dQ.mjs +2 -0
  38. package/dist/builds-DsRNlILV.mjs +71 -0
  39. package/dist/{cache-BUh85NRr.mjs → cache-RppXjxXA.mjs} +3 -3
  40. package/dist/{cf-Bq4pA4n6.mjs → cf-PISMdEje.mjs} +11 -11
  41. package/dist/{chunk-2HLTAS5V-D7COzUOd.mjs → chunk-2HLTAS5V-B92NbX1j.mjs} +1 -1
  42. package/dist/{chunk-2K52M2W5-CYxfQXUq.mjs → chunk-2K52M2W5-c__08AOB.mjs} +7 -7
  43. package/dist/chunk-DSGVRFIS-DfQO1boa.mjs +2 -0
  44. package/dist/{cli-DJhpXf38.mjs → cli-Dd1n2YAJ.mjs} +1 -1
  45. package/dist/{client-side-security-km3-4L_4.mjs → client-side-security-BYfwOkUo.mjs} +1 -1
  46. package/dist/{cloud-connector-BoKFprDD.mjs → cloud-connector-CQZUqAMQ.mjs} +2 -2
  47. package/dist/{cloudflared-By8BzYXc.mjs → cloudflared-C1SdXpYv.mjs} +1 -1
  48. package/dist/cloudforce-one-C1xdpspb.mjs +395 -0
  49. package/dist/{command-RC9WM5jq.mjs → command-BioiZMm9.mjs} +1 -1
  50. package/dist/{command-rx0Kb5pn.mjs → command-C0nJ2LRd.mjs} +1 -1
  51. package/dist/{command-CiApsRql.mjs → command-C5ARgURy.mjs} +1 -1
  52. package/dist/{command-CCq-Z2Ua.mjs → command-C7NIRU-u.mjs} +1 -1
  53. package/dist/{command-B694oLDo.mjs → command-C8DV-x_C.mjs} +1 -1
  54. package/dist/{command-Bmee6uwe.mjs → command-CFV1cqfR.mjs} +1 -1
  55. package/dist/{command-CbQFbfps.mjs → command-ChQXv0jP.mjs} +1 -1
  56. package/dist/{command-DCQgsd2U.mjs → command-D203VrTG.mjs} +1 -1
  57. package/dist/{command-DZfKHiru.mjs → command-D5BUzDX8.mjs} +1 -1
  58. package/dist/{command-CAs3SxlI.mjs → command-DWE7YdeC.mjs} +1 -1
  59. package/dist/{command-C6w1OdoC.mjs → command-DlB10kIb.mjs} +1 -1
  60. package/dist/{command-D1JR8Fb7.mjs → command-DmPQXNRg.mjs} +1 -1
  61. package/dist/{command-Bgb-3yPg.mjs → command-F0jlqvKr.mjs} +1 -1
  62. package/dist/{command-DppVezAB.mjs → command-FOQNhNqP.mjs} +1 -1
  63. package/dist/{command-DerHAjQL.mjs → command-yAXk5NXh.mjs} +1 -1
  64. package/dist/{completions-11latun5.mjs → completions-Bh0Hz-hA.mjs} +3 -3
  65. package/dist/{connector-interrupts-wvQcZsO1.mjs → connector-interrupts-Bd949WX0.mjs} +1 -1
  66. package/dist/{connector-telemetry-events-C0GGCIQk.mjs → connector-telemetry-events-Dw8iIg5Q.mjs} +1 -1
  67. package/dist/{connector-telemetry-snapshots-ZXzsFgea.mjs → connector-telemetry-snapshots-DqEIaz99.mjs} +1 -1
  68. package/dist/{connectors-DXIUG4Zi.mjs → connectors-RUEU1QDB.mjs} +1 -1
  69. package/dist/containers-xU-0EhLO.mjs +78 -0
  70. package/dist/{containers-WMWKhLkp.mjs → containers-yUOvm-4V.mjs} +211 -211
  71. package/dist/{content-scan-CRDmR7rD.mjs → content-scan-Cm2-Xhqo.mjs} +2 -2
  72. package/dist/{context-q-6bMSL-.mjs → context-BQ6KeMgq.mjs} +2 -2
  73. package/dist/cps-CgPduy0H.mjs +6 -0
  74. package/dist/csam-scanner-B0Ra6fXL.mjs +10 -0
  75. package/dist/{custom-csrs-BV017SqE.mjs → custom-csrs-6lfu1-RR.mjs} +1 -1
  76. package/dist/custom-hostnames-Dzov_CPw.mjs +27 -0
  77. package/dist/{custom-nameservers-BLoE8VGG.mjs → custom-nameservers-Bfhv_9_k.mjs} +1 -1
  78. package/dist/custom-pages-DxVD_f10.mjs +21 -0
  79. package/dist/{d1-Dbs8HItA.mjs → d1-D7p4uJ-e.mjs} +17 -19
  80. package/dist/delegate.mjs +1 -1
  81. package/dist/{deploy-5utIiOMN.mjs → deploy-BjWvVZol.mjs} +1 -1
  82. package/dist/deploy-context-C-ZdGP0Z.mjs +56 -0
  83. package/dist/{deploy-input-KK6yyBN_.mjs → deploy-input-B8Nq6Eh6.mjs} +1 -1
  84. package/dist/{dev-CnoMHxf4.mjs → dev-D20UkcYT.mjs} +1 -1
  85. package/dist/{diagnostics-C9B07eJY.mjs → diagnostics-DdhTemYB.mjs} +2 -2
  86. package/dist/{dialog-D4Y9ocuF.mjs → dialog-BnIgdgWi.mjs} +1 -1
  87. package/dist/discover-DEjUARkU.mjs +2 -0
  88. package/dist/{dist-DZRTPMMA.mjs → dist-CnKd5XoR.mjs} +19 -19
  89. package/dist/{dist-uRuGmkMB.mjs → dist-DAeCUX-u.mjs} +3 -3
  90. package/dist/{dls-lbM3i4x-.mjs → dls-BBODA9Rk.mjs} +1 -1
  91. package/dist/{dns-QTMPGYMa.mjs → dns-CK_hyn5q.mjs} +22 -22
  92. package/dist/{dns-firewall-Bfv0S44I.mjs → dns-firewall-DbvX9R-7.mjs} +9 -9
  93. package/dist/{docs-bV3hPwQL.mjs → docs-BDTijwM3.mjs} +1 -1
  94. package/dist/{dot-prop-IITUZ2XW-BnPfnQkb.mjs → dot-prop-IITUZ2XW-C4pkmT-K.mjs} +1 -1
  95. package/dist/{dotenv-usOKkeW7.mjs → dotenv-Ck-6V1hm.mjs} +1 -1
  96. package/dist/{dry-run-C2KjGX10.mjs → dry-run-DQmFkNK_.mjs} +1 -1
  97. package/dist/{durable-objects-0JvGTV27.mjs → durable-objects-DcFbd1Ka.mjs} +1 -1
  98. package/dist/{email-auth-PzRqG0ex.mjs → email-auth-BEgDxU-g.mjs} +1 -1
  99. package/dist/{email-routing-BgHL0Rbz.mjs → email-routing-DKWmPOVo.mjs} +13 -13
  100. package/dist/{email-security-CSTKIecn.mjs → email-security-RWbAp8qa.mjs} +44 -44
  101. package/dist/{email-sending-BSwuAir8.mjs → email-sending-BbJy_vl8.mjs} +18 -18
  102. package/dist/error-sanitization-Byb-_IS9.mjs +2 -0
  103. package/dist/{error-sanitization-pOyzm2F1.mjs → error-sanitization-DWJ5ka7h.mjs} +1 -1
  104. package/dist/{field-extractors-B_lFnwaL.mjs → field-extractors-Bob6udAc.mjs} +2 -2
  105. package/dist/{firewall-BsZxVitA.mjs → firewall-DziiEsR8.mjs} +20 -20
  106. package/dist/{flagship-qBohOZaM.mjs → flagship-xOtgddUK.mjs} +11 -11
  107. package/dist/{fraud-vGNdrSm-.mjs → fraud-BUS7i5Yh.mjs} +1 -1
  108. package/dist/generate-D6V4Q58z.mjs +2 -0
  109. package/dist/get-BTisquA3.mjs +2 -0
  110. package/dist/{google-tag-gateway-BHdOg4VW.mjs → google-tag-gateway-DgSzyeK-.mjs} +1 -1
  111. package/dist/{gt-3bcLGJ7V.mjs → gt-D6YemCLh.mjs} +1 -1
  112. package/dist/healthchecks-CbD2PsnM.mjs +22 -0
  113. package/dist/{hyperdrive-CXTqaIqk.mjs → hyperdrive-Cs_cfSXU.mjs} +1 -1
  114. package/dist/{iam-Dl_n_Lqq.mjs → iam-DvsCztqU.mjs} +9 -9
  115. package/dist/{images-vMtXk2Rf.mjs → images-BipVjHNw.mjs} +37 -37
  116. package/dist/index.mjs +1 -1
  117. package/dist/init-LvFgCsNX.mjs +43 -0
  118. package/dist/{intel-Bq4GGXv-.mjs → intel-D1LPkkBM.mjs} +31 -41
  119. package/dist/{interactive-BW9T1D1q.mjs → interactive-d_lFnSev.mjs} +3 -3
  120. package/dist/interactive-pjVqirHx.mjs +2 -0
  121. package/dist/{ips-BcvZS46g.mjs → ips-2iUGs8ws.mjs} +1 -1
  122. package/dist/{k2-DL4hrVTj.mjs → k2-DGzRm3NJ.mjs} +2 -2
  123. package/dist/{kv-BLo9wMgb.mjs → kv-BW-s9MJY.mjs} +4 -4
  124. package/dist/{lazy-command-CRcT6Dx-.mjs → lazy-command-Bq-rWPQe.mjs} +1 -1
  125. package/dist/{leaked-credential-checks-Dx4RXMyN.mjs → leaked-credential-checks-CnY6ih6p.mjs} +1 -1
  126. package/dist/load-balancers-CtnusAzP.mjs +76 -0
  127. package/dist/{local-Dil4fTWX.mjs → local-B4sZZTRA.mjs} +1 -1
  128. package/dist/local-DCnFIgLJ.mjs +2 -0
  129. package/dist/{local-runtime-B7TKFu6E.mjs → local-runtime-DoBuyriC.mjs} +1 -1
  130. package/dist/login-CqZJgUF1.mjs +5 -0
  131. package/dist/{login-Du_W6b9o.mjs → login-DR60WiAY.mjs} +1 -1
  132. package/dist/{logo-matches-C-1J0Oc3.mjs → logo-matches-C1-6KOkZ.mjs} +1 -1
  133. package/dist/{logos-BuhvSu_H.mjs → logos-Yzhd-VKb.mjs} +2 -2
  134. package/dist/logpush-JYG4gXZ-.mjs +46 -0
  135. package/dist/{logs-CaKOk-1v.mjs → logs-DLblEjK0.mjs} +3 -3
  136. package/dist/{magic-cloud-networking-CKxXYT8r.mjs → magic-cloud-networking-CblQwsQr.mjs} +13 -13
  137. package/dist/{magic-network-monitoring-BykFGQCz.mjs → magic-network-monitoring-D2px4Ep4.mjs} +9 -9
  138. package/dist/{magic-transit-DYULsrUP.mjs → magic-transit-Bnwsi0UQ.mjs} +170 -170
  139. package/dist/{managed-defense-DIb_uN25.mjs → managed-defense-CTtNoxzW.mjs} +9 -9
  140. package/dist/{managed-transforms-an3wQ0DW.mjs → managed-transforms-B92mJi5i.mjs} +2 -2
  141. package/dist/{matches-DkLSWb5X.mjs → matches-CzbL1XD-.mjs} +1 -1
  142. package/dist/{mcp-BcV1XqE8.mjs → mcp-Cic_aMer.mjs} +10 -10
  143. package/dist/{mesh-CSSlZ-0F.mjs → mesh-DZTgD16C.mjs} +14 -14
  144. package/dist/{migrate-DerOyuv2.mjs → migrate-DtNDRcAI.mjs} +1 -1
  145. package/dist/{monetization-B-nJ0SyI.mjs → monetization-DCQ2_niU.mjs} +4 -4
  146. package/dist/{network-ZzxQ_Dcz.mjs → network-BqMqD2qn.mjs} +27 -25
  147. package/dist/{network-interconnects-CI9NXQpe.mjs → network-interconnects-BFQ1yARl.mjs} +2 -2
  148. package/dist/o11y-CS5q1vSh.mjs +93 -0
  149. package/dist/oauth-DPLYUvRl.mjs +2 -0
  150. package/dist/oauth-DdYSPYoE.mjs +4 -0
  151. package/dist/{oauth-clients-BA30rTEl.mjs → oauth-clients-9BPswYm_.mjs} +1 -1
  152. package/dist/{oauth-scopes-hseWES1v.mjs → oauth-scopes-CLOKfQi2.mjs} +1 -1
  153. package/dist/{open-PCXX3ZDZ-5J5IU2MX-CKla-jDt.mjs → open-PCXX3ZDZ-5J5IU2MX-DFe2CQkm.mjs} +1 -1
  154. package/dist/{open-PCXX3ZDZ-D55O2jpQ.mjs → open-PCXX3ZDZ-BD2iNJqn.mjs} +1 -1
  155. package/dist/organization-DFRN2g6z.mjs +75 -0
  156. package/dist/{organizations-CcgZPmFl.mjs → organizations-yiGopnKf.mjs} +1 -1
  157. package/dist/{origin-post-quantum-encryption-BhdlaolV.mjs → origin-post-quantum-encryption-n9gsxikn.mjs} +1 -1
  158. package/dist/output-O6b9MR9R.mjs +2 -0
  159. package/dist/{page-rules-DFfqfllI.mjs → page-rules-F1Jdxx6A.mjs} +4 -4
  160. package/dist/pages-CezC0YrR.mjs +54 -0
  161. package/dist/pay-per-crawl-fZ-kTBbN.mjs +38 -0
  162. package/dist/{pay-per-use-C_HxhpM4.mjs → pay-per-use-B14BTKVI.mjs} +8 -8
  163. package/dist/pipelines-BN7ydBHl.mjs +44 -0
  164. package/dist/precursor-B88RDDZT.mjs +4 -0
  165. package/dist/previews-CiqRIq_k.mjs +7 -0
  166. package/dist/process-DiXf4VPi.mjs +2 -0
  167. package/dist/{progress-DaQ4MzBI.mjs → progress-CdlDthXA.mjs} +1 -1
  168. package/dist/{prompt-KWYZvJWM.mjs → prompt-1AC-qwxS.mjs} +1 -1
  169. package/dist/{queries-DoyhspQf.mjs → queries-C2sgUI9j.mjs} +3 -3
  170. package/dist/{queues-BPxTU2rU.mjs → queues-DCP5x-PZ.mjs} +17 -17
  171. package/dist/{r2-CQt4S7o7.mjs → r2-D7UhzWR7.mjs} +21 -21
  172. package/dist/{radar-CALpR1vq.mjs → radar-osOiFeY_.mjs} +1 -1
  173. package/dist/{raw-fetch-Cy09TjHc.mjs → raw-fetch-1VlXDwwX.mjs} +1 -1
  174. package/dist/{realtime-BiHKBoI4.mjs → realtime-DCnqxiWo.mjs} +90 -87
  175. package/dist/registrar-DAFYjjRa.mjs +43 -0
  176. package/dist/{registrar-sandbox-BttFwYqE.mjs → registrar-sandbox-zeNHABZ0.mjs} +11 -9
  177. package/dist/{registry-CRnk93ur.mjs → registry-DG4ZiuN9.mjs} +1 -1
  178. package/dist/{reporting-8aRJD5HX.mjs → reporting-KehV_PXm.mjs} +1 -1
  179. package/dist/{request-headers-CqfJOkpO.mjs → request-headers-ojAw3pQO.mjs} +1 -1
  180. package/dist/request-tracers-BStCgh6m.mjs +4 -0
  181. package/dist/resolve-BGNMAcGR.mjs +2 -0
  182. package/dist/{resource-sharing-uVVpMW0w.mjs → resource-sharing-3xtSgWG7.mjs} +19 -19
  183. package/dist/{rules-CFOuN3t2.mjs → rules-7F-G2Bg_.mjs} +6 -6
  184. package/dist/{rulesets-DkhV2Hny.mjs → rulesets-B0YtS2br.mjs} +20 -20
  185. package/dist/{rum-BnMW0Tlb.mjs → rum-B3V6tqS-.mjs} +6 -6
  186. package/dist/{run-Clc3P2u7.mjs → run-B_07PrkW.mjs} +1 -1
  187. package/dist/run-D6AJfZT-.mjs +2 -0
  188. package/dist/{schema-S3pUZwpI.mjs → schema-C-tyhSnb.mjs} +1 -1
  189. package/dist/{schema-flags-b096XMpt.mjs → schema-flags-DY3OKCvr.mjs} +4 -4
  190. package/dist/{scim-tvZm6A-r.mjs → scim-CQ9TdajH.mjs} +6 -6
  191. package/dist/{secrets-store-DuNxSh1_.mjs → secrets-store-Dl2hDxXu.mjs} +2 -2
  192. package/dist/{security-insights-C17c9ZYZ.mjs → security-insights-BsLMdo1r.mjs} +2 -2
  193. package/dist/{security-txt-D4pRk7-w.mjs → security-txt-pCAiHvys.mjs} +1 -1
  194. package/dist/session-BsNzFtPi.mjs +2 -0
  195. package/dist/shared-CWBjMZDR.mjs +2 -0
  196. package/dist/smart-shield-BTXQsVxz.mjs +24 -0
  197. package/dist/{snippets-BIcZ6vSW.mjs → snippets-CYVieyc3.mjs} +3 -3
  198. package/dist/source-AlTrHNem.mjs +6 -0
  199. package/dist/{spawn-BW2bJmKO.mjs → spawn-Bdznd0EB.mjs} +2 -2
  200. package/dist/{spectrum-DjDX0geK.mjs → spectrum-DLRr4Q03.mjs} +14 -14
  201. package/dist/{speed-DiPoFJMm.mjs → speed-BJfaDYxz.mjs} +13 -13
  202. package/dist/sql-DQ4xrdc2.mjs +4 -0
  203. package/dist/src-BnMvFE3q.mjs +125 -0
  204. package/dist/ssl-CL1B69Pw.mjs +139 -0
  205. package/dist/startup-profile-DuaJFX1y.mjs +2 -0
  206. package/dist/startup-profile-HMblAiBi.mjs +29 -0
  207. package/dist/{state-Boubf1X6.mjs → state-DN9yfd2C.mjs} +1 -1
  208. package/dist/state-DePlO0Kv.mjs +2 -0
  209. package/dist/{stream-uhn_Zsni.mjs → stream-DrMZOO5u.mjs} +55 -55
  210. package/dist/{submit-C3suIDBX.mjs → submit-DjlLoVk2.mjs} +1 -1
  211. package/dist/tags-DY7Ur1k-.mjs +23 -0
  212. package/dist/{telemetry-DYjsavEr.mjs → telemetry-BG3kcYsV.mjs} +1 -1
  213. package/dist/telemetry-Dpm6GfZD.mjs +2 -0
  214. package/dist/{tenant-DK88yQM4.mjs → tenant-BEMfNMjO.mjs} +1 -1
  215. package/dist/{tenant-custom-nameservers-BZ1JD1Yf.mjs → tenant-custom-nameservers-CCRbb0ch.mjs} +1 -1
  216. package/dist/{tools-BCCRUENY.mjs → tools-ZffhHUDd.mjs} +1 -1
  217. package/dist/tunnels-_JXe-UgM.mjs +29 -0
  218. package/dist/{turnstile-DXrbEy2A.mjs → turnstile-DXEfneQq.mjs} +5 -5
  219. package/dist/ui-CY79jlGZ.mjs +2 -0
  220. package/dist/update-check-DfbYVefm.mjs +2 -0
  221. package/dist/{update-check-BhhtSXVZ.mjs → update-check-atcehhBC.mjs} +1 -1
  222. package/dist/update-check-worker.mjs +1 -1
  223. package/dist/{url-info-a0mY4UsC.mjs → url-info-B1kL9asc.mjs} +1 -1
  224. package/dist/{url-normalization-DiwpDIhc.mjs → url-normalization-CUHKRKJh.mjs} +1 -1
  225. package/dist/url-scanner-OnZP_-jm.mjs +16 -0
  226. package/dist/{user-DDH9lxf5.mjs → user-BBBuFNj4.mjs} +59 -59
  227. package/dist/{vectorize-DaT3amFV.mjs → vectorize-DcctB8bw.mjs} +17 -17
  228. package/dist/version-CLgSHoNm.mjs +2 -0
  229. package/dist/{waiting-rooms-BGMpu9gS.mjs → waiting-rooms-JaFE5wP1.mjs} +13 -13
  230. package/dist/{web-assets-NqNglLSI.mjs → web-assets-Cu0swUPe.mjs} +35 -35
  231. package/dist/{web3-UnCUuIfB.mjs → web3-C67z4OtQ.mjs} +6 -6
  232. package/dist/workers-ClTP0Ysl.mjs +43 -0
  233. package/dist/workers-builds-C5wKhvKe.mjs +14 -0
  234. package/dist/{workers-for-platforms-JscCHivQ.mjs → workers-for-platforms-rxwkYyb3.mjs} +25 -22
  235. package/dist/{workers-vpc-FDZQBqOu.mjs → workers-vpc-B4vyvr1W.mjs} +1 -1
  236. package/dist/{workflows-Dq-k81hU.mjs → workflows-COJ5jwvk.mjs} +24 -24
  237. package/dist/wrangler-migration-Cp546RDG.mjs +946 -0
  238. package/dist/zaraz-BkZ7yW05.mjs +22 -0
  239. package/dist/{zero-trust-CZ685QhO.mjs → zero-trust-lUFLYuL1.mjs} +509 -454
  240. package/dist/{zone-DcZIUTWt.mjs → zone-CC1_qxt-.mjs} +1 -1
  241. package/dist/{zones-BVdvYUCv.mjs → zones-BRiLlTmW.mjs} +45 -36
  242. package/package.json +14 -14
  243. package/dist/account-tags-zvHRQZxb.mjs +0 -15
  244. package/dist/ai-search-CtfW5fzl.mjs +0 -79
  245. package/dist/auth-C530fHKQ.mjs +0 -2
  246. package/dist/auth-Ccm5viK_.mjs +0 -2
  247. package/dist/auth-MNz2D-PD.mjs +0 -2
  248. package/dist/body-parser-DkHKPkJ7.mjs +0 -2
  249. package/dist/browser-run-ChXohmNG.mjs +0 -42
  250. package/dist/build-BRJnyeu8.mjs +0 -2
  251. package/dist/builds-DmEFTQTa.mjs +0 -71
  252. package/dist/certificate-authorities-BTLdA7EQ.mjs +0 -6
  253. package/dist/chunk-DSGVRFIS-C5SqiTOz.mjs +0 -2
  254. package/dist/client-certificates-B3UxH_Au.mjs +0 -13
  255. package/dist/cloudforce-one-DN5N3C3w.mjs +0 -405
  256. package/dist/containers-DCH6MFjY.mjs +0 -78
  257. package/dist/cps-Due0P5IW.mjs +0 -6
  258. package/dist/csam-scanner-DvLrPw45.mjs +0 -10
  259. package/dist/ct-alerting-BtEGkRJi.mjs +0 -5
  260. package/dist/custom-certificates-CMLXTTEc.mjs +0 -17
  261. package/dist/custom-hostnames-DI_dFaof.mjs +0 -27
  262. package/dist/custom-pages-ubava9Qm.mjs +0 -21
  263. package/dist/dcv-delegation-sGGt6UU_.mjs +0 -4
  264. package/dist/deploy-context-C0iVbWRG.mjs +0 -56
  265. package/dist/discover-DIDEGKo3.mjs +0 -2
  266. package/dist/error-sanitization-CIQOep3I.mjs +0 -2
  267. package/dist/generate-D80-1GnZ.mjs +0 -2
  268. package/dist/get-By1q8YlI.mjs +0 -2
  269. package/dist/healthchecks-DAYYLZ6u.mjs +0 -22
  270. package/dist/hostnames-CLlaMqHu.mjs +0 -11
  271. package/dist/init-_7djeBVw.mjs +0 -43
  272. package/dist/interactive-DGUWZ2Gk.mjs +0 -2
  273. package/dist/keyless-certificates-0pzjkZb6.mjs +0 -13
  274. package/dist/keys-BSV5IXdU.mjs +0 -4
  275. package/dist/load-balancers-CCCWoQXv.mjs +0 -76
  276. package/dist/local-DxWDQDnG.mjs +0 -2
  277. package/dist/login-DT6Q1UJw.mjs +0 -5
  278. package/dist/logpush-DgZtF9vG.mjs +0 -46
  279. package/dist/mtls-certificates-ukwDz6Lc.mjs +0 -13
  280. package/dist/o11y-LG6Y9LUZ.mjs +0 -93
  281. package/dist/oauth-Bx693Af5.mjs +0 -2
  282. package/dist/oauth-CP82E1_0.mjs +0 -4
  283. package/dist/organization-DMr_z6n4.mjs +0 -71
  284. package/dist/origin-ca-certificates-BZxUbB5N.mjs +0 -11
  285. package/dist/origin-tls-client-auth-DzbZvtmi.mjs +0 -30
  286. package/dist/output-Co4xdFf6.mjs +0 -2
  287. package/dist/pages-BkcL5rC4.mjs +0 -54
  288. package/dist/pay-per-crawl-Dulm7Xy5.mjs +0 -38
  289. package/dist/pipelines-DUMIVwof.mjs +0 -44
  290. package/dist/precursor-DsGbA_YJ.mjs +0 -4
  291. package/dist/previews-Cma3-M7K.mjs +0 -7
  292. package/dist/process-2wmDCy17.mjs +0 -2
  293. package/dist/registrar-gERQ3b85.mjs +0 -43
  294. package/dist/request-tracers-DcnwQg3K.mjs +0 -4
  295. package/dist/resolve-BpgXeklt.mjs +0 -2
  296. package/dist/resource-tagging-SlsUtLsq.mjs +0 -4
  297. package/dist/run-CHNyLZLG.mjs +0 -2
  298. package/dist/session-Cq3YNLoI.mjs +0 -2
  299. package/dist/shared-zePemxHi.mjs +0 -2
  300. package/dist/smart-shield-2egm1Vaw.mjs +0 -24
  301. package/dist/source-mXUcrTVw.mjs +0 -6
  302. package/dist/sql-DLjCt_R3.mjs +0 -4
  303. package/dist/src-CutrsNl4.mjs +0 -125
  304. package/dist/ssl-vNzK0c9S.mjs +0 -45
  305. package/dist/startup-profile-BOaseXnO.mjs +0 -29
  306. package/dist/startup-profile-BwEZFVGS.mjs +0 -2
  307. package/dist/state-CODDG9Nx.mjs +0 -2
  308. package/dist/tags-Dy2jG-Dt.mjs +0 -4
  309. package/dist/telemetry-Bdv5LZZs.mjs +0 -2
  310. package/dist/tunnels-DjbomhCa.mjs +0 -29
  311. package/dist/ui-BtIBQeaG.mjs +0 -2
  312. package/dist/update-check-Dld7rbLd.mjs +0 -2
  313. package/dist/url-scanner-D0egjBe5.mjs +0 -16
  314. package/dist/values-Bfr5-bL6.mjs +0 -4
  315. package/dist/version-CAuKDZAG.mjs +0 -2
  316. package/dist/workers-DfA9ugmb.mjs +0 -40
  317. package/dist/workers-builds-Cy6fdtm5.mjs +0 -14
  318. package/dist/wrangler-migration-R9TQ_4Qd.mjs +0 -946
  319. package/dist/zaraz-Dpr1pLDx.mjs +0 -22
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import"./api-eMuS5GI1.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-MNz2D-PD.mjs";import{i as n}from"./context-q-6bMSL-.mjs";import{t as r}from"./output-Co4xdFf6.mjs";import{t as i}from"./dry-run-C2KjGX10.mjs";import{t as a}from"./progress-DaQ4MzBI.mjs";import{t as o}from"./run-Clc3P2u7.mjs";import"./telemetry-Bdv5LZZs.mjs";var s={method:`PUT`,path:t=>e`/zones/${t.zone_id}/activation_check`};function c(e){return e.usage(`$0 zone activate
2
+ import"./api-eMuS5GI1.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-BaUNb1Ed.mjs";import{i as n}from"./context-BQ6KeMgq.mjs";import{t as r}from"./output-O6b9MR9R.mjs";import{t as i}from"./dry-run-DQmFkNK_.mjs";import{t as a}from"./progress-CdlDthXA.mjs";import{t as o}from"./run-B_07PrkW.mjs";import"./telemetry-Dpm6GfZD.mjs";var s={method:`PUT`,path:t=>e`/zones/${t.zone_id}/activation_check`};function c(e){return e.usage(`$0 zone activate
3
3
 
4
4
  Triggeres a new activation check for a PENDING Zone. This can be triggered every 5 min for paygo/ent customers, every hour for FREE Zones.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const l={command:`activate`,describe:`Rerun the Activation Check`,builder:c,handler:async e=>o({command:`zone activate`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){i({command:`cf zone activate`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/activation_check`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let o=await t(e),c=await n({zone:e.zone},o,{quiet:e.quiet});e.zoneId=c;let l=await a(`Updating`,async()=>o.send(s,{zone_id:c}));r(l,{successLabel:`Updated`})})},u={command:`zone`,describe:`zone`,builder:e=>e.command(l).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{u as default};
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
- import"./api-eMuS5GI1.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-MNz2D-PD.mjs";import{o as n}from"./resolve-C3FmNlSO.mjs";import{i as r}from"./context-q-6bMSL-.mjs";import{t as i}from"./output-Co4xdFf6.mjs";import{t as a}from"./dry-run-C2KjGX10.mjs";import{t as o}from"./progress-DaQ4MzBI.mjs";import{t as s}from"./run-Clc3P2u7.mjs";import"./telemetry-Bdv5LZZs.mjs";import{n as c,r as l,t as u}from"./body-parser-DkHKPkJ7.mjs";import{n as d}from"./input-validation-D7z60HJH.mjs";import{a as f,i as p,n as m}from"./prompt-KWYZvJWM.mjs";var h={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/aegis`,body:`json`};function ee(e){return e.usage(`$0 zones aegis edit
2
+ import"./api-eMuS5GI1.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-BaUNb1Ed.mjs";import{o as n}from"./resolve-C3FmNlSO.mjs";import{i as r}from"./context-BQ6KeMgq.mjs";import{t as i}from"./output-O6b9MR9R.mjs";import{t as a}from"./dry-run-DQmFkNK_.mjs";import{t as o}from"./progress-CdlDthXA.mjs";import{t as s}from"./run-B_07PrkW.mjs";import"./telemetry-Dpm6GfZD.mjs";import{a as c,n as l,t as u}from"./body-parser-ChnyBsfm.mjs";import{n as d}from"./input-validation-D7z60HJH.mjs";import{a as f,i as p,n as m}from"./prompt-1AC-qwxS.mjs";var h={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/aegis`,body:`json`};function ee(e){return e.usage(`$0 zones aegis edit
3
3
 
4
- Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.`).option(`value-enabled`,{type:`boolean`,description:`Whether the feature is enabled or not.`}).option(`value-pool-id`,{type:`string`,description:`Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const te={command:`edit`,describe:`Change aegis setting`,builder:ee,handler:async e=>s({command:`zones aegis edit`,classification:{safeFlags:[`value-enabled`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/aegis`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`)}}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(h,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let l=u({value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`)}}),f=await o(`Updating`,async()=>n.send(h,{body:l,zone_id:s}));i(f,{successLabel:`Updated`})})};var ne={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function g(e){return e.usage(`$0 zones aegis get
4
+ Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.`).option(`value-enabled`,{type:`boolean`,description:`Whether the feature is enabled or not.`}).option(`value-pool-id`,{type:`string`,description:`Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const te={command:`edit`,describe:`Change aegis setting`,builder:ee,handler:async e=>s({command:`zones aegis edit`,classification:{safeFlags:[`value-enabled`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/aegis`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`)}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(h,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`)}}),f=await o(`Updating`,async()=>n.send(h,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var ne={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function g(e){return e.usage(`$0 zones aegis get
5
5
 
6
6
  Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const _={command:`get`,describe:`Get aegis setting`,builder:g,handler:async e=>s({command:`zones aegis get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/aegis`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ne,{zone_id:s}));i(c,{successLabel:`Loaded`})})},re={command:`aegis`,describe:`Aegis operations`,builder:e=>e.command(te).command(_).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var v={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`,body:`json`};function ie(e){return e.usage(`$0 zones automatic-platform-optimization edit
7
7
 
8
- Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your WordPress site from Cloudflare's edge network, reducing load times for visitors. Refer to the APO documentation for more information.`).option(`value-cache-by-device-type`,{type:`boolean`,description:`Whether to cache by device type.`}).option(`value-cf`,{type:`boolean`,description:`Whether the zone is proxied through Cloudflare.`}).option(`value-enabled`,{type:`boolean`,description:`Whether APO is enabled.`}).option(`value-hostnames`,{type:`string`,array:!0,description:`List of hostnames where APO is active.`}).option(`value-recheck`,{type:`boolean`,description:`Whether to recheck WordPress and plugin detection.`}).option(`value-wordpress`,{type:`boolean`,description:`Whether the site is a WordPress site.`}).option(`value-wp-plugin`,{type:`boolean`,description:`Whether the Cloudflare WordPress plugin is installed.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).implies(`value-cf`,[`value-enabled`,`value-wordpress`,`value-wp-plugin`]).implies(`value-enabled`,[`value-cf`,`value-wordpress`,`value-wp-plugin`]).implies(`value-wordpress`,[`value-cf`,`value-enabled`,`value-wp-plugin`]).implies(`value-wp-plugin`,[`value-cf`,`value-enabled`,`value-wordpress`])}const ae={command:`edit`,describe:`Change Automatic Platform Optimization setting`,builder:ie,handler:async e=>s({command:`zones automatic-platform-optimization edit`,classification:{safeFlags:[`value-cache-by-device-type`,`value-cf`,`value-enabled`,`value-recheck`,`value-wordpress`,`value-wp-plugin`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones automatic-platform-optimization edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/automatic_platform_optimization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],enabled:e[`value-enabled`],hostnames:e[`value-hostnames`],recheck:e[`value-recheck`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`]}}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(v,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let l=u({value:{cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],enabled:e[`value-enabled`],hostnames:e[`value-hostnames`],recheck:e[`value-recheck`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`]}}),d=await o(`Updating`,async()=>n.send(v,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var oe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`};function se(e){return e.usage(`$0 zones automatic-platform-optimization get
8
+ Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your WordPress site from Cloudflare's edge network, reducing load times for visitors. Refer to the APO documentation for more information.`).option(`value-cache-by-device-type`,{type:`boolean`,description:`Whether to cache by device type.`}).option(`value-cf`,{type:`boolean`,description:`Whether the zone is proxied through Cloudflare.`}).option(`value-enabled`,{type:`boolean`,description:`Whether APO is enabled.`}).option(`value-hostnames`,{type:`string`,array:!0,description:`List of hostnames where APO is active.`}).option(`value-recheck`,{type:`boolean`,description:`Whether to recheck WordPress and plugin detection.`}).option(`value-wordpress`,{type:`boolean`,description:`Whether the site is a WordPress site.`}).option(`value-wp-plugin`,{type:`boolean`,description:`Whether the Cloudflare WordPress plugin is installed.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).implies(`value-cf`,[`value-enabled`,`value-wordpress`,`value-wp-plugin`]).implies(`value-enabled`,[`value-cf`,`value-wordpress`,`value-wp-plugin`]).implies(`value-wordpress`,[`value-cf`,`value-enabled`,`value-wp-plugin`]).implies(`value-wp-plugin`,[`value-cf`,`value-enabled`,`value-wordpress`])}const ae={command:`edit`,describe:`Change Automatic Platform Optimization setting`,builder:ie,handler:async e=>s({command:`zones automatic-platform-optimization edit`,classification:{safeFlags:[`value-cache-by-device-type`,`value-cf`,`value-enabled`,`value-recheck`,`value-wordpress`,`value-wp-plugin`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones automatic-platform-optimization edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/automatic_platform_optimization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],enabled:e[`value-enabled`],hostnames:e[`value-hostnames`],recheck:e[`value-recheck`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(v,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:{cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],enabled:e[`value-enabled`],hostnames:e[`value-hostnames`],recheck:e[`value-recheck`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`]}}),d=await o(`Updating`,async()=>n.send(v,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var oe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`};function se(e){return e.usage(`$0 zones automatic-platform-optimization get
9
9
 
10
10
  Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your WordPress site from Cloudflare's edge network, reducing load times for visitors. Refer to the APO documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ce={command:`get`,describe:`Get Automatic Platform Optimization setting`,builder:se,handler:async e=>s({command:`zones automatic-platform-optimization get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones automatic-platform-optimization get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/automatic_platform_optimization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(oe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},le={command:`automatic-platform-optimization`,describe:`Operations for automatic-platform-optimization`,builder:e=>e.command(ae).command(ce).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var y={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`,body:`json`};function ue(e){return e.usage(`$0 zones binary-ast edit
11
11
 
@@ -13,13 +13,13 @@ Binary AST is a new binary encoding for JavaScript that enables faster parsing o
13
13
  - "off": Feature disabled.
14
14
  - "on": Binary AST enabled.
15
15
  - "latest": Binary AST enabled using the latest version.
16
- `,choices:[`off`,`on`,`latest`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const de={command:`edit`,describe:`Change Binary AST setting`,builder:ue,handler:async e=>s({command:`zones binary-ast edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones binary-ast edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/binary_ast`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(y,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls Binary AST behavior: - "off": Feature disabled. - "on": Binary AST enabled. - "latest": Binary AST enabled using the latest version. `,[`off`,`on`,`latest`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(y,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var fe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`};function pe(e){return e.usage(`$0 zones binary-ast get
16
+ `,choices:[`off`,`on`,`latest`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const de={command:`edit`,describe:`Change Binary AST setting`,builder:ue,handler:async e=>s({command:`zones binary-ast edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones binary-ast edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/binary_ast`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(y,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls Binary AST behavior: - "off": Feature disabled. - "on": Binary AST enabled. - "latest": Binary AST enabled using the latest version. `,[`off`,`on`,`latest`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(y,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var fe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`};function pe(e){return e.usage(`$0 zones binary-ast get
17
17
 
18
18
  Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts. When enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const me={command:`get`,describe:`Get Binary AST setting`,builder:pe,handler:async e=>s({command:`zones binary-ast get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones binary-ast get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/binary_ast`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(fe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},he={command:`binary-ast`,describe:`Operations for binary-ast`,builder:e=>e.command(de).command(me).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var b={method:`POST`,path:()=>`/zones`,body:`json`};function ge(e){return e.usage(`$0 zones create
19
19
 
20
20
  Creates a new zone (domain) in your Cloudflare account. The zone is created in a pending state and must be activated by updating your domain's nameservers to point to Cloudflare, or by completing the verification process for partial (CNAME) setups.`).option(`account-id`,{type:`string`,description:`Identifier`}).option(`name`,{type:`string`,description:`The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters.`}).option(`type`,{type:`string`,description:`A full zone implies that DNS is hosted with Cloudflare. A partial zone is
21
21
  typically a partner-hosted zone or a CNAME setup.
22
- `,choices:[`full`,`partial`,`secondary`,`internal`],default:`full`}).coerce(`type`,e=>d(e,`type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const x={command:`create`,describe:`Create Zone`,builder:ge,handler:async e=>s({command:`zones create`,classification:{safeFlags:[`type`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones`,pathParams:{},bodyKind:`json`,body:e.body===void 0?u({account:{id:d(e[`account-id`],`account-id`,`text`)},name:d(e.name,`name`,`text`),type:e.type}):c(e.body)});return}let n=await t(e);if(e.body){let t=c(e.body),r=await o(`Creating`,async()=>n.send(b,{body:t}));i(r,{successLabel:`Created`});return}e.name===void 0&&(e.name=await f(`name`,`The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters.`));let r=u({account:{id:d(e[`account-id`],`account-id`,`text`)},name:d(e.name,`name`,`text`),type:e.type}),s=await o(`Creating`,async()=>n.send(b,{body:r}));i(s,{successLabel:`Created`})})};var S={method:`DELETE`,path:t=>e`/zones/${t.zone_id}`};function C(e){return e.usage(`$0 zones delete
22
+ `,choices:[`full`,`partial`,`secondary`,`internal`],default:`full`}).coerce(`type`,e=>d(e,`type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const x={command:`create`,describe:`Create Zone`,builder:ge,handler:async e=>s({command:`zones create`,classification:{safeFlags:[`type`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones`,pathParams:{},bodyKind:`json`,body:e.body===void 0?u({account:{id:d(e[`account-id`],`account-id`,`text`)},name:d(e.name,`name`,`text`),type:e.type}):l(e.body)});return}let n=await t(e);if(e.body){let t=l(e.body),r=await o(`Creating`,async()=>n.send(b,{body:t}));i(r,{successLabel:`Created`});return}e.name===void 0&&(e.name=await f(`name`,`The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters.`));let r=u({account:{id:d(e[`account-id`],`account-id`,`text`)},name:d(e.name,`name`,`text`),type:e.type}),s=await o(`Creating`,async()=>n.send(b,{body:r}));i(s,{successLabel:`Created`})})};var S={method:`DELETE`,path:t=>e`/zones/${t.zone_id}`};function C(e){return e.usage(`$0 zones delete
23
23
 
24
24
  Deletes an existing zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const w={command:`delete`,describe:`Delete Zone`,builder:C,handler:async e=>s({command:`zones delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
25
25
  `);return}let c=await o(`Deleting`,async()=>n.send(S,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var T={method:`PATCH`,path:t=>e`/zones/${t.zone_id}`,body:`json`};function E(e){return e.usage(`$0 zones edit
@@ -32,9 +32,9 @@ zone is typically a partner-hosted zone or a CNAME setup. This
32
32
  parameter is only available to Enterprise customers or if it has
33
33
  been explicitly enabled on a zone.
34
34
  `,choices:[`full`,`partial`,`secondary`,`internal`]}).coerce(`type`,e=>d(e,`type`,`text`)).option(`vanity-name-servers`,{type:`string`,array:!0,description:`An array of domains used for custom name servers. This is only
35
- available for Business and Enterprise plans.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const D={command:`edit`,describe:`Edit Zone`,builder:E,handler:async e=>s({command:`zones edit`,classification:{safeFlags:[`paused`,`type`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({paused:e.paused,plan:{id:d(e[`plan-id`],`plan-id`,`text`)},type:e.type,vanity_name_servers:e[`vanity-name-servers`]}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(T,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let l=u({paused:e.paused,plan:{id:d(e[`plan-id`],`plan-id`,`text`)},type:e.type,vanity_name_servers:e[`vanity-name-servers`]}),f=await o(`Updating`,async()=>n.send(T,{body:l,zone_id:s}));i(f,{successLabel:`Updated`})})};var O={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/fonts`,body:`json`};function k(e){return e.usage(`$0 zones fonts edit
35
+ available for Business and Enterprise plans.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const D={command:`edit`,describe:`Edit Zone`,builder:E,handler:async e=>s({command:`zones edit`,classification:{safeFlags:[`paused`,`type`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({paused:e.paused,plan:{id:d(e[`plan-id`],`plan-id`,`text`)},type:e.type,vanity_name_servers:e[`vanity-name-servers`]}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(T,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({paused:e.paused,plan:{id:d(e[`plan-id`],`plan-id`,`text`)},type:e.type,vanity_name_servers:e[`vanity-name-servers`]}),f=await o(`Updating`,async()=>n.send(T,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var O={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/fonts`,body:`json`};function k(e){return e.usage(`$0 zones fonts edit
36
36
 
37
- Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain, boost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.`).option(`value`,{type:`string`,description:`Whether the feature is enabled or disabled.`,choices:[`on`,`off`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const A={command:`edit`,describe:`Change Cloudflare Fonts setting`,builder:k,handler:async e=>s({command:`zones fonts edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones fonts edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/fonts`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(O,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether the feature is enabled or disabled.`,[`on`,`off`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(O,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var j={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/fonts`};function M(e){return e.usage(`$0 zones fonts get
37
+ Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain, boost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.`).option(`value`,{type:`string`,description:`Whether the feature is enabled or disabled.`,choices:[`on`,`off`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const A={command:`edit`,describe:`Change Cloudflare Fonts setting`,builder:k,handler:async e=>s({command:`zones fonts edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones fonts edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/fonts`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(O,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether the feature is enabled or disabled.`,[`on`,`off`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(O,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var j={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/fonts`};function M(e){return e.usage(`$0 zones fonts get
38
38
 
39
39
  Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain, boost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const N={command:`get`,describe:`Get Cloudflare Fonts setting`,builder:M,handler:async e=>s({command:`zones fonts get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones fonts get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/fonts`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(j,{zone_id:s}));i(c,{successLabel:`Loaded`})})},P={command:`fonts`,describe:`Fonts operations`,builder:e=>e.command(A).command(N).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var F={method:`GET`,path:t=>e`/zones/${t.zone_id}`};function I(e){return e.usage(`$0 zones get
40
40
 
@@ -44,7 +44,7 @@ HTTP/2 Prioritization controls the order in which assets are delivered to browse
44
44
  - "off": Use browser default prioritization.
45
45
  - "on": Use Cloudflare's optimized prioritization.
46
46
  - "custom": Use custom prioritization rules.
47
- `,choices:[`off`,`on`,`custom`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ve={command:`edit`,describe:`Change HTTP/2 Prioritization setting`,builder:_e,handler:async e=>s({command:`zones h2-prioritization edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones h2-prioritization edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/h2_prioritization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(R,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls HTTP/2 Prioritization behavior: - "off": Use browser default prioritization. - "on": Use Cloudflare's optimized prioritization. - "custom": Use custom prioritization rules. `,[`off`,`on`,`custom`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(R,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var ye={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`};function be(e){return e.usage(`$0 zones h2-prioritization get
47
+ `,choices:[`off`,`on`,`custom`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ve={command:`edit`,describe:`Change HTTP/2 Prioritization setting`,builder:_e,handler:async e=>s({command:`zones h2-prioritization edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones h2-prioritization edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/h2_prioritization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(R,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls HTTP/2 Prioritization behavior: - "off": Use browser default prioritization. - "on": Use Cloudflare's optimized prioritization. - "custom": Use custom prioritization rules. `,[`off`,`on`,`custom`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(R,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var ye={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`};function be(e){return e.usage(`$0 zones h2-prioritization get
48
48
 
49
49
  HTTP/2 Prioritization controls the order in which assets are delivered to browsers. Cloudflare's HTTP/2 Prioritization overrides the default browser prioritization order, improving the loading performance of web pages.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const xe={command:`get`,describe:`Get HTTP/2 Prioritization setting`,builder:be,handler:async e=>s({command:`zones h2-prioritization get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones h2-prioritization get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/h2_prioritization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ye,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Se={command:`h2-prioritization`,describe:`Operations for h2-prioritization`,builder:e=>e.command(ve).command(xe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ce={method:`POST`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`include_subdomains`]};function we(e){return e.usage(`$0 zones holds create
50
50
 
@@ -57,60 +57,69 @@ Stop enforcement of a zone hold on the zone, permanently or temporarily, allowin
57
57
  `);return}let l=await o(`Deleting`,async()=>s.send(Ee,{zone_id:c,...n}));i(l,{successLabel:`Deleted`})})};var z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/hold`,body:`json`};function ke(e){return e.usage("$0 zones holds edit\n\nUpdate the `hold_after` and/or `include_subdomains` values on an existing zone hold. The hold is enabled if the `hold_after` date-time value is in the past. Existing zone holds can be removed from CDN-only zones by setting `hold_after` to `null`. Other zone hold updates cannot be made on CDN-only zones. Active holds are automatically disabled when a zone transitions to CDN-only mode.").option(`hold-after`,{type:`string`,description:"If `hold_after` is provided and future-dated, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. A past-dated `hold_after` value will have\nno effect on an existing, enabled hold. Providing an empty string will set its value\nto the current time. Providing `null` will disable the hold indefinitely."}).option(`include-subdomains`,{type:`boolean`,description:`If \`true\`, the zone hold will extend to block any subdomain of the given zone, as well
58
58
  as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname
59
59
  'example.com' and include_subdomains=true will block 'example.com',
60
- 'staging.example.com', 'api.staging.example.com', etc.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ae={command:`edit`,describe:`Update Zone Hold`,builder:ke,handler:async e=>s({command:`zones holds edit`,classification:{safeFlags:[`include-subdomains`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones holds edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({hold_after:d(e[`hold-after`],`hold-after`,`text`),include_subdomains:e[`include-subdomains`]}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(z,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let l=u({hold_after:d(e[`hold-after`],`hold-after`,`text`),include_subdomains:e[`include-subdomains`]}),f=await o(`Updating`,async()=>n.send(z,{body:l,zone_id:s}));i(f,{successLabel:`Updated`})})};var je={method:`GET`,path:t=>e`/zones/${t.zone_id}/hold`};function Me(e){return e.usage(`$0 zones holds get
60
+ 'staging.example.com', 'api.staging.example.com', etc.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ae={command:`edit`,describe:`Update Zone Hold`,builder:ke,handler:async e=>s({command:`zones holds edit`,classification:{safeFlags:[`include-subdomains`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones holds edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({hold_after:d(e[`hold-after`],`hold-after`,`text`),include_subdomains:e[`include-subdomains`]}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(z,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({hold_after:d(e[`hold-after`],`hold-after`,`text`),include_subdomains:e[`include-subdomains`]}),f=await o(`Updating`,async()=>n.send(z,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var je={method:`GET`,path:t=>e`/zones/${t.zone_id}/hold`};function Me(e){return e.usage(`$0 zones holds get
61
61
 
62
- Retrieve whether the zone is subject to a zone hold, and metadata about the hold.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ne={command:`get`,describe:`Get Zone Hold`,builder:Me,handler:async e=>s({command:`zones holds get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones holds get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(je,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Pe={command:`holds`,describe:`Operations for holds`,builder:e=>e.command(Te).command(Oe).command(Ae).command(Ne).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var B={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`,body:`json`};function Fe(e){return e.usage("$0 zones image-resizing edit\n\nSets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.").option(`value`,{type:`string`,description:`Controls Image Resizing behavior:
62
+ Retrieve whether the zone is subject to a zone hold, and metadata about the hold.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ne={command:`get`,describe:`Get Zone Hold`,builder:Me,handler:async e=>s({command:`zones holds get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones holds get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(je,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Pe={command:`holds`,describe:`Operations for holds`,builder:e=>e.command(Te).command(Oe).command(Ae).command(Ne).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Fe={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function Ie(e){return e.usage(`$0 zones hostnames settings tls-single get <hostname>
63
+
64
+ Get the requested TLS setting for the hostname.`).positional(`hostname`,{type:`string`,description:`The hostname for which the tls settings are set.`,demandOption:!0}).option(`setting-id`,{type:`string`,description:'The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`).\n- `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`).\n- `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Le={command:`get <hostname>`,describe:`Get TLS setting for hostname`,builder:Ie,handler:async e=>s({command:`zones hostnames settings tls-single get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls-single get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}/${e.hostname==null?`<hostname>`:encodeURIComponent(String(e.hostname))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``),hostname:String(e.hostname??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Fe,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Loaded`})})},Re={command:`tls-single`,describe:`Operations for hostnames.settings.tls-single`,builder:e=>e.command(Le).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var ze={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function Be(e){return e.usage(`$0 zones hostnames settings tls delete <hostname>
65
+
66
+ Delete the tls setting value for the hostname.`).positional(`hostname`,{type:`string`,description:`The hostname for which the tls settings are set.`,demandOption:!0}).option(`setting-id`,{type:`string`,description:'The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`).\n- `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`).\n- `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const Ve={command:`delete <hostname>`,describe:`Delete TLS setting for hostname`,builder:Be,handler:async e=>s({command:`zones hostnames settings tls delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}/${e.hostname==null?`<hostname>`:encodeURIComponent(String(e.hostname))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``),hostname:String(e.hostname??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
67
+ `);return}let c=await o(`Deleting`,async()=>n.send(ze,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Deleted`})})};var He={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}`};function Ue(e){return e.usage(`$0 zones hostnames settings tls get <setting-id>
68
+
69
+ List the requested TLS setting for the hostnames under this zone.`).positional(`setting-id`,{type:`string`,description:'The TLS Setting name. The value type depends on the setting: - `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`). - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`). - `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const We={command:`get <setting-id>`,describe:`List TLS setting for hostnames`,builder:Ue,handler:async e=>s({command:`zones hostnames settings tls get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(He,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})};var Ge={method:`PUT`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`,body:`json`};function Ke(e){return e.usage(`$0 zones hostnames settings tls update <hostname>
70
+
71
+ Update the tls setting value for the hostname.`).positional(`hostname`,{type:`string`,description:`The hostname for which the tls settings are set.`,demandOption:!0}).option(`setting-id`,{type:`string`,description:'The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`).\n- `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`).\n- `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const qe={command:`update <hostname>`,describe:`Edit TLS setting for hostname`,builder:Ke,handler:async e=>s({command:`zones hostnames settings tls update`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}/${e.hostname==null?`<hostname>`:encodeURIComponent(String(e.hostname))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``),hostname:String(e.hostname??``)},bodyKind:`json`,body:e.body===void 0?void 0:l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Ge,{body:t,zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(r,{successLabel:`Updated`})}else if(e.body===void 0)throw Error(`--body is required for this command. Pass --body '<json>' or --body @path/to/file.json.`)})},Je={command:`tls`,describe:`Operations for hostnames.settings.tls`,builder:e=>e.command(Ve).command(We).command(qe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Ye={command:`settings`,describe:`Operations for hostnames.settings`,builder:e=>e.command(Je).command(Re).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Xe={command:`hostnames`,describe:`Operations for hostnames`,builder:e=>e.command(Ye).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var B={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`,body:`json`};function Ze(e){return e.usage("$0 zones image-resizing edit\n\nSets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.").option(`value`,{type:`string`,description:`Controls Image Resizing behavior:
63
72
  - "off": Feature disabled.
64
73
  - "on": Resizing is enabled for same-zone images only.
65
74
  - "open": Resizing is enabled for images from any origin.
66
75
  - "latest": Resizing is enabled for same-zone images using the latest version.
67
- `,choices:[`off`,`on`,`open`,`latest`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ie={command:`edit`,describe:`Change Image Transformations setting`,builder:Fe,handler:async e=>s({command:`zones image-resizing edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones image-resizing edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/image_resizing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(B,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls Image Resizing behavior: - "off": Feature disabled. - "on": Resizing is enabled for same-zone images only. - "open": Resizing is enabled for images from any origin. - "latest": Resizing is enabled for same-zone images using the latest version. `,[`off`,`on`,`open`,`latest`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(B,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var Le={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`};function Re(e){return e.usage("$0 zones image-resizing get\n\nGets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ze={command:`get`,describe:`Get Image Transformations setting`,builder:Re,handler:async e=>s({command:`zones image-resizing get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones image-resizing get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/image_resizing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Le,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Be={command:`image-resizing`,describe:`Operations for image-resizing`,builder:e=>e.command(Ie).command(ze).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function Ve(e){return e.usage(`$0 zones list
76
+ `,choices:[`off`,`on`,`open`,`latest`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Qe={command:`edit`,describe:`Change Image Transformations setting`,builder:Ze,handler:async e=>s({command:`zones image-resizing edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones image-resizing edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/image_resizing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(B,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls Image Resizing behavior: - "off": Feature disabled. - "on": Resizing is enabled for same-zone images only. - "open": Resizing is enabled for images from any origin. - "latest": Resizing is enabled for same-zone images using the latest version. `,[`off`,`on`,`open`,`latest`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(B,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var $e={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`};function et(e){return e.usage("$0 zones image-resizing get\n\nGets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const tt={command:`get`,describe:`Get Image Transformations setting`,builder:et,handler:async e=>s({command:`zones image-resizing get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones image-resizing get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/image_resizing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send($e,{zone_id:s}));i(c,{successLabel:`Loaded`})})},nt={command:`image-resizing`,describe:`Operations for image-resizing`,builder:e=>e.command(Qe).command(tt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function rt(e){return e.usage(`$0 zones list
68
77
 
69
- Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts is currently not allowed.`).option(`name`,{type:`string`,description:"A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`"}).option(`status`,{type:`string`,description:`Specify a zone status to filter by.`,choices:[`initializing`,`pending`,`active`,`moved`]}).option(`type`,{type:`string`,description:`Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type "internal" are excluded from the results.`}).option(`account-id`,{type:`string`,description:`Filter by an account ID.`}).option(`account-name`,{type:`string`,description:"An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`"}).option(`page`,{type:`number`,description:`Page number of paginated results.`}).option(`per-page`,{type:`number`,description:`Number of zones per page.`}).option(`order`,{type:`string`,description:`Field to order zones by.`,choices:[`name`,`status`,`account.id`,`account.name`,`plan.id`]}).option(`direction`,{type:`string`,description:`Direction to order zones.`,choices:[`asc`,`desc`]}).option(`match`,{type:`string`,description:`Whether to match all search requirements or at least one (any).`,choices:[`any`,`all`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const He={command:`list`,describe:`List Zones`,builder:Ve,handler:async e=>s({command:`zones list`,classification:{safeFlags:[`status`,`order`,`direction`,`match`,`dry-run`]}},e,async()=>{let r={name:e.name,status:e.status,type:e.type,"account.id":e[`account-id`],"account.name":e[`account-name`],page:e.page,per_page:e[`per-page`],order:e.order,direction:e.direction,match:e.match};if(e.dryRun){a({command:`cf zones list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones`,pathParams:{},query:r,bodyKind:`none`});return}let s=await t(e),c=await o(`Loading`,async()=>s.send(n,r));i(c,{successLabel:`Loaded`})})};var V={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`,body:`json`};function Ue(e){return e.usage("$0 zones origin-h2-max-streams edit\n\nOrigin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.").option(`value`,{type:`number`,description:`Value of the Origin H2 Max Streams Setting.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const We={command:`edit`,describe:`Change Origin H2 Max Streams Setting`,builder:Ue,handler:async e=>s({command:`zones origin-h2-max-streams edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-h2-max-streams edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_h2_max_streams`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(V,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(V,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var Ge={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`};function Ke(e){return e.usage("$0 zones origin-h2-max-streams get\n\nOrigin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const qe={command:`get`,describe:`Get Origin H2 Max Streams Setting`,builder:Ke,handler:async e=>s({command:`zones origin-h2-max-streams get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-h2-max-streams get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_h2_max_streams`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Ge,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Je={command:`origin-h2-max-streams`,describe:`Origin H2 Max Streams operations`,builder:e=>e.command(We).command(qe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var H={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`,body:`json`};function Ye(e){return e.usage(`$0 zones origin-max-http-version edit
78
+ Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts is currently not allowed.`).option(`name`,{type:`string`,description:"A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`"}).option(`status`,{type:`string`,description:`Specify a zone status to filter by.`,choices:[`initializing`,`pending`,`active`,`moved`]}).option(`type`,{type:`string`,description:`Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type "internal" are excluded from the results.`}).option(`account-id`,{type:`string`,description:`Filter by an account ID.`}).option(`account-name`,{type:`string`,description:"An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`"}).option(`page`,{type:`number`,description:`Page number of paginated results.`}).option(`per-page`,{type:`number`,description:`Number of zones per page.`}).option(`order`,{type:`string`,description:`Field to order zones by.`,choices:[`name`,`status`,`account.id`,`account.name`,`plan.id`]}).option(`direction`,{type:`string`,description:`Direction to order zones.`,choices:[`asc`,`desc`]}).option(`match`,{type:`string`,description:`Whether to match all search requirements or at least one (any).`,choices:[`any`,`all`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const it={command:`list`,describe:`List Zones`,builder:rt,handler:async e=>s({command:`zones list`,classification:{safeFlags:[`status`,`order`,`direction`,`match`,`dry-run`]}},e,async()=>{let r={name:e.name,status:e.status,type:e.type,"account.id":e[`account-id`],"account.name":e[`account-name`],page:e.page,per_page:e[`per-page`],order:e.order,direction:e.direction,match:e.match};if(e.dryRun){a({command:`cf zones list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones`,pathParams:{},query:r,bodyKind:`none`});return}let s=await t(e),c=await o(`Loading`,async()=>s.send(n,r));i(c,{successLabel:`Loaded`})})};var V={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`,body:`json`};function at(e){return e.usage("$0 zones origin-h2-max-streams edit\n\nOrigin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.").option(`value`,{type:`number`,description:`Value of the Origin H2 Max Streams Setting.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ot={command:`edit`,describe:`Change Origin H2 Max Streams Setting`,builder:at,handler:async e=>s({command:`zones origin-h2-max-streams edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-h2-max-streams edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_h2_max_streams`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(V,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(V,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var st={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`};function ct(e){return e.usage("$0 zones origin-h2-max-streams get\n\nOrigin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const lt={command:`get`,describe:`Get Origin H2 Max Streams Setting`,builder:ct,handler:async e=>s({command:`zones origin-h2-max-streams get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-h2-max-streams get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_h2_max_streams`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(st,{zone_id:s}));i(c,{successLabel:`Loaded`})})},ut={command:`origin-h2-max-streams`,describe:`Origin H2 Max Streams operations`,builder:e=>e.command(ot).command(lt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var H={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`,body:`json`};function dt(e){return e.usage(`$0 zones origin-max-http-version edit
70
79
 
71
- Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1".`).option(`value`,{type:`string`,description:`Value of the Origin Max HTTP Version Setting.`,choices:[`2`,`1`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Xe={command:`edit`,describe:`Change Origin Max HTTP Version Setting`,builder:Ye,handler:async e=>s({command:`zones origin-max-http-version edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-max-http-version edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_max_http_version`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(H,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Value of the Origin Max HTTP Version Setting.`,[`2`,`1`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(H,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var Ze={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`};function Qe(e){return e.usage(`$0 zones origin-max-http-version get
80
+ Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1".`).option(`value`,{type:`string`,description:`Value of the Origin Max HTTP Version Setting.`,choices:[`2`,`1`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ft={command:`edit`,describe:`Change Origin Max HTTP Version Setting`,builder:dt,handler:async e=>s({command:`zones origin-max-http-version edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-max-http-version edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_max_http_version`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(H,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Value of the Origin Max HTTP Version Setting.`,[`2`,`1`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(H,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var pt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`};function mt(e){return e.usage(`$0 zones origin-max-http-version get
72
81
 
73
- Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1".`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const $e={command:`get`,describe:`Get Origin Max HTTP Version Setting`,builder:Qe,handler:async e=>s({command:`zones origin-max-http-version get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-max-http-version get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_max_http_version`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Ze,{zone_id:s}));i(c,{successLabel:`Loaded`})})},et={command:`origin-max-http-version`,describe:`Origin Max Http Version operations`,builder:e=>e.command(Xe).command($e).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var tt={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function nt(e){return e.usage(`$0 zones origin-tls-compliance-modes delete
82
+ Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1".`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ht={command:`get`,describe:`Get Origin Max HTTP Version Setting`,builder:mt,handler:async e=>s({command:`zones origin-max-http-version get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-max-http-version get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_max_http_version`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(pt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},gt={command:`origin-max-http-version`,describe:`Origin Max Http Version operations`,builder:e=>e.command(ft).command(ht).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var _t={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function vt(e){return e.usage(`$0 zones origin-tls-compliance-modes delete
74
83
 
75
- Delete the Origin TLS Compliance Modes setting for the zone, removing any configured compliance constraint. After deletion, Cloudflare's default behavior applies (no compliance filtering of the key-exchange algorithm list sent to the origin).`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const rt={command:`delete`,describe:`Delete Origin TLS Compliance Modes setting`,builder:nt,handler:async e=>s({command:`zones origin-tls-compliance-modes delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
76
- `);return}let c=await o(`Deleting`,async()=>n.send(tt,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var U={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`,body:`json`};function it(e){return e.usage('$0 zones origin-tls-compliance-modes edit\n\nUpdate the set of TLS compliance modes for the zone. PATCH performs a full replace of the modes list, not a merge — the request body is treated as the complete new list, and any modes not present in it are removed. (To remove a single mode from an existing configuration, send the updated list without it.) The request body must be of the form `{"value": ["fips", "pqh"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.').option(`value`,{type:`string`,array:!0,description:"List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const at={command:`edit`,describe:`Change Origin TLS Compliance Modes setting`,builder:it,handler:async e=>s({command:`zones origin-tls-compliance-modes edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(U,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(U,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var ot={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function st(e){return e.usage("$0 zones origin-tls-compliance-modes get\n\nOrigin TLS Compliance Modes constrains the set of TLS key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. The value is a list of named compliance modes (currently `fips` and `pqh`). Multiple modes are combined as the intersection of their permitted algorithm lists. An empty list (or no rule configured) means no compliance constraint is applied.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ct={command:`get`,describe:`Get Origin TLS Compliance Modes setting`,builder:st,handler:async e=>s({command:`zones origin-tls-compliance-modes get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ot,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var W={method:`PUT`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`,body:`json`};function lt(e){return e.usage('$0 zones origin-tls-compliance-modes update\n\nReplace the entire set of TLS compliance modes for the zone with the list provided in the request body. PUT performs a full replace, not a merge — any modes not present in the request body are removed. The request body must be of the form `{"value": ["fips", "pqh"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.').option(`value`,{type:`string`,array:!0,description:"List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ut={command:`update`,describe:`Replace Origin TLS Compliance Modes setting`,builder:lt,handler:async e=>s({command:`zones origin-tls-compliance-modes update`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(W,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(W,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})},dt={command:`origin-tls-compliance-modes`,describe:`Manage zone Origin TLS Compliance Modes setting`,builder:e=>e.command(rt).command(at).command(ct).command(ut).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var ft={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans/${t.plan_identifier}`};function pt(e){return e.usage(`$0 zones plans get <plan-identifier>
84
+ Delete the Origin TLS Compliance Modes setting for the zone, removing any configured compliance constraint. After deletion, Cloudflare's default behavior applies (no compliance filtering of the key-exchange algorithm list sent to the origin).`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const yt={command:`delete`,describe:`Delete Origin TLS Compliance Modes setting`,builder:vt,handler:async e=>s({command:`zones origin-tls-compliance-modes delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
85
+ `);return}let c=await o(`Deleting`,async()=>n.send(_t,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var U={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`,body:`json`};function bt(e){return e.usage('$0 zones origin-tls-compliance-modes edit\n\nUpdate the set of TLS compliance modes for the zone. PATCH performs a full replace of the modes list, not a merge — the request body is treated as the complete new list, and any modes not present in it are removed. (To remove a single mode from an existing configuration, send the updated list without it.) The request body must be of the form `{"value": ["fips", "pqh"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.').option(`value`,{type:`string`,array:!0,description:"List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const xt={command:`edit`,describe:`Change Origin TLS Compliance Modes setting`,builder:bt,handler:async e=>s({command:`zones origin-tls-compliance-modes edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(U,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(U,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var St={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function Ct(e){return e.usage("$0 zones origin-tls-compliance-modes get\n\nOrigin TLS Compliance Modes constrains the set of TLS key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. The value is a list of named compliance modes (currently `fips` and `pqh`). Multiple modes are combined as the intersection of their permitted algorithm lists. An empty list (or no rule configured) means no compliance constraint is applied.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const wt={command:`get`,describe:`Get Origin TLS Compliance Modes setting`,builder:Ct,handler:async e=>s({command:`zones origin-tls-compliance-modes get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(St,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var W={method:`PUT`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`,body:`json`};function Tt(e){return e.usage('$0 zones origin-tls-compliance-modes update\n\nReplace the entire set of TLS compliance modes for the zone with the list provided in the request body. PUT performs a full replace, not a merge — any modes not present in the request body are removed. The request body must be of the form `{"value": ["fips", "pqh"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.').option(`value`,{type:`string`,array:!0,description:"List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Et={command:`update`,describe:`Replace Origin TLS Compliance Modes setting`,builder:Tt,handler:async e=>s({command:`zones origin-tls-compliance-modes update`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(W,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(W,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})},Dt={command:`origin-tls-compliance-modes`,describe:`Manage zone Origin TLS Compliance Modes setting`,builder:e=>e.command(yt).command(xt).command(wt).command(Et).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ot={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans/${t.plan_identifier}`};function kt(e){return e.usage(`$0 zones plans get <plan-identifier>
77
86
 
78
- Details of the available plan that the zone can subscribe to.`).positional(`plan-identifier`,{type:`string`,description:`Identifier`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const mt={command:`get <plan-identifier>`,describe:`Available Plan Details`,builder:pt,handler:async e=>s({command:`zones plans get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones plans get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_plans/${e[`plan-identifier`]==null?`<plan-identifier>`:encodeURIComponent(String(e[`plan-identifier`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"plan-identifier":String(e[`plan-identifier`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ft,{zone_id:s,plan_identifier:e[`plan-identifier`]}));i(c,{successLabel:`Loaded`})})};var ht={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans`};function gt(e){return e.usage(`$0 zones plans list
87
+ Details of the available plan that the zone can subscribe to.`).positional(`plan-identifier`,{type:`string`,description:`Identifier`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const At={command:`get <plan-identifier>`,describe:`Available Plan Details`,builder:kt,handler:async e=>s({command:`zones plans get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones plans get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_plans/${e[`plan-identifier`]==null?`<plan-identifier>`:encodeURIComponent(String(e[`plan-identifier`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"plan-identifier":String(e[`plan-identifier`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Ot,{zone_id:s,plan_identifier:e[`plan-identifier`]}));i(c,{successLabel:`Loaded`})})};var jt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans`};function Mt(e){return e.usage(`$0 zones plans list
79
88
 
80
- Lists available plans the zone can subscribe to.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const _t={command:`list`,describe:`List Available Plans`,builder:gt,handler:async e=>s({command:`zones plans list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones plans list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_plans`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ht,{zone_id:s}));i(c,{successLabel:`Loaded`})})},vt={command:`plans`,describe:`Operations for plans`,builder:e=>e.command(mt).command(_t).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var yt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_rate_plans`};function bt(e){return e.usage(`$0 zones rate-plans get
89
+ Lists available plans the zone can subscribe to.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Nt={command:`list`,describe:`List Available Plans`,builder:Mt,handler:async e=>s({command:`zones plans list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones plans list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_plans`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(jt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Pt={command:`plans`,describe:`Operations for plans`,builder:e=>e.command(At).command(Nt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ft={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_rate_plans`};function It(e){return e.usage(`$0 zones rate-plans get
81
90
 
82
- Lists all rate plans the zone can subscribe to.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const xt={command:`get`,describe:`List Available Rate Plans`,builder:bt,handler:async e=>s({command:`zones rate-plans get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rate-plans get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_rate_plans`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(yt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},St={command:`rate-plans`,describe:`Operations for rate-plans`,builder:e=>e.command(xt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var G={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/rum`,body:`json`};function Ct(e){return e.usage(`$0 zones rum edit
91
+ Lists all rate plans the zone can subscribe to.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Lt={command:`get`,describe:`List Available Rate Plans`,builder:It,handler:async e=>s({command:`zones rate-plans get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rate-plans get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_rate_plans`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Ft,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Rt={command:`rate-plans`,describe:`Operations for rate-plans`,builder:e=>e.command(Lt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var G={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/rum`,body:`json`};function zt(e){return e.usage(`$0 zones rum edit
83
92
 
84
- Toggles RUM on/off for an existing zone.`).option(`value`,{type:`string`,description:`Value can either be On or Off.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const wt={command:`edit`,describe:`Toggle RUM on/off for a zone`,builder:Ct,handler:async e=>s({command:`zones rum edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rum edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/rum`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(G,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let l=u({value:d(e.value,`value`,`text`)}),f=await o(`Updating`,async()=>n.send(G,{body:l,zone_id:s}));i(f,{successLabel:`Updated`})})};var Tt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/rum`};function Et(e){return e.usage(`$0 zones rum get
93
+ Toggles RUM on/off for an existing zone.`).option(`value`,{type:`string`,description:`Value can either be On or Off.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Bt={command:`edit`,describe:`Toggle RUM on/off for a zone`,builder:zt,handler:async e=>s({command:`zones rum edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rum edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/rum`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(G,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:d(e.value,`value`,`text`)}),f=await o(`Updating`,async()=>n.send(G,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var Vt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/rum`};function Ht(e){return e.usage(`$0 zones rum get
85
94
 
86
- Retrieves RUM status for a zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Dt={command:`get`,describe:`Get RUM status for a zone`,builder:Et,handler:async e=>s({command:`zones rum get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rum get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/rum`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Tt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Ot={command:`rum`,describe:`Rum operations`,builder:e=>e.command(wt).command(Dt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var K={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`,body:`json`};function kt(e){return e.usage(`$0 zones settings edit <setting-id>
95
+ Retrieves RUM status for a zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ut={command:`get`,describe:`Get RUM status for a zone`,builder:Ht,handler:async e=>s({command:`zones rum get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rum get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/rum`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Vt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Wt={command:`rum`,describe:`Rum operations`,builder:e=>e.command(Bt).command(Ut).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var K={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`,body:`json`};function Gt(e){return e.usage(`$0 zones settings edit <setting-id>
87
96
 
88
- Updates a single zone setting by the identifier`).positional(`setting-id`,{type:`string`,description:`Setting name`,demandOption:!0}).option(`enabled`,{type:`boolean`,description:`ssl-recommender enrollment setting.`}).option(`value-enabled`,{type:`boolean`,description:`Whether the feature is enabled or not.`}).option(`value-pool-id`,{type:`string`,description:`Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin.`}).option(`value-cache-by-device-type`,{type:`boolean`,description:`Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled.`}).option(`value-cf`,{type:`boolean`,description:`Indicates whether or not Cloudflare proxy is enabled.`}).option(`value-hostnames`,{type:`string`,array:!0,description:`An array of hostnames where Automatic Platform Optimization for WordPress is activated.`}).option(`value-wordpress`,{type:`boolean`,description:`Indicates whether or not site is powered by WordPress.`}).option(`value-wp-plugin`,{type:`boolean`,description:`Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed.`}).option(`value-strict-transport-security-enabled`,{type:`boolean`,description:`Whether or not strict transport security is enabled.`}).option(`value-strict-transport-security-include-subdomains`,{type:`boolean`,description:`Include all subdomains for strict transport security.`}).option(`value-strict-transport-security-max-age`,{type:`number`,description:`Max age in seconds of the strict transport security.`}).option(`value-strict-transport-security-nosniff`,{type:`boolean`,description:`Whether or not to include 'X-Content-Type-Options: nosniff' header.`}).option(`value-strict-transport-security-preload`,{type:`boolean`,description:`Enable automatic preload of the HSTS configuration.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`value-pool-id`,[`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).conflicts(`value-cache-by-device-type`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-cache-by-device-type`,[`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-cf`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-cf`,[`value-cache-by-device-type`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-hostnames`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-hostnames`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-wordpress`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-wordpress`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wp-plugin`]).conflicts(`value-wp-plugin`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-wp-plugin`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`]).implies(`value-strict-transport-security-enabled`,[`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-include-subdomains`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-max-age`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-nosniff`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-preload`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`])}const At={command:`edit <setting-id>`,describe:`Edit zone setting`,builder:kt,handler:async e=>s({command:`zones settings edit`,classification:{safeFlags:[`enabled`,`value-enabled`,`value-cache-by-device-type`,`value-cf`,`value-wordpress`,`value-wp-plugin`,`value-strict-transport-security-enabled`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones settings edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({enabled:e.enabled,value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`),cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],hostnames:e[`value-hostnames`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`],strict_transport_security:{enabled:e[`value-strict-transport-security-enabled`],include_subdomains:e[`value-strict-transport-security-include-subdomains`],max_age:e[`value-strict-transport-security-max-age`],nosniff:e[`value-strict-transport-security-nosniff`],preload:e[`value-strict-transport-security-preload`]}}}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(K,{body:t,zone_id:s,setting_id:e[`setting-id`]}));i(r,{successLabel:`Updated`});return}let l=u({enabled:e.enabled,value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`),cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],hostnames:e[`value-hostnames`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`],strict_transport_security:{enabled:e[`value-strict-transport-security-enabled`],include_subdomains:e[`value-strict-transport-security-include-subdomains`],max_age:e[`value-strict-transport-security-max-age`],nosniff:e[`value-strict-transport-security-nosniff`],preload:e[`value-strict-transport-security-preload`]}}}),f=await o(`Updating`,async()=>n.send(K,{body:l,zone_id:s,setting_id:e[`setting-id`]}));i(f,{successLabel:`Updated`})})};var jt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`};function Mt(e){return e.usage(`$0 zones settings get <setting-id>
97
+ Updates a single zone setting by the identifier`).positional(`setting-id`,{type:`string`,description:`Setting name`,demandOption:!0}).option(`enabled`,{type:`boolean`,description:`ssl-recommender enrollment setting.`}).option(`value-enabled`,{type:`boolean`,description:`Whether the feature is enabled or not.`}).option(`value-pool-id`,{type:`string`,description:`Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin.`}).option(`value-cache-by-device-type`,{type:`boolean`,description:`Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled.`}).option(`value-cf`,{type:`boolean`,description:`Indicates whether or not Cloudflare proxy is enabled.`}).option(`value-hostnames`,{type:`string`,array:!0,description:`An array of hostnames where Automatic Platform Optimization for WordPress is activated.`}).option(`value-wordpress`,{type:`boolean`,description:`Indicates whether or not site is powered by WordPress.`}).option(`value-wp-plugin`,{type:`boolean`,description:`Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed.`}).option(`value-strict-transport-security-enabled`,{type:`boolean`,description:`Whether or not strict transport security is enabled.`}).option(`value-strict-transport-security-include-subdomains`,{type:`boolean`,description:`Include all subdomains for strict transport security.`}).option(`value-strict-transport-security-max-age`,{type:`number`,description:`Max age in seconds of the strict transport security.`}).option(`value-strict-transport-security-nosniff`,{type:`boolean`,description:`Whether or not to include 'X-Content-Type-Options: nosniff' header.`}).option(`value-strict-transport-security-preload`,{type:`boolean`,description:`Enable automatic preload of the HSTS configuration.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`value-pool-id`,[`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).conflicts(`value-cache-by-device-type`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-cache-by-device-type`,[`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-cf`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-cf`,[`value-cache-by-device-type`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-hostnames`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-hostnames`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-wordpress`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-wordpress`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wp-plugin`]).conflicts(`value-wp-plugin`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-wp-plugin`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`]).implies(`value-strict-transport-security-enabled`,[`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-include-subdomains`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-max-age`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-nosniff`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-preload`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`])}const Kt={command:`edit <setting-id>`,describe:`Edit zone setting`,builder:Gt,handler:async e=>s({command:`zones settings edit`,classification:{safeFlags:[`enabled`,`value-enabled`,`value-cache-by-device-type`,`value-cf`,`value-wordpress`,`value-wp-plugin`,`value-strict-transport-security-enabled`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones settings edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({enabled:e.enabled,value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`),cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],hostnames:e[`value-hostnames`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`],strict_transport_security:{enabled:e[`value-strict-transport-security-enabled`],include_subdomains:e[`value-strict-transport-security-include-subdomains`],max_age:e[`value-strict-transport-security-max-age`],nosniff:e[`value-strict-transport-security-nosniff`],preload:e[`value-strict-transport-security-preload`]}}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(K,{body:t,zone_id:s,setting_id:e[`setting-id`]}));i(r,{successLabel:`Updated`});return}let c=u({enabled:e.enabled,value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`),cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],hostnames:e[`value-hostnames`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`],strict_transport_security:{enabled:e[`value-strict-transport-security-enabled`],include_subdomains:e[`value-strict-transport-security-include-subdomains`],max_age:e[`value-strict-transport-security-max-age`],nosniff:e[`value-strict-transport-security-nosniff`],preload:e[`value-strict-transport-security-preload`]}}}),f=await o(`Updating`,async()=>n.send(K,{body:c,zone_id:s,setting_id:e[`setting-id`]}));i(f,{successLabel:`Updated`})})};var qt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`};function Jt(e){return e.usage(`$0 zones settings get <setting-id>
89
98
 
90
- Fetch a single zone setting by name`).positional(`setting-id`,{type:`string`,description:`Setting name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Nt={command:`get <setting-id>`,describe:`Get zone setting`,builder:Mt,handler:async e=>s({command:`zones settings get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones settings get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(jt,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})},Pt={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(At).command(Nt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`,body:`json`};function Ft(e){return e.usage(`$0 zones speed-brain edit
99
+ Fetch a single zone setting by name`).positional(`setting-id`,{type:`string`,description:`Setting name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Yt={command:`get <setting-id>`,describe:`Get zone setting`,builder:Jt,handler:async e=>s({command:`zones settings get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones settings get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(qt,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})},Xt={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(Kt).command(Yt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`,body:`json`};function Zt(e){return e.usage(`$0 zones speed-brain edit
91
100
 
92
- Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website navigation faster. Refer to the Cloudflare Speed Brain documentation for more information.`).option(`value`,{type:`string`,description:`Whether the feature is enabled or disabled.`,choices:[`on`,`off`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const It={command:`edit`,describe:`Change Cloudflare Speed Brain setting`,builder:Ft,handler:async e=>s({command:`zones speed-brain edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones speed-brain edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/speed_brain`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(q,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether the feature is enabled or disabled.`,[`on`,`off`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(q,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var Lt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`};function Rt(e){return e.usage(`$0 zones speed-brain get
101
+ Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website navigation faster. Refer to the Cloudflare Speed Brain documentation for more information.`).option(`value`,{type:`string`,description:`Whether the feature is enabled or disabled.`,choices:[`on`,`off`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Qt={command:`edit`,describe:`Change Cloudflare Speed Brain setting`,builder:Zt,handler:async e=>s({command:`zones speed-brain edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones speed-brain edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/speed_brain`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(q,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether the feature is enabled or disabled.`,[`on`,`off`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(q,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var $t={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`};function en(e){return e.usage(`$0 zones speed-brain get
93
102
 
94
- Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website navigation faster. Refer to the Cloudflare Speed Brain documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const zt={command:`get`,describe:`Get Cloudflare Speed Brain setting`,builder:Rt,handler:async e=>s({command:`zones speed-brain get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones speed-brain get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/speed_brain`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Lt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Bt={command:`speed-brain`,describe:`Speed Brain operations`,builder:e=>e.command(It).command(zt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var J={method:`POST`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function Vt(e){return e.usage(`$0 zones subscriptions create
103
+ Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website navigation faster. Refer to the Cloudflare Speed Brain documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const tn={command:`get`,describe:`Get Cloudflare Speed Brain setting`,builder:en,handler:async e=>s({command:`zones speed-brain get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones speed-brain get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/speed_brain`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send($t,{zone_id:s}));i(c,{successLabel:`Loaded`})})},nn={command:`speed-brain`,describe:`Speed Brain operations`,builder:e=>e.command(Qt).command(tn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var J={method:`POST`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function rn(e){return e.usage(`$0 zones subscriptions create
95
104
 
96
- Create a zone subscription, either plan or add-ons.`).option(`app-install-id`,{type:`string`,description:`app install id.`}).option(`component-values`,{type:`string`,description:`Configurable component values for the subscription. Provide as a JSON array of objects or @path/to/file.json.`}).option(`frequency`,{type:`string`,description:`How often the subscription is renewed automatically.`,choices:[`weekly`,`monthly`,`quarterly`,`yearly`]}).coerce(`frequency`,e=>d(e,`frequency`,`text`)).option(`rate-plan-currency`,{type:`string`,description:`The currency applied to the rate plan subscription.`}).option(`rate-plan-externally-managed`,{type:`boolean`,description:`Whether this rate plan is managed externally from Cloudflare.`}).option(`rate-plan-id`,{type:`string`,description:`The ID of the rate plan.`}).option(`rate-plan-is-contract`,{type:`boolean`,description:`Whether a rate plan is enterprise-based (or newly adopted term contract).`}).option(`rate-plan-public-name`,{type:`string`,description:`The full name of the rate plan.`}).option(`rate-plan-scope`,{type:`string`,description:`The scope that this rate plan applies to.`}).option(`rate-plan-sets`,{type:`string`,array:!0,description:`The list of sets this rate plan applies to. Returns array of strings.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ht={command:`create`,describe:`Create Zone Subscription`,builder:Vt,handler:async e=>s({command:`zones subscriptions create`,classification:{safeFlags:[`frequency`,`rate-plan-externally-managed`,`rate-plan-is-contract`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:l(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Creating`,async()=>n.send(J,{body:t,zone_id:s}));i(r,{successLabel:`Created`});return}let f=u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:l(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}),p=await o(`Creating`,async()=>n.send(J,{body:f,zone_id:s}));i(p,{successLabel:`Created`})})};var Ut={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/subscription`};function Wt(e){return e.usage(`$0 zones subscriptions delete
105
+ Create a zone subscription, either plan or add-ons.`).option(`app-install-id`,{type:`string`,description:`app install id.`}).option(`component-values`,{type:`string`,description:`Configurable component values for the subscription. Provide as a JSON array of objects or @path/to/file.json.`}).option(`frequency`,{type:`string`,description:`How often the subscription is renewed automatically.`,choices:[`weekly`,`monthly`,`quarterly`,`yearly`]}).coerce(`frequency`,e=>d(e,`frequency`,`text`)).option(`rate-plan-currency`,{type:`string`,description:`The currency applied to the rate plan subscription.`}).option(`rate-plan-externally-managed`,{type:`boolean`,description:`Whether this rate plan is managed externally from Cloudflare.`}).option(`rate-plan-id`,{type:`string`,description:`The ID of the rate plan.`}).option(`rate-plan-is-contract`,{type:`boolean`,description:`Whether a rate plan is enterprise-based (or newly adopted term contract).`}).option(`rate-plan-public-name`,{type:`string`,description:`The full name of the rate plan.`}).option(`rate-plan-scope`,{type:`string`,description:`The scope that this rate plan applies to.`}).option(`rate-plan-sets`,{type:`string`,array:!0,description:`The list of sets this rate plan applies to. Returns array of strings.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const an={command:`create`,describe:`Create Zone Subscription`,builder:rn,handler:async e=>s({command:`zones subscriptions create`,classification:{safeFlags:[`frequency`,`rate-plan-externally-managed`,`rate-plan-is-contract`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Creating`,async()=>n.send(J,{body:t,zone_id:s}));i(r,{successLabel:`Created`});return}let f=u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}),p=await o(`Creating`,async()=>n.send(J,{body:f,zone_id:s}));i(p,{successLabel:`Created`})})};var on={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/subscription`};function sn(e){return e.usage(`$0 zones subscriptions delete
97
106
 
98
- Deletes a zone's subscription.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const Gt={command:`delete`,describe:`Delete Zone Subscription`,builder:Wt,handler:async e=>s({command:`zones subscriptions delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
99
- `);return}let c=await o(`Deleting`,async()=>n.send(Ut,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var Kt={method:`GET`,path:t=>e`/zones/${t.zone_id}/subscription`};function qt(e){return e.usage(`$0 zones subscriptions get
107
+ Deletes a zone's subscription.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const cn={command:`delete`,describe:`Delete Zone Subscription`,builder:sn,handler:async e=>s({command:`zones subscriptions delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
108
+ `);return}let c=await o(`Deleting`,async()=>n.send(on,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var ln={method:`GET`,path:t=>e`/zones/${t.zone_id}/subscription`};function un(e){return e.usage(`$0 zones subscriptions get
100
109
 
101
- Lists zone subscription details.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Jt={command:`get`,describe:`Zone Subscription Details`,builder:qt,handler:async e=>s({command:`zones subscriptions get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Kt,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var Y={method:`PUT`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function Yt(e){return e.usage(`$0 zones subscriptions update
110
+ Lists zone subscription details.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const dn={command:`get`,describe:`Zone Subscription Details`,builder:un,handler:async e=>s({command:`zones subscriptions get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ln,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var Y={method:`PUT`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function fn(e){return e.usage(`$0 zones subscriptions update
102
111
 
103
- Updates zone subscriptions, either plan or add-ons.`).option(`app-install-id`,{type:`string`,description:`app install id.`}).option(`component-values`,{type:`string`,description:`Configurable component values for the subscription. Provide as a JSON array of objects or @path/to/file.json.`}).option(`frequency`,{type:`string`,description:`How often the subscription is renewed automatically.`,choices:[`weekly`,`monthly`,`quarterly`,`yearly`]}).coerce(`frequency`,e=>d(e,`frequency`,`text`)).option(`rate-plan-currency`,{type:`string`,description:`The currency applied to the rate plan subscription.`}).option(`rate-plan-externally-managed`,{type:`boolean`,description:`Whether this rate plan is managed externally from Cloudflare.`}).option(`rate-plan-id`,{type:`string`,description:`The ID of the rate plan.`}).option(`rate-plan-is-contract`,{type:`boolean`,description:`Whether a rate plan is enterprise-based (or newly adopted term contract).`}).option(`rate-plan-public-name`,{type:`string`,description:`The full name of the rate plan.`}).option(`rate-plan-scope`,{type:`string`,description:`The scope that this rate plan applies to.`}).option(`rate-plan-sets`,{type:`string`,array:!0,description:`The list of sets this rate plan applies to. Returns array of strings.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Xt={command:`update`,describe:`Update Zone Subscription`,builder:Yt,handler:async e=>s({command:`zones subscriptions update`,classification:{safeFlags:[`frequency`,`rate-plan-externally-managed`,`rate-plan-is-contract`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:l(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(Y,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let f=u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:l(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}),p=await o(`Updating`,async()=>n.send(Y,{body:f,zone_id:s}));i(p,{successLabel:`Updated`})})},Zt={command:`subscriptions`,describe:`Operations for subscriptions`,builder:e=>e.command(Ht).command(Gt).command(Jt).command(Xt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var X={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`,body:`json`};function Qt(e){return e.usage(`$0 zones transformations-allowed-origins edit
112
+ Updates zone subscriptions, either plan or add-ons.`).option(`app-install-id`,{type:`string`,description:`app install id.`}).option(`component-values`,{type:`string`,description:`Configurable component values for the subscription. Provide as a JSON array of objects or @path/to/file.json.`}).option(`frequency`,{type:`string`,description:`How often the subscription is renewed automatically.`,choices:[`weekly`,`monthly`,`quarterly`,`yearly`]}).coerce(`frequency`,e=>d(e,`frequency`,`text`)).option(`rate-plan-currency`,{type:`string`,description:`The currency applied to the rate plan subscription.`}).option(`rate-plan-externally-managed`,{type:`boolean`,description:`Whether this rate plan is managed externally from Cloudflare.`}).option(`rate-plan-id`,{type:`string`,description:`The ID of the rate plan.`}).option(`rate-plan-is-contract`,{type:`boolean`,description:`Whether a rate plan is enterprise-based (or newly adopted term contract).`}).option(`rate-plan-public-name`,{type:`string`,description:`The full name of the rate plan.`}).option(`rate-plan-scope`,{type:`string`,description:`The scope that this rate plan applies to.`}).option(`rate-plan-sets`,{type:`string`,array:!0,description:`The list of sets this rate plan applies to. Returns array of strings.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const pn={command:`update`,describe:`Update Zone Subscription`,builder:fn,handler:async e=>s({command:`zones subscriptions update`,classification:{safeFlags:[`frequency`,`rate-plan-externally-managed`,`rate-plan-is-contract`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Y,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let f=u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}),p=await o(`Updating`,async()=>n.send(Y,{body:f,zone_id:s}));i(p,{successLabel:`Updated`})})},mn={command:`subscriptions`,describe:`Operations for subscriptions`,builder:e=>e.command(an).command(cn).command(dn).command(pn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var X={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`,body:`json`};function hn(e){return e.usage(`$0 zones transformations-allowed-origins edit
104
113
 
105
114
  Media Transformations Allowed Origins restricts transformations for images and video served through Cloudflare's network to requests originating from specified domains. Refer to the Image Transformations and Video Transformations documentation for more information.`).option(`value`,{type:`string`,description:`Comma-separated list of allowed origin domains for image and video transformations.
106
115
  Use "*" to allow all origins (default).
107
- `}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const $t={command:`edit`,describe:`Change Image Transformations Allowed Origins setting`,builder:Qt,handler:async e=>s({command:`zones transformations-allowed-origins edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-allowed-origins edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_allowed_origins`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(X,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await f(`value`,`Comma-separated list of allowed origin domains for image and video transformations. Use "*" to allow all origins (default). `));let l=u({value:d(e.value,`value`,`text`)}),p=await o(`Updating`,async()=>n.send(X,{body:l,zone_id:s}));i(p,{successLabel:`Updated`})})};var en={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`};function tn(e){return e.usage(`$0 zones transformations-allowed-origins get
116
+ `}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const gn={command:`edit`,describe:`Change Image Transformations Allowed Origins setting`,builder:hn,handler:async e=>s({command:`zones transformations-allowed-origins edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-allowed-origins edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_allowed_origins`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(X,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await f(`value`,`Comma-separated list of allowed origin domains for image and video transformations. Use "*" to allow all origins (default). `));let c=u({value:d(e.value,`value`,`text`)}),p=await o(`Updating`,async()=>n.send(X,{body:c,zone_id:s}));i(p,{successLabel:`Updated`})})};var _n={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`};function vn(e){return e.usage(`$0 zones transformations-allowed-origins get
108
117
 
109
- Media Transformations Allowed Origins restricts transformations for images and video served through Cloudflare's network to requests originating from specified domains. Refer to the Image Transformations and Video Transformations documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const nn={command:`get`,describe:`Get Image Transformations Allowed Origins setting`,builder:tn,handler:async e=>s({command:`zones transformations-allowed-origins get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-allowed-origins get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_allowed_origins`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(en,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Z={command:`transformations-allowed-origins`,describe:`Operations for transformations-allowed-origins`,builder:e=>e.command($t).command(nn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`,body:`json`};function rn(e){return e.usage(`$0 zones transformations-c2pa edit
118
+ Media Transformations Allowed Origins restricts transformations for images and video served through Cloudflare's network to requests originating from specified domains. Refer to the Image Transformations and Video Transformations documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const yn={command:`get`,describe:`Get Image Transformations Allowed Origins setting`,builder:vn,handler:async e=>s({command:`zones transformations-allowed-origins get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-allowed-origins get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_allowed_origins`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(_n,{zone_id:s}));i(c,{successLabel:`Loaded`})})},bn={command:`transformations-allowed-origins`,describe:`Operations for transformations-allowed-origins`,builder:e=>e.command(gn).command(yn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`,body:`json`};function xn(e){return e.usage(`$0 zones transformations-c2pa edit
110
119
 
111
- C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance.`).option(`value`,{type:`string`,description:`Whether C2PA signing is enabled for image transformations.`,choices:[`off`,`on`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const an={command:`edit`,describe:`Change Image Transformations C2PA setting`,builder:rn,handler:async e=>s({command:`zones transformations-c2pa edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-c2pa edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_c2pa`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send(Q,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether C2PA signing is enabled for image transformations.`,[`off`,`on`]));let l=u({value:e.value}),d=await o(`Updating`,async()=>n.send(Q,{body:l,zone_id:s}));i(d,{successLabel:`Updated`})})};var on={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`};function sn(e){return e.usage(`$0 zones transformations-c2pa get
120
+ C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance.`).option(`value`,{type:`string`,description:`Whether C2PA signing is enabled for image transformations.`,choices:[`off`,`on`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Sn={command:`edit`,describe:`Change Image Transformations C2PA setting`,builder:xn,handler:async e=>s({command:`zones transformations-c2pa edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-c2pa edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_c2pa`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Z,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether C2PA signing is enabled for image transformations.`,[`off`,`on`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(Z,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var Cn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`};function wn(e){return e.usage(`$0 zones transformations-c2pa get
112
121
 
113
- C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const cn={command:`get`,describe:`Get Image Transformations C2PA setting`,builder:sn,handler:async e=>s({command:`zones transformations-c2pa get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-c2pa get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_c2pa`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(on,{zone_id:s}));i(c,{successLabel:`Loaded`})})},ln={command:`transformations-c2pa`,describe:`Operations for transformations-c2pa`,builder:e=>e.command(an).command(cn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var $={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`,body:`json`};function un(e){return e.usage(`$0 zones transformations-config edit
122
+ C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Tn={command:`get`,describe:`Get Image Transformations C2PA setting`,builder:wn,handler:async e=>s({command:`zones transformations-c2pa get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-c2pa get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_c2pa`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Cn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},En={command:`transformations-c2pa`,describe:`Operations for transformations-c2pa`,builder:e=>e.command(Sn).command(Tn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`,body:`json`};function Dn(e){return e.usage(`$0 zones transformations-config edit
114
123
 
115
124
  Updates one or more fields of the combined Transformations configuration for a zone. Omitted fields are left unchanged. The response always returns the full current state of all three sub-settings.`).option(`value-allowed-origins`,{type:`string`,description:`Comma-separated list of allowed origin domains for image and video transformations.
116
125
  Use "*" to allow all origins (default).
@@ -119,6 +128,6 @@ Use "*" to allow all origins (default).
119
128
  - "on": Transformations enabled for same-zone images only.
120
129
  - "open": Transformations enabled for images from any origin.
121
130
  - "latest": Transformations enabled using the latest version.
122
- `,choices:[`off`,`on`,`open`,`latest`]}).coerce(`value-transformations`,e=>d(e,`value-transformations`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const dn={command:`edit`,describe:`Change Transformations configuration`,builder:un,handler:async e=>s({command:`zones transformations-config edit`,classification:{safeFlags:[`value-c2pa`,`value-transformations`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-config edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{allowed_origins:d(e[`value-allowed-origins`],`value-allowed-origins`,`text`),c2pa:e[`value-c2pa`],transformations:e[`value-transformations`]}}):c(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=c(e.body),r=await o(`Updating`,async()=>n.send($,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let l=u({value:{allowed_origins:d(e[`value-allowed-origins`],`value-allowed-origins`,`text`),c2pa:e[`value-c2pa`],transformations:e[`value-transformations`]}}),f=await o(`Updating`,async()=>n.send($,{body:l,zone_id:s}));i(f,{successLabel:`Updated`})})};var fn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`};function pn(e){return e.usage(`$0 zones transformations-config get
131
+ `,choices:[`off`,`on`,`open`,`latest`]}).coerce(`value-transformations`,e=>d(e,`value-transformations`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const On={command:`edit`,describe:`Change Transformations configuration`,builder:Dn,handler:async e=>s({command:`zones transformations-config edit`,classification:{safeFlags:[`value-c2pa`,`value-transformations`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-config edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{allowed_origins:d(e[`value-allowed-origins`],`value-allowed-origins`,`text`),c2pa:e[`value-c2pa`],transformations:e[`value-transformations`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Q,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:{allowed_origins:d(e[`value-allowed-origins`],`value-allowed-origins`,`text`),c2pa:e[`value-c2pa`],transformations:e[`value-transformations`]}}),f=await o(`Updating`,async()=>n.send(Q,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var $={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`};function kn(e){return e.usage(`$0 zones transformations-config get
123
132
 
124
- Returns the combined Transformations configuration for a zone, including the transformations toggle, allowed origins, and C2PA signing settings in a single response.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const mn={command:`get`,describe:`Get Transformations configuration`,builder:pn,handler:async e=>s({command:`zones transformations-config get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-config get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(fn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},hn={command:`transformations-config`,describe:`Operations for transformations-config`,builder:e=>e.command(dn).command(mn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},gn={command:`zones`,describe:`Zones are domains on Cloudflare — list, create, and configure domain settings`,builder:e=>e.command(x).command(w).command(D).command(L).command(He).command(re).command(le).command(he).command(P).command(Se).command(Pe).command(Be).command(Je).command(et).command(dt).command(vt).command(St).command(Ot).command(Pt).command(Bt).command(Zt).command(Z).command(ln).command(hn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{gn as default};
133
+ Returns the combined Transformations configuration for a zone, including the transformations toggle, allowed origins, and C2PA signing settings in a single response.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const An={command:`get`,describe:`Get Transformations configuration`,builder:kn,handler:async e=>s({command:`zones transformations-config get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-config get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send($,{zone_id:s}));i(c,{successLabel:`Loaded`})})},jn={command:`transformations-config`,describe:`Operations for transformations-config`,builder:e=>e.command(On).command(An).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Mn={command:`zones`,describe:`Zones are domains on Cloudflare — list, create, and configure domain settings`,builder:e=>e.command(x).command(w).command(D).command(L).command(it).command(re).command(le).command(he).command(P).command(Se).command(Pe).command(Xe).command(nt).command(ut).command(gt).command(Dt).command(Pt).command(Rt).command(Wt).command(Xt).command(nn).command(mn).command(bn).command(En).command(jn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{Mn as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf",
3
- "version": "1.0.0-beta.17",
3
+ "version": "1.0.0-beta.19",
4
4
  "description": "The Cloudflare CLI",
5
5
  "keywords": [
6
6
  "ai",
@@ -59,23 +59,23 @@
59
59
  "./package.json": "./package.json"
60
60
  },
61
61
  "dependencies": {
62
- "@cloudflare/build-output-utils": "0.9.2",
63
- "@cloudflare/config": "0.26.0",
64
- "@cloudflare/runtime-types": "0.1.11",
62
+ "@cloudflare/build-output-utils": "0.9.3",
63
+ "@cloudflare/config": "0.27.0",
64
+ "@cloudflare/runtime-types": "0.1.13",
65
65
  "blake3-wasm": "2.1.5",
66
- "miniflare": "5.20261012.0-beta"
66
+ "miniflare": "5.20261019.0-beta"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@bomb.sh/tab": "0.0.22",
70
- "@bytecodealliance/jco": "1.37.0",
70
+ "@bytecodealliance/jco": "1.39.0",
71
71
  "@clack/core": "1.5.1",
72
72
  "@clack/prompts": "^1.8.1",
73
- "@cloudflare/autoconfig": "0.7.9",
73
+ "@cloudflare/autoconfig": "0.7.10",
74
74
  "@cloudflare/cli-shared-helpers": "0.2.6",
75
- "@cloudflare/codemods": "0.5.0",
76
- "@cloudflare/containers-shared": "0.21.7",
77
- "@cloudflare/deploy-helpers": "0.20.3",
78
- "@cloudflare/forge": "file:../../vendor/cloudflare-forge-0.1.0.tgz",
75
+ "@cloudflare/codemods": "0.5.1",
76
+ "@cloudflare/containers-shared": "0.23.0",
77
+ "@cloudflare/deploy-helpers": "0.22.0",
78
+ "@cloudflare/forge": "https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@ca70d7f5d88da223e243bca25810199876242ea6",
79
79
  "@cloudflare/workers-auth": "0.14.0",
80
80
  "@cloudflare/workers-utils": "0.47.2",
81
81
  "@types/node": "25.9.9",
@@ -88,13 +88,13 @@
88
88
  "figures": "6.1.0",
89
89
  "minimatch": "10.2.6",
90
90
  "minisearch": "7.2.0",
91
- "msw": "3.0.2",
91
+ "msw": "3.0.3",
92
92
  "semver": "7.8.5",
93
93
  "shell-quote": "^1.12.0",
94
94
  "tinyexec": "^1.3.1",
95
95
  "tsx": "4.21.0",
96
- "undici": "7.30.0",
97
- "vite-plus": "1.1.0",
96
+ "undici": "7.30.1",
97
+ "vite-plus": "1.3.0",
98
98
  "yargs": "18.2.0"
99
99
  },
100
100
  "engines": {