cf 1.0.0-beta.21 → 1.0.0-beta.23

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 (250) hide show
  1. package/dist/_meta/commands.json +5085 -4936
  2. package/dist/_meta/schemas.json +3053 -3057
  3. package/dist/{abuse-reports-CbUAnJxd.mjs → abuse-reports-SaxhQy6n.mjs} +1 -1
  4. package/dist/{access-C-78DlxL.mjs → access-BI_7K9ye.mjs} +1 -1
  5. package/dist/{accounts-DEqQPxCz.mjs → accounts-yCqYkAyG.mjs} +50 -52
  6. package/dist/{acm-jmhCq3Yh.mjs → acm-Cyvj0TLt.mjs} +1 -1
  7. package/dist/{addressing-BeYFpQvC.mjs → addressing-CPjDXCGE.mjs} +1 -1
  8. package/dist/agent-context-Dtyy4aKL.mjs +2 -0
  9. package/dist/{agent-memory-Chlovb7j.mjs → agent-memory-EoP2Uwo7.mjs} +1 -1
  10. package/dist/{ai-BndH3HYN.mjs → ai-DU5T7Rw7.mjs} +1 -1
  11. package/dist/{ai-audit-BUJ-70O_.mjs → ai-audit-DVT8qGLn.mjs} +1 -1
  12. package/dist/{ai-gateway-CCk7VKhL.mjs → ai-gateway-BYtptiIM.mjs} +1 -1
  13. package/dist/{ai-search-BexET_wp.mjs → ai-search-CJJ5XZTd.mjs} +1 -1
  14. package/dist/{ai-security-D4MxRlxX.mjs → ai-security-CidIWQ2m.mjs} +1 -1
  15. package/dist/{alerting-rw8Oi3x7.mjs → alerting-CVatzxaS.mjs} +1 -1
  16. package/dist/{analytics-q-guNEOK.mjs → analytics-BWJAOVxo.mjs} +1 -1
  17. package/dist/{analytics-engine-Bk7dQLcm.mjs → analytics-engine-CZgKAEo0.mjs} +1 -1
  18. package/dist/api-X3wKppsT.mjs +3 -0
  19. package/dist/{api-security-BDc6gkf1.mjs → api-security-CAeFfkOp.mjs} +1 -1
  20. package/dist/{argo-CnLIqm0i.mjs → argo-YKMl_X-Q.mjs} +1 -1
  21. package/dist/{artifacts-Cil33dzV.mjs → artifacts-CrWK_jdk.mjs} +1 -1
  22. package/dist/{audit-logs--E2Eclb7.mjs → audit-logs-C7Z4o6lL.mjs} +1 -1
  23. package/dist/{auth-BtZmY6sE.mjs → auth-0yg8UHy1.mjs} +1 -1
  24. package/dist/auth-DCnxMUAZ.mjs +2 -0
  25. package/dist/{auth-BcNLQji1.mjs → auth-DkPhAgZv.mjs} +1 -1
  26. package/dist/{auth-token-aF5AVLlH.mjs → auth-token-C-ushV4K.mjs} +1 -1
  27. package/dist/{autoconfig-Dbp6J25P.mjs → autoconfig-CwWsgTP2.mjs} +12 -12
  28. package/dist/{basin-catalog-dnVyzopm.mjs → basin-catalog-Df0BLUfb.mjs} +1 -1
  29. package/dist/{billing-Fqp3jB2V.mjs → billing-C7qD2cBJ.mjs} +1 -1
  30. package/dist/blocks-hVx18MUM.mjs +5 -0
  31. package/dist/body-parser-BKcZS9iJ.mjs +2 -0
  32. package/dist/{bot-management-SEDgo1Xg.mjs → bot-management-Dv2tluEZ.mjs} +1 -1
  33. package/dist/{botnet-feed-DPqR4M0Y.mjs → botnet-feed-DrIY4gpG.mjs} +1 -1
  34. package/dist/{brand-protection-B8vwKfM9.mjs → brand-protection-of9uwStG.mjs} +1 -1
  35. package/dist/{browser-run-BybYDq3I.mjs → browser-run-CbMV-Pf5.mjs} +1 -1
  36. package/dist/build-DHPdqjpj.mjs +2 -0
  37. package/dist/{build-CWlpWVBf.mjs → build-Yf5bvUk2.mjs} +1 -1
  38. package/dist/{builds-CvtOG-Gk.mjs → builds-DQrlz2-K.mjs} +1 -1
  39. package/dist/{cache-Bme_d2Wx.mjs → cache-suoMuQMh.mjs} +1 -1
  40. package/dist/{cf-fIBhEAxU.mjs → cf-CInFH4Ng.mjs} +1 -1
  41. package/dist/{chunk-XVBBSNW2-DfMyGS-l.mjs → chunk-3PJ54H4K-C8sxQzhB.mjs} +25 -25
  42. package/dist/{chunk-DSGVRFIS-DHC6NOIj.mjs → chunk-DSGVRFIS-CP2xC0bc.mjs} +1 -1
  43. package/dist/{cli-CIKDqm-u.mjs → cli-BjAkPFKt.mjs} +1 -1
  44. package/dist/{client-side-security-ZQeRoo1t.mjs → client-side-security-lh4tvRH8.mjs} +1 -1
  45. package/dist/{cloud-connector-BeunZlNV.mjs → cloud-connector-C65g5ddh.mjs} +1 -1
  46. package/dist/{cloudflared-DbzoIouQ.mjs → cloudflared-FEg1GxHT.mjs} +1 -1
  47. package/dist/cloudforce-one-C2K8Sbji.mjs +316 -0
  48. package/dist/{command-C9CNvZi_.mjs → command-BHJu931_.mjs} +1 -1
  49. package/dist/{command-orlUsdgf.mjs → command-BaIY4UuC.mjs} +1 -1
  50. package/dist/{command-C6kE7BU0.mjs → command-BfoLlrr1.mjs} +1 -1
  51. package/dist/{command-CkZkTjIj.mjs → command-BqEoltQG.mjs} +1 -1
  52. package/dist/{command-B3uWlw57.mjs → command-C2ZXXZI4.mjs} +1 -1
  53. package/dist/{command-BGRucANI.mjs → command-C5465_vZ.mjs} +1 -1
  54. package/dist/{command-CzWWQv8j.mjs → command-CBQp3Znu.mjs} +1 -1
  55. package/dist/{command-CtlD6MEi.mjs → command-CKXrXY0q.mjs} +1 -1
  56. package/dist/{command-CQ5qHE7n.mjs → command-Cby3gjqh.mjs} +1 -1
  57. package/dist/{command-prWMAJbg.mjs → command-CszTdUQV.mjs} +1 -1
  58. package/dist/{command-CqKRlHGv.mjs → command-D3E7d8E7.mjs} +1 -1
  59. package/dist/{command-DkwmylF2.mjs → command-DCJgoFz9.mjs} +1 -1
  60. package/dist/{command-DWWuXQV8.mjs → command-DRBtP4R8.mjs} +1 -1
  61. package/dist/{command-rUCxlpQI.mjs → command-DrdxR1tJ.mjs} +1 -1
  62. package/dist/{completions-2Otv0HMd.mjs → completions-DIIrktem.mjs} +1 -1
  63. package/dist/{connector-interrupts-Dfhxupmg.mjs → connector-interrupts-B4xZTu7K.mjs} +1 -1
  64. package/dist/{connector-telemetry-events-CLVpDTIa.mjs → connector-telemetry-events-DtTO6KCB.mjs} +1 -1
  65. package/dist/{connector-telemetry-snapshots-E_1tmNmQ.mjs → connector-telemetry-snapshots-BS1Cq8v_.mjs} +1 -1
  66. package/dist/{connectors-ChJpQFSl.mjs → connectors-CUywNbTu.mjs} +1 -1
  67. package/dist/{containers-Cj5-9nUg.mjs → containers-CQxEk5xO.mjs} +2 -2
  68. package/dist/containers-DCL31jYE.mjs +380 -0
  69. package/dist/{content-scan-CIA_9PV8.mjs → content-scan-6BGlT-em.mjs} +1 -1
  70. package/dist/{context-DVh8Wyfs.mjs → context-DoGlohS-.mjs} +1 -1
  71. package/dist/{cps-hJkqdsHx.mjs → cps-BoQ1alPM.mjs} +1 -1
  72. package/dist/create-BtmuVqVL.mjs +2 -0
  73. package/dist/{csam-scanner-cCVO3lNF.mjs → csam-scanner-OFnvPsqP.mjs} +1 -1
  74. package/dist/{custom-csrs-BrTWUZ0c.mjs → custom-csrs-BT-kjyPt.mjs} +1 -1
  75. package/dist/{custom-hostnames-C4ft77oC.mjs → custom-hostnames-ItOUZwKc.mjs} +1 -1
  76. package/dist/{custom-nameservers-BWfrZhD1.mjs → custom-nameservers-BZ1SzRQI.mjs} +1 -1
  77. package/dist/{custom-pages-DqTMKtRc.mjs → custom-pages-rIzNbxrh.mjs} +1 -1
  78. package/dist/{d1-B58AA9PA.mjs → d1-DtEeX2ua.mjs} +4 -4
  79. package/dist/{delegate-D7yYckA4.mjs → delegate-3IgxBeFH.mjs} +1 -1
  80. package/dist/delegate.mjs +1 -1
  81. package/dist/{deploy-CEROLAdh.mjs → deploy-CvIiOhGj.mjs} +1 -1
  82. package/dist/{deploy-context-Do89WayB.mjs → deploy-context-CCahKKFs.mjs} +1 -1
  83. package/dist/{deploy-input-DyMuMsi5.mjs → deploy-input-BusFZFqu.mjs} +1 -1
  84. package/dist/{dev-BaFS7kOM.mjs → dev-2hNwTy0s.mjs} +1 -1
  85. package/dist/{diagnostics-4gfYj7Pf.mjs → diagnostics-Di6xJHuC.mjs} +1 -1
  86. package/dist/dist-D5YYi2LO.mjs +453 -0
  87. package/dist/{dls-ClWVxTBg.mjs → dls-CAlQiQv4.mjs} +1 -1
  88. package/dist/{dns-CML-wxIt.mjs → dns-BzxLC4D1.mjs} +1 -1
  89. package/dist/{dns-firewall-CL0b3dJ1.mjs → dns-firewall-CHVL95X_.mjs} +1 -1
  90. package/dist/{docs-BeYBHwUN.mjs → docs-SWvG8lKe.mjs} +1 -1
  91. package/dist/{dotenv-CmPRiXmU.mjs → dotenv-qsoPELMm.mjs} +1 -1
  92. package/dist/{durable-objects-uZECeq_f.mjs → durable-objects-DZl4seSi.mjs} +1 -1
  93. package/dist/{email-auth-CCNW798I.mjs → email-auth-hHJQmtYR.mjs} +1 -1
  94. package/dist/{email-domains-1rD1d84O.mjs → email-domains-BBFPOLQx.mjs} +1 -1
  95. package/dist/{email-routing-CYv-LrbV.mjs → email-routing-Cimk4lg2.mjs} +1 -1
  96. package/dist/{email-security-CWEUYPYo.mjs → email-security-DiNFIpmg.mjs} +1 -1
  97. package/dist/{email-sending-DHSzCfJx.mjs → email-sending-yIqoikwn.mjs} +3 -3
  98. package/dist/{error-sanitization-DWJ5ka7h.mjs → error-sanitization-ahuAGEjT.mjs} +1 -1
  99. package/dist/error-sanitization-rodO1WCL.mjs +2 -0
  100. package/dist/{errors-ol9sMqSe.mjs → errors-d_Ld5w3d.mjs} +5 -5
  101. package/dist/{field-extractors-CuBM_uO4.mjs → field-extractors-CiuZnMX2.mjs} +1 -1
  102. package/dist/{firewall-SMIUSypF.mjs → firewall-B8QK0M1Y.mjs} +1 -1
  103. package/dist/{flagship-D3v6iDdw.mjs → flagship-Dh0-PZgv.mjs} +1 -1
  104. package/dist/{fraud-B2f7O15X.mjs → fraud-DDebasT8.mjs} +1 -1
  105. package/dist/get-Be821dio.mjs +2 -0
  106. package/dist/{google-tag-gateway-BwOc62Gy.mjs → google-tag-gateway-BPrh4DbT.mjs} +1 -1
  107. package/dist/{healthchecks-BQXHnihB.mjs → healthchecks-CF8SJ-wN.mjs} +1 -1
  108. package/dist/{hyperdrive-Bd6Yfje3.mjs → hyperdrive-B9uPSMiW.mjs} +1 -1
  109. package/dist/{iam-qJPI1_aZ.mjs → iam-g9EBjHMK.mjs} +1 -1
  110. package/dist/{images-goHZJOxy.mjs → images-BqSlZF88.mjs} +1 -1
  111. package/dist/index.mjs +1 -1
  112. package/dist/{init-CVx0Ya1E.mjs → init-CIfT7Qx1.mjs} +1 -1
  113. package/dist/{intel-CwiqwJI9.mjs → intel-D8nT11Y4.mjs} +1 -1
  114. package/dist/{interactive-D4E8PdaW.mjs → interactive-DOWEcR6_.mjs} +8 -4
  115. package/dist/{internal-5cnlw9mH.mjs → internal-C7zUQ4fS.mjs} +1 -1
  116. package/dist/{ips-KBxmXhvO.mjs → ips-DwrIBecV.mjs} +1 -1
  117. package/dist/{k2-KhIP5NFT.mjs → k2-7r63P37v.mjs} +1 -1
  118. package/dist/{kv-CCem2sEY.mjs → kv-BQSq0aQ5.mjs} +1 -1
  119. package/dist/{lazy-command-BMhD5ffF.mjs → lazy-command-JgUZQW-c.mjs} +1 -1
  120. package/dist/{leaked-credential-checks-BkPZiwE2.mjs → leaked-credential-checks-Bu2NYq31.mjs} +1 -1
  121. package/dist/{live-BhHzxFna.mjs → live-ZSukf_dI.mjs} +1 -1
  122. package/dist/{load-balancers-17GBXdju.mjs → load-balancers-CthmhsmC.mjs} +1 -1
  123. package/dist/local-CxTyXQlK.mjs +2 -0
  124. package/dist/{local-CSH3UMpD.mjs → local-Y4rIAAtA.mjs} +1 -1
  125. package/dist/{local-runtime-KOFLRZeZ.mjs → local-runtime-Crs0aOFO.mjs} +1 -1
  126. package/dist/login-C_gOc9pk.mjs +2 -0
  127. package/dist/{login-Buhvx6Fi.mjs → login-lXb4Sqs9.mjs} +1 -1
  128. package/dist/{logpush-BCCUxa4J.mjs → logpush-Mw2VklWj.mjs} +1 -1
  129. package/dist/{logs-4CwupKRG.mjs → logs-DQrNjo77.mjs} +1 -1
  130. package/dist/{magic-cloud-networking-Xy6SC-V-.mjs → magic-cloud-networking-D8s1hN3K.mjs} +1 -1
  131. package/dist/{magic-network-monitoring-B8pRZp2g.mjs → magic-network-monitoring-f0ccLJlt.mjs} +1 -1
  132. package/dist/{magic-transit-CwfO3OOX.mjs → magic-transit-7WpZJc0a.mjs} +1 -1
  133. package/dist/{managed-defense-CtFLuvuB.mjs → managed-defense-QLYmbNgC.mjs} +1 -1
  134. package/dist/{managed-transforms-Hto8OCBS.mjs → managed-transforms-CkaQn7tC.mjs} +1 -1
  135. package/dist/{mcp-SQ0MAVUJ.mjs → mcp-Di1X9Amj.mjs} +1 -1
  136. package/dist/{mesh-C8A6tVqA.mjs → mesh-CkvqQb6B.mjs} +1 -1
  137. package/dist/{migrate-Dufxsb_F.mjs → migrate-KOhIz9fX.mjs} +1 -1
  138. package/dist/{monetization-CYVaCAe9.mjs → monetization-C9c2OCag.mjs} +1 -1
  139. package/dist/{network-CJBTdEM3.mjs → network-0PlPsgfJ.mjs} +1 -1
  140. package/dist/{network-interconnects-CKlNFj3i.mjs → network-interconnects-BeiuYp7F.mjs} +1 -1
  141. package/dist/{o11y-5x2Q8CWm.mjs → o11y-Ys4wGQJ8.mjs} +1 -1
  142. package/dist/{oauth-D_A8AcIS.mjs → oauth-BL039mqa.mjs} +1 -1
  143. package/dist/{oauth-BN6_FpYp.mjs → oauth-BX5dMp7e.mjs} +1 -1
  144. package/dist/{oauth-clients-qKXg8ZH3.mjs → oauth-clients-DhVG_Upv.mjs} +1 -1
  145. package/dist/{oauth-scopes-Ct1jDyC5.mjs → oauth-scopes-B1n8hUMj.mjs} +1 -1
  146. package/dist/{organization-lBQSeqS1.mjs → organization-8ateLjgl.mjs} +1 -1
  147. package/dist/{organizations-DEX8Er3g.mjs → organizations-DdQAC66Z.mjs} +1 -1
  148. package/dist/{origin-post-quantum-encryption-DUsxVGCs.mjs → origin-post-quantum-encryption-D9qT0WUV.mjs} +1 -1
  149. package/dist/package-C4H_6MHV.mjs +2 -0
  150. package/dist/{page-rules-BMt6nt03.mjs → page-rules-DlOky6Zl.mjs} +1 -1
  151. package/dist/{pages-Jxa92ECz.mjs → pages-BcqYjzyx.mjs} +2 -2
  152. package/dist/{pay-per-crawl-Cv0044CZ.mjs → pay-per-crawl-DtYmYcHH.mjs} +1 -1
  153. package/dist/{pay-per-use-DGEeG-dC.mjs → pay-per-use-DOUCWPNy.mjs} +1 -1
  154. package/dist/{pipelines-CEC78A3w.mjs → pipelines-8yHQduBt.mjs} +1 -1
  155. package/dist/{precursor-Ba0Ejhzt.mjs → precursor-CX7gjIRG.mjs} +1 -1
  156. package/dist/{previews-DnZbUTym.mjs → previews-WL-CudUP.mjs} +1 -1
  157. package/dist/{progress-CtGsPOpV.mjs → progress-D2_AF54c.mjs} +1 -1
  158. package/dist/{prompt-YrI7ltMa.mjs → prompt-BBR19lgj.mjs} +1 -1
  159. package/dist/{queues-Chq997uj.mjs → queues-BDNnjJ5M.mjs} +1 -1
  160. package/dist/{r2-BFgZDs-F.mjs → r2-B9b18zom.mjs} +1 -1
  161. package/dist/{radar-DJdDzLJw.mjs → radar-BCxOSIwx.mjs} +1 -1
  162. package/dist/{raw-fetch-BE3QgdTE.mjs → raw-fetch-BFcMz5hY.mjs} +1 -1
  163. package/dist/{ready-Cok0aqke.mjs → ready-C8zZ63yB.mjs} +1 -1
  164. package/dist/{realtime-BHWWCiKp.mjs → realtime-C8z8iTs4.mjs} +73 -71
  165. package/dist/{registrar-9Y-1IQ0n.mjs → registrar-BTMp4ivm.mjs} +1 -1
  166. package/dist/{registrar-sandbox-DTS1kRnb.mjs → registrar-sandbox-C2PG_Alv.mjs} +1 -1
  167. package/dist/{registry-Bm-GgDC3.mjs → registry-DpNVjLuS.mjs} +1 -1
  168. package/dist/{reporting-D5RbKQJf.mjs → reporting-BQY6_uXf.mjs} +1 -1
  169. package/dist/{request-headers-KhW_hy36.mjs → request-headers-_yTB3kAw.mjs} +1 -1
  170. package/dist/{request-tracers-wxWCjmHo.mjs → request-tracers-Dijdzs6y.mjs} +1 -1
  171. package/dist/{resource-sharing-BGoaVvJa.mjs → resource-sharing-DYaOk_EC.mjs} +1 -1
  172. package/dist/{rules-Cd3EjhdF.mjs → rules-TsOBYamD.mjs} +1 -1
  173. package/dist/{rulesets-Bnz3rSBT.mjs → rulesets-BICRAp0v.mjs} +1 -1
  174. package/dist/{rum-CK9HEe3O.mjs → rum-wY_8vewy.mjs} +1 -1
  175. package/dist/{run-DnZGQbq_.mjs → run-C2-1SFrS.mjs} +1 -1
  176. package/dist/run-C9r-Beel.mjs +2 -0
  177. package/dist/{schema-flags-BrDlFwLv.mjs → schema-flags-DHP8ll5_.mjs} +1 -1
  178. package/dist/{scim-UdqaWnOu.mjs → scim-BCB-RVUX.mjs} +1 -1
  179. package/dist/{secrets-store-Bf5v96LC.mjs → secrets-store-BR-h9nxX.mjs} +3 -3
  180. package/dist/{security-insights-BAGySlGu.mjs → security-insights-C3pM4_QG.mjs} +1 -1
  181. package/dist/{security-txt-D0fMmjHs.mjs → security-txt-BYeDQJyf.mjs} +1 -1
  182. package/dist/{session-6xqrJWXy.mjs → session-CG79ZLE9.mjs} +1 -1
  183. package/dist/{shared-DYRRG9A-.mjs → shared-Z4B68uro.mjs} +1 -1
  184. package/dist/{signed-url-Ce0muRem.mjs → signed-url-BWwUnIl-.mjs} +1 -1
  185. package/dist/{smart-shield-CCy7_M3j.mjs → smart-shield-Dlsh9Xdx.mjs} +1 -1
  186. package/dist/{snippets-Bc8m3HSV.mjs → snippets-DWTJdzIF.mjs} +1 -1
  187. package/dist/{spawn-BAEdy9kS.mjs → spawn-DdvGNWEs.mjs} +1 -1
  188. package/dist/{spectrum-DtNX8WBX.mjs → spectrum-RbNSnJya.mjs} +1 -1
  189. package/dist/{speed-TbkeWV_x.mjs → speed-Bh18cP0e.mjs} +1 -1
  190. package/dist/{sql-DI319y25.mjs → sql-BKjCDDS-.mjs} +1 -1
  191. package/dist/src-BZtxQa8v.mjs +131 -0
  192. package/dist/{ssl-D0MIzFl2.mjs → ssl-BHMbK4Be.mjs} +1 -1
  193. package/dist/{startup-profile-DlWrt4Fm.mjs → startup-profile-B7yHR_YB.mjs} +2 -4
  194. package/dist/startup-profile-zt6cFnBn.mjs +2 -0
  195. package/dist/state-C5mQ9At8.mjs +2 -0
  196. package/dist/{state-DazGSbRx.mjs → state-DNuVv5i-.mjs} +1 -1
  197. package/dist/{stream-4Mrb8HEo.mjs → stream-BFs1vbTA.mjs} +1 -1
  198. package/dist/{tags-BP25qydR.mjs → tags-ACINMEUC.mjs} +1 -1
  199. package/dist/{telemetry-DKSJSLtq.mjs → telemetry-Da9TmAgm.mjs} +1 -1
  200. package/dist/telemetry-Q7QghPwV.mjs +2 -0
  201. package/dist/{tenant-jmfZqEZ4.mjs → tenant-Decq0ghq.mjs} +1 -1
  202. package/dist/{tenant-custom-nameservers-BzVP85Tq.mjs → tenant-custom-nameservers-CGcqESj5.mjs} +1 -1
  203. package/dist/{tunnels-BNswR1Dj.mjs → tunnels-ff1a_ucB.mjs} +2 -2
  204. package/dist/{turnstile-BgsTP2fz.mjs → turnstile-BmJeENqH.mjs} +1 -1
  205. package/dist/ui-C1y5cXUM.mjs +2 -0
  206. package/dist/{update-check-C7mfEeQ7.mjs → update-check-BjlU_02g.mjs} +1 -1
  207. package/dist/{update-check-BOF1hn_I.mjs → update-check-imcniBzu.mjs} +1 -1
  208. package/dist/update-check-worker.mjs +1 -1
  209. package/dist/{url-normalization-Bqrs4-2F.mjs → url-normalization-DPqqTNzy.mjs} +1 -1
  210. package/dist/{url-scanner-Dm4Fps5T.mjs → url-scanner-SmzhVLS-.mjs} +1 -1
  211. package/dist/{user-u_LxzLM4.mjs → user-LDJcWt0X.mjs} +1 -1
  212. package/dist/{vectorize-DLGiOyd4.mjs → vectorize-D57FE9YT.mjs} +1 -1
  213. package/dist/version-CbBZJTiB.mjs +2 -0
  214. package/dist/{waiting-rooms-DmgJgJXb.mjs → waiting-rooms-Bp5glzYE.mjs} +1 -1
  215. package/dist/{web-assets-rNhZWP-6.mjs → web-assets-BzSBU057.mjs} +1 -1
  216. package/dist/{web3-BVBdFt8E.mjs → web3-DmeS2XCY.mjs} +1 -1
  217. package/dist/{workers-CjUKJvH8.mjs → workers-BUmSAYvI.mjs} +2 -2
  218. package/dist/{workers-builds-D3Q97l7X.mjs → workers-builds-BRRyYyDr.mjs} +1 -1
  219. package/dist/{workers-for-platforms-C_fcw30y.mjs → workers-for-platforms-Bq5hpU-X.mjs} +1 -1
  220. package/dist/{workers-vpc-CnRO3Stc.mjs → workers-vpc-Dn83sJ0S.mjs} +1 -1
  221. package/dist/{workflows-cpHFe5v6.mjs → workflows-BI1Oqr1y.mjs} +1 -1
  222. package/dist/wrangler-migration-DHfxfsd8.mjs +946 -0
  223. package/dist/{zaraz-BRj0J7vK.mjs → zaraz-eWdwn_FV.mjs} +1 -1
  224. package/dist/{zero-trust-CVZKDLCB.mjs → zero-trust-Dj_s_8u8.mjs} +37 -37
  225. package/dist/{zones-C4S_kpGz.mjs → zones-D7J5AMUO.mjs} +50 -48
  226. package/package.json +14 -14
  227. package/dist/agent-context-DFEgYjEQ.mjs +0 -2
  228. package/dist/api-eMuS5GI1.mjs +0 -3
  229. package/dist/auth-B0lEsD_1.mjs +0 -2
  230. package/dist/blocks-BOQH-Won.mjs +0 -5
  231. package/dist/body-parser-ChnyBsfm.mjs +0 -2
  232. package/dist/build-BqGmiORA.mjs +0 -2
  233. package/dist/cloudforce-one-D20t9ojD.mjs +0 -370
  234. package/dist/containers-CzAZfmnj.mjs +0 -380
  235. package/dist/create-OXylMu6m.mjs +0 -2
  236. package/dist/dist-BtzWfAjU.mjs +0 -453
  237. package/dist/error-sanitization-Byb-_IS9.mjs +0 -2
  238. package/dist/get-iPUHxD1r.mjs +0 -2
  239. package/dist/local-CAs8RWYW.mjs +0 -2
  240. package/dist/login-BTiflOun.mjs +0 -2
  241. package/dist/package-BqSbnt6u.mjs +0 -2
  242. package/dist/run-Be6Js7D6.mjs +0 -2
  243. package/dist/src-Dc6ojwUW.mjs +0 -117
  244. package/dist/startup-profile-CZYtQziF.mjs +0 -2
  245. package/dist/state-B3Uy1jPX.mjs +0 -2
  246. package/dist/telemetry-CvZean4s.mjs +0 -2
  247. package/dist/ui-Bo6DCvbS.mjs +0 -2
  248. package/dist/version-DmTuWNZ5.mjs +0 -2
  249. package/dist/wrangler-migration-DQehjmoh.mjs +0 -946
  250. package/dist/zone-N6ccK70C.mjs +0 -4
