cf 1.0.0-beta.23 → 1.0.0-beta.25

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 (244) hide show
  1. package/dist/_meta/commands.json +547 -150
  2. package/dist/_meta/hand-written-commands.json +46 -2
  3. package/dist/_meta/schemas.json +277 -2
  4. package/dist/{abuse-reports-SaxhQy6n.mjs → abuse-reports-BIS9MZn7.mjs} +3 -3
  5. package/dist/{access-BI_7K9ye.mjs → access-__sFDSFL.mjs} +1 -1
  6. package/dist/{accounts-yCqYkAyG.mjs → accounts-CmggwRjh.mjs} +36 -34
  7. package/dist/{acm-Cyvj0TLt.mjs → acm-AAhRZUAU.mjs} +1 -1
  8. package/dist/{addressing-CPjDXCGE.mjs → addressing-DVeJNPZc.mjs} +1 -1
  9. package/dist/{agent-memory-EoP2Uwo7.mjs → agent-memory-DQhWO6sc.mjs} +1 -1
  10. package/dist/{ai-DU5T7Rw7.mjs → ai-CULO9sno.mjs} +3 -3
  11. package/dist/{ai-audit-DVT8qGLn.mjs → ai-audit-udn4HF34.mjs} +1 -1
  12. package/dist/{ai-gateway-BYtptiIM.mjs → ai-gateway-Bm2MMdec.mjs} +3 -3
  13. package/dist/{ai-search-CJJ5XZTd.mjs → ai-search-GRN_gXgU.mjs} +1 -1
  14. package/dist/{ai-security-CidIWQ2m.mjs → ai-security-DXy9ht-9.mjs} +2 -2
  15. package/dist/{alerting-CVatzxaS.mjs → alerting-CssnaN2i.mjs} +1 -1
  16. package/dist/{analytics-BWJAOVxo.mjs → analytics-BVo7Ax0w.mjs} +1 -1
  17. package/dist/{analytics-engine-CZgKAEo0.mjs → analytics-engine-BBd0Bydx.mjs} +1 -1
  18. package/dist/{api-security-CAeFfkOp.mjs → api-security-C-D9OKtH.mjs} +3 -3
  19. package/dist/{argo-YKMl_X-Q.mjs → argo-DSziwzvA.mjs} +1 -1
  20. package/dist/{artifacts-CrWK_jdk.mjs → artifacts-nVMgn4dn.mjs} +1 -1
  21. package/dist/{audit-logs-C7Z4o6lL.mjs → audit-logs-DIZ5oA_y.mjs} +1 -1
  22. package/dist/auth-Bls_1yRW.mjs +2 -0
  23. package/dist/{auth-DkPhAgZv.mjs → auth-CB9wjyad.mjs} +1 -1
  24. package/dist/auth-JsvLULHA.mjs +7 -0
  25. package/dist/{auth-token-C-ushV4K.mjs → auth-token-BAgw7kYP.mjs} +1 -1
  26. package/dist/{autoconfig-CwWsgTP2.mjs → autoconfig-CajkMb3B.mjs} +19 -11
  27. package/dist/{basin-catalog-Df0BLUfb.mjs → basin-catalog-BRvGeKm3.mjs} +9 -9
  28. package/dist/{billing-C7qD2cBJ.mjs → billing-BhPoqyKC.mjs} +1 -1
  29. package/dist/{blocks-hVx18MUM.mjs → blocks-D2tE8dp2.mjs} +1 -1
  30. package/dist/{bot-management-Dv2tluEZ.mjs → bot-management-BfjX5DuH.mjs} +1 -1
  31. package/dist/{botnet-feed-DrIY4gpG.mjs → botnet-feed-VOL5P4s3.mjs} +1 -1
  32. package/dist/{brand-protection-of9uwStG.mjs → brand-protection-CSVHQ9Pt.mjs} +2 -2
  33. package/dist/{browser-run-CbMV-Pf5.mjs → browser-run-cxOd2cZE.mjs} +1 -1
  34. package/dist/{build-Yf5bvUk2.mjs → build-BfkzV5_c.mjs} +1 -1
  35. package/dist/build-DCdLWwOg.mjs +2 -0
  36. package/dist/{builds-DQrlz2-K.mjs → builds-y5BQCJ81.mjs} +1 -1
  37. package/dist/{cache-suoMuQMh.mjs → cache-Bvr988Hj.mjs} +1 -1
  38. package/dist/cf-DgLg6Hop.mjs +18 -0
  39. package/dist/{chunk-3PJ54H4K-C8sxQzhB.mjs → chunk-3PJ54H4K-CbRAWQWI.mjs} +1 -1
  40. package/dist/{chunk-DSGVRFIS-CP2xC0bc.mjs → chunk-DSGVRFIS-Dq2PrGsi.mjs} +1 -1
  41. package/dist/{cli-BjAkPFKt.mjs → cli-BTxJfFus.mjs} +1 -1
  42. package/dist/{client-side-security-lh4tvRH8.mjs → client-side-security-CFmO0uz9.mjs} +1 -1
  43. package/dist/{cloud-connector-C65g5ddh.mjs → cloud-connector-CtwPdFBa.mjs} +1 -1
  44. package/dist/{cloudflared-FEg1GxHT.mjs → cloudflared-DPkNN1Qv.mjs} +1 -1
  45. package/dist/{cloudforce-one-C2K8Sbji.mjs → cloudforce-one-DHrMaxnU.mjs} +59 -59
  46. package/dist/{command-BfoLlrr1.mjs → command-6_Ms3TZv.mjs} +1 -1
  47. package/dist/{command-DrdxR1tJ.mjs → command-BWyx7dNO.mjs} +1 -1
  48. package/dist/{command-DCJgoFz9.mjs → command-BXCk1OsI.mjs} +1 -1
  49. package/dist/{command-BqEoltQG.mjs → command-CCDzJjIB.mjs} +1 -1
  50. package/dist/{command-CKXrXY0q.mjs → command-CDYTsmxe.mjs} +1 -1
  51. package/dist/{command-CBQp3Znu.mjs → command-CXwKBbj9.mjs} +1 -1
  52. package/dist/{command-DRBtP4R8.mjs → command-ClneauMx.mjs} +1 -1
  53. package/dist/{command-Cby3gjqh.mjs → command-CmK8-DJ9.mjs} +1 -1
  54. package/dist/{command-BaIY4UuC.mjs → command-Ct3tf-P5.mjs} +1 -1
  55. package/dist/{command-CszTdUQV.mjs → command-DPOjEs1B.mjs} +1 -1
  56. package/dist/{command-D3E7d8E7.mjs → command-DqWBPiew.mjs} +1 -1
  57. package/dist/{command-C2ZXXZI4.mjs → command-YFWLEK8W.mjs} +1 -1
  58. package/dist/{command-BHJu931_.mjs → command-ckixJeTm.mjs} +1 -1
  59. package/dist/{command-C5465_vZ.mjs → command-lJJ7sEZe.mjs} +1 -1
  60. package/dist/{completions-DIIrktem.mjs → completions-B1rYgw_a.mjs} +1 -1
  61. package/dist/{connector-interrupts-B4xZTu7K.mjs → connector-interrupts-DecTdK6X.mjs} +1 -1
  62. package/dist/{connector-telemetry-events-DtTO6KCB.mjs → connector-telemetry-events-wePxPACj.mjs} +1 -1
  63. package/dist/{connector-telemetry-snapshots-BS1Cq8v_.mjs → connector-telemetry-snapshots-D8sXR1qx.mjs} +1 -1
  64. package/dist/{connectors-CUywNbTu.mjs → connectors-C-6RQ_Q1.mjs} +1 -1
  65. package/dist/{containers-DCL31jYE.mjs → containers-C_byVTZF.mjs} +193 -193
  66. package/dist/{containers-CQxEk5xO.mjs → containers-D65Gpj9Q.mjs} +2 -2
  67. package/dist/{content-scan-6BGlT-em.mjs → content-scan-DbIDQ-Yu.mjs} +1 -1
  68. package/dist/{context-DoGlohS-.mjs → context-DCon1tRZ.mjs} +1 -1
  69. package/dist/{cps-BoQ1alPM.mjs → cps-DGLmzCzp.mjs} +1 -1
  70. package/dist/{csam-scanner-OFnvPsqP.mjs → csam-scanner-R7Ih-Dnw.mjs} +1 -1
  71. package/dist/{custom-csrs-BT-kjyPt.mjs → custom-csrs-D0RnVoJ7.mjs} +1 -1
  72. package/dist/{custom-hostnames-ItOUZwKc.mjs → custom-hostnames-BFWR-tR_.mjs} +1 -1
  73. package/dist/{custom-nameservers-BZ1SzRQI.mjs → custom-nameservers-Dn_9Ssti.mjs} +1 -1
  74. package/dist/{custom-pages-rIzNbxrh.mjs → custom-pages-HqIQcb77.mjs} +1 -1
  75. package/dist/{d1-DtEeX2ua.mjs → d1-CopIY9RT.mjs} +2 -2
  76. package/dist/{delegate-3IgxBeFH.mjs → delegate-CTj0dYET.mjs} +1 -1
  77. package/dist/delegate.mjs +1 -1
  78. package/dist/{deploy-CvIiOhGj.mjs → deploy-BVTA83rN.mjs} +1 -1
  79. package/dist/{deploy-context-CCahKKFs.mjs → deploy-context-CO8ZSRwx.mjs} +1 -1
  80. package/dist/{deploy-input-BusFZFqu.mjs → deploy-input-PhKRxa_2.mjs} +1 -1
  81. package/dist/dev-CM5GLHNn.mjs +4 -0
  82. package/dist/{diagnostics-Di6xJHuC.mjs → diagnostics-DPjl0aCm.mjs} +1 -1
  83. package/dist/{dist-D5YYi2LO.mjs → dist-ataVE8ob.mjs} +3 -3
  84. package/dist/{dls-CAlQiQv4.mjs → dls-BLTIVlbh.mjs} +1 -1
  85. package/dist/{dns-BzxLC4D1.mjs → dns-DkqVq-nB.mjs} +60 -58
  86. package/dist/{dns-firewall-CHVL95X_.mjs → dns-firewall-D1bb1byu.mjs} +1 -1
  87. package/dist/{docs-SWvG8lKe.mjs → docs-tOv_OllI.mjs} +1 -1
  88. package/dist/{durable-objects-DZl4seSi.mjs → durable-objects-OJhns_to.mjs} +1 -1
  89. package/dist/{email-auth-hHJQmtYR.mjs → email-auth-BbsIBNlu.mjs} +1 -1
  90. package/dist/{email-domains-BBFPOLQx.mjs → email-domains-pWZi1M4q.mjs} +1 -1
  91. package/dist/{email-routing-Cimk4lg2.mjs → email-routing-DnitWE1A.mjs} +1 -1
  92. package/dist/{email-security-DiNFIpmg.mjs → email-security-DiWtb7cx.mjs} +2 -2
  93. package/dist/{email-sending-yIqoikwn.mjs → email-sending-DuDjXykw.mjs} +1 -1
  94. package/dist/{errors-d_Ld5w3d.mjs → errors-CCFmptqJ.mjs} +1 -1
  95. package/dist/{field-extractors-CiuZnMX2.mjs → field-extractors-DNNnkBZH.mjs} +1 -1
  96. package/dist/{firewall-B8QK0M1Y.mjs → firewall-C7eZRNVF.mjs} +22 -16
  97. package/dist/{flagship-Dh0-PZgv.mjs → flagship-BczjsrJ5.mjs} +1 -1
  98. package/dist/{fraud-DDebasT8.mjs → fraud-wE0UM2SM.mjs} +1 -1
  99. package/dist/{google-tag-gateway-BPrh4DbT.mjs → google-tag-gateway-6mvtxcJK.mjs} +1 -1
  100. package/dist/{healthchecks-CF8SJ-wN.mjs → healthchecks-aIB3DebS.mjs} +1 -1
  101. package/dist/{hyperdrive-B9uPSMiW.mjs → hyperdrive-DHRP8SJS.mjs} +1 -1
  102. package/dist/{iam-g9EBjHMK.mjs → iam-6t7-ScrS.mjs} +1 -1
  103. package/dist/{images-BqSlZF88.mjs → images-CLgvxd0t.mjs} +1 -1
  104. package/dist/index.mjs +1 -1
  105. package/dist/{init-CIfT7Qx1.mjs → init-B_DBTMXU.mjs} +1 -1
  106. package/dist/{intel-D8nT11Y4.mjs → intel-jnoIVlYG.mjs} +2 -2
  107. package/dist/{interactive-DOWEcR6_.mjs → interactive-1g0dnrA8.mjs} +1 -1
  108. package/dist/{internal-C7zUQ4fS.mjs → internal-Ba3b-Z8J.mjs} +1 -1
  109. package/dist/{ips-DwrIBecV.mjs → ips-CQ4gFfex.mjs} +1 -1
  110. package/dist/{k2-7r63P37v.mjs → k2-Bsm6rzNX.mjs} +1 -1
  111. package/dist/{kv-BQSq0aQ5.mjs → kv-DQfnNE-w.mjs} +1 -1
  112. package/dist/{lazy-command-JgUZQW-c.mjs → lazy-command-DjGzxiUT.mjs} +1 -1
  113. package/dist/{leaked-credential-checks-Bu2NYq31.mjs → leaked-credential-checks-CaqjG3Oz.mjs} +1 -1
  114. package/dist/list-4MfEFwJN.mjs +2 -0
  115. package/dist/list-ByCv9-Fl.mjs +2 -0
  116. package/dist/{live-ZSukf_dI.mjs → live-BfobGv8W.mjs} +1 -1
  117. package/dist/{load-balancers-CthmhsmC.mjs → load-balancers-BzSCp2Uh.mjs} +1 -1
  118. package/dist/{local-Y4rIAAtA.mjs → local-BNmz58v4.mjs} +1 -1
  119. package/dist/local-ChR3YIMU.mjs +2 -0
  120. package/dist/local-runtime-DvH92pV8.mjs +2 -0
  121. package/dist/{login-lXb4Sqs9.mjs → login-B9wYab6S.mjs} +2 -2
  122. package/dist/login-ierSCYE6.mjs +2 -0
  123. package/dist/{logpush-Mw2VklWj.mjs → logpush-DgfiSd1b.mjs} +2 -2
  124. package/dist/{logs-DQrNjo77.mjs → logs-Dan7xU-k.mjs} +1 -1
  125. package/dist/{magic-cloud-networking-D8s1hN3K.mjs → magic-cloud-networking-DP8fWC4a.mjs} +3 -3
  126. package/dist/{magic-network-monitoring-f0ccLJlt.mjs → magic-network-monitoring-TAjt04vN.mjs} +1 -1
  127. package/dist/{magic-transit-7WpZJc0a.mjs → magic-transit-BSuLHnQ5.mjs} +1 -1
  128. package/dist/{managed-defense-QLYmbNgC.mjs → managed-defense-CTnIZLg4.mjs} +1 -1
  129. package/dist/{managed-transforms-CkaQn7tC.mjs → managed-transforms-BETvesjp.mjs} +1 -1
  130. package/dist/{mcp-Di1X9Amj.mjs → mcp-DhjMGaKc.mjs} +1 -1
  131. package/dist/{mesh-CkvqQb6B.mjs → mesh-jxLLG3t4.mjs} +1 -1
  132. package/dist/{migrate-KOhIz9fX.mjs → migrate-Bkhk38nJ.mjs} +1 -1
  133. package/dist/{monetization-C9c2OCag.mjs → monetization-BqDgHlPv.mjs} +1 -1
  134. package/dist/{network-0PlPsgfJ.mjs → network-D6BRpgOv.mjs} +2 -2
  135. package/dist/{network-interconnects-BeiuYp7F.mjs → network-interconnects-tP41GbnL.mjs} +1 -1
  136. package/dist/{o11y-Ys4wGQJ8.mjs → o11y-h4cIC_1T.mjs} +1 -1
  137. package/dist/{oauth-BX5dMp7e.mjs → oauth-CuM12iNb.mjs} +1 -1
  138. package/dist/{oauth-clients-DhVG_Upv.mjs → oauth-clients-B0voUiXM.mjs} +1 -1
  139. package/dist/{oauth-BL039mqa.mjs → oauth-nDH3nTCa.mjs} +2 -2
  140. package/dist/oauth-scopes-Bhns1ZHW.mjs +4 -0
  141. package/dist/{organization-8ateLjgl.mjs → organization-Cy55HoRR.mjs} +4 -4
  142. package/dist/organizations-7Q3d9vcW.mjs +4 -0
  143. package/dist/{origin-post-quantum-encryption-D9qT0WUV.mjs → origin-post-quantum-encryption-XBMPCdSL.mjs} +1 -1
  144. package/dist/package-DK3JX4I3.mjs +2 -0
  145. package/dist/{page-rules-DlOky6Zl.mjs → page-rules-BlT5xlhH.mjs} +1 -1
  146. package/dist/{pages-BcqYjzyx.mjs → pages-CIbL62L2.mjs} +3 -3
  147. package/dist/{pay-per-crawl-DtYmYcHH.mjs → pay-per-crawl-BzsBqo_m.mjs} +1 -1
  148. package/dist/{pay-per-use-DOUCWPNy.mjs → pay-per-use-DtejLYJ8.mjs} +1 -1
  149. package/dist/{pipelines-8yHQduBt.mjs → pipelines-LjLb8jq6.mjs} +1 -1
  150. package/dist/{precursor-CX7gjIRG.mjs → precursor-BKp5_Ag4.mjs} +1 -1
  151. package/dist/{previews-WL-CudUP.mjs → previews-zRYO9uO9.mjs} +1 -1
  152. package/dist/{progress-D2_AF54c.mjs → progress-_Jux05O5.mjs} +1 -1
  153. package/dist/{prompt-BBR19lgj.mjs → prompt-SNVLBS1b.mjs} +1 -1
  154. package/dist/{queues-BDNnjJ5M.mjs → queues-Ci4rGGC4.mjs} +1 -1
  155. package/dist/{r2-B9b18zom.mjs → r2-qm2hgS43.mjs} +1 -1
  156. package/dist/radar-C_ydbJe_.mjs +300 -0
  157. package/dist/{raw-fetch-BFcMz5hY.mjs → raw-fetch-D3ydyJYW.mjs} +1 -1
  158. package/dist/{ready-C8zZ63yB.mjs → ready-hk-_B8z3.mjs} +1 -1
  159. package/dist/{realtime-C8z8iTs4.mjs → realtime-BAvjYmYw.mjs} +2 -2
  160. package/dist/{registrar-BTMp4ivm.mjs → registrar-DD7WZaP2.mjs} +10 -10
  161. package/dist/{registrar-sandbox-C2PG_Alv.mjs → registrar-sandbox-DbxloH5s.mjs} +2 -2
  162. package/dist/{reporting-BQY6_uXf.mjs → reporting-CRVg3J1C.mjs} +1 -1
  163. package/dist/{request-headers-_yTB3kAw.mjs → request-headers-Cn01EsbI.mjs} +1 -1
  164. package/dist/{request-tracers-Dijdzs6y.mjs → request-tracers-BWs0rdFS.mjs} +1 -1
  165. package/dist/{resource-sharing-DYaOk_EC.mjs → resource-sharing-yipIkdbd.mjs} +2 -2
  166. package/dist/{rules-TsOBYamD.mjs → rules-CCtaBLiN.mjs} +1 -1
  167. package/dist/{rulesets-BICRAp0v.mjs → rulesets-DBEvCNDS.mjs} +1 -1
  168. package/dist/{rum-wY_8vewy.mjs → rum-gDOKylu_.mjs} +1 -1
  169. package/dist/{run-C2-1SFrS.mjs → run-Br8sYjNF.mjs} +1 -1
  170. package/dist/run-LOgTLpob.mjs +2 -0
  171. package/dist/schema-cache-Cb64Nqbt.mjs +3 -0
  172. package/dist/schema-flags-BcbbCWR5.mjs +4 -0
  173. package/dist/{scim-BCB-RVUX.mjs → scim-CM8Xah56.mjs} +1 -1
  174. package/dist/{secrets-store-BR-h9nxX.mjs → secrets-store-BEnXiYCC.mjs} +2 -2
  175. package/dist/{security-insights-C3pM4_QG.mjs → security-insights-Be5GvdBA.mjs} +5 -5
  176. package/dist/{security-txt-BYeDQJyf.mjs → security-txt-BF0PWAEW.mjs} +1 -1
  177. package/dist/{session-CG79ZLE9.mjs → session-B7vOqdZU.mjs} +1 -1
  178. package/dist/shared-CBMFY1VY.mjs +2 -0
  179. package/dist/{signed-url-BWwUnIl-.mjs → signed-url-VDDQlllt.mjs} +1 -1
  180. package/dist/{smart-shield-Dlsh9Xdx.mjs → smart-shield-DQku_wYi.mjs} +1 -1
  181. package/dist/{snippets-DWTJdzIF.mjs → snippets-B3FCEMuh.mjs} +1 -1
  182. package/dist/spawn-9sE67p7c.mjs +5 -0
  183. package/dist/{spectrum-RbNSnJya.mjs → spectrum-nLirlVue.mjs} +5 -5
  184. package/dist/{speed-Bh18cP0e.mjs → speed-C1hCyMPy.mjs} +1 -1
  185. package/dist/{sql-BKjCDDS-.mjs → sql-DVQOKThL.mjs} +1 -1
  186. package/dist/src-Bh2gHpI7.mjs +131 -0
  187. package/dist/{ssl-BHMbK4Be.mjs → ssl-CYDRgr24.mjs} +2 -2
  188. package/dist/{startup-profile-B7yHR_YB.mjs → startup-profile-BLvw_Wmc.mjs} +1 -1
  189. package/dist/startup-profile-ByxSdhEl.mjs +2 -0
  190. package/dist/{state-DNuVv5i-.mjs → state-B8n0QU04.mjs} +1 -1
  191. package/dist/state-BTOzaT5L.mjs +2 -0
  192. package/dist/{stream-BFs1vbTA.mjs → stream-DHyejrI6.mjs} +1 -1
  193. package/dist/{tags-ACINMEUC.mjs → tags-DOL6dKQE.mjs} +2 -2
  194. package/dist/{telemetry-Da9TmAgm.mjs → telemetry-DJ8-Q2pU.mjs} +1 -1
  195. package/dist/telemetry-kjElc1zT.mjs +2 -0
  196. package/dist/{tenant-Decq0ghq.mjs → tenant-2EdATz2Y.mjs} +1 -1
  197. package/dist/{tenant-custom-nameservers-CGcqESj5.mjs → tenant-custom-nameservers-DhEpJNST.mjs} +1 -1
  198. package/dist/{tunnels-ff1a_ucB.mjs → tunnels-CMAmH4Vh.mjs} +3 -3
  199. package/dist/{turnstile-BmJeENqH.mjs → turnstile-DTJjDMFp.mjs} +1 -1
  200. package/dist/ui-7zujR-O7.mjs +2 -0
  201. package/dist/{update-check-imcniBzu.mjs → update-check-BkCdHK-3.mjs} +1 -1
  202. package/dist/{update-check-BjlU_02g.mjs → update-check-DDGKWkmi.mjs} +1 -1
  203. package/dist/update-check-worker.mjs +1 -1
  204. package/dist/{url-normalization-DPqqTNzy.mjs → url-normalization-BbWOra1u.mjs} +1 -1
  205. package/dist/{url-scanner-SmzhVLS-.mjs → url-scanner-Bj-eS_3C.mjs} +2 -2
  206. package/dist/{user-LDJcWt0X.mjs → user-CMzTHHVX.mjs} +1 -1
  207. package/dist/{vectorize-D57FE9YT.mjs → vectorize-D4H7_KPs.mjs} +1 -1
  208. package/dist/version-DIIJ2ixL.mjs +2 -0
  209. package/dist/{waiting-rooms-Bp5glzYE.mjs → waiting-rooms-CqMbVu9s.mjs} +1 -1
  210. package/dist/{web-assets-BzSBU057.mjs → web-assets-BgfzyF8t.mjs} +5 -5
  211. package/dist/{web3-DmeS2XCY.mjs → web3-ByCe47FI.mjs} +1 -1
  212. package/dist/{workers-BUmSAYvI.mjs → workers-BiLsPkYD.mjs} +2 -2
  213. package/dist/{workers-builds-BRRyYyDr.mjs → workers-builds-2N71_8MZ.mjs} +1 -1
  214. package/dist/{workers-for-platforms-Bq5hpU-X.mjs → workers-for-platforms-BMN4QXgT.mjs} +1 -1
  215. package/dist/{workers-vpc-Dn83sJ0S.mjs → workers-vpc-3o7dMg7-.mjs} +1 -1
  216. package/dist/{workflows-BI1Oqr1y.mjs → workflows-COiyqt-B.mjs} +1 -1
  217. package/dist/{wrangler-migration-DHfxfsd8.mjs → wrangler-migration-CqSg8IDj.mjs} +5 -5
  218. package/dist/{zaraz-eWdwn_FV.mjs → zaraz-DjwhCH8A.mjs} +2 -2
  219. package/dist/{zero-trust-Dj_s_8u8.mjs → zero-trust-BmpuDOmH.mjs} +68 -62
  220. package/dist/{zones-D7J5AMUO.mjs → zones-XYQiz5kF.mjs} +2 -2
  221. package/package.json +12 -12
  222. package/dist/auth-0yg8UHy1.mjs +0 -2
  223. package/dist/auth-DCnxMUAZ.mjs +0 -2
  224. package/dist/build-DHPdqjpj.mjs +0 -2
  225. package/dist/cf-CInFH4Ng.mjs +0 -18
  226. package/dist/dev-2hNwTy0s.mjs +0 -4
  227. package/dist/local-CxTyXQlK.mjs +0 -2
  228. package/dist/local-runtime-Crs0aOFO.mjs +0 -2
  229. package/dist/login-C_gOc9pk.mjs +0 -2
  230. package/dist/oauth-scopes-B1n8hUMj.mjs +0 -4
  231. package/dist/organizations-DdQAC66Z.mjs +0 -4
  232. package/dist/package-C4H_6MHV.mjs +0 -2
  233. package/dist/radar-BCxOSIwx.mjs +0 -300
  234. package/dist/registry-DpNVjLuS.mjs +0 -2
  235. package/dist/run-C9r-Beel.mjs +0 -2
  236. package/dist/schema-flags-DHP8ll5_.mjs +0 -5
  237. package/dist/shared-Z4B68uro.mjs +0 -2
  238. package/dist/spawn-DdvGNWEs.mjs +0 -5
  239. package/dist/src-BZtxQa8v.mjs +0 -131
  240. package/dist/startup-profile-zt6cFnBn.mjs +0 -2
  241. package/dist/state-C5mQ9At8.mjs +0 -2
  242. package/dist/telemetry-Q7QghPwV.mjs +0 -2
  243. package/dist/ui-C1y5cXUM.mjs +0 -2
  244. package/dist/version-CbBZJTiB.mjs +0 -2
