cf 1.0.0-beta.20 → 1.0.0-beta.21

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 (290) hide show
  1. package/README.md +1 -1
  2. package/dist/_meta/commands.json +911 -751
  3. package/dist/_meta/schemas.json +401 -382
  4. package/dist/{abuse-reports-mKv00yPh.mjs → abuse-reports-CbUAnJxd.mjs} +1 -1
  5. package/dist/{access-CyRjTbhh.mjs → access-C-78DlxL.mjs} +1 -1
  6. package/dist/{accounts-BmF_YKvG.mjs → accounts-DEqQPxCz.mjs} +8 -15
  7. package/dist/{acm-BcIFiAb8.mjs → acm-jmhCq3Yh.mjs} +2 -3
  8. package/dist/{addressing-D6xVD7MM.mjs → addressing-BeYFpQvC.mjs} +12 -23
  9. package/dist/{agent-memory-Blldunhv.mjs → agent-memory-Chlovb7j.mjs} +5 -9
  10. package/dist/{ai-CU8tdTfC.mjs → ai-BndH3HYN.mjs} +2 -3
  11. package/dist/{ai-audit-Id3hq5pV.mjs → ai-audit-BUJ-70O_.mjs} +1 -1
  12. package/dist/{ai-gateway-BKeZ28CQ.mjs → ai-gateway-CCk7VKhL.mjs} +9 -15
  13. package/dist/{ai-search-DOiZEmn7.mjs → ai-search-BexET_wp.mjs} +6 -11
  14. package/dist/{ai-security-CioADDZi.mjs → ai-security-D4MxRlxX.mjs} +3 -5
  15. package/dist/{alerting-BzN1N3Se.mjs → alerting-rw8Oi3x7.mjs} +5 -9
  16. package/dist/{analytics-engine-CugCQfDe.mjs → analytics-engine-Bk7dQLcm.mjs} +1 -1
  17. package/dist/{analytics-Cte-DrzH.mjs → analytics-q-guNEOK.mjs} +1 -1
  18. package/dist/{api-security-CCs0g510.mjs → api-security-BDc6gkf1.mjs} +9 -17
  19. package/dist/{argo-BHBFZnmO.mjs → argo-CnLIqm0i.mjs} +1 -1
  20. package/dist/args-BAOHroBC.mjs +2 -0
  21. package/dist/{artifacts-BzAwvrCD.mjs → artifacts-Cil33dzV.mjs} +4 -7
  22. package/dist/{audit-logs-jWivEKCy.mjs → audit-logs--E2Eclb7.mjs} +1 -1
  23. package/dist/auth-B0lEsD_1.mjs +2 -0
  24. package/dist/{auth-BUQscD5b.mjs → auth-BcNLQji1.mjs} +1 -1
  25. package/dist/auth-BtZmY6sE.mjs +2 -0
  26. package/dist/{auth-token-T0aqYgl9.mjs → auth-token-aF5AVLlH.mjs} +1 -1
  27. package/dist/{autoconfig-CBdcYYf4.mjs → autoconfig-Dbp6J25P.mjs} +88 -88
  28. package/dist/{basin-catalog-_8w_4599.mjs → basin-catalog-dnVyzopm.mjs} +3 -5
  29. package/dist/{billing-Ce0WN0yw.mjs → billing-Fqp3jB2V.mjs} +2 -3
  30. package/dist/{blocks-CFAm0Ma3.mjs → blocks-BOQH-Won.mjs} +1 -1
  31. package/dist/{bot-management-DskcSr4B.mjs → bot-management-SEDgo1Xg.mjs} +1 -1
  32. package/dist/{botnet-feed-CmBm13-D.mjs → botnet-feed-DPqR4M0Y.mjs} +2 -3
  33. package/dist/{brand-protection-DTuFrsN0.mjs → brand-protection-B8vwKfM9.mjs} +2 -3
  34. package/dist/{browser-run-CXdzSOHa.mjs → browser-run-BybYDq3I.mjs} +3 -5
  35. package/dist/build-BqGmiORA.mjs +2 -0
  36. package/dist/build-CWlpWVBf.mjs +2 -0
  37. package/dist/{builds-_1u5Nx6f.mjs → builds-CvtOG-Gk.mjs} +8 -15
  38. package/dist/cache-Bme_d2Wx.mjs +36 -0
  39. package/dist/cf-fIBhEAxU.mjs +18 -0
  40. package/dist/chunk-DSGVRFIS-DHC6NOIj.mjs +2 -0
  41. package/dist/{chunk-2K52M2W5-iYNzknM1.mjs → chunk-XVBBSNW2-DfMyGS-l.mjs} +8 -8
  42. package/dist/{cli-DyhOdzMo.mjs → cli-CIKDqm-u.mjs} +3 -3
  43. package/dist/{client-side-security-DnnYaRsd.mjs → client-side-security-ZQeRoo1t.mjs} +2 -3
  44. package/dist/{cloud-connector-Ct6b6pz8.mjs → cloud-connector-BeunZlNV.mjs} +1 -1
  45. package/dist/{cloudflared-CHLpWU35.mjs → cloudflared-DbzoIouQ.mjs} +1 -1
  46. package/dist/{cloudforce-one-Rl6nCCm0.mjs → cloudforce-one-D20t9ojD.mjs} +26 -51
  47. package/dist/{command-BwgvUpNx.mjs → command-B3uWlw57.mjs} +1 -1
  48. package/dist/{command-DuLxEkGq.mjs → command-BGRucANI.mjs} +1 -1
  49. package/dist/{command-BONLLcyz.mjs → command-C6kE7BU0.mjs} +1 -1
  50. package/dist/{command-DOpykk8X.mjs → command-C9CNvZi_.mjs} +1 -1
  51. package/dist/{command-BRpBIju7.mjs → command-CQ5qHE7n.mjs} +1 -1
  52. package/dist/{command-CHGc-KZ7.mjs → command-CkZkTjIj.mjs} +1 -1
  53. package/dist/{command-BRXOUAGD.mjs → command-CqKRlHGv.mjs} +1 -1
  54. package/dist/{command-BwlIi3Bv.mjs → command-CtlD6MEi.mjs} +1 -1
  55. package/dist/{command-CXzje7qc.mjs → command-CzWWQv8j.mjs} +1 -1
  56. package/dist/{command-BMYi_gS-.mjs → command-DWWuXQV8.mjs} +1 -1
  57. package/dist/{command-CPDQPdss.mjs → command-DkwmylF2.mjs} +1 -1
  58. package/dist/{command-CMa807gY.mjs → command-MxFFWqMg.mjs} +1 -1
  59. package/dist/{command-BVO9UOuU.mjs → command-orlUsdgf.mjs} +1 -1
  60. package/dist/{command-CVoDyQnL.mjs → command-prWMAJbg.mjs} +1 -1
  61. package/dist/{command-0WS5I_JW.mjs → command-rUCxlpQI.mjs} +1 -1
  62. package/dist/command-resolution-DAQ4PWUt.mjs +2 -0
  63. package/dist/{completions-DMwrvK_S.mjs → completions-2Otv0HMd.mjs} +1 -1
  64. package/dist/{connector-interrupts-DyWilINb.mjs → connector-interrupts-Dfhxupmg.mjs} +1 -1
  65. package/dist/{connector-telemetry-events-BUW9qTOs.mjs → connector-telemetry-events-CLVpDTIa.mjs} +1 -1
  66. package/dist/{connector-telemetry-snapshots-Djs5QssR.mjs → connector-telemetry-snapshots-E_1tmNmQ.mjs} +1 -1
  67. package/dist/{connectors-e_cpzDEm.mjs → connectors-ChJpQFSl.mjs} +2 -3
  68. package/dist/{containers-CEH15JUu.mjs → containers-Cj5-9nUg.mjs} +6 -9
  69. package/dist/containers-CzAZfmnj.mjs +380 -0
  70. package/dist/{content-scan-B6Ahw9JA.mjs → content-scan-CIA_9PV8.mjs} +3 -5
  71. package/dist/{context-Sgba0fZP.mjs → context-DVh8Wyfs.mjs} +2 -2
  72. package/dist/{cps-uDD0SSJ-.mjs → cps-hJkqdsHx.mjs} +1 -1
  73. package/dist/{csam-scanner-BSUl7jGn.mjs → csam-scanner-cCVO3lNF.mjs} +1 -1
  74. package/dist/{custom-csrs-BDcXggph.mjs → custom-csrs-BrTWUZ0c.mjs} +2 -3
  75. package/dist/{custom-hostnames-UmIlwkwt.mjs → custom-hostnames-C4ft77oC.mjs} +4 -7
  76. package/dist/{custom-nameservers-D7kU6d--.mjs → custom-nameservers-BWfrZhD1.mjs} +2 -3
  77. package/dist/{custom-pages-CkhIQCfM.mjs → custom-pages-DqTMKtRc.mjs} +2 -3
  78. package/dist/{d1-myRLEAGs.mjs → d1-B58AA9PA.mjs} +3 -6
  79. package/dist/delegate-D7yYckA4.mjs +2 -0
  80. package/dist/delegate.mjs +1 -1
  81. package/dist/{deploy-BJqCpycz.mjs → deploy-CEROLAdh.mjs} +1 -1
  82. package/dist/deploy-context-Do89WayB.mjs +56 -0
  83. package/dist/{deploy-input-v2DryyLP.mjs → deploy-input-DyMuMsi5.mjs} +1 -1
  84. package/dist/{dev-S1PJi83q.mjs → dev-BaFS7kOM.mjs} +2 -2
  85. package/dist/{diagnostics-q65rcNIk.mjs → diagnostics-4gfYj7Pf.mjs} +2 -3
  86. package/dist/dialog-D5lus4M4.mjs +2 -0
  87. package/dist/discover-6kAmVMPp.mjs +2 -0
  88. package/dist/discover-C06Syc2B.mjs +2 -0
  89. package/dist/dist-BtzWfAjU.mjs +453 -0
  90. package/dist/dls-ClWVxTBg.mjs +16 -0
  91. package/dist/{dns-DhARjFQs.mjs → dns-CML-wxIt.mjs} +68 -68
  92. package/dist/{dns-firewall-BP6r9QG6.mjs → dns-firewall-CL0b3dJ1.mjs} +2 -3
  93. package/dist/{docs-CReGWDrw.mjs → docs-BeYBHwUN.mjs} +1 -1
  94. package/dist/{dotenv-Ck-6V1hm.mjs → dotenv-CmPRiXmU.mjs} +1 -1
  95. package/dist/{dry-run-BBjUQUhR.mjs → dry-run-gy0Hl9xo.mjs} +1 -1
  96. package/dist/{durable-objects-tOJy-5te.mjs → durable-objects-uZECeq_f.mjs} +1 -1
  97. package/dist/{email-auth-Bq9sq_2j.mjs → email-auth-CCNW798I.mjs} +1 -1
  98. package/dist/email-domains-1rD1d84O.mjs +12 -0
  99. package/dist/{email-routing-CYo4dp50.mjs → email-routing-CYv-LrbV.mjs} +4 -7
  100. package/dist/{email-security-CNtWET2d.mjs → email-security-CWEUYPYo.mjs} +16 -31
  101. package/dist/{email-sending-BvagNLRr.mjs → email-sending-DHSzCfJx.mjs} +3 -5
  102. package/dist/{errors-DpbAQQv8.mjs → errors-ol9sMqSe.mjs} +8 -8
  103. package/dist/{field-extractors-C9R3Qivh.mjs → field-extractors-CuBM_uO4.mjs} +2 -3
  104. package/dist/{firewall-DsgUY-Qv.mjs → firewall-SMIUSypF.mjs} +4 -7
  105. package/dist/flagship-D3v6iDdw.mjs +24 -0
  106. package/dist/{fraud-24l8dKyk.mjs → fraud-B2f7O15X.mjs} +1 -1
  107. package/dist/{google-tag-gateway-CAkudP5W.mjs → google-tag-gateway-BwOc62Gy.mjs} +1 -1
  108. package/dist/{gt-D6YemCLh.mjs → gt-BQkaDQDq.mjs} +1 -1
  109. package/dist/{healthchecks-CEGMe3lO.mjs → healthchecks-BQXHnihB.mjs} +3 -5
  110. package/dist/{hyperdrive-DLDaOU2O.mjs → hyperdrive-Bd6Yfje3.mjs} +2 -3
  111. package/dist/{iam-ChldOMSL.mjs → iam-qJPI1_aZ.mjs} +5 -9
  112. package/dist/{images-Ba9tS5wT.mjs → images-goHZJOxy.mjs} +6 -11
  113. package/dist/index.mjs +1 -1
  114. package/dist/init-CVx0Ya1E.mjs +43 -0
  115. package/dist/{intel-DbLRah4Y.mjs → intel-CwiqwJI9.mjs} +18 -21
  116. package/dist/interactive-CHcvofEp.mjs +2 -0
  117. package/dist/{interactive-d_lFnSev.mjs → interactive-D4E8PdaW.mjs} +31 -31
  118. package/dist/interactive-wQM7Blhm.mjs +2 -0
  119. package/dist/internal-5cnlw9mH.mjs +4 -0
  120. package/dist/{ips-BGyzyQLL.mjs → ips-KBxmXhvO.mjs} +1 -1
  121. package/dist/{k2-BVQ3MqEl.mjs → k2-KhIP5NFT.mjs} +2 -3
  122. package/dist/kv-CCem2sEY.mjs +12 -0
  123. package/dist/{lazy-command-D0I6itZs.mjs → lazy-command-BMhD5ffF.mjs} +1 -1
  124. package/dist/{leaked-credential-checks-Dga83Qy3.mjs → leaked-credential-checks-BkPZiwE2.mjs} +3 -5
  125. package/dist/live-BhHzxFna.mjs +4 -0
  126. package/dist/{load-balancers-D9cB6of8.mjs → load-balancers-17GBXdju.mjs} +5 -9
  127. package/dist/local-CAs8RWYW.mjs +2 -0
  128. package/dist/{local-B7ZJ78al.mjs → local-CSH3UMpD.mjs} +1 -1
  129. package/dist/{local-runtime-DB545Gqq.mjs → local-runtime-KOFLRZeZ.mjs} +1 -1
  130. package/dist/log-BWdaOGOW.mjs +66 -0
  131. package/dist/log-DZfik9Jk.mjs +2 -0
  132. package/dist/login-BTiflOun.mjs +2 -0
  133. package/dist/login-Buhvx6Fi.mjs +5 -0
  134. package/dist/{logpush-Ccmr0Y_I.mjs → logpush-BCCUxa4J.mjs} +3 -5
  135. package/dist/{logs-CZBMuuBC.mjs → logs-4CwupKRG.mjs} +2 -3
  136. package/dist/{magic-cloud-networking-BwOxZVql.mjs → magic-cloud-networking-Xy6SC-V-.mjs} +4 -7
  137. package/dist/{magic-network-monitoring-Cx5kKdbk.mjs → magic-network-monitoring-B8pRZp2g.mjs} +3 -5
  138. package/dist/{magic-transit-BJwg3sVK.mjs → magic-transit-CwfO3OOX.mjs} +36 -67
  139. package/dist/managed-defense-CtFLuvuB.mjs +18 -0
  140. package/dist/{managed-transforms-C-HMtesC.mjs → managed-transforms-Hto8OCBS.mjs} +2 -3
  141. package/dist/{mcp-bGKgzz6F.mjs → mcp-SQ0MAVUJ.mjs} +3 -5
  142. package/dist/{mesh-DeQIll19.mjs → mesh-C8A6tVqA.mjs} +3 -5
  143. package/dist/{migrate-B6HsPeFh.mjs → migrate-Dufxsb_F.mjs} +1 -1
  144. package/dist/{monetization-B-TIrpA5.mjs → monetization-CYVaCAe9.mjs} +3 -5
  145. package/dist/{network-BrjykU-I.mjs → network-CJBTdEM3.mjs} +5 -9
  146. package/dist/{network-interconnects-I06kbxIl.mjs → network-interconnects-CKlNFj3i.mjs} +3 -5
  147. package/dist/{o11y-Ba0Fa98_.mjs → o11y-5x2Q8CWm.mjs} +8 -15
  148. package/dist/{oauth-BH-uQd3C.mjs → oauth-BN6_FpYp.mjs} +1 -1
  149. package/dist/oauth-D_A8AcIS.mjs +4 -0
  150. package/dist/{oauth-clients-Dd5gvDqf.mjs → oauth-clients-qKXg8ZH3.mjs} +3 -5
  151. package/dist/{oauth-scopes-CXpH3Syj.mjs → oauth-scopes-Ct1jDyC5.mjs} +1 -1
  152. package/dist/{organization-DKPqwe3j.mjs → organization-lBQSeqS1.mjs} +3 -5
  153. package/dist/{organizations-Cq4iy-Yr.mjs → organizations-DEX8Er3g.mjs} +1 -1
  154. package/dist/{origin-post-quantum-encryption-DSB1sbYV.mjs → origin-post-quantum-encryption-DUsxVGCs.mjs} +1 -1
  155. package/dist/output-BJEgbI0G.mjs +2 -0
  156. package/dist/package-BqSbnt6u.mjs +2 -0
  157. package/dist/{page-rules-CDWTYaf7.mjs → page-rules-BMt6nt03.mjs} +2 -3
  158. package/dist/{pages-Dgtm51Uj.mjs → pages-Jxa92ECz.mjs} +7 -13
  159. package/dist/{pay-per-crawl-CHenxdhv.mjs → pay-per-crawl-Cv0044CZ.mjs} +3 -5
  160. package/dist/{pay-per-use-Bd5l0hBi.mjs → pay-per-use-DGEeG-dC.mjs} +2 -3
  161. package/dist/{pipelines-GsyD6nUM.mjs → pipelines-CEC78A3w.mjs} +5 -9
  162. package/dist/{precursor-mO-Zua09.mjs → precursor-Ba0Ejhzt.mjs} +1 -1
  163. package/dist/previews-DnZbUTym.mjs +6 -0
  164. package/dist/progress-CtGsPOpV.mjs +2 -0
  165. package/dist/prompt-YrI7ltMa.mjs +4 -0
  166. package/dist/{queues-D8cAr2lB.mjs → queues-Chq997uj.mjs} +6 -11
  167. package/dist/{r2-CJiJbG6b.mjs → r2-BFgZDs-F.mjs} +17 -33
  168. package/dist/{radar-PUZ_PCZ8.mjs → radar-DJdDzLJw.mjs} +1 -1
  169. package/dist/{raw-fetch-DSdFjojI.mjs → raw-fetch-BE3QgdTE.mjs} +1 -1
  170. package/dist/ready-Cok0aqke.mjs +4 -0
  171. package/dist/{realtime-X6uQsldp.mjs → realtime-BHWWCiKp.mjs} +10 -19
  172. package/dist/{registrar-BqZdUTss.mjs → registrar-9Y-1IQ0n.mjs} +1 -1
  173. package/dist/{registrar-sandbox-CmM3e1QN.mjs → registrar-sandbox-DTS1kRnb.mjs} +1 -1
  174. package/dist/{registry-D0tMkLv6.mjs → registry-Bm-GgDC3.mjs} +1 -1
  175. package/dist/{reporting-DFVz98Xg.mjs → reporting-D5RbKQJf.mjs} +1 -1
  176. package/dist/request-headers-KhW_hy36.mjs +2 -0
  177. package/dist/{request-tracers-BC1u2WDU.mjs → request-tracers-wxWCjmHo.mjs} +1 -1
  178. package/dist/{resource-sharing-CdEn5Iex.mjs → resource-sharing-BGoaVvJa.mjs} +5 -9
  179. package/dist/rolldown-runtime-BNtqjh-B.mjs +2 -0
  180. package/dist/{rules-B663VetJ.mjs → rules-Cd3EjhdF.mjs} +3 -5
  181. package/dist/{rulesets-p4EijVr6.mjs → rulesets-Bnz3rSBT.mjs} +4 -7
  182. package/dist/{rum-CHHXe4KK.mjs → rum-CK9HEe3O.mjs} +3 -5
  183. package/dist/run-Be6Js7D6.mjs +2 -0
  184. package/dist/run-DnZGQbq_.mjs +2 -0
  185. package/dist/sanitization-DkVWMHkc.mjs +2 -0
  186. package/dist/{schema-B38ojvsS.mjs → schema-DuLIZRhA.mjs} +1 -1
  187. package/dist/{schema-flags-z7yn0JZ_.mjs → schema-flags-BrDlFwLv.mjs} +1 -1
  188. package/dist/{scim-BMnUa4Oz.mjs → scim-UdqaWnOu.mjs} +3 -5
  189. package/dist/{secrets-store-EYrhEzVG.mjs → secrets-store-Bf5v96LC.mjs} +3 -5
  190. package/dist/{security-insights-C-AwDwXb.mjs → security-insights-BAGySlGu.mjs} +1 -1
  191. package/dist/{security-txt-CQMe8TD3.mjs → security-txt-D0fMmjHs.mjs} +2 -3
  192. package/dist/session-6xqrJWXy.mjs +2 -0
  193. package/dist/shared-DYRRG9A-.mjs +2 -0
  194. package/dist/signed-url-Ce0muRem.mjs +4 -0
  195. package/dist/{smart-shield-CHSuitaH.mjs → smart-shield-CCy7_M3j.mjs} +3 -5
  196. package/dist/{snippets-DGSBz4lg.mjs → snippets-Bc8m3HSV.mjs} +3 -5
  197. package/dist/spawn-BAEdy9kS.mjs +5 -0
  198. package/dist/{spectrum-59LhYG1t.mjs → spectrum-DtNX8WBX.mjs} +2 -3
  199. package/dist/{speed-CMCfoG3s.mjs → speed-TbkeWV_x.mjs} +3 -5
  200. package/dist/{sql-MxWaTDdj.mjs → sql-DI319y25.mjs} +1 -1
  201. package/dist/src-COwxoocl.mjs +2 -0
  202. package/dist/{src-J3Yss3VM.mjs → src-Dc6ojwUW.mjs} +5 -5
  203. package/dist/{ssl-DTTFZR9x.mjs → ssl-D0MIzFl2.mjs} +9 -17
  204. package/dist/startup-profile-CZYtQziF.mjs +2 -0
  205. package/dist/{startup-profile-bp348qmf.mjs → startup-profile-DlWrt4Fm.mjs} +5 -5
  206. package/dist/state-B3Uy1jPX.mjs +2 -0
  207. package/dist/{state-CqAtTENS.mjs → state-DazGSbRx.mjs} +1 -1
  208. package/dist/{stream-gVG_7si-.mjs → stream-4Mrb8HEo.mjs} +14 -27
  209. package/dist/tags-BP25qydR.mjs +22 -0
  210. package/dist/telemetry-CvZean4s.mjs +2 -0
  211. package/dist/telemetry-DKSJSLtq.mjs +2 -0
  212. package/dist/{tenant-custom-nameservers-DBmmUcxn.mjs → tenant-custom-nameservers-BzVP85Tq.mjs} +2 -3
  213. package/dist/{tenant-Qv_PC8gW.mjs → tenant-jmfZqEZ4.mjs} +1 -1
  214. package/dist/{tools-B1ajcUAF.mjs → tools-C-vmgYSv.mjs} +1 -1
  215. package/dist/{tunnels-CHNKPYRV.mjs → tunnels-BNswR1Dj.mjs} +4 -6
  216. package/dist/{turnstile-C60RxPo2.mjs → turnstile-BgsTP2fz.mjs} +2 -3
  217. package/dist/ui-Bo6DCvbS.mjs +2 -0
  218. package/dist/{update-check-BHarE3V9.mjs → update-check-BOF1hn_I.mjs} +1 -1
  219. package/dist/update-check-C7mfEeQ7.mjs +2 -0
  220. package/dist/update-check-worker.mjs +1 -1
  221. package/dist/{url-normalization-3t6Xpafi.mjs → url-normalization-Bqrs4-2F.mjs} +2 -3
  222. package/dist/{url-scanner-DNG__DiK.mjs → url-scanner-Dm4Fps5T.mjs} +1 -1
  223. package/dist/{user-B4i7OIFK.mjs → user-u_LxzLM4.mjs} +8 -15
  224. package/dist/{vectorize-y3PCQDDf.mjs → vectorize-DLGiOyd4.mjs} +3 -5
  225. package/dist/version-DmTuWNZ5.mjs +2 -0
  226. package/dist/{waiting-rooms-xkZLvPkT.mjs → waiting-rooms-DmgJgJXb.mjs} +4 -7
  227. package/dist/{web-assets-BlqHZywy.mjs → web-assets-rNhZWP-6.mjs} +7 -13
  228. package/dist/{web3-DGAJMcLv.mjs → web3-BVBdFt8E.mjs} +3 -5
  229. package/dist/{workers-cCNBx0Bc.mjs → workers-CjUKJvH8.mjs} +18 -22
  230. package/dist/{workers-builds-COKp3NfU.mjs → workers-builds-D3Q97l7X.mjs} +1 -1
  231. package/dist/{workers-for-platforms-CAtiWI_G.mjs → workers-for-platforms-C_fcw30y.mjs} +5 -9
  232. package/dist/{workers-vpc-ChBfXwPy.mjs → workers-vpc-CnRO3Stc.mjs} +2 -3
  233. package/dist/{workflows-BYhgJvyR.mjs → workflows-cpHFe5v6.mjs} +5 -9
  234. package/dist/{wrangler-migration-B12OR2bu.mjs → wrangler-migration-DQehjmoh.mjs} +74 -74
  235. package/dist/{zaraz-BW0kvRCK.mjs → zaraz-BRj0J7vK.mjs} +1 -1
  236. package/dist/{zero-trust-DSeWXkNV.mjs → zero-trust-CVZKDLCB.mjs} +75 -149
  237. package/dist/{zone-B-YJG2UA.mjs → zone-N6ccK70C.mjs} +1 -1
  238. package/dist/{zones-B8pqPHu8.mjs → zones-C4S_kpGz.mjs} +49 -52
  239. package/package.json +12 -12
  240. package/dist/auth-CdEGiJ5Y.mjs +0 -2
  241. package/dist/auth-DF_ml7rE.mjs +0 -2
  242. package/dist/build-BJHRK6qE.mjs +0 -2
  243. package/dist/build-D7s3a8zW.mjs +0 -2
  244. package/dist/cache-CDPUUv_O.mjs +0 -45
  245. package/dist/cf-3vj8dGYz.mjs +0 -18
  246. package/dist/chunk-DSGVRFIS-RUG6Dtqz.mjs +0 -2
  247. package/dist/containers-CcZHRM9g.mjs +0 -376
  248. package/dist/delegate-Tgfxa-MZ.mjs +0 -2
  249. package/dist/deploy-context-DIAl408H.mjs +0 -56
  250. package/dist/dialog-BnIgdgWi.mjs +0 -2
  251. package/dist/discover-DEjUARkU.mjs +0 -2
  252. package/dist/discover-P20XeGBF.mjs +0 -2
  253. package/dist/dist-CX6dDtzj.mjs +0 -449
  254. package/dist/dist-DAeCUX-u.mjs +0 -60
  255. package/dist/dls-CMTrCDjZ.mjs +0 -17
  256. package/dist/flagship-geGDHp9H.mjs +0 -28
  257. package/dist/init-C08hBFYn.mjs +0 -43
  258. package/dist/interactive-pjVqirHx.mjs +0 -2
  259. package/dist/kv-Cd8vbPWK.mjs +0 -15
  260. package/dist/local-CFZtOOxg.mjs +0 -2
  261. package/dist/log-CRbgNbDp.mjs +0 -3
  262. package/dist/login-C3Bahro9.mjs +0 -5
  263. package/dist/login-DvsRxI3E.mjs +0 -2
  264. package/dist/logo-matches-jeNkUxAq.mjs +0 -6
  265. package/dist/logos-pxN5aumY.mjs +0 -7
  266. package/dist/managed-defense-C_KLy4oB.mjs +0 -18
  267. package/dist/matches-DnjBnG-Y.mjs +0 -6
  268. package/dist/oauth-Cf3-g-kk.mjs +0 -4
  269. package/dist/output-CpiIVa7Q.mjs +0 -2
  270. package/dist/previews-oHUiD54J.mjs +0 -7
  271. package/dist/progress-B1dpmxCT.mjs +0 -2
  272. package/dist/prompt-Y5OBwDVE.mjs +0 -4
  273. package/dist/queries-CS0sYfte.mjs +0 -9
  274. package/dist/request-headers-Bg8_Idw3.mjs +0 -2
  275. package/dist/run-0EozpORq.mjs +0 -2
  276. package/dist/run-DKg70Sqf.mjs +0 -2
  277. package/dist/session-3DgztoAI.mjs +0 -2
  278. package/dist/shared-o8saqcSK.mjs +0 -2
  279. package/dist/source-AlTrHNem.mjs +0 -6
  280. package/dist/spawn-BZd__5sj.mjs +0 -10
  281. package/dist/startup-profile-DJsOtbVN.mjs +0 -2
  282. package/dist/state-Dvzl3aSj.mjs +0 -2
  283. package/dist/submit-wJYcQB8d.mjs +0 -4
  284. package/dist/tags-BwFKjaOr.mjs +0 -23
  285. package/dist/telemetry-BczXOpQn.mjs +0 -2
  286. package/dist/telemetry-CE15pfOU.mjs +0 -2
  287. package/dist/ui-CBhKUPys.mjs +0 -2
  288. package/dist/update-check-C3RhhXja.mjs +0 -2
  289. package/dist/url-info-By6VD20A.mjs +0 -4
  290. package/dist/version-izjB0Yrl.mjs +0 -2
