cf 1.0.0-beta.26 → 1.0.0-beta.28
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/dist/_meta/commands.json +7373 -4926
- package/dist/_meta/hand-written-commands.json +2 -2
- package/dist/_meta/schemas.json +11614 -4465
- package/dist/abuse-reports-D9edOyag.mjs +24 -0
- package/dist/{access-DCOOmDC5.mjs → access-CKCCSrrU.mjs} +1 -1
- package/dist/{accounts-HC6XuIwP.mjs → accounts-CNb9U9bK.mjs} +33 -27
- package/dist/{acm-DYgr6SAR.mjs → acm-CdKTAToZ.mjs} +3 -3
- package/dist/{addressing-BS66pJ_a.mjs → addressing-eZI_C-b0.mjs} +18 -18
- package/dist/{agent-memory-BbXdueL0.mjs → agent-memory-BBHCEE7h.mjs} +7 -7
- package/dist/{ai-BiIKznNv.mjs → ai-Csl_QNwv.mjs} +7 -7
- package/dist/ai-audit-DlqWsQi-.mjs +6 -0
- package/dist/{ai-gateway-rlYCbts5.mjs → ai-gateway-Lj4On37s.mjs} +13 -13
- package/dist/ai-search-BxyhS3X7.mjs +74 -0
- package/dist/{ai-security-BUwS6kVh.mjs → ai-security-DvU2iYkY.mjs} +3 -3
- package/dist/{alerting-BSzuvFk1.mjs → alerting-r0G2X9y9.mjs} +10 -10
- package/dist/analytics-C6bfqm-W.mjs +17 -0
- package/dist/analytics-engine-BlIecoOe.mjs +4 -0
- package/dist/api-Dnt6lRJG.mjs +3 -0
- package/dist/{api-security-BBxEJjGv.mjs → api-security-DZ7GWOqD.mjs} +26 -26
- package/dist/argo-Bh0_cj49.mjs +14 -0
- package/dist/{artifacts-B9g9aPrk.mjs → artifacts-VZJWVq_6.mjs} +16 -16
- package/dist/{audit-logs-BhJs-OS2.mjs → audit-logs-B8cGL4B9.mjs} +1 -1
- package/dist/auth-B-h0BHg7.mjs +2 -0
- package/dist/auth-B6tswVxH.mjs +2 -0
- package/dist/{auth-C50SqX9F.mjs → auth-clmqFEWU.mjs} +3 -3
- package/dist/{auth-token-DvNoIhRL.mjs → auth-token-DW4dJVdj.mjs} +1 -1
- package/dist/{autoconfig-ldsgXxa6.mjs → autoconfig-C0ynlGHf.mjs} +23 -23
- package/dist/{basin-catalog-CtKFiH-n.mjs → basin-catalog-TehR1sKZ.mjs} +11 -11
- package/dist/billing-B2KusU6g.mjs +22 -0
- package/dist/{blocks-DnNrvi8s.mjs → blocks-BFulF68V.mjs} +1 -1
- package/dist/body-parser-DoewLePl.mjs +2 -0
- package/dist/body-unions-DNs981Ia.mjs +2 -0
- package/dist/bot-management-CXHXgrQC.mjs +9 -0
- package/dist/{botnet-feed-lD9s2oLA.mjs → botnet-feed-UyK7Rfp6.mjs} +1 -1
- package/dist/brand-protection-kv1ba80i.mjs +14 -0
- package/dist/browser-run-D-vRoZmf.mjs +40 -0
- package/dist/build-BzJGqb2o.mjs +2 -0
- package/dist/build-FFxzigo4.mjs +2 -0
- package/dist/{builds-D3mAH87h.mjs → builds-BbxINHRP.mjs} +27 -27
- package/dist/cache-BacNNtLu.mjs +36 -0
- package/dist/{cf-CpC4giTf.mjs → cf-BQ_LRiut.mjs} +2 -2
- package/dist/{chunk-DSGVRFIS-vdfri8fR.mjs → chunk-DSGVRFIS-BaNZNW-M.mjs} +1 -1
- package/dist/chunk-SOBRPAPT-QTjnHSNs.mjs +363 -0
- package/dist/{cli-Cm4Twas4.mjs → cli-B7vslRfu.mjs} +1 -1
- package/dist/{client-side-security-BRn7KBpu.mjs → client-side-security-bzB9JosR.mjs} +6 -6
- package/dist/{cloud-connector-DqkOIRDr.mjs → cloud-connector-BHtf37R5.mjs} +2 -2
- package/dist/{cloudflared-DDp_8PTK.mjs → cloudflared-QDdHMUEY.mjs} +1 -1
- package/dist/{cloudforce-one-B9k8vhso.mjs → cloudforce-one-DWBPQDA3.mjs} +126 -124
- package/dist/{command--Y_QAiU2.mjs → command-AVwd7XjE.mjs} +1 -1
- package/dist/{command-DlI7Z_7j.mjs → command-B87T_f2f.mjs} +1 -1
- package/dist/{command-QHmV62Fv.mjs → command-CEHhi3t0.mjs} +1 -1
- package/dist/{command-B-_ba4rQ.mjs → command-CYmQE79n.mjs} +1 -1
- package/dist/{command-DsOv6z9q.mjs → command-CbxXc5IW.mjs} +1 -1
- package/dist/{command-BKNQsGqu.mjs → command-Ce8CVLth.mjs} +1 -1
- package/dist/{command-MxFFWqMg.mjs → command-CqDudQZs.mjs} +1 -1
- package/dist/{command-BV8-laJK.mjs → command-D4YcwpVp.mjs} +1 -1
- package/dist/{command-BVz2aES3.mjs → command-D895kdlh.mjs} +1 -1
- package/dist/{command-yOG9VUtq.mjs → command-D9Qyi1B0.mjs} +1 -1
- package/dist/{command-CfOqnqlN.mjs → command-DeutqL1n.mjs} +1 -1
- package/dist/{command-Dn39o5xQ.mjs → command-Dl9ICrRK.mjs} +1 -1
- package/dist/{command-CN8NFLs2.mjs → command-DtCSe8Hy.mjs} +1 -1
- package/dist/{command-BsCFkho-.mjs → command-DwzVtmb3.mjs} +1 -1
- package/dist/{command-CQMRxiDz.mjs → command-wtBubtZ4.mjs} +1 -1
- package/dist/{completions-BA52jTea.mjs → completions-BvdKtzsX.mjs} +1 -1
- package/dist/{connector-interrupts-zL7pxPn6.mjs → connector-interrupts-dUPW6Ya_.mjs} +2 -2
- package/dist/{connector-telemetry-events-PL4Fqqvu.mjs → connector-telemetry-events-DWVCqnhn.mjs} +1 -1
- package/dist/{connector-telemetry-snapshots-DyBSuEFB.mjs → connector-telemetry-snapshots-CeMP3qeI.mjs} +1 -1
- package/dist/{connectors-D8H6rQz9.mjs → connectors-DZFGNw3i.mjs} +4 -4
- package/dist/{containers-D4sa-Eoy.mjs → containers-B06OGOEB.mjs} +212 -212
- package/dist/{containers-Db-eWudu.mjs → containers-DCzQCo79.mjs} +8 -8
- package/dist/{content-scan-DUVq09i8.mjs → content-scan-XhnNJqXf.mjs} +4 -4
- package/dist/{context-BvLXzoMs.mjs → context-BY1Eh_Qe.mjs} +1 -1
- package/dist/{cps-CqaRliZZ.mjs → cps-CohlxvuN.mjs} +2 -2
- package/dist/create-DmLDMvrj.mjs +2 -0
- package/dist/{csam-scanner-DsXvOOsZ.mjs → csam-scanner-BV4bHq8v.mjs} +2 -4
- package/dist/custom-csrs-BVdMQjYq.mjs +18 -0
- package/dist/{custom-hostnames-Cj_csfo_.mjs → custom-hostnames-r-CxhSa1.mjs} +5 -5
- package/dist/custom-nameservers-CapMDyly.mjs +12 -0
- package/dist/custom-pages-BVIniWfq.mjs +38 -0
- package/dist/d1-nJCOJZb8.mjs +50 -0
- package/dist/{delegate-CMfEjvHn.mjs → delegate-CcL6RoGw.mjs} +1 -1
- package/dist/delegate.mjs +1 -1
- package/dist/{deploy-DDbmxkiX.mjs → deploy-DJMnWFNk.mjs} +1 -1
- package/dist/{deploy-context-DsEVu7bf.mjs → deploy-context-YCW3eqP1.mjs} +15 -15
- package/dist/{deploy-input-BA_3Q2Xu.mjs → deploy-input-CQLBXFEB.mjs} +1 -1
- package/dist/{dev-BS156bim.mjs → dev-GsYHvMah.mjs} +1 -1
- package/dist/{diagnostics-BmkQnSEb.mjs → diagnostics-C3nqxsAO.mjs} +4 -4
- package/dist/{dist-DehXZozc.mjs → dist-D-ihn_mV.mjs} +42 -33
- package/dist/{dls-DciZC_gQ.mjs → dls-N1x8sAK3.mjs} +3 -3
- package/dist/{dns-C2YPspGN.mjs → dns-DATWP-PF.mjs} +36 -30
- package/dist/{dns-firewall-CRfde07f.mjs → dns-firewall-n3Y2ui6W.mjs} +8 -8
- package/dist/{docs-CYjyBA8q.mjs → docs-CRc_WOXh.mjs} +1 -1
- package/dist/{dry-run-gy0Hl9xo.mjs → dry-run-kJbjn4kG.mjs} +1 -1
- package/dist/{durable-objects-DcI97y4p.mjs → durable-objects-DHK9w-vO.mjs} +2 -2
- package/dist/{email-auth-CMCQAu99.mjs → email-auth-ptdqNSTZ.mjs} +1 -1
- package/dist/email-domains-uL22-zRY.mjs +14 -0
- package/dist/{email-routing-7p9dr5Ue.mjs → email-routing-CV43rMJC.mjs} +15 -13
- package/dist/{email-security-Bu0fAYh-.mjs → email-security-DK_SJ0yi.mjs} +38 -38
- package/dist/{email-sending-OpMZNaHZ.mjs → email-sending-CTQafGec.mjs} +17 -17
- package/dist/{error-sanitization-DG8WSzHe.mjs → error-sanitization-BkgtZ0Vx.mjs} +1 -1
- package/dist/error-sanitization-D069tpKk.mjs +2 -0
- package/dist/{errors-C5RGao2J.mjs → errors-VG1mgwJl.mjs} +1 -1
- package/dist/{field-extractors-BfsNjd0e.mjs → field-extractors-jcZ_bAGc.mjs} +2 -2
- package/dist/{firewall-CJ-VIOk1.mjs → firewall-CW-fAI9m.mjs} +30 -14
- package/dist/{flagship-C5PTR1ND.mjs → flagship-RiLnDwfJ.mjs} +8 -8
- package/dist/{fraud-B7hwBheX.mjs → fraud-DvfBBTe8.mjs} +2 -2
- package/dist/get-3XNn0upb.mjs +2 -0
- package/dist/global-options-DiKj2cQy.mjs +2 -0
- package/dist/{google-tag-gateway-D7iFDVEa.mjs → google-tag-gateway-C5WYsSXv.mjs} +2 -2
- package/dist/{healthchecks-B4jTcKV7.mjs → healthchecks-BA1fmzTm.mjs} +5 -5
- package/dist/{hyperdrive-1432DM-p.mjs → hyperdrive-Ch6klUp3.mjs} +4 -4
- package/dist/iam-LlGEzRCq.mjs +62 -0
- package/dist/{images-Ttea4khD.mjs → images-C5WqUXkK.mjs} +11 -11
- package/dist/index.mjs +1 -1
- package/dist/{init-BeYrAg7Q.mjs → init-EVsjBrOz.mjs} +2 -2
- package/dist/{intel-CJznBf5n.mjs → intel-vcWyslaX.mjs} +18 -19
- package/dist/{interactive-DsU8VDvK.mjs → interactive-BCDFSPtq.mjs} +1 -1
- package/dist/{internal-DOho_iA0.mjs → internal-BhV9WjLp.mjs} +1 -1
- package/dist/{ips-BgNoRwFN.mjs → ips-CqHjVsqd.mjs} +1 -1
- package/dist/{k2-Cj1ORHul.mjs → k2-CZT2Pd5J.mjs} +2 -2
- package/dist/kv-Ipa7dnvF.mjs +12 -0
- package/dist/{lazy-command-DeTzOWvU.mjs → lazy-command-DbKVgdGT.mjs} +1 -1
- package/dist/{leaked-credential-checks-21Wc7OqL.mjs → leaked-credential-checks-EzT4TTjO.mjs} +4 -4
- package/dist/{live-BfrWKfq8.mjs → live-C9L1bNuE.mjs} +1 -1
- package/dist/load-balancers-Cb3VkSfc.mjs +84 -0
- package/dist/local-D5Vq6ooZ.mjs +2 -0
- package/dist/{local-CvzO-cQH.mjs → local-DIJ7SIKC.mjs} +1 -1
- package/dist/{local-runtime-DOpR_Tnc.mjs → local-runtime-BZjgkacr.mjs} +1 -1
- package/dist/{login-CVWkMh1L.mjs → login-DG5ebyab.mjs} +1 -1
- package/dist/login-DRJugxya.mjs +2 -0
- package/dist/logpush-C5Gw7F_9.mjs +68 -0
- package/dist/logs-y3REfHbb.mjs +51 -0
- package/dist/magic-network-monitoring-BZBGZB6M.mjs +34 -0
- package/dist/{magic-transit-BhP424T-.mjs → magic-transit-BPV_POf5.mjs} +129 -129
- package/dist/{managed-defense-6l_B3hn_.mjs → managed-defense-BaUBSUcz.mjs} +3 -3
- package/dist/{managed-transforms-D7FMBsnq.mjs → managed-transforms-CjkjLzMC.mjs} +2 -2
- package/dist/{mcp-BUOfMkBP.mjs → mcp-RPtrISTy.mjs} +6 -6
- package/dist/{mesh-B1RrhAT1.mjs → mesh-DZ4QHBPE.mjs} +5 -5
- package/dist/{migrate-BTU8AvlP.mjs → migrate-CRIUqGi2.mjs} +1 -1
- package/dist/{monetization-Da3ooFLC.mjs → monetization-CVZqM8Xo.mjs} +9 -5
- package/dist/{network-CjhSzhMm.mjs → network-DLt2JUo1.mjs} +15 -15
- package/dist/{network-interconnects-DEQD6GM8.mjs → network-interconnects-9nS5jL__.mjs} +10 -10
- package/dist/o11y-ySxrnP1Z.mjs +88 -0
- package/dist/{oauth-Dnog5v-Q.mjs → oauth-CFVUl-Wv.mjs} +1 -1
- package/dist/{oauth-DdXkpU44.mjs → oauth-Cidoyxfp.mjs} +1 -1
- package/dist/observability-C-KNh__y.mjs +4 -0
- package/dist/ohttp-gateway-B5nCl4s3.mjs +8 -0
- package/dist/organizations-DbeeWUL4.mjs +71 -0
- package/dist/output-BZQEl3mK.mjs +2 -0
- package/dist/package-B7RgwuFR.mjs +2 -0
- package/dist/{page-rules-D2eFbKWb.mjs → page-rules-DRw763O1.mjs} +4 -4
- package/dist/{pages-DYZDvWK6.mjs → pages-DfQnxiTk.mjs} +12 -12
- package/dist/{pay-per-crawl-CgPFv5HT.mjs → pay-per-crawl-EHYtSKxX.mjs} +13 -13
- package/dist/{pay-per-use-BIQrsrTy.mjs → pay-per-use-wdEhl8k4.mjs} +14 -12
- package/dist/{pipelines-D6pkhlpm.mjs → pipelines-DbyrI6F4.mjs} +11 -11
- package/dist/precursor-Dx8lN4UJ.mjs +4 -0
- package/dist/previews-DEVNSip2.mjs +6 -0
- package/dist/{progress-B-CVX0kn.mjs → progress-yvPscjYg.mjs} +1 -1
- package/dist/{prompt-DJF_Rs5S.mjs → prompt-CEpZ-lQZ.mjs} +1 -1
- package/dist/{queues-DaqLO-UO.mjs → queues-DgMc7Z6A.mjs} +18 -18
- package/dist/{r2-DDIU9JN3.mjs → r2-BpTVicIq.mjs} +43 -43
- package/dist/{radar-D59qCgld.mjs → radar-DW-S1VUh.mjs} +11 -11
- package/dist/{raw-fetch-BrOxDN9k.mjs → raw-fetch-Cl5spWC3.mjs} +1 -1
- package/dist/{ready-DgE08svD.mjs → ready-d0li0X6r.mjs} +1 -1
- package/dist/realtime-DMKHLYF4.mjs +170 -0
- package/dist/registrar-D23gfKBi.mjs +43 -0
- package/dist/{registrar-sandbox-uzs3eOKk.mjs → registrar-sandbox-lVLB1-mC.mjs} +4 -4
- package/dist/{reporting-Dx2YTick.mjs → reporting-WX8P3Y0k.mjs} +2 -2
- package/dist/{request-headers-DHzBX7dQ.mjs → request-headers-C0FpeBhz.mjs} +1 -1
- package/dist/{request-tracers-B49cBKkj.mjs → request-tracers-qd7XOAka.mjs} +2 -2
- package/dist/resource-sharing-B2ZSt_cA.mjs +36 -0
- package/dist/{rules-CjgLSlUC.mjs → rules-CB0QQTB3.mjs} +5 -5
- package/dist/rulesets-DmqwixUC.mjs +42 -0
- package/dist/{rum-vPEpMS_h.mjs → rum-BZ_24qZU.mjs} +9 -9
- package/dist/{run-BZ6Fj3jQ.mjs → run-BOKI1uWa.mjs} +1 -1
- package/dist/run-DBqOjD1P.mjs +2 -0
- package/dist/{schema-DuLIZRhA.mjs → schema-Dj9STsWI.mjs} +1 -1
- package/dist/{schema-cache-C_rvto6Y.mjs → schema-cache-5NkOj7Y3.mjs} +1 -1
- package/dist/schema-flags-CXm9iIv6.mjs +4 -0
- package/dist/{scim-BA7XbsSu.mjs → scim-DchxaJfE.mjs} +8 -8
- package/dist/{secrets-store-MEUNt1Ph.mjs → secrets-store-oAft1cFE.mjs} +5 -5
- package/dist/security-insights-DMm0qg_m.mjs +62 -0
- package/dist/{security-txt-DikhnR2L.mjs → security-txt-CIt0494b.mjs} +2 -2
- package/dist/{session-BOnam-Wv.mjs → session-vzNfUhPl.mjs} +1 -1
- package/dist/{shared-DmmWSObC.mjs → shared-MK-_lkbn.mjs} +1 -1
- package/dist/{signed-url-C-24KbWB.mjs → signed-url-gNangfwc.mjs} +1 -1
- package/dist/{smart-shield-DPqLMz7M.mjs → smart-shield-Boy_qbqd.mjs} +6 -6
- package/dist/{snippets-Bi3Uq1DF.mjs → snippets-DdoDYXW-.mjs} +3 -3
- package/dist/{spawn-C3hzWVrJ.mjs → spawn-B5F4OIHG.mjs} +1 -1
- package/dist/{spectrum-BaWKMoAl.mjs → spectrum-DLYIHelC.mjs} +3 -3
- package/dist/{speed-DShjlpAs.mjs → speed-DugG9Tm9.mjs} +2 -2
- package/dist/{sql-DCoFf15T.mjs → sql-Bb56llsb.mjs} +2 -2
- package/dist/src-BoSDeQ9m.mjs +133 -0
- package/dist/{ssl-C4nt4pJK.mjs → ssl-Bg4X3WGk.mjs} +24 -24
- package/dist/startup-profile-DQVkZZpb.mjs +2 -0
- package/dist/{startup-profile-CFJ_Lu1c.mjs → startup-profile-DZL2DC44.mjs} +1 -1
- package/dist/state-DW3QZtfh.mjs +2 -0
- package/dist/{state-DmjHXZat.mjs → state-mr5ux1Nb.mjs} +1 -1
- package/dist/{stream-CpZbnSpH.mjs → stream-BuZYDbNR.mjs} +21 -21
- package/dist/{tags-BIjQ3Kjh.mjs → tags-SKz2odE_.mjs} +12 -6
- package/dist/{telemetry-BDhqOpUw.mjs → telemetry-B4zmCpT0.mjs} +1 -1
- package/dist/telemetry-DkDUr4KK.mjs +2 -0
- package/dist/tenant-custom-nameservers-BhkhBerL.mjs +8 -0
- package/dist/tenants-DD-GMq0K.mjs +13 -0
- package/dist/{tools-C-vmgYSv.mjs → tools-KW_4hvzY.mjs} +1 -1
- package/dist/{tunnels-CXAO2CeL.mjs → tunnels-D90ztENM.mjs} +6 -6
- package/dist/{turnstile-Ctm0rs0q.mjs → turnstile-DhSU_Xar.mjs} +4 -4
- package/dist/ui-xjCox-gU.mjs +2 -0
- package/dist/{update-check-D_Wtw0_D.mjs → update-check-CRttabfu.mjs} +1 -1
- package/dist/{update-check-Dc7cRFlx.mjs → update-check-HltjTMDE.mjs} +1 -1
- package/dist/update-check-worker.mjs +1 -1
- package/dist/{url-normalization-DOfc2Q7a.mjs → url-normalization-K7gkmPvG.mjs} +2 -2
- package/dist/{url-scanner-J8M3X2tR.mjs → url-scanner-BRdWwka4.mjs} +3 -3
- package/dist/{user-BaF0qvvO.mjs → user-Cmb1_Wu5.mjs} +50 -52
- package/dist/{vectorize-D5qiggZU.mjs → vectorize-BTBerJME.mjs} +11 -11
- package/dist/verify-B9ILCohg.mjs +2 -0
- package/dist/verify-BCuWaO-L.mjs +2 -0
- package/dist/version-6Bpy6Bgt.mjs +2 -0
- package/dist/{waiting-rooms-BdmAq7ul.mjs → waiting-rooms-LymmKIGr.mjs} +16 -14
- package/dist/{web-assets-BySw_Tme.mjs → web-assets-LHPQsrnY.mjs} +21 -21
- package/dist/{web3-BKkKf1RF.mjs → web3-BsOio0Ae.mjs} +12 -12
- package/dist/workers-BnLiOjZf.mjs +39 -0
- package/dist/{workers-builds-CVJ4FqzB.mjs → workers-builds-sKpITeRk.mjs} +4 -4
- package/dist/{workers-for-platforms-mzdtmr6r.mjs → workers-for-platforms-BGp6yr6P.mjs} +9 -9
- package/dist/workers-vpc-D8lefWDo.mjs +12 -0
- package/dist/{workflows-Cr957c4U.mjs → workflows-B-ZIG3y7.mjs} +22 -22
- package/dist/{wrangler-migration-DZV7-4Fp.mjs → wrangler-migration-6E6wT_LZ.mjs} +67 -58
- package/dist/zaraz-BBKki5WS.mjs +22 -0
- package/dist/{zero-trust-BVCvQJ4e.mjs → zero-trust-BZDXM5r6.mjs} +487 -409
- package/dist/{zones-BzyjOT10.mjs → zones-B-UV_DGE.mjs} +24 -24
- package/package.json +16 -16
- package/dist/abuse-reports-zPrsxbRz.mjs +0 -24
- package/dist/ai-audit-DI4Rw2wl.mjs +0 -6
- package/dist/ai-search-QOenIzDL.mjs +0 -74
- package/dist/analytics-CQ-Yt1mm.mjs +0 -17
- package/dist/analytics-engine-CdrY5-95.mjs +0 -4
- package/dist/api-X3wKppsT.mjs +0 -3
- package/dist/argo-BiefH8wc.mjs +0 -14
- package/dist/auth-Czzy5Rs_.mjs +0 -2
- package/dist/auth-D5Yj9eYU.mjs +0 -2
- package/dist/billing-BrLJqlOf.mjs +0 -22
- package/dist/body-parser-BKcZS9iJ.mjs +0 -2
- package/dist/bot-management-BSBVuKc0.mjs +0 -9
- package/dist/brand-protection-Byoa1hvj.mjs +0 -26
- package/dist/browser-run-BSVANGzU.mjs +0 -40
- package/dist/build-CPKxZ3kL.mjs +0 -2
- package/dist/build-Dwd1_7o0.mjs +0 -2
- package/dist/cache-0xCdyNg9.mjs +0 -36
- package/dist/chunk-3PJ54H4K-CY8EY_n2.mjs +0 -363
- package/dist/create-BtmuVqVL.mjs +0 -2
- package/dist/custom-csrs-Dl_daAbX.mjs +0 -10
- package/dist/custom-nameservers-Bw2P7F_W.mjs +0 -8
- package/dist/custom-pages-CJ7ecSX6.mjs +0 -20
- package/dist/d1-BsWI546w.mjs +0 -89
- package/dist/email-domains-1Nx60ETD.mjs +0 -12
- package/dist/error-sanitization-B025CygB.mjs +0 -2
- package/dist/get-Be821dio.mjs +0 -2
- package/dist/iam-DuZenYtc.mjs +0 -48
- package/dist/kv-CTyuvcAz.mjs +0 -12
- package/dist/load-balancers-DMTsh-9q.mjs +0 -72
- package/dist/local-CWTti4ot.mjs +0 -2
- package/dist/login-Djz5mvHJ.mjs +0 -2
- package/dist/logpush-OMhp7VgE.mjs +0 -44
- package/dist/logs-BSyyNwso.mjs +0 -35
- package/dist/magic-cloud-networking-DD29yMnE.mjs +0 -68
- package/dist/magic-network-monitoring-DRRvSrDP.mjs +0 -34
- package/dist/o11y-DeNxXxcp.mjs +0 -86
- package/dist/oauth-clients-UnbMcHkx.mjs +0 -14
- package/dist/oauth-scopes-DbtnZVO4.mjs +0 -4
- package/dist/organization-IsxVyWol.mjs +0 -73
- package/dist/organizations-p8Mgo8A7.mjs +0 -4
- package/dist/origin-post-quantum-encryption-Bwysyttf.mjs +0 -6
- package/dist/output-BJEgbI0G.mjs +0 -2
- package/dist/package-BOE_De2L.mjs +0 -2
- package/dist/precursor-B35P8h6h.mjs +0 -4
- package/dist/previews-B1mqjXaJ.mjs +0 -6
- package/dist/realtime-DWjdrDzv.mjs +0 -168
- package/dist/registrar-uYOU1U27.mjs +0 -43
- package/dist/resource-sharing-CIsLVAcK.mjs +0 -36
- package/dist/rulesets-C7_aZA7m.mjs +0 -34
- package/dist/run-D4-K_cbQ.mjs +0 -2
- package/dist/schema-flags-Cr6kleor.mjs +0 -4
- package/dist/security-insights-ZKtey62s.mjs +0 -40
- package/dist/src-jyCTFHcS.mjs +0 -131
- package/dist/startup-profile-D_Qjgca1.mjs +0 -2
- package/dist/state-C7lNNN31.mjs +0 -2
- package/dist/telemetry-BZdRnr26.mjs +0 -2
- package/dist/tenant-CqYoylyU.mjs +0 -10
- package/dist/tenant-custom-nameservers-DDzzdyY3.mjs +0 -8
- package/dist/ui-BUCBQ3Sq.mjs +0 -2
- package/dist/version-DNcdABcr.mjs +0 -2
- package/dist/workers-TS0oQ-XH.mjs +0 -39
- package/dist/workers-vpc-xB1hHFPd.mjs +0 -12
- package/dist/zaraz-C8__FhOh.mjs +0 -22
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./api-
|
|
2
|
+
import"./api-Dnt6lRJG.mjs";import{t as e}from"./path-DRw6Y-nd.mjs";import{t}from"./local-DIJ7SIKC.mjs";import{i as n,n as r}from"./auth-B-h0BHg7.mjs";import{a as i,t as a}from"./context-BY1Eh_Qe.mjs";import{t as o}from"./output-BZQEl3mK.mjs";import{t as s}from"./dry-run-kJbjn4kG.mjs";import{t as c}from"./progress-yvPscjYg.mjs";import{t as l}from"./run-BOKI1uWa.mjs";import"./telemetry-DkDUr4KK.mjs";import{n as u,o as d,t as f}from"./body-parser-DoewLePl.mjs";import{n as p}from"./input-validation-D7z60HJH.mjs";import{a as m,i as h,n as g}from"./prompt-CEpZ-lQZ.mjs";import{n as _,t as ee}from"./raw-fetch-Cl5spWC3.mjs";var v={method:`POST`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency`,body:`json`,errors:{400:`BadRequestError`,403:`ForbiddenError`,409:`ConflictError`}};function y(e){return e.usage(`$0 workflows concurrency create
|
|
3
3
|
|
|
4
|
-
Creates an account-scoped concurrency key. Limits count steps still in flight from a previously deleted key of the same name.`).option(`limit`,{type:`number`,description:`Maximum number of steps that may concurrently hold this key.`}).option(`name`,{type:`string`,description:`Unique (per account) name of the concurrency key. Referenced by workflow steps via step config.`}).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
|
|
4
|
+
Creates an account-scoped concurrency key. Limits count steps still in flight from a previously deleted key of the same name.`).option(`limit`,{type:`number`,description:`Maximum number of steps that may concurrently hold this key.`}).option(`name`,{type:`string`,description:`Unique (per account) name of the concurrency key. Referenced by workflow steps via step config.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const te={command:`create`,describe:`Create a concurrency key`,builder:y,handler:async e=>l({command:`workflows concurrency create`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows concurrency create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/concurrency`,pathParams:{},bodyKind:`json`,body:e.body===void 0?f({limit:e.limit,name:p(e.name,`name`,`text`)}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),d=e.local?t:await a();if(e.accountId=d,e.body!==void 0){let e=n,t=await c(`Creating`,async()=>l.send(v,{body:e,account_id:d}));o(t,{successLabel:`Created`});return}if(e.limit===void 0)throw Error(`--limit is required (or pass --body with this field set).`);e.name===void 0&&(e.name=await m(`name`,`Unique (per account) name of the concurrency key. Referenced by workflow steps via step config.`));let h=f({limit:e.limit,name:p(e.name,`name`,`text`)}),g=await c(`Creating`,async()=>l.send(v,{body:h,account_id:d}));o(g,{successLabel:`Created`})})};var ne={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency/${t.key_id}`,errors:{400:`BadRequestError`,403:`ForbiddenError`,404:`NotFoundError`,409:`ConflictError`}};function re(e){return e.usage(`$0 workflows concurrency delete <key-id>
|
|
5
5
|
|
|
6
|
-
Deletes a concurrency key. Fails while any workflow’s latest version references the key. The key disappears immediately, but steps already holding it keep their slots until they finish and still count against a key re-created with the same name.`).positional(`key-id`,{type:`string`,description:`Identifier of the concurrency key.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const
|
|
6
|
+
Deletes a concurrency key. Fails while any workflow’s latest version references the key. The key disappears immediately, but steps already holding it keep their slots until they finish and still count against a key re-created with the same name.`).positional(`key-id`,{type:`string`,description:`Identifier of the concurrency key.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const ie={command:`delete <key-id>`,describe:`Delete a concurrency key`,builder:re,handler:async e=>l({command:`workflows concurrency delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows concurrency delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/concurrency/${e[`key-id`]==null?`<key-id>`:encodeURIComponent(String(e[`key-id`]))}`,pathParams:{"key-id":String(e[`key-id`]??``)},bodyKind:`none`});return}let n=await r(e),l=e.local?t:await a();if(e.accountId=l,!await g({force:!!e.force}))return;let u=await c(`Deleting`,async()=>n.send(ne,{account_id:l,key_id:e[`key-id`]}));o(u,{successLabel:`Deleted`})})};var b={method:`PATCH`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency/${t.key_id}`,body:`json`,errors:{400:`BadRequestError`,403:`ForbiddenError`,404:`NotFoundError`}};function ae(e){return e.usage(`$0 workflows concurrency edit <key-id>
|
|
7
7
|
|
|
8
|
-
Updates the limit of a concurrency key. Applies to instances that start after the change.`).positional(`key-id`,{type:`string`,description:`Identifier of the concurrency key.`,demandOption:!0}).option(`limit`,{type:`number`,description:`Maximum number of steps that may concurrently hold this key.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const
|
|
8
|
+
Updates the limit of a concurrency key. Applies to instances that start after the change.`).positional(`key-id`,{type:`string`,description:`Identifier of the concurrency key.`,demandOption:!0}).option(`limit`,{type:`number`,description:`Maximum number of steps that may concurrently hold this key.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const oe={command:`edit <key-id>`,describe:`Update a concurrency key`,builder:ae,handler:async e=>l({command:`workflows concurrency edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows concurrency edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/concurrency/${e[`key-id`]==null?`<key-id>`:encodeURIComponent(String(e[`key-id`]))}`,pathParams:{"key-id":String(e[`key-id`]??``)},bodyKind:`json`,body:e.body===void 0?f({limit:e.limit}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),d=e.local?t:await a();if(e.accountId=d,e.body!==void 0){let t=n,r=await c(`Updating`,async()=>l.send(b,{body:t,account_id:d,key_id:e[`key-id`]}));o(r,{successLabel:`Updated`});return}if(e.limit===void 0)throw Error(`--limit is required (or pass --body with this field set).`);let p=f({limit:e.limit}),m=await c(`Updating`,async()=>l.send(b,{body:p,account_id:d,key_id:e[`key-id`]}));o(m,{successLabel:`Updated`})})};var x={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency/${t.key_id}`,errors:{400:`BadRequestError`,403:`ForbiddenError`,404:`NotFoundError`}};function S(e){return e.usage(`$0 workflows concurrency get <key-id>
|
|
9
9
|
|
|
10
10
|
Retrieves a concurrency key and the workflows whose latest version references it.`).positional(`key-id`,{type:`string`,description:`Identifier of the concurrency key.`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const C={command:`get <key-id>`,describe:`Get concurrency key details`,builder:S,handler:async e=>l({command:`workflows concurrency get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows concurrency get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/concurrency/${e[`key-id`]==null?`<key-id>`:encodeURIComponent(String(e[`key-id`]))}`,pathParams:{"key-id":String(e[`key-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(x,{account_id:l,key_id:e[`key-id`]}));o(u,{successLabel:`Loaded`})})};var w={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/concurrency`,query:[`per_page`,`page`],errors:{400:`BadRequestError`,403:`ForbiddenError`}};function T(e){return e.usage(`$0 workflows concurrency list
|
|
11
11
|
|
|
12
|
-
Lists the account-scoped concurrency keys.`).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const E={command:`list`,describe:`List concurrency keys`,builder:T,handler:async e=>l({command:`workflows concurrency list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let n={per_page:e[`per-page`],page:e.page};if(e.dryRun){let e=await i();s({command:`cf workflows concurrency list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/workflows/concurrency`,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(w,{account_id:u,...n}));o(d,{successLabel:`Loaded`})})},D={command:`concurrency`,describe:`Operations for concurrency`,builder:e=>e.command(
|
|
12
|
+
Lists the account-scoped concurrency keys.`).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const E={command:`list`,describe:`List concurrency keys`,builder:T,handler:async e=>l({command:`workflows concurrency list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let n={per_page:e[`per-page`],page:e.page};if(e.dryRun){let e=await i();s({command:`cf workflows concurrency list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/workflows/concurrency`,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(w,{account_id:u,...n}));o(d,{successLabel:`Loaded`})})},D={command:`concurrency`,describe:`Operations for concurrency`,builder:e=>e.command(te).command(ie).command(oe).command(C).command(E).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var O={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}`,errors:{400:`BadRequestError`,404:`NotFoundError`}};function k(e){return e.usage(`$0 workflows delete <workflow-name>
|
|
13
13
|
|
|
14
14
|
Deletes a Workflow. This only deletes the Workflow and does not delete or modify any Worker associated to this Workflow or bounded to it.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const A={command:`delete <workflow-name>`,describe:`Deletes a Workflow`,builder:k,handler:async e=>l({command:`workflows delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},bodyKind:`none`});return}let n=await r(e),l=e.local?t:await a();if(e.accountId=l,!await g({force:!!e.force,message:`This operation permanently deletes the Workflow.`}))return;let u=await c(`Deleting`,async()=>n.send(O,{account_id:l,workflow_name:e[`workflow-name`]}));o(u,{successLabel:`Deleted`})})};var j={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}`,errors:{400:`BadRequestError`,404:`NotFoundError`}};function M(e){return e.usage(`$0 workflows get <workflow-name>
|
|
15
15
|
|
|
16
|
-
Retrieves configuration and metadata for a specific workflow.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const N={command:`get <workflow-name>`,describe:`Get Workflow details`,builder:M,handler:async e=>l({command:`workflows get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},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(j,{account_id:l,workflow_name:e[`workflow-name`]}));o(u,{successLabel:`Loaded`})})};function
|
|
16
|
+
Retrieves configuration and metadata for a specific workflow.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const N={command:`get <workflow-name>`,describe:`Get Workflow details`,builder:M,handler:async e=>l({command:`workflows get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},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(j,{account_id:l,workflow_name:e[`workflow-name`]}));o(u,{successLabel:`Loaded`})})};var P={method:`POST`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/batch`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`}};function F(e){return e.usage(`$0 workflows instances batch create <workflow-name>
|
|
17
17
|
|
|
18
|
-
Creates multiple workflow instances in a single batch operation.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const
|
|
18
|
+
Creates multiple workflow instances in a single batch operation.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const I={command:`create <workflow-name>`,describe:`Batch create new Workflow instances`,builder:F,handler:async e=>l({command:`workflows instances batch create`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances batch create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/batch`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},bodyKind:`json`,body:e.body===void 0?void 0:u(e.body,[],100)});return}if(e.body===void 0)throw Error(`--body is required for this command. Pass --body '<json>' or --body @path/to/file.json.`);let n=e.body===void 0?void 0:u(e.body,[],100),l=await r(e),d=e.local?t:await a();if(e.accountId=d,e.body!==void 0){let t=n,r=await c(`Creating`,async()=>l.send(P,{body:t,account_id:d,workflow_name:e[`workflow-name`]}));o(r,{successLabel:`Created`})}})},L={command:`batch`,describe:`Operations for instances.batch`,builder:e=>e.command(I).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var R={method:`POST`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`}};function z(e){return e.usage(`$0 workflows instances create <workflow-name>
|
|
19
19
|
|
|
20
|
-
Creates a new instance of a workflow, starting its execution.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`instance-id`,{type:`string`,description:"The system reserves IDs that consist of the `cf_` prefix and exactly 64 lowercase hexadecimal characters."}).option(`instance-retention-error`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).option(`instance-retention-success`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).option(`location-hint`,{type:`string`,description:`The location_hint field`,choices:[`wnam`,`weur`,`enam`,`eeur`,`apac`,`apac-ne`,`apac-se`,`oc`,`sam`,`afr`,`me`]}).coerce(`location-hint`,e=>p(e,`location-hint`,`text`)).option(`params`,{type:`string`,description:`JSON-encoded event payload passed into the new instance.`}).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
|
|
20
|
+
Creates a new instance of a workflow, starting its execution.`).positional(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`instance-id`,{type:`string`,description:"The system reserves IDs that consist of the `cf_` prefix and exactly 64 lowercase hexadecimal characters."}).option(`instance-retention-error`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).option(`instance-retention-success`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).option(`location-hint`,{type:`string`,description:`The location_hint field`,choices:[`wnam`,`weur`,`enam`,`eeur`,`apac`,`apac-ne`,`apac-se`,`oc`,`sam`,`afr`,`me`]}).coerce(`location-hint`,e=>p(e,`location-hint`,`text`)).option(`params`,{type:`string`,description:`JSON-encoded event payload passed into the new instance.`}).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 B={command:`create <workflow-name>`,describe:`Create a new workflow instance`,builder:z,handler:async e=>l({command:`workflows instances create`,classification:{safeFlags:[`location-hint`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances create`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},bodyKind:`json`,body:e.body===void 0?f({instance_id:p(e[`instance-id`],`instance-id`,`text`),instance_retention:{error_retention:d(e[`instance-retention-error`],`instance-retention-error`),success_retention:d(e[`instance-retention-success`],`instance-retention-success`)},location_hint:e[`location-hint`],params:p(e.params,`params`,`json`)}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),m=e.local?t:await a();if(e.accountId=m,e.body!==void 0){let t=n,r=await c(`Creating`,async()=>l.send(R,{body:t,account_id:m,workflow_name:e[`workflow-name`]}));o(r,{successLabel:`Created`});return}let h=f({instance_id:p(e[`instance-id`],`instance-id`,`text`),instance_retention:{error_retention:d(e[`instance-retention-error`],`instance-retention-error`),success_retention:d(e[`instance-retention-success`],`instance-retention-success`)},location_hint:e[`location-hint`],params:p(e.params,`params`,`json`)}),g=await c(`Creating`,async()=>l.send(R,{body:h,account_id:m,workflow_name:e[`workflow-name`]}));o(g,{successLabel:`Created`})})};var V={method:`DELETE`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}`,errors:{404:`NotFoundError`}};function H(e){return e.usage(`$0 workflows instances delete <instance-id>
|
|
21
21
|
|
|
22
|
-
Deletes a workflow instance and its stored state.`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const
|
|
22
|
+
Deletes a workflow instance and its stored state.`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1})}const U={command:`delete <instance-id>`,describe:`Delete a workflow instance`,builder:H,handler:async e=>l({command:`workflows instances delete`,classification:{safeFlags:[`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances delete`,method:`DELETE`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``)},bodyKind:`none`});return}let n=await r(e),l=e.local?t:await a();if(e.accountId=l,!await g({force:!!e.force}))return;let u=await c(`Deleting`,async()=>n.send(V,{account_id:l,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(u,{successLabel:`Deleted`})})};var W={method:`POST`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}/events/${t.event_type}`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`}};function G(e){return e.usage(`$0 workflows instances events send <event-type>
|
|
23
23
|
|
|
24
|
-
Sends an event to a running workflow instance to trigger state transitions.`).positional(`event-type`,{type:`string`,description:`Event type`,demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
24
|
+
Sends an event to a running workflow instance to trigger state transitions.`).positional(`event-type`,{type:`string`,description:`Event type`,demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`})}const K={command:`send <event-type>`,describe:`Send event to instance`,builder:G,handler:async e=>l({command:`workflows instances events send`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances events send`,method:`POST`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}/events/${e[`event-type`]==null?`<event-type>`:encodeURIComponent(String(e[`event-type`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``),"event-type":String(e[`event-type`]??``)},bodyKind:`json`,body:e.body===void 0?void 0:u(e.body)});return}let l=e.body===void 0?void 0:u(e.body),d=await r(e),f=e.local?t:await a();if(e.accountId=f,e.body!==void 0){let t=l,n=await c(`Creating`,async()=>d.send(W,{body:t,account_id:f,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`],event_type:e[`event-type`]}));o(n,{successLabel:`Created`});return}let p=await c(`Creating`,async()=>n(d,`POST`,`/accounts/${f}/workflows/${encodeURIComponent(String(e[`workflow-name`]))}/instances/${encodeURIComponent(String(e[`instance-id`]))}/events/${encodeURIComponent(String(e[`event-type`]))}`));o(p,{successLabel:`Created`})})},q={command:`events`,describe:`Operations for instances.events`,builder:e=>e.command(K).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var se={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}`,query:[`simple`,`order`],errors:{400:`BadRequestError`,404:`NotFoundError`,429:`TooManyRequestsError`}};function ce(e){return e.usage(`$0 workflows instances get <instance-id>
|
|
25
25
|
|
|
26
|
-
Retrieves logs and execution status for a specific workflow instance.`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`simple`,{type:`string`,description:`When true, omits step details and returns only metadata with step_count.`,choices:[`true`,`false`]}).option(`order`,{type:`string`,description:`Step ordering: "asc" (default, oldest first) or "desc" (newest first).`,choices:[`asc`,`desc`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
26
|
+
Retrieves logs and execution status for a specific workflow instance.`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`simple`,{type:`string`,description:`When true, omits step details and returns only metadata with step_count.`,choices:[`true`,`false`]}).option(`order`,{type:`string`,description:`Step ordering: "asc" (default, oldest first) or "desc" (newest first).`,choices:[`asc`,`desc`]}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const le={command:`get <instance-id>`,describe:`Get logs and status from instance`,builder:ce,handler:async e=>l({command:`workflows instances get`,classification:{safeFlags:[`simple`,`order`,`dry-run`]}},e,async()=>{let n={simple:e.simple,order:e.order};if(e.dryRun){let t=await i();s({command:`cf workflows instances get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-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(se,{account_id:u,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`],...n}));o(d,{successLabel:`Loaded`})})};var ue={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances`,query:[`page`,`per_page`,`cursor`,`direction`,`status`,`date_start`,`date_end`],errors:{400:`BadRequestError`,404:`NotFoundError`}};function de(e){return e.usage(`$0 workflows instances list
|
|
27
27
|
|
|
28
|
-
Lists all instances of a workflow with their execution status.`).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`page`,{type:`number`,description:"Deprecated: use `cursor` for pagination instead."}).option(`per-page`,{type:`number`,description:`Per page`}).option(`cursor`,{type:`string`,description:"Opaque token for cursor-based pagination. Mutually exclusive with `page`."}).option(`direction`,{type:`string`,description:`Defines the direction for cursor-based pagination.`,choices:[`asc`,`desc`]}).option(`status`,{type:`string`,description:`Status`,choices:[`queued`,`running`,`paused`,`errored`,`terminated`,`complete`,`waitingForPause`,`waiting`,`rollingBack`]}).option(`start`,{type:`string`,description:`Accepts ISO 8601 with no timezone offsets and in UTC.`}).option(`end`,{type:`string`,description:`Accepts ISO 8601 with no timezone offsets and in UTC.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
28
|
+
Lists all instances of a workflow with their execution status.`).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`page`,{type:`number`,description:"Deprecated: use `cursor` for pagination instead."}).option(`per-page`,{type:`number`,description:`Per page`}).option(`cursor`,{type:`string`,description:"Opaque token for cursor-based pagination. Mutually exclusive with `page`."}).option(`direction`,{type:`string`,description:`Defines the direction for cursor-based pagination.`,choices:[`asc`,`desc`]}).option(`status`,{type:`string`,description:`Status`,choices:[`queued`,`running`,`paused`,`errored`,`terminated`,`complete`,`waitingForPause`,`waiting`,`rollingBack`]}).option(`start`,{type:`string`,description:`Accepts ISO 8601 with no timezone offsets and in UTC.`}).option(`end`,{type:`string`,description:`Accepts ISO 8601 with no timezone offsets and in UTC.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const fe={command:`list`,describe:`List of workflow instances`,builder:de,handler:async e=>l({command:`workflows instances list`,classification:{safeFlags:[`direction`,`status`,`dry-run`]}},e,async()=>{let n={page:e.page,per_page:e[`per-page`],cursor:e.cursor,direction:e.direction,status:e.status,date_start:e.start,date_end:e.end};if(e.dryRun){let t=await i();s({command:`cf workflows instances list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},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(ue,{account_id:u,workflow_name:e[`workflow-name`],...n}));o(d,{successLabel:`Loaded`})})};var J={method:`PATCH`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}/status`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`,409:`ConflictError`}};function pe(e){return e.usage(`$0 workflows instances pause <instance-id>
|
|
29
29
|
|
|
30
|
-
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).
|
|
30
|
+
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).implies(`from-count`,[`from-name`]).conflicts(`from-name`,[`rollback`]).conflicts(`from-type`,[`rollback`]).implies(`from-type`,[`from-name`])}const me={command:`pause <instance-id>`,describe:`Change status of instance`,builder:pe,handler:async e=>l({command:`workflows instances pause`,classification:{safeFlags:[`status`,`rollback`,`from-type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances pause`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}/status`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``)},bodyKind:`json`,body:e.body===void 0?f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),d=e.local?t:await a();if(e.accountId=d,e.body!==void 0){let t=n,r=await c(`Updating`,async()=>l.send(J,{body:t,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(r,{successLabel:`Updated`});return}e.status===void 0&&(e.status=await h(`status`,`The status field`,[`pause`,`resume`,`terminate`,`restart`]));let m=f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}),g=await c(`Updating`,async()=>l.send(J,{body:m,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(g,{successLabel:`Updated`})})};var Y={method:`PATCH`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}/status`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`,409:`ConflictError`}};function he(e){return e.usage(`$0 workflows instances restart <instance-id>
|
|
31
31
|
|
|
32
|
-
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).
|
|
32
|
+
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).implies(`from-count`,[`from-name`]).conflicts(`from-name`,[`rollback`]).conflicts(`from-type`,[`rollback`]).implies(`from-type`,[`from-name`])}const ge={command:`restart <instance-id>`,describe:`Change status of instance`,builder:he,handler:async e=>l({command:`workflows instances restart`,classification:{safeFlags:[`status`,`rollback`,`from-type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances restart`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}/status`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``)},bodyKind:`json`,body:e.body===void 0?f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),d=e.local?t:await a();if(e.accountId=d,e.body!==void 0){let t=n,r=await c(`Updating`,async()=>l.send(Y,{body:t,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(r,{successLabel:`Updated`});return}e.status===void 0&&(e.status=await h(`status`,`The status field`,[`pause`,`resume`,`terminate`,`restart`]));let m=f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}),g=await c(`Updating`,async()=>l.send(Y,{body:m,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(g,{successLabel:`Updated`})})};var X={method:`PATCH`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}/status`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`,409:`ConflictError`}};function _e(e){return e.usage(`$0 workflows instances resume <instance-id>
|
|
33
33
|
|
|
34
|
-
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).
|
|
34
|
+
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).implies(`from-count`,[`from-name`]).conflicts(`from-name`,[`rollback`]).conflicts(`from-type`,[`rollback`]).implies(`from-type`,[`from-name`])}const ve={command:`resume <instance-id>`,describe:`Change status of instance`,builder:_e,handler:async e=>l({command:`workflows instances resume`,classification:{safeFlags:[`status`,`rollback`,`from-type`,`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances resume`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}/status`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``)},bodyKind:`json`,body:e.body===void 0?f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),d=e.local?t:await a();if(e.accountId=d,e.body!==void 0){let t=n,r=await c(`Updating`,async()=>l.send(X,{body:t,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(r,{successLabel:`Updated`});return}e.status===void 0&&(e.status=await h(`status`,`The status field`,[`pause`,`resume`,`terminate`,`restart`]));let m=f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}),g=await c(`Updating`,async()=>l.send(X,{body:m,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(g,{successLabel:`Updated`})})};function ye(e){return e.usage("$0 workflows instances step get <instance-id>\n\nRetrieves the full, untruncated output for a specific step on a workflow instance. Returns a flat status-shaped JSON body with step `status` ('running' | 'waiting' | 'complete' | 'errored'), `error` (nullable), and `output` (the step value, or null while running/waiting/errored). When the step returned a ReadableStream from step.do, the response is served as 'application/octet-stream' with the raw bytes as the body instead of JSON. A `status='running'` response with non-null `error` indicates the step is currently retrying after a prior attempt failed.").positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`name`,{type:`string`,description:`Exact step name from the instance logs response, including the generated counter suffix.`,demandOption:!0}).option(`type`,{type:`string`,description:`Step type to disambiguate step.do and waitForEvent entries that share the same name.`,choices:[`step`,`waitForEvent`],demandOption:!0}).option(`attempt`,{type:`number`,description:`Specific attempt number to retrieve output or error for.`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`text`,{type:`boolean`,description:`Decode the response body as UTF-8 text instead of writing raw bytes`,default:!1})}const be={command:`get <instance-id>`,describe:`Get full step output from instance`,builder:ye,handler:async e=>l({command:`workflows instances step get`,classification:{safeFlags:[`type`,`dry-run`,`text`]}},e,async()=>{let n={name:e.name,type:e.type,attempt:e.attempt};if(e.dryRun){let t=await i();s({command:`cf workflows instances step get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}/step`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``)},query:n,bodyKind:`none`});return}await r(e);let o=e.local?t:await a();e.accountId=o;let l=new URLSearchParams(Object.entries(n).filter(([,e])=>e!==void 0).map(([e,t])=>[e,String(t)])).toString(),u=await c(`Loading`,async()=>ee(`/accounts/${o}/workflows/${encodeURIComponent(String(e[`workflow-name`]))}/instances/${encodeURIComponent(String(e[`instance-id`]))}/step${l?`?`+l:``}`,{method:`GET`,local:e.local===!0,persistTo:e.persistTo}));_(e.text===!0?u.toString(`utf-8`):u)})},xe={command:`step`,describe:`Operations for instances.step`,builder:e=>e.command(be).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Z={method:`PATCH`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/instances/${t.instance_id}/status`,body:`json`,errors:{400:`BadRequestError`,404:`NotFoundError`,409:`ConflictError`}};function Se(e){return e.usage(`$0 workflows instances terminate <instance-id>
|
|
35
35
|
|
|
36
|
-
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).
|
|
36
|
+
Changes the execution status of a workflow instance (e.g., pause, resume, terminate).`).positional(`instance-id`,{type:`string`,description:"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.",demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`status`,{type:`string`,description:`The status field`,choices:[`pause`,`resume`,`terminate`,`restart`]}).coerce(`status`,e=>p(e,`status`,`text`)).option(`rollback`,{type:`boolean`,description:`Run rollback before terminating.`}).option(`from-count`,{type:`number`,description:`The from.count field`}).option(`from-name`,{type:`string`,description:`The from.name field`}).option(`from-type`,{type:`string`,description:`The from.type field`,choices:[`do`,`sleep`,`waitForEvent`]}).coerce(`from-type`,e=>p(e,`from-type`,`text`)).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1}).option(`force`,{type:`boolean`,alias:`f`,description:`Skip confirmation (useful in scripts and CI)`,default:!1}).option(`body`,{type:`string`,description:`Raw JSON request body (bypasses individual flags)`}).conflicts(`rollback`,[`from-count`,`from-name`,`from-type`]).conflicts(`from-count`,[`rollback`]).implies(`from-count`,[`from-name`]).conflicts(`from-name`,[`rollback`]).conflicts(`from-type`,[`rollback`]).implies(`from-type`,[`from-name`])}const Ce={command:`terminate <instance-id>`,describe:`Change status of instance`,builder:Se,handler:async e=>l({command:`workflows instances terminate`,classification:{safeFlags:[`status`,`rollback`,`from-type`,`dry-run`,`force`],shortFlagAliases:{f:{canonical:`force`,type:`boolean`}}}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows instances terminate`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/instances/${e[`instance-id`]==null?`<instance-id>`:encodeURIComponent(String(e[`instance-id`]))}/status`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"instance-id":String(e[`instance-id`]??``)},bodyKind:`json`,body:e.body===void 0?f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),d=e.local?t:await a();if(e.accountId=d,!await g({force:!!e.force,message:`This operation terminates the running Workflow instance.`}))return;if(e.body!==void 0){let t=n,r=await c(`Updating`,async()=>l.send(Z,{body:t,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(r,{successLabel:`Updated`});return}e.status===void 0&&(e.status=await h(`status`,`The status field`,[`pause`,`resume`,`terminate`,`restart`]));let m=f({status:e.status,rollback:e.rollback,from:{count:e[`from-count`],name:p(e[`from-name`],`from-name`,`text`),type:e[`from-type`]}}),_=await c(`Updating`,async()=>l.send(Z,{body:m,account_id:d,workflow_name:e[`workflow-name`],instance_id:e[`instance-id`]}));o(_,{successLabel:`Updated`})})},we={command:`instances`,describe:`Workflow instance operations`,builder:e=>e.command(B).command(U).command(le).command(fe).command(me).command(ge).command(ve).command(Ce).command(L).command(q).command(xe).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Te={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows`,query:[`per_page`,`page`,`search`],errors:{400:`BadRequestError`}};function Ee(e){return e.usage(`$0 workflows list
|
|
37
37
|
|
|
38
|
-
Lists all workflows configured for the account.`).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`search`,{type:`string`,description:"Allows filtering workflows` name."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
38
|
+
Lists all workflows configured for the account.`).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`search`,{type:`string`,description:"Allows filtering workflows` name."}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const De={command:`list`,describe:`List all Workflows`,builder:Ee,handler:async e=>l({command:`workflows list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let n={per_page:e[`per-page`],page:e.page,search:e.search};if(e.dryRun){let e=await i();s({command:`cf workflows list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/workflows`,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(Te,{account_id:u,...n}));o(d,{successLabel:`Loaded`})})};var Q={method:`PATCH`,path:t=>e`/accounts/${t.account_id}/workflows/settings`,body:`json`,errors:{400:`BadRequestError`}};function Oe(e){return e.usage(`$0 workflows settings edit
|
|
39
39
|
|
|
40
|
-
Updates only the account-level Workflows settings fields present in the request body.`).option(`default-retention-error-retention`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).option(`default-retention-success-retention`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).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
|
|
40
|
+
Updates only the account-level Workflows settings fields present in the request body.`).option(`default-retention-error-retention`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).option(`default-retention-success-retention`,{type:`string`,description:`Specifies the duration in milliseconds or as a string like '5 minutes'. Accepts a JSON scalar or plain string, or @path/to/file.`}).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 ke={command:`edit`,describe:`Update account settings`,builder:Oe,handler:async e=>l({command:`workflows settings edit`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows settings edit`,method:`PATCH`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/settings`,pathParams:{},bodyKind:`json`,body:e.body===void 0?f({default_retention:{error_retention:d(e[`default-retention-error-retention`],`default-retention-error-retention`),success_retention:d(e[`default-retention-success-retention`],`default-retention-success-retention`)}}):u(e.body)});return}let n=e.body===void 0?void 0:u(e.body),l=await r(e),p=e.local?t:await a();if(e.accountId=p,e.body!==void 0){let e=n,t=await c(`Updating`,async()=>l.send(Q,{body:e,account_id:p}));o(t,{successLabel:`Updated`});return}let m=f({default_retention:{error_retention:d(e[`default-retention-error-retention`],`default-retention-error-retention`),success_retention:d(e[`default-retention-success-retention`],`default-retention-success-retention`)}}),h=await c(`Updating`,async()=>l.send(Q,{body:m,account_id:p}));o(h,{successLabel:`Updated`})})};var Ae={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/settings`,errors:{400:`BadRequestError`}};function je(e){return e.usage(`$0 workflows settings get
|
|
41
41
|
|
|
42
|
-
Retrieves account-level Workflows settings, such as the default instance retention.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
42
|
+
Retrieves account-level Workflows settings, such as the default instance retention.`).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Me={command:`get`,describe:`Get account settings`,builder:je,handler:async e=>l({command:`workflows settings get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let e=await i();s({command:`cf workflows settings get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${e??`<account-id>`}/workflows/settings`,pathParams:{},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(Ae,{account_id:l}));o(u,{successLabel:`Loaded`})})},Ne={command:`settings`,describe:`Operations for settings`,builder:e=>e.command(ke).command(Me).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};var Pe={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/versions/${t.version_id}`,errors:{400:`BadRequestError`,404:`NotFoundError`}};function $(e){return e.usage(`$0 workflows versions get <version-id>
|
|
43
43
|
|
|
44
|
-
Retrieves details for a specific deployed workflow version.`).positional(`version-id`,{type:`string`,description:`Version ID`,demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
44
|
+
Retrieves details for a specific deployed workflow version.`).positional(`version-id`,{type:`string`,description:`Version ID`,demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Fe={command:`get <version-id>`,describe:`Get Workflow version details`,builder:$,handler:async e=>l({command:`workflows versions get`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows versions get`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/versions/${e[`version-id`]==null?`<version-id>`:encodeURIComponent(String(e[`version-id`]))}`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"version-id":String(e[`version-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(Pe,{account_id:l,workflow_name:e[`workflow-name`],version_id:e[`version-id`]}));o(u,{successLabel:`Loaded`})})};var Ie={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/versions/${t.version_id}/graph`,errors:{404:`NotFoundError`}};function Le(e){return e.usage(`$0 workflows versions graph <version-id>
|
|
45
45
|
|
|
46
|
-
Retrieves the graph visualization of a workflow version.`).positional(`version-id`,{type:`string`,description:`Version ID`,demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
46
|
+
Retrieves the graph visualization of a workflow version.`).positional(`version-id`,{type:`string`,description:`Version ID`,demandOption:!0}).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Re={command:`graph <version-id>`,describe:`Get Workflow version graph`,builder:Le,handler:async e=>l({command:`workflows versions graph`,classification:{safeFlags:[`dry-run`]}},e,async()=>{if(e.dryRun){let t=await i();s({command:`cf workflows versions graph`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/versions/${e[`version-id`]==null?`<version-id>`:encodeURIComponent(String(e[`version-id`]))}/graph`,pathParams:{"workflow-name":String(e[`workflow-name`]??``),"version-id":String(e[`version-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(Ie,{account_id:l,workflow_name:e[`workflow-name`],version_id:e[`version-id`]}));o(u,{successLabel:`Loaded`})})};var ze={method:`GET`,path:t=>e`/accounts/${t.account_id}/workflows/${t.workflow_name}/versions`,query:[`per_page`,`page`],errors:{400:`BadRequestError`}};function Be(e){return e.usage(`$0 workflows versions list
|
|
47
47
|
|
|
48
|
-
Lists all deployed versions of a workflow.`).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const
|
|
48
|
+
Lists all deployed versions of a workflow.`).option(`workflow-name`,{type:`string`,description:`Workflow name`,demandOption:!0}).option(`per-page`,{type:`number`,description:`Per page`}).option(`page`,{type:`number`,description:`Page`}).option(`dry-run`,{type:`boolean`,description:`Validate and show what would happen without executing`,default:!1})}const Ve={command:`list`,describe:`List deployed Workflow versions`,builder:Be,handler:async e=>l({command:`workflows versions list`,classification:{safeFlags:[`dry-run`]}},e,async()=>{let n={per_page:e[`per-page`],page:e.page};if(e.dryRun){let t=await i();s({command:`cf workflows versions list`,method:`GET`,url:`https://api.cloudflare.com/client/v4/accounts/${t??`<account-id>`}/workflows/${e[`workflow-name`]==null?`<workflow-name>`:encodeURIComponent(String(e[`workflow-name`]))}/versions`,pathParams:{"workflow-name":String(e[`workflow-name`]??``)},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(ze,{account_id:u,workflow_name:e[`workflow-name`],...n}));o(d,{successLabel:`Loaded`})})},He={command:`versions`,describe:`Workflow version operations`,builder:e=>e.command(Fe).command(Re).command(Ve).demandCommand(1,`Please specify a subcommand`),handler:()=>{}},Ue={command:`workflows`,describe:`Durable, multi-step workflows that run on Workers with automatic retries and state persistence`,builder:e=>e.command(A).command(N).command(De).command(D).command(we).command(Ne).command(He).demandCommand(1,`Please specify a subcommand`),handler:()=>{}};export{Ue as default};
|