@@ -551,6 +551,50 @@
551
551
  "dir": "auth"
552
552
  }
553
553
  },
554
+ {
555
+ "command": "cf auth scopes",
556
+ "name": "scopes",
557
+ "fullPath": ["auth", "scopes"],
558
+ "category": "read",
559
+ "description": "Show the OAuth scopes granted to the current login, by product",
560
+ "usage": "cf auth scopes [product] [options]",
561
+ "arguments": [
562
+ {
563
+ "name": "product",
564
+ "position": 0,
565
+ "type": "string",
566
+ "required": false,
567
+ "description": "Show the granted permissions in product areas matching this name, such as dns or developer"
568
+ }
569
+ ],
570
+ "options": [
571
+ {
572
+ "name": "all",
573
+ "type": "boolean",
574
+ "required": false,
575
+ "description": "Show every granted permission, grouped by product",
576
+ "default": false
577
+ },
578
+ {
579
+ "name": "filter",
580
+ "type": "string",
581
+ "required": false,
582
+ "description": "Show the granted permissions whose scope contains this term"
583
+ },
584
+ {
585
+ "name": "dry-run",
586
+ "type": "boolean",
587
+ "required": false,
588
+ "description": "Parse arguments and show the command without executing it",
589
+ "default": false
590
+ }
591
+ ],
592
+ "handWritten": {
593
+ "kind": "root",
594
+ "overrides": false,
595
+ "dir": "auth"
596
+ }
597
+ },
554
598
  {
555
599
  "command": "cf auth whoami",
556
600
  "name": "whoami",
@@ -1108,7 +1152,7 @@
1108
1152
  "name": "secrets-file",
1109
1153
  "type": "string",
1110
1154
  "required": false,
1111
- "description": "Path to a file containing secrets to upload with the version (JSON or .env format)"
1155
+ "description": "Path to a file containing secrets to upload with the version (JSON or .env format). Dotenv values expand $VAR and ${VAR} using process environment values and earlier file values; process environment values override file values, including empty values. Only declared file keys are uploaded. Only use trusted dotenv secrets files: they can read and upload any process environment value. Escape literal dollar signs with \\$ or use JSON."
1112
1156
  },
