cf 1.0.0-beta.2 → 1.0.0-beta.3
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.
- package/README.md +1 -0
- package/dist/_meta/commands.json +28025 -30372
- package/dist/_meta/hand-written-commands.json +72 -49
- package/dist/_meta/schemas.json +18618 -20269
- package/dist/{abuse-reports-JcwSaW-c.mjs → abuse-reports-CWX7WKhe.mjs} +1 -1
- package/dist/access-2aKv_Dya.mjs +2 -0
- package/dist/{account-CLsfIk5j.mjs → account-CnZO9-bl.mjs} +1 -1
- package/dist/{account-tags-BJdDiyDi.mjs → account-tags-ClLZOfTA.mjs} +1 -1
- package/dist/{accounts-6eXqIqSW.mjs → accounts-Cbj9aFyY.mjs} +1 -1
- package/dist/{acm-ChNLnPqM.mjs → acm-wGJ9cnzE.mjs} +1 -1
- package/dist/{addressing-z8ei_TCh.mjs → addressing-YvHX2dAb.mjs} +5 -5
- package/dist/{agent-memory-Un0usAVF.mjs → agent-memory-B4N-lmLb.mjs} +1 -1
- package/dist/{ai-audit-FR6QuDK_.mjs → ai-audit-CG_DG6N7.mjs} +1 -1
- package/dist/ai-gateway-DUttjxrN.mjs +80 -0
- package/dist/{ai-Bj8kgDf7.mjs → ai-lziiVEGR.mjs} +1 -1
- package/dist/{ai-search-BvMeOKK6.mjs → ai-search-k63uopiK.mjs} +1 -1
- package/dist/{ai-security-BHvDKoM1.mjs → ai-security-D10lzYTn.mjs} +1 -1
- package/dist/{alerting-DmRZCAjg.mjs → alerting-c4ICS8KO.mjs} +1 -1
- package/dist/{analytics-DqidJ4qc.mjs → analytics-CEQ0EVTq.mjs} +1 -1
- package/dist/{analytics_engine-I7N0I6yP.mjs → analytics_engine-B9kiAPbY.mjs} +1 -1
- package/dist/{api-security-BMNhdDyR.mjs → api-security-6LlxeiOi.mjs} +1 -1
- package/dist/{argo-U5TIBcub.mjs → argo-BCcp1ybr.mjs} +1 -1
- package/dist/{artifacts-Byw1W73U.mjs → artifacts-PoO3rAvo.mjs} +1 -1
- package/dist/{audit-logs-C6zyFeKM.mjs → audit-logs-Vt3NbAA1.mjs} +1 -1
- package/dist/{auth-B5p3SIhO.mjs → auth-3bFlHTVl.mjs} +2 -2
- package/dist/{auth-CosaKfuk.mjs → auth-BfYtTyXo.mjs} +1 -1
- package/dist/{autoconfig-DED3bWob.mjs → autoconfig-DqgOi1kW.mjs} +28 -28
- package/dist/{banner-Xk4xBN8U.mjs → banner-ClclgnBn.mjs} +1 -1
- package/dist/{billing-BS1raRJt.mjs → billing-DVrpin2a.mjs} +1 -1
- package/dist/{bot-management-Cn6xfGzJ.mjs → bot-management-Bw-GZWoT.mjs} +1 -1
- package/dist/{botnet-feed-DtWOPNfw.mjs → botnet-feed-ov970cZf.mjs} +1 -1
- package/dist/{brand-protection-BcEQ66bT.mjs → brand-protection-C7WOvdx6.mjs} +1 -1
- package/dist/{browser-run-RZ7ZPRop.mjs → browser-run-DhnKUXVv.mjs} +1 -1
- package/dist/build-CVvo9BvP.mjs +2 -0
- package/dist/{build-DG8NfVjJ.mjs → build-vfD1txJe.mjs} +1 -1
- package/dist/{builds-AOCMH4CE.mjs → builds-BIqfNXEE.mjs} +1 -1
- package/dist/{cache-D_EBxDff.mjs → cache-Dzl3kth1.mjs} +1 -1
- package/dist/{certificate-authorities-B6rtjuaT.mjs → certificate-authorities-CQinLiq_.mjs} +1 -1
- package/dist/{cf--3tGe71B.mjs → cf-O3gEaXYZ.mjs} +11 -11
- package/dist/{chunk-M77HNR46-BqG3fjQz.mjs → chunk-M77HNR46-DPbhuhiy.mjs} +1 -1
- package/dist/{chunk-RV27PEH3-C8_6bMgi.mjs → chunk-RV27PEH3-Cws_30ln.mjs} +30 -30
- package/dist/cli-ZXrxm369.mjs +6 -0
- package/dist/{client-certificates-uBOjGcgo.mjs → client-certificates--vw-4vvy.mjs} +1 -1
- package/dist/{client-side-security-Bm7JwGaG.mjs → client-side-security-YCsdeK3e.mjs} +1 -1
- package/dist/{cloud-connector-69M2Dx8h.mjs → cloud-connector-CwSi4zZI.mjs} +1 -1
- package/dist/{cloudflared-Ba5LySkU.mjs → cloudflared-CH8rOneA.mjs} +1 -1
- package/dist/{cloudforce-one-Xn2mlAPv.mjs → cloudforce-one-hEykJeqy.mjs} +1 -1
- package/dist/command-Axp5Wfpj.mjs +2 -0
- package/dist/command-BH-TMJWp.mjs +2 -0
- package/dist/command-C1CwuI4O.mjs +2 -0
- package/dist/{command-Cb0pS8T5.mjs → command-CIZDQPmS.mjs} +1 -1
- package/dist/{command-DEC5PwJo.mjs → command-CeL8kQCM.mjs} +1 -1
- package/dist/command-ChDtawgh.mjs +2 -0
- package/dist/{command-DCpX9Cem.mjs → command-D5nZoVE1.mjs} +1 -1
- package/dist/command-DBCoI1fN.mjs +2 -0
- package/dist/command-DBpr6U4L.mjs +2 -0
- package/dist/command-DrQKTf1O.mjs +2 -0
- package/dist/{command-Cz_bKDWf.mjs → command-IuYNIUk9.mjs} +1 -1
- package/dist/command-L0y09SE5.mjs +2 -0
- package/dist/{command-BxQbIQWT.mjs → command-ZSxcR8-J.mjs} +1 -1
- package/dist/command-egPOyKbx.mjs +2 -0
- package/dist/command-jJKEah9i.mjs +2 -0
- package/dist/{completions-DZDltM9V.mjs → completions-DNisLHie.mjs} +26 -26
- package/dist/{connector-interrupts-DTy6laab.mjs → connector-interrupts-uIHLde10.mjs} +1 -1
- package/dist/{connector-telemetry-events-CJqGGvFJ.mjs → connector-telemetry-events-D2MH0OSs.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-BPxhPhr6.mjs → connector-telemetry-snapshots-CQICQaGf.mjs} +1 -1
- package/dist/{connectors-CdfCcZuA.mjs → connectors-BXwvP7SF.mjs} +1 -1
- package/dist/{containers-C7z53QcY.mjs → containers-ClK7HGfx.mjs} +88 -90
- package/dist/{containers-VMqcxH5a.mjs → containers-DOyOrVV9.mjs} +1 -1
- package/dist/{content-scan-BirgZrmr.mjs → content-scan-B71JZ7G6.mjs} +1 -1
- package/dist/{context-Dzzbc9RK.mjs → context-5JRcefHh.mjs} +2 -2
- package/dist/{cps-DzFm3zKp.mjs → cps-CzNfFv-5.mjs} +1 -1
- package/dist/{csamScanner-D2_OO5-1.mjs → csamScanner-BfZcrcjk.mjs} +1 -1
- package/dist/{ct-alerting-B7wQkFVl.mjs → ct-alerting-Cm8YLmXE.mjs} +1 -1
- package/dist/{custom-certificates-BKcCfbH8.mjs → custom-certificates-DFMRe9_D.mjs} +1 -1
- package/dist/{custom-csrs-CXoOxir4.mjs → custom-csrs-B5njuvdd.mjs} +1 -1
- package/dist/{custom-hostnames-CNYfnCOd.mjs → custom-hostnames-D06jQfNs.mjs} +1 -1
- package/dist/{custom-nameservers-BlLM7a4L.mjs → custom-nameservers-CKwKLqbF.mjs} +1 -1
- package/dist/{custom-pages-BcWoypet.mjs → custom-pages-D339_r6I.mjs} +1 -1
- package/dist/{d1-CvrHsqYY.mjs → d1-CHXmF-Ga.mjs} +1 -1
- package/dist/{dcv-delegation-9_Hl-5v-.mjs → dcv-delegation-BAnTwW8J.mjs} +1 -1
- package/dist/delegate.mjs +1 -1
- package/dist/{deploy-BlXYtvTd.mjs → deploy-CsQbufsL.mjs} +1 -1
- package/dist/{deploy-input-DTXVZ2QJ.mjs → deploy-input-dwBe8pSi.mjs} +1 -1
- package/dist/{dev-reqdKM28.mjs → dev-BpvWl6pG.mjs} +1 -1
- package/dist/{diagnostics-BxHs1EJB.mjs → diagnostics-BEUAWeLH.mjs} +1 -1
- package/dist/{dialog-ClHoC_cG.mjs → dialog-BlUXJKbA.mjs} +1 -1
- package/dist/discover-DmIsaE54.mjs +2 -0
- package/dist/{dist-CmyJy57B.mjs → dist-CpufWpsP.mjs} +14 -14
- package/dist/{dist-Cpb7_h4N.mjs → dist-DW47TUGh.mjs} +1 -1
- package/dist/{dist-cGGV-p_F.mjs → dist-DfMipWKR.mjs} +3 -3
- package/dist/{dls-D7GXW-N3.mjs → dls-CXS7bPlj.mjs} +1 -1
- package/dist/{dns-B0mdWJO5.mjs → dns-Dx7oPdtH.mjs} +1 -1
- package/dist/{dns-firewall-BG0bzuL3.mjs → dns-firewall-wcP1fgB-.mjs} +1 -1
- package/dist/{dot-prop-IITUZ2XW-BO5KJUwL.mjs → dot-prop-IITUZ2XW-BilKo4kO.mjs} +1 -1
- package/dist/dotenv-CcQjGlV0.mjs +4 -0
- package/dist/dry-run-Bq0JAsbX.mjs +2 -0
- package/dist/{durable-objects-DW0CsJzR.mjs → durable-objects-DmieQflu.mjs} +1 -1
- package/dist/{email-auth-Ls-7Yijm.mjs → email-auth-DiO-k5wt.mjs} +1 -1
- package/dist/{email-routing-DVaFhg-3.mjs → email-routing-CycPV4UR.mjs} +1 -1
- package/dist/{email-security-vnwkqlgp.mjs → email-security-DhtBU1X_.mjs} +1 -1
- package/dist/{email-sending-CbMUicJz.mjs → email-sending-BjgiwUht.mjs} +1 -1
- package/dist/error-sanitization-Cu-8OKRA.mjs +2 -0
- package/dist/{error-sanitization-TV6O0aCD.mjs → error-sanitization-Dc4bLj8k.mjs} +1 -1
- package/dist/{fieldExtractors-2EkDoJg8.mjs → fieldExtractors-BOBRZ8gw.mjs} +1 -1
- package/dist/{firewall-BK4QYqRe.mjs → firewall-Dc0Xm26N.mjs} +1 -1
- package/dist/{flagship--lHQ0H3n.mjs → flagship-BRqR3ioN.mjs} +1 -1
- package/dist/{fraud-CaoRrQ8W.mjs → fraud-Czu1ed5n.mjs} +1 -1
- package/dist/generate-BAHK895m.mjs +2 -0
- package/dist/{generate-CrKNH6ms.mjs → generate-DWW1YPjv.mjs} +1 -1
- package/dist/{google-tag-gateway-DDzLPmk5.mjs → google-tag-gateway-DsZA0a1r.mjs} +1 -1
- package/dist/gt-DmcMNPX6.mjs +2 -0
- package/dist/{healthchecks-Q2uXvt4m.mjs → healthchecks-CFH5bIAG.mjs} +1 -1
- package/dist/{hostnames-CsaYnis6.mjs → hostnames-CKDSQsXT.mjs} +1 -1
- package/dist/{hyperdrive-DDr6sAkw.mjs → hyperdrive-BLiI7eoy.mjs} +1 -1
- package/dist/{iam-CmzocepZ.mjs → iam-B5mdfq5e.mjs} +1 -1
- package/dist/{images-Ux0Phsbi.mjs → images-IVRjrB4_.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{init-Nx4RRgfT.mjs → init-C6pA2OKl.mjs} +2 -2
- package/dist/{intel-bgS4g7nx.mjs → intel-CvesITo3.mjs} +1 -1
- package/dist/interactive-SgAjen2z.mjs +2 -0
- package/dist/{ips-BDiolgWF.mjs → ips-DT9GaimG.mjs} +1 -1
- package/dist/{keyless-certificates-C_TwTMql.mjs → keyless-certificates-B0Xe5WqA.mjs} +1 -1
- package/dist/{keys-Cr8AqQDY.mjs → keys-BfcwaSGe.mjs} +1 -1
- package/dist/kv-BAKDr9h1.mjs +15 -0
- package/dist/lazy-command-BR3u8SQ2.mjs +2 -0
- package/dist/{leaked-credential-checks-De7ph4VA.mjs → leaked-credential-checks-gRpF7J9-.mjs} +1 -1
- package/dist/{load-balancers-DXt4ndF4.mjs → load-balancers-CLVWIN9d.mjs} +1 -1
- package/dist/local-22UA5g9y.mjs +2 -0
- package/dist/{local-OKXweFsd.mjs → local-CxYne8s2.mjs} +1 -1
- package/dist/{local-runtime-tTYpniPS.mjs → local-runtime-C_fR3pz4.mjs} +1 -1
- package/dist/{login-BurQ63Ws.mjs → login-B2IW-LZC.mjs} +1 -1
- package/dist/{login-CmlHvH5k.mjs → login-BKQI53YQ.mjs} +1 -1
- package/dist/{logo-matches-CQ60P96J.mjs → logo-matches-CmCWQC_j.mjs} +1 -1
- package/dist/{logos-u7UwT8MH.mjs → logos-DoGIvvML.mjs} +1 -1
- package/dist/{logpush-IoIe8e80.mjs → logpush-C2fS4mz8.mjs} +1 -1
- package/dist/{logs-ih5tyXEE.mjs → logs-DOchrxC9.mjs} +1 -1
- package/dist/{magic-cloud-networking-CWNFnjcY.mjs → magic-cloud-networking-BTWKttlB.mjs} +1 -1
- package/dist/{magic-network-monitoring-ClfZleF8.mjs → magic-network-monitoring-C_6hCn_f.mjs} +1 -1
- package/dist/{magic-transit-D69pkEVW.mjs → magic-transit-B-Rmmg-Z.mjs} +1 -1
- package/dist/{managed-defense-BHdmL0vx.mjs → managed-defense-BPSLbGgV.mjs} +1 -1
- package/dist/{managed-transforms-DbCR4LUg.mjs → managed-transforms-BqiDVQD6.mjs} +1 -1
- package/dist/{matches-Cou6RVkh.mjs → matches-wLc335So.mjs} +1 -1
- package/dist/{mcp-CQYfM19s.mjs → mcp-CmQOrkzP.mjs} +1 -1
- package/dist/{mesh-CXqaAFS4.mjs → mesh-DRuFq2pw.mjs} +1 -1
- package/dist/migrate-DBwOnU6B.mjs +2 -0
- package/dist/{mtls-certificates-DNeId8xS.mjs → mtls-certificates-BUcQwJGQ.mjs} +1 -1
- package/dist/{network-B7V3JbU7.mjs → network-BuXy0ysq.mjs} +1 -1
- package/dist/{network-interconnects-BNon8iUs.mjs → network-interconnects-BzfPaxkW.mjs} +1 -1
- package/dist/{oauth-CeXh-ACI.mjs → oauth-BYmfy7l7.mjs} +1 -1
- package/dist/{oauth-DM8q-TYg.mjs → oauth-BlFK0DPZ.mjs} +1 -1
- package/dist/{oauth-clients-gGmWIWHl.mjs → oauth-clients-CnABE4xT.mjs} +1 -1
- package/dist/{oauth-scopes-DSEu331u.mjs → oauth-scopes-BFy1Hw7K.mjs} +1 -1
- package/dist/{observability-_VJhfwM1.mjs → observability-B1IkzeE0.mjs} +1 -1
- package/dist/{open-PCXX3ZDZ-DobJT1Mj.mjs → open-PCXX3ZDZ-BKRik1gi.mjs} +3 -3
- package/dist/{organization-DW4EpwGl.mjs → organization-DeIzTyFr.mjs} +1 -1
- package/dist/{organizations-DE1g2wVq.mjs → organizations-dpNO5XaQ.mjs} +1 -1
- package/dist/{origin-ca-certificates-D3ULDV__.mjs → origin-ca-certificates-B-1YtC61.mjs} +1 -1
- package/dist/{origin-post-quantum-encryption-BLropaz7.mjs → origin-post-quantum-encryption-DdvwucsG.mjs} +1 -1
- package/dist/{origin-tls-client-auth-C87TG2i_.mjs → origin-tls-client-auth-CzfpVmTE.mjs} +1 -1
- package/dist/{output-CZt-berV.mjs → output-CvQFJkvi.mjs} +1 -1
- package/dist/{page-rules-tlb9P-7V.mjs → page-rules--wnIp30C.mjs} +1 -1
- package/dist/pages-DvhJZv5S.mjs +60 -0
- package/dist/{pay-per-crawl-C50wI-Iz.mjs → pay-per-crawl-lqX3Rwt9.mjs} +1 -1
- package/dist/{pay-per-use-DHHIvynU.mjs → pay-per-use-BRKnBlz2.mjs} +1 -1
- package/dist/{pipelines-Y2icOwuf.mjs → pipelines-CvePummb.mjs} +1 -1
- package/dist/{precursor-DeyurJSC.mjs → precursor-DgotmHQd.mjs} +1 -1
- package/dist/previews-Brsuhzmk.mjs +4 -0
- package/dist/{progress-C9dWgc3J.mjs → progress-DUeNqM-j.mjs} +1 -1
- package/dist/{prompt-Mh69ni1N.mjs → prompt-DV6YTdoa.mjs} +1 -1
- package/dist/{queries-DyUJefwL.mjs → queries-CLqy4AM6.mjs} +1 -1
- package/dist/{queues-CdNe4tGY.mjs → queues-D0Y4LNP1.mjs} +1 -1
- package/dist/r2-D_FuuTGm.mjs +132 -0
- package/dist/{r2-data-catalog-D_zDlmVD.mjs → r2-data-catalog-D5Fvpr3C.mjs} +1 -1
- package/dist/{radar-CSguicKC.mjs → radar-B6bYFNVn.mjs} +1 -1
- package/dist/{raw-fetch-1ygCOcT_.mjs → raw-fetch-Cp3EaTcj.mjs} +1 -1
- package/dist/{realtime-CvWs5pi3.mjs → realtime-BTBZoZNW.mjs} +1 -1
- package/dist/{registrar-DQUxn0FK.mjs → registrar-CFh4TCkC.mjs} +1 -1
- package/dist/{registrar-sandbox-Q7ZEmg2x.mjs → registrar-sandbox-By6ukXxf.mjs} +1 -1
- package/dist/{registry-4Sw95M5_.mjs → registry-kYRASukx.mjs} +1 -1
- package/dist/{reporting-DJShxeDv.mjs → reporting-Cf3q4cuO.mjs} +1 -1
- package/dist/{request-headers-DFBBErJg.mjs → request-headers-jdUlF-_S.mjs} +1 -1
- package/dist/{request-tracers-DD8HlG61.mjs → request-tracers-CqNmb-dS.mjs} +1 -1
- package/dist/resolve-PZuJ878-.mjs +2 -0
- package/dist/{resource-sharing-J46JMWQP.mjs → resource-sharing-vDvq5J5a.mjs} +1 -1
- package/dist/{resource-tagging-DLZJLIqy.mjs → resource-tagging-DRCkpRmf.mjs} +1 -1
- package/dist/{rules-D068LfBR.mjs → rules-D-IfU82u.mjs} +1 -1
- package/dist/{rulesets-Cz6P7Oje.mjs → rulesets-ezJUnXm7.mjs} +1 -1
- package/dist/{rum-C6GQC2vI.mjs → rum-G42H7AXu.mjs} +1 -1
- package/dist/run-BhfDNWCI.mjs +2 -0
- package/dist/run-djd1-6kN.mjs +2 -0
- package/dist/{schema-flags-BmY0Nzp0.mjs → schema-flags-yDMur8UR.mjs} +1 -1
- package/dist/{schema-VZPw_2CY.mjs → schema-s22s29sJ.mjs} +1 -1
- package/dist/{scim-DMTp_Zhc.mjs → scim-DgRlqTtE.mjs} +1 -1
- package/dist/{sdk-BuF3fTHr.mjs → sdk-Bx29ZKK3.mjs} +2 -2
- package/dist/{secrets-store-C2epk0sQ.mjs → secrets-store-DcNmMGG2.mjs} +1 -1
- package/dist/{security-center-DwMdQ02Y.mjs → security-center-CZwVaL7t.mjs} +1 -1
- package/dist/{security-txt-CORQfMul.mjs → security-txt-CD0RAEsU.mjs} +1 -1
- package/dist/{session-BEXskZi2.mjs → session-CjQFm10R.mjs} +1 -1
- package/dist/shared-Cfuwhk19.mjs +2 -0
- package/dist/{smart-shield-BZ0xjy_6.mjs → smart-shield-C72SYuAe.mjs} +1 -1
- package/dist/{snippets-LSkJGDOc.mjs → snippets-Bl4Rfvdf.mjs} +1 -1
- package/dist/spawn-PBhhCQdl.mjs +10 -0
- package/dist/{spectrum-zU8_GFTV.mjs → spectrum-BgOMd04u.mjs} +1 -1
- package/dist/{speed-4XbFmeYM.mjs → speed-dahwVmv-.mjs} +1 -1
- package/dist/src-npcmT3gh.mjs +109 -0
- package/dist/{ssl-DiCsMY_a.mjs → ssl-BMZZPgJx.mjs} +1 -1
- package/dist/startup-profile-B0UCc9_J.mjs +2 -0
- package/dist/{startup-profile-6fCkD04r.mjs → startup-profile-DrV846S5.mjs} +3 -3
- package/dist/{state-DiHwKWTy.mjs → state-DhHOAdTo.mjs} +1 -1
- package/dist/state-Dyo8DcW7.mjs +2 -0
- package/dist/{stream-BG3NUAVE.mjs → stream-CsQ8wMMF.mjs} +1 -1
- package/dist/{submit-CKSaSFS1.mjs → submit-DdoTeeRt.mjs} +1 -1
- package/dist/{tags-uT9Mi-bX.mjs → tags-BESTUjkv.mjs} +1 -1
- package/dist/telemetry-CVjp5qaj.mjs +2 -0
- package/dist/telemetry-iBZ-f6og.mjs +2 -0
- package/dist/{tenant--UrYFHM0.mjs → tenant-COyp8x56.mjs} +1 -1
- package/dist/{tenant-custom-nameservers-8Z4TVJtr.mjs → tenant-custom-nameservers-BdrnvyTk.mjs} +1 -1
- package/dist/{tools-DNGD0l7I.mjs → tools-LlzHD_86.mjs} +1 -1
- package/dist/{tunnels-5lGSXYpl.mjs → tunnels-CjDCYR0_.mjs} +1 -1
- package/dist/{turnstile-CT3AkMPV.mjs → turnstile-crX-kMig.mjs} +1 -1
- package/dist/{ui-D1hhIDIs.mjs → ui-BQxRjahW.mjs} +1 -1
- package/dist/update-check-BpLdkJeA.mjs +2 -0
- package/dist/update-check-CtmTFJ-O.mjs +2 -0
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-info-DvpNcNl8.mjs → url-info-CSU3TaVe.mjs} +1 -1
- package/dist/{url-normalization-C9URZnpq.mjs → url-normalization-DKZYH3Tv.mjs} +1 -1
- package/dist/{url-scanner-CIwK3wB5.mjs → url-scanner-mtiMlSyE.mjs} +1 -1
- package/dist/{user-DGA7cqdf.mjs → user-DuDnsFvs.mjs} +1 -1
- package/dist/{values-BzS0b25w.mjs → values-B4gL0UvN.mjs} +1 -1
- package/dist/{vectorize-DtDjl2fJ.mjs → vectorize-CEC7tpRJ.mjs} +1 -1
- package/dist/version-CPwqVR_p.mjs +2 -0
- package/dist/{waiting-rooms-CjTh4F3B.mjs → waiting-rooms-CosskYpi.mjs} +1 -1
- package/dist/{web-assets-4l1B5V9b.mjs → web-assets-Do2JEl4p.mjs} +1 -1
- package/dist/{web3-C0Z4AJjC.mjs → web3-C3sb4DR8.mjs} +1 -1
- package/dist/workers-ByA4Nddg.mjs +36 -0
- package/dist/{workers-builds-DYGeoxmX.mjs → workers-builds-CDE-wcw-.mjs} +1 -1
- package/dist/{workers-for-platforms-CSw0K8Nl.mjs → workers-for-platforms-CvZI2B1d.mjs} +1 -1
- package/dist/{workers-vpc-DJ7Couct.mjs → workers-vpc-WbwBVV_L.mjs} +1 -1
- package/dist/{workflows-Dm03QT8U.mjs → workflows-Ch7cNhhq.mjs} +1 -1
- package/dist/{zaraz-DJbWUUe3.mjs → zaraz-BO7WT_U7.mjs} +1 -1
- package/dist/{zero-trust-DiMY-pN5.mjs → zero-trust-CTKtzxxW.mjs} +431 -281
- package/dist/{zone-BWjBv1yy.mjs → zone-DSHj2Vv2.mjs} +1 -1
- package/dist/{zones-zGqcQvcY.mjs → zones-CeFb9USG.mjs} +1 -1
- package/package.json +1 -1
- package/dist/access-B3TvAe5h.mjs +0 -27
- package/dist/ai-gateway-DrQhTvKf.mjs +0 -147
- package/dist/build-kgS7iKwi.mjs +0 -2
- package/dist/cli-Ct980dyx.mjs +0 -3
- package/dist/command-B7SzqjQM.mjs +0 -2
- package/dist/command-BLHcNQ8m.mjs +0 -2
- package/dist/command-C0SMCHZp.mjs +0 -2
- package/dist/command-CE8k5TuK.mjs +0 -2
- package/dist/command-CPiCDUth.mjs +0 -2
- package/dist/command-DHjsstFb.mjs +0 -2
- package/dist/command-MTUsmZU5.mjs +0 -2
- package/dist/command-Sb9lOxWT.mjs +0 -2
- package/dist/command-sQ8yswii.mjs +0 -2
- package/dist/config-DcppJ5D2.mjs +0 -2
- package/dist/data-security-BxzLSdGk.mjs +0 -71
- package/dist/dry-run-BmzTxDtZ.mjs +0 -2
- package/dist/error-sanitization-cyGBhW1Z.mjs +0 -2
- package/dist/generate-Djb5Af37.mjs +0 -2
- package/dist/interactive-B_dcVghB.mjs +0 -2
- package/dist/kv-DmAQCqXl.mjs +0 -21
- package/dist/lazy-command-B_bwSa2F.mjs +0 -2
- package/dist/local-CFd107fr.mjs +0 -2
- package/dist/migrate-CXMbQPyC.mjs +0 -2
- package/dist/pages-CjPErYik.mjs +0 -60
- package/dist/previews-Dj_LcGRd.mjs +0 -4
- package/dist/r2-C0W2J4sT.mjs +0 -127
- package/dist/resolve-BVxXAYG7.mjs +0 -2
- package/dist/run-C_qUgBTs.mjs +0 -2
- package/dist/run-DK1d9BJz.mjs +0 -2
- package/dist/shared--lvrXmXY.mjs +0 -2
- package/dist/spawn-Da3HnlmB.mjs +0 -10
- package/dist/src-BLLpnbzC.mjs +0 -109
- package/dist/startup-profile-Cw-_akjQ.mjs +0 -2
- package/dist/state-CcktNox9.mjs +0 -2
- package/dist/telemetry-C0k8vfbq.mjs +0 -2
- package/dist/telemetry-Dh-8kdfY.mjs +0 -5
- package/dist/telemetry-IrDBqbQW.mjs +0 -2
- package/dist/update-check-BYJnL8J8.mjs +0 -2
- package/dist/update-check-DFoSm5GT.mjs +0 -2
- package/dist/version-B47pK_PZ.mjs +0 -2
- package/dist/workers-CNBv6GxE.mjs +0 -36
- package/dist/zt-Bt4Q6iM1.mjs +0 -110
- /package/dist/{Page-BchtVjAO.mjs → Page-CjJht2qT.mjs} +0 -0
- /package/dist/{alerts-DY_7Nknx.mjs → alerts-DqZgVSCT.mjs} +0 -0
- /package/dist/{autorag-K396-M2S.mjs → autorag-Cq9k9Ye6.mjs} +0 -0
- /package/dist/{body-parser-BpPZBRMr.mjs → body-parser-hh2avzkz.mjs} +0 -0
- /package/dist/{brands-Uy0Cmv1w.mjs → brands-DeLbFxSt.mjs} +0 -0
- /package/dist/{browser-extension-D_siSsD9.mjs → browser-extension-C1zmKFDG.mjs} +0 -0
- /package/dist/{chunk-U6NEESU5-CAnOLcsu.mjs → chunk-U6NEESU5-BhF4rnpx.mjs} +0 -0
- /package/dist/{chunk-WMOON6TZ-D3H84qpM.mjs → chunk-WMOON6TZ-D_ToS88f.mjs} +0 -0
- /package/dist/{clear-CpcO2ExU.mjs → clear-CRfI7WS7.mjs} +0 -0
- /package/dist/{cli-types-B6tm-8uL.mjs → cli-types-DoVT5q_M.mjs} +0 -0
- /package/dist/{connector-telemetry-events-latest-oguk5Zyj.mjs → connector-telemetry-events-latest-D8p_dR8s.mjs} +0 -0
- /package/dist/{connector-telemetry-snapshots-latest-B6zuxkr0.mjs → connector-telemetry-snapshots-latest-COFmzmlk.mjs} +0 -0
- /package/dist/{delegate-CCGgla7X.mjs → delegate-B6LetRpZ.mjs} +0 -0
- /package/dist/{input-validation-D3e278L_.mjs → input-validation-Dk52b0me.mjs} +0 -0
- /package/dist/{interactive-D80kbTap.mjs → interactive-C-o16XQs.mjs} +0 -0
- /package/dist/{lifecycle-Cyc3fmyN.mjs → lifecycle-C7tAC1Mn.mjs} +0 -0
- /package/dist/{project-settings-Bf6rReo1.mjs → project-settings-DO6njFg_.mjs} +0 -0
- /package/dist/{resolve-qPFfBMrn.mjs → resolve-BCTrtcx7.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{n as e,t}from"./metadata-C33s4rc-.mjs";import n from"node:assert";function
|
|
2
|
+
import{n as e,t}from"./metadata-C33s4rc-.mjs";import{t as n}from"./run-BhfDNWCI.mjs";import r from"node:assert";function i(e,t){return`#compdef ${e}
|
|
3
3
|
compdef _${e} ${e}
|
|
4
4
|
|
|
5
5
|
# zsh completion for ${e} -*- shell-script -*-
|
|
@@ -12,12 +12,12 @@ __${e}_debug() {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
_${e}() {
|
|
15
|
-
local shellCompDirectiveError=${
|
|
16
|
-
local shellCompDirectiveNoSpace=${
|
|
17
|
-
local shellCompDirectiveNoFileComp=${
|
|
18
|
-
local shellCompDirectiveFilterFileExt=${
|
|
19
|
-
local shellCompDirectiveFilterDirs=${
|
|
20
|
-
local shellCompDirectiveKeepOrder=${
|
|
15
|
+
local shellCompDirectiveError=${c.ShellCompDirectiveError}
|
|
16
|
+
local shellCompDirectiveNoSpace=${c.ShellCompDirectiveNoSpace}
|
|
17
|
+
local shellCompDirectiveNoFileComp=${c.ShellCompDirectiveNoFileComp}
|
|
18
|
+
local shellCompDirectiveFilterFileExt=${c.ShellCompDirectiveFilterFileExt}
|
|
19
|
+
local shellCompDirectiveFilterDirs=${c.ShellCompDirectiveFilterDirs}
|
|
20
|
+
local shellCompDirectiveKeepOrder=${c.ShellCompDirectiveKeepOrder}
|
|
21
21
|
|
|
22
22
|
local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace keepOrder
|
|
23
23
|
local -a completions
|
|
@@ -213,15 +213,15 @@ _${e}() {
|
|
|
213
213
|
if [ "\${funcstack[1]}" = "_${e}" ]; then
|
|
214
214
|
_${e}
|
|
215
215
|
fi
|
|
216
|
-
`}function
|
|
216
|
+
`}function a(e,t){let n=e.replace(/[-:]/g,`_`);return`# bash completion for ${e}
|
|
217
217
|
|
|
218
218
|
# Define shell completion directives
|
|
219
|
-
readonly ShellCompDirectiveError=${
|
|
220
|
-
readonly ShellCompDirectiveNoSpace=${
|
|
221
|
-
readonly ShellCompDirectiveNoFileComp=${
|
|
222
|
-
readonly ShellCompDirectiveFilterFileExt=${
|
|
223
|
-
readonly ShellCompDirectiveFilterDirs=${
|
|
224
|
-
readonly ShellCompDirectiveKeepOrder=${
|
|
219
|
+
readonly ShellCompDirectiveError=${c.ShellCompDirectiveError}
|
|
220
|
+
readonly ShellCompDirectiveNoSpace=${c.ShellCompDirectiveNoSpace}
|
|
221
|
+
readonly ShellCompDirectiveNoFileComp=${c.ShellCompDirectiveNoFileComp}
|
|
222
|
+
readonly ShellCompDirectiveFilterFileExt=${c.ShellCompDirectiveFilterFileExt}
|
|
223
|
+
readonly ShellCompDirectiveFilterDirs=${c.ShellCompDirectiveFilterDirs}
|
|
224
|
+
readonly ShellCompDirectiveKeepOrder=${c.ShellCompDirectiveKeepOrder}
|
|
225
225
|
|
|
226
226
|
# Function to debug completion
|
|
227
227
|
__${n}_debug() {
|
|
@@ -314,7 +314,7 @@ __${n}_complete() {
|
|
|
314
314
|
|
|
315
315
|
# Register completion function
|
|
316
316
|
complete -F __${n}_complete ${e}
|
|
317
|
-
`}function
|
|
317
|
+
`}function o(e,t){let n=e.replace(/[-:]/g,`_`),r=c.ShellCompDirectiveError,i=c.ShellCompDirectiveNoSpace,a=c.ShellCompDirectiveNoFileComp,o=c.ShellCompDirectiveFilterFileExt,s=c.ShellCompDirectiveFilterDirs;return`# fish completion for ${e} -*- shell-script -*-
|
|
318
318
|
|
|
319
319
|
function __${n}_debug
|
|
320
320
|
set -l file "$BASH_COMP_DEBUG_FILE"
|
|
@@ -411,7 +411,7 @@ function __${n}_requires_order_preservation
|
|
|
411
411
|
set -l directive (string sub --start 2 $__${n}_perform_completion_once_result[-1])
|
|
412
412
|
__${n}_debug "Directive is: $directive"
|
|
413
413
|
|
|
414
|
-
set -l shellCompDirectiveKeepOrder ${
|
|
414
|
+
set -l shellCompDirectiveKeepOrder ${c.ShellCompDirectiveKeepOrder}
|
|
415
415
|
set -l keeporder (math (math --scale 0 $directive / $shellCompDirectiveKeepOrder) % 2)
|
|
416
416
|
__${n}_debug "Keeporder is: $keeporder"
|
|
417
417
|
|
|
@@ -453,7 +453,7 @@ function __${n}_prepare_completions
|
|
|
453
453
|
set -l shellCompDirectiveNoSpace ${i}
|
|
454
454
|
set -l shellCompDirectiveNoFileComp ${a}
|
|
455
455
|
set -l shellCompDirectiveFilterFileExt ${o}
|
|
456
|
-
set -l shellCompDirectiveFilterDirs ${
|
|
456
|
+
set -l shellCompDirectiveFilterDirs ${s}
|
|
457
457
|
|
|
458
458
|
if test -z "$directive"
|
|
459
459
|
set directive 0
|
|
@@ -548,7 +548,7 @@ complete -c ${e} -n '__${n}_clear_perform_completion_once_result'
|
|
|
548
548
|
complete -c ${e} -n 'not __${n}_requires_order_preservation && __${n}_prepare_completions' -f -a '$__${n}_comp_results'
|
|
549
549
|
# Otherwise we use the -k flag
|
|
550
550
|
complete -k -c ${e} -n '__${n}_requires_order_preservation && __${n}_prepare_completions' -f -a '$__${n}_comp_results'
|
|
551
|
-
`}function
|
|
551
|
+
`}function s(e,t){let n=e.replace(/[-:]/g,`_`);return`# powershell completion for ${e} -*- shell-script -*-
|
|
552
552
|
|
|
553
553
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
554
554
|
function __${e}_debug {
|
|
@@ -586,12 +586,12 @@ complete -k -c ${e} -n '__${n}_requires_order_preservation && __${n}_prepare_com
|
|
|
586
586
|
}
|
|
587
587
|
__${e}_debug "Truncated command: $Command"
|
|
588
588
|
|
|
589
|
-
$ShellCompDirectiveError=${
|
|
590
|
-
$ShellCompDirectiveNoSpace=${
|
|
591
|
-
$ShellCompDirectiveNoFileComp=${
|
|
592
|
-
$ShellCompDirectiveFilterFileExt=${
|
|
593
|
-
$ShellCompDirectiveFilterDirs=${
|
|
594
|
-
$ShellCompDirectiveKeepOrder=${
|
|
589
|
+
$ShellCompDirectiveError=${c.ShellCompDirectiveError}
|
|
590
|
+
$ShellCompDirectiveNoSpace=${c.ShellCompDirectiveNoSpace}
|
|
591
|
+
$ShellCompDirectiveNoFileComp=${c.ShellCompDirectiveNoFileComp}
|
|
592
|
+
$ShellCompDirectiveFilterFileExt=${c.ShellCompDirectiveFilterFileExt}
|
|
593
|
+
$ShellCompDirectiveFilterDirs=${c.ShellCompDirectiveFilterDirs}
|
|
594
|
+
$ShellCompDirectiveKeepOrder=${c.ShellCompDirectiveKeepOrder}
|
|
595
595
|
|
|
596
596
|
# Prepare the command to request completions for the program.
|
|
597
597
|
# Split the command at the first space to separate the program and arguments.
|
|
@@ -796,6 +796,6 @@ complete -k -c ${e} -n '__${n}_requires_order_preservation && __${n}_prepare_com
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
Register-ArgumentCompleter -CommandName '${e}' -ScriptBlock $__${n}CompleterBlock
|
|
799
|
-
`}const
|
|
799
|
+
`}const c={ShellCompDirectiveError:1,ShellCompDirectiveNoSpace:2,ShellCompDirectiveNoFileComp:4,ShellCompDirectiveFilterFileExt:8,ShellCompDirectiveFilterDirs:16,ShellCompDirectiveKeepOrder:32,shellCompDirectiveMaxValue:64,ShellCompDirectiveDefault:0};var l=class{name;variadic;command;handler;constructor(e,t,n,r=!1){this.command=e,this.name=t,this.handler=n,this.variadic=r}},u=class{value;description;command;handler;alias;isBoolean;constructor(e,t,n,r,i,a){this.command=e,this.value=t,this.description=n,this.handler=r,this.alias=i,this.isBoolean=a}},d=class{value;description;options=new Map;arguments=new Map;parent;constructor(e,t){this.value=e,this.description=t}option(e,t,n,r){let i,a,o;typeof n==`function`?(i=n,a=r,o=!1):typeof n==`string`?(i=void 0,a=n,o=!0):(i=void 0,a=void 0,o=!0);let s=new u(this,e,t,i,a,o);return this.options.set(e,s),this}argument(e,t,n=!1){let r=new l(this,e,t,n);return this.arguments.set(e,r),this}};const f=new class extends d{commands=new Map;completions=[];directive=c.ShellCompDirectiveDefault;constructor(){super(``,``)}command(e,t){let n=new d(e,t);return this.commands.set(e,n),n}stripOptions(e){let t=[],n=0;for(;n<e.length;){let r=e[n];if(r.startsWith(`-`)){n++;let t=!1,i=this.findOption(this,r);if(i)t=i.isBoolean??!1;else for(let[,e]of this.commands){let n=this.findOption(e,r);if(n){t=n.isBoolean??!1;break}}!t&&n<e.length&&!e[n].startsWith(`-`)&&n++}else t.push(r),n++}return t}matchCommand(e){e=this.stripOptions(e);let t=[],n=[],r=null;for(let i=0;i<e.length;i++){let a=e[i];t.push(a);let o=this.commands.get(t.join(` `));if(o)r=o;else{n=e.slice(i,e.length);break}}return[r||this,n]}shouldCompleteFlags(e,t){if(t.startsWith(`-`))return!0;if(e?.startsWith(`-`)){let t=this.findOption(this,e);if(!t){for(let[,n]of this.commands)if(t=this.findOption(n,e),t)break}return!(t&&t.isBoolean)}return!1}shouldCompleteCommands(e){return!e.startsWith(`-`)}handleFlagCompletion(e,t,n,r){let i;if(n.includes(`=`)){let[e]=n.split(`=`);i=e}else if(r?.startsWith(`-`)){let t=this.findOption(e,r);t&&!t.isBoolean&&(i=r)}if(i){let t=this.findOption(e,i);if(t?.handler){let n=[];t.handler.call(t,(e,t)=>n.push({value:e,description:t}),e.options),this.completions=n}return}if(n.startsWith(`-`)){let t=n.startsWith(`-`)&&!n.startsWith(`--`),r=n.replace(/^-+/,``);for(let[i,a]of e.options)t&&a.alias&&`-${a.alias}`.startsWith(n)?this.completions.push({value:`-${a.alias}`,description:a.description}):!t&&i.startsWith(r)&&this.completions.push({value:`--${i}`,description:a.description})}}findOption(e,t){let n=e.options.get(t);if(n||(n=e.options.get(t.replace(/^-+/,``)),n))return n;for(let[n,r]of e.options)if(r.alias&&`-${r.alias}`===t)return r}handleCommandCompletion(e,t){let n=this.stripOptions(e);for(let[e,r]of this.commands){if(e===``)continue;let i=e.split(` `);i.slice(0,n.length).every((e,t)=>e===n[t])&&i[n.length]?.startsWith(t)&&this.completions.push({value:i[n.length],description:r.description})}}handlePositionalCompletion(e,t){let n=this.stripOptions(t),r=e.value.split(` `).length,i=Math.max(0,n.length-r),a=Array.from(e.arguments.entries());if(a.length>0){let t;if(i<a.length){let[e,n]=a[i];t=n}else{let e=a[a.length-1][1];e.variadic&&(t=e)}if(t&&t.handler&&typeof t.handler==`function`){let n=[];t.handler.call(t,(e,t)=>n.push({value:e,description:t}),e.options),this.completions.push(...n)}}}complete(e){this.directive=c.ShellCompDirectiveNoFileComp;let t=new Set;this.completions.filter(e=>t.has(e.value)?!1:(t.add(e.value),!0)).filter(t=>{if(e.includes(`=`)){let[,n]=e.split(`=`);return t.value.startsWith(n)}return t.value.startsWith(e)}).forEach(e=>console.log(`${e.value}\t${e.description??``}`)),console.log(`:${this.directive}`)}parse(e){this.completions=[];let t=e[e.length-1]===``;t&&e.pop();let n=e[e.length-1]||``,r=e.slice(0,-1);t&&(n!==``&&r.push(n),n=``);let[i]=this.matchCommand(r),a=r[r.length-1];this.shouldCompleteFlags(a,n)?this.handleFlagCompletion(i,r,n,a):(this.shouldCompleteCommands(n)&&this.handleCommandCompletion(r,n),i&&i.arguments.size>0&&this.handlePositionalCompletion(i,r)),this.complete(n)}setup(e,t,n){switch(r(n===`zsh`||n===`bash`||n===`fish`||n===`powershell`,`Unsupported shell`),n){case`zsh`:{let n=i(e,t);console.log(n);break}case`bash`:{let n=a(e,t);console.log(n);break}case`fish`:{let n=o(e,t);console.log(n);break}case`powershell`:{let n=s(e,t);console.log(n);break}}}},p=[{name:`quiet`,alias:`q`,desc:`Suppress non-essential output`},{name:`zone`,alias:`z`,desc:`Zone ID or domain name`},{name:`profile`,desc:`Use a specific auth profile`},{name:`mode`,alias:`m`,desc:`Mode used to evaluate project configuration`},{name:`local`,desc:`Use local resource simulations`},{name:`persist-to`,desc:`Directory holding local persisted state (default: ~/.config/cloudflare/state)`},{name:`help`,alias:`h`,desc:`Show help`},{name:`version`,alias:`v`,desc:`Show version`}];function m(){return e(import.meta.url,`commands.json`,t)?.commands??[]}function h(e){return e.summary??e.description??``}function g(e,t){for(let n of t){let t=n.alias===void 0?[]:Array.isArray(n.alias)?n.alias:[n.alias];for(let r of new Set([n.name,...t]))n.enum&&n.enum.length>0?e.option(r,n.description??``,e=>{for(let t of n.enum??[])e(t,t)}):e.option(r,n.description??``)}}function _(e,t){for(let t of p)e.option(t.name,t.desc),t.alias&&e.option(t.alias,`Alias for --${t.name}`);let n=new Set;for(let r of t){if(r.hideCommand)continue;let t=r.fullPath.slice(0,-1),i=[r.fullPath,...(r.aliases??[]).map(e=>[...t,e])];for(let t of i){for(let r=1;r<t.length;r++){let i=t.slice(0,r).join(` `);n.has(i)||(n.add(i),e.command(i,``))}let i=t.join(` `);n.add(i),g(e.command(i,h(r)),r.options??[])}}}function v(){_(f,m())}const y={command:`complete [shell]`,describe:`Generate and handle shell completions`,builder:e=>e.positional(`shell`,{type:`string`,choices:[`bash`,`zsh`,`fish`,`powershell`],description:`Shell type to generate completions for`}).example(`cf complete bash >> ~/.bashrc`,`Install bash completions (then restart your shell)`).example(`cf complete zsh >> ~/.zshrc`,`Install zsh completions (then restart your shell)`).example(`cf complete fish > ~/.config/fish/completions/cf.fish`,`Install fish completions`),handler:e=>{let t=(e._??[]).map(String),r=t.slice(+(t[0]===`complete`));if(r.length>0){v(),f.parse(r);return}let i=e.shell;if(!i){process.stderr.write(`Usage: cf complete <bash|zsh|fish|powershell>
|
|
800
800
|
cf complete bash >> ~/.bashrc
|
|
801
|
-
`),process.exitCode=1;return}
|
|
801
|
+
`),process.exitCode=1;return}return n({command:`complete`,recordArgs:!1},e,()=>{v(),f.setup(`cf`,`cf`,i)})}};export{y as default,h as getCompletionDescription,_ as registerCompletions};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CxYne8s2.mjs";import{a as t,t as n}from"./context-5JRcefHh.mjs";import{r}from"./auth-3bFlHTVl.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-DUeNqM-j.mjs";import{t as s}from"./run-BhfDNWCI.mjs";import"./telemetry-iBZ-f6og.mjs";import{n as c,t as l}from"./body-parser-hh2avzkz.mjs";function u(e){return e.usage(`$0 connector-interrupts create <connector-id>
|
|
3
3
|
|
|
4
4
|
Creates an interrupt for a Magic WAN Connector.`).positional(`connector-id`,{type:`string`,description:`Connector ID`,demandOption:!0}).option(`reboot-purge`,{type:`boolean`,description:`Purge connector state.`}).option(`restart-purge`,{type:`boolean`,description:`Purge connector state.`}).option(`shutdown-purge`,{type:`boolean`,description:`Purge connector state.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Interrupt action for a connector.`})}const d={command:`create <connector-id>`,describe:`Create Interrupt`,builder:u,handler:async u=>s({command:`connector-interrupts create`,classification:{safeFlags:[`reboot-purge`,`restart-purge`,`shutdown-purge`,`dry-run`]}},u,async()=>{if(u.dryRun){a({command:`cf connector-interrupts create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors/${u[`connector-id`]==null?`<connector-id>`:encodeURIComponent(String(u[`connector-id`]))}/interrupts`,pathParams:{"connector-id":String(u[`connector-id`]??``)},bodyKind:`json`,body:u.body===void 0?l({reboot:{purge:u[`reboot-purge`]},restart:{purge:u[`restart-purge`]},shutdown:{purge:u[`shutdown-purge`]}}):c(u.body)});return}let s=await r(u),d=u.local?e:await n();if(u.accountId=d,u.body){let e=c(u.body);i(await o(`Creating`,async()=>s.connectorInterrupts.create({...e,account_id:d,connector_id:u[`connector-id`]})),{successLabel:`Created`});return}let f=l({reboot:{purge:u[`reboot-purge`]},restart:{purge:u[`restart-purge`]},shutdown:{purge:u[`shutdown-purge`]}});i(await o(`Creating`,async()=>s.connectorInterrupts.create({...f,account_id:d,connector_id:u[`connector-id`]})),{successLabel:`Created`})})};function f(e){return e.usage(`$0 connector-interrupts list
|
|
5
5
|
|
package/dist/{connector-telemetry-events-CJqGGvFJ.mjs → connector-telemetry-events-D2MH0OSs.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CxYne8s2.mjs";import{a as t,t as n}from"./context-5JRcefHh.mjs";import{r}from"./auth-3bFlHTVl.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-DUeNqM-j.mjs";import{t as s}from"./run-BhfDNWCI.mjs";import"./telemetry-iBZ-f6og.mjs";function c(e){return e.usage(`$0 connector-telemetry-events get <event-n>
|
|
3
3
|
|
|
4
4
|
Gets Magic WAN Connector Telemetry Event`).positional(`event-n`,{type:`string`,description:`Event n`,demandOption:!0}).option(`connector-id`,{type:`string`,description:`Connector ID`,demandOption:!0}).option(`event-t`,{type:`string`,description:`Event t`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const l={command:`get <event-n>`,describe:`Get Event`,builder:c,handler:async c=>s({command:`connector-telemetry-events get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf connector-telemetry-events get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors/${c[`connector-id`]==null?`<connector-id>`:encodeURIComponent(String(c[`connector-id`]))}/telemetry/events/${c[`event-t`]==null?`<event-t>`:encodeURIComponent(String(c[`event-t`]))}.${c[`event-n`]==null?`<event-n>`:encodeURIComponent(String(c[`event-n`]))}`,pathParams:{"connector-id":String(c[`connector-id`]??``),"event-t":String(c[`event-t`]??``),"event-n":String(c[`event-n`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.connectorTelemetryEvents.get({account_id:l,connector_id:c[`connector-id`],event_t:c[`event-t`],event_n:c[`event-n`]})),{successLabel:`Loaded`})})};function u(e){return e.usage(`$0 connector-telemetry-events list
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CxYne8s2.mjs";import{a as t,t as n}from"./context-5JRcefHh.mjs";import{r}from"./auth-3bFlHTVl.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-DUeNqM-j.mjs";import{t as s}from"./run-BhfDNWCI.mjs";import"./telemetry-iBZ-f6og.mjs";function c(e){return e.usage(`$0 connector-telemetry-snapshots get <snapshot-t>
|
|
3
3
|
|
|
4
4
|
Gets Magic WAN Connector Telemetry Snapshot`).positional(`snapshot-t`,{type:`string`,description:`Snapshot t`,demandOption:!0}).option(`connector-id`,{type:`string`,description:`Connector ID`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const l={command:`get <snapshot-t>`,describe:`Get Snapshot`,builder:c,handler:async c=>s({command:`connector-telemetry-snapshots get`,classification:{safeFlags:[`dry-run`]}},c,async()=>{if(c.dryRun){a({command:`cf connector-telemetry-snapshots get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors/${c[`connector-id`]==null?`<connector-id>`:encodeURIComponent(String(c[`connector-id`]))}/telemetry/snapshots/${c[`snapshot-t`]==null?`<snapshot-t>`:encodeURIComponent(String(c[`snapshot-t`]))}`,pathParams:{"connector-id":String(c[`connector-id`]??``),"snapshot-t":String(c[`snapshot-t`]??``)},bodyKind:`none`});return}let s=await r(c),l=c.local?e:await n();c.accountId=l,i(await o(`Loading`,async()=>s.connectorTelemetrySnapshots.get({account_id:l,connector_id:c[`connector-id`],snapshot_t:c[`snapshot-t`]})),{successLabel:`Loaded`})})};function u(e){return e.usage(`$0 connector-telemetry-snapshots list
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{t as e}from"./local-
|
|
2
|
+
import{t as e}from"./local-CxYne8s2.mjs";import{a as t,t as n}from"./context-5JRcefHh.mjs";import{r}from"./auth-3bFlHTVl.mjs";import{t as i}from"./output-CvQFJkvi.mjs";import{t as a}from"./dry-run-Bq0JAsbX.mjs";import{t as o}from"./progress-DUeNqM-j.mjs";import{t as s}from"./run-BhfDNWCI.mjs";import"./telemetry-iBZ-f6og.mjs";import{n as c,t as l}from"./body-parser-hh2avzkz.mjs";import{n as u}from"./input-validation-Dk52b0me.mjs";import{n as d}from"./prompt-DV6YTdoa.mjs";import{t as f}from"./cli-types-DoVT5q_M.mjs";function p(e){return e.usage(`$0 connectors create
|
|
3
3
|
|
|
4
4
|
Creates a Magic WAN Connector.`).option(`device-id`,{type:`string`,description:`The device.id field`}).option(`device-provision-license`,{type:`boolean`,description:`When true, create and provision a new licence key for the connector.`}).option(`device-serial-number`,{type:`string`,description:`The device.serial_number field`}).option(`activated`,{type:`boolean`,description:`The activated field`}).option(`interrupt-window-days-of-week`,{type:`string`,array:!0,description:`Allowed days of the week for upgrades. Default is all days.`}).option(`interrupt-window-duration-hours`,{type:`number`,description:`The interrupt_window_duration_hours field`}).option(`interrupt-window-embargo-dates`,{type:`string`,array:!0,description:`List of dates (YYYY-MM-DD) when upgrades are blocked.`}).option(`interrupt-window-hour-of-day`,{type:`number`,description:`The interrupt_window_hour_of_day field`}).option(`notes`,{type:`string`,description:`The notes field`}).option(`timezone`,{type:`string`,description:`The timezone field`}).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 m={command:`create`,describe:`Create Connector`,builder:p,handler:async d=>s({command:`connectors create`,classification:{safeFlags:[`device-provision-license`,`activated`,`dry-run`]}},d,async()=>{if(d.dryRun){a({command:`cf connectors create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${await t()??`<account-id>`}/magic/connectors`,pathParams:{},bodyKind:`json`,body:d.body===void 0?l({device:{id:u(d[`device-id`],`device-id`,`text`),provision_license:d[`device-provision-license`],serial_number:u(d[`device-serial-number`],`device-serial-number`,`text`)},activated:d.activated,interrupt_window_days_of_week:d[`interrupt-window-days-of-week`],interrupt_window_duration_hours:d[`interrupt-window-duration-hours`],interrupt_window_embargo_dates:d[`interrupt-window-embargo-dates`],interrupt_window_hour_of_day:d[`interrupt-window-hour-of-day`],notes:u(d.notes,`notes`,`text`),timezone:u(d.timezone,`timezone`,`text`)}):c(d.body)});return}let s=await r(d),f=d.local?e:await n();if(d.accountId=f,d.body){let e=c(d.body);i(await o(`Creating`,async()=>s.connectors.create({...e,account_id:f})),{successLabel:`Created`});return}let p=l({device:{id:u(d[`device-id`],`device-id`,`text`),provision_license:d[`device-provision-license`],serial_number:u(d[`device-serial-number`],`device-serial-number`,`text`)},activated:d.activated,interrupt_window_days_of_week:d[`interrupt-window-days-of-week`],interrupt_window_duration_hours:d[`interrupt-window-duration-hours`],interrupt_window_embargo_dates:d[`interrupt-window-embargo-dates`],interrupt_window_hour_of_day:d[`interrupt-window-hour-of-day`],notes:u(d.notes,`notes`,`text`),timezone:u(d.timezone,`timezone`,`text`)});i(await o(`Creating`,async()=>s.connectors.create({...p,account_id:f})),{successLabel:`Created`})})};function h(e){return e.usage(`$0 connectors delete <connector-id>
|
|
5
5
|
|