@@ -1,29 +1,31 @@
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-BcNLQji1.mjs";import{o as n}from"./resolve-C3FmNlSO.mjs";import{i as r}from"./context-DVh8Wyfs.mjs";import{t as i}from"./output-BJEgbI0G.mjs";import{t as a}from"./dry-run-gy0Hl9xo.mjs";import{t as o}from"./progress-CtGsPOpV.mjs";import{t as s}from"./run-DnZGQbq_.mjs";import"./telemetry-CvZean4s.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-YrI7ltMa.mjs";var h={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function ee(e){return e.usage(`$0 zones aegis delete
2
+ import"./api-X3wKppsT.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-DkPhAgZv.mjs";import{o as n}from"./resolve-C3FmNlSO.mjs";import{i as r}from"./context-DoGlohS-.mjs";import{t as i}from"./output-BJEgbI0G.mjs";import{t as a}from"./dry-run-gy0Hl9xo.mjs";import{t as o}from"./progress-D2_AF54c.mjs";import{t as s}from"./run-C2-1SFrS.mjs";import"./telemetry-Q7QghPwV.mjs";import{a as c,n as l,t as u}from"./body-parser-BKcZS9iJ.mjs";import{n as d}from"./input-validation-D7z60HJH.mjs";import{a as f,i as p,n as m}from"./prompt-BBR19lgj.mjs";var ee={method:`PUT`,path:t=>e`/zones/${t.zone_id}/activation_check`};function te(e){return e.usage(`$0 zones activation-check activate
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(`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 te={command:`delete`,describe:`Delete aegis setting`,builder:ee,handler:async e=>s({command:`zones aegis delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis delete`,method:`DELETE`,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});if(e.zoneId=s,!await m({force:!!e.force}))return;let c=await o(`Deleting`,async()=>n.send(h,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var g={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/aegis`,body:`json`};function _(e){return e.usage(`$0 zones aegis edit
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 ne={command:`activate`,describe:`Rerun the Activation Check`,builder:te,handler:async e=>s({command:`zones activation-check activate`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones activation-check 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 n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Updating`,async()=>n.send(ee,{zone_id:s}));i(c,{successLabel:`Updated`})})},h={command:`activation-check`,describe:`Operations for activation-check`,builder:e=>e.command(ne).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var g={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function _(e){return e.usage(`$0 zones aegis delete
5
5
 
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(`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 v={command:`edit`,describe:`Change aegis setting`,builder:_,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(g,{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(g,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var ne={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function re(e){return e.usage(`$0 zones aegis get
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}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const re={command:`delete`,describe:`Delete aegis setting`,builder:_,handler:async e=>s({command:`zones aegis delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis delete`,method:`DELETE`,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});if(e.zoneId=s,!await m({force:!!e.force}))return;let c=await o(`Deleting`,async()=>n.send(g,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var v={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/aegis`,body:`json`};function ie(e){return e.usage(`$0 zones aegis edit
7
7
 
8
- 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 ie={command:`get`,describe:`Get aegis setting`,builder:re,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`})})},ae={command:`aegis`,describe:`Aegis operations`,builder:e=>e.command(te).command(v).command(ie).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var y={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`,body:`json`};function oe(e){return e.usage(`$0 zones automatic-platform-optimization edit
8
+ 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 ae={command:`edit`,describe:`Change aegis setting`,builder:ie,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(v,{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(v,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var oe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function se(e){return e.usage(`$0 zones aegis get
9
9
 
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(`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 se={command:`edit`,describe:`Change Automatic Platform Optimization setting`,builder:oe,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(y,{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(y,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var ce={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`};function le(e){return e.usage(`$0 zones automatic-platform-optimization get
10
+ 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 ce={command:`get`,describe:`Get aegis setting`,builder:se,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(oe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},le={command:`aegis`,describe:`Aegis operations`,builder:e=>e.command(re).command(ae).command(ce).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var y={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`,body:`json`};function ue(e){return e.usage(`$0 zones automatic-platform-optimization edit
11
11
 
12
- 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 ue={command:`get`,describe:`Get Automatic Platform Optimization setting`,builder:le,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(ce,{zone_id:s}));i(c,{successLabel:`Loaded`})})},de={command:`automatic-platform-optimization`,describe:`Operations for automatic-platform-optimization`,builder:e=>e.command(se).command(ue).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var b={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`,body:`json`};function fe(e){return e.usage(`$0 zones binary-ast edit
12
+ 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 de={command:`edit`,describe:`Change Automatic Platform Optimization setting`,builder:ue,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(y,{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(y,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var fe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`};function pe(e){return e.usage(`$0 zones automatic-platform-optimization get
13
+
14
+ 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 me={command:`get`,describe:`Get Automatic Platform Optimization setting`,builder:pe,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(fe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},he={command:`automatic-platform-optimization`,describe:`Operations for automatic-platform-optimization`,builder:e=>e.command(de).command(me).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var b={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`,body:`json`};function ge(e){return e.usage(`$0 zones binary-ast edit
13
15
 
14
16
  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(`value`,{type:`string`,description:`Controls Binary AST behavior:
15
17
  - "off": Feature disabled.
16
18
  - "on": Binary AST enabled.
17
19
  - "latest": Binary AST enabled using the latest version.
18
- `,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 pe={command:`edit`,describe:`Change Binary AST setting`,builder:fe,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(b,{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(b,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var me={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`};function he(e){return e.usage(`$0 zones binary-ast get
20
+ `,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 x={command:`edit`,describe:`Change Binary AST setting`,builder:ge,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(b,{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(b,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var S={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`};function C(e){return e.usage(`$0 zones binary-ast get
19
21
 
20
- 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 ge={command:`get`,describe:`Get Binary AST setting`,builder:he,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(me,{zone_id:s}));i(c,{successLabel:`Loaded`})})},x={command:`binary-ast`,describe:`Operations for binary-ast`,builder:e=>e.command(pe).command(ge).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var S={method:`POST`,path:()=>`/zones`,body:`json`};function C(e){return e.usage(`$0 zones create
22
+ 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 w={command:`get`,describe:`Get Binary AST setting`,builder:C,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(S,{zone_id:s}));i(c,{successLabel:`Loaded`})})},T={command:`binary-ast`,describe:`Operations for binary-ast`,builder:e=>e.command(x).command(w).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var E={method:`POST`,path:()=>`/zones`,body:`json`};function D(e){return e.usage(`$0 zones create
21
23
 
22
24
  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
23
25
  typically a partner-hosted zone or a CNAME setup.
24
- `,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 w={command:`create`,describe:`Create Zone`,builder:C,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(S,{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(S,{body:r}));i(s,{successLabel:`Created`})})};var T={method:`DELETE`,path:t=>e`/zones/${t.zone_id}`};function E(e){return e.usage(`$0 zones delete
26
+ `,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 O={command:`create`,describe:`Create Zone`,builder:D,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(E,{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(E,{body:r}));i(s,{successLabel:`Created`})})};var k={method:`DELETE`,path:t=>e`/zones/${t.zone_id}`};function A(e){return e.usage(`$0 zones delete
25
27
 
26
- 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 D={command:`delete`,describe:`Delete Zone`,builder:E,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}))return;let c=await o(`Deleting`,async()=>n.send(T,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var O={method:`PATCH`,path:t=>e`/zones/${t.zone_id}`,body:`json`};function k(e){return e.usage(`$0 zones edit
28
+ 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 j={command:`delete`,describe:`Delete Zone`,builder:A,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}))return;let c=await o(`Deleting`,async()=>n.send(k,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var M={method:`PATCH`,path:t=>e`/zones/${t.zone_id}`,body:`json`};function N(e){return e.usage(`$0 zones edit
27
29
 
28
30
  Edits a zone. Only one zone property can be changed at a time.`).option(`paused`,{type:`boolean`,description:`Indicates whether the zone is only using Cloudflare DNS services. A
29
31
  true value means the zone will not receive security or performance
@@ -33,90 +35,90 @@ zone is typically a partner-hosted zone or a CNAME setup. This
33
35
  parameter is only available to Enterprise customers or if it has
34
36
  been explicitly enabled on a zone.
35
37
  `,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
36
- 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 A={command:`edit`,describe:`Edit Zone`,builder:k,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(O,{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(O,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var j={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/fonts`,body:`json`};function M(e){return e.usage(`$0 zones fonts edit
38
+ 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 P={command:`edit`,describe:`Edit Zone`,builder:N,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(M,{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(M,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var F={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/fonts`,body:`json`};function I(e){return e.usage(`$0 zones fonts edit
37
39
 
38
- 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 N={command:`edit`,describe:`Change Cloudflare Fonts setting`,builder:M,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(j,{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(j,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var P={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/fonts`};function F(e){return e.usage(`$0 zones fonts get
40
+ 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 L={command:`edit`,describe:`Change Cloudflare Fonts setting`,builder:I,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(F,{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(F,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var _e={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/fonts`};function ve(e){return e.usage(`$0 zones fonts get
39
41
 
40
- 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 I={command:`get`,describe:`Get Cloudflare Fonts setting`,builder:F,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(P,{zone_id:s}));i(c,{successLabel:`Loaded`})})},L={command:`fonts`,describe:`Fonts operations`,builder:e=>e.command(N).command(I).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var _e={method:`GET`,path:t=>e`/zones/${t.zone_id}`};function ve(e){return e.usage(`$0 zones get
42
+ 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 ye={command:`get`,describe:`Get Cloudflare Fonts setting`,builder:ve,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(_e,{zone_id:s}));i(c,{successLabel:`Loaded`})})},be={command:`fonts`,describe:`Fonts operations`,builder:e=>e.command(L).command(ye).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var xe={method:`GET`,path:t=>e`/zones/${t.zone_id}`};function Se(e){return e.usage(`$0 zones get
41
43
 
42
- Retrieves detailed information about a specific zone identified by its zone ID. Returns zone configuration, status, nameservers, and associated metadata.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ye={command:`get`,describe:`Zone Details`,builder:ve,handler:async e=>s({command:`zones get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones get`,method:`GET`,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});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(_e,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var R={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`,body:`json`};function be(e){return e.usage(`$0 zones h2-prioritization edit
44
+ Retrieves detailed information about a specific zone identified by its zone ID. Returns zone configuration, status, nameservers, and associated metadata.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ce={command:`get`,describe:`Zone Details`,builder:Se,handler:async e=>s({command:`zones get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones get`,method:`GET`,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});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(xe,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var R={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`,body:`json`};function we(e){return e.usage(`$0 zones h2-prioritization edit
43
45
 
44
46
  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(`value`,{type:`string`,description:`Controls HTTP/2 Prioritization behavior:
45
47
  - "off": Use browser default prioritization.
46
48
  - "on": Use Cloudflare's optimized prioritization.
47
49
  - "custom": Use custom prioritization rules.
48
- `,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 xe={command:`edit`,describe:`Change HTTP/2 Prioritization setting`,builder:be,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 Se={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`};function Ce(e){return e.usage(`$0 zones h2-prioritization get
50
+ `,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 Te={command:`edit`,describe:`Change HTTP/2 Prioritization setting`,builder:we,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 Ee={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`};function De(e){return e.usage(`$0 zones h2-prioritization get
49
51
 
50
- 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 we={command:`get`,describe:`Get HTTP/2 Prioritization setting`,builder:Ce,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(Se,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Te={command:`h2-prioritization`,describe:`Operations for h2-prioritization`,builder:e=>e.command(xe).command(we).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ee={method:`POST`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`include_subdomains`]};function De(e){return e.usage(`$0 zones holds create
52
+ 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 Oe={command:`get`,describe:`Get HTTP/2 Prioritization setting`,builder:De,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(Ee,{zone_id:s}));i(c,{successLabel:`Loaded`})})},ke={command:`h2-prioritization`,describe:`Operations for h2-prioritization`,builder:e=>e.command(Te).command(Oe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ae={method:`POST`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`include_subdomains`]};function je(e){return e.usage(`$0 zones holds create
51
53
 
52
54
  Enforce a zone hold on the zone, blocking the creation and activation of zones with this zone's hostname. Zone holds cannot be enabled on CDN-only zones.`).option(`include-subdomains`,{type:`boolean`,description:`If provided, the zone hold will extend to block any subdomain of the given zone, as well
53
55
  as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname
54
56
  'example.com' and include_subdomains=true will block 'example.com',
55
- 'staging.example.com', 'api.staging.example.com', etc.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Oe={command:`create`,describe:`Create Zone Hold`,builder:De,handler:async e=>s({command:`zones holds create`,classification:{safeFlags:[`include-subdomains`,`dry-run`]}},e,async()=>{let n={include_subdomains:e[`include-subdomains`]};if(e.dryRun){a({command:`cf zones holds create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},query:n,bodyKind:`none`});return}let s=await t(e),c=await r({zone:e.zone},s,{quiet:e.quiet});e.zoneId=c;let l=await o(`Creating`,async()=>s.send(Ee,{zone_id:c,...n}));i(l,{successLabel:`Created`})})};var ke={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`hold_after`]};function Ae(e){return e.usage(`$0 zones holds delete
57
+ 'staging.example.com', 'api.staging.example.com', etc.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Me={command:`create`,describe:`Create Zone Hold`,builder:je,handler:async e=>s({command:`zones holds create`,classification:{safeFlags:[`include-subdomains`,`dry-run`]}},e,async()=>{let n={include_subdomains:e[`include-subdomains`]};if(e.dryRun){a({command:`cf zones holds create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},query:n,bodyKind:`none`});return}let s=await t(e),c=await r({zone:e.zone},s,{quiet:e.quiet});e.zoneId=c;let l=await o(`Creating`,async()=>s.send(Ae,{zone_id:c,...n}));i(l,{successLabel:`Created`})})};var Ne={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`hold_after`]};function Pe(e){return e.usage(`$0 zones holds delete
56
58
 
57
- Stop enforcement of a zone hold on the zone, permanently or temporarily, allowing the creation and activation of zones with this zone's hostname. Existing zone holds can be removed from CDN-only zones when \`hold_after\` is not provided. Active holds are automatically disabled when a zone transitions to CDN-only mode.`).option(`hold-after`,{type:`string`,description:"If `hold_after` is provided, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. Otherwise, the hold will be\ndisabled indefinitely. `hold_after` cannot be provided for CDN-only zones."}).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 je={command:`delete`,describe:`Remove Zone Hold`,builder:Ae,handler:async e=>s({command:`zones holds delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{let n={hold_after:e[`hold-after`]};if(e.dryRun){a({command:`cf zones holds delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},query:n,bodyKind:`none`});return}let s=await t(e),c=await r({zone:e.zone},s,{quiet:e.quiet});if(e.zoneId=c,!await m({force:!!e.force}))return;let l=await o(`Deleting`,async()=>s.send(ke,{zone_id:c,...n}));i(l,{successLabel:`Deleted`})})};var z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/hold`,body:`json`};function Me(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
59
+ Stop enforcement of a zone hold on the zone, permanently or temporarily, allowing the creation and activation of zones with this zone's hostname. Existing zone holds can be removed from CDN-only zones when \`hold_after\` is not provided. Active holds are automatically disabled when a zone transitions to CDN-only mode.`).option(`hold-after`,{type:`string`,description:"If `hold_after` is provided, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. Otherwise, the hold will be\ndisabled indefinitely. `hold_after` cannot be provided for CDN-only zones."}).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 Fe={command:`delete`,describe:`Remove Zone Hold`,builder:Pe,handler:async e=>s({command:`zones holds delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{let n={hold_after:e[`hold-after`]};if(e.dryRun){a({command:`cf zones holds delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},query:n,bodyKind:`none`});return}let s=await t(e),c=await r({zone:e.zone},s,{quiet:e.quiet});if(e.zoneId=c,!await m({force:!!e.force}))return;let l=await o(`Deleting`,async()=>s.send(Ne,{zone_id:c,...n}));i(l,{successLabel:`Deleted`})})};var z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/hold`,body:`json`};function Ie(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
60
  as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname
59
61
  '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 Ne={command:`edit`,describe:`Update Zone Hold`,builder:Me,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 Pe={method:`GET`,path:t=>e`/zones/${t.zone_id}/hold`};function Fe(e){return e.usage(`$0 zones holds get
62
+ '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 Le={command:`edit`,describe:`Update Zone Hold`,builder:Ie,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 Re={method:`GET`,path:t=>e`/zones/${t.zone_id}/hold`};function ze(e){return e.usage(`$0 zones holds get
61
63
 
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 Ie={command:`get`,describe:`Get Zone Hold`,builder:Fe,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(Pe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Le={command:`holds`,describe:`Operations for holds`,builder:e=>e.command(Oe).command(je).command(Ne).command(Ie).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Re={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function ze(e){return e.usage(`$0 zones hostnames settings tls-single get <hostname>
64
+ 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 Be={command:`get`,describe:`Get Zone Hold`,builder:ze,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(Re,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Ve={command:`holds`,describe:`Operations for holds`,builder:e=>e.command(Me).command(Fe).command(Le).command(Be).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var He={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function Ue(e){return e.usage(`$0 zones hostnames settings tls-single get <hostname>
63
65
 
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 Be={command:`get <hostname>`,describe:`Get TLS setting for hostname`,builder:ze,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(Re,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Loaded`})})},Ve={command:`tls-single`,describe:`Operations for hostnames.settings.tls-single`,builder:e=>e.command(Be).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var He={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function Ue(e){return e.usage(`$0 zones hostnames settings tls delete <hostname>
66
+ 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 We={command:`get <hostname>`,describe:`Get TLS setting for hostname`,builder:Ue,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(He,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Loaded`})})},Ge={command:`tls-single`,describe:`Operations for hostnames.settings.tls-single`,builder:e=>e.command(We).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ke={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function qe(e){return e.usage(`$0 zones hostnames settings tls delete <hostname>
65
67
 
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 We={command:`delete <hostname>`,describe:`Delete TLS setting for hostname`,builder:Ue,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}))return;let c=await o(`Deleting`,async()=>n.send(He,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Deleted`})})};var Ge={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}`};function Ke(e){return e.usage(`$0 zones hostnames settings tls get <setting-id>
68
+ 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 Je={command:`delete <hostname>`,describe:`Delete TLS setting for hostname`,builder:qe,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}))return;let c=await o(`Deleting`,async()=>n.send(Ke,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Deleted`})})};var Ye={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}`};function Xe(e){return e.usage(`$0 zones hostnames settings tls get <setting-id>
67
69
 
68
- 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 qe={command:`get <setting-id>`,describe:`List TLS setting for hostnames`,builder:Ke,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(Ge,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})};var Je={method:`PUT`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`,body:`json`};function Ye(e){return e.usage(`$0 zones hostnames settings tls update <hostname>
70
+ 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 Ze={command:`get <setting-id>`,describe:`List TLS setting for hostnames`,builder:Xe,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(Ye,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})};var Qe={method:`PUT`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`,body:`json`};function $e(e){return e.usage(`$0 zones hostnames settings tls update <hostname>
69
71
 
70
- 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 Xe={command:`update <hostname>`,describe:`Edit TLS setting for hostname`,builder:Ye,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(Je,{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.`)})},Ze={command:`tls`,describe:`Operations for hostnames.settings.tls`,builder:e=>e.command(We).command(qe).command(Xe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Qe={command:`settings`,describe:`Operations for hostnames.settings`,builder:e=>e.command(Ze).command(Ve).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},$e={command:`hostnames`,describe:`Operations for hostnames`,builder:e=>e.command(Qe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var B={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`,body:`json`};function et(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:
72
+ 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 et={command:`update <hostname>`,describe:`Edit TLS setting for hostname`,builder:$e,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(Qe,{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.`)})},tt={command:`tls`,describe:`Operations for hostnames.settings.tls`,builder:e=>e.command(Je).command(Ze).command(et).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},nt={command:`settings`,describe:`Operations for hostnames.settings`,builder:e=>e.command(tt).command(Ge).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},rt={command:`hostnames`,describe:`Operations for hostnames`,builder:e=>e.command(nt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var B={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`,body:`json`};function it(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:
71
73
  - "off": Feature disabled.
72
74
  - "on": Resizing is enabled for same-zone images only.
73
75
  - "open": Resizing is enabled for images from any origin.
74
76
  - "latest": Resizing is enabled for same-zone images using the latest version.
75
- `,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 tt={command:`edit`,describe:`Change Image Transformations setting`,builder:et,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 nt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`};function rt(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 it={command:`get`,describe:`Get Image Transformations setting`,builder:rt,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(nt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},at={command:`image-resizing`,describe:`Operations for image-resizing`,builder:e=>e.command(tt).command(it).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function ot(e){return e.usage(`$0 zones list
77
+ `,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 at={command:`edit`,describe:`Change Image Transformations setting`,builder:it,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 ot={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`};function st(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 ct={command:`get`,describe:`Get Image Transformations setting`,builder:st,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(ot,{zone_id:s}));i(c,{successLabel:`Loaded`})})},lt={command:`image-resizing`,describe:`Operations for image-resizing`,builder:e=>e.command(at).command(ct).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function ut(e){return e.usage(`$0 zones list
76
78
 
77
- 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 st={command:`list`,describe:`List Zones`,builder:ot,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 ct(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 lt={command:`edit`,describe:`Change Origin H2 Max Streams Setting`,builder:ct,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 ut={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`};function dt(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 ft={command:`get`,describe:`Get Origin H2 Max Streams Setting`,builder:dt,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(ut,{zone_id:s}));i(c,{successLabel:`Loaded`})})},pt={command:`origin-h2-max-streams`,describe:`Origin H2 Max Streams operations`,builder:e=>e.command(lt).command(ft).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 mt(e){return e.usage(`$0 zones origin-max-http-version edit
79
+ 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 dt={command:`list`,describe:`List Zones`,builder:ut,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 ft(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 pt={command:`edit`,describe:`Change Origin H2 Max Streams Setting`,builder:ft,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 mt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`};function ht(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 gt={command:`get`,describe:`Get Origin H2 Max Streams Setting`,builder:ht,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(mt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},_t={command:`origin-h2-max-streams`,describe:`Origin H2 Max Streams operations`,builder:e=>e.command(pt).command(gt).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 vt(e){return e.usage(`$0 zones origin-max-http-version edit
78
80
 
79
- 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 ht={command:`edit`,describe:`Change Origin Max HTTP Version Setting`,builder:mt,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 gt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`};function _t(e){return e.usage(`$0 zones origin-max-http-version get
81
+ 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 yt={command:`edit`,describe:`Change Origin Max HTTP Version Setting`,builder:vt,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 bt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`};function xt(e){return e.usage(`$0 zones origin-max-http-version get
80
82
 
81
- 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 vt={command:`get`,describe:`Get Origin Max HTTP Version Setting`,builder:_t,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(gt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},yt={command:`origin-max-http-version`,describe:`Origin Max Http Version operations`,builder:e=>e.command(ht).command(vt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var bt={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function xt(e){return e.usage(`$0 zones origin-tls-compliance-modes delete
83
+ 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 St={command:`get`,describe:`Get Origin Max HTTP Version Setting`,builder:xt,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(bt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Ct={command:`origin-max-http-version`,describe:`Origin Max Http Version operations`,builder:e=>e.command(yt).command(St).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var wt={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function Tt(e){return e.usage(`$0 zones origin-tls-compliance-modes delete
82
84
 
83
- 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 St={command:`delete`,describe:`Delete Origin TLS Compliance Modes setting`,builder:xt,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}))return;let c=await o(`Deleting`,async()=>n.send(bt,{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 Ct(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 wt={command:`edit`,describe:`Change Origin TLS Compliance Modes setting`,builder:Ct,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 Tt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function Et(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 Dt={command:`get`,describe:`Get Origin TLS Compliance Modes setting`,builder:Et,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(Tt,{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 Ot(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 kt={command:`update`,describe:`Replace Origin TLS Compliance Modes setting`,builder:Ot,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`})})},At={command:`origin-tls-compliance-modes`,describe:`Manage zone Origin TLS Compliance Modes setting`,builder:e=>e.command(St).command(wt).command(Dt).command(kt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var jt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans/${t.plan_identifier}`};function Mt(e){return e.usage(`$0 zones plans get <plan-identifier>
85
+ 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 Et={command:`delete`,describe:`Delete Origin TLS Compliance Modes setting`,builder:Tt,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}))return;let c=await o(`Deleting`,async()=>n.send(wt,{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 Dt(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 Ot={command:`edit`,describe:`Change Origin TLS Compliance Modes setting`,builder:Dt,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 kt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function At(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 jt={command:`get`,describe:`Get Origin TLS Compliance Modes setting`,builder:At,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(kt,{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 Mt(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 Nt={command:`update`,describe:`Replace Origin TLS Compliance Modes setting`,builder:Mt,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`})})},Pt={command:`origin-tls-compliance-modes`,describe:`Manage zone Origin TLS Compliance Modes setting`,builder:e=>e.command(Et).command(Ot).command(jt).command(Nt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ft={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans/${t.plan_identifier}`};function It(e){return e.usage(`$0 zones plans get <plan-identifier>
84
86
 
85
- 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 Nt={command:`get <plan-identifier>`,describe:`Available Plan Details`,builder:Mt,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(jt,{zone_id:s,plan_identifier:e[`plan-identifier`]}));i(c,{successLabel:`Loaded`})})};var Pt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans`};function Ft(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 Lt={command:`get <plan-identifier>`,describe:`Available Plan Details`,builder:It,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 Rt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans`};function zt(e){return e.usage(`$0 zones plans list
86
88
 
87
- 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 It={command:`list`,describe:`List Available Plans`,builder:Ft,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(Pt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Lt={command:`plans`,describe:`Operations for plans`,builder:e=>e.command(Nt).command(It).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Rt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_rate_plans`};function zt(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 Bt={command:`list`,describe:`List Available Plans`,builder:zt,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(Rt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Vt={command:`plans`,describe:`Operations for plans`,builder:e=>e.command(Lt).command(Bt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ht={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_rate_plans`};function Ut(e){return e.usage(`$0 zones rate-plans get
88
90
 
89
- 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 Bt={command:`get`,describe:`List Available Rate Plans`,builder:zt,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(Rt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Vt={command:`rate-plans`,describe:`Operations for rate-plans`,builder:e=>e.command(Bt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var G={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/rum`,body:`json`};function Ht(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 Wt={command:`get`,describe:`List Available Rate Plans`,builder:Ut,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(Ht,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Gt={command:`rate-plans`,describe:`Operations for rate-plans`,builder:e=>e.command(Wt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var G={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/rum`,body:`json`};function Kt(e){return e.usage(`$0 zones rum edit
90
92
 
91
- 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 Ut={command:`edit`,describe:`Toggle RUM on/off for a zone`,builder:Ht,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 Wt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/rum`};function Gt(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 qt={command:`edit`,describe:`Toggle RUM on/off for a zone`,builder:Kt,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 Jt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/rum`};function Yt(e){return e.usage(`$0 zones rum get
92
94
 
93
- Retrieves RUM status for a zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Kt={command:`get`,describe:`Get RUM status for a zone`,builder:Gt,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(Wt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},qt={command:`rum`,describe:`Rum operations`,builder:e=>e.command(Ut).command(Kt).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 Jt(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 Xt={command:`get`,describe:`Get RUM status for a zone`,builder:Yt,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(Jt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Zt={command:`rum`,describe:`Rum operations`,builder:e=>e.command(qt).command(Xt).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 Qt(e){return e.usage(`$0 zones settings edit <setting-id>
94
96
 
95
- 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 Yt={command:`edit <setting-id>`,describe:`Edit zone setting`,builder:Jt,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 Xt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`};function Zt(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 $t={command:`edit <setting-id>`,describe:`Edit zone setting`,builder:Qt,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 en={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`};function tn(e){return e.usage(`$0 zones settings get <setting-id>
96
98
 
97
- 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 Qt={command:`get <setting-id>`,describe:`Get zone setting`,builder:Zt,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(Xt,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})},$t={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(Yt).command(Qt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`,body:`json`};function en(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 nn={command:`get <setting-id>`,describe:`Get zone setting`,builder:tn,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(en,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})},rn={command:`settings`,describe:`Operations for settings`,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/speed_brain`,body:`json`};function an(e){return e.usage(`$0 zones speed-brain edit
98
100
 
99
- 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 tn={command:`edit`,describe:`Change Cloudflare Speed Brain setting`,builder:en,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 nn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`};function rn(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 on={command:`edit`,describe:`Change Cloudflare Speed Brain setting`,builder:an,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 sn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`};function cn(e){return e.usage(`$0 zones speed-brain get
100
102
 
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(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const an={command:`get`,describe:`Get Cloudflare Speed Brain setting`,builder:rn,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(nn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},on={command:`speed-brain`,describe:`Speed Brain operations`,builder:e=>e.command(tn).command(an).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var J={method:`POST`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function sn(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 ln={command:`get`,describe:`Get Cloudflare Speed Brain setting`,builder:cn,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(sn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},un={command:`speed-brain`,describe:`Speed Brain operations`,builder:e=>e.command(on).command(ln).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var J={method:`POST`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function dn(e){return e.usage(`$0 zones subscriptions create
102
104
 
103
- 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 cn={command:`create`,describe:`Create Zone Subscription`,builder:sn,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 ln={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/subscription`};function un(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 fn={command:`create`,describe:`Create Zone Subscription`,builder:dn,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 pn={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/subscription`};function mn(e){return e.usage(`$0 zones subscriptions delete
104
106
 
105
- 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 dn={command:`delete`,describe:`Delete Zone Subscription`,builder:un,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}))return;let c=await o(`Deleting`,async()=>n.send(ln,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var fn={method:`GET`,path:t=>e`/zones/${t.zone_id}/subscription`};function pn(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 hn={command:`delete`,describe:`Delete Zone Subscription`,builder:mn,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}))return;let c=await o(`Deleting`,async()=>n.send(pn,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var gn={method:`GET`,path:t=>e`/zones/${t.zone_id}/subscription`};function _n(e){return e.usage(`$0 zones subscriptions get
106
108
 
107
- Lists zone subscription details.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const mn={command:`get`,describe:`Zone Subscription Details`,builder:pn,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(fn,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var Y={method:`PUT`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function hn(e){return e.usage(`$0 zones subscriptions update
109
+ Lists zone subscription details.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const vn={command:`get`,describe:`Zone Subscription Details`,builder:_n,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(gn,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var Y={method:`PUT`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function yn(e){return e.usage(`$0 zones subscriptions update
108
110
 
109
- 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 gn={command:`update`,describe:`Update Zone Subscription`,builder:hn,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`})})},_n={command:`subscriptions`,describe:`Operations for subscriptions`,builder:e=>e.command(cn).command(dn).command(mn).command(gn).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 vn(e){return e.usage(`$0 zones transformations-allowed-origins edit
111
+ 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 bn={command:`update`,describe:`Update Zone Subscription`,builder:yn,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`})})},xn={command:`subscriptions`,describe:`Operations for subscriptions`,builder:e=>e.command(fn).command(hn).command(vn).command(bn).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 Sn(e){return e.usage(`$0 zones transformations-allowed-origins edit
110
112
 
111
113
  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.
112
114
  Use "*" to allow all origins (default).
113
- `}).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 yn={command:`edit`,describe:`Change Image Transformations Allowed Origins setting`,builder:vn,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 bn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`};function xn(e){return e.usage(`$0 zones transformations-allowed-origins get
115
+ `}).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 Cn={command:`edit`,describe:`Change Image Transformations Allowed Origins setting`,builder:Sn,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 wn={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
114
116
 
115
- 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 Z={command:`get`,describe:`Get Image Transformations Allowed Origins setting`,builder:xn,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(bn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Sn={command:`transformations-allowed-origins`,describe:`Operations for transformations-allowed-origins`,builder:e=>e.command(yn).command(Z).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`,body:`json`};function Cn(e){return e.usage(`$0 zones transformations-c2pa edit
117
+ 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 En={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(wn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Dn={command:`transformations-allowed-origins`,describe:`Operations for transformations-allowed-origins`,builder:e=>e.command(Cn).command(En).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`,body:`json`};function On(e){return e.usage(`$0 zones transformations-c2pa edit
116
118
 
117
- 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 wn={command:`edit`,describe:`Change Image Transformations C2PA setting`,builder:Cn,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(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 c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(Q,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var Tn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`};function En(e){return e.usage(`$0 zones transformations-c2pa get
119
+ 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 kn={command:`edit`,describe:`Change Image Transformations C2PA setting`,builder:On,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 An={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`};function jn(e){return e.usage(`$0 zones transformations-c2pa get
118
120
 
119
- 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 Dn={command:`get`,describe:`Get Image Transformations C2PA setting`,builder:En,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(Tn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},On={command:`transformations-c2pa`,describe:`Operations for transformations-c2pa`,builder:e=>e.command(wn).command(Dn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var $={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`,body:`json`};function kn(e){return e.usage(`$0 zones transformations-config edit
121
+ 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 Mn={command:`get`,describe:`Get Image Transformations C2PA setting`,builder:jn,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(An,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Nn={command:`transformations-c2pa`,describe:`Operations for transformations-c2pa`,builder:e=>e.command(kn).command(Mn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`,body:`json`};function Pn(e){return e.usage(`$0 zones transformations-config edit
120
122
 
121
123
  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.
122
124
  Use "*" to allow all origins (default).
@@ -125,6 +127,6 @@ Use "*" to allow all origins (default).
125
127
  - "on": Transformations enabled for same-zone images only.
126
128
  - "open": Transformations enabled for images from any origin.
127
129
  - "latest": Transformations enabled using the latest version.
128
- `,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 An={command:`edit`,describe:`Change Transformations configuration`,builder:kn,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($,{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($,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var jn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`};function Mn(e){return e.usage(`$0 zones transformations-config get
130
+ `,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 Fn={command:`edit`,describe:`Change Transformations configuration`,builder:Pn,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 In(e){return e.usage(`$0 zones transformations-config get
129
131
 
130
- 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 Nn={command:`get`,describe:`Get Transformations configuration`,builder:Mn,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(jn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Pn={command:`transformations-config`,describe:`Operations for transformations-config`,builder:e=>e.command(An).command(Nn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Fn={command:`zones`,describe:`Zones are domains on Cloudflare — list, create, and configure domain settings`,builder:e=>e.command(w).command(D).command(A).command(ye).command(st).command(ae).command(de).command(x).command(L).command(Te).command(Le).command($e).command(at).command(pt).command(yt).command(At).command(Lt).command(Vt).command(qt).command($t).command(on).command(_n).command(Sn).command(On).command(Pn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{Fn as default};
132
+ 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 Ln={command:`get`,describe:`Get Transformations configuration`,builder:In,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`})})},Rn={command:`transformations-config`,describe:`Operations for transformations-config`,builder:e=>e.command(Fn).command(Ln).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},zn={command:`zones`,describe:`Zones are domains on Cloudflare — list, create, and configure domain settings`,builder:e=>e.command(O).command(j).command(P).command(Ce).command(dt).command(h).command(le).command(he).command(T).command(be).command(ke).command(Ve).command(rt).command(lt).command(_t).command(Ct).command(Pt).command(Vt).command(Gt).command(Zt).command(rn).command(un).command(xn).command(Dn).command(Nn).command(Rn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{zn as default};