1113
1157
  {
1114
1158
  "name": "dry-run",
@@ -2006,7 +2050,7 @@
2006
2050
  "name": "secrets-file",
2007
2051
  "type": "string",
2008
2052
  "required": false,
2009
- "description": "Path to a file containing secrets to upload with the version (JSON or .env format)"
2053
+ "description": "Path to a file containing secrets to upload with the version (JSON or .env format). Dotenv values expand $VAR and ${VAR} using process environment values and earlier file values; process environment values override file values, including empty values. Only declared file keys are uploaded. Only use trusted dotenv secrets files: they can read and upload any process environment value. Escape literal dollar signs with \\$ or use JSON."
2010
2054
  },
2011
2055
  {
2012
2056
  "name": "dry-run",
@@ -664,6 +664,12 @@
664
664
  "required": false,
665
665
  "description": "The data.zip_code field"
666
666
  },
667
+ {
668
+ "name": "explanation",
669
+ "type": "string",
670
+ "required": false,
671
+ "description": "Optional explanation for a \"content_removed\" appeal, such as how the content was removed. Not accepted for other appeal types."
672
+ },
667
673
  {
668
674
  "name": "type",
669
675
  "type": "string",
@@ -1569,6 +1575,26 @@
1569
1575
  "hasRequestBody": false,
1570
1576
  "requestBodyFields": []
1571
1577
  },