@@ -1,28 +1,29 @@
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-BUQscD5b.mjs";import{o as n}from"./resolve-C3FmNlSO.mjs";import{i as r}from"./context-Sgba0fZP.mjs";import{t as i}from"./output-CpiIVa7Q.mjs";import{t as a}from"./dry-run-BBjUQUhR.mjs";import{t as o}from"./progress-B1dpmxCT.mjs";import{t as s}from"./run-0EozpORq.mjs";import"./telemetry-BczXOpQn.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-Y5OBwDVE.mjs";var h={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/aegis`,body:`json`};function ee(e){return e.usage(`$0 zones aegis edit
2
+ import"./api-eMuS5GI1.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{n as t}from"./auth-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
3
3
 
4
- Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.`).option(`value-enabled`,{type:`boolean`,description:`Whether the feature is enabled or not.`}).option(`value-pool-id`,{type:`string`,description:`Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const te={command:`edit`,describe:`Change aegis setting`,builder:ee,handler:async e=>s({command:`zones aegis edit`,classification:{safeFlags:[`value-enabled`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/aegis`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`)}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(h,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`)}}),f=await o(`Updating`,async()=>n.send(h,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var ne={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/aegis`};function g(e){return e.usage(`$0 zones aegis get
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
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(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const _={command:`get`,describe:`Get aegis setting`,builder:g,handler:async e=>s({command:`zones aegis get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones aegis get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/aegis`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ne,{zone_id:s}));i(c,{successLabel:`Loaded`})})},re={command:`aegis`,describe:`Aegis operations`,builder:e=>e.command(te).command(_).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var v={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`,body:`json`};function ie(e){return e.usage(`$0 zones automatic-platform-optimization edit
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
7
7
 
8
- Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your WordPress site from Cloudflare's edge network, reducing load times for visitors. Refer to the APO documentation for more information.`).option(`value-cache-by-device-type`,{type:`boolean`,description:`Whether to cache by device type.`}).option(`value-cf`,{type:`boolean`,description:`Whether the zone is proxied through Cloudflare.`}).option(`value-enabled`,{type:`boolean`,description:`Whether APO is enabled.`}).option(`value-hostnames`,{type:`string`,array:!0,description:`List of hostnames where APO is active.`}).option(`value-recheck`,{type:`boolean`,description:`Whether to recheck WordPress and plugin detection.`}).option(`value-wordpress`,{type:`boolean`,description:`Whether the site is a WordPress site.`}).option(`value-wp-plugin`,{type:`boolean`,description:`Whether the Cloudflare WordPress plugin is installed.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).implies(`value-cf`,[`value-enabled`,`value-wordpress`,`value-wp-plugin`]).implies(`value-enabled`,[`value-cf`,`value-wordpress`,`value-wp-plugin`]).implies(`value-wordpress`,[`value-cf`,`value-enabled`,`value-wp-plugin`]).implies(`value-wp-plugin`,[`value-cf`,`value-enabled`,`value-wordpress`])}const ae={command:`edit`,describe:`Change Automatic Platform Optimization setting`,builder:ie,handler:async e=>s({command:`zones automatic-platform-optimization edit`,classification:{safeFlags:[`value-cache-by-device-type`,`value-cf`,`value-enabled`,`value-recheck`,`value-wordpress`,`value-wp-plugin`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones automatic-platform-optimization edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/automatic_platform_optimization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],enabled:e[`value-enabled`],hostnames:e[`value-hostnames`],recheck:e[`value-recheck`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(v,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:{cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],enabled:e[`value-enabled`],hostnames:e[`value-hostnames`],recheck:e[`value-recheck`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`]}}),d=await o(`Updating`,async()=>n.send(v,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var oe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/automatic_platform_optimization`};function se(e){return e.usage(`$0 zones automatic-platform-optimization get
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
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(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ce={command:`get`,describe:`Get Automatic Platform Optimization setting`,builder:se,handler:async e=>s({command:`zones automatic-platform-optimization get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones automatic-platform-optimization get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/automatic_platform_optimization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(oe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},le={command:`automatic-platform-optimization`,describe:`Operations for automatic-platform-optimization`,builder:e=>e.command(ae).command(ce).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var y={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`,body:`json`};function ue(e){return e.usage(`$0 zones binary-ast edit
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
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
11
13
 
12
14
  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:
13
15
  - "off": Feature disabled.
14
16
  - "on": Binary AST enabled.
15
17
  - "latest": Binary AST enabled using the latest version.
16
- `,choices:[`off`,`on`,`latest`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const de={command:`edit`,describe:`Change Binary AST setting`,builder:ue,handler:async e=>s({command:`zones binary-ast edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones binary-ast edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/binary_ast`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(y,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls Binary AST behavior: - "off": Feature disabled. - "on": Binary AST enabled. - "latest": Binary AST enabled using the latest version. `,[`off`,`on`,`latest`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(y,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var fe={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/binary_ast`};function pe(e){return e.usage(`$0 zones binary-ast get
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
17
19
 
18
- Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts. When enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const me={command:`get`,describe:`Get Binary AST setting`,builder:pe,handler:async e=>s({command:`zones binary-ast get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones binary-ast get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/binary_ast`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(fe,{zone_id:s}));i(c,{successLabel:`Loaded`})})},he={command:`binary-ast`,describe:`Operations for binary-ast`,builder:e=>e.command(de).command(me).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var b={method:`POST`,path:()=>`/zones`,body:`json`};function ge(e){return e.usage(`$0 zones create
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
19
21
 
20
22
  Creates a new zone (domain) in your Cloudflare account. The zone is created in a pending state and must be activated by updating your domain's nameservers to point to Cloudflare, or by completing the verification process for partial (CNAME) setups.`).option(`account-id`,{type:`string`,description:`Identifier`}).option(`name`,{type:`string`,description:`The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters.`}).option(`type`,{type:`string`,description:`A full zone implies that DNS is hosted with Cloudflare. A partial zone is
21
23
  typically a partner-hosted zone or a CNAME setup.
22
- `,choices:[`full`,`partial`,`secondary`,`internal`],default:`full`}).coerce(`type`,e=>d(e,`type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const x={command:`create`,describe:`Create Zone`,builder:ge,handler:async e=>s({command:`zones create`,classification:{safeFlags:[`type`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones`,pathParams:{},bodyKind:`json`,body:e.body===void 0?u({account:{id:d(e[`account-id`],`account-id`,`text`)},name:d(e.name,`name`,`text`),type:e.type}):l(e.body)});return}let n=await t(e);if(e.body){let t=l(e.body),r=await o(`Creating`,async()=>n.send(b,{body:t}));i(r,{successLabel:`Created`});return}e.name===void 0&&(e.name=await f(`name`,`The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment ("label") not exceeding 63 characters.`));let r=u({account:{id:d(e[`account-id`],`account-id`,`text`)},name:d(e.name,`name`,`text`),type:e.type}),s=await o(`Creating`,async()=>n.send(b,{body:r}));i(s,{successLabel:`Created`})})};var S={method:`DELETE`,path:t=>e`/zones/${t.zone_id}`};function C(e){return e.usage(`$0 zones delete
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
23
25
 
24
- Deletes an existing zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const w={command:`delete`,describe:`Delete Zone`,builder:C,handler:async e=>s({command:`zones delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
25
- `);return}let c=await o(`Deleting`,async()=>n.send(S,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var T={method:`PATCH`,path:t=>e`/zones/${t.zone_id}`,body:`json`};function E(e){return e.usage(`$0 zones edit
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
26
27
 
27
28
  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
28
29
  true value means the zone will not receive security or performance
@@ -32,94 +33,90 @@ zone is typically a partner-hosted zone or a CNAME setup. This
32
33
  parameter is only available to Enterprise customers or if it has
33
34
  been explicitly enabled on a zone.
34
35
  `,choices:[`full`,`partial`,`secondary`,`internal`]}).coerce(`type`,e=>d(e,`type`,`text`)).option(`vanity-name-servers`,{type:`string`,array:!0,description:`An array of domains used for custom name servers. This is only
35
- available for Business and Enterprise plans.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const D={command:`edit`,describe:`Edit Zone`,builder:E,handler:async e=>s({command:`zones edit`,classification:{safeFlags:[`paused`,`type`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({paused:e.paused,plan:{id:d(e[`plan-id`],`plan-id`,`text`)},type:e.type,vanity_name_servers:e[`vanity-name-servers`]}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(T,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({paused:e.paused,plan:{id:d(e[`plan-id`],`plan-id`,`text`)},type:e.type,vanity_name_servers:e[`vanity-name-servers`]}),f=await o(`Updating`,async()=>n.send(T,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var O={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/fonts`,body:`json`};function k(e){return e.usage(`$0 zones fonts edit
36
+ 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
36
37
 
37
- Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain, boost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.`).option(`value`,{type:`string`,description:`Whether the feature is enabled or disabled.`,choices:[`on`,`off`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const A={command:`edit`,describe:`Change Cloudflare Fonts setting`,builder:k,handler:async e=>s({command:`zones fonts edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones fonts edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/fonts`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(O,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether the feature is enabled or disabled.`,[`on`,`off`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(O,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var j={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/fonts`};function M(e){return e.usage(`$0 zones fonts get
38
+ 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
38
39
 
39
- Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain, boost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const N={command:`get`,describe:`Get Cloudflare Fonts setting`,builder:M,handler:async e=>s({command:`zones fonts get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones fonts get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/fonts`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(j,{zone_id:s}));i(c,{successLabel:`Loaded`})})},P={command:`fonts`,describe:`Fonts operations`,builder:e=>e.command(A).command(N).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var F={method:`GET`,path:t=>e`/zones/${t.zone_id}`};function I(e){return e.usage(`$0 zones get
40
+ 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
40
41
 
41
- 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 L={command:`get`,describe:`Zone Details`,builder:I,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(F,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var R={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`,body:`json`};function _e(e){return e.usage(`$0 zones h2-prioritization edit
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
42
43
 
43
44
  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:
44
45
  - "off": Use browser default prioritization.
45
46
  - "on": Use Cloudflare's optimized prioritization.
46
47
  - "custom": Use custom prioritization rules.
47
- `,choices:[`off`,`on`,`custom`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ve={command:`edit`,describe:`Change HTTP/2 Prioritization setting`,builder:_e,handler:async e=>s({command:`zones h2-prioritization edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones h2-prioritization edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/h2_prioritization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(R,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls HTTP/2 Prioritization behavior: - "off": Use browser default prioritization. - "on": Use Cloudflare's optimized prioritization. - "custom": Use custom prioritization rules. `,[`off`,`on`,`custom`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(R,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var ye={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/h2_prioritization`};function be(e){return e.usage(`$0 zones h2-prioritization get
48
+ `,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
48
49
 
49
- HTTP/2 Prioritization controls the order in which assets are delivered to browsers. Cloudflare's HTTP/2 Prioritization overrides the default browser prioritization order, improving the loading performance of web pages.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const xe={command:`get`,describe:`Get HTTP/2 Prioritization setting`,builder:be,handler:async e=>s({command:`zones h2-prioritization get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones h2-prioritization get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/h2_prioritization`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ye,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Se={command:`h2-prioritization`,describe:`Operations for h2-prioritization`,builder:e=>e.command(ve).command(xe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ce={method:`POST`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`include_subdomains`]};function we(e){return e.usage(`$0 zones holds create
50
+ 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
50
51
 
51
52
  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
52
53
  as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname
53
54
  'example.com' and include_subdomains=true will block 'example.com',
54
- '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 Te={command:`create`,describe:`Create Zone Hold`,builder:we,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(Ce,{zone_id:c,...n}));i(l,{successLabel:`Created`})})};var Ee={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hold`,query:[`hold_after`]};function De(e){return e.usage(`$0 zones holds delete
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
55
56
 
56
- 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 Oe={command:`delete`,describe:`Remove Zone Hold`,builder:De,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})){process.stderr.write(`Aborted.
57
- `);return}let l=await o(`Deleting`,async()=>s.send(Ee,{zone_id:c,...n}));i(l,{successLabel:`Deleted`})})};var z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/hold`,body:`json`};function ke(e){return e.usage("$0 zones holds edit\n\nUpdate the `hold_after` and/or `include_subdomains` values on an existing zone hold. The hold is enabled if the `hold_after` date-time value is in the past. Existing zone holds can be removed from CDN-only zones by setting `hold_after` to `null`. Other zone hold updates cannot be made on CDN-only zones. Active holds are automatically disabled when a zone transitions to CDN-only mode.").option(`hold-after`,{type:`string`,description:"If `hold_after` is provided and future-dated, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. A past-dated `hold_after` value will have\nno effect on an existing, enabled hold. Providing an empty string will set its value\nto the current time. Providing `null` will disable the hold indefinitely."}).option(`include-subdomains`,{type:`boolean`,description:`If \`true\`, the zone hold will extend to block any subdomain of the given zone, as well
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
58
58
  as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname
59
59
  'example.com' and include_subdomains=true will block 'example.com',
60
- 'staging.example.com', 'api.staging.example.com', etc.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Ae={command:`edit`,describe:`Update Zone Hold`,builder:ke,handler:async e=>s({command:`zones holds edit`,classification:{safeFlags:[`include-subdomains`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones holds edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({hold_after:d(e[`hold-after`],`hold-after`,`text`),include_subdomains:e[`include-subdomains`]}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(z,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({hold_after:d(e[`hold-after`],`hold-after`,`text`),include_subdomains:e[`include-subdomains`]}),f=await o(`Updating`,async()=>n.send(z,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var je={method:`GET`,path:t=>e`/zones/${t.zone_id}/hold`};function Me(e){return e.usage(`$0 zones holds get
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
61
61
 
62
- Retrieve whether the zone is subject to a zone hold, and metadata about the hold.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ne={command:`get`,describe:`Get Zone Hold`,builder:Me,handler:async e=>s({command:`zones holds get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones holds get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hold`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(je,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Pe={command:`holds`,describe:`Operations for holds`,builder:e=>e.command(Te).command(Oe).command(Ae).command(Ne).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Fe={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function Ie(e){return e.usage(`$0 zones hostnames settings tls-single get <hostname>
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>
63
63
 
64
- Get the requested TLS setting for the hostname.`).positional(`hostname`,{type:`string`,description:`The hostname for which the tls settings are set.`,demandOption:!0}).option(`setting-id`,{type:`string`,description:'The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`).\n- `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`).\n- `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Le={command:`get <hostname>`,describe:`Get TLS setting for hostname`,builder:Ie,handler:async e=>s({command:`zones hostnames settings tls-single get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls-single get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}/${e.hostname==null?`<hostname>`:encodeURIComponent(String(e.hostname))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``),hostname:String(e.hostname??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Fe,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Loaded`})})},Re={command:`tls-single`,describe:`Operations for hostnames.settings.tls-single`,builder:e=>e.command(Le).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var ze={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`};function Be(e){return e.usage(`$0 zones hostnames settings tls delete <hostname>
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>
65
65
 
66
- Delete the tls setting value for the hostname.`).positional(`hostname`,{type:`string`,description:`The hostname for which the tls settings are set.`,demandOption:!0}).option(`setting-id`,{type:`string`,description:'The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`).\n- `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`).\n- `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const Ve={command:`delete <hostname>`,describe:`Delete TLS setting for hostname`,builder:Be,handler:async e=>s({command:`zones hostnames settings tls delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}/${e.hostname==null?`<hostname>`:encodeURIComponent(String(e.hostname))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``),hostname:String(e.hostname??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
67
- `);return}let c=await o(`Deleting`,async()=>n.send(ze,{zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(c,{successLabel:`Deleted`})})};var He={method:`GET`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}`};function Ue(e){return e.usage(`$0 zones hostnames settings tls get <setting-id>
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
67
 
69
- List the requested TLS setting for the hostnames under this zone.`).positional(`setting-id`,{type:`string`,description:'The TLS Setting name. The value type depends on the setting: - `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`). - `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`). - `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const We={command:`get <setting-id>`,describe:`List TLS setting for hostnames`,builder:Ue,handler:async e=>s({command:`zones hostnames settings tls get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(He,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})};var Ge={method:`PUT`,path:t=>e`/zones/${t.zone_id}/hostnames/settings/${t.setting_id}/${t.hostname}`,body:`json`};function Ke(e){return e.usage(`$0 zones hostnames settings tls update <hostname>
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
69
 
71
- Update the tls setting value for the hostname.`).positional(`hostname`,{type:`string`,description:`The hostname for which the tls settings are set.`,demandOption:!0}).option(`setting-id`,{type:`string`,description:'The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"]`).\n- `min_tls_version`: value is a TLS version string (`"1.0"`, `"1.1"`, `"1.2"`, or `"1.3"`).\n- `http2`: value is `"on"` or `"off"`.',demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const qe={command:`update <hostname>`,describe:`Edit TLS setting for hostname`,builder:Ke,handler:async e=>s({command:`zones hostnames settings tls update`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones hostnames settings tls update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/hostnames/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}/${e.hostname==null?`<hostname>`:encodeURIComponent(String(e.hostname))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``),hostname:String(e.hostname??``)},bodyKind:`json`,body:e.body===void 0?void 0:l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Ge,{body:t,zone_id:s,setting_id:e[`setting-id`],hostname:e.hostname}));i(r,{successLabel:`Updated`})}else if(e.body===void 0)throw Error(`--body is required for this command. Pass --body '<json>' or --body @path/to/file.json.`)})},Je={command:`tls`,describe:`Operations for hostnames.settings.tls`,builder:e=>e.command(Ve).command(We).command(qe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Ye={command:`settings`,describe:`Operations for hostnames.settings`,builder:e=>e.command(Je).command(Re).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Xe={command:`hostnames`,describe:`Operations for hostnames`,builder:e=>e.command(Ye).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var B={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`,body:`json`};function Ze(e){return e.usage("$0 zones image-resizing edit\n\nSets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.").option(`value`,{type:`string`,description:`Controls Image Resizing behavior:
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
71
  - "off": Feature disabled.
73
72
  - "on": Resizing is enabled for same-zone images only.
74
73
  - "open": Resizing is enabled for images from any origin.
75
74
  - "latest": Resizing is enabled for same-zone images using the latest version.
76
- `,choices:[`off`,`on`,`open`,`latest`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Qe={command:`edit`,describe:`Change Image Transformations setting`,builder:Ze,handler:async e=>s({command:`zones image-resizing edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones image-resizing edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/image_resizing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(B,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Controls Image Resizing behavior: - "off": Feature disabled. - "on": Resizing is enabled for same-zone images only. - "open": Resizing is enabled for images from any origin. - "latest": Resizing is enabled for same-zone images using the latest version. `,[`off`,`on`,`open`,`latest`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(B,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var $e={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/image_resizing`};function et(e){return e.usage("$0 zones image-resizing get\n\nGets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const tt={command:`get`,describe:`Get Image Transformations setting`,builder:et,handler:async e=>s({command:`zones image-resizing get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones image-resizing get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/image_resizing`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send($e,{zone_id:s}));i(c,{successLabel:`Loaded`})})},nt={command:`image-resizing`,describe:`Operations for image-resizing`,builder:e=>e.command(Qe).command(tt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function rt(e){return e.usage(`$0 zones list
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
76
 
78
- Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts is currently not allowed.`).option(`name`,{type:`string`,description:"A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`"}).option(`status`,{type:`string`,description:`Specify a zone status to filter by.`,choices:[`initializing`,`pending`,`active`,`moved`]}).option(`type`,{type:`string`,description:`Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type "internal" are excluded from the results.`}).option(`account-id`,{type:`string`,description:`Filter by an account ID.`}).option(`account-name`,{type:`string`,description:"An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`"}).option(`page`,{type:`number`,description:`Page number of paginated results.`}).option(`per-page`,{type:`number`,description:`Number of zones per page.`}).option(`order`,{type:`string`,description:`Field to order zones by.`,choices:[`name`,`status`,`account.id`,`account.name`,`plan.id`]}).option(`direction`,{type:`string`,description:`Direction to order zones.`,choices:[`asc`,`desc`]}).option(`match`,{type:`string`,description:`Whether to match all search requirements or at least one (any).`,choices:[`any`,`all`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const it={command:`list`,describe:`List Zones`,builder:rt,handler:async e=>s({command:`zones list`,classification:{safeFlags:[`status`,`order`,`direction`,`match`,`dry-run`]}},e,async()=>{let r={name:e.name,status:e.status,type:e.type,"account.id":e[`account-id`],"account.name":e[`account-name`],page:e.page,per_page:e[`per-page`],order:e.order,direction:e.direction,match:e.match};if(e.dryRun){a({command:`cf zones list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones`,pathParams:{},query:r,bodyKind:`none`});return}let s=await t(e),c=await o(`Loading`,async()=>s.send(n,r));i(c,{successLabel:`Loaded`})})};var V={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`,body:`json`};function at(e){return e.usage("$0 zones origin-h2-max-streams edit\n\nOrigin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.").option(`value`,{type:`number`,description:`Value of the Origin H2 Max Streams Setting.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ot={command:`edit`,describe:`Change Origin H2 Max Streams Setting`,builder:at,handler:async e=>s({command:`zones origin-h2-max-streams edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-h2-max-streams edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_h2_max_streams`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(V,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(V,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var st={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_h2_max_streams`};function ct(e){return e.usage("$0 zones origin-h2-max-streams get\n\nOrigin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const lt={command:`get`,describe:`Get Origin H2 Max Streams Setting`,builder:ct,handler:async e=>s({command:`zones origin-h2-max-streams get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-h2-max-streams get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_h2_max_streams`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(st,{zone_id:s}));i(c,{successLabel:`Loaded`})})},ut={command:`origin-h2-max-streams`,describe:`Origin H2 Max Streams operations`,builder:e=>e.command(ot).command(lt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var H={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`,body:`json`};function dt(e){return e.usage(`$0 zones origin-max-http-version edit
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
78
 
80
- Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1".`).option(`value`,{type:`string`,description:`Value of the Origin Max HTTP Version Setting.`,choices:[`2`,`1`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const ft={command:`edit`,describe:`Change Origin Max HTTP Version Setting`,builder:dt,handler:async e=>s({command:`zones origin-max-http-version edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-max-http-version edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_max_http_version`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(H,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Value of the Origin Max HTTP Version Setting.`,[`2`,`1`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(H,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var pt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_max_http_version`};function mt(e){return e.usage(`$0 zones origin-max-http-version get
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
80
 
82
- Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1".`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const ht={command:`get`,describe:`Get Origin Max HTTP Version Setting`,builder:mt,handler:async e=>s({command:`zones origin-max-http-version get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-max-http-version get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_max_http_version`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(pt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},gt={command:`origin-max-http-version`,describe:`Origin Max Http Version operations`,builder:e=>e.command(ft).command(ht).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var _t={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function vt(e){return e.usage(`$0 zones origin-tls-compliance-modes delete
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
82
 
84
- Delete the Origin TLS Compliance Modes setting for the zone, removing any configured compliance constraint. After deletion, Cloudflare's default behavior applies (no compliance filtering of the key-exchange algorithm list sent to the origin).`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const yt={command:`delete`,describe:`Delete Origin TLS Compliance Modes setting`,builder:vt,handler:async e=>s({command:`zones origin-tls-compliance-modes delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
85
- `);return}let c=await o(`Deleting`,async()=>n.send(_t,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var U={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`,body:`json`};function bt(e){return e.usage('$0 zones origin-tls-compliance-modes edit\n\nUpdate the set of TLS compliance modes for the zone. PATCH performs a full replace of the modes list, not a merge — the request body is treated as the complete new list, and any modes not present in it are removed. (To remove a single mode from an existing configuration, send the updated list without it.) The request body must be of the form `{"value": ["fips", "pqh"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.').option(`value`,{type:`string`,array:!0,description:"List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const xt={command:`edit`,describe:`Change Origin TLS Compliance Modes setting`,builder:bt,handler:async e=>s({command:`zones origin-tls-compliance-modes edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(U,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(U,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var St={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`};function Ct(e){return e.usage("$0 zones origin-tls-compliance-modes get\n\nOrigin TLS Compliance Modes constrains the set of TLS key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. The value is a list of named compliance modes (currently `fips` and `pqh`). Multiple modes are combined as the intersection of their permitted algorithm lists. An empty list (or no rule configured) means no compliance constraint is applied.").option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const wt={command:`get`,describe:`Get Origin TLS Compliance Modes setting`,builder:Ct,handler:async e=>s({command:`zones origin-tls-compliance-modes get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(St,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var W={method:`PUT`,path:t=>e`/zones/${t.zone_id}/settings/origin_tls_compliance_modes`,body:`json`};function Tt(e){return e.usage('$0 zones origin-tls-compliance-modes update\n\nReplace the entire set of TLS compliance modes for the zone with the list provided in the request body. PUT performs a full replace, not a merge — any modes not present in the request body are removed. The request body must be of the form `{"value": ["fips", "pqh"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.').option(`value`,{type:`string`,array:!0,description:"List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Et={command:`update`,describe:`Replace Origin TLS Compliance Modes setting`,builder:Tt,handler:async e=>s({command:`zones origin-tls-compliance-modes update`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones origin-tls-compliance-modes update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/origin_tls_compliance_modes`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(W,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}if(e.value===void 0)throw Error(`--value is required (or pass --body with this field set).`);let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(W,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})},Dt={command:`origin-tls-compliance-modes`,describe:`Manage zone Origin TLS Compliance Modes setting`,builder:e=>e.command(yt).command(xt).command(wt).command(Et).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ot={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans/${t.plan_identifier}`};function kt(e){return e.usage(`$0 zones plans get <plan-identifier>
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>
86
84
 
87
- Details of the available plan that the zone can subscribe to.`).positional(`plan-identifier`,{type:`string`,description:`Identifier`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const At={command:`get <plan-identifier>`,describe:`Available Plan Details`,builder:kt,handler:async e=>s({command:`zones plans get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones plans get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_plans/${e[`plan-identifier`]==null?`<plan-identifier>`:encodeURIComponent(String(e[`plan-identifier`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"plan-identifier":String(e[`plan-identifier`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Ot,{zone_id:s,plan_identifier:e[`plan-identifier`]}));i(c,{successLabel:`Loaded`})})};var jt={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_plans`};function Mt(e){return e.usage(`$0 zones plans list
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
88
86
 
89
- Lists available plans the zone can subscribe to.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Nt={command:`list`,describe:`List Available Plans`,builder:Mt,handler:async e=>s({command:`zones plans list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones plans list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_plans`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(jt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Pt={command:`plans`,describe:`Operations for plans`,builder:e=>e.command(At).command(Nt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Ft={method:`GET`,path:t=>e`/zones/${t.zone_id}/available_rate_plans`};function It(e){return e.usage(`$0 zones rate-plans get
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
90
88
 
91
- Lists all rate plans the zone can subscribe to.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Lt={command:`get`,describe:`List Available Rate Plans`,builder:It,handler:async e=>s({command:`zones rate-plans get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rate-plans get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/available_rate_plans`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Ft,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Rt={command:`rate-plans`,describe:`Operations for rate-plans`,builder:e=>e.command(Lt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var G={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/rum`,body:`json`};function zt(e){return e.usage(`$0 zones rum edit
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
92
90
 
93
- Toggles RUM on/off for an existing zone.`).option(`value`,{type:`string`,description:`Value can either be On or Off.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Bt={command:`edit`,describe:`Toggle RUM on/off for a zone`,builder:zt,handler:async e=>s({command:`zones rum edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rum edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/rum`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(G,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:d(e.value,`value`,`text`)}),f=await o(`Updating`,async()=>n.send(G,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var Vt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/rum`};function Ht(e){return e.usage(`$0 zones rum get
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
94
92
 
95
- Retrieves RUM status for a zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ut={command:`get`,describe:`Get RUM status for a zone`,builder:Ht,handler:async e=>s({command:`zones rum get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones rum get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/rum`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Vt,{zone_id:s}));i(c,{successLabel:`Loaded`})})},Wt={command:`rum`,describe:`Rum operations`,builder:e=>e.command(Bt).command(Ut).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var K={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`,body:`json`};function Gt(e){return e.usage(`$0 zones settings edit <setting-id>
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>
96
94
 
97
- Updates a single zone setting by the identifier`).positional(`setting-id`,{type:`string`,description:`Setting name`,demandOption:!0}).option(`enabled`,{type:`boolean`,description:`ssl-recommender enrollment setting.`}).option(`value-enabled`,{type:`boolean`,description:`Whether the feature is enabled or not.`}).option(`value-pool-id`,{type:`string`,description:`Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin.`}).option(`value-cache-by-device-type`,{type:`boolean`,description:`Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled.`}).option(`value-cf`,{type:`boolean`,description:`Indicates whether or not Cloudflare proxy is enabled.`}).option(`value-hostnames`,{type:`string`,array:!0,description:`An array of hostnames where Automatic Platform Optimization for WordPress is activated.`}).option(`value-wordpress`,{type:`boolean`,description:`Indicates whether or not site is powered by WordPress.`}).option(`value-wp-plugin`,{type:`boolean`,description:`Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed.`}).option(`value-strict-transport-security-enabled`,{type:`boolean`,description:`Whether or not strict transport security is enabled.`}).option(`value-strict-transport-security-include-subdomains`,{type:`boolean`,description:`Include all subdomains for strict transport security.`}).option(`value-strict-transport-security-max-age`,{type:`number`,description:`Max age in seconds of the strict transport security.`}).option(`value-strict-transport-security-nosniff`,{type:`boolean`,description:`Whether or not to include 'X-Content-Type-Options: nosniff' header.`}).option(`value-strict-transport-security-preload`,{type:`boolean`,description:`Enable automatic preload of the HSTS configuration.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`value-pool-id`,[`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).conflicts(`value-cache-by-device-type`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-cache-by-device-type`,[`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-cf`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-cf`,[`value-cache-by-device-type`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-hostnames`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-hostnames`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-wordpress`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-wordpress`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wp-plugin`]).conflicts(`value-wp-plugin`,[`value-pool-id`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-max-age`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`]).implies(`value-wp-plugin`,[`value-cache-by-device-type`,`value-cf`,`value-strict-transport-security-enabled`,`value-hostnames`,`value-wordpress`]).implies(`value-strict-transport-security-enabled`,[`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-include-subdomains`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-max-age`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-nosniff`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`]).conflicts(`value-strict-transport-security-preload`,[`value-pool-id`,`value-cache-by-device-type`,`value-cf`,`value-hostnames`,`value-wordpress`,`value-wp-plugin`])}const Kt={command:`edit <setting-id>`,describe:`Edit zone setting`,builder:Gt,handler:async e=>s({command:`zones settings edit`,classification:{safeFlags:[`enabled`,`value-enabled`,`value-cache-by-device-type`,`value-cf`,`value-wordpress`,`value-wp-plugin`,`value-strict-transport-security-enabled`,`value-strict-transport-security-include-subdomains`,`value-strict-transport-security-nosniff`,`value-strict-transport-security-preload`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones settings edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({enabled:e.enabled,value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`),cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],hostnames:e[`value-hostnames`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`],strict_transport_security:{enabled:e[`value-strict-transport-security-enabled`],include_subdomains:e[`value-strict-transport-security-include-subdomains`],max_age:e[`value-strict-transport-security-max-age`],nosniff:e[`value-strict-transport-security-nosniff`],preload:e[`value-strict-transport-security-preload`]}}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(K,{body:t,zone_id:s,setting_id:e[`setting-id`]}));i(r,{successLabel:`Updated`});return}let c=u({enabled:e.enabled,value:{enabled:e[`value-enabled`],pool_id:d(e[`value-pool-id`],`value-pool-id`,`text`),cache_by_device_type:e[`value-cache-by-device-type`],cf:e[`value-cf`],hostnames:e[`value-hostnames`],wordpress:e[`value-wordpress`],wp_plugin:e[`value-wp-plugin`],strict_transport_security:{enabled:e[`value-strict-transport-security-enabled`],include_subdomains:e[`value-strict-transport-security-include-subdomains`],max_age:e[`value-strict-transport-security-max-age`],nosniff:e[`value-strict-transport-security-nosniff`],preload:e[`value-strict-transport-security-preload`]}}}),f=await o(`Updating`,async()=>n.send(K,{body:c,zone_id:s,setting_id:e[`setting-id`]}));i(f,{successLabel:`Updated`})})};var qt={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/${t.setting_id}`};function Jt(e){return e.usage(`$0 zones settings get <setting-id>
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>
98
96
 
99
- Fetch a single zone setting by name`).positional(`setting-id`,{type:`string`,description:`Setting name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Yt={command:`get <setting-id>`,describe:`Get zone setting`,builder:Jt,handler:async e=>s({command:`zones settings get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones settings get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/${e[`setting-id`]==null?`<setting-id>`:encodeURIComponent(String(e[`setting-id`]))}`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``),"setting-id":String(e[`setting-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(qt,{zone_id:s,setting_id:e[`setting-id`]}));i(c,{successLabel:`Loaded`})})},Xt={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(Kt).command(Yt).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`,body:`json`};function Zt(e){return e.usage(`$0 zones speed-brain edit
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
100
98
 
101
- Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website navigation faster. Refer to the Cloudflare Speed Brain documentation for more information.`).option(`value`,{type:`string`,description:`Whether the feature is enabled or disabled.`,choices:[`on`,`off`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Qt={command:`edit`,describe:`Change Cloudflare Speed Brain setting`,builder:Zt,handler:async e=>s({command:`zones speed-brain edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones speed-brain edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/speed_brain`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(q,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether the feature is enabled or disabled.`,[`on`,`off`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(q,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var $t={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/speed_brain`};function en(e){return e.usage(`$0 zones speed-brain get
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
102
100
 
103
- Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website navigation faster. Refer to the Cloudflare Speed Brain documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const tn={command:`get`,describe:`Get Cloudflare Speed Brain setting`,builder:en,handler:async e=>s({command:`zones speed-brain get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones speed-brain get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/speed_brain`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send($t,{zone_id:s}));i(c,{successLabel:`Loaded`})})},nn={command:`speed-brain`,describe:`Speed Brain operations`,builder:e=>e.command(Qt).command(tn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var J={method:`POST`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function rn(e){return e.usage(`$0 zones subscriptions create
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
104
102
 
105
- Create a zone subscription, either plan or add-ons.`).option(`app-install-id`,{type:`string`,description:`app install id.`}).option(`component-values`,{type:`string`,description:`Configurable component values for the subscription. Provide as a JSON array of objects or @path/to/file.json.`}).option(`frequency`,{type:`string`,description:`How often the subscription is renewed automatically.`,choices:[`weekly`,`monthly`,`quarterly`,`yearly`]}).coerce(`frequency`,e=>d(e,`frequency`,`text`)).option(`rate-plan-currency`,{type:`string`,description:`The currency applied to the rate plan subscription.`}).option(`rate-plan-externally-managed`,{type:`boolean`,description:`Whether this rate plan is managed externally from Cloudflare.`}).option(`rate-plan-id`,{type:`string`,description:`The ID of the rate plan.`}).option(`rate-plan-is-contract`,{type:`boolean`,description:`Whether a rate plan is enterprise-based (or newly adopted term contract).`}).option(`rate-plan-public-name`,{type:`string`,description:`The full name of the rate plan.`}).option(`rate-plan-scope`,{type:`string`,description:`The scope that this rate plan applies to.`}).option(`rate-plan-sets`,{type:`string`,array:!0,description:`The list of sets this rate plan applies to. Returns array of strings.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const an={command:`create`,describe:`Create Zone Subscription`,builder:rn,handler:async e=>s({command:`zones subscriptions create`,classification:{safeFlags:[`frequency`,`rate-plan-externally-managed`,`rate-plan-is-contract`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Creating`,async()=>n.send(J,{body:t,zone_id:s}));i(r,{successLabel:`Created`});return}let f=u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}),p=await o(`Creating`,async()=>n.send(J,{body:f,zone_id:s}));i(p,{successLabel:`Created`})})};var on={method:`DELETE`,path:t=>e`/zones/${t.zone_id}/subscription`};function sn(e){return e.usage(`$0 zones subscriptions delete
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
106
104
 
107
- Deletes a zone's subscription.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const cn={command:`delete`,describe:`Delete Zone Subscription`,builder:sn,handler:async e=>s({command:`zones subscriptions delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,!await m({force:!!e.force})){process.stderr.write(`Aborted.
108
- `);return}let c=await o(`Deleting`,async()=>n.send(on,{zone_id:s}));i(c,{successLabel:`Deleted`})})};var ln={method:`GET`,path:t=>e`/zones/${t.zone_id}/subscription`};function un(e){return e.usage(`$0 zones subscriptions get
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
109
106
 
110
- Lists zone subscription details.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const dn={command:`get`,describe:`Zone Subscription Details`,builder:un,handler:async e=>s({command:`zones subscriptions get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(ln,{zone_id:s}));i(c,{successLabel:`Loaded`})})};var Y={method:`PUT`,path:t=>e`/zones/${t.zone_id}/subscription`,body:`json`};function fn(e){return e.usage(`$0 zones subscriptions update
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
111
108
 
112
- Updates zone subscriptions, either plan or add-ons.`).option(`app-install-id`,{type:`string`,description:`app install id.`}).option(`component-values`,{type:`string`,description:`Configurable component values for the subscription. Provide as a JSON array of objects or @path/to/file.json.`}).option(`frequency`,{type:`string`,description:`How often the subscription is renewed automatically.`,choices:[`weekly`,`monthly`,`quarterly`,`yearly`]}).coerce(`frequency`,e=>d(e,`frequency`,`text`)).option(`rate-plan-currency`,{type:`string`,description:`The currency applied to the rate plan subscription.`}).option(`rate-plan-externally-managed`,{type:`boolean`,description:`Whether this rate plan is managed externally from Cloudflare.`}).option(`rate-plan-id`,{type:`string`,description:`The ID of the rate plan.`}).option(`rate-plan-is-contract`,{type:`boolean`,description:`Whether a rate plan is enterprise-based (or newly adopted term contract).`}).option(`rate-plan-public-name`,{type:`string`,description:`The full name of the rate plan.`}).option(`rate-plan-scope`,{type:`string`,description:`The scope that this rate plan applies to.`}).option(`rate-plan-sets`,{type:`string`,array:!0,description:`The list of sets this rate plan applies to. Returns array of strings.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const pn={command:`update`,describe:`Update Zone Subscription`,builder:fn,handler:async e=>s({command:`zones subscriptions update`,classification:{safeFlags:[`frequency`,`rate-plan-externally-managed`,`rate-plan-is-contract`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones subscriptions update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/subscription`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Y,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let f=u({app:{install_id:d(e[`app-install-id`],`app-install-id`,`text`)},component_values:c(e[`component-values`],`component-values`),frequency:e.frequency,rate_plan:{currency:d(e[`rate-plan-currency`],`rate-plan-currency`,`text`),externally_managed:e[`rate-plan-externally-managed`],id:d(e[`rate-plan-id`],`rate-plan-id`,`text`),is_contract:e[`rate-plan-is-contract`],public_name:d(e[`rate-plan-public-name`],`rate-plan-public-name`,`text`),scope:d(e[`rate-plan-scope`],`rate-plan-scope`,`text`),sets:e[`rate-plan-sets`]}}),p=await o(`Updating`,async()=>n.send(Y,{body:f,zone_id:s}));i(p,{successLabel:`Updated`})})},mn={command:`subscriptions`,describe:`Operations for subscriptions`,builder:e=>e.command(an).command(cn).command(dn).command(pn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var X={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`,body:`json`};function hn(e){return e.usage(`$0 zones transformations-allowed-origins edit
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
113
110
 
114
111
  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.
115
112
  Use "*" to allow all origins (default).
116
- `}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const gn={command:`edit`,describe:`Change Image Transformations Allowed Origins setting`,builder:hn,handler:async e=>s({command:`zones transformations-allowed-origins edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-allowed-origins edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_allowed_origins`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:d(e.value,`value`,`text`)}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(X,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await f(`value`,`Comma-separated list of allowed origin domains for image and video transformations. Use "*" to allow all origins (default). `));let c=u({value:d(e.value,`value`,`text`)}),p=await o(`Updating`,async()=>n.send(X,{body:c,zone_id:s}));i(p,{successLabel:`Updated`})})};var _n={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_allowed_origins`};function vn(e){return e.usage(`$0 zones transformations-allowed-origins get
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
117
114
 
118
- Media Transformations Allowed Origins restricts transformations for images and video served through Cloudflare's network to requests originating from specified domains. Refer to the Image Transformations and Video Transformations documentation for more information.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const yn={command:`get`,describe:`Get Image Transformations Allowed Origins setting`,builder:vn,handler:async e=>s({command:`zones transformations-allowed-origins get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-allowed-origins get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_allowed_origins`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(_n,{zone_id:s}));i(c,{successLabel:`Loaded`})})},bn={command:`transformations-allowed-origins`,describe:`Operations for transformations-allowed-origins`,builder:e=>e.command(gn).command(yn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Z={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`,body:`json`};function xn(e){return e.usage(`$0 zones transformations-c2pa edit
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
119
116
 
120
- C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance.`).option(`value`,{type:`string`,description:`Whether C2PA signing is enabled for image transformations.`,choices:[`off`,`on`]}).coerce(`value`,e=>d(e,`value`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const Sn={command:`edit`,describe:`Change Image Transformations C2PA setting`,builder:xn,handler:async e=>s({command:`zones transformations-c2pa edit`,classification:{safeFlags:[`value`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-c2pa edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_c2pa`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:e.value}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Z,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}e.value===void 0&&(e.value=await p(`value`,`Whether C2PA signing is enabled for image transformations.`,[`off`,`on`]));let c=u({value:e.value}),d=await o(`Updating`,async()=>n.send(Z,{body:c,zone_id:s}));i(d,{successLabel:`Updated`})})};var Cn={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_c2pa`};function wn(e){return e.usage(`$0 zones transformations-c2pa get
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
121
118
 
122
- C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Tn={command:`get`,describe:`Get Image Transformations C2PA setting`,builder:wn,handler:async e=>s({command:`zones transformations-c2pa get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-c2pa get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_c2pa`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send(Cn,{zone_id:s}));i(c,{successLabel:`Loaded`})})},En={command:`transformations-c2pa`,describe:`Operations for transformations-c2pa`,builder:e=>e.command(Sn).command(Tn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Q={method:`PATCH`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`,body:`json`};function Dn(e){return e.usage(`$0 zones transformations-config edit
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
123
120
 
124
121
  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.
125
122
  Use "*" to allow all origins (default).
@@ -128,6 +125,6 @@ Use "*" to allow all origins (default).
128
125
  - "on": Transformations enabled for same-zone images only.
129
126
  - "open": Transformations enabled for images from any origin.
130
127
  - "latest": Transformations enabled using the latest version.
131
- `,choices:[`off`,`on`,`open`,`latest`]}).coerce(`value-transformations`,e=>d(e,`value-transformations`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const On={command:`edit`,describe:`Change Transformations configuration`,builder:Dn,handler:async e=>s({command:`zones transformations-config edit`,classification:{safeFlags:[`value-c2pa`,`value-transformations`,`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-config edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`json`,body:e.body===void 0?u({value:{allowed_origins:d(e[`value-allowed-origins`],`value-allowed-origins`,`text`),c2pa:e[`value-c2pa`],transformations:e[`value-transformations`]}}):l(e.body)});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});if(e.zoneId=s,e.body){let t=l(e.body),r=await o(`Updating`,async()=>n.send(Q,{body:t,zone_id:s}));i(r,{successLabel:`Updated`});return}let c=u({value:{allowed_origins:d(e[`value-allowed-origins`],`value-allowed-origins`,`text`),c2pa:e[`value-c2pa`],transformations:e[`value-transformations`]}}),f=await o(`Updating`,async()=>n.send(Q,{body:c,zone_id:s}));i(f,{successLabel:`Updated`})})};var $={method:`GET`,path:t=>e`/zones/${t.zone_id}/settings/transformations_config`};function kn(e){return e.usage(`$0 zones transformations-config get
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
132
129
 
133
- Returns the combined Transformations configuration for a zone, including the transformations toggle, allowed origins, and C2PA signing settings in a single response.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const An={command:`get`,describe:`Get Transformations configuration`,builder:kn,handler:async e=>s({command:`zones transformations-config get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){a({command:`cf zones transformations-config get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${e.zone??e.zoneId??`<zone>`}/settings/transformations_config`,pathParams:{"zone-id":String(e.zone??e[`zone-id`]??``)},bodyKind:`none`});return}let n=await t(e),s=await r({zone:e.zone},n,{quiet:e.quiet});e.zoneId=s;let c=await o(`Loading`,async()=>n.send($,{zone_id:s}));i(c,{successLabel:`Loaded`})})},jn={command:`transformations-config`,describe:`Operations for transformations-config`,builder:e=>e.command(On).command(An).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Mn={command:`zones`,describe:`Zones are domains on Cloudflare — list, create, and configure domain settings`,builder:e=>e.command(x).command(w).command(D).command(L).command(it).command(re).command(le).command(he).command(P).command(Se).command(Pe).command(Xe).command(nt).command(ut).command(gt).command(Dt).command(Pt).command(Rt).command(Wt).command(Xt).command(nn).command(mn).command(bn).command(En).command(jn).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{Mn as default};
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};