cf 1.0.0-beta.10 → 1.0.0-beta.11

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 (305) hide show
  1. package/dist/{abuse-reports-BhSTEz7h.mjs → abuse-reports-DX5xgeka.mjs} +10 -10
  2. package/dist/{access-D4DN4XZF.mjs → access-DuHs0Mii.mjs} +1 -1
  3. package/dist/{account-tags-BWEIZLID.mjs → account-tags-CiKwgOWd.mjs} +5 -5
  4. package/dist/{accounts-ZQvIqGJz.mjs → accounts-DfXSHrkF.mjs} +62 -62
  5. package/dist/{acm-OQqE8FMc.mjs → acm-BgSr3Ig4.mjs} +7 -7
  6. package/dist/{addressing-DCFm17JQ.mjs → addressing-B70NFnrX.mjs} +49 -49
  7. package/dist/{agent-memory-BtfPt2me.mjs → agent-memory-DJRquHeq.mjs} +15 -15
  8. package/dist/{ai-B0_sZbmy.mjs → ai-CP2oIS-I.mjs} +16 -16
  9. package/dist/{ai-audit-DaubuhYF.mjs → ai-audit-Bn_BfMFS.mjs} +3 -3
  10. package/dist/{ai-gateway-CJ-1Dzzr.mjs → ai-gateway-CrrEtzUP.mjs} +44 -44
  11. package/dist/{ai-search-Dywa1kqX.mjs → ai-search-C4YWVTCa.mjs} +42 -42
  12. package/dist/{ai-security-2wxMPqKS.mjs → ai-security-Bt_fG65f.mjs} +4 -4
  13. package/dist/{alerting-yad9DYRv.mjs → alerting-CRr88fVR.mjs} +26 -26
  14. package/dist/{analytics-DKNw2fVc.mjs → analytics-XqS9OP5B.mjs} +10 -10
  15. package/dist/{analytics_engine-BA3kF46s.mjs → analytics_engine-CzmYem4f.mjs} +2 -2
  16. package/dist/{api-security-CSuYMpMO.mjs → api-security-gB1FHrHq.mjs} +57 -57
  17. package/dist/{argo-DMfNmOV4.mjs → argo-wFCAsYx7.mjs} +5 -5
  18. package/dist/{artifacts-Cb3hwClm.mjs → artifacts-qFjlNRqb.mjs} +20 -20
  19. package/dist/{audit-logs-BrjNuiLx.mjs → audit-logs-CpPUjMUP.mjs} +2 -2
  20. package/dist/auth-7Fk7PVIC.mjs +2 -0
  21. package/dist/auth-BmJ946bE.mjs +2 -0
  22. package/dist/auth-Br-t8vL_.mjs +2 -0
  23. package/dist/auth-token-DeG33BMQ.mjs +8 -0
  24. package/dist/{autoconfig-DPUztTL2.mjs → autoconfig-D-copdZG.mjs} +2 -2
  25. package/dist/{banner-ClclgnBn.mjs → banner-Xk4xBN8U.mjs} +1 -1
  26. package/dist/{basin-catalog-BLsQhJP4.mjs → basin-catalog-CshcpsAH.mjs} +17 -17
  27. package/dist/{billing-CRwD7oQS.mjs → billing-B-xNxxiP.mjs} +11 -11
  28. package/dist/{bot-management-CyW8F8Wm.mjs → bot-management-DhafeA2J.mjs} +4 -4
  29. package/dist/{botnet-feed-BBKsxf3Y.mjs → botnet-feed-D6uCLE_D.mjs} +5 -5
  30. package/dist/{brand-protection-DSeD8LXl.mjs → brand-protection-c3WiHbYn.mjs} +13 -13
  31. package/dist/{browser-run-BAcUTwB4.mjs → browser-run-D9_cwaSD.mjs} +24 -24
  32. package/dist/build-9ihDp-Gy.mjs +2 -0
  33. package/dist/{build-B5UYMEQH.mjs → build-DrG6TqMw.mjs} +1 -1
  34. package/dist/{builds-W1HEG7Bv.mjs → builds-Dl8if-2k.mjs} +32 -32
  35. package/dist/{cache-B7E_PXUp.mjs → cache-CIZokBjd.mjs} +24 -24
  36. package/dist/{certificate-authorities-D_uAJH9B.mjs → certificate-authorities-NUQzCDK8.mjs} +3 -3
  37. package/dist/{cf-Bh_fTFIj.mjs → cf-DfQfIu3q.mjs} +1 -1
  38. package/dist/{chunk-FT2NMTJB-1VFYM1Ro.mjs → chunk-FT2NMTJB-BFqlGcem.mjs} +1 -1
  39. package/dist/{chunk-KKDV4JPS-DdzLLtnl.mjs → chunk-KKDV4JPS-B_t8sDTz.mjs} +1 -1
  40. package/dist/{cli-BeXSqJAj.mjs → cli-aChy8ou_.mjs} +1 -1
  41. package/dist/{client-certificates-DqFcK_s1.mjs → client-certificates-qgLpBn8t.mjs} +6 -6
  42. package/dist/{client-side-security-DJXZ1XAu.mjs → client-side-security-DZO6Xw14.mjs} +14 -14
  43. package/dist/{cloud-connector-Czg1GdQi.mjs → cloud-connector-C7vGDCzX.mjs} +3 -3
  44. package/dist/{cloudflared-DGuau-lC.mjs → cloudflared-CEfZhSQH.mjs} +1 -1
  45. package/dist/{cloudforce-one-B1IhIZcp.mjs → cloudforce-one-CE7y5UkF.mjs} +237 -237
  46. package/dist/{command-xU78ACNA.mjs → command-07vhr56i.mjs} +1 -1
  47. package/dist/{command-DxSJy_ym.mjs → command-B6TpINoN.mjs} +1 -1
  48. package/dist/{command-BCag-xjk.mjs → command-BWC9CbE7.mjs} +1 -1
  49. package/dist/{command-B6DqnUwt.mjs → command-BsmF3J_l.mjs} +1 -1
  50. package/dist/command-C2pNxAeL.mjs +2 -0
  51. package/dist/{command-TCklVvOY.mjs → command-C65Ed0o9.mjs} +1 -1
  52. package/dist/{command-DUafPVUr.mjs → command-Cdx___59.mjs} +1 -1
  53. package/dist/{command-BOLlvEan.mjs → command-CrtDkZNs.mjs} +1 -1
  54. package/dist/{command-C__qB2mo.mjs → command-D0MKPucK.mjs} +1 -1
  55. package/dist/{command-DfffeX-k.mjs → command-DHdWKtqx.mjs} +1 -1
  56. package/dist/{command-DZookrfw.mjs → command-Ds5OVat3.mjs} +1 -1
  57. package/dist/{command-BrHTpaji.mjs → command-Dv6YavZa.mjs} +1 -1
  58. package/dist/{command-DzHL5LKI.mjs → command-dAYWrB5y.mjs} +1 -1
  59. package/dist/{command-K1-DZFJS.mjs → command-eM48o0J6.mjs} +1 -1
  60. package/dist/{command-6YTtWltE.mjs → command-maDJWJgu.mjs} +1 -1
  61. package/dist/{completions-Cm9brGAI.mjs → completions-D0280hul.mjs} +1 -1
  62. package/dist/{connector-interrupts-D93KTMkw.mjs → connector-interrupts-CVjFhU-C.mjs} +3 -3
  63. package/dist/{connector-telemetry-events-D6CmKR14.mjs → connector-telemetry-events-Bu3LKP6T.mjs} +3 -3
  64. package/dist/{connector-telemetry-snapshots-WO9IUk0e.mjs → connector-telemetry-snapshots-BbDTIc06.mjs} +3 -3
  65. package/dist/{connectors-DNT6GTW3.mjs → connectors-DGtx-rPI.mjs} +7 -7
  66. package/dist/{containers-Ce7IO-Ia.mjs → containers-CzNbBrYE.mjs} +2 -2
  67. package/dist/{containers-Btx7vCDP.mjs → containers-DEFrbNgO.mjs} +16 -16
  68. package/dist/{content-scan-C_ROsbTJ.mjs → content-scan-BCtWBCqd.mjs} +6 -6
  69. package/dist/{context-CEOHpZgd.mjs → context-CquYYyS3.mjs} +2 -2
  70. package/dist/{cps-BPQqyL2E.mjs → cps-C8BbnbuD.mjs} +1 -1
  71. package/dist/{csamScanner-D-oO5cxT.mjs → csamScanner-CsJ9H2fA.mjs} +3 -3
  72. package/dist/{ct-alerting-CnTRE1Fb.mjs → ct-alerting-CYsQZO2H.mjs} +3 -3
  73. package/dist/{custom-certificates-DvnFBZdJ.mjs → custom-certificates-CA8HqolM.mjs} +7 -7
  74. package/dist/{custom-csrs-BZ8TXbuQ.mjs → custom-csrs-D0P2vWJE.mjs} +5 -5
  75. package/dist/{custom-hostnames-CTqf-KlT.mjs → custom-hostnames-CzYMChbh.mjs} +12 -12
  76. package/dist/{custom-nameservers-B0CpnUVg.mjs → custom-nameservers-Cet3oF56.mjs} +5 -5
  77. package/dist/{custom-pages-DcoSGN56.mjs → custom-pages-DUkHIaTP.mjs} +10 -10
  78. package/dist/d1-B2duXfH2.mjs +41 -0
  79. package/dist/{dcv-delegation-yOtz90qE.mjs → dcv-delegation-BkdRVEAH.mjs} +2 -2
  80. package/dist/delegate.mjs +1 -1
  81. package/dist/{deploy-C4p6SzLH.mjs → deploy-BdWBEbLj.mjs} +1 -1
  82. package/dist/{deploy-input-DTjBGloL.mjs → deploy-input-LmLfj6kI.mjs} +1 -1
  83. package/dist/{dev-BML-bpNU.mjs → dev-BHkVwAea.mjs} +1 -1
  84. package/dist/{diagnostics-hOvnx5DT.mjs → diagnostics-9Wj5UWBL.mjs} +7 -7
  85. package/dist/{dialog-BlUXJKbA.mjs → dialog-Dpi-UVbz.mjs} +1 -1
  86. package/dist/discover-BYkHr5Ja.mjs +2 -0
  87. package/dist/{dist-DW47TUGh.mjs → dist-Cpb7_h4N.mjs} +1 -1
  88. package/dist/{dist-BuCJ_55d.mjs → dist-D1iG7guo.mjs} +1 -1
  89. package/dist/{dist-C3s9SXTd.mjs → dist-zep5OXGt.mjs} +1 -1
  90. package/dist/{dls-v6DyEWTd.mjs → dls-Caya7FZc.mjs} +8 -8
  91. package/dist/{dns-C9sUPsNt.mjs → dns-BLNa0GrP.mjs} +63 -63
  92. package/dist/{dns-firewall-EDiT-Zli.mjs → dns-firewall-ChCvC5rT.mjs} +8 -8
  93. package/dist/{dot-prop-IITUZ2XW-BilKo4kO.mjs → dot-prop-IITUZ2XW-BsZYdILY.mjs} +1 -1
  94. package/dist/dry-run-p9Q7nMZ5.mjs +2 -0
  95. package/dist/{durable-objects-C01phVwL.mjs → durable-objects-DuRbdp7N.mjs} +3 -3
  96. package/dist/{email-auth-BgvoEHJk.mjs → email-auth-C28s03aI.mjs} +3 -3
  97. package/dist/{email-routing-Bggn219w.mjs → email-routing-Ci-xjXIN.mjs} +24 -24
  98. package/dist/{email-security-_t7rzrzd.mjs → email-security-DPU6xvI9.mjs} +71 -71
  99. package/dist/{email-sending-_dKCs2VF.mjs → email-sending-kTVAlVKO.mjs} +23 -23
  100. package/dist/error-sanitization-BbEw--0B.mjs +2 -0
  101. package/dist/error-sanitization-p5rmb53x.mjs +2 -0
  102. package/dist/errors-cuuW88wR.mjs +3 -0
  103. package/dist/{fieldExtractors-Cm5QnkE0.mjs → fieldExtractors-ceaXu4zD.mjs} +4 -4
  104. package/dist/{firewall-CZEN8iA_.mjs → firewall-BND3qSY2.mjs} +18 -18
  105. package/dist/{flagship-B_SAI_ZL.mjs → flagship-DfxbNzgx.mjs} +15 -15
  106. package/dist/{fraud-9_9hobAh.mjs → fraud-DgyYv_CC.mjs} +3 -3
  107. package/dist/generate-9P8Q_RiO.mjs +2 -0
  108. package/dist/{generate-CLqGOlOx.mjs → generate-VxmGG8BF.mjs} +1 -1
  109. package/dist/{google-tag-gateway-O_N0vHRY.mjs → google-tag-gateway-v3p7murv.mjs} +3 -3
  110. package/dist/{healthchecks-Bt3Gw_JZ.mjs → healthchecks-CByb4qYA.mjs} +10 -10
  111. package/dist/{hostnames-DdOube3R.mjs → hostnames-3CqeMF5g.mjs} +6 -6
  112. package/dist/{hyperdrive-C14NAh9l.mjs → hyperdrive-CmyYTE-K.mjs} +9 -9
  113. package/dist/{iam-DUW7neMx.mjs → iam-CV_M681j.mjs} +24 -24
  114. package/dist/{images-B9dnr1z0.mjs → images-DaLPjskW.mjs} +38 -38
  115. package/dist/index.mjs +1 -1
  116. package/dist/{init-BGcAIvV7.mjs → init-CBKifk5L.mjs} +2 -2
  117. package/dist/{intel-BQpZMck3.mjs → intel-MpftjuPB.mjs} +37 -37
  118. package/dist/interactive-mJQ_IrGd.mjs +2 -0
  119. package/dist/{ips-PT_uQKAf.mjs → ips-WWvPwSBc.mjs} +1 -1
  120. package/dist/{k2-nPYti7Y0.mjs → k2-D0QYUFqT.mjs} +6 -6
  121. package/dist/{keyless-certificates-BHvas2q1.mjs → keyless-certificates-DqILy3t9.mjs} +6 -6
  122. package/dist/{keys-O5kAW9ox.mjs → keys-DhX4AcqF.mjs} +2 -2
  123. package/dist/{kv-BUP_ZLM_.mjs → kv-DLUfUL0_.mjs} +9 -9
  124. package/dist/{lazy-command-glNW3jzf.mjs → lazy-command--5YpWUVY.mjs} +1 -1
  125. package/dist/{leaked-credential-checks-De9hI1rl.mjs → leaked-credential-checks-C0U1oYM5.mjs} +8 -8
  126. package/dist/{load-balancers-Cs6bUHS1.mjs → load-balancers-BJKI9lm7.mjs} +39 -39
  127. package/dist/local-DkYQiSQQ.mjs +2 -0
  128. package/dist/{local-B5oRPTEN.mjs → local-rYpzEQb-.mjs} +1 -1
  129. package/dist/{local-runtime-CZnegFEM.mjs → local-runtime-DZTTIe6x.mjs} +1 -1
  130. package/dist/{login-C5nSIS-T.mjs → login-CnE2Ii_F.mjs} +1 -1
  131. package/dist/login-bnylLTit.mjs +5 -0
  132. package/dist/{logo-matches-BkQKdu4Z.mjs → logo-matches-DFZybI0C.mjs} +3 -3
  133. package/dist/{logos-C_sv-boo.mjs → logos-Da2YtqSN.mjs} +4 -4
  134. package/dist/{logpush-NUcyMKHi.mjs → logpush-Q7WIEHS1.mjs} +23 -23
  135. package/dist/{logs-BZT4PlqZ.mjs → logs-c3b3USyS.mjs} +12 -12
  136. package/dist/{magic-cloud-networking-DQnSdmgA.mjs → magic-cloud-networking-BoyDmFq3.mjs} +37 -37
  137. package/dist/{magic-network-monitoring-pHTU6aS8.mjs → magic-network-monitoring-BkUbpMUp.mjs} +18 -18
  138. package/dist/{magic-transit-5302bQNh.mjs → magic-transit-4-THD45G.mjs} +161 -161
  139. package/dist/{managed-defense-8OEfDzuO.mjs → managed-defense-CTMqSp6z.mjs} +9 -9
  140. package/dist/{managed-transforms-CCpUz4TY.mjs → managed-transforms-DcYAvqTe.mjs} +4 -4
  141. package/dist/{matches-BSiYXs99.mjs → matches-hnU16rSJ.mjs} +3 -3
  142. package/dist/{mcp-CCMiS75R.mjs → mcp-kZX4irfN.mjs} +15 -15
  143. package/dist/{mesh-DKBGTlCD.mjs → mesh-Dxzvvso6.mjs} +12 -12
  144. package/dist/{migrate-BJ9Go_wP.mjs → migrate-BNvUWrjy.mjs} +1 -1
  145. package/dist/{monetization-CFf_lb6x.mjs → monetization-Dsqj9DCA.mjs} +11 -11
  146. package/dist/{mtls-certificates-DsF3NFNs.mjs → mtls-certificates-BSbMwIna.mjs} +6 -6
  147. package/dist/{network-interconnects-YiRUBbjx.mjs → network-interconnects-osO_vAPu.mjs} +17 -17
  148. package/dist/{network-Bm0qYRqY.mjs → network-mEnXTEiG.mjs} +24 -24
  149. package/dist/{oauth-cNZUky3h.mjs → oauth-CeZ3d_dB.mjs} +2 -2
  150. package/dist/{oauth-clients-CP6alY0_.mjs → oauth-clients-CWPHi-Yn.mjs} +7 -7
  151. package/dist/{oauth-scopes-xl-pcWdg.mjs → oauth-scopes-CxpRD6d7.mjs} +1 -1
  152. package/dist/{oauth-DxGgIwFc.mjs → oauth-w0fWmrwU.mjs} +1 -1
  153. package/dist/{observability-Bp71PtlD.mjs → observability-BxL2RqWZ.mjs} +44 -44
  154. package/dist/{organization-Dbom1gTR.mjs → organization-DNieJ1xJ.mjs} +1 -1
  155. package/dist/{organizations-OUMVsuen.mjs → organizations-BIXPmTy5.mjs} +1 -1
  156. package/dist/{origin-ca-certificates-B3-T0-Nn.mjs → origin-ca-certificates-dVJvSIH8.mjs} +1 -1
  157. package/dist/{origin-post-quantum-encryption-CGB6AfPa.mjs → origin-post-quantum-encryption-CO6tDW1t.mjs} +3 -3
  158. package/dist/{origin-tls-client-auth-CgzzfAWr.mjs → origin-tls-client-auth-DeTY8aN2.mjs} +14 -14
  159. package/dist/output-ClYel9WX.mjs +2 -0
  160. package/dist/{page-rules-B9BQKU4_.mjs → page-rules-DA552Ra4.mjs} +7 -7
  161. package/dist/{pages-DZPdyuT4.mjs → pages-B0x7tidm.mjs} +27 -27
  162. package/dist/{pay-per-crawl-CnveMVDi.mjs → pay-per-crawl-DoTg9VP7.mjs} +32 -32
  163. package/dist/{pay-per-use-Bpxe8PHv.mjs → pay-per-use-yRO2QBfe.mjs} +3 -3
  164. package/dist/{pipelines-CHev3o5G.mjs → pipelines-CQxrm9ao.mjs} +20 -20
  165. package/dist/{precursor-C9PK9Bue.mjs → precursor-FiGYDRV9.mjs} +2 -2
  166. package/dist/previews-BthBa50j.mjs +4 -0
  167. package/dist/{progress-A61dRbXl.mjs → progress-TLUEIYE6.mjs} +1 -1
  168. package/dist/{prompt-CGUzvBgY.mjs → prompt-Ck_1PCHm.mjs} +1 -1
  169. package/dist/{queries-f-btyefs.mjs → queries-C0RRdol7.mjs} +4 -4
  170. package/dist/{queues-kLNdeb3q.mjs → queues-sLgvjsRP.mjs} +26 -26
  171. package/dist/{r2-D_awYx2p.mjs → r2-C2PllL6i.mjs} +63 -63
  172. package/dist/{radar-CU4T02Ag.mjs → radar-Bez6k9Dw.mjs} +1 -1
  173. package/dist/raw-fetch-DNxNCoeP.mjs +2 -0
  174. package/dist/{realtime-C0dvcBBM.mjs → realtime-D-HSXznX.mjs} +78 -78
  175. package/dist/{registrar-CHc-4vcf.mjs → registrar-DwHrG9QR.mjs} +9 -9
  176. package/dist/{registrar-sandbox-Dq8LV2AI.mjs → registrar-sandbox-jNukmzQP.mjs} +6 -6
  177. package/dist/{registry-Cg5lP8oo.mjs → registry-CsSLAAOE.mjs} +1 -1
  178. package/dist/{reporting-4u21g6Dk.mjs → reporting-DolhAb10.mjs} +7 -7
  179. package/dist/{request-headers-D31kdxrQ.mjs → request-headers-Lhj314mk.mjs} +1 -1
  180. package/dist/{request-tracers-CupJ_83j.mjs → request-tracers-w72hKc33.mjs} +2 -2
  181. package/dist/resolve-Djf2xgBx.mjs +2 -0
  182. package/dist/{resource-sharing-CO-Lh-u7.mjs → resource-sharing-DTrSkqI4.mjs} +18 -18
  183. package/dist/{resource-tagging-D0R5SzR6.mjs → resource-tagging-aURR4fIJ.mjs} +2 -2
  184. package/dist/{rules-BsmKzB9H.mjs → rules-C8a7cV-W.mjs} +8 -8
  185. package/dist/{rulesets-HOOnxHZZ.mjs → rulesets-RJ6yBefy.mjs} +17 -17
  186. package/dist/{rum-wcLEvVJl.mjs → rum-Bk1dPW4p.mjs} +14 -14
  187. package/dist/run-BJOAPmsz.mjs +2 -0
  188. package/dist/{run-CIJTelJL.mjs → run-iFM5TxtQ.mjs} +1 -1
  189. package/dist/{schema-flags-D8vL2oiF.mjs → schema-flags-PagOq-G2.mjs} +1 -1
  190. package/dist/{schema-GdBsV4P7.mjs → schema-v7mOxMdx.mjs} +1 -1
  191. package/dist/{scim-BkdJmAS8.mjs → scim-C0FmjkkV.mjs} +10 -10
  192. package/dist/{secrets-store-CHs0oYA0.mjs → secrets-store-cG_5RMzK.mjs} +11 -11
  193. package/dist/{security-insights-vsl-4xFa.mjs → security-insights-DVAqroY5.mjs} +20 -20
  194. package/dist/{security-txt-Fnl3LdSn.mjs → security-txt-rfrrdiZV.mjs} +4 -4
  195. package/dist/{session-CZTuHcbm.mjs → session-B6mFkaVZ.mjs} +1 -1
  196. package/dist/shared-BqsWoApw.mjs +2 -0
  197. package/dist/{smart-shield-DB0E7cZI.mjs → smart-shield-_HA814Im.mjs} +11 -11
  198. package/dist/{snippets-CFaF_NyG.mjs → snippets-mRelEw0p.mjs} +10 -10
  199. package/dist/{spawn-B0Sl8lUu.mjs → spawn-BzPhcLJI.mjs} +1 -1
  200. package/dist/{spectrum-DtG0jYjE.mjs → spectrum-BwtOiaDw.mjs} +11 -11
  201. package/dist/{speed-B-RiNHGK.mjs → speed-DmqsZtiJ.mjs} +11 -11
  202. package/dist/{src-CM3XaB4p.mjs → src--KDGqL5N.mjs} +5 -5
  203. package/dist/{ssl-DBVpCZAM.mjs → ssl-DCvfveJB.mjs} +16 -16
  204. package/dist/{startup-profile-CR7GMuLx.mjs → startup-profile-BCe9k9sR.mjs} +1 -1
  205. package/dist/startup-profile-WrwRyMwH.mjs +2 -0
  206. package/dist/{state-BaGRaYow.mjs → state-BPwdiNO_.mjs} +1 -1
  207. package/dist/state-a1tTOGjm.mjs +2 -0
  208. package/dist/{stream-cAdBvpS1.mjs → stream-aroClJeD.mjs} +56 -56
  209. package/dist/{submit-Bkd7l2rK.mjs → submit-BBKhoKT8.mjs} +2 -2
  210. package/dist/{tags--eph7JbN.mjs → tags-Djw0e-4j.mjs} +2 -2
  211. package/dist/telemetry-DoBQOGRk.mjs +2 -0
  212. package/dist/{telemetry-51etasAu.mjs → telemetry-DrFNujdx.mjs} +1 -1
  213. package/dist/{tenant-custom-nameservers-B5IIIwbz.mjs → tenant-custom-nameservers-XCbXryBZ.mjs} +1 -1
  214. package/dist/{tenant-Bj-He2xO.mjs → tenant-tc1wb_ym.mjs} +1 -1
  215. package/dist/{tools-BJZ0DDlL.mjs → tools-CB4NleeJ.mjs} +1 -1
  216. package/dist/{tunnels-CgtuRpcD.mjs → tunnels-C2FTswb6.mjs} +13 -13
  217. package/dist/{turnstile-Bmcnrzw7.mjs → turnstile-BV4Mdd-j.mjs} +6 -6
  218. package/dist/{ui-BQxRjahW.mjs → ui-D1hhIDIs.mjs} +1 -1
  219. package/dist/update-check-CFt6cMOi.mjs +2 -0
  220. package/dist/{update-check-DC0qP_8z.mjs → update-check-Dtj9fzNe.mjs} +1 -1
  221. package/dist/update-check-worker.mjs +1 -1
  222. package/dist/{url-info-DhVehaT8.mjs → url-info-CeegsDK7.mjs} +2 -2
  223. package/dist/{url-normalization-BpGDUUQc.mjs → url-normalization-Dbypc9wz.mjs} +4 -4
  224. package/dist/{url-scanner-DiLdqsQk.mjs → url-scanner-BFXMrpJF.mjs} +8 -8
  225. package/dist/{user-B6P5_OjP.mjs → user-3uwLMH78.mjs} +1 -1
  226. package/dist/{values-Cxx4Lxrd.mjs → values-BTncDc3U.mjs} +2 -2
  227. package/dist/{vectorize-YyxVpql-.mjs → vectorize-CtMAtx8r.mjs} +17 -17
  228. package/dist/version-oN1bmOgM.mjs +2 -0
  229. package/dist/{waiting-rooms-BdahlCdD.mjs → waiting-rooms-1xDvjF13.mjs} +25 -25
  230. package/dist/{web-assets-yaKxN4w_.mjs → web-assets-BfEprX1S.mjs} +29 -29
  231. package/dist/{web3-Bu9c_QAt.mjs → web3-DNbp5sZw.mjs} +13 -13
  232. package/dist/{workers-5GgoGA2e.mjs → workers-DK_JgS4Y.mjs} +18 -18
  233. package/dist/{workers-builds-h-1FJjE1.mjs → workers-builds-CdhwmmsQ.mjs} +7 -7
  234. package/dist/{workers-for-platforms-CV9iRrp9.mjs → workers-for-platforms-CP6IqxrK.mjs} +23 -23
  235. package/dist/{workers-vpc-C1oUHHqk.mjs → workers-vpc-LVfayM2-.mjs} +6 -6
  236. package/dist/{workflows-dtMlkj1-.mjs → workflows-CA5K8FFb.mjs} +23 -23
  237. package/dist/{wrangler-migration-CJEb9hY3.mjs → wrangler-migration-B0mKHqGd.mjs} +1 -1
  238. package/dist/{zaraz-838AbMEX.mjs → zaraz-BY60ZUQ4.mjs} +11 -11
  239. package/dist/{zero-trust-CYt-eELJ.mjs → zero-trust-CQNohO7_.mjs} +416 -416
  240. package/dist/{zone-uJwRLSnn.mjs → zone-BVDW2UGd.mjs} +2 -2
  241. package/dist/{zones-Dpofsnth.mjs → zones-CcZL0YQp.mjs} +44 -44
  242. package/package.json +9 -4
  243. package/dist/auth-BBlAI8HG.mjs +0 -2
  244. package/dist/auth-BIr56Mbx.mjs +0 -8
  245. package/dist/build-DLZ9gBNA.mjs +0 -2
  246. package/dist/command-CAtsHc1V.mjs +0 -2
  247. package/dist/d1-m7UfzBzl.mjs +0 -41
  248. package/dist/discover-DwczTkRX.mjs +0 -2
  249. package/dist/dry-run-Bq0JAsbX.mjs +0 -2
  250. package/dist/error-sanitization-CJ5OLJrh.mjs +0 -2
  251. package/dist/error-sanitization-hmi1CqE5.mjs +0 -2
  252. package/dist/generate-BPqoDbck.mjs +0 -2
  253. package/dist/interactive-SgAjen2z.mjs +0 -2
  254. package/dist/local-Bj-l0TP6.mjs +0 -2
  255. package/dist/login-CUup7w0e.mjs +0 -5
  256. package/dist/output-CvQFJkvi.mjs +0 -2
  257. package/dist/previews-BIMI1dTz.mjs +0 -4
  258. package/dist/raw-fetch-CvkmFO23.mjs +0 -2
  259. package/dist/resolve-PZuJ878-.mjs +0 -2
  260. package/dist/run-quhbAvQi.mjs +0 -2
  261. package/dist/sdk-BCzcRJCi.mjs +0 -3
  262. package/dist/shared-BS30oCf8.mjs +0 -2
  263. package/dist/startup-profile-CLmojOrn.mjs +0 -2
  264. package/dist/state-CpXhcMdX.mjs +0 -2
  265. package/dist/telemetry-Q3_UmwHj.mjs +0 -2
  266. package/dist/update-check-BqSpgzHk.mjs +0 -2
  267. package/dist/version-C0pInAZ9.mjs +0 -2
  268. /package/dist/{Page-CjJht2qT.mjs → Page-DAgOEX17.mjs} +0 -0
  269. /package/dist/{alerts-DY_7Nknx.mjs → alerts-D3iKtzoN.mjs} +0 -0
  270. /package/dist/{autorag-K396-M2S.mjs → autorag-pvRfDwne.mjs} +0 -0
  271. /package/dist/{body-parser-hh2avzkz.mjs → body-parser-NjzJZMOV.mjs} +0 -0
  272. /package/dist/{brands-DeLbFxSt.mjs → brands-DP5Ndir1.mjs} +0 -0
  273. /package/dist/{browser-extension-C1zmKFDG.mjs → browser-extension-Dee2Y1qn.mjs} +0 -0
  274. /package/dist/{chunk-WMOON6TZ-D_ToS88f.mjs → chunk-WMOON6TZ-B8xCqjB1.mjs} +0 -0
  275. /package/dist/{clear-CRfI7WS7.mjs → clear-qLKPlJqb.mjs} +0 -0
  276. /package/dist/{cli-types-DoVT5q_M.mjs → cli-types-_Kmwfpnp.mjs} +0 -0
  277. /package/dist/{connector-telemetry-events-latest-D8p_dR8s.mjs → connector-telemetry-events-latest-_aCmWeZx.mjs} +0 -0
  278. /package/dist/{connector-telemetry-snapshots-latest-COFmzmlk.mjs → connector-telemetry-snapshots-latest-CffEplpV.mjs} +0 -0
  279. /package/dist/{delegate-B6LetRpZ.mjs → delegate-CCGgla7X.mjs} +0 -0
  280. /package/dist/{discover-C5aiI6u0.mjs → discover-t6E9lpf3.mjs} +0 -0
  281. /package/dist/{domain-info-aiwP60Fo.mjs → domain-info-BQh9XapD.mjs} +0 -0
  282. /package/dist/{gt-DmcMNPX6.mjs → gt-KlYHH-UC.mjs} +0 -0
  283. /package/dist/{health-Bz33n-_F.mjs → health--10IShMi.mjs} +0 -0
  284. /package/dist/{input-validation-Dk52b0me.mjs → input-validation-0CeePPHp.mjs} +0 -0
  285. /package/dist/{interactive-C-o16XQs.mjs → interactive-D80kbTap.mjs} +0 -0
  286. /package/dist/{internal-BHrJbbdA.mjs → internal-BUs583vv.mjs} +0 -0
  287. /package/dist/{lifecycle-C7tAC1Mn.mjs → lifecycle-Cyc3fmyN.mjs} +0 -0
  288. /package/dist/{live-MeJQXIei.mjs → live-VCSxA0N9.mjs} +0 -0
  289. /package/dist/{open-PCXX3ZDZ-BKRik1gi.mjs → open-PCXX3ZDZ-C7gpxSsl.mjs} +0 -0
  290. /package/dist/{project-settings-DO6njFg_.mjs → project-settings-Bf6rReo1.mjs} +0 -0
  291. /package/dist/{r2-data-catalog-2jQrdAdo.mjs → r2-data-catalog-Bg7zq1IB.mjs} +0 -0
  292. /package/dist/{rate-limit-analytics-CU55zqCU.mjs → rate-limit-analytics-D3q0mGv2.mjs} +0 -0
  293. /package/dist/{rate-limits-CZ-qHDPK.mjs → rate-limits-BIxlBuMn.mjs} +0 -0
  294. /package/dist/{ready-BOpbZ1pN.mjs → ready-CAgelFmC.mjs} +0 -0
  295. /package/dist/{recent-submissions-KDqD2HyS.mjs → recent-submissions-B3TOjNmk.mjs} +0 -0
  296. /package/dist/{refute-DkF4XIMw.mjs → refute-BZNkFpBB.mjs} +0 -0
  297. /package/dist/{resolve-BCTrtcx7.mjs → resolve-CGKqk7q8.mjs} +0 -0
  298. /package/dist/{scan-logo-DQkf6glG.mjs → scan-logo-StecHiaf.mjs} +0 -0
  299. /package/dist/{scan-page-CMOJ_E0n.mjs → scan-page-B4adr-vD.mjs} +0 -0
  300. /package/dist/{search-Bre1Zwn3.mjs → search-Devngw4M.mjs} +0 -0
  301. /package/dist/{signed-url-24ZbX4yV.mjs → signed-url-ChR5eXXd.mjs} +0 -0
  302. /package/dist/{submission-info-BmkbZVqM.mjs → submission-info-BGb81HZN.mjs} +0 -0
  303. /package/dist/{total-queries-j8OAF_cE.mjs → total-queries-_wa6KxEl.mjs} +0 -0
  304. /package/dist/{tracked-domains-fe3EWYmF.mjs → tracked-domains-BesKGqfI.mjs} +0 -0
  305. /package/dist/{verify-CKgZYvln.mjs → verify-CYM5GlPu.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import{i as e}from"./context-CEOHpZgd.mjs";import{r as t}from"./auth-BIr56Mbx.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-A61dRbXl.mjs";import{t as a}from"./run-CIJTelJL.mjs";import"./telemetry-Q3_UmwHj.mjs";import{n as o,t as s}from"./body-parser-hh2avzkz.mjs";import{n as c}from"./input-validation-Dk52b0me.mjs";import{i as l}from"./prompt-CGUzvBgY.mjs";function u(e){return e.usage(`$0 origin-post-quantum-encryption get
2
+ import{n as e}from"./auth-Br-t8vL_.mjs";import{i as t}from"./context-CquYYyS3.mjs";import{t as n}from"./output-ClYel9WX.mjs";import{t as r}from"./dry-run-p9Q7nMZ5.mjs";import{t as i}from"./progress-TLUEIYE6.mjs";import{t as a}from"./run-iFM5TxtQ.mjs";import"./telemetry-DoBQOGRk.mjs";import{n as o,t as s}from"./body-parser-NjzJZMOV.mjs";import{n as c}from"./input-validation-0CeePPHp.mjs";import{i as l}from"./prompt-Ck_1PCHm.mjs";function u(e){return e.usage(`$0 origin-post-quantum-encryption get
3
3
 
4
- Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when connecting to your origin. Preferred instructs Cloudflare to opportunistically send a Post-Quantum keyshare in the first message to the origin (for fastest connections when the origin supports and prefers PQ), supported means that PQ algorithms are advertised but only used when requested by the origin, and off means that PQ algorithms are not advertised.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const d={command:`get`,describe:`Get Origin Post-Quantum Encryption setting`,builder:u,handler:async o=>a({command:`origin-post-quantum-encryption get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-post-quantum-encryption get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/cache/origin_post_quantum_encryption`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originPostQuantumEncryption.get({zone_id:s})),{successLabel:`Loaded`})})};function f(e){return e.usage(`$0 origin-post-quantum-encryption update
4
+ Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when connecting to your origin. Preferred instructs Cloudflare to opportunistically send a Post-Quantum keyshare in the first message to the origin (for fastest connections when the origin supports and prefers PQ), supported means that PQ algorithms are advertised but only used when requested by the origin, and off means that PQ algorithms are not advertised.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const d={command:`get`,describe:`Get Origin Post-Quantum Encryption setting`,builder:u,handler:async o=>a({command:`origin-post-quantum-encryption get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-post-quantum-encryption get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/cache/origin_post_quantum_encryption`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originPostQuantumEncryption.get({zone_id:s})),{successLabel:`Loaded`})})};function f(e){return e.usage(`$0 origin-post-quantum-encryption update
5
5
 
6
- Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when connecting to your origin. Preferred instructs Cloudflare to opportunistically send a Post-Quantum keyshare in the first message to the origin (for fastest connections when the origin supports and prefers PQ), supported means that PQ algorithms are advertised but only used when requested by the origin, and off means that PQ algorithms are not advertised.`).option(`value`,{type:`string`,description:`Value of the Origin Post Quantum Encryption Setting.`,choices:[`preferred`,`supported`,`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 p={command:`update`,describe:`Change Origin Post-Quantum Encryption setting`,builder:f,handler:async u=>a({command:`origin-post-quantum-encryption update`,classification:{safeFlags:[`value`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf origin-post-quantum-encryption update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/cache/origin_post_quantum_encryption`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?s({value:c(u.value,`value`,`text`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Updating`,async()=>a.originPostQuantumEncryption.update({...e,zone_id:d})),{successLabel:`Updated`});return}u.value===void 0&&(u.value=await l(`value`,`Value of the Origin Post Quantum Encryption Setting.`,[`preferred`,`supported`,`off`]));let f=s({value:c(u.value,`value`,`text`)});n(await i(`Updating`,async()=>a.originPostQuantumEncryption.update({...f,zone_id:d})),{successLabel:`Updated`})})},m={command:`origin-post-quantum-encryption`,describe:`Enable post-quantum key exchange for connections between Cloudflare and your origin server`,builder:e=>e.command(d).command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{m as default};
6
+ Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when connecting to your origin. Preferred instructs Cloudflare to opportunistically send a Post-Quantum keyshare in the first message to the origin (for fastest connections when the origin supports and prefers PQ), supported means that PQ algorithms are advertised but only used when requested by the origin, and off means that PQ algorithms are not advertised.`).option(`value`,{type:`string`,description:`Value of the Origin Post Quantum Encryption Setting.`,choices:[`preferred`,`supported`,`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 p={command:`update`,describe:`Change Origin Post-Quantum Encryption setting`,builder:f,handler:async u=>a({command:`origin-post-quantum-encryption update`,classification:{safeFlags:[`value`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf origin-post-quantum-encryption update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/cache/origin_post_quantum_encryption`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?s({value:c(u.value,`value`,`text`)}):o(u.body)});return}let a=await e(u),d=await t({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Updating`,async()=>a.originPostQuantumEncryption.update({...e,zone_id:d})),{successLabel:`Updated`});return}u.value===void 0&&(u.value=await l(`value`,`Value of the Origin Post Quantum Encryption Setting.`,[`preferred`,`supported`,`off`]));let f=s({value:c(u.value,`value`,`text`)});n(await i(`Updating`,async()=>a.originPostQuantumEncryption.update({...f,zone_id:d})),{successLabel:`Updated`})})},m={command:`origin-post-quantum-encryption`,describe:`Enable post-quantum key exchange for connections between Cloudflare and your origin server`,builder:e=>e.command(d).command(p).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{m as default};
@@ -1,30 +1,30 @@
1
1
  #!/usr/bin/env node
2
- import{i as e}from"./context-CEOHpZgd.mjs";import{r as t}from"./auth-BIr56Mbx.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-A61dRbXl.mjs";import{t as a}from"./run-CIJTelJL.mjs";import"./telemetry-Q3_UmwHj.mjs";import{n as o,r as s,t as c}from"./body-parser-hh2avzkz.mjs";import{n as l}from"./input-validation-Dk52b0me.mjs";import{a as u,n as d}from"./prompt-CGUzvBgY.mjs";import{t as f}from"./cli-types-DoVT5q_M.mjs";function p(e){return e.usage(`$0 origin-tls-client-auth hostname-associations list
2
+ import{n as e}from"./auth-Br-t8vL_.mjs";import{i as t}from"./context-CquYYyS3.mjs";import{t as n}from"./output-ClYel9WX.mjs";import{t as r}from"./dry-run-p9Q7nMZ5.mjs";import{t as i}from"./progress-TLUEIYE6.mjs";import{t as a}from"./run-iFM5TxtQ.mjs";import"./telemetry-DoBQOGRk.mjs";import{n as o,r as s,t as c}from"./body-parser-NjzJZMOV.mjs";import{n as l}from"./input-validation-0CeePPHp.mjs";import{a as u,n as d}from"./prompt-Ck_1PCHm.mjs";import{t as f}from"./cli-types-_Kmwfpnp.mjs";function p(e){return e.usage(`$0 origin-tls-client-auth hostname-associations list
3
3
 
4
- List certificate ID - hostname associations for the given zone. Shows which hostnames are associated to which certificates for authenticated origin pulls.`).option(`page`,{type:`number`,description:`Page number of paginated results.`}).option(`per-page`,{type:`number`,description:`Number of associations per page.`}).option(`status`,{type:`string`,description:`Filter associations by status. Use comma-separated values to filter by multiple statuses, or "all" to include every status. Defaults to "active" if not provided.`,choices:[`active`,`pending_deployment`,`pending_deletion`,`deleted`,`deployment_timed_out`,`deletion_timed_out`,`all`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const m={command:`list`,describe:`List Hostname Associations`,builder:f(p),handler:async o=>a({command:`origin-tls-client-auth hostname-associations list`,classification:{safeFlags:[`status`,`dry-run`]}},o,async()=>{let a={page:o.page,per_page:o[`per-page`],status:o.status};if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-associations list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},query:a,bodyKind:`none`});return}let s=await t(o),c=await e({zone:o.zone},s,{quiet:o.quiet});o.zoneId=c,n(await i(`Loading`,async()=>s.originTlsClientAuth.hostnameAssociations.list({zone_id:c,...a})),{successLabel:`Loaded`})})},h={command:`hostname-associations`,describe:`Operations for hostname-associations`,builder:e=>e.command(m).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function g(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates create
4
+ List certificate ID - hostname associations for the given zone. Shows which hostnames are associated to which certificates for authenticated origin pulls.`).option(`page`,{type:`number`,description:`Page number of paginated results.`}).option(`per-page`,{type:`number`,description:`Number of associations per page.`}).option(`status`,{type:`string`,description:`Filter associations by status. Use comma-separated values to filter by multiple statuses, or "all" to include every status. Defaults to "active" if not provided.`,choices:[`active`,`pending_deployment`,`pending_deletion`,`deleted`,`deployment_timed_out`,`deletion_timed_out`,`all`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const m={command:`list`,describe:`List Hostname Associations`,builder:f(p),handler:async o=>a({command:`origin-tls-client-auth hostname-associations list`,classification:{safeFlags:[`status`,`dry-run`]}},o,async()=>{let a={page:o.page,per_page:o[`per-page`],status:o.status};if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-associations list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},query:a,bodyKind:`none`});return}let s=await e(o),c=await t({zone:o.zone},s,{quiet:o.quiet});o.zoneId=c,n(await i(`Loading`,async()=>s.originTlsClientAuth.hostnameAssociations.list({zone_id:c,...a})),{successLabel:`Loaded`})})},h={command:`hostname-associations`,describe:`Operations for hostname-associations`,builder:e=>e.command(m).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function g(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates create
5
5
 
6
- Upload a certificate to be used for client authentication on a hostname. 10 hostname certificates per zone are allowed.`).option(`certificate`,{type:`string`,description:`The hostname certificate.`}).option(`private-key`,{type:`string`,description:`The hostname certificate's private key.`}).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 _={command:`create`,describe:`Upload a Hostname Client Certificate`,builder:g,handler:async s=>a({command:`origin-tls-client-auth hostname-certificates create`,classification:{safeFlags:[`dry-run`]}},s,async()=>{if(s.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${s.zone??s.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates`,pathParams:{"zone-id":String(s.zone??s[`zone-id`]??``)},bodyKind:`json`,body:s.body===void 0?c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)}):o(s.body)});return}let a=await t(s),d=await e({zone:s.zone},a,{quiet:s.quiet});if(s.zoneId=d,s.body){let e=o(s.body);n(await i(`Creating`,async()=>a.originTlsClientAuth.hostnameCertificates.create({...e,zone_id:d})),{successLabel:`Created`});return}s.certificate===void 0&&(s.certificate=await u(`certificate`,`The hostname certificate.`)),s[`private-key`]===void 0&&(s[`private-key`]=await u(`private-key`,`The hostname certificate's private key.`,{kind:`secret`}));let f=c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)});n(await i(`Creating`,async()=>a.originTlsClientAuth.hostnameCertificates.create({...f,zone_id:d})),{successLabel:`Created`})})};function v(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates delete <certificate-id>
6
+ Upload a certificate to be used for client authentication on a hostname. 10 hostname certificates per zone are allowed.`).option(`certificate`,{type:`string`,description:`The hostname certificate.`}).option(`private-key`,{type:`string`,description:`The hostname certificate's private key.`}).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 _={command:`create`,describe:`Upload a Hostname Client Certificate`,builder:g,handler:async s=>a({command:`origin-tls-client-auth hostname-certificates create`,classification:{safeFlags:[`dry-run`]}},s,async()=>{if(s.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${s.zone??s.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates`,pathParams:{"zone-id":String(s.zone??s[`zone-id`]??``)},bodyKind:`json`,body:s.body===void 0?c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)}):o(s.body)});return}let a=await e(s),d=await t({zone:s.zone},a,{quiet:s.quiet});if(s.zoneId=d,s.body){let e=o(s.body);n(await i(`Creating`,async()=>a.originTlsClientAuth.hostnameCertificates.create({...e,zone_id:d})),{successLabel:`Created`});return}s.certificate===void 0&&(s.certificate=await u(`certificate`,`The hostname certificate.`)),s[`private-key`]===void 0&&(s[`private-key`]=await u(`private-key`,`The hostname certificate's private key.`,{kind:`secret`}));let f=c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)});n(await i(`Creating`,async()=>a.originTlsClientAuth.hostnameCertificates.create({...f,zone_id:d})),{successLabel:`Created`})})};function v(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates delete <certificate-id>
7
7
 
8
- Removes a client certificate used for authenticated origin pulls on a specific hostname. Note: Before deleting the certificate, you must first invalidate the hostname for client authentication by sending a PUT request with \`enabled\` set to null. After invalidating the association, the certificate can be safely deleted.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,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 y={command:`delete <certificate-id>`,describe:`Delete Hostname Client Certificate`,builder:v,handler:async o=>a({command:`origin-tls-client-auth hostname-certificates delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await d({force:!!o.force})){process.stderr.write(`Aborted.
8
+ Removes a client certificate used for authenticated origin pulls on a specific hostname. Note: Before deleting the certificate, you must first invalidate the hostname for client authentication by sending a PUT request with \`enabled\` set to null. After invalidating the association, the certificate can be safely deleted.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,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 y={command:`delete <certificate-id>`,describe:`Delete Hostname Client Certificate`,builder:v,handler:async o=>a({command:`origin-tls-client-auth hostname-certificates delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await d({force:!!o.force})){process.stderr.write(`Aborted.
9
9
  `);return}n(await i(`Deleting`,async()=>a.originTlsClientAuth.hostnameCertificates.delete({zone_id:s,certificate_id:o[`certificate-id`]})),{successLabel:`Deleted`})})};function b(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates get <certificate-id>
10
10
 
11
- Get the certificate by ID to be used for client authentication on a hostname.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const x={command:`get <certificate-id>`,describe:`Get the Hostname Client Certificate`,builder:b,handler:async o=>a({command:`origin-tls-client-auth hostname-certificates get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.hostnameCertificates.get({zone_id:s,certificate_id:o[`certificate-id`]})),{successLabel:`Loaded`})})};function S(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates list
11
+ Get the certificate by ID to be used for client authentication on a hostname.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const x={command:`get <certificate-id>`,describe:`Get the Hostname Client Certificate`,builder:b,handler:async o=>a({command:`origin-tls-client-auth hostname-certificates get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.hostnameCertificates.get({zone_id:s,certificate_id:o[`certificate-id`]})),{successLabel:`Loaded`})})};function S(e){return e.usage(`$0 origin-tls-client-auth hostname-certificates list
12
12
 
13
- Lists all client certificates configured for per-hostname authenticated origin pulls on the zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const C={command:`list`,describe:`List Certificates`,builder:S,handler:async o=>a({command:`origin-tls-client-auth hostname-certificates list`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.hostnameCertificates.list({zone_id:s})),{successLabel:`Loaded`})})},w={command:`hostname-certificates`,describe:`Operations for hostname-certificates`,builder:e=>e.command(_).command(y).command(x).command(C).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function T(e){return e.usage(`$0 origin-tls-client-auth hostnames get <hostname>
13
+ Lists all client certificates configured for per-hostname authenticated origin pulls on the zone.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const C={command:`list`,describe:`List Certificates`,builder:S,handler:async o=>a({command:`origin-tls-client-auth hostname-certificates list`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostname-certificates list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/certificates`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.hostnameCertificates.list({zone_id:s})),{successLabel:`Loaded`})})},w={command:`hostname-certificates`,describe:`Operations for hostname-certificates`,builder:e=>e.command(_).command(y).command(x).command(C).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function T(e){return e.usage(`$0 origin-tls-client-auth hostnames get <hostname>
14
14
 
15
- Retrieves the client certificate authentication status for a specific hostname, showing whether authenticated origin pulls are enabled.`).positional(`hostname`,{type:`string`,description:`The hostname on the origin for which the client certificate uploaded will be used.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const E={command:`get <hostname>`,describe:`Get the Hostname Status for Client Authentication`,builder:T,handler:async o=>a({command:`origin-tls-client-auth hostnames get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostnames get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/${o.hostname==null?`<hostname>`:encodeURIComponent(String(o.hostname))}`,pathParams:{hostname:String(o.hostname??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.hostnames.get({zone_id:s,hostname:o.hostname})),{successLabel:`Loaded`})})};function D(e){return e.usage(`$0 origin-tls-client-auth hostnames update
15
+ Retrieves the client certificate authentication status for a specific hostname, showing whether authenticated origin pulls are enabled.`).positional(`hostname`,{type:`string`,description:`The hostname on the origin for which the client certificate uploaded will be used.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const E={command:`get <hostname>`,describe:`Get the Hostname Status for Client Authentication`,builder:T,handler:async o=>a({command:`origin-tls-client-auth hostnames get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth hostnames get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/hostnames/${o.hostname==null?`<hostname>`:encodeURIComponent(String(o.hostname))}`,pathParams:{hostname:String(o.hostname??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.hostnames.get({zone_id:s,hostname:o.hostname})),{successLabel:`Loaded`})})};function D(e){return e.usage(`$0 origin-tls-client-auth hostnames update
16
16
 
17
- Associate a hostname to a certificate and enable, disable or invalidate the association. If disabled, client certificate will not be sent to the hostname even if activated at the zone level. 100 maximum associations on a single certificate are allowed. Note: Use a null value for parameter *enabled* to invalidate the association.`).option(`config`,{type:`string`,description:`The config field. Provide as a JSON array of objects or @path/to/file.json.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const O={command:`update`,describe:`Enable or Disable a Hostname for Client Authentication`,builder:D,handler:async l=>a({command:`origin-tls-client-auth hostnames update`,classification:{safeFlags:[`dry-run`]}},l,async()=>{if(l.dryRun){r({command:`cf origin-tls-client-auth hostnames update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${l.zone??l.zoneId??`<zone>`}/origin_tls_client_auth/hostnames`,pathParams:{"zone-id":String(l.zone??l[`zone-id`]??``)},bodyKind:`json`,body:l.body===void 0?c({config:s(l.config,`config`)}):o(l.body)});return}let a=await t(l),u=await e({zone:l.zone},a,{quiet:l.quiet});if(l.zoneId=u,l.body){let e=o(l.body);n(await i(`Updating`,async()=>a.originTlsClientAuth.hostnames.update({...e,zone_id:u})),{successLabel:`Updated`});return}if(l.config===void 0)throw Error(`--config is required (or pass --body with this field set).`);let d=c({config:s(l.config,`config`)});n(await i(`Updating`,async()=>a.originTlsClientAuth.hostnames.update({...d,zone_id:u})),{successLabel:`Updated`})})},k={command:`hostnames`,describe:`Operations for hostnames`,builder:e=>e.command(E).command(O).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function A(e){return e.usage(`$0 origin-tls-client-auth settings get
17
+ Associate a hostname to a certificate and enable, disable or invalidate the association. If disabled, client certificate will not be sent to the hostname even if activated at the zone level. 100 maximum associations on a single certificate are allowed. Note: Use a null value for parameter *enabled* to invalidate the association.`).option(`config`,{type:`string`,description:`The config field. Provide as a JSON array of objects or @path/to/file.json.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const O={command:`update`,describe:`Enable or Disable a Hostname for Client Authentication`,builder:D,handler:async l=>a({command:`origin-tls-client-auth hostnames update`,classification:{safeFlags:[`dry-run`]}},l,async()=>{if(l.dryRun){r({command:`cf origin-tls-client-auth hostnames update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${l.zone??l.zoneId??`<zone>`}/origin_tls_client_auth/hostnames`,pathParams:{"zone-id":String(l.zone??l[`zone-id`]??``)},bodyKind:`json`,body:l.body===void 0?c({config:s(l.config,`config`)}):o(l.body)});return}let a=await e(l),u=await t({zone:l.zone},a,{quiet:l.quiet});if(l.zoneId=u,l.body){let e=o(l.body);n(await i(`Updating`,async()=>a.originTlsClientAuth.hostnames.update({...e,zone_id:u})),{successLabel:`Updated`});return}if(l.config===void 0)throw Error(`--config is required (or pass --body with this field set).`);let d=c({config:s(l.config,`config`)});n(await i(`Updating`,async()=>a.originTlsClientAuth.hostnames.update({...d,zone_id:u})),{successLabel:`Updated`})})},k={command:`hostnames`,describe:`Operations for hostnames`,builder:e=>e.command(E).command(O).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function A(e){return e.usage(`$0 origin-tls-client-auth settings get
18
18
 
19
- Get whether zone-level authenticated origin pulls is enabled or not. It is false by default.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const j={command:`get`,describe:`Get Enablement Setting for Zone`,builder:A,handler:async o=>a({command:`origin-tls-client-auth settings get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth settings get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/settings`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.settings.get({zone_id:s})),{successLabel:`Loaded`})})};function M(e){return e.usage(`$0 origin-tls-client-auth settings update
19
+ Get whether zone-level authenticated origin pulls is enabled or not. It is false by default.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const j={command:`get`,describe:`Get Enablement Setting for Zone`,builder:A,handler:async o=>a({command:`origin-tls-client-auth settings get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth settings get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/settings`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.settings.get({zone_id:s})),{successLabel:`Loaded`})})};function M(e){return e.usage(`$0 origin-tls-client-auth settings update
20
20
 
21
- Enable or disable zone-level authenticated origin pulls. 'enabled' should be set true either before/after the certificate is uploaded to see the certificate in use.`).option(`enabled`,{type:`boolean`,description:`Indicates whether zone-level authenticated origin pulls is enabled.`}).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:`update`,describe:`Set Enablement for Zone`,builder:M,handler:async s=>a({command:`origin-tls-client-auth settings update`,classification:{safeFlags:[`enabled`,`dry-run`]}},s,async()=>{if(s.dryRun){r({command:`cf origin-tls-client-auth settings update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${s.zone??s.zoneId??`<zone>`}/origin_tls_client_auth/settings`,pathParams:{"zone-id":String(s.zone??s[`zone-id`]??``)},bodyKind:`json`,body:s.body===void 0?c({enabled:s.enabled}):o(s.body)});return}let a=await t(s),l=await e({zone:s.zone},a,{quiet:s.quiet});if(s.zoneId=l,s.body){let e=o(s.body);n(await i(`Updating`,async()=>a.originTlsClientAuth.settings.update({...e,zone_id:l})),{successLabel:`Updated`});return}if(s.enabled===void 0)throw Error(`--enabled is required (or pass --body with this field set).`);let u=c({enabled:s.enabled});n(await i(`Updating`,async()=>a.originTlsClientAuth.settings.update({...u,zone_id:l})),{successLabel:`Updated`})})},P={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(j).command(N).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function F(e){return e.usage(`$0 origin-tls-client-auth zone-certificates create
21
+ Enable or disable zone-level authenticated origin pulls. 'enabled' should be set true either before/after the certificate is uploaded to see the certificate in use.`).option(`enabled`,{type:`boolean`,description:`Indicates whether zone-level authenticated origin pulls is enabled.`}).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:`update`,describe:`Set Enablement for Zone`,builder:M,handler:async s=>a({command:`origin-tls-client-auth settings update`,classification:{safeFlags:[`enabled`,`dry-run`]}},s,async()=>{if(s.dryRun){r({command:`cf origin-tls-client-auth settings update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${s.zone??s.zoneId??`<zone>`}/origin_tls_client_auth/settings`,pathParams:{"zone-id":String(s.zone??s[`zone-id`]??``)},bodyKind:`json`,body:s.body===void 0?c({enabled:s.enabled}):o(s.body)});return}let a=await e(s),l=await t({zone:s.zone},a,{quiet:s.quiet});if(s.zoneId=l,s.body){let e=o(s.body);n(await i(`Updating`,async()=>a.originTlsClientAuth.settings.update({...e,zone_id:l})),{successLabel:`Updated`});return}if(s.enabled===void 0)throw Error(`--enabled is required (or pass --body with this field set).`);let u=c({enabled:s.enabled});n(await i(`Updating`,async()=>a.originTlsClientAuth.settings.update({...u,zone_id:l})),{successLabel:`Updated`})})},P={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(j).command(N).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function F(e){return e.usage(`$0 origin-tls-client-auth zone-certificates create
22
22
 
23
- Upload your own certificate you want Cloudflare to use for edge-to-origin communication to override the shared certificate. Please note that it is important to keep only one certificate active. Also, make sure to enable zone-level authenticated origin pulls by making a PUT call to settings endpoint to see the uploaded certificate in use.`).option(`certificate`,{type:`string`,description:`The zone's leaf certificate.`}).option(`private-key`,{type:`string`,description:`The zone's private key.`}).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 I={command:`create`,describe:`Upload Certificate`,builder:F,handler:async s=>a({command:`origin-tls-client-auth zone-certificates create`,classification:{safeFlags:[`dry-run`]}},s,async()=>{if(s.dryRun){r({command:`cf origin-tls-client-auth zone-certificates create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${s.zone??s.zoneId??`<zone>`}/origin_tls_client_auth`,pathParams:{"zone-id":String(s.zone??s[`zone-id`]??``)},bodyKind:`json`,body:s.body===void 0?c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)}):o(s.body)});return}let a=await t(s),d=await e({zone:s.zone},a,{quiet:s.quiet});if(s.zoneId=d,s.body){let e=o(s.body);n(await i(`Creating`,async()=>a.originTlsClientAuth.zoneCertificates.create({...e,zone_id:d})),{successLabel:`Created`});return}s.certificate===void 0&&(s.certificate=await u(`certificate`,`The zone's leaf certificate.`)),s[`private-key`]===void 0&&(s[`private-key`]=await u(`private-key`,`The zone's private key.`,{kind:`secret`}));let f=c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)});n(await i(`Creating`,async()=>a.originTlsClientAuth.zoneCertificates.create({...f,zone_id:d})),{successLabel:`Created`})})};function L(e){return e.usage(`$0 origin-tls-client-auth zone-certificates delete <certificate-id>
23
+ Upload your own certificate you want Cloudflare to use for edge-to-origin communication to override the shared certificate. Please note that it is important to keep only one certificate active. Also, make sure to enable zone-level authenticated origin pulls by making a PUT call to settings endpoint to see the uploaded certificate in use.`).option(`certificate`,{type:`string`,description:`The zone's leaf certificate.`}).option(`private-key`,{type:`string`,description:`The zone's private key.`}).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 I={command:`create`,describe:`Upload Certificate`,builder:F,handler:async s=>a({command:`origin-tls-client-auth zone-certificates create`,classification:{safeFlags:[`dry-run`]}},s,async()=>{if(s.dryRun){r({command:`cf origin-tls-client-auth zone-certificates create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${s.zone??s.zoneId??`<zone>`}/origin_tls_client_auth`,pathParams:{"zone-id":String(s.zone??s[`zone-id`]??``)},bodyKind:`json`,body:s.body===void 0?c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)}):o(s.body)});return}let a=await e(s),d=await t({zone:s.zone},a,{quiet:s.quiet});if(s.zoneId=d,s.body){let e=o(s.body);n(await i(`Creating`,async()=>a.originTlsClientAuth.zoneCertificates.create({...e,zone_id:d})),{successLabel:`Created`});return}s.certificate===void 0&&(s.certificate=await u(`certificate`,`The zone's leaf certificate.`)),s[`private-key`]===void 0&&(s[`private-key`]=await u(`private-key`,`The zone's private key.`,{kind:`secret`}));let f=c({certificate:l(s.certificate,`certificate`,`text`),private_key:l(s[`private-key`],`private-key`,`text`)});n(await i(`Creating`,async()=>a.originTlsClientAuth.zoneCertificates.create({...f,zone_id:d})),{successLabel:`Created`})})};function L(e){return e.usage(`$0 origin-tls-client-auth zone-certificates delete <certificate-id>
24
24
 
25
- Removes a client certificate used for zone-level authenticated origin pulls.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,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 R={command:`delete <certificate-id>`,describe:`Delete Certificate`,builder:L,handler:async o=>a({command:`origin-tls-client-auth zone-certificates delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth zone-certificates delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await d({force:!!o.force})){process.stderr.write(`Aborted.
25
+ Removes a client certificate used for zone-level authenticated origin pulls.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,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 R={command:`delete <certificate-id>`,describe:`Delete Certificate`,builder:L,handler:async o=>a({command:`origin-tls-client-auth zone-certificates delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth zone-certificates delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await d({force:!!o.force})){process.stderr.write(`Aborted.
26
26
  `);return}n(await i(`Deleting`,async()=>a.originTlsClientAuth.zoneCertificates.delete({zone_id:s,certificate_id:o[`certificate-id`]})),{successLabel:`Deleted`})})};function z(e){return e.usage(`$0 origin-tls-client-auth zone-certificates get <certificate-id>
27
27
 
28
- Retrieves details for a specific client certificate used in zone-level authenticated origin pulls.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const B={command:`get <certificate-id>`,describe:`Get Certificate Details`,builder:z,handler:async o=>a({command:`origin-tls-client-auth zone-certificates get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth zone-certificates get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.zoneCertificates.get({zone_id:s,certificate_id:o[`certificate-id`]})),{successLabel:`Loaded`})})};function V(e){return e.usage(`$0 origin-tls-client-auth zone-certificates list
28
+ Retrieves details for a specific client certificate used in zone-level authenticated origin pulls.`).positional(`certificate-id`,{type:`string`,description:`Certificate identifier tag.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const B={command:`get <certificate-id>`,describe:`Get Certificate Details`,builder:z,handler:async o=>a({command:`origin-tls-client-auth zone-certificates get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth zone-certificates get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth/${o[`certificate-id`]==null?`<certificate-id>`:encodeURIComponent(String(o[`certificate-id`]))}`,pathParams:{"certificate-id":String(o[`certificate-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.zoneCertificates.get({zone_id:s,certificate_id:o[`certificate-id`]})),{successLabel:`Loaded`})})};function V(e){return e.usage(`$0 origin-tls-client-auth zone-certificates list
29
29
 
30
- Lists all client certificates configured for zone-level authenticated origin pulls.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const H={command:`list`,describe:`List Certificates`,builder:V,handler:async o=>a({command:`origin-tls-client-auth zone-certificates list`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth zone-certificates list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.zoneCertificates.list({zone_id:s})),{successLabel:`Loaded`})})},U={command:`zone-certificates`,describe:`Operations for zone-certificates`,builder:e=>e.command(I).command(R).command(B).command(H).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},W={command:`origin-tls-client-auth`,describe:`origin-tls-client-auth`,builder:e=>e.command(h).command(w).command(k).command(P).command(U).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{W as default};
30
+ Lists all client certificates configured for zone-level authenticated origin pulls.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const H={command:`list`,describe:`List Certificates`,builder:V,handler:async o=>a({command:`origin-tls-client-auth zone-certificates list`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf origin-tls-client-auth zone-certificates list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/origin_tls_client_auth`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.originTlsClientAuth.zoneCertificates.list({zone_id:s})),{successLabel:`Loaded`})})},U={command:`zone-certificates`,describe:`Operations for zone-certificates`,builder:e=>e.command(I).command(R).command(B).command(H).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},W={command:`origin-tls-client-auth`,describe:`origin-tls-client-auth`,builder:e=>e.command(h).command(w).command(k).command(P).command(U).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{W as default};
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import{r as e,t}from"./theme-BIWQFmZ0.mjs";import{t as n}from"./Page-DAgOEX17.mjs";import{n as r}from"./interactive-D80kbTap.mjs";function i(e){return e instanceof n?e.data:typeof e==`object`&&e&&`result`in e&&Array.isArray(e.result)&&`result_info`in e?e.result:e}function a(t,n={}){if(!n.quiet){if(t=i(t),t==null){n.successLabel&&process.stderr.isTTY&&process.stderr.write(`${e.success(`✓`)} ${n.successLabel}\n`);return}console.log(o(t))}}function o(n){let i=JSON.stringify(n,null,2);return r()||!t()||i.length>5e4?i:i.replace(/"([^"]+)":/g,(t,n)=>`${e.jsonKey(`"${n}"`)}:`).replace(/: "([^"]*)"/g,(t,n)=>`: ${e.jsonString(`"${n}"`)}`).replace(/: (-?\d+\.?\d*)/g,(t,n)=>`: ${e.jsonNumber(n)}`).replace(/: (true|false)/g,(t,n)=>`: ${e.jsonBoolean(n)}`).replace(/: (null)/g,(t,n)=>`: ${e.muted(n)}`)}export{a as t};
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import{i as e}from"./context-CEOHpZgd.mjs";import{r as t}from"./auth-BIr56Mbx.mjs";import{t as n}from"./output-CvQFJkvi.mjs";import{t as r}from"./dry-run-Bq0JAsbX.mjs";import{t as i}from"./progress-A61dRbXl.mjs";import{t as a}from"./run-CIJTelJL.mjs";import"./telemetry-Q3_UmwHj.mjs";import{n as o,r as s,t as c}from"./body-parser-hh2avzkz.mjs";import{n as l}from"./input-validation-Dk52b0me.mjs";import{n as u}from"./prompt-CGUzvBgY.mjs";import{t as d}from"./cli-types-DoVT5q_M.mjs";function f(e){return e.usage(`$0 page-rules create
2
+ import{n as e}from"./auth-Br-t8vL_.mjs";import{i as t}from"./context-CquYYyS3.mjs";import{t as n}from"./output-ClYel9WX.mjs";import{t as r}from"./dry-run-p9Q7nMZ5.mjs";import{t as i}from"./progress-TLUEIYE6.mjs";import{t as a}from"./run-iFM5TxtQ.mjs";import"./telemetry-DoBQOGRk.mjs";import{n as o,r as s,t as c}from"./body-parser-NjzJZMOV.mjs";import{n as l}from"./input-validation-0CeePPHp.mjs";import{n as u}from"./prompt-Ck_1PCHm.mjs";import{t as d}from"./cli-types-_Kmwfpnp.mjs";function f(e){return e.usage(`$0 page-rules create
3
3
 
4
4
  Creates a new Page Rule.`).option(`actions`,{type:`string`,description:`The set of actions to perform if the targets of this rule match the
5
5
  request. Actions can redirect to another URL or override settings, but
@@ -9,9 +9,9 @@ over another. A higher number indicates a higher priority. For example,
9
9
  if you have a catch-all Page Rule (rule A: \`/images/*\`) but want a more
10
10
  specific Page Rule to take precedence (rule B: \`/images/special/*\`),
11
11
  specify a higher priority for rule B so it overrides rule A.
12
- `,default:1}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`],default:`disabled`}).option(`targets`,{type:`string`,description:`The rule targets to evaluate on each request. Provide as a JSON array of objects or @path/to/file.json.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const p={command:`create`,describe:`Create a Page Rule`,builder:f,handler:async u=>a({command:`page-rules create`,classification:{safeFlags:[`status`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf page-rules create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/pagerules`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Creating`,async()=>a.pageRules.create({...e,zone_id:d})),{successLabel:`Created`});return}if(u.actions===void 0)throw Error(`--actions is required (or pass --body with this field set).`);if(u.targets===void 0)throw Error(`--targets is required (or pass --body with this field set).`);let f=c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)});n(await i(`Creating`,async()=>a.pageRules.create({...f,zone_id:d})),{successLabel:`Created`})})};function m(e){return e.usage(`$0 page-rules delete <pagerule-id>
12
+ `,default:1}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`],default:`disabled`}).option(`targets`,{type:`string`,description:`The rule targets to evaluate on each request. Provide as a JSON array of objects or @path/to/file.json.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const p={command:`create`,describe:`Create a Page Rule`,builder:f,handler:async u=>a({command:`page-rules create`,classification:{safeFlags:[`status`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf page-rules create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/pagerules`,pathParams:{"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)}):o(u.body)});return}let a=await e(u),d=await t({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Creating`,async()=>a.pageRules.create({...e,zone_id:d})),{successLabel:`Created`});return}if(u.actions===void 0)throw Error(`--actions is required (or pass --body with this field set).`);if(u.targets===void 0)throw Error(`--targets is required (or pass --body with this field set).`);let f=c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)});n(await i(`Creating`,async()=>a.pageRules.create({...f,zone_id:d})),{successLabel:`Created`})})};function m(e){return e.usage(`$0 page-rules delete <pagerule-id>
13
13
 
14
- Deletes an existing Page Rule.`).positional(`pagerule-id`,{type:`string`,description:`Identifier.`,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 h={command:`delete <pagerule-id>`,describe:`Delete a Page Rule`,builder:m,handler:async o=>a({command:`page-rules delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf page-rules delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/pagerules/${o[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(o[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(o[`pagerule-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await u({force:!!o.force})){process.stderr.write(`Aborted.
14
+ Deletes an existing Page Rule.`).positional(`pagerule-id`,{type:`string`,description:`Identifier.`,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 h={command:`delete <pagerule-id>`,describe:`Delete a Page Rule`,builder:m,handler:async o=>a({command:`page-rules delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},o,async()=>{if(o.dryRun){r({command:`cf page-rules delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/pagerules/${o[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(o[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(o[`pagerule-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});if(o.zoneId=s,!await u({force:!!o.force})){process.stderr.write(`Aborted.
15
15
  `);return}n(await i(`Deleting`,async()=>a.pageRules.delete({zone_id:s,pagerule_id:o[`pagerule-id`]})),{successLabel:`Deleted`})})};function g(e){return e.usage(`$0 page-rules edit <pagerule-id>
16
16
 
17
17
  Updates one or more fields of an existing Page Rule.`).positional(`pagerule-id`,{type:`string`,description:`Identifier.`,demandOption:!0}).option(`actions`,{type:`string`,description:`The set of actions to perform if the targets of this rule match the
@@ -22,11 +22,11 @@ over another. A higher number indicates a higher priority. For example,
22
22
  if you have a catch-all Page Rule (rule A: \`/images/*\`) but want a more
23
23
  specific Page Rule to take precedence (rule B: \`/images/special/*\`),
24
24
  specify a higher priority for rule B so it overrides rule A.
25
- `}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`]}).option(`targets`,{type:`string`,description:`The rule targets to evaluate on each request. Provide as a JSON array of objects or @path/to/file.json.`}).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 _={command:`edit <pagerule-id>`,describe:`Edit a Page Rule`,builder:g,handler:async u=>a({command:`page-rules edit`,classification:{safeFlags:[`status`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf page-rules edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/pagerules/${u[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(u[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(u[`pagerule-id`]??``),"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Updating`,async()=>a.pageRules.edit({...e,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`});return}let f=c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)});n(await i(`Updating`,async()=>a.pageRules.edit({...f,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`})})};function v(e){return e.usage(`$0 page-rules get <pagerule-id>
25
+ `}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`]}).option(`targets`,{type:`string`,description:`The rule targets to evaluate on each request. Provide as a JSON array of objects or @path/to/file.json.`}).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 _={command:`edit <pagerule-id>`,describe:`Edit a Page Rule`,builder:g,handler:async u=>a({command:`page-rules edit`,classification:{safeFlags:[`status`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf page-rules edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/pagerules/${u[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(u[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(u[`pagerule-id`]??``),"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)}):o(u.body)});return}let a=await e(u),d=await t({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Updating`,async()=>a.pageRules.edit({...e,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`});return}let f=c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)});n(await i(`Updating`,async()=>a.pageRules.edit({...f,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`})})};function v(e){return e.usage(`$0 page-rules get <pagerule-id>
26
26
 
27
- Fetches the details of a Page Rule.`).positional(`pagerule-id`,{type:`string`,description:`Identifier.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const y={command:`get <pagerule-id>`,describe:`Get a Page Rule`,builder:v,handler:async o=>a({command:`page-rules get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf page-rules get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/pagerules/${o[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(o[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(o[`pagerule-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await t(o),s=await e({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.pageRules.get({zone_id:s,pagerule_id:o[`pagerule-id`]})),{successLabel:`Loaded`})})};function b(e){return e.usage(`$0 page-rules list
27
+ Fetches the details of a Page Rule.`).positional(`pagerule-id`,{type:`string`,description:`Identifier.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const y={command:`get <pagerule-id>`,describe:`Get a Page Rule`,builder:v,handler:async o=>a({command:`page-rules get`,classification:{safeFlags:[`dry-run`]}},o,async()=>{if(o.dryRun){r({command:`cf page-rules get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/pagerules/${o[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(o[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(o[`pagerule-id`]??``),"zone-id":String(o.zone??o[`zone-id`]??``)},bodyKind:`none`});return}let a=await e(o),s=await t({zone:o.zone},a,{quiet:o.quiet});o.zoneId=s,n(await i(`Loading`,async()=>a.pageRules.get({zone_id:s,pagerule_id:o[`pagerule-id`]})),{successLabel:`Loaded`})})};function b(e){return e.usage(`$0 page-rules list
28
28
 
29
- Fetches Page Rules in a zone.`).option(`order`,{type:`string`,description:`The field used to sort returned Page Rules.`,choices:[`status`,`priority`]}).option(`direction`,{type:`string`,description:`The direction used to sort returned Page Rules.`,choices:[`asc`,`desc`]}).option(`match`,{type:`string`,description:"When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.",choices:[`any`,`all`]}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const x={command:`list`,describe:`List Page Rules`,builder:d(b),handler:async o=>a({command:`page-rules list`,classification:{safeFlags:[`order`,`direction`,`match`,`status`,`dry-run`]}},o,async()=>{let a={order:o.order,direction:o.direction,match:o.match,status:o.status};if(o.dryRun){r({command:`cf page-rules list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/pagerules`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},query:a,bodyKind:`none`});return}let s=await t(o),c=await e({zone:o.zone},s,{quiet:o.quiet});o.zoneId=c,n(await i(`Loading`,async()=>s.pageRules.list({zone_id:c,...a})),{successLabel:`Loaded`})})};function S(e){return e.usage(`$0 page-rules update <pagerule-id>
29
+ Fetches Page Rules in a zone.`).option(`order`,{type:`string`,description:`The field used to sort returned Page Rules.`,choices:[`status`,`priority`]}).option(`direction`,{type:`string`,description:`The direction used to sort returned Page Rules.`,choices:[`asc`,`desc`]}).option(`match`,{type:`string`,description:"When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.",choices:[`any`,`all`]}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const x={command:`list`,describe:`List Page Rules`,builder:d(b),handler:async o=>a({command:`page-rules list`,classification:{safeFlags:[`order`,`direction`,`match`,`status`,`dry-run`]}},o,async()=>{let a={order:o.order,direction:o.direction,match:o.match,status:o.status};if(o.dryRun){r({command:`cf page-rules list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/zones/${o.zone??o.zoneId??`<zone>`}/pagerules`,pathParams:{"zone-id":String(o.zone??o[`zone-id`]??``)},query:a,bodyKind:`none`});return}let s=await e(o),c=await t({zone:o.zone},s,{quiet:o.quiet});o.zoneId=c,n(await i(`Loading`,async()=>s.pageRules.list({zone_id:c,...a})),{successLabel:`Loaded`})})};function S(e){return e.usage(`$0 page-rules update <pagerule-id>
30
30
 
31
31
  Replaces the configuration of an existing Page Rule. The configuration of the updated Page Rule will exactly match the data passed in the API request.`).positional(`pagerule-id`,{type:`string`,description:`Identifier.`,demandOption:!0}).option(`actions`,{type:`string`,description:`The set of actions to perform if the targets of this rule match the
32
32
  request. Actions can redirect to another URL or override settings, but
@@ -36,4 +36,4 @@ over another. A higher number indicates a higher priority. For example,
36
36
  if you have a catch-all Page Rule (rule A: \`/images/*\`) but want a more
37
37
  specific Page Rule to take precedence (rule B: \`/images/special/*\`),
38
38
  specify a higher priority for rule B so it overrides rule A.
39
- `}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`]}).option(`targets`,{type:`string`,description:`The rule targets to evaluate on each request. Provide as a JSON array of objects or @path/to/file.json.`}).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 C={command:`update <pagerule-id>`,describe:`Update a Page Rule`,builder:S,handler:async u=>a({command:`page-rules update`,classification:{safeFlags:[`status`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf page-rules update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/pagerules/${u[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(u[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(u[`pagerule-id`]??``),"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)}):o(u.body)});return}let a=await t(u),d=await e({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Updating`,async()=>a.pageRules.update({...e,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`});return}if(u.actions===void 0)throw Error(`--actions is required (or pass --body with this field set).`);if(u.targets===void 0)throw Error(`--targets is required (or pass --body with this field set).`);let f=c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)});n(await i(`Updating`,async()=>a.pageRules.update({...f,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`})})},w={command:`page-rules`,describe:`page-rules`,builder:e=>e.command(p).command(h).command(_).command(y).command(x).command(C).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{w as default};
39
+ `}).option(`status`,{type:`string`,description:`The status of the Page Rule.`,choices:[`active`,`disabled`]}).option(`targets`,{type:`string`,description:`The rule targets to evaluate on each request. Provide as a JSON array of objects or @path/to/file.json.`}).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 C={command:`update <pagerule-id>`,describe:`Update a Page Rule`,builder:S,handler:async u=>a({command:`page-rules update`,classification:{safeFlags:[`status`,`dry-run`]}},u,async()=>{if(u.dryRun){r({command:`cf page-rules update`,method:`PUT`,url:`https://api.cloudflare.com/client/v4/zones/${u.zone??u.zoneId??`<zone>`}/pagerules/${u[`pagerule-id`]==null?`<pagerule-id>`:encodeURIComponent(String(u[`pagerule-id`]))}`,pathParams:{"pagerule-id":String(u[`pagerule-id`]??``),"zone-id":String(u.zone??u[`zone-id`]??``)},bodyKind:`json`,body:u.body===void 0?c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)}):o(u.body)});return}let a=await e(u),d=await t({zone:u.zone},a,{quiet:u.quiet});if(u.zoneId=d,u.body){let e=o(u.body);n(await i(`Updating`,async()=>a.pageRules.update({...e,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`});return}if(u.actions===void 0)throw Error(`--actions is required (or pass --body with this field set).`);if(u.targets===void 0)throw Error(`--targets is required (or pass --body with this field set).`);let f=c({actions:s(u.actions,`actions`),priority:u.priority,status:l(u.status,`status`,`text`),targets:s(u.targets,`targets`)});n(await i(`Updating`,async()=>a.pageRules.update({...f,zone_id:d,pagerule_id:u[`pagerule-id`]})),{successLabel:`Updated`})})},w={command:`page-rules`,describe:`page-rules`,builder:e=>e.command(p).command(h).command(_).command(y).command(x).command(C).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{w as default};