1578
+ "accounts entitlements get": {
1579
+ "operationId": "accounts.entitlements.get",
1580
+ "httpMethod": "GET",
1581
+ "path": "/{account_or_zone}/{account_or_zone_id}/entitlements",
1582
+ "pathParams": [
1583
+ {
1584
+ "name": "account_or_zone",
1585
+ "type": "string",
1586
+ "required": true
1587
+ },
1588
+ {
1589
+ "name": "account_or_zone_id",
1590
+ "type": "string",
1591
+ "required": true
1592
+ }
1593
+ ],
1594
+ "queryParams": [],
1595
+ "hasRequestBody": false,
1596
+ "requestBodyFields": []
1597
+ },
1572
1598
  "accounts get": {
1573
1599
  "operationId": "accounts.get",
1574
1600
  "httpMethod": "GET",
@@ -13529,8 +13555,15 @@
13529
13555
  }
13530
13556
  ],
13531
13557
  "queryParams": [],
13532
- "hasRequestBody": false,
13533
- "requestBodyFields": []
13558
+ "hasRequestBody": true,
13559
+ "requestBodyFields": [
13560
+ {
13561
+ "name": "credential-token",
13562
+ "type": "string",
13563
+ "required": false,
13564
+ "description": "Provides the Cloudflare API token for accessing R2."
13565
+ }
13566
+ ]
13534
13567
  },
13535
13568
  "basin-catalog get": {
13536
13569
  "operationId": "basin-catalog.get",
@@ -25214,6 +25247,32 @@
25214
25247
  }
25215
25248
  ]
25216
25249
  },
25250
+ "cloudforce-one threat-intel indicators bulk-delete": {
25251
+ "operationId": "cloudforce-one.threat-intel.indicators.bulk-delete",
25252
+ "httpMethod": "DELETE",
25253
+ "path": "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators",
25254
+ "pathParams": [
25255
+ {
25256
+ "name": "account_id",
25257
+ "type": "string",
25258
+ "required": true
25259
+ },
25260
+ {
25261
+ "name": "dataset_id",
25262
+ "type": "string",
25263
+ "required": true
25264
+ }
25265
+ ],
25266
+ "queryParams": [
25267
+ {
25268
+ "name": "indicatorIds",
25269
+ "type": "array",
25270
+ "required": true
25271
+ }
25272
+ ],
25273
+ "hasRequestBody": false,
25274
+ "requestBodyFields": []
25275
+ },
25217
25276
  "cloudforce-one threat-intel indicators create": {
25218
25277
  "operationId": "cloudforce-one.threat-intel.indicators.create",
25219
25278
  "httpMethod": "POST",
@@ -26490,6 +26549,11 @@
26490
26549
  "name": "published_before",
26491
26550
  "type": "string",
26492
26551
  "required": false
26552
+ },
26553
+ {
26554
+ "name": "read",
26555
+ "type": "boolean",
26556
+ "required": false
26493
26557
  }
26494
26558
  ],
26495
26559
  "hasRequestBody": false,
@@ -26517,6 +26581,16 @@
26517
26581
  "type": "string",
26518
26582
  "required": false
26519
26583
  },
26584
+ {
26585
+ "name": "read",
26586
+ "type": "boolean",
26587
+ "required": false
26588
+ },
26589
+ {
26590
+ "name": "pir_id",
26591
+ "type": "string",
26592
+ "required": false
26593
+ },
26520
26594
  {
26521
26595
  "name": "min_relevance",
26522
26596
  "type": "string",
@@ -31327,6 +31401,12 @@
31327
31401
  "required": false,
31328
31402
  "description": "Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same `ip_set` and `advanced` value may reuse addresses; otherwise, they use disjoint address groups."
31329
31403
  },
31404
+ {
31405
+ "name": "name",
31406
+ "type": "string",
31407
+ "required": true,
31408
+ "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses."
31409
+ },
31330
31410
  {
31331
31411
  "name": "nameservers",
31332
31412
  "type": "string",
@@ -31355,6 +31435,33 @@
31355
31435
  "hasRequestBody": false,
31356
31436
  "requestBodyFields": []
31357
31437
  },
31438
+ "dns settings account nameserver-sets edit": {
31439
+ "operationId": "dns.settings.account.nameserver-sets.edit",
31440
+ "httpMethod": "PATCH",
31441
+ "path": "/accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}",
31442
+ "pathParams": [
31443
+ {
31444
+ "name": "account_id",
31445
+ "type": "string",
31446
+ "required": true
31447
+ },
31448
+ {
31449
+ "name": "nameserver_set_id",
31450
+ "type": "string",
31451
+ "required": true
31452
+ }
31453
+ ],
31454
+ "queryParams": [],
31455
+ "hasRequestBody": true,
31456
+ "requestBodyFields": [
31457
+ {
31458
+ "name": "name",
31459
+ "type": "string",
31460
+ "required": false,
31461
+ "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses."
31462
+ }
31463
+ ]
31464
+ },
31358
31465
  "dns settings account nameserver-sets get": {
31359
31466
  "operationId": "dns.settings.account.nameserver-sets.get",
31360
31467
  "httpMethod": "GET",
@@ -37409,6 +37516,73 @@
37409
37516
  }
37410
37517
  ]
37411
37518
  },
37519
+ "firewall payload-logging delete": {
37520
+ "operationId": "firewall.payload-logging.delete",
37521
+ "httpMethod": "DELETE",
37522
+ "path": "/{account_or_zone}/{account_or_zone_id}/firewall/payload_logging/key",
37523
+ "pathParams": [
37524
+ {
37525
+ "name": "account_or_zone",
37526
+ "type": "string",
37527
+ "required": true
37528
+ },
37529
+ {
37530
+ "name": "account_or_zone_id",
37531
+ "type": "string",
37532
+ "required": true
37533
+ }
37534
+ ],
37535
+ "queryParams": [],
37536
+ "hasRequestBody": false,
37537
+ "requestBodyFields": []
37538
+ },
37539
+ "firewall payload-logging get": {
37540
+ "operationId": "firewall.payload-logging.get",
37541
+ "httpMethod": "GET",
37542
+ "path": "/{account_or_zone}/{account_or_zone_id}/firewall/payload_logging/key",
37543
+ "pathParams": [
37544
+ {
37545
+ "name": "account_or_zone",
37546
+ "type": "string",
37547
+ "required": true
37548
+ },
37549
+ {
37550
+ "name": "account_or_zone_id",
37551
+ "type": "string",
37552
+ "required": true
37553
+ }
37554
+ ],
37555
+ "queryParams": [],
37556
+ "hasRequestBody": false,
37557
+ "requestBodyFields": []
37558
+ },
37559
+ "firewall payload-logging update": {
37560
+ "operationId": "firewall.payload-logging.update",
37561
+ "httpMethod": "PUT",
37562
+ "path": "/{account_or_zone}/{account_or_zone_id}/firewall/payload_logging/key",
37563
+ "pathParams": [
37564
+ {
37565
+ "name": "account_or_zone",
37566
+ "type": "string",
37567
+ "required": true
37568
+ },
37569
+ {
37570
+ "name": "account_or_zone_id",
37571
+ "type": "string",
37572
+ "required": true
37573
+ }
37574
+ ],
37575
+ "queryParams": [],
37576
+ "hasRequestBody": true,
37577
+ "requestBodyFields": [
37578
+ {
37579
+ "name": "public-key",
37580
+ "type": "string",
37581
+ "required": true,
37582
+ "description": "Defines the X25519 public key, as standard base64 of exactly 32 bytes, that encrypts matched payloads. Cloudflare stores only the public key; keep the private key to decrypt logged payloads."
37583
+ }
37584
+ ]
37585
+ },
37412
37586
  "firewall ua-rules create": {
37413
37587
  "operationId": "firewall.ua-rules.create",
37414
37588
  "httpMethod": "POST",
@@ -97672,6 +97846,12 @@
97672
97846
  "required": true,
97673
97847
  "description": "The name of the Access policy."
97674
97848
  },
97849
+ {
97850
+ "name": "policy-resolution-account-id",
97851
+ "type": "string",
97852
+ "required": false,
97853
+ "description": "The account ID used to resolve policy resources and identity for cross-account WARP authentication. The account must be trusted by the account that owns this policy."
97854
+ },
97675
97855
  {
97676
97856
  "name": "require",
97677
97857
  "type": "string",
@@ -97855,6 +98035,12 @@
97855
98035
  "required": true,
97856
98036
  "description": "The name of the Access policy."
97857
98037
  },
98038
+ {
98039
+ "name": "policy-resolution-account-id",
98040
+ "type": "string",
98041
+ "required": false,
98042
+ "description": "The account ID used to resolve policy resources and identity for cross-account WARP authentication. The account must be trusted by the account that owns this policy."
98043
+ },
97858
98044
  {
97859
98045
  "name": "require",
97860
98046
  "type": "string",
@@ -105321,6 +105507,12 @@
105321
105507
  "required": false,
105322
105508
  "description": "Whether to add Microsoft IPs to Split Tunnel exclusions."
105323
105509
  },
105510
+ {
105511
+ "name": "global-acceleration-allow-manual-override",
105512
+ "type": "boolean",
105513
+ "required": false,
105514
+ "description": "Whether WARP users may manually override the automatic Global Acceleration decision. Defaults to true when not provided."
105515
+ },
105324
105516
  {
105325
105517
  "name": "global-acceleration-api-endpoints",
105326
105518
  "type": "string",
@@ -105625,6 +105817,12 @@
105625
105817
  "required": false,
105626
105818
  "description": "Whether to add Microsoft IPs to Split Tunnel exclusions."
105627
105819
  },
105820
+ {
105821
+ "name": "global-acceleration-allow-manual-override",
105822
+ "type": "boolean",
105823
+ "required": false,
105824
+ "description": "Whether WARP users may manually override the automatic Global Acceleration decision. Defaults to true when not provided."
105825
+ },
105628
105826
  {
105629
105827
  "name": "global-acceleration-api-endpoints",
105630
105828
  "type": "string",
@@ -105842,6 +106040,12 @@
105842
106040
  "required": false,
105843
106041
  "description": "Whether to add Microsoft IPs to Split Tunnel exclusions."
105844
106042
  },
106043
+ {
106044
+ "name": "global-acceleration-allow-manual-override",
106045
+ "type": "boolean",
106046
+ "required": false,
106047
+ "description": "Whether WARP users may manually override the automatic Global Acceleration decision. Defaults to true when not provided."
106048
+ },
105845
106049
  {
105846
106050
  "name": "global-acceleration-api-endpoints",
105847
106051
  "type": "string",
@@ -113119,6 +113323,77 @@
113119
113323
  "hasRequestBody": false,
113120
113324
  "requestBodyFields": []
113121
113325
  },
113326
+ "zero-trust organization trust-settings get": {
113327
+ "operationId": "zero-trust.organization.trust-settings.get",
113328
+ "httpMethod": "GET",
113329
+ "path": "/accounts/{account_id}/access/organizations/trust_settings",
113330
+ "pathParams": [
113331
+ {
113332
+ "name": "account_id",
113333
+ "type": "string",
113334
+ "required": true
113335
+ }
113336
+ ],
113337
+ "queryParams": [],
113338
+ "hasRequestBody": false,
113339
+ "requestBodyFields": []
113340
+ },
113341
+ "zero-trust organization trust-settings replace": {
113342
+ "operationId": "zero-trust.organization.trust-settings.replace",
113343
+ "httpMethod": "PUT",
113344
+ "path": "/accounts/{account_id}/access/organizations/trust_settings",
113345
+ "pathParams": [
113346
+ {
113347
+ "name": "account_id",
113348
+ "type": "string",
113349
+ "required": true
113350
+ }
113351
+ ],
113352
+ "queryParams": [],
113353
+ "hasRequestBody": true,
113354
+ "requestBodyFields": [
113355
+ {
113356
+ "name": "grant-trust-to-all-accounts-in-org",
113357
+ "type": "boolean",
113358
+ "required": true,
113359
+ "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources."
113360
+ },
113361
+ {
113362
+ "name": "trusting-accounts",
113363
+ "type": "string",
113364
+ "required": false,
113365
+ "description": "Explicit account IDs trusted to use this account's cross-account Access resources. At most 100 unique valid account IDs are accepted. Omitted from responses when empty."
113366
+ }
113367
+ ]
113368
+ },
113369
+ "zero-trust organization trust-settings update": {
113370
+ "operationId": "zero-trust.organization.trust-settings.update",
113371
+ "httpMethod": "PATCH",
113372
+ "path": "/accounts/{account_id}/access/organizations/trust_settings",
113373
+ "pathParams": [
113374
+ {
113375
+ "name": "account_id",
113376
+ "type": "string",
113377
+ "required": true
113378
+ }
113379
+ ],
113380
+ "queryParams": [],
113381
+ "hasRequestBody": true,
113382
+ "requestBodyFields": [
113383
+ {
113384
+ "name": "grant-trust-to-all-accounts-in-org",
113385
+ "type": "boolean",
113386
+ "required": false,
113387
+ "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources."
113388
+ },
113389
+ {
113390
+ "name": "trusting-accounts",
113391
+ "type": "string",
113392
+ "required": false,
113393
+ "description": "Explicit account IDs trusted to use this account's cross-account Access resources. At most 100 unique valid account IDs are accepted. Omitted from responses when empty."
113394
+ }
113395
+ ]
113396
+ },
113122
113397
  "zero-trust organization update": {
113123
113398
  "operationId": "zero-trust.organization.update",
113124
113399
  "httpMethod": "PUT",
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import"./api-X3wKppsT.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{t}from"./local-Y4rIAAtA.mjs";import{i as n,n as r}from"./auth-DkPhAgZv.mjs";import{a as i,t as a}from"./context-DoGlohS-.mjs";import{t as o}from"./output-BJEgbI0G.mjs";import{t as s}from"./dry-run-gy0Hl9xo.mjs";import{t as c}from"./progress-D2_AF54c.mjs";import{t as l}from"./run-C2-1SFrS.mjs";import"./telemetry-Q7QghPwV.mjs";import{a as u,n as d,s as f,t as p}from"./body-parser-BKcZS9iJ.mjs";import{n as m}from"./input-validation-D7z60HJH.mjs";import{a as h,i as g}from"./prompt-BBR19lgj.mjs";var _={method:`GET`,path:t=>e`/accounts/${t.account_id}/abuse-reports/${t.report_id}/appeals/eligibility`,errors:{401:`UnauthorizedError`,403:`ForbiddenError`,404:`NotFoundError`,500:`InternalServerError`}};function v(e){return e.usage(`$0 abuse-reports appeals eligibility <report-id>
2
+ import"./api-X3wKppsT.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{t}from"./local-BNmz58v4.mjs";import{i as n,n as r}from"./auth-CB9wjyad.mjs";import{a as i,t as a}from"./context-DCon1tRZ.mjs";import{t as o}from"./output-BJEgbI0G.mjs";import{t as s}from"./dry-run-gy0Hl9xo.mjs";import{t as c}from"./progress-_Jux05O5.mjs";import{t as l}from"./run-Br8sYjNF.mjs";import"./telemetry-kjElc1zT.mjs";import{a as u,n as d,s as f,t as p}from"./body-parser-BKcZS9iJ.mjs";import{n as m}from"./input-validation-D7z60HJH.mjs";import{a as h,i as g}from"./prompt-SNVLBS1b.mjs";var _={method:`GET`,path:t=>e`/accounts/${t.account_id}/abuse-reports/${t.report_id}/appeals/eligibility`,errors:{401:`UnauthorizedError`,403:`ForbiddenError`,404:`NotFoundError`,500:`InternalServerError`}};function v(e){return e.usage(`$0 abuse-reports appeals eligibility <report-id>
3
3
 
4
4
  Returns whether the report is currently appealable, along with the signals behind that decision: whether it already has an open appeal, how many appeals have been submitted against it, and whether it has at least one mitigation that an appeal could reverse. Report-level appeals are currently available only for DMCA (copyright) reports. For other report types this operation returns the same \`404 Report not found\` response as a report that does not exist for the account.`).positional(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const y={command:`eligibility <report-id>`,describe:`Check whether a report can be appealed`,builder:v,handler:async e=>l({command:`abuse-reports appeals eligibility`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf abuse-reports appeals eligibility`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/abuse-reports/${e[`report-id`]==null?`<report-id>`:encodeURIComponent(String(e[`report-id`]))}/appeals/eligibility`,pathParams:{"report-id":String(e[`report-id`]??``)},bodyKind:`none`});return}let n=await r(e),l=e.local?t:await a();e.accountId=l;let u=await c(`Loading`,async()=>n.send(_,{account_id:l,report_id:e[`report-id`]}));o(u,{successLabel:`Loaded`})})},b={command:`appeals`,describe:`Appeal eligibility for abuse reports`,builder:e=>e.command(y).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};function x(e){return e.usage("$0 abuse-reports create <report-type>\n\nSubmit an abuse report of a particular type. Requires the abuse-reports entitlement on the account (Enterprise accounts have it by default; other accounts must request access) and an API token with the `Trust and Safety Write` permission. If the account is not entitled, the request is rejected with an HTTP `401` response (see below). Delegated reports: In limited circumstances, Cloudflare works with select customers who have established abuse-handling programs. For these customers, Cloudflare may forward abuse reports directly and in full—including reporter contact information, comments, and supporting evidence—without redaction or preprocessing by Cloudflare. This allows the customer to investigate and respond using their own policies and processes. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of the `host_notification` and `owner_notification` values.").positional(`report-type`,{type:`string`,description:`The report type to be submitted. Example: abuse_general`,demandOption:!0}).option(`act`,{type:`string`,description:`The act field`,choices:[`abuse_dmca`,`abuse_trademark`,`abuse_general`,`abuse_phishing`,`abuse_children`,`abuse_threat`,`abuse_registrar_whois`,`abuse_ncsei`]}).coerce(`act`,e=>m(e,`act`,`text`)).option(`comments`,{type:`string`,description:`Any additional comments about the infringement not exceeding 2000 characters. Comments are kept internal to Cloudflare and not shared with the host or customer as part of regular processing. For delegated reports, comments may be shared in full.`}).option(`company`,{type:`string`,description:`Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`email`,{type:`string`,description:`A valid email of the abuse reporter. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`email2`,{type:`string`,description:"Should match the value provided in `email`"}).option(`name`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`reported-country`,{type:`string`,description:`Text containing 2 characters`}).option(`reported-user-agent`,{type:`string`,description:`Text not exceeding 255 characters`}).option(`tele`,{type:`string`,description:`Text not exceeding 20 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`title`,{type:`string`,description:`Text not exceeding 255 characters`}).option(`urls`,{type:`string`,description:`A list of valid URLs separated by ‘\\n’ (new line character). The list of the URLs should not exceed 250 URLs. All URLs should have the same hostname. Each URL should be unique. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`address1`,{type:`string`,description:`Text not exceeding 100 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`agent-name`,{type:`string`,description:`The name of the copyright holder. Text not exceeding 60 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`agree`,{type:`number`,description:"Can be `0` for false or `1` for true. Must be value: 1 for DMCA reports"}).option(`city`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).`}).option(`country`,{type:`string`,description:`Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).
5
5
  `}).option(`host-notification`,{type:`string`,description:`Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.
@@ -17,8 +17,8 @@ Retrieve a report submitted by the account.`).positional(`report-id`,{type:`stri
17
17
 
18
18
  Retrieve the details of an abuse report made against a domain or other content associated with the account. To retrieve a report that the account submitted, use the submitted abuse report endpoint instead.`).positional(`report-id`,{type:`string`,description:`Public report ID.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const P={command:`get <report-id>`,describe:`Get an abuse report against the account`,builder:N,handler:async e=>l({command:`abuse-reports get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf abuse-reports get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/abuse-reports/${e[`report-id`]==null?`<report-id>`:encodeURIComponent(String(e[`report-id`]))}`,pathParams:{"report-id":String(e[`report-id`]??``)},bodyKind:`none`});return}let l=await r(e),u=e.local?t:await a();e.accountId=u;let d=await c(`Loading`,async()=>n(l,`GET`,`/accounts/${u}/abuse-reports/${encodeURIComponent(String(e[`report-id`]))}`));o(d,{successLabel:`Loaded`})})};var F={method:`GET`,path:t=>e`/accounts/${t.account_id}/abuse-reports/submitted`,query:[`page`,`per_page`,`sort`,`id`,`domain`,`created_before`,`created_after`,`status`,`type`],errors:{400:`BadRequestError`,401:`UnauthorizedError`,403:`ForbiddenError`,500:`InternalServerError`}};function I(e){return e.usage(`$0 abuse-reports list-submitted
19
19
 
20
- List abuse reports submitted by the account.`).option(`page`,{type:`number`,description:`Page of submitted reports to return.`}).option(`per-page`,{type:`number`,description:`Number of submitted reports per page.`}).option(`sort`,{type:`string`,description:`A property and direction to sort by (id, cdate, domain, type, status).`}).option(`id`,{type:`string`,description:`Filter by report code.`}).option(`domain`,{type:`string`,description:`Filter by reported domain. This parameter can be specified multiple times.`}).option(`created-before`,{type:`string`,description:`Return reports submitted before this time.`}).option(`created-after`,{type:`string`,description:`Return reports submitted after this time.`}).option(`status`,{type:`string`,description:`Filter by submitter-facing status. This parameter can be specified multiple times.`}).option(`type`,{type:`string`,description:`Filter by report type. This parameter can be specified multiple times.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const L={command:`list-submitted`,describe:`List submitted abuse reports`,builder:I,handler:async e=>l({command:`abuse-reports list-submitted`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let n={page:e.page,per_page:e[`per-page`],sort:e.sort,id:e.id,domain:e.domain,created_before:e[`created-before`],created_after:e[`created-after`],status:e.status,type:e.type};if(e.dryRun){let e=await i();s({command:`cf abuse-reports list-submitted`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/abuse-reports/submitted`,pathParams:{},query:n,bodyKind:`none`});return}let l=await r(e),u=e.local?t:await a();e.accountId=u;let d=await c(`Loading`,async()=>l.send(F,{account_id:u,...n}));o(d,{successLabel:`Loaded`})})};var R={method:`GET`,path:t=>e`/accounts/${t.account_id}/abuse-reports`,query:[`page`,`per_page`,`sort`,`search`,`domain`,`created_before`,`created_after`,`status`,`type`,`mitigation_status`],errors:{400:`BadRequestError`,401:`UnauthorizedError`,403:`ForbiddenError`,500:`InternalServerError`}};function z(e){return e.usage(`$0 abuse-reports list
20
+ List abuse reports submitted by the account.`).option(`page`,{type:`number`,description:`Page of submitted reports to return.`}).option(`per-page`,{type:`number`,description:`Number of submitted reports per page.`}).option(`sort`,{type:`string`,description:`A property and direction to sort by (id, cdate, domain, type, status).`}).option(`id`,{type:`string`,description:`Filter by report code.`}).option(`domain`,{type:`string`,array:!0,description:`Filter by reported domain. This parameter can be specified multiple times.`}).option(`created-before`,{type:`string`,description:`Return reports submitted before this time.`}).option(`created-after`,{type:`string`,description:`Return reports submitted after this time.`}).option(`status`,{type:`string`,array:!0,description:`Filter by submitter-facing status. This parameter can be specified multiple times.`}).option(`type`,{type:`string`,array:!0,description:`Filter by report type. This parameter can be specified multiple times.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const L={command:`list-submitted`,describe:`List submitted abuse reports`,builder:I,handler:async e=>l({command:`abuse-reports list-submitted`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let n={page:e.page,per_page:e[`per-page`],sort:e.sort,id:e.id,domain:e.domain,created_before:e[`created-before`],created_after:e[`created-after`],status:e.status,type:e.type};if(e.dryRun){let e=await i();s({command:`cf abuse-reports list-submitted`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/abuse-reports/submitted`,pathParams:{},query:n,bodyKind:`none`});return}let l=await r(e),u=e.local?t:await a();e.accountId=u;let d=await c(`Loading`,async()=>l.send(F,{account_id:u,...n}));o(d,{successLabel:`Loaded`})})};var R={method:`GET`,path:t=>e`/accounts/${t.account_id}/abuse-reports`,query:[`page`,`per_page`,`sort`,`search`,`domain`,`created_before`,`created_after`,`status`,`type`,`mitigation_status`],errors:{400:`BadRequestError`,401:`UnauthorizedError`,403:`ForbiddenError`,500:`InternalServerError`}};function z(e){return e.usage(`$0 abuse-reports list
21
21
 
22
22
  List abuse reports made against domains or other content associated with the account. To list reports that the account submitted, use the submitted abuse reports endpoint instead.`).option(`page`,{type:`number`,description:`Where in pagination to start listing abuse reports`}).option(`per-page`,{type:`number`,description:`How many abuse reports per page to list`}).option(`sort`,{type:`string`,description:`A property to sort by, followed by the order (id, cdate, domain, type, status)`}).option(`search`,{type:`string`,description:`Free-text search. Returns reports whose report ID starts with the term or whose domain contains the term, both case-insensitively. Surrounding whitespace is ignored, and an empty value is treated as absent. Combined with the other filters using AND.`}).option(`domain`,{type:`string`,description:`Filter by domain name related to the abuse report`}).option(`created-before`,{type:`string`,description:`Returns reports created before the specified date`}).option(`created-after`,{type:`string`,description:`Returns reports created after the specified date`}).option(`status`,{type:`string`,description:`Filter by the status of the report.`,choices:[`accepted`,`in_review`]}).option(`type`,{type:`string`,description:`Filter by the type of the report.`,choices:[`PHISH`,`GEN`,`THREAT`,`DMCA`,`EMER`,`TM`,`REG_WHO`,`NCSEI`,`NETWORK`]}).option(`mitigation-status`,{type:`string`,description:`Filter reports that have any mitigations in the given status.`,choices:[`pending`,`active`,`in_review`,`cancelled`,`removed`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const B={command:`list`,describe:`List abuse reports against the account`,builder:z,handler:async e=>l({command:`abuse-reports list`,classification:{safeFlags:[`status`,`type`,`mitigation-status`,`dry-run`]}},e,async()=>{let n={page:e.page,per_page:e[`per-page`],sort:e.sort,search:e.search,domain:e.domain,created_before:e[`created-before`],created_after:e[`created-after`],status:e.status,type:e.type,mitigation_status:e[`mitigation-status`]};if(e.dryRun){let e=await i();s({command:`cf abuse-reports list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/abuse-reports`,pathParams:{},query:n,bodyKind:`none`});return}let l=await r(e),u=e.local?t:await a();e.accountId=u;let d=await c(`Loading`,async()=>l.send(R,{account_id:u,...n}));o(d,{successLabel:`Loaded`})})};var V={method:`GET`,path:t=>e`/accounts/${t.account_id}/abuse-reports/${t.report_id}/mitigations`,query:[`page`,`per_page`,`sort`,`type`,`effective_before`,`effective_after`,`status`,`entity_type`],errors:{401:`UnauthorizedError`,403:`ForbiddenError`,500:`InternalServerError`}};function H(e){return e.usage(`$0 abuse-reports mitigations list
23
23
 
24
- List mitigations done to remediate the abuse report.`).option(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`page`,{type:`number`,description:`Where in pagination to start listing abuse reports`}).option(`per-page`,{type:`number`,description:`How many abuse reports per page to list`}).option(`sort`,{type:`string`,description:`A property to sort by, followed by the order`,choices:[`type,asc`,`type,desc`,`effective_date,asc`,`effective_date,desc`,`status,asc`,`status,desc`,`entity_type,asc`,`entity_type,desc`]}).option(`type`,{type:`string`,description:`Filter by the type of mitigation. This filter parameter can be specified multiple times to include multiple types of mitigations in the result set.`}).option(`effective-before`,{type:`string`,description:`Returns mitigations that were dispatched before the given date`}).option(`effective-after`,{type:`string`,description:`Returns mitigation that were dispatched after the given date`}).option(`status`,{type:`string`,description:`Filter by the status of the mitigation.`,choices:[`pending`,`active`,`in_review`,`cancelled`,`removed`]}).option(`entity-type`,{type:`string`,description:`Filter by the type of entity the mitigation impacts.`,choices:[`url_pattern`,`account`,`zone`,`custom_expression`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const U={command:`list`,describe:`List abuse report mitigations`,builder:H,handler:async e=>l({command:`abuse-reports mitigations list`,classification:{safeFlags:[`sort`,`status`,`entity-type`,`dry-run`]}},e,async()=>{let n={page:e.page,per_page:e[`per-page`],sort:e.sort,type:e.type,effective_before:e[`effective-before`],effective_after:e[`effective-after`],status:e.status,entity_type:e[`entity-type`]};if(e.dryRun){let t=await i();s({command:`cf abuse-reports mitigations list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/abuse-reports/${e[`report-id`]==null?`<report-id>`:encodeURIComponent(String(e[`report-id`]))}/mitigations`,pathParams:{"report-id":String(e[`report-id`]??``)},query:n,bodyKind:`none`});return}let l=await r(e),u=e.local?t:await a();e.accountId=u;let d=await c(`Loading`,async()=>l.send(V,{account_id:u,report_id:e[`report-id`],...n}));o(d,{successLabel:`Loaded`})})};var W={method:`POST`,path:t=>e`/accounts/${t.account_id}/abuse-reports/${t.report_id}/mitigations/appeal`,body:`json`,errors:{401:`UnauthorizedError`,403:`ForbiddenError`,500:`InternalServerError`}};function G(e){return e.usage("$0 abuse-reports mitigations review <report-id>\n\nRequest a review of mitigations applied because of an abuse report, or submit a report-level appeal. - To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state. - To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.").positional(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`appeals`,{type:`string`,description:`List of mitigations to appeal. Provide as a JSON array of objects or @path/to/file.json.`}).option(`data-city`,{type:`string`,description:`The data.city field`}).option(`data-company`,{type:`string`,description:`The data.company field`}).option(`data-counter-notice-response`,{type:`string`,description:`The data.counter_notice_response field`}).option(`data-country`,{type:`string`,description:`The data.country field`}).option(`data-email`,{type:`string`,description:`The data.email field`}).option(`data-full-name`,{type:`string`,description:`The data.full_name field`}).option(`data-jurisdiction-consent`,{type:`boolean`,description:`The data.jurisdiction_consent field`}).option(`data-perjury-attestation`,{type:`boolean`,description:`The data.perjury_attestation field`}).option(`data-phone-number`,{type:`string`,description:`The data.phone_number field`}).option(`data-signature`,{type:`string`,description:`The data.signature field`}).option(`data-state`,{type:`string`,description:`The data.state field`}).option(`data-street-address`,{type:`string`,description:`The data.street_address field`}).option(`data-urls`,{type:`string`,array:!0,description:`The data.urls field`}).option(`data-zip-code`,{type:`string`,description:`The data.zip_code field`}).option(`type`,{type:`string`,description:`The type of appeal being submitted.`,choices:[`counter_notice`,`content_removed`]}).coerce(`type`,e=>m(e,`type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Submit an appeal for a report. Provide either a list of mitigations to appeal, or an appeal type with its supporting details, but not both. When type is "counter_notice", the counter-notice details are required.`}).check(e=>{if([`data-city`,`data-company`,`data-counter-notice-response`,`data-country`,`data-email`,`data-full-name`,`data-jurisdiction-consent`,`data-perjury-attestation`,`data-phone-number`,`data-signature`,`data-state`,`data-street-address`,`data-urls`,`data-zip-code`].some(t=>e[t]!==void 0)){let t=[`data-city`,`data-country`,`data-email`,`data-full-name`,`data-jurisdiction-consent`,`data-perjury-attestation`,`data-phone-number`,`data-signature`,`data-state`,`data-street-address`,`data-urls`,`data-zip-code`].filter(t=>e[t]===void 0);if(t.length>0)throw Error(`${t.map(e=>`--`+e).join(`, `)} ${t.length===1?`is`:`are`} required when any --data-* flag is set`)}return!0})}const K={command:`review <report-id>`,describe:`Request review on mitigations`,builder:G,handler:async e=>l({command:`abuse-reports mitigations review`,classification:{safeFlags:[`data-jurisdiction-consent`,`data-perjury-attestation`,`type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf abuse-reports mitigations review`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/abuse-reports/${e[`report-id`]==null?`<report-id>`:encodeURIComponent(String(e[`report-id`]))}/mitigations/appeal`,pathParams:{"report-id":String(e[`report-id`]??``)},bodyKind:`json`,body:e.body===void 0?p({appeals:u(e.appeals,`appeals`),data:{city:m(e[`data-city`],`data-city`,`text`),company:m(e[`data-company`],`data-company`,`text`),counter_notice_response:m(e[`data-counter-notice-response`],`data-counter-notice-response`,`text`),country:m(e[`data-country`],`data-country`,`text`),email:m(e[`data-email`],`data-email`,`text`),full_name:m(e[`data-full-name`],`data-full-name`,`text`),jurisdiction_consent:e[`data-jurisdiction-consent`],perjury_attestation:e[`data-perjury-attestation`],phone_number:m(e[`data-phone-number`],`data-phone-number`,`text`),signature:m(e[`data-signature`],`data-signature`,`text`),state:m(e[`data-state`],`data-state`,`text`),street_address:m(e[`data-street-address`],`data-street-address`,`text`),urls:e[`data-urls`],zip_code:m(e[`data-zip-code`],`data-zip-code`,`text`)},type:e.type}):d(e.body)});return}let n=await r(e),l=e.local?t:await a();if(e.accountId=l,e.body){let t=d(e.body),r=await c(`Creating`,async()=>n.send(W,{body:t,account_id:l,report_id:e[`report-id`]}));o(r,{successLabel:`Created`});return}let f=p({appeals:u(e.appeals,`appeals`),data:{city:m(e[`data-city`],`data-city`,`text`),company:m(e[`data-company`],`data-company`,`text`),counter_notice_response:m(e[`data-counter-notice-response`],`data-counter-notice-response`,`text`),country:m(e[`data-country`],`data-country`,`text`),email:m(e[`data-email`],`data-email`,`text`),full_name:m(e[`data-full-name`],`data-full-name`,`text`),jurisdiction_consent:e[`data-jurisdiction-consent`],perjury_attestation:e[`data-perjury-attestation`],phone_number:m(e[`data-phone-number`],`data-phone-number`,`text`),signature:m(e[`data-signature`],`data-signature`,`text`),state:m(e[`data-state`],`data-state`,`text`),street_address:m(e[`data-street-address`],`data-street-address`,`text`),urls:e[`data-urls`],zip_code:m(e[`data-zip-code`],`data-zip-code`,`text`)},type:e.type}),h=await c(`Creating`,async()=>n.send(W,{body:f,account_id:l,report_id:e[`report-id`]}));o(h,{successLabel:`Created`})})},q={command:`mitigations`,describe:`Mitigation actions taken in response to abuse reports`,builder:e=>e.command(U).command(K).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},J={command:`abuse-reports`,describe:`Submit and track abuse reports for phishing, malware, and other policy violations on Cloudflare-proxied sites`,builder:e=>e.command(S).command(P).command(M).command(B).command(L).command(b).command(k).command(q).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{J as default};
24
+ List mitigations done to remediate the abuse report.`).option(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`page`,{type:`number`,description:`Where in pagination to start listing abuse reports`}).option(`per-page`,{type:`number`,description:`How many abuse reports per page to list`}).option(`sort`,{type:`string`,description:`A property to sort by, followed by the order`,choices:[`type,asc`,`type,desc`,`effective_date,asc`,`effective_date,desc`,`status,asc`,`status,desc`,`entity_type,asc`,`entity_type,desc`]}).option(`type`,{type:`string`,description:`Filter by the type of mitigation. This filter parameter can be specified multiple times to include multiple types of mitigations in the result set.`}).option(`effective-before`,{type:`string`,description:`Returns mitigations that were dispatched before the given date`}).option(`effective-after`,{type:`string`,description:`Returns mitigation that were dispatched after the given date`}).option(`status`,{type:`string`,description:`Filter by the status of the mitigation.`,choices:[`pending`,`active`,`in_review`,`cancelled`,`removed`]}).option(`entity-type`,{type:`string`,description:`Filter by the type of entity the mitigation impacts.`,choices:[`url_pattern`,`account`,`zone`,`custom_expression`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const U={command:`list`,describe:`List abuse report mitigations`,builder:H,handler:async e=>l({command:`abuse-reports mitigations list`,classification:{safeFlags:[`sort`,`status`,`entity-type`,`dry-run`]}},e,async()=>{let n={page:e.page,per_page:e[`per-page`],sort:e.sort,type:e.type,effective_before:e[`effective-before`],effective_after:e[`effective-after`],status:e.status,entity_type:e[`entity-type`]};if(e.dryRun){let t=await i();s({command:`cf abuse-reports mitigations list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/abuse-reports/${e[`report-id`]==null?`<report-id>`:encodeURIComponent(String(e[`report-id`]))}/mitigations`,pathParams:{"report-id":String(e[`report-id`]??``)},query:n,bodyKind:`none`});return}let l=await r(e),u=e.local?t:await a();e.accountId=u;let d=await c(`Loading`,async()=>l.send(V,{account_id:u,report_id:e[`report-id`],...n}));o(d,{successLabel:`Loaded`})})};var W={method:`POST`,path:t=>e`/accounts/${t.account_id}/abuse-reports/${t.report_id}/mitigations/appeal`,body:`json`,errors:{401:`UnauthorizedError`,403:`ForbiddenError`,500:`InternalServerError`}};function G(e){return e.usage("$0 abuse-reports mitigations review <report-id>\n\nRequest a review of mitigations applied because of an abuse report, or submit a report-level appeal. - To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state. - To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.").positional(`report-id`,{type:`string`,description:`Abuse Report ID`,demandOption:!0}).option(`appeals`,{type:`string`,description:`List of mitigations to appeal. Provide as a JSON array of objects or @path/to/file.json.`}).option(`data-city`,{type:`string`,description:`The data.city field`}).option(`data-company`,{type:`string`,description:`The data.company field`}).option(`data-counter-notice-response`,{type:`string`,description:`The data.counter_notice_response field`}).option(`data-country`,{type:`string`,description:`The data.country field`}).option(`data-email`,{type:`string`,description:`The data.email field`}).option(`data-full-name`,{type:`string`,description:`The data.full_name field`}).option(`data-jurisdiction-consent`,{type:`boolean`,description:`The data.jurisdiction_consent field`}).option(`data-perjury-attestation`,{type:`boolean`,description:`The data.perjury_attestation field`}).option(`data-phone-number`,{type:`string`,description:`The data.phone_number field`}).option(`data-signature`,{type:`string`,description:`The data.signature field`}).option(`data-state`,{type:`string`,description:`The data.state field`}).option(`data-street-address`,{type:`string`,description:`The data.street_address field`}).option(`data-urls`,{type:`string`,array:!0,description:`The data.urls field`}).option(`data-zip-code`,{type:`string`,description:`The data.zip_code field`}).option(`explanation`,{type:`string`,description:`Optional explanation for a "content_removed" appeal, such as how the content was removed. Not accepted for other appeal types.`}).option(`type`,{type:`string`,description:`The type of appeal being submitted.`,choices:[`counter_notice`,`content_removed`]}).coerce(`type`,e=>m(e,`type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:'Submit an appeal for a report. Provide either a list of mitigations to appeal, or an appeal type with its supporting details, but not both. When type is "counter_notice", the counter-notice details are required. A "content_removed" appeal takes an optional explanation instead and is accepted only while the report is in its Notice and Takedown notice period (`has_pending_notice` on the eligibility response). Reports that allow a single appeal (`max_appeals` of 1) never have a notice period and accept it whenever `appealable` is true.'}).check(e=>{if([`data-city`,`data-company`,`data-counter-notice-response`,`data-country`,`data-email`,`data-full-name`,`data-jurisdiction-consent`,`data-perjury-attestation`,`data-phone-number`,`data-signature`,`data-state`,`data-street-address`,`data-urls`,`data-zip-code`].some(t=>e[t]!==void 0)){let t=[`data-city`,`data-country`,`data-email`,`data-full-name`,`data-jurisdiction-consent`,`data-perjury-attestation`,`data-phone-number`,`data-signature`,`data-state`,`data-street-address`,`data-urls`,`data-zip-code`].filter(t=>e[t]===void 0);if(t.length>0)throw Error(`${t.map(e=>`--`+e).join(`, `)} ${t.length===1?`is`:`are`} required when any --data-* flag is set`)}return!0})}const K={command:`review <report-id>`,describe:`Request review on mitigations`,builder:G,handler:async e=>l({command:`abuse-reports mitigations review`,classification:{safeFlags:[`data-jurisdiction-consent`,`data-perjury-attestation`,`type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf abuse-reports mitigations review`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/abuse-reports/${e[`report-id`]==null?`<report-id>`:encodeURIComponent(String(e[`report-id`]))}/mitigations/appeal`,pathParams:{"report-id":String(e[`report-id`]??``)},bodyKind:`json`,body:e.body===void 0?p({appeals:u(e.appeals,`appeals`),data:{city:m(e[`data-city`],`data-city`,`text`),company:m(e[`data-company`],`data-company`,`text`),counter_notice_response:m(e[`data-counter-notice-response`],`data-counter-notice-response`,`text`),country:m(e[`data-country`],`data-country`,`text`),email:m(e[`data-email`],`data-email`,`text`),full_name:m(e[`data-full-name`],`data-full-name`,`text`),jurisdiction_consent:e[`data-jurisdiction-consent`],perjury_attestation:e[`data-perjury-attestation`],phone_number:m(e[`data-phone-number`],`data-phone-number`,`text`),signature:m(e[`data-signature`],`data-signature`,`text`),state:m(e[`data-state`],`data-state`,`text`),street_address:m(e[`data-street-address`],`data-street-address`,`text`),urls:e[`data-urls`],zip_code:m(e[`data-zip-code`],`data-zip-code`,`text`)},explanation:m(e.explanation,`explanation`,`text`),type:e.type}):d(e.body)});return}let n=await r(e),l=e.local?t:await a();if(e.accountId=l,e.body){let t=d(e.body),r=await c(`Creating`,async()=>n.send(W,{body:t,account_id:l,report_id:e[`report-id`]}));o(r,{successLabel:`Created`});return}let f=p({appeals:u(e.appeals,`appeals`),data:{city:m(e[`data-city`],`data-city`,`text`),company:m(e[`data-company`],`data-company`,`text`),counter_notice_response:m(e[`data-counter-notice-response`],`data-counter-notice-response`,`text`),country:m(e[`data-country`],`data-country`,`text`),email:m(e[`data-email`],`data-email`,`text`),full_name:m(e[`data-full-name`],`data-full-name`,`text`),jurisdiction_consent:e[`data-jurisdiction-consent`],perjury_attestation:e[`data-perjury-attestation`],phone_number:m(e[`data-phone-number`],`data-phone-number`,`text`),signature:m(e[`data-signature`],`data-signature`,`text`),state:m(e[`data-state`],`data-state`,`text`),street_address:m(e[`data-street-address`],`data-street-address`,`text`),urls:e[`data-urls`],zip_code:m(e[`data-zip-code`],`data-zip-code`,`text`)},explanation:m(e.explanation,`explanation`,`text`),type:e.type}),h=await c(`Creating`,async()=>n.send(W,{body:f,account_id:l,report_id:e[`report-id`]}));o(h,{successLabel:`Created`})})},q={command:`mitigations`,describe:`Mitigation actions taken in response to abuse reports`,builder:e=>e.command(U).command(K).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},J={command:`abuse-reports`,describe:`Submit and track abuse reports for phishing, malware, and other policy violations on Cloudflare-proxied sites`,builder:e=>e.command(S).command(P).command(M).command(B).command(L).command(b).command(k).command(q).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{J as default};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{t as e}from"./lazy-command-JgUZQW-c.mjs";import{t}from"./hand-written-dry-run-B82fRl2N.mjs";var n=e(`curl <url>`,`Run curl against an Access-protected application with its JWT injected by cloudflared.`,()=>import(`./command-CKXrXY0q.mjs`),{command:`access curl`,recordArgs:!1}),r=e(`login <url>`,`Authenticate with an Access application and store its JWT through cloudflared.`,()=>import(`./command-CBQp3Znu.mjs`),{command:`access login`,recordArgs:!1}),i=e(`ssh-config`,`Print an example SSH configuration for an Access application.`,()=>import(`./command-DRBtP4R8.mjs`),{command:`access ssh-config`,recordArgs:!1}),a=e(`ssh-gen`,`Generate a short-lived certificate for an Access SSH application.`,()=>import(`./command-C2ZXXZI4.mjs`),{command:`access ssh-gen`,recordArgs:!1}),o={...e(`tcp`,`Proxy a TCP connection through Access. The command is also available as ssh, rdp, and smb.`,()=>import(`./command-CszTdUQV.mjs`),{command:`access tcp`,recordArgs:!1}),aliases:[`ssh`,`rdp`,`smb`]},s=e(`token <url>`,`Print a JWT for authenticating with an Access application.`,()=>import(`./command-BqEoltQG.mjs`),{command:`access token`,recordArgs:!1});const c={command:`access`,describe:`Access protected applications and services`,builder:e=>e.command(t(n,`preview`)).command(t(r,`preview`)).command(t(i,`preview`)).command(t(a,`preview`)).command(t(o,`preview`)).command(t(s,`preview`)).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{c as default};
2
+ import{t as e}from"./lazy-command-DjGzxiUT.mjs";import{t}from"./hand-written-dry-run-B82fRl2N.mjs";var n=e(`curl <url>`,`Run curl against an Access-protected application with its JWT injected by cloudflared.`,()=>import(`./command-CDYTsmxe.mjs`),{command:`access curl`,recordArgs:!1}),r=e(`login <url>`,`Authenticate with an Access application and store its JWT through cloudflared.`,()=>import(`./command-CXwKBbj9.mjs`),{command:`access login`,recordArgs:!1}),i=e(`ssh-config`,`Print an example SSH configuration for an Access application.`,()=>import(`./command-ClneauMx.mjs`),{command:`access ssh-config`,recordArgs:!1}),a=e(`ssh-gen`,`Generate a short-lived certificate for an Access SSH application.`,()=>import(`./command-YFWLEK8W.mjs`),{command:`access ssh-gen`,recordArgs:!1}),o={...e(`tcp`,`Proxy a TCP connection through Access. The command is also available as ssh, rdp, and smb.`,()=>import(`./command-DPOjEs1B.mjs`),{command:`access tcp`,recordArgs:!1}),aliases:[`ssh`,`rdp`,`smb`]},s=e(`token <url>`,`Print a JWT for authenticating with an Access application.`,()=>import(`./command-CCDzJjIB.mjs`),{command:`access token`,recordArgs:!1});const c={command:`access`,describe:`Access protected applications and services`,builder:e=>e.command(t(n,`preview`)).command(t(r,`preview`)).command(t(i,`preview`)).command(t(a,`preview`)).command(t(o,`preview`)).command(t(s,`preview`)).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{